Pull latest translations from Transifex.
[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: https://bugzilla.redhat.com/\n"
11 "POT-Creation-Date: 2011-10-26 21:10+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 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Language: uk\n"
19 "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
20
21 #. type: =head1
22 #: ../align/virt-alignment-scan.pod:3 ../cat/virt-cat.pod:3
23 #: ../cat/virt-filesystems.pod:3 ../cat/virt-ls.pod:3
24 #: ../clone/virt-sysprep.pod:3 ../df/virt-df.pod:3 ../edit/virt-edit.pod:3
25 #: ../erlang/examples/guestfs-erlang.pod:3 ../examples/guestfs-examples.pod:3
26 #: ../examples/guestfs-recipes.pod:14 ../fish/guestfish.pod:3
27 #: ../fish/virt-copy-in.pod:3 ../fish/virt-copy-out.pod:3
28 #: ../fish/virt-tar-in.pod:3 ../fish/virt-tar-out.pod:3
29 #: ../fuse/guestmount.pod:3 ../inspector/virt-inspector.pod:3
30 #: ../java/examples/guestfs-java.pod:3 ../ocaml/examples/guestfs-ocaml.pod:3
31 #: ../perl/examples/guestfs-perl.pod:3 ../python/examples/guestfs-python.pod:3
32 #: ../rescue/virt-rescue.pod:3 ../resize/virt-resize.pod:3
33 #: ../ruby/examples/guestfs-ruby.pod:3 ../sparsify/virt-sparsify.pod:3
34 #: ../src/guestfs.pod:3 ../test-tool/libguestfs-test-tool.pod:3
35 #: ../tools/virt-list-filesystems.pl:30 ../tools/virt-list-partitions.pl:30
36 #: ../tools/virt-make-fs.pl:35 ../tools/virt-tar.pl:31
37 #: ../tools/virt-win-reg.pl:35
38 msgid "NAME"
39 msgstr "НАЗВА"
40
41 #. type: textblock
42 #: ../align/virt-alignment-scan.pod:5
43 msgid "virt-alignment-scan - Check alignment of virtual machine partitions"
44 msgstr ""
45
46 #. type: =head1
47 #: ../align/virt-alignment-scan.pod:7 ../cat/virt-cat.pod:7
48 #: ../cat/virt-filesystems.pod:7 ../cat/virt-ls.pod:7
49 #: ../clone/virt-sysprep.pod:7 ../df/virt-df.pod:7 ../edit/virt-edit.pod:7
50 #: ../erlang/examples/guestfs-erlang.pod:7 ../examples/guestfs-examples.pod:7
51 #: ../fish/guestfish.pod:7 ../fish/virt-copy-in.pod:7
52 #: ../fish/virt-copy-out.pod:7 ../fish/virt-tar-in.pod:7
53 #: ../fish/virt-tar-out.pod:7 ../fuse/guestmount.pod:7
54 #: ../inspector/virt-inspector.pod:7 ../java/examples/guestfs-java.pod:7
55 #: ../ocaml/examples/guestfs-ocaml.pod:7 ../perl/examples/guestfs-perl.pod:7
56 #: ../python/examples/guestfs-python.pod:7 ../rescue/virt-rescue.pod:7
57 #: ../resize/virt-resize.pod:7 ../ruby/examples/guestfs-ruby.pod:7
58 #: ../sparsify/virt-sparsify.pod:7 ../src/guestfs.pod:7
59 #: ../test-tool/libguestfs-test-tool.pod:7
60 #: ../tools/virt-list-filesystems.pl:34 ../tools/virt-list-partitions.pl:34
61 #: ../tools/virt-make-fs.pl:39 ../tools/virt-tar.pl:35
62 #: ../tools/virt-win-reg.pl:39
63 msgid "SYNOPSIS"
64 msgstr "КОРОТКИЙ ОПИС"
65
66 #. type: verbatim
67 #: ../align/virt-alignment-scan.pod:9
68 #, no-wrap
69 msgid ""
70 " virt-alignment-scan [--options] -d domname\n"
71 "\n"
72 msgstr ""
73
74 #. type: verbatim
75 #: ../align/virt-alignment-scan.pod:11
76 #, no-wrap
77 msgid ""
78 " virt-alignment-scan [--options] -a disk.img [-a disk.img ...]\n"
79 "\n"
80 msgstr ""
81
82 #. type: =head1
83 #: ../align/virt-alignment-scan.pod:13 ../cat/virt-cat.pod:19
84 #: ../cat/virt-filesystems.pod:13 ../cat/virt-ls.pod:19
85 #: ../clone/virt-sysprep.pod:13 ../df/virt-df.pod:21 ../edit/virt-edit.pod:27
86 #: ../erlang/examples/guestfs-erlang.pod:16
87 #: ../examples/guestfs-examples.pod:19 ../examples/guestfs-recipes.pod:18
88 #: ../fish/guestfish.pod:30 ../fish/virt-copy-in.pod:19
89 #: ../fish/virt-copy-out.pod:13 ../fish/virt-tar-in.pod:21
90 #: ../fish/virt-tar-out.pod:15 ../fuse/guestmount.pod:20
91 #: ../inspector/virt-inspector.pod:19 ../java/examples/guestfs-java.pod:15
92 #: ../ocaml/examples/guestfs-ocaml.pod:25 ../perl/examples/guestfs-perl.pod:18
93 #: ../python/examples/guestfs-python.pod:14 ../rescue/virt-rescue.pod:29
94 #: ../resize/virt-resize.pod:13 ../ruby/examples/guestfs-ruby.pod:15
95 #: ../sparsify/virt-sparsify.pod:11 ../src/guestfs.pod:23
96 #: ../test-tool/libguestfs-test-tool.pod:11
97 #: ../tools/virt-list-filesystems.pl:40 ../tools/virt-list-partitions.pl:40
98 #: ../tools/virt-make-fs.pl:47 ../tools/virt-tar.pl:77
99 #: ../tools/virt-win-reg.pl:63
100 msgid "DESCRIPTION"
101 msgstr "ОПИС"
102
103 #. type: textblock
104 #: ../align/virt-alignment-scan.pod:15
105 msgid ""
106 "When older operating systems install themselves, the partitioning tools "
107 "place partitions at a sector misaligned with the underlying storage "
108 "(commonly the first partition starts on sector C<63>).  Misaligned "
109 "partitions can result in an operating system issuing more I/O than should be"
110 " necessary."
111 msgstr ""
112
113 #. type: textblock
114 #: ../align/virt-alignment-scan.pod:21
115 msgid ""
116 "The virt-alignment-scan tool checks the alignment of partitions in virtual "
117 "machines and disk images and warns you if there are alignment problems."
118 msgstr ""
119
120 #. type: textblock
121 #: ../align/virt-alignment-scan.pod:25
122 msgid ""
123 "Currently there is no virt tool for fixing alignment problems.  You can only"
124 " reinstall the guest operating system.  The following NetApp document "
125 "summarises the problem and possible solutions: "
126 "L<http://media.netapp.com/documents/tr-3747.pdf>"
127 msgstr ""
128
129 #. type: =head1
130 #: ../align/virt-alignment-scan.pod:30
131 msgid "OUTPUT"
132 msgstr ""
133
134 #. type: textblock
135 #: ../align/virt-alignment-scan.pod:32
136 msgid "To run this tool on a disk image directly, use the I<-a> option:"
137 msgstr ""
138
139 #. type: verbatim
140 #: ../align/virt-alignment-scan.pod:34
141 #, no-wrap
142 msgid ""
143 " $ virt-alignment-scan -a winxp.img\n"
144 " /dev/sda1        32256          512    bad (alignment < 4K)\n"
145 "\n"
146 msgstr ""
147
148 #. type: verbatim
149 #: ../align/virt-alignment-scan.pod:37
150 #, no-wrap
151 msgid ""
152 " $ virt-alignment-scan -a fedora16.img\n"
153 " /dev/sda1      1048576         1024K   ok\n"
154 " /dev/sda2      2097152         2048K   ok\n"
155 " /dev/sda3    526385152         2048K   ok\n"
156 "\n"
157 msgstr ""
158
159 #. type: textblock
160 #: ../align/virt-alignment-scan.pod:42
161 msgid ""
162 "To run the tool on a guest known to libvirt, use the I<-d> option and "
163 "possibly the I<-c> option:"
164 msgstr ""
165
166 #. type: verbatim
167 #: ../align/virt-alignment-scan.pod:45
168 #, no-wrap
169 msgid ""
170 " # virt-alignment-scan -d RHEL5\n"
171 " /dev/sda1        32256          512    bad (alignment < 4K)\n"
172 " /dev/sda2    106928640          512    bad (alignment < 4K)\n"
173 "\n"
174 msgstr ""
175
176 #. type: verbatim
177 #: ../align/virt-alignment-scan.pod:49
178 #, no-wrap
179 msgid ""
180 " $ virt-alignment-scan -c qemu:///system -d Win7TwoDisks\n"
181 " /dev/sda1      1048576         1024K   ok\n"
182 " /dev/sda2    105906176         1024K   ok\n"
183 " /dev/sdb1        65536           64K   ok\n"
184 "\n"
185 msgstr ""
186
187 #. type: textblock
188 #: ../align/virt-alignment-scan.pod:54
189 msgid ""
190 "The output consists of 4 or more whitespace-separated columns.  Only the "
191 "first 4 columns are signficant if you want to parse this from a program.  "
192 "The columns are:"
193 msgstr ""
194
195 #. type: =item
196 #: ../align/virt-alignment-scan.pod:60
197 msgid "col 1"
198 msgstr ""
199
200 #. type: textblock
201 #: ../align/virt-alignment-scan.pod:62
202 msgid ""
203 "the device and partition name (eg. C</dev/sda1> meaning the first partition "
204 "on the first block device)"
205 msgstr ""
206
207 #. type: =item
208 #: ../align/virt-alignment-scan.pod:65
209 msgid "col 2"
210 msgstr ""
211
212 #. type: textblock
213 #: ../align/virt-alignment-scan.pod:67
214 msgid "the start of the partition in bytes"
215 msgstr ""
216
217 #. type: =item
218 #: ../align/virt-alignment-scan.pod:69
219 msgid "col 3"
220 msgstr ""
221
222 #. type: textblock
223 #: ../align/virt-alignment-scan.pod:71
224 msgid "the alignment in bytes or Kbytes (eg. C<512> or C<4K>)"
225 msgstr ""
226
227 #. type: =item
228 #: ../align/virt-alignment-scan.pod:73
229 msgid "col 4"
230 msgstr ""
231
232 #. type: textblock
233 #: ../align/virt-alignment-scan.pod:75
234 msgid ""
235 "C<ok> if the alignment is best for performance, or C<bad> if the alignment "
236 "can cause performance problems"
237 msgstr ""
238
239 #. type: =item
240 #: ../align/virt-alignment-scan.pod:78
241 msgid "cols 5+"
242 msgstr ""
243
244 #. type: textblock
245 #: ../align/virt-alignment-scan.pod:80
246 msgid "optional free-text explanation."
247 msgstr ""
248
249 #. type: textblock
250 #: ../align/virt-alignment-scan.pod:84
251 msgid ""
252 "The exit code from the program changes depending on whether poorly aligned "
253 "partitions were found.  See L</EXIT STATUS> below."
254 msgstr ""
255
256 #. type: textblock
257 #: ../align/virt-alignment-scan.pod:87
258 msgid "If you just want the exit code with no output, use the I<-q> option."
259 msgstr ""
260
261 #. type: =head1
262 #: ../align/virt-alignment-scan.pod:89 ../cat/virt-cat.pod:62
263 #: ../cat/virt-filesystems.pod:91 ../cat/virt-ls.pod:261
264 #: ../clone/virt-sysprep.pod:42 ../df/virt-df.pod:59 ../edit/virt-edit.pod:62
265 #: ../fish/guestfish.pod:148 ../fish/virt-copy-in.pod:45
266 #: ../fish/virt-copy-out.pod:34 ../fish/virt-tar-in.pod:42
267 #: ../fish/virt-tar-out.pod:36 ../fuse/guestmount.pod:92
268 #: ../inspector/virt-inspector.pod:55 ../rescue/virt-rescue.pod:84
269 #: ../resize/virt-resize.pod:262 ../sparsify/virt-sparsify.pod:99
270 #: ../test-tool/libguestfs-test-tool.pod:36
271 #: ../tools/virt-list-filesystems.pl:53 ../tools/virt-list-partitions.pl:54
272 #: ../tools/virt-make-fs.pl:153 ../tools/virt-tar.pl:103
273 #: ../tools/virt-win-reg.pl:96
274 msgid "OPTIONS"
275 msgstr "ПАРАМЕТРИ"
276
277 #. type: =item
278 #: ../align/virt-alignment-scan.pod:93 ../cat/virt-cat.pod:66
279 #: ../cat/virt-filesystems.pod:95 ../cat/virt-ls.pod:265
280 #: ../clone/virt-sysprep.pod:46 ../df/virt-df.pod:63 ../edit/virt-edit.pod:66
281 #: ../fish/guestfish.pod:152 ../fuse/guestmount.pod:160
282 #: ../inspector/virt-inspector.pod:59 ../rescue/virt-rescue.pod:88
283 #: ../resize/virt-resize.pod:266 ../sparsify/virt-sparsify.pod:103
284 #: ../test-tool/libguestfs-test-tool.pod:40
285 #: ../tools/virt-list-filesystems.pl:61 ../tools/virt-list-partitions.pl:62
286 #: ../tools/virt-make-fs.pl:161 ../tools/virt-tar.pl:111
287 #: ../tools/virt-win-reg.pl:104
288 msgid "B<--help>"
289 msgstr "B<--help>"
290
291 #. type: textblock
292 #: ../align/virt-alignment-scan.pod:95 ../cat/virt-cat.pod:68
293 #: ../cat/virt-filesystems.pod:97 ../cat/virt-ls.pod:267
294 #: ../clone/virt-sysprep.pod:48 ../df/virt-df.pod:65 ../edit/virt-edit.pod:68
295 #: ../inspector/virt-inspector.pod:61 ../rescue/virt-rescue.pod:90
296 #: ../tools/virt-list-filesystems.pl:63 ../tools/virt-list-partitions.pl:64
297 #: ../tools/virt-make-fs.pl:163 ../tools/virt-tar.pl:113
298 #: ../tools/virt-win-reg.pl:106
299 msgid "Display brief help."
300 msgstr "Показати коротку довідку."
301
302 #. type: =item
303 #: ../align/virt-alignment-scan.pod:97 ../cat/virt-cat.pod:70
304 #: ../cat/virt-filesystems.pod:99 ../cat/virt-ls.pod:269
305 #: ../clone/virt-sysprep.pod:50 ../df/virt-df.pod:67 ../edit/virt-edit.pod:70
306 #: ../inspector/virt-inspector.pod:63 ../rescue/virt-rescue.pod:92
307 msgid "B<-a> file"
308 msgstr "B<-a> файл"
309
310 #. type: =item
311 #: ../align/virt-alignment-scan.pod:99 ../cat/virt-cat.pod:72
312 #: ../cat/virt-filesystems.pod:101 ../cat/virt-ls.pod:271
313 #: ../clone/virt-sysprep.pod:52 ../df/virt-df.pod:69 ../edit/virt-edit.pod:72
314 #: ../inspector/virt-inspector.pod:65 ../rescue/virt-rescue.pod:94
315 msgid "B<--add> file"
316 msgstr "B<--add> файл"
317
318 #. type: textblock
319 #: ../align/virt-alignment-scan.pod:101 ../clone/virt-sysprep.pod:54
320 msgid "Add I<file> which should be a disk image from a virtual machine."
321 msgstr ""
322
323 #. type: textblock
324 #: ../align/virt-alignment-scan.pod:103 ../cat/virt-cat.pod:78
325 #: ../cat/virt-filesystems.pod:107 ../cat/virt-ls.pod:277
326 #: ../clone/virt-sysprep.pod:56 ../df/virt-df.pod:75 ../edit/virt-edit.pod:78
327 #: ../fish/guestfish.pod:174 ../fuse/guestmount.pod:102
328 #: ../inspector/virt-inspector.pod:71 ../rescue/virt-rescue.pod:100
329 msgid ""
330 "The format of the disk image is auto-detected.  To override this and force a"
331 " particular format use the I<--format=..> option."
332 msgstr ""
333
334 #. type: =item
335 #: ../align/virt-alignment-scan.pod:106 ../cat/virt-cat.pod:81
336 #: ../cat/virt-filesystems.pod:125 ../cat/virt-ls.pod:291
337 #: ../clone/virt-sysprep.pod:59 ../df/virt-df.pod:78
338 #: ../rescue/virt-rescue.pod:107
339 msgid "B<-c> URI"
340 msgstr "B<-c> адреса"
341
342 #. type: =item
343 #: ../align/virt-alignment-scan.pod:108 ../cat/virt-cat.pod:83
344 #: ../cat/virt-filesystems.pod:127 ../cat/virt-ls.pod:293
345 #: ../clone/virt-sysprep.pod:61 ../df/virt-df.pod:80
346 #: ../rescue/virt-rescue.pod:109
347 msgid "B<--connect> URI"
348 msgstr "B<--connect> адреса"
349
350 #. type: textblock
351 #: ../align/virt-alignment-scan.pod:110 ../cat/virt-cat.pod:85
352 #: ../cat/virt-filesystems.pod:129 ../cat/virt-ls.pod:295
353 #: ../clone/virt-sysprep.pod:63 ../df/virt-df.pod:82 ../edit/virt-edit.pod:99
354 #: ../inspector/virt-inspector.pod:78 ../rescue/virt-rescue.pod:111
355 #: ../tools/virt-list-filesystems.pl:81 ../tools/virt-list-partitions.pl:82
356 #: ../tools/virt-tar.pl:131 ../tools/virt-win-reg.pl:132
357 msgid ""
358 "If using libvirt, connect to the given I<URI>.  If omitted, then we connect "
359 "to the default libvirt hypervisor."
360 msgstr ""
361
362 #. type: textblock
363 #: ../align/virt-alignment-scan.pod:113 ../cat/virt-cat.pod:88
364 #: ../cat/virt-filesystems.pod:132 ../cat/virt-ls.pod:298
365 #: ../clone/virt-sysprep.pod:66 ../df/virt-df.pod:85
366 #: ../rescue/virt-rescue.pod:114
367 msgid ""
368 "If you specify guest block devices directly (I<-a>), then libvirt is not "
369 "used at all."
370 msgstr ""
371
372 #. type: =item
373 #: ../align/virt-alignment-scan.pod:116 ../cat/virt-cat.pod:91
374 #: ../cat/virt-filesystems.pod:141 ../cat/virt-ls.pod:307
375 #: ../clone/virt-sysprep.pod:69 ../df/virt-df.pod:94 ../edit/virt-edit.pod:105
376 #: ../inspector/virt-inspector.pod:85 ../rescue/virt-rescue.pod:117
377 msgid "B<-d> guest"
378 msgstr "B<-d> гість"
379
380 #. type: =item
381 #: ../align/virt-alignment-scan.pod:118 ../cat/virt-cat.pod:93
382 #: ../cat/virt-filesystems.pod:143 ../cat/virt-ls.pod:309
383 #: ../clone/virt-sysprep.pod:71 ../df/virt-df.pod:96 ../edit/virt-edit.pod:107
384 #: ../inspector/virt-inspector.pod:87 ../rescue/virt-rescue.pod:119
385 msgid "B<--domain> guest"
386 msgstr "B<--domain> гість"
387
388 #. type: textblock
389 #: ../align/virt-alignment-scan.pod:120 ../cat/virt-cat.pod:95
390 #: ../cat/virt-filesystems.pod:145 ../cat/virt-ls.pod:311
391 #: ../clone/virt-sysprep.pod:73 ../df/virt-df.pod:98 ../edit/virt-edit.pod:109
392 #: ../inspector/virt-inspector.pod:89 ../rescue/virt-rescue.pod:121
393 msgid ""
394 "Add all the disks from the named libvirt guest.  Domain UUIDs can be used "
395 "instead of names."
396 msgstr ""
397
398 #. type: =item
399 #: ../align/virt-alignment-scan.pod:123 ../cat/virt-cat.pod:105
400 #: ../cat/virt-filesystems.pod:170 ../cat/virt-ls.pod:328
401 #: ../clone/virt-sysprep.pod:95 ../df/virt-df.pod:101
402 #: ../fish/guestfish.pod:233 ../fuse/guestmount.pod:142
403 #: ../inspector/virt-inspector.pod:99 ../rescue/virt-rescue.pod:124
404 msgid "B<--format=raw|qcow2|..>"
405 msgstr "B<--format=raw|qcow2|..>"
406
407 #. type: =item
408 #: ../align/virt-alignment-scan.pod:125 ../cat/virt-cat.pod:107
409 #: ../cat/virt-filesystems.pod:172 ../cat/virt-ls.pod:330
410 #: ../clone/virt-sysprep.pod:97 ../df/virt-df.pod:103
411 #: ../edit/virt-edit.pod:134 ../fish/guestfish.pod:235
412 #: ../fuse/guestmount.pod:144 ../inspector/virt-inspector.pod:101
413 #: ../rescue/virt-rescue.pod:126
414 msgid "B<--format>"
415 msgstr "B<--format>"
416
417 #. type: textblock
418 #: ../align/virt-alignment-scan.pod:127 ../cat/virt-cat.pod:109
419 #: ../cat/virt-filesystems.pod:174 ../cat/virt-ls.pod:332
420 #: ../clone/virt-sysprep.pod:99 ../df/virt-df.pod:105
421 #: ../edit/virt-edit.pod:136 ../fish/guestfish.pod:237
422 #: ../fuse/guestmount.pod:146 ../rescue/virt-rescue.pod:128
423 msgid ""
424 "The default for the I<-a> option is to auto-detect the format of the disk "
425 "image.  Using this forces the disk format for I<-a> options which follow on "
426 "the command line.  Using I<--format> with no argument switches back to auto-"
427 "detection for subsequent I<-a> options."
428 msgstr ""
429
430 #. type: textblock
431 #: ../align/virt-alignment-scan.pod:132 ../cat/virt-cat.pod:114
432 #: ../cat/virt-filesystems.pod:179 ../cat/virt-ls.pod:337
433 #: ../clone/virt-sysprep.pod:104 ../df/virt-df.pod:110
434 #: ../edit/virt-edit.pod:141 ../fish/guestfish.pod:242
435 #: ../fish/guestfish.pod:673 ../inspector/virt-inspector.pod:336
436 #: ../rescue/virt-rescue.pod:133 ../src/guestfs.pod:2877
437 msgid "For example:"
438 msgstr "Приклад:"
439
440 #. type: verbatim
441 #: ../align/virt-alignment-scan.pod:134
442 #, no-wrap
443 msgid ""
444 " virt-alignment-scan --format=raw -a disk.img\n"
445 "\n"
446 msgstr ""
447
448 #. type: textblock
449 #: ../align/virt-alignment-scan.pod:136 ../cat/virt-cat.pod:118
450 #: ../cat/virt-filesystems.pod:183 ../cat/virt-ls.pod:341
451 #: ../clone/virt-sysprep.pod:108 ../df/virt-df.pod:114
452 #: ../edit/virt-edit.pod:145 ../fish/guestfish.pod:246
453 #: ../rescue/virt-rescue.pod:137
454 msgid "forces raw format (no auto-detection) for C<disk.img>."
455 msgstr ""
456
457 #. type: verbatim
458 #: ../align/virt-alignment-scan.pod:138
459 #, no-wrap
460 msgid ""
461 " virt-alignment-scan --format=raw -a disk.img --format -a another.img\n"
462 "\n"
463 msgstr ""
464
465 #. type: textblock
466 #: ../align/virt-alignment-scan.pod:140 ../cat/virt-cat.pod:122
467 #: ../cat/virt-filesystems.pod:187 ../cat/virt-ls.pod:345
468 #: ../clone/virt-sysprep.pod:112 ../df/virt-df.pod:118
469 #: ../edit/virt-edit.pod:149 ../fish/guestfish.pod:250
470 #: ../rescue/virt-rescue.pod:141
471 msgid ""
472 "forces raw format (no auto-detection) for C<disk.img> and reverts to auto-"
473 "detection for C<another.img>."
474 msgstr ""
475
476 #. type: textblock
477 #: ../align/virt-alignment-scan.pod:143 ../cat/virt-cat.pod:125
478 #: ../cat/virt-filesystems.pod:190 ../cat/virt-ls.pod:348
479 #: ../clone/virt-sysprep.pod:115 ../df/virt-df.pod:121
480 #: ../edit/virt-edit.pod:152 ../rescue/virt-rescue.pod:144
481 msgid ""
482 "If you have untrusted raw-format guest disk images, you should use this "
483 "option to specify the disk format.  This avoids a possible security problem "
484 "with malicious guests (CVE-2010-3851)."
485 msgstr ""
486
487 #. type: =item
488 #: ../align/virt-alignment-scan.pod:147 ../resize/virt-resize.pod:491
489 #: ../sparsify/virt-sparsify.pod:153
490 msgid "B<-q>"
491 msgstr "B<-q>"
492
493 #. type: =item
494 #: ../align/virt-alignment-scan.pod:149 ../resize/virt-resize.pod:493
495 #: ../sparsify/virt-sparsify.pod:155
496 msgid "B<--quiet>"
497 msgstr "B<--quiet>"
498
499 #. type: textblock
500 #: ../align/virt-alignment-scan.pod:151
501 msgid ""
502 "Don't produce any output.  Just set the exit code (see L</EXIT STATUS> "
503 "below)."
504 msgstr ""
505
506 #. type: =item
507 #: ../align/virt-alignment-scan.pod:154 ../cat/virt-cat.pod:134
508 #: ../cat/virt-filesystems.pod:261 ../cat/virt-ls.pod:425
509 #: ../clone/virt-sysprep.pod:138 ../df/virt-df.pod:173
510 #: ../edit/virt-edit.pod:161 ../fish/guestfish.pod:390
511 #: ../fuse/guestmount.pod:266 ../inspector/virt-inspector.pod:119
512 #: ../rescue/virt-rescue.pod:182 ../sparsify/virt-sparsify.pod:159
513 msgid "B<-v>"
514 msgstr "B<-v>"
515
516 #. type: =item
517 #: ../align/virt-alignment-scan.pod:156 ../cat/virt-cat.pod:136
518 #: ../cat/virt-filesystems.pod:263 ../cat/virt-ls.pod:427
519 #: ../clone/virt-sysprep.pod:140 ../df/virt-df.pod:175
520 #: ../edit/virt-edit.pod:163 ../fish/guestfish.pod:392
521 #: ../fuse/guestmount.pod:268 ../inspector/virt-inspector.pod:121
522 #: ../rescue/virt-rescue.pod:184 ../sparsify/virt-sparsify.pod:161
523 msgid "B<--verbose>"
524 msgstr "B<--verbose>"
525
526 #. type: textblock
527 #: ../align/virt-alignment-scan.pod:158 ../cat/virt-cat.pod:138
528 #: ../cat/virt-filesystems.pod:265 ../cat/virt-ls.pod:429
529 #: ../clone/virt-sysprep.pod:142 ../df/virt-df.pod:177
530 #: ../edit/virt-edit.pod:165 ../inspector/virt-inspector.pod:123
531 #: ../rescue/virt-rescue.pod:186 ../sparsify/virt-sparsify.pod:163
532 msgid "Enable verbose messages for debugging."
533 msgstr ""
534
535 #. type: =item
536 #: ../align/virt-alignment-scan.pod:160 ../cat/virt-cat.pod:140
537 #: ../cat/virt-filesystems.pod:267 ../cat/virt-ls.pod:431
538 #: ../clone/virt-sysprep.pod:144 ../df/virt-df.pod:179
539 #: ../edit/virt-edit.pod:167 ../fish/guestfish.pod:397
540 #: ../fuse/guestmount.pod:272 ../inspector/virt-inspector.pod:125
541 #: ../rescue/virt-rescue.pod:188 ../resize/virt-resize.pod:561
542 #: ../sparsify/virt-sparsify.pod:165
543 msgid "B<-V>"
544 msgstr "B<-V>"
545
546 #. type: =item
547 #: ../align/virt-alignment-scan.pod:162 ../cat/virt-cat.pod:142
548 #: ../cat/virt-filesystems.pod:269 ../cat/virt-ls.pod:433
549 #: ../clone/virt-sysprep.pod:146 ../df/virt-df.pod:181
550 #: ../edit/virt-edit.pod:169 ../fish/guestfish.pod:399
551 #: ../fuse/guestmount.pod:274 ../inspector/virt-inspector.pod:127
552 #: ../rescue/virt-rescue.pod:190 ../resize/virt-resize.pod:563
553 #: ../sparsify/virt-sparsify.pod:167 ../tools/virt-list-filesystems.pl:69
554 #: ../tools/virt-list-partitions.pl:70 ../tools/virt-make-fs.pl:169
555 #: ../tools/virt-tar.pl:119 ../tools/virt-win-reg.pl:112
556 msgid "B<--version>"
557 msgstr "B<--version>"
558
559 #. type: textblock
560 #: ../align/virt-alignment-scan.pod:164 ../cat/virt-cat.pod:144
561 #: ../cat/virt-filesystems.pod:271 ../cat/virt-ls.pod:435
562 #: ../clone/virt-sysprep.pod:148 ../df/virt-df.pod:183
563 #: ../edit/virt-edit.pod:171 ../inspector/virt-inspector.pod:129
564 #: ../rescue/virt-rescue.pod:192 ../resize/virt-resize.pod:565
565 #: ../sparsify/virt-sparsify.pod:169 ../tools/virt-list-filesystems.pl:71
566 #: ../tools/virt-list-partitions.pl:72 ../tools/virt-make-fs.pl:171
567 #: ../tools/virt-tar.pl:121 ../tools/virt-win-reg.pl:114
568 msgid "Display version number and exit."
569 msgstr "Показати дані щодо версії і завершити роботу."
570
571 #. type: =item
572 #: ../align/virt-alignment-scan.pod:166 ../cat/virt-cat.pod:146
573 #: ../cat/virt-filesystems.pod:281 ../cat/virt-ls.pod:437
574 #: ../clone/virt-sysprep.pod:150 ../df/virt-df.pod:185
575 #: ../edit/virt-edit.pod:173 ../fish/guestfish.pod:412
576 #: ../fuse/guestmount.pod:287 ../inspector/virt-inspector.pod:131
577 #: ../rescue/virt-rescue.pod:203 ../sparsify/virt-sparsify.pod:171
578 #: ../tools/virt-tar.pl:158
579 msgid "B<-x>"
580 msgstr "B<-x>"
581
582 #. type: textblock
583 #: ../align/virt-alignment-scan.pod:168 ../cat/virt-cat.pod:148
584 #: ../cat/virt-filesystems.pod:283 ../cat/virt-ls.pod:439
585 #: ../clone/virt-sysprep.pod:152 ../df/virt-df.pod:187
586 #: ../edit/virt-edit.pod:175 ../inspector/virt-inspector.pod:133
587 #: ../rescue/virt-rescue.pod:205 ../sparsify/virt-sparsify.pod:173
588 msgid "Enable tracing of libguestfs API calls."
589 msgstr ""
590
591 #. type: =head1
592 #: ../align/virt-alignment-scan.pod:172
593 msgid "RECOMMENDED ALIGNMENT"
594 msgstr ""
595
596 #. type: textblock
597 #: ../align/virt-alignment-scan.pod:174
598 msgid ""
599 "Operating systems older than Windows 2008 and Linux before ca.2010 place the"
600 " first sector of the first partition at sector 63, with a 512 byte sector "
601 "size.  This happens because of a historical accident.  Drives have to report"
602 " a cylinder / head / sector (CHS) geometry to the BIOS.  The geometry is "
603 "completely meaningless on modern drives, but it happens that the geometry "
604 "reported always has 63 sectors per track.  The operating system therefore "
605 "places the first partition at the start of the second \"track\", at sector "
606 "63."
607 msgstr ""
608
609 #. type: textblock
610 #: ../align/virt-alignment-scan.pod:183
611 msgid ""
612 "When the guest OS is virtualized, the host operating system and hypervisor "
613 "may prefer accesses aligned to one of:"
614 msgstr ""
615
616 #. type: =item
617 #: ../align/virt-alignment-scan.pod:188
618 msgid "* 512 bytes"
619 msgstr ""
620
621 #. type: textblock
622 #: ../align/virt-alignment-scan.pod:190
623 msgid ""
624 "if the host OS uses local storage directly on hard drive partitions, and the"
625 " hard drive has 512 byte physical sectors."
626 msgstr ""
627
628 #. type: =item
629 #: ../align/virt-alignment-scan.pod:193
630 msgid "* 4 Kbytes"
631 msgstr ""
632
633 #. type: textblock
634 #: ../align/virt-alignment-scan.pod:195
635 msgid ""
636 "for local storage on new hard drives with 4Kbyte physical sectors; for file-"
637 "backed storage on filesystems with 4Kbyte block size; or for some types of "
638 "network-attached storage."
639 msgstr ""
640
641 #. type: =item
642 #: ../align/virt-alignment-scan.pod:199
643 msgid "* 64 Kbytes"
644 msgstr ""
645
646 #. type: textblock
647 #: ../align/virt-alignment-scan.pod:201
648 msgid ""
649 "for high-end network-attached storage.  This is the optimal block size for "
650 "some NetApp hardware."
651 msgstr ""
652
653 #. type: =item
654 #: ../align/virt-alignment-scan.pod:204
655 msgid "* 1 Mbyte"
656 msgstr ""
657
658 #. type: textblock
659 #: ../align/virt-alignment-scan.pod:206
660 msgid "see L</1 MB PARTITION ALIGNMENT> below."
661 msgstr ""
662
663 #. type: textblock
664 #: ../align/virt-alignment-scan.pod:210
665 msgid ""
666 "Partitions which are not aligned correctly to the underlying storage cause "
667 "extra I/O.  For example:"
668 msgstr ""
669
670 #. type: verbatim
671 #: ../align/virt-alignment-scan.pod:213
672 #, no-wrap
673 msgid ""
674 "                       sect#63\n"
675 "                       +--------------------------+------\n"
676 "                       |         guest            |\n"
677 "                       |    filesystem block      |\n"
678 " ---+------------------+------+-------------------+-----+---\n"
679 "    |  host block             |  host block             |\n"
680 "    |                         |                         |\n"
681 " ---+-------------------------+-------------------------+---\n"
682 "\n"
683 msgstr ""
684
685 #. type: textblock
686 #: ../align/virt-alignment-scan.pod:222
687 msgid ""
688 "In this example, each time a 4K guest block is read, two blocks on the host "
689 "must be accessed (so twice as much I/O is done).  When a 4K guest block is "
690 "written, two host blocks must first be read, the old and new data combined, "
691 "and the two blocks written back (4x I/O)."
692 msgstr ""
693
694 #. type: =head2
695 #: ../align/virt-alignment-scan.pod:227
696 msgid "LINUX HOST BLOCK AND I/O SIZE"
697 msgstr ""
698
699 #. type: textblock
700 #: ../align/virt-alignment-scan.pod:229
701 msgid ""
702 "New versions of the Linux kernel expose the physical and logical block size,"
703 " and minimum and recommended I/O size."
704 msgstr ""
705
706 #. type: textblock
707 #: ../align/virt-alignment-scan.pod:232
708 msgid "For a typical hard drive with 512 byte sectors:"
709 msgstr ""
710
711 #. type: verbatim
712 #: ../align/virt-alignment-scan.pod:234
713 #, no-wrap
714 msgid ""
715 " $ cat /sys/block/sda/queue/physical_block_size\n"
716 " 512\n"
717 " $ cat /sys/block/sda/queue/logical_block_size\n"
718 " 512\n"
719 " $ cat /sys/block/sda/queue/minimum_io_size\n"
720 " 512\n"
721 " $ cat /sys/block/sda/queue/optimal_io_size\n"
722 " 0\n"
723 "\n"
724 msgstr ""
725
726 #. type: textblock
727 #: ../align/virt-alignment-scan.pod:243
728 msgid "For a NetApp LUN:"
729 msgstr ""
730
731 #. type: verbatim
732 #: ../align/virt-alignment-scan.pod:245
733 #, no-wrap
734 msgid ""
735 " $ cat /sys/block/sdc/queue/logical_block_size\n"
736 " 512\n"
737 " $ cat /sys/block/sdc/queue/physical_block_size\n"
738 " 512\n"
739 " $ cat /sys/block/sdc/queue/minimum_io_size\n"
740 " 4096\n"
741 " $ cat /sys/block/sdc/queue/optimal_io_size\n"
742 " 65536\n"
743 "\n"
744 msgstr ""
745
746 #. type: textblock
747 #: ../align/virt-alignment-scan.pod:254
748 msgid ""
749 "The NetApp allows 512 byte accesses (but they will be very inefficient), "
750 "prefers a minimum 4K I/O size, but the optimal I/O size is 64K."
751 msgstr ""
752
753 #. type: textblock
754 #: ../align/virt-alignment-scan.pod:258
755 msgid ""
756 "For detailed information about what these numbers mean, see "
757 "L<http://docs.redhat.com/docs/en-"
758 "US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/newstorage-"
759 "iolimits.html>"
760 msgstr ""
761
762 #. type: textblock
763 #: ../align/virt-alignment-scan.pod:261
764 msgid ""
765 "[Thanks to Mike Snitzer for providing NetApp data and additional "
766 "information.]"
767 msgstr ""
768
769 #. type: =head2
770 #: ../align/virt-alignment-scan.pod:264
771 msgid "1 MB PARTITION ALIGNMENT"
772 msgstr ""
773
774 #. type: textblock
775 #: ../align/virt-alignment-scan.pod:266
776 msgid ""
777 "Microsoft picked 1 MB as the default alignment for all partitions starting "
778 "with Windows 2008 Server, and Linux has followed this."
779 msgstr ""
780
781 #. type: textblock
782 #: ../align/virt-alignment-scan.pod:269
783 msgid ""
784 "Assuming 512 byte sectors in the guest, you will now see the first partition"
785 " starting at sector 2048, and subsequent partitions (if any)  will start at "
786 "a multiple of 2048 sectors."
787 msgstr ""
788
789 #. type: textblock
790 #: ../align/virt-alignment-scan.pod:273
791 msgid ""
792 "1 MB alignment is compatible with all current alignment requirements (4K, "
793 "64K) and provides room for future growth in physical block sizes."
794 msgstr ""
795
796 #. type: =head2
797 #: ../align/virt-alignment-scan.pod:276
798 msgid "SETTING ALIGNMENT"
799 msgstr ""
800
801 #. type: textblock
802 #: ../align/virt-alignment-scan.pod:278
803 msgid ""
804 "L<virt-resize(1)> can change the alignment of the partitions of some guests."
805 "  Currently it can fully align all the partitions of all Windows guests, and"
806 " it will fix the bootloader where necessary.  For Linux guests, it can align"
807 " the second and subsequent partitions, so the majority of OS accesses except"
808 " at boot will be aligned."
809 msgstr ""
810
811 #. type: textblock
812 #: ../align/virt-alignment-scan.pod:284
813 msgid ""
814 "Another way to correct partition alignment problems is to reinstall your "
815 "guest operating systems.  If you install operating systems from templates, "
816 "ensure these have correct partition alignment too."
817 msgstr ""
818
819 #. type: textblock
820 #: ../align/virt-alignment-scan.pod:288
821 msgid ""
822 "For older versions of Windows, the following NetApp document contains useful"
823 " information: L<http://media.netapp.com/documents/tr-3747.pdf>"
824 msgstr ""
825
826 #. type: textblock
827 #: ../align/virt-alignment-scan.pod:291
828 msgid ""
829 "For Red Hat Enterprise Linux E<le> 5, use a Kickstart script that contains "
830 "an explicit C<%pre> section that creates aligned partitions using "
831 "L<parted(8)>.  Do not use the Kickstart C<part> command.  The NetApp "
832 "document above contains an example."
833 msgstr ""
834
835 #. type: =head1
836 #: ../align/virt-alignment-scan.pod:296 ../cat/virt-cat.pod:231
837 #: ../cat/virt-filesystems.pod:373 ../cat/virt-ls.pod:483
838 #: ../clone/virt-sysprep.pod:475 ../df/virt-df.pod:215
839 #: ../edit/virt-edit.pod:342 ../inspector/virt-inspector.pod:352
840 #: ../rescue/virt-rescue.pod:266 ../resize/virt-resize.pod:676
841 #: ../tools/virt-list-filesystems.pl:188 ../tools/virt-list-partitions.pl:258
842 #: ../tools/virt-make-fs.pl:550 ../tools/virt-tar.pl:289
843 #: ../tools/virt-win-reg.pl:744
844 msgid "SHELL QUOTING"
845 msgstr ""
846
847 #. type: textblock
848 #: ../align/virt-alignment-scan.pod:298 ../cat/virt-cat.pod:233
849 #: ../cat/virt-filesystems.pod:375 ../cat/virt-ls.pod:485
850 #: ../clone/virt-sysprep.pod:477 ../df/virt-df.pod:217
851 #: ../edit/virt-edit.pod:344 ../inspector/virt-inspector.pod:354
852 #: ../rescue/virt-rescue.pod:268 ../resize/virt-resize.pod:678
853 #: ../tools/virt-list-filesystems.pl:190 ../tools/virt-list-partitions.pl:260
854 #: ../tools/virt-make-fs.pl:552 ../tools/virt-tar.pl:291
855 #: ../tools/virt-win-reg.pl:752
856 msgid ""
857 "Libvirt guest names can contain arbitrary characters, some of which have "
858 "meaning to the shell such as C<#> and space.  You may need to quote or "
859 "escape these characters on the command line.  See the shell manual page "
860 "L<sh(1)> for details."
861 msgstr ""
862
863 #. type: =head1
864 #: ../align/virt-alignment-scan.pod:303 ../cat/virt-cat.pod:238
865 #: ../cat/virt-filesystems.pod:380 ../cat/virt-ls.pod:490
866 #: ../clone/virt-sysprep.pod:482 ../df/virt-df.pod:222
867 #: ../edit/virt-edit.pod:349 ../fish/guestfish.pod:1114
868 #: ../fuse/guestmount.pod:312 ../inspector/virt-inspector.pod:375
869 #: ../resize/virt-resize.pod:683 ../sparsify/virt-sparsify.pod:227
870 #: ../test-tool/libguestfs-test-tool.pod:90
871 msgid "EXIT STATUS"
872 msgstr ""
873
874 #. type: textblock
875 #: ../align/virt-alignment-scan.pod:305
876 msgid "This program returns:"
877 msgstr ""
878
879 #. type: =item
880 #: ../align/virt-alignment-scan.pod:309 ../align/virt-alignment-scan.pod:315
881 #: ../align/virt-alignment-scan.pod:321 ../align/virt-alignment-scan.pod:328
882 #: ../cat/virt-cat.pod:177 ../cat/virt-cat.pod:182 ../cat/virt-cat.pod:187
883 #: ../cat/virt-cat.pod:198 ../cat/virt-cat.pod:202
884 #: ../clone/virt-sysprep.pod:283 ../clone/virt-sysprep.pod:287
885 #: ../clone/virt-sysprep.pod:291 ../clone/virt-sysprep.pod:295
886 #: ../clone/virt-sysprep.pod:310 ../clone/virt-sysprep.pod:314
887 #: ../clone/virt-sysprep.pod:318 ../clone/virt-sysprep.pod:322
888 #: ../clone/virt-sysprep.pod:326 ../clone/virt-sysprep.pod:362
889 #: ../clone/virt-sysprep.pod:384 ../clone/virt-sysprep.pod:388
890 #: ../df/virt-df.pod:148 ../df/virt-df.pod:154 ../edit/virt-edit.pod:266
891 #: ../edit/virt-edit.pod:271 ../edit/virt-edit.pod:276
892 #: ../edit/virt-edit.pod:287 ../edit/virt-edit.pod:291
893 #: ../examples/guestfs-recipes.pod:98 ../examples/guestfs-recipes.pod:102
894 #: ../examples/guestfs-recipes.pod:106 ../examples/guestfs-recipes.pod:132
895 #: ../examples/guestfs-recipes.pod:137 ../examples/guestfs-recipes.pod:227
896 #: ../examples/guestfs-recipes.pod:231 ../examples/guestfs-recipes.pod:235
897 #: ../examples/guestfs-recipes.pod:239 ../examples/guestfs-recipes.pod:243
898 #: ../fish/guestfish-actions.pod:13 ../fish/guestfish-actions.pod:20
899 #: ../fish/guestfish-actions.pod:441 ../fish/guestfish-actions.pod:449
900 #: ../fish/guestfish-actions.pod:456 ../fish/guestfish-actions.pod:463
901 #: ../fish/guestfish-actions.pod:1262 ../fish/guestfish-actions.pod:1266
902 #: ../fish/guestfish-actions.pod:1270 ../fish/guestfish-actions.pod:1274
903 #: ../fish/guestfish-actions.pod:1282 ../fish/guestfish-actions.pod:1286
904 #: ../fish/guestfish-actions.pod:1290 ../fish/guestfish-actions.pod:1300
905 #: ../fish/guestfish-actions.pod:1304 ../fish/guestfish-actions.pod:1308
906 #: ../fish/guestfish-actions.pod:1398 ../fish/guestfish-actions.pod:1402
907 #: ../fish/guestfish-actions.pod:1407 ../fish/guestfish-actions.pod:1412
908 #: ../fish/guestfish-actions.pod:1454 ../fish/guestfish-actions.pod:1458
909 #: ../fish/guestfish-actions.pod:1463 ../fish/guestfish-actions.pod:1719
910 #: ../fish/guestfish-actions.pod:1726 ../fish/guestfish-actions.pod:1733
911 #: ../fish/guestfish-actions.pod:2136 ../fish/guestfish-actions.pod:2142
912 #: ../fish/guestfish-actions.pod:2150 ../fish/guestfish-actions.pod:2157
913 #: ../fish/guestfish-actions.pod:2164 ../fish/guestfish.pod:445
914 #: ../fish/guestfish.pod:449 ../fish/guestfish.pod:453
915 #: ../fish/guestfish.pod:457 ../inspector/virt-inspector.pod:393
916 #: ../inspector/virt-inspector.pod:397 ../resize/virt-resize.pod:359
917 #: ../resize/virt-resize.pod:363 ../resize/virt-resize.pod:372
918 #: ../resize/virt-resize.pod:378 ../sparsify/virt-sparsify.pod:32
919 #: ../sparsify/virt-sparsify.pod:39 ../sparsify/virt-sparsify.pod:43
920 #: ../sparsify/virt-sparsify.pod:49 ../sparsify/virt-sparsify.pod:54
921 #: ../sparsify/virt-sparsify.pod:58 ../sparsify/virt-sparsify.pod:64
922 #: ../src/guestfs-actions.pod:22 ../src/guestfs-actions.pod:29
923 #: ../src/guestfs-actions.pod:641 ../src/guestfs-actions.pod:649
924 #: ../src/guestfs-actions.pod:656 ../src/guestfs-actions.pod:663
925 #: ../src/guestfs-actions.pod:2071 ../src/guestfs-actions.pod:2075
926 #: ../src/guestfs-actions.pod:2079 ../src/guestfs-actions.pod:2083
927 #: ../src/guestfs-actions.pod:2091 ../src/guestfs-actions.pod:2095
928 #: ../src/guestfs-actions.pod:2099 ../src/guestfs-actions.pod:2109
929 #: ../src/guestfs-actions.pod:2113 ../src/guestfs-actions.pod:2117
930 #: ../src/guestfs-actions.pod:2255 ../src/guestfs-actions.pod:2259
931 #: ../src/guestfs-actions.pod:2264 ../src/guestfs-actions.pod:2269
932 #: ../src/guestfs-actions.pod:2330 ../src/guestfs-actions.pod:2334
933 #: ../src/guestfs-actions.pod:2339 ../src/guestfs-actions.pod:2754
934 #: ../src/guestfs-actions.pod:2761 ../src/guestfs-actions.pod:2768
935 #: ../src/guestfs-actions.pod:3313 ../src/guestfs-actions.pod:3319
936 #: ../src/guestfs-actions.pod:3327 ../src/guestfs-actions.pod:3334
937 #: ../src/guestfs-actions.pod:3341 ../src/guestfs.pod:403
938 #: ../src/guestfs.pod:408 ../src/guestfs.pod:413 ../src/guestfs.pod:417
939 #: ../src/guestfs.pod:422 ../src/guestfs.pod:426 ../src/guestfs.pod:431
940 #: ../src/guestfs.pod:436 ../src/guestfs.pod:1109 ../src/guestfs.pod:1113
941 #: ../src/guestfs.pod:1117 ../src/guestfs.pod:1122 ../src/guestfs.pod:1130
942 #: ../src/guestfs.pod:1149 ../src/guestfs.pod:1157 ../src/guestfs.pod:1179
943 #: ../src/guestfs.pod:1183 ../src/guestfs.pod:1187 ../src/guestfs.pod:1191
944 #: ../src/guestfs.pod:1195 ../src/guestfs.pod:1199 ../src/guestfs.pod:1689
945 #: ../src/guestfs.pod:1694 ../src/guestfs.pod:1698 ../src/guestfs.pod:1800
946 #: ../src/guestfs.pod:1805 ../src/guestfs.pod:1809 ../src/guestfs.pod:1819
947 #: ../src/guestfs.pod:2108 ../src/guestfs.pod:2113 ../src/guestfs.pod:2119
948 #: ../src/guestfs.pod:2127 ../src/guestfs.pod:2645 ../src/guestfs.pod:2651
949 #: ../src/guestfs.pod:2656 ../src/guestfs.pod:2662 ../src/guestfs.pod:3062
950 #: ../src/guestfs.pod:3067 ../src/guestfs.pod:3071 ../src/guestfs.pod:3075
951 #: ../src/guestfs.pod:3079 ../src/guestfs.pod:3093 ../src/guestfs.pod:3098
952 #: ../src/guestfs.pod:3329 ../src/guestfs.pod:3333 ../src/guestfs.pod:3337
953 #: ../src/guestfs.pod:3341 ../tools/virt-win-reg.pl:197
954 #: ../tools/virt-win-reg.pl:202 ../tools/virt-win-reg.pl:208
955 #: ../tools/virt-win-reg.pl:721 ../tools/virt-win-reg.pl:727
956 #: ../tools/virt-win-reg.pl:733
957 msgid "*"
958 msgstr "*"
959
960 #. type: textblock
961 #: ../align/virt-alignment-scan.pod:311
962 msgid "0"
963 msgstr ""
964
965 #. type: textblock
966 #: ../align/virt-alignment-scan.pod:313
967 msgid ""
968 "successful exit, all partitions are aligned E<ge> 64K for best performance"
969 msgstr ""
970
971 #. type: textblock
972 #: ../align/virt-alignment-scan.pod:317
973 msgid "1"
974 msgstr ""
975
976 #. type: textblock
977 #: ../align/virt-alignment-scan.pod:319
978 msgid "an error scanning the disk image or guest"
979 msgstr ""
980
981 #. type: textblock
982 #: ../align/virt-alignment-scan.pod:323
983 msgid "2"
984 msgstr ""
985
986 #. type: textblock
987 #: ../align/virt-alignment-scan.pod:325
988 msgid ""
989 "successful exit, some partitions have alignment E<lt> 64K which can result "
990 "in poor performance on high end network storage"
991 msgstr ""
992
993 #. type: textblock
994 #: ../align/virt-alignment-scan.pod:330
995 msgid "3"
996 msgstr ""
997
998 #. type: textblock
999 #: ../align/virt-alignment-scan.pod:332
1000 msgid ""
1001 "successful exit, some partitions have alignment E<lt> 4K which can result in"
1002 " poor performance on most hypervisors"
1003 msgstr ""
1004
1005 #. type: =head1
1006 #: ../align/virt-alignment-scan.pod:337 ../cat/virt-cat.pod:243
1007 #: ../cat/virt-filesystems.pod:385 ../cat/virt-ls.pod:495
1008 #: ../clone/virt-sysprep.pod:486 ../df/virt-df.pod:227
1009 #: ../edit/virt-edit.pod:354 ../erlang/examples/guestfs-erlang.pod:97
1010 #: ../examples/guestfs-examples.pod:33 ../examples/guestfs-recipes.pod:384
1011 #: ../fish/guestfish.pod:1268 ../fish/virt-copy-in.pod:50
1012 #: ../fish/virt-copy-out.pod:39 ../fish/virt-tar-in.pod:47
1013 #: ../fish/virt-tar-out.pod:41 ../fuse/guestmount.pod:317
1014 #: ../inspector/virt-inspector.pod:380 ../java/examples/guestfs-java.pod:45
1015 #: ../ocaml/examples/guestfs-ocaml.pod:78 ../perl/examples/guestfs-perl.pod:39
1016 #: ../python/examples/guestfs-python.pod:42 ../rescue/virt-rescue.pod:288
1017 #: ../resize/virt-resize.pod:688 ../ruby/examples/guestfs-ruby.pod:36
1018 #: ../sparsify/virt-sparsify.pod:251 ../src/guestfs.pod:3270
1019 #: ../test-tool/libguestfs-test-tool.pod:100
1020 #: ../tools/virt-list-filesystems.pl:195 ../tools/virt-list-partitions.pl:265
1021 #: ../tools/virt-make-fs.pl:557 ../tools/virt-tar.pl:296
1022 #: ../tools/virt-win-reg.pl:757
1023 msgid "SEE ALSO"
1024 msgstr "ТАКОЖ ПЕРЕГЛЯНЬТЕ"
1025
1026 #. type: textblock
1027 #: ../align/virt-alignment-scan.pod:339
1028 msgid ""
1029 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-rescue(1)>, L"
1030 "<virt-resize(1)>, L<http://libguestfs.org/>."
1031 msgstr ""
1032
1033 #. type: =head1
1034 #: ../align/virt-alignment-scan.pod:346 ../cat/virt-cat.pod:252
1035 #: ../cat/virt-filesystems.pod:396 ../cat/virt-ls.pod:507
1036 #: ../clone/virt-sysprep.pod:501 ../df/virt-df.pod:235
1037 #: ../edit/virt-edit.pod:368 ../rescue/virt-rescue.pod:296
1038 #: ../resize/virt-resize.pod:711 ../sparsify/virt-sparsify.pod:264
1039 #: ../tools/virt-list-filesystems.pl:208 ../tools/virt-list-partitions.pl:277
1040 #: ../tools/virt-make-fs.pl:582 ../tools/virt-tar.pl:311
1041 #: ../tools/virt-win-reg.pl:783
1042 msgid "AUTHOR"
1043 msgstr "АВТОР"
1044
1045 #. type: textblock
1046 #: ../align/virt-alignment-scan.pod:348 ../cat/virt-cat.pod:254
1047 #: ../cat/virt-filesystems.pod:398 ../cat/virt-ls.pod:509
1048 #: ../clone/virt-sysprep.pod:503 ../df/virt-df.pod:237
1049 #: ../edit/virt-edit.pod:370 ../inspector/virt-inspector.pod:395
1050 #: ../rescue/virt-rescue.pod:298 ../resize/virt-resize.pod:713
1051 #: ../sparsify/virt-sparsify.pod:266 ../tools/virt-list-filesystems.pl:210
1052 #: ../tools/virt-list-partitions.pl:279 ../tools/virt-make-fs.pl:584
1053 #: ../tools/virt-tar.pl:313 ../tools/virt-win-reg.pl:785
1054 msgid "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
1055 msgstr "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
1056
1057 #. type: =head1
1058 #: ../align/virt-alignment-scan.pod:350 ../cat/virt-cat.pod:256
1059 #: ../cat/virt-filesystems.pod:400 ../cat/virt-ls.pod:511
1060 #: ../clone/virt-sysprep.pod:505 ../df/virt-df.pod:239
1061 #: ../edit/virt-edit.pod:372 ../erlang/examples/guestfs-erlang.pod:114
1062 #: ../examples/guestfs-examples.pod:49 ../examples/guestfs-recipes.pod:401
1063 #: ../fish/guestfish.pod:1300 ../fish/virt-copy-in.pod:64
1064 #: ../fish/virt-copy-out.pod:53 ../fish/virt-tar-in.pod:62
1065 #: ../fish/virt-tar-out.pod:55 ../fuse/guestmount.pod:332
1066 #: ../inspector/virt-inspector.pod:403 ../java/examples/guestfs-java.pod:62
1067 #: ../ocaml/examples/guestfs-ocaml.pod:95 ../perl/examples/guestfs-perl.pod:56
1068 #: ../python/examples/guestfs-python.pod:58 ../rescue/virt-rescue.pod:300
1069 #: ../resize/virt-resize.pod:715 ../ruby/examples/guestfs-ruby.pod:52
1070 #: ../sparsify/virt-sparsify.pod:268 ../src/guestfs.pod:3352
1071 #: ../test-tool/libguestfs-test-tool.pod:110
1072 #: ../tools/virt-list-filesystems.pl:212 ../tools/virt-list-partitions.pl:281
1073 #: ../tools/virt-make-fs.pl:586 ../tools/virt-tar.pl:315
1074 #: ../tools/virt-win-reg.pl:787
1075 msgid "COPYRIGHT"
1076 msgstr "АВТОРСЬКІ ПРАВА"
1077
1078 #. type: textblock
1079 #: ../align/virt-alignment-scan.pod:352 ../clone/virt-sysprep.pod:507
1080 #: ../sparsify/virt-sparsify.pod:270
1081 msgid "Copyright (C) 2011 Red Hat Inc."
1082 msgstr ""
1083
1084 #. type: textblock
1085 #: ../align/virt-alignment-scan.pod:354 ../cat/virt-cat.pod:260
1086 #: ../cat/virt-filesystems.pod:404 ../cat/virt-ls.pod:515
1087 #: ../clone/virt-sysprep.pod:509 ../df/virt-df.pod:243
1088 #: ../edit/virt-edit.pod:376 ../fish/guestfish.pod:1305
1089 #: ../fish/virt-copy-in.pod:69 ../fish/virt-copy-out.pod:58
1090 #: ../fish/virt-tar-in.pod:67 ../fish/virt-tar-out.pod:60
1091 #: ../fuse/guestmount.pod:337 ../inspector/virt-inspector.pod:407
1092 #: ../rescue/virt-rescue.pod:304 ../resize/virt-resize.pod:719
1093 #: ../sparsify/virt-sparsify.pod:272 ../test-tool/libguestfs-test-tool.pod:115
1094 #: ../tools/virt-list-filesystems.pl:216 ../tools/virt-list-partitions.pl:285
1095 #: ../tools/virt-make-fs.pl:590 ../tools/virt-tar.pl:319
1096 #: ../tools/virt-win-reg.pl:791
1097 msgid ""
1098 "This program is free software; you can redistribute it and/or modify it "
1099 "under the terms of the GNU General Public License as published by the Free "
1100 "Software Foundation; either version 2 of the License, or (at your option) "
1101 "any later version."
1102 msgstr ""
1103
1104 #. type: textblock
1105 #: ../align/virt-alignment-scan.pod:359 ../cat/virt-cat.pod:265
1106 #: ../cat/virt-filesystems.pod:409 ../cat/virt-ls.pod:520
1107 #: ../clone/virt-sysprep.pod:514 ../df/virt-df.pod:248
1108 #: ../edit/virt-edit.pod:381 ../fish/guestfish.pod:1310
1109 #: ../fish/virt-copy-in.pod:74 ../fish/virt-copy-out.pod:63
1110 #: ../fish/virt-tar-in.pod:72 ../fish/virt-tar-out.pod:65
1111 #: ../fuse/guestmount.pod:342 ../inspector/virt-inspector.pod:412
1112 #: ../rescue/virt-rescue.pod:309 ../resize/virt-resize.pod:724
1113 #: ../sparsify/virt-sparsify.pod:277 ../test-tool/libguestfs-test-tool.pod:120
1114 #: ../tools/virt-list-filesystems.pl:221 ../tools/virt-list-partitions.pl:290
1115 #: ../tools/virt-make-fs.pl:595 ../tools/virt-tar.pl:324
1116 #: ../tools/virt-win-reg.pl:796
1117 msgid ""
1118 "This program is distributed in the hope that it will be useful, but WITHOUT "
1119 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
1120 "FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for "
1121 "more details."
1122 msgstr ""
1123 "Ця програма поширюється у сподіванні, що вона буде корисною, але БЕЗ БУДЬ-"
1124 "ЯКИХ ГАРАНТІЙНИХ ЗОБОВ’ЯЗАНЬ; навіть без очевидної гарантії ПРАЦЕЗДАТНОСТІ "
1125 "або ПРИДАТНОСТІ ДЛЯ ВИКОРИСТАННЯ З ПЕВНОЮ МЕТОЮ. Докладніше про це можна "
1126 "дізнатися з GNU General Public License."
1127
1128 #. type: textblock
1129 #: ../align/virt-alignment-scan.pod:364 ../cat/virt-cat.pod:270
1130 #: ../cat/virt-filesystems.pod:414 ../cat/virt-ls.pod:525
1131 #: ../clone/virt-sysprep.pod:519 ../df/virt-df.pod:253
1132 #: ../edit/virt-edit.pod:386 ../fish/guestfish.pod:1315
1133 #: ../fish/virt-copy-in.pod:79 ../fish/virt-copy-out.pod:68
1134 #: ../fish/virt-tar-in.pod:77 ../fish/virt-tar-out.pod:70
1135 #: ../fuse/guestmount.pod:347 ../inspector/virt-inspector.pod:417
1136 #: ../rescue/virt-rescue.pod:314 ../resize/virt-resize.pod:729
1137 #: ../sparsify/virt-sparsify.pod:282 ../test-tool/libguestfs-test-tool.pod:125
1138 #: ../tools/virt-list-filesystems.pl:226 ../tools/virt-list-partitions.pl:295
1139 #: ../tools/virt-make-fs.pl:600 ../tools/virt-tar.pl:329
1140 #: ../tools/virt-win-reg.pl:801
1141 msgid ""
1142 "You should have received a copy of the GNU General Public License along with"
1143 " this program; if not, write to the Free Software Foundation, Inc., 675 Mass"
1144 " Ave, Cambridge, MA 02139, USA."
1145 msgstr ""
1146 "Ви маєте отримати копію GNU General Public License разом з цією програмою; "
1147 "якщо це не так, повідомте про факт за адресою Free Software Foundation, "
1148 "Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
1149
1150 #. type: textblock
1151 #: ../cat/virt-cat.pod:5
1152 msgid "virt-cat - Display files in a virtual machine"
1153 msgstr "virt-cat — показ файлів у віртуальній машині"
1154
1155 #. type: verbatim
1156 #: ../cat/virt-cat.pod:9
1157 #, no-wrap
1158 msgid ""
1159 " virt-cat [--options] -d domname file [file ...]\n"
1160 "\n"
1161 msgstr ""
1162 " virt-cat [--параметри] -d назва_домену файл [файл...]\n"
1163 "\n"
1164
1165 #. type: verbatim
1166 #: ../cat/virt-cat.pod:11
1167 #, no-wrap
1168 msgid ""
1169 " virt-cat [--options] -a disk.img [-a disk.img ...] file [file ...]\n"
1170 "\n"
1171 msgstr ""
1172 " virt-cat [--параметри] -a диск.img [-a диск.img ...] файл [файл...]\n"
1173 "\n"
1174
1175 #. type: textblock
1176 #: ../cat/virt-cat.pod:13 ../edit/virt-edit.pod:15
1177 #: ../inspector/virt-inspector.pod:13
1178 msgid "Old-style:"
1179 msgstr "Застарілий стиль:"
1180
1181 #. type: verbatim
1182 #: ../cat/virt-cat.pod:15
1183 #, no-wrap
1184 msgid ""
1185 " virt-cat domname file\n"
1186 "\n"
1187 msgstr ""
1188 " virt-cat назва_домену файл\n"
1189 "\n"
1190
1191 #. type: verbatim
1192 #: ../cat/virt-cat.pod:17
1193 #, no-wrap
1194 msgid ""
1195 " virt-cat disk.img file\n"
1196 "\n"
1197 msgstr ""
1198 " virt-cat диск.img файл\n"
1199 "\n"
1200
1201 #. type: textblock
1202 #: ../cat/virt-cat.pod:21
1203 msgid ""
1204 "C<virt-cat> is a command line tool to display the contents of C<file> where "
1205 "C<file> exists in the named virtual machine (or disk image)."
1206 msgstr ""
1207 "C<virt-cat> — інструмент командного рядка для показу вмісту C<файла>, який "
1208 "зберігається у вказаній віртуальній машині (або образі диска)."
1209
1210 #. type: textblock
1211 #: ../cat/virt-cat.pod:24
1212 msgid ""
1213 "Multiple filenames can be given, in which case they are concatenated "
1214 "together.  Each filename must be a full path, starting at the root directory"
1215 " (starting with '/')."
1216 msgstr ""
1217 "Ви можете вказати декілька назв файлів. Вміст таких файлів буде об’єднано. "
1218 "Назви файлів слід вказувати повністю (разом зі шляхом), починаючи з "
1219 "кореневого каталогу (тобто назва має починатися з «/»)."
1220
1221 #. type: textblock
1222 #: ../cat/virt-cat.pod:28
1223 msgid ""
1224 "C<virt-cat> can be used to quickly view a file.  To edit a file, use C<virt-"
1225 "edit>.  For more complex cases you should look at the L<guestfish(1)> tool "
1226 "(see L</USING GUESTFISH> below)."
1227 msgstr ""
1228 "C<virt-cat> можна скористатися для пришвидшення перегляду файла. Для "
1229 "редагування даних слід користуватися C<virt-edit>. Для виконання складніших "
1230 "дій можна скористатися програмою L<guestfish(1)> (див. L</USING GUESTFISH> "
1231 "нижче)."
1232
1233 #. type: =head1
1234 #: ../cat/virt-cat.pod:32 ../cat/virt-ls.pod:35 ../df/virt-df.pod:43
1235 #: ../edit/virt-edit.pod:44 ../fish/guestfish.pod:41
1236 #: ../fish/guestfish.pod:1051 ../fish/virt-copy-in.pod:29
1237 #: ../fish/virt-copy-out.pod:21 ../fish/virt-tar-in.pod:30
1238 #: ../fish/virt-tar-out.pod:24 ../fuse/guestmount.pod:39
1239 #: ../resize/virt-resize.pod:27 ../sparsify/virt-sparsify.pod:75
1240 #: ../tools/virt-tar.pl:50
1241 msgid "EXAMPLES"
1242 msgstr "ПРИКЛАДИ"
1243
1244 #. type: textblock
1245 #: ../cat/virt-cat.pod:34
1246 msgid ""
1247 "Display C</etc/fstab> file from inside the libvirt VM called C<mydomain>:"
1248 msgstr ""
1249 "Показ файла C</etc/fstab> з віртуальної машини libvirt з назвою C<mydomain>:"
1250
1251 #. type: verbatim
1252 #: ../cat/virt-cat.pod:37
1253 #, no-wrap
1254 msgid ""
1255 " virt-cat -d mydomain /etc/fstab\n"
1256 "\n"
1257 msgstr ""
1258 " virt-cat -d mydomain /etc/fstab\n"
1259 "\n"
1260
1261 #. type: textblock
1262 #: ../cat/virt-cat.pod:39
1263 msgid "List syslog messages from a VM disk image file:"
1264 msgstr ""
1265 "Показ списку повідомлень syslog з файла образу диска віртуальної машини:"
1266
1267 #. type: verbatim
1268 #: ../cat/virt-cat.pod:41
1269 #, no-wrap
1270 msgid ""
1271 " virt-cat -a disk.img /var/log/messages | tail\n"
1272 "\n"
1273 msgstr ""
1274 " virt-cat -a disk.img /var/log/messages | tail\n"
1275 "\n"
1276
1277 #. type: textblock
1278 #: ../cat/virt-cat.pod:43
1279 msgid "Find out what DHCP IP address a VM acquired:"
1280 msgstr "Визначення IP-адреси DHCP, використаної віртуальною машиною:"
1281
1282 #. type: verbatim
1283 #: ../cat/virt-cat.pod:45
1284 #, no-wrap
1285 msgid ""
1286 " virt-cat -d mydomain /var/log/messages | \\\n"
1287 "   grep 'dhclient: bound to' | tail\n"
1288 "\n"
1289 msgstr ""
1290 " virt-cat -d mydomain /var/log/messages | \\\n"
1291 "   grep 'dhclient: bound to' | tail\n"
1292 "\n"
1293
1294 #. type: textblock
1295 #: ../cat/virt-cat.pod:48
1296 msgid "Find out what packages were recently installed:"
1297 msgstr "Пошук нещодавно встановлених пакунків:"
1298
1299 #. type: verbatim
1300 #: ../cat/virt-cat.pod:50
1301 #, no-wrap
1302 msgid ""
1303 " virt-cat -d mydomain /var/log/yum.log | tail\n"
1304 "\n"
1305 msgstr ""
1306 " virt-cat -d mydomain /var/log/yum.log | tail\n"
1307 "\n"
1308
1309 #. type: textblock
1310 #: ../cat/virt-cat.pod:52
1311 msgid "Find out who is logged on inside a virtual machine:"
1312 msgstr "Визначення користувачів, які працюють у віртуальній машині:"
1313
1314 #. type: verbatim
1315 #: ../cat/virt-cat.pod:54
1316 #, no-wrap
1317 msgid ""
1318 " virt-cat -d mydomain /var/run/utmp > /tmp/utmp\n"
1319 " who /tmp/utmp\n"
1320 "\n"
1321 msgstr ""
1322 " virt-cat -d mydomain /var/run/utmp > /tmp/utmp\n"
1323 " who /tmp/utmp\n"
1324 "\n"
1325
1326 #. type: textblock
1327 #: ../cat/virt-cat.pod:57
1328 msgid "or who was logged on:"
1329 msgstr "або тих, які у ній працювали:"
1330
1331 #. type: verbatim
1332 #: ../cat/virt-cat.pod:59
1333 #, no-wrap
1334 msgid ""
1335 " virt-cat -d mydomain /var/log/wtmp > /tmp/wtmp\n"
1336 " last -f /tmp/wtmp\n"
1337 "\n"
1338 msgstr ""
1339 " virt-cat -d mydomain /var/log/wtmp > /tmp/wtmp\n"
1340 " last -f /tmp/wtmp\n"
1341 "\n"
1342
1343 #. type: textblock
1344 #: ../cat/virt-cat.pod:74 ../cat/virt-filesystems.pod:103
1345 #: ../cat/virt-ls.pod:273 ../df/virt-df.pod:71 ../edit/virt-edit.pod:74
1346 #: ../inspector/virt-inspector.pod:67 ../rescue/virt-rescue.pod:96
1347 msgid ""
1348 "Add I<file> which should be a disk image from a virtual machine.  If the "
1349 "virtual machine has multiple block devices, you must supply all of them with"
1350 " separate I<-a> options."
1351 msgstr ""
1352
1353 #. type: =item
1354 #: ../cat/virt-cat.pod:98 ../cat/virt-filesystems.pod:148
1355 #: ../cat/virt-ls.pod:314 ../edit/virt-edit.pod:112 ../fish/guestfish.pod:217
1356 #: ../fuse/guestmount.pod:135 ../inspector/virt-inspector.pod:92
1357 msgid "B<--echo-keys>"
1358 msgstr "B<--echo-keys>"
1359
1360 #. type: textblock
1361 #: ../cat/virt-cat.pod:100
1362 msgid ""
1363 "When prompting for keys and passphrases, virt-cat normally turns echoing off"
1364 " so you cannot see what you are typing.  If you are not worried about "
1365 "Tempest attacks and there is no one else in the room you can specify this "
1366 "flag to see what you are typing."
1367 msgstr ""
1368
1369 #. type: verbatim
1370 #: ../cat/virt-cat.pod:116
1371 #, no-wrap
1372 msgid ""
1373 " virt-cat --format=raw -a disk.img file\n"
1374 "\n"
1375 msgstr ""
1376 " virt-cat --format=raw -a disk.img file\n"
1377 "\n"
1378
1379 #. type: verbatim
1380 #: ../cat/virt-cat.pod:120
1381 #, no-wrap
1382 msgid ""
1383 " virt-cat --format=raw -a disk.img --format -a another.img file\n"
1384 "\n"
1385 msgstr ""
1386 " virt-cat --format=raw -a disk.img --format -a another.img file\n"
1387 "\n"
1388
1389 #. type: =item
1390 #: ../cat/virt-cat.pod:129 ../cat/virt-filesystems.pod:200
1391 #: ../cat/virt-ls.pod:361 ../edit/virt-edit.pod:156 ../fish/guestfish.pod:289
1392 #: ../fuse/guestmount.pod:172 ../inspector/virt-inspector.pod:114
1393 msgid "B<--keys-from-stdin>"
1394 msgstr "B<--keys-from-stdin>"
1395
1396 #. type: textblock
1397 #: ../cat/virt-cat.pod:131 ../cat/virt-filesystems.pod:202
1398 #: ../cat/virt-ls.pod:363 ../edit/virt-edit.pod:158 ../fish/guestfish.pod:291
1399 #: ../fuse/guestmount.pod:174 ../inspector/virt-inspector.pod:116
1400 msgid ""
1401 "Read key or passphrase parameters from stdin.  The default is to try to read"
1402 " passphrases from the user by opening C</dev/tty>."
1403 msgstr ""
1404
1405 #. type: =head1
1406 #: ../cat/virt-cat.pod:152 ../cat/virt-ls.pod:443 ../edit/virt-edit.pod:179
1407 #: ../inspector/virt-inspector.pod:137 ../rescue/virt-rescue.pod:209
1408 msgid "OLD-STYLE COMMAND LINE ARGUMENTS"
1409 msgstr ""
1410
1411 #. type: textblock
1412 #: ../cat/virt-cat.pod:154
1413 msgid "Previous versions of virt-cat allowed you to write either:"
1414 msgstr ""
1415
1416 #. type: verbatim
1417 #: ../cat/virt-cat.pod:156
1418 #, no-wrap
1419 msgid ""
1420 " virt-cat disk.img [disk.img ...] file\n"
1421 "\n"
1422 msgstr ""
1423
1424 #. type: textblock
1425 #: ../cat/virt-cat.pod:158 ../cat/virt-ls.pod:449 ../edit/virt-edit.pod:185
1426 #: ../inspector/virt-inspector.pod:143 ../rescue/virt-rescue.pod:215
1427 msgid "or"
1428 msgstr "або"
1429
1430 #. type: verbatim
1431 #: ../cat/virt-cat.pod:160
1432 #, no-wrap
1433 msgid ""
1434 " virt-cat guestname file\n"
1435 "\n"
1436 msgstr ""
1437
1438 #. type: textblock
1439 #: ../cat/virt-cat.pod:162 ../cat/virt-ls.pod:453 ../edit/virt-edit.pod:189
1440 #: ../inspector/virt-inspector.pod:147 ../rescue/virt-rescue.pod:219
1441 msgid ""
1442 "whereas in this version you should use I<-a> or I<-d> respectively to avoid "
1443 "the confusing case where a disk image might have the same name as a guest."
1444 msgstr ""
1445
1446 #. type: textblock
1447 #: ../cat/virt-cat.pod:166 ../cat/virt-ls.pod:457 ../edit/virt-edit.pod:193
1448 #: ../inspector/virt-inspector.pod:151 ../rescue/virt-rescue.pod:223
1449 msgid "For compatibility the old style is still supported."
1450 msgstr ""
1451
1452 #. type: =head1
1453 #: ../cat/virt-cat.pod:168 ../edit/virt-edit.pod:257 ../fish/guestfish.pod:858
1454 msgid "WINDOWS PATHS"
1455 msgstr "ШЛЯХИ У WINDOWS"
1456
1457 #. type: textblock
1458 #: ../cat/virt-cat.pod:170
1459 msgid ""
1460 "C<virt-cat> has a limited ability to understand Windows drive letters and "
1461 "paths (eg. C<E:\\foo\\bar.txt>)."
1462 msgstr ""
1463
1464 #. type: textblock
1465 #: ../cat/virt-cat.pod:173 ../edit/virt-edit.pod:262
1466 msgid "If and only if the guest is running Windows then:"
1467 msgstr ""
1468
1469 #. type: textblock
1470 #: ../cat/virt-cat.pod:179 ../edit/virt-edit.pod:268
1471 msgid ""
1472 "Drive letter prefixes like C<C:> are resolved against the Windows Registry "
1473 "to the correct filesystem."
1474 msgstr ""
1475
1476 #. type: textblock
1477 #: ../cat/virt-cat.pod:184 ../edit/virt-edit.pod:273
1478 msgid ""
1479 "Any backslash (C<\\>) characters in the path are replaced with forward "
1480 "slashes so that libguestfs can process it."
1481 msgstr ""
1482
1483 #. type: textblock
1484 #: ../cat/virt-cat.pod:189
1485 msgid ""
1486 "The path is resolved case insensitively to locate the file that should be "
1487 "displayed."
1488 msgstr ""
1489
1490 #. type: textblock
1491 #: ../cat/virt-cat.pod:194 ../edit/virt-edit.pod:283
1492 msgid "There are some known shortcomings:"
1493 msgstr ""
1494
1495 #. type: textblock
1496 #: ../cat/virt-cat.pod:200 ../edit/virt-edit.pod:289
1497 msgid "Some NTFS symbolic links may not be followed correctly."
1498 msgstr ""
1499
1500 #. type: textblock
1501 #: ../cat/virt-cat.pod:204 ../edit/virt-edit.pod:293
1502 msgid "NTFS junction points that cross filesystems are not followed."
1503 msgstr ""
1504
1505 #. type: =head1
1506 #: ../cat/virt-cat.pod:208 ../edit/virt-edit.pod:297
1507 msgid "USING GUESTFISH"
1508 msgstr "ВИКОРИСТАННЯ GUESTFISH"
1509
1510 #. type: textblock
1511 #: ../cat/virt-cat.pod:210
1512 msgid ""
1513 "L<guestfish(1)> is a more powerful, lower level tool which you can use when "
1514 "C<virt-cat> doesn't work."
1515 msgstr ""
1516
1517 #. type: textblock
1518 #: ../cat/virt-cat.pod:213
1519 msgid "Using C<virt-cat> is approximately equivalent to doing:"
1520 msgstr ""
1521
1522 #. type: verbatim
1523 #: ../cat/virt-cat.pod:215
1524 #, no-wrap
1525 msgid ""
1526 " guestfish --ro -i -d domname download file -\n"
1527 "\n"
1528 msgstr ""
1529
1530 #. type: textblock
1531 #: ../cat/virt-cat.pod:217
1532 msgid ""
1533 "where C<domname> is the name of the libvirt guest, and C<file> is the full "
1534 "path to the file.  Note the final C<-> (meaning \"output to stdout\")."
1535 msgstr ""
1536
1537 #. type: textblock
1538 #: ../cat/virt-cat.pod:221
1539 msgid ""
1540 "The command above uses libguestfs's guest inspection feature and so does not"
1541 " work on guests that libguestfs cannot inspect, or on things like arbitrary "
1542 "disk images that don't contain guests.  To display a file from a disk image "
1543 "directly, use:"
1544 msgstr ""
1545
1546 #. type: verbatim
1547 #: ../cat/virt-cat.pod:226
1548 #, no-wrap
1549 msgid ""
1550 " guestfish --ro -a disk.img -m /dev/sda1 download file -\n"
1551 "\n"
1552 msgstr ""
1553
1554 #. type: textblock
1555 #: ../cat/virt-cat.pod:228
1556 msgid ""
1557 "where C<disk.img> is the disk image, C</dev/sda1> is the filesystem within "
1558 "the disk image, and C<file> is the full path to the file."
1559 msgstr ""
1560
1561 #. type: textblock
1562 #: ../cat/virt-cat.pod:240 ../cat/virt-filesystems.pod:382
1563 #: ../cat/virt-ls.pod:492 ../df/virt-df.pod:224 ../edit/virt-edit.pod:351
1564 #: ../fuse/guestmount.pod:314 ../inspector/virt-inspector.pod:377
1565 #: ../resize/virt-resize.pod:685 ../sparsify/virt-sparsify.pod:229
1566 msgid ""
1567 "This program returns 0 if successful, or non-zero if there was an error."
1568 msgstr ""
1569
1570 #. type: textblock
1571 #: ../cat/virt-cat.pod:245
1572 msgid ""
1573 "L<guestfs(3)>, L<guestfish(1)>, L<virt-copy-out(1)>, L<virt-edit(1)>, L"
1574 "<virt-tar-out(1)>, L<http://libguestfs.org/>."
1575 msgstr ""
1576 "L<guestfs(3)>, L<guestfish(1)>, L<virt-copy-out(1)>, L<virt-edit(1)>, L"
1577 "<virt-tar-out(1)>, L<http://libguestfs.org/>."
1578
1579 #. type: textblock
1580 #: ../cat/virt-cat.pod:258 ../inspector/virt-inspector.pod:405
1581 #: ../resize/virt-resize.pod:717 ../tools/virt-make-fs.pl:588
1582 msgid "Copyright (C) 2010-2011 Red Hat Inc."
1583 msgstr "©Red Hat Inc., 2010–2011"
1584
1585 #. type: textblock
1586 #: ../cat/virt-filesystems.pod:5
1587 msgid ""
1588 "virt-filesystems - List filesystems, partitions, block devices, LVM in a "
1589 "virtual machine or disk image"
1590 msgstr ""
1591
1592 #. type: verbatim
1593 #: ../cat/virt-filesystems.pod:9
1594 #, no-wrap
1595 msgid ""
1596 " virt-filesystems [--options] -d domname\n"
1597 "\n"
1598 msgstr ""
1599 " virt-filesystems [--параметри] -d назва_домену\n"
1600 "\n"
1601
1602 #. type: verbatim
1603 #: ../cat/virt-filesystems.pod:11
1604 #, no-wrap
1605 msgid ""
1606 " virt-filesystems [--options] -a disk.img [-a disk.img ...]\n"
1607 "\n"
1608 msgstr ""
1609
1610 #. type: textblock
1611 #: ../cat/virt-filesystems.pod:15
1612 msgid ""
1613 "This tool allows you to discover filesystems, partitions, logical volumes, "
1614 "and their sizes in a disk image or virtual machine.  It is a replacement for"
1615 " L<virt-list-filesystems(1)> and L<virt-list-partitions(1)>."
1616 msgstr ""
1617
1618 #. type: textblock
1619 #: ../cat/virt-filesystems.pod:20
1620 msgid ""
1621 "One use for this tool is from shell scripts to iterate over all filesystems "
1622 "from a disk image:"
1623 msgstr ""
1624
1625 #. type: verbatim
1626 #: ../cat/virt-filesystems.pod:23
1627 #, no-wrap
1628 msgid ""
1629 " for fs in $(virt-filesystems -a disk.img); do\n"
1630 "   # ...\n"
1631 " done\n"
1632 "\n"
1633 msgstr ""
1634 " for fs in $(virt-filesystems -a disk.img); do\n"
1635 "   # ...\n"
1636 " done\n"
1637 "\n"
1638
1639 #. type: textblock
1640 #: ../cat/virt-filesystems.pod:27
1641 msgid ""
1642 "Another use is to list partitions before using another tool to modify those "
1643 "partitions (such as L<virt-resize(1)>).  If you are curious about what an "
1644 "unknown disk image contains, use this tool along with L<virt-inspector(1)>."
1645 msgstr ""
1646
1647 #. type: textblock
1648 #: ../cat/virt-filesystems.pod:32
1649 msgid ""
1650 "Various command line options control what this program displays.  You need "
1651 "to give either I<-a> or I<-d> options to specify the disk image or libvirt "
1652 "guest respectively.  If you just specify that then the program shows "
1653 "filesystems found, one per line, like this:"
1654 msgstr ""
1655
1656 #. type: verbatim
1657 #: ../cat/virt-filesystems.pod:37
1658 #, no-wrap
1659 msgid ""
1660 " $ virt-filesystems -a disk.img\n"
1661 " /dev/sda1\n"
1662 " /dev/vg_guest/lv_root\n"
1663 "\n"
1664 msgstr ""
1665 " $ virt-filesystems -a disk.img\n"
1666 " /dev/sda1\n"
1667 " /dev/vg_guest/lv_root\n"
1668 "\n"
1669
1670 #. type: textblock
1671 #: ../cat/virt-filesystems.pod:41
1672 msgid ""
1673 "If you add I<-l> or I<--long> then the output includes extra information:"
1674 msgstr ""
1675
1676 #. type: verbatim
1677 #: ../cat/virt-filesystems.pod:44
1678 #, no-wrap
1679 msgid ""
1680 " $ virt-filesystems -a disk.img -l\n"
1681 " Name                   Type         VFS   Label  Size\n"
1682 " /dev/sda1              filesystem   ext4  boot   524288000\n"
1683 " /dev/vg_guest/lv_root  filesystem   ext4  root   10212081664\n"
1684 "\n"
1685 msgstr ""
1686
1687 #. type: textblock
1688 #: ../cat/virt-filesystems.pod:49
1689 msgid ""
1690 "If you add I<--extra> then non-mountable (swap, unknown) filesystems are "
1691 "shown as well:"
1692 msgstr ""
1693
1694 #. type: verbatim
1695 #: ../cat/virt-filesystems.pod:52
1696 #, no-wrap
1697 msgid ""
1698 " $ virt-filesystems -a disk.img --extra\n"
1699 " /dev/sda1\n"
1700 " /dev/vg_guest/lv_root\n"
1701 " /dev/vg_guest/lv_swap\n"
1702 " /dev/vg_guest/lv_data\n"
1703 "\n"
1704 msgstr ""
1705 " $ virt-filesystems -a disk.img --extra\n"
1706 " /dev/sda1\n"
1707 " /dev/vg_guest/lv_root\n"
1708 " /dev/vg_guest/lv_swap\n"
1709 " /dev/vg_guest/lv_data\n"
1710 "\n"
1711
1712 #. type: textblock
1713 #: ../cat/virt-filesystems.pod:58
1714 msgid ""
1715 "If you add I<--partitions> then partitions are shown instead of filesystems:"
1716 msgstr ""
1717
1718 #. type: verbatim
1719 #: ../cat/virt-filesystems.pod:60
1720 #, no-wrap
1721 msgid ""
1722 " $ virt-filesystems -a disk.img --partitions\n"
1723 " /dev/sda1\n"
1724 " /dev/sda2\n"
1725 "\n"
1726 msgstr ""
1727 " $ virt-filesystems -a disk.img --partitions\n"
1728 " /dev/sda1\n"
1729 " /dev/sda2\n"
1730 "\n"
1731
1732 #. type: textblock
1733 #: ../cat/virt-filesystems.pod:64
1734 msgid ""
1735 "Similarly you can use I<--logical-volumes>, I<--volume-groups>, I"
1736 "<--physical-volumes>, I<--block-devices> to list those items."
1737 msgstr ""
1738
1739 #. type: textblock
1740 #: ../cat/virt-filesystems.pod:67
1741 msgid ""
1742 "You can use these options in combination as well (if you want a combination "
1743 "including filesystems, you have to add I<--filesystems>).  Notice that some "
1744 "items fall into several categories (eg. C</dev/sda1> might be both a "
1745 "partition and a filesystem).  These items are listed several times.  To get "
1746 "a list which includes absolutely everything that virt-filesystems knows "
1747 "about, use the I<--all> option."
1748 msgstr ""
1749
1750 #. type: textblock
1751 #: ../cat/virt-filesystems.pod:74
1752 msgid ""
1753 "UUIDs (because they are quite long) are not shown by default.  Add the "
1754 "I<--uuid> option to display device and filesystem UUIDs in the long output."
1755 msgstr ""
1756
1757 #. type: textblock
1758 #: ../cat/virt-filesystems.pod:78
1759 msgid ""
1760 "I<--all --long --uuid> is a useful combination to display all possible "
1761 "information about everything."
1762 msgstr ""
1763
1764 #. type: verbatim
1765 #: ../cat/virt-filesystems.pod:81
1766 #, no-wrap
1767 msgid ""
1768 " $ virt-filesystems -a win.img --all --long --uuid -h\n"
1769 " Name      Type       VFS  Label           Size Parent   UUID\n"
1770 " /dev/sda1 filesystem ntfs System Reserved 100M -        F81C92571C92112C\n"
1771 " /dev/sda2 filesystem ntfs -               20G  -        F2E8996AE8992E3B\n"
1772 " /dev/sda1 partition  -    -               100M /dev/sda -\n"
1773 " /dev/sda2 partition  -    -               20G  /dev/sda -\n"
1774 " /dev/sda  device     -    -               20G  -        -\n"
1775 "\n"
1776 msgstr ""
1777
1778 #. type: textblock
1779 #: ../cat/virt-filesystems.pod:89
1780 msgid ""
1781 "For machine-readable output, use I<--csv> to get Comma-Separated Values."
1782 msgstr ""
1783
1784 #. type: =item
1785 #: ../cat/virt-filesystems.pod:110 ../tools/virt-list-filesystems.pl:121
1786 msgid "B<--all>"
1787 msgstr "B<--all>"
1788
1789 #. type: textblock
1790 #: ../cat/virt-filesystems.pod:112
1791 msgid ""
1792 "Display everything.  This is currently the same as specifying these options:"
1793 " I<--filesystems>, I<--extra>, I<--partitions>, I<--block-devices>, I"
1794 "<--logical-volumes>, I<--volume-groups>, I<--physical-volumes>.  (More may "
1795 "be added to this list in future)."
1796 msgstr ""
1797
1798 #. type: textblock
1799 #: ../cat/virt-filesystems.pod:117
1800 msgid "See also I<--long>."
1801 msgstr "Див. також I<--long>."
1802
1803 #. type: =item
1804 #: ../cat/virt-filesystems.pod:119
1805 msgid "B<--blkdevs>"
1806 msgstr "B<--blkdevs>"
1807
1808 #. type: =item
1809 #: ../cat/virt-filesystems.pod:121
1810 msgid "B<--block-devices>"
1811 msgstr "B<--block-devices>"
1812
1813 #. type: textblock
1814 #: ../cat/virt-filesystems.pod:123
1815 msgid "Display block devices."
1816 msgstr "Показати список блокових пристроїв."
1817
1818 #. type: =item
1819 #: ../cat/virt-filesystems.pod:135 ../cat/virt-ls.pod:301 ../df/virt-df.pod:88
1820 msgid "B<--csv>"
1821 msgstr "B<--csv>"
1822
1823 #. type: textblock
1824 #: ../cat/virt-filesystems.pod:137 ../cat/virt-ls.pod:303 ../df/virt-df.pod:90
1825 msgid ""
1826 "Write out the results in CSV format (comma-separated values).  This format "
1827 "can be imported easily into databases and spreadsheets, but read L</NOTE "
1828 "ABOUT CSV FORMAT> below."
1829 msgstr ""
1830
1831 #. type: textblock
1832 #: ../cat/virt-filesystems.pod:150
1833 msgid ""
1834 "When prompting for keys and passphrases, virt-filesystems normally turns "
1835 "echoing off so you cannot see what you are typing.  If you are not worried "
1836 "about Tempest attacks and there is no one else in the room you can specify "
1837 "this flag to see what you are typing."
1838 msgstr ""
1839
1840 #. type: =item
1841 #: ../cat/virt-filesystems.pod:155
1842 msgid "B<--extra>"
1843 msgstr "B<--extra>"
1844
1845 #. type: textblock
1846 #: ../cat/virt-filesystems.pod:157
1847 msgid ""
1848 "This causes filesystems that are not ordinary, mountable filesystems to be "
1849 "displayed.  This category includes swapspace, and filesystems that are empty"
1850 " or contain unknown data."
1851 msgstr ""
1852
1853 #. type: textblock
1854 #: ../cat/virt-filesystems.pod:161
1855 msgid "This option implies I<--filesystems>."
1856 msgstr ""
1857
1858 #. type: =item
1859 #: ../cat/virt-filesystems.pod:163
1860 msgid "B<--filesystems>"
1861 msgstr "B<--filesystems>"
1862
1863 #. type: textblock
1864 #: ../cat/virt-filesystems.pod:165
1865 msgid ""
1866 "Display mountable filesystems.  If no display option was selected then this "
1867 "option is implied."
1868 msgstr ""
1869
1870 #. type: textblock
1871 #: ../cat/virt-filesystems.pod:168
1872 msgid "With I<--extra>, non-mountable filesystems are shown too."
1873 msgstr ""
1874
1875 #. type: verbatim
1876 #: ../cat/virt-filesystems.pod:181
1877 #, no-wrap
1878 msgid ""
1879 " virt-filesystems --format=raw -a disk.img\n"
1880 "\n"
1881 msgstr ""
1882 " virt-filesystems --format=raw -a диск.img\n"
1883 "\n"
1884
1885 #. type: verbatim
1886 #: ../cat/virt-filesystems.pod:185
1887 #, no-wrap
1888 msgid ""
1889 " virt-filesystems --format=raw -a disk.img --format -a another.img\n"
1890 "\n"
1891 msgstr ""
1892
1893 #. type: =item
1894 #: ../cat/virt-filesystems.pod:194 ../cat/virt-ls.pod:352
1895 #: ../df/virt-df.pod:125 ../fish/guestfish.pod:156
1896 #: ../tools/virt-list-partitions.pl:109
1897 msgid "B<-h>"
1898 msgstr "B<-h>"
1899
1900 #. type: =item
1901 #: ../cat/virt-filesystems.pod:196 ../cat/virt-ls.pod:354
1902 #: ../df/virt-df.pod:127 ../tools/virt-list-partitions.pl:111
1903 msgid "B<--human-readable>"
1904 msgstr "B<--human-readable>"
1905
1906 #. type: textblock
1907 #: ../cat/virt-filesystems.pod:198
1908 msgid "In I<--long> mode, display sizes in human-readable format."
1909 msgstr ""
1910
1911 #. type: =item
1912 #: ../cat/virt-filesystems.pod:205 ../cat/virt-ls.pod:366
1913 #: ../tools/virt-list-filesystems.pl:108 ../tools/virt-list-partitions.pl:119
1914 msgid "B<-l>"
1915 msgstr "B<-l>"
1916
1917 #. type: =item
1918 #: ../cat/virt-filesystems.pod:207 ../cat/virt-ls.pod:368
1919 #: ../tools/virt-list-filesystems.pl:110 ../tools/virt-list-partitions.pl:121
1920 msgid "B<--long>"
1921 msgstr "B<--long>"
1922
1923 #. type: textblock
1924 #: ../cat/virt-filesystems.pod:209
1925 msgid "Display extra columns of data (\"long format\")."
1926 msgstr ""
1927
1928 #. type: textblock
1929 #: ../cat/virt-filesystems.pod:211
1930 msgid "A title row is added unless you also specify I<--no-title>."
1931 msgstr ""
1932
1933 #. type: textblock
1934 #: ../cat/virt-filesystems.pod:213
1935 msgid ""
1936 "The extra columns displayed depend on what output you select, and the "
1937 "ordering of columns may change in future versions.  Use the title row, "
1938 "I<--csv> output and/or L<csvtool(1)> to match columns to data in external "
1939 "programs."
1940 msgstr ""
1941
1942 #. type: textblock
1943 #: ../cat/virt-filesystems.pod:218
1944 msgid ""
1945 "Use I<-h> if you want sizes to be displayed in human-readable format.  The "
1946 "default is to show raw numbers of I<bytes>."
1947 msgstr ""
1948
1949 #. type: textblock
1950 #: ../cat/virt-filesystems.pod:221
1951 msgid "Use I<--uuid> to display UUIDs too."
1952 msgstr ""
1953
1954 #. type: =item
1955 #: ../cat/virt-filesystems.pod:223
1956 msgid "B<--lvs>"
1957 msgstr "B<--lvs>"
1958
1959 #. type: =item
1960 #: ../cat/virt-filesystems.pod:225
1961 msgid "B<--logvols>"
1962 msgstr "B<--logvols>"
1963
1964 #. type: =item
1965 #: ../cat/virt-filesystems.pod:227
1966 msgid "B<--logical-volumes>"
1967 msgstr "B<--logical-volumes>"
1968
1969 #. type: textblock
1970 #: ../cat/virt-filesystems.pod:229
1971 msgid ""
1972 "Display LVM logical volumes.  In this mode, these are displayed irrespective"
1973 " of whether the LVs contain filesystems."
1974 msgstr ""
1975
1976 #. type: =item
1977 #: ../cat/virt-filesystems.pod:232
1978 msgid "B<--no-title>"
1979 msgstr "B<--no-title>"
1980
1981 #. type: textblock
1982 #: ../cat/virt-filesystems.pod:234
1983 msgid "In I<--long> mode, don't add a title row."
1984 msgstr ""
1985
1986 #. type: textblock
1987 #: ../cat/virt-filesystems.pod:236
1988 msgid ""
1989 "Note that the order of the columns is not fixed, and may change in future "
1990 "versions of virt-filesystems, so using this option may give you unexpected "
1991 "surprises."
1992 msgstr ""
1993
1994 #. type: =item
1995 #: ../cat/virt-filesystems.pod:240
1996 msgid "B<--parts>"
1997 msgstr "B<--parts>"
1998
1999 #. type: =item
2000 #: ../cat/virt-filesystems.pod:242
2001 msgid "B<--partitions>"
2002 msgstr "B<--partitions>"
2003
2004 #. type: textblock
2005 #: ../cat/virt-filesystems.pod:244
2006 msgid ""
2007 "Display partitions.  In this mode, these are displayed irrespective of "
2008 "whether the partitions contain filesystems."
2009 msgstr ""
2010
2011 #. type: =item
2012 #: ../cat/virt-filesystems.pod:247
2013 msgid "B<--pvs>"
2014 msgstr "B<--pvs>"
2015
2016 #. type: =item
2017 #: ../cat/virt-filesystems.pod:249
2018 msgid "B<--physvols>"
2019 msgstr "B<--physvols>"
2020
2021 #. type: =item
2022 #: ../cat/virt-filesystems.pod:251
2023 msgid "B<--physical-volumes>"
2024 msgstr "B<--physical-volumes>"
2025
2026 #. type: textblock
2027 #: ../cat/virt-filesystems.pod:253
2028 msgid "Display LVM physical volumes."
2029 msgstr ""
2030
2031 #. type: =item
2032 #: ../cat/virt-filesystems.pod:255 ../df/virt-df.pod:163
2033 msgid "B<--uuid>"
2034 msgstr "B<--uuid>"
2035
2036 #. type: =item
2037 #: ../cat/virt-filesystems.pod:257
2038 msgid "B<--uuids>"
2039 msgstr "B<--uuids>"
2040
2041 #. type: textblock
2042 #: ../cat/virt-filesystems.pod:259
2043 msgid "In I<--long> mode, display UUIDs as well."
2044 msgstr ""
2045
2046 #. type: =item
2047 #: ../cat/virt-filesystems.pod:273
2048 msgid "B<--vgs>"
2049 msgstr "B<--vgs>"
2050
2051 #. type: =item
2052 #: ../cat/virt-filesystems.pod:275
2053 msgid "B<--volgroups>"
2054 msgstr "B<--volgroups>"
2055
2056 #. type: =item
2057 #: ../cat/virt-filesystems.pod:277
2058 msgid "B<--volume-groups>"
2059 msgstr "B<--volume-groups>"
2060
2061 #. type: textblock
2062 #: ../cat/virt-filesystems.pod:279
2063 msgid "Display LVM volume groups."
2064 msgstr ""
2065
2066 #. type: =head1
2067 #: ../cat/virt-filesystems.pod:287
2068 msgid "COLUMNS"
2069 msgstr "СТОВПЧИКИ"
2070
2071 #. type: textblock
2072 #: ../cat/virt-filesystems.pod:289
2073 msgid ""
2074 "Note that columns in the output are subject to reordering and change in "
2075 "future versions of this tool."
2076 msgstr ""
2077
2078 #. type: =item
2079 #: ../cat/virt-filesystems.pod:294
2080 msgid "B<Name>"
2081 msgstr ""
2082
2083 #. type: textblock
2084 #: ../cat/virt-filesystems.pod:296
2085 msgid "The filesystem, partition, block device or LVM name."
2086 msgstr ""
2087
2088 #. type: textblock
2089 #: ../cat/virt-filesystems.pod:298
2090 msgid ""
2091 "For device and partition names these are displayed as canonical libguestfs "
2092 "names, so that for example C</dev/sda2> is the second partition on the first"
2093 " device."
2094 msgstr ""
2095
2096 #. type: textblock
2097 #: ../cat/virt-filesystems.pod:302
2098 msgid ""
2099 "If the I<--long> option is B<not> specified, then only the name column is "
2100 "shown in the output."
2101 msgstr ""
2102
2103 #. type: =item
2104 #: ../cat/virt-filesystems.pod:305
2105 msgid "B<Type>"
2106 msgstr ""
2107
2108 #. type: textblock
2109 #: ../cat/virt-filesystems.pod:307
2110 msgid "The object type, for example C<filesystem>, C<lv>, C<device> etc."
2111 msgstr ""
2112
2113 #. type: =item
2114 #: ../cat/virt-filesystems.pod:309
2115 msgid "B<VFS>"
2116 msgstr "B<VFS>"
2117
2118 #. type: textblock
2119 #: ../cat/virt-filesystems.pod:311
2120 msgid ""
2121 "If there is a filesystem, then this column displays the filesystem type if "
2122 "one could be detected, eg. C<ext4>."
2123 msgstr ""
2124
2125 #. type: =item
2126 #: ../cat/virt-filesystems.pod:314
2127 msgid "B<Label>"
2128 msgstr ""
2129
2130 #. type: textblock
2131 #: ../cat/virt-filesystems.pod:316
2132 msgid ""
2133 "If the object has a label (used for identifying and mounting filesystems) "
2134 "then this column contains the label."
2135 msgstr ""
2136
2137 #. type: =item
2138 #: ../cat/virt-filesystems.pod:319
2139 msgid "B<MBR>"
2140 msgstr ""
2141
2142 #. type: textblock
2143 #: ../cat/virt-filesystems.pod:321
2144 msgid ""
2145 "The partition type byte, displayed as a two digit hexadecimal number.  A "
2146 "comprehensive list of partition types can be found here: "
2147 "L<http://www.win.tue.nl/~aeb/partitions/partition_types-1.html>"
2148 msgstr ""
2149
2150 #. type: textblock
2151 #: ../cat/virt-filesystems.pod:325
2152 msgid "This is only applicable for DOS (MBR) partitions."
2153 msgstr ""
2154
2155 #. type: =item
2156 #: ../cat/virt-filesystems.pod:327
2157 msgid "B<Size>"
2158 msgstr ""
2159
2160 #. type: textblock
2161 #: ../cat/virt-filesystems.pod:329
2162 msgid ""
2163 "The size of the object in bytes.  If the I<--human> option is used then the "
2164 "size is displayed in a human-readable form."
2165 msgstr ""
2166
2167 #. type: =item
2168 #: ../cat/virt-filesystems.pod:332
2169 msgid "B<Parent>"
2170 msgstr ""
2171
2172 #. type: textblock
2173 #: ../cat/virt-filesystems.pod:334
2174 msgid ""
2175 "The parent column records the parent relationship between objects.  For "
2176 "example, if the object is a partition, then this column contains the name of"
2177 " the containing device.  If the object is a logical volume, then this column"
2178 " is the name of the volume group."
2179 msgstr ""
2180
2181 #. type: =item
2182 #: ../cat/virt-filesystems.pod:339
2183 msgid "B<UUID>"
2184 msgstr "B<UUID>"
2185
2186 #. type: textblock
2187 #: ../cat/virt-filesystems.pod:341
2188 msgid ""
2189 "If the object has a UUID (used for identifying and mounting filesystems and "
2190 "block devices) then this column contains the UUID as a string."
2191 msgstr ""
2192
2193 #. type: textblock
2194 #: ../cat/virt-filesystems.pod:345
2195 msgid "The UUID is only displayed if the I<--uuid> option is given."
2196 msgstr ""
2197
2198 #. type: =head1
2199 #: ../cat/virt-filesystems.pod:349 ../cat/virt-ls.pod:459
2200 #: ../df/virt-df.pod:191
2201 msgid "NOTE ABOUT CSV FORMAT"
2202 msgstr ""
2203
2204 #. type: textblock
2205 #: ../cat/virt-filesystems.pod:351 ../cat/virt-ls.pod:461
2206 #: ../df/virt-df.pod:193
2207 msgid ""
2208 "Comma-separated values (CSV) is a deceptive format.  It I<seems> like it "
2209 "should be easy to parse, but it is definitely not easy to parse."
2210 msgstr ""
2211
2212 #. type: textblock
2213 #: ../cat/virt-filesystems.pod:354 ../cat/virt-ls.pod:464
2214 #: ../df/virt-df.pod:196
2215 msgid ""
2216 "Myth: Just split fields at commas.  Reality: This does I<not> work reliably."
2217 "  This example has two columns:"
2218 msgstr ""
2219
2220 #. type: verbatim
2221 #: ../cat/virt-filesystems.pod:357 ../cat/virt-ls.pod:467
2222 #: ../df/virt-df.pod:199
2223 #, no-wrap
2224 msgid ""
2225 " \"foo,bar\",baz\n"
2226 "\n"
2227 msgstr ""
2228
2229 #. type: textblock
2230 #: ../cat/virt-filesystems.pod:359 ../cat/virt-ls.pod:469
2231 #: ../df/virt-df.pod:201
2232 msgid ""
2233 "Myth: Read the file one line at a time.  Reality: This does I<not> work "
2234 "reliably.  This example has one row:"
2235 msgstr ""
2236
2237 #. type: verbatim
2238 #: ../cat/virt-filesystems.pod:362 ../cat/virt-ls.pod:472
2239 #: ../df/virt-df.pod:204
2240 #, no-wrap
2241 msgid ""
2242 " \"foo\n"
2243 " bar\",baz\n"
2244 "\n"
2245 msgstr ""
2246
2247 #. type: textblock
2248 #: ../cat/virt-filesystems.pod:365 ../cat/virt-ls.pod:475
2249 #: ../df/virt-df.pod:207
2250 msgid ""
2251 "For shell scripts, use C<csvtool> (L<http://merjis.com/developers/csv> also "
2252 "packaged in major Linux distributions)."
2253 msgstr ""
2254
2255 #. type: textblock
2256 #: ../cat/virt-filesystems.pod:368 ../cat/virt-ls.pod:478
2257 #: ../df/virt-df.pod:210
2258 msgid ""
2259 "For other languages, use a CSV processing library (eg. C<Text::CSV> for Perl"
2260 " or Python's built-in csv library)."
2261 msgstr ""
2262
2263 #. type: textblock
2264 #: ../cat/virt-filesystems.pod:371 ../cat/virt-ls.pod:481
2265 #: ../df/virt-df.pod:213
2266 msgid "Most spreadsheets and databases can import CSV directly."
2267 msgstr ""
2268
2269 #. type: textblock
2270 #: ../cat/virt-filesystems.pod:387
2271 msgid ""
2272 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-df(1)>, L<virt-list-"
2273 "filesystems(1)>, L<virt-list-partitions(1)>, L<csvtool(1)>, "
2274 "L<http://libguestfs.org/>."
2275 msgstr ""
2276 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-df(1)>, L<virt-list-"
2277 "filesystems(1)>, L<virt-list-partitions(1)>, L<csvtool(1)>, "
2278 "L<http://libguestfs.org/>."
2279
2280 #. type: textblock
2281 #: ../cat/virt-filesystems.pod:402 ../tools/virt-win-reg.pl:789
2282 msgid "Copyright (C) 2010 Red Hat Inc."
2283 msgstr "©Red Hat Inc., 2010"
2284
2285 #. type: textblock
2286 #: ../cat/virt-ls.pod:5
2287 msgid "virt-ls - List files in a virtual machine"
2288 msgstr ""
2289
2290 #. type: verbatim
2291 #: ../cat/virt-ls.pod:9
2292 #, no-wrap
2293 msgid ""
2294 " virt-ls [--options] -d domname directory [directory ...]\n"
2295 "\n"
2296 msgstr ""
2297
2298 #. type: verbatim
2299 #: ../cat/virt-ls.pod:11
2300 #, no-wrap
2301 msgid ""
2302 " virt-ls [--options] -a disk.img [-a disk.img ...] directory [directory ...]\n"
2303 "\n"
2304 msgstr ""
2305
2306 #. type: textblock
2307 #: ../cat/virt-ls.pod:13 ../df/virt-df.pod:15 ../rescue/virt-rescue.pod:13
2308 msgid "Old style:"
2309 msgstr "Старий стиль:"
2310
2311 #. type: verbatim
2312 #: ../cat/virt-ls.pod:15
2313 #, no-wrap
2314 msgid ""
2315 " virt-ls [--options] domname directory\n"
2316 "\n"
2317 msgstr ""
2318
2319 #. type: verbatim
2320 #: ../cat/virt-ls.pod:17
2321 #, no-wrap
2322 msgid ""
2323 " virt-ls [--options] disk.img [disk.img ...] directory\n"
2324 "\n"
2325 msgstr ""
2326
2327 #. type: textblock
2328 #: ../cat/virt-ls.pod:21
2329 msgid ""
2330 "C<virt-ls> lists filenames, file sizes, checksums, extended attributes and "
2331 "more from a virtual machine or disk image."
2332 msgstr ""
2333
2334 #. type: textblock
2335 #: ../cat/virt-ls.pod:24
2336 msgid ""
2337 "Multiple directory names can be given, in which case the output from each is"
2338 " concatenated."
2339 msgstr ""
2340
2341 #. type: textblock
2342 #: ../cat/virt-ls.pod:27
2343 msgid ""
2344 "To list directories from a libvirt guest use the I<-d> option to specify the"
2345 " name of the guest.  For a disk image, use the I<-a> option."
2346 msgstr ""
2347
2348 #. type: textblock
2349 #: ../cat/virt-ls.pod:31
2350 msgid ""
2351 "C<virt-ls> can do many simple file listings.  For more complicated cases you"
2352 " may need to use L<guestfish(1)>, or write a program directly to the "
2353 "L<guestfs(3)> API."
2354 msgstr ""
2355
2356 #. type: textblock
2357 #: ../cat/virt-ls.pod:37
2358 msgid "Get a list of all files and directories in a virtual machine:"
2359 msgstr ""
2360
2361 #. type: verbatim
2362 #: ../cat/virt-ls.pod:39
2363 #, no-wrap
2364 msgid ""
2365 " virt-ls -R -d guest /\n"
2366 "\n"
2367 msgstr ""
2368
2369 #. type: textblock
2370 #: ../cat/virt-ls.pod:41
2371 msgid "List all setuid or setgid programs in a Linux virtual machine:"
2372 msgstr ""
2373
2374 #. type: verbatim
2375 #: ../cat/virt-ls.pod:43
2376 #, no-wrap
2377 msgid ""
2378 " virt-ls -lR -d guest / | grep '^- [42]'\n"
2379 "\n"
2380 msgstr ""
2381
2382 #. type: textblock
2383 #: ../cat/virt-ls.pod:45
2384 msgid "List all public-writable directories in a Linux virtual machine:"
2385 msgstr ""
2386
2387 #. type: verbatim
2388 #: ../cat/virt-ls.pod:47
2389 #, no-wrap
2390 msgid ""
2391 " virt-ls -lR -d guest / | grep '^d ...7'\n"
2392 "\n"
2393 msgstr ""
2394
2395 #. type: textblock
2396 #: ../cat/virt-ls.pod:49
2397 msgid "List all Unix domain sockets in a Linux virtual machine:"
2398 msgstr ""
2399
2400 #. type: verbatim
2401 #: ../cat/virt-ls.pod:51
2402 #, no-wrap
2403 msgid ""
2404 " virt-ls -lR -d guest / | grep '^s'\n"
2405 "\n"
2406 msgstr ""
2407
2408 #. type: textblock
2409 #: ../cat/virt-ls.pod:53
2410 msgid "List all regular files with filenames ending in '.png':"
2411 msgstr ""
2412
2413 #. type: verbatim
2414 #: ../cat/virt-ls.pod:55
2415 #, no-wrap
2416 msgid ""
2417 " virt-ls -lR -d guest / | grep -i '^-.*\\.png$'\n"
2418 "\n"
2419 msgstr ""
2420
2421 #. type: textblock
2422 #: ../cat/virt-ls.pod:57
2423 msgid "To display files larger than 10MB in home directories:"
2424 msgstr ""
2425
2426 #. type: verbatim
2427 #: ../cat/virt-ls.pod:59
2428 #, no-wrap
2429 msgid ""
2430 " virt-ls -lR -d guest /home | awk '$3 > 10*1024*1024'\n"
2431 "\n"
2432 msgstr ""
2433
2434 #. type: textblock
2435 #: ../cat/virt-ls.pod:61
2436 msgid "Find everything modified in the last 7 days:"
2437 msgstr ""
2438
2439 #. type: verbatim
2440 #: ../cat/virt-ls.pod:63
2441 #, no-wrap
2442 msgid ""
2443 " virt-ls -lR -d guest --time-days / | awk '$6 <= 7'\n"
2444 "\n"
2445 msgstr ""
2446
2447 #. type: textblock
2448 #: ../cat/virt-ls.pod:65
2449 msgid "Find regular files modified in the last 24 hours:"
2450 msgstr ""
2451
2452 #. type: verbatim
2453 #: ../cat/virt-ls.pod:67
2454 #, no-wrap
2455 msgid ""
2456 " virt-ls -lR -d guest --time-days / | grep '^-' | awk '$6 < 1'\n"
2457 "\n"
2458 msgstr ""
2459
2460 #. type: =head2
2461 #: ../cat/virt-ls.pod:69
2462 msgid "DIFFERENCES IN SNAPSHOTS AND BACKING FILES"
2463 msgstr ""
2464
2465 #. type: textblock
2466 #: ../cat/virt-ls.pod:71
2467 msgid ""
2468 "Find the differences between files in a guest and an earlier snapshot of the"
2469 " same guest."
2470 msgstr ""
2471
2472 #. type: verbatim
2473 #: ../cat/virt-ls.pod:74
2474 #, no-wrap
2475 msgid ""
2476 " virt-ls -lR -a snapshot.img / --uids --time-t > old\n"
2477 " virt-ls -lR -a current.img / --uids --time-t > new\n"
2478 " diff -u old new | less\n"
2479 "\n"
2480 msgstr ""
2481
2482 #. type: textblock
2483 #: ../cat/virt-ls.pod:78
2484 msgid ""
2485 "The commands above won't find files where the content has changed but the "
2486 "metadata (eg. file size and modification date) is the same.  To do that, you"
2487 " need to add the I<--checksum> parameter to both C<virt-ls> commands.  "
2488 "I<--checksum> can be quite slow since it has to read and compute a checksum "
2489 "of every regular file in the virtual machine."
2490 msgstr ""
2491
2492 #. type: =head1
2493 #: ../cat/virt-ls.pod:84
2494 msgid "OUTPUT MODES"
2495 msgstr "РЕЖИМИ ВИВЕДЕННЯ ДАНИХ"
2496
2497 #. type: textblock
2498 #: ../cat/virt-ls.pod:86
2499 msgid ""
2500 "C<virt-ls> has four output modes, controlled by different combinations of "
2501 "the I<-l> and I<-R> options."
2502 msgstr ""
2503
2504 #. type: =head2
2505 #: ../cat/virt-ls.pod:89
2506 msgid "SIMPLE LISTING"
2507 msgstr "ПРОСТИЙ СПИСОК"
2508
2509 #. type: textblock
2510 #: ../cat/virt-ls.pod:91
2511 msgid "A simple listing is like the ordinary L<ls(1)> command:"
2512 msgstr ""
2513
2514 #. type: verbatim
2515 #: ../cat/virt-ls.pod:93
2516 #, no-wrap
2517 msgid ""
2518 " $ virt-ls -d guest /\n"
2519 " bin\n"
2520 " boot\n"
2521 " [etc.]\n"
2522 "\n"
2523 msgstr ""
2524 " $ virt-ls -d guest /\n"
2525 " bin\n"
2526 " boot\n"
2527 " [тощо]\n"
2528 "\n"
2529
2530 #. type: =head2
2531 #: ../cat/virt-ls.pod:98
2532 msgid "LONG LISTING"
2533 msgstr "ДОВГИЙ СПИСОК"
2534
2535 #. type: textblock
2536 #: ../cat/virt-ls.pod:100
2537 msgid ""
2538 "With the I<-l> (I<--long>) option, the output is like the C<ls -l> command "
2539 "(more specifically, like the C<guestfs_ll> function)."
2540 msgstr ""
2541
2542 #. type: verbatim
2543 #: ../cat/virt-ls.pod:103
2544 #, no-wrap
2545 msgid ""
2546 " $ virt-ls -l -d guest /\n"
2547 " total 204\n"
2548 " dr-xr-xr-x.   2 root root   4096 2009-08-25 19:06 bin\n"
2549 " dr-xr-xr-x.   5 root root   3072 2009-08-25 19:06 boot\n"
2550 " [etc.]\n"
2551 "\n"
2552 msgstr ""
2553 " $ virt-ls -l -d guest /\n"
2554 " total 204\n"
2555 " dr-xr-xr-x.   2 root root   4096 2009-08-25 19:06 bin\n"
2556 " dr-xr-xr-x.   5 root root   3072 2009-08-25 19:06 boot\n"
2557 " [тощо]\n"
2558 "\n"
2559
2560 #. type: textblock
2561 #: ../cat/virt-ls.pod:109
2562 msgid ""
2563 "Note that while this is useful for displaying a directory, do not try "
2564 "parsing this output in another program.  Use L</RECURSIVE LONG LISTING> "
2565 "instead."
2566 msgstr ""
2567
2568 #. type: =head2
2569 #: ../cat/virt-ls.pod:113
2570 msgid "RECURSIVE LISTING"
2571 msgstr "РЕКУРСИВНИЙ СПИСОК"
2572
2573 #. type: textblock
2574 #: ../cat/virt-ls.pod:115
2575 msgid ""
2576 "With the I<-R> (I<--recursive>) option, C<virt-ls> lists the names of files "
2577 "and directories recursively:"
2578 msgstr ""
2579
2580 #. type: verbatim
2581 #: ../cat/virt-ls.pod:118
2582 #, no-wrap
2583 msgid ""
2584 " $ virt-ls -R -d guest /tmp\n"
2585 " foo\n"
2586 " foo/bar\n"
2587 " [etc.]\n"
2588 "\n"
2589 msgstr ""
2590 " $ virt-ls -R -d guest /tmp\n"
2591 " foo\n"
2592 " foo/bar\n"
2593 " [тощо]\n"
2594 "\n"
2595
2596 #. type: textblock
2597 #: ../cat/virt-ls.pod:123
2598 msgid ""
2599 "To generate this output, C<virt-ls> runs the C<guestfs_find0> function and "
2600 "converts C<\\0> characters to C<\\n>."
2601 msgstr ""
2602
2603 #. type: =head2
2604 #: ../cat/virt-ls.pod:126
2605 msgid "RECURSIVE LONG LISTING"
2606 msgstr "РЕКУРСИВНИЙ ДОВГИЙ СПИСОК"
2607
2608 #. type: textblock
2609 #: ../cat/virt-ls.pod:128
2610 msgid ""
2611 "Using I<-lR> options together changes the output to display directories "
2612 "recursively, with file stats, and optionally other features such as "
2613 "checksums and extended attributes."
2614 msgstr ""
2615
2616 #. type: textblock
2617 #: ../cat/virt-ls.pod:132
2618 msgid ""
2619 "Most of the interesting features of C<virt-ls> are only available when using"
2620 " I<-lR> mode."
2621 msgstr ""
2622
2623 #. type: textblock
2624 #: ../cat/virt-ls.pod:135
2625 msgid ""
2626 "The fields are normally space-separated.  Filenames are B<not> quoted, so "
2627 "you cannot use the output in another program (because filenames can contain "
2628 "spaces and other unsafe characters).  If the guest was untrusted and someone"
2629 " knew you were using C<virt-ls> to analyze the guest, they could play tricks"
2630 " on you by creating filenames with embedded newline characters.  To "
2631 "B<safely> parse the output in another program, use the I<--csv> (Comma-"
2632 "Separated Values) option."
2633 msgstr ""
2634
2635 #. type: textblock
2636 #: ../cat/virt-ls.pod:143
2637 msgid ""
2638 "Note that this output format is completely unrelated to the C<ls -lR> "
2639 "command."
2640 msgstr ""
2641
2642 #. type: verbatim
2643 #: ../cat/virt-ls.pod:146
2644 #, no-wrap
2645 msgid ""
2646 " $ virt-ls -lR -d guest /bin\n"
2647 " d 0555       4096 /bin\n"
2648 " - 0755        123 /bin/alsaunmute\n"
2649 " - 0755      28328 /bin/arch\n"
2650 " l 0777          4 /bin/awk -> gawk\n"
2651 " - 0755      27216 /bin/basename\n"
2652 " - 0755     943360 /bin/bash\n"
2653 " [etc.]\n"
2654 "\n"
2655 msgstr ""
2656 " $ virt-ls -lR -d guest /bin\n"
2657 " d 0555       4096 /bin\n"
2658 " - 0755        123 /bin/alsaunmute\n"
2659 " - 0755      28328 /bin/arch\n"
2660 " l 0777          4 /bin/awk -> gawk\n"
2661 " - 0755      27216 /bin/basename\n"
2662 " - 0755     943360 /bin/bash\n"
2663 " [тощо]\n"
2664 "\n"
2665
2666 #. type: textblock
2667 #: ../cat/virt-ls.pod:155
2668 msgid "These basic fields are always shown:"
2669 msgstr ""
2670
2671 #. type: =item
2672 #: ../cat/virt-ls.pod:159
2673 msgid "type"
2674 msgstr "тип"
2675
2676 #. type: textblock
2677 #: ../cat/virt-ls.pod:161
2678 msgid ""
2679 "The file type, one of: C<-> (regular file), C<d> (directory), C<c> "
2680 "(character device), C<b> (block device), C<p> (named pipe), C<l> (symbolic "
2681 "link), C<s> (socket) or C<u> (unknown)."
2682 msgstr ""
2683
2684 #. type: =item
2685 #: ../cat/virt-ls.pod:171
2686 msgid "permissions"
2687 msgstr "права доступу"
2688
2689 #. type: textblock
2690 #: ../cat/virt-ls.pod:173
2691 msgid "The Unix permissions, displayed as a 4 digit octal number."
2692 msgstr ""
2693
2694 #. type: =item
2695 #: ../cat/virt-ls.pod:175
2696 msgid "size"
2697 msgstr "розмір"
2698
2699 #. type: textblock
2700 #: ../cat/virt-ls.pod:177
2701 msgid ""
2702 "The size of the file.  This is shown in bytes unless I<-h> or I<--human-"
2703 "readable> option is given, in which case this is shown as a human-readable "
2704 "number."
2705 msgstr ""
2706
2707 #. type: =head2
2708 #: ../cat/virt-ls.pod:181 ../fish/guestfish-actions.pod:4395
2709 msgid "path"
2710 msgstr "шлях"
2711
2712 #. type: textblock
2713 #: ../cat/virt-ls.pod:183
2714 msgid "The full path of the file or directory."
2715 msgstr ""
2716
2717 #. type: =item
2718 #: ../cat/virt-ls.pod:185
2719 msgid "link"
2720 msgstr "посилання"
2721
2722 #. type: textblock
2723 #: ../cat/virt-ls.pod:187
2724 msgid "For symbolic links only, the link target."
2725 msgstr ""
2726
2727 #. type: textblock
2728 #: ../cat/virt-ls.pod:191
2729 msgid ""
2730 "In I<-lR> mode, additional command line options enable the display of more "
2731 "fields."
2732 msgstr ""
2733
2734 #. type: textblock
2735 #: ../cat/virt-ls.pod:194
2736 msgid ""
2737 "With the I<--uids> flag, these additional fields are displayed before the "
2738 "path:"
2739 msgstr ""
2740
2741 #. type: =item
2742 #: ../cat/virt-ls.pod:199
2743 msgid "uid"
2744 msgstr "uid"
2745
2746 #. type: =item
2747 #: ../cat/virt-ls.pod:201
2748 msgid "gid"
2749 msgstr "gid"
2750
2751 #. type: textblock
2752 #: ../cat/virt-ls.pod:203
2753 msgid ""
2754 "The UID and GID of the owner of the file (displayed numerically).  Note "
2755 "these only make sense in the context of a Unix-like guest."
2756 msgstr ""
2757
2758 #. type: textblock
2759 #: ../cat/virt-ls.pod:208
2760 msgid "With the I<--times> flag, these additional fields are displayed:"
2761 msgstr ""
2762
2763 #. type: =item
2764 #: ../cat/virt-ls.pod:212
2765 msgid "atime"
2766 msgstr "atime"
2767
2768 #. type: textblock
2769 #: ../cat/virt-ls.pod:214
2770 msgid "The time of last access."
2771 msgstr "Час останнього доступу."
2772
2773 #. type: =item
2774 #: ../cat/virt-ls.pod:216
2775 msgid "mtime"
2776 msgstr "mtime"
2777
2778 #. type: textblock
2779 #: ../cat/virt-ls.pod:218
2780 msgid "The time of last modification."
2781 msgstr "Час останнього внесення змін."
2782
2783 #. type: =item
2784 #: ../cat/virt-ls.pod:220
2785 msgid "ctime"
2786 msgstr "ctime"
2787
2788 #. type: textblock
2789 #: ../cat/virt-ls.pod:222
2790 msgid "The time of last status change."
2791 msgstr "Час останньої зміни стану."
2792
2793 #. type: textblock
2794 #: ../cat/virt-ls.pod:226
2795 msgid ""
2796 "The time fields are displayed as string dates and times, unless one of the "
2797 "I<--time-t>, I<--time-relative> or I<--time-days> flags is given."
2798 msgstr ""
2799
2800 #. type: textblock
2801 #: ../cat/virt-ls.pod:229
2802 msgid "With the I<--extra-stats> flag, these additional fields are displayed:"
2803 msgstr ""
2804
2805 #. type: =item
2806 #: ../cat/virt-ls.pod:233
2807 msgid "device"
2808 msgstr "пристрій"
2809
2810 #. type: textblock
2811 #: ../cat/virt-ls.pod:235
2812 msgid ""
2813 "The device containing the file (displayed as major:minor).  This may not "
2814 "match devices as known to the guest."
2815 msgstr ""
2816
2817 #. type: =item
2818 #: ../cat/virt-ls.pod:238
2819 msgid "inode"
2820 msgstr "inode"
2821
2822 #. type: textblock
2823 #: ../cat/virt-ls.pod:240
2824 msgid "The inode number."
2825 msgstr ""
2826
2827 #. type: =item
2828 #: ../cat/virt-ls.pod:242
2829 msgid "nlink"
2830 msgstr "nlink"
2831
2832 #. type: textblock
2833 #: ../cat/virt-ls.pod:244
2834 msgid "The number of hard links."
2835 msgstr "Кількість жорстких посилань."
2836
2837 #. type: =item
2838 #: ../cat/virt-ls.pod:246
2839 msgid "rdev"
2840 msgstr "rdev"
2841
2842 #. type: textblock
2843 #: ../cat/virt-ls.pod:248
2844 msgid ""
2845 "For block and char special files, the device (displayed as major:minor)."
2846 msgstr ""
2847
2848 #. type: =item
2849 #: ../cat/virt-ls.pod:251
2850 msgid "blocks"
2851 msgstr "блоки"
2852
2853 #. type: textblock
2854 #: ../cat/virt-ls.pod:253
2855 msgid "The number of 512 byte blocks allocated to the file."
2856 msgstr ""
2857
2858 #. type: textblock
2859 #: ../cat/virt-ls.pod:257
2860 msgid ""
2861 "With the I<--checksum> flag, the checksum of the file contents is shown "
2862 "(only for regular files).  Computing file checksums can take a considerable "
2863 "amount of time."
2864 msgstr ""
2865
2866 #. type: =item
2867 #: ../cat/virt-ls.pod:280
2868 msgid "B<--checksum>"
2869 msgstr "B<--checksum>"
2870
2871 #. type: =item
2872 #: ../cat/virt-ls.pod:282
2873 msgid "B<--checksum=crc|md5|sha1|sha224|sha256|sha384|sha512>"
2874 msgstr "B<--checksum=crc|md5|sha1|sha224|sha256|sha384|sha512>"
2875
2876 #. type: textblock
2877 #: ../cat/virt-ls.pod:284
2878 msgid ""
2879 "Display checksum over file contents for regular files.  With no argument, "
2880 "this defaults to using I<md5>.  Using an argument, you can select the "
2881 "checksum type to use."
2882 msgstr ""
2883
2884 #. type: textblock
2885 #: ../cat/virt-ls.pod:288 ../cat/virt-ls.pod:325 ../cat/virt-ls.pod:358
2886 #: ../cat/virt-ls.pod:391 ../cat/virt-ls.pod:401 ../cat/virt-ls.pod:408
2887 #: ../cat/virt-ls.pod:415 ../cat/virt-ls.pod:422
2888 msgid ""
2889 "This option only has effect in I<-lR> output mode.  See L</RECURSIVE LONG "
2890 "LISTING> above."
2891 msgstr ""
2892
2893 #. type: textblock
2894 #: ../cat/virt-ls.pod:316
2895 msgid ""
2896 "When prompting for keys and passphrases, virt-ls normally turns echoing off "
2897 "so you cannot see what you are typing.  If you are not worried about Tempest"
2898 " attacks and there is no one else in the room you can specify this flag to "
2899 "see what you are typing."
2900 msgstr ""
2901
2902 #. type: =item
2903 #: ../cat/virt-ls.pod:321
2904 msgid "B<--extra-stats>"
2905 msgstr "B<--extra-stats>"
2906
2907 #. type: textblock
2908 #: ../cat/virt-ls.pod:323
2909 msgid "Display extra stats."
2910 msgstr "Показати додаткові дані."
2911
2912 #. type: verbatim
2913 #: ../cat/virt-ls.pod:339
2914 #, no-wrap
2915 msgid ""
2916 " virt-ls --format=raw -a disk.img /dir\n"
2917 "\n"
2918 msgstr ""
2919
2920 #. type: verbatim
2921 #: ../cat/virt-ls.pod:343
2922 #, no-wrap
2923 msgid ""
2924 " virt-ls --format=raw -a disk.img --format -a another.img /dir\n"
2925 "\n"
2926 msgstr ""
2927
2928 #. type: textblock
2929 #: ../cat/virt-ls.pod:356
2930 msgid "Display file sizes in human-readable format."
2931 msgstr ""
2932
2933 #. type: =item
2934 #: ../cat/virt-ls.pod:370
2935 msgid "B<-R>"
2936 msgstr "B<-R>"
2937
2938 #. type: =item
2939 #: ../cat/virt-ls.pod:372
2940 msgid "B<--recursive>"
2941 msgstr "B<--recursive>"
2942
2943 #. type: textblock
2944 #: ../cat/virt-ls.pod:374
2945 msgid ""
2946 "Select the mode.  With neither of these options, C<virt-ls> produces a "
2947 "simple, flat list of the files in the named directory.  See L</SIMPLE "
2948 "LISTING>."
2949 msgstr ""
2950
2951 #. type: textblock
2952 #: ../cat/virt-ls.pod:378
2953 msgid ""
2954 "C<virt-ls -l> produces a \"long listing\", which shows more detail.  See "
2955 "L</LONG LISTING>."
2956 msgstr ""
2957
2958 #. type: textblock
2959 #: ../cat/virt-ls.pod:381
2960 msgid ""
2961 "C<virt-ls -R> produces a recursive list of files starting at the named "
2962 "directory.  See L</RECURSIVE LISTING>."
2963 msgstr ""
2964
2965 #. type: textblock
2966 #: ../cat/virt-ls.pod:384
2967 msgid ""
2968 "C<virt-ls -lR> produces a recursive long listing which can be more easily "
2969 "parsed.  See L</RECURSIVE LONG LISTING>."
2970 msgstr ""
2971
2972 #. type: =item
2973 #: ../cat/virt-ls.pod:387
2974 msgid "B<--times>"
2975 msgstr "B<--times>"
2976
2977 #. type: textblock
2978 #: ../cat/virt-ls.pod:389
2979 msgid "Display time fields."
2980 msgstr ""
2981
2982 #. type: =item
2983 #: ../cat/virt-ls.pod:394
2984 msgid "B<--time-days>"
2985 msgstr "B<--time-days>"
2986
2987 #. type: textblock
2988 #: ../cat/virt-ls.pod:396
2989 msgid "Display time fields as days before now (negative if in the future)."
2990 msgstr ""
2991
2992 #. type: textblock
2993 #: ../cat/virt-ls.pod:398
2994 msgid ""
2995 "Note that C<0> in output means \"up to 1 day before now\", or that the age "
2996 "of the file is between 0 and 86399 seconds."
2997 msgstr ""
2998
2999 #. type: =item
3000 #: ../cat/virt-ls.pod:404
3001 msgid "B<--time-relative>"
3002 msgstr "B<--time-relative>"
3003
3004 #. type: textblock
3005 #: ../cat/virt-ls.pod:406
3006 msgid "Display time fields as seconds before now (negative if in the future)."
3007 msgstr ""
3008
3009 #. type: =item
3010 #: ../cat/virt-ls.pod:411
3011 msgid "B<--time-t>"
3012 msgstr "B<--time-t>"
3013
3014 #. type: textblock
3015 #: ../cat/virt-ls.pod:413
3016 msgid "Display time fields as seconds since the Unix epoch."
3017 msgstr ""
3018
3019 #. type: =item
3020 #: ../cat/virt-ls.pod:418
3021 msgid "B<--uids>"
3022 msgstr "B<--uids>"
3023
3024 #. type: textblock
3025 #: ../cat/virt-ls.pod:420
3026 msgid "Display UID and GID fields."
3027 msgstr ""
3028
3029 #. type: textblock
3030 #: ../cat/virt-ls.pod:445
3031 msgid "Previous versions of virt-ls allowed you to write either:"
3032 msgstr ""
3033
3034 #. type: verbatim
3035 #: ../cat/virt-ls.pod:447
3036 #, no-wrap
3037 msgid ""
3038 " virt-ls disk.img [disk.img ...] /dir\n"
3039 "\n"
3040 msgstr ""
3041
3042 #. type: verbatim
3043 #: ../cat/virt-ls.pod:451
3044 #, no-wrap
3045 msgid ""
3046 " virt-ls guestname /dir\n"
3047 "\n"
3048 msgstr ""
3049
3050 #. type: textblock
3051 #: ../cat/virt-ls.pod:497
3052 msgid ""
3053 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-out(1)>, L<virt-"
3054 "tar-out(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
3055 "L<http://libguestfs.org/>."
3056 msgstr ""
3057 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-out(1)>, L<virt-"
3058 "tar-out(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
3059 "L<http://libguestfs.org/>."
3060
3061 #. type: textblock
3062 #: ../cat/virt-ls.pod:513 ../df/virt-df.pod:241 ../edit/virt-edit.pod:374
3063 #: ../rescue/virt-rescue.pod:302
3064 msgid "Copyright (C) 2009-2011 Red Hat Inc."
3065 msgstr "©Red Hat Inc., 2009–2011"
3066
3067 #. type: textblock
3068 #: ../clone/virt-sysprep.pod:5
3069 msgid ""
3070 "virt-sysprep - Reset or unconfigure a virtual machine so clones can be made"
3071 msgstr ""
3072
3073 #. type: verbatim
3074 #: ../clone/virt-sysprep.pod:9
3075 #, no-wrap
3076 msgid ""
3077 " virt-sysprep [--options] -d domname\n"
3078 "\n"
3079 msgstr ""
3080
3081 #. type: verbatim
3082 #: ../clone/virt-sysprep.pod:11
3083 #, no-wrap
3084 msgid ""
3085 " virt-sysprep [--options] -a disk.img [-a disk.img ...]\n"
3086 "\n"
3087 msgstr ""
3088
3089 #. type: textblock
3090 #: ../clone/virt-sysprep.pod:15
3091 msgid ""
3092 "Virt-sysprep \"resets\" or \"unconfigures\" a virtual machine so that clones"
3093 " can be made from it.  Steps in this process include removing SSH host keys,"
3094 " removing persistent network MAC configuration, and removing user accounts."
3095 "  Each step can be enabled or disabled as required."
3096 msgstr ""
3097
3098 #. type: textblock
3099 #: ../clone/virt-sysprep.pod:21
3100 msgid ""
3101 "Virt-sysprep is a simple shell script, allowing easy inspection or "
3102 "customization by the system administrator."
3103 msgstr ""
3104
3105 #. type: textblock
3106 #: ../clone/virt-sysprep.pod:24
3107 msgid ""
3108 "Virt-sysprep modifies the guest or disk image I<in place>.  The guest must "
3109 "be shut down.  If you want to preserve the existing contents of the guest, "
3110 "you I<must copy or clone the disk first>.  See L</COPYING AND CLONING> "
3111 "below."
3112 msgstr ""
3113
3114 #. type: textblock
3115 #: ../clone/virt-sysprep.pod:29
3116 msgid ""
3117 "You do I<not> need to run virt-sysprep as root.  In fact we'd generally "
3118 "recommend that you don't.  The time you might want to run it as root is when"
3119 " you need root in order to access the disk image, but even in this case it "
3120 "would be better to change the permissions on the disk image to be writable "
3121 "as the non-root user running virt-sysprep."
3122 msgstr ""
3123
3124 #. type: textblock
3125 #: ../clone/virt-sysprep.pod:35
3126 msgid ""
3127 "\"Sysprep\" stands for \"system preparation\" tool.  The name comes from the"
3128 " Microsoft program C<sysprep.exe> which is used to unconfigure Windows "
3129 "machines in preparation for cloning them.  Having said that, virt-sysprep "
3130 "does I<not> currently work on Microsoft Windows guests.  We plan to support "
3131 "Windows sysprepping in a future version, and we already have code to do it."
3132 msgstr ""
3133
3134 #. type: =item
3135 #: ../clone/virt-sysprep.pod:76
3136 msgid "B<--enable=...>"
3137 msgstr ""
3138
3139 #. type: textblock
3140 #: ../clone/virt-sysprep.pod:78
3141 msgid ""
3142 "Choose which sysprep operations to perform.  Give a comma-separated list of "
3143 "operations, for example:"
3144 msgstr ""
3145
3146 #. type: verbatim
3147 #: ../clone/virt-sysprep.pod:81
3148 #, no-wrap
3149 msgid ""
3150 " --enable=ssh-hostkeys,udev-persistent-net\n"
3151 "\n"
3152 msgstr ""
3153
3154 #. type: textblock
3155 #: ../clone/virt-sysprep.pod:83
3156 msgid ""
3157 "would enable ONLY C<ssh-hostkeys> and C<udev-persistent-net> operations."
3158 msgstr ""
3159
3160 #. type: textblock
3161 #: ../clone/virt-sysprep.pod:85
3162 msgid ""
3163 "If the I<--enable> option is not given, then we default to trying all "
3164 "possible sysprep operations.  But some sysprep operations are skipped for "
3165 "some guest types."
3166 msgstr ""
3167
3168 #. type: textblock
3169 #: ../clone/virt-sysprep.pod:89
3170 msgid ""
3171 "Use I<--list-operations> to list operations supported by a particular "
3172 "version of virt-sysprep."
3173 msgstr ""
3174
3175 #. type: textblock
3176 #: ../clone/virt-sysprep.pod:92
3177 msgid ""
3178 "See L</OPERATIONS> below for a list and an explanation of each operation."
3179 msgstr ""
3180
3181 #. type: verbatim
3182 #: ../clone/virt-sysprep.pod:106
3183 #, no-wrap
3184 msgid ""
3185 " virt-sysprep --format=raw -a disk.img\n"
3186 "\n"
3187 msgstr ""
3188
3189 #. type: verbatim
3190 #: ../clone/virt-sysprep.pod:110
3191 #, no-wrap
3192 msgid ""
3193 " virt-sysprep --format=raw -a disk.img --format -a another.img\n"
3194 "\n"
3195 msgstr ""
3196
3197 #. type: =item
3198 #: ../clone/virt-sysprep.pod:119
3199 msgid "B<--hostname> newhostname"
3200 msgstr ""
3201
3202 #. type: textblock
3203 #: ../clone/virt-sysprep.pod:121
3204 msgid ""
3205 "Change the hostname.  See the L</hostname> operation below.  If not given, "
3206 "defaults to C<localhost.localdomain>."
3207 msgstr ""
3208
3209 #. type: =item
3210 #: ../clone/virt-sysprep.pod:124
3211 msgid "B<--list-operations>"
3212 msgstr ""
3213
3214 #. type: textblock
3215 #: ../clone/virt-sysprep.pod:126
3216 msgid "List the operations supported by the virt-sysprep program."
3217 msgstr ""
3218
3219 #. type: =item
3220 #: ../clone/virt-sysprep.pod:128
3221 msgid "B<--selinux-relabel>"
3222 msgstr ""
3223
3224 #. type: =item
3225 #: ../clone/virt-sysprep.pod:130
3226 msgid "B<--no-selinux-relabel>"
3227 msgstr ""
3228
3229 #. type: textblock
3230 #: ../clone/virt-sysprep.pod:132
3231 msgid ""
3232 "I<--selinux-relabel> forces SELinux relabelling next time the guest boots.  "
3233 "I<--no-selinux-relabel> disables relabelling."
3234 msgstr ""
3235
3236 #. type: textblock
3237 #: ../clone/virt-sysprep.pod:135
3238 msgid ""
3239 "The default is to try to detect if SELinux relabelling is required.  See "
3240 "L</SELINUX RELABELLING> below for more details."
3241 msgstr ""
3242
3243 #. type: =head1
3244 #: ../clone/virt-sysprep.pod:156
3245 msgid "OPERATIONS"
3246 msgstr ""
3247
3248 #. type: textblock
3249 #: ../clone/virt-sysprep.pod:158
3250 msgid ""
3251 "If the I<--enable> option is I<not> given, then I<all sysprep operations are"
3252 " enabled>, although some are skipped depending on the type of guest."
3253 msgstr ""
3254
3255 #. type: textblock
3256 #: ../clone/virt-sysprep.pod:162
3257 msgid ""
3258 "Operations can be individually enabled using the I<--enable> option.  Use a "
3259 "comma-separated list, for example:"
3260 msgstr ""
3261
3262 #. type: verbatim
3263 #: ../clone/virt-sysprep.pod:165
3264 #, no-wrap
3265 msgid ""
3266 " virt-sysprep --enable=ssh-hostkeys,udev-persistent-net [etc..]\n"
3267 "\n"
3268 msgstr ""
3269
3270 #. type: textblock
3271 #: ../clone/virt-sysprep.pod:167
3272 msgid ""
3273 "To list the operations supported by the current version of virt-sysprep, use"
3274 " I<--list-operations>."
3275 msgstr ""
3276
3277 #. type: textblock
3278 #: ../clone/virt-sysprep.pod:170
3279 msgid ""
3280 "Future versions of virt-sysprep may add more operations.  If you are using "
3281 "virt-sysprep and want predictable behaviour, specify only the operations "
3282 "that you want to have enabled."
3283 msgstr ""
3284
3285 #. type: =head2
3286 #: ../clone/virt-sysprep.pod:174
3287 msgid "cron-spool"
3288 msgstr ""
3289
3290 #. type: textblock
3291 #: ../clone/virt-sysprep.pod:176
3292 msgid "Remove user at-jobs and cron-jobs."
3293 msgstr ""
3294
3295 #. type: =head2
3296 #: ../clone/virt-sysprep.pod:178
3297 msgid "dhcp-client-state"
3298 msgstr ""
3299
3300 #. type: textblock
3301 #: ../clone/virt-sysprep.pod:180
3302 msgid "Remove DHCP client leases."
3303 msgstr ""
3304
3305 #. type: =head2
3306 #: ../clone/virt-sysprep.pod:182
3307 msgid "dhcp-server-state"
3308 msgstr ""
3309
3310 #. type: textblock
3311 #: ../clone/virt-sysprep.pod:184
3312 msgid "Remove DHCP server leases."
3313 msgstr ""
3314
3315 #. type: =head2
3316 #: ../clone/virt-sysprep.pod:186
3317 msgid "hostname"
3318 msgstr ""
3319
3320 #. type: textblock
3321 #: ../clone/virt-sysprep.pod:188
3322 msgid ""
3323 "Changes the hostname of the guest to the value given in the I<--hostname> "
3324 "parameter."
3325 msgstr ""
3326
3327 #. type: textblock
3328 #: ../clone/virt-sysprep.pod:191
3329 msgid ""
3330 "If the I<--hostname> parameter is not given, then the hostname is changed to"
3331 " C<localhost.localdomain>."
3332 msgstr ""
3333
3334 #. type: =head2
3335 #: ../clone/virt-sysprep.pod:194
3336 msgid "logfiles"
3337 msgstr ""
3338
3339 #. type: textblock
3340 #: ../clone/virt-sysprep.pod:196
3341 msgid "Remove many log files."
3342 msgstr ""
3343
3344 #. type: =head2
3345 #: ../clone/virt-sysprep.pod:198
3346 msgid "mail-spool"
3347 msgstr ""
3348
3349 #. type: textblock
3350 #: ../clone/virt-sysprep.pod:200
3351 msgid "Remove email from the local mail spool directory."
3352 msgstr ""
3353
3354 #. type: =head2
3355 #: ../clone/virt-sysprep.pod:202
3356 msgid "net-hwaddr"
3357 msgstr ""
3358
3359 #. type: textblock
3360 #: ../clone/virt-sysprep.pod:204
3361 msgid ""
3362 "Remove HWADDR (hard-coded MAC address) configuration.  For Fedora and Red "
3363 "Hat Enterprise Linux, this is removed from C<ifcfg-*> files."
3364 msgstr ""
3365
3366 #. type: =head2
3367 #: ../clone/virt-sysprep.pod:207
3368 msgid "random-seed"
3369 msgstr ""
3370
3371 #. type: textblock
3372 #: ../clone/virt-sysprep.pod:209
3373 msgid ""
3374 "Write some random bytes from the host into the random seed file of the "
3375 "guest."
3376 msgstr ""
3377
3378 #. type: textblock
3379 #: ../clone/virt-sysprep.pod:212
3380 msgid "See L</RANDOM SEED> below."
3381 msgstr ""
3382
3383 #. type: =head2
3384 #: ../clone/virt-sysprep.pod:214
3385 msgid "rhn-systemid"
3386 msgstr ""
3387
3388 #. type: textblock
3389 #: ../clone/virt-sysprep.pod:216
3390 msgid "Remove the RHN system ID."
3391 msgstr ""
3392
3393 #. type: =head2
3394 #: ../clone/virt-sysprep.pod:218
3395 msgid "smolt-uuid"
3396 msgstr ""
3397
3398 #. type: textblock
3399 #: ../clone/virt-sysprep.pod:220
3400 msgid "Remove the Smolt hardware UUID."
3401 msgstr ""
3402
3403 #. type: =head2
3404 #: ../clone/virt-sysprep.pod:222
3405 msgid "ssh-hostkeys"
3406 msgstr ""
3407
3408 #. type: textblock
3409 #: ../clone/virt-sysprep.pod:224
3410 msgid "Remove the SSH host keys in the guest."
3411 msgstr ""
3412
3413 #. type: textblock
3414 #: ../clone/virt-sysprep.pod:226
3415 msgid ""
3416 "The SSH host keys are regenerated (differently) next time the guest is "
3417 "booted."
3418 msgstr ""
3419
3420 #. type: textblock
3421 #: ../clone/virt-sysprep.pod:229
3422 msgid ""
3423 "If, after cloning, the guest gets the same IP address, ssh will give you a "
3424 "stark warning about the host key changing:"
3425 msgstr ""
3426
3427 #. type: verbatim
3428 #: ../clone/virt-sysprep.pod:232
3429 #, no-wrap
3430 msgid ""
3431 " @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\n"
3432 " @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @\n"
3433 " @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\n"
3434 " IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!\n"
3435 "\n"
3436 msgstr ""
3437
3438 #. type: =head2
3439 #: ../clone/virt-sysprep.pod:237
3440 msgid "udev-persistent-net"
3441 msgstr ""
3442
3443 #. type: textblock
3444 #: ../clone/virt-sysprep.pod:239
3445 msgid ""
3446 "Remove udev persistent net rules which map the guest's existing MAC address "
3447 "to a fixed ethernet device (eg. eth0)."
3448 msgstr ""
3449
3450 #. type: textblock
3451 #: ../clone/virt-sysprep.pod:242
3452 msgid ""
3453 "After a guest is cloned, the MAC address usually changes.  Since the old MAC"
3454 " address occupies the old name (eg. eth0), this means the fresh MAC address "
3455 "is assigned to a new name (eg. eth1) and this is usually undesirable.  "
3456 "Erasing the udev persistent net rules avoids this."
3457 msgstr ""
3458
3459 #. type: =head2
3460 #: ../clone/virt-sysprep.pod:247
3461 msgid "utmp"
3462 msgstr ""
3463
3464 #. type: textblock
3465 #: ../clone/virt-sysprep.pod:249
3466 msgid "Remove the utmp file."
3467 msgstr ""
3468
3469 #. type: textblock
3470 #: ../clone/virt-sysprep.pod:251
3471 msgid ""
3472 "This records who is currently logged in on a machine.  In modern Linux "
3473 "distros it is stored in a ramdisk and hence not part of the virtual "
3474 "machine's disk, but it was stored on disk in older distros."
3475 msgstr ""
3476
3477 #. type: =head2
3478 #: ../clone/virt-sysprep.pod:255
3479 msgid "yum-uuid"
3480 msgstr ""
3481
3482 #. type: textblock
3483 #: ../clone/virt-sysprep.pod:257
3484 msgid "Remove the yum UUID."
3485 msgstr ""
3486
3487 #. type: textblock
3488 #: ../clone/virt-sysprep.pod:259
3489 msgid ""
3490 "Yum creates a fresh UUID the next time it runs when it notices that the "
3491 "original UUID has been erased."
3492 msgstr ""
3493
3494 #. type: =head1
3495 #: ../clone/virt-sysprep.pod:262
3496 msgid "COPYING AND CLONING"
3497 msgstr ""
3498
3499 #. type: textblock
3500 #: ../clone/virt-sysprep.pod:264
3501 msgid ""
3502 "Virt-sysprep can be used as part of a process of cloning guests, or to "
3503 "prepare a template from which guests can be cloned.  There are many "
3504 "different ways to achieve this using the virt tools, and this section is "
3505 "just an introduction."
3506 msgstr ""
3507
3508 #. type: textblock
3509 #: ../clone/virt-sysprep.pod:269
3510 msgid "A virtual machine (when switched off) consists of two parts:"
3511 msgstr ""
3512
3513 #. type: =item
3514 #: ../clone/virt-sysprep.pod:273
3515 msgid "I<configuration>"
3516 msgstr ""
3517
3518 #. type: textblock
3519 #: ../clone/virt-sysprep.pod:275
3520 msgid ""
3521 "The configuration or description of the guest.  eg. The libvirt XML (see "
3522 "C<virsh dumpxml>), the running configuration of the guest, or another "
3523 "external format like OVF."
3524 msgstr ""
3525
3526 #. type: textblock
3527 #: ../clone/virt-sysprep.pod:279
3528 msgid "Some configuration items that might need to be changed:"
3529 msgstr ""
3530
3531 #. type: textblock
3532 #: ../clone/virt-sysprep.pod:285
3533 msgid "name"
3534 msgstr ""
3535
3536 #. type: textblock
3537 #: ../clone/virt-sysprep.pod:289 ../clone/virt-sysprep.pod:316
3538 msgid "UUID"
3539 msgstr ""
3540
3541 #. type: textblock
3542 #: ../clone/virt-sysprep.pod:293
3543 msgid "path to block device(s)"
3544 msgstr ""
3545
3546 #. type: textblock
3547 #: ../clone/virt-sysprep.pod:297
3548 msgid "network card MAC address"
3549 msgstr ""
3550
3551 #. type: =item
3552 #: ../clone/virt-sysprep.pod:301
3553 msgid "I<block device(s)>"
3554 msgstr ""
3555
3556 #. type: textblock
3557 #: ../clone/virt-sysprep.pod:303
3558 msgid ""
3559 "One or more hard disk images, themselves containing files, directories, "
3560 "applications, kernels, configuration, etc."
3561 msgstr ""
3562
3563 #. type: textblock
3564 #: ../clone/virt-sysprep.pod:306
3565 msgid "Some things inside the block devices that might need to be changed:"
3566 msgstr ""
3567
3568 #. type: textblock
3569 #: ../clone/virt-sysprep.pod:312
3570 msgid "hostname and other net configuration"
3571 msgstr ""
3572
3573 #. type: textblock
3574 #: ../clone/virt-sysprep.pod:320
3575 msgid "SSH host keys"
3576 msgstr ""
3577
3578 #. type: textblock
3579 #: ../clone/virt-sysprep.pod:324
3580 msgid "Windows unique security ID (SID)"
3581 msgstr ""
3582
3583 #. type: textblock
3584 #: ../clone/virt-sysprep.pod:328
3585 msgid "Puppet registration"
3586 msgstr ""
3587
3588 #. type: =head2
3589 #: ../clone/virt-sysprep.pod:334
3590 msgid "COPYING THE BLOCK DEVICE"
3591 msgstr ""
3592
3593 #. type: textblock
3594 #: ../clone/virt-sysprep.pod:336
3595 msgid ""
3596 "Starting with an original guest, you probably wish to copy the guest block "
3597 "device and its configuration to make a template.  Then once you are happy "
3598 "with the template, you will want to make many clones from it."
3599 msgstr ""
3600
3601 #. type: verbatim
3602 #: ../clone/virt-sysprep.pod:341
3603 #, no-wrap
3604 msgid ""
3605 "                        virt-sysprep\n"
3606 "                             |\n"
3607 "                             v\n"
3608 " original guest --------> template ---------->\n"
3609 "                                      \\------> cloned\n"
3610 "                                       \\-----> guests\n"
3611 "                                        \\---->\n"
3612 "\n"
3613 msgstr ""
3614
3615 #. type: textblock
3616 #: ../clone/virt-sysprep.pod:349
3617 msgid ""
3618 "You can, of course, just copy the block device on the host using L<cp(1)> or"
3619 " L<dd(1)>."
3620 msgstr ""
3621
3622 #. type: verbatim
3623 #: ../clone/virt-sysprep.pod:352
3624 #, no-wrap
3625 msgid ""
3626 "                   dd                 dd\n"
3627 " original guest --------> template ---------->\n"
3628 "                                      \\------> cloned\n"
3629 "                                       \\-----> guests\n"
3630 "                                        \\---->\n"
3631 "\n"
3632 msgstr ""
3633
3634 #. type: textblock
3635 #: ../clone/virt-sysprep.pod:358
3636 msgid "There are some smarter (and faster) ways too:"
3637 msgstr ""
3638
3639 #. type: verbatim
3640 #: ../clone/virt-sysprep.pod:364
3641 #, no-wrap
3642 msgid ""
3643 "                          snapshot\n"
3644 "                template ---------->\n"
3645 "                            \\------> cloned\n"
3646 "                             \\-----> guests\n"
3647 "                              \\---->\n"
3648 "\n"
3649 msgstr ""
3650
3651 #. type: textblock
3652 #: ../clone/virt-sysprep.pod:370
3653 msgid ""
3654 "Use the block device as a backing file and create a snapshot on top for each"
3655 " guest.  The advantage is that you don't need to copy the block device (very"
3656 " fast) and only changes are stored (less storage required)."
3657 msgstr ""
3658
3659 #. type: textblock
3660 #: ../clone/virt-sysprep.pod:375
3661 msgid ""
3662 "Note that writing to the backing file once you have created guests on top of"
3663 " it is not possible: you will corrupt the guests."
3664 msgstr ""
3665
3666 #. type: textblock
3667 #: ../clone/virt-sysprep.pod:378
3668 msgid ""
3669 "Tools that can do this include: L<qemu-img(1)> (with the I<create -f qcow2 "
3670 "-o backing_file> option), L<lvcreate(8)> (I<--snapshot> option).  Some "
3671 "filesystems (such as btrfs) and most Network Attached Storage devices can "
3672 "also create cheap snapshots from files or LUNs."
3673 msgstr ""
3674
3675 #. type: textblock
3676 #: ../clone/virt-sysprep.pod:386
3677 msgid "Get your NAS to snapshot and/or duplicate the LUN."
3678 msgstr ""
3679
3680 #. type: textblock
3681 #: ../clone/virt-sysprep.pod:390
3682 msgid "Prepare your template using L<virt-sparsify(1)>.  See below."
3683 msgstr ""
3684
3685 #. type: =head2
3686 #: ../clone/virt-sysprep.pod:394
3687 msgid "VIRT-CLONE"
3688 msgstr ""
3689
3690 #. type: textblock
3691 #: ../clone/virt-sysprep.pod:396
3692 msgid ""
3693 "A separate tool, L<virt-clone(1)>, can be used to duplicate the block device"
3694 " and/or modify the external libvirt configuration of a guest.  It will reset"
3695 " the name, UUID and MAC address of the guest in the libvirt XML."
3696 msgstr ""
3697
3698 #. type: textblock
3699 #: ../clone/virt-sysprep.pod:401
3700 msgid ""
3701 "L<virt-clone(1)> does not use libguestfs and cannot look inside the disk "
3702 "image.  This was the original motivation to write virt-sysprep."
3703 msgstr ""
3704
3705 #. type: =head2
3706 #: ../clone/virt-sysprep.pod:404
3707 msgid "SPARSIFY"
3708 msgstr ""
3709
3710 #. type: verbatim
3711 #: ../clone/virt-sysprep.pod:406
3712 #, no-wrap
3713 msgid ""
3714 "              virt-sparsify\n"
3715 " original guest --------> template\n"
3716 "\n"
3717 msgstr ""
3718
3719 #. type: textblock
3720 #: ../clone/virt-sysprep.pod:409
3721 msgid ""
3722 "L<virt-sparsify(1)> can be used to make the cloning template smaller, making"
3723 " it easier to compress and/or faster to copy."
3724 msgstr ""
3725
3726 #. type: textblock
3727 #: ../clone/virt-sysprep.pod:412
3728 msgid ""
3729 "Notice that since virt-sparsify also copies the image, you can use it to "
3730 "make the initial copy (instead of C<dd>)."
3731 msgstr ""
3732
3733 #. type: =head2
3734 #: ../clone/virt-sysprep.pod:415
3735 msgid "RESIZE"
3736 msgstr ""
3737
3738 #. type: verbatim
3739 #: ../clone/virt-sysprep.pod:417
3740 #, no-wrap
3741 msgid ""
3742 "                         virt-resize\n"
3743 "                template ---------->\n"
3744 "                            \\------> cloned\n"
3745 "                             \\-----> guests\n"
3746 "                              \\---->\n"
3747 "\n"
3748 msgstr ""
3749
3750 #. type: textblock
3751 #: ../clone/virt-sysprep.pod:423
3752 msgid ""
3753 "If you want to give people cloned guests, but let them pick the size of the "
3754 "guest themselves (eg. depending on how much they are prepared to pay for "
3755 "disk space), then instead of copying the template, you can run L<virt-"
3756 "resize(1)>.  Virt-resize performs a copy and resize, and thus is ideal for "
3757 "cloning guests from a template."
3758 msgstr ""
3759
3760 #. type: =head1
3761 #: ../clone/virt-sysprep.pod:429 ../src/guestfs.pod:1164
3762 msgid "SECURITY"
3763 msgstr "БЕЗПЕКА"
3764
3765 #. type: textblock
3766 #: ../clone/virt-sysprep.pod:431
3767 msgid ""
3768 "Although virt-sysprep removes some sensitive information from the guest, it "
3769 "does not pretend to remove all of it.  You should examine the L</OPERATIONS>"
3770 " above, and the implementation of the operations in the shell script.  You "
3771 "should also examine the guest afterwards."
3772 msgstr ""
3773
3774 #. type: textblock
3775 #: ../clone/virt-sysprep.pod:436
3776 msgid ""
3777 "Sensitive files are simply removed.  The data they contained may still exist"
3778 " on the disk, easily recovered with a hex editor or undelete tool.  Use L"
3779 "<virt-sparsify(1)> as one way to remove this content.  See also the "
3780 "L<scrub(1)> command to get rid of deleted content in directory entries and "
3781 "inodes."
3782 msgstr ""
3783
3784 #. type: =head2
3785 #: ../clone/virt-sysprep.pod:442
3786 msgid "RANDOM SEED"
3787 msgstr ""
3788
3789 #. type: textblock
3790 #: ../clone/virt-sysprep.pod:444
3791 msgid "I<(This section applies to Linux guests only)>"
3792 msgstr ""
3793
3794 #. type: textblock
3795 #: ../clone/virt-sysprep.pod:446
3796 msgid ""
3797 "The virt-sysprep C<random-seed> operation writes a few bytes of randomness "
3798 "from the host into the guest's random seed file."
3799 msgstr ""
3800
3801 #. type: textblock
3802 #: ../clone/virt-sysprep.pod:449
3803 msgid ""
3804 "If this is just done once and the guest is cloned from the same template, "
3805 "then each guest will start with the same entropy, and things like SSH host "
3806 "keys and TCP sequence numbers may be predictable."
3807 msgstr ""
3808
3809 #. type: textblock
3810 #: ../clone/virt-sysprep.pod:453
3811 msgid ""
3812 "Therefore you should arrange to add more randomness I<after> cloning from a "
3813 "template too, which can be done by just enabling the C<random-seed> "
3814 "operation:"
3815 msgstr ""
3816
3817 #. type: verbatim
3818 #: ../clone/virt-sysprep.pod:457
3819 #, no-wrap
3820 msgid ""
3821 " cp template.img newguest.img\n"
3822 " virt-sysprep --enable=random-seed -a newguest.img\n"
3823 "\n"
3824 msgstr ""
3825
3826 #. type: =head2
3827 #: ../clone/virt-sysprep.pod:460
3828 msgid "SELINUX RELABELLING"
3829 msgstr ""
3830
3831 #. type: textblock
3832 #: ../clone/virt-sysprep.pod:462
3833 msgid "I<(This section applies to Linux guests using SELinux only)>"
3834 msgstr ""
3835
3836 #. type: textblock
3837 #: ../clone/virt-sysprep.pod:464
3838 msgid ""
3839 "If any new files are created by virt-sysprep, then virt-sysprep touches "
3840 "C</.autorelabel> so that these will be correctly labelled by SELinux the "
3841 "next time the guest is booted.  This process interrupts boot and can take "
3842 "some time."
3843 msgstr ""
3844
3845 #. type: textblock
3846 #: ../clone/virt-sysprep.pod:469
3847 msgid ""
3848 "You can force relabelling for all guests by supplying the I<--selinux-"
3849 "relabel> option."
3850 msgstr ""
3851
3852 #. type: textblock
3853 #: ../clone/virt-sysprep.pod:472
3854 msgid ""
3855 "You can disable relabelling entirely by supplying the I<--no-selinux-"
3856 "relabel> option."
3857 msgstr ""
3858
3859 #. type: textblock
3860 #: ../clone/virt-sysprep.pod:484
3861 msgid "This program returns 0 on success, or 1 if there was an error."
3862 msgstr ""
3863
3864 #. type: textblock
3865 #: ../clone/virt-sysprep.pod:488
3866 msgid ""
3867 "L<guestfs(3)>, L<guestfish(1)>, L<virt-clone(1)>, L<virt-rescue(1)>, L<virt-"
3868 "resize(1)>, L<virt-sparsify(1)>, L<virsh(1)>, L<lvcreate(8)>, L<qemu-"
3869 "img(1)>, L<scrub(1)>, L<http://libguestfs.org/>, L<http://libvirt.org/>."
3870 msgstr ""
3871
3872 #. type: textblock
3873 #: ../df/virt-df.pod:5
3874 msgid "virt-df - Display free space on virtual filesystems"
3875 msgstr ""
3876
3877 #. type: verbatim
3878 #: ../df/virt-df.pod:9
3879 #, no-wrap
3880 msgid ""
3881 " virt-df [--options]\n"
3882 "\n"
3883 msgstr ""
3884 " virt-df [--параметри]\n"
3885 "\n"
3886
3887 #. type: verbatim
3888 #: ../df/virt-df.pod:11
3889 #, no-wrap
3890 msgid ""
3891 " virt-df [--options] -d domname\n"
3892 "\n"
3893 msgstr ""
3894
3895 #. type: verbatim
3896 #: ../df/virt-df.pod:13
3897 #, no-wrap
3898 msgid ""
3899 " virt-df [--options] -a disk.img [-a disk.img ...]\n"
3900 "\n"
3901 msgstr ""
3902
3903 #. type: verbatim
3904 #: ../df/virt-df.pod:17
3905 #, no-wrap
3906 msgid ""
3907 " virt-df [--options] domname\n"
3908 "\n"
3909 msgstr ""
3910
3911 #. type: verbatim
3912 #: ../df/virt-df.pod:19
3913 #, no-wrap
3914 msgid ""
3915 " virt-df [--options] disk.img [disk.img ...]\n"
3916 "\n"
3917 msgstr ""
3918
3919 #. type: textblock
3920 #: ../df/virt-df.pod:23
3921 msgid ""
3922 "C<virt-df> is a command line tool to display free space on virtual machine "
3923 "filesystems.  Unlike other tools, it doesn't just display the size of disk "
3924 "allocated to a virtual machine, but can look inside disk images to see how "
3925 "much space is really being used."
3926 msgstr ""
3927
3928 #. type: textblock
3929 #: ../df/virt-df.pod:28
3930 msgid ""
3931 "If used without any I<-a> or I<-d> arguments, C<virt-df> checks with libvirt"
3932 " to get a list of all active and inactive guests, and performs a C<df>-type "
3933 "operation on each one in turn, printing out the results."
3934 msgstr ""
3935
3936 #. type: textblock
3937 #: ../df/virt-df.pod:32
3938 msgid ""
3939 "If any I<-a> or I<-d> arguments are specified, C<virt-df> performs a "
3940 "C<df>-type operation on either the single named libvirt domain, or on the "
3941 "disk image(s) listed on the command line (which must all belong to a single "
3942 "VM).  In this mode (with arguments), C<virt-df> will I<only work for a "
3943 "single guest>.  If you want to run on multiple guests, then you have to "
3944 "invoke C<virt-df> multiple times."
3945 msgstr ""
3946
3947 #. type: textblock
3948 #: ../df/virt-df.pod:39
3949 msgid ""
3950 "Use the I<--csv> option to get a format which can be easily parsed by other "
3951 "programs.  Other options are similar to the standard L<df(1)> command."
3952 msgstr ""
3953
3954 #. type: textblock
3955 #: ../df/virt-df.pod:45
3956 msgid ""
3957 "Show disk usage for a single libvirt guest called C<F14x64>.  Make the "
3958 "output human-readable:"
3959 msgstr ""
3960
3961 #. type: verbatim
3962 #: ../df/virt-df.pod:48
3963 #, no-wrap
3964 msgid ""
3965 " # virt-df -d F14x64 -h\n"
3966 " Filesystem                       Size     Used  Available  Use%\n"
3967 " F14x64:/dev/sda1                 484M      66M       393M   14%\n"
3968 " F14x64:/dev/vg_f13x64/lv_root    7.4G     3.4G       4.0G   46%\n"
3969 "\n"
3970 msgstr ""
3971
3972 #. type: textblock
3973 #: ../df/virt-df.pod:53
3974 msgid "Show disk usage for a disk image file called C<test.img>:"
3975 msgstr ""
3976
3977 #. type: verbatim
3978 #: ../df/virt-df.pod:55
3979 #, no-wrap
3980 msgid ""
3981 " $ virt-df -a test1.img\n"
3982 " Filesystem                  1K-blocks     Used  Available  Use%\n"
3983 " test1.img:/dev/sda1             99099     1551      92432    2%\n"
3984 "\n"
3985 msgstr ""
3986
3987 #. type: verbatim
3988 #: ../df/virt-df.pod:112
3989 #, no-wrap
3990 msgid ""
3991 " virt-df --format=raw -a disk.img\n"
3992 "\n"
3993 msgstr ""
3994
3995 #. type: verbatim
3996 #: ../df/virt-df.pod:116
3997 #, no-wrap
3998 msgid ""
3999 " virt-df --format=raw -a disk.img --format -a another.img\n"
4000 "\n"
4001 msgstr ""
4002
4003 #. type: textblock
4004 #: ../df/virt-df.pod:129
4005 msgid "Print sizes in human-readable format."
4006 msgstr ""
4007
4008 #. type: textblock
4009 #: ../df/virt-df.pod:131
4010 msgid "You are not allowed to use I<-h> and I<--csv> at the same time."
4011 msgstr ""
4012
4013 #. type: =item
4014 #: ../df/virt-df.pod:133 ../fish/guestfish.pod:258 ../fuse/guestmount.pod:164
4015 msgid "B<-i>"
4016 msgstr "B<-i>"
4017
4018 #. type: =item
4019 #: ../df/virt-df.pod:135
4020 msgid "B<--inodes>"
4021 msgstr "B<--inodes>"
4022
4023 #. type: textblock
4024 #: ../df/virt-df.pod:137
4025 msgid "Print inodes instead of blocks."
4026 msgstr ""
4027
4028 #. type: =item
4029 #: ../df/virt-df.pod:139
4030 msgid "B<--one-per-guest>"
4031 msgstr "B<--one-per-guest>"
4032
4033 #. type: textblock
4034 #: ../df/virt-df.pod:141
4035 msgid ""
4036 "Run one libguestfs appliance per guest.  Normally C<virt-df> will add the "
4037 "disks from several guests to a single libguestfs appliance."
4038 msgstr ""
4039
4040 #. type: textblock
4041 #: ../df/virt-df.pod:144
4042 msgid "You might use this option in the following circumstances:"
4043 msgstr ""
4044
4045 #. type: textblock
4046 #: ../df/virt-df.pod:150
4047 msgid ""
4048 "If you think an untrusted guest might actively try to exploit the libguestfs"
4049 " appliance kernel, then this prevents one guest from interfering with the "
4050 "stats printed for another guest."
4051 msgstr ""
4052
4053 #. type: textblock
4054 #: ../df/virt-df.pod:156
4055 msgid ""
4056 "If the kernel has a bug which stops it from accessing a filesystem in one "
4057 "guest (see for example RHBZ#635373) then this allows libguestfs to continue "
4058 "and report stats for further guests."
4059 msgstr ""
4060
4061 #. type: textblock
4062 #: ../df/virt-df.pod:165
4063 msgid ""
4064 "Print UUIDs instead of names.  This is useful for following a guest even "
4065 "when the guest is migrated or renamed, or when two guests happen to have the"
4066 " same name."
4067 msgstr ""
4068
4069 #. type: textblock
4070 #: ../df/virt-df.pod:169
4071 msgid ""
4072 "Note that only domains that we fetch from libvirt come with UUIDs.  For disk"
4073 " images, we still print the disk image name even when this option is "
4074 "specified."
4075 msgstr ""
4076
4077 #. type: textblock
4078 #: ../df/virt-df.pod:229
4079 msgid ""
4080 "L<df(1)>, L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, "
4081 "L<http://libguestfs.org/>."
4082 msgstr ""
4083
4084 #. type: textblock
4085 #: ../edit/virt-edit.pod:5
4086 msgid "virt-edit - Edit a file in a virtual machine"
4087 msgstr ""
4088
4089 #. type: verbatim
4090 #: ../edit/virt-edit.pod:9
4091 #, no-wrap
4092 msgid ""
4093 " virt-edit [--options] -d domname file [file ...]\n"
4094 "\n"
4095 msgstr ""
4096
4097 #. type: verbatim
4098 #: ../edit/virt-edit.pod:11
4099 #, no-wrap
4100 msgid ""
4101 " virt-edit [--options] -a disk.img [-a disk.img ...] file [file ...]\n"
4102 "\n"
4103 msgstr ""
4104
4105 #. type: verbatim
4106 #: ../edit/virt-edit.pod:13
4107 #, no-wrap
4108 msgid ""
4109 " virt-edit [-d domname|-a disk.img] file -e 'expr'\n"
4110 "\n"
4111 msgstr ""
4112
4113 #. type: verbatim
4114 #: ../edit/virt-edit.pod:17
4115 #, no-wrap
4116 msgid ""
4117 " virt-edit domname file\n"
4118 "\n"
4119 msgstr ""
4120
4121 #. type: verbatim
4122 #: ../edit/virt-edit.pod:19 ../edit/virt-edit.pod:183
4123 #, no-wrap
4124 msgid ""
4125 " virt-edit disk.img [disk.img ...] file\n"
4126 "\n"
4127 msgstr ""
4128
4129 #. type: =head1
4130 #: ../edit/virt-edit.pod:21 ../fish/guestfish.pod:23
4131 #: ../fish/virt-copy-in.pod:13 ../fish/virt-tar-in.pod:15
4132 #: ../fuse/guestmount.pod:15 ../rescue/virt-rescue.pod:19
4133 #: ../tools/virt-tar.pl:64 ../tools/virt-win-reg.pl:51
4134 msgid "WARNING"
4135 msgstr "ПОПЕРЕДЖЕННЯ"
4136
4137 #. type: textblock
4138 #: ../edit/virt-edit.pod:23
4139 msgid ""
4140 "You must I<not> use C<virt-edit> on live virtual machines.  If you do this, "
4141 "you risk disk corruption in the VM.  C<virt-edit> tries to stop you from "
4142 "doing this, but doesn't catch all cases."
4143 msgstr ""
4144
4145 #. type: textblock
4146 #: ../edit/virt-edit.pod:29
4147 msgid ""
4148 "C<virt-edit> is a command line tool to edit C<file> where each C<file> "
4149 "exists in the named virtual machine (or disk image)."
4150 msgstr ""
4151
4152 #. type: textblock
4153 #: ../edit/virt-edit.pod:32
4154 msgid ""
4155 "Multiple filenames can be given, in which case they are each edited in turn."
4156 "  Each filename must be a full path, starting at the root directory "
4157 "(starting with '/')."
4158 msgstr ""
4159
4160 #. type: textblock
4161 #: ../edit/virt-edit.pod:36
4162 msgid "If you want to just view a file, use L<virt-cat(1)>."
4163 msgstr ""
4164
4165 #. type: textblock
4166 #: ../edit/virt-edit.pod:38
4167 msgid ""
4168 "For more complex cases you should look at the L<guestfish(1)> tool (see "
4169 "L</USING GUESTFISH> below)."
4170 msgstr ""
4171
4172 #. type: textblock
4173 #: ../edit/virt-edit.pod:41
4174 msgid ""
4175 "C<virt-edit> cannot be used to create a new file.  L<guestfish(1)> can do "
4176 "that and much more."
4177 msgstr ""
4178
4179 #. type: textblock
4180 #: ../edit/virt-edit.pod:46
4181 msgid "Edit the named files interactively:"
4182 msgstr ""
4183
4184 #. type: verbatim
4185 #: ../edit/virt-edit.pod:48
4186 #, no-wrap
4187 msgid ""
4188 " virt-edit -d mydomain /boot/grub/grub.conf\n"
4189 "\n"
4190 msgstr ""
4191
4192 #. type: verbatim
4193 #: ../edit/virt-edit.pod:50
4194 #, no-wrap
4195 msgid ""
4196 " virt-edit -d mydomain /etc/passwd\n"
4197 "\n"
4198 msgstr ""
4199
4200 #. type: textblock
4201 #: ../edit/virt-edit.pod:52
4202 msgid "For Windows guests, some Windows paths are understood:"
4203 msgstr ""
4204
4205 #. type: verbatim
4206 #: ../edit/virt-edit.pod:54
4207 #, no-wrap
4208 msgid ""
4209 " virt-edit -d mywindomain 'c:\\autoexec.bat'\n"
4210 "\n"
4211 msgstr ""
4212
4213 #. type: textblock
4214 #: ../edit/virt-edit.pod:56
4215 msgid ""
4216 "If Perl is installed, you can also edit files non-interactively (see L</NON-"
4217 "INTERACTIVE EDITING> below).  To change the init default level to 5:"
4218 msgstr ""
4219
4220 #. type: verbatim
4221 #: ../edit/virt-edit.pod:60
4222 #, no-wrap
4223 msgid ""
4224 " virt-edit -d mydomain /etc/inittab -e 's/^id:.*/id:5:initdefault:/'\n"
4225 "\n"
4226 msgstr ""
4227
4228 #. type: =item
4229 #: ../edit/virt-edit.pod:81
4230 msgid "B<-b> extension"
4231 msgstr ""
4232
4233 #. type: =item
4234 #: ../edit/virt-edit.pod:83
4235 msgid "B<--backup> extension"
4236 msgstr ""
4237
4238 #. type: textblock
4239 #: ../edit/virt-edit.pod:85
4240 msgid ""
4241 "Create a backup of the original file I<in the guest disk image>.  The backup"
4242 " has the original filename with C<extension> added."
4243 msgstr ""
4244
4245 #. type: textblock
4246 #: ../edit/virt-edit.pod:88
4247 msgid ""
4248 "Usually the first character of C<extension> would be a dot C<.> so you would"
4249 " write:"
4250 msgstr ""
4251
4252 #. type: verbatim
4253 #: ../edit/virt-edit.pod:91
4254 #, no-wrap
4255 msgid ""
4256 " virt-edit -b .orig [etc]\n"
4257 "\n"
4258 msgstr ""
4259
4260 #. type: textblock
4261 #: ../edit/virt-edit.pod:93
4262 msgid "By default, no backup file is made."
4263 msgstr ""
4264
4265 #. type: =item
4266 #: ../edit/virt-edit.pod:95 ../fish/guestfish.pod:181
4267 #: ../fuse/guestmount.pod:105 ../inspector/virt-inspector.pod:74
4268 #: ../tools/virt-list-filesystems.pl:77 ../tools/virt-list-partitions.pl:78
4269 #: ../tools/virt-tar.pl:127 ../tools/virt-win-reg.pl:128
4270 msgid "B<-c URI>"
4271 msgstr "B<-c адреса>"
4272
4273 #. type: =item
4274 #: ../edit/virt-edit.pod:97 ../fish/guestfish.pod:183
4275 #: ../fuse/guestmount.pod:107 ../inspector/virt-inspector.pod:76
4276 #: ../tools/virt-list-filesystems.pl:79 ../tools/virt-list-partitions.pl:80
4277 #: ../tools/virt-tar.pl:129 ../tools/virt-win-reg.pl:130
4278 msgid "B<--connect URI>"
4279 msgstr "B<--connect адреса>"
4280
4281 #. type: textblock
4282 #: ../edit/virt-edit.pod:102 ../tools/virt-list-filesystems.pl:84
4283 #: ../tools/virt-list-partitions.pl:85 ../tools/virt-tar.pl:134
4284 #: ../tools/virt-win-reg.pl:135
4285 msgid ""
4286 "If you specify guest block devices directly, then libvirt is not used at "
4287 "all."
4288 msgstr ""
4289
4290 #. type: textblock
4291 #: ../edit/virt-edit.pod:114
4292 msgid ""
4293 "When prompting for keys and passphrases, virt-edit normally turns echoing "
4294 "off so you cannot see what you are typing.  If you are not worried about "
4295 "Tempest attacks and there is no one else in the room you can specify this "
4296 "flag to see what you are typing."
4297 msgstr ""
4298
4299 #. type: =item
4300 #: ../edit/virt-edit.pod:119
4301 msgid "B<-e> EXPR"
4302 msgstr "B<-e> вираз"
4303
4304 #. type: =item
4305 #: ../edit/virt-edit.pod:121
4306 msgid "B<--expr> EXPR"
4307 msgstr "B<--expr> вираз"
4308
4309 #. type: textblock
4310 #: ../edit/virt-edit.pod:123
4311 msgid ""
4312 "Instead of launching the external editor, non-interactively apply the Perl "
4313 "expression C<EXPR> to each line in the file.  See L</NON-INTERACTIVE "
4314 "EDITING> below."
4315 msgstr ""
4316
4317 #. type: textblock
4318 #: ../edit/virt-edit.pod:127
4319 msgid ""
4320 "Be careful to properly quote the expression to prevent it from being altered"
4321 " by the shell."
4322 msgstr ""
4323
4324 #. type: textblock
4325 #: ../edit/virt-edit.pod:130
4326 msgid "Note that this option is only available when Perl 5 is installed."
4327 msgstr ""
4328
4329 #. type: =item
4330 #: ../edit/virt-edit.pod:132
4331 msgid "B<--format> raw|qcow2|..."
4332 msgstr "B<--format> raw|qcow2|..."
4333
4334 #. type: verbatim
4335 #: ../edit/virt-edit.pod:143
4336 #, no-wrap
4337 msgid ""
4338 " virt-edit --format=raw -a disk.img file\n"
4339 "\n"
4340 msgstr ""
4341
4342 #. type: verbatim
4343 #: ../edit/virt-edit.pod:147
4344 #, no-wrap
4345 msgid ""
4346 " virt-edit --format=raw -a disk.img --format -a another.img file\n"
4347 "\n"
4348 msgstr ""
4349
4350 #. type: textblock
4351 #: ../edit/virt-edit.pod:181
4352 msgid "Previous versions of virt-edit allowed you to write either:"
4353 msgstr ""
4354
4355 #. type: verbatim
4356 #: ../edit/virt-edit.pod:187
4357 #, no-wrap
4358 msgid ""
4359 " virt-edit guestname file\n"
4360 "\n"
4361 msgstr ""
4362
4363 #. type: =head1
4364 #: ../edit/virt-edit.pod:195
4365 msgid "NON-INTERACTIVE EDITING"
4366 msgstr "НЕІНТЕРАКТИВНЕ РЕДАГУВАННЯ"
4367
4368 #. type: textblock
4369 #: ../edit/virt-edit.pod:197
4370 msgid ""
4371 "C<virt-edit> normally calls out to C<$EDITOR> (or vi) so the system "
4372 "administrator can interactively edit the file."
4373 msgstr ""
4374
4375 #. type: textblock
4376 #: ../edit/virt-edit.pod:200
4377 msgid ""
4378 "There are two ways also to use C<virt-edit> from scripts in order to make "
4379 "automated edits to files.  (Note that although you I<can> use C<virt-edit> "
4380 "like this, it's less error-prone to write scripts directly using the "
4381 "libguestfs API and Augeas for configuration file editing.)"
4382 msgstr ""
4383
4384 #. type: textblock
4385 #: ../edit/virt-edit.pod:206
4386 msgid ""
4387 "The first method is to temporarily set C<$EDITOR> to any script or program "
4388 "you want to run.  The script is invoked as C<$EDITOR tmpfile> and it should "
4389 "update C<tmpfile> in place however it likes."
4390 msgstr ""
4391
4392 #. type: textblock
4393 #: ../edit/virt-edit.pod:210
4394 msgid ""
4395 "The second method is to use the I<-e> parameter of C<virt-edit> to run a "
4396 "short Perl snippet in the style of L<sed(1)>.  For example to replace all "
4397 "instances of C<foo> with C<bar> in a file:"
4398 msgstr ""
4399
4400 #. type: verbatim
4401 #: ../edit/virt-edit.pod:214
4402 #, no-wrap
4403 msgid ""
4404 " virt-edit -d domname filename -e 's/foo/bar/'\n"
4405 "\n"
4406 msgstr ""
4407
4408 #. type: textblock
4409 #: ../edit/virt-edit.pod:216
4410 msgid ""
4411 "The full power of Perl regular expressions can be used (see L<perlre(1)>).  "
4412 "For example to delete root's password you could do:"
4413 msgstr ""
4414
4415 #. type: verbatim
4416 #: ../edit/virt-edit.pod:219
4417 #, no-wrap
4418 msgid ""
4419 " virt-edit -d domname /etc/passwd -e 's/^root:.*?:/root::/'\n"
4420 "\n"
4421 msgstr ""
4422 " virt-edit -d назва_домену /etc/passwd -e 's/^root:.*?:/root::/'\n"
4423 "\n"
4424
4425 #. type: textblock
4426 #: ../edit/virt-edit.pod:221
4427 msgid ""
4428 "What really happens is that the snippet is evaluated as a Perl expression "
4429 "for each line of the file.  The line, including the final C<\\n>, is passed "
4430 "in C<$_> and the expression should update C<$_> or leave it unchanged."
4431 msgstr ""
4432
4433 #. type: textblock
4434 #: ../edit/virt-edit.pod:226
4435 msgid ""
4436 "To delete a line, set C<$_> to the empty string.  For example, to delete the"
4437 " C<apache> user account from the password file you can do:"
4438 msgstr ""
4439
4440 #. type: verbatim
4441 #: ../edit/virt-edit.pod:229
4442 #, no-wrap
4443 msgid ""
4444 " virt-edit -d mydomain /etc/passwd -e '$_ = \"\" if /^apache:/'\n"
4445 "\n"
4446 msgstr ""
4447 " virt-edit -d mydomain /etc/passwd -e '$_ = \"\" if /^apache:/'\n"
4448 "\n"
4449
4450 #. type: textblock
4451 #: ../edit/virt-edit.pod:231
4452 msgid ""
4453 "To insert a line, prepend or append it to C<$_>.  However appending lines to"
4454 " the end of the file is rather difficult this way since there is no concept "
4455 "of \"last line of the file\" - your expression just doesn't get called "
4456 "again.  You might want to use the first method (setting C<$EDITOR>) if you "
4457 "want to do this."
4458 msgstr ""
4459
4460 #. type: textblock
4461 #: ../edit/virt-edit.pod:237
4462 msgid ""
4463 "The variable C<$lineno> contains the current line number.  As is "
4464 "traditional, the first line in the file is number C<1>."
4465 msgstr ""
4466
4467 #. type: textblock
4468 #: ../edit/virt-edit.pod:240
4469 msgid ""
4470 "The return value from the expression is ignored, but the expression may call"
4471 " C<die> in order to abort the whole program, leaving the original file "
4472 "untouched."
4473 msgstr ""
4474
4475 #. type: textblock
4476 #: ../edit/virt-edit.pod:244
4477 msgid ""
4478 "Remember when matching the end of a line that C<$_> may contain the final "
4479 "C<\\n>, or (for DOS files) C<\\r\\n>, or if the file does not end with a "
4480 "newline then neither of these.  Thus to match or substitute some text at the"
4481 " end of a line, use this regular expression:"
4482 msgstr ""
4483
4484 #. type: verbatim
4485 #: ../edit/virt-edit.pod:249
4486 #, no-wrap
4487 msgid ""
4488 " /some text(\\r?\\n)?$/\n"
4489 "\n"
4490 msgstr ""
4491 " /якийсь текст(\\r?\\n)?$/\n"
4492 "\n"
4493
4494 #. type: textblock
4495 #: ../edit/virt-edit.pod:251
4496 msgid ""
4497 "Alternately, use the perl C<chomp> function, being careful not to chomp "
4498 "C<$_> itself (since that would remove all newlines from the file):"
4499 msgstr ""
4500
4501 #. type: verbatim
4502 #: ../edit/virt-edit.pod:255
4503 #, no-wrap
4504 msgid ""
4505 " my $m = $_; chomp $m; $m =~ /some text$/\n"
4506 "\n"
4507 msgstr ""
4508 " my $m = $_; chomp $m; $m =~ /якийсь текст$/\n"
4509 "\n"
4510
4511 #. type: textblock
4512 #: ../edit/virt-edit.pod:259
4513 msgid ""
4514 "C<virt-edit> has a limited ability to understand Windows drive letters and "
4515 "paths (eg. C<E:\\foo\\bar.txt>)."
4516 msgstr ""
4517
4518 #. type: textblock
4519 #: ../edit/virt-edit.pod:278
4520 msgid ""
4521 "The path is resolved case insensitively to locate the file that should be "
4522 "edited."
4523 msgstr ""
4524
4525 #. type: textblock
4526 #: ../edit/virt-edit.pod:299
4527 msgid ""
4528 "L<guestfish(1)> is a more powerful, lower level tool which you can use when "
4529 "C<virt-edit> doesn't work."
4530 msgstr ""
4531
4532 #. type: textblock
4533 #: ../edit/virt-edit.pod:302
4534 msgid "Using C<virt-edit> is approximately equivalent to doing:"
4535 msgstr ""
4536
4537 #. type: verbatim
4538 #: ../edit/virt-edit.pod:304
4539 #, no-wrap
4540 msgid ""
4541 " guestfish --rw -i -d domname edit /file\n"
4542 "\n"
4543 msgstr ""
4544
4545 #. type: textblock
4546 #: ../edit/virt-edit.pod:306
4547 msgid ""
4548 "where C<domname> is the name of the libvirt guest, and C</file> is the full "
4549 "path to the file."
4550 msgstr ""
4551
4552 #. type: textblock
4553 #: ../edit/virt-edit.pod:309
4554 msgid ""
4555 "The command above uses libguestfs's guest inspection feature and so does not"
4556 " work on guests that libguestfs cannot inspect, or on things like arbitrary "
4557 "disk images that don't contain guests.  To edit a file on a disk image "
4558 "directly, use:"
4559 msgstr ""
4560
4561 #. type: verbatim
4562 #: ../edit/virt-edit.pod:314
4563 #, no-wrap
4564 msgid ""
4565 " guestfish --rw -a disk.img -m /dev/sda1 edit /file\n"
4566 "\n"
4567 msgstr ""
4568
4569 #. type: textblock
4570 #: ../edit/virt-edit.pod:316
4571 msgid ""
4572 "where C<disk.img> is the disk image, C</dev/sda1> is the filesystem within "
4573 "the disk image to edit, and C</file> is the full path to the file."
4574 msgstr ""
4575
4576 #. type: textblock
4577 #: ../edit/virt-edit.pod:320
4578 msgid ""
4579 "C<virt-edit> cannot create new files.  Use the guestfish commands C<touch>, "
4580 "C<write> or C<upload> instead:"
4581 msgstr ""
4582
4583 #. type: verbatim
4584 #: ../edit/virt-edit.pod:323
4585 #, no-wrap
4586 msgid ""
4587 " guestfish --rw -i -d domname touch /newfile\n"
4588 "\n"
4589 msgstr ""
4590
4591 #. type: verbatim
4592 #: ../edit/virt-edit.pod:325
4593 #, no-wrap
4594 msgid ""
4595 " guestfish --rw -i -d domname write /newfile \"new content\"\n"
4596 "\n"
4597 msgstr ""
4598
4599 #. type: verbatim
4600 #: ../edit/virt-edit.pod:327
4601 #, no-wrap
4602 msgid ""
4603 " guestfish --rw -i -d domname upload localfile /newfile\n"
4604 "\n"
4605 msgstr ""
4606
4607 #. type: =head1
4608 #: ../edit/virt-edit.pod:329 ../fish/guestfish.pod:1119
4609 #: ../rescue/virt-rescue.pod:261 ../sparsify/virt-sparsify.pod:232
4610 #: ../src/guestfs.pod:3209 ../test-tool/libguestfs-test-tool.pod:95
4611 msgid "ENVIRONMENT VARIABLES"
4612 msgstr "ЗМІННІ СЕРЕДОВИЩА"
4613
4614 #. type: =item
4615 #: ../edit/virt-edit.pod:333
4616 msgid "C<EDITOR>"
4617 msgstr "C<EDITOR>"
4618
4619 #. type: textblock
4620 #: ../edit/virt-edit.pod:335
4621 msgid ""
4622 "If set, this string is used as the editor.  It may contain arguments, eg. "
4623 "C<\"emacs -nw\">"
4624 msgstr ""
4625
4626 #. type: textblock
4627 #: ../edit/virt-edit.pod:338
4628 msgid "If not set, C<vi> is used."
4629 msgstr ""
4630
4631 #. type: textblock
4632 #: ../edit/virt-edit.pod:356
4633 msgid ""
4634 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-"
4635 "tar-in(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
4636 "L<http://libguestfs.org/>, L<perl(1)>, L<perlre(1)>."
4637 msgstr ""
4638 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-"
4639 "tar-in(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
4640 "L<http://libguestfs.org/>, L<perl(1)>, L<perlre(1)>."
4641
4642 #. type: textblock
4643 #: ../erlang/examples/guestfs-erlang.pod:5
4644 msgid "guestfs-erlang - How to use libguestfs from Erlang"
4645 msgstr ""
4646
4647 #. type: verbatim
4648 #: ../erlang/examples/guestfs-erlang.pod:9
4649 #, no-wrap
4650 msgid ""
4651 " {ok, G} = guestfs:create(),\n"
4652 " ok = guestfs:add_drive_opts(G, Disk,\n"
4653 "                             [{format, \"raw\"}, {readonly, true}]),\n"
4654 " ok = guestfs:launch(G),\n"
4655 " [Device] = guestfs:list_devices(G),\n"
4656 " ok = guestfs:close(G).\n"
4657 "\n"
4658 msgstr ""
4659
4660 #. type: textblock
4661 #: ../erlang/examples/guestfs-erlang.pod:18
4662 msgid ""
4663 "This manual page documents how to call libguestfs from the Erlang "
4664 "programming language.  This page just documents the differences from the C "
4665 "API and gives some examples.  If you are not familiar with using libguestfs,"
4666 " you also need to read L<guestfs(3)>."
4667 msgstr ""
4668
4669 #. type: =head2
4670 #: ../erlang/examples/guestfs-erlang.pod:23
4671 msgid "OPENING AND CLOSING THE HANDLE"
4672 msgstr ""
4673
4674 #. type: textblock
4675 #: ../erlang/examples/guestfs-erlang.pod:25
4676 msgid ""
4677 "The Erlang bindings are implemented using an external program called C<erl-"
4678 "guestfs>.  This program must be on the current PATH, or else you should "
4679 "specify the full path to the program:"
4680 msgstr ""
4681
4682 #. type: verbatim
4683 #: ../erlang/examples/guestfs-erlang.pod:29
4684 #, no-wrap
4685 msgid ""
4686 " {ok, G} = guestfs:create().\n"
4687 "\n"
4688 msgstr ""
4689
4690 #. type: verbatim
4691 #: ../erlang/examples/guestfs-erlang.pod:31
4692 #, no-wrap
4693 msgid ""
4694 " {ok, G} = guestfs:create(\"/path/to/erl-guestfs\").\n"
4695 "\n"
4696 msgstr ""
4697
4698 #. type: textblock
4699 #: ../erlang/examples/guestfs-erlang.pod:33
4700 msgid ""
4701 "C<G> is the libguestfs handle which you should pass to other functions."
4702 msgstr ""
4703
4704 #. type: textblock
4705 #: ../erlang/examples/guestfs-erlang.pod:36
4706 msgid "To close the handle:"
4707 msgstr ""
4708
4709 #. type: verbatim
4710 #: ../erlang/examples/guestfs-erlang.pod:38
4711 #, no-wrap
4712 msgid ""
4713 " ok = guestfs:close(G).\n"
4714 "\n"
4715 msgstr ""
4716
4717 #. type: =head2
4718 #: ../erlang/examples/guestfs-erlang.pod:40
4719 msgid "FUNCTIONS WITH OPTIONAL ARGUMENTS"
4720 msgstr ""
4721
4722 #. type: textblock
4723 #: ../erlang/examples/guestfs-erlang.pod:42
4724 msgid ""
4725 "For functions that take optional arguments, the first arguments are the non-"
4726 "optional ones.  The last argument is a list of tuples supplying the "
4727 "remaining optional arguments."
4728 msgstr ""
4729
4730 #. type: verbatim
4731 #: ../erlang/examples/guestfs-erlang.pod:46
4732 #, no-wrap
4733 msgid ""
4734 " ok = guestfs:add_drive_opts(G, Disk,\n"
4735 "                             [{format, \"raw\"}, {readonly, true}]).\n"
4736 "\n"
4737 msgstr ""
4738
4739 #. type: textblock
4740 #: ../erlang/examples/guestfs-erlang.pod:49
4741 msgid "If the last argument would be an empty list, you can also omit it:"
4742 msgstr ""
4743
4744 #. type: verbatim
4745 #: ../erlang/examples/guestfs-erlang.pod:51
4746 #, no-wrap
4747 msgid ""
4748 " ok = guestfs:add_drive_opts(G, Disk).\n"
4749 "\n"
4750 msgstr ""
4751
4752 #. type: =head2
4753 #: ../erlang/examples/guestfs-erlang.pod:53
4754 msgid "RETURN VALUES AND ERRORS"
4755 msgstr ""
4756
4757 #. type: textblock
4758 #: ../erlang/examples/guestfs-erlang.pod:55
4759 msgid ""
4760 "On success, most functions return a C<Result> term (which could be a list, "
4761 "string, tuple etc.).  If there is nothing for the function to return, then "
4762 "the atom C<ok> is returned."
4763 msgstr ""
4764
4765 #. type: textblock
4766 #: ../erlang/examples/guestfs-erlang.pod:59
4767 msgid "On error, you would see one of the following tuples:"
4768 msgstr ""
4769
4770 #. type: =item
4771 #: ../erlang/examples/guestfs-erlang.pod:63
4772 msgid "C<{error, Msg, Errno}>"
4773 msgstr ""
4774
4775 #. type: textblock
4776 #: ../erlang/examples/guestfs-erlang.pod:65
4777 msgid "This indicates an ordinary error from the function."
4778 msgstr ""
4779
4780 #. type: textblock
4781 #: ../erlang/examples/guestfs-erlang.pod:67
4782 msgid ""
4783 "C<Msg> is the error message (string) and C<Errno> is the Unix error "
4784 "(integer)."
4785 msgstr ""
4786
4787 #. type: textblock
4788 #: ../erlang/examples/guestfs-erlang.pod:70
4789 msgid "C<Errno> can be zero.  See L<guestfs(3)/guestfs_last_errno>."
4790 msgstr ""
4791
4792 #. type: =item
4793 #: ../erlang/examples/guestfs-erlang.pod:72
4794 msgid "C<{unknown, Function}>"
4795 msgstr ""
4796
4797 #. type: textblock
4798 #: ../erlang/examples/guestfs-erlang.pod:74
4799 msgid ""
4800 "This indicates that the function you called is not known.  Generally this "
4801 "means you are mixing C<erl-guestfs> from another version of libguestfs, "
4802 "which you should not do."
4803 msgstr ""
4804
4805 #. type: textblock
4806 #: ../erlang/examples/guestfs-erlang.pod:78
4807 msgid "C<Function> is the name of the unknown function."
4808 msgstr ""
4809
4810 #. type: =item
4811 #: ../erlang/examples/guestfs-erlang.pod:80
4812 msgid "C<{unknownarg, Arg}>"
4813 msgstr ""
4814
4815 #. type: textblock
4816 #: ../erlang/examples/guestfs-erlang.pod:82
4817 msgid ""
4818 "This indicates that you called a function with optional arguments, with an "
4819 "unknown argument name."
4820 msgstr ""
4821
4822 #. type: textblock
4823 #: ../erlang/examples/guestfs-erlang.pod:85
4824 msgid "C<Arg> is the name of the unknown argument."
4825 msgstr ""
4826
4827 #. type: =head1
4828 #: ../erlang/examples/guestfs-erlang.pod:89
4829 #: ../examples/guestfs-examples.pod:25 ../java/examples/guestfs-java.pod:37
4830 #: ../ocaml/examples/guestfs-ocaml.pod:70 ../perl/examples/guestfs-perl.pod:31
4831 #: ../python/examples/guestfs-python.pod:34
4832 #: ../ruby/examples/guestfs-ruby.pod:28
4833 msgid "EXAMPLE 1: CREATE A DISK IMAGE"
4834 msgstr "ПРИКЛАД 1. СТВОРЕННЯ ОБРАЗУ ДИСКА"
4835
4836 #. type: textblock
4837 #: ../erlang/examples/guestfs-erlang.pod:91
4838 #: ../examples/guestfs-examples.pod:27 ../java/examples/guestfs-java.pod:39
4839 #: ../ocaml/examples/guestfs-ocaml.pod:72 ../perl/examples/guestfs-perl.pod:33
4840 #: ../python/examples/guestfs-python.pod:36
4841 #: ../ruby/examples/guestfs-ruby.pod:30
4842 msgid "@EXAMPLE1@"
4843 msgstr "@EXAMPLE1@"
4844
4845 #. type: =head1
4846 #: ../erlang/examples/guestfs-erlang.pod:93
4847 #: ../examples/guestfs-examples.pod:29 ../java/examples/guestfs-java.pod:41
4848 #: ../ocaml/examples/guestfs-ocaml.pod:74 ../perl/examples/guestfs-perl.pod:35
4849 #: ../python/examples/guestfs-python.pod:38
4850 #: ../ruby/examples/guestfs-ruby.pod:32
4851 msgid "EXAMPLE 2: INSPECT A VIRTUAL MACHINE DISK IMAGE"
4852 msgstr "ПРИКЛАД 2. ПЕРЕВІРКА ОБРАЗУ ДИСКА ВІРТУАЛЬНОЇ МАШИНИ"
4853
4854 #. type: textblock
4855 #: ../erlang/examples/guestfs-erlang.pod:95
4856 #: ../examples/guestfs-examples.pod:31 ../java/examples/guestfs-java.pod:43
4857 #: ../ocaml/examples/guestfs-ocaml.pod:76 ../perl/examples/guestfs-perl.pod:37
4858 #: ../python/examples/guestfs-python.pod:40
4859 #: ../ruby/examples/guestfs-ruby.pod:34
4860 msgid "@EXAMPLE2@"
4861 msgstr "@EXAMPLE2@"
4862
4863 #. type: textblock
4864 #: ../erlang/examples/guestfs-erlang.pod:99
4865 msgid ""
4866 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-java(3)>, L<guestfs-"
4867 "ocaml(3)>, L<guestfs-perl(3)>, L<guestfs-python(3)>, L<guestfs-recipes(1)>, "
4868 "L<guestfs-ruby(3)>, L<http://www.erlang.org/>.  L<http://libguestfs.org/>."
4869 msgstr ""
4870
4871 #. type: =head1
4872 #: ../erlang/examples/guestfs-erlang.pod:110
4873 #: ../examples/guestfs-examples.pod:45 ../examples/guestfs-recipes.pod:397
4874 #: ../fish/guestfish.pod:1296 ../fish/virt-copy-in.pod:60
4875 #: ../fish/virt-copy-out.pod:49 ../fish/virt-tar-in.pod:58
4876 #: ../fish/virt-tar-out.pod:51 ../fuse/guestmount.pod:328
4877 #: ../inspector/virt-inspector.pod:389 ../java/examples/guestfs-java.pod:58
4878 #: ../ocaml/examples/guestfs-ocaml.pod:91 ../perl/examples/guestfs-perl.pod:52
4879 #: ../python/examples/guestfs-python.pod:54
4880 #: ../ruby/examples/guestfs-ruby.pod:48 ../src/guestfs.pod:3348
4881 #: ../test-tool/libguestfs-test-tool.pod:106
4882 msgid "AUTHORS"
4883 msgstr "АВТОРИ"
4884
4885 #. type: textblock
4886 #: ../erlang/examples/guestfs-erlang.pod:112
4887 #: ../examples/guestfs-examples.pod:47 ../examples/guestfs-recipes.pod:399
4888 #: ../fish/guestfish.pod:1298 ../fish/virt-copy-in.pod:62
4889 #: ../fish/virt-copy-out.pod:51 ../fish/virt-tar-in.pod:60
4890 #: ../fish/virt-tar-out.pod:53 ../fuse/guestmount.pod:330
4891 #: ../java/examples/guestfs-java.pod:60 ../ocaml/examples/guestfs-ocaml.pod:93
4892 #: ../perl/examples/guestfs-perl.pod:54
4893 #: ../python/examples/guestfs-python.pod:56
4894 #: ../ruby/examples/guestfs-ruby.pod:50 ../src/guestfs.pod:3350
4895 #: ../test-tool/libguestfs-test-tool.pod:108
4896 msgid "Richard W.M. Jones (C<rjones at redhat dot com>)"
4897 msgstr "Richard W.M. Jones (C<rjones at redhat dot com>)"
4898
4899 #. type: textblock
4900 #: ../erlang/examples/guestfs-erlang.pod:116
4901 #: ../java/examples/guestfs-java.pod:64 ../perl/examples/guestfs-perl.pod:58
4902 msgid "Copyright (C) 2011 Red Hat Inc. L<http://libguestfs.org/>"
4903 msgstr ""
4904
4905 #. type: textblock
4906 #: ../erlang/examples/guestfs-erlang.pod:118
4907 #: ../examples/guestfs-examples.pod:53 ../examples/guestfs-recipes.pod:405
4908 #: ../java/examples/guestfs-java.pod:66 ../ocaml/examples/guestfs-ocaml.pod:99
4909 #: ../perl/examples/guestfs-perl.pod:60
4910 #: ../python/examples/guestfs-python.pod:62
4911 #: ../ruby/examples/guestfs-ruby.pod:56
4912 msgid ""
4913 "The examples in this manual page may be freely copied, modified and "
4914 "distributed without any restrictions."
4915 msgstr ""
4916
4917 #. type: textblock
4918 #: ../erlang/examples/guestfs-erlang.pod:121
4919 #: ../examples/guestfs-examples.pod:56 ../examples/guestfs-recipes.pod:408
4920 #: ../java/examples/guestfs-java.pod:69
4921 #: ../ocaml/examples/guestfs-ocaml.pod:102
4922 #: ../perl/examples/guestfs-perl.pod:63
4923 #: ../python/examples/guestfs-python.pod:65
4924 #: ../ruby/examples/guestfs-ruby.pod:59 ../src/guestfs.pod:3357
4925 msgid ""
4926 "This library is free software; you can redistribute it and/or modify it "
4927 "under the terms of the GNU Lesser General Public License as published by the"
4928 " Free Software Foundation; either version 2 of the License, or (at your "
4929 "option) any later version."
4930 msgstr ""
4931
4932 #. type: textblock
4933 #: ../erlang/examples/guestfs-erlang.pod:126
4934 #: ../examples/guestfs-examples.pod:61 ../examples/guestfs-recipes.pod:413
4935 #: ../java/examples/guestfs-java.pod:74
4936 #: ../ocaml/examples/guestfs-ocaml.pod:107
4937 #: ../perl/examples/guestfs-perl.pod:68
4938 #: ../python/examples/guestfs-python.pod:70
4939 #: ../ruby/examples/guestfs-ruby.pod:64 ../src/guestfs.pod:3362
4940 msgid ""
4941 "This library is distributed in the hope that it will be useful, but WITHOUT "
4942 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
4943 "FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License"
4944 " for more details."
4945 msgstr ""
4946
4947 #. type: textblock
4948 #: ../erlang/examples/guestfs-erlang.pod:131
4949 #: ../examples/guestfs-examples.pod:66 ../examples/guestfs-recipes.pod:418
4950 #: ../java/examples/guestfs-java.pod:79
4951 #: ../ocaml/examples/guestfs-ocaml.pod:112
4952 #: ../perl/examples/guestfs-perl.pod:73
4953 #: ../python/examples/guestfs-python.pod:75
4954 #: ../ruby/examples/guestfs-ruby.pod:69 ../src/guestfs.pod:3367
4955 msgid ""
4956 "You should have received a copy of the GNU Lesser General Public License "
4957 "along with this library; if not, write to the Free Software Foundation, "
4958 "Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA"
4959 msgstr ""
4960
4961 #. type: textblock
4962 #: ../examples/guestfs-examples.pod:5
4963 msgid "guestfs-examples - Examples of using libguestfs from C"
4964 msgstr ""
4965
4966 #. type: verbatim
4967 #: ../examples/guestfs-examples.pod:9 ../src/guestfs.pod:9
4968 #, no-wrap
4969 msgid ""
4970 " #include <guestfs.h>\n"
4971 " \n"
4972 msgstr ""
4973 " #include <guestfs.h>\n"
4974 " \n"
4975
4976 #. type: verbatim
4977 #: ../examples/guestfs-examples.pod:11
4978 #, no-wrap
4979 msgid ""
4980 " guestfs_h *g = guestfs_create ();\n"
4981 " guestfs_add_drive_ro (g, \"disk.img\");\n"
4982 " guestfs_launch (g);\n"
4983 "\n"
4984 msgstr ""
4985 " guestfs_h *g = guestfs_create ();\n"
4986 " guestfs_add_drive_ro (g, \"disk.img\");\n"
4987 " guestfs_launch (g);\n"
4988 "\n"
4989
4990 #. type: verbatim
4991 #: ../examples/guestfs-examples.pod:15 ../src/guestfs.pod:19
4992 #, no-wrap
4993 msgid ""
4994 " cc prog.c -o prog -lguestfs\n"
4995 "or:\n"
4996 " cc prog.c -o prog `pkg-config libguestfs --cflags --libs`\n"
4997 "\n"
4998 msgstr ""
4999 " cc prog.c -o prog -lguestfs\n"
5000 "або:\n"
5001 " cc prog.c -o prog `pkg-config libguestfs --cflags --libs`\n"
5002 "\n"
5003
5004 #. type: textblock
5005 #: ../examples/guestfs-examples.pod:21
5006 msgid ""
5007 "This manual page contains examples of calling libguestfs from the C "
5008 "programming language.  If you are not familiar with using libguestfs, you "
5009 "also need to read L<guestfs(3)>."
5010 msgstr ""
5011
5012 #. type: textblock
5013 #: ../examples/guestfs-examples.pod:35
5014 msgid ""
5015 "L<guestfs(3)>, L<guestfs-erlang(3)>, L<guestfs-java(3)>, L<guestfs-"
5016 "ocaml(3)>, L<guestfs-perl(3)>, L<guestfs-python(3)>, L<guestfs-recipes(1)>, "
5017 "L<guestfs-ruby(3)>, L<http://libguestfs.org/>."
5018 msgstr ""
5019
5020 #. type: textblock
5021 #: ../examples/guestfs-examples.pod:51 ../ocaml/examples/guestfs-ocaml.pod:97
5022 #: ../python/examples/guestfs-python.pod:60
5023 #: ../ruby/examples/guestfs-ruby.pod:54
5024 msgid "Copyright (C) 2010 Red Hat Inc. L<http://libguestfs.org/>"
5025 msgstr ""
5026
5027 #. type: =end
5028 #: ../examples/guestfs-recipes.pod:3 ../examples/guestfs-recipes.pod:12
5029 msgid "comment"
5030 msgstr "коментар"
5031
5032 #. type: textblock
5033 #: ../examples/guestfs-recipes.pod:5
5034 msgid ""
5035 "pod2man and pod2html have differing bugs which makes it hard to write URLs "
5036 "here.  The only way which works for both sorts of output is to just write "
5037 "the URL directly.  Do NOT use L<...> for URLs."
5038 msgstr ""
5039
5040 #. type: textblock
5041 #: ../examples/guestfs-recipes.pod:9
5042 msgid ""
5043 "We break with tradition here and don't use ALL CAPS for the section "
5044 "headings, as this makes them much easier to read."
5045 msgstr ""
5046
5047 #. type: textblock
5048 #: ../examples/guestfs-recipes.pod:16
5049 msgid "guestfs-recipes - libguestfs, guestfish and virt tools recipes"
5050 msgstr ""
5051
5052 #. type: textblock
5053 #: ../examples/guestfs-recipes.pod:20
5054 msgid ""
5055 "This page contains recipes for and links to things you can do using "
5056 "libguestfs, L<guestfish(1)> and the virt tools."
5057 msgstr ""
5058
5059 #. type: =head1
5060 #: ../examples/guestfs-recipes.pod:23
5061 msgid "Audit a virtual machine for setuid files"
5062 msgstr ""
5063
5064 #. type: textblock
5065 #: ../examples/guestfs-recipes.pod:25
5066 msgid ""
5067 "The link below contains a small program which can be used to audit a Linux "
5068 "virtual machine to see what setuid and setgid files it contains."
5069 msgstr ""
5070
5071 #. type: textblock
5072 #: ../examples/guestfs-recipes.pod:28
5073 msgid ""
5074 "https://rwmj.wordpress.com/2010/12/15/tip-audit-virtual-machine-for-setuid-"
5075 "files/#content"
5076 msgstr ""
5077
5078 #. type: =head1
5079 #: ../examples/guestfs-recipes.pod:30
5080 msgid "Change the background image in a Windows XP VM"
5081 msgstr ""
5082
5083 #. type: textblock
5084 #: ../examples/guestfs-recipes.pod:32
5085 msgid ""
5086 "The links below explain how to use L<guestfish(1)> to change the background "
5087 "image for a user of a Windows XP VM.  Unfortunately the technique appears to"
5088 " be substantially different for each version of Windows."
5089 msgstr ""
5090
5091 #. type: textblock
5092 #: ../examples/guestfs-recipes.pod:37
5093 msgid ""
5094 "https://lists.fedoraproject.org/pipermail/virt/2011-May/002655.html "
5095 "https://lists.fedoraproject.org/pipermail/virt/2011-May/002658.html"
5096 msgstr ""
5097
5098 #. type: =head1
5099 #: ../examples/guestfs-recipes.pod:40
5100 msgid "Cloning a virtual machine (Linux)"
5101 msgstr ""
5102
5103 #. type: textblock
5104 #: ../examples/guestfs-recipes.pod:42
5105 msgid ""
5106 "The guestfish technique described in the link below works well for most "
5107 "Linux VMs.  Depending on the Linux distro you may need to change the paths "
5108 "slightly."
5109 msgstr ""
5110
5111 #. type: textblock
5112 #: ../examples/guestfs-recipes.pod:46
5113 msgid ""
5114 "https://rwmj.wordpress.com/2010/09/24/tip-my-procedure-for-cloning-a-fedora-"
5115 "vm/#content"
5116 msgstr ""
5117
5118 #. type: textblock
5119 #: ../examples/guestfs-recipes.pod:48
5120 msgid ""
5121 "Avoid L<virt-clone(1)>.  Currently what to do about virt-clone is under "
5122 "discussion."
5123 msgstr ""
5124
5125 #. type: textblock
5126 #: ../examples/guestfs-recipes.pod:51
5127 msgid "https://www.redhat.com/archives/virt-tools-list/2011-May/msg00019.html"
5128 msgstr ""
5129
5130 #. type: =head1
5131 #: ../examples/guestfs-recipes.pod:53
5132 msgid "Cloning a virtual machine (Windows)"
5133 msgstr ""
5134
5135 #. type: textblock
5136 #: ../examples/guestfs-recipes.pod:55
5137 msgid ""
5138 "It is possible to do a \"sysprep\" using libguestfs alone, although not "
5139 "straightforward.  Currently there is code in the Aeolus Oz project which "
5140 "does this (using libguestfs).  As part of our review of the virt-clone tool,"
5141 " we may add sysprepping ability."
5142 msgstr ""
5143
5144 #. type: textblock
5145 #: ../examples/guestfs-recipes.pod:60
5146 msgid ""
5147 "https://github.com/clalancette/oz https://www.redhat.com/archives/virt-"
5148 "tools-list/2011-May/msg00019.html"
5149 msgstr ""
5150
5151 #. type: =head1
5152 #: ../examples/guestfs-recipes.pod:63
5153 msgid "Convert a CD-ROM / DVD / ISO to a tarball"
5154 msgstr ""
5155
5156 #. type: textblock
5157 #: ../examples/guestfs-recipes.pod:65
5158 msgid "This converts input C<cd.iso> to output C<cd.tar.gz>:"
5159 msgstr ""
5160
5161 #. type: verbatim
5162 #: ../examples/guestfs-recipes.pod:67
5163 #, no-wrap
5164 msgid ""
5165 " guestfish --ro -a cd.iso -m /dev/sda tgz-out / cd.tar.gz\n"
5166 "\n"
5167 msgstr ""
5168
5169 #. type: textblock
5170 #: ../examples/guestfs-recipes.pod:69
5171 msgid "To export just a subdirectory, eg. C</files>, do:"
5172 msgstr ""
5173
5174 #. type: verbatim
5175 #: ../examples/guestfs-recipes.pod:71
5176 #, no-wrap
5177 msgid ""
5178 " guestfish --ro -a cd.iso -m /dev/sda tgz-out /files cd.tar.gz\n"
5179 "\n"
5180 msgstr ""
5181
5182 #. type: =head1
5183 #: ../examples/guestfs-recipes.pod:73
5184 msgid "Create empty disk images"
5185 msgstr ""
5186
5187 #. type: textblock
5188 #: ../examples/guestfs-recipes.pod:75
5189 msgid ""
5190 "You can use the L<guestfish(1)> I<-N> option to create empty disk images.  "
5191 "The useful guide below explains the options available."
5192 msgstr ""
5193
5194 #. type: textblock
5195 #: ../examples/guestfs-recipes.pod:78
5196 msgid ""
5197 "https://rwmj.wordpress.com/2010/09/08/new-guestfish-n-options-"
5198 "in-1-5-9/#content"
5199 msgstr ""
5200
5201 #. type: =head1
5202 #: ../examples/guestfs-recipes.pod:80
5203 msgid "Dump raw filesystem content from inside a disk image or VM"
5204 msgstr ""
5205
5206 #. type: textblock
5207 #: ../examples/guestfs-recipes.pod:82
5208 msgid ""
5209 "You can use the L<guestfish(1)> C<download> command to extract the raw "
5210 "filesystem content from any filesystem in a disk image or a VM (even one "
5211 "which is encrypted or buried inside an LV):"
5212 msgstr ""
5213
5214 #. type: verbatim
5215 #: ../examples/guestfs-recipes.pod:86
5216 #, no-wrap
5217 msgid ""
5218 " guestfish --ro -a disk.img run : download /dev/sda1 sda1.img\n"
5219 "\n"
5220 msgstr ""
5221
5222 #. type: verbatim
5223 #: ../examples/guestfs-recipes.pod:88
5224 #, no-wrap
5225 msgid ""
5226 " guestfish --ro -d Guest run : download /dev/vg_guest/lv_root lv.img\n"
5227 "\n"
5228 msgstr ""
5229
5230 #. type: textblock
5231 #: ../examples/guestfs-recipes.pod:90
5232 msgid "To list the filesystems in a disk image, use L<virt-filesystems(1)>."
5233 msgstr ""
5234
5235 #. type: =head1
5236 #: ../examples/guestfs-recipes.pod:92
5237 msgid "Edit grub configuration in a VM"
5238 msgstr ""
5239
5240 #. type: textblock
5241 #: ../examples/guestfs-recipes.pod:94
5242 msgid "You can use this to:"
5243 msgstr ""
5244
5245 #. type: textblock
5246 #: ../examples/guestfs-recipes.pod:100
5247 msgid "Fix a virtual machine that does not boot."
5248 msgstr ""
5249
5250 #. type: textblock
5251 #: ../examples/guestfs-recipes.pod:104
5252 msgid "Change which kernel is used to boot the VM."
5253 msgstr ""
5254
5255 #. type: textblock
5256 #: ../examples/guestfs-recipes.pod:108
5257 msgid "Change kernel command line options."
5258 msgstr ""
5259
5260 #. type: textblock
5261 #: ../examples/guestfs-recipes.pod:112
5262 msgid "Use L<virt-edit(1)> to edit the grub configuration:"
5263 msgstr ""
5264
5265 #. type: verbatim
5266 #: ../examples/guestfs-recipes.pod:114
5267 #, no-wrap
5268 msgid ""
5269 " virt-edit -d BrokenGuest /boot/grub/grub.conf\n"
5270 "\n"
5271 msgstr ""
5272
5273 #. type: textblock
5274 #: ../examples/guestfs-recipes.pod:116
5275 msgid ""
5276 "or for general tinkering inside an unbootable VM use L<virt-rescue(1)> like "
5277 "this:"
5278 msgstr ""
5279
5280 #. type: verbatim
5281 #: ../examples/guestfs-recipes.pod:119
5282 #, no-wrap
5283 msgid ""
5284 " virt-rescue -d BrokenGuest\n"
5285 "\n"
5286 msgstr ""
5287
5288 #. type: =head1
5289 #: ../examples/guestfs-recipes.pod:121
5290 msgid "Export any directory from a VM"
5291 msgstr ""
5292
5293 #. type: textblock
5294 #: ../examples/guestfs-recipes.pod:123
5295 msgid ""
5296 "To export C</home> from a VM into a local directory use L<virt-copy-out(1)>:"
5297 msgstr ""
5298
5299 #. type: verbatim
5300 #: ../examples/guestfs-recipes.pod:126
5301 #, no-wrap
5302 msgid ""
5303 " virt-copy-out -d Guest /home .\n"
5304 "\n"
5305 msgstr ""
5306
5307 #. type: textblock
5308 #: ../examples/guestfs-recipes.pod:128 ../fish/guestfish-actions.pod:9
5309 #: ../fish/guestfish-actions.pod:1450 ../fish/guestfish-actions.pod:1715
5310 #: ../fish/guestfish-actions.pod:2132 ../src/guestfs-actions.pod:18
5311 #: ../src/guestfs-actions.pod:2326 ../src/guestfs-actions.pod:2750
5312 #: ../src/guestfs-actions.pod:3309 ../src/guestfs.pod:1685
5313 #: ../tools/virt-win-reg.pl:717
5314 msgid "Notes:"
5315 msgstr "Нотатки:"
5316
5317 #. type: textblock
5318 #: ../examples/guestfs-recipes.pod:134
5319 msgid ""
5320 "The final dot of the command is not a printing error.  It means we want to "
5321 "copy out to the current directory."
5322 msgstr ""
5323
5324 #. type: textblock
5325 #: ../examples/guestfs-recipes.pod:139
5326 msgid "This creates a directory called C<home> under the current directory."
5327 msgstr ""
5328
5329 #. type: textblock
5330 #: ../examples/guestfs-recipes.pod:143
5331 msgid ""
5332 "If the guest is a Windows guest then you can use drive letters and "
5333 "backslashes, but you must prefix the path with C<win:> and quote it to "
5334 "protect it from the shell, like this:"
5335 msgstr ""
5336
5337 #. type: verbatim
5338 #: ../examples/guestfs-recipes.pod:147
5339 #, no-wrap
5340 msgid ""
5341 " virt-copy-out -d WinGuest 'win:c:\\windows\\system32\\config' .\n"
5342 "\n"
5343 msgstr ""
5344
5345 #. type: textblock
5346 #: ../examples/guestfs-recipes.pod:149
5347 msgid "To get the output as a compressed tarball, do:"
5348 msgstr ""
5349
5350 #. type: verbatim
5351 #: ../examples/guestfs-recipes.pod:151
5352 #, no-wrap
5353 msgid ""
5354 " virt-tar-out -d Guest /home - | gzip --best > home.tar.gz\n"
5355 "\n"
5356 msgstr ""
5357
5358 #. type: textblock
5359 #: ../examples/guestfs-recipes.pod:153
5360 msgid ""
5361 "Although it sounds tempting, this is usually not a reliable way to get a "
5362 "backup from a running guest.  See the entry in the FAQ: "
5363 "http://libguestfs.org/FAQ.html#backup"
5364 msgstr ""
5365
5366 #. type: =head1
5367 #: ../examples/guestfs-recipes.pod:157
5368 msgid "Find out which user is using the most space"
5369 msgstr ""
5370
5371 #. type: textblock
5372 #: ../examples/guestfs-recipes.pod:159
5373 msgid ""
5374 "This simple script examines a Linux guest to find out which user is using "
5375 "the most space in their home directory:"
5376 msgstr ""
5377
5378 #. type: verbatim
5379 #: ../examples/guestfs-recipes.pod:162
5380 #, no-wrap
5381 msgid ""
5382 " #!/bin/sh -\n"
5383 " \n"
5384 msgstr ""
5385
5386 #. type: verbatim
5387 #: ../examples/guestfs-recipes.pod:164 ../fish/guestfish.pod:984
5388 #, no-wrap
5389 msgid ""
5390 " set -e\n"
5391 " \n"
5392 msgstr ""
5393
5394 #. type: verbatim
5395 #: ../examples/guestfs-recipes.pod:166
5396 #, no-wrap
5397 msgid ""
5398 " vm=\"$1\"\n"
5399 " dir=/home\n"
5400 " \n"
5401 msgstr ""
5402
5403 #. type: verbatim
5404 #: ../examples/guestfs-recipes.pod:169
5405 #, no-wrap
5406 msgid ""
5407 " eval $(guestfish --ro -d \"$vm\" -i --listen)\n"
5408 " \n"
5409 msgstr ""
5410
5411 #. type: verbatim
5412 #: ../examples/guestfs-recipes.pod:171
5413 #, no-wrap
5414 msgid ""
5415 " for d in $(guestfish --remote ls \"$dir\"); do\n"
5416 "     echo -n \"$dir/$d\"\n"
5417 "     echo -ne '\\t'\n"
5418 "     guestfish --remote du \"$dir/$d\";\n"
5419 " done | sort -nr -k 2\n"
5420 " \n"
5421 msgstr ""
5422
5423 #. type: verbatim
5424 #: ../examples/guestfs-recipes.pod:177 ../fish/guestfish.pod:941
5425 #, no-wrap
5426 msgid ""
5427 " guestfish --remote exit\n"
5428 "\n"
5429 msgstr ""
5430
5431 #. type: =head1
5432 #: ../examples/guestfs-recipes.pod:179
5433 msgid "Get DHCP address from a VM"
5434 msgstr ""
5435
5436 #. type: textblock
5437 #: ../examples/guestfs-recipes.pod:181
5438 msgid ""
5439 "The link below explains the many different possible techniques for getting "
5440 "the last assigned DHCP address of a virtual machine."
5441 msgstr ""
5442
5443 #. type: textblock
5444 #: ../examples/guestfs-recipes.pod:184
5445 msgid ""
5446 "https://rwmj.wordpress.com/2011/03/31/tip-code-for-getting-dhcp-address-"
5447 "from-a-virtual-machine-disk-image/#content"
5448 msgstr ""
5449
5450 #. type: textblock
5451 #: ../examples/guestfs-recipes.pod:186
5452 msgid ""
5453 "In the libguestfs source examples directory you will find the latest version"
5454 " of the C<virt-dhcp-address.c> program."
5455 msgstr ""
5456
5457 #. type: =head1
5458 #: ../examples/guestfs-recipes.pod:189
5459 msgid "Get the operating system product name string"
5460 msgstr ""
5461
5462 #. type: textblock
5463 #: ../examples/guestfs-recipes.pod:191
5464 msgid "Save the following script into a file called C<product-name.sh>:"
5465 msgstr ""
5466
5467 #. type: verbatim
5468 #: ../examples/guestfs-recipes.pod:193
5469 #, no-wrap
5470 msgid ""
5471 " #!/bin/sh -\n"
5472 " set -e\n"
5473 " eval \"$(guestfish --ro -d \"$1\" --i --listen)\"\n"
5474 " root=\"$(guestfish --remote inspect-get-roots)\"\n"
5475 " guestfish --remote inspect-get-product-name \"$root\"\n"
5476 " guestfish --remote exit\n"
5477 "\n"
5478 msgstr ""
5479
5480 #. type: textblock
5481 #: ../examples/guestfs-recipes.pod:200
5482 msgid "Make the script executable and run it on a named guest:"
5483 msgstr ""
5484
5485 #. type: verbatim
5486 #: ../examples/guestfs-recipes.pod:202
5487 #, no-wrap
5488 msgid ""
5489 " # product-name.sh RHEL60x64\n"
5490 " Red Hat Enterprise Linux Server release 6.0 (Santiago)\n"
5491 "\n"
5492 msgstr ""
5493
5494 #. type: textblock
5495 #: ../examples/guestfs-recipes.pod:205
5496 msgid ""
5497 "You can also use an XPath query on the L<virt-inspector(1)> XML using the "
5498 "C<xpath> command line tool or from your favourite programming language:"
5499 msgstr ""
5500
5501 #. type: verbatim
5502 #: ../examples/guestfs-recipes.pod:209
5503 #, no-wrap
5504 msgid ""
5505 " # virt-inspector RHEL60x64 > xml\n"
5506 " # xpath '//product_name' < xml\n"
5507 " Found 1 nodes:\n"
5508 " -- NODE --\n"
5509 " <product_name>Red Hat Enterprise Linux Server release 6.0 (Santiago)</product_name>\n"
5510 "\n"
5511 msgstr ""
5512
5513 #. type: =head1
5514 #: ../examples/guestfs-recipes.pod:215
5515 msgid "Get the default boot kernel for a Linux VM"
5516 msgstr ""
5517
5518 #. type: textblock
5519 #: ../examples/guestfs-recipes.pod:217
5520 msgid ""
5521 "The link below contains a program to print the default boot kernel for a "
5522 "Linux VM."
5523 msgstr ""
5524
5525 #. type: textblock
5526 #: ../examples/guestfs-recipes.pod:220
5527 msgid ""
5528 "https://rwmj.wordpress.com/2010/10/30/tip-use-augeas-to-get-the-default-"
5529 "boot-kernel-for-a-vm/#content"
5530 msgstr ""
5531
5532 #. type: textblock
5533 #: ../examples/guestfs-recipes.pod:222
5534 msgid ""
5535 "It uses Augeas, and the technique is generally applicable for many different"
5536 " tasks, such as:"
5537 msgstr ""
5538
5539 #. type: textblock
5540 #: ../examples/guestfs-recipes.pod:229
5541 msgid "listing the user accounts in the guest"
5542 msgstr ""
5543
5544 #. type: textblock
5545 #: ../examples/guestfs-recipes.pod:233
5546 msgid "what repositories is it configured to use"
5547 msgstr ""
5548
5549 #. type: textblock
5550 #: ../examples/guestfs-recipes.pod:237
5551 msgid "what NTP servers does it connect to"
5552 msgstr ""
5553
5554 #. type: textblock
5555 #: ../examples/guestfs-recipes.pod:241
5556 msgid "what were the boot messages last time it booted"
5557 msgstr ""
5558
5559 #. type: textblock
5560 #: ../examples/guestfs-recipes.pod:245
5561 msgid "listing who was logged in recently"
5562 msgstr ""
5563
5564 #. type: textblock
5565 #: ../examples/guestfs-recipes.pod:249
5566 msgid "http://augeas.net/"
5567 msgstr ""
5568
5569 #. type: =head1
5570 #: ../examples/guestfs-recipes.pod:251
5571 msgid "Install RPMs in a guest"
5572 msgstr ""
5573
5574 #. type: textblock
5575 #: ../examples/guestfs-recipes.pod:253
5576 msgid ""
5577 "The link below contains a method to install RPMs in a guest.  In fact the "
5578 "RPMs are just uploaded to the guest along with a \"firstboot\" script that "
5579 "installs them next time the guest is booted.  You could use this technique "
5580 "to install vital security updates in an offline guest."
5581 msgstr ""
5582
5583 #. type: textblock
5584 #: ../examples/guestfs-recipes.pod:259
5585 msgid ""
5586 "https://rwmj.wordpress.com/2010/12/01/tip-install-rpms-in-a-guest/#content"
5587 msgstr ""
5588
5589 #. type: =head1
5590 #: ../examples/guestfs-recipes.pod:261
5591 msgid "List applications installed in a VM"
5592 msgstr ""
5593
5594 #. type: textblock
5595 #: ../examples/guestfs-recipes.pod:263
5596 msgid "Save the following to a file C<list-apps.sh>:"
5597 msgstr ""
5598
5599 #. type: verbatim
5600 #: ../examples/guestfs-recipes.pod:265
5601 #, no-wrap
5602 msgid ""
5603 " #!/bin/sh -\n"
5604 " set -e\n"
5605 " eval \"$(guestfish --ro -d \"$1\" --i --listen)\"\n"
5606 " root=\"$(guestfish --remote inspect-get-roots)\"\n"
5607 " guestfish --remote inspect-list-applications \"$root\"\n"
5608 " guestfish --remote exit\n"
5609 "\n"
5610 msgstr ""
5611
5612 #. type: textblock
5613 #: ../examples/guestfs-recipes.pod:272
5614 msgid ""
5615 "Make the file executable and then you can run it on any named virtual "
5616 "machine:"
5617 msgstr ""
5618
5619 #. type: verbatim
5620 #: ../examples/guestfs-recipes.pod:275
5621 #, no-wrap
5622 msgid ""
5623 " # list-apps.sh WinGuest\n"
5624 " [0] = {\n"
5625 "   app_name: Mozilla Firefox (3.6.12)\n"
5626 "   app_display_name: Mozilla Firefox (3.6.12)\n"
5627 "   app_epoch: 0\n"
5628 "   app_version: 3.6.12 (en-GB)\n"
5629 "   app_release:\n"
5630 "   app_install_path: C:\\Program Files\\Mozilla Firefox\n"
5631 "   app_trans_path:\n"
5632 "   app_publisher: Mozilla\n"
5633 "   app_url: http://www.mozilla.com/en-GB/\n"
5634 "   app_source_package:\n"
5635 "   app_summary:\n"
5636 "   app_description: Mozilla Firefox\n"
5637 " }\n"
5638 " [1] = {\n"
5639 "   app_name: VLC media player\n"
5640 "   app_display_name: VLC media player 1.1.5\n"
5641 "   app_epoch: 0\n"
5642 "   app_version: 1.1.5\n"
5643 "   app_release:\n"
5644 "   app_install_path: C:\\Program Files\\VideoLAN\\VLC\n"
5645 "   app_trans_path:\n"
5646 "   app_publisher: VideoLAN\n"
5647 "   app_url: http://www.videolan.org/\n"
5648 "   app_source_package:\n"
5649 "   app_summary:\n"
5650 "   app_description:\n"
5651 " }\n"
5652 "\n"
5653 msgstr ""
5654
5655 #. type: textblock
5656 #: ../examples/guestfs-recipes.pod:305
5657 msgid ""
5658 "If you want to run the script on disk images (instead of libvirt virtual "
5659 "machines), change C<-d \"$1\"> to C<-a \"$1\">.  See also L<virt-"
5660 "inspector(1)>."
5661 msgstr ""
5662
5663 #. type: =head1
5664 #: ../examples/guestfs-recipes.pod:309
5665 msgid "List files and directories in a VM"
5666 msgstr ""
5667
5668 #. type: textblock
5669 #: ../examples/guestfs-recipes.pod:311
5670 msgid "This involves using the L<guestfish(1)> C<find0> command like this:"
5671 msgstr ""
5672
5673 #. type: verbatim
5674 #: ../examples/guestfs-recipes.pod:313
5675 #, no-wrap
5676 msgid ""
5677 " guestfish --ro -d Guest -i find0 / - | tr '\\0' '\\n' | sort\n"
5678 "\n"
5679 msgstr ""
5680
5681 #. type: =head1
5682 #: ../examples/guestfs-recipes.pod:315
5683 msgid "List services in a Windows VM"
5684 msgstr ""
5685
5686 #. type: textblock
5687 #: ../examples/guestfs-recipes.pod:317
5688 msgid ""
5689 "The link below contains a script that can be used to list out the services "
5690 "from a Windows VM, and whether those services run at boot time or are loaded"
5691 " on demand."
5692 msgstr ""
5693
5694 #. type: textblock
5695 #: ../examples/guestfs-recipes.pod:321
5696 msgid ""
5697 "https://rwmj.wordpress.com/2010/12/10/tip-list-services-in-a-windows-"
5698 "guest/#content"
5699 msgstr ""
5700
5701 #. type: =head1
5702 #: ../examples/guestfs-recipes.pod:323
5703 msgid "Make a disk image sparse"
5704 msgstr ""
5705
5706 #. type: textblock
5707 #: ../examples/guestfs-recipes.pod:325
5708 msgid ""
5709 "The link below contains some guides for making a disk image sparse (or "
5710 "reintroducing sparseness)."
5711 msgstr ""
5712
5713 #. type: textblock
5714 #: ../examples/guestfs-recipes.pod:328
5715 msgid ""
5716 "https://rwmj.wordpress.com/2010/10/19/tip-making-a-disk-image-"
5717 "sparse/#content"
5718 msgstr ""
5719
5720 #. type: =head1
5721 #: ../examples/guestfs-recipes.pod:330
5722 msgid "Monitor disk usage over time"
5723 msgstr ""
5724
5725 #. type: textblock
5726 #: ../examples/guestfs-recipes.pod:332
5727 msgid ""
5728 "You can use L<virt-df(1)> to monitor disk usage of your guests over time.  "
5729 "The link below contains a guide."
5730 msgstr ""
5731
5732 #. type: textblock
5733 #: ../examples/guestfs-recipes.pod:335
5734 msgid "http://virt-tools.org/learning/advanced-virt-df/"
5735 msgstr ""
5736
5737 #. type: =head1
5738 #: ../examples/guestfs-recipes.pod:337
5739 msgid "Reading the Windows Event Log from Windows Vista (or later)"
5740 msgstr ""
5741
5742 #. type: textblock
5743 #: ../examples/guestfs-recipes.pod:339
5744 msgid ""
5745 "L<guestfish(1)> plus the tools described in the link below can be used to "
5746 "read out the Windows Event Log from any virtual machine running Windows "
5747 "Vista or a later version."
5748 msgstr ""
5749
5750 #. type: textblock
5751 #: ../examples/guestfs-recipes.pod:343
5752 msgid ""
5753 "https://rwmj.wordpress.com/2011/04/17/decoding-the-windows-event-log-using-"
5754 "guestfish/#content"
5755 msgstr ""
5756
5757 #. type: =head1
5758 #: ../examples/guestfs-recipes.pod:345
5759 msgid "Remove root password (Linux)"
5760 msgstr ""
5761
5762 #. type: textblock
5763 #: ../examples/guestfs-recipes.pod:347
5764 msgid ""
5765 "Using the L<virt-edit(1)> I<-e> option you can do simple replacements on "
5766 "files.  One use is to remove the root password from a Linux guest:"
5767 msgstr ""
5768
5769 #. type: verbatim
5770 #: ../examples/guestfs-recipes.pod:350
5771 #, no-wrap
5772 msgid ""
5773 " virt-edit domname /etc/passwd -e 's/^root:.*?:/root::/'\n"
5774 "\n"
5775 msgstr ""
5776
5777 #. type: =head1
5778 #: ../examples/guestfs-recipes.pod:352
5779 msgid "Remove Administrator password (Windows)"
5780 msgstr ""
5781
5782 #. type: textblock
5783 #: ../examples/guestfs-recipes.pod:354
5784 msgid ""
5785 "The link below contains one technique for removing the Administrator "
5786 "password from a Windows VM, or to be more precise, it gives you a command "
5787 "prompt the next time you log in which you can use to bypass any security:"
5788 msgstr ""
5789
5790 #. type: textblock
5791 #: ../examples/guestfs-recipes.pod:359
5792 msgid ""
5793 "https://mdbooth.wordpress.com/2010/10/18/resetting-a-windows-guests-"
5794 "administrator-password-with-guestfish/"
5795 msgstr ""
5796
5797 #. type: =head1
5798 #: ../examples/guestfs-recipes.pod:361
5799 msgid "Unpack a live CD"
5800 msgstr ""
5801
5802 #. type: textblock
5803 #: ../examples/guestfs-recipes.pod:363
5804 msgid ""
5805 "Linux live CDs often contain multiple layers of disk images wrapped like a "
5806 "Russian doll.  You can use L<guestfish(1)> to look inside these multiple "
5807 "layers, as outlined in the guide below."
5808 msgstr ""
5809
5810 #. type: textblock
5811 #: ../examples/guestfs-recipes.pod:367
5812 msgid ""
5813 "https://rwmj.wordpress.com/2009/07/15/unpack-the-russian-doll-of-a-f11-live-"
5814 "cd/#content"
5815 msgstr ""
5816
5817 #. type: =head1
5818 #: ../examples/guestfs-recipes.pod:369
5819 msgid "Uploading and downloading files"
5820 msgstr ""
5821
5822 #. type: textblock
5823 #: ../examples/guestfs-recipes.pod:371
5824 msgid ""
5825 "The link below contains general tips on uploading (copying in)  and "
5826 "downloading (copying out) files from VMs."
5827 msgstr ""
5828
5829 #. type: textblock
5830 #: ../examples/guestfs-recipes.pod:374
5831 msgid ""
5832 "https://rwmj.wordpress.com/2010/12/02/tip-uploading-and-downloading/#content"
5833 msgstr ""
5834
5835 #. type: =head1
5836 #: ../examples/guestfs-recipes.pod:376
5837 msgid "Use libguestfs tools on VMware ESX guests"
5838 msgstr ""
5839
5840 #. type: textblock
5841 #: ../examples/guestfs-recipes.pod:378
5842 msgid ""
5843 "The link below explains how to use libguestfs, L<guestfish(1)> and the virt "
5844 "tools on any VMware ESX guests, by first sharing the VMware VMFS over sshfs."
5845 msgstr ""
5846
5847 #. type: textblock
5848 #: ../examples/guestfs-recipes.pod:382
5849 msgid ""
5850 "https://rwmj.wordpress.com/2011/05/10/tip-use-libguestfs-on-vmware-esx-"
5851 "guests/#content"
5852 msgstr ""
5853
5854 #. type: textblock
5855 #: ../examples/guestfs-recipes.pod:386
5856 msgid ""
5857 "L<guestfs(3)>, L<guestfish(1)>, L<guestfs-examples(3)>, L<guestfs-"
5858 "erlang(3)>, L<guestfs-java(3)>, L<guestfs-ocaml(3)>, L<guestfs-perl(3)>, L"
5859 "<guestfs-python(3)>, L<guestfs-ruby(3)>, L<http://libguestfs.org/>."
5860 msgstr ""
5861
5862 #. type: textblock
5863 #: ../examples/guestfs-recipes.pod:403
5864 msgid "Copyright (C) 2009-2011 Red Hat Inc. L<http://libguestfs.org/>"
5865 msgstr ""
5866
5867 #. type: =head2
5868 #: ../fish/guestfish-actions.pod:1
5869 msgid "add-cdrom"
5870 msgstr ""
5871
5872 #. type: verbatim
5873 #: ../fish/guestfish-actions.pod:3
5874 #, no-wrap
5875 msgid ""
5876 " add-cdrom filename\n"
5877 "\n"
5878 msgstr ""
5879
5880 #. type: textblock
5881 #: ../fish/guestfish-actions.pod:5 ../src/guestfs-actions.pod:14
5882 msgid "This function adds a virtual CD-ROM disk image to the guest."
5883 msgstr ""
5884
5885 #. type: textblock
5886 #: ../fish/guestfish-actions.pod:7 ../src/guestfs-actions.pod:16
5887 msgid "This is equivalent to the qemu parameter I<-cdrom filename>."
5888 msgstr ""
5889
5890 #. type: textblock
5891 #: ../fish/guestfish-actions.pod:15
5892 msgid ""
5893 "This call checks for the existence of C<filename>.  This stops you from "
5894 "specifying other types of drive which are supported by qemu such as C<nbd:> "
5895 "and C<http:> URLs.  To specify those, use the general L</config> call "
5896 "instead."
5897 msgstr ""
5898
5899 #. type: textblock
5900 #: ../fish/guestfish-actions.pod:22
5901 msgid ""
5902 "If you just want to add an ISO file (often you use this as an efficient way "
5903 "to transfer large files into the guest), then you should probably use L"
5904 "</add-drive-ro> instead."
5905 msgstr ""
5906
5907 #. type: textblock
5908 #: ../fish/guestfish-actions.pod:28 ../fish/guestfish-actions.pod:214
5909 #: ../fish/guestfish-actions.pod:228
5910 msgid ""
5911 "I<This function is deprecated.> In new code, use the L</add_drive_opts> call"
5912 " instead."
5913 msgstr ""
5914
5915 #. type: textblock
5916 #: ../fish/guestfish-actions.pod:31 ../fish/guestfish-actions.pod:217
5917 #: ../fish/guestfish-actions.pod:231 ../fish/guestfish-actions.pod:941
5918 #: ../fish/guestfish-actions.pod:976 ../fish/guestfish-actions.pod:1149
5919 #: ../fish/guestfish-actions.pod:1509 ../fish/guestfish-actions.pod:1523
5920 #: ../fish/guestfish-actions.pod:3293 ../fish/guestfish-actions.pod:3604
5921 #: ../fish/guestfish-actions.pod:3652 ../fish/guestfish-actions.pod:4579
5922 #: ../fish/guestfish-actions.pod:4602 ../fish/guestfish-actions.pod:4624
5923 #: ../fish/guestfish-actions.pod:4662 ../fish/guestfish-actions.pod:5311
5924 #: ../fish/guestfish-actions.pod:5417 ../src/guestfs-actions.pod:10
5925 #: ../src/guestfs-actions.pod:305 ../src/guestfs-actions.pod:326
5926 #: ../src/guestfs-actions.pod:1572 ../src/guestfs-actions.pod:1629
5927 #: ../src/guestfs-actions.pod:1912 ../src/guestfs-actions.pod:2411
5928 #: ../src/guestfs-actions.pod:2432 ../src/guestfs-actions.pod:5077
5929 #: ../src/guestfs-actions.pod:5599 ../src/guestfs-actions.pod:5699
5930 #: ../src/guestfs-actions.pod:6999 ../src/guestfs-actions.pod:7043
5931 #: ../src/guestfs-actions.pod:7077 ../src/guestfs-actions.pod:7140
5932 #: ../src/guestfs-actions.pod:8072 ../src/guestfs-actions.pod:8181
5933 #: ../src/guestfs-actions.pod:8364
5934 msgid ""
5935 "Deprecated functions will not be removed from the API, but the fact that "
5936 "they are deprecated indicates that there are problems with correct use of "
5937 "these functions."
5938 msgstr ""
5939
5940 #. type: =head2
5941 #: ../fish/guestfish-actions.pod:35
5942 msgid "add-domain"
5943 msgstr "add-domain"
5944
5945 #. type: =head2
5946 #: ../fish/guestfish-actions.pod:37
5947 msgid "domain"
5948 msgstr "домен"
5949
5950 #. type: verbatim
5951 #: ../fish/guestfish-actions.pod:39
5952 #, no-wrap
5953 msgid ""
5954 " add-domain dom [libvirturi:..] [readonly:..] [iface:..] [live:..] [allowuuid:..] [readonlydisk:..]\n"
5955 "\n"
5956 msgstr ""
5957
5958 #. type: textblock
5959 #: ../fish/guestfish-actions.pod:41
5960 msgid ""
5961 "This function adds the disk(s) attached to the named libvirt domain C<dom>."
5962 "  It works by connecting to libvirt, requesting the domain and domain XML "
5963 "from libvirt, parsing it for disks, and calling L</add-drive-opts> on each "
5964 "one."
5965 msgstr ""
5966
5967 #. type: textblock
5968 #: ../fish/guestfish-actions.pod:46 ../src/guestfs-actions.pod:65
5969 msgid ""
5970 "The number of disks added is returned.  This operation is atomic: if an "
5971 "error is returned, then no disks are added."
5972 msgstr ""
5973
5974 #. type: textblock
5975 #: ../fish/guestfish-actions.pod:49 ../src/guestfs-actions.pod:68
5976 msgid ""
5977 "This function does some minimal checks to make sure the libvirt domain is "
5978 "not running (unless C<readonly> is true).  In a future version we will try "
5979 "to acquire the libvirt lock on each disk."
5980 msgstr ""
5981
5982 #. type: textblock
5983 #: ../fish/guestfish-actions.pod:53 ../src/guestfs-actions.pod:72
5984 msgid ""
5985 "Disks must be accessible locally.  This often means that adding disks from a"
5986 " remote libvirt connection (see L<http://libvirt.org/remote.html>)  will "
5987 "fail unless those disks are accessible via the same device path locally too."
5988 msgstr ""
5989
5990 #. type: textblock
5991 #: ../fish/guestfish-actions.pod:58 ../src/guestfs-actions.pod:77
5992 msgid ""
5993 "The optional C<libvirturi> parameter sets the libvirt URI (see "
5994 "L<http://libvirt.org/uri.html>).  If this is not set then we connect to the "
5995 "default libvirt URI (or one set through an environment variable, see the "
5996 "libvirt documentation for full details)."
5997 msgstr ""
5998
5999 #. type: textblock
6000 #: ../fish/guestfish-actions.pod:64 ../src/guestfs-actions.pod:83
6001 msgid ""
6002 "The optional C<live> flag controls whether this call will try to connect to "
6003 "a running virtual machine C<guestfsd> process if it sees a suitable "
6004 "E<lt>channelE<gt> element in the libvirt XML definition.  The default (if "
6005 "the flag is omitted) is never to try.  See L<guestfs(3)/ATTACHING TO RUNNING"
6006 " DAEMONS> for more information."
6007 msgstr ""
6008
6009 #. type: textblock
6010 #: ../fish/guestfish-actions.pod:71 ../src/guestfs-actions.pod:90
6011 msgid ""
6012 "If the C<allowuuid> flag is true (default is false) then a UUID I<may> be "
6013 "passed instead of the domain name.  The C<dom> string is treated as a UUID "
6014 "first and looked up, and if that lookup fails then we treat C<dom> as a name"
6015 " as usual."
6016 msgstr ""
6017
6018 #. type: textblock
6019 #: ../fish/guestfish-actions.pod:76 ../src/guestfs-actions.pod:95
6020 msgid ""
6021 "The optional C<readonlydisk> parameter controls what we do for disks which "
6022 "are marked E<lt>readonly/E<gt> in the libvirt XML.  Possible values are:"
6023 msgstr ""
6024
6025 #. type: =item
6026 #: ../fish/guestfish-actions.pod:82 ../src/guestfs-actions.pod:101
6027 msgid "readonlydisk = \"error\""
6028 msgstr ""
6029
6030 #. type: textblock
6031 #: ../fish/guestfish-actions.pod:84 ../fish/guestfish-actions.pod:95
6032 #: ../fish/guestfish-actions.pod:106 ../src/guestfs-actions.pod:103
6033 #: ../src/guestfs-actions.pod:114 ../src/guestfs-actions.pod:125
6034 msgid "If C<readonly> is false:"
6035 msgstr ""
6036
6037 #. type: textblock
6038 #: ../fish/guestfish-actions.pod:86 ../src/guestfs-actions.pod:105
6039 msgid ""
6040 "The whole call is aborted with an error if any disk with the "
6041 "E<lt>readonly/E<gt> flag is found."
6042 msgstr ""
6043
6044 #. type: textblock
6045 #: ../fish/guestfish-actions.pod:89 ../fish/guestfish-actions.pod:100
6046 #: ../fish/guestfish-actions.pod:110 ../src/guestfs-actions.pod:108
6047 #: ../src/guestfs-actions.pod:119 ../src/guestfs-actions.pod:129
6048 msgid "If C<readonly> is true:"
6049 msgstr ""
6050
6051 #. type: textblock
6052 #: ../fish/guestfish-actions.pod:91 ../fish/guestfish-actions.pod:102
6053 #: ../fish/guestfish-actions.pod:112 ../src/guestfs-actions.pod:110
6054 #: ../src/guestfs-actions.pod:121 ../src/guestfs-actions.pod:131
6055 msgid "Disks with the E<lt>readonly/E<gt> flag are added read-only."
6056 msgstr ""
6057
6058 #. type: =item
6059 #: ../fish/guestfish-actions.pod:93 ../src/guestfs-actions.pod:112
6060 msgid "readonlydisk = \"read\""
6061 msgstr ""
6062
6063 #. type: textblock
6064 #: ../fish/guestfish-actions.pod:97 ../src/guestfs-actions.pod:116
6065 msgid ""
6066 "Disks with the E<lt>readonly/E<gt> flag are added read-only.  Other disks "
6067 "are added read/write."
6068 msgstr ""
6069
6070 #. type: =item
6071 #: ../fish/guestfish-actions.pod:104 ../src/guestfs-actions.pod:123
6072 msgid "readonlydisk = \"write\" (default)"
6073 msgstr ""
6074
6075 #. type: textblock
6076 #: ../fish/guestfish-actions.pod:108 ../src/guestfs-actions.pod:127
6077 msgid "Disks with the E<lt>readonly/E<gt> flag are added read/write."
6078 msgstr ""
6079
6080 #. type: =item
6081 #: ../fish/guestfish-actions.pod:114 ../src/guestfs-actions.pod:133
6082 msgid "readonlydisk = \"ignore\""
6083 msgstr ""
6084
6085 #. type: textblock
6086 #: ../fish/guestfish-actions.pod:116 ../src/guestfs-actions.pod:135
6087 msgid "If C<readonly> is true or false:"
6088 msgstr ""
6089
6090 #. type: textblock
6091 #: ../fish/guestfish-actions.pod:118 ../src/guestfs-actions.pod:137
6092 msgid "Disks with the E<lt>readonly/E<gt> flag are skipped."
6093 msgstr ""
6094
6095 #. type: textblock
6096 #: ../fish/guestfish-actions.pod:122
6097 msgid ""
6098 "The other optional parameters are passed directly through to L</add-drive-"
6099 "opts>."
6100 msgstr ""
6101
6102 #. type: textblock
6103 #: ../fish/guestfish-actions.pod:125 ../fish/guestfish-actions.pod:194
6104 #: ../fish/guestfish-actions.pod:624 ../fish/guestfish-actions.pod:835
6105 #: ../fish/guestfish-actions.pod:856 ../fish/guestfish-actions.pod:894
6106 #: ../fish/guestfish-actions.pod:903 ../fish/guestfish-actions.pod:912
6107 #: ../fish/guestfish-actions.pod:926 ../fish/guestfish-actions.pod:2171
6108 #: ../fish/guestfish-actions.pod:3342 ../fish/guestfish-actions.pod:3505
6109 #: ../fish/guestfish-actions.pod:3640
6110 msgid ""
6111 "This command has one or more optional arguments.  See L</OPTIONAL "
6112 "ARGUMENTS>."
6113 msgstr ""
6114
6115 #. type: =head2
6116 #: ../fish/guestfish-actions.pod:127
6117 msgid "add-drive"
6118 msgstr "add-drive"
6119
6120 #. type: verbatim
6121 #: ../fish/guestfish-actions.pod:129
6122 #, no-wrap
6123 msgid ""
6124 " add-drive filename\n"
6125 "\n"
6126 msgstr ""
6127 " add-drive назва_файла\n"
6128 "\n"
6129
6130 #. type: textblock
6131 #: ../fish/guestfish-actions.pod:131
6132 msgid ""
6133 "This function is the equivalent of calling L</add-drive-opts> with no "
6134 "optional parameters, so the disk is added writable, with the format being "
6135 "detected automatically."
6136 msgstr ""
6137
6138 #. type: textblock
6139 #: ../fish/guestfish-actions.pod:135
6140 msgid ""
6141 "Automatic detection of the format opens you up to a potential security hole "
6142 "when dealing with untrusted raw-format images.  See CVE-2010-3851 and "
6143 "RHBZ#642934.  Specifying the format closes this security hole.  Therefore "
6144 "you should think about replacing calls to this function with calls to L"
6145 "</add-drive-opts>, and specifying the format."
6146 msgstr ""
6147
6148 #. type: =head2
6149 #: ../fish/guestfish-actions.pod:142
6150 msgid "add-drive-opts"
6151 msgstr "add-drive-opts"
6152
6153 #. type: =head2
6154 #: ../fish/guestfish-actions.pod:144
6155 msgid "add"
6156 msgstr "add"
6157
6158 #. type: verbatim
6159 #: ../fish/guestfish-actions.pod:146
6160 #, no-wrap
6161 msgid ""
6162 " add-drive-opts filename [readonly:..] [format:..] [iface:..] [name:..]\n"
6163 "\n"
6164 msgstr ""
6165
6166 #. type: textblock
6167 #: ../fish/guestfish-actions.pod:148 ../src/guestfs-actions.pod:208
6168 msgid ""
6169 "This function adds a virtual machine disk image C<filename> to libguestfs.  "
6170 "The first time you call this function, the disk appears as C</dev/sda>, the "
6171 "second time as C</dev/sdb>, and so on."
6172 msgstr ""
6173
6174 #. type: textblock
6175 #: ../fish/guestfish-actions.pod:153 ../src/guestfs-actions.pod:213
6176 msgid ""
6177 "You don't necessarily need to be root when using libguestfs.  However you "
6178 "obviously do need sufficient permissions to access the filename for whatever"
6179 " operations you want to perform (ie. read access if you just want to read "
6180 "the image or write access if you want to modify the image)."
6181 msgstr ""
6182
6183 #. type: textblock
6184 #: ../fish/guestfish-actions.pod:159 ../src/guestfs-actions.pod:219
6185 msgid "This call checks that C<filename> exists."
6186 msgstr ""
6187
6188 #. type: textblock
6189 #: ../fish/guestfish-actions.pod:161 ../fish/guestfish-actions.pod:3304
6190 #: ../src/guestfs-actions.pod:221 ../src/guestfs-actions.pod:5114
6191 msgid "The optional arguments are:"
6192 msgstr ""
6193
6194 #. type: =item
6195 #: ../fish/guestfish-actions.pod:165 ../src/guestfs-actions.pod:225
6196 msgid "C<readonly>"
6197 msgstr "C<readonly>"
6198
6199 #. type: textblock
6200 #: ../fish/guestfish-actions.pod:167 ../src/guestfs-actions.pod:227
6201 msgid ""
6202 "If true then the image is treated as read-only.  Writes are still allowed, "
6203 "but they are stored in a temporary snapshot overlay which is discarded at "
6204 "the end.  The disk that you add is not modified."
6205 msgstr ""
6206
6207 #. type: =item
6208 #: ../fish/guestfish-actions.pod:171 ../src/guestfs-actions.pod:231
6209 msgid "C<format>"
6210 msgstr "C<format>"
6211
6212 #. type: textblock
6213 #: ../fish/guestfish-actions.pod:173
6214 msgid ""
6215 "This forces the image format.  If you omit this (or use L</add-drive> or L"
6216 "</add-drive-ro>) then the format is automatically detected.  Possible "
6217 "formats include C<raw> and C<qcow2>."
6218 msgstr ""
6219
6220 #. type: textblock
6221 #: ../fish/guestfish-actions.pod:177 ../src/guestfs-actions.pod:237
6222 msgid ""
6223 "Automatic detection of the format opens you up to a potential security hole "
6224 "when dealing with untrusted raw-format images.  See CVE-2010-3851 and "
6225 "RHBZ#642934.  Specifying the format closes this security hole."
6226 msgstr ""
6227
6228 #. type: =item
6229 #: ../fish/guestfish-actions.pod:182 ../src/guestfs-actions.pod:242
6230 msgid "C<iface>"
6231 msgstr "C<iface>"
6232
6233 #. type: textblock
6234 #: ../fish/guestfish-actions.pod:184
6235 msgid ""
6236 "This rarely-used option lets you emulate the behaviour of the deprecated L"
6237 "</add-drive-with-if> call (q.v.)"
6238 msgstr ""
6239
6240 #. type: =item
6241 #: ../fish/guestfish-actions.pod:187 ../src/guestfs-actions.pod:247
6242 msgid "C<name>"
6243 msgstr ""
6244
6245 #. type: textblock
6246 #: ../fish/guestfish-actions.pod:189 ../src/guestfs-actions.pod:249
6247 msgid ""
6248 "The name the drive had in the original guest, e.g. /dev/sdb. This is used as"
6249 " a hint to the guest inspection process if it is available."
6250 msgstr ""
6251
6252 #. type: =head2
6253 #: ../fish/guestfish-actions.pod:196
6254 msgid "add-drive-ro"
6255 msgstr "add-drive-ro"
6256
6257 #. type: =head2
6258 #: ../fish/guestfish-actions.pod:198
6259 msgid "add-ro"
6260 msgstr "add-ro"
6261
6262 #. type: verbatim
6263 #: ../fish/guestfish-actions.pod:200
6264 #, no-wrap
6265 msgid ""
6266 " add-drive-ro filename\n"
6267 "\n"
6268 msgstr ""
6269
6270 #. type: textblock
6271 #: ../fish/guestfish-actions.pod:202
6272 msgid ""
6273 "This function is the equivalent of calling L</add-drive-opts> with the "
6274 "optional parameter C<GUESTFS_ADD_DRIVE_OPTS_READONLY> set to 1, so the disk "
6275 "is added read-only, with the format being detected automatically."
6276 msgstr ""
6277
6278 #. type: =head2
6279 #: ../fish/guestfish-actions.pod:207
6280 msgid "add-drive-ro-with-if"
6281 msgstr ""
6282
6283 #. type: verbatim
6284 #: ../fish/guestfish-actions.pod:209
6285 #, no-wrap
6286 msgid ""
6287 " add-drive-ro-with-if filename iface\n"
6288 "\n"
6289 msgstr ""
6290
6291 #. type: textblock
6292 #: ../fish/guestfish-actions.pod:211
6293 msgid ""
6294 "This is the same as L</add-drive-ro> but it allows you to specify the QEMU "
6295 "interface emulation to use at run time."
6296 msgstr ""
6297
6298 #. type: =head2
6299 #: ../fish/guestfish-actions.pod:221
6300 msgid "add-drive-with-if"
6301 msgstr ""
6302
6303 #. type: verbatim
6304 #: ../fish/guestfish-actions.pod:223
6305 #, no-wrap
6306 msgid ""
6307 " add-drive-with-if filename iface\n"
6308 "\n"
6309 msgstr ""
6310
6311 #. type: textblock
6312 #: ../fish/guestfish-actions.pod:225
6313 msgid ""
6314 "This is the same as L</add-drive> but it allows you to specify the QEMU "
6315 "interface emulation to use at run time."
6316 msgstr ""
6317
6318 #. type: =head2
6319 #: ../fish/guestfish-actions.pod:235
6320 msgid "aug-clear"
6321 msgstr ""
6322
6323 #. type: verbatim
6324 #: ../fish/guestfish-actions.pod:237
6325 #, no-wrap
6326 msgid ""
6327 " aug-clear augpath\n"
6328 "\n"
6329 msgstr ""
6330
6331 #. type: textblock
6332 #: ../fish/guestfish-actions.pod:239 ../src/guestfs-actions.pod:343
6333 msgid ""
6334 "Set the value associated with C<path> to C<NULL>.  This is the same as the "
6335 "L<augtool(1)> C<clear> command."
6336 msgstr ""
6337
6338 #. type: =head2
6339 #: ../fish/guestfish-actions.pod:242
6340 msgid "aug-close"
6341 msgstr ""
6342
6343 #. type: verbatim
6344 #: ../fish/guestfish-actions.pod:244
6345 #, no-wrap
6346 msgid ""
6347 " aug-close\n"
6348 "\n"
6349 msgstr ""
6350
6351 #. type: textblock
6352 #: ../fish/guestfish-actions.pod:246
6353 msgid ""
6354 "Close the current Augeas handle and free up any resources used by it.  After"
6355 " calling this, you have to call L</aug-init> again before you can use any "
6356 "other Augeas functions."
6357 msgstr ""
6358
6359 #. type: =head2
6360 #: ../fish/guestfish-actions.pod:251
6361 msgid "aug-defnode"
6362 msgstr ""
6363
6364 #. type: verbatim
6365 #: ../fish/guestfish-actions.pod:253
6366 #, no-wrap
6367 msgid ""
6368 " aug-defnode name expr val\n"
6369 "\n"
6370 msgstr ""
6371
6372 #. type: textblock
6373 #: ../fish/guestfish-actions.pod:255 ../src/guestfs-actions.pod:372
6374 msgid ""
6375 "Defines a variable C<name> whose value is the result of evaluating C<expr>."
6376 msgstr ""
6377
6378 #. type: textblock
6379 #: ../fish/guestfish-actions.pod:258
6380 msgid ""
6381 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
6382 "calling L</aug-set> C<expr>, C<value>.  C<name> will be the nodeset "
6383 "containing that single node."
6384 msgstr ""
6385
6386 #. type: textblock
6387 #: ../fish/guestfish-actions.pod:262 ../src/guestfs-actions.pod:379
6388 msgid ""
6389 "On success this returns a pair containing the number of nodes in the "
6390 "nodeset, and a boolean flag if a node was created."
6391 msgstr ""
6392
6393 #. type: =head2
6394 #: ../fish/guestfish-actions.pod:266
6395 msgid "aug-defvar"
6396 msgstr ""
6397
6398 #. type: verbatim
6399 #: ../fish/guestfish-actions.pod:268
6400 #, no-wrap
6401 msgid ""
6402 " aug-defvar name expr\n"
6403 "\n"
6404 msgstr ""
6405
6406 #. type: textblock
6407 #: ../fish/guestfish-actions.pod:270 ../src/guestfs-actions.pod:396
6408 msgid ""
6409 "Defines an Augeas variable C<name> whose value is the result of evaluating "
6410 "C<expr>.  If C<expr> is NULL, then C<name> is undefined."
6411 msgstr ""
6412
6413 #. type: textblock
6414 #: ../fish/guestfish-actions.pod:274 ../src/guestfs-actions.pod:400
6415 msgid ""
6416 "On success this returns the number of nodes in C<expr>, or C<0> if C<expr> "
6417 "evaluates to something which is not a nodeset."
6418 msgstr ""
6419
6420 #. type: =head2
6421 #: ../fish/guestfish-actions.pod:277
6422 msgid "aug-get"
6423 msgstr ""
6424
6425 #. type: verbatim
6426 #: ../fish/guestfish-actions.pod:279
6427 #, no-wrap
6428 msgid ""
6429 " aug-get augpath\n"
6430 "\n"
6431 msgstr ""
6432
6433 #. type: textblock
6434 #: ../fish/guestfish-actions.pod:281 ../src/guestfs-actions.pod:413
6435 msgid ""
6436 "Look up the value associated with C<path>.  If C<path> matches exactly one "
6437 "node, the C<value> is returned."
6438 msgstr ""
6439
6440 #. type: =head2
6441 #: ../fish/guestfish-actions.pod:284
6442 msgid "aug-init"
6443 msgstr ""
6444
6445 #. type: verbatim
6446 #: ../fish/guestfish-actions.pod:286
6447 #, no-wrap
6448 msgid ""
6449 " aug-init root flags\n"
6450 "\n"
6451 msgstr ""
6452
6453 #. type: textblock
6454 #: ../fish/guestfish-actions.pod:288 ../src/guestfs-actions.pod:428
6455 msgid ""
6456 "Create a new Augeas handle for editing configuration files.  If there was "
6457 "any previous Augeas handle associated with this guestfs session, then it is "
6458 "closed."
6459 msgstr ""
6460
6461 #. type: textblock
6462 #: ../fish/guestfish-actions.pod:292
6463 msgid "You must call this before using any other L</aug-*> commands."
6464 msgstr ""
6465
6466 #. type: textblock
6467 #: ../fish/guestfish-actions.pod:295 ../src/guestfs-actions.pod:435
6468 msgid ""
6469 "C<root> is the filesystem root.  C<root> must not be NULL, use C</> instead."
6470 msgstr ""
6471
6472 #. type: textblock
6473 #: ../fish/guestfish-actions.pod:298 ../src/guestfs-actions.pod:438
6474 msgid ""
6475 "The flags are the same as the flags defined in E<lt>augeas.hE<gt>, the "
6476 "logical I<or> of the following integers:"
6477 msgstr ""
6478
6479 #. type: =item
6480 #: ../fish/guestfish-actions.pod:304 ../src/guestfs-actions.pod:444
6481 msgid "C<AUG_SAVE_BACKUP> = 1"
6482 msgstr "C<AUG_SAVE_BACKUP> = 1"
6483
6484 #. type: textblock
6485 #: ../fish/guestfish-actions.pod:306 ../src/guestfs-actions.pod:446
6486 msgid "Keep the original file with a C<.augsave> extension."
6487 msgstr ""
6488
6489 #. type: =item
6490 #: ../fish/guestfish-actions.pod:308 ../src/guestfs-actions.pod:448
6491 msgid "C<AUG_SAVE_NEWFILE> = 2"
6492 msgstr "C<AUG_SAVE_NEWFILE> = 2"
6493
6494 #. type: textblock
6495 #: ../fish/guestfish-actions.pod:310 ../src/guestfs-actions.pod:450
6496 msgid ""
6497 "Save changes into a file with extension C<.augnew>, and do not overwrite "
6498 "original.  Overrides C<AUG_SAVE_BACKUP>."
6499 msgstr ""
6500
6501 #. type: =item
6502 #: ../fish/guestfish-actions.pod:313 ../src/guestfs-actions.pod:453
6503 msgid "C<AUG_TYPE_CHECK> = 4"
6504 msgstr "C<AUG_TYPE_CHECK> = 4"
6505
6506 #. type: textblock
6507 #: ../fish/guestfish-actions.pod:315 ../src/guestfs-actions.pod:455
6508 msgid "Typecheck lenses."
6509 msgstr ""
6510
6511 #. type: textblock
6512 #: ../fish/guestfish-actions.pod:317
6513 msgid ""
6514 "This option is only useful when debugging Augeas lenses.  Use of this option"
6515 " may require additional memory for the libguestfs appliance.  You may need "
6516 "to set the C<LIBGUESTFS_MEMSIZE> environment variable or call L</set-"
6517 "memsize>."
6518 msgstr ""
6519
6520 #. type: =item
6521 #: ../fish/guestfish-actions.pod:322 ../src/guestfs-actions.pod:462
6522 msgid "C<AUG_NO_STDINC> = 8"
6523 msgstr "C<AUG_NO_STDINC> = 8"
6524
6525 #. type: textblock
6526 #: ../fish/guestfish-actions.pod:324 ../src/guestfs-actions.pod:464
6527 msgid "Do not use standard load path for modules."
6528 msgstr ""
6529
6530 #. type: =item
6531 #: ../fish/guestfish-actions.pod:326 ../src/guestfs-actions.pod:466
6532 msgid "C<AUG_SAVE_NOOP> = 16"
6533 msgstr "C<AUG_SAVE_NOOP> = 16"
6534
6535 #. type: textblock
6536 #: ../fish/guestfish-actions.pod:328 ../src/guestfs-actions.pod:468
6537 msgid "Make save a no-op, just record what would have been changed."
6538 msgstr ""
6539
6540 #. type: =item
6541 #: ../fish/guestfish-actions.pod:330 ../src/guestfs-actions.pod:470
6542 msgid "C<AUG_NO_LOAD> = 32"
6543 msgstr "C<AUG_NO_LOAD> = 32"
6544
6545 #. type: textblock
6546 #: ../fish/guestfish-actions.pod:332
6547 msgid "Do not load the tree in L</aug-init>."
6548 msgstr ""
6549
6550 #. type: textblock
6551 #: ../fish/guestfish-actions.pod:336
6552 msgid "To close the handle, you can call L</aug-close>."
6553 msgstr ""
6554
6555 #. type: textblock
6556 #: ../fish/guestfish-actions.pod:338 ../src/guestfs-actions.pod:478
6557 msgid "To find out more about Augeas, see L<http://augeas.net/>."
6558 msgstr ""
6559
6560 #. type: =head2
6561 #: ../fish/guestfish-actions.pod:340
6562 msgid "aug-insert"
6563 msgstr ""
6564
6565 #. type: verbatim
6566 #: ../fish/guestfish-actions.pod:342
6567 #, no-wrap
6568 msgid ""
6569 " aug-insert augpath label true|false\n"
6570 "\n"
6571 msgstr ""
6572
6573 #. type: textblock
6574 #: ../fish/guestfish-actions.pod:344 ../src/guestfs-actions.pod:492
6575 msgid ""
6576 "Create a new sibling C<label> for C<path>, inserting it into the tree before"
6577 " or after C<path> (depending on the boolean flag C<before>)."
6578 msgstr ""
6579
6580 #. type: textblock
6581 #: ../fish/guestfish-actions.pod:348 ../src/guestfs-actions.pod:496
6582 msgid ""
6583 "C<path> must match exactly one existing node in the tree, and C<label> must "
6584 "be a label, ie. not contain C</>, C<*> or end with a bracketed index C<[N]>."
6585 msgstr ""
6586
6587 #. type: =head2
6588 #: ../fish/guestfish-actions.pod:352
6589 msgid "aug-load"
6590 msgstr ""
6591
6592 #. type: verbatim
6593 #: ../fish/guestfish-actions.pod:354
6594 #, no-wrap
6595 msgid ""
6596 " aug-load\n"
6597 "\n"
6598 msgstr ""
6599
6600 #. type: textblock
6601 #: ../fish/guestfish-actions.pod:356 ../src/guestfs-actions.pod:509
6602 msgid "Load files into the tree."
6603 msgstr "Завантажити файли до ієрархії."
6604
6605 #. type: textblock
6606 #: ../fish/guestfish-actions.pod:358 ../src/guestfs-actions.pod:511
6607 msgid "See C<aug_load> in the Augeas documentation for the full gory details."
6608 msgstr ""
6609
6610 #. type: =head2
6611 #: ../fish/guestfish-actions.pod:361
6612 msgid "aug-ls"
6613 msgstr ""
6614
6615 #. type: verbatim
6616 #: ../fish/guestfish-actions.pod:363
6617 #, no-wrap
6618 msgid ""
6619 " aug-ls augpath\n"
6620 "\n"
6621 msgstr ""
6622
6623 #. type: textblock
6624 #: ../fish/guestfish-actions.pod:365
6625 msgid ""
6626 "This is just a shortcut for listing L</aug-match> C<path/*> and sorting the "
6627 "resulting nodes into alphabetical order."
6628 msgstr ""
6629
6630 #. type: =head2
6631 #: ../fish/guestfish-actions.pod:368
6632 msgid "aug-match"
6633 msgstr ""
6634
6635 #. type: verbatim
6636 #: ../fish/guestfish-actions.pod:370
6637 #, no-wrap
6638 msgid ""
6639 " aug-match augpath\n"
6640 "\n"
6641 msgstr ""
6642
6643 #. type: textblock
6644 #: ../fish/guestfish-actions.pod:372 ../src/guestfs-actions.pod:539
6645 msgid ""
6646 "Returns a list of paths which match the path expression C<path>.  The "
6647 "returned paths are sufficiently qualified so that they match exactly one "
6648 "node in the current tree."
6649 msgstr ""
6650
6651 #. type: =head2
6652 #: ../fish/guestfish-actions.pod:376
6653 msgid "aug-mv"
6654 msgstr ""
6655
6656 #. type: verbatim
6657 #: ../fish/guestfish-actions.pod:378
6658 #, no-wrap
6659 msgid ""
6660 " aug-mv src dest\n"
6661 "\n"
6662 msgstr ""
6663
6664 #. type: textblock
6665 #: ../fish/guestfish-actions.pod:380 ../src/guestfs-actions.pod:556
6666 msgid ""
6667 "Move the node C<src> to C<dest>.  C<src> must match exactly one node.  "
6668 "C<dest> is overwritten if it exists."
6669 msgstr ""
6670
6671 #. type: =head2
6672 #: ../fish/guestfish-actions.pod:383
6673 msgid "aug-rm"
6674 msgstr ""
6675
6676 #. type: verbatim
6677 #: ../fish/guestfish-actions.pod:385
6678 #, no-wrap
6679 msgid ""
6680 " aug-rm augpath\n"
6681 "\n"
6682 msgstr ""
6683
6684 #. type: textblock
6685 #: ../fish/guestfish-actions.pod:387 ../src/guestfs-actions.pod:569
6686 msgid "Remove C<path> and all of its children."
6687 msgstr ""
6688
6689 #. type: textblock
6690 #: ../fish/guestfish-actions.pod:389 ../src/guestfs-actions.pod:571
6691 msgid "On success this returns the number of entries which were removed."
6692 msgstr ""
6693
6694 #. type: =head2
6695 #: ../fish/guestfish-actions.pod:391
6696 msgid "aug-save"
6697 msgstr ""
6698
6699 #. type: verbatim
6700 #: ../fish/guestfish-actions.pod:393
6701 #, no-wrap
6702 msgid ""
6703 " aug-save\n"
6704 "\n"
6705 msgstr ""
6706
6707 #. type: textblock
6708 #: ../fish/guestfish-actions.pod:395 ../src/guestfs-actions.pod:582
6709 msgid "This writes all pending changes to disk."
6710 msgstr ""
6711
6712 #. type: textblock
6713 #: ../fish/guestfish-actions.pod:397
6714 msgid ""
6715 "The flags which were passed to L</aug-init> affect exactly how files are "
6716 "saved."
6717 msgstr ""
6718
6719 #. type: =head2
6720 #: ../fish/guestfish-actions.pod:400
6721 msgid "aug-set"
6722 msgstr ""
6723
6724 #. type: verbatim
6725 #: ../fish/guestfish-actions.pod:402
6726 #, no-wrap
6727 msgid ""
6728 " aug-set augpath val\n"
6729 "\n"
6730 msgstr ""
6731
6732 #. type: textblock
6733 #: ../fish/guestfish-actions.pod:404 ../src/guestfs-actions.pod:598
6734 msgid "Set the value associated with C<path> to C<val>."
6735 msgstr ""
6736
6737 #. type: textblock
6738 #: ../fish/guestfish-actions.pod:406
6739 msgid ""
6740 "In the Augeas API, it is possible to clear a node by setting the value to "
6741 "NULL.  Due to an oversight in the libguestfs API you cannot do that with "
6742 "this call.  Instead you must use the L</aug-clear> call."
6743 msgstr ""
6744
6745 #. type: =head2
6746 #: ../fish/guestfish-actions.pod:411
6747 msgid "available"
6748 msgstr ""
6749
6750 #. type: verbatim
6751 #: ../fish/guestfish-actions.pod:413
6752 #, no-wrap
6753 msgid ""
6754 " available 'groups ...'\n"
6755 "\n"
6756 msgstr ""
6757
6758 #. type: textblock
6759 #: ../fish/guestfish-actions.pod:415 ../src/guestfs-actions.pod:615
6760 msgid ""
6761 "This command is used to check the availability of some groups of "
6762 "functionality in the appliance, which not all builds of the libguestfs "
6763 "appliance will be able to provide."
6764 msgstr ""
6765
6766 #. type: textblock
6767 #: ../fish/guestfish-actions.pod:419
6768 msgid ""
6769 "The libguestfs groups, and the functions that those groups correspond to, "
6770 "are listed in L<guestfs(3)/AVAILABILITY>.  You can also fetch this list at "
6771 "runtime by calling L</available-all-groups>."
6772 msgstr ""
6773
6774 #. type: textblock
6775 #: ../fish/guestfish-actions.pod:424 ../src/guestfs-actions.pod:624
6776 msgid ""
6777 "The argument C<groups> is a list of group names, eg: C<[\"inotify\", "
6778 "\"augeas\"]> would check for the availability of the Linux inotify functions"
6779 " and Augeas (configuration file editing) functions."
6780 msgstr ""
6781
6782 #. type: textblock
6783 #: ../fish/guestfish-actions.pod:429 ../src/guestfs-actions.pod:629
6784 msgid "The command returns no error if I<all> requested groups are available."
6785 msgstr ""
6786
6787 #. type: textblock
6788 #: ../fish/guestfish-actions.pod:431 ../src/guestfs-actions.pod:631
6789 msgid ""
6790 "It fails with an error if one or more of the requested groups is unavailable"
6791 " in the appliance."
6792 msgstr ""
6793
6794 #. type: textblock
6795 #: ../fish/guestfish-actions.pod:434 ../src/guestfs-actions.pod:634
6796 msgid ""
6797 "If an unknown group name is included in the list of groups then an error is "
6798 "always returned."
6799 msgstr ""
6800
6801 #. type: textblock
6802 #: ../fish/guestfish-actions.pod:437 ../src/guestfs-actions.pod:637
6803 msgid "I<Notes:>"
6804 msgstr "I<Нотатки:>"
6805
6806 #. type: textblock
6807 #: ../fish/guestfish-actions.pod:443
6808 msgid "You must call L</launch> before calling this function."
6809 msgstr ""
6810
6811 #. type: textblock
6812 #: ../fish/guestfish-actions.pod:445 ../src/guestfs-actions.pod:645
6813 msgid ""
6814 "The reason is because we don't know what groups are supported by the "
6815 "appliance/daemon until it is running and can be queried."
6816 msgstr ""
6817
6818 #. type: textblock
6819 #: ../fish/guestfish-actions.pod:451 ../src/guestfs-actions.pod:651
6820 msgid ""
6821 "If a group of functions is available, this does not necessarily mean that "
6822 "they will work.  You still have to check for errors when calling individual "
6823 "API functions even if they are available."
6824 msgstr ""
6825
6826 #. type: textblock
6827 #: ../fish/guestfish-actions.pod:458 ../src/guestfs-actions.pod:658
6828 msgid ""
6829 "It is usually the job of distro packagers to build complete functionality "
6830 "into the libguestfs appliance.  Upstream libguestfs, if built from source "
6831 "with all requirements satisfied, will support everything."
6832 msgstr ""
6833
6834 #. type: textblock
6835 #: ../fish/guestfish-actions.pod:465
6836 msgid ""
6837 "This call was added in version C<1.0.80>.  In previous versions of "
6838 "libguestfs all you could do would be to speculatively execute a command to "
6839 "find out if the daemon implemented it.  See also L</version>."
6840 msgstr ""
6841
6842 #. type: =head2
6843 #: ../fish/guestfish-actions.pod:472
6844 msgid "available-all-groups"
6845 msgstr ""
6846
6847 #. type: verbatim
6848 #: ../fish/guestfish-actions.pod:474
6849 #, no-wrap
6850 msgid ""
6851 " available-all-groups\n"
6852 "\n"
6853 msgstr ""
6854
6855 #. type: textblock
6856 #: ../fish/guestfish-actions.pod:476
6857 msgid ""
6858 "This command returns a list of all optional groups that this daemon knows "
6859 "about.  Note this returns both supported and unsupported groups.  To find "
6860 "out which ones the daemon can actually support you have to call "
6861 "L</available> on each member of the returned list."
6862 msgstr ""
6863
6864 #. type: textblock
6865 #: ../fish/guestfish-actions.pod:482
6866 msgid "See also L</available> and L<guestfs(3)/AVAILABILITY>."
6867 msgstr ""
6868
6869 #. type: =head2
6870 #: ../fish/guestfish-actions.pod:484
6871 msgid "base64-in"
6872 msgstr ""
6873
6874 #. type: verbatim
6875 #: ../fish/guestfish-actions.pod:486
6876 #, no-wrap
6877 msgid ""
6878 " base64-in (base64file|-) filename\n"
6879 "\n"
6880 msgstr ""
6881
6882 #. type: textblock
6883 #: ../fish/guestfish-actions.pod:488 ../src/guestfs-actions.pod:702
6884 msgid ""
6885 "This command uploads base64-encoded data from C<base64file> to C<filename>."
6886 msgstr ""
6887
6888 #. type: textblock
6889 #: ../fish/guestfish-actions.pod:491 ../fish/guestfish-actions.pod:500
6890 #: ../fish/guestfish-actions.pod:749 ../fish/guestfish-actions.pod:833
6891 #: ../fish/guestfish-actions.pod:854 ../fish/guestfish-actions.pod:1025
6892 #: ../fish/guestfish-actions.pod:1044 ../fish/guestfish-actions.pod:1418
6893 #: ../fish/guestfish-actions.pod:4882 ../fish/guestfish-actions.pod:4894
6894 #: ../fish/guestfish-actions.pod:4905 ../fish/guestfish-actions.pod:4916
6895 #: ../fish/guestfish-actions.pod:4968 ../fish/guestfish-actions.pod:4977
6896 #: ../fish/guestfish-actions.pod:5031 ../fish/guestfish-actions.pod:5054
6897 msgid "Use C<-> instead of a filename to read/write from stdin/stdout."
6898 msgstr ""
6899
6900 #. type: =head2
6901 #: ../fish/guestfish-actions.pod:493
6902 msgid "base64-out"
6903 msgstr ""
6904
6905 #. type: verbatim
6906 #: ../fish/guestfish-actions.pod:495
6907 #, no-wrap
6908 msgid ""
6909 " base64-out filename (base64file|-)\n"
6910 "\n"
6911 msgstr ""
6912
6913 #. type: textblock
6914 #: ../fish/guestfish-actions.pod:497 ../src/guestfs-actions.pod:716
6915 msgid ""
6916 "This command downloads the contents of C<filename>, writing it out to local "
6917 "file C<base64file> encoded as base64."
6918 msgstr ""
6919
6920 #. type: =head2
6921 #: ../fish/guestfish-actions.pod:502
6922 msgid "blockdev-flushbufs"
6923 msgstr ""
6924
6925 #. type: verbatim
6926 #: ../fish/guestfish-actions.pod:504
6927 #, no-wrap
6928 msgid ""
6929 " blockdev-flushbufs device\n"
6930 "\n"
6931 msgstr ""
6932
6933 #. type: textblock
6934 #: ../fish/guestfish-actions.pod:506 ../src/guestfs-actions.pod:729
6935 msgid ""
6936 "This tells the kernel to flush internal buffers associated with C<device>."
6937 msgstr ""
6938
6939 #. type: textblock
6940 #: ../fish/guestfish-actions.pod:509 ../fish/guestfish-actions.pod:520
6941 #: ../fish/guestfish-actions.pod:529 ../fish/guestfish-actions.pod:539
6942 #: ../fish/guestfish-actions.pod:551 ../fish/guestfish-actions.pod:564
6943 #: ../fish/guestfish-actions.pod:572 ../fish/guestfish-actions.pod:583
6944 #: ../fish/guestfish-actions.pod:591 ../fish/guestfish-actions.pod:599
6945 #: ../src/guestfs-actions.pod:732 ../src/guestfs-actions.pod:749
6946 #: ../src/guestfs-actions.pod:764 ../src/guestfs-actions.pod:780
6947 #: ../src/guestfs-actions.pod:798 ../src/guestfs-actions.pod:817
6948 #: ../src/guestfs-actions.pod:831 ../src/guestfs-actions.pod:849
6949 #: ../src/guestfs-actions.pod:863 ../src/guestfs-actions.pod:877
6950 msgid "This uses the L<blockdev(8)> command."
6951 msgstr ""
6952
6953 #. type: =head2
6954 #: ../fish/guestfish-actions.pod:511
6955 msgid "blockdev-getbsz"
6956 msgstr ""
6957
6958 #. type: verbatim
6959 #: ../fish/guestfish-actions.pod:513
6960 #, no-wrap
6961 msgid ""
6962 " blockdev-getbsz device\n"
6963 "\n"
6964 msgstr ""
6965
6966 #. type: textblock
6967 #: ../fish/guestfish-actions.pod:515 ../src/guestfs-actions.pod:744
6968 msgid "This returns the block size of a device."
6969 msgstr ""
6970
6971 #. type: textblock
6972 #: ../fish/guestfish-actions.pod:517 ../fish/guestfish-actions.pod:580
6973 #: ../src/guestfs-actions.pod:746 ../src/guestfs-actions.pod:846
6974 msgid ""
6975 "(Note this is different from both I<size in blocks> and I<filesystem block "
6976 "size>)."
6977 msgstr ""
6978
6979 #. type: =head2
6980 #: ../fish/guestfish-actions.pod:522
6981 msgid "blockdev-getro"
6982 msgstr ""
6983
6984 #. type: verbatim
6985 #: ../fish/guestfish-actions.pod:524
6986 #, no-wrap
6987 msgid ""
6988 " blockdev-getro device\n"
6989 "\n"
6990 msgstr ""
6991
6992 #. type: textblock
6993 #: ../fish/guestfish-actions.pod:526 ../src/guestfs-actions.pod:761
6994 msgid ""
6995 "Returns a boolean indicating if the block device is read-only (true if read-"
6996 "only, false if not)."
6997 msgstr ""
6998
6999 #. type: =head2
7000 #: ../fish/guestfish-actions.pod:531
7001 msgid "blockdev-getsize64"
7002 msgstr ""
7003
7004 #. type: verbatim
7005 #: ../fish/guestfish-actions.pod:533
7006 #, no-wrap
7007 msgid ""
7008 " blockdev-getsize64 device\n"
7009 "\n"
7010 msgstr ""
7011
7012 #. type: textblock
7013 #: ../fish/guestfish-actions.pod:535 ../src/guestfs-actions.pod:776
7014 msgid "This returns the size of the device in bytes."
7015 msgstr ""
7016
7017 #. type: textblock
7018 #: ../fish/guestfish-actions.pod:537
7019 msgid "See also L</blockdev-getsz>."
7020 msgstr "Див. також L</blockdev-getsz>."
7021
7022 #. type: =head2
7023 #: ../fish/guestfish-actions.pod:541
7024 msgid "blockdev-getss"
7025 msgstr ""
7026
7027 #. type: verbatim
7028 #: ../fish/guestfish-actions.pod:543
7029 #, no-wrap
7030 msgid ""
7031 " blockdev-getss device\n"
7032 "\n"
7033 msgstr ""
7034
7035 #. type: textblock
7036 #: ../fish/guestfish-actions.pod:545 ../src/guestfs-actions.pod:792
7037 msgid ""
7038 "This returns the size of sectors on a block device.  Usually 512, but can be"
7039 " larger for modern devices."
7040 msgstr ""
7041
7042 #. type: textblock
7043 #: ../fish/guestfish-actions.pod:548
7044 msgid ""
7045 "(Note, this is not the size in sectors, use L</blockdev-getsz> for that)."
7046 msgstr ""
7047
7048 #. type: =head2
7049 #: ../fish/guestfish-actions.pod:553
7050 msgid "blockdev-getsz"
7051 msgstr ""
7052
7053 #. type: verbatim
7054 #: ../fish/guestfish-actions.pod:555
7055 #, no-wrap
7056 msgid ""
7057 " blockdev-getsz device\n"
7058 "\n"
7059 msgstr ""
7060
7061 #. type: textblock
7062 #: ../fish/guestfish-actions.pod:557 ../src/guestfs-actions.pod:810
7063 msgid ""
7064 "This returns the size of the device in units of 512-byte sectors (even if "
7065 "the sectorsize isn't 512 bytes ... weird)."
7066 msgstr ""
7067
7068 #. type: textblock
7069 #: ../fish/guestfish-actions.pod:560
7070 msgid ""
7071 "See also L</blockdev-getss> for the real sector size of the device, and L"
7072 "</blockdev-getsize64> for the more useful I<size in bytes>."
7073 msgstr ""
7074
7075 #. type: =head2
7076 #: ../fish/guestfish-actions.pod:566
7077 msgid "blockdev-rereadpt"
7078 msgstr ""
7079
7080 #. type: verbatim
7081 #: ../fish/guestfish-actions.pod:568
7082 #, no-wrap
7083 msgid ""
7084 " blockdev-rereadpt device\n"
7085 "\n"
7086 msgstr ""
7087
7088 #. type: textblock
7089 #: ../fish/guestfish-actions.pod:570 ../src/guestfs-actions.pod:829
7090 msgid "Reread the partition table on C<device>."
7091 msgstr ""
7092
7093 #. type: =head2
7094 #: ../fish/guestfish-actions.pod:574
7095 msgid "blockdev-setbsz"
7096 msgstr ""
7097
7098 #. type: verbatim
7099 #: ../fish/guestfish-actions.pod:576
7100 #, no-wrap
7101 msgid ""
7102 " blockdev-setbsz device blocksize\n"
7103 "\n"
7104 msgstr ""
7105
7106 #. type: textblock
7107 #: ../fish/guestfish-actions.pod:578 ../src/guestfs-actions.pod:844
7108 msgid "This sets the block size of a device."
7109 msgstr ""
7110
7111 #. type: =head2
7112 #: ../fish/guestfish-actions.pod:585
7113 msgid "blockdev-setro"
7114 msgstr ""
7115
7116 #. type: verbatim
7117 #: ../fish/guestfish-actions.pod:587
7118 #, no-wrap
7119 msgid ""
7120 " blockdev-setro device\n"
7121 "\n"
7122 msgstr ""
7123
7124 #. type: textblock
7125 #: ../fish/guestfish-actions.pod:589 ../src/guestfs-actions.pod:861
7126 msgid "Sets the block device named C<device> to read-only."
7127 msgstr ""
7128
7129 #. type: =head2
7130 #: ../fish/guestfish-actions.pod:593
7131 msgid "blockdev-setrw"
7132 msgstr ""
7133
7134 #. type: verbatim
7135 #: ../fish/guestfish-actions.pod:595
7136 #, no-wrap
7137 msgid ""
7138 " blockdev-setrw device\n"
7139 "\n"
7140 msgstr ""
7141
7142 #. type: textblock
7143 #: ../fish/guestfish-actions.pod:597 ../src/guestfs-actions.pod:875
7144 msgid "Sets the block device named C<device> to read-write."
7145 msgstr ""
7146
7147 #. type: =head2
7148 #: ../fish/guestfish-actions.pod:601
7149 msgid "btrfs-filesystem-resize"
7150 msgstr ""
7151
7152 #. type: verbatim
7153 #: ../fish/guestfish-actions.pod:603
7154 #, no-wrap
7155 msgid ""
7156 " btrfs-filesystem-resize mountpoint [size:..]\n"
7157 "\n"
7158 msgstr ""
7159
7160 #. type: textblock
7161 #: ../fish/guestfish-actions.pod:605 ../src/guestfs-actions.pod:897
7162 msgid "This command resizes a btrfs filesystem."
7163 msgstr ""
7164
7165 #. type: textblock
7166 #: ../fish/guestfish-actions.pod:607 ../src/guestfs-actions.pod:899
7167 msgid ""
7168 "Note that unlike other resize calls, the filesystem has to be mounted and "
7169 "the parameter is the mountpoint not the device (this is a requirement of "
7170 "btrfs itself)."
7171 msgstr ""
7172
7173 #. type: textblock
7174 #: ../fish/guestfish-actions.pod:611 ../fish/guestfish-actions.pod:3615
7175 #: ../src/guestfs-actions.pod:903 ../src/guestfs-actions.pod:5638
7176 msgid "The optional parameters are:"
7177 msgstr ""
7178
7179 #. type: =item
7180 #: ../fish/guestfish-actions.pod:615 ../fish/guestfish-actions.pod:3619
7181 #: ../src/guestfs-actions.pod:907 ../src/guestfs-actions.pod:5642
7182 msgid "C<size>"
7183 msgstr "C<розмір>"
7184
7185 #. type: textblock
7186 #: ../fish/guestfish-actions.pod:617 ../src/guestfs-actions.pod:909
7187 msgid ""
7188 "The new size (in bytes) of the filesystem.  If omitted, the filesystem is "
7189 "resized to the maximum size."
7190 msgstr ""
7191
7192 #. type: textblock
7193 #: ../fish/guestfish-actions.pod:622 ../src/guestfs-actions.pod:914
7194 msgid "See also L<btrfs(8)>."
7195 msgstr "Див. також L<btrfs(8)>."
7196
7197 #. type: =head2
7198 #: ../fish/guestfish-actions.pod:626
7199 msgid "case-sensitive-path"
7200 msgstr ""
7201
7202 #. type: verbatim
7203 #: ../fish/guestfish-actions.pod:628
7204 #, no-wrap
7205 msgid ""
7206 " case-sensitive-path path\n"
7207 "\n"
7208 msgstr ""
7209
7210 #. type: textblock
7211 #: ../fish/guestfish-actions.pod:630 ../src/guestfs-actions.pod:948
7212 msgid ""
7213 "This can be used to resolve case insensitive paths on a filesystem which is "
7214 "case sensitive.  The use case is to resolve paths which you have read from "
7215 "Windows configuration files or the Windows Registry, to the true path."
7216 msgstr ""
7217
7218 #. type: textblock
7219 #: ../fish/guestfish-actions.pod:635 ../src/guestfs-actions.pod:953
7220 msgid ""
7221 "The command handles a peculiarity of the Linux ntfs-3g filesystem driver "
7222 "(and probably others), which is that although the underlying filesystem is "
7223 "case-insensitive, the driver exports the filesystem to Linux as case-"
7224 "sensitive."
7225 msgstr ""
7226
7227 #. type: textblock
7228 #: ../fish/guestfish-actions.pod:640 ../src/guestfs-actions.pod:958
7229 msgid ""
7230 "One consequence of this is that special directories such as C<c:\\windows> "
7231 "may appear as C</WINDOWS> or C</windows> (or other things) depending on the "
7232 "precise details of how they were created.  In Windows itself this would not "
7233 "be a problem."
7234 msgstr ""
7235
7236 #. type: textblock
7237 #: ../fish/guestfish-actions.pod:646 ../src/guestfs-actions.pod:964
7238 msgid ""
7239 "Bug or feature? You decide: L<http://www.tuxera.com/community/ntfs-3g-"
7240 "faq/#posixfilenames1>"
7241 msgstr ""
7242
7243 #. type: textblock
7244 #: ../fish/guestfish-actions.pod:649 ../src/guestfs-actions.pod:967
7245 msgid ""
7246 "This function resolves the true case of each element in the path and returns"
7247 " the case-sensitive path."
7248 msgstr ""
7249
7250 #. type: textblock
7251 #: ../fish/guestfish-actions.pod:652
7252 msgid ""
7253 "Thus L</case-sensitive-path> (\"/Windows/System32\")  might return "
7254 "C<\"/WINDOWS/system32\"> (the exact return value would depend on details of "
7255 "how the directories were originally created under Windows)."
7256 msgstr ""
7257
7258 #. type: textblock
7259 #: ../fish/guestfish-actions.pod:657 ../src/guestfs-actions.pod:975
7260 msgid "I<Note>: This function does not handle drive names, backslashes etc."
7261 msgstr ""
7262
7263 #. type: textblock
7264 #: ../fish/guestfish-actions.pod:660
7265 msgid "See also L</realpath>."
7266 msgstr "Див. також L</realpath>."
7267
7268 #. type: =head2
7269 #: ../fish/guestfish-actions.pod:662
7270 msgid "cat"
7271 msgstr "cat"
7272
7273 #. type: verbatim
7274 #: ../fish/guestfish-actions.pod:664
7275 #, no-wrap
7276 msgid ""
7277 " cat path\n"
7278 "\n"
7279 msgstr ""
7280 " cat шлях\n"
7281 "\n"
7282
7283 #. type: textblock
7284 #: ../fish/guestfish-actions.pod:666 ../fish/guestfish-actions.pod:4049
7285 #: ../src/guestfs-actions.pod:991 ../src/guestfs-actions.pod:6299
7286 msgid "Return the contents of the file named C<path>."
7287 msgstr ""
7288
7289 #. type: textblock
7290 #: ../fish/guestfish-actions.pod:668
7291 msgid ""
7292 "Note that this function cannot correctly handle binary files (specifically, "
7293 "files containing C<\\0> character which is treated as end of string).  For "
7294 "those you need to use the L</read-file> or L</download> functions which have"
7295 " a more complex interface."
7296 msgstr ""
7297
7298 #. type: textblock
7299 #: ../fish/guestfish-actions.pod:673 ../fish/guestfish-actions.pod:808
7300 #: ../fish/guestfish-actions.pod:820 ../fish/guestfish-actions.pod:1103
7301 #: ../fish/guestfish-actions.pod:1113 ../fish/guestfish-actions.pod:1180
7302 #: ../fish/guestfish-actions.pod:1190 ../fish/guestfish-actions.pod:1382
7303 #: ../fish/guestfish-actions.pod:1695 ../fish/guestfish-actions.pod:1705
7304 #: ../fish/guestfish-actions.pod:1755 ../fish/guestfish-actions.pod:1770
7305 #: ../fish/guestfish-actions.pod:1780 ../fish/guestfish-actions.pod:1799
7306 #: ../fish/guestfish-actions.pod:3919 ../fish/guestfish-actions.pod:3934
7307 #: ../fish/guestfish-actions.pod:4010 ../fish/guestfish-actions.pod:4027
7308 #: ../fish/guestfish-actions.pod:4042 ../fish/guestfish-actions.pod:4723
7309 #: ../fish/guestfish-actions.pod:4769 ../fish/guestfish-actions.pod:4854
7310 #: ../fish/guestfish-actions.pod:4869 ../fish/guestfish-actions.pod:5275
7311 #: ../fish/guestfish-actions.pod:5287 ../fish/guestfish-actions.pod:5305
7312 #: ../fish/guestfish-actions.pod:5322 ../fish/guestfish-actions.pod:5332
7313 #: ../fish/guestfish-actions.pod:5389 ../fish/guestfish-actions.pod:5399
7314 #: ../fish/guestfish-actions.pod:5428 ../fish/guestfish-actions.pod:5438
7315 #: ../src/guestfs-actions.pod:1001 ../src/guestfs-actions.pod:1180
7316 #: ../src/guestfs-actions.pod:1200 ../src/guestfs-actions.pod:1847
7317 #: ../src/guestfs-actions.pod:1866 ../src/guestfs-actions.pod:1969
7318 #: ../src/guestfs-actions.pod:1988 ../src/guestfs-actions.pod:2234
7319 #: ../src/guestfs-actions.pod:2716 ../src/guestfs-actions.pod:2735
7320 #: ../src/guestfs-actions.pod:2800 ../src/guestfs-actions.pod:2824
7321 #: ../src/guestfs-actions.pod:2841 ../src/guestfs-actions.pod:2870
7322 #: ../src/guestfs-actions.pod:6081 ../src/guestfs-actions.pod:6107
7323 #: ../src/guestfs-actions.pod:6238 ../src/guestfs-actions.pod:6264
7324 #: ../src/guestfs-actions.pod:6288 ../src/guestfs-actions.pod:7255
7325 #: ../src/guestfs-actions.pod:7310 ../src/guestfs-actions.pod:7456
7326 #: ../src/guestfs-actions.pod:7480 ../src/guestfs-actions.pod:8145
7327 #: ../src/guestfs-actions.pod:8165 ../src/guestfs-actions.pod:8198
7328 #: ../src/guestfs-actions.pod:8217 ../src/guestfs-actions.pod:8236
7329 #: ../src/guestfs-actions.pod:8330 ../src/guestfs-actions.pod:8349
7330 #: ../src/guestfs-actions.pod:8395 ../src/guestfs-actions.pod:8414
7331 msgid ""
7332 "Because of the message protocol, there is a transfer limit of somewhere "
7333 "between 2MB and 4MB.  See L<guestfs(3)/PROTOCOL LIMITS>."
7334 msgstr ""
7335
7336 #. type: =head2
7337 #: ../fish/guestfish-actions.pod:676
7338 msgid "checksum"
7339 msgstr "checksum"
7340
7341 #. type: verbatim
7342 #: ../fish/guestfish-actions.pod:678
7343 #, no-wrap
7344 msgid ""
7345 " checksum csumtype path\n"
7346 "\n"
7347 msgstr ""
7348
7349 #. type: textblock
7350 #: ../fish/guestfish-actions.pod:680 ../src/guestfs-actions.pod:1013
7351 msgid ""
7352 "This call computes the MD5, SHAx or CRC checksum of the file named C<path>."
7353 msgstr ""
7354
7355 #. type: textblock
7356 #: ../fish/guestfish-actions.pod:683 ../src/guestfs-actions.pod:1016
7357 msgid ""
7358 "The type of checksum to compute is given by the C<csumtype> parameter which "
7359 "must have one of the following values:"
7360 msgstr ""
7361
7362 #. type: =item
7363 #: ../fish/guestfish-actions.pod:688 ../src/guestfs-actions.pod:1021
7364 msgid "C<crc>"
7365 msgstr "C<crc>"
7366
7367 #. type: textblock
7368 #: ../fish/guestfish-actions.pod:690 ../src/guestfs-actions.pod:1023
7369 msgid ""
7370 "Compute the cyclic redundancy check (CRC) specified by POSIX for the "
7371 "C<cksum> command."
7372 msgstr ""
7373
7374 #. type: =item
7375 #: ../fish/guestfish-actions.pod:693 ../src/guestfs-actions.pod:1026
7376 msgid "C<md5>"
7377 msgstr "C<md5>"
7378
7379 #. type: textblock
7380 #: ../fish/guestfish-actions.pod:695 ../src/guestfs-actions.pod:1028
7381 msgid "Compute the MD5 hash (using the C<md5sum> program)."
7382 msgstr ""
7383
7384 #. type: =item
7385 #: ../fish/guestfish-actions.pod:697 ../src/guestfs-actions.pod:1030
7386 msgid "C<sha1>"
7387 msgstr "C<sha1>"
7388
7389 #. type: textblock
7390 #: ../fish/guestfish-actions.pod:699 ../src/guestfs-actions.pod:1032
7391 msgid "Compute the SHA1 hash (using the C<sha1sum> program)."
7392 msgstr ""
7393
7394 #. type: =item
7395 #: ../fish/guestfish-actions.pod:701 ../src/guestfs-actions.pod:1034
7396 msgid "C<sha224>"
7397 msgstr "C<sha224>"
7398
7399 #. type: textblock
7400 #: ../fish/guestfish-actions.pod:703 ../src/guestfs-actions.pod:1036
7401 msgid "Compute the SHA224 hash (using the C<sha224sum> program)."
7402 msgstr ""
7403
7404 #. type: =item
7405 #: ../fish/guestfish-actions.pod:705 ../src/guestfs-actions.pod:1038
7406 msgid "C<sha256>"
7407 msgstr "C<sha256>"
7408
7409 #. type: textblock
7410 #: ../fish/guestfish-actions.pod:707 ../src/guestfs-actions.pod:1040
7411 msgid "Compute the SHA256 hash (using the C<sha256sum> program)."
7412 msgstr ""
7413
7414 #. type: =item
7415 #: ../fish/guestfish-actions.pod:709 ../src/guestfs-actions.pod:1042
7416 msgid "C<sha384>"
7417 msgstr "C<sha384>"
7418
7419 #. type: textblock
7420 #: ../fish/guestfish-actions.pod:711 ../src/guestfs-actions.pod:1044
7421 msgid "Compute the SHA384 hash (using the C<sha384sum> program)."
7422 msgstr ""
7423
7424 #. type: =item
7425 #: ../fish/guestfish-actions.pod:713 ../src/guestfs-actions.pod:1046
7426 msgid "C<sha512>"
7427 msgstr "C<sha512>"
7428
7429 #. type: textblock
7430 #: ../fish/guestfish-actions.pod:715 ../src/guestfs-actions.pod:1048
7431 msgid "Compute the SHA512 hash (using the C<sha512sum> program)."
7432 msgstr ""
7433
7434 #. type: textblock
7435 #: ../fish/guestfish-actions.pod:719 ../src/guestfs-actions.pod:1052
7436 msgid "The checksum is returned as a printable string."
7437 msgstr ""
7438
7439 #. type: textblock
7440 #: ../fish/guestfish-actions.pod:721
7441 msgid "To get the checksum for a device, use L</checksum-device>."
7442 msgstr ""
7443
7444 #. type: textblock
7445 #: ../fish/guestfish-actions.pod:723
7446 msgid "To get the checksums for many files, use L</checksums-out>."
7447 msgstr ""
7448
7449 #. type: =head2
7450 #: ../fish/guestfish-actions.pod:725
7451 msgid "checksum-device"
7452 msgstr "checksum-device"
7453
7454 #. type: verbatim
7455 #: ../fish/guestfish-actions.pod:727
7456 #, no-wrap
7457 msgid ""
7458 " checksum-device csumtype device\n"
7459 "\n"
7460 msgstr ""
7461
7462 #. type: textblock
7463 #: ../fish/guestfish-actions.pod:729
7464 msgid ""
7465 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
7466 "device named C<device>.  For the types of checksums supported see the "
7467 "L</checksum> command."
7468 msgstr ""
7469
7470 #. type: =head2
7471 #: ../fish/guestfish-actions.pod:733
7472 msgid "checksums-out"
7473 msgstr ""
7474
7475 #. type: verbatim
7476 #: ../fish/guestfish-actions.pod:735
7477 #, no-wrap
7478 msgid ""
7479 " checksums-out csumtype directory (sumsfile|-)\n"
7480 "\n"
7481 msgstr ""
7482
7483 #. type: textblock
7484 #: ../fish/guestfish-actions.pod:737 ../src/guestfs-actions.pod:1087
7485 msgid ""
7486 "This command computes the checksums of all regular files in C<directory> and"
7487 " then emits a list of those checksums to the local output file C<sumsfile>."
7488 msgstr ""
7489
7490 #. type: textblock
7491 #: ../fish/guestfish-actions.pod:741 ../src/guestfs-actions.pod:1091
7492 msgid ""
7493 "This can be used for verifying the integrity of a virtual machine.  However "
7494 "to be properly secure you should pay attention to the output of the checksum"
7495 " command (it uses the ones from GNU coreutils).  In particular when the "
7496 "filename is not printable, coreutils uses a special backslash syntax.  For "
7497 "more information, see the GNU coreutils info file."
7498 msgstr ""
7499
7500 #. type: =head2
7501 #: ../fish/guestfish-actions.pod:751
7502 msgid "chmod"
7503 msgstr "chmod"
7504
7505 #. type: verbatim
7506 #: ../fish/guestfish-actions.pod:753
7507 #, no-wrap
7508 msgid ""
7509 " chmod mode path\n"
7510 "\n"
7511 msgstr ""
7512
7513 #. type: textblock
7514 #: ../fish/guestfish-actions.pod:755 ../src/guestfs-actions.pod:1110
7515 msgid ""
7516 "Change the mode (permissions) of C<path> to C<mode>.  Only numeric modes are"
7517 " supported."
7518 msgstr ""
7519
7520 #. type: textblock
7521 #: ../fish/guestfish-actions.pod:758 ../src/guestfs-actions.pod:1113
7522 msgid ""
7523 "I<Note>: When using this command from guestfish, C<mode> by default would be"
7524 " decimal, unless you prefix it with C<0> to get octal, ie. use C<0700> not "
7525 "C<700>."
7526 msgstr ""
7527
7528 #. type: textblock
7529 #: ../fish/guestfish-actions.pod:762 ../fish/guestfish-actions.pod:3268
7530 #: ../fish/guestfish-actions.pod:3407 ../fish/guestfish-actions.pod:3417
7531 #: ../fish/guestfish-actions.pod:3427 ../src/guestfs-actions.pod:1117
7532 #: ../src/guestfs-actions.pod:5045 ../src/guestfs-actions.pod:5254
7533 #: ../src/guestfs-actions.pod:5273 ../src/guestfs-actions.pod:5292
7534 msgid "The mode actually set is affected by the umask."
7535 msgstr ""
7536
7537 #. type: =head2
7538 #: ../fish/guestfish-actions.pod:764
7539 msgid "chown"
7540 msgstr "chown"
7541
7542 #. type: verbatim
7543 #: ../fish/guestfish-actions.pod:766
7544 #, no-wrap
7545 msgid ""
7546 " chown owner group path\n"
7547 "\n"
7548 msgstr ""
7549
7550 #. type: textblock
7551 #: ../fish/guestfish-actions.pod:768 ../src/guestfs-actions.pod:1131
7552 msgid "Change the file owner to C<owner> and group to C<group>."
7553 msgstr ""
7554
7555 #. type: textblock
7556 #: ../fish/guestfish-actions.pod:770 ../fish/guestfish-actions.pod:2703
7557 #: ../src/guestfs-actions.pod:1133 ../src/guestfs-actions.pod:4116
7558 msgid ""
7559 "Only numeric uid and gid are supported.  If you want to use names, you will "
7560 "need to locate and parse the password file yourself (Augeas support makes "
7561 "this relatively easy)."
7562 msgstr ""
7563
7564 #. type: =head2
7565 #: ../fish/guestfish-actions.pod:774
7566 msgid "command"
7567 msgstr "command"
7568
7569 #. type: verbatim
7570 #: ../fish/guestfish-actions.pod:776
7571 #, no-wrap
7572 msgid ""
7573 " command 'arguments ...'\n"
7574 "\n"
7575 msgstr ""
7576 " command 'параметри...'\n"
7577 "\n"
7578
7579 #. type: textblock
7580 #: ../fish/guestfish-actions.pod:778 ../src/guestfs-actions.pod:1147
7581 msgid ""
7582 "This call runs a command from the guest filesystem.  The filesystem must be "
7583 "mounted, and must contain a compatible operating system (ie. something "
7584 "Linux, with the same or compatible processor architecture)."
7585 msgstr ""
7586
7587 #. type: textblock
7588 #: ../fish/guestfish-actions.pod:783
7589 msgid ""
7590 "The single parameter is an argv-style list of arguments.  The first element "
7591 "is the name of the program to run.  Subsequent elements are parameters.  The"
7592 " list must be non-empty (ie. must contain a program name).  Note that the "
7593 "command runs directly, and is I<not> invoked via the shell (see L</sh>)."
7594 msgstr ""
7595
7596 #. type: textblock
7597 #: ../fish/guestfish-actions.pod:790 ../src/guestfs-actions.pod:1159
7598 msgid "The return value is anything printed to I<stdout> by the command."
7599 msgstr ""
7600
7601 #. type: textblock
7602 #: ../fish/guestfish-actions.pod:793 ../src/guestfs-actions.pod:1162
7603 msgid ""
7604 "If the command returns a non-zero exit status, then this function returns an"
7605 " error message.  The error message string is the content of I<stderr> from "
7606 "the command."
7607 msgstr ""
7608
7609 #. type: textblock
7610 #: ../fish/guestfish-actions.pod:797 ../src/guestfs-actions.pod:1166
7611 msgid ""
7612 "The C<$PATH> environment variable will contain at least C</usr/bin> and "
7613 "C</bin>.  If you require a program from another location, you should provide"
7614 " the full path in the first parameter."
7615 msgstr ""
7616
7617 #. type: textblock
7618 #: ../fish/guestfish-actions.pod:802 ../src/guestfs-actions.pod:1171
7619 msgid ""
7620 "Shared libraries and data files required by the program must be available on"
7621 " filesystems which are mounted in the correct places.  It is the caller's "
7622 "responsibility to ensure all filesystems that are needed are mounted at the "
7623 "right locations."
7624 msgstr ""
7625
7626 #. type: =head2
7627 #: ../fish/guestfish-actions.pod:811
7628 msgid "command-lines"
7629 msgstr ""
7630
7631 #. type: verbatim
7632 #: ../fish/guestfish-actions.pod:813
7633 #, no-wrap
7634 msgid ""
7635 " command-lines 'arguments ...'\n"
7636 "\n"
7637 msgstr ""
7638
7639 #. type: textblock
7640 #: ../fish/guestfish-actions.pod:815
7641 msgid ""
7642 "This is the same as L</command>, but splits the result into a list of lines."
7643 msgstr ""
7644
7645 #. type: textblock
7646 #: ../fish/guestfish-actions.pod:818
7647 msgid "See also: L</sh-lines>"
7648 msgstr "Див. також L</sh-lines>"
7649
7650 #. type: =head2
7651 #: ../fish/guestfish-actions.pod:823
7652 msgid "compress-device-out"
7653 msgstr ""
7654
7655 #. type: verbatim
7656 #: ../fish/guestfish-actions.pod:825
7657 #, no-wrap
7658 msgid ""
7659 " compress-device-out ctype device (zdevice|-) [level:..]\n"
7660 "\n"
7661 msgstr ""
7662
7663 #. type: textblock
7664 #: ../fish/guestfish-actions.pod:827 ../src/guestfs-actions.pod:1221
7665 msgid ""
7666 "This command compresses C<device> and writes it out to the local file "
7667 "C<zdevice>."
7668 msgstr ""
7669
7670 #. type: textblock
7671 #: ../fish/guestfish-actions.pod:830
7672 msgid ""
7673 "The C<ctype> and optional C<level> parameters have the same meaning as in L"
7674 "</compress-out>."
7675 msgstr ""
7676
7677 #. type: =head2
7678 #: ../fish/guestfish-actions.pod:837
7679 msgid "compress-out"
7680 msgstr ""
7681
7682 #. type: verbatim
7683 #: ../fish/guestfish-actions.pod:839
7684 #, no-wrap
7685 msgid ""
7686 " compress-out ctype file (zfile|-) [level:..]\n"
7687 "\n"
7688 msgstr ""
7689
7690 #. type: textblock
7691 #: ../fish/guestfish-actions.pod:841 ../src/guestfs-actions.pod:1273
7692 msgid ""
7693 "This command compresses C<file> and writes it out to the local file "
7694 "C<zfile>."
7695 msgstr ""
7696
7697 #. type: textblock
7698 #: ../fish/guestfish-actions.pod:844 ../src/guestfs-actions.pod:1276
7699 msgid ""
7700 "The compression program used is controlled by the C<ctype> parameter.  "
7701 "Currently this includes: C<compress>, C<gzip>, C<bzip2>, C<xz> or C<lzop>.  "
7702 "Some compression types may not be supported by particular builds of "
7703 "libguestfs, in which case you will get an error containing the substring "
7704 "\"not supported\"."
7705 msgstr ""
7706
7707 #. type: textblock
7708 #: ../fish/guestfish-actions.pod:850 ../src/guestfs-actions.pod:1282
7709 msgid ""
7710 "The optional C<level> parameter controls compression level.  The meaning and"
7711 " default for this parameter depends on the compression program being used."
7712 msgstr ""
7713
7714 #. type: =head2
7715 #: ../fish/guestfish-actions.pod:858
7716 msgid "config"
7717 msgstr ""
7718
7719 #. type: verbatim
7720 #: ../fish/guestfish-actions.pod:860
7721 #, no-wrap
7722 msgid ""
7723 " config qemuparam qemuvalue\n"
7724 "\n"
7725 msgstr ""
7726
7727 #. type: textblock
7728 #: ../fish/guestfish-actions.pod:862 ../src/guestfs-actions.pod:1323
7729 msgid ""
7730 "This can be used to add arbitrary qemu command line parameters of the form "
7731 "I<-param value>.  Actually it's not quite arbitrary - we prevent you from "
7732 "setting some parameters which would interfere with parameters that we use."
7733 msgstr ""
7734
7735 #. type: textblock
7736 #: ../fish/guestfish-actions.pod:867 ../src/guestfs-actions.pod:1328
7737 msgid "The first character of C<param> string must be a C<-> (dash)."
7738 msgstr ""
7739
7740 #. type: textblock
7741 #: ../fish/guestfish-actions.pod:869 ../src/guestfs-actions.pod:1330
7742 msgid "C<value> can be NULL."
7743 msgstr ""
7744
7745 #. type: =head2
7746 #: ../fish/guestfish-actions.pod:871
7747 msgid "copy-device-to-device"
7748 msgstr ""
7749
7750 #. type: verbatim
7751 #: ../fish/guestfish-actions.pod:873
7752 #, no-wrap
7753 msgid ""
7754 " copy-device-to-device src dest [srcoffset:..] [destoffset:..] [size:..]\n"
7755 "\n"
7756 msgstr ""
7757
7758 #. type: textblock
7759 #: ../fish/guestfish-actions.pod:875
7760 msgid ""
7761 "The four calls L</copy-device-to-device>, L</copy-device-to-file>, L</copy-"
7762 "file-to-device>, and L</copy-file-to-file> let you copy from a source "
7763 "(device|file) to a destination (device|file)."
7764 msgstr ""
7765
7766 #. type: textblock
7767 #: ../fish/guestfish-actions.pod:882 ../src/guestfs-actions.pod:1360
7768 msgid ""
7769 "Partial copies can be made since you can specify optionally the source "
7770 "offset, destination offset and size to copy.  These values are all specified"
7771 " in bytes.  If not given, the offsets both default to zero, and the size "
7772 "defaults to copying as much as possible until we hit the end of the source."
7773 msgstr ""
7774
7775 #. type: textblock
7776 #: ../fish/guestfish-actions.pod:888 ../src/guestfs-actions.pod:1366
7777 msgid ""
7778 "The source and destination may be the same object.  However overlapping "
7779 "regions may not be copied correctly."
7780 msgstr ""
7781
7782 #. type: textblock
7783 #: ../fish/guestfish-actions.pod:891 ../src/guestfs-actions.pod:1369
7784 msgid ""
7785 "If the destination is a file, it is created if required.  If the destination"
7786 " file is not large enough, it is extended."
7787 msgstr ""
7788
7789 #. type: =head2
7790 #: ../fish/guestfish-actions.pod:896
7791 msgid "copy-device-to-file"
7792 msgstr ""
7793
7794 #. type: verbatim
7795 #: ../fish/guestfish-actions.pod:898
7796 #, no-wrap
7797 msgid ""
7798 " copy-device-to-file src dest [srcoffset:..] [destoffset:..] [size:..]\n"
7799 "\n"
7800 msgstr ""
7801
7802 #. type: textblock
7803 #: ../fish/guestfish-actions.pod:900 ../fish/guestfish-actions.pod:909
7804 #: ../fish/guestfish-actions.pod:918
7805 msgid "See L</copy-device-to-device> for a general overview of this call."
7806 msgstr ""
7807
7808 #. type: =head2
7809 #: ../fish/guestfish-actions.pod:905
7810 msgid "copy-file-to-device"
7811 msgstr ""
7812
7813 #. type: verbatim
7814 #: ../fish/guestfish-actions.pod:907
7815 #, no-wrap
7816 msgid ""
7817 " copy-file-to-device src dest [srcoffset:..] [destoffset:..] [size:..]\n"
7818 "\n"
7819 msgstr ""
7820
7821 #. type: =head2
7822 #: ../fish/guestfish-actions.pod:914
7823 msgid "copy-file-to-file"
7824 msgstr ""
7825
7826 #. type: verbatim
7827 #: ../fish/guestfish-actions.pod:916
7828 #, no-wrap
7829 msgid ""
7830 " copy-file-to-file src dest [srcoffset:..] [destoffset:..] [size:..]\n"
7831 "\n"
7832 msgstr ""
7833
7834 #. type: textblock
7835 #: ../fish/guestfish-actions.pod:921
7836 msgid ""
7837 "This is B<not> the function you want for copying files.  This is for copying"
7838 " blocks within existing files.  See L</cp>, L</cp-a> and L</mv> for general "
7839 "file copying and moving functions."
7840 msgstr ""
7841
7842 #. type: =head2
7843 #: ../fish/guestfish-actions.pod:928
7844 msgid "copy-size"
7845 msgstr ""
7846
7847 #. type: verbatim
7848 #: ../fish/guestfish-actions.pod:930
7849 #, no-wrap
7850 msgid ""
7851 " copy-size src dest size\n"
7852 "\n"
7853 msgstr ""
7854
7855 #. type: textblock
7856 #: ../fish/guestfish-actions.pod:932 ../src/guestfs-actions.pod:1576
7857 msgid ""
7858 "This command copies exactly C<size> bytes from one source device or file "
7859 "C<src> to another destination device or file C<dest>."
7860 msgstr ""
7861
7862 #. type: textblock
7863 #: ../fish/guestfish-actions.pod:935 ../src/guestfs-actions.pod:1579
7864 msgid ""
7865 "Note this will fail if the source is too short or if the destination is not "
7866 "large enough."
7867 msgstr ""
7868
7869 #. type: textblock
7870 #: ../fish/guestfish-actions.pod:938 ../fish/guestfish-actions.pod:973
7871 msgid ""
7872 "I<This function is deprecated.> In new code, use the "
7873 "L</copy_device_to_device> call instead."
7874 msgstr ""
7875
7876 #. type: =head2
7877 #: ../fish/guestfish-actions.pod:945
7878 msgid "cp"
7879 msgstr "cp"
7880
7881 #. type: verbatim
7882 #: ../fish/guestfish-actions.pod:947
7883 #, no-wrap
7884 msgid ""
7885 " cp src dest\n"
7886 "\n"
7887 msgstr ""
7888
7889 #. type: textblock
7890 #: ../fish/guestfish-actions.pod:949 ../src/guestfs-actions.pod:1598
7891 msgid ""
7892 "This copies a file from C<src> to C<dest> where C<dest> is either a "
7893 "destination filename or destination directory."
7894 msgstr ""
7895
7896 #. type: =head2
7897 #: ../fish/guestfish-actions.pod:952
7898 msgid "cp-a"
7899 msgstr "cp-a"
7900
7901 #. type: verbatim
7902 #: ../fish/guestfish-actions.pod:954
7903 #, no-wrap
7904 msgid ""
7905 " cp-a src dest\n"
7906 "\n"
7907 msgstr ""
7908
7909 #. type: textblock
7910 #: ../fish/guestfish-actions.pod:956 ../src/guestfs-actions.pod:1612
7911 msgid ""
7912 "This copies a file or directory from C<src> to C<dest> recursively using the"
7913 " C<cp -a> command."
7914 msgstr ""
7915
7916 #. type: =head2
7917 #: ../fish/guestfish-actions.pod:959
7918 msgid "dd"
7919 msgstr "dd"
7920
7921 #. type: verbatim
7922 #: ../fish/guestfish-actions.pod:961
7923 #, no-wrap
7924 msgid ""
7925 " dd src dest\n"
7926 "\n"
7927 msgstr ""
7928
7929 #. type: textblock
7930 #: ../fish/guestfish-actions.pod:963 ../src/guestfs-actions.pod:1633
7931 msgid ""
7932 "This command copies from one source device or file C<src> to another "
7933 "destination device or file C<dest>.  Normally you would use this to copy to "
7934 "or from a device or partition, for example to duplicate a filesystem."
7935 msgstr ""
7936
7937 #. type: textblock
7938 #: ../fish/guestfish-actions.pod:968
7939 msgid ""
7940 "If the destination is a device, it must be as large or larger than the "
7941 "source file or device, otherwise the copy will fail.  This command cannot do"
7942 " partial copies (see L</copy-device-to-device>)."
7943 msgstr ""
7944
7945 #. type: =head2
7946 #: ../fish/guestfish-actions.pod:980
7947 msgid "df"
7948 msgstr "df"
7949
7950 #. type: verbatim
7951 #: ../fish/guestfish-actions.pod:982
7952 #, no-wrap
7953 msgid ""
7954 " df\n"
7955 "\n"
7956 msgstr ""
7957 " df\n"
7958 "\n"
7959
7960 #. type: textblock
7961 #: ../fish/guestfish-actions.pod:984 ../src/guestfs-actions.pod:1652
7962 msgid "This command runs the C<df> command to report disk space used."
7963 msgstr ""
7964
7965 #. type: textblock
7966 #: ../fish/guestfish-actions.pod:986 ../fish/guestfish-actions.pod:997
7967 msgid ""
7968 "This command is mostly useful for interactive sessions.  It is I<not> "
7969 "intended that you try to parse the output string.  Use L</statvfs> from "
7970 "programs."
7971 msgstr ""
7972
7973 #. type: =head2
7974 #: ../fish/guestfish-actions.pod:990
7975 msgid "df-h"
7976 msgstr "df-h"
7977
7978 #. type: verbatim
7979 #: ../fish/guestfish-actions.pod:992
7980 #, no-wrap
7981 msgid ""
7982 " df-h\n"
7983 "\n"
7984 msgstr ""
7985 " df-h\n"
7986 "\n"
7987
7988 #. type: textblock
7989 #: ../fish/guestfish-actions.pod:994 ../src/guestfs-actions.pod:1668
7990 msgid ""
7991 "This command runs the C<df -h> command to report disk space used in human-"
7992 "readable format."
7993 msgstr ""
7994
7995 #. type: =head2
7996 #: ../fish/guestfish-actions.pod:1001
7997 msgid "dmesg"
7998 msgstr "dmesg"
7999
8000 #. type: verbatim
8001 #: ../fish/guestfish-actions.pod:1003
8002 #, no-wrap
8003 msgid ""
8004 " dmesg\n"
8005 "\n"
8006 msgstr ""
8007 " dmesg\n"
8008 "\n"
8009
8010 #. type: textblock
8011 #: ../fish/guestfish-actions.pod:1005 ../src/guestfs-actions.pod:1685
8012 msgid ""
8013 "This returns the kernel messages (C<dmesg> output) from the guest kernel.  "
8014 "This is sometimes useful for extended debugging of problems."
8015 msgstr ""
8016
8017 #. type: textblock
8018 #: ../fish/guestfish-actions.pod:1009
8019 msgid ""
8020 "Another way to get the same information is to enable verbose messages with L"
8021 "</set-verbose> or by setting the environment variable C<LIBGUESTFS_DEBUG=1> "
8022 "before running the program."
8023 msgstr ""
8024
8025 #. type: =head2
8026 #: ../fish/guestfish-actions.pod:1014
8027 msgid "download"
8028 msgstr "download"
8029
8030 #. type: verbatim
8031 #: ../fish/guestfish-actions.pod:1016
8032 #, no-wrap
8033 msgid ""
8034 " download remotefilename (filename|-)\n"
8035 "\n"
8036 msgstr ""
8037
8038 #. type: textblock
8039 #: ../fish/guestfish-actions.pod:1018 ../fish/guestfish-actions.pod:1031
8040 #: ../src/guestfs-actions.pod:1706 ../src/guestfs-actions.pod:1731
8041 msgid ""
8042 "Download file C<remotefilename> and save it as C<filename> on the local "
8043 "machine."
8044 msgstr ""
8045
8046 #. type: textblock
8047 #: ../fish/guestfish-actions.pod:1021 ../fish/guestfish-actions.pod:5027
8048 #: ../src/guestfs-actions.pod:1709 ../src/guestfs-actions.pod:7715
8049 msgid "C<filename> can also be a named pipe."
8050 msgstr ""
8051
8052 #. type: textblock
8053 #: ../fish/guestfish-actions.pod:1023
8054 msgid "See also L</upload>, L</cat>."
8055 msgstr ""
8056
8057 #. type: =head2
8058 #: ../fish/guestfish-actions.pod:1027
8059 msgid "download-offset"
8060 msgstr "download-offset"
8061
8062 #. type: verbatim
8063 #: ../fish/guestfish-actions.pod:1029
8064 #, no-wrap
8065 msgid ""
8066 " download-offset remotefilename (filename|-) offset size\n"
8067 "\n"
8068 msgstr ""
8069
8070 #. type: textblock
8071 #: ../fish/guestfish-actions.pod:1034 ../src/guestfs-actions.pod:1734
8072 msgid ""
8073 "C<remotefilename> is read for C<size> bytes starting at C<offset> (this "
8074 "region must be within the file or device)."
8075 msgstr ""
8076
8077 #. type: textblock
8078 #: ../fish/guestfish-actions.pod:1037
8079 msgid ""
8080 "Note that there is no limit on the amount of data that can be downloaded "
8081 "with this call, unlike with L</pread>, and this call always reads the full "
8082 "amount unless an error occurs."
8083 msgstr ""
8084
8085 #. type: textblock
8086 #: ../fish/guestfish-actions.pod:1042
8087 msgid "See also L</download>, L</pread>."
8088 msgstr ""
8089
8090 #. type: =head2
8091 #: ../fish/guestfish-actions.pod:1046
8092 msgid "drop-caches"
8093 msgstr ""
8094
8095 #. type: verbatim
8096 #: ../fish/guestfish-actions.pod:1048
8097 #, no-wrap
8098 msgid ""
8099 " drop-caches whattodrop\n"
8100 "\n"
8101 msgstr ""
8102
8103 #. type: textblock
8104 #: ../fish/guestfish-actions.pod:1050 ../src/guestfs-actions.pod:1759
8105 msgid ""
8106 "This instructs the guest kernel to drop its page cache, and/or dentries and "
8107 "inode caches.  The parameter C<whattodrop> tells the kernel what precisely "
8108 "to drop, see L<http://linux-mm.org/Drop_Caches>"
8109 msgstr ""
8110
8111 #. type: textblock
8112 #: ../fish/guestfish-actions.pod:1055 ../src/guestfs-actions.pod:1764
8113 msgid "Setting C<whattodrop> to 3 should drop everything."
8114 msgstr ""
8115
8116 #. type: textblock
8117 #: ../fish/guestfish-actions.pod:1057 ../src/guestfs-actions.pod:1766
8118 msgid ""
8119 "This automatically calls L<sync(2)> before the operation, so that the "
8120 "maximum guest memory is freed."
8121 msgstr ""
8122
8123 #. type: =head2
8124 #: ../fish/guestfish-actions.pod:1060
8125 msgid "du"
8126 msgstr "du"
8127
8128 #. type: verbatim
8129 #: ../fish/guestfish-actions.pod:1062
8130 #, no-wrap
8131 msgid ""
8132 " du path\n"
8133 "\n"
8134 msgstr ""
8135 " du шлях\n"
8136 "\n"
8137
8138 #. type: textblock
8139 #: ../fish/guestfish-actions.pod:1064 ../src/guestfs-actions.pod:1779
8140 msgid ""
8141 "This command runs the C<du -s> command to estimate file space usage for "
8142 "C<path>."
8143 msgstr ""
8144
8145 #. type: textblock
8146 #: ../fish/guestfish-actions.pod:1067 ../src/guestfs-actions.pod:1782
8147 msgid ""
8148 "C<path> can be a file or a directory.  If C<path> is a directory then the "
8149 "estimate includes the contents of the directory and all subdirectories "
8150 "(recursively)."
8151 msgstr ""
8152
8153 #. type: textblock
8154 #: ../fish/guestfish-actions.pod:1071 ../src/guestfs-actions.pod:1786
8155 msgid ""
8156 "The result is the estimated size in I<kilobytes> (ie. units of 1024 bytes)."
8157 msgstr ""
8158
8159 #. type: =head2
8160 #: ../fish/guestfish-actions.pod:1074
8161 msgid "e2fsck-f"
8162 msgstr "e2fsck-f"
8163
8164 #. type: verbatim
8165 #: ../fish/guestfish-actions.pod:1076
8166 #, no-wrap
8167 msgid ""
8168 " e2fsck-f device\n"
8169 "\n"
8170 msgstr ""
8171
8172 #. type: textblock
8173 #: ../fish/guestfish-actions.pod:1078 ../src/guestfs-actions.pod:1804
8174 msgid ""
8175 "This runs C<e2fsck -p -f device>, ie. runs the ext2/ext3 filesystem checker "
8176 "on C<device>, noninteractively (I<-p>), even if the filesystem appears to be"
8177 " clean (I<-f>)."
8178 msgstr ""
8179
8180 #. type: textblock
8181 #: ../fish/guestfish-actions.pod:1082
8182 msgid ""
8183 "This command is only needed because of L</resize2fs> (q.v.).  Normally you "
8184 "should use L</fsck>."
8185 msgstr ""
8186
8187 #. type: =head2
8188 #: ../fish/guestfish-actions.pod:1085
8189 msgid "echo-daemon"
8190 msgstr ""
8191
8192 #. type: verbatim
8193 #: ../fish/guestfish-actions.pod:1087
8194 #, no-wrap
8195 msgid ""
8196 " echo-daemon 'words ...'\n"
8197 "\n"
8198 msgstr ""
8199
8200 #. type: textblock
8201 #: ../fish/guestfish-actions.pod:1089 ../src/guestfs-actions.pod:1821
8202 msgid ""
8203 "This command concatenates the list of C<words> passed with single spaces "
8204 "between them and returns the resulting string."
8205 msgstr ""
8206
8207 #. type: textblock
8208 #: ../fish/guestfish-actions.pod:1092 ../src/guestfs-actions.pod:1824
8209 msgid "You can use this command to test the connection through to the daemon."
8210 msgstr ""
8211
8212 #. type: textblock
8213 #: ../fish/guestfish-actions.pod:1094
8214 msgid "See also L</ping-daemon>."
8215 msgstr "Див. також L</ping-daemon>."
8216
8217 #. type: =head2
8218 #: ../fish/guestfish-actions.pod:1096
8219 msgid "egrep"
8220 msgstr "egrep"
8221
8222 #. type: verbatim
8223 #: ../fish/guestfish-actions.pod:1098
8224 #, no-wrap
8225 msgid ""
8226 " egrep regex path\n"
8227 "\n"
8228 msgstr ""
8229
8230 #. type: textblock
8231 #: ../fish/guestfish-actions.pod:1100 ../src/guestfs-actions.pod:1840
8232 msgid ""
8233 "This calls the external C<egrep> program and returns the matching lines."
8234 msgstr ""
8235
8236 #. type: =head2
8237 #: ../fish/guestfish-actions.pod:1106
8238 msgid "egrepi"
8239 msgstr "egrepi"
8240
8241 #. type: verbatim
8242 #: ../fish/guestfish-actions.pod:1108
8243 #, no-wrap
8244 msgid ""
8245 " egrepi regex path\n"
8246 "\n"
8247 msgstr ""
8248
8249 #. type: textblock
8250 #: ../fish/guestfish-actions.pod:1110 ../src/guestfs-actions.pod:1859
8251 msgid ""
8252 "This calls the external C<egrep -i> program and returns the matching lines."
8253 msgstr ""
8254
8255 #. type: =head2
8256 #: ../fish/guestfish-actions.pod:1116
8257 msgid "equal"
8258 msgstr "equal"
8259
8260 #. type: verbatim
8261 #: ../fish/guestfish-actions.pod:1118
8262 #, no-wrap
8263 msgid ""
8264 " equal file1 file2\n"
8265 "\n"
8266 msgstr ""
8267 " equal файл1 файл2\n"
8268 "\n"
8269
8270 #. type: textblock
8271 #: ../fish/guestfish-actions.pod:1120 ../src/guestfs-actions.pod:1878
8272 msgid ""
8273 "This compares the two files C<file1> and C<file2> and returns true if their "
8274 "content is exactly equal, or false otherwise."
8275 msgstr ""
8276
8277 #. type: textblock
8278 #: ../fish/guestfish-actions.pod:1123 ../src/guestfs-actions.pod:1881
8279 msgid "The external L<cmp(1)> program is used for the comparison."
8280 msgstr ""
8281
8282 #. type: =head2
8283 #: ../fish/guestfish-actions.pod:1125
8284 msgid "exists"
8285 msgstr "exists"
8286
8287 #. type: verbatim
8288 #: ../fish/guestfish-actions.pod:1127
8289 #, no-wrap
8290 msgid ""
8291 " exists path\n"
8292 "\n"
8293 msgstr ""
8294 " exists шлях\n"
8295 "\n"
8296
8297 #. type: textblock
8298 #: ../fish/guestfish-actions.pod:1129 ../src/guestfs-actions.pod:1893
8299 msgid ""
8300 "This returns C<true> if and only if there is a file, directory (or anything)"
8301 " with the given C<path> name."
8302 msgstr ""
8303
8304 #. type: textblock
8305 #: ../fish/guestfish-actions.pod:1132
8306 msgid "See also L</is-file>, L</is-dir>, L</stat>."
8307 msgstr "Див. також L</is-file>, L</is-dir>, L</stat>."
8308
8309 #. type: =head2
8310 #: ../fish/guestfish-actions.pod:1134
8311 msgid "fallocate"
8312 msgstr "fallocate"
8313
8314 #. type: verbatim
8315 #: ../fish/guestfish-actions.pod:1136
8316 #, no-wrap
8317 msgid ""
8318 " fallocate path len\n"
8319 "\n"
8320 msgstr ""
8321 " fallocate шлях довжина\n"
8322 "\n"
8323
8324 #. type: textblock
8325 #: ../fish/guestfish-actions.pod:1138 ../fish/guestfish-actions.pod:1157
8326 #: ../src/guestfs-actions.pod:1916 ../src/guestfs-actions.pod:1935
8327 msgid ""
8328 "This command preallocates a file (containing zero bytes) named C<path> of "
8329 "size C<len> bytes.  If the file exists already, it is overwritten."
8330 msgstr ""
8331
8332 #. type: textblock
8333 #: ../fish/guestfish-actions.pod:1142 ../src/guestfs-actions.pod:1920
8334 msgid ""
8335 "Do not confuse this with the guestfish-specific C<alloc> command which "
8336 "allocates a file in the host and attaches it as a device."
8337 msgstr ""
8338
8339 #. type: textblock
8340 #: ../fish/guestfish-actions.pod:1146
8341 msgid ""
8342 "I<This function is deprecated.> In new code, use the L</fallocate64> call "
8343 "instead."
8344 msgstr ""
8345
8346 #. type: =head2
8347 #: ../fish/guestfish-actions.pod:1153
8348 msgid "fallocate64"
8349 msgstr "fallocate64"
8350
8351 #. type: verbatim
8352 #: ../fish/guestfish-actions.pod:1155
8353 #, no-wrap
8354 msgid ""
8355 " fallocate64 path len\n"
8356 "\n"
8357 msgstr ""
8358 " fallocate64 шлях довжина\n"
8359 "\n"
8360
8361 #. type: textblock
8362 #: ../fish/guestfish-actions.pod:1161
8363 msgid ""
8364 "Note that this call allocates disk blocks for the file.  To create a sparse "
8365 "file use L</truncate-size> instead."
8366 msgstr ""
8367
8368 #. type: textblock
8369 #: ../fish/guestfish-actions.pod:1164
8370 msgid ""
8371 "The deprecated call L</fallocate> does the same, but owing to an oversight "
8372 "it only allowed 30 bit lengths to be specified, effectively limiting the "
8373 "maximum size of files created through that call to 1GB."
8374 msgstr ""
8375
8376 #. type: textblock
8377 #: ../fish/guestfish-actions.pod:1169 ../src/guestfs-actions.pod:1947
8378 msgid ""
8379 "Do not confuse this with the guestfish-specific C<alloc> and C<sparse> "
8380 "commands which create a file in the host and attach it as a device."
8381 msgstr ""
8382
8383 #. type: =head2
8384 #: ../fish/guestfish-actions.pod:1173
8385 msgid "fgrep"
8386 msgstr "fgrep"
8387
8388 #. type: verbatim
8389 #: ../fish/guestfish-actions.pod:1175
8390 #, no-wrap
8391 msgid ""
8392 " fgrep pattern path\n"
8393 "\n"
8394 msgstr ""
8395 " fgrep шаблон шлях\n"
8396 "\n"
8397
8398 #. type: textblock
8399 #: ../fish/guestfish-actions.pod:1177 ../src/guestfs-actions.pod:1962
8400 msgid ""
8401 "This calls the external C<fgrep> program and returns the matching lines."
8402 msgstr ""
8403
8404 #. type: =head2
8405 #: ../fish/guestfish-actions.pod:1183
8406 msgid "fgrepi"
8407 msgstr "fgrepi"
8408
8409 #. type: verbatim
8410 #: ../fish/guestfish-actions.pod:1185
8411 #, no-wrap
8412 msgid ""
8413 " fgrepi pattern path\n"
8414 "\n"
8415 msgstr ""
8416 " fgrepi шаблон шлях\n"
8417 "\n"
8418
8419 #. type: textblock
8420 #: ../fish/guestfish-actions.pod:1187 ../src/guestfs-actions.pod:1981
8421 msgid ""
8422 "This calls the external C<fgrep -i> program and returns the matching lines."
8423 msgstr ""
8424
8425 #. type: =head2
8426 #: ../fish/guestfish-actions.pod:1193
8427 msgid "file"
8428 msgstr "file"
8429
8430 #. type: verbatim
8431 #: ../fish/guestfish-actions.pod:1195
8432 #, no-wrap
8433 msgid ""
8434 " file path\n"
8435 "\n"
8436 msgstr ""
8437 " file шлях\n"
8438 "\n"
8439
8440 #. type: textblock
8441 #: ../fish/guestfish-actions.pod:1197 ../src/guestfs-actions.pod:1999
8442 msgid ""
8443 "This call uses the standard L<file(1)> command to determine the type or "
8444 "contents of the file."
8445 msgstr ""
8446
8447 #. type: textblock
8448 #: ../fish/guestfish-actions.pod:1200 ../src/guestfs-actions.pod:2002
8449 msgid ""
8450 "This call will also transparently look inside various types of compressed "
8451 "file."
8452 msgstr ""
8453
8454 #. type: textblock
8455 #: ../fish/guestfish-actions.pod:1203 ../src/guestfs-actions.pod:2005
8456 msgid ""
8457 "The exact command which runs is C<file -zb path>.  Note in particular that "
8458 "the filename is not prepended to the output (the I<-b> option)."
8459 msgstr ""
8460
8461 #. type: textblock
8462 #: ../fish/guestfish-actions.pod:1207 ../src/guestfs-actions.pod:2009
8463 msgid ""
8464 "The output depends on the output of the underlying L<file(1)> command and it"
8465 " can change in future in ways beyond our control.  In other words, the "
8466 "output is not guaranteed by the ABI."
8467 msgstr ""
8468
8469 #. type: textblock
8470 #: ../fish/guestfish-actions.pod:1211
8471 msgid ""
8472 "See also: L<file(1)>, L</vfs-type>, L</lstat>, L</is-file>, L</is-blockdev> "
8473 "(etc), L</is-zero>."
8474 msgstr ""
8475
8476 #. type: =head2
8477 #: ../fish/guestfish-actions.pod:1214
8478 msgid "file-architecture"
8479 msgstr "file-architecture"
8480
8481 #. type: verbatim
8482 #: ../fish/guestfish-actions.pod:1216
8483 #, no-wrap
8484 msgid ""
8485 " file-architecture filename\n"
8486 "\n"
8487 msgstr ""
8488 " file-architecture назва_файла\n"
8489 "\n"
8490
8491 #. type: textblock
8492 #: ../fish/guestfish-actions.pod:1218 ../src/guestfs-actions.pod:2027
8493 msgid ""
8494 "This detects the architecture of the binary C<filename>, and returns it if "
8495 "known."
8496 msgstr ""
8497
8498 #. type: textblock
8499 #: ../fish/guestfish-actions.pod:1221 ../src/guestfs-actions.pod:2030
8500 msgid "Currently defined architectures are:"
8501 msgstr ""
8502
8503 #. type: =item
8504 #: ../fish/guestfish-actions.pod:1225 ../src/guestfs-actions.pod:2034
8505 msgid "\"i386\""
8506 msgstr "\"i386\""
8507
8508 #. type: textblock
8509 #: ../fish/guestfish-actions.pod:1227 ../src/guestfs-actions.pod:2036
8510 msgid ""
8511 "This string is returned for all 32 bit i386, i486, i586, i686 binaries "
8512 "irrespective of the precise processor requirements of the binary."
8513 msgstr ""
8514
8515 #. type: =item
8516 #: ../fish/guestfish-actions.pod:1230 ../src/guestfs-actions.pod:2039
8517 msgid "\"x86_64\""
8518 msgstr "\"x86_64\""
8519
8520 #. type: textblock
8521 #: ../fish/guestfish-actions.pod:1232 ../src/guestfs-actions.pod:2041
8522 msgid "64 bit x86-64."
8523 msgstr ""
8524
8525 #. type: =item
8526 #: ../fish/guestfish-actions.pod:1234 ../src/guestfs-actions.pod:2043
8527 msgid "\"sparc\""
8528 msgstr ""
8529
8530 #. type: textblock
8531 #: ../fish/guestfish-actions.pod:1236 ../src/guestfs-actions.pod:2045
8532 msgid "32 bit SPARC."
8533 msgstr ""
8534
8535 #. type: =item
8536 #: ../fish/guestfish-actions.pod:1238 ../src/guestfs-actions.pod:2047
8537 msgid "\"sparc64\""
8538 msgstr ""
8539
8540 #. type: textblock
8541 #: ../fish/guestfish-actions.pod:1240 ../src/guestfs-actions.pod:2049
8542 msgid "64 bit SPARC V9 and above."
8543 msgstr ""
8544
8545 #. type: =item
8546 #: ../fish/guestfish-actions.pod:1242 ../src/guestfs-actions.pod:2051
8547 msgid "\"ia64\""
8548 msgstr "\"ia64\""
8549
8550 #. type: textblock
8551 #: ../fish/guestfish-actions.pod:1244 ../src/guestfs-actions.pod:2053
8552 msgid "Intel Itanium."
8553 msgstr "Intel Itanium."
8554
8555 #. type: =item
8556 #: ../fish/guestfish-actions.pod:1246 ../src/guestfs-actions.pod:2055
8557 msgid "\"ppc\""
8558 msgstr ""
8559
8560 #. type: textblock
8561 #: ../fish/guestfish-actions.pod:1248 ../src/guestfs-actions.pod:2057
8562 msgid "32 bit Power PC."
8563 msgstr ""
8564
8565 #. type: =item
8566 #: ../fish/guestfish-actions.pod:1250 ../src/guestfs-actions.pod:2059
8567 msgid "\"ppc64\""
8568 msgstr ""
8569
8570 #. type: textblock
8571 #: ../fish/guestfish-actions.pod:1252 ../src/guestfs-actions.pod:2061
8572 msgid "64 bit Power PC."
8573 msgstr ""
8574
8575 #. type: textblock
8576 #: ../fish/guestfish-actions.pod:1256 ../src/guestfs-actions.pod:2065
8577 msgid "Libguestfs may return other architecture strings in future."
8578 msgstr ""
8579
8580 #. type: textblock
8581 #: ../fish/guestfish-actions.pod:1258 ../src/guestfs-actions.pod:2067
8582 msgid "The function works on at least the following types of files:"
8583 msgstr ""
8584
8585 #. type: textblock
8586 #: ../fish/guestfish-actions.pod:1264 ../src/guestfs-actions.pod:2073
8587 msgid "many types of Un*x and Linux binary"
8588 msgstr ""
8589
8590 #. type: textblock
8591 #: ../fish/guestfish-actions.pod:1268 ../src/guestfs-actions.pod:2077
8592 msgid "many types of Un*x and Linux shared library"
8593 msgstr ""
8594
8595 #. type: textblock
8596 #: ../fish/guestfish-actions.pod:1272 ../src/guestfs-actions.pod:2081
8597 msgid "Windows Win32 and Win64 binaries"
8598 msgstr ""
8599
8600 #. type: textblock
8601 #: ../fish/guestfish-actions.pod:1276 ../src/guestfs-actions.pod:2085
8602 msgid "Windows Win32 and Win64 DLLs"
8603 msgstr ""
8604
8605 #. type: textblock
8606 #: ../fish/guestfish-actions.pod:1278 ../src/guestfs-actions.pod:2087
8607 msgid "Win32 binaries and DLLs return C<i386>."
8608 msgstr ""
8609
8610 #. type: textblock
8611 #: ../fish/guestfish-actions.pod:1280 ../src/guestfs-actions.pod:2089
8612 msgid "Win64 binaries and DLLs return C<x86_64>."
8613 msgstr ""
8614
8615 #. type: textblock
8616 #: ../fish/guestfish-actions.pod:1284 ../src/guestfs-actions.pod:2093
8617 msgid "Linux kernel modules"
8618 msgstr ""
8619
8620 #. type: textblock
8621 #: ../fish/guestfish-actions.pod:1288 ../src/guestfs-actions.pod:2097
8622 msgid "Linux new-style initrd images"
8623 msgstr ""
8624
8625 #. type: textblock
8626 #: ../fish/guestfish-actions.pod:1292 ../src/guestfs-actions.pod:2101
8627 msgid "some non-x86 Linux vmlinuz kernels"
8628 msgstr ""
8629
8630 #. type: textblock
8631 #: ../fish/guestfish-actions.pod:1296 ../src/guestfs-actions.pod:2105
8632 msgid "What it can't do currently:"
8633 msgstr ""
8634
8635 #. type: textblock
8636 #: ../fish/guestfish-actions.pod:1302 ../src/guestfs-actions.pod:2111
8637 msgid "static libraries (libfoo.a)"
8638 msgstr ""
8639
8640 #. type: textblock
8641 #: ../fish/guestfish-actions.pod:1306 ../src/guestfs-actions.pod:2115
8642 msgid "Linux old-style initrd as compressed ext2 filesystem (RHEL 3)"
8643 msgstr ""
8644
8645 #. type: textblock
8646 #: ../fish/guestfish-actions.pod:1310 ../src/guestfs-actions.pod:2119
8647 msgid "x86 Linux vmlinuz kernels"
8648 msgstr ""
8649
8650 #. type: textblock
8651 #: ../fish/guestfish-actions.pod:1312 ../src/guestfs-actions.pod:2121
8652 msgid ""
8653 "x86 vmlinuz images (bzImage format) consist of a mix of 16-, 32- and "
8654 "compressed code, and are horribly hard to unpack.  If you want to find the "
8655 "architecture of a kernel, use the architecture of the associated initrd or "
8656 "kernel module(s) instead."
8657 msgstr ""
8658
8659 #. type: =head2
8660 #: ../fish/guestfish-actions.pod:1319
8661 msgid "filesize"
8662 msgstr "filesize"
8663
8664 #. type: verbatim
8665 #: ../fish/guestfish-actions.pod:1321
8666 #, no-wrap
8667 msgid ""
8668 " filesize file\n"
8669 "\n"
8670 msgstr ""
8671 " filesize файл\n"
8672 "\n"
8673
8674 #. type: textblock
8675 #: ../fish/guestfish-actions.pod:1323 ../src/guestfs-actions.pod:2139
8676 msgid "This command returns the size of C<file> in bytes."
8677 msgstr ""
8678
8679 #. type: textblock
8680 #: ../fish/guestfish-actions.pod:1325
8681 msgid ""
8682 "To get other stats about a file, use L</stat>, L</lstat>, L</is-dir>, L</is-"
8683 "file> etc.  To get the size of block devices, use L</blockdev-getsize64>."
8684 msgstr ""
8685
8686 #. type: =head2
8687 #: ../fish/guestfish-actions.pod:1329
8688 msgid "fill"
8689 msgstr "fill"
8690
8691 #. type: verbatim
8692 #: ../fish/guestfish-actions.pod:1331
8693 #, no-wrap
8694 msgid ""
8695 " fill c len path\n"
8696 "\n"
8697 msgstr ""
8698
8699 #. type: textblock
8700 #: ../fish/guestfish-actions.pod:1333 ../src/guestfs-actions.pod:2157
8701 msgid ""
8702 "This command creates a new file called C<path>.  The initial content of the "
8703 "file is C<len> octets of C<c>, where C<c> must be a number in the range "
8704 "C<[0..255]>."
8705 msgstr ""
8706
8707 #. type: textblock
8708 #: ../fish/guestfish-actions.pod:1337
8709 msgid ""
8710 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
8711 "L</truncate-size>.  To create a file with a pattern of repeating bytes use L"
8712 "</fill-pattern>."
8713 msgstr ""
8714
8715 #. type: =head2
8716 #: ../fish/guestfish-actions.pod:1342
8717 msgid "fill-pattern"
8718 msgstr "fill-pattern"
8719
8720 #. type: verbatim
8721 #: ../fish/guestfish-actions.pod:1344
8722 #, no-wrap
8723 msgid ""
8724 " fill-pattern pattern len path\n"
8725 "\n"
8726 msgstr ""
8727
8728 #. type: textblock
8729 #: ../fish/guestfish-actions.pod:1346
8730 msgid ""
8731 "This function is like L</fill> except that it creates a new file of length "
8732 "C<len> containing the repeating pattern of bytes in C<pattern>.  The pattern"
8733 " is truncated if necessary to ensure the length of the file is exactly "
8734 "C<len> bytes."
8735 msgstr ""
8736
8737 #. type: =head2
8738 #: ../fish/guestfish-actions.pod:1351
8739 msgid "find"
8740 msgstr "find"
8741
8742 #. type: verbatim
8743 #: ../fish/guestfish-actions.pod:1353
8744 #, no-wrap
8745 msgid ""
8746 " find directory\n"
8747 "\n"
8748 msgstr ""
8749 " find каталог\n"
8750 "\n"
8751
8752 #. type: textblock
8753 #: ../fish/guestfish-actions.pod:1355 ../src/guestfs-actions.pod:2203
8754 msgid ""
8755 "This command lists out all files and directories, recursively, starting at "
8756 "C<directory>.  It is essentially equivalent to running the shell command "
8757 "C<find directory -print> but some post-processing happens on the output, "
8758 "described below."
8759 msgstr ""
8760
8761 #. type: textblock
8762 #: ../fish/guestfish-actions.pod:1360 ../src/guestfs-actions.pod:2208
8763 msgid ""
8764 "This returns a list of strings I<without any prefix>.  Thus if the directory"
8765 " structure was:"
8766 msgstr ""
8767
8768 #. type: verbatim
8769 #: ../fish/guestfish-actions.pod:1363 ../src/guestfs-actions.pod:2211
8770 #, no-wrap
8771 msgid ""
8772 " /tmp/a\n"
8773 " /tmp/b\n"
8774 " /tmp/c/d\n"
8775 "\n"
8776 msgstr ""
8777
8778 #. type: textblock
8779 #: ../fish/guestfish-actions.pod:1367
8780 msgid "then the returned list from L</find> C</tmp> would be 4 elements:"
8781 msgstr ""
8782
8783 #. type: verbatim
8784 #: ../fish/guestfish-actions.pod:1370 ../src/guestfs-actions.pod:2218
8785 #, no-wrap
8786 msgid ""
8787 " a\n"
8788 " b\n"
8789 " c\n"
8790 " c/d\n"
8791 "\n"
8792 msgstr ""
8793
8794 #. type: textblock
8795 #: ../fish/guestfish-actions.pod:1375 ../src/guestfs-actions.pod:2223
8796 msgid ""
8797 "If C<directory> is not a directory, then this command returns an error."
8798 msgstr ""
8799
8800 #. type: textblock
8801 #: ../fish/guestfish-actions.pod:1378 ../src/guestfs-actions.pod:2226
8802 msgid "The returned list is sorted."
8803 msgstr ""
8804
8805 #. type: textblock
8806 #: ../fish/guestfish-actions.pod:1380
8807 msgid "See also L</find0>."
8808 msgstr "Див. також L</find0>."
8809
8810 #. type: =head2
8811 #: ../fish/guestfish-actions.pod:1385
8812 msgid "find0"
8813 msgstr "find0"
8814
8815 #. type: verbatim
8816 #: ../fish/guestfish-actions.pod:1387
8817 #, no-wrap
8818 msgid ""
8819 " find0 directory (files|-)\n"
8820 "\n"
8821 msgstr ""
8822 " find0 каталог (файли|-)\n"
8823 "\n"
8824
8825 #. type: textblock
8826 #: ../fish/guestfish-actions.pod:1389 ../src/guestfs-actions.pod:2246
8827 msgid ""
8828 "This command lists out all files and directories, recursively, starting at "
8829 "C<directory>, placing the resulting list in the external file called "
8830 "C<files>."
8831 msgstr ""
8832
8833 #. type: textblock
8834 #: ../fish/guestfish-actions.pod:1393
8835 msgid ""
8836 "This command works the same way as L</find> with the following exceptions:"
8837 msgstr ""
8838
8839 #. type: textblock
8840 #: ../fish/guestfish-actions.pod:1400 ../src/guestfs-actions.pod:2257
8841 msgid "The resulting list is written to an external file."
8842 msgstr ""
8843
8844 #. type: textblock
8845 #: ../fish/guestfish-actions.pod:1404 ../src/guestfs-actions.pod:2261
8846 msgid ""
8847 "Items (filenames) in the result are separated by C<\\0> characters.  See "
8848 "L<find(1)> option I<-print0>."
8849 msgstr ""
8850
8851 #. type: textblock
8852 #: ../fish/guestfish-actions.pod:1409 ../src/guestfs-actions.pod:2266
8853 msgid "This command is not limited in the number of names that it can return."
8854 msgstr ""
8855
8856 #. type: textblock
8857 #: ../fish/guestfish-actions.pod:1414 ../src/guestfs-actions.pod:2271
8858 msgid "The result list is not sorted."
8859 msgstr ""
8860
8861 #. type: =head2
8862 #: ../fish/guestfish-actions.pod:1420
8863 msgid "findfs-label"
8864 msgstr "findfs-label"
8865
8866 #. type: verbatim
8867 #: ../fish/guestfish-actions.pod:1422
8868 #, no-wrap
8869 msgid ""
8870 " findfs-label label\n"
8871 "\n"
8872 msgstr ""
8873 " findfs-label мітка\n"
8874 "\n"
8875
8876 #. type: textblock
8877 #: ../fish/guestfish-actions.pod:1424 ../src/guestfs-actions.pod:2285
8878 msgid ""
8879 "This command searches the filesystems and returns the one which has the "
8880 "given label.  An error is returned if no such filesystem can be found."
8881 msgstr ""
8882
8883 #. type: textblock
8884 #: ../fish/guestfish-actions.pod:1428
8885 msgid "To find the label of a filesystem, use L</vfs-label>."
8886 msgstr "Для визначення мітки файлової системи скористайтеся L</vfs-label>."
8887
8888 #. type: =head2
8889 #: ../fish/guestfish-actions.pod:1430
8890 msgid "findfs-uuid"
8891 msgstr "findfs-uuid"
8892
8893 #. type: verbatim
8894 #: ../fish/guestfish-actions.pod:1432
8895 #, no-wrap
8896 msgid ""
8897 " findfs-uuid uuid\n"
8898 "\n"
8899 msgstr ""
8900 " findfs-uuid uuid\n"
8901 "\n"
8902
8903 #. type: textblock
8904 #: ../fish/guestfish-actions.pod:1434 ../src/guestfs-actions.pod:2302
8905 msgid ""
8906 "This command searches the filesystems and returns the one which has the "
8907 "given UUID.  An error is returned if no such filesystem can be found."
8908 msgstr ""
8909
8910 #. type: textblock
8911 #: ../fish/guestfish-actions.pod:1438
8912 msgid "To find the UUID of a filesystem, use L</vfs-uuid>."
8913 msgstr "Для визначення UUID файлової системи скористайтеся L</vfs-uuid>."
8914
8915 #. type: =head2
8916 #: ../fish/guestfish-actions.pod:1440
8917 msgid "fsck"
8918 msgstr "fsck"
8919
8920 #. type: verbatim
8921 #: ../fish/guestfish-actions.pod:1442
8922 #, no-wrap
8923 msgid ""
8924 " fsck fstype device\n"
8925 "\n"
8926 msgstr ""
8927 " fsck тип_файлової_системи пристрій\n"
8928 "\n"
8929
8930 #. type: textblock
8931 #: ../fish/guestfish-actions.pod:1444 ../src/guestfs-actions.pod:2320
8932 msgid ""
8933 "This runs the filesystem checker (fsck) on C<device> which should have "
8934 "filesystem type C<fstype>."
8935 msgstr ""
8936
8937 #. type: textblock
8938 #: ../fish/guestfish-actions.pod:1447 ../src/guestfs-actions.pod:2323
8939 msgid ""
8940 "The returned integer is the status.  See L<fsck(8)> for the list of status "
8941 "codes from C<fsck>."
8942 msgstr ""
8943
8944 #. type: textblock
8945 #: ../fish/guestfish-actions.pod:1456 ../src/guestfs-actions.pod:2332
8946 msgid "Multiple status codes can be summed together."
8947 msgstr ""
8948
8949 #. type: textblock
8950 #: ../fish/guestfish-actions.pod:1460 ../src/guestfs-actions.pod:2336
8951 msgid ""
8952 "A non-zero return code can mean \"success\", for example if errors have been"
8953 " corrected on the filesystem."
8954 msgstr ""
8955
8956 #. type: textblock
8957 #: ../fish/guestfish-actions.pod:1465 ../src/guestfs-actions.pod:2341
8958 msgid "Checking or repairing NTFS volumes is not supported (by linux-ntfs)."
8959 msgstr ""
8960
8961 #. type: textblock
8962 #: ../fish/guestfish-actions.pod:1470 ../src/guestfs-actions.pod:2346
8963 msgid ""
8964 "This command is entirely equivalent to running C<fsck -a -t fstype device>."
8965 msgstr ""
8966
8967 #. type: =head2
8968 #: ../fish/guestfish-actions.pod:1472
8969 msgid "get-append"
8970 msgstr "get-append"
8971
8972 #. type: verbatim
8973 #: ../fish/guestfish-actions.pod:1474
8974 #, no-wrap
8975 msgid ""
8976 " get-append\n"
8977 "\n"
8978 msgstr ""
8979 " get-append\n"
8980 "\n"
8981
8982 #. type: textblock
8983 #: ../fish/guestfish-actions.pod:1476 ../src/guestfs-actions.pod:2357
8984 msgid ""
8985 "Return the additional kernel options which are added to the guest kernel "
8986 "command line."
8987 msgstr ""
8988
8989 #. type: textblock
8990 #: ../fish/guestfish-actions.pod:1479 ../src/guestfs-actions.pod:2360
8991 msgid "If C<NULL> then no options are added."
8992 msgstr ""
8993
8994 #. type: =head2
8995 #: ../fish/guestfish-actions.pod:1481
8996 msgid "get-attach-method"
8997 msgstr "get-attach-method"
8998
8999 #. type: verbatim
9000 #: ../fish/guestfish-actions.pod:1483
9001 #, no-wrap
9002 msgid ""
9003 " get-attach-method\n"
9004 "\n"
9005 msgstr ""
9006 " get-attach-method\n"
9007 "\n"
9008
9009 #. type: textblock
9010 #: ../fish/guestfish-actions.pod:1485
9011 msgid "Return the current attach method.  See L</set-attach-method>."
9012 msgstr ""
9013
9014 #. type: =head2
9015 #: ../fish/guestfish-actions.pod:1487
9016 msgid "get-autosync"
9017 msgstr "get-autosync"
9018
9019 #. type: verbatim
9020 #: ../fish/guestfish-actions.pod:1489
9021 #, no-wrap
9022 msgid ""
9023 " get-autosync\n"
9024 "\n"
9025 msgstr ""
9026 " get-autosync\n"
9027 "\n"
9028
9029 #. type: textblock
9030 #: ../fish/guestfish-actions.pod:1491 ../src/guestfs-actions.pod:2385
9031 msgid "Get the autosync flag."
9032 msgstr ""
9033
9034 #. type: =head2
9035 #: ../fish/guestfish-actions.pod:1493
9036 msgid "get-direct"
9037 msgstr "get-direct"
9038
9039 #. type: verbatim
9040 #: ../fish/guestfish-actions.pod:1495
9041 #, no-wrap
9042 msgid ""
9043 " get-direct\n"
9044 "\n"
9045 msgstr ""
9046 " get-direct\n"
9047 "\n"
9048
9049 #. type: textblock
9050 #: ../fish/guestfish-actions.pod:1497 ../src/guestfs-actions.pod:2396
9051 msgid "Return the direct appliance mode flag."
9052 msgstr ""
9053
9054 #. type: =head2
9055 #: ../fish/guestfish-actions.pod:1499
9056 msgid "get-e2label"
9057 msgstr "get-e2label"
9058
9059 #. type: verbatim
9060 #: ../fish/guestfish-actions.pod:1501
9061 #, no-wrap
9062 msgid ""
9063 " get-e2label device\n"
9064 "\n"
9065 msgstr ""
9066 " get-e2label пристрій\n"
9067 "\n"
9068
9069 #. type: textblock
9070 #: ../fish/guestfish-actions.pod:1503 ../src/guestfs-actions.pod:2415
9071 msgid ""
9072 "This returns the ext2/3/4 filesystem label of the filesystem on C<device>."
9073 msgstr ""
9074
9075 #. type: textblock
9076 #: ../fish/guestfish-actions.pod:1506
9077 msgid ""
9078 "I<This function is deprecated.> In new code, use the L</vfs_label> call "
9079 "instead."
9080 msgstr ""
9081
9082 #. type: =head2
9083 #: ../fish/guestfish-actions.pod:1513
9084 msgid "get-e2uuid"
9085 msgstr "get-e2uuid"
9086
9087 #. type: verbatim
9088 #: ../fish/guestfish-actions.pod:1515
9089 #, no-wrap
9090 msgid ""
9091 " get-e2uuid device\n"
9092 "\n"
9093 msgstr ""
9094 " get-e2uuid пристрій\n"
9095 "\n"
9096
9097 #. type: textblock
9098 #: ../fish/guestfish-actions.pod:1517 ../src/guestfs-actions.pod:2436
9099 msgid ""
9100 "This returns the ext2/3/4 filesystem UUID of the filesystem on C<device>."
9101 msgstr ""
9102
9103 #. type: textblock
9104 #: ../fish/guestfish-actions.pod:1520
9105 msgid ""
9106 "I<This function is deprecated.> In new code, use the L</vfs_uuid> call "
9107 "instead."
9108 msgstr ""
9109
9110 #. type: =head2
9111 #: ../fish/guestfish-actions.pod:1527
9112 msgid "get-memsize"
9113 msgstr "get-memsize"
9114
9115 #. type: verbatim
9116 #: ../fish/guestfish-actions.pod:1529
9117 #, no-wrap
9118 msgid ""
9119 " get-memsize\n"
9120 "\n"
9121 msgstr ""
9122 " get-memsize\n"
9123 "\n"
9124
9125 #. type: textblock
9126 #: ../fish/guestfish-actions.pod:1531 ../src/guestfs-actions.pod:2449
9127 msgid ""
9128 "This gets the memory size in megabytes allocated to the qemu subprocess."
9129 msgstr ""
9130
9131 #. type: textblock
9132 #: ../fish/guestfish-actions.pod:1534
9133 msgid ""
9134 "If L</set-memsize> was not called on this handle, and if "
9135 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default"
9136 " value for memsize."
9137 msgstr ""
9138
9139 #. type: textblock
9140 #: ../fish/guestfish-actions.pod:1538 ../fish/guestfish-actions.pod:1595
9141 #: ../fish/guestfish-actions.pod:4375 ../fish/guestfish-actions.pod:4477
9142 #: ../src/guestfs-actions.pod:2456 ../src/guestfs-actions.pod:2548
9143 #: ../src/guestfs-actions.pod:6760 ../src/guestfs-actions.pod:6886
9144 msgid ""
9145 "For more information on the architecture of libguestfs, see L<guestfs(3)>."
9146 msgstr ""
9147
9148 #. type: =head2
9149 #: ../fish/guestfish-actions.pod:1541
9150 msgid "get-network"
9151 msgstr "get-network"
9152
9153 #. type: verbatim
9154 #: ../fish/guestfish-actions.pod:1543
9155 #, no-wrap
9156 msgid ""
9157 " get-network\n"
9158 "\n"
9159 msgstr ""
9160 " get-network\n"
9161 "\n"
9162
9163 #. type: textblock
9164 #: ../fish/guestfish-actions.pod:1545 ../src/guestfs-actions.pod:2468
9165 msgid "This returns the enable network flag."
9166 msgstr ""
9167
9168 #. type: =head2
9169 #: ../fish/guestfish-actions.pod:1547
9170 msgid "get-path"
9171 msgstr "get-path"
9172
9173 #. type: verbatim
9174 #: ../fish/guestfish-actions.pod:1549
9175 #, no-wrap
9176 msgid ""
9177 " get-path\n"
9178 "\n"
9179 msgstr ""
9180 " get-path\n"
9181 "\n"
9182
9183 #. type: textblock
9184 #: ../fish/guestfish-actions.pod:1551 ../src/guestfs-actions.pod:2479
9185 msgid "Return the current search path."
9186 msgstr ""
9187
9188 #. type: textblock
9189 #: ../fish/guestfish-actions.pod:1553 ../src/guestfs-actions.pod:2481
9190 msgid ""
9191 "This is always non-NULL.  If it wasn't set already, then this will return "
9192 "the default path."
9193 msgstr ""
9194
9195 #. type: =head2
9196 #: ../fish/guestfish-actions.pod:1556
9197 msgid "get-pgroup"
9198 msgstr ""
9199
9200 #. type: verbatim
9201 #: ../fish/guestfish-actions.pod:1558
9202 #, no-wrap
9203 msgid ""
9204 " get-pgroup\n"
9205 "\n"
9206 msgstr ""
9207
9208 #. type: textblock
9209 #: ../fish/guestfish-actions.pod:1560 ../src/guestfs-actions.pod:2494
9210 msgid "This returns the process group flag."
9211 msgstr ""
9212
9213 #. type: =head2
9214 #: ../fish/guestfish-actions.pod:1562
9215 msgid "get-pid"
9216 msgstr "get-pid"
9217
9218 #. type: =head2
9219 #: ../fish/guestfish-actions.pod:1564
9220 msgid "pid"
9221 msgstr "PID"
9222
9223 #. type: verbatim
9224 #: ../fish/guestfish-actions.pod:1566
9225 #, no-wrap
9226 msgid ""
9227 " get-pid\n"
9228 "\n"
9229 msgstr ""
9230 " get-pid\n"
9231 "\n"
9232
9233 #. type: textblock
9234 #: ../fish/guestfish-actions.pod:1568 ../src/guestfs-actions.pod:2505
9235 msgid ""
9236 "Return the process ID of the qemu subprocess.  If there is no qemu "
9237 "subprocess, then this will return an error."
9238 msgstr ""
9239
9240 #. type: textblock
9241 #: ../fish/guestfish-actions.pod:1571 ../src/guestfs-actions.pod:2508
9242 msgid "This is an internal call used for debugging and testing."
9243 msgstr ""
9244
9245 #. type: =head2
9246 #: ../fish/guestfish-actions.pod:1573
9247 msgid "get-qemu"
9248 msgstr "get-qemu"
9249
9250 #. type: verbatim
9251 #: ../fish/guestfish-actions.pod:1575
9252 #, no-wrap
9253 msgid ""
9254 " get-qemu\n"
9255 "\n"
9256 msgstr ""
9257 " get-qemu\n"
9258 "\n"
9259
9260 #. type: textblock
9261 #: ../fish/guestfish-actions.pod:1577 ../src/guestfs-actions.pod:2519
9262 msgid "Return the current qemu binary."
9263 msgstr ""
9264
9265 #. type: textblock
9266 #: ../fish/guestfish-actions.pod:1579 ../src/guestfs-actions.pod:2521
9267 msgid ""
9268 "This is always non-NULL.  If it wasn't set already, then this will return "
9269 "the default qemu binary name."
9270 msgstr ""
9271
9272 #. type: =head2
9273 #: ../fish/guestfish-actions.pod:1582
9274 msgid "get-recovery-proc"
9275 msgstr "get-recovery-proc"
9276
9277 #. type: verbatim
9278 #: ../fish/guestfish-actions.pod:1584
9279 #, no-wrap
9280 msgid ""
9281 " get-recovery-proc\n"
9282 "\n"
9283 msgstr ""
9284 " get-recovery-proc\n"
9285 "\n"
9286
9287 #. type: textblock
9288 #: ../fish/guestfish-actions.pod:1586 ../src/guestfs-actions.pod:2534
9289 msgid "Return the recovery process enabled flag."
9290 msgstr ""
9291
9292 #. type: =head2
9293 #: ../fish/guestfish-actions.pod:1588
9294 msgid "get-selinux"
9295 msgstr "get-selinux"
9296
9297 #. type: verbatim
9298 #: ../fish/guestfish-actions.pod:1590
9299 #, no-wrap
9300 msgid ""
9301 " get-selinux\n"
9302 "\n"
9303 msgstr ""
9304 " get-selinux\n"
9305 "\n"
9306
9307 #. type: textblock
9308 #: ../fish/guestfish-actions.pod:1592
9309 msgid ""
9310 "This returns the current setting of the selinux flag which is passed to the "
9311 "appliance at boot time.  See L</set-selinux>."
9312 msgstr ""
9313
9314 #. type: =head2
9315 #: ../fish/guestfish-actions.pod:1598
9316 msgid "get-smp"
9317 msgstr ""
9318
9319 #. type: verbatim
9320 #: ../fish/guestfish-actions.pod:1600
9321 #, no-wrap
9322 msgid ""
9323 " get-smp\n"
9324 "\n"
9325 msgstr ""
9326
9327 #. type: textblock
9328 #: ../fish/guestfish-actions.pod:1602 ../src/guestfs-actions.pod:2560
9329 msgid "This returns the number of virtual CPUs assigned to the appliance."
9330 msgstr ""
9331
9332 #. type: =head2
9333 #: ../fish/guestfish-actions.pod:1604
9334 msgid "get-state"
9335 msgstr "get-state"
9336
9337 #. type: verbatim
9338 #: ../fish/guestfish-actions.pod:1606
9339 #, no-wrap
9340 msgid ""
9341 " get-state\n"
9342 "\n"
9343 msgstr ""
9344 " get-state\n"
9345 "\n"
9346
9347 #. type: textblock
9348 #: ../fish/guestfish-actions.pod:1608 ../src/guestfs-actions.pod:2571
9349 msgid ""
9350 "This returns the current state as an opaque integer.  This is only useful "
9351 "for printing debug and internal error messages."
9352 msgstr ""
9353
9354 #. type: textblock
9355 #: ../fish/guestfish-actions.pod:1611 ../fish/guestfish-actions.pod:2570
9356 #: ../fish/guestfish-actions.pod:2588 ../fish/guestfish-actions.pod:2626
9357 #: ../fish/guestfish-actions.pod:2642 ../src/guestfs-actions.pod:2574
9358 #: ../src/guestfs-actions.pod:3893 ../src/guestfs-actions.pod:3922
9359 #: ../src/guestfs-actions.pod:3983 ../src/guestfs-actions.pod:4010
9360 msgid "For more information on states, see L<guestfs(3)>."
9361 msgstr ""
9362
9363 #. type: =head2
9364 #: ../fish/guestfish-actions.pod:1613
9365 msgid "get-trace"
9366 msgstr "get-trace"
9367
9368 #. type: verbatim
9369 #: ../fish/guestfish-actions.pod:1615
9370 #, no-wrap
9371 msgid ""
9372 " get-trace\n"
9373 "\n"
9374 msgstr ""
9375 " get-trace\n"
9376 "\n"
9377
9378 #. type: textblock
9379 #: ../fish/guestfish-actions.pod:1617 ../src/guestfs-actions.pod:2585
9380 msgid "Return the command trace flag."
9381 msgstr ""
9382
9383 #. type: =head2
9384 #: ../fish/guestfish-actions.pod:1619
9385 msgid "get-umask"
9386 msgstr "get-umask"
9387
9388 #. type: verbatim
9389 #: ../fish/guestfish-actions.pod:1621
9390 #, no-wrap
9391 msgid ""
9392 " get-umask\n"
9393 "\n"
9394 msgstr ""
9395 " get-umask\n"
9396 "\n"
9397
9398 #. type: textblock
9399 #: ../fish/guestfish-actions.pod:1623
9400 msgid ""
9401 "Return the current umask.  By default the umask is C<022> unless it has been"
9402 " set by calling L</umask>."
9403 msgstr ""
9404
9405 #. type: =head2
9406 #: ../fish/guestfish-actions.pod:1626
9407 msgid "get-verbose"
9408 msgstr "get-verbose"
9409
9410 #. type: verbatim
9411 #: ../fish/guestfish-actions.pod:1628
9412 #, no-wrap
9413 msgid ""
9414 " get-verbose\n"
9415 "\n"
9416 msgstr ""
9417 " get-verbose\n"
9418 "\n"
9419
9420 #. type: textblock
9421 #: ../fish/guestfish-actions.pod:1630 ../src/guestfs-actions.pod:2608
9422 msgid "This returns the verbose messages flag."
9423 msgstr ""
9424
9425 #. type: =head2
9426 #: ../fish/guestfish-actions.pod:1632
9427 msgid "getcon"
9428 msgstr "getcon"
9429
9430 #. type: verbatim
9431 #: ../fish/guestfish-actions.pod:1634
9432 #, no-wrap
9433 msgid ""
9434 " getcon\n"
9435 "\n"
9436 msgstr ""
9437 " getcon\n"
9438 "\n"
9439
9440 #. type: textblock
9441 #: ../fish/guestfish-actions.pod:1636 ../src/guestfs-actions.pod:2619
9442 msgid "This gets the SELinux security context of the daemon."
9443 msgstr ""
9444
9445 #. type: textblock
9446 #: ../fish/guestfish-actions.pod:1638
9447 msgid "See the documentation about SELINUX in L<guestfs(3)>, and L</setcon>"
9448 msgstr ""
9449
9450 #. type: =head2
9451 #: ../fish/guestfish-actions.pod:1641
9452 msgid "getxattr"
9453 msgstr "getxattr"
9454
9455 #. type: verbatim
9456 #: ../fish/guestfish-actions.pod:1643
9457 #, no-wrap
9458 msgid ""
9459 " getxattr path name\n"
9460 "\n"
9461 msgstr ""
9462 " getxattr шлях назва\n"
9463 "\n"
9464
9465 #. type: textblock
9466 #: ../fish/guestfish-actions.pod:1645
9467 msgid ""
9468 "Get a single extended attribute from file C<path> named C<name>.  This call "
9469 "follows symlinks.  If you want to lookup an extended attribute for the "
9470 "symlink itself, use L</lgetxattr>."
9471 msgstr ""
9472
9473 #. type: textblock
9474 #: ../fish/guestfish-actions.pod:1649 ../fish/guestfish-actions.pod:2715
9475 msgid ""
9476 "Normally it is better to get all extended attributes from a file in one go "
9477 "by calling L</getxattrs>.  However some Linux filesystem implementations are"
9478 " buggy and do not provide a way to list out attributes.  For these "
9479 "filesystems (notably ntfs-3g)  you have to know the names of the extended "
9480 "attributes you want in advance and call this function."
9481 msgstr ""
9482
9483 #. type: textblock
9484 #: ../fish/guestfish-actions.pod:1656 ../fish/guestfish-actions.pod:2722
9485 #: ../src/guestfs-actions.pod:2648 ../src/guestfs-actions.pod:4143
9486 msgid ""
9487 "Extended attribute values are blobs of binary data.  If there is no extended"
9488 " attribute named C<name>, this returns an error."
9489 msgstr ""
9490
9491 #. type: textblock
9492 #: ../fish/guestfish-actions.pod:1659
9493 msgid "See also: L</getxattrs>, L</lgetxattr>, L<attr(5)>."
9494 msgstr "Див. також L</getxattrs>, L</lgetxattr>, L<attr(5)>."
9495
9496 #. type: =head2
9497 #: ../fish/guestfish-actions.pod:1661
9498 msgid "getxattrs"
9499 msgstr "getxattrs"
9500
9501 #. type: verbatim
9502 #: ../fish/guestfish-actions.pod:1663
9503 #, no-wrap
9504 msgid ""
9505 " getxattrs path\n"
9506 "\n"
9507 msgstr ""
9508 " getxattrs шлях\n"
9509 "\n"
9510
9511 #. type: textblock
9512 #: ../fish/guestfish-actions.pod:1665 ../src/guestfs-actions.pod:2665
9513 msgid ""
9514 "This call lists the extended attributes of the file or directory C<path>."
9515 msgstr ""
9516
9517 #. type: textblock
9518 #: ../fish/guestfish-actions.pod:1668 ../src/guestfs-actions.pod:2668
9519 msgid ""
9520 "At the system call level, this is a combination of the L<listxattr(2)> and "
9521 "L<getxattr(2)> calls."
9522 msgstr ""
9523
9524 #. type: textblock
9525 #: ../fish/guestfish-actions.pod:1671
9526 msgid "See also: L</lgetxattrs>, L<attr(5)>."
9527 msgstr "Див. також L</lgetxattrs>, L<attr(5)>."
9528
9529 #. type: =head2
9530 #: ../fish/guestfish-actions.pod:1673
9531 msgid "glob-expand"
9532 msgstr "glob-expand"
9533
9534 #. type: verbatim
9535 #: ../fish/guestfish-actions.pod:1675
9536 #, no-wrap
9537 msgid ""
9538 " glob-expand pattern\n"
9539 "\n"
9540 msgstr ""
9541 " glob-expand шаблон\n"
9542 "\n"
9543
9544 #. type: textblock
9545 #: ../fish/guestfish-actions.pod:1677 ../src/guestfs-actions.pod:2685
9546 msgid ""
9547 "This command searches for all the pathnames matching C<pattern> according to"
9548 " the wildcard expansion rules used by the shell."
9549 msgstr ""
9550
9551 #. type: textblock
9552 #: ../fish/guestfish-actions.pod:1681 ../src/guestfs-actions.pod:2689
9553 msgid ""
9554 "If no paths match, then this returns an empty list (note: not an error)."
9555 msgstr ""
9556
9557 #. type: textblock
9558 #: ../fish/guestfish-actions.pod:1684 ../src/guestfs-actions.pod:2692
9559 msgid ""
9560 "It is just a wrapper around the C L<glob(3)> function with flags "
9561 "C<GLOB_MARK|GLOB_BRACE>.  See that manual page for more details."
9562 msgstr ""
9563
9564 #. type: =head2
9565 #: ../fish/guestfish-actions.pod:1688
9566 msgid "grep"
9567 msgstr "grep"
9568
9569 #. type: verbatim
9570 #: ../fish/guestfish-actions.pod:1690
9571 #, no-wrap
9572 msgid ""
9573 " grep regex path\n"
9574 "\n"
9575 msgstr ""
9576 " grepi формальний_вираз шлях\n"
9577 "\n"
9578
9579 #. type: textblock
9580 #: ../fish/guestfish-actions.pod:1692 ../src/guestfs-actions.pod:2709
9581 msgid ""
9582 "This calls the external C<grep> program and returns the matching lines."
9583 msgstr ""
9584
9585 #. type: =head2
9586 #: ../fish/guestfish-actions.pod:1698
9587 msgid "grepi"
9588 msgstr "grepi"
9589
9590 #. type: verbatim
9591 #: ../fish/guestfish-actions.pod:1700
9592 #, no-wrap
9593 msgid ""
9594 " grepi regex path\n"
9595 "\n"
9596 msgstr ""
9597 " grepi формальний_вираз шлях\n"
9598 "\n"
9599
9600 #. type: textblock
9601 #: ../fish/guestfish-actions.pod:1702 ../src/guestfs-actions.pod:2728
9602 msgid ""
9603 "This calls the external C<grep -i> program and returns the matching lines."
9604 msgstr ""
9605
9606 #. type: =head2
9607 #: ../fish/guestfish-actions.pod:1708
9608 msgid "grub-install"
9609 msgstr "grub-install"
9610
9611 #. type: verbatim
9612 #: ../fish/guestfish-actions.pod:1710
9613 #, no-wrap
9614 msgid ""
9615 " grub-install root device\n"
9616 "\n"
9617 msgstr ""
9618 " grub-install кореневий пристрій\n"
9619 "\n"
9620
9621 #. type: textblock
9622 #: ../fish/guestfish-actions.pod:1712 ../src/guestfs-actions.pod:2747
9623 msgid ""
9624 "This command installs GRUB 1 (the Grand Unified Bootloader) on C<device>, "
9625 "with the root directory being C<root>."
9626 msgstr ""
9627
9628 #. type: textblock
9629 #: ../fish/guestfish-actions.pod:1721 ../src/guestfs-actions.pod:2756
9630 msgid ""
9631 "There is currently no way in the API to install grub2, which is used by most"
9632 " modern Linux guests.  It is possible to run the grub2 command from the "
9633 "guest, although see the caveats in L<guestfs(3)/RUNNING COMMANDS>."
9634 msgstr ""
9635
9636 #. type: textblock
9637 #: ../fish/guestfish-actions.pod:1728 ../src/guestfs-actions.pod:2763
9638 msgid ""
9639 "This uses C<grub-install> from the host.  Unfortunately grub is not always "
9640 "compatible with itself, so this only works in rather narrow circumstances.  "
9641 "Careful testing with each guest version is advisable."
9642 msgstr ""
9643
9644 #. type: textblock
9645 #: ../fish/guestfish-actions.pod:1735 ../src/guestfs-actions.pod:2770
9646 msgid ""
9647 "If grub-install reports the error \"No suitable drive was found in the "
9648 "generated device map.\" it may be that you need to create a "
9649 "C</boot/grub/device.map> file first that contains the mapping between grub "
9650 "device names and Linux device names.  It is usually sufficient to create a "
9651 "file containing:"
9652 msgstr ""
9653
9654 #. type: verbatim
9655 #: ../fish/guestfish-actions.pod:1742 ../src/guestfs-actions.pod:2777
9656 #, no-wrap
9657 msgid ""
9658 " (hd0) /dev/vda\n"
9659 "\n"
9660 msgstr ""
9661
9662 #. type: textblock
9663 #: ../fish/guestfish-actions.pod:1744 ../src/guestfs-actions.pod:2779
9664 msgid "replacing C</dev/vda> with the name of the installation device."
9665 msgstr ""
9666
9667 #. type: =head2
9668 #: ../fish/guestfish-actions.pod:1748
9669 msgid "head"
9670 msgstr "head"
9671
9672 #. type: verbatim
9673 #: ../fish/guestfish-actions.pod:1750
9674 #, no-wrap
9675 msgid ""
9676 " head path\n"
9677 "\n"
9678 msgstr ""
9679 " head шлях\n"
9680 "\n"
9681
9682 #. type: textblock
9683 #: ../fish/guestfish-actions.pod:1752 ../src/guestfs-actions.pod:2793
9684 msgid ""
9685 "This command returns up to the first 10 lines of a file as a list of "
9686 "strings."
9687 msgstr ""
9688
9689 #. type: =head2
9690 #: ../fish/guestfish-actions.pod:1758
9691 msgid "head-n"
9692 msgstr "head-n"
9693
9694 #. type: verbatim
9695 #: ../fish/guestfish-actions.pod:1760
9696 #, no-wrap
9697 msgid ""
9698 " head-n nrlines path\n"
9699 "\n"
9700 msgstr ""
9701
9702 #. type: textblock
9703 #: ../fish/guestfish-actions.pod:1762 ../src/guestfs-actions.pod:2812
9704 msgid ""
9705 "If the parameter C<nrlines> is a positive number, this returns the first "
9706 "C<nrlines> lines of the file C<path>."
9707 msgstr ""
9708
9709 #. type: textblock
9710 #: ../fish/guestfish-actions.pod:1765 ../src/guestfs-actions.pod:2815
9711 msgid ""
9712 "If the parameter C<nrlines> is a negative number, this returns lines from "
9713 "the file C<path>, excluding the last C<nrlines> lines."
9714 msgstr ""
9715
9716 #. type: textblock
9717 #: ../fish/guestfish-actions.pod:1768 ../fish/guestfish-actions.pod:4867
9718 #: ../src/guestfs-actions.pod:2818 ../src/guestfs-actions.pod:7474
9719 msgid "If the parameter C<nrlines> is zero, this returns an empty list."
9720 msgstr ""
9721
9722 #. type: =head2
9723 #: ../fish/guestfish-actions.pod:1773
9724 msgid "hexdump"
9725 msgstr "hexdump"
9726
9727 #. type: verbatim
9728 #: ../fish/guestfish-actions.pod:1775
9729 #, no-wrap
9730 msgid ""
9731 " hexdump path\n"
9732 "\n"
9733 msgstr ""
9734 " hexdump шлях\n"
9735 "\n"
9736
9737 #. type: textblock
9738 #: ../fish/guestfish-actions.pod:1777 ../src/guestfs-actions.pod:2835
9739 msgid ""
9740 "This runs C<hexdump -C> on the given C<path>.  The result is the human-"
9741 "readable, canonical hex dump of the file."
9742 msgstr ""
9743
9744 #. type: =head2
9745 #: ../fish/guestfish-actions.pod:1783
9746 msgid "initrd-cat"
9747 msgstr "initrd-cat"
9748
9749 #. type: verbatim
9750 #: ../fish/guestfish-actions.pod:1785
9751 #, no-wrap
9752 msgid ""
9753 " initrd-cat initrdpath filename\n"
9754 "\n"
9755 msgstr ""
9756 " initrd-cat шлях_initrd назва_файла\n"
9757 "\n"
9758
9759 #. type: textblock
9760 #: ../fish/guestfish-actions.pod:1787 ../src/guestfs-actions.pod:2854
9761 msgid ""
9762 "This command unpacks the file C<filename> from the initrd file called "
9763 "C<initrdpath>.  The filename must be given I<without> the initial C</> "
9764 "character."
9765 msgstr ""
9766
9767 #. type: textblock
9768 #: ../fish/guestfish-actions.pod:1791 ../src/guestfs-actions.pod:2858
9769 msgid ""
9770 "For example, in guestfish you could use the following command to examine the"
9771 " boot script (usually called C</init>)  contained in a Linux initrd or "
9772 "initramfs image:"
9773 msgstr ""
9774
9775 #. type: verbatim
9776 #: ../fish/guestfish-actions.pod:1795 ../src/guestfs-actions.pod:2862
9777 #, no-wrap
9778 msgid ""
9779 " initrd-cat /boot/initrd-<version>.img init\n"
9780 "\n"
9781 msgstr ""
9782
9783 #. type: textblock
9784 #: ../fish/guestfish-actions.pod:1797
9785 msgid "See also L</initrd-list>."
9786 msgstr "Див. також L</initrd-list>."
9787
9788 #. type: =head2
9789 #: ../fish/guestfish-actions.pod:1802
9790 msgid "initrd-list"
9791 msgstr "initrd-list"
9792
9793 #. type: verbatim
9794 #: ../fish/guestfish-actions.pod:1804
9795 #, no-wrap
9796 msgid ""
9797 " initrd-list path\n"
9798 "\n"
9799 msgstr ""
9800 " initrd-list шлях\n"
9801 "\n"
9802
9803 #. type: textblock
9804 #: ../fish/guestfish-actions.pod:1806 ../src/guestfs-actions.pod:2881
9805 msgid "This command lists out files contained in an initrd."
9806 msgstr ""
9807
9808 #. type: textblock
9809 #: ../fish/guestfish-actions.pod:1808 ../src/guestfs-actions.pod:2883
9810 msgid ""
9811 "The files are listed without any initial C</> character.  The files are "
9812 "listed in the order they appear (not necessarily alphabetical).  Directory "
9813 "names are listed as separate items."
9814 msgstr ""
9815
9816 #. type: textblock
9817 #: ../fish/guestfish-actions.pod:1812 ../src/guestfs-actions.pod:2887
9818 msgid ""
9819 "Old Linux kernels (2.4 and earlier) used a compressed ext2 filesystem as "
9820 "initrd.  We I<only> support the newer initramfs format (compressed cpio "
9821 "files)."
9822 msgstr ""
9823
9824 #. type: =head2
9825 #: ../fish/guestfish-actions.pod:1816
9826 msgid "inotify-add-watch"
9827 msgstr "inotify-add-watch"
9828
9829 #. type: verbatim
9830 #: ../fish/guestfish-actions.pod:1818
9831 #, no-wrap
9832 msgid ""
9833 " inotify-add-watch path mask\n"
9834 "\n"
9835 msgstr ""
9836 " inotify-add-watch шлях маска\n"
9837 "\n"
9838
9839 #. type: textblock
9840 #: ../fish/guestfish-actions.pod:1820 ../src/guestfs-actions.pod:2904
9841 msgid "Watch C<path> for the events listed in C<mask>."
9842 msgstr ""
9843
9844 #. type: textblock
9845 #: ../fish/guestfish-actions.pod:1822 ../src/guestfs-actions.pod:2906
9846 msgid ""
9847 "Note that if C<path> is a directory then events within that directory are "
9848 "watched, but this does I<not> happen recursively (in subdirectories)."
9849 msgstr ""
9850
9851 #. type: textblock
9852 #: ../fish/guestfish-actions.pod:1826 ../src/guestfs-actions.pod:2910
9853 msgid ""
9854 "Note for non-C or non-Linux callers: the inotify events are defined by the "
9855 "Linux kernel ABI and are listed in C</usr/include/sys/inotify.h>."
9856 msgstr ""
9857
9858 #. type: =head2
9859 #: ../fish/guestfish-actions.pod:1830
9860 msgid "inotify-close"
9861 msgstr "inotify-close"
9862
9863 #. type: verbatim
9864 #: ../fish/guestfish-actions.pod:1832
9865 #, no-wrap
9866 msgid ""
9867 " inotify-close\n"
9868 "\n"
9869 msgstr ""
9870 " inotify-close\n"
9871 "\n"
9872
9873 #. type: textblock
9874 #: ../fish/guestfish-actions.pod:1834 ../src/guestfs-actions.pod:2923
9875 msgid ""
9876 "This closes the inotify handle which was previously opened by inotify_init."
9877 "  It removes all watches, throws away any pending events, and deallocates "
9878 "all resources."
9879 msgstr ""
9880
9881 #. type: =head2
9882 #: ../fish/guestfish-actions.pod:1838
9883 msgid "inotify-files"
9884 msgstr "inotify-files"
9885
9886 #. type: verbatim
9887 #: ../fish/guestfish-actions.pod:1840
9888 #, no-wrap
9889 msgid ""
9890 " inotify-files\n"
9891 "\n"
9892 msgstr ""
9893 " inotify-files\n"
9894 "\n"
9895
9896 #. type: textblock
9897 #: ../fish/guestfish-actions.pod:1842
9898 msgid ""
9899 "This function is a helpful wrapper around L</inotify-read> which just "
9900 "returns a list of pathnames of objects that were touched.  The returned "
9901 "pathnames are sorted and deduplicated."
9902 msgstr ""
9903
9904 #. type: =head2
9905 #: ../fish/guestfish-actions.pod:1846
9906 msgid "inotify-init"
9907 msgstr "inotify-init"
9908
9909 #. type: verbatim
9910 #: ../fish/guestfish-actions.pod:1848
9911 #, no-wrap
9912 msgid ""
9913 " inotify-init maxevents\n"
9914 "\n"
9915 msgstr ""
9916
9917 #. type: textblock
9918 #: ../fish/guestfish-actions.pod:1850 ../src/guestfs-actions.pod:2952
9919 msgid ""
9920 "This command creates a new inotify handle.  The inotify subsystem can be "
9921 "used to notify events which happen to objects in the guest filesystem."
9922 msgstr ""
9923
9924 #. type: textblock
9925 #: ../fish/guestfish-actions.pod:1854
9926 msgid ""
9927 "C<maxevents> is the maximum number of events which will be queued up between"
9928 " calls to L</inotify-read> or L</inotify-files>.  If this is passed as C<0>,"
9929 " then the kernel (or previously set)  default is used.  For Linux 2.6.29 the"
9930 " default was 16384 events.  Beyond this limit, the kernel throws away "
9931 "events, but records the fact that it threw them away by setting a flag "
9932 "C<IN_Q_OVERFLOW> in the returned structure list (see L</inotify-read>)."
9933 msgstr ""
9934
9935 #. type: textblock
9936 #: ../fish/guestfish-actions.pod:1864
9937 msgid ""
9938 "Before any events are generated, you have to add some watches to the "
9939 "internal watch list.  See: L</inotify-add-watch>, L</inotify-rm-watch> and L"
9940 "</inotify-watch-all>."
9941 msgstr ""
9942
9943 #. type: textblock
9944 #: ../fish/guestfish-actions.pod:1870
9945 msgid ""
9946 "Queued up events should be read periodically by calling L</inotify-read> (or"
9947 " L</inotify-files> which is just a helpful wrapper around L</inotify-read>)."
9948 "  If you don't read the events out often enough then you risk the internal "
9949 "queue overflowing."
9950 msgstr ""
9951
9952 #. type: textblock
9953 #: ../fish/guestfish-actions.pod:1877
9954 msgid ""
9955 "The handle should be closed after use by calling L</inotify-close>.  This "
9956 "also removes any watches automatically."
9957 msgstr ""
9958
9959 #. type: textblock
9960 #: ../fish/guestfish-actions.pod:1881 ../src/guestfs-actions.pod:2983
9961 msgid ""
9962 "See also L<inotify(7)> for an overview of the inotify interface as exposed "
9963 "by the Linux kernel, which is roughly what we expose via libguestfs.  Note "
9964 "that there is one global inotify handle per libguestfs instance."
9965 msgstr ""
9966
9967 #. type: =head2
9968 #: ../fish/guestfish-actions.pod:1886
9969 msgid "inotify-read"
9970 msgstr "inotify-read"
9971
9972 #. type: verbatim
9973 #: ../fish/guestfish-actions.pod:1888
9974 #, no-wrap
9975 msgid ""
9976 " inotify-read\n"
9977 "\n"
9978 msgstr ""
9979 " inotify-read\n"
9980 "\n"
9981
9982 #. type: textblock
9983 #: ../fish/guestfish-actions.pod:1890 ../src/guestfs-actions.pod:2997
9984 msgid ""
9985 "Return the complete queue of events that have happened since the previous "
9986 "read call."
9987 msgstr ""
9988
9989 #. type: textblock
9990 #: ../fish/guestfish-actions.pod:1893 ../src/guestfs-actions.pod:3000
9991 msgid "If no events have happened, this returns an empty list."
9992 msgstr ""
9993
9994 #. type: textblock
9995 #: ../fish/guestfish-actions.pod:1895 ../src/guestfs-actions.pod:3002
9996 msgid ""
9997 "I<Note>: In order to make sure that all events have been read, you must call"
9998 " this function repeatedly until it returns an empty list.  The reason is "
9999 "that the call will read events up to the maximum appliance-to-host message "
10000 "size and leave remaining events in the queue."
10001 msgstr ""
10002
10003 #. type: =head2
10004 #: ../fish/guestfish-actions.pod:1901
10005 msgid "inotify-rm-watch"
10006 msgstr "inotify-rm-watch"
10007
10008 #. type: verbatim
10009 #: ../fish/guestfish-actions.pod:1903
10010 #, no-wrap
10011 msgid ""
10012 " inotify-rm-watch wd\n"
10013 "\n"
10014 msgstr ""
10015
10016 #. type: textblock
10017 #: ../fish/guestfish-actions.pod:1905
10018 msgid "Remove a previously defined inotify watch.  See L</inotify-add-watch>."
10019 msgstr ""
10020
10021 #. type: =head2
10022 #: ../fish/guestfish-actions.pod:1908
10023 msgid "inspect-get-arch"
10024 msgstr "inspect-get-arch"
10025
10026 #. type: verbatim
10027 #: ../fish/guestfish-actions.pod:1910
10028 #, no-wrap
10029 msgid ""
10030 " inspect-get-arch root\n"
10031 "\n"
10032 msgstr ""
10033 " inspect-get-arch корінь\n"
10034 "\n"
10035
10036 #. type: textblock
10037 #: ../fish/guestfish-actions.pod:1912
10038 msgid ""
10039 "This returns the architecture of the inspected operating system.  The "
10040 "possible return values are listed under L</file-architecture>."
10041 msgstr ""
10042
10043 #. type: textblock
10044 #: ../fish/guestfish-actions.pod:1916 ../src/guestfs-actions.pod:3037
10045 msgid ""
10046 "If the architecture could not be determined, then the string C<unknown> is "
10047 "returned."
10048 msgstr ""
10049
10050 #. type: textblock
10051 #: ../fish/guestfish-actions.pod:1919 ../fish/guestfish-actions.pod:2014
10052 #: ../fish/guestfish-actions.pod:2093 ../fish/guestfish-actions.pod:2105
10053 #: ../fish/guestfish-actions.pod:2189 ../fish/guestfish-actions.pod:2251
10054 #: ../fish/guestfish-actions.pod:2272 ../fish/guestfish-actions.pod:2286
10055 #: ../fish/guestfish-actions.pod:2326 ../fish/guestfish-actions.pod:2362
10056 #: ../fish/guestfish-actions.pod:2375 ../fish/guestfish-actions.pod:2388
10057 #: ../fish/guestfish-actions.pod:2398 ../fish/guestfish-actions.pod:2408
10058 #: ../fish/guestfish-actions.pod:2420 ../fish/guestfish-actions.pod:2516
10059 #: ../fish/guestfish-actions.pod:2550 ../src/guestfs-actions.pod:3040
10060 #: ../src/guestfs-actions.pod:3142 ../src/guestfs-actions.pod:3246
10061 #: ../src/guestfs-actions.pod:3265 ../src/guestfs-actions.pod:3396
10062 #: ../src/guestfs-actions.pod:3480 ../src/guestfs-actions.pod:3508
10063 #: ../src/guestfs-actions.pod:3529 ../src/guestfs-actions.pod:3582
10064 #: ../src/guestfs-actions.pod:3626 ../src/guestfs-actions.pod:3646
10065 #: ../src/guestfs-actions.pod:3666 ../src/guestfs-actions.pod:3683
10066 #: ../src/guestfs-actions.pod:3699 ../src/guestfs-actions.pod:3717
10067 #: ../src/guestfs-actions.pod:3819 ../src/guestfs-actions.pod:3860
10068 msgid "Please read L<guestfs(3)/INSPECTION> for more details."
10069 msgstr ""
10070
10071 #. type: =head2
10072 #: ../fish/guestfish-actions.pod:1921
10073 msgid "inspect-get-distro"
10074 msgstr "inspect-get-distro"
10075
10076 #. type: verbatim
10077 #: ../fish/guestfish-actions.pod:1923
10078 #, no-wrap
10079 msgid ""
10080 " inspect-get-distro root\n"
10081 "\n"
10082 msgstr ""
10083 " inspect-get-distro корінь\n"
10084 "\n"
10085
10086 #. type: textblock
10087 #: ../fish/guestfish-actions.pod:1925 ../src/guestfs-actions.pod:3053
10088 msgid ""
10089 "This returns the distro (distribution) of the inspected operating system."
10090 msgstr ""
10091
10092 #. type: textblock
10093 #: ../fish/guestfish-actions.pod:1928 ../src/guestfs-actions.pod:3056
10094 msgid "Currently defined distros are:"
10095 msgstr ""
10096
10097 #. type: =item
10098 #: ../fish/guestfish-actions.pod:1932 ../src/guestfs-actions.pod:3060
10099 msgid "\"archlinux\""
10100 msgstr "\"archlinux\""
10101
10102 #. type: textblock
10103 #: ../fish/guestfish-actions.pod:1934 ../src/guestfs-actions.pod:3062
10104 msgid "Arch Linux."
10105 msgstr "Arch Linux."
10106
10107 #. type: =item
10108 #: ../fish/guestfish-actions.pod:1936 ../src/guestfs-actions.pod:3064
10109 msgid "\"centos\""
10110 msgstr ""
10111
10112 #. type: textblock
10113 #: ../fish/guestfish-actions.pod:1938 ../src/guestfs-actions.pod:3066
10114 msgid "CentOS."
10115 msgstr ""
10116
10117 #. type: =item
10118 #: ../fish/guestfish-actions.pod:1940 ../src/guestfs-actions.pod:3068
10119 msgid "\"debian\""
10120 msgstr "\"debian\""
10121
10122 #. type: textblock
10123 #: ../fish/guestfish-actions.pod:1942 ../src/guestfs-actions.pod:3070
10124 msgid "Debian."
10125 msgstr "Debian."
10126
10127 #. type: =item
10128 #: ../fish/guestfish-actions.pod:1944 ../src/guestfs-actions.pod:3072
10129 msgid "\"fedora\""
10130 msgstr "\"fedora\""
10131
10132 #. type: textblock
10133 #: ../fish/guestfish-actions.pod:1946 ../src/guestfs-actions.pod:3074
10134 msgid "Fedora."
10135 msgstr "Fedora."
10136
10137 #. type: =item
10138 #: ../fish/guestfish-actions.pod:1948 ../src/guestfs-actions.pod:3076
10139 msgid "\"gentoo\""
10140 msgstr "\"gentoo\""
10141
10142 #. type: textblock
10143 #: ../fish/guestfish-actions.pod:1950 ../src/guestfs-actions.pod:3078
10144 msgid "Gentoo."
10145 msgstr "Gentoo."
10146
10147 #. type: =item
10148 #: ../fish/guestfish-actions.pod:1952 ../src/guestfs-actions.pod:3080
10149 msgid "\"linuxmint\""
10150 msgstr "\"linuxmint\""
10151
10152 #. type: textblock
10153 #: ../fish/guestfish-actions.pod:1954 ../src/guestfs-actions.pod:3082
10154 msgid "Linux Mint."
10155 msgstr "Linux Mint."
10156
10157 #. type: =item
10158 #: ../fish/guestfish-actions.pod:1956 ../src/guestfs-actions.pod:3084
10159 msgid "\"mageia\""
10160 msgstr ""
10161
10162 #. type: textblock
10163 #: ../fish/guestfish-actions.pod:1958 ../src/guestfs-actions.pod:3086
10164 msgid "Mageia."
10165 msgstr ""
10166
10167 #. type: =item
10168 #: ../fish/guestfish-actions.pod:1960 ../src/guestfs-actions.pod:3088
10169 msgid "\"mandriva\""
10170 msgstr "\"mandriva\""
10171
10172 #. type: textblock
10173 #: ../fish/guestfish-actions.pod:1962 ../src/guestfs-actions.pod:3090
10174 msgid "Mandriva."
10175 msgstr "Mandriva."
10176
10177 #. type: =item
10178 #: ../fish/guestfish-actions.pod:1964 ../src/guestfs-actions.pod:3092
10179 msgid "\"meego\""
10180 msgstr "\"meego\""
10181
10182 #. type: textblock
10183 #: ../fish/guestfish-actions.pod:1966 ../src/guestfs-actions.pod:3094
10184 msgid "MeeGo."
10185 msgstr "MeeGo."
10186
10187 #. type: =item
10188 #: ../fish/guestfish-actions.pod:1968 ../src/guestfs-actions.pod:3096
10189 msgid "\"opensuse\""
10190 msgstr ""
10191
10192 #. type: textblock
10193 #: ../fish/guestfish-actions.pod:1970 ../src/guestfs-actions.pod:3098
10194 msgid "OpenSUSE."
10195 msgstr ""
10196
10197 #. type: =item
10198 #: ../fish/guestfish-actions.pod:1972 ../src/guestfs-actions.pod:3100
10199 msgid "\"pardus\""
10200 msgstr "\"pardus\""
10201
10202 #. type: textblock
10203 #: ../fish/guestfish-actions.pod:1974 ../src/guestfs-actions.pod:3102
10204 msgid "Pardus."
10205 msgstr "Pardus."
10206
10207 #. type: =item
10208 #: ../fish/guestfish-actions.pod:1976 ../src/guestfs-actions.pod:3104
10209 msgid "\"redhat-based\""
10210 msgstr "\"redhat-based\""
10211
10212 #. type: textblock
10213 #: ../fish/guestfish-actions.pod:1978 ../src/guestfs-actions.pod:3106
10214 msgid "Some Red Hat-derived distro."
10215 msgstr "Дистрибутив, що походить від Red Hat."
10216
10217 #. type: =item
10218 #: ../fish/guestfish-actions.pod:1980 ../src/guestfs-actions.pod:3108
10219 msgid "\"rhel\""
10220 msgstr "\"rhel\""
10221
10222 #. type: textblock
10223 #: ../fish/guestfish-actions.pod:1982 ../src/guestfs-actions.pod:3110
10224 msgid "Red Hat Enterprise Linux."
10225 msgstr "Red Hat Enterprise Linux."
10226
10227 #. type: =item
10228 #: ../fish/guestfish-actions.pod:1984 ../src/guestfs-actions.pod:3112
10229 msgid "\"scientificlinux\""
10230 msgstr "\"scientificlinux\""
10231
10232 #. type: textblock
10233 #: ../fish/guestfish-actions.pod:1986 ../src/guestfs-actions.pod:3114
10234 msgid "Scientific Linux."
10235 msgstr "Scientific Linux."
10236
10237 #. type: =item
10238 #: ../fish/guestfish-actions.pod:1988 ../src/guestfs-actions.pod:3116
10239 msgid "\"slackware\""
10240 msgstr "\"slackware\""
10241
10242 #. type: textblock
10243 #: ../fish/guestfish-actions.pod:1990 ../src/guestfs-actions.pod:3118
10244 msgid "Slackware."
10245 msgstr "Slackware."
10246
10247 #. type: =item
10248 #: ../fish/guestfish-actions.pod:1992 ../src/guestfs-actions.pod:3120
10249 msgid "\"ttylinux\""
10250 msgstr ""
10251
10252 #. type: textblock
10253 #: ../fish/guestfish-actions.pod:1994 ../src/guestfs-actions.pod:3122
10254 msgid "ttylinux."
10255 msgstr ""
10256
10257 #. type: =item
10258 #: ../fish/guestfish-actions.pod:1996 ../src/guestfs-actions.pod:3124
10259 msgid "\"ubuntu\""
10260 msgstr "\"ubuntu\""
10261
10262 #. type: textblock
10263 #: ../fish/guestfish-actions.pod:1998 ../src/guestfs-actions.pod:3126
10264 msgid "Ubuntu."
10265 msgstr "Ubuntu."
10266
10267 #. type: =item
10268 #: ../fish/guestfish-actions.pod:2000 ../fish/guestfish-actions.pod:2084
10269 #: ../fish/guestfish-actions.pod:2353 ../src/guestfs-actions.pod:3128
10270 #: ../src/guestfs-actions.pod:3237 ../src/guestfs-actions.pod:3617
10271 msgid "\"unknown\""
10272 msgstr "\"unknown\""
10273
10274 #. type: textblock
10275 #: ../fish/guestfish-actions.pod:2002 ../src/guestfs-actions.pod:3130
10276 msgid "The distro could not be determined."
10277 msgstr "Дистрибутив, тип якого не вдалося визначити."
10278
10279 #. type: =item
10280 #: ../fish/guestfish-actions.pod:2004 ../fish/guestfish-actions.pod:2341
10281 #: ../src/guestfs-actions.pod:3132 ../src/guestfs-actions.pod:3605
10282 msgid "\"windows\""
10283 msgstr "\"windows\""
10284
10285 #. type: textblock
10286 #: ../fish/guestfish-actions.pod:2006 ../src/guestfs-actions.pod:3134
10287 msgid ""
10288 "Windows does not have distributions.  This string is returned if the OS type"
10289 " is Windows."
10290 msgstr ""
10291
10292 #. type: textblock
10293 #: ../fish/guestfish-actions.pod:2011 ../fish/guestfish-actions.pod:2090
10294 #: ../fish/guestfish-actions.pod:2359 ../src/guestfs-actions.pod:3139
10295 #: ../src/guestfs-actions.pod:3243 ../src/guestfs-actions.pod:3623
10296 msgid ""
10297 "Future versions of libguestfs may return other strings here.  The caller "
10298 "should be prepared to handle any string."
10299 msgstr ""
10300
10301 #. type: =head2
10302 #: ../fish/guestfish-actions.pod:2016
10303 msgid "inspect-get-drive-mappings"
10304 msgstr ""
10305
10306 #. type: verbatim
10307 #: ../fish/guestfish-actions.pod:2018
10308 #, no-wrap
10309 msgid ""
10310 " inspect-get-drive-mappings root\n"
10311 "\n"
10312 msgstr ""
10313
10314 #. type: textblock
10315 #: ../fish/guestfish-actions.pod:2020 ../src/guestfs-actions.pod:3155
10316 msgid ""
10317 "This call is useful for Windows which uses a primitive system of assigning "
10318 "drive letters (like \"C:\") to partitions.  This inspection API examines the"
10319 " Windows Registry to find out how disks/partitions are mapped to drive "
10320 "letters, and returns a hash table as in the example below:"
10321 msgstr ""
10322
10323 #. type: verbatim
10324 #: ../fish/guestfish-actions.pod:2026 ../src/guestfs-actions.pod:3161
10325 #, no-wrap
10326 msgid ""
10327 " C      =>     /dev/vda2\n"
10328 " E      =>     /dev/vdb1\n"
10329 " F      =>     /dev/vdc1\n"
10330 "\n"
10331 msgstr ""
10332
10333 #. type: textblock
10334 #: ../fish/guestfish-actions.pod:2030 ../src/guestfs-actions.pod:3165
10335 msgid ""
10336 "Note that keys are drive letters.  For Windows, the key is case insensitive "
10337 "and just contains the drive letter, without the customary colon separator "
10338 "character."
10339 msgstr ""
10340
10341 #. type: textblock
10342 #: ../fish/guestfish-actions.pod:2034 ../src/guestfs-actions.pod:3169
10343 msgid ""
10344 "In future we may support other operating systems that also used drive "
10345 "letters, but the keys for those might not be case insensitive and might be "
10346 "longer than 1 character.  For example in OS-9, hard drives were named C<h0>,"
10347 " C<h1> etc."
10348 msgstr ""
10349
10350 #. type: textblock
10351 #: ../fish/guestfish-actions.pod:2039 ../src/guestfs-actions.pod:3174
10352 msgid ""
10353 "For Windows guests, currently only hard drive mappings are returned.  "
10354 "Removable disks (eg. DVD-ROMs) are ignored."
10355 msgstr ""
10356
10357 #. type: textblock
10358 #: ../fish/guestfish-actions.pod:2042 ../src/guestfs-actions.pod:3177
10359 msgid ""
10360 "For guests that do not use drive mappings, or if the drive mappings could "
10361 "not be determined, this returns an empty hash table."
10362 msgstr ""
10363
10364 #. type: textblock
10365 #: ../fish/guestfish-actions.pod:2045
10366 msgid ""
10367 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
10368 "get-mountpoints>, L</inspect-get-filesystems>."
10369 msgstr ""
10370
10371 #. type: =head2
10372 #: ../fish/guestfish-actions.pod:2049
10373 msgid "inspect-get-filesystems"
10374 msgstr "inspect-get-filesystems"
10375
10376 #. type: verbatim
10377 #: ../fish/guestfish-actions.pod:2051
10378 #, no-wrap
10379 msgid ""
10380 " inspect-get-filesystems root\n"
10381 "\n"
10382 msgstr ""
10383 " inspect-get-filesystems корінь\n"
10384 "\n"
10385
10386 #. type: textblock
10387 #: ../fish/guestfish-actions.pod:2053 ../src/guestfs-actions.pod:3198
10388 msgid ""
10389 "This returns a list of all the filesystems that we think are associated with"
10390 " this operating system.  This includes the root filesystem, other ordinary "
10391 "filesystems, and non-mounted devices like swap partitions."
10392 msgstr ""
10393
10394 #. type: textblock
10395 #: ../fish/guestfish-actions.pod:2058 ../src/guestfs-actions.pod:3203
10396 msgid ""
10397 "In the case of a multi-boot virtual machine, it is possible for a filesystem"
10398 " to be shared between operating systems."
10399 msgstr ""
10400
10401 #. type: textblock
10402 #: ../fish/guestfish-actions.pod:2061
10403 msgid ""
10404 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
10405 "get-mountpoints>."
10406 msgstr ""
10407
10408 #. type: =head2
10409 #: ../fish/guestfish-actions.pod:2064
10410 msgid "inspect-get-format"
10411 msgstr "inspect-get-format"
10412
10413 #. type: verbatim
10414 #: ../fish/guestfish-actions.pod:2066
10415 #, no-wrap
10416 msgid ""
10417 " inspect-get-format root\n"
10418 "\n"
10419 msgstr ""
10420 " inspect-get-format корінь\n"
10421 "\n"
10422
10423 #. type: textblock
10424 #: ../fish/guestfish-actions.pod:2068 ../src/guestfs-actions.pod:3221
10425 msgid ""
10426 "This returns the format of the inspected operating system.  You can use it "
10427 "to detect install images, live CDs and similar."
10428 msgstr ""
10429
10430 #. type: textblock
10431 #: ../fish/guestfish-actions.pod:2071 ../src/guestfs-actions.pod:3224
10432 msgid "Currently defined formats are:"
10433 msgstr ""
10434
10435 #. type: =item
10436 #: ../fish/guestfish-actions.pod:2075 ../src/guestfs-actions.pod:3228
10437 msgid "\"installed\""
10438 msgstr "\"installed\""
10439
10440 #. type: textblock
10441 #: ../fish/guestfish-actions.pod:2077 ../src/guestfs-actions.pod:3230
10442 msgid "This is an installed operating system."
10443 msgstr "Це встановлена операційна система."
10444
10445 #. type: =item
10446 #: ../fish/guestfish-actions.pod:2079 ../src/guestfs-actions.pod:3232
10447 msgid "\"installer\""
10448 msgstr ""
10449
10450 #. type: textblock
10451 #: ../fish/guestfish-actions.pod:2081 ../src/guestfs-actions.pod:3234
10452 msgid ""
10453 "The disk image being inspected is not an installed operating system, but a "
10454 "I<bootable> install disk, live CD, or similar."
10455 msgstr ""
10456
10457 #. type: textblock
10458 #: ../fish/guestfish-actions.pod:2086 ../src/guestfs-actions.pod:3239
10459 msgid "The format of this disk image is not known."
10460 msgstr ""
10461
10462 #. type: =head2
10463 #: ../fish/guestfish-actions.pod:2095
10464 msgid "inspect-get-hostname"
10465 msgstr "inspect-get-hostname"
10466
10467 #. type: verbatim
10468 #: ../fish/guestfish-actions.pod:2097
10469 #, no-wrap
10470 msgid ""
10471 " inspect-get-hostname root\n"
10472 "\n"
10473 msgstr ""
10474 " inspect-get-hostname корінь\n"
10475 "\n"
10476
10477 #. type: textblock
10478 #: ../fish/guestfish-actions.pod:2099 ../src/guestfs-actions.pod:3259
10479 msgid ""
10480 "This function returns the hostname of the operating system as found by "
10481 "inspection of the guest's configuration files."
10482 msgstr ""
10483
10484 #. type: textblock
10485 #: ../fish/guestfish-actions.pod:2102 ../src/guestfs-actions.pod:3262
10486 msgid ""
10487 "If the hostname could not be determined, then the string C<unknown> is "
10488 "returned."
10489 msgstr ""
10490
10491 #. type: =head2
10492 #: ../fish/guestfish-actions.pod:2107
10493 msgid "inspect-get-icon"
10494 msgstr ""
10495
10496 #. type: verbatim
10497 #: ../fish/guestfish-actions.pod:2109
10498 #, no-wrap
10499 msgid ""
10500 " inspect-get-icon root [favicon:..] [highquality:..]\n"
10501 "\n"
10502 msgstr ""
10503
10504 #. type: textblock
10505 #: ../fish/guestfish-actions.pod:2111 ../src/guestfs-actions.pod:3288
10506 msgid ""
10507 "This function returns an icon corresponding to the inspected operating "
10508 "system.  The icon is returned as a buffer containing a PNG image (re-encoded"
10509 " to PNG if necessary)."
10510 msgstr ""
10511
10512 #. type: textblock
10513 #: ../fish/guestfish-actions.pod:2115 ../src/guestfs-actions.pod:3292
10514 msgid ""
10515 "If it was not possible to get an icon this function returns a zero-length "
10516 "(non-NULL) buffer.  I<Callers must check for this case>."
10517 msgstr ""
10518
10519 #. type: textblock
10520 #: ../fish/guestfish-actions.pod:2118 ../src/guestfs-actions.pod:3295
10521 msgid ""
10522 "Libguestfs will start by looking for a file called C</etc/favicon.png> or "
10523 "C<C:\\etc\\favicon.png> and if it has the correct format, the contents of "
10524 "this file will be returned.  You can disable favicons by passing the "
10525 "optional C<favicon> boolean as false (default is true)."
10526 msgstr ""
10527
10528 #. type: textblock
10529 #: ../fish/guestfish-actions.pod:2124 ../src/guestfs-actions.pod:3301
10530 msgid ""
10531 "If finding the favicon fails, then we look in other places in the guest for "
10532 "a suitable icon."
10533 msgstr ""
10534
10535 #. type: textblock
10536 #: ../fish/guestfish-actions.pod:2127 ../src/guestfs-actions.pod:3304
10537 msgid ""
10538 "If the optional C<highquality> boolean is true then only high quality icons "
10539 "are returned, which means only icons of high resolution with an alpha "
10540 "channel.  The default (false) is to return any icon we can, even if it is of"
10541 " substandard quality."
10542 msgstr ""
10543
10544 #. type: textblock
10545 #: ../fish/guestfish-actions.pod:2138 ../src/guestfs-actions.pod:3315
10546 msgid ""
10547 "Unlike most other inspection API calls, the guest's disks must be mounted up"
10548 " before you call this, since it needs to read information from the guest "
10549 "filesystem during the call."
10550 msgstr ""
10551
10552 #. type: textblock
10553 #: ../fish/guestfish-actions.pod:2144 ../src/guestfs-actions.pod:3321
10554 msgid ""
10555 "B<Security:> The icon data comes from the untrusted guest, and should be "
10556 "treated with caution.  PNG files have been known to contain exploits.  "
10557 "Ensure that libpng (or other relevant libraries) are fully up to date before"
10558 " trying to process or display the icon."
10559 msgstr ""
10560
10561 #. type: textblock
10562 #: ../fish/guestfish-actions.pod:2152 ../src/guestfs-actions.pod:3329
10563 msgid ""
10564 "The PNG image returned can be any size.  It might not be square.  Libguestfs"
10565 " tries to return the largest, highest quality icon available.  The "
10566 "application must scale the icon to the required size."
10567 msgstr ""
10568
10569 #. type: textblock
10570 #: ../fish/guestfish-actions.pod:2159 ../src/guestfs-actions.pod:3336
10571 msgid ""
10572 "Extracting icons from Windows guests requires the external C<wrestool> "
10573 "program from the C<icoutils> package, and several programs (C<bmptopnm>, "
10574 "C<pnmtopng>, C<pamcut>)  from the C<netpbm> package.  These must be "
10575 "installed separately."
10576 msgstr ""
10577
10578 #. type: textblock
10579 #: ../fish/guestfish-actions.pod:2166 ../src/guestfs-actions.pod:3343
10580 msgid ""
10581 "Operating system icons are usually trademarks.  Seek legal advice before "
10582 "using trademarks in applications."
10583 msgstr ""
10584
10585 #. type: =head2
10586 #: ../fish/guestfish-actions.pod:2173
10587 msgid "inspect-get-major-version"
10588 msgstr "inspect-get-major-version"
10589
10590 #. type: verbatim
10591 #: ../fish/guestfish-actions.pod:2175
10592 #, no-wrap
10593 msgid ""
10594 " inspect-get-major-version root\n"
10595 "\n"
10596 msgstr ""
10597 " inspect-get-major-version корінь\n"
10598 "\n"
10599
10600 #. type: textblock
10601 #: ../fish/guestfish-actions.pod:2177 ../src/guestfs-actions.pod:3384
10602 msgid ""
10603 "This returns the major version number of the inspected operating system."
10604 msgstr ""
10605
10606 #. type: textblock
10607 #: ../fish/guestfish-actions.pod:2180 ../src/guestfs-actions.pod:3387
10608 msgid ""
10609 "Windows uses a consistent versioning scheme which is I<not> reflected in the"
10610 " popular public names used by the operating system.  Notably the operating "
10611 "system known as \"Windows 7\" is really version 6.1 (ie. major = 6, minor = "
10612 "1).  You can find out the real versions corresponding to releases of Windows"
10613 " by consulting Wikipedia or MSDN."
10614 msgstr ""
10615
10616 #. type: textblock
10617 #: ../fish/guestfish-actions.pod:2187 ../fish/guestfish-actions.pod:2198
10618 #: ../src/guestfs-actions.pod:3394 ../src/guestfs-actions.pod:3411
10619 msgid "If the version could not be determined, then C<0> is returned."
10620 msgstr ""
10621
10622 #. type: =head2
10623 #: ../fish/guestfish-actions.pod:2191
10624 msgid "inspect-get-minor-version"
10625 msgstr "inspect-get-minor-version"
10626
10627 #. type: verbatim
10628 #: ../fish/guestfish-actions.pod:2193
10629 #, no-wrap
10630 msgid ""
10631 " inspect-get-minor-version root\n"
10632 "\n"
10633 msgstr ""
10634 " inspect-get-minor-version корінь\n"
10635 "\n"
10636
10637 #. type: textblock
10638 #: ../fish/guestfish-actions.pod:2195 ../src/guestfs-actions.pod:3408
10639 msgid ""
10640 "This returns the minor version number of the inspected operating system."
10641 msgstr ""
10642
10643 #. type: textblock
10644 #: ../fish/guestfish-actions.pod:2200
10645 msgid ""
10646 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
10647 "get-major-version>."
10648 msgstr ""
10649
10650 #. type: =head2
10651 #: ../fish/guestfish-actions.pod:2203
10652 msgid "inspect-get-mountpoints"
10653 msgstr "inspect-get-mountpoints"
10654
10655 #. type: verbatim
10656 #: ../fish/guestfish-actions.pod:2205
10657 #, no-wrap
10658 msgid ""
10659 " inspect-get-mountpoints root\n"
10660 "\n"
10661 msgstr ""
10662 " inspect-get-mountpoints корінь\n"
10663 "\n"
10664
10665 #. type: textblock
10666 #: ../fish/guestfish-actions.pod:2207 ../src/guestfs-actions.pod:3426
10667 msgid ""
10668 "This returns a hash of where we think the filesystems associated with this "
10669 "operating system should be mounted.  Callers should note that this is at "
10670 "best an educated guess made by reading configuration files such as "
10671 "C</etc/fstab>.  I<In particular note> that this may return filesystems which"
10672 " are non-existent or not mountable and callers should be prepared to handle "
10673 "or ignore failures if they try to mount them."
10674 msgstr ""
10675
10676 #. type: textblock
10677 #: ../fish/guestfish-actions.pod:2216 ../src/guestfs-actions.pod:3435
10678 msgid ""
10679 "Each element in the returned hashtable has a key which is the path of the "
10680 "mountpoint (eg. C</boot>) and a value which is the filesystem that would be "
10681 "mounted there (eg. C</dev/sda1>)."
10682 msgstr ""
10683
10684 #. type: textblock
10685 #: ../fish/guestfish-actions.pod:2221 ../src/guestfs-actions.pod:3440
10686 msgid ""
10687 "Non-mounted devices such as swap devices are I<not> returned in this list."
10688 msgstr ""
10689
10690 #. type: textblock
10691 #: ../fish/guestfish-actions.pod:2224
10692 msgid ""
10693 "For operating systems like Windows which still use drive letters, this call "
10694 "will only return an entry for the first drive \"mounted on\" C</>.  For "
10695 "information about the mapping of drive letters to partitions, see L"
10696 "</inspect-get-drive-mappings>."
10697 msgstr ""
10698
10699 #. type: textblock
10700 #: ../fish/guestfish-actions.pod:2230
10701 msgid ""
10702 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
10703 "get-filesystems>."
10704 msgstr ""
10705
10706 #. type: =head2
10707 #: ../fish/guestfish-actions.pod:2233
10708 msgid "inspect-get-package-format"
10709 msgstr "inspect-get-package-format"
10710
10711 #. type: verbatim
10712 #: ../fish/guestfish-actions.pod:2235
10713 #, no-wrap
10714 msgid ""
10715 " inspect-get-package-format root\n"
10716 "\n"
10717 msgstr ""
10718 " inspect-get-package-format корінь\n"
10719 "\n"
10720
10721 #. type: textblock
10722 #: ../fish/guestfish-actions.pod:2237
10723 msgid ""
10724 "This function and L</inspect-get-package-management> return the package "
10725 "format and package management tool used by the inspected operating system.  "
10726 "For example for Fedora these functions would return C<rpm> (package format) "
10727 "and C<yum> (package management)."
10728 msgstr ""
10729
10730 #. type: textblock
10731 #: ../fish/guestfish-actions.pod:2243 ../src/guestfs-actions.pod:3472
10732 msgid ""
10733 "This returns the string C<unknown> if we could not determine the package "
10734 "format I<or> if the operating system does not have a real packaging system "
10735 "(eg. Windows)."
10736 msgstr ""
10737
10738 #. type: textblock
10739 #: ../fish/guestfish-actions.pod:2247 ../src/guestfs-actions.pod:3476
10740 msgid ""
10741 "Possible strings include: C<rpm>, C<deb>, C<ebuild>, C<pisi>, C<pacman>, "
10742 "C<pkgsrc>.  Future versions of libguestfs may return other strings."
10743 msgstr ""
10744
10745 #. type: =head2
10746 #: ../fish/guestfish-actions.pod:2253
10747 msgid "inspect-get-package-management"
10748 msgstr "inspect-get-package-management"
10749
10750 #. type: verbatim
10751 #: ../fish/guestfish-actions.pod:2255
10752 #, no-wrap
10753 msgid ""
10754 " inspect-get-package-management root\n"
10755 "\n"
10756 msgstr ""
10757 " inspect-get-package-management корінь\n"
10758 "\n"
10759
10760 #. type: textblock
10761 #: ../fish/guestfish-actions.pod:2257
10762 msgid ""
10763 "L</inspect-get-package-format> and this function return the package format "
10764 "and package management tool used by the inspected operating system.  For "
10765 "example for Fedora these functions would return C<rpm> (package format) and "
10766 "C<yum> (package management)."
10767 msgstr ""
10768
10769 #. type: textblock
10770 #: ../fish/guestfish-actions.pod:2263 ../src/guestfs-actions.pod:3499
10771 msgid ""
10772 "This returns the string C<unknown> if we could not determine the package "
10773 "management tool I<or> if the operating system does not have a real packaging"
10774 " system (eg. Windows)."
10775 msgstr ""
10776
10777 #. type: textblock
10778 #: ../fish/guestfish-actions.pod:2267 ../src/guestfs-actions.pod:3503
10779 msgid ""
10780 "Possible strings include: C<yum>, C<up2date>, C<apt> (for all Debian "
10781 "derivatives), C<portage>, C<pisi>, C<pacman>, C<urpmi>, C<zypper>.  Future "
10782 "versions of libguestfs may return other strings."
10783 msgstr ""
10784
10785 #. type: =head2
10786 #: ../fish/guestfish-actions.pod:2274
10787 msgid "inspect-get-product-name"
10788 msgstr "inspect-get-product-name"
10789
10790 #. type: verbatim
10791 #: ../fish/guestfish-actions.pod:2276
10792 #, no-wrap
10793 msgid ""
10794 " inspect-get-product-name root\n"
10795 "\n"
10796 msgstr ""
10797 " inspect-get-product-name корінь\n"
10798 "\n"
10799
10800 #. type: textblock
10801 #: ../fish/guestfish-actions.pod:2278 ../src/guestfs-actions.pod:3521
10802 msgid ""
10803 "This returns the product name of the inspected operating system.  The "
10804 "product name is generally some freeform string which can be displayed to the"
10805 " user, but should not be parsed by programs."
10806 msgstr ""
10807
10808 #. type: textblock
10809 #: ../fish/guestfish-actions.pod:2283 ../src/guestfs-actions.pod:3526
10810 msgid ""
10811 "If the product name could not be determined, then the string C<unknown> is "
10812 "returned."
10813 msgstr ""
10814
10815 #. type: =head2
10816 #: ../fish/guestfish-actions.pod:2288
10817 msgid "inspect-get-product-variant"
10818 msgstr ""
10819
10820 #. type: verbatim
10821 #: ../fish/guestfish-actions.pod:2290
10822 #, no-wrap
10823 msgid ""
10824 " inspect-get-product-variant root\n"
10825 "\n"
10826 msgstr ""
10827
10828 #. type: textblock
10829 #: ../fish/guestfish-actions.pod:2292 ../src/guestfs-actions.pod:3542
10830 msgid "This returns the product variant of the inspected operating system."
10831 msgstr ""
10832
10833 #. type: textblock
10834 #: ../fish/guestfish-actions.pod:2295 ../src/guestfs-actions.pod:3545
10835 msgid ""
10836 "For Windows guests, this returns the contents of the Registry key "
10837 "C<HKLM\\Software\\Microsoft\\Windows NT\\CurrentVersion> C<InstallationType>"
10838 " which is usually a string such as C<Client> or C<Server> (other values are "
10839 "possible).  This can be used to distinguish consumer and enterprise versions"
10840 " of Windows that have the same version number (for example, Windows 7 and "
10841 "Windows 2008 Server are both version 6.1, but the former is C<Client> and "
10842 "the latter is C<Server>)."
10843 msgstr ""
10844
10845 #. type: textblock
10846 #: ../fish/guestfish-actions.pod:2304 ../src/guestfs-actions.pod:3554
10847 msgid ""
10848 "For enterprise Linux guests, in future we intend this to return the product "
10849 "variant such as C<Desktop>, C<Server> and so on.  But this is not "
10850 "implemented at present."
10851 msgstr ""
10852
10853 #. type: textblock
10854 #: ../fish/guestfish-actions.pod:2308 ../src/guestfs-actions.pod:3558
10855 msgid ""
10856 "If the product variant could not be determined, then the string C<unknown> "
10857 "is returned."
10858 msgstr ""
10859
10860 #. type: textblock
10861 #: ../fish/guestfish-actions.pod:2311
10862 msgid ""
10863 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
10864 "get-product-name>, L</inspect-get-major-version>."
10865 msgstr ""
10866
10867 #. type: =head2
10868 #: ../fish/guestfish-actions.pod:2315
10869 msgid "inspect-get-roots"
10870 msgstr "inspect-get-roots"
10871
10872 #. type: verbatim
10873 #: ../fish/guestfish-actions.pod:2317
10874 #, no-wrap
10875 msgid ""
10876 " inspect-get-roots\n"
10877 "\n"
10878 msgstr ""
10879 " inspect-get-roots\n"
10880 "\n"
10881
10882 #. type: textblock
10883 #: ../fish/guestfish-actions.pod:2319
10884 msgid ""
10885 "This function is a convenient way to get the list of root devices, as "
10886 "returned from a previous call to L</inspect-os>, but without redoing the "
10887 "whole inspection process."
10888 msgstr ""
10889
10890 #. type: textblock
10891 #: ../fish/guestfish-actions.pod:2323
10892 msgid ""
10893 "This returns an empty list if either no root devices were found or the "
10894 "caller has not called L</inspect-os>."
10895 msgstr ""
10896
10897 #. type: =head2
10898 #: ../fish/guestfish-actions.pod:2328
10899 msgid "inspect-get-type"
10900 msgstr "inspect-get-type"
10901
10902 #. type: verbatim
10903 #: ../fish/guestfish-actions.pod:2330
10904 #, no-wrap
10905 msgid ""
10906 " inspect-get-type root\n"
10907 "\n"
10908 msgstr ""
10909 " inspect-get-type корінь\n"
10910 "\n"
10911
10912 #. type: textblock
10913 #: ../fish/guestfish-actions.pod:2332 ../src/guestfs-actions.pod:3596
10914 msgid ""
10915 "This returns the type of the inspected operating system.  Currently defined "
10916 "types are:"
10917 msgstr ""
10918
10919 #. type: =item
10920 #: ../fish/guestfish-actions.pod:2337 ../src/guestfs-actions.pod:3601
10921 msgid "\"linux\""
10922 msgstr "\"linux\""
10923
10924 #. type: textblock
10925 #: ../fish/guestfish-actions.pod:2339 ../src/guestfs-actions.pod:3603
10926 msgid "Any Linux-based operating system."
10927 msgstr ""
10928
10929 #. type: textblock
10930 #: ../fish/guestfish-actions.pod:2343 ../src/guestfs-actions.pod:3607
10931 msgid "Any Microsoft Windows operating system."
10932 msgstr ""
10933
10934 #. type: =item
10935 #: ../fish/guestfish-actions.pod:2345 ../src/guestfs-actions.pod:3609
10936 msgid "\"freebsd\""
10937 msgstr "\"freebsd\""
10938
10939 #. type: textblock
10940 #: ../fish/guestfish-actions.pod:2347 ../src/guestfs-actions.pod:3611
10941 msgid "FreeBSD."
10942 msgstr "FreeBSD."
10943
10944 #. type: =item
10945 #: ../fish/guestfish-actions.pod:2349 ../src/guestfs-actions.pod:3613
10946 msgid "\"netbsd\""
10947 msgstr ""
10948
10949 #. type: textblock
10950 #: ../fish/guestfish-actions.pod:2351 ../src/guestfs-actions.pod:3615
10951 msgid "NetBSD."
10952 msgstr ""
10953
10954 #. type: textblock
10955 #: ../fish/guestfish-actions.pod:2355 ../src/guestfs-actions.pod:3619
10956 msgid "The operating system type could not be determined."
10957 msgstr ""
10958
10959 #. type: =head2
10960 #: ../fish/guestfish-actions.pod:2364
10961 msgid "inspect-get-windows-current-control-set"
10962 msgstr ""
10963
10964 #. type: verbatim
10965 #: ../fish/guestfish-actions.pod:2366
10966 #, no-wrap
10967 msgid ""
10968 " inspect-get-windows-current-control-set root\n"
10969 "\n"
10970 msgstr ""
10971
10972 #. type: textblock
10973 #: ../fish/guestfish-actions.pod:2368 ../src/guestfs-actions.pod:3639
10974 msgid ""
10975 "This returns the Windows CurrentControlSet of the inspected guest.  The "
10976 "CurrentControlSet is a registry key name such as C<ControlSet001>."
10977 msgstr ""
10978
10979 #. type: textblock
10980 #: ../fish/guestfish-actions.pod:2371 ../src/guestfs-actions.pod:3642
10981 msgid ""
10982 "This call assumes that the guest is Windows and that the Registry could be "
10983 "examined by inspection.  If this is not the case then an error is returned."
10984 msgstr ""
10985
10986 #. type: =head2
10987 #: ../fish/guestfish-actions.pod:2377
10988 msgid "inspect-get-windows-systemroot"
10989 msgstr "inspect-get-windows-systemroot"
10990
10991 #. type: verbatim
10992 #: ../fish/guestfish-actions.pod:2379
10993 #, no-wrap
10994 msgid ""
10995 " inspect-get-windows-systemroot root\n"
10996 "\n"
10997 msgstr ""
10998 " inspect-get-windows-systemroot корінь\n"
10999 "\n"
11000
11001 #. type: textblock
11002 #: ../fish/guestfish-actions.pod:2381 ../src/guestfs-actions.pod:3659
11003 msgid ""
11004 "This returns the Windows systemroot of the inspected guest.  The systemroot "
11005 "is a directory path such as C</WINDOWS>."
11006 msgstr ""
11007
11008 #. type: textblock
11009 #: ../fish/guestfish-actions.pod:2384 ../src/guestfs-actions.pod:3662
11010 msgid ""
11011 "This call assumes that the guest is Windows and that the systemroot could be"
11012 " determined by inspection.  If this is not the case then an error is "
11013 "returned."
11014 msgstr ""
11015
11016 #. type: =head2
11017 #: ../fish/guestfish-actions.pod:2390
11018 msgid "inspect-is-live"
11019 msgstr "inspect-is-live"
11020
11021 #. type: verbatim
11022 #: ../fish/guestfish-actions.pod:2392
11023 #, no-wrap
11024 msgid ""
11025 " inspect-is-live root\n"
11026 "\n"
11027 msgstr ""
11028 " inspect-is-live корінь\n"
11029 "\n"
11030
11031 #. type: textblock
11032 #: ../fish/guestfish-actions.pod:2394
11033 msgid ""
11034 "If L</inspect-get-format> returns C<installer> (this is an install disk), "
11035 "then this returns true if a live image was detected on the disk."
11036 msgstr ""
11037
11038 #. type: =head2
11039 #: ../fish/guestfish-actions.pod:2400
11040 msgid "inspect-is-multipart"
11041 msgstr "inspect-is-multipart"
11042
11043 #. type: verbatim
11044 #: ../fish/guestfish-actions.pod:2402
11045 #, no-wrap
11046 msgid ""
11047 " inspect-is-multipart root\n"
11048 "\n"
11049 msgstr ""
11050 " inspect-is-multipart корінь\n"
11051 "\n"
11052
11053 #. type: textblock
11054 #: ../fish/guestfish-actions.pod:2404
11055 msgid ""
11056 "If L</inspect-get-format> returns C<installer> (this is an install disk), "
11057 "then this returns true if the disk is part of a set."
11058 msgstr ""
11059
11060 #. type: =head2
11061 #: ../fish/guestfish-actions.pod:2410
11062 msgid "inspect-is-netinst"
11063 msgstr "inspect-is-netinst"
11064
11065 #. type: verbatim
11066 #: ../fish/guestfish-actions.pod:2412
11067 #, no-wrap
11068 msgid ""
11069 " inspect-is-netinst root\n"
11070 "\n"
11071 msgstr ""
11072 " inspect-is-netinst корінь\n"
11073 "\n"
11074
11075 #. type: textblock
11076 #: ../fish/guestfish-actions.pod:2414
11077 msgid ""
11078 "If L</inspect-get-format> returns C<installer> (this is an install disk), "
11079 "then this returns true if the disk is a network installer, ie. not a self-"
11080 "contained install CD but one which is likely to require network access to "
11081 "complete the install."
11082 msgstr ""
11083
11084 #. type: =head2
11085 #: ../fish/guestfish-actions.pod:2422
11086 msgid "inspect-list-applications"
11087 msgstr "inspect-list-applications"
11088
11089 #. type: verbatim
11090 #: ../fish/guestfish-actions.pod:2424
11091 #, no-wrap
11092 msgid ""
11093 " inspect-list-applications root\n"
11094 "\n"
11095 msgstr ""
11096 " inspect-list-applications кореневий_каталог\n"
11097 "\n"
11098
11099 #. type: textblock
11100 #: ../fish/guestfish-actions.pod:2426 ../src/guestfs-actions.pod:3729
11101 msgid "Return the list of applications installed in the operating system."
11102 msgstr ""
11103
11104 #. type: textblock
11105 #: ../fish/guestfish-actions.pod:2428
11106 msgid ""
11107 "I<Note:> This call works differently from other parts of the inspection API."
11108 "  You have to call L</inspect-os>, then L</inspect-get-mountpoints>, then "
11109 "mount up the disks, before calling this.  Listing applications is a "
11110 "significantly more difficult operation which requires access to the full "
11111 "filesystem.  Also note that unlike the other L</inspect-get-*> calls which "
11112 "are just returning data cached in the libguestfs handle, this call actually "
11113 "reads parts of the mounted filesystems during the call."
11114 msgstr ""
11115
11116 #. type: textblock
11117 #: ../fish/guestfish-actions.pod:2438 ../src/guestfs-actions.pod:3741
11118 msgid ""
11119 "This returns an empty list if the inspection code was not able to determine "
11120 "the list of applications."
11121 msgstr ""
11122
11123 #. type: textblock
11124 #: ../fish/guestfish-actions.pod:2441 ../src/guestfs-actions.pod:3744
11125 msgid "The application structure contains the following fields:"
11126 msgstr ""
11127
11128 #. type: =item
11129 #: ../fish/guestfish-actions.pod:2445 ../src/guestfs-actions.pod:3748
11130 msgid "C<app_name>"
11131 msgstr "C<app_name>"
11132
11133 #. type: textblock
11134 #: ../fish/guestfish-actions.pod:2447 ../src/guestfs-actions.pod:3750
11135 msgid ""
11136 "The name of the application.  For Red Hat-derived and Debian-derived Linux "
11137 "guests, this is the package name."
11138 msgstr ""
11139
11140 #. type: =item
11141 #: ../fish/guestfish-actions.pod:2450 ../src/guestfs-actions.pod:3753
11142 msgid "C<app_display_name>"
11143 msgstr "C<app_display_name>"
11144
11145 #. type: textblock
11146 #: ../fish/guestfish-actions.pod:2452 ../src/guestfs-actions.pod:3755
11147 msgid ""
11148 "The display name of the application, sometimes localized to the install "
11149 "language of the guest operating system."
11150 msgstr ""
11151
11152 #. type: textblock
11153 #: ../fish/guestfish-actions.pod:2455 ../src/guestfs-actions.pod:3758
11154 msgid ""
11155 "If unavailable this is returned as an empty string C<\"\">.  Callers needing"
11156 " to display something can use C<app_name> instead."
11157 msgstr ""
11158
11159 #. type: =item
11160 #: ../fish/guestfish-actions.pod:2458 ../src/guestfs-actions.pod:3761
11161 msgid "C<app_epoch>"
11162 msgstr "C<app_epoch>"
11163
11164 #. type: textblock
11165 #: ../fish/guestfish-actions.pod:2460 ../src/guestfs-actions.pod:3763
11166 msgid ""
11167 "For package managers which use epochs, this contains the epoch of the "
11168 "package (an integer).  If unavailable, this is returned as C<0>."
11169 msgstr ""
11170
11171 #. type: =item
11172 #: ../fish/guestfish-actions.pod:2463 ../src/guestfs-actions.pod:3766
11173 msgid "C<app_version>"
11174 msgstr "C<app_version>"
11175
11176 #. type: textblock
11177 #: ../fish/guestfish-actions.pod:2465 ../src/guestfs-actions.pod:3768
11178 msgid ""
11179 "The version string of the application or package.  If unavailable this is "
11180 "returned as an empty string C<\"\">."
11181 msgstr ""
11182
11183 #. type: =item
11184 #: ../fish/guestfish-actions.pod:2468 ../src/guestfs-actions.pod:3771
11185 msgid "C<app_release>"
11186 msgstr "C<app_release>"
11187
11188 #. type: textblock
11189 #: ../fish/guestfish-actions.pod:2470 ../src/guestfs-actions.pod:3773
11190 msgid ""
11191 "The release string of the application or package, for package managers that "
11192 "use this.  If unavailable this is returned as an empty string C<\"\">."
11193 msgstr ""
11194
11195 #. type: =item
11196 #: ../fish/guestfish-actions.pod:2474 ../src/guestfs-actions.pod:3777
11197 msgid "C<app_install_path>"
11198 msgstr "C<app_install_path>"
11199
11200 #. type: textblock
11201 #: ../fish/guestfish-actions.pod:2476 ../src/guestfs-actions.pod:3779
11202 msgid ""
11203 "The installation path of the application (on operating systems such as "
11204 "Windows which use installation paths).  This path is in the format used by "
11205 "the guest operating system, it is not a libguestfs path."
11206 msgstr ""
11207
11208 #. type: textblock
11209 #: ../fish/guestfish-actions.pod:2481 ../src/guestfs-actions.pod:3784
11210 msgid "If unavailable this is returned as an empty string C<\"\">."
11211 msgstr ""
11212
11213 #. type: =item
11214 #: ../fish/guestfish-actions.pod:2483 ../src/guestfs-actions.pod:3786
11215 msgid "C<app_trans_path>"
11216 msgstr "C<app_trans_path>"
11217
11218 #. type: textblock
11219 #: ../fish/guestfish-actions.pod:2485 ../src/guestfs-actions.pod:3788
11220 msgid ""
11221 "The install path translated into a libguestfs path.  If unavailable this is "
11222 "returned as an empty string C<\"\">."
11223 msgstr ""
11224
11225 #. type: =item
11226 #: ../fish/guestfish-actions.pod:2488 ../src/guestfs-actions.pod:3791
11227 msgid "C<app_publisher>"
11228 msgstr "C<app_publisher>"
11229
11230 #. type: textblock
11231 #: ../fish/guestfish-actions.pod:2490 ../src/guestfs-actions.pod:3793
11232 msgid ""
11233 "The name of the publisher of the application, for package managers that use "
11234 "this.  If unavailable this is returned as an empty string C<\"\">."
11235 msgstr ""
11236
11237 #. type: =item
11238 #: ../fish/guestfish-actions.pod:2494 ../src/guestfs-actions.pod:3797
11239 msgid "C<app_url>"
11240 msgstr "C<app_url>"
11241
11242 #. type: textblock
11243 #: ../fish/guestfish-actions.pod:2496 ../src/guestfs-actions.pod:3799
11244 msgid ""
11245 "The URL (eg. upstream URL) of the application.  If unavailable this is "
11246 "returned as an empty string C<\"\">."
11247 msgstr ""
11248
11249 #. type: =item
11250 #: ../fish/guestfish-actions.pod:2499 ../src/guestfs-actions.pod:3802
11251 msgid "C<app_source_package>"
11252 msgstr "C<app_source_package>"
11253
11254 #. type: textblock
11255 #: ../fish/guestfish-actions.pod:2501 ../src/guestfs-actions.pod:3804
11256 msgid ""
11257 "For packaging systems which support this, the name of the source package.  "
11258 "If unavailable this is returned as an empty string C<\"\">."
11259 msgstr ""
11260
11261 #. type: =item
11262 #: ../fish/guestfish-actions.pod:2504 ../src/guestfs-actions.pod:3807
11263 msgid "C<app_summary>"
11264 msgstr "C<app_summary>"
11265
11266 #. type: textblock
11267 #: ../fish/guestfish-actions.pod:2506 ../src/guestfs-actions.pod:3809
11268 msgid ""
11269 "A short (usually one line) description of the application or package.  If "
11270 "unavailable this is returned as an empty string C<\"\">."
11271 msgstr ""
11272
11273 #. type: =item
11274 #: ../fish/guestfish-actions.pod:2509 ../src/guestfs-actions.pod:3812
11275 msgid "C<app_description>"
11276 msgstr "C<app_description>"
11277
11278 #. type: textblock
11279 #: ../fish/guestfish-actions.pod:2511 ../src/guestfs-actions.pod:3814
11280 msgid ""
11281 "A longer description of the application or package.  If unavailable this is "
11282 "returned as an empty string C<\"\">."
11283 msgstr ""
11284
11285 #. type: =head2
11286 #: ../fish/guestfish-actions.pod:2518
11287 msgid "inspect-os"
11288 msgstr "inspect-os"
11289
11290 #. type: verbatim
11291 #: ../fish/guestfish-actions.pod:2520
11292 #, no-wrap
11293 msgid ""
11294 " inspect-os\n"
11295 "\n"
11296 msgstr ""
11297 " inspect-os\n"
11298 "\n"
11299
11300 #. type: textblock
11301 #: ../fish/guestfish-actions.pod:2522 ../src/guestfs-actions.pod:3832
11302 msgid ""
11303 "This function uses other libguestfs functions and certain heuristics to "
11304 "inspect the disk(s) (usually disks belonging to a virtual machine), looking "
11305 "for operating systems."
11306 msgstr ""
11307
11308 #. type: textblock
11309 #: ../fish/guestfish-actions.pod:2526 ../src/guestfs-actions.pod:3836
11310 msgid "The list returned is empty if no operating systems were found."
11311 msgstr ""
11312
11313 #. type: textblock
11314 #: ../fish/guestfish-actions.pod:2528 ../src/guestfs-actions.pod:3838
11315 msgid ""
11316 "If one operating system was found, then this returns a list with a single "
11317 "element, which is the name of the root filesystem of this operating system."
11318 "  It is also possible for this function to return a list containing more "
11319 "than one element, indicating a dual-boot or multi-boot virtual machine, with"
11320 " each element being the root filesystem of one of the operating systems."
11321 msgstr ""
11322
11323 #. type: textblock
11324 #: ../fish/guestfish-actions.pod:2535
11325 msgid ""
11326 "You can pass the root string(s) returned to other L</inspect-get-*> "
11327 "functions in order to query further information about each operating system,"
11328 " such as the name and version."
11329 msgstr ""
11330
11331 #. type: textblock
11332 #: ../fish/guestfish-actions.pod:2540
11333 msgid ""
11334 "This function uses other libguestfs features such as L</mount-ro> and L"
11335 "</umount-all> in order to mount and unmount filesystems and look at the "
11336 "contents.  This should be called with no disks currently mounted.  The "
11337 "function may also use Augeas, so any existing Augeas handle will be closed."
11338 msgstr ""
11339
11340 #. type: textblock
11341 #: ../fish/guestfish-actions.pod:2546 ../src/guestfs-actions.pod:3856
11342 msgid ""
11343 "This function cannot decrypt encrypted disks.  The caller must do that first"
11344 " (supplying the necessary keys) if the disk is encrypted."
11345 msgstr ""
11346
11347 #. type: textblock
11348 #: ../fish/guestfish-actions.pod:2552 ../fish/guestfish-actions.pod:2750
11349 #: ../fish/guestfish-actions.pod:2809
11350 msgid "See also L</list-filesystems>."
11351 msgstr "Див. також L</list-filesystems>."
11352
11353 #. type: =head2
11354 #: ../fish/guestfish-actions.pod:2554
11355 msgid "is-blockdev"
11356 msgstr "is-blockdev"
11357
11358 #. type: verbatim
11359 #: ../fish/guestfish-actions.pod:2556
11360 #, no-wrap
11361 msgid ""
11362 " is-blockdev path\n"
11363 "\n"
11364 msgstr ""
11365 " is-blockdev шлях\n"
11366 "\n"
11367
11368 #. type: textblock
11369 #: ../fish/guestfish-actions.pod:2558 ../src/guestfs-actions.pod:3876
11370 msgid ""
11371 "This returns C<true> if and only if there is a block device with the given "
11372 "C<path> name."
11373 msgstr ""
11374
11375 #. type: textblock
11376 #: ../fish/guestfish-actions.pod:2561 ../fish/guestfish-actions.pod:2579
11377 #: ../fish/guestfish-actions.pod:2598 ../fish/guestfish-actions.pod:2607
11378 #: ../fish/guestfish-actions.pod:2617 ../fish/guestfish-actions.pod:2651
11379 #: ../fish/guestfish-actions.pod:2660
11380 msgid "See also L</stat>."
11381 msgstr "Див. також L</stat>."
11382
11383 #. type: =head2
11384 #: ../fish/guestfish-actions.pod:2563
11385 msgid "is-busy"
11386 msgstr "is-busy"
11387
11388 #. type: verbatim
11389 #: ../fish/guestfish-actions.pod:2565
11390 #, no-wrap
11391 msgid ""
11392 " is-busy\n"
11393 "\n"
11394 msgstr ""
11395 " is-busy\n"
11396 "\n"
11397
11398 #. type: textblock
11399 #: ../fish/guestfish-actions.pod:2567 ../src/guestfs-actions.pod:3890
11400 msgid ""
11401 "This returns true iff this handle is busy processing a command (in the "
11402 "C<BUSY> state)."
11403 msgstr ""
11404
11405 #. type: =head2
11406 #: ../fish/guestfish-actions.pod:2572
11407 msgid "is-chardev"
11408 msgstr "is-chardev"
11409
11410 #. type: verbatim
11411 #: ../fish/guestfish-actions.pod:2574
11412 #, no-wrap
11413 msgid ""
11414 " is-chardev path\n"
11415 "\n"
11416 msgstr ""
11417 " is-chardev шлях\n"
11418 "\n"
11419
11420 #. type: textblock
11421 #: ../fish/guestfish-actions.pod:2576 ../src/guestfs-actions.pod:3905
11422 msgid ""
11423 "This returns C<true> if and only if there is a character device with the "
11424 "given C<path> name."
11425 msgstr ""
11426
11427 #. type: =head2
11428 #: ../fish/guestfish-actions.pod:2581
11429 msgid "is-config"
11430 msgstr "is-config"
11431
11432 #. type: verbatim
11433 #: ../fish/guestfish-actions.pod:2583
11434 #, no-wrap
11435 msgid ""
11436 " is-config\n"
11437 "\n"
11438 msgstr ""
11439 " is-config\n"
11440 "\n"
11441
11442 #. type: textblock
11443 #: ../fish/guestfish-actions.pod:2585 ../src/guestfs-actions.pod:3919
11444 msgid ""
11445 "This returns true iff this handle is being configured (in the C<CONFIG> "
11446 "state)."
11447 msgstr ""
11448
11449 #. type: =head2
11450 #: ../fish/guestfish-actions.pod:2590
11451 msgid "is-dir"
11452 msgstr "is-dir"
11453
11454 #. type: verbatim
11455 #: ../fish/guestfish-actions.pod:2592
11456 #, no-wrap
11457 msgid ""
11458 " is-dir path\n"
11459 "\n"
11460 msgstr ""
11461 " is-dir шлях\n"
11462 "\n"
11463
11464 #. type: textblock
11465 #: ../fish/guestfish-actions.pod:2594 ../src/guestfs-actions.pod:3934
11466 msgid ""
11467 "This returns C<true> if and only if there is a directory with the given "
11468 "C<path> name.  Note that it returns false for other objects like files."
11469 msgstr ""
11470
11471 #. type: =head2
11472 #: ../fish/guestfish-actions.pod:2600
11473 msgid "is-fifo"
11474 msgstr "is-fifo"
11475
11476 #. type: verbatim
11477 #: ../fish/guestfish-actions.pod:2602
11478 #, no-wrap
11479 msgid ""
11480 " is-fifo path\n"
11481 "\n"
11482 msgstr ""
11483 " is-fifo шлях\n"
11484 "\n"
11485
11486 #. type: textblock
11487 #: ../fish/guestfish-actions.pod:2604 ../src/guestfs-actions.pod:3950
11488 msgid ""
11489 "This returns C<true> if and only if there is a FIFO (named pipe)  with the "
11490 "given C<path> name."
11491 msgstr ""
11492
11493 #. type: =head2
11494 #: ../fish/guestfish-actions.pod:2609
11495 msgid "is-file"
11496 msgstr "is-file"
11497
11498 #. type: verbatim
11499 #: ../fish/guestfish-actions.pod:2611
11500 #, no-wrap
11501 msgid ""
11502 " is-file path\n"
11503 "\n"
11504 msgstr ""
11505 " is-file шлях\n"
11506 "\n"
11507
11508 #. type: textblock
11509 #: ../fish/guestfish-actions.pod:2613 ../src/guestfs-actions.pod:3965
11510 msgid ""
11511 "This returns C<true> if and only if there is a regular file with the given "
11512 "C<path> name.  Note that it returns false for other objects like "
11513 "directories."
11514 msgstr ""
11515
11516 #. type: =head2
11517 #: ../fish/guestfish-actions.pod:2619
11518 msgid "is-launching"
11519 msgstr "is-launching"
11520
11521 #. type: verbatim
11522 #: ../fish/guestfish-actions.pod:2621
11523 #, no-wrap
11524 msgid ""
11525 " is-launching\n"
11526 "\n"
11527 msgstr ""
11528 " is-launching\n"
11529 "\n"
11530
11531 #. type: textblock
11532 #: ../fish/guestfish-actions.pod:2623 ../src/guestfs-actions.pod:3980
11533 msgid ""
11534 "This returns true iff this handle is launching the subprocess (in the "
11535 "C<LAUNCHING> state)."
11536 msgstr ""
11537
11538 #. type: =head2
11539 #: ../fish/guestfish-actions.pod:2628
11540 msgid "is-lv"
11541 msgstr "is-lv"
11542
11543 #. type: verbatim
11544 #: ../fish/guestfish-actions.pod:2630
11545 #, no-wrap
11546 msgid ""
11547 " is-lv device\n"
11548 "\n"
11549 msgstr ""
11550 " is-lv пристрій\n"
11551 "\n"
11552
11553 #. type: textblock
11554 #: ../fish/guestfish-actions.pod:2632 ../src/guestfs-actions.pod:3995
11555 msgid ""
11556 "This command tests whether C<device> is a logical volume, and returns true "
11557 "iff this is the case."
11558 msgstr ""
11559
11560 #. type: =head2
11561 #: ../fish/guestfish-actions.pod:2635
11562 msgid "is-ready"
11563 msgstr "is-ready"
11564
11565 #. type: verbatim
11566 #: ../fish/guestfish-actions.pod:2637
11567 #, no-wrap
11568 msgid ""
11569 " is-ready\n"
11570 "\n"
11571 msgstr ""
11572 " is-ready\n"
11573 "\n"
11574
11575 #. type: textblock
11576 #: ../fish/guestfish-actions.pod:2639 ../src/guestfs-actions.pod:4007
11577 msgid ""
11578 "This returns true iff this handle is ready to accept commands (in the "
11579 "C<READY> state)."
11580 msgstr ""
11581
11582 #. type: =head2
11583 #: ../fish/guestfish-actions.pod:2644
11584 msgid "is-socket"
11585 msgstr "is-socket"
11586
11587 #. type: verbatim
11588 #: ../fish/guestfish-actions.pod:2646
11589 #, no-wrap
11590 msgid ""
11591 " is-socket path\n"
11592 "\n"
11593 msgstr ""
11594 " is-socket шлях\n"
11595 "\n"
11596
11597 #. type: textblock
11598 #: ../fish/guestfish-actions.pod:2648 ../src/guestfs-actions.pod:4022
11599 msgid ""
11600 "This returns C<true> if and only if there is a Unix domain socket with the "
11601 "given C<path> name."
11602 msgstr ""
11603
11604 #. type: =head2
11605 #: ../fish/guestfish-actions.pod:2653
11606 msgid "is-symlink"
11607 msgstr "is-symlink"
11608
11609 #. type: verbatim
11610 #: ../fish/guestfish-actions.pod:2655
11611 #, no-wrap
11612 msgid ""
11613 " is-symlink path\n"
11614 "\n"
11615 msgstr ""
11616 " is-symlink шлях\n"
11617 "\n"
11618
11619 #. type: textblock
11620 #: ../fish/guestfish-actions.pod:2657 ../src/guestfs-actions.pod:4037
11621 msgid ""
11622 "This returns C<true> if and only if there is a symbolic link with the given "
11623 "C<path> name."
11624 msgstr ""
11625
11626 #. type: =head2
11627 #: ../fish/guestfish-actions.pod:2662
11628 msgid "is-zero"
11629 msgstr ""
11630
11631 #. type: verbatim
11632 #: ../fish/guestfish-actions.pod:2664
11633 #, no-wrap
11634 msgid ""
11635 " is-zero path\n"
11636 "\n"
11637 msgstr ""
11638
11639 #. type: textblock
11640 #: ../fish/guestfish-actions.pod:2666 ../src/guestfs-actions.pod:4052
11641 msgid ""
11642 "This returns true iff the file exists and the file is empty or it contains "
11643 "all zero bytes."
11644 msgstr ""
11645
11646 #. type: =head2
11647 #: ../fish/guestfish-actions.pod:2669
11648 msgid "is-zero-device"
11649 msgstr ""
11650
11651 #. type: verbatim
11652 #: ../fish/guestfish-actions.pod:2671
11653 #, no-wrap
11654 msgid ""
11655 " is-zero-device device\n"
11656 "\n"
11657 msgstr ""
11658
11659 #. type: textblock
11660 #: ../fish/guestfish-actions.pod:2673 ../src/guestfs-actions.pod:4065
11661 msgid "This returns true iff the device exists and contains all zero bytes."
11662 msgstr ""
11663
11664 #. type: textblock
11665 #: ../fish/guestfish-actions.pod:2675 ../src/guestfs-actions.pod:4067
11666 msgid "Note that for large devices this can take a long time to run."
11667 msgstr ""
11668
11669 #. type: =head2
11670 #: ../fish/guestfish-actions.pod:2677
11671 msgid "kill-subprocess"
11672 msgstr "kill-subprocess"
11673
11674 #. type: verbatim
11675 #: ../fish/guestfish-actions.pod:2679
11676 #, no-wrap
11677 msgid ""
11678 " kill-subprocess\n"
11679 "\n"
11680 msgstr ""
11681 " kill-subprocess\n"
11682 "\n"
11683
11684 #. type: textblock
11685 #: ../fish/guestfish-actions.pod:2681 ../src/guestfs-actions.pod:4078
11686 msgid "This kills the qemu subprocess.  You should never need to call this."
11687 msgstr ""
11688
11689 #. type: =head2
11690 #: ../fish/guestfish-actions.pod:2683
11691 msgid "launch"
11692 msgstr "launch"
11693
11694 #. type: =head2
11695 #: ../fish/guestfish-actions.pod:2685
11696 msgid "run"
11697 msgstr ""
11698
11699 #. type: verbatim
11700 #: ../fish/guestfish-actions.pod:2687
11701 #, no-wrap
11702 msgid ""
11703 " launch\n"
11704 "\n"
11705 msgstr ""
11706 " launch\n"
11707 "\n"
11708
11709 #. type: textblock
11710 #: ../fish/guestfish-actions.pod:2689 ../src/guestfs-actions.pod:4089
11711 msgid ""
11712 "Internally libguestfs is implemented by running a virtual machine using "
11713 "L<qemu(1)>."
11714 msgstr ""
11715
11716 #. type: textblock
11717 #: ../fish/guestfish-actions.pod:2692 ../src/guestfs-actions.pod:4092
11718 msgid ""
11719 "You should call this after configuring the handle (eg. adding drives) but "
11720 "before performing any actions."
11721 msgstr ""
11722
11723 #. type: =head2
11724 #: ../fish/guestfish-actions.pod:2695
11725 msgid "lchown"
11726 msgstr "lchown"
11727
11728 #. type: verbatim
11729 #: ../fish/guestfish-actions.pod:2697
11730 #, no-wrap
11731 msgid ""
11732 " lchown owner group path\n"
11733 "\n"
11734 msgstr ""
11735 " lchown власник група шлях\n"
11736 "\n"
11737
11738 #. type: textblock
11739 #: ../fish/guestfish-actions.pod:2699
11740 msgid ""
11741 "Change the file owner to C<owner> and group to C<group>.  This is like "
11742 "L</chown> but if C<path> is a symlink then the link itself is changed, not "
11743 "the target."
11744 msgstr ""
11745
11746 #. type: =head2
11747 #: ../fish/guestfish-actions.pod:2707
11748 msgid "lgetxattr"
11749 msgstr "lgetxattr"
11750
11751 #. type: verbatim
11752 #: ../fish/guestfish-actions.pod:2709
11753 #, no-wrap
11754 msgid ""
11755 " lgetxattr path name\n"
11756 "\n"
11757 msgstr ""
11758 " lgetxattr шлях назва\n"
11759 "\n"
11760
11761 #. type: textblock
11762 #: ../fish/guestfish-actions.pod:2711 ../src/guestfs-actions.pod:4132
11763 msgid ""
11764 "Get a single extended attribute from file C<path> named C<name>.  If C<path>"
11765 " is a symlink, then this call returns an extended attribute from the "
11766 "symlink."
11767 msgstr ""
11768
11769 #. type: textblock
11770 #: ../fish/guestfish-actions.pod:2725
11771 msgid "See also: L</lgetxattrs>, L</getxattr>, L<attr(5)>."
11772 msgstr "Див. також L</lgetxattrs>, L</getxattr>, L<attr(5)>."
11773
11774 #. type: =head2
11775 #: ../fish/guestfish-actions.pod:2727
11776 msgid "lgetxattrs"
11777 msgstr "lgetxattrs"
11778
11779 #. type: verbatim
11780 #: ../fish/guestfish-actions.pod:2729
11781 #, no-wrap
11782 msgid ""
11783 " lgetxattrs path\n"
11784 "\n"
11785 msgstr ""
11786 " lgetxattrs шлях\n"
11787 "\n"
11788
11789 #. type: textblock
11790 #: ../fish/guestfish-actions.pod:2731
11791 msgid ""
11792 "This is the same as L</getxattrs>, but if C<path> is a symbolic link, then "
11793 "it returns the extended attributes of the link itself."
11794 msgstr ""
11795
11796 #. type: =head2
11797 #: ../fish/guestfish-actions.pod:2735
11798 msgid "list-9p"
11799 msgstr ""
11800
11801 #. type: verbatim
11802 #: ../fish/guestfish-actions.pod:2737
11803 #, no-wrap
11804 msgid ""
11805 " list-9p\n"
11806 "\n"
11807 msgstr ""
11808
11809 #. type: textblock
11810 #: ../fish/guestfish-actions.pod:2739 ../src/guestfs-actions.pod:4175
11811 msgid ""
11812 "List all 9p filesystems attached to the guest.  A list of mount tags is "
11813 "returned."
11814 msgstr ""
11815
11816 #. type: =head2
11817 #: ../fish/guestfish-actions.pod:2742
11818 msgid "list-devices"
11819 msgstr "list-devices"
11820
11821 #. type: verbatim
11822 #: ../fish/guestfish-actions.pod:2744
11823 #, no-wrap
11824 msgid ""
11825 " list-devices\n"
11826 "\n"
11827 msgstr ""
11828 " list-devices\n"
11829 "\n"
11830
11831 #. type: textblock
11832 #: ../fish/guestfish-actions.pod:2746 ../src/guestfs-actions.pod:4189
11833 msgid "List all the block devices."
11834 msgstr ""
11835
11836 #. type: textblock
11837 #: ../fish/guestfish-actions.pod:2748 ../src/guestfs-actions.pod:4191
11838 msgid "The full block device names are returned, eg. C</dev/sda>."
11839 msgstr ""
11840
11841 #. type: =head2
11842 #: ../fish/guestfish-actions.pod:2752
11843 msgid "list-dm-devices"
11844 msgstr ""
11845
11846 #. type: verbatim
11847 #: ../fish/guestfish-actions.pod:2754
11848 #, no-wrap
11849 msgid ""
11850 " list-dm-devices\n"
11851 "\n"
11852 msgstr ""
11853
11854 #. type: textblock
11855 #: ../fish/guestfish-actions.pod:2756 ../src/guestfs-actions.pod:4206
11856 msgid "List all device mapper devices."
11857 msgstr ""
11858
11859 #. type: textblock
11860 #: ../fish/guestfish-actions.pod:2758
11861 msgid ""
11862 "The returned list contains C</dev/mapper/*> devices, eg. ones created by a "
11863 "previous call to L</luks-open>."
11864 msgstr ""
11865
11866 #. type: textblock
11867 #: ../fish/guestfish-actions.pod:2761
11868 msgid ""
11869 "Device mapper devices which correspond to logical volumes are I<not> "
11870 "returned in this list.  Call L</lvs> if you want to list logical volumes."
11871 msgstr ""
11872
11873 #. type: =head2
11874 #: ../fish/guestfish-actions.pod:2765
11875 msgid "list-filesystems"
11876 msgstr "list-filesystems"
11877
11878 #. type: verbatim
11879 #: ../fish/guestfish-actions.pod:2767
11880 #, no-wrap
11881 msgid ""
11882 " list-filesystems\n"
11883 "\n"
11884 msgstr ""
11885 " list-filesystems\n"
11886 "\n"
11887
11888 #. type: textblock
11889 #: ../fish/guestfish-actions.pod:2769 ../src/guestfs-actions.pod:4226
11890 msgid ""
11891 "This inspection command looks for filesystems on partitions, block devices "
11892 "and logical volumes, returning a list of devices containing filesystems and "
11893 "their type."
11894 msgstr ""
11895
11896 #. type: textblock
11897 #: ../fish/guestfish-actions.pod:2773 ../src/guestfs-actions.pod:4230
11898 msgid ""
11899 "The return value is a hash, where the keys are the devices containing "
11900 "filesystems, and the values are the filesystem types.  For example:"
11901 msgstr ""
11902
11903 #. type: verbatim
11904 #: ../fish/guestfish-actions.pod:2777 ../src/guestfs-actions.pod:4234
11905 #, no-wrap
11906 msgid ""
11907 " \"/dev/sda1\" => \"ntfs\"\n"
11908 " \"/dev/sda2\" => \"ext2\"\n"
11909 " \"/dev/vg_guest/lv_root\" => \"ext4\"\n"
11910 " \"/dev/vg_guest/lv_swap\" => \"swap\"\n"
11911 "\n"
11912 msgstr ""
11913
11914 #. type: textblock
11915 #: ../fish/guestfish-actions.pod:2782 ../src/guestfs-actions.pod:4239
11916 msgid ""
11917 "The value can have the special value \"unknown\", meaning the content of the"
11918 " device is undetermined or empty.  \"swap\" means a Linux swap partition."
11919 msgstr ""
11920
11921 #. type: textblock
11922 #: ../fish/guestfish-actions.pod:2786
11923 msgid ""
11924 "This command runs other libguestfs commands, which might include L</mount> "
11925 "and L</umount>, and therefore you should use this soon after launch and only"
11926 " when nothing is mounted."
11927 msgstr ""
11928
11929 #. type: textblock
11930 #: ../fish/guestfish-actions.pod:2790
11931 msgid ""
11932 "Not all of the filesystems returned will be mountable.  In particular, swap "
11933 "partitions are returned in the list.  Also this command does not check that "
11934 "each filesystem found is valid and mountable, and some filesystems might be "
11935 "mountable but require special options.  Filesystems may not all belong to a "
11936 "single logical operating system (use L</inspect-os> to look for OSes)."
11937 msgstr ""
11938
11939 #. type: =head2
11940 #: ../fish/guestfish-actions.pod:2798
11941 msgid "list-partitions"
11942 msgstr "list-partitions"
11943
11944 #. type: verbatim
11945 #: ../fish/guestfish-actions.pod:2800
11946 #, no-wrap
11947 msgid ""
11948 " list-partitions\n"
11949 "\n"
11950 msgstr ""
11951 " list-partitions\n"
11952 "\n"
11953
11954 #. type: textblock
11955 #: ../fish/guestfish-actions.pod:2802 ../src/guestfs-actions.pod:4268
11956 msgid "List all the partitions detected on all block devices."
11957 msgstr ""
11958
11959 #. type: textblock
11960 #: ../fish/guestfish-actions.pod:2804 ../src/guestfs-actions.pod:4270
11961 msgid "The full partition device names are returned, eg. C</dev/sda1>"
11962 msgstr ""
11963
11964 #. type: textblock
11965 #: ../fish/guestfish-actions.pod:2806
11966 msgid ""
11967 "This does not return logical volumes.  For that you will need to call "
11968 "L</lvs>."
11969 msgstr ""
11970
11971 #. type: =head2
11972 #: ../fish/guestfish-actions.pod:2811
11973 msgid "ll"
11974 msgstr "ll"
11975
11976 #. type: verbatim
11977 #: ../fish/guestfish-actions.pod:2813
11978 #, no-wrap
11979 msgid ""
11980 " ll directory\n"
11981 "\n"
11982 msgstr ""
11983 " ll каталог\n"
11984 "\n"
11985
11986 #. type: textblock
11987 #: ../fish/guestfish-actions.pod:2815 ../src/guestfs-actions.pod:4289
11988 msgid ""
11989 "List the files in C<directory> (relative to the root directory, there is no "
11990 "cwd) in the format of 'ls -la'."
11991 msgstr ""
11992
11993 #. type: textblock
11994 #: ../fish/guestfish-actions.pod:2818 ../src/guestfs-actions.pod:4292
11995 msgid ""
11996 "This command is mostly useful for interactive sessions.  It is I<not> "
11997 "intended that you try to parse the output string."
11998 msgstr ""
11999
12000 #. type: =head2
12001 #: ../fish/guestfish-actions.pod:2821
12002 msgid "ln"
12003 msgstr "ln"
12004
12005 #. type: verbatim
12006 #: ../fish/guestfish-actions.pod:2823
12007 #, no-wrap
12008 msgid ""
12009 " ln target linkname\n"
12010 "\n"
12011 msgstr ""
12012 " ln призначення назва_посилання\n"
12013 "\n"
12014
12015 #. type: textblock
12016 #: ../fish/guestfish-actions.pod:2825 ../src/guestfs-actions.pod:4307
12017 msgid "This command creates a hard link using the C<ln> command."
12018 msgstr ""
12019
12020 #. type: =head2
12021 #: ../fish/guestfish-actions.pod:2827
12022 msgid "ln-f"
12023 msgstr "ln-f"
12024
12025 #. type: verbatim
12026 #: ../fish/guestfish-actions.pod:2829
12027 #, no-wrap
12028 msgid ""
12029 " ln-f target linkname\n"
12030 "\n"
12031 msgstr ""
12032 " ln-f призначення назва_посилання\n"
12033 "\n"
12034
12035 #. type: textblock
12036 #: ../fish/guestfish-actions.pod:2831 ../src/guestfs-actions.pod:4320
12037 msgid ""
12038 "This command creates a hard link using the C<ln -f> command.  The I<-f> "
12039 "option removes the link (C<linkname>) if it exists already."
12040 msgstr ""
12041
12042 #. type: =head2
12043 #: ../fish/guestfish-actions.pod:2834
12044 msgid "ln-s"
12045 msgstr "ln-s"
12046
12047 #. type: verbatim
12048 #: ../fish/guestfish-actions.pod:2836
12049 #, no-wrap
12050 msgid ""
12051 " ln-s target linkname\n"
12052 "\n"
12053 msgstr ""
12054 " ln-s призначення назва_посилання\n"
12055 "\n"
12056
12057 #. type: textblock
12058 #: ../fish/guestfish-actions.pod:2838 ../src/guestfs-actions.pod:4334
12059 msgid "This command creates a symbolic link using the C<ln -s> command."
12060 msgstr ""
12061
12062 #. type: =head2
12063 #: ../fish/guestfish-actions.pod:2840
12064 msgid "ln-sf"
12065 msgstr "ln-sf"
12066
12067 #. type: verbatim
12068 #: ../fish/guestfish-actions.pod:2842
12069 #, no-wrap
12070 msgid ""
12071 " ln-sf target linkname\n"
12072 "\n"
12073 msgstr ""
12074 " ln-sf призначення назва_посилання\n"
12075 "\n"
12076
12077 #. type: textblock
12078 #: ../fish/guestfish-actions.pod:2844 ../src/guestfs-actions.pod:4347
12079 msgid ""
12080 "This command creates a symbolic link using the C<ln -sf> command, The I<-f> "
12081 "option removes the link (C<linkname>) if it exists already."
12082 msgstr ""
12083
12084 #. type: =head2
12085 #: ../fish/guestfish-actions.pod:2847
12086 msgid "lremovexattr"
12087 msgstr "lremovexattr"
12088
12089 #. type: verbatim
12090 #: ../fish/guestfish-actions.pod:2849
12091 #, no-wrap
12092 msgid ""
12093 " lremovexattr xattr path\n"
12094 "\n"
12095 msgstr ""
12096
12097 #. type: textblock
12098 #: ../fish/guestfish-actions.pod:2851
12099 msgid ""
12100 "This is the same as L</removexattr>, but if C<path> is a symbolic link, then"
12101 " it removes an extended attribute of the link itself."
12102 msgstr ""
12103
12104 #. type: =head2
12105 #: ../fish/guestfish-actions.pod:2855
12106 msgid "ls"
12107 msgstr "ls"
12108
12109 #. type: verbatim
12110 #: ../fish/guestfish-actions.pod:2857
12111 #, no-wrap
12112 msgid ""
12113 " ls directory\n"
12114 "\n"
12115 msgstr ""
12116 " ls каталог\n"
12117 "\n"
12118
12119 #. type: textblock
12120 #: ../fish/guestfish-actions.pod:2859 ../src/guestfs-actions.pod:4375
12121 msgid ""
12122 "List the files in C<directory> (relative to the root directory, there is no "
12123 "cwd).  The '.' and '..' entries are not returned, but hidden files are "
12124 "shown."
12125 msgstr ""
12126
12127 #. type: textblock
12128 #: ../fish/guestfish-actions.pod:2863
12129 msgid ""
12130 "This command is mostly useful for interactive sessions.  Programs should "
12131 "probably use L</readdir> instead."
12132 msgstr ""
12133
12134 #. type: =head2
12135 #: ../fish/guestfish-actions.pod:2866
12136 msgid "lsetxattr"
12137 msgstr "lsetxattr"
12138
12139 #. type: verbatim
12140 #: ../fish/guestfish-actions.pod:2868
12141 #, no-wrap
12142 msgid ""
12143 " lsetxattr xattr val vallen path\n"
12144 "\n"
12145 msgstr ""
12146
12147 #. type: textblock
12148 #: ../fish/guestfish-actions.pod:2870
12149 msgid ""
12150 "This is the same as L</setxattr>, but if C<path> is a symbolic link, then it"
12151 " sets an extended attribute of the link itself."
12152 msgstr ""
12153
12154 #. type: =head2
12155 #: ../fish/guestfish-actions.pod:2874
12156 msgid "lstat"
12157 msgstr "lstat"
12158
12159 #. type: verbatim
12160 #: ../fish/guestfish-actions.pod:2876
12161 #, no-wrap
12162 msgid ""
12163 " lstat path\n"
12164 "\n"
12165 msgstr ""
12166 " lstat шлях\n"
12167 "\n"
12168
12169 #. type: textblock
12170 #: ../fish/guestfish-actions.pod:2878 ../fish/guestfish-actions.pod:4702
12171 #: ../src/guestfs-actions.pod:4411 ../src/guestfs-actions.pod:7214
12172 msgid "Returns file information for the given C<path>."
12173 msgstr ""
12174
12175 #. type: textblock
12176 #: ../fish/guestfish-actions.pod:2880
12177 msgid ""
12178 "This is the same as L</stat> except that if C<path> is a symbolic link, then"
12179 " the link is stat-ed, not the file it refers to."
12180 msgstr ""
12181
12182 #. type: textblock
12183 #: ../fish/guestfish-actions.pod:2884 ../src/guestfs-actions.pod:4417
12184 msgid "This is the same as the C<lstat(2)> system call."
12185 msgstr ""
12186
12187 #. type: =head2
12188 #: ../fish/guestfish-actions.pod:2886
12189 msgid "lstatlist"
12190 msgstr "lstatlist"
12191
12192 #. type: verbatim
12193 #: ../fish/guestfish-actions.pod:2888
12194 #, no-wrap
12195 msgid ""
12196 " lstatlist path 'names ...'\n"
12197 "\n"
12198 msgstr ""
12199
12200 #. type: textblock
12201 #: ../fish/guestfish-actions.pod:2890
12202 msgid ""
12203 "This call allows you to perform the L</lstat> operation on multiple files, "
12204 "where all files are in the directory C<path>.  C<names> is the list of files"
12205 " from this directory."
12206 msgstr ""
12207
12208 #. type: textblock
12209 #: ../fish/guestfish-actions.pod:2894 ../src/guestfs-actions.pod:4436
12210 msgid ""
12211 "On return you get a list of stat structs, with a one-to-one correspondence "
12212 "to the C<names> list.  If any name did not exist or could not be lstat'd, "
12213 "then the C<ino> field of that structure is set to C<-1>."
12214 msgstr ""
12215
12216 #. type: textblock
12217 #: ../fish/guestfish-actions.pod:2899
12218 msgid ""
12219 "This call is intended for programs that want to efficiently list a directory"
12220 " contents without making many round-trips.  See also L</lxattrlist> for a "
12221 "similarly efficient call for getting extended attributes.  Very long "
12222 "directory listings might cause the protocol message size to be exceeded, "
12223 "causing this call to fail.  The caller must split up such requests into "
12224 "smaller groups of names."
12225 msgstr ""
12226
12227 #. type: =head2
12228 #: ../fish/guestfish-actions.pod:2907
12229 msgid "luks-add-key"
12230 msgstr "luks-add-key"
12231
12232 #. type: verbatim
12233 #: ../fish/guestfish-actions.pod:2909
12234 #, no-wrap
12235 msgid ""
12236 " luks-add-key device keyslot\n"
12237 "\n"
12238 msgstr ""
12239
12240 #. type: textblock
12241 #: ../fish/guestfish-actions.pod:2911 ../src/guestfs-actions.pod:4464
12242 msgid ""
12243 "This command adds a new key on LUKS device C<device>.  C<key> is any "
12244 "existing key, and is used to access the device.  C<newkey> is the new key to"
12245 " add.  C<keyslot> is the key slot that will be replaced."
12246 msgstr ""
12247
12248 #. type: textblock
12249 #: ../fish/guestfish-actions.pod:2916
12250 msgid ""
12251 "Note that if C<keyslot> already contains a key, then this command will fail."
12252 "  You have to use L</luks-kill-slot> first to remove that key."
12253 msgstr ""
12254
12255 #. type: textblock
12256 #: ../fish/guestfish-actions.pod:2920 ../fish/guestfish-actions.pod:2942
12257 #: ../fish/guestfish-actions.pod:2955 ../fish/guestfish-actions.pod:2969
12258 #: ../fish/guestfish-actions.pod:2995 ../fish/guestfish-actions.pod:3005
12259 msgid ""
12260 "This command has one or more key or passphrase parameters.  Guestfish will "
12261 "prompt for these separately."
12262 msgstr ""
12263
12264 #. type: =head2
12265 #: ../fish/guestfish-actions.pod:2923
12266 msgid "luks-close"
12267 msgstr "luks-close"
12268
12269 #. type: verbatim
12270 #: ../fish/guestfish-actions.pod:2925
12271 #, no-wrap
12272 msgid ""
12273 " luks-close device\n"
12274 "\n"
12275 msgstr ""
12276 " luks-close пристрій\n"
12277 "\n"
12278
12279 #. type: textblock
12280 #: ../fish/guestfish-actions.pod:2927
12281 msgid ""
12282 "This closes a LUKS device that was created earlier by L</luks-open> or L"
12283 "</luks-open-ro>.  The C<device> parameter must be the name of the LUKS "
12284 "mapping device (ie. C</dev/mapper/mapname>) and I<not> the name of the "
12285 "underlying block device."
12286 msgstr ""
12287
12288 #. type: =head2
12289 #: ../fish/guestfish-actions.pod:2933
12290 msgid "luks-format"
12291 msgstr "luks-format"
12292
12293 #. type: verbatim
12294 #: ../fish/guestfish-actions.pod:2935
12295 #, no-wrap
12296 msgid ""
12297 " luks-format device keyslot\n"
12298 "\n"
12299 msgstr ""
12300
12301 #. type: textblock
12302 #: ../fish/guestfish-actions.pod:2937 ../src/guestfs-actions.pod:4505
12303 msgid ""
12304 "This command erases existing data on C<device> and formats the device as a "
12305 "LUKS encrypted device.  C<key> is the initial key, which is added to key "
12306 "slot C<slot>.  (LUKS supports 8 key slots, numbered 0-7)."
12307 msgstr ""
12308
12309 #. type: textblock
12310 #: ../fish/guestfish-actions.pod:2945 ../fish/guestfish-actions.pod:2958
12311 #: ../fish/guestfish-actions.pod:3045 ../fish/guestfish-actions.pod:3696
12312 #: ../fish/guestfish-actions.pod:4236 ../fish/guestfish-actions.pod:4573
12313 #: ../fish/guestfish-actions.pod:4596 ../fish/guestfish-actions.pod:4618
12314 #: ../fish/guestfish-actions.pod:5364 ../src/guestfs-actions.pod:4512
12315 #: ../src/guestfs-actions.pod:4535 ../src/guestfs-actions.pod:4678
12316 #: ../src/guestfs-actions.pod:5771 ../src/guestfs-actions.pod:6577
12317 #: ../src/guestfs-actions.pod:7028 ../src/guestfs-actions.pod:7058
12318 #: ../src/guestfs-actions.pod:7091 ../src/guestfs-actions.pod:8290
12319 msgid ""
12320 "B<This command is dangerous.  Without careful use you can easily destroy all"
12321 " your data>."
12322 msgstr ""
12323
12324 #. type: =head2
12325 #: ../fish/guestfish-actions.pod:2948
12326 msgid "luks-format-cipher"
12327 msgstr "luks-format-cipher"
12328
12329 #. type: verbatim
12330 #: ../fish/guestfish-actions.pod:2950
12331 #, no-wrap
12332 msgid ""
12333 " luks-format-cipher device keyslot cipher\n"
12334 "\n"
12335 msgstr ""
12336
12337 #. type: textblock
12338 #: ../fish/guestfish-actions.pod:2952
12339 msgid ""
12340 "This command is the same as L</luks-format> but it also allows you to set "
12341 "the C<cipher> used."
12342 msgstr ""
12343
12344 #. type: =head2
12345 #: ../fish/guestfish-actions.pod:2961
12346 msgid "luks-kill-slot"
12347 msgstr "luks-kill-slot"
12348
12349 #. type: verbatim
12350 #: ../fish/guestfish-actions.pod:2963
12351 #, no-wrap
12352 msgid ""
12353 " luks-kill-slot device keyslot\n"
12354 "\n"
12355 msgstr ""
12356
12357 #. type: textblock
12358 #: ../fish/guestfish-actions.pod:2965 ../src/guestfs-actions.pod:4552
12359 msgid ""
12360 "This command deletes the key in key slot C<keyslot> from the encrypted LUKS "
12361 "device C<device>.  C<key> must be one of the I<other> keys."
12362 msgstr ""
12363
12364 #. type: =head2
12365 #: ../fish/guestfish-actions.pod:2972
12366 msgid "luks-open"
12367 msgstr "luks-open"
12368
12369 #. type: verbatim
12370 #: ../fish/guestfish-actions.pod:2974
12371 #, no-wrap
12372 msgid ""
12373 " luks-open device mapname\n"
12374 "\n"
12375 msgstr ""
12376
12377 #. type: textblock
12378 #: ../fish/guestfish-actions.pod:2976 ../src/guestfs-actions.pod:4572
12379 msgid ""
12380 "This command opens a block device which has been encrypted according to the "
12381 "Linux Unified Key Setup (LUKS) standard."
12382 msgstr ""
12383
12384 #. type: textblock
12385 #: ../fish/guestfish-actions.pod:2979 ../src/guestfs-actions.pod:4575
12386 msgid "C<device> is the encrypted block device or partition."
12387 msgstr ""
12388
12389 #. type: textblock
12390 #: ../fish/guestfish-actions.pod:2981 ../src/guestfs-actions.pod:4577
12391 msgid ""
12392 "The caller must supply one of the keys associated with the LUKS block "
12393 "device, in the C<key> parameter."
12394 msgstr ""
12395
12396 #. type: textblock
12397 #: ../fish/guestfish-actions.pod:2984 ../src/guestfs-actions.pod:4580
12398 msgid ""
12399 "This creates a new block device called C</dev/mapper/mapname>.  Reads and "
12400 "writes to this block device are decrypted from and encrypted to the "
12401 "underlying C<device> respectively."
12402 msgstr ""
12403
12404 #. type: textblock
12405 #: ../fish/guestfish-actions.pod:2988
12406 msgid ""
12407 "If this block device contains LVM volume groups, then calling L</vgscan> "
12408 "followed by L</vg-activate-all> will make them visible."
12409 msgstr ""
12410
12411 #. type: textblock
12412 #: ../fish/guestfish-actions.pod:2992
12413 msgid "Use L</list-dm-devices> to list all device mapper devices."
12414 msgstr ""
12415
12416 #. type: =head2
12417 #: ../fish/guestfish-actions.pod:2998
12418 msgid "luks-open-ro"
12419 msgstr "luks-open-ro"
12420
12421 #. type: verbatim
12422 #: ../fish/guestfish-actions.pod:3000
12423 #, no-wrap
12424 msgid ""
12425 " luks-open-ro device mapname\n"
12426 "\n"
12427 msgstr ""
12428
12429 #. type: textblock
12430 #: ../fish/guestfish-actions.pod:3002
12431 msgid ""
12432 "This is the same as L</luks-open> except that a read-only mapping is "
12433 "created."
12434 msgstr ""
12435
12436 #. type: =head2
12437 #: ../fish/guestfish-actions.pod:3008
12438 msgid "lvcreate"
12439 msgstr "lvcreate"
12440
12441 #. type: verbatim
12442 #: ../fish/guestfish-actions.pod:3010
12443 #, no-wrap
12444 msgid ""
12445 " lvcreate logvol volgroup mbytes\n"
12446 "\n"
12447 msgstr ""
12448
12449 #. type: textblock
12450 #: ../fish/guestfish-actions.pod:3012 ../src/guestfs-actions.pod:4626
12451 msgid ""
12452 "This creates an LVM logical volume called C<logvol> on the volume group "
12453 "C<volgroup>, with C<size> megabytes."
12454 msgstr ""
12455
12456 #. type: =head2
12457 #: ../fish/guestfish-actions.pod:3015
12458 msgid "lvm-canonical-lv-name"
12459 msgstr "lvm-canonical-lv-name"
12460
12461 #. type: verbatim
12462 #: ../fish/guestfish-actions.pod:3017
12463 #, no-wrap
12464 msgid ""
12465 " lvm-canonical-lv-name lvname\n"
12466 "\n"
12467 msgstr ""
12468
12469 #. type: textblock
12470 #: ../fish/guestfish-actions.pod:3019 ../src/guestfs-actions.pod:4639
12471 msgid ""
12472 "This converts alternative naming schemes for LVs that you might find to the "
12473 "canonical name.  For example, C</dev/mapper/VG-LV> is converted to "
12474 "C</dev/VG/LV>."
12475 msgstr ""
12476
12477 #. type: textblock
12478 #: ../fish/guestfish-actions.pod:3023 ../src/guestfs-actions.pod:4643
12479 msgid ""
12480 "This command returns an error if the C<lvname> parameter does not refer to a"
12481 " logical volume."
12482 msgstr ""
12483
12484 #. type: textblock
12485 #: ../fish/guestfish-actions.pod:3026
12486 msgid "See also L</is-lv>."
12487 msgstr "Див. також L</is-lv>."
12488
12489 #. type: =head2
12490 #: ../fish/guestfish-actions.pod:3028
12491 msgid "lvm-clear-filter"
12492 msgstr "lvm-clear-filter"
12493
12494 #. type: verbatim
12495 #: ../fish/guestfish-actions.pod:3030
12496 #, no-wrap
12497 msgid ""
12498 " lvm-clear-filter\n"
12499 "\n"
12500 msgstr ""
12501 " lvm-clear-filter\n"
12502 "\n"
12503
12504 #. type: textblock
12505 #: ../fish/guestfish-actions.pod:3032
12506 msgid ""
12507 "This undoes the effect of L</lvm-set-filter>.  LVM will be able to see every"
12508 " block device."
12509 msgstr ""
12510
12511 #. type: textblock
12512 #: ../fish/guestfish-actions.pod:3035 ../fish/guestfish-actions.pod:3066
12513 #: ../src/guestfs-actions.pod:4661 ../src/guestfs-actions.pod:4703
12514 msgid ""
12515 "This command also clears the LVM cache and performs a volume group scan."
12516 msgstr ""
12517
12518 #. type: =head2
12519 #: ../fish/guestfish-actions.pod:3038
12520 msgid "lvm-remove-all"
12521 msgstr "lvm-remove-all"
12522
12523 #. type: verbatim
12524 #: ../fish/guestfish-actions.pod:3040
12525 #, no-wrap
12526 msgid ""
12527 " lvm-remove-all\n"
12528 "\n"
12529 msgstr ""
12530 " lvm-remove-all\n"
12531 "\n"
12532
12533 #. type: textblock
12534 #: ../fish/guestfish-actions.pod:3042 ../src/guestfs-actions.pod:4673
12535 msgid ""
12536 "This command removes all LVM logical volumes, volume groups and physical "
12537 "volumes."
12538 msgstr ""
12539
12540 #. type: =head2
12541 #: ../fish/guestfish-actions.pod:3048
12542 msgid "lvm-set-filter"
12543 msgstr "lvm-set-filter"
12544
12545 #. type: verbatim
12546 #: ../fish/guestfish-actions.pod:3050
12547 #, no-wrap
12548 msgid ""
12549 " lvm-set-filter 'devices ...'\n"
12550 "\n"
12551 msgstr ""
12552 " lvm-set-filter 'пристрої...'\n"
12553 "\n"
12554
12555 #. type: textblock
12556 #: ../fish/guestfish-actions.pod:3052 ../src/guestfs-actions.pod:4689
12557 msgid ""
12558 "This sets the LVM device filter so that LVM will only be able to \"see\" the"
12559 " block devices in the list C<devices>, and will ignore all other attached "
12560 "block devices."
12561 msgstr ""
12562
12563 #. type: textblock
12564 #: ../fish/guestfish-actions.pod:3056 ../src/guestfs-actions.pod:4693
12565 msgid ""
12566 "Where disk image(s) contain duplicate PVs or VGs, this command is useful to "
12567 "get LVM to ignore the duplicates, otherwise LVM can get confused.  Note also"
12568 " there are two types of duplication possible: either cloned PVs/VGs which "
12569 "have identical UUIDs; or VGs that are not cloned but just happen to have the"
12570 " same name.  In normal operation you cannot create this situation, but you "
12571 "can do it outside LVM, eg.  by cloning disk images or by bit twiddling "
12572 "inside the LVM metadata."
12573 msgstr ""
12574
12575 #. type: textblock
12576 #: ../fish/guestfish-actions.pod:3069 ../src/guestfs-actions.pod:4706
12577 msgid "You can filter whole block devices or individual partitions."
12578 msgstr ""
12579
12580 #. type: textblock
12581 #: ../fish/guestfish-actions.pod:3071 ../src/guestfs-actions.pod:4708
12582 msgid ""
12583 "You cannot use this if any VG is currently in use (eg.  contains a mounted "
12584 "filesystem), even if you are not filtering out that VG."
12585 msgstr ""
12586
12587 #. type: =head2
12588 #: ../fish/guestfish-actions.pod:3075
12589 msgid "lvremove"
12590 msgstr "lvremove"
12591
12592 #. type: verbatim
12593 #: ../fish/guestfish-actions.pod:3077
12594 #, no-wrap
12595 msgid ""
12596 " lvremove device\n"
12597 "\n"
12598 msgstr ""
12599 " lvremove пристрій\n"
12600 "\n"
12601
12602 #. type: textblock
12603 #: ../fish/guestfish-actions.pod:3079 ../src/guestfs-actions.pod:4722
12604 msgid ""
12605 "Remove an LVM logical volume C<device>, where C<device> is the path to the "
12606 "LV, such as C</dev/VG/LV>."
12607 msgstr ""
12608
12609 #. type: textblock
12610 #: ../fish/guestfish-actions.pod:3082 ../src/guestfs-actions.pod:4725
12611 msgid ""
12612 "You can also remove all LVs in a volume group by specifying the VG name, "
12613 "C</dev/VG>."
12614 msgstr ""
12615
12616 #. type: =head2
12617 #: ../fish/guestfish-actions.pod:3085
12618 msgid "lvrename"
12619 msgstr "lvrename"
12620
12621 #. type: verbatim
12622 #: ../fish/guestfish-actions.pod:3087
12623 #, no-wrap
12624 msgid ""
12625 " lvrename logvol newlogvol\n"
12626 "\n"
12627 msgstr ""
12628
12629 #. type: textblock
12630 #: ../fish/guestfish-actions.pod:3089 ../src/guestfs-actions.pod:4739
12631 msgid "Rename a logical volume C<logvol> with the new name C<newlogvol>."
12632 msgstr ""
12633
12634 #. type: =head2
12635 #: ../fish/guestfish-actions.pod:3091
12636 msgid "lvresize"
12637 msgstr "lvresize"
12638
12639 #. type: verbatim
12640 #: ../fish/guestfish-actions.pod:3093
12641 #, no-wrap
12642 msgid ""
12643 " lvresize device mbytes\n"
12644 "\n"
12645 msgstr ""
12646
12647 #. type: textblock
12648 #: ../fish/guestfish-actions.pod:3095 ../src/guestfs-actions.pod:4752
12649 msgid ""
12650 "This resizes (expands or shrinks) an existing LVM logical volume to "
12651 "C<mbytes>.  When reducing, data in the reduced part is lost."
12652 msgstr ""
12653
12654 #. type: =head2
12655 #: ../fish/guestfish-actions.pod:3099
12656 msgid "lvresize-free"
12657 msgstr "lvresize-free"
12658
12659 #. type: verbatim
12660 #: ../fish/guestfish-actions.pod:3101
12661 #, no-wrap
12662 msgid ""
12663 " lvresize-free lv percent\n"
12664 "\n"
12665 msgstr ""
12666
12667 #. type: textblock
12668 #: ../fish/guestfish-actions.pod:3103 ../src/guestfs-actions.pod:4767
12669 msgid ""
12670 "This expands an existing logical volume C<lv> so that it fills C<pc>% of the"
12671 " remaining free space in the volume group.  Commonly you would call this "
12672 "with pc = 100 which expands the logical volume as much as possible, using "
12673 "all remaining free space in the volume group."
12674 msgstr ""
12675
12676 #. type: =head2
12677 #: ../fish/guestfish-actions.pod:3109
12678 msgid "lvs"
12679 msgstr "lvs"
12680
12681 #. type: verbatim
12682 #: ../fish/guestfish-actions.pod:3111
12683 #, no-wrap
12684 msgid ""
12685 " lvs\n"
12686 "\n"
12687 msgstr ""
12688 " lvs\n"
12689 "\n"
12690
12691 #. type: textblock
12692 #: ../fish/guestfish-actions.pod:3113 ../src/guestfs-actions.pod:4782
12693 msgid ""
12694 "List all the logical volumes detected.  This is the equivalent of the "
12695 "L<lvs(8)> command."
12696 msgstr ""
12697
12698 #. type: textblock
12699 #: ../fish/guestfish-actions.pod:3116 ../src/guestfs-actions.pod:4785
12700 msgid ""
12701 "This returns a list of the logical volume device names (eg. "
12702 "C</dev/VolGroup00/LogVol00>)."
12703 msgstr ""
12704
12705 #. type: textblock
12706 #: ../fish/guestfish-actions.pod:3119
12707 msgid "See also L</lvs-full>, L</list-filesystems>."
12708 msgstr "Див. також L</lvs-full>, L</list-filesystems>."
12709
12710 #. type: =head2
12711 #: ../fish/guestfish-actions.pod:3121
12712 msgid "lvs-full"
12713 msgstr "lvs-full"
12714
12715 #. type: verbatim
12716 #: ../fish/guestfish-actions.pod:3123
12717 #, no-wrap
12718 msgid ""
12719 " lvs-full\n"
12720 "\n"
12721 msgstr ""
12722 " lvs-full\n"
12723 "\n"
12724
12725 #. type: textblock
12726 #: ../fish/guestfish-actions.pod:3125 ../src/guestfs-actions.pod:4801
12727 msgid ""
12728 "List all the logical volumes detected.  This is the equivalent of the "
12729 "L<lvs(8)> command.  The \"full\" version includes all fields."
12730 msgstr ""
12731
12732 #. type: =head2
12733 #: ../fish/guestfish-actions.pod:3128
12734 msgid "lvuuid"
12735 msgstr "lvuuid"
12736
12737 #. type: verbatim
12738 #: ../fish/guestfish-actions.pod:3130
12739 #, no-wrap
12740 msgid ""
12741 " lvuuid device\n"
12742 "\n"
12743 msgstr ""
12744 " lvuuid пристрій\n"
12745 "\n"
12746
12747 #. type: textblock
12748 #: ../fish/guestfish-actions.pod:3132 ../src/guestfs-actions.pod:4816
12749 msgid "This command returns the UUID of the LVM LV C<device>."
12750 msgstr ""
12751
12752 #. type: =head2
12753 #: ../fish/guestfish-actions.pod:3134
12754 msgid "lxattrlist"
12755 msgstr "lxattrlist"
12756
12757 #. type: verbatim
12758 #: ../fish/guestfish-actions.pod:3136
12759 #, no-wrap
12760 msgid ""
12761 " lxattrlist path 'names ...'\n"
12762 "\n"
12763 msgstr ""
12764
12765 #. type: textblock
12766 #: ../fish/guestfish-actions.pod:3138 ../src/guestfs-actions.pod:4830
12767 msgid ""
12768 "This call allows you to get the extended attributes of multiple files, where"
12769 " all files are in the directory C<path>.  C<names> is the list of files from"
12770 " this directory."
12771 msgstr ""
12772
12773 #. type: textblock
12774 #: ../fish/guestfish-actions.pod:3142 ../src/guestfs-actions.pod:4834
12775 msgid ""
12776 "On return you get a flat list of xattr structs which must be interpreted "
12777 "sequentially.  The first xattr struct always has a zero-length C<attrname>."
12778 "  C<attrval> in this struct is zero-length to indicate there was an error "
12779 "doing C<lgetxattr> for this file, I<or> is a C string which is a decimal "
12780 "number (the number of following attributes for this file, which could be "
12781 "C<\"0\">).  Then after the first xattr struct are the zero or more "
12782 "attributes for the first named file.  This repeats for the second and "
12783 "subsequent files."
12784 msgstr ""
12785
12786 #. type: textblock
12787 #: ../fish/guestfish-actions.pod:3152
12788 msgid ""
12789 "This call is intended for programs that want to efficiently list a directory"
12790 " contents without making many round-trips.  See also L</lstatlist> for a "
12791 "similarly efficient call for getting standard stats.  Very long directory "
12792 "listings might cause the protocol message size to be exceeded, causing this "
12793 "call to fail.  The caller must split up such requests into smaller groups of"
12794 " names."
12795 msgstr ""
12796
12797 #. type: =head2
12798 #: ../fish/guestfish-actions.pod:3160
12799 msgid "mkdir"
12800 msgstr "mkdir"
12801
12802 #. type: verbatim
12803 #: ../fish/guestfish-actions.pod:3162
12804 #, no-wrap
12805 msgid ""
12806 " mkdir path\n"
12807 "\n"
12808 msgstr ""
12809 " mkdir шлях\n"
12810 "\n"
12811
12812 #. type: textblock
12813 #: ../fish/guestfish-actions.pod:3164 ../src/guestfs-actions.pod:4864
12814 msgid "Create a directory named C<path>."
12815 msgstr ""
12816
12817 #. type: =head2
12818 #: ../fish/guestfish-actions.pod:3166
12819 msgid "mkdir-mode"
12820 msgstr "mkdir-mode"
12821
12822 #. type: verbatim
12823 #: ../fish/guestfish-actions.pod:3168
12824 #, no-wrap
12825 msgid ""
12826 " mkdir-mode path mode\n"
12827 "\n"
12828 msgstr ""
12829 " mkdir-mode шлях режим\n"
12830 "\n"
12831
12832 #. type: textblock
12833 #: ../fish/guestfish-actions.pod:3170 ../src/guestfs-actions.pod:4877
12834 msgid ""
12835 "This command creates a directory, setting the initial permissions of the "
12836 "directory to C<mode>."
12837 msgstr ""
12838
12839 #. type: textblock
12840 #: ../fish/guestfish-actions.pod:3173 ../src/guestfs-actions.pod:4880
12841 msgid ""
12842 "For common Linux filesystems, the actual mode which is set will be C<mode & "
12843 "~umask & 01777>.  Non-native-Linux filesystems may interpret the mode in "
12844 "other ways."
12845 msgstr ""
12846
12847 #. type: textblock
12848 #: ../fish/guestfish-actions.pod:3177
12849 msgid "See also L</mkdir>, L</umask>"
12850 msgstr "Див. також L</mkdir>, L</umask>"
12851
12852 #. type: =head2
12853 #: ../fish/guestfish-actions.pod:3179
12854 msgid "mkdir-p"
12855 msgstr "mkdir-p"
12856
12857 #. type: verbatim
12858 #: ../fish/guestfish-actions.pod:3181
12859 #, no-wrap
12860 msgid ""
12861 " mkdir-p path\n"
12862 "\n"
12863 msgstr ""
12864 " mkdir-p шлях\n"
12865 "\n"
12866
12867 #. type: textblock
12868 #: ../fish/guestfish-actions.pod:3183 ../src/guestfs-actions.pod:4896
12869 msgid ""
12870 "Create a directory named C<path>, creating any parent directories as "
12871 "necessary.  This is like the C<mkdir -p> shell command."
12872 msgstr ""
12873
12874 #. type: =head2
12875 #: ../fish/guestfish-actions.pod:3186
12876 msgid "mkdtemp"
12877 msgstr "mkdtemp"
12878
12879 #. type: verbatim
12880 #: ../fish/guestfish-actions.pod:3188
12881 #, no-wrap
12882 msgid ""
12883 " mkdtemp template\n"
12884 "\n"
12885 msgstr ""
12886 " mkdtemp шаблон\n"
12887 "\n"
12888
12889 #. type: textblock
12890 #: ../fish/guestfish-actions.pod:3190 ../src/guestfs-actions.pod:4909
12891 msgid ""
12892 "This command creates a temporary directory.  The C<template> parameter "
12893 "should be a full pathname for the temporary directory name with the final "
12894 "six characters being \"XXXXXX\"."
12895 msgstr ""
12896
12897 #. type: textblock
12898 #: ../fish/guestfish-actions.pod:3195 ../src/guestfs-actions.pod:4914
12899 msgid ""
12900 "For example: \"/tmp/myprogXXXXXX\" or \"/Temp/myprogXXXXXX\", the second one"
12901 " being suitable for Windows filesystems."
12902 msgstr ""
12903
12904 #. type: textblock
12905 #: ../fish/guestfish-actions.pod:3198 ../src/guestfs-actions.pod:4917
12906 msgid "The name of the temporary directory that was created is returned."
12907 msgstr ""
12908
12909 #. type: textblock
12910 #: ../fish/guestfish-actions.pod:3201 ../src/guestfs-actions.pod:4920
12911 msgid ""
12912 "The temporary directory is created with mode 0700 and is owned by root."
12913 msgstr ""
12914
12915 #. type: textblock
12916 #: ../fish/guestfish-actions.pod:3204 ../src/guestfs-actions.pod:4923
12917 msgid ""
12918 "The caller is responsible for deleting the temporary directory and its "
12919 "contents after use."
12920 msgstr ""
12921
12922 #. type: textblock
12923 #: ../fish/guestfish-actions.pod:3207 ../src/guestfs-actions.pod:4926
12924 msgid "See also: L<mkdtemp(3)>"
12925 msgstr "Див. також L<mkdtemp(3)>"
12926
12927 #. type: =head2
12928 #: ../fish/guestfish-actions.pod:3209
12929 msgid "mke2fs-J"
12930 msgstr "mke2fs-J"
12931
12932 #. type: verbatim
12933 #: ../fish/guestfish-actions.pod:3211
12934 #, no-wrap
12935 msgid ""
12936 " mke2fs-J fstype blocksize device journal\n"
12937 "\n"
12938 msgstr ""
12939
12940 #. type: textblock
12941 #: ../fish/guestfish-actions.pod:3213 ../src/guestfs-actions.pod:4942
12942 msgid ""
12943 "This creates an ext2/3/4 filesystem on C<device> with an external journal on"
12944 " C<journal>.  It is equivalent to the command:"
12945 msgstr ""
12946
12947 #. type: verbatim
12948 #: ../fish/guestfish-actions.pod:3217 ../src/guestfs-actions.pod:4946
12949 #, no-wrap
12950 msgid ""
12951 " mke2fs -t fstype -b blocksize -J device=<journal> <device>\n"
12952 "\n"
12953 msgstr ""
12954 " mke2fs -t fstype -b blocksize -J device=<журнал> <пристрій>\n"
12955 "\n"
12956
12957 #. type: textblock
12958 #: ../fish/guestfish-actions.pod:3219
12959 msgid "See also L</mke2journal>."
12960 msgstr "Див. також L</mke2journal>."
12961
12962 #. type: =head2
12963 #: ../fish/guestfish-actions.pod:3221
12964 msgid "mke2fs-JL"
12965 msgstr "mke2fs-JL"
12966
12967 #. type: verbatim
12968 #: ../fish/guestfish-actions.pod:3223
12969 #, no-wrap
12970 msgid ""
12971 " mke2fs-JL fstype blocksize device label\n"
12972 "\n"
12973 msgstr ""
12974
12975 #. type: textblock
12976 #: ../fish/guestfish-actions.pod:3225 ../src/guestfs-actions.pod:4963
12977 msgid ""
12978 "This creates an ext2/3/4 filesystem on C<device> with an external journal on"
12979 " the journal labeled C<label>."
12980 msgstr ""
12981
12982 #. type: textblock
12983 #: ../fish/guestfish-actions.pod:3228
12984 msgid "See also L</mke2journal-L>."
12985 msgstr "Див. також L</mke2journal-L>."
12986
12987 #. type: =head2
12988 #: ../fish/guestfish-actions.pod:3230
12989 msgid "mke2fs-JU"
12990 msgstr "mke2fs-JU"
12991
12992 #. type: verbatim
12993 #: ../fish/guestfish-actions.pod:3232
12994 #, no-wrap
12995 msgid ""
12996 " mke2fs-JU fstype blocksize device uuid\n"
12997 "\n"
12998 msgstr ""
12999
13000 #. type: textblock
13001 #: ../fish/guestfish-actions.pod:3234 ../src/guestfs-actions.pod:4981
13002 msgid ""
13003 "This creates an ext2/3/4 filesystem on C<device> with an external journal on"
13004 " the journal with UUID C<uuid>."
13005 msgstr ""
13006
13007 #. type: textblock
13008 #: ../fish/guestfish-actions.pod:3237
13009 msgid "See also L</mke2journal-U>."
13010 msgstr "Див. також L</mke2journal-U>."
13011
13012 #. type: =head2
13013 #: ../fish/guestfish-actions.pod:3239
13014 msgid "mke2journal"
13015 msgstr "mke2journal"
13016
13017 #. type: verbatim
13018 #: ../fish/guestfish-actions.pod:3241
13019 #, no-wrap
13020 msgid ""
13021 " mke2journal blocksize device\n"
13022 "\n"
13023 msgstr ""
13024
13025 #. type: textblock
13026 #: ../fish/guestfish-actions.pod:3243 ../src/guestfs-actions.pod:4997
13027 msgid ""
13028 "This creates an ext2 external journal on C<device>.  It is equivalent to the"
13029 " command:"
13030 msgstr ""
13031
13032 #. type: verbatim
13033 #: ../fish/guestfish-actions.pod:3246 ../src/guestfs-actions.pod:5000
13034 #, no-wrap
13035 msgid ""
13036 " mke2fs -O journal_dev -b blocksize device\n"
13037 "\n"
13038 msgstr ""
13039
13040 #. type: =head2
13041 #: ../fish/guestfish-actions.pod:3248
13042 msgid "mke2journal-L"
13043 msgstr "mke2journal-L"
13044
13045 #. type: verbatim
13046 #: ../fish/guestfish-actions.pod:3250
13047 #, no-wrap
13048 msgid ""
13049 " mke2journal-L blocksize label device\n"
13050 "\n"
13051 msgstr ""
13052
13053 #. type: textblock
13054 #: ../fish/guestfish-actions.pod:3252 ../src/guestfs-actions.pod:5014
13055 msgid ""
13056 "This creates an ext2 external journal on C<device> with label C<label>."
13057 msgstr ""
13058
13059 #. type: =head2
13060 #: ../fish/guestfish-actions.pod:3254
13061 msgid "mke2journal-U"
13062 msgstr "mke2journal-U"
13063
13064 #. type: verbatim
13065 #: ../fish/guestfish-actions.pod:3256
13066 #, no-wrap
13067 msgid ""
13068 " mke2journal-U blocksize uuid device\n"
13069 "\n"
13070 msgstr ""
13071
13072 #. type: textblock
13073 #: ../fish/guestfish-actions.pod:3258 ../src/guestfs-actions.pod:5028
13074 msgid "This creates an ext2 external journal on C<device> with UUID C<uuid>."
13075 msgstr ""
13076
13077 #. type: =head2
13078 #: ../fish/guestfish-actions.pod:3260
13079 msgid "mkfifo"
13080 msgstr "mkfifo"
13081
13082 #. type: verbatim
13083 #: ../fish/guestfish-actions.pod:3262
13084 #, no-wrap
13085 msgid ""
13086 " mkfifo mode path\n"
13087 "\n"
13088 msgstr ""
13089 " mkfifo режим шлях\n"
13090 "\n"
13091
13092 #. type: textblock
13093 #: ../fish/guestfish-actions.pod:3264
13094 msgid ""
13095 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
13096 "is just a convenient wrapper around L</mknod>."
13097 msgstr ""
13098
13099 #. type: =head2
13100 #: ../fish/guestfish-actions.pod:3270
13101 msgid "mkfs"
13102 msgstr "mkfs"
13103
13104 #. type: verbatim
13105 #: ../fish/guestfish-actions.pod:3272
13106 #, no-wrap
13107 msgid ""
13108 " mkfs fstype device\n"
13109 "\n"
13110 msgstr ""
13111 " mkfs тип_файлової_системи пристрій\n"
13112 "\n"
13113
13114 #. type: textblock
13115 #: ../fish/guestfish-actions.pod:3274 ../src/guestfs-actions.pod:5058
13116 msgid ""
13117 "This creates a filesystem on C<device> (usually a partition or LVM logical "
13118 "volume).  The filesystem type is C<fstype>, for example C<ext3>."
13119 msgstr ""
13120
13121 #. type: =head2
13122 #: ../fish/guestfish-actions.pod:3278
13123 msgid "mkfs-b"
13124 msgstr "mkfs-b"
13125
13126 #. type: verbatim
13127 #: ../fish/guestfish-actions.pod:3280
13128 #, no-wrap
13129 msgid ""
13130 " mkfs-b fstype blocksize device\n"
13131 "\n"
13132 msgstr ""
13133
13134 #. type: textblock
13135 #: ../fish/guestfish-actions.pod:3282
13136 msgid ""
13137 "This call is similar to L</mkfs>, but it allows you to control the block "
13138 "size of the resulting filesystem.  Supported block sizes depend on the "
13139 "filesystem type, but typically they are C<1024>, C<2048> or C<4096> only."
13140 msgstr ""
13141
13142 #. type: textblock
13143 #: ../fish/guestfish-actions.pod:3287 ../fish/guestfish-actions.pod:3314
13144 #: ../src/guestfs-actions.pod:5086 ../src/guestfs-actions.pod:5124
13145 msgid ""
13146 "For VFAT and NTFS the C<blocksize> parameter is treated as the requested "
13147 "cluster size."
13148 msgstr ""
13149
13150 #. type: textblock
13151 #: ../fish/guestfish-actions.pod:3290
13152 msgid ""
13153 "I<This function is deprecated.> In new code, use the L</mkfs_opts> call "
13154 "instead."
13155 msgstr ""
13156
13157 #. type: =head2
13158 #: ../fish/guestfish-actions.pod:3297
13159 msgid "mkfs-opts"
13160 msgstr "mkfs-opts"
13161
13162 #. type: verbatim
13163 #: ../fish/guestfish-actions.pod:3299
13164 #, no-wrap
13165 msgid ""
13166 " mkfs-opts fstype device [blocksize:..] [features:..] [inode:..] [sectorsize:..]\n"
13167 "\n"
13168 msgstr ""
13169
13170 #. type: textblock
13171 #: ../fish/guestfish-actions.pod:3301 ../src/guestfs-actions.pod:5111
13172 msgid ""
13173 "This function creates a filesystem on C<device>.  The filesystem type is "
13174 "C<fstype>, for example C<ext3>."
13175 msgstr ""
13176
13177 #. type: =item
13178 #: ../fish/guestfish-actions.pod:3308 ../src/guestfs-actions.pod:5118
13179 msgid "C<blocksize>"
13180 msgstr "C<blocksize>"
13181
13182 #. type: textblock
13183 #: ../fish/guestfish-actions.pod:3310 ../src/guestfs-actions.pod:5120
13184 msgid ""
13185 "The filesystem block size.  Supported block sizes depend on the filesystem "
13186 "type, but typically they are C<1024>, C<2048> or C<4096> for Linux ext2/3 "
13187 "filesystems."
13188 msgstr ""
13189
13190 #. type: textblock
13191 #: ../fish/guestfish-actions.pod:3317 ../src/guestfs-actions.pod:5127
13192 msgid "For UFS block sizes, please see L<mkfs.ufs(8)>."
13193 msgstr ""
13194
13195 #. type: =item
13196 #: ../fish/guestfish-actions.pod:3319 ../src/guestfs-actions.pod:5129
13197 msgid "C<features>"
13198 msgstr "C<features>"
13199
13200 #. type: textblock
13201 #: ../fish/guestfish-actions.pod:3321 ../src/guestfs-actions.pod:5131
13202 msgid "This passes the I<-O> parameter to the external mkfs program."
13203 msgstr ""
13204
13205 #. type: textblock
13206 #: ../fish/guestfish-actions.pod:3323 ../src/guestfs-actions.pod:5133
13207 msgid ""
13208 "For certain filesystem types, this allows extra filesystem features to be "
13209 "selected.  See L<mke2fs(8)> and L<mkfs.ufs(8)> for more details."
13210 msgstr ""
13211
13212 #. type: textblock
13213 #: ../fish/guestfish-actions.pod:3327 ../src/guestfs-actions.pod:5137
13214 msgid ""
13215 "You cannot use this optional parameter with the C<gfs> or C<gfs2> filesystem"
13216 " type."
13217 msgstr ""
13218
13219 #. type: =item
13220 #: ../fish/guestfish-actions.pod:3330 ../src/guestfs-actions.pod:5140
13221 msgid "C<inode>"
13222 msgstr "C<inode>"
13223
13224 #. type: textblock
13225 #: ../fish/guestfish-actions.pod:3332 ../src/guestfs-actions.pod:5142
13226 msgid ""
13227 "This passes the I<-I> parameter to the external L<mke2fs(8)> program which "
13228 "sets the inode size (only for ext2/3/4 filesystems at present)."
13229 msgstr ""
13230
13231 #. type: =item
13232 #: ../fish/guestfish-actions.pod:3335 ../src/guestfs-actions.pod:5145
13233 msgid "C<sectorsize>"
13234 msgstr "C<sectorsize>"
13235
13236 #. type: textblock
13237 #: ../fish/guestfish-actions.pod:3337 ../src/guestfs-actions.pod:5147
13238 msgid ""
13239 "This passes the I<-S> parameter to external L<mkfs.ufs(8)> program, which "
13240 "sets sector size for ufs filesystem."
13241 msgstr ""
13242
13243 #. type: =head2
13244 #: ../fish/guestfish-actions.pod:3344
13245 msgid "mkmountpoint"
13246 msgstr "mkmountpoint"
13247
13248 #. type: verbatim
13249 #: ../fish/guestfish-actions.pod:3346
13250 #, no-wrap
13251 msgid ""
13252 " mkmountpoint exemptpath\n"
13253 "\n"
13254 msgstr ""
13255
13256 #. type: textblock
13257 #: ../fish/guestfish-actions.pod:3348
13258 msgid ""
13259 "L</mkmountpoint> and L</rmmountpoint> are specialized calls that can be used"
13260 " to create extra mountpoints before mounting the first filesystem."
13261 msgstr ""
13262
13263 #. type: textblock
13264 #: ../fish/guestfish-actions.pod:3352 ../src/guestfs-actions.pod:5190
13265 msgid ""
13266 "These calls are I<only> necessary in some very limited circumstances, mainly"
13267 " the case where you want to mount a mix of unrelated and/or read-only "
13268 "filesystems together."
13269 msgstr ""
13270
13271 #. type: textblock
13272 #: ../fish/guestfish-actions.pod:3356 ../src/guestfs-actions.pod:5194
13273 msgid ""
13274 "For example, live CDs often contain a \"Russian doll\" nest of filesystems, "
13275 "an ISO outer layer, with a squashfs image inside, with an ext2/3 image "
13276 "inside that.  You can unpack this as follows in guestfish:"
13277 msgstr ""
13278
13279 #. type: verbatim
13280 #: ../fish/guestfish-actions.pod:3361 ../src/guestfs-actions.pod:5199
13281 #, no-wrap
13282 msgid ""
13283 " add-ro Fedora-11-i686-Live.iso\n"
13284 " run\n"
13285 " mkmountpoint /cd\n"
13286 " mkmountpoint /sqsh\n"
13287 " mkmountpoint /ext3fs\n"
13288 " mount /dev/sda /cd\n"
13289 " mount-loop /cd/LiveOS/squashfs.img /sqsh\n"
13290 " mount-loop /sqsh/LiveOS/ext3fs.img /ext3fs\n"
13291 "\n"
13292 msgstr ""
13293 " add-ro Fedora-11-i686-Live.iso\n"
13294 " run\n"
13295 " mkmountpoint /cd\n"
13296 " mkmountpoint /sqsh\n"
13297 " mkmountpoint /ext3fs\n"
13298 " mount /dev/sda /cd\n"
13299 " mount-loop /cd/LiveOS/squashfs.img /sqsh\n"
13300 " mount-loop /sqsh/LiveOS/ext3fs.img /ext3fs\n"
13301 "\n"
13302
13303 #. type: textblock
13304 #: ../fish/guestfish-actions.pod:3370 ../src/guestfs-actions.pod:5208
13305 msgid "The inner filesystem is now unpacked under the /ext3fs mountpoint."
13306 msgstr ""
13307
13308 #. type: textblock
13309 #: ../fish/guestfish-actions.pod:3372
13310 msgid ""
13311 "L</mkmountpoint> is not compatible with L</umount-all>.  You may get "
13312 "unexpected errors if you try to mix these calls.  It is safest to manually "
13313 "unmount filesystems and remove mountpoints after use."
13314 msgstr ""
13315
13316 #. type: textblock
13317 #: ../fish/guestfish-actions.pod:3376
13318 msgid ""
13319 "L</umount-all> unmounts filesystems by sorting the paths longest first, so "
13320 "for this to work for manual mountpoints, you must ensure that the innermost "
13321 "mountpoints have the longest pathnames, as in the example code above."
13322 msgstr ""
13323
13324 #. type: textblock
13325 #: ../fish/guestfish-actions.pod:3381 ../src/guestfs-actions.pod:5219
13326 msgid ""
13327 "For more details see L<https://bugzilla.redhat.com/show_bug.cgi?id=599503>"
13328 msgstr ""
13329
13330 #. type: textblock
13331 #: ../fish/guestfish-actions.pod:3383
13332 msgid ""
13333 "Autosync [see L</set-autosync>, this is set by default on handles] can cause"
13334 " L</umount-all> to be called when the handle is closed which can also "
13335 "trigger these issues."
13336 msgstr ""
13337
13338 #. type: =head2
13339 #: ../fish/guestfish-actions.pod:3387
13340 msgid "mknod"
13341 msgstr "mknod"
13342
13343 #. type: verbatim
13344 #: ../fish/guestfish-actions.pod:3389
13345 #, no-wrap
13346 msgid ""
13347 " mknod mode devmajor devminor path\n"
13348 "\n"
13349 msgstr ""
13350
13351 #. type: textblock
13352 #: ../fish/guestfish-actions.pod:3391 ../src/guestfs-actions.pod:5238
13353 msgid ""
13354 "This call creates block or character special devices, or named pipes "
13355 "(FIFOs)."
13356 msgstr ""
13357
13358 #. type: textblock
13359 #: ../fish/guestfish-actions.pod:3394 ../src/guestfs-actions.pod:5241
13360 msgid ""
13361 "The C<mode> parameter should be the mode, using the standard constants.  "
13362 "C<devmajor> and C<devminor> are the device major and minor numbers, only "
13363 "used when creating block and character special devices."
13364 msgstr ""
13365
13366 #. type: textblock
13367 #: ../fish/guestfish-actions.pod:3399
13368 msgid ""
13369 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
13370 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
13371 "regular file).  These constants are available in the standard Linux header "
13372 "files, or you can use L</mknod-b>, L</mknod-c> or L</mkfifo> which are "
13373 "wrappers around this command which bitwise OR in the appropriate constant "
13374 "for you."
13375 msgstr ""
13376
13377 #. type: =head2
13378 #: ../fish/guestfish-actions.pod:3409
13379 msgid "mknod-b"
13380 msgstr "mknod-b"
13381
13382 #. type: verbatim
13383 #: ../fish/guestfish-actions.pod:3411
13384 #, no-wrap
13385 msgid ""
13386 " mknod-b mode devmajor devminor path\n"
13387 "\n"
13388 msgstr ""
13389
13390 #. type: textblock
13391 #: ../fish/guestfish-actions.pod:3413
13392 msgid ""
13393 "This call creates a block device node called C<path> with mode C<mode> and "
13394 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
13395 "wrapper around L</mknod>."
13396 msgstr ""
13397
13398 #. type: =head2
13399 #: ../fish/guestfish-actions.pod:3419
13400 msgid "mknod-c"
13401 msgstr "mknod-c"
13402
13403 #. type: verbatim
13404 #: ../fish/guestfish-actions.pod:3421
13405 #, no-wrap
13406 msgid ""
13407 " mknod-c mode devmajor devminor path\n"
13408 "\n"
13409 msgstr ""
13410
13411 #. type: textblock
13412 #: ../fish/guestfish-actions.pod:3423
13413 msgid ""
13414 "This call creates a char device node called C<path> with mode C<mode> and "
13415 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
13416 "wrapper around L</mknod>."
13417 msgstr ""
13418
13419 #. type: =head2
13420 #: ../fish/guestfish-actions.pod:3429
13421 msgid "mkswap"
13422 msgstr "mkswap"
13423
13424 #. type: verbatim
13425 #: ../fish/guestfish-actions.pod:3431
13426 #, no-wrap
13427 msgid ""
13428 " mkswap device\n"
13429 "\n"
13430 msgstr ""
13431 " mkswap пристрій\n"
13432 "\n"
13433
13434 #. type: textblock
13435 #: ../fish/guestfish-actions.pod:3433 ../src/guestfs-actions.pod:5304
13436 msgid "Create a swap partition on C<device>."
13437 msgstr ""
13438
13439 #. type: =head2
13440 #: ../fish/guestfish-actions.pod:3435
13441 msgid "mkswap-L"
13442 msgstr "mkswap-L"
13443
13444 #. type: verbatim
13445 #: ../fish/guestfish-actions.pod:3437
13446 #, no-wrap
13447 msgid ""
13448 " mkswap-L label device\n"
13449 "\n"
13450 msgstr ""
13451 " mkswap-L мітка пристрій\n"
13452 "\n"
13453
13454 #. type: textblock
13455 #: ../fish/guestfish-actions.pod:3439 ../src/guestfs-actions.pod:5317
13456 msgid "Create a swap partition on C<device> with label C<label>."
13457 msgstr ""
13458
13459 #. type: textblock
13460 #: ../fish/guestfish-actions.pod:3441 ../src/guestfs-actions.pod:5319
13461 msgid ""
13462 "Note that you cannot attach a swap label to a block device (eg. "
13463 "C</dev/sda>), just to a partition.  This appears to be a limitation of the "
13464 "kernel or swap tools."
13465 msgstr ""
13466
13467 #. type: =head2
13468 #: ../fish/guestfish-actions.pod:3445
13469 msgid "mkswap-U"
13470 msgstr "mkswap-U"
13471
13472 #. type: verbatim
13473 #: ../fish/guestfish-actions.pod:3447
13474 #, no-wrap
13475 msgid ""
13476 " mkswap-U uuid device\n"
13477 "\n"
13478 msgstr ""
13479 " mkswap-U uuid пристрій\n"
13480 "\n"
13481
13482 #. type: textblock
13483 #: ../fish/guestfish-actions.pod:3449 ../src/guestfs-actions.pod:5334
13484 msgid "Create a swap partition on C<device> with UUID C<uuid>."
13485 msgstr ""
13486
13487 #. type: =head2
13488 #: ../fish/guestfish-actions.pod:3451
13489 msgid "mkswap-file"
13490 msgstr "mkswap-file"
13491
13492 #. type: verbatim
13493 #: ../fish/guestfish-actions.pod:3453
13494 #, no-wrap
13495 msgid ""
13496 " mkswap-file path\n"
13497 "\n"
13498 msgstr ""
13499 " mkswap-file шлях\n"
13500 "\n"
13501
13502 #. type: textblock
13503 #: ../fish/guestfish-actions.pod:3455 ../src/guestfs-actions.pod:5346
13504 msgid "Create a swap file."
13505 msgstr "Створити файл резервної пам’яті."
13506
13507 #. type: textblock
13508 #: ../fish/guestfish-actions.pod:3457
13509 msgid ""
13510 "This command just writes a swap file signature to an existing file.  To "
13511 "create the file itself, use something like L</fallocate>."
13512 msgstr ""
13513
13514 #. type: =head2
13515 #: ../fish/guestfish-actions.pod:3460
13516 msgid "modprobe"
13517 msgstr "modprobe"
13518
13519 #. type: verbatim
13520 #: ../fish/guestfish-actions.pod:3462
13521 #, no-wrap
13522 msgid ""
13523 " modprobe modulename\n"
13524 "\n"
13525 msgstr ""
13526 " modprobe назва_модуля\n"
13527 "\n"
13528
13529 #. type: textblock
13530 #: ../fish/guestfish-actions.pod:3464 ../src/guestfs-actions.pod:5361
13531 msgid "This loads a kernel module in the appliance."
13532 msgstr ""
13533
13534 #. type: textblock
13535 #: ../fish/guestfish-actions.pod:3466 ../src/guestfs-actions.pod:5363
13536 msgid ""
13537 "The kernel module must have been whitelisted when libguestfs was built (see "
13538 "C<appliance/kmod.whitelist.in> in the source)."
13539 msgstr ""
13540
13541 #. type: =head2
13542 #: ../fish/guestfish-actions.pod:3469
13543 msgid "mount"
13544 msgstr "mount"
13545
13546 #. type: verbatim
13547 #: ../fish/guestfish-actions.pod:3471
13548 #, no-wrap
13549 msgid ""
13550 " mount device mountpoint\n"
13551 "\n"
13552 msgstr ""
13553 " mount пристрій точка_монтування\n"
13554 "\n"
13555
13556 #. type: textblock
13557 #: ../fish/guestfish-actions.pod:3473 ../src/guestfs-actions.pod:5377
13558 msgid ""
13559 "Mount a guest disk at a position in the filesystem.  Block devices are named"
13560 " C</dev/sda>, C</dev/sdb> and so on, as they were added to the guest.  If "
13561 "those block devices contain partitions, they will have the usual names (eg. "
13562 "C</dev/sda1>).  Also LVM C</dev/VG/LV>-style names can be used."
13563 msgstr ""
13564
13565 #. type: textblock
13566 #: ../fish/guestfish-actions.pod:3479 ../src/guestfs-actions.pod:5383
13567 msgid ""
13568 "The rules are the same as for L<mount(2)>: A filesystem must first be "
13569 "mounted on C</> before others can be mounted.  Other filesystems can only be"
13570 " mounted on directories which already exist."
13571 msgstr ""
13572
13573 #. type: textblock
13574 #: ../fish/guestfish-actions.pod:3484 ../src/guestfs-actions.pod:5388
13575 msgid ""
13576 "The mounted filesystem is writable, if we have sufficient permissions on the"
13577 " underlying device."
13578 msgstr ""
13579
13580 #. type: textblock
13581 #: ../fish/guestfish-actions.pod:3487
13582 msgid ""
13583 "Before libguestfs 1.13.16, this call implicitly added the options C<sync> "
13584 "and C<noatime>.  The C<sync> option greatly slowed writes and caused many "
13585 "problems for users.  If your program might need to work with older versions "
13586 "of libguestfs, use L</mount-options> instead (using an empty string for the "
13587 "first parameter if you don't want any options)."
13588 msgstr ""
13589
13590 #. type: =head2
13591 #: ../fish/guestfish-actions.pod:3494
13592 msgid "mount-9p"
13593 msgstr ""
13594
13595 #. type: verbatim
13596 #: ../fish/guestfish-actions.pod:3496
13597 #, no-wrap
13598 msgid ""
13599 " mount-9p mounttag mountpoint [options:..]\n"
13600 "\n"
13601 msgstr ""
13602
13603 #. type: textblock
13604 #: ../fish/guestfish-actions.pod:3498 ../src/guestfs-actions.pod:5417
13605 msgid ""
13606 "Mount the virtio-9p filesystem with the tag C<mounttag> on the directory "
13607 "C<mountpoint>."
13608 msgstr ""
13609
13610 #. type: textblock
13611 #: ../fish/guestfish-actions.pod:3501 ../src/guestfs-actions.pod:5420
13612 msgid ""
13613 "If required, C<trans=virtio> will be automatically added to the options.  "
13614 "Any other options required can be passed in the optional C<options> "
13615 "parameter."
13616 msgstr ""
13617
13618 #. type: =head2
13619 #: ../fish/guestfish-actions.pod:3507
13620 msgid "mount-loop"
13621 msgstr "mount-loop"
13622
13623 #. type: verbatim
13624 #: ../fish/guestfish-actions.pod:3509
13625 #, no-wrap
13626 msgid ""
13627 " mount-loop file mountpoint\n"
13628 "\n"
13629 msgstr ""
13630
13631 #. type: textblock
13632 #: ../fish/guestfish-actions.pod:3511 ../src/guestfs-actions.pod:5459
13633 msgid ""
13634 "This command lets you mount C<file> (a filesystem image in a file) on a "
13635 "mount point.  It is entirely equivalent to the command C<mount -o loop file "
13636 "mountpoint>."
13637 msgstr ""
13638
13639 #. type: =head2
13640 #: ../fish/guestfish-actions.pod:3515
13641 msgid "mount-options"
13642 msgstr "mount-options"
13643
13644 #. type: verbatim
13645 #: ../fish/guestfish-actions.pod:3517
13646 #, no-wrap
13647 msgid ""
13648 " mount-options options device mountpoint\n"
13649 "\n"
13650 msgstr ""
13651
13652 #. type: textblock
13653 #: ../fish/guestfish-actions.pod:3519
13654 msgid ""
13655 "This is the same as the L</mount> command, but it allows you to set the "
13656 "mount options as for the L<mount(8)> I<-o> flag."
13657 msgstr ""
13658
13659 #. type: textblock
13660 #: ../fish/guestfish-actions.pod:3523 ../src/guestfs-actions.pod:5479
13661 msgid ""
13662 "If the C<options> parameter is an empty string, then no options are passed "
13663 "(all options default to whatever the filesystem uses)."
13664 msgstr ""
13665
13666 #. type: =head2
13667 #: ../fish/guestfish-actions.pod:3527
13668 msgid "mount-ro"
13669 msgstr "mount-ro"
13670
13671 #. type: verbatim
13672 #: ../fish/guestfish-actions.pod:3529
13673 #, no-wrap
13674 msgid ""
13675 " mount-ro device mountpoint\n"
13676 "\n"
13677 msgstr ""
13678 " mount-ro пристрій точка_монтування\n"
13679 "\n"
13680
13681 #. type: textblock
13682 #: ../fish/guestfish-actions.pod:3531
13683 msgid ""
13684 "This is the same as the L</mount> command, but it mounts the filesystem with"
13685 " the read-only (I<-o ro>) flag."
13686 msgstr ""
13687
13688 #. type: =head2
13689 #: ../fish/guestfish-actions.pod:3534
13690 msgid "mount-vfs"
13691 msgstr "mount-vfs"
13692
13693 #. type: verbatim
13694 #: ../fish/guestfish-actions.pod:3536
13695 #, no-wrap
13696 msgid ""
13697 " mount-vfs options vfstype device mountpoint\n"
13698 "\n"
13699 msgstr ""
13700
13701 #. type: textblock
13702 #: ../fish/guestfish-actions.pod:3538
13703 msgid ""
13704 "This is the same as the L</mount> command, but it allows you to set both the"
13705 " mount options and the vfstype as for the L<mount(8)> I<-o> and I<-t> flags."
13706 msgstr ""
13707
13708 #. type: =head2
13709 #: ../fish/guestfish-actions.pod:3542
13710 msgid "mountpoints"
13711 msgstr "mountpoints"
13712
13713 #. type: verbatim
13714 #: ../fish/guestfish-actions.pod:3544
13715 #, no-wrap
13716 msgid ""
13717 " mountpoints\n"
13718 "\n"
13719 msgstr ""
13720 " mountpoints\n"
13721 "\n"
13722
13723 #. type: textblock
13724 #: ../fish/guestfish-actions.pod:3546
13725 msgid ""
13726 "This call is similar to L</mounts>.  That call returns a list of devices.  "
13727 "This one returns a hash table (map) of device name to directory where the "
13728 "device is mounted."
13729 msgstr ""
13730
13731 #. type: =head2
13732 #: ../fish/guestfish-actions.pod:3550
13733 msgid "mounts"
13734 msgstr "mounts"
13735
13736 #. type: verbatim
13737 #: ../fish/guestfish-actions.pod:3552
13738 #, no-wrap
13739 msgid ""
13740 " mounts\n"
13741 "\n"
13742 msgstr ""
13743 " mounts\n"
13744 "\n"
13745
13746 #. type: textblock
13747 #: ../fish/guestfish-actions.pod:3554 ../src/guestfs-actions.pod:5540
13748 msgid ""
13749 "This returns the list of currently mounted filesystems.  It returns the list"
13750 " of devices (eg. C</dev/sda1>, C</dev/VG/LV>)."
13751 msgstr ""
13752
13753 #. type: textblock
13754 #: ../fish/guestfish-actions.pod:3557 ../src/guestfs-actions.pod:5543
13755 msgid "Some internal mounts are not shown."
13756 msgstr ""
13757
13758 #. type: textblock
13759 #: ../fish/guestfish-actions.pod:3559
13760 msgid "See also: L</mountpoints>"
13761 msgstr "Див. також L</mountpoints>"
13762
13763 #. type: =head2
13764 #: ../fish/guestfish-actions.pod:3561
13765 msgid "mv"
13766 msgstr "mv"
13767
13768 #. type: verbatim
13769 #: ../fish/guestfish-actions.pod:3563
13770 #, no-wrap
13771 msgid ""
13772 " mv src dest\n"
13773 "\n"
13774 msgstr ""
13775 " mv джерело призначення\n"
13776 "\n"
13777
13778 #. type: textblock
13779 #: ../fish/guestfish-actions.pod:3565 ../src/guestfs-actions.pod:5560
13780 msgid ""
13781 "This moves a file from C<src> to C<dest> where C<dest> is either a "
13782 "destination filename or destination directory."
13783 msgstr ""
13784
13785 #. type: =head2
13786 #: ../fish/guestfish-actions.pod:3568
13787 msgid "ntfs-3g-probe"
13788 msgstr "ntfs-3g-probe"
13789
13790 #. type: verbatim
13791 #: ../fish/guestfish-actions.pod:3570
13792 #, no-wrap
13793 msgid ""
13794 " ntfs-3g-probe true|false device\n"
13795 "\n"
13796 msgstr ""
13797
13798 #. type: textblock
13799 #: ../fish/guestfish-actions.pod:3572 ../src/guestfs-actions.pod:5574
13800 msgid ""
13801 "This command runs the L<ntfs-3g.probe(8)> command which probes an NTFS "
13802 "C<device> for mountability.  (Not all NTFS volumes can be mounted read-"
13803 "write, and some cannot be mounted at all)."
13804 msgstr ""
13805
13806 #. type: textblock
13807 #: ../fish/guestfish-actions.pod:3576 ../src/guestfs-actions.pod:5578
13808 msgid ""
13809 "C<rw> is a boolean flag.  Set it to true if you want to test if the volume "
13810 "can be mounted read-write.  Set it to false if you want to test if the "
13811 "volume can be mounted read-only."
13812 msgstr ""
13813
13814 #. type: textblock
13815 #: ../fish/guestfish-actions.pod:3580 ../src/guestfs-actions.pod:5582
13816 msgid ""
13817 "The return value is an integer which C<0> if the operation would succeed, or"
13818 " some non-zero value documented in the L<ntfs-3g.probe(8)> manual page."
13819 msgstr ""
13820
13821 #. type: =head2
13822 #: ../fish/guestfish-actions.pod:3584
13823 msgid "ntfsresize"
13824 msgstr "ntfsresize"
13825
13826 #. type: verbatim
13827 #: ../fish/guestfish-actions.pod:3586
13828 #, no-wrap
13829 msgid ""
13830 " ntfsresize device\n"
13831 "\n"
13832 msgstr ""
13833 " ntfsresize пристрій\n"
13834 "\n"
13835
13836 #. type: textblock
13837 #: ../fish/guestfish-actions.pod:3588 ../fish/guestfish-actions.pod:3612
13838 #: ../src/guestfs-actions.pod:5603 ../src/guestfs-actions.pod:5635
13839 msgid ""
13840 "This command resizes an NTFS filesystem, expanding or shrinking it to the "
13841 "size of the underlying device."
13842 msgstr ""
13843
13844 #. type: textblock
13845 #: ../fish/guestfish-actions.pod:3591 ../src/guestfs-actions.pod:5606
13846 msgid ""
13847 "I<Note:> After the resize operation, the filesystem is marked as requiring a"
13848 " consistency check (for safety).  You have to boot into Windows to perform "
13849 "this check and clear this condition.  Furthermore, ntfsresize refuses to "
13850 "resize filesystems which have been marked in this way.  So in effect it is "
13851 "not possible to call ntfsresize multiple times on a single filesystem "
13852 "without booting into Windows between each resize."
13853 msgstr ""
13854
13855 #. type: textblock
13856 #: ../fish/guestfish-actions.pod:3599 ../fish/guestfish-actions.pod:3638
13857 #: ../src/guestfs-actions.pod:5614 ../src/guestfs-actions.pod:5661
13858 msgid "See also L<ntfsresize(8)>."
13859 msgstr "Див. також L<ntfsresize(8)>."
13860
13861 #. type: textblock
13862 #: ../fish/guestfish-actions.pod:3601 ../fish/guestfish-actions.pod:3649
13863 msgid ""
13864 "I<This function is deprecated.> In new code, use the L</ntfsresize_opts> "
13865 "call instead."
13866 msgstr ""
13867
13868 #. type: =head2
13869 #: ../fish/guestfish-actions.pod:3608
13870 msgid "ntfsresize-opts"
13871 msgstr ""
13872
13873 #. type: verbatim
13874 #: ../fish/guestfish-actions.pod:3610
13875 #, no-wrap
13876 msgid ""
13877 " ntfsresize-opts device [size:..] [force:..]\n"
13878 "\n"
13879 msgstr ""
13880
13881 #. type: textblock
13882 #: ../fish/guestfish-actions.pod:3621 ../src/guestfs-actions.pod:5644
13883 msgid ""
13884 "The new size (in bytes) of the filesystem.  If omitted, the filesystem is "
13885 "resized to fit the container (eg. partition)."
13886 msgstr ""
13887
13888 #. type: =item
13889 #: ../fish/guestfish-actions.pod:3624 ../src/guestfs-actions.pod:5647
13890 msgid "C<force>"
13891 msgstr "C<force>"
13892
13893 #. type: textblock
13894 #: ../fish/guestfish-actions.pod:3626 ../src/guestfs-actions.pod:5649
13895 msgid ""
13896 "If this option is true, then force the resize of the filesystem even if the "
13897 "filesystem is marked as requiring a consistency check."
13898 msgstr ""
13899
13900 #. type: textblock
13901 #: ../fish/guestfish-actions.pod:3629
13902 msgid ""
13903 "After the resize operation, the filesystem is always marked as requiring a "
13904 "consistency check (for safety).  You have to boot into Windows to perform "
13905 "this check and clear this condition.  If you I<don't> set the C<force> "
13906 "option then it is not possible to call L</ntfsresize-opts> multiple times on"
13907 " a single filesystem without booting into Windows between each resize."
13908 msgstr ""
13909
13910 #. type: =head2
13911 #: ../fish/guestfish-actions.pod:3642
13912 msgid "ntfsresize-size"
13913 msgstr "ntfsresize-size"
13914
13915 #. type: verbatim
13916 #: ../fish/guestfish-actions.pod:3644
13917 #, no-wrap
13918 msgid ""
13919 " ntfsresize-size device size\n"
13920 "\n"
13921 msgstr ""
13922
13923 #. type: textblock
13924 #: ../fish/guestfish-actions.pod:3646
13925 msgid ""
13926 "This command is the same as L</ntfsresize> except that it allows you to "
13927 "specify the new size (in bytes) explicitly."
13928 msgstr ""
13929
13930 #. type: =head2
13931 #: ../fish/guestfish-actions.pod:3656
13932 msgid "part-add"
13933 msgstr "part-add"
13934
13935 #. type: verbatim
13936 #: ../fish/guestfish-actions.pod:3658
13937 #, no-wrap
13938 msgid ""
13939 " part-add device prlogex startsect endsect\n"
13940 "\n"
13941 msgstr ""
13942
13943 #. type: textblock
13944 #: ../fish/guestfish-actions.pod:3660
13945 msgid ""
13946 "This command adds a partition to C<device>.  If there is no partition table "
13947 "on the device, call L</part-init> first."
13948 msgstr ""
13949
13950 #. type: textblock
13951 #: ../fish/guestfish-actions.pod:3663 ../src/guestfs-actions.pod:5722
13952 msgid ""
13953 "The C<prlogex> parameter is the type of partition.  Normally you should pass"
13954 " C<p> or C<primary> here, but MBR partition tables also support C<l> (or "
13955 "C<logical>) and C<e> (or C<extended>) partition types."
13956 msgstr ""
13957
13958 #. type: textblock
13959 #: ../fish/guestfish-actions.pod:3668 ../src/guestfs-actions.pod:5727
13960 msgid ""
13961 "C<startsect> and C<endsect> are the start and end of the partition in "
13962 "I<sectors>.  C<endsect> may be negative, which means it counts backwards "
13963 "from the end of the disk (C<-1> is the last sector)."
13964 msgstr ""
13965
13966 #. type: textblock
13967 #: ../fish/guestfish-actions.pod:3672
13968 msgid ""
13969 "Creating a partition which covers the whole disk is not so easy.  Use L"
13970 "</part-disk> to do that."
13971 msgstr ""
13972
13973 #. type: =head2
13974 #: ../fish/guestfish-actions.pod:3675
13975 msgid "part-del"
13976 msgstr "part-del"
13977
13978 #. type: verbatim
13979 #: ../fish/guestfish-actions.pod:3677
13980 #, no-wrap
13981 msgid ""
13982 " part-del device partnum\n"
13983 "\n"
13984 msgstr ""
13985
13986 #. type: textblock
13987 #: ../fish/guestfish-actions.pod:3679 ../src/guestfs-actions.pod:5745
13988 msgid "This command deletes the partition numbered C<partnum> on C<device>."
13989 msgstr ""
13990
13991 #. type: textblock
13992 #: ../fish/guestfish-actions.pod:3681 ../src/guestfs-actions.pod:5747
13993 msgid ""
13994 "Note that in the case of MBR partitioning, deleting an extended partition "
13995 "also deletes any logical partitions it contains."
13996 msgstr ""
13997
13998 #. type: =head2
13999 #: ../fish/guestfish-actions.pod:3685
14000 msgid "part-disk"
14001 msgstr "part-disk"
14002
14003 #. type: verbatim
14004 #: ../fish/guestfish-actions.pod:3687
14005 #, no-wrap
14006 msgid ""
14007 " part-disk device parttype\n"
14008 "\n"
14009 msgstr ""
14010 " part-disk пристрій тип_розділу\n"
14011 "\n"
14012
14013 #. type: textblock
14014 #: ../fish/guestfish-actions.pod:3689
14015 msgid ""
14016 "This command is simply a combination of L</part-init> followed by L</part-"
14017 "add> to create a single primary partition covering the whole disk."
14018 msgstr ""
14019
14020 #. type: textblock
14021 #: ../fish/guestfish-actions.pod:3693
14022 msgid ""
14023 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other"
14024 " possible values are described in L</part-init>."
14025 msgstr ""
14026
14027 #. type: =head2
14028 #: ../fish/guestfish-actions.pod:3699
14029 msgid "part-get-bootable"
14030 msgstr "part-get-bootable"
14031
14032 #. type: verbatim
14033 #: ../fish/guestfish-actions.pod:3701
14034 #, no-wrap
14035 msgid ""
14036 " part-get-bootable device partnum\n"
14037 "\n"
14038 msgstr ""
14039
14040 #. type: textblock
14041 #: ../fish/guestfish-actions.pod:3703 ../src/guestfs-actions.pod:5783
14042 msgid ""
14043 "This command returns true if the partition C<partnum> on C<device> has the "
14044 "bootable flag set."
14045 msgstr ""
14046
14047 #. type: textblock
14048 #: ../fish/guestfish-actions.pod:3706
14049 msgid "See also L</part-set-bootable>."
14050 msgstr "Див. також L</part-set-bootable>."
14051
14052 #. type: =head2
14053 #: ../fish/guestfish-actions.pod:3708
14054 msgid "part-get-mbr-id"
14055 msgstr "part-get-mbr-id"
14056
14057 #. type: verbatim
14058 #: ../fish/guestfish-actions.pod:3710
14059 #, no-wrap
14060 msgid ""
14061 " part-get-mbr-id device partnum\n"
14062 "\n"
14063 msgstr ""
14064
14065 #. type: textblock
14066 #: ../fish/guestfish-actions.pod:3712 ../src/guestfs-actions.pod:5799
14067 msgid ""
14068 "Returns the MBR type byte (also known as the ID byte) from the numbered "
14069 "partition C<partnum>."
14070 msgstr ""
14071
14072 #. type: textblock
14073 #: ../fish/guestfish-actions.pod:3715 ../fish/guestfish-actions.pod:3859
14074 msgid ""
14075 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get"
14076 " undefined results for other partition table types (see L</part-get-"
14077 "parttype>)."
14078 msgstr ""
14079
14080 #. type: =head2
14081 #: ../fish/guestfish-actions.pod:3719
14082 msgid "part-get-parttype"
14083 msgstr "part-get-parttype"
14084
14085 #. type: verbatim
14086 #: ../fish/guestfish-actions.pod:3721
14087 #, no-wrap
14088 msgid ""
14089 " part-get-parttype device\n"
14090 "\n"
14091 msgstr ""
14092 " part-get-parttype пристрій\n"
14093 "\n"
14094
14095 #. type: textblock
14096 #: ../fish/guestfish-actions.pod:3723 ../src/guestfs-actions.pod:5816
14097 msgid ""
14098 "This command examines the partition table on C<device> and returns the "
14099 "partition table type (format) being used."
14100 msgstr ""
14101
14102 #. type: textblock
14103 #: ../fish/guestfish-actions.pod:3726
14104 msgid ""
14105 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
14106 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
14107 "possible, although unusual.  See L</part-init> for a full list."
14108 msgstr ""
14109
14110 #. type: =head2
14111 #: ../fish/guestfish-actions.pod:3731
14112 msgid "part-init"
14113 msgstr "part-init"
14114
14115 #. type: verbatim
14116 #: ../fish/guestfish-actions.pod:3733
14117 #, no-wrap
14118 msgid ""
14119 " part-init device parttype\n"
14120 "\n"
14121 msgstr ""
14122
14123 #. type: textblock
14124 #: ../fish/guestfish-actions.pod:3735 ../src/guestfs-actions.pod:5836
14125 msgid ""
14126 "This creates an empty partition table on C<device> of one of the partition "
14127 "types listed below.  Usually C<parttype> should be either C<msdos> or C<gpt>"
14128 " (for large disks)."
14129 msgstr ""
14130
14131 #. type: textblock
14132 #: ../fish/guestfish-actions.pod:3739
14133 msgid ""
14134 "Initially there are no partitions.  Following this, you should call L</part-"
14135 "add> for each partition required."
14136 msgstr ""
14137
14138 #. type: textblock
14139 #: ../fish/guestfish-actions.pod:3742 ../src/guestfs-actions.pod:5843
14140 msgid "Possible values for C<parttype> are:"
14141 msgstr ""
14142
14143 #. type: =item
14144 #: ../fish/guestfish-actions.pod:3746 ../src/guestfs-actions.pod:5847
14145 msgid "B<efi>"
14146 msgstr "B<efi>"
14147
14148 #. type: =item
14149 #: ../fish/guestfish-actions.pod:3748 ../src/guestfs-actions.pod:5849
14150 msgid "B<gpt>"
14151 msgstr "B<gpt>"
14152
14153 #. type: textblock
14154 #: ../fish/guestfish-actions.pod:3750 ../src/guestfs-actions.pod:5851
14155 msgid "Intel EFI / GPT partition table."
14156 msgstr ""
14157
14158 #. type: textblock
14159 #: ../fish/guestfish-actions.pod:3752 ../src/guestfs-actions.pod:5853
14160 msgid ""
14161 "This is recommended for >= 2 TB partitions that will be accessed from Linux "
14162 "and Intel-based Mac OS X.  It also has limited backwards compatibility with "
14163 "the C<mbr> format."
14164 msgstr ""
14165
14166 #. type: =item
14167 #: ../fish/guestfish-actions.pod:3756 ../src/guestfs-actions.pod:5857
14168 msgid "B<mbr>"
14169 msgstr "B<mbr>"
14170
14171 #. type: =item
14172 #: ../fish/guestfish-actions.pod:3758 ../src/guestfs-actions.pod:5859
14173 msgid "B<msdos>"
14174 msgstr "B<msdos>"
14175
14176 #. type: textblock
14177 #: ../fish/guestfish-actions.pod:3760 ../src/guestfs-actions.pod:5861
14178 msgid ""
14179 "The standard PC \"Master Boot Record\" (MBR) format used by MS-DOS and "
14180 "Windows.  This partition type will B<only> work for device sizes up to 2 TB."
14181 "  For large disks we recommend using C<gpt>."
14182 msgstr ""
14183
14184 #. type: textblock
14185 #: ../fish/guestfish-actions.pod:3767 ../src/guestfs-actions.pod:5868
14186 msgid ""
14187 "Other partition table types that may work but are not supported include:"
14188 msgstr ""
14189
14190 #. type: =item
14191 #: ../fish/guestfish-actions.pod:3772 ../src/guestfs-actions.pod:5873
14192 msgid "B<aix>"
14193 msgstr "B<aix>"
14194
14195 #. type: textblock
14196 #: ../fish/guestfish-actions.pod:3774 ../src/guestfs-actions.pod:5875
14197 msgid "AIX disk labels."
14198 msgstr "Мітки дисків AIX."
14199
14200 #. type: =item
14201 #: ../fish/guestfish-actions.pod:3776 ../src/guestfs-actions.pod:5877
14202 msgid "B<amiga>"
14203 msgstr "B<amiga>"
14204
14205 #. type: =item
14206 #: ../fish/guestfish-actions.pod:3778 ../src/guestfs-actions.pod:5879
14207 msgid "B<rdb>"
14208 msgstr "B<rdb>"
14209
14210 #. type: textblock
14211 #: ../fish/guestfish-actions.pod:3780 ../src/guestfs-actions.pod:5881
14212 msgid "Amiga \"Rigid Disk Block\" format."
14213 msgstr "Формат \"Rigid Disk Block\" Amiga."
14214
14215 #. type: =item
14216 #: ../fish/guestfish-actions.pod:3782 ../src/guestfs-actions.pod:5883
14217 msgid "B<bsd>"
14218 msgstr "B<bsd>"
14219
14220 #. type: textblock
14221 #: ../fish/guestfish-actions.pod:3784 ../src/guestfs-actions.pod:5885
14222 msgid "BSD disk labels."
14223 msgstr "Мітки дисків BSD."
14224
14225 #. type: =item
14226 #: ../fish/guestfish-actions.pod:3786 ../src/guestfs-actions.pod:5887
14227 msgid "B<dasd>"
14228 msgstr "B<dasd>"
14229
14230 #. type: textblock
14231 #: ../fish/guestfish-actions.pod:3788 ../src/guestfs-actions.pod:5889
14232 msgid "DASD, used on IBM mainframes."
14233 msgstr "DASD, використовувалися у мейнфреймах IBM."
14234
14235 #. type: =item
14236 #: ../fish/guestfish-actions.pod:3790 ../src/guestfs-actions.pod:5891
14237 msgid "B<dvh>"
14238 msgstr "B<dvh>"
14239
14240 #. type: textblock
14241 #: ../fish/guestfish-actions.pod:3792 ../src/guestfs-actions.pod:5893
14242 msgid "MIPS/SGI volumes."
14243 msgstr "Томи MIPS/SGI."
14244
14245 #. type: =item
14246 #: ../fish/guestfish-actions.pod:3794 ../src/guestfs-actions.pod:5895
14247 msgid "B<mac>"
14248 msgstr "B<mac>"
14249
14250 #. type: textblock
14251 #: ../fish/guestfish-actions.pod:3796 ../src/guestfs-actions.pod:5897
14252 msgid "Old Mac partition format.  Modern Macs use C<gpt>."
14253 msgstr ""
14254 "Старий формат розділів Mac. Сучасні системи Mac використовують C<gpt>."
14255
14256 #. type: =item
14257 #: ../fish/guestfish-actions.pod:3798 ../src/guestfs-actions.pod:5899
14258 msgid "B<pc98>"
14259 msgstr "B<pc98>"
14260
14261 #. type: textblock
14262 #: ../fish/guestfish-actions.pod:3800 ../src/guestfs-actions.pod:5901
14263 msgid "NEC PC-98 format, common in Japan apparently."
14264 msgstr "Формат NEC PC-98, поширений у Японії."
14265
14266 #. type: =item
14267 #: ../fish/guestfish-actions.pod:3802 ../src/guestfs-actions.pod:5903
14268 msgid "B<sun>"
14269 msgstr "B<sun>"
14270
14271 #. type: textblock
14272 #: ../fish/guestfish-actions.pod:3804 ../src/guestfs-actions.pod:5905
14273 msgid "Sun disk labels."
14274 msgstr "Мітки дисків Sun."
14275
14276 #. type: =head2
14277 #: ../fish/guestfish-actions.pod:3808
14278 msgid "part-list"
14279 msgstr "part-list"
14280
14281 #. type: verbatim
14282 #: ../fish/guestfish-actions.pod:3810
14283 #, no-wrap
14284 msgid ""
14285 " part-list device\n"
14286 "\n"
14287 msgstr ""
14288 " part-list device\n"
14289 "\n"
14290
14291 #. type: textblock
14292 #: ../fish/guestfish-actions.pod:3812 ../src/guestfs-actions.pod:5919
14293 msgid ""
14294 "This command parses the partition table on C<device> and returns the list of"
14295 " partitions found."
14296 msgstr ""
14297
14298 #. type: textblock
14299 #: ../fish/guestfish-actions.pod:3815 ../src/guestfs-actions.pod:5922
14300 msgid "The fields in the returned structure are:"
14301 msgstr ""
14302
14303 #. type: =item
14304 #: ../fish/guestfish-actions.pod:3819 ../src/guestfs-actions.pod:5926
14305 msgid "B<part_num>"
14306 msgstr "B<part_num>"
14307
14308 #. type: textblock
14309 #: ../fish/guestfish-actions.pod:3821 ../src/guestfs-actions.pod:5928
14310 msgid "Partition number, counting from 1."
14311 msgstr ""
14312
14313 #. type: =item
14314 #: ../fish/guestfish-actions.pod:3823 ../src/guestfs-actions.pod:5930
14315 msgid "B<part_start>"
14316 msgstr "B<part_start>"
14317
14318 #. type: textblock
14319 #: ../fish/guestfish-actions.pod:3825
14320 msgid ""
14321 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
14322 "the device's sector size, see L</blockdev-getss>."
14323 msgstr ""
14324
14325 #. type: =item
14326 #: ../fish/guestfish-actions.pod:3828 ../src/guestfs-actions.pod:5935
14327 msgid "B<part_end>"
14328 msgstr "B<part_end>"
14329
14330 #. type: textblock
14331 #: ../fish/guestfish-actions.pod:3830 ../src/guestfs-actions.pod:5937
14332 msgid "End of the partition in bytes."
14333 msgstr ""
14334
14335 #. type: =item
14336 #: ../fish/guestfish-actions.pod:3832 ../src/guestfs-actions.pod:5939
14337 msgid "B<part_size>"
14338 msgstr "B<part_size>"
14339
14340 #. type: textblock
14341 #: ../fish/guestfish-actions.pod:3834 ../src/guestfs-actions.pod:5941
14342 msgid "Size of the partition in bytes."
14343 msgstr ""
14344
14345 #. type: =head2
14346 #: ../fish/guestfish-actions.pod:3838
14347 msgid "part-set-bootable"
14348 msgstr "part-set-bootable"
14349
14350 #. type: verbatim
14351 #: ../fish/guestfish-actions.pod:3840
14352 #, no-wrap
14353 msgid ""
14354 " part-set-bootable device partnum true|false\n"
14355 "\n"
14356 msgstr ""
14357
14358 #. type: textblock
14359 #: ../fish/guestfish-actions.pod:3842 ../src/guestfs-actions.pod:5959
14360 msgid ""
14361 "This sets the bootable flag on partition numbered C<partnum> on device "
14362 "C<device>.  Note that partitions are numbered from 1."
14363 msgstr ""
14364
14365 #. type: textblock
14366 #: ../fish/guestfish-actions.pod:3845 ../src/guestfs-actions.pod:5962
14367 msgid ""
14368 "The bootable flag is used by some operating systems (notably Windows) to "
14369 "determine which partition to boot from.  It is by no means universally "
14370 "recognized."
14371 msgstr ""
14372
14373 #. type: =head2
14374 #: ../fish/guestfish-actions.pod:3849
14375 msgid "part-set-mbr-id"
14376 msgstr "part-set-mbr-id"
14377
14378 #. type: verbatim
14379 #: ../fish/guestfish-actions.pod:3851
14380 #, no-wrap
14381 msgid ""
14382 " part-set-mbr-id device partnum idbyte\n"
14383 "\n"
14384 msgstr ""
14385
14386 #. type: textblock
14387 #: ../fish/guestfish-actions.pod:3853 ../src/guestfs-actions.pod:5978
14388 msgid ""
14389 "Sets the MBR type byte (also known as the ID byte) of the numbered partition"
14390 " C<partnum> to C<idbyte>.  Note that the type bytes quoted in most "
14391 "documentation are in fact hexadecimal numbers, but usually documented "
14392 "without any leading \"0x\" which might be confusing."
14393 msgstr ""
14394
14395 #. type: =head2
14396 #: ../fish/guestfish-actions.pod:3863
14397 msgid "part-set-name"
14398 msgstr "part-set-name"
14399
14400 #. type: verbatim
14401 #: ../fish/guestfish-actions.pod:3865
14402 #, no-wrap
14403 msgid ""
14404 " part-set-name device partnum name\n"
14405 "\n"
14406 msgstr ""
14407
14408 #. type: textblock
14409 #: ../fish/guestfish-actions.pod:3867 ../src/guestfs-actions.pod:6000
14410 msgid ""
14411 "This sets the partition name on partition numbered C<partnum> on device "
14412 "C<device>.  Note that partitions are numbered from 1."
14413 msgstr ""
14414
14415 #. type: textblock
14416 #: ../fish/guestfish-actions.pod:3870 ../src/guestfs-actions.pod:6003
14417 msgid ""
14418 "The partition name can only be set on certain types of partition table.  "
14419 "This works on C<gpt> but not on C<mbr> partitions."
14420 msgstr ""
14421
14422 #. type: =head2
14423 #: ../fish/guestfish-actions.pod:3873
14424 msgid "part-to-dev"
14425 msgstr "part-to-dev"
14426
14427 #. type: verbatim
14428 #: ../fish/guestfish-actions.pod:3875
14429 #, no-wrap
14430 msgid ""
14431 " part-to-dev partition\n"
14432 "\n"
14433 msgstr ""
14434 " part-to-dev розділ\n"
14435 "\n"
14436
14437 #. type: textblock
14438 #: ../fish/guestfish-actions.pod:3877 ../src/guestfs-actions.pod:6016
14439 msgid ""
14440 "This function takes a partition name (eg. \"/dev/sdb1\") and removes the "
14441 "partition number, returning the device name (eg. \"/dev/sdb\")."
14442 msgstr ""
14443
14444 #. type: textblock
14445 #: ../fish/guestfish-actions.pod:3881 ../fish/guestfish-actions.pod:3893
14446 msgid ""
14447 "The named partition must exist, for example as a string returned from L"
14448 "</list-partitions>."
14449 msgstr ""
14450
14451 #. type: textblock
14452 #: ../fish/guestfish-actions.pod:3884
14453 msgid "See also L</part-to-partnum>."
14454 msgstr ""
14455
14456 #. type: =head2
14457 #: ../fish/guestfish-actions.pod:3886
14458 msgid "part-to-partnum"
14459 msgstr ""
14460
14461 #. type: verbatim
14462 #: ../fish/guestfish-actions.pod:3888
14463 #, no-wrap
14464 msgid ""
14465 " part-to-partnum partition\n"
14466 "\n"
14467 msgstr ""
14468
14469 #. type: textblock
14470 #: ../fish/guestfish-actions.pod:3890 ../src/guestfs-actions.pod:6036
14471 msgid ""
14472 "This function takes a partition name (eg. \"/dev/sdb1\") and returns the "
14473 "partition number (eg. C<1>)."
14474 msgstr ""
14475
14476 #. type: textblock
14477 #: ../fish/guestfish-actions.pod:3896
14478 msgid "See also L</part-to-dev>."
14479 msgstr ""
14480
14481 #. type: =head2
14482 #: ../fish/guestfish-actions.pod:3898
14483 msgid "ping-daemon"
14484 msgstr "ping-daemon"
14485
14486 #. type: verbatim
14487 #: ../fish/guestfish-actions.pod:3900
14488 #, no-wrap
14489 msgid ""
14490 " ping-daemon\n"
14491 "\n"
14492 msgstr ""
14493 " ping-daemon\n"
14494 "\n"
14495
14496 #. type: textblock
14497 #: ../fish/guestfish-actions.pod:3902 ../src/guestfs-actions.pod:6051
14498 msgid ""
14499 "This is a test probe into the guestfs daemon running inside the qemu "
14500 "subprocess.  Calling this function checks that the daemon responds to the "
14501 "ping message, without affecting the daemon or attached block device(s) in "
14502 "any other way."
14503 msgstr ""
14504
14505 #. type: =head2
14506 #: ../fish/guestfish-actions.pod:3907
14507 msgid "pread"
14508 msgstr "pread"
14509
14510 #. type: verbatim
14511 #: ../fish/guestfish-actions.pod:3909
14512 #, no-wrap
14513 msgid ""
14514 " pread path count offset\n"
14515 "\n"
14516 msgstr ""
14517
14518 #. type: textblock
14519 #: ../fish/guestfish-actions.pod:3911 ../src/guestfs-actions.pod:6069
14520 msgid ""
14521 "This command lets you read part of a file.  It reads C<count> bytes of the "
14522 "file, starting at C<offset>, from file C<path>."
14523 msgstr ""
14524
14525 #. type: textblock
14526 #: ../fish/guestfish-actions.pod:3914 ../fish/guestfish-actions.pod:3929
14527 #: ../src/guestfs-actions.pod:6072 ../src/guestfs-actions.pod:6098
14528 msgid ""
14529 "This may read fewer bytes than requested.  For further details see the "
14530 "L<pread(2)> system call."
14531 msgstr ""
14532
14533 #. type: textblock
14534 #: ../fish/guestfish-actions.pod:3917
14535 msgid "See also L</pwrite>, L</pread-device>."
14536 msgstr "Див. також L</pwrite>, L</pread-device>."
14537
14538 #. type: =head2
14539 #: ../fish/guestfish-actions.pod:3922
14540 msgid "pread-device"
14541 msgstr "pread-device"
14542
14543 #. type: verbatim
14544 #: ../fish/guestfish-actions.pod:3924
14545 #, no-wrap
14546 msgid ""
14547 " pread-device device count offset\n"
14548 "\n"
14549 msgstr ""
14550
14551 #. type: textblock
14552 #: ../fish/guestfish-actions.pod:3926 ../src/guestfs-actions.pod:6095
14553 msgid ""
14554 "This command lets you read part of a file.  It reads C<count> bytes of "
14555 "C<device>, starting at C<offset>."
14556 msgstr ""
14557
14558 #. type: textblock
14559 #: ../fish/guestfish-actions.pod:3932
14560 msgid "See also L</pread>."
14561 msgstr "Див. також L</pread>."
14562
14563 #. type: =head2
14564 #: ../fish/guestfish-actions.pod:3937
14565 msgid "pvcreate"
14566 msgstr "pvcreate"
14567
14568 #. type: verbatim
14569 #: ../fish/guestfish-actions.pod:3939
14570 #, no-wrap
14571 msgid ""
14572 " pvcreate device\n"
14573 "\n"
14574 msgstr ""
14575 " pvcreate пристрій\n"
14576 "\n"
14577
14578 #. type: textblock
14579 #: ../fish/guestfish-actions.pod:3941 ../src/guestfs-actions.pod:6118
14580 msgid ""
14581 "This creates an LVM physical volume on the named C<device>, where C<device> "
14582 "should usually be a partition name such as C</dev/sda1>."
14583 msgstr ""
14584
14585 #. type: =head2
14586 #: ../fish/guestfish-actions.pod:3945
14587 msgid "pvremove"
14588 msgstr "pvremove"
14589
14590 #. type: verbatim
14591 #: ../fish/guestfish-actions.pod:3947
14592 #, no-wrap
14593 msgid ""
14594 " pvremove device\n"
14595 "\n"
14596 msgstr ""
14597 " pvremove пристрій\n"
14598 "\n"
14599
14600 #. type: textblock
14601 #: ../fish/guestfish-actions.pod:3949 ../src/guestfs-actions.pod:6132
14602 msgid ""
14603 "This wipes a physical volume C<device> so that LVM will no longer recognise "
14604 "it."
14605 msgstr ""
14606
14607 #. type: textblock
14608 #: ../fish/guestfish-actions.pod:3952 ../src/guestfs-actions.pod:6135
14609 msgid ""
14610 "The implementation uses the C<pvremove> command which refuses to wipe "
14611 "physical volumes that contain any volume groups, so you have to remove those"
14612 " first."
14613 msgstr ""
14614
14615 #. type: =head2
14616 #: ../fish/guestfish-actions.pod:3956
14617 msgid "pvresize"
14618 msgstr "pvresize"
14619
14620 #. type: verbatim
14621 #: ../fish/guestfish-actions.pod:3958
14622 #, no-wrap
14623 msgid ""
14624 " pvresize device\n"
14625 "\n"
14626 msgstr ""
14627 " pvresize пристрій\n"
14628 "\n"
14629
14630 #. type: textblock
14631 #: ../fish/guestfish-actions.pod:3960 ../src/guestfs-actions.pod:6149
14632 msgid ""
14633 "This resizes (expands or shrinks) an existing LVM physical volume to match "
14634 "the new size of the underlying device."
14635 msgstr ""
14636
14637 #. type: =head2
14638 #: ../fish/guestfish-actions.pod:3963
14639 msgid "pvresize-size"
14640 msgstr "pvresize-size"
14641
14642 #. type: verbatim
14643 #: ../fish/guestfish-actions.pod:3965
14644 #, no-wrap
14645 msgid ""
14646 " pvresize-size device size\n"
14647 "\n"
14648 msgstr ""
14649
14650 #. type: textblock
14651 #: ../fish/guestfish-actions.pod:3967
14652 msgid ""
14653 "This command is the same as L</pvresize> except that it allows you to "
14654 "specify the new size (in bytes) explicitly."
14655 msgstr ""
14656
14657 #. type: =head2
14658 #: ../fish/guestfish-actions.pod:3970
14659 msgid "pvs"
14660 msgstr "pvs"
14661
14662 #. type: verbatim
14663 #: ../fish/guestfish-actions.pod:3972
14664 #, no-wrap
14665 msgid ""
14666 " pvs\n"
14667 "\n"
14668 msgstr ""
14669 " pvs\n"
14670 "\n"
14671
14672 #. type: textblock
14673 #: ../fish/guestfish-actions.pod:3974 ../src/guestfs-actions.pod:6175
14674 msgid ""
14675 "List all the physical volumes detected.  This is the equivalent of the "
14676 "L<pvs(8)> command."
14677 msgstr ""
14678
14679 #. type: textblock
14680 #: ../fish/guestfish-actions.pod:3977 ../src/guestfs-actions.pod:6178
14681 msgid ""
14682 "This returns a list of just the device names that contain PVs (eg. "
14683 "C</dev/sda2>)."
14684 msgstr ""
14685
14686 #. type: textblock
14687 #: ../fish/guestfish-actions.pod:3980
14688 msgid "See also L</pvs-full>."
14689 msgstr "Див. також L</pvs-full>."
14690
14691 #. type: =head2
14692 #: ../fish/guestfish-actions.pod:3982
14693 msgid "pvs-full"
14694 msgstr "pvs-full"
14695
14696 #. type: verbatim
14697 #: ../fish/guestfish-actions.pod:3984
14698 #, no-wrap
14699 msgid ""
14700 " pvs-full\n"
14701 "\n"
14702 msgstr ""
14703 " pvs-full\n"
14704 "\n"
14705
14706 #. type: textblock
14707 #: ../fish/guestfish-actions.pod:3986 ../src/guestfs-actions.pod:6194
14708 msgid ""
14709 "List all the physical volumes detected.  This is the equivalent of the "
14710 "L<pvs(8)> command.  The \"full\" version includes all fields."
14711 msgstr ""
14712
14713 #. type: =head2
14714 #: ../fish/guestfish-actions.pod:3989
14715 msgid "pvuuid"
14716 msgstr "pvuuid"
14717
14718 #. type: verbatim
14719 #: ../fish/guestfish-actions.pod:3991
14720 #, no-wrap
14721 msgid ""
14722 " pvuuid device\n"
14723 "\n"
14724 msgstr ""
14725 " pvuuid пристрій\n"
14726 "\n"
14727
14728 #. type: textblock
14729 #: ../fish/guestfish-actions.pod:3993 ../src/guestfs-actions.pod:6209
14730 msgid "This command returns the UUID of the LVM PV C<device>."
14731 msgstr ""
14732
14733 #. type: =head2
14734 #: ../fish/guestfish-actions.pod:3995
14735 msgid "pwrite"
14736 msgstr "pwrite"
14737
14738 #. type: verbatim
14739 #: ../fish/guestfish-actions.pod:3997
14740 #, no-wrap
14741 msgid ""
14742 " pwrite path content offset\n"
14743 "\n"
14744 msgstr ""
14745
14746 #. type: textblock
14747 #: ../fish/guestfish-actions.pod:3999 ../src/guestfs-actions.pod:6225
14748 msgid ""
14749 "This command writes to part of a file.  It writes the data buffer C<content>"
14750 " to the file C<path> starting at offset C<offset>."
14751 msgstr ""
14752
14753 #. type: textblock
14754 #: ../fish/guestfish-actions.pod:4002 ../src/guestfs-actions.pod:6228
14755 msgid ""
14756 "This command implements the L<pwrite(2)> system call, and like that system "
14757 "call it may not write the full data requested.  The return value is the "
14758 "number of bytes that were actually written to the file.  This could even be "
14759 "0, although short writes are unlikely for regular files in ordinary "
14760 "circumstances."
14761 msgstr ""
14762
14763 #. type: textblock
14764 #: ../fish/guestfish-actions.pod:4008
14765 msgid "See also L</pread>, L</pwrite-device>."
14766 msgstr "Див. також L</pread>, L</pwrite-device>."
14767
14768 #. type: =head2
14769 #: ../fish/guestfish-actions.pod:4013
14770 msgid "pwrite-device"
14771 msgstr "pwrite-device"
14772
14773 #. type: verbatim
14774 #: ../fish/guestfish-actions.pod:4015
14775 #, no-wrap
14776 msgid ""
14777 " pwrite-device device content offset\n"
14778 "\n"
14779 msgstr ""
14780
14781 #. type: textblock
14782 #: ../fish/guestfish-actions.pod:4017 ../src/guestfs-actions.pod:6252
14783 msgid ""
14784 "This command writes to part of a device.  It writes the data buffer "
14785 "C<content> to C<device> starting at offset C<offset>."
14786 msgstr ""
14787
14788 #. type: textblock
14789 #: ../fish/guestfish-actions.pod:4020 ../src/guestfs-actions.pod:6255
14790 msgid ""
14791 "This command implements the L<pwrite(2)> system call, and like that system "
14792 "call it may not write the full data requested (although short writes to disk"
14793 " devices and partitions are probably impossible with standard Linux "
14794 "kernels)."
14795 msgstr ""
14796
14797 #. type: textblock
14798 #: ../fish/guestfish-actions.pod:4025
14799 msgid "See also L</pwrite>."
14800 msgstr "Див. також L</pwrite>."
14801
14802 #. type: =head2
14803 #: ../fish/guestfish-actions.pod:4030
14804 msgid "read-file"
14805 msgstr "read-file"
14806
14807 #. type: verbatim
14808 #: ../fish/guestfish-actions.pod:4032
14809 #, no-wrap
14810 msgid ""
14811 " read-file path\n"
14812 "\n"
14813 msgstr ""
14814 " read-file шлях\n"
14815 "\n"
14816
14817 #. type: textblock
14818 #: ../fish/guestfish-actions.pod:4034 ../src/guestfs-actions.pod:6276
14819 msgid "This calls returns the contents of the file C<path> as a buffer."
14820 msgstr ""
14821
14822 #. type: textblock
14823 #: ../fish/guestfish-actions.pod:4037
14824 msgid ""
14825 "Unlike L</cat>, this function can correctly handle files that contain "
14826 "embedded ASCII NUL characters.  However unlike L</download>, this function "
14827 "is limited in the total size of file that can be handled."
14828 msgstr ""
14829
14830 #. type: =head2
14831 #: ../fish/guestfish-actions.pod:4045
14832 msgid "read-lines"
14833 msgstr "read-lines"
14834
14835 #. type: verbatim
14836 #: ../fish/guestfish-actions.pod:4047
14837 #, no-wrap
14838 msgid ""
14839 " read-lines path\n"
14840 "\n"
14841 msgstr ""
14842 " read-lines шлях\n"
14843 "\n"
14844
14845 #. type: textblock
14846 #: ../fish/guestfish-actions.pod:4051 ../src/guestfs-actions.pod:6301
14847 msgid ""
14848 "The file contents are returned as a list of lines.  Trailing C<LF> and "
14849 "C<CRLF> character sequences are I<not> returned."
14850 msgstr ""
14851
14852 #. type: textblock
14853 #: ../fish/guestfish-actions.pod:4054
14854 msgid ""
14855 "Note that this function cannot correctly handle binary files (specifically, "
14856 "files containing C<\\0> character which is treated as end of line).  For "
14857 "those you need to use the L</read-file> function which has a more complex "
14858 "interface."
14859 msgstr ""
14860
14861 #. type: =head2
14862 #: ../fish/guestfish-actions.pod:4059
14863 msgid "readdir"
14864 msgstr "readdir"
14865
14866 #. type: verbatim
14867 #: ../fish/guestfish-actions.pod:4061
14868 #, no-wrap
14869 msgid ""
14870 " readdir dir\n"
14871 "\n"
14872 msgstr ""
14873 " readdir каталог\n"
14874 "\n"
14875
14876 #. type: textblock
14877 #: ../fish/guestfish-actions.pod:4063 ../src/guestfs-actions.pod:6321
14878 msgid "This returns the list of directory entries in directory C<dir>."
14879 msgstr ""
14880
14881 #. type: textblock
14882 #: ../fish/guestfish-actions.pod:4065 ../src/guestfs-actions.pod:6323
14883 msgid ""
14884 "All entries in the directory are returned, including C<.> and C<..>.  The "
14885 "entries are I<not> sorted, but returned in the same order as the underlying "
14886 "filesystem."
14887 msgstr ""
14888
14889 #. type: textblock
14890 #: ../fish/guestfish-actions.pod:4069 ../src/guestfs-actions.pod:6327
14891 msgid ""
14892 "Also this call returns basic file type information about each file.  The "
14893 "C<ftyp> field will contain one of the following characters:"
14894 msgstr ""
14895
14896 #. type: =item
14897 #: ../fish/guestfish-actions.pod:4074 ../src/guestfs-actions.pod:6332
14898 msgid "'b'"
14899 msgstr "'b'"
14900
14901 #. type: textblock
14902 #: ../fish/guestfish-actions.pod:4076 ../src/guestfs-actions.pod:6334
14903 msgid "Block special"
14904 msgstr "Блоковий особливий"
14905
14906 #. type: =item
14907 #: ../fish/guestfish-actions.pod:4078 ../src/guestfs-actions.pod:6336
14908 msgid "'c'"
14909 msgstr "'c'"
14910
14911 #. type: textblock
14912 #: ../fish/guestfish-actions.pod:4080 ../src/guestfs-actions.pod:6338
14913 msgid "Char special"
14914 msgstr "Символьний особливий"
14915
14916 #. type: =item
14917 #: ../fish/guestfish-actions.pod:4082 ../src/guestfs-actions.pod:6340
14918 msgid "'d'"
14919 msgstr "'d'"
14920
14921 #. type: textblock
14922 #: ../fish/guestfish-actions.pod:4084 ../src/guestfs-actions.pod:6342
14923 msgid "Directory"
14924 msgstr "Каталог"
14925
14926 #. type: =item
14927 #: ../fish/guestfish-actions.pod:4086 ../src/guestfs-actions.pod:6344
14928 msgid "'f'"
14929 msgstr "'f'"
14930
14931 #. type: textblock
14932 #: ../fish/guestfish-actions.pod:4088 ../src/guestfs-actions.pod:6346
14933 msgid "FIFO (named pipe)"
14934 msgstr "FIFO (іменований канал)"
14935
14936 #. type: =item
14937 #: ../fish/guestfish-actions.pod:4090 ../src/guestfs-actions.pod:6348
14938 msgid "'l'"
14939 msgstr "'l'"
14940
14941 #. type: textblock
14942 #: ../fish/guestfish-actions.pod:4092 ../src/guestfs-actions.pod:6350
14943 msgid "Symbolic link"
14944 msgstr "Символічне посилання"
14945
14946 #. type: =item
14947 #: ../fish/guestfish-actions.pod:4094 ../src/guestfs-actions.pod:6352
14948 msgid "'r'"
14949 msgstr "'r'"
14950
14951 #. type: textblock
14952 #: ../fish/guestfish-actions.pod:4096 ../src/guestfs-actions.pod:6354
14953 msgid "Regular file"
14954 msgstr "Звичайний файл"
14955
14956 #. type: =item
14957 #: ../fish/guestfish-actions.pod:4098 ../src/guestfs-actions.pod:6356
14958 msgid "'s'"
14959 msgstr "'s'"
14960
14961 #. type: textblock
14962 #: ../fish/guestfish-actions.pod:4100 ../src/guestfs-actions.pod:6358
14963 msgid "Socket"
14964 msgstr "Сокет"
14965
14966 #. type: =item
14967 #: ../fish/guestfish-actions.pod:4102 ../src/guestfs-actions.pod:6360
14968 msgid "'u'"
14969 msgstr "'u'"
14970
14971 #. type: textblock
14972 #: ../fish/guestfish-actions.pod:4104 ../src/guestfs-actions.pod:6362
14973 msgid "Unknown file type"
14974 msgstr "Невідомий тип файла"
14975
14976 #. type: =item
14977 #: ../fish/guestfish-actions.pod:4106 ../src/guestfs-actions.pod:6364
14978 msgid "'?'"
14979 msgstr ""
14980
14981 #. type: textblock
14982 #: ../fish/guestfish-actions.pod:4108 ../src/guestfs-actions.pod:6366
14983 msgid ""
14984 "The L<readdir(3)> call returned a C<d_type> field with an unexpected value"
14985 msgstr ""
14986
14987 #. type: textblock
14988 #: ../fish/guestfish-actions.pod:4113
14989 msgid ""
14990 "This function is primarily intended for use by programs.  To get a simple "
14991 "list of names, use L</ls>.  To get a printable directory for human "
14992 "consumption, use L</ll>."
14993 msgstr ""
14994
14995 #. type: =head2
14996 #: ../fish/guestfish-actions.pod:4117
14997 msgid "readlink"
14998 msgstr "readlink"
14999
15000 #. type: verbatim
15001 #: ../fish/guestfish-actions.pod:4119
15002 #, no-wrap
15003 msgid ""
15004 " readlink path\n"
15005 "\n"
15006 msgstr ""
15007 " readlink шлях\n"
15008 "\n"
15009
15010 #. type: textblock
15011 #: ../fish/guestfish-actions.pod:4121 ../src/guestfs-actions.pod:6387
15012 msgid "This command reads the target of a symbolic link."
15013 msgstr ""
15014
15015 #. type: =head2
15016 #: ../fish/guestfish-actions.pod:4123
15017 msgid "readlinklist"
15018 msgstr "readlinklist"
15019
15020 #. type: verbatim
15021 #: ../fish/guestfish-actions.pod:4125
15022 #, no-wrap
15023 msgid ""
15024 " readlinklist path 'names ...'\n"
15025 "\n"
15026 msgstr ""
15027
15028 #. type: textblock
15029 #: ../fish/guestfish-actions.pod:4127 ../src/guestfs-actions.pod:6401
15030 msgid ""
15031 "This call allows you to do a C<readlink> operation on multiple files, where "
15032 "all files are in the directory C<path>.  C<names> is the list of files from "
15033 "this directory."
15034 msgstr ""
15035
15036 #. type: textblock
15037 #: ../fish/guestfish-actions.pod:4131 ../src/guestfs-actions.pod:6405
15038 msgid ""
15039 "On return you get a list of strings, with a one-to-one correspondence to the"
15040 " C<names> list.  Each string is the value of the symbolic link."
15041 msgstr ""
15042
15043 #. type: textblock
15044 #: ../fish/guestfish-actions.pod:4135 ../src/guestfs-actions.pod:6409
15045 msgid ""
15046 "If the C<readlink(2)> operation fails on any name, then the corresponding "
15047 "result string is the empty string C<\"\">.  However the whole operation is "
15048 "completed even if there were C<readlink(2)> errors, and so you can call this"
15049 " function with names where you don't know if they are symbolic links already"
15050 " (albeit slightly less efficient)."
15051 msgstr ""
15052
15053 #. type: textblock
15054 #: ../fish/guestfish-actions.pod:4142 ../src/guestfs-actions.pod:6416
15055 msgid ""
15056 "This call is intended for programs that want to efficiently list a directory"
15057 " contents without making many round-trips.  Very long directory listings "
15058 "might cause the protocol message size to be exceeded, causing this call to "
15059 "fail.  The caller must split up such requests into smaller groups of names."
15060 msgstr ""
15061
15062 #. type: =head2
15063 #: ../fish/guestfish-actions.pod:4149
15064 msgid "realpath"
15065 msgstr "realpath"
15066
15067 #. type: verbatim
15068 #: ../fish/guestfish-actions.pod:4151
15069 #, no-wrap
15070 msgid ""
15071 " realpath path\n"
15072 "\n"
15073 msgstr ""
15074 " realpath шлях\n"
15075 "\n"
15076
15077 #. type: textblock
15078 #: ../fish/guestfish-actions.pod:4153 ../src/guestfs-actions.pod:6435
15079 msgid ""
15080 "Return the canonicalized absolute pathname of C<path>.  The returned path "
15081 "has no C<.>, C<..> or symbolic link path elements."
15082 msgstr ""
15083
15084 #. type: =head2
15085 #: ../fish/guestfish-actions.pod:4156
15086 msgid "removexattr"
15087 msgstr "removexattr"
15088
15089 #. type: verbatim
15090 #: ../fish/guestfish-actions.pod:4158
15091 #, no-wrap
15092 msgid ""
15093 " removexattr xattr path\n"
15094 "\n"
15095 msgstr ""
15096
15097 #. type: textblock
15098 #: ../fish/guestfish-actions.pod:4160 ../src/guestfs-actions.pod:6450
15099 msgid ""
15100 "This call removes the extended attribute named C<xattr> of the file C<path>."
15101 msgstr ""
15102
15103 #. type: textblock
15104 #: ../fish/guestfish-actions.pod:4163
15105 msgid "See also: L</lremovexattr>, L<attr(5)>."
15106 msgstr "Див. також L</lremovexattr>, L<attr(5)>."
15107
15108 #. type: =head2
15109 #: ../fish/guestfish-actions.pod:4165
15110 msgid "resize2fs"
15111 msgstr "resize2fs"
15112
15113 #. type: verbatim
15114 #: ../fish/guestfish-actions.pod:4167
15115 #, no-wrap
15116 msgid ""
15117 " resize2fs device\n"
15118 "\n"
15119 msgstr ""
15120 " resize2fs пристрій\n"
15121 "\n"
15122
15123 #. type: textblock
15124 #: ../fish/guestfish-actions.pod:4169 ../src/guestfs-actions.pod:6465
15125 msgid ""
15126 "This resizes an ext2, ext3 or ext4 filesystem to match the size of the "
15127 "underlying device."
15128 msgstr ""
15129
15130 #. type: textblock
15131 #: ../fish/guestfish-actions.pod:4172
15132 msgid ""
15133 "I<Note:> It is sometimes required that you run L</e2fsck-f> on the C<device>"
15134 " before calling this command.  For unknown reasons C<resize2fs> sometimes "
15135 "gives an error about this and sometimes not.  In any case, it is always safe"
15136 " to call L</e2fsck-f> before calling this function."
15137 msgstr ""
15138
15139 #. type: =head2
15140 #: ../fish/guestfish-actions.pod:4178
15141 msgid "resize2fs-M"
15142 msgstr "resize2fs-M"
15143
15144 #. type: verbatim
15145 #: ../fish/guestfish-actions.pod:4180
15146 #, no-wrap
15147 msgid ""
15148 " resize2fs-M device\n"
15149 "\n"
15150 msgstr ""
15151 " resize2fs-M пристрій\n"
15152 "\n"
15153
15154 #. type: textblock
15155 #: ../fish/guestfish-actions.pod:4182
15156 msgid ""
15157 "This command is the same as L</resize2fs>, but the filesystem is resized to "
15158 "its minimum size.  This works like the I<-M> option to the C<resize2fs> "
15159 "command."
15160 msgstr ""
15161
15162 #. type: textblock
15163 #: ../fish/guestfish-actions.pod:4186
15164 msgid ""
15165 "To get the resulting size of the filesystem you should call L</tune2fs-l> "
15166 "and read the C<Block size> and C<Block count> values.  These two numbers, "
15167 "multiplied together, give the resulting size of the minimal filesystem in "
15168 "bytes."
15169 msgstr ""
15170
15171 #. type: =head2
15172 #: ../fish/guestfish-actions.pod:4191
15173 msgid "resize2fs-size"
15174 msgstr "resize2fs-size"
15175
15176 #. type: verbatim
15177 #: ../fish/guestfish-actions.pod:4193
15178 #, no-wrap
15179 msgid ""
15180 " resize2fs-size device size\n"
15181 "\n"
15182 msgstr ""
15183
15184 #. type: textblock
15185 #: ../fish/guestfish-actions.pod:4195
15186 msgid ""
15187 "This command is the same as L</resize2fs> except that it allows you to "
15188 "specify the new size (in bytes) explicitly."
15189 msgstr ""
15190
15191 #. type: =head2
15192 #: ../fish/guestfish-actions.pod:4198
15193 msgid "rm"
15194 msgstr "rm"
15195
15196 #. type: verbatim
15197 #: ../fish/guestfish-actions.pod:4200
15198 #, no-wrap
15199 msgid ""
15200 " rm path\n"
15201 "\n"
15202 msgstr ""
15203 " rm шлях\n"
15204 "\n"
15205
15206 #. type: textblock
15207 #: ../fish/guestfish-actions.pod:4202 ../src/guestfs-actions.pod:6517
15208 msgid "Remove the single file C<path>."
15209 msgstr ""
15210
15211 #. type: =head2
15212 #: ../fish/guestfish-actions.pod:4204
15213 msgid "rm-rf"
15214 msgstr "rm-rf"
15215
15216 #. type: verbatim
15217 #: ../fish/guestfish-actions.pod:4206
15218 #, no-wrap
15219 msgid ""
15220 " rm-rf path\n"
15221 "\n"
15222 msgstr ""
15223 " rm-rf шлях\n"
15224 "\n"
15225
15226 #. type: textblock
15227 #: ../fish/guestfish-actions.pod:4208 ../src/guestfs-actions.pod:6529
15228 msgid ""
15229 "Remove the file or directory C<path>, recursively removing the contents if "
15230 "its a directory.  This is like the C<rm -rf> shell command."
15231 msgstr ""
15232
15233 #. type: =head2
15234 #: ../fish/guestfish-actions.pod:4212
15235 msgid "rmdir"
15236 msgstr "rmdir"
15237
15238 #. type: verbatim
15239 #: ../fish/guestfish-actions.pod:4214
15240 #, no-wrap
15241 msgid ""
15242 " rmdir path\n"
15243 "\n"
15244 msgstr ""
15245 " rmdir шлях\n"
15246 "\n"
15247
15248 #. type: textblock
15249 #: ../fish/guestfish-actions.pod:4216 ../src/guestfs-actions.pod:6543
15250 msgid "Remove the single directory C<path>."
15251 msgstr ""
15252
15253 #. type: =head2
15254 #: ../fish/guestfish-actions.pod:4218
15255 msgid "rmmountpoint"
15256 msgstr "rmmountpoint"
15257
15258 #. type: verbatim
15259 #: ../fish/guestfish-actions.pod:4220
15260 #, no-wrap
15261 msgid ""
15262 " rmmountpoint exemptpath\n"
15263 "\n"
15264 msgstr ""
15265
15266 #. type: textblock
15267 #: ../fish/guestfish-actions.pod:4222
15268 msgid ""
15269 "This calls removes a mountpoint that was previously created with "
15270 "L</mkmountpoint>.  See L</mkmountpoint> for full details."
15271 msgstr ""
15272
15273 #. type: =head2
15274 #: ../fish/guestfish-actions.pod:4226
15275 msgid "scrub-device"
15276 msgstr "scrub-device"
15277
15278 #. type: verbatim
15279 #: ../fish/guestfish-actions.pod:4228
15280 #, no-wrap
15281 msgid ""
15282 " scrub-device device\n"
15283 "\n"
15284 msgstr ""
15285 " scrub-device пристрій\n"
15286 "\n"
15287
15288 #. type: textblock
15289 #: ../fish/guestfish-actions.pod:4230 ../src/guestfs-actions.pod:6569
15290 msgid ""
15291 "This command writes patterns over C<device> to make data retrieval more "
15292 "difficult."
15293 msgstr ""
15294
15295 #. type: textblock
15296 #: ../fish/guestfish-actions.pod:4233 ../fish/guestfish-actions.pod:4248
15297 #: ../fish/guestfish-actions.pod:4261 ../src/guestfs-actions.pod:6572
15298 #: ../src/guestfs-actions.pod:6593 ../src/guestfs-actions.pod:6612
15299 msgid ""
15300 "It is an interface to the L<scrub(1)> program.  See that manual page for "
15301 "more details."
15302 msgstr ""
15303
15304 #. type: =head2
15305 #: ../fish/guestfish-actions.pod:4239
15306 msgid "scrub-file"
15307 msgstr "scrub-file"
15308
15309 #. type: verbatim
15310 #: ../fish/guestfish-actions.pod:4241
15311 #, no-wrap
15312 msgid ""
15313 " scrub-file file\n"
15314 "\n"
15315 msgstr ""
15316 " scrub-file файл\n"
15317 "\n"
15318
15319 #. type: textblock
15320 #: ../fish/guestfish-actions.pod:4243 ../src/guestfs-actions.pod:6588
15321 msgid ""
15322 "This command writes patterns over a file to make data retrieval more "
15323 "difficult."
15324 msgstr ""
15325
15326 #. type: textblock
15327 #: ../fish/guestfish-actions.pod:4246 ../src/guestfs-actions.pod:6591
15328 msgid "The file is I<removed> after scrubbing."
15329 msgstr ""
15330
15331 #. type: =head2
15332 #: ../fish/guestfish-actions.pod:4251
15333 msgid "scrub-freespace"
15334 msgstr "scrub-freespace"
15335
15336 #. type: verbatim
15337 #: ../fish/guestfish-actions.pod:4253
15338 #, no-wrap
15339 msgid ""
15340 " scrub-freespace dir\n"
15341 "\n"
15342 msgstr ""
15343 " scrub-freespace каталог\n"
15344 "\n"
15345
15346 #. type: textblock
15347 #: ../fish/guestfish-actions.pod:4255
15348 msgid ""
15349 "This command creates the directory C<dir> and then fills it with files until"
15350 " the filesystem is full, and scrubs the files as for L</scrub-file>, and "
15351 "deletes them.  The intention is to scrub any free space on the partition "
15352 "containing C<dir>."
15353 msgstr ""
15354
15355 #. type: =head2
15356 #: ../fish/guestfish-actions.pod:4264
15357 msgid "set-append"
15358 msgstr "set-append"
15359
15360 #. type: =head2
15361 #: ../fish/guestfish-actions.pod:4266
15362 msgid "append"
15363 msgstr ""
15364
15365 #. type: verbatim
15366 #: ../fish/guestfish-actions.pod:4268
15367 #, no-wrap
15368 msgid ""
15369 " set-append append\n"
15370 "\n"
15371 msgstr ""
15372
15373 #. type: textblock
15374 #: ../fish/guestfish-actions.pod:4270 ../src/guestfs-actions.pod:6625
15375 msgid ""
15376 "This function is used to add additional options to the guest kernel command "
15377 "line."
15378 msgstr ""
15379
15380 #. type: textblock
15381 #: ../fish/guestfish-actions.pod:4273 ../src/guestfs-actions.pod:6628
15382 msgid ""
15383 "The default is C<NULL> unless overridden by setting C<LIBGUESTFS_APPEND> "
15384 "environment variable."
15385 msgstr ""
15386
15387 #. type: textblock
15388 #: ../fish/guestfish-actions.pod:4276 ../src/guestfs-actions.pod:6631
15389 msgid ""
15390 "Setting C<append> to C<NULL> means I<no> additional options are passed "
15391 "(libguestfs always adds a few of its own)."
15392 msgstr ""
15393
15394 #. type: =head2
15395 #: ../fish/guestfish-actions.pod:4279
15396 msgid "set-attach-method"
15397 msgstr "set-attach-method"
15398
15399 #. type: =head2
15400 #: ../fish/guestfish-actions.pod:4281
15401 msgid "attach-method"
15402 msgstr ""
15403
15404 #. type: verbatim
15405 #: ../fish/guestfish-actions.pod:4283
15406 #, no-wrap
15407 msgid ""
15408 " set-attach-method attachmethod\n"
15409 "\n"
15410 msgstr ""
15411
15412 #. type: textblock
15413 #: ../fish/guestfish-actions.pod:4285 ../src/guestfs-actions.pod:6644
15414 msgid ""
15415 "Set the method that libguestfs uses to connect to the back end guestfsd "
15416 "daemon.  Possible methods are:"
15417 msgstr ""
15418
15419 #. type: =item
15420 #: ../fish/guestfish-actions.pod:4290 ../src/guestfs-actions.pod:6649
15421 #: ../src/guestfs.pod:2916
15422 msgid "C<appliance>"
15423 msgstr "C<appliance>"
15424
15425 #. type: textblock
15426 #: ../fish/guestfish-actions.pod:4292 ../src/guestfs-actions.pod:6651
15427 msgid ""
15428 "Launch an appliance and connect to it.  This is the ordinary method and the "
15429 "default."
15430 msgstr ""
15431
15432 #. type: =item
15433 #: ../fish/guestfish-actions.pod:4295 ../src/guestfs-actions.pod:6654
15434 msgid "C<unix:I<path>>"
15435 msgstr "C<unix:I<шлях>>"
15436
15437 #. type: textblock
15438 #: ../fish/guestfish-actions.pod:4297 ../src/guestfs-actions.pod:6656
15439 msgid "Connect to the Unix domain socket I<path>."
15440 msgstr "Встановити з’єднання з сокетом домену Unix I<шлях>."
15441
15442 #. type: textblock
15443 #: ../fish/guestfish-actions.pod:4299 ../src/guestfs-actions.pod:6658
15444 msgid ""
15445 "This method lets you connect to an existing daemon or (using virtio-serial) "
15446 "to a live guest.  For more information, see L<guestfs(3)/ATTACHING TO "
15447 "RUNNING DAEMONS>."
15448 msgstr ""
15449
15450 #. type: =head2
15451 #: ../fish/guestfish-actions.pod:4305
15452 msgid "set-autosync"
15453 msgstr "set-autosync"
15454
15455 #. type: =head2
15456 #: ../fish/guestfish-actions.pod:4307
15457 msgid "autosync"
15458 msgstr "autosync"
15459
15460 #. type: verbatim
15461 #: ../fish/guestfish-actions.pod:4309
15462 #, no-wrap
15463 msgid ""
15464 " set-autosync true|false\n"
15465 "\n"
15466 msgstr ""
15467 " set-autosync true|false\n"
15468 "\n"
15469
15470 #. type: textblock
15471 #: ../fish/guestfish-actions.pod:4311 ../src/guestfs-actions.pod:6674
15472 msgid ""
15473 "If C<autosync> is true, this enables autosync.  Libguestfs will make a best "
15474 "effort attempt to make filesystems consistent and synchronized when the "
15475 "handle is closed (also if the program exits without closing handles)."
15476 msgstr ""
15477
15478 #. type: textblock
15479 #: ../fish/guestfish-actions.pod:4316 ../src/guestfs-actions.pod:6679
15480 msgid ""
15481 "This is enabled by default (since libguestfs 1.5.24, previously it was "
15482 "disabled by default)."
15483 msgstr ""
15484
15485 #. type: =head2
15486 #: ../fish/guestfish-actions.pod:4319
15487 msgid "set-direct"
15488 msgstr "set-direct"
15489
15490 #. type: =head2
15491 #: ../fish/guestfish-actions.pod:4321
15492 msgid "direct"
15493 msgstr "direct"
15494
15495 #. type: verbatim
15496 #: ../fish/guestfish-actions.pod:4323
15497 #, no-wrap
15498 msgid ""
15499 " set-direct true|false\n"
15500 "\n"
15501 msgstr ""
15502 " set-direct true|false\n"
15503 "\n"
15504
15505 #. type: textblock
15506 #: ../fish/guestfish-actions.pod:4325 ../src/guestfs-actions.pod:6692
15507 msgid ""
15508 "If the direct appliance mode flag is enabled, then stdin and stdout are "
15509 "passed directly through to the appliance once it is launched."
15510 msgstr ""
15511
15512 #. type: textblock
15513 #: ../fish/guestfish-actions.pod:4329
15514 msgid ""
15515 "One consequence of this is that log messages aren't caught by the library "
15516 "and handled by L</set-log-message-callback>, but go straight to stdout."
15517 msgstr ""
15518
15519 #. type: textblock
15520 #: ../fish/guestfish-actions.pod:4333 ../src/guestfs-actions.pod:6700
15521 msgid ""
15522 "You probably don't want to use this unless you know what you are doing."
15523 msgstr ""
15524
15525 #. type: textblock
15526 #: ../fish/guestfish-actions.pod:4336 ../src/guestfs-actions.pod:6703
15527 msgid "The default is disabled."
15528 msgstr ""
15529
15530 #. type: =head2
15531 #: ../fish/guestfish-actions.pod:4338
15532 msgid "set-e2label"
15533 msgstr "set-e2label"
15534
15535 #. type: verbatim
15536 #: ../fish/guestfish-actions.pod:4340
15537 #, no-wrap
15538 msgid ""
15539 " set-e2label device label\n"
15540 "\n"
15541 msgstr ""
15542
15543 #. type: textblock
15544 #: ../fish/guestfish-actions.pod:4342 ../src/guestfs-actions.pod:6716
15545 msgid ""
15546 "This sets the ext2/3/4 filesystem label of the filesystem on C<device> to "
15547 "C<label>.  Filesystem labels are limited to 16 characters."
15548 msgstr ""
15549
15550 #. type: textblock
15551 #: ../fish/guestfish-actions.pod:4346
15552 msgid ""
15553 "You can use either L</tune2fs-l> or L</get-e2label> to return the existing "
15554 "label on a filesystem."
15555 msgstr ""
15556
15557 #. type: =head2
15558 #: ../fish/guestfish-actions.pod:4349
15559 msgid "set-e2uuid"
15560 msgstr "set-e2uuid"
15561
15562 #. type: verbatim
15563 #: ../fish/guestfish-actions.pod:4351
15564 #, no-wrap
15565 msgid ""
15566 " set-e2uuid device uuid\n"
15567 "\n"
15568 msgstr ""
15569
15570 #. type: textblock
15571 #: ../fish/guestfish-actions.pod:4353 ../src/guestfs-actions.pod:6734
15572 msgid ""
15573 "This sets the ext2/3/4 filesystem UUID of the filesystem on C<device> to "
15574 "C<uuid>.  The format of the UUID and alternatives such as C<clear>, "
15575 "C<random> and C<time> are described in the L<tune2fs(8)> manpage."
15576 msgstr ""
15577
15578 #. type: textblock
15579 #: ../fish/guestfish-actions.pod:4358
15580 msgid ""
15581 "You can use either L</tune2fs-l> or L</get-e2uuid> to return the existing "
15582 "UUID of a filesystem."
15583 msgstr ""
15584
15585 #. type: =head2
15586 #: ../fish/guestfish-actions.pod:4361
15587 msgid "set-memsize"
15588 msgstr "set-memsize"
15589
15590 #. type: =head2
15591 #: ../fish/guestfish-actions.pod:4363
15592 msgid "memsize"
15593 msgstr ""
15594
15595 #. type: verbatim
15596 #: ../fish/guestfish-actions.pod:4365
15597 #, no-wrap
15598 msgid ""
15599 " set-memsize memsize\n"
15600 "\n"
15601 msgstr ""
15602
15603 #. type: textblock
15604 #: ../fish/guestfish-actions.pod:4367
15605 msgid ""
15606 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
15607 "This only has any effect if called before L</launch>."
15608 msgstr ""
15609
15610 #. type: textblock
15611 #: ../fish/guestfish-actions.pod:4371 ../src/guestfs-actions.pod:6756
15612 msgid ""
15613 "You can also change this by setting the environment variable "
15614 "C<LIBGUESTFS_MEMSIZE> before the handle is created."
15615 msgstr ""
15616
15617 #. type: =head2
15618 #: ../fish/guestfish-actions.pod:4378
15619 msgid "set-network"
15620 msgstr "set-network"
15621
15622 #. type: =head2
15623 #: ../fish/guestfish-actions.pod:4380
15624 msgid "network"
15625 msgstr "network"
15626
15627 #. type: verbatim
15628 #: ../fish/guestfish-actions.pod:4382
15629 #, no-wrap
15630 msgid ""
15631 " set-network true|false\n"
15632 "\n"
15633 msgstr ""
15634 " set-network true|false\n"
15635 "\n"
15636
15637 #. type: textblock
15638 #: ../fish/guestfish-actions.pod:4384 ../src/guestfs-actions.pod:6773
15639 msgid ""
15640 "If C<network> is true, then the network is enabled in the libguestfs "
15641 "appliance.  The default is false."
15642 msgstr ""
15643
15644 #. type: textblock
15645 #: ../fish/guestfish-actions.pod:4387 ../src/guestfs-actions.pod:6776
15646 msgid ""
15647 "This affects whether commands are able to access the network (see "
15648 "L<guestfs(3)/RUNNING COMMANDS>)."
15649 msgstr ""
15650
15651 #. type: textblock
15652 #: ../fish/guestfish-actions.pod:4390
15653 msgid ""
15654 "You must call this before calling L</launch>, otherwise it has no effect."
15655 msgstr ""
15656
15657 #. type: =head2
15658 #: ../fish/guestfish-actions.pod:4393
15659 msgid "set-path"
15660 msgstr "set-path"
15661
15662 #. type: verbatim
15663 #: ../fish/guestfish-actions.pod:4397
15664 #, no-wrap
15665 msgid ""
15666 " set-path searchpath\n"
15667 "\n"
15668 msgstr ""
15669
15670 #. type: textblock
15671 #: ../fish/guestfish-actions.pod:4399 ../src/guestfs-actions.pod:6792
15672 msgid "Set the path that libguestfs searches for kernel and initrd.img."
15673 msgstr ""
15674
15675 #. type: textblock
15676 #: ../fish/guestfish-actions.pod:4401 ../src/guestfs-actions.pod:6794
15677 msgid ""
15678 "The default is C<$libdir/guestfs> unless overridden by setting "
15679 "C<LIBGUESTFS_PATH> environment variable."
15680 msgstr ""
15681
15682 #. type: textblock
15683 #: ../fish/guestfish-actions.pod:4404 ../src/guestfs-actions.pod:6797
15684 msgid "Setting C<path> to C<NULL> restores the default path."
15685 msgstr ""
15686
15687 #. type: =head2
15688 #: ../fish/guestfish-actions.pod:4406
15689 msgid "set-pgroup"
15690 msgstr ""
15691
15692 #. type: =head2
15693 #: ../fish/guestfish-actions.pod:4408
15694 msgid "pgroup"
15695 msgstr ""
15696
15697 #. type: verbatim
15698 #: ../fish/guestfish-actions.pod:4410
15699 #, no-wrap
15700 msgid ""
15701 " set-pgroup true|false\n"
15702 "\n"
15703 msgstr ""
15704
15705 #. type: textblock
15706 #: ../fish/guestfish-actions.pod:4412 ../src/guestfs-actions.pod:6809
15707 msgid ""
15708 "If C<pgroup> is true, child processes are placed into their own process "
15709 "group."
15710 msgstr ""
15711
15712 #. type: textblock
15713 #: ../fish/guestfish-actions.pod:4415 ../src/guestfs-actions.pod:6812
15714 msgid ""
15715 "The practical upshot of this is that signals like C<SIGINT> (from users "
15716 "pressing C<^C>) won't be received by the child process."
15717 msgstr ""
15718
15719 #. type: textblock
15720 #: ../fish/guestfish-actions.pod:4418 ../src/guestfs-actions.pod:6815
15721 msgid ""
15722 "The default for this flag is false, because usually you want C<^C> to kill "
15723 "the subprocess."
15724 msgstr ""
15725
15726 #. type: =head2
15727 #: ../fish/guestfish-actions.pod:4421
15728 msgid "set-qemu"
15729 msgstr "set-qemu"
15730
15731 #. type: =head2
15732 #: ../fish/guestfish-actions.pod:4423
15733 msgid "qemu"
15734 msgstr "qemu"
15735
15736 #. type: verbatim
15737 #: ../fish/guestfish-actions.pod:4425
15738 #, no-wrap
15739 msgid ""
15740 " set-qemu qemu\n"
15741 "\n"
15742 msgstr ""
15743 " set-qemu qemu\n"
15744 "\n"
15745
15746 #. type: textblock
15747 #: ../fish/guestfish-actions.pod:4427 ../src/guestfs-actions.pod:6828
15748 msgid "Set the qemu binary that we will use."
15749 msgstr ""
15750
15751 #. type: textblock
15752 #: ../fish/guestfish-actions.pod:4429 ../src/guestfs-actions.pod:6830
15753 msgid ""
15754 "The default is chosen when the library was compiled by the configure script."
15755 msgstr ""
15756
15757 #. type: textblock
15758 #: ../fish/guestfish-actions.pod:4432 ../src/guestfs-actions.pod:6833
15759 msgid ""
15760 "You can also override this by setting the C<LIBGUESTFS_QEMU> environment "
15761 "variable."
15762 msgstr ""
15763
15764 #. type: textblock
15765 #: ../fish/guestfish-actions.pod:4435 ../src/guestfs-actions.pod:6836
15766 msgid "Setting C<qemu> to C<NULL> restores the default qemu binary."
15767 msgstr ""
15768
15769 #. type: textblock
15770 #: ../fish/guestfish-actions.pod:4437 ../src/guestfs-actions.pod:6838
15771 msgid ""
15772 "Note that you should call this function as early as possible after creating "
15773 "the handle.  This is because some pre-launch operations depend on testing "
15774 "qemu features (by running C<qemu -help>).  If the qemu binary changes, we "
15775 "don't retest features, and so you might see inconsistent results.  Using the"
15776 " environment variable C<LIBGUESTFS_QEMU> is safest of all since that picks "
15777 "the qemu binary at the same time as the handle is created."
15778 msgstr ""
15779
15780 #. type: =head2
15781 #: ../fish/guestfish-actions.pod:4445
15782 msgid "set-recovery-proc"
15783 msgstr "set-recovery-proc"
15784
15785 #. type: =head2
15786 #: ../fish/guestfish-actions.pod:4447
15787 msgid "recovery-proc"
15788 msgstr "recovery-proc"
15789
15790 #. type: verbatim
15791 #: ../fish/guestfish-actions.pod:4449
15792 #, no-wrap
15793 msgid ""
15794 " set-recovery-proc true|false\n"
15795 "\n"
15796 msgstr ""
15797 " set-recovery-proc true|false\n"
15798 "\n"
15799
15800 #. type: textblock
15801 #: ../fish/guestfish-actions.pod:4451
15802 msgid ""
15803 "If this is called with the parameter C<false> then L</launch> does not "
15804 "create a recovery process.  The purpose of the recovery process is to stop "
15805 "runaway qemu processes in the case where the main program aborts abruptly."
15806 msgstr ""
15807
15808 #. type: textblock
15809 #: ../fish/guestfish-actions.pod:4456
15810 msgid ""
15811 "This only has any effect if called before L</launch>, and the default is "
15812 "true."
15813 msgstr ""
15814
15815 #. type: textblock
15816 #: ../fish/guestfish-actions.pod:4459 ../src/guestfs-actions.pod:6864
15817 msgid ""
15818 "About the only time when you would want to disable this is if the main "
15819 "process will fork itself into the background (\"daemonize\" itself).  In "
15820 "this case the recovery process thinks that the main program has disappeared "
15821 "and so kills qemu, which is not very helpful."
15822 msgstr ""
15823
15824 #. type: =head2
15825 #: ../fish/guestfish-actions.pod:4465
15826 msgid "set-selinux"
15827 msgstr "set-selinux"
15828
15829 #. type: =head2
15830 #: ../fish/guestfish-actions.pod:4467
15831 msgid "selinux"
15832 msgstr "selinux"
15833
15834 #. type: verbatim
15835 #: ../fish/guestfish-actions.pod:4469
15836 #, no-wrap
15837 msgid ""
15838 " set-selinux true|false\n"
15839 "\n"
15840 msgstr ""
15841 " set-selinux true|false\n"
15842 "\n"
15843
15844 #. type: textblock
15845 #: ../fish/guestfish-actions.pod:4471 ../src/guestfs-actions.pod:6880
15846 msgid ""
15847 "This sets the selinux flag that is passed to the appliance at boot time.  "
15848 "The default is C<selinux=0> (disabled)."
15849 msgstr ""
15850
15851 #. type: textblock
15852 #: ../fish/guestfish-actions.pod:4474 ../src/guestfs-actions.pod:6883
15853 msgid ""
15854 "Note that if SELinux is enabled, it is always in Permissive mode "
15855 "(C<enforcing=0>)."
15856 msgstr ""
15857
15858 #. type: =head2
15859 #: ../fish/guestfish-actions.pod:4480
15860 msgid "set-smp"
15861 msgstr ""
15862
15863 #. type: =head2
15864 #: ../fish/guestfish-actions.pod:4482
15865 msgid "smp"
15866 msgstr ""
15867
15868 #. type: verbatim
15869 #: ../fish/guestfish-actions.pod:4484
15870 #, no-wrap
15871 msgid ""
15872 " set-smp smp\n"
15873 "\n"
15874 msgstr ""
15875
15876 #. type: textblock
15877 #: ../fish/guestfish-actions.pod:4486 ../src/guestfs-actions.pod:6899
15878 msgid ""
15879 "Change the number of virtual CPUs assigned to the appliance.  The default is"
15880 " C<1>.  Increasing this may improve performance, though often it has no "
15881 "effect."
15882 msgstr ""
15883
15884 #. type: textblock
15885 #: ../fish/guestfish-actions.pod:4490
15886 msgid "This function must be called before L</launch>."
15887 msgstr ""
15888
15889 #. type: =head2
15890 #: ../fish/guestfish-actions.pod:4492
15891 msgid "set-trace"
15892 msgstr "set-trace"
15893
15894 #. type: =head2
15895 #: ../fish/guestfish-actions.pod:4494
15896 msgid "trace"
15897 msgstr "trace"
15898
15899 #. type: verbatim
15900 #: ../fish/guestfish-actions.pod:4496
15901 #, no-wrap
15902 msgid ""
15903 " set-trace true|false\n"
15904 "\n"
15905 msgstr ""
15906 " set-trace true|false\n"
15907 "\n"
15908
15909 #. type: textblock
15910 #: ../fish/guestfish-actions.pod:4498 ../src/guestfs-actions.pod:6915
15911 msgid ""
15912 "If the command trace flag is set to 1, then libguestfs calls, parameters and"
15913 " return values are traced."
15914 msgstr ""
15915
15916 #. type: textblock
15917 #: ../fish/guestfish-actions.pod:4501 ../src/guestfs-actions.pod:6918
15918 msgid ""
15919 "If you want to trace C API calls into libguestfs (and other libraries) then "
15920 "possibly a better way is to use the external ltrace(1) command."
15921 msgstr ""
15922
15923 #. type: textblock
15924 #: ../fish/guestfish-actions.pod:4505 ../src/guestfs-actions.pod:6922
15925 msgid ""
15926 "Command traces are disabled unless the environment variable "
15927 "C<LIBGUESTFS_TRACE> is defined and set to C<1>."
15928 msgstr ""
15929
15930 #. type: textblock
15931 #: ../fish/guestfish-actions.pod:4508
15932 msgid ""
15933 "Trace messages are normally sent to C<stderr>, unless you register a "
15934 "callback to send them somewhere else (see L</set-event-callback>)."
15935 msgstr ""
15936
15937 #. type: =head2
15938 #: ../fish/guestfish-actions.pod:4512
15939 msgid "set-verbose"
15940 msgstr "set-verbose"
15941
15942 #. type: =head2
15943 #: ../fish/guestfish-actions.pod:4514
15944 msgid "verbose"
15945 msgstr "verbose"
15946
15947 #. type: verbatim
15948 #: ../fish/guestfish-actions.pod:4516
15949 #, no-wrap
15950 msgid ""
15951 " set-verbose true|false\n"
15952 "\n"
15953 msgstr ""
15954 " set-verbose true|false\n"
15955 "\n"
15956
15957 #. type: textblock
15958 #: ../fish/guestfish-actions.pod:4518 ../src/guestfs-actions.pod:6939
15959 msgid "If C<verbose> is true, this turns on verbose messages."
15960 msgstr ""
15961
15962 #. type: textblock
15963 #: ../fish/guestfish-actions.pod:4520 ../src/guestfs-actions.pod:6941
15964 msgid ""
15965 "Verbose messages are disabled unless the environment variable "
15966 "C<LIBGUESTFS_DEBUG> is defined and set to C<1>."
15967 msgstr ""
15968
15969 #. type: textblock
15970 #: ../fish/guestfish-actions.pod:4523
15971 msgid ""
15972 "Verbose messages are normally sent to C<stderr>, unless you register a "
15973 "callback to send them somewhere else (see L</set-event-callback>)."
15974 msgstr ""
15975
15976 #. type: =head2
15977 #: ../fish/guestfish-actions.pod:4527
15978 msgid "setcon"
15979 msgstr "setcon"
15980
15981 #. type: verbatim
15982 #: ../fish/guestfish-actions.pod:4529
15983 #, no-wrap
15984 msgid ""
15985 " setcon context\n"
15986 "\n"
15987 msgstr ""
15988 " setcon контекст\n"
15989 "\n"
15990
15991 #. type: textblock
15992 #: ../fish/guestfish-actions.pod:4531 ../src/guestfs-actions.pod:6958
15993 msgid ""
15994 "This sets the SELinux security context of the daemon to the string "
15995 "C<context>."
15996 msgstr ""
15997
15998 #. type: textblock
15999 #: ../fish/guestfish-actions.pod:4534 ../src/guestfs-actions.pod:6961
16000 msgid "See the documentation about SELINUX in L<guestfs(3)>."
16001 msgstr ""
16002
16003 #. type: =head2
16004 #: ../fish/guestfish-actions.pod:4536
16005 msgid "setxattr"
16006 msgstr "setxattr"
16007
16008 #. type: verbatim
16009 #: ../fish/guestfish-actions.pod:4538
16010 #, no-wrap
16011 msgid ""
16012 " setxattr xattr val vallen path\n"
16013 "\n"
16014 msgstr ""
16015
16016 #. type: textblock
16017 #: ../fish/guestfish-actions.pod:4540 ../src/guestfs-actions.pod:6976
16018 msgid ""
16019 "This call sets the extended attribute named C<xattr> of the file C<path> to "
16020 "the value C<val> (of length C<vallen>).  The value is arbitrary 8 bit data."
16021 msgstr ""
16022
16023 #. type: textblock
16024 #: ../fish/guestfish-actions.pod:4544
16025 msgid "See also: L</lsetxattr>, L<attr(5)>."
16026 msgstr "Див. також L</lsetxattr>, L<attr(5)>."
16027
16028 #. type: =head2
16029 #: ../fish/guestfish-actions.pod:4546
16030 msgid "sfdisk"
16031 msgstr "sfdisk"
16032
16033 #. type: verbatim
16034 #: ../fish/guestfish-actions.pod:4548
16035 #, no-wrap
16036 msgid ""
16037 " sfdisk device cyls heads sectors 'lines ...'\n"
16038 "\n"
16039 msgstr ""
16040
16041 #. type: textblock
16042 #: ../fish/guestfish-actions.pod:4550 ../src/guestfs-actions.pod:7003
16043 msgid ""
16044 "This is a direct interface to the L<sfdisk(8)> program for creating "
16045 "partitions on block devices."
16046 msgstr ""
16047
16048 #. type: textblock
16049 #: ../fish/guestfish-actions.pod:4553 ../src/guestfs-actions.pod:7006
16050 msgid "C<device> should be a block device, for example C</dev/sda>."
16051 msgstr ""
16052
16053 #. type: textblock
16054 #: ../fish/guestfish-actions.pod:4555 ../src/guestfs-actions.pod:7008
16055 msgid ""
16056 "C<cyls>, C<heads> and C<sectors> are the number of cylinders, heads and "
16057 "sectors on the device, which are passed directly to sfdisk as the I<-C>, "
16058 "I<-H> and I<-S> parameters.  If you pass C<0> for any of these, then the "
16059 "corresponding parameter is omitted.  Usually for 'large' disks, you can just"
16060 " pass C<0> for these, but for small (floppy-sized) disks, sfdisk (or rather,"
16061 " the kernel) cannot work out the right geometry and you will need to tell "
16062 "it."
16063 msgstr ""
16064
16065 #. type: textblock
16066 #: ../fish/guestfish-actions.pod:4563 ../src/guestfs-actions.pod:7016
16067 msgid ""
16068 "C<lines> is a list of lines that we feed to C<sfdisk>.  For more information"
16069 " refer to the L<sfdisk(8)> manpage."
16070 msgstr ""
16071
16072 #. type: textblock
16073 #: ../fish/guestfish-actions.pod:4566 ../src/guestfs-actions.pod:7019
16074 msgid ""
16075 "To create a single partition occupying the whole disk, you would pass "
16076 "C<lines> as a single element list, when the single element being the string "
16077 "C<,> (comma)."
16078 msgstr ""
16079
16080 #. type: textblock
16081 #: ../fish/guestfish-actions.pod:4570
16082 msgid "See also: L</sfdisk-l>, L</sfdisk-N>, L</part-init>"
16083 msgstr "Див. також L</sfdisk-l>, L</sfdisk-N>, L</part-init>"
16084
16085 #. type: textblock
16086 #: ../fish/guestfish-actions.pod:4576 ../fish/guestfish-actions.pod:4599
16087 #: ../fish/guestfish-actions.pod:4621
16088 msgid ""
16089 "I<This function is deprecated.> In new code, use the L</part_add> call "
16090 "instead."
16091 msgstr ""
16092
16093 #. type: =head2
16094 #: ../fish/guestfish-actions.pod:4583
16095 msgid "sfdiskM"
16096 msgstr "sfdiskM"
16097
16098 #. type: verbatim
16099 #: ../fish/guestfish-actions.pod:4585
16100 #, no-wrap
16101 msgid ""
16102 " sfdiskM device 'lines ...'\n"
16103 "\n"
16104 msgstr ""
16105
16106 #. type: textblock
16107 #: ../fish/guestfish-actions.pod:4587
16108 msgid ""
16109 "This is a simplified interface to the L</sfdisk> command, where partition "
16110 "sizes are specified in megabytes only (rounded to the nearest cylinder) and "
16111 "you don't need to specify the cyls, heads and sectors parameters which were "
16112 "rarely if ever used anyway."
16113 msgstr ""
16114
16115 #. type: textblock
16116 #: ../fish/guestfish-actions.pod:4593
16117 msgid "See also: L</sfdisk>, the L<sfdisk(8)> manpage and L</part-disk>"
16118 msgstr ""
16119 "Див також L</sfdisk>, сторінку довідки (man) L<sfdisk(8)> та L</part-disk>"
16120
16121 #. type: =head2
16122 #: ../fish/guestfish-actions.pod:4606
16123 msgid "sfdisk-N"
16124 msgstr "sfdisk-N"
16125
16126 #. type: verbatim
16127 #: ../fish/guestfish-actions.pod:4608
16128 #, no-wrap
16129 msgid ""
16130 " sfdisk-N device partnum cyls heads sectors line\n"
16131 "\n"
16132 msgstr ""
16133
16134 #. type: textblock
16135 #: ../fish/guestfish-actions.pod:4610 ../src/guestfs-actions.pod:7081
16136 msgid ""
16137 "This runs L<sfdisk(8)> option to modify just the single partition C<n> "
16138 "(note: C<n> counts from 1)."
16139 msgstr ""
16140
16141 #. type: textblock
16142 #: ../fish/guestfish-actions.pod:4613
16143 msgid ""
16144 "For other parameters, see L</sfdisk>.  You should usually pass C<0> for the "
16145 "cyls/heads/sectors parameters."
16146 msgstr ""
16147
16148 #. type: textblock
16149 #: ../fish/guestfish-actions.pod:4616
16150 msgid "See also: L</part-add>"
16151 msgstr "Див. також L</part-add>"
16152
16153 #. type: =head2
16154 #: ../fish/guestfish-actions.pod:4628
16155 msgid "sfdisk-disk-geometry"
16156 msgstr "sfdisk-disk-geometry"
16157
16158 #. type: verbatim
16159 #: ../fish/guestfish-actions.pod:4630
16160 #, no-wrap
16161 msgid ""
16162 " sfdisk-disk-geometry device\n"
16163 "\n"
16164 msgstr ""
16165 " sfdisk-disk-geometry пристрій\n"
16166 "\n"
16167
16168 #. type: textblock
16169 #: ../fish/guestfish-actions.pod:4632
16170 msgid ""
16171 "This displays the disk geometry of C<device> read from the partition table."
16172 "  Especially in the case where the underlying block device has been resized,"
16173 " this can be different from the kernel's idea of the geometry (see L"
16174 "</sfdisk-kernel-geometry>)."
16175 msgstr ""
16176
16177 #. type: textblock
16178 #: ../fish/guestfish-actions.pod:4637 ../fish/guestfish-actions.pod:4646
16179 #: ../src/guestfs-actions.pod:7107 ../src/guestfs-actions.pod:7123
16180 msgid "The result is in human-readable format, and not designed to be parsed."
16181 msgstr ""
16182
16183 #. type: =head2
16184 #: ../fish/guestfish-actions.pod:4640
16185 msgid "sfdisk-kernel-geometry"
16186 msgstr "sfdisk-kernel-geometry"
16187
16188 #. type: verbatim
16189 #: ../fish/guestfish-actions.pod:4642
16190 #, no-wrap
16191 msgid ""
16192 " sfdisk-kernel-geometry device\n"
16193 "\n"
16194 msgstr ""
16195 " sfdisk-kernel-geometry пристрій\n"
16196 "\n"
16197
16198 #. type: textblock
16199 #: ../fish/guestfish-actions.pod:4644 ../src/guestfs-actions.pod:7121
16200 msgid "This displays the kernel's idea of the geometry of C<device>."
16201 msgstr ""
16202
16203 #. type: =head2
16204 #: ../fish/guestfish-actions.pod:4649
16205 msgid "sfdisk-l"
16206 msgstr "sfdisk-l"
16207
16208 #. type: verbatim
16209 #: ../fish/guestfish-actions.pod:4651
16210 #, no-wrap
16211 msgid ""
16212 " sfdisk-l device\n"
16213 "\n"
16214 msgstr ""
16215 " sfdisk-l пристрій\n"
16216 "\n"
16217
16218 #. type: textblock
16219 #: ../fish/guestfish-actions.pod:4653 ../src/guestfs-actions.pod:7144
16220 msgid ""
16221 "This displays the partition table on C<device>, in the human-readable output"
16222 " of the L<sfdisk(8)> command.  It is not intended to be parsed."
16223 msgstr ""
16224
16225 #. type: textblock
16226 #: ../fish/guestfish-actions.pod:4657
16227 msgid "See also: L</part-list>"
16228 msgstr "Див. також L</part-list>"
16229
16230 #. type: textblock
16231 #: ../fish/guestfish-actions.pod:4659
16232 msgid ""
16233 "I<This function is deprecated.> In new code, use the L</part_list> call "
16234 "instead."
16235 msgstr ""
16236
16237 #. type: =head2
16238 #: ../fish/guestfish-actions.pod:4666
16239 msgid "sh"
16240 msgstr "sh"
16241
16242 #. type: verbatim
16243 #: ../fish/guestfish-actions.pod:4668
16244 #, no-wrap
16245 msgid ""
16246 " sh command\n"
16247 "\n"
16248 msgstr ""
16249 " sh команда\n"
16250 "\n"
16251
16252 #. type: textblock
16253 #: ../fish/guestfish-actions.pod:4670 ../src/guestfs-actions.pod:7161
16254 msgid ""
16255 "This call runs a command from the guest filesystem via the guest's "
16256 "C</bin/sh>."
16257 msgstr ""
16258
16259 #. type: textblock
16260 #: ../fish/guestfish-actions.pod:4673
16261 msgid "This is like L</command>, but passes the command to:"
16262 msgstr ""
16263
16264 #. type: verbatim
16265 #: ../fish/guestfish-actions.pod:4675 ../src/guestfs-actions.pod:7166
16266 #, no-wrap
16267 msgid ""
16268 " /bin/sh -c \"command\"\n"
16269 "\n"
16270 msgstr ""
16271
16272 #. type: textblock
16273 #: ../fish/guestfish-actions.pod:4677 ../src/guestfs-actions.pod:7168
16274 msgid ""
16275 "Depending on the guest's shell, this usually results in wildcards being "
16276 "expanded, shell expressions being interpolated and so on."
16277 msgstr ""
16278
16279 #. type: textblock
16280 #: ../fish/guestfish-actions.pod:4681
16281 msgid "All the provisos about L</command> apply to this call."
16282 msgstr ""
16283
16284 #. type: =head2
16285 #: ../fish/guestfish-actions.pod:4683
16286 msgid "sh-lines"
16287 msgstr "sh-lines"
16288
16289 #. type: verbatim
16290 #: ../fish/guestfish-actions.pod:4685
16291 #, no-wrap
16292 msgid ""
16293 " sh-lines command\n"
16294 "\n"
16295 msgstr ""
16296 " sh-lines команда\n"
16297 "\n"
16298
16299 #. type: textblock
16300 #: ../fish/guestfish-actions.pod:4687
16301 msgid ""
16302 "This is the same as L</sh>, but splits the result into a list of lines."
16303 msgstr ""
16304
16305 #. type: textblock
16306 #: ../fish/guestfish-actions.pod:4690
16307 msgid "See also: L</command-lines>"
16308 msgstr "Див. також L</command-lines>"
16309
16310 #. type: =head2
16311 #: ../fish/guestfish-actions.pod:4692
16312 msgid "sleep"
16313 msgstr "sleep"
16314
16315 #. type: verbatim
16316 #: ../fish/guestfish-actions.pod:4694
16317 #, no-wrap
16318 msgid ""
16319 " sleep secs\n"
16320 "\n"
16321 msgstr ""
16322 " sleep час_у_секундах\n"
16323 "\n"
16324
16325 #. type: textblock
16326 #: ../fish/guestfish-actions.pod:4696 ../src/guestfs-actions.pod:7202
16327 msgid "Sleep for C<secs> seconds."
16328 msgstr ""
16329
16330 #. type: =head2
16331 #: ../fish/guestfish-actions.pod:4698
16332 msgid "stat"
16333 msgstr "stat"
16334
16335 #. type: verbatim
16336 #: ../fish/guestfish-actions.pod:4700
16337 #, no-wrap
16338 msgid ""
16339 " stat path\n"
16340 "\n"
16341 msgstr ""
16342 " stat шлях\n"
16343 "\n"
16344
16345 #. type: textblock
16346 #: ../fish/guestfish-actions.pod:4704 ../src/guestfs-actions.pod:7216
16347 msgid "This is the same as the C<stat(2)> system call."
16348 msgstr ""
16349
16350 #. type: =head2
16351 #: ../fish/guestfish-actions.pod:4706
16352 msgid "statvfs"
16353 msgstr "statvfs"
16354
16355 #. type: verbatim
16356 #: ../fish/guestfish-actions.pod:4708
16357 #, no-wrap
16358 msgid ""
16359 " statvfs path\n"
16360 "\n"
16361 msgstr ""
16362 " statvfs шлях\n"
16363 "\n"
16364
16365 #. type: textblock
16366 #: ../fish/guestfish-actions.pod:4710 ../src/guestfs-actions.pod:7230
16367 msgid ""
16368 "Returns file system statistics for any mounted file system.  C<path> should "
16369 "be a file or directory in the mounted file system (typically it is the mount"
16370 " point itself, but it doesn't need to be)."
16371 msgstr ""
16372
16373 #. type: textblock
16374 #: ../fish/guestfish-actions.pod:4714 ../src/guestfs-actions.pod:7234
16375 msgid "This is the same as the C<statvfs(2)> system call."
16376 msgstr ""
16377
16378 #. type: =head2
16379 #: ../fish/guestfish-actions.pod:4716
16380 msgid "strings"
16381 msgstr "strings"
16382
16383 #. type: verbatim
16384 #: ../fish/guestfish-actions.pod:4718
16385 #, no-wrap
16386 msgid ""
16387 " strings path\n"
16388 "\n"
16389 msgstr ""
16390 " strings шлях\n"
16391 "\n"
16392
16393 #. type: textblock
16394 #: ../fish/guestfish-actions.pod:4720 ../src/guestfs-actions.pod:7248
16395 msgid ""
16396 "This runs the L<strings(1)> command on a file and returns the list of "
16397 "printable strings found."
16398 msgstr ""
16399
16400 #. type: =head2
16401 #: ../fish/guestfish-actions.pod:4726
16402 msgid "strings-e"
16403 msgstr "strings-e"
16404
16405 #. type: verbatim
16406 #: ../fish/guestfish-actions.pod:4728
16407 #, no-wrap
16408 msgid ""
16409 " strings-e encoding path\n"
16410 "\n"
16411 msgstr ""
16412 " strings-e кодування шлях\n"
16413 "\n"
16414
16415 #. type: textblock
16416 #: ../fish/guestfish-actions.pod:4730
16417 msgid ""
16418 "This is like the L</strings> command, but allows you to specify the encoding"
16419 " of strings that are looked for in the source file C<path>."
16420 msgstr ""
16421
16422 #. type: textblock
16423 #: ../fish/guestfish-actions.pod:4734 ../src/guestfs-actions.pod:7271
16424 msgid "Allowed encodings are:"
16425 msgstr "Можливими кодуваннями є:"
16426
16427 #. type: =item
16428 #: ../fish/guestfish-actions.pod:4738 ../src/guestfs-actions.pod:7275
16429 msgid "s"
16430 msgstr "s"
16431
16432 #. type: textblock
16433 #: ../fish/guestfish-actions.pod:4740
16434 msgid ""
16435 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
16436 "ISO-8859-X (this is what L</strings> uses)."
16437 msgstr ""
16438
16439 #. type: =item
16440 #: ../fish/guestfish-actions.pod:4743 ../src/guestfs-actions.pod:7280
16441 msgid "S"
16442 msgstr "S"
16443
16444 #. type: textblock
16445 #: ../fish/guestfish-actions.pod:4745 ../src/guestfs-actions.pod:7282
16446 msgid "Single 8-bit-byte characters."
16447 msgstr "Окремі 8-бітові-байтові символи."
16448
16449 #. type: =item
16450 #: ../fish/guestfish-actions.pod:4747 ../src/guestfs-actions.pod:7284
16451 msgid "b"
16452 msgstr "b"
16453
16454 #. type: textblock
16455 #: ../fish/guestfish-actions.pod:4749 ../src/guestfs-actions.pod:7286
16456 msgid ""
16457 "16-bit big endian strings such as those encoded in UTF-16BE or UCS-2BE."
16458 msgstr ""
16459
16460 #. type: =item
16461 #: ../fish/guestfish-actions.pod:4752 ../src/guestfs-actions.pod:7289
16462 msgid "l (lower case letter L)"
16463 msgstr ""
16464
16465 #. type: textblock
16466 #: ../fish/guestfish-actions.pod:4754 ../src/guestfs-actions.pod:7291
16467 msgid ""
16468 "16-bit little endian such as UTF-16LE and UCS-2LE.  This is useful for "
16469 "examining binaries in Windows guests."
16470 msgstr ""
16471
16472 #. type: =item
16473 #: ../fish/guestfish-actions.pod:4757 ../src/guestfs-actions.pod:7294
16474 msgid "B"
16475 msgstr "B"
16476
16477 #. type: textblock
16478 #: ../fish/guestfish-actions.pod:4759 ../src/guestfs-actions.pod:7296
16479 msgid "32-bit big endian such as UCS-4BE."
16480 msgstr ""
16481
16482 #. type: =item
16483 #: ../fish/guestfish-actions.pod:4761 ../src/guestfs-actions.pod:7298
16484 msgid "L"
16485 msgstr "L"
16486
16487 #. type: textblock
16488 #: ../fish/guestfish-actions.pod:4763 ../src/guestfs-actions.pod:7300
16489 msgid "32-bit little endian such as UCS-4LE."
16490 msgstr ""
16491
16492 #. type: textblock
16493 #: ../fish/guestfish-actions.pod:4767 ../src/guestfs-actions.pod:7304
16494 msgid "The returned strings are transcoded to UTF-8."
16495 msgstr ""
16496
16497 #. type: =head2
16498 #: ../fish/guestfish-actions.pod:4772
16499 msgid "swapoff-device"
16500 msgstr "swapoff-device"
16501
16502 #. type: verbatim
16503 #: ../fish/guestfish-actions.pod:4774
16504 #, no-wrap
16505 msgid ""
16506 " swapoff-device device\n"
16507 "\n"
16508 msgstr ""
16509 " swapoff-device пристрій\n"
16510 "\n"
16511
16512 #. type: textblock
16513 #: ../fish/guestfish-actions.pod:4776
16514 msgid ""
16515 "This command disables the libguestfs appliance swap device or partition "
16516 "named C<device>.  See L</swapon-device>."
16517 msgstr ""
16518
16519 #. type: =head2
16520 #: ../fish/guestfish-actions.pod:4780
16521 msgid "swapoff-file"
16522 msgstr "swapoff-file"
16523
16524 #. type: verbatim
16525 #: ../fish/guestfish-actions.pod:4782
16526 #, no-wrap
16527 msgid ""
16528 " swapoff-file file\n"
16529 "\n"
16530 msgstr ""
16531 " swapoff-file файл\n"
16532 "\n"
16533
16534 #. type: textblock
16535 #: ../fish/guestfish-actions.pod:4784 ../src/guestfs-actions.pod:7335
16536 msgid "This command disables the libguestfs appliance swap on file."
16537 msgstr ""
16538
16539 #. type: =head2
16540 #: ../fish/guestfish-actions.pod:4786
16541 msgid "swapoff-label"
16542 msgstr "swapoff-label"
16543
16544 #. type: verbatim
16545 #: ../fish/guestfish-actions.pod:4788
16546 #, no-wrap
16547 msgid ""
16548 " swapoff-label label\n"
16549 "\n"
16550 msgstr ""
16551 " swapoff-label мітка\n"
16552 "\n"
16553
16554 #. type: textblock
16555 #: ../fish/guestfish-actions.pod:4790 ../src/guestfs-actions.pod:7347
16556 msgid ""
16557 "This command disables the libguestfs appliance swap on labeled swap "
16558 "partition."
16559 msgstr ""
16560
16561 #. type: =head2
16562 #: ../fish/guestfish-actions.pod:4793
16563 msgid "swapoff-uuid"
16564 msgstr "swapoff-uuid"
16565
16566 #. type: verbatim
16567 #: ../fish/guestfish-actions.pod:4795
16568 #, no-wrap
16569 msgid ""
16570 " swapoff-uuid uuid\n"
16571 "\n"
16572 msgstr ""
16573 " swapoff-uuid uuid\n"
16574 "\n"
16575
16576 #. type: textblock
16577 #: ../fish/guestfish-actions.pod:4797 ../src/guestfs-actions.pod:7360
16578 msgid ""
16579 "This command disables the libguestfs appliance swap partition with the given"
16580 " UUID."
16581 msgstr ""
16582
16583 #. type: =head2
16584 #: ../fish/guestfish-actions.pod:4800
16585 msgid "swapon-device"
16586 msgstr "swapon-device"
16587
16588 #. type: verbatim
16589 #: ../fish/guestfish-actions.pod:4802
16590 #, no-wrap
16591 msgid ""
16592 " swapon-device device\n"
16593 "\n"
16594 msgstr ""
16595 " swapon-device пристрій\n"
16596 "\n"
16597
16598 #. type: textblock
16599 #: ../fish/guestfish-actions.pod:4804
16600 msgid ""
16601 "This command enables the libguestfs appliance to use the swap device or "
16602 "partition named C<device>.  The increased memory is made available for all "
16603 "commands, for example those run using L</command> or L</sh>."
16604 msgstr ""
16605
16606 #. type: textblock
16607 #: ../fish/guestfish-actions.pod:4809 ../src/guestfs-actions.pod:7378
16608 msgid ""
16609 "Note that you should not swap to existing guest swap partitions unless you "
16610 "know what you are doing.  They may contain hibernation information, or other"
16611 " information that the guest doesn't want you to trash.  You also risk "
16612 "leaking information about the host to the guest this way.  Instead, attach a"
16613 " new host device to the guest and swap on that."
16614 msgstr ""
16615
16616 #. type: =head2
16617 #: ../fish/guestfish-actions.pod:4816
16618 msgid "swapon-file"
16619 msgstr "swapon-file"
16620
16621 #. type: verbatim
16622 #: ../fish/guestfish-actions.pod:4818
16623 #, no-wrap
16624 msgid ""
16625 " swapon-file file\n"
16626 "\n"
16627 msgstr ""
16628 " swapon-file файл\n"
16629 "\n"
16630
16631 #. type: textblock
16632 #: ../fish/guestfish-actions.pod:4820
16633 msgid ""
16634 "This command enables swap to a file.  See L</swapon-device> for other notes."
16635 msgstr ""
16636
16637 #. type: =head2
16638 #: ../fish/guestfish-actions.pod:4823
16639 msgid "swapon-label"
16640 msgstr "swapon-label"
16641
16642 #. type: verbatim
16643 #: ../fish/guestfish-actions.pod:4825
16644 #, no-wrap
16645 msgid ""
16646 " swapon-label label\n"
16647 "\n"
16648 msgstr ""
16649 " swapon-label мітка\n"
16650 "\n"
16651
16652 #. type: textblock
16653 #: ../fish/guestfish-actions.pod:4827
16654 msgid ""
16655 "This command enables swap to a labeled swap partition.  See L</swapon-"
16656 "device> for other notes."
16657 msgstr ""
16658
16659 #. type: =head2
16660 #: ../fish/guestfish-actions.pod:4830
16661 msgid "swapon-uuid"
16662 msgstr "swapon-uuid"
16663
16664 #. type: verbatim
16665 #: ../fish/guestfish-actions.pod:4832
16666 #, no-wrap
16667 msgid ""
16668 " swapon-uuid uuid\n"
16669 "\n"
16670 msgstr ""
16671 " swapon-uuid uuid\n"
16672 "\n"
16673
16674 #. type: textblock
16675 #: ../fish/guestfish-actions.pod:4834
16676 msgid ""
16677 "This command enables swap to a swap partition with the given UUID.  See L"
16678 "</swapon-device> for other notes."
16679 msgstr ""
16680
16681 #. type: =head2
16682 #: ../fish/guestfish-actions.pod:4837
16683 msgid "sync"
16684 msgstr "sync"
16685
16686 #. type: verbatim
16687 #: ../fish/guestfish-actions.pod:4839
16688 #, no-wrap
16689 msgid ""
16690 " sync\n"
16691 "\n"
16692 msgstr ""
16693 " sync\n"
16694 "\n"
16695
16696 #. type: textblock
16697 #: ../fish/guestfish-actions.pod:4841 ../src/guestfs-actions.pod:7433
16698 msgid ""
16699 "This syncs the disk, so that any writes are flushed through to the "
16700 "underlying disk image."
16701 msgstr ""
16702
16703 #. type: textblock
16704 #: ../fish/guestfish-actions.pod:4844 ../src/guestfs-actions.pod:7436
16705 msgid ""
16706 "You should always call this if you have modified a disk image, before "
16707 "closing the handle."
16708 msgstr ""
16709
16710 #. type: =head2
16711 #: ../fish/guestfish-actions.pod:4847
16712 msgid "tail"
16713 msgstr "tail"
16714
16715 #. type: verbatim
16716 #: ../fish/guestfish-actions.pod:4849
16717 #, no-wrap
16718 msgid ""
16719 " tail path\n"
16720 "\n"
16721 msgstr ""
16722 " tail шлях\n"
16723 "\n"
16724
16725 #. type: textblock
16726 #: ../fish/guestfish-actions.pod:4851 ../src/guestfs-actions.pod:7449
16727 msgid ""
16728 "This command returns up to the last 10 lines of a file as a list of strings."
16729 msgstr ""
16730
16731 #. type: =head2
16732 #: ../fish/guestfish-actions.pod:4857
16733 msgid "tail-n"
16734 msgstr "tail-n"
16735
16736 #. type: verbatim
16737 #: ../fish/guestfish-actions.pod:4859
16738 #, no-wrap
16739 msgid ""
16740 " tail-n nrlines path\n"
16741 "\n"
16742 msgstr ""
16743
16744 #. type: textblock
16745 #: ../fish/guestfish-actions.pod:4861 ../src/guestfs-actions.pod:7468
16746 msgid ""
16747 "If the parameter C<nrlines> is a positive number, this returns the last "
16748 "C<nrlines> lines of the file C<path>."
16749 msgstr ""
16750
16751 #. type: textblock
16752 #: ../fish/guestfish-actions.pod:4864 ../src/guestfs-actions.pod:7471
16753 msgid ""
16754 "If the parameter C<nrlines> is a negative number, this returns lines from "
16755 "the file C<path>, starting with the C<-nrlines>th line."
16756 msgstr ""
16757
16758 #. type: =head2
16759 #: ../fish/guestfish-actions.pod:4872
16760 msgid "tar-in"
16761 msgstr "tar-in"
16762
16763 #. type: verbatim
16764 #: ../fish/guestfish-actions.pod:4874
16765 #, no-wrap
16766 msgid ""
16767 " tar-in (tarfile|-) directory\n"
16768 "\n"
16769 msgstr ""
16770 " tar-in (файл_tar|-) каталог\n"
16771 "\n"
16772
16773 #. type: textblock
16774 #: ../fish/guestfish-actions.pod:4876 ../src/guestfs-actions.pod:7492
16775 msgid ""
16776 "This command uploads and unpacks local file C<tarfile> (an I<uncompressed> "
16777 "tar file) into C<directory>."
16778 msgstr ""
16779
16780 #. type: textblock
16781 #: ../fish/guestfish-actions.pod:4879
16782 msgid "To upload a compressed tarball, use L</tgz-in> or L</txz-in>."
16783 msgstr ""
16784
16785 #. type: =head2
16786 #: ../fish/guestfish-actions.pod:4884
16787 msgid "tar-out"
16788 msgstr "tar-out"
16789
16790 #. type: verbatim
16791 #: ../fish/guestfish-actions.pod:4886
16792 #, no-wrap
16793 msgid ""
16794 " tar-out directory (tarfile|-)\n"
16795 "\n"
16796 msgstr ""
16797 " tar-out каталог (файл tar|-)\n"
16798 "\n"
16799
16800 #. type: textblock
16801 #: ../fish/guestfish-actions.pod:4888 ../src/guestfs-actions.pod:7509
16802 msgid ""
16803 "This command packs the contents of C<directory> and downloads it to local "
16804 "file C<tarfile>."
16805 msgstr ""
16806
16807 #. type: textblock
16808 #: ../fish/guestfish-actions.pod:4891
16809 msgid "To download a compressed tarball, use L</tgz-out> or L</txz-out>."
16810 msgstr ""
16811
16812 #. type: =head2
16813 #: ../fish/guestfish-actions.pod:4896
16814 msgid "tgz-in"
16815 msgstr "tgz-in"
16816
16817 #. type: verbatim
16818 #: ../fish/guestfish-actions.pod:4898
16819 #, no-wrap
16820 msgid ""
16821 " tgz-in (tarball|-) directory\n"
16822 "\n"
16823 msgstr ""
16824 " tgz-in (архів tar|-) каталог\n"
16825 "\n"
16826
16827 #. type: textblock
16828 #: ../fish/guestfish-actions.pod:4900 ../src/guestfs-actions.pod:7526
16829 msgid ""
16830 "This command uploads and unpacks local file C<tarball> (a I<gzip compressed>"
16831 " tar file) into C<directory>."
16832 msgstr ""
16833
16834 #. type: textblock
16835 #: ../fish/guestfish-actions.pod:4903
16836 msgid "To upload an uncompressed tarball, use L</tar-in>."
16837 msgstr ""
16838
16839 #. type: =head2
16840 #: ../fish/guestfish-actions.pod:4907
16841 msgid "tgz-out"
16842 msgstr "tgz-out"
16843
16844 #. type: verbatim
16845 #: ../fish/guestfish-actions.pod:4909
16846 #, no-wrap
16847 msgid ""
16848 " tgz-out directory (tarball|-)\n"
16849 "\n"
16850 msgstr ""
16851 " tgz-out каталог (архів tar|-)\n"
16852 "\n"
16853
16854 #. type: textblock
16855 #: ../fish/guestfish-actions.pod:4911 ../src/guestfs-actions.pod:7542
16856 msgid ""
16857 "This command packs the contents of C<directory> and downloads it to local "
16858 "file C<tarball>."
16859 msgstr ""
16860
16861 #. type: textblock
16862 #: ../fish/guestfish-actions.pod:4914
16863 msgid "To download an uncompressed tarball, use L</tar-out>."
16864 msgstr ""
16865
16866 #. type: =head2
16867 #: ../fish/guestfish-actions.pod:4918
16868 msgid "touch"
16869 msgstr "touch"
16870
16871 #. type: verbatim
16872 #: ../fish/guestfish-actions.pod:4920
16873 #, no-wrap
16874 msgid ""
16875 " touch path\n"
16876 "\n"
16877 msgstr ""
16878 " touch шлях\n"
16879 "\n"
16880
16881 #. type: textblock
16882 #: ../fish/guestfish-actions.pod:4922 ../src/guestfs-actions.pod:7557
16883 msgid ""
16884 "Touch acts like the L<touch(1)> command.  It can be used to update the "
16885 "timestamps on a file, or, if the file does not exist, to create a new zero-"
16886 "length file."
16887 msgstr ""
16888
16889 #. type: textblock
16890 #: ../fish/guestfish-actions.pod:4926 ../src/guestfs-actions.pod:7561
16891 msgid ""
16892 "This command only works on regular files, and will fail on other file types "
16893 "such as directories, symbolic links, block special etc."
16894 msgstr ""
16895
16896 #. type: =head2
16897 #: ../fish/guestfish-actions.pod:4929
16898 msgid "truncate"
16899 msgstr "truncate"
16900
16901 #. type: verbatim
16902 #: ../fish/guestfish-actions.pod:4931
16903 #, no-wrap
16904 msgid ""
16905 " truncate path\n"
16906 "\n"
16907 msgstr ""
16908 " truncate шлях\n"
16909 "\n"
16910
16911 #. type: textblock
16912 #: ../fish/guestfish-actions.pod:4933 ../src/guestfs-actions.pod:7574
16913 msgid ""
16914 "This command truncates C<path> to a zero-length file.  The file must exist "
16915 "already."
16916 msgstr ""
16917
16918 #. type: =head2
16919 #: ../fish/guestfish-actions.pod:4936
16920 msgid "truncate-size"
16921 msgstr "truncate-size"
16922
16923 #. type: verbatim
16924 #: ../fish/guestfish-actions.pod:4938
16925 #, no-wrap
16926 msgid ""
16927 " truncate-size path size\n"
16928 "\n"
16929 msgstr ""
16930 " truncate-size шлях розмір\n"
16931 "\n"
16932
16933 #. type: textblock
16934 #: ../fish/guestfish-actions.pod:4940 ../src/guestfs-actions.pod:7588
16935 msgid ""
16936 "This command truncates C<path> to size C<size> bytes.  The file must exist "
16937 "already."
16938 msgstr ""
16939
16940 #. type: textblock
16941 #: ../fish/guestfish-actions.pod:4943
16942 msgid ""
16943 "If the current file size is less than C<size> then the file is extended to "
16944 "the required size with zero bytes.  This creates a sparse file (ie. disk "
16945 "blocks are not allocated for the file until you write to it).  To create a "
16946 "non-sparse file of zeroes, use L</fallocate64> instead."
16947 msgstr ""
16948
16949 #. type: =head2
16950 #: ../fish/guestfish-actions.pod:4949
16951 msgid "tune2fs-l"
16952 msgstr "tune2fs-l"
16953
16954 #. type: verbatim
16955 #: ../fish/guestfish-actions.pod:4951
16956 #, no-wrap
16957 msgid ""
16958 " tune2fs-l device\n"
16959 "\n"
16960 msgstr ""
16961 " tune2fs-l пристрій\n"
16962 "\n"
16963
16964 #. type: textblock
16965 #: ../fish/guestfish-actions.pod:4953 ../src/guestfs-actions.pod:7607
16966 msgid ""
16967 "This returns the contents of the ext2, ext3 or ext4 filesystem superblock on"
16968 " C<device>."
16969 msgstr ""
16970
16971 #. type: textblock
16972 #: ../fish/guestfish-actions.pod:4956 ../src/guestfs-actions.pod:7610
16973 msgid ""
16974 "It is the same as running C<tune2fs -l device>.  See L<tune2fs(8)> manpage "
16975 "for more details.  The list of fields returned isn't clearly defined, and "
16976 "depends on both the version of C<tune2fs> that libguestfs was built against,"
16977 " and the filesystem itself."
16978 msgstr ""
16979
16980 #. type: =head2
16981 #: ../fish/guestfish-actions.pod:4961
16982 msgid "txz-in"
16983 msgstr "txz-in"
16984
16985 #. type: verbatim
16986 #: ../fish/guestfish-actions.pod:4963
16987 #, no-wrap
16988 msgid ""
16989 " txz-in (tarball|-) directory\n"
16990 "\n"
16991 msgstr ""
16992 " txz-in (архів tar|-) каталог\n"
16993 "\n"
16994
16995 #. type: textblock
16996 #: ../fish/guestfish-actions.pod:4965 ../src/guestfs-actions.pod:7630
16997 msgid ""
16998 "This command uploads and unpacks local file C<tarball> (an I<xz compressed> "
16999 "tar file) into C<directory>."
17000 msgstr ""
17001
17002 #. type: =head2
17003 #: ../fish/guestfish-actions.pod:4970
17004 msgid "txz-out"
17005 msgstr "txz-out"
17006
17007 #. type: verbatim
17008 #: ../fish/guestfish-actions.pod:4972
17009 #, no-wrap
17010 msgid ""
17011 " txz-out directory (tarball|-)\n"
17012 "\n"
17013 msgstr ""
17014 " txz-out каталог (архів tar|-)\n"
17015 "\n"
17016
17017 #. type: textblock
17018 #: ../fish/guestfish-actions.pod:4974 ../src/guestfs-actions.pod:7644
17019 msgid ""
17020 "This command packs the contents of C<directory> and downloads it to local "
17021 "file C<tarball> (as an xz compressed tar archive)."
17022 msgstr ""
17023
17024 #. type: =head2
17025 #: ../fish/guestfish-actions.pod:4979
17026 msgid "umask"
17027 msgstr "umask"
17028
17029 #. type: verbatim
17030 #: ../fish/guestfish-actions.pod:4981
17031 #, no-wrap
17032 msgid ""
17033 " umask mask\n"
17034 "\n"
17035 msgstr ""
17036 " umask маска\n"
17037 "\n"
17038
17039 #. type: textblock
17040 #: ../fish/guestfish-actions.pod:4983 ../src/guestfs-actions.pod:7657
17041 msgid ""
17042 "This function sets the mask used for creating new files and device nodes to "
17043 "C<mask & 0777>."
17044 msgstr ""
17045
17046 #. type: textblock
17047 #: ../fish/guestfish-actions.pod:4986 ../src/guestfs-actions.pod:7660
17048 msgid ""
17049 "Typical umask values would be C<022> which creates new files with "
17050 "permissions like \"-rw-r--r--\" or \"-rwxr-xr-x\", and C<002> which creates "
17051 "new files with permissions like \"-rw-rw-r--\" or \"-rwxrwxr-x\"."
17052 msgstr ""
17053
17054 #. type: textblock
17055 #: ../fish/guestfish-actions.pod:4991 ../src/guestfs-actions.pod:7665
17056 msgid ""
17057 "The default umask is C<022>.  This is important because it means that "
17058 "directories and device nodes will be created with C<0644> or C<0755> mode "
17059 "even if you specify C<0777>."
17060 msgstr ""
17061
17062 #. type: textblock
17063 #: ../fish/guestfish-actions.pod:4995
17064 msgid "See also L</get-umask>, L<umask(2)>, L</mknod>, L</mkdir>."
17065 msgstr "Див. також L</get-umask>, L<umask(2)>, L</mknod>, L</mkdir>."
17066
17067 #. type: textblock
17068 #: ../fish/guestfish-actions.pod:4998 ../src/guestfs-actions.pod:7672
17069 msgid "This call returns the previous umask."
17070 msgstr ""
17071
17072 #. type: =head2
17073 #: ../fish/guestfish-actions.pod:5000
17074 msgid "umount"
17075 msgstr "umount"
17076
17077 #. type: =head2
17078 #: ../fish/guestfish-actions.pod:5002
17079 msgid "unmount"
17080 msgstr "unmount"
17081
17082 #. type: verbatim
17083 #: ../fish/guestfish-actions.pod:5004
17084 #, no-wrap
17085 msgid ""
17086 " umount pathordevice\n"
17087 "\n"
17088 msgstr ""
17089 " umount шлях_або_пристрій\n"
17090 "\n"
17091
17092 #. type: textblock
17093 #: ../fish/guestfish-actions.pod:5006 ../src/guestfs-actions.pod:7684
17094 msgid ""
17095 "This unmounts the given filesystem.  The filesystem may be specified either "
17096 "by its mountpoint (path) or the device which contains the filesystem."
17097 msgstr ""
17098
17099 #. type: =head2
17100 #: ../fish/guestfish-actions.pod:5010
17101 msgid "umount-all"
17102 msgstr "umount-all"
17103
17104 #. type: =head2
17105 #: ../fish/guestfish-actions.pod:5012
17106 msgid "unmount-all"
17107 msgstr "unmount-all"
17108
17109 #. type: verbatim
17110 #: ../fish/guestfish-actions.pod:5014
17111 #, no-wrap
17112 msgid ""
17113 " umount-all\n"
17114 "\n"
17115 msgstr ""
17116 " umount-all\n"
17117 "\n"
17118
17119 #. type: textblock
17120 #: ../fish/guestfish-actions.pod:5016 ../src/guestfs-actions.pod:7697
17121 msgid "This unmounts all mounted filesystems."
17122 msgstr ""
17123
17124 #. type: textblock
17125 #: ../fish/guestfish-actions.pod:5018 ../src/guestfs-actions.pod:7699
17126 msgid "Some internal mounts are not unmounted by this call."
17127 msgstr ""
17128
17129 #. type: =head2
17130 #: ../fish/guestfish-actions.pod:5020
17131 msgid "upload"
17132 msgstr "upload"
17133
17134 #. type: verbatim
17135 #: ../fish/guestfish-actions.pod:5022
17136 #, no-wrap
17137 msgid ""
17138 " upload (filename|-) remotefilename\n"
17139 "\n"
17140 msgstr ""
17141 " upload (назва_файла|-) назва_віддаленого_файла\n"
17142 "\n"
17143
17144 #. type: textblock
17145 #: ../fish/guestfish-actions.pod:5024 ../fish/guestfish-actions.pod:5037
17146 #: ../src/guestfs-actions.pod:7712 ../src/guestfs-actions.pod:7736
17147 msgid "Upload local file C<filename> to C<remotefilename> on the filesystem."
17148 msgstr ""
17149
17150 #. type: textblock
17151 #: ../fish/guestfish-actions.pod:5029
17152 msgid "See also L</download>."
17153 msgstr "Див. також L</download>."
17154
17155 #. type: =head2
17156 #: ../fish/guestfish-actions.pod:5033
17157 msgid "upload-offset"
17158 msgstr "upload-offset"
17159
17160 #. type: verbatim
17161 #: ../fish/guestfish-actions.pod:5035
17162 #, no-wrap
17163 msgid ""
17164 " upload-offset (filename|-) remotefilename offset\n"
17165 "\n"
17166 msgstr ""
17167 " upload-offset (назва_файла|-) назва_віддаленого_файла відступ\n"
17168 "\n"
17169
17170 #. type: textblock
17171 #: ../fish/guestfish-actions.pod:5040 ../src/guestfs-actions.pod:7739
17172 msgid ""
17173 "C<remotefilename> is overwritten starting at the byte C<offset> specified.  "
17174 "The intention is to overwrite parts of existing files or devices, although "
17175 "if a non-existant file is specified then it is created with a \"hole\" "
17176 "before C<offset>.  The size of the data written is implicit in the size of "
17177 "the source C<filename>."
17178 msgstr ""
17179
17180 #. type: textblock
17181 #: ../fish/guestfish-actions.pod:5047
17182 msgid ""
17183 "Note that there is no limit on the amount of data that can be uploaded with "
17184 "this call, unlike with L</pwrite>, and this call always writes the full "
17185 "amount unless an error occurs."
17186 msgstr ""
17187
17188 #. type: textblock
17189 #: ../fish/guestfish-actions.pod:5052
17190 msgid "See also L</upload>, L</pwrite>."
17191 msgstr "Див. також L</upload>, L</pwrite>."
17192
17193 #. type: =head2
17194 #: ../fish/guestfish-actions.pod:5056
17195 msgid "utimens"
17196 msgstr "utimens"
17197
17198 #. type: verbatim
17199 #: ../fish/guestfish-actions.pod:5058
17200 #, no-wrap
17201 msgid ""
17202 " utimens path atsecs atnsecs mtsecs mtnsecs\n"
17203 "\n"
17204 msgstr ""
17205
17206 #. type: textblock
17207 #: ../fish/guestfish-actions.pod:5060 ../src/guestfs-actions.pod:7772
17208 msgid "This command sets the timestamps of a file with nanosecond precision."
17209 msgstr ""
17210
17211 #. type: textblock
17212 #: ../fish/guestfish-actions.pod:5063 ../src/guestfs-actions.pod:7775
17213 msgid ""
17214 "C<atsecs, atnsecs> are the last access time (atime) in secs and nanoseconds "
17215 "from the epoch."
17216 msgstr ""
17217
17218 #. type: textblock
17219 #: ../fish/guestfish-actions.pod:5066 ../src/guestfs-actions.pod:7778
17220 msgid ""
17221 "C<mtsecs, mtnsecs> are the last modification time (mtime) in secs and "
17222 "nanoseconds from the epoch."
17223 msgstr ""
17224
17225 #. type: textblock
17226 #: ../fish/guestfish-actions.pod:5069 ../src/guestfs-actions.pod:7781
17227 msgid ""
17228 "If the C<*nsecs> field contains the special value C<-1> then the "
17229 "corresponding timestamp is set to the current time.  (The C<*secs> field is "
17230 "ignored in this case)."
17231 msgstr ""
17232
17233 #. type: textblock
17234 #: ../fish/guestfish-actions.pod:5073 ../src/guestfs-actions.pod:7785
17235 msgid ""
17236 "If the C<*nsecs> field contains the special value C<-2> then the "
17237 "corresponding timestamp is left unchanged.  (The C<*secs> field is ignored "
17238 "in this case)."
17239 msgstr ""
17240
17241 #. type: =head2
17242 #: ../fish/guestfish-actions.pod:5077
17243 msgid "version"
17244 msgstr "version"
17245
17246 #. type: verbatim
17247 #: ../fish/guestfish-actions.pod:5079
17248 #, no-wrap
17249 msgid ""
17250 " version\n"
17251 "\n"
17252 msgstr ""
17253 " version\n"
17254 "\n"
17255
17256 #. type: textblock
17257 #: ../fish/guestfish-actions.pod:5081 ../src/guestfs-actions.pod:7798
17258 msgid ""
17259 "Return the libguestfs version number that the program is linked against."
17260 msgstr ""
17261
17262 #. type: textblock
17263 #: ../fish/guestfish-actions.pod:5084 ../src/guestfs-actions.pod:7801
17264 msgid ""
17265 "Note that because of dynamic linking this is not necessarily the version of "
17266 "libguestfs that you compiled against.  You can compile the program, and then"
17267 " at runtime dynamically link against a completely different C<libguestfs.so>"
17268 " library."
17269 msgstr ""
17270
17271 #. type: textblock
17272 #: ../fish/guestfish-actions.pod:5089 ../src/guestfs-actions.pod:7806
17273 msgid ""
17274 "This call was added in version C<1.0.58>.  In previous versions of "
17275 "libguestfs there was no way to get the version number.  From C code you can "
17276 "use dynamic linker functions to find out if this symbol exists (if it "
17277 "doesn't, then it's an earlier version)."
17278 msgstr ""
17279
17280 #. type: textblock
17281 #: ../fish/guestfish-actions.pod:5095 ../src/guestfs-actions.pod:7812
17282 msgid ""
17283 "The call returns a structure with four elements.  The first three (C<major>,"
17284 " C<minor> and C<release>) are numbers and correspond to the usual version "
17285 "triplet.  The fourth element (C<extra>) is a string and is normally empty, "
17286 "but may be used for distro-specific information."
17287 msgstr ""
17288
17289 #. type: textblock
17290 #: ../fish/guestfish-actions.pod:5101 ../src/guestfs-actions.pod:7818
17291 msgid ""
17292 "To construct the original version string: C<$major.$minor.$release$extra>"
17293 msgstr ""
17294
17295 #. type: textblock
17296 #: ../fish/guestfish-actions.pod:5104 ../src/guestfs-actions.pod:7821
17297 msgid "See also: L<guestfs(3)/LIBGUESTFS VERSION NUMBERS>."
17298 msgstr "Див також: L<guestfs(3)/LIBGUESTFS VERSION NUMBERS>."
17299
17300 #. type: textblock
17301 #: ../fish/guestfish-actions.pod:5106
17302 msgid ""
17303 "I<Note:> Don't use this call to test for availability of features.  In "
17304 "enterprise distributions we backport features from later versions into "
17305 "earlier versions, making this an unreliable way to test for features.  Use "
17306 "L</available> instead."
17307 msgstr ""
17308
17309 #. type: =head2
17310 #: ../fish/guestfish-actions.pod:5112
17311 msgid "vfs-label"
17312 msgstr "vfs-label"
17313
17314 #. type: verbatim
17315 #: ../fish/guestfish-actions.pod:5114
17316 #, no-wrap
17317 msgid ""
17318 " vfs-label device\n"
17319 "\n"
17320 msgstr ""
17321 " vfs-label пристрій\n"
17322 "\n"
17323
17324 #. type: textblock
17325 #: ../fish/guestfish-actions.pod:5116 ../src/guestfs-actions.pod:7841
17326 msgid "This returns the filesystem label of the filesystem on C<device>."
17327 msgstr ""
17328
17329 #. type: textblock
17330 #: ../fish/guestfish-actions.pod:5119 ../src/guestfs-actions.pod:7844
17331 msgid "If the filesystem is unlabeled, this returns the empty string."
17332 msgstr ""
17333
17334 #. type: textblock
17335 #: ../fish/guestfish-actions.pod:5121
17336 msgid "To find a filesystem from the label, use L</findfs-label>."
17337 msgstr ""
17338
17339 #. type: =head2
17340 #: ../fish/guestfish-actions.pod:5123
17341 msgid "vfs-type"
17342 msgstr "vfs-type"
17343
17344 #. type: verbatim
17345 #: ../fish/guestfish-actions.pod:5125
17346 #, no-wrap
17347 msgid ""
17348 " vfs-type device\n"
17349 "\n"
17350 msgstr ""
17351 " vfs-type пристрій\n"
17352 "\n"
17353
17354 #. type: textblock
17355 #: ../fish/guestfish-actions.pod:5127 ../src/guestfs-actions.pod:7859
17356 msgid ""
17357 "This command gets the filesystem type corresponding to the filesystem on "
17358 "C<device>."
17359 msgstr ""
17360
17361 #. type: textblock
17362 #: ../fish/guestfish-actions.pod:5130 ../src/guestfs-actions.pod:7862
17363 msgid ""
17364 "For most filesystems, the result is the name of the Linux VFS module which "
17365 "would be used to mount this filesystem if you mounted it without specifying "
17366 "the filesystem type.  For example a string such as C<ext3> or C<ntfs>."
17367 msgstr ""
17368
17369 #. type: =head2
17370 #: ../fish/guestfish-actions.pod:5135
17371 msgid "vfs-uuid"
17372 msgstr "vfs-uuid"
17373
17374 #. type: verbatim
17375 #: ../fish/guestfish-actions.pod:5137
17376 #, no-wrap
17377 msgid ""
17378 " vfs-uuid device\n"
17379 "\n"
17380 msgstr ""
17381 " vfs-uuid пристрій\n"
17382 "\n"
17383
17384 #. type: textblock
17385 #: ../fish/guestfish-actions.pod:5139 ../src/guestfs-actions.pod:7878
17386 msgid "This returns the filesystem UUID of the filesystem on C<device>."
17387 msgstr ""
17388
17389 #. type: textblock
17390 #: ../fish/guestfish-actions.pod:5142 ../src/guestfs-actions.pod:7881
17391 msgid "If the filesystem does not have a UUID, this returns the empty string."
17392 msgstr ""
17393
17394 #. type: textblock
17395 #: ../fish/guestfish-actions.pod:5144
17396 msgid "To find a filesystem from the UUID, use L</findfs-uuid>."
17397 msgstr ""
17398
17399 #. type: =head2
17400 #: ../fish/guestfish-actions.pod:5146
17401 msgid "vg-activate"
17402 msgstr "vg-activate"
17403
17404 #. type: verbatim
17405 #: ../fish/guestfish-actions.pod:5148
17406 #, no-wrap
17407 msgid ""
17408 " vg-activate true|false 'volgroups ...'\n"
17409 "\n"
17410 msgstr ""
17411
17412 #. type: textblock
17413 #: ../fish/guestfish-actions.pod:5150 ../src/guestfs-actions.pod:7897
17414 msgid ""
17415 "This command activates or (if C<activate> is false) deactivates all logical "
17416 "volumes in the listed volume groups C<volgroups>."
17417 msgstr ""
17418
17419 #. type: textblock
17420 #: ../fish/guestfish-actions.pod:5153 ../src/guestfs-actions.pod:7900
17421 msgid "This command is the same as running C<vgchange -a y|n volgroups...>"
17422 msgstr ""
17423
17424 #. type: textblock
17425 #: ../fish/guestfish-actions.pod:5155 ../src/guestfs-actions.pod:7902
17426 msgid ""
17427 "Note that if C<volgroups> is an empty list then B<all> volume groups are "
17428 "activated or deactivated."
17429 msgstr ""
17430
17431 #. type: =head2
17432 #: ../fish/guestfish-actions.pod:5158
17433 msgid "vg-activate-all"
17434 msgstr "vg-activate-all"
17435
17436 #. type: verbatim
17437 #: ../fish/guestfish-actions.pod:5160
17438 #, no-wrap
17439 msgid ""
17440 " vg-activate-all true|false\n"
17441 "\n"
17442 msgstr ""
17443 " vg-activate-all true|false\n"
17444 "\n"
17445
17446 #. type: textblock
17447 #: ../fish/guestfish-actions.pod:5162 ../src/guestfs-actions.pod:7915
17448 msgid ""
17449 "This command activates or (if C<activate> is false) deactivates all logical "
17450 "volumes in all volume groups."
17451 msgstr ""
17452
17453 #. type: textblock
17454 #: ../fish/guestfish-actions.pod:5165 ../src/guestfs-actions.pod:7918
17455 msgid "This command is the same as running C<vgchange -a y|n>"
17456 msgstr ""
17457
17458 #. type: =head2
17459 #: ../fish/guestfish-actions.pod:5167
17460 msgid "vgcreate"
17461 msgstr "vgcreate"
17462
17463 #. type: verbatim
17464 #: ../fish/guestfish-actions.pod:5169
17465 #, no-wrap
17466 msgid ""
17467 " vgcreate volgroup 'physvols ...'\n"
17468 "\n"
17469 msgstr ""
17470
17471 #. type: textblock
17472 #: ../fish/guestfish-actions.pod:5171 ../src/guestfs-actions.pod:7931
17473 msgid ""
17474 "This creates an LVM volume group called C<volgroup> from the non-empty list "
17475 "of physical volumes C<physvols>."
17476 msgstr ""
17477
17478 #. type: =head2
17479 #: ../fish/guestfish-actions.pod:5174
17480 msgid "vglvuuids"
17481 msgstr "vglvuuids"
17482
17483 #. type: verbatim
17484 #: ../fish/guestfish-actions.pod:5176
17485 #, no-wrap
17486 msgid ""
17487 " vglvuuids vgname\n"
17488 "\n"
17489 msgstr ""
17490
17491 #. type: textblock
17492 #: ../fish/guestfish-actions.pod:5178 ../src/guestfs-actions.pod:7944
17493 msgid ""
17494 "Given a VG called C<vgname>, this returns the UUIDs of all the logical "
17495 "volumes created in this volume group."
17496 msgstr ""
17497
17498 #. type: textblock
17499 #: ../fish/guestfish-actions.pod:5181
17500 msgid ""
17501 "You can use this along with L</lvs> and L</lvuuid> calls to associate "
17502 "logical volumes and volume groups."
17503 msgstr ""
17504
17505 #. type: textblock
17506 #: ../fish/guestfish-actions.pod:5184
17507 msgid "See also L</vgpvuuids>."
17508 msgstr "Див. також L</vgpvuuids>."
17509
17510 #. type: =head2
17511 #: ../fish/guestfish-actions.pod:5186
17512 msgid "vgpvuuids"
17513 msgstr "vgpvuuids"
17514
17515 #. type: verbatim
17516 #: ../fish/guestfish-actions.pod:5188
17517 #, no-wrap
17518 msgid ""
17519 " vgpvuuids vgname\n"
17520 "\n"
17521 msgstr ""
17522
17523 #. type: textblock
17524 #: ../fish/guestfish-actions.pod:5190 ../src/guestfs-actions.pod:7964
17525 msgid ""
17526 "Given a VG called C<vgname>, this returns the UUIDs of all the physical "
17527 "volumes that this volume group resides on."
17528 msgstr ""
17529
17530 #. type: textblock
17531 #: ../fish/guestfish-actions.pod:5193
17532 msgid ""
17533 "You can use this along with L</pvs> and L</pvuuid> calls to associate "
17534 "physical volumes and volume groups."
17535 msgstr ""
17536
17537 #. type: textblock
17538 #: ../fish/guestfish-actions.pod:5196
17539 msgid "See also L</vglvuuids>."
17540 msgstr "Див. також L</vglvuuids>."
17541
17542 #. type: =head2
17543 #: ../fish/guestfish-actions.pod:5198
17544 msgid "vgremove"
17545 msgstr "vgremove"
17546
17547 #. type: verbatim
17548 #: ../fish/guestfish-actions.pod:5200
17549 #, no-wrap
17550 msgid ""
17551 " vgremove vgname\n"
17552 "\n"
17553 msgstr ""
17554
17555 #. type: textblock
17556 #: ../fish/guestfish-actions.pod:5202 ../src/guestfs-actions.pod:7984
17557 msgid "Remove an LVM volume group C<vgname>, (for example C<VG>)."
17558 msgstr ""
17559
17560 #. type: textblock
17561 #: ../fish/guestfish-actions.pod:5204 ../src/guestfs-actions.pod:7986
17562 msgid ""
17563 "This also forcibly removes all logical volumes in the volume group (if any)."
17564 msgstr ""
17565
17566 #. type: =head2
17567 #: ../fish/guestfish-actions.pod:5207
17568 msgid "vgrename"
17569 msgstr "vgrename"
17570
17571 #. type: verbatim
17572 #: ../fish/guestfish-actions.pod:5209
17573 #, no-wrap
17574 msgid ""
17575 " vgrename volgroup newvolgroup\n"
17576 "\n"
17577 msgstr ""
17578
17579 #. type: textblock
17580 #: ../fish/guestfish-actions.pod:5211 ../src/guestfs-actions.pod:8000
17581 msgid "Rename a volume group C<volgroup> with the new name C<newvolgroup>."
17582 msgstr ""
17583
17584 #. type: =head2
17585 #: ../fish/guestfish-actions.pod:5213
17586 msgid "vgs"
17587 msgstr "vgs"
17588
17589 #. type: verbatim
17590 #: ../fish/guestfish-actions.pod:5215
17591 #, no-wrap
17592 msgid ""
17593 " vgs\n"
17594 "\n"
17595 msgstr ""
17596 " vgs\n"
17597 "\n"
17598
17599 #. type: textblock
17600 #: ../fish/guestfish-actions.pod:5217 ../src/guestfs-actions.pod:8011
17601 msgid ""
17602 "List all the volumes groups detected.  This is the equivalent of the "
17603 "L<vgs(8)> command."
17604 msgstr ""
17605
17606 #. type: textblock
17607 #: ../fish/guestfish-actions.pod:5220 ../src/guestfs-actions.pod:8014
17608 msgid ""
17609 "This returns a list of just the volume group names that were detected (eg. "
17610 "C<VolGroup00>)."
17611 msgstr ""
17612
17613 #. type: textblock
17614 #: ../fish/guestfish-actions.pod:5223
17615 msgid "See also L</vgs-full>."
17616 msgstr "Див. також L</vgs-full>."
17617
17618 #. type: =head2
17619 #: ../fish/guestfish-actions.pod:5225
17620 msgid "vgs-full"
17621 msgstr "vgs-full"
17622
17623 #. type: verbatim
17624 #: ../fish/guestfish-actions.pod:5227
17625 #, no-wrap
17626 msgid ""
17627 " vgs-full\n"
17628 "\n"
17629 msgstr ""
17630 " vgs-full\n"
17631 "\n"
17632
17633 #. type: textblock
17634 #: ../fish/guestfish-actions.pod:5229 ../src/guestfs-actions.pod:8030
17635 msgid ""
17636 "List all the volumes groups detected.  This is the equivalent of the "
17637 "L<vgs(8)> command.  The \"full\" version includes all fields."
17638 msgstr ""
17639
17640 #. type: =head2
17641 #: ../fish/guestfish-actions.pod:5232
17642 msgid "vgscan"
17643 msgstr "vgscan"
17644
17645 #. type: verbatim
17646 #: ../fish/guestfish-actions.pod:5234
17647 #, no-wrap
17648 msgid ""
17649 " vgscan\n"
17650 "\n"
17651 msgstr ""
17652 " vgscan\n"
17653 "\n"
17654
17655 #. type: textblock
17656 #: ../fish/guestfish-actions.pod:5236 ../src/guestfs-actions.pod:8044
17657 msgid ""
17658 "This rescans all block devices and rebuilds the list of LVM physical "
17659 "volumes, volume groups and logical volumes."
17660 msgstr ""
17661
17662 #. type: =head2
17663 #: ../fish/guestfish-actions.pod:5239
17664 msgid "vguuid"
17665 msgstr "vguuid"
17666
17667 #. type: verbatim
17668 #: ../fish/guestfish-actions.pod:5241
17669 #, no-wrap
17670 msgid ""
17671 " vguuid vgname\n"
17672 "\n"
17673 msgstr ""
17674
17675 #. type: textblock
17676 #: ../fish/guestfish-actions.pod:5243 ../src/guestfs-actions.pod:8057
17677 msgid "This command returns the UUID of the LVM VG named C<vgname>."
17678 msgstr ""
17679
17680 #. type: =head2
17681 #: ../fish/guestfish-actions.pod:5245
17682 msgid "wc-c"
17683 msgstr "wc-c"
17684
17685 #. type: verbatim
17686 #: ../fish/guestfish-actions.pod:5247
17687 #, no-wrap
17688 msgid ""
17689 " wc-c path\n"
17690 "\n"
17691 msgstr ""
17692 " wc-c шлях\n"
17693 "\n"
17694
17695 #. type: textblock
17696 #: ../fish/guestfish-actions.pod:5249 ../src/guestfs-actions.pod:8097
17697 msgid ""
17698 "This command counts the characters in a file, using the C<wc -c> external "
17699 "command."
17700 msgstr ""
17701
17702 #. type: =head2
17703 #: ../fish/guestfish-actions.pod:5252
17704 msgid "wc-l"
17705 msgstr "wc-l"
17706
17707 #. type: verbatim
17708 #: ../fish/guestfish-actions.pod:5254
17709 #, no-wrap
17710 msgid ""
17711 " wc-l path\n"
17712 "\n"
17713 msgstr ""
17714 " wc-l шлях\n"
17715 "\n"
17716
17717 #. type: textblock
17718 #: ../fish/guestfish-actions.pod:5256 ../src/guestfs-actions.pod:8110
17719 msgid ""
17720 "This command counts the lines in a file, using the C<wc -l> external "
17721 "command."
17722 msgstr ""
17723
17724 #. type: =head2
17725 #: ../fish/guestfish-actions.pod:5259
17726 msgid "wc-w"
17727 msgstr "wc-w"
17728
17729 #. type: verbatim
17730 #: ../fish/guestfish-actions.pod:5261
17731 #, no-wrap
17732 msgid ""
17733 " wc-w path\n"
17734 "\n"
17735 msgstr ""
17736 " wc-w шлях\n"
17737 "\n"
17738
17739 #. type: textblock
17740 #: ../fish/guestfish-actions.pod:5263 ../src/guestfs-actions.pod:8123
17741 msgid ""
17742 "This command counts the words in a file, using the C<wc -w> external "
17743 "command."
17744 msgstr ""
17745
17746 #. type: =head2
17747 #: ../fish/guestfish-actions.pod:5266
17748 msgid "write"
17749 msgstr "write"
17750
17751 #. type: verbatim
17752 #: ../fish/guestfish-actions.pod:5268
17753 #, no-wrap
17754 msgid ""
17755 " write path content\n"
17756 "\n"
17757 msgstr ""
17758 " write шлях дані\n"
17759 "\n"
17760
17761 #. type: textblock
17762 #: ../fish/guestfish-actions.pod:5270 ../src/guestfs-actions.pod:8138
17763 msgid ""
17764 "This call creates a file called C<path>.  The content of the file is the "
17765 "string C<content> (which can contain any 8 bit data)."
17766 msgstr ""
17767
17768 #. type: textblock
17769 #: ../fish/guestfish-actions.pod:5273
17770 msgid "See also L</write-append>."
17771 msgstr "Див. також L</write-append>."
17772
17773 #. type: =head2
17774 #: ../fish/guestfish-actions.pod:5278
17775 msgid "write-append"
17776 msgstr ""
17777
17778 #. type: verbatim
17779 #: ../fish/guestfish-actions.pod:5280
17780 #, no-wrap
17781 msgid ""
17782 " write-append path content\n"
17783 "\n"
17784 msgstr ""
17785
17786 #. type: textblock
17787 #: ../fish/guestfish-actions.pod:5282 ../src/guestfs-actions.pod:8158
17788 msgid ""
17789 "This call appends C<content> to the end of file C<path>.  If C<path> does "
17790 "not exist, then a new file is created."
17791 msgstr ""
17792
17793 #. type: textblock
17794 #: ../fish/guestfish-actions.pod:5285
17795 msgid "See also L</write>."
17796 msgstr "Див. також L</write>."
17797
17798 #. type: =head2
17799 #: ../fish/guestfish-actions.pod:5290
17800 msgid "write-file"
17801 msgstr "write-file"
17802
17803 #. type: verbatim
17804 #: ../fish/guestfish-actions.pod:5292
17805 #, no-wrap
17806 msgid ""
17807 " write-file path content size\n"
17808 "\n"
17809 msgstr ""
17810
17811 #. type: textblock
17812 #: ../fish/guestfish-actions.pod:5294 ../src/guestfs-actions.pod:8185
17813 msgid ""
17814 "This call creates a file called C<path>.  The contents of the file is the "
17815 "string C<content> (which can contain any 8 bit data), with length C<size>."
17816 msgstr ""
17817
17818 #. type: textblock
17819 #: ../fish/guestfish-actions.pod:5298 ../src/guestfs-actions.pod:8189
17820 msgid ""
17821 "As a special case, if C<size> is C<0> then the length is calculated using "
17822 "C<strlen> (so in this case the content cannot contain embedded ASCII NULs)."
17823 msgstr ""
17824
17825 #. type: textblock
17826 #: ../fish/guestfish-actions.pod:5302 ../src/guestfs-actions.pod:8193
17827 msgid ""
17828 "I<NB.> Owing to a bug, writing content containing ASCII NUL characters does "
17829 "I<not> work, even if the length is specified."
17830 msgstr ""
17831
17832 #. type: textblock
17833 #: ../fish/guestfish-actions.pod:5308
17834 msgid ""
17835 "I<This function is deprecated.> In new code, use the L</write> call instead."
17836 msgstr ""
17837
17838 #. type: =head2
17839 #: ../fish/guestfish-actions.pod:5315
17840 msgid "zegrep"
17841 msgstr "zegrep"
17842
17843 #. type: verbatim
17844 #: ../fish/guestfish-actions.pod:5317
17845 #, no-wrap
17846 msgid ""
17847 " zegrep regex path\n"
17848 "\n"
17849 msgstr ""
17850 " zegrep формальний_вираз шлях\n"
17851 "\n"
17852
17853 #. type: textblock
17854 #: ../fish/guestfish-actions.pod:5319 ../src/guestfs-actions.pod:8210
17855 msgid ""
17856 "This calls the external C<zegrep> program and returns the matching lines."
17857 msgstr ""
17858
17859 #. type: =head2
17860 #: ../fish/guestfish-actions.pod:5325
17861 msgid "zegrepi"
17862 msgstr "zegrepi"
17863
17864 #. type: verbatim
17865 #: ../fish/guestfish-actions.pod:5327
17866 #, no-wrap
17867 msgid ""
17868 " zegrepi regex path\n"
17869 "\n"
17870 msgstr ""
17871
17872 #. type: textblock
17873 #: ../fish/guestfish-actions.pod:5329 ../src/guestfs-actions.pod:8229
17874 msgid ""
17875 "This calls the external C<zegrep -i> program and returns the matching lines."
17876 msgstr ""
17877
17878 #. type: =head2
17879 #: ../fish/guestfish-actions.pod:5335
17880 msgid "zero"
17881 msgstr "zero"
17882
17883 #. type: verbatim
17884 #: ../fish/guestfish-actions.pod:5337
17885 #, no-wrap
17886 msgid ""
17887 " zero device\n"
17888 "\n"
17889 msgstr ""
17890 " zero пристрій\n"
17891 "\n"
17892
17893 #. type: textblock
17894 #: ../fish/guestfish-actions.pod:5339 ../src/guestfs-actions.pod:8247
17895 msgid "This command writes zeroes over the first few blocks of C<device>."
17896 msgstr ""
17897
17898 #. type: textblock
17899 #: ../fish/guestfish-actions.pod:5341 ../src/guestfs-actions.pod:8249
17900 msgid ""
17901 "How many blocks are zeroed isn't specified (but it's I<not> enough to "
17902 "securely wipe the device).  It should be sufficient to remove any partition "
17903 "tables, filesystem superblocks and so on."
17904 msgstr ""
17905
17906 #. type: textblock
17907 #: ../fish/guestfish-actions.pod:5345 ../fish/guestfish-actions.pod:5360
17908 #: ../src/guestfs-actions.pod:8253 ../src/guestfs-actions.pod:8279
17909 msgid ""
17910 "If blocks are already zero, then this command avoids writing zeroes.  This "
17911 "prevents the underlying device from becoming non-sparse or growing "
17912 "unnecessarily."
17913 msgstr ""
17914
17915 #. type: textblock
17916 #: ../fish/guestfish-actions.pod:5349
17917 msgid "See also: L</zero-device>, L</scrub-device>, L</is-zero-device>"
17918 msgstr ""
17919
17920 #. type: =head2
17921 #: ../fish/guestfish-actions.pod:5352
17922 msgid "zero-device"
17923 msgstr "zero-device"
17924
17925 #. type: verbatim
17926 #: ../fish/guestfish-actions.pod:5354
17927 #, no-wrap
17928 msgid ""
17929 " zero-device device\n"
17930 "\n"
17931 msgstr ""
17932 " zero-device пристрій\n"
17933 "\n"
17934
17935 #. type: textblock
17936 #: ../fish/guestfish-actions.pod:5356
17937 msgid ""
17938 "This command writes zeroes over the entire C<device>.  Compare with L</zero>"
17939 " which just zeroes the first few blocks of a device."
17940 msgstr ""
17941
17942 #. type: =head2
17943 #: ../fish/guestfish-actions.pod:5367
17944 msgid "zerofree"
17945 msgstr "zerofree"
17946
17947 #. type: verbatim
17948 #: ../fish/guestfish-actions.pod:5369
17949 #, no-wrap
17950 msgid ""
17951 " zerofree device\n"
17952 "\n"
17953 msgstr ""
17954 " zerofree пристрій\n"
17955 "\n"
17956
17957 #. type: textblock
17958 #: ../fish/guestfish-actions.pod:5371 ../src/guestfs-actions.pod:8301
17959 msgid ""
17960 "This runs the I<zerofree> program on C<device>.  This program claims to zero"
17961 " unused inodes and disk blocks on an ext2/3 filesystem, thus making it "
17962 "possible to compress the filesystem more effectively."
17963 msgstr ""
17964
17965 #. type: textblock
17966 #: ../fish/guestfish-actions.pod:5376 ../src/guestfs-actions.pod:8306
17967 msgid "You should B<not> run this program if the filesystem is mounted."
17968 msgstr ""
17969
17970 #. type: textblock
17971 #: ../fish/guestfish-actions.pod:5379 ../src/guestfs-actions.pod:8309
17972 msgid ""
17973 "It is possible that using this program can damage the filesystem or data on "
17974 "the filesystem."
17975 msgstr ""
17976
17977 #. type: =head2
17978 #: ../fish/guestfish-actions.pod:5382
17979 msgid "zfgrep"
17980 msgstr "zfgrep"
17981
17982 #. type: verbatim
17983 #: ../fish/guestfish-actions.pod:5384
17984 #, no-wrap
17985 msgid ""
17986 " zfgrep pattern path\n"
17987 "\n"
17988 msgstr ""
17989 " zfgrep шаблон шлях\n"
17990 "\n"
17991
17992 #. type: textblock
17993 #: ../fish/guestfish-actions.pod:5386 ../src/guestfs-actions.pod:8323
17994 msgid ""
17995 "This calls the external C<zfgrep> program and returns the matching lines."
17996 msgstr ""
17997
17998 #. type: =head2
17999 #: ../fish/guestfish-actions.pod:5392
18000 msgid "zfgrepi"
18001 msgstr "zfgrepi"
18002
18003 #. type: verbatim
18004 #: ../fish/guestfish-actions.pod:5394
18005 #, no-wrap
18006 msgid ""
18007 " zfgrepi pattern path\n"
18008 "\n"
18009 msgstr ""
18010 " zfgrepi шаблон шлях\n"
18011 "\n"
18012
18013 #. type: textblock
18014 #: ../fish/guestfish-actions.pod:5396 ../src/guestfs-actions.pod:8342
18015 msgid ""
18016 "This calls the external C<zfgrep -i> program and returns the matching lines."
18017 msgstr ""
18018
18019 #. type: =head2
18020 #: ../fish/guestfish-actions.pod:5402
18021 msgid "zfile"
18022 msgstr "zfile"
18023
18024 #. type: verbatim
18025 #: ../fish/guestfish-actions.pod:5404
18026 #, no-wrap
18027 msgid ""
18028 " zfile meth path\n"
18029 "\n"
18030 msgstr ""
18031 " zfile метод шлях\n"
18032 "\n"
18033
18034 #. type: textblock
18035 #: ../fish/guestfish-actions.pod:5406 ../src/guestfs-actions.pod:8368
18036 msgid ""
18037 "This command runs C<file> after first decompressing C<path> using C<method>."
18038 msgstr ""
18039
18040 #. type: textblock
18041 #: ../fish/guestfish-actions.pod:5409 ../src/guestfs-actions.pod:8371
18042 msgid "C<method> must be one of C<gzip>, C<compress> or C<bzip2>."
18043 msgstr ""
18044
18045 #. type: textblock
18046 #: ../fish/guestfish-actions.pod:5411
18047 msgid ""
18048 "Since 1.0.63, use L</file> instead which can now process compressed files."
18049 msgstr ""
18050
18051 #. type: textblock
18052 #: ../fish/guestfish-actions.pod:5414
18053 msgid ""
18054 "I<This function is deprecated.> In new code, use the L</file> call instead."
18055 msgstr ""
18056
18057 #. type: =head2
18058 #: ../fish/guestfish-actions.pod:5421
18059 msgid "zgrep"
18060 msgstr "zgrep"
18061
18062 #. type: verbatim
18063 #: ../fish/guestfish-actions.pod:5423
18064 #, no-wrap
18065 msgid ""
18066 " zgrep regex path\n"
18067 "\n"
18068 msgstr ""
18069 " zgrep формальний_вираз шлях\n"
18070 "\n"
18071
18072 #. type: textblock
18073 #: ../fish/guestfish-actions.pod:5425 ../src/guestfs-actions.pod:8388
18074 msgid ""
18075 "This calls the external C<zgrep> program and returns the matching lines."
18076 msgstr ""
18077
18078 #. type: =head2
18079 #: ../fish/guestfish-actions.pod:5431
18080 msgid "zgrepi"
18081 msgstr "zgrepi"
18082
18083 #. type: verbatim
18084 #: ../fish/guestfish-actions.pod:5433
18085 #, no-wrap
18086 msgid ""
18087 " zgrepi regex path\n"
18088 "\n"
18089 msgstr ""
18090 " zgrepi формальний_вираз шлях\n"
18091 "\n"
18092
18093 #. type: textblock
18094 #: ../fish/guestfish-actions.pod:5435 ../src/guestfs-actions.pod:8407
18095 msgid ""
18096 "This calls the external C<zgrep -i> program and returns the matching lines."
18097 msgstr ""
18098
18099 #. type: =head2
18100 #: ../fish/guestfish-commands.pod:1
18101 msgid "alloc"
18102 msgstr "alloc"
18103
18104 #. type: =head2
18105 #: ../fish/guestfish-commands.pod:3
18106 msgid "allocate"
18107 msgstr ""
18108
18109 #. type: verbatim
18110 #: ../fish/guestfish-commands.pod:5
18111 #, no-wrap
18112 msgid ""
18113 " alloc filename size\n"
18114 "\n"
18115 msgstr ""
18116
18117 #. type: textblock
18118 #: ../fish/guestfish-commands.pod:7
18119 msgid ""
18120 "This creates an empty (zeroed) file of the given size, and then adds so it "
18121 "can be further examined."
18122 msgstr ""
18123
18124 #. type: textblock
18125 #: ../fish/guestfish-commands.pod:10 ../fish/guestfish-commands.pod:193
18126 msgid "For more advanced image creation, see L<qemu-img(1)> utility."
18127 msgstr ""
18128
18129 #. type: textblock
18130 #: ../fish/guestfish-commands.pod:12 ../fish/guestfish-commands.pod:195
18131 msgid "Size can be specified using standard suffixes, eg. C<1M>."
18132 msgstr ""
18133
18134 #. type: textblock
18135 #: ../fish/guestfish-commands.pod:14
18136 msgid ""
18137 "To create a sparse file, use L</sparse> instead.  To create a prepared disk "
18138 "image, see L</PREPARED DISK IMAGES>."
18139 msgstr ""
18140
18141 #. type: =head2
18142 #: ../fish/guestfish-commands.pod:17
18143 msgid "copy-in"
18144 msgstr "copy-in"
18145
18146 #. type: verbatim
18147 #: ../fish/guestfish-commands.pod:19
18148 #, no-wrap
18149 msgid ""
18150 " copy-in local [local ...] /remotedir\n"
18151 "\n"
18152 msgstr ""
18153
18154 #. type: textblock
18155 #: ../fish/guestfish-commands.pod:21
18156 msgid ""
18157 "C<copy-in> copies local files or directories recursively into the disk "
18158 "image, placing them in the directory called C</remotedir> (which must "
18159 "exist).  This guestfish meta-command turns into a sequence of L</tar-in> and"
18160 " other commands as necessary."
18161 msgstr ""
18162
18163 #. type: textblock
18164 #: ../fish/guestfish-commands.pod:26
18165 msgid ""
18166 "Multiple local files and directories can be specified, but the last "
18167 "parameter must always be a remote directory.  Wildcards cannot be used."
18168 msgstr ""
18169
18170 #. type: =head2
18171 #: ../fish/guestfish-commands.pod:30
18172 msgid "copy-out"
18173 msgstr "copy-out"
18174
18175 #. type: verbatim
18176 #: ../fish/guestfish-commands.pod:32
18177 #, no-wrap
18178 msgid ""
18179 " copy-out remote [remote ...] localdir\n"
18180 "\n"
18181 msgstr ""
18182
18183 #. type: textblock
18184 #: ../fish/guestfish-commands.pod:34
18185 msgid ""
18186 "C<copy-out> copies remote files or directories recursively out of the disk "
18187 "image, placing them on the host disk in a local directory called C<localdir>"
18188 " (which must exist).  This guestfish meta-command turns into a sequence of "
18189 "L</download>, L</tar-out> and other commands as necessary."
18190 msgstr ""
18191
18192 #. type: textblock
18193 #: ../fish/guestfish-commands.pod:40
18194 msgid ""
18195 "Multiple remote files and directories can be specified, but the last "
18196 "parameter must always be a local directory.  To download to the current "
18197 "directory, use C<.> as in:"
18198 msgstr ""
18199
18200 #. type: verbatim
18201 #: ../fish/guestfish-commands.pod:44
18202 #, no-wrap
18203 msgid ""
18204 " copy-out /home .\n"
18205 "\n"
18206 msgstr ""
18207 " copy-out /home .\n"
18208 "\n"
18209
18210 #. type: textblock
18211 #: ../fish/guestfish-commands.pod:46
18212 msgid ""
18213 "Wildcards cannot be used in the ordinary command, but you can use them with "
18214 "the help of L</glob> like this:"
18215 msgstr ""
18216
18217 #. type: verbatim
18218 #: ../fish/guestfish-commands.pod:49
18219 #, no-wrap
18220 msgid ""
18221 " glob copy-out /home/* .\n"
18222 "\n"
18223 msgstr ""
18224 " glob copy-out /home/* .\n"
18225 "\n"
18226
18227 #. type: =head2
18228 #: ../fish/guestfish-commands.pod:51
18229 msgid "display"
18230 msgstr ""
18231
18232 #. type: verbatim
18233 #: ../fish/guestfish-commands.pod:53
18234 #, no-wrap
18235 msgid ""
18236 " display filename\n"
18237 "\n"
18238 msgstr ""
18239
18240 #. type: textblock
18241 #: ../fish/guestfish-commands.pod:55
18242 msgid ""
18243 "Use C<display> (a graphical display program) to display an image file.  It "
18244 "downloads the file, and runs C<display> on it."
18245 msgstr ""
18246
18247 #. type: textblock
18248 #: ../fish/guestfish-commands.pod:58
18249 msgid ""
18250 "To use an alternative program, set the C<GUESTFISH_DISPLAY_IMAGE> "
18251 "environment variable.  For example to use the GNOME display program:"
18252 msgstr ""
18253
18254 #. type: verbatim
18255 #: ../fish/guestfish-commands.pod:61
18256 #, no-wrap
18257 msgid ""
18258 " export GUESTFISH_DISPLAY_IMAGE=eog\n"
18259 "\n"
18260 msgstr ""
18261
18262 #. type: textblock
18263 #: ../fish/guestfish-commands.pod:63
18264 msgid "See also L<display(1)>."
18265 msgstr "Див. також L<display(1)>."
18266
18267 #. type: =head2
18268 #: ../fish/guestfish-commands.pod:65
18269 msgid "echo"
18270 msgstr "echo"
18271
18272 #. type: verbatim
18273 #: ../fish/guestfish-commands.pod:67
18274 #, no-wrap
18275 msgid ""
18276 " echo [params ...]\n"
18277 "\n"
18278 msgstr ""
18279 " echo [параметри...]\n"
18280 "\n"
18281
18282 #. type: textblock
18283 #: ../fish/guestfish-commands.pod:69
18284 msgid "This echos the parameters to the terminal."
18285 msgstr ""
18286
18287 #. type: =head2
18288 #: ../fish/guestfish-commands.pod:71
18289 msgid "edit"
18290 msgstr "edit"
18291
18292 #. type: =head2
18293 #: ../fish/guestfish-commands.pod:73
18294 msgid "vi"
18295 msgstr "vi"
18296
18297 #. type: =head2
18298 #: ../fish/guestfish-commands.pod:75
18299 msgid "emacs"
18300 msgstr "emacs"
18301
18302 #. type: verbatim
18303 #: ../fish/guestfish-commands.pod:77
18304 #, no-wrap
18305 msgid ""
18306 " edit filename\n"
18307 "\n"
18308 msgstr ""
18309 " edit назва_файла\n"
18310 "\n"
18311
18312 #. type: textblock
18313 #: ../fish/guestfish-commands.pod:79
18314 msgid ""
18315 "This is used to edit a file.  It downloads the file, edits it locally using "
18316 "your editor, then uploads the result."
18317 msgstr ""
18318
18319 #. type: textblock
18320 #: ../fish/guestfish-commands.pod:82
18321 msgid ""
18322 "The editor is C<$EDITOR>.  However if you use the alternate commands C<vi> "
18323 "or C<emacs> you will get those corresponding editors."
18324 msgstr ""
18325
18326 #. type: =head2
18327 #: ../fish/guestfish-commands.pod:86
18328 msgid "glob"
18329 msgstr "glob"
18330
18331 #. type: verbatim
18332 #: ../fish/guestfish-commands.pod:88
18333 #, no-wrap
18334 msgid ""
18335 " glob command args...\n"
18336 "\n"
18337 msgstr ""
18338 " glob команда параметри...\n"
18339 "\n"
18340
18341 #. type: textblock
18342 #: ../fish/guestfish-commands.pod:90
18343 msgid ""
18344 "Expand wildcards in any paths in the args list, and run C<command> "
18345 "repeatedly on each matching path."
18346 msgstr ""
18347
18348 #. type: textblock
18349 #: ../fish/guestfish-commands.pod:93
18350 msgid "See L</WILDCARDS AND GLOBBING>."
18351 msgstr "Див. L</WILDCARDS AND GLOBBING>."
18352
18353 #. type: =head2
18354 #: ../fish/guestfish-commands.pod:95
18355 msgid "hexedit"
18356 msgstr "hexedit"
18357
18358 #. type: verbatim
18359 #: ../fish/guestfish-commands.pod:97
18360 #, no-wrap
18361 msgid ""
18362 " hexedit <filename|device>\n"
18363 " hexedit <filename|device> <max>\n"
18364 " hexedit <filename|device> <start> <max>\n"
18365 "\n"
18366 msgstr ""
18367
18368 #. type: textblock
18369 #: ../fish/guestfish-commands.pod:101
18370 msgid ""
18371 "Use hexedit (a hex editor) to edit all or part of a binary file or block "
18372 "device."
18373 msgstr ""
18374
18375 #. type: textblock
18376 #: ../fish/guestfish-commands.pod:104
18377 msgid ""
18378 "This command works by downloading potentially the whole file or device, "
18379 "editing it locally, then uploading it.  If the file or device is large, you "
18380 "have to specify which part you wish to edit by using C<max> and/or C<start> "
18381 "C<max> parameters.  C<start> and C<max> are specified in bytes, with the "
18382 "usual modifiers allowed such as C<1M> (1 megabyte)."
18383 msgstr ""
18384
18385 #. type: textblock
18386 #: ../fish/guestfish-commands.pod:111
18387 msgid "For example to edit the first few sectors of a disk you might do:"
18388 msgstr ""
18389
18390 #. type: verbatim
18391 #: ../fish/guestfish-commands.pod:114
18392 #, no-wrap
18393 msgid ""
18394 " hexedit /dev/sda 1M\n"
18395 "\n"
18396 msgstr ""
18397 " hexedit /dev/sda 1M\n"
18398 "\n"
18399
18400 #. type: textblock
18401 #: ../fish/guestfish-commands.pod:116
18402 msgid ""
18403 "which would allow you to edit anywhere within the first megabyte of the "
18404 "disk."
18405 msgstr ""
18406
18407 #. type: textblock
18408 #: ../fish/guestfish-commands.pod:119
18409 msgid "To edit the superblock of an ext2 filesystem on C</dev/sda1>, do:"
18410 msgstr ""
18411
18412 #. type: verbatim
18413 #: ../fish/guestfish-commands.pod:121
18414 #, no-wrap
18415 msgid ""
18416 " hexedit /dev/sda1 0x400 0x400\n"
18417 "\n"
18418 msgstr ""
18419 " hexedit /dev/sda1 0x400 0x400\n"
18420 "\n"
18421
18422 #. type: textblock
18423 #: ../fish/guestfish-commands.pod:123
18424 msgid "(assuming the superblock is in the standard location)."
18425 msgstr ""
18426
18427 #. type: textblock
18428 #: ../fish/guestfish-commands.pod:125
18429 msgid ""
18430 "This command requires the external L<hexedit(1)> program.  You can specify "
18431 "another program to use by setting the C<HEXEDITOR> environment variable."
18432 msgstr ""
18433
18434 #. type: textblock
18435 #: ../fish/guestfish-commands.pod:129
18436 msgid "See also L</hexdump>."
18437 msgstr "Див. також L</hexdump>."
18438
18439 #. type: =head2
18440 #: ../fish/guestfish-commands.pod:131
18441 msgid "lcd"
18442 msgstr "lcd"
18443
18444 #. type: verbatim
18445 #: ../fish/guestfish-commands.pod:133
18446 #, no-wrap
18447 msgid ""
18448 " lcd directory\n"
18449 "\n"
18450 msgstr ""
18451
18452 #. type: textblock
18453 #: ../fish/guestfish-commands.pod:135
18454 msgid ""
18455 "Change the local directory, ie. the current directory of guestfish itself."
18456 msgstr ""
18457
18458 #. type: textblock
18459 #: ../fish/guestfish-commands.pod:138
18460 msgid "Note that C<!cd> won't do what you might expect."
18461 msgstr ""
18462
18463 #. type: =head2
18464 #: ../fish/guestfish-commands.pod:140
18465 msgid "man"
18466 msgstr "man"
18467
18468 #. type: =head2
18469 #: ../fish/guestfish-commands.pod:142
18470 msgid "manual"
18471 msgstr "підручник"
18472
18473 #. type: verbatim
18474 #: ../fish/guestfish-commands.pod:144
18475 #, no-wrap
18476 msgid ""
18477 "  man\n"
18478 "\n"
18479 msgstr ""
18480 "  man\n"
18481 "\n"
18482
18483 #. type: textblock
18484 #: ../fish/guestfish-commands.pod:146
18485 msgid "Opens the manual page for guestfish."
18486 msgstr ""
18487
18488 #. type: =head2
18489 #: ../fish/guestfish-commands.pod:148
18490 msgid "more"
18491 msgstr "more"
18492
18493 #. type: =head2
18494 #: ../fish/guestfish-commands.pod:150
18495 msgid "less"
18496 msgstr "less"
18497
18498 #. type: verbatim
18499 #: ../fish/guestfish-commands.pod:152
18500 #, no-wrap
18501 msgid ""
18502 " more filename\n"
18503 "\n"
18504 msgstr ""
18505
18506 #. type: verbatim
18507 #: ../fish/guestfish-commands.pod:154
18508 #, no-wrap
18509 msgid ""
18510 " less filename\n"
18511 "\n"
18512 msgstr ""
18513
18514 #. type: textblock
18515 #: ../fish/guestfish-commands.pod:156
18516 msgid "This is used to view a file."
18517 msgstr ""
18518
18519 #. type: textblock
18520 #: ../fish/guestfish-commands.pod:158
18521 msgid ""
18522 "The default viewer is C<$PAGER>.  However if you use the alternate command "
18523 "C<less> you will get the C<less> command specifically."
18524 msgstr ""
18525
18526 #. type: =head2
18527 #: ../fish/guestfish-commands.pod:161
18528 msgid "reopen"
18529 msgstr "reopen"
18530
18531 #. type: verbatim
18532 #: ../fish/guestfish-commands.pod:163
18533 #, no-wrap
18534 msgid ""
18535 "  reopen\n"
18536 "\n"
18537 msgstr ""
18538
18539 #. type: textblock
18540 #: ../fish/guestfish-commands.pod:165
18541 msgid ""
18542 "Close and reopen the libguestfs handle.  It is not necessary to use this "
18543 "normally, because the handle is closed properly when guestfish exits.  "
18544 "However this is occasionally useful for testing."
18545 msgstr ""
18546
18547 #. type: =head2
18548 #: ../fish/guestfish-commands.pod:169
18549 msgid "setenv"
18550 msgstr ""
18551
18552 #. type: verbatim
18553 #: ../fish/guestfish-commands.pod:171
18554 #, no-wrap
18555 msgid ""
18556 "  setenv VAR value\n"
18557 "\n"
18558 msgstr ""
18559
18560 #. type: textblock
18561 #: ../fish/guestfish-commands.pod:173
18562 msgid "Set the environment variable C<VAR> to the string C<value>."
18563 msgstr ""
18564
18565 #. type: textblock
18566 #: ../fish/guestfish-commands.pod:175
18567 msgid ""
18568 "To print the value of an environment variable use a shell command such as:"
18569 msgstr ""
18570
18571 #. type: verbatim
18572 #: ../fish/guestfish-commands.pod:178
18573 #, no-wrap
18574 msgid ""
18575 " !echo $VAR\n"
18576 "\n"
18577 msgstr ""
18578
18579 #. type: =head2
18580 #: ../fish/guestfish-commands.pod:180
18581 msgid "sparse"
18582 msgstr "sparse"
18583
18584 #. type: verbatim
18585 #: ../fish/guestfish-commands.pod:182
18586 #, no-wrap
18587 msgid ""
18588 " sparse filename size\n"
18589 "\n"
18590 msgstr ""
18591
18592 #. type: textblock
18593 #: ../fish/guestfish-commands.pod:184
18594 msgid ""
18595 "This creates an empty sparse file of the given size, and then adds so it can"
18596 " be further examined."
18597 msgstr ""
18598
18599 #. type: textblock
18600 #: ../fish/guestfish-commands.pod:187
18601 msgid ""
18602 "In all respects it works the same as the L</alloc> command, except that the "
18603 "image file is allocated sparsely, which means that disk blocks are not "
18604 "assigned to the file until they are needed.  Sparse disk files only use "
18605 "space when written to, but they are slower and there is a danger you could "
18606 "run out of real disk space during a write operation."
18607 msgstr ""
18608
18609 #. type: =head2
18610 #: ../fish/guestfish-commands.pod:197
18611 msgid "supported"
18612 msgstr "supported"
18613
18614 #. type: verbatim
18615 #: ../fish/guestfish-commands.pod:199
18616 #, no-wrap
18617 msgid ""
18618 " supported\n"
18619 "\n"
18620 msgstr ""
18621 " supported\n"
18622 "\n"
18623
18624 #. type: textblock
18625 #: ../fish/guestfish-commands.pod:201
18626 msgid ""
18627 "This command returns a list of the optional groups known to the daemon, and "
18628 "indicates which ones are supported by this build of the libguestfs "
18629 "appliance."
18630 msgstr ""
18631
18632 #. type: textblock
18633 #: ../fish/guestfish-commands.pod:205
18634 msgid "See also L<guestfs(3)/AVAILABILITY>."
18635 msgstr "Див. також L<guestfs(3)/AVAILABILITY>."
18636
18637 #. type: =head2
18638 #: ../fish/guestfish-commands.pod:207
18639 msgid "time"
18640 msgstr "time"
18641
18642 #. type: verbatim
18643 #: ../fish/guestfish-commands.pod:209
18644 #, no-wrap
18645 msgid ""
18646 " time command args...\n"
18647 "\n"
18648 msgstr ""
18649
18650 #. type: textblock
18651 #: ../fish/guestfish-commands.pod:211
18652 msgid ""
18653 "Run the command as usual, but print the elapsed time afterwards.  This can "
18654 "be useful for benchmarking operations."
18655 msgstr ""
18656
18657 #. type: =head2
18658 #: ../fish/guestfish-commands.pod:214
18659 msgid "unsetenv"
18660 msgstr ""
18661
18662 #. type: verbatim
18663 #: ../fish/guestfish-commands.pod:216
18664 #, no-wrap
18665 msgid ""
18666 "  unsetenv VAR\n"
18667 "\n"
18668 msgstr ""
18669
18670 #. type: textblock
18671 #: ../fish/guestfish-commands.pod:218
18672 msgid "Remove C<VAR> from the environment."
18673 msgstr ""
18674
18675 #. type: textblock
18676 #: ../fish/guestfish.pod:5
18677 msgid "guestfish - the libguestfs Filesystem Interactive SHell"
18678 msgstr ""
18679
18680 #. type: verbatim
18681 #: ../fish/guestfish.pod:9
18682 #, no-wrap
18683 msgid ""
18684 " guestfish [--options] [commands]\n"
18685 "\n"
18686 msgstr ""
18687
18688 #. type: verbatim
18689 #: ../fish/guestfish.pod:11
18690 #, no-wrap
18691 msgid ""
18692 " guestfish\n"
18693 "\n"
18694 msgstr ""
18695
18696 #. type: verbatim
18697 #: ../fish/guestfish.pod:13
18698 #, no-wrap
18699 msgid ""
18700 " guestfish [--ro|--rw] -a disk.img\n"
18701 "\n"
18702 msgstr ""
18703
18704 #. type: verbatim
18705 #: ../fish/guestfish.pod:15
18706 #, no-wrap
18707 msgid ""
18708 " guestfish [--ro|--rw] -a disk.img -m dev[:mountpoint]\n"
18709 "\n"
18710 msgstr ""
18711
18712 #. type: verbatim
18713 #: ../fish/guestfish.pod:17
18714 #, no-wrap
18715 msgid ""
18716 " guestfish -d libvirt-domain\n"
18717 "\n"
18718 msgstr ""
18719
18720 #. type: verbatim
18721 #: ../fish/guestfish.pod:19
18722 #, no-wrap
18723 msgid ""
18724 " guestfish [--ro|--rw] -a disk.img -i\n"
18725 "\n"
18726 msgstr ""
18727
18728 #. type: verbatim
18729 #: ../fish/guestfish.pod:21
18730 #, no-wrap
18731 msgid ""
18732 " guestfish -d libvirt-domain -i\n"
18733 "\n"
18734 msgstr ""
18735
18736 #. type: textblock
18737 #: ../fish/guestfish.pod:25
18738 msgid ""
18739 "Using guestfish in read/write mode on live virtual machines can be "
18740 "dangerous, potentially causing disk corruption.  Use the I<--ro> (read-only)"
18741 " option to use guestfish safely if the disk image or virtual machine might "
18742 "be live."
18743 msgstr ""
18744
18745 #. type: textblock
18746 #: ../fish/guestfish.pod:32
18747 msgid ""
18748 "Guestfish is a shell and command-line tool for examining and modifying "
18749 "virtual machine filesystems.  It uses libguestfs and exposes all of the "
18750 "functionality of the guestfs API, see L<guestfs(3)>."
18751 msgstr ""
18752
18753 #. type: textblock
18754 #: ../fish/guestfish.pod:36
18755 msgid ""
18756 "Guestfish gives you structured access to the libguestfs API, from shell "
18757 "scripts or the command line or interactively.  If you want to rescue a "
18758 "broken virtual machine image, you should look at the L<virt-rescue(1)> "
18759 "command."
18760 msgstr ""
18761
18762 #. type: =head2
18763 #: ../fish/guestfish.pod:43
18764 msgid "As an interactive shell"
18765 msgstr ""
18766
18767 #. type: verbatim
18768 #: ../fish/guestfish.pod:45
18769 #, no-wrap
18770 msgid ""
18771 " $ guestfish\n"
18772 " \n"
18773 msgstr ""
18774
18775 #. type: verbatim
18776 #: ../fish/guestfish.pod:47
18777 #, no-wrap
18778 msgid ""
18779 " Welcome to guestfish, the libguestfs filesystem interactive shell for\n"
18780 " editing virtual machine filesystems.\n"
18781 " \n"
18782 msgstr ""
18783
18784 #. type: verbatim
18785 #: ../fish/guestfish.pod:50
18786 #, no-wrap
18787 msgid ""
18788 " Type: 'help' for a list of commands\n"
18789 "       'man' to read the manual\n"
18790 "       'quit' to quit the shell\n"
18791 " \n"
18792 msgstr ""
18793
18794 #. type: verbatim
18795 #: ../fish/guestfish.pod:54
18796 #, no-wrap
18797 msgid ""
18798 " ><fs> add-ro disk.img\n"
18799 " ><fs> run\n"
18800 " ><fs> list-filesystems\n"
18801 " /dev/sda1: ext4\n"
18802 " /dev/vg_guest/lv_root: ext4\n"
18803 " /dev/vg_guest/lv_swap: swap\n"
18804 " ><fs> mount /dev/vg_guest/lv_root /\n"
18805 " ><fs> cat /etc/fstab\n"
18806 " # /etc/fstab\n"
18807 " # Created by anaconda\n"
18808 " [...]\n"
18809 " ><fs> exit\n"
18810 "\n"
18811 msgstr ""
18812
18813 #. type: =head2
18814 #: ../fish/guestfish.pod:67
18815 msgid "From shell scripts"
18816 msgstr ""
18817
18818 #. type: textblock
18819 #: ../fish/guestfish.pod:69
18820 msgid "Create a new C</etc/motd> file in a guest or disk image:"
18821 msgstr ""
18822
18823 #. type: verbatim
18824 #: ../fish/guestfish.pod:71
18825 #, no-wrap
18826 msgid ""
18827 " guestfish <<_EOF_\n"
18828 " add disk.img\n"
18829 " run\n"
18830 " mount /dev/vg_guest/lv_root /\n"
18831 " write /etc/motd \"Welcome, new users\"\n"
18832 " _EOF_\n"
18833 "\n"
18834 msgstr ""
18835
18836 #. type: textblock
18837 #: ../fish/guestfish.pod:78
18838 msgid "List the LVM logical volumes in a disk image:"
18839 msgstr ""
18840
18841 #. type: verbatim
18842 #: ../fish/guestfish.pod:80
18843 #, no-wrap
18844 msgid ""
18845 " guestfish -a disk.img --ro <<_EOF_\n"
18846 " run\n"
18847 " lvs\n"
18848 " _EOF_\n"
18849 "\n"
18850 msgstr ""
18851
18852 #. type: textblock
18853 #: ../fish/guestfish.pod:85
18854 msgid "List all the filesystems in a disk image:"
18855 msgstr ""
18856
18857 #. type: verbatim
18858 #: ../fish/guestfish.pod:87
18859 #, no-wrap
18860 msgid ""
18861 " guestfish -a disk.img --ro <<_EOF_\n"
18862 " run\n"
18863 " list-filesystems\n"
18864 " _EOF_\n"
18865 "\n"
18866 msgstr ""
18867
18868 #. type: =head2
18869 #: ../fish/guestfish.pod:92
18870 msgid "On one command line"
18871 msgstr ""
18872
18873 #. type: textblock
18874 #: ../fish/guestfish.pod:94 ../fish/virt-copy-in.pod:31
18875 msgid "Update C</etc/resolv.conf> in a guest:"
18876 msgstr ""
18877
18878 #. type: verbatim
18879 #: ../fish/guestfish.pod:96
18880 #, no-wrap
18881 msgid ""
18882 " guestfish \\\n"
18883 "   add disk.img : run : mount /dev/vg_guest/lv_root / : \\\n"
18884 "   write /etc/resolv.conf \"nameserver 1.2.3.4\"\n"
18885 "\n"
18886 msgstr ""
18887
18888 #. type: textblock
18889 #: ../fish/guestfish.pod:100
18890 msgid "Edit C</boot/grub/grub.conf> interactively:"
18891 msgstr ""
18892
18893 #. type: verbatim
18894 #: ../fish/guestfish.pod:102
18895 #, no-wrap
18896 msgid ""
18897 " guestfish --rw --add disk.img \\\n"
18898 "   --mount /dev/vg_guest/lv_root \\\n"
18899 "   --mount /dev/sda1:/boot \\\n"
18900 "   edit /boot/grub/grub.conf\n"
18901 "\n"
18902 msgstr ""
18903
18904 #. type: =head2
18905 #: ../fish/guestfish.pod:107
18906 msgid "Mount disks automatically"
18907 msgstr ""
18908
18909 #. type: textblock
18910 #: ../fish/guestfish.pod:109
18911 msgid ""
18912 "Use the I<-i> option to automatically mount the disks from a virtual "
18913 "machine:"
18914 msgstr ""
18915
18916 #. type: verbatim
18917 #: ../fish/guestfish.pod:112
18918 #, no-wrap
18919 msgid ""
18920 " guestfish --ro -a disk.img -i cat /etc/group\n"
18921 "\n"
18922 msgstr ""
18923
18924 #. type: verbatim
18925 #: ../fish/guestfish.pod:114
18926 #, no-wrap
18927 msgid ""
18928 " guestfish --ro -d libvirt-domain -i cat /etc/group\n"
18929 "\n"
18930 msgstr ""
18931
18932 #. type: textblock
18933 #: ../fish/guestfish.pod:116
18934 msgid "Another way to edit C</boot/grub/grub.conf> interactively is:"
18935 msgstr ""
18936
18937 #. type: verbatim
18938 #: ../fish/guestfish.pod:118
18939 #, no-wrap
18940 msgid ""
18941 " guestfish --rw -a disk.img -i edit /boot/grub/grub.conf\n"
18942 "\n"
18943 msgstr ""
18944
18945 #. type: =head2
18946 #: ../fish/guestfish.pod:120
18947 msgid "As a script interpreter"
18948 msgstr ""
18949
18950 #. type: textblock
18951 #: ../fish/guestfish.pod:122
18952 msgid "Create a 100MB disk containing an ext2-formatted partition:"
18953 msgstr ""
18954
18955 #. type: verbatim
18956 #: ../fish/guestfish.pod:124
18957 #, no-wrap
18958 msgid ""
18959 " #!/usr/bin/guestfish -f\n"
18960 " sparse test1.img 100M\n"
18961 " run\n"
18962 " part-disk /dev/sda mbr\n"
18963 " mkfs ext2 /dev/sda1\n"
18964 "\n"
18965 msgstr ""
18966
18967 #. type: =head2
18968 #: ../fish/guestfish.pod:130
18969 msgid "Start with a prepared disk"
18970 msgstr ""
18971
18972 #. type: textblock
18973 #: ../fish/guestfish.pod:132
18974 msgid ""
18975 "An alternate way to create a 100MB disk called C<test1.img> containing a "
18976 "single ext2-formatted partition:"
18977 msgstr ""
18978
18979 #. type: verbatim
18980 #: ../fish/guestfish.pod:135 ../src/guestfs.pod:2243
18981 #, no-wrap
18982 msgid ""
18983 " guestfish -N fs\n"
18984 "\n"
18985 msgstr ""
18986
18987 #. type: textblock
18988 #: ../fish/guestfish.pod:137
18989 msgid "To list what is available do:"
18990 msgstr ""
18991
18992 #. type: verbatim
18993 #: ../fish/guestfish.pod:139 ../fish/guestfish.pod:1042
18994 #, no-wrap
18995 msgid ""
18996 " guestfish -N help | less\n"
18997 "\n"
18998 msgstr ""
18999
19000 #. type: =head2
19001 #: ../fish/guestfish.pod:141
19002 msgid "Remote control"
19003 msgstr "Дистанційне керування"
19004
19005 #. type: verbatim
19006 #: ../fish/guestfish.pod:143
19007 #, no-wrap
19008 msgid ""
19009 " eval \"`guestfish --listen`\"\n"
19010 " guestfish --remote add-ro disk.img\n"
19011 " guestfish --remote run\n"
19012 " guestfish --remote lvs\n"
19013 "\n"
19014 msgstr ""
19015 " eval \"`guestfish --listen`\"\n"
19016 " guestfish --remote add-ro disk.img\n"
19017 " guestfish --remote run\n"
19018 " guestfish --remote lvs\n"
19019 "\n"
19020
19021 #. type: textblock
19022 #: ../fish/guestfish.pod:154
19023 msgid "Displays general help on options."
19024 msgstr ""
19025
19026 #. type: =item
19027 #: ../fish/guestfish.pod:158
19028 msgid "B<--cmd-help>"
19029 msgstr "B<--cmd-help>"
19030
19031 #. type: textblock
19032 #: ../fish/guestfish.pod:160
19033 msgid "Lists all available guestfish commands."
19034 msgstr ""
19035
19036 #. type: =item
19037 #: ../fish/guestfish.pod:162
19038 msgid "B<-h cmd>"
19039 msgstr "B<-h команда>"
19040
19041 #. type: =item
19042 #: ../fish/guestfish.pod:164
19043 msgid "B<--cmd-help cmd>"
19044 msgstr "B<--cmd-help команда>"
19045
19046 #. type: textblock
19047 #: ../fish/guestfish.pod:166
19048 msgid "Displays detailed help on a single command C<cmd>."
19049 msgstr ""
19050
19051 #. type: =item
19052 #: ../fish/guestfish.pod:168 ../fuse/guestmount.pod:96
19053 msgid "B<-a image>"
19054 msgstr "B<-a образ>"
19055
19056 #. type: =item
19057 #: ../fish/guestfish.pod:170 ../fuse/guestmount.pod:98
19058 msgid "B<--add image>"
19059 msgstr "B<--add образ>"
19060
19061 #. type: textblock
19062 #: ../fish/guestfish.pod:172
19063 msgid "Add a block device or virtual machine image to the shell."
19064 msgstr ""
19065
19066 #. type: textblock
19067 #: ../fish/guestfish.pod:177
19068 msgid ""
19069 "Using this flag is mostly equivalent to using the C<add> command, with "
19070 "C<readonly:true> if the I<--ro> flag was given, and with C<format:...> if "
19071 "the I<--format=...> flag was given."
19072 msgstr ""
19073
19074 #. type: textblock
19075 #: ../fish/guestfish.pod:185 ../fuse/guestmount.pod:109
19076 msgid ""
19077 "When used in conjunction with the I<-d> option, this specifies the libvirt "
19078 "URI to use.  The default is to use the default libvirt connection."
19079 msgstr ""
19080
19081 #. type: =item
19082 #: ../fish/guestfish.pod:189
19083 msgid "B<--csh>"
19084 msgstr "B<--csh>"
19085
19086 #. type: textblock
19087 #: ../fish/guestfish.pod:191
19088 msgid ""
19089 "If using the I<--listen> option and a csh-like shell, use this option.  See "
19090 "section L</REMOTE CONTROL AND CSH> below."
19091 msgstr ""
19092
19093 #. type: =item
19094 #: ../fish/guestfish.pod:194 ../fuse/guestmount.pod:113
19095 msgid "B<-d libvirt-domain>"
19096 msgstr "B<-d домен-libvirt>"
19097
19098 #. type: =item
19099 #: ../fish/guestfish.pod:196 ../fuse/guestmount.pod:115
19100 msgid "B<--domain libvirt-domain>"
19101 msgstr "B<--domain домен-libvirt>"
19102
19103 #. type: textblock
19104 #: ../fish/guestfish.pod:198 ../fuse/guestmount.pod:117
19105 msgid ""
19106 "Add disks from the named libvirt domain.  If the I<--ro> option is also "
19107 "used, then any libvirt domain can be used.  However in write mode, only "
19108 "libvirt domains which are shut down can be named here."
19109 msgstr ""
19110
19111 #. type: textblock
19112 #: ../fish/guestfish.pod:202 ../fuse/guestmount.pod:121
19113 msgid "Domain UUIDs can be used instead of names."
19114 msgstr ""
19115
19116 #. type: textblock
19117 #: ../fish/guestfish.pod:204
19118 msgid ""
19119 "Using this flag is mostly equivalent to using the C<add-domain> command, "
19120 "with C<readonly:true> if the I<--ro> flag was given, and with C<format:...> "
19121 "if the I<--format:...> flag was given."
19122 msgstr ""
19123
19124 #. type: =item
19125 #: ../fish/guestfish.pod:208
19126 msgid "B<-D>"
19127 msgstr "B<-D>"
19128
19129 #. type: =item
19130 #: ../fish/guestfish.pod:210
19131 msgid "B<--no-dest-paths>"
19132 msgstr "B<--no-dest-paths>"
19133
19134 #. type: textblock
19135 #: ../fish/guestfish.pod:212
19136 msgid ""
19137 "Don't tab-complete paths on the guest filesystem.  It is useful to be able "
19138 "to hit the tab key to complete paths on the guest filesystem, but this "
19139 "causes extra \"hidden\" guestfs calls to be made, so this option is here to "
19140 "allow this feature to be disabled."
19141 msgstr ""
19142
19143 #. type: textblock
19144 #: ../fish/guestfish.pod:219 ../fuse/guestmount.pod:137
19145 msgid ""
19146 "When prompting for keys and passphrases, guestfish normally turns echoing "
19147 "off so you cannot see what you are typing.  If you are not worried about "
19148 "Tempest attacks and there is no one else in the room you can specify this "
19149 "flag to see what you are typing."
19150 msgstr ""
19151
19152 #. type: =item
19153 #: ../fish/guestfish.pod:224
19154 msgid "B<-f file>"
19155 msgstr "B<-f файл>"
19156
19157 #. type: =item
19158 #: ../fish/guestfish.pod:226
19159 msgid "B<--file file>"
19160 msgstr "B<--file файл>"
19161
19162 #. type: textblock
19163 #: ../fish/guestfish.pod:228
19164 msgid "Read commands from C<file>.  To write pure guestfish scripts, use:"
19165 msgstr ""
19166
19167 #. type: verbatim
19168 #: ../fish/guestfish.pod:231
19169 #, no-wrap
19170 msgid ""
19171 " #!/usr/bin/guestfish -f\n"
19172 "\n"
19173 msgstr ""
19174 " #!/usr/bin/guestfish -f\n"
19175 "\n"
19176
19177 #. type: verbatim
19178 #: ../fish/guestfish.pod:244
19179 #, no-wrap
19180 msgid ""
19181 " guestfish --format=raw -a disk.img\n"
19182 "\n"
19183 msgstr ""
19184 " guestfish --format=raw -a disk.img\n"
19185 "\n"
19186
19187 #. type: verbatim
19188 #: ../fish/guestfish.pod:248
19189 #, no-wrap
19190 msgid ""
19191 " guestfish --format=raw -a disk.img --format -a another.img\n"
19192 "\n"
19193 msgstr ""
19194 " guestfish --format=raw -a disk.img --format -a another.img\n"
19195 "\n"
19196
19197 #. type: textblock
19198 #: ../fish/guestfish.pod:253
19199 msgid ""
19200 "If you have untrusted raw-format guest disk images, you should use this "
19201 "option to specify the disk format.  This avoids a possible security problem "
19202 "with malicious guests (CVE-2010-3851).  See also L</add-drive-opts>."
19203 msgstr ""
19204
19205 #. type: =item
19206 #: ../fish/guestfish.pod:260 ../fuse/guestmount.pod:166
19207 msgid "B<--inspector>"
19208 msgstr "B<--inspector>"
19209
19210 #. type: textblock
19211 #: ../fish/guestfish.pod:262 ../fuse/guestmount.pod:168
19212 msgid ""
19213 "Using L<virt-inspector(1)> code, inspect the disks looking for an operating "
19214 "system and mount filesystems as they would be mounted on the real virtual "
19215 "machine."
19216 msgstr ""
19217
19218 #. type: textblock
19219 #: ../fish/guestfish.pod:266
19220 msgid "Typical usage is either:"
19221 msgstr ""
19222
19223 #. type: verbatim
19224 #: ../fish/guestfish.pod:268
19225 #, no-wrap
19226 msgid ""
19227 " guestfish -d myguest -i\n"
19228 "\n"
19229 msgstr ""
19230 " guestfish -d myguest -i\n"
19231 "\n"
19232
19233 #. type: textblock
19234 #: ../fish/guestfish.pod:270
19235 msgid "(for an inactive libvirt domain called I<myguest>), or:"
19236 msgstr ""
19237
19238 #. type: verbatim
19239 #: ../fish/guestfish.pod:272
19240 #, no-wrap
19241 msgid ""
19242 " guestfish --ro -d myguest -i\n"
19243 "\n"
19244 msgstr ""
19245 " guestfish --ro -d myguest -i\n"
19246 "\n"
19247
19248 #. type: textblock
19249 #: ../fish/guestfish.pod:274
19250 msgid "(for active domains, readonly), or specify the block device directly:"
19251 msgstr ""
19252
19253 #. type: verbatim
19254 #: ../fish/guestfish.pod:276
19255 #, no-wrap
19256 msgid ""
19257 " guestfish --rw -a /dev/Guests/MyGuest -i\n"
19258 "\n"
19259 msgstr ""
19260 " guestfish --rw -a /dev/Guests/MyGuest -i\n"
19261 "\n"
19262
19263 #. type: textblock
19264 #: ../fish/guestfish.pod:278
19265 msgid ""
19266 "Note that the command line syntax changed slightly over older versions of "
19267 "guestfish.  You can still use the old syntax:"
19268 msgstr ""
19269
19270 #. type: verbatim
19271 #: ../fish/guestfish.pod:281
19272 #, no-wrap
19273 msgid ""
19274 " guestfish [--ro] -i disk.img\n"
19275 "\n"
19276 msgstr ""
19277 " guestfish [--ro] -i disk.img\n"
19278 "\n"
19279
19280 #. type: verbatim
19281 #: ../fish/guestfish.pod:283
19282 #, no-wrap
19283 msgid ""
19284 " guestfish [--ro] -i libvirt-domain\n"
19285 "\n"
19286 msgstr ""
19287
19288 #. type: textblock
19289 #: ../fish/guestfish.pod:285
19290 msgid ""
19291 "Using this flag is mostly equivalent to using the C<inspect-os> command and "
19292 "then using other commands to mount the filesystems that were found."
19293 msgstr ""
19294
19295 #. type: =item
19296 #: ../fish/guestfish.pod:294
19297 msgid "B<--listen>"
19298 msgstr "B<--listen>"
19299
19300 #. type: textblock
19301 #: ../fish/guestfish.pod:296
19302 msgid ""
19303 "Fork into the background and listen for remote commands.  See section "
19304 "L</REMOTE CONTROL GUESTFISH OVER A SOCKET> below."
19305 msgstr ""
19306
19307 #. type: =item
19308 #: ../fish/guestfish.pod:299 ../fuse/guestmount.pod:177
19309 msgid "B<--live>"
19310 msgstr "B<--live>"
19311
19312 #. type: textblock
19313 #: ../fish/guestfish.pod:301 ../fuse/guestmount.pod:179
19314 msgid ""
19315 "Connect to a live virtual machine.  (Experimental, see "
19316 "L<guestfs(3)/ATTACHING TO RUNNING DAEMONS>)."
19317 msgstr ""
19318
19319 #. type: =item
19320 #: ../fish/guestfish.pod:304 ../fuse/guestmount.pod:182
19321 msgid "B<-m dev[:mountpoint[:options]]>"
19322 msgstr "B<-m пристрій[:точка_монтування[:параметри]]>"
19323
19324 #. type: =item
19325 #: ../fish/guestfish.pod:306 ../fuse/guestmount.pod:184
19326 msgid "B<--mount dev[:mountpoint[:options]]>"
19327 msgstr "B<--mount пристрій[:точка_монтування[:параметри]]>"
19328
19329 #. type: textblock
19330 #: ../fish/guestfish.pod:308
19331 msgid "Mount the named partition or logical volume on the given mountpoint."
19332 msgstr ""
19333
19334 #. type: textblock
19335 #: ../fish/guestfish.pod:310
19336 msgid "If the mountpoint is omitted, it defaults to C</>."
19337 msgstr ""
19338
19339 #. type: textblock
19340 #: ../fish/guestfish.pod:312
19341 msgid "You have to mount something on C</> before most commands will work."
19342 msgstr ""
19343
19344 #. type: textblock
19345 #: ../fish/guestfish.pod:314
19346 msgid ""
19347 "If any I<-m> or I<--mount> options are given, the guest is automatically "
19348 "launched."
19349 msgstr ""
19350
19351 #. type: textblock
19352 #: ../fish/guestfish.pod:317
19353 msgid ""
19354 "If you don't know what filesystems a disk image contains, you can either run"
19355 " guestfish without this option, then list the partitions, filesystems and "
19356 "LVs available (see L</list-partitions>, L</list-filesystems> and L</lvs> "
19357 "commands), or you can use the L<virt-filesystems(1)> program."
19358 msgstr ""
19359
19360 #. type: textblock
19361 #: ../fish/guestfish.pod:323 ../fuse/guestmount.pod:192
19362 msgid ""
19363 "The third (and rarely used) part of the mount parameter is the list of mount"
19364 " options used to mount the underlying filesystem.  If this is not given, "
19365 "then the mount options are either the empty string or C<ro> (the latter if "
19366 "the I<--ro> flag is used).  By specifying the mount options, you override "
19367 "this default choice.  Probably the only time you would use this is to enable"
19368 " ACLs and/or extended attributes if the filesystem can support them:"
19369 msgstr ""
19370
19371 #. type: verbatim
19372 #: ../fish/guestfish.pod:331 ../fuse/guestmount.pod:200
19373 #, no-wrap
19374 msgid ""
19375 " -m /dev/sda1:/:acl,user_xattr\n"
19376 "\n"
19377 msgstr ""
19378
19379 #. type: textblock
19380 #: ../fish/guestfish.pod:333
19381 msgid "Using this flag is equivalent to using the C<mount-options> command."
19382 msgstr ""
19383
19384 #. type: =item
19385 #: ../fish/guestfish.pod:335 ../fuse/guestmount.pod:202
19386 #: ../resize/virt-resize.pod:435
19387 msgid "B<-n>"
19388 msgstr "B<-n>"
19389
19390 #. type: =item
19391 #: ../fish/guestfish.pod:337 ../fuse/guestmount.pod:204
19392 msgid "B<--no-sync>"
19393 msgstr "B<--no-sync>"
19394
19395 #. type: textblock
19396 #: ../fish/guestfish.pod:339
19397 msgid ""
19398 "Disable autosync.  This is enabled by default.  See the discussion of "
19399 "autosync in the L<guestfs(3)> manpage."
19400 msgstr ""
19401
19402 #. type: =item
19403 #: ../fish/guestfish.pod:342
19404 msgid "B<-N type>"
19405 msgstr "B<-N тип>"
19406
19407 #. type: =item
19408 #: ../fish/guestfish.pod:344
19409 msgid "B<--new type>"
19410 msgstr "B<--new тип>"
19411
19412 #. type: =item
19413 #: ../fish/guestfish.pod:346
19414 msgid "B<-N help>"
19415 msgstr "B<-N help>"
19416
19417 #. type: textblock
19418 #: ../fish/guestfish.pod:348
19419 msgid ""
19420 "Prepare a fresh disk image formatted as \"type\".  This is an alternative to"
19421 " the I<-a> option: whereas I<-a> adds an existing disk, I<-N> creates a "
19422 "preformatted disk with a filesystem and adds it.  See L</PREPARED DISK "
19423 "IMAGES> below."
19424 msgstr ""
19425
19426 #. type: =item
19427 #: ../fish/guestfish.pod:353
19428 msgid "B<--progress-bars>"
19429 msgstr "B<--progress-bars>"
19430
19431 #. type: textblock
19432 #: ../fish/guestfish.pod:355
19433 msgid "Enable progress bars, even when guestfish is used non-interactively."
19434 msgstr ""
19435
19436 #. type: textblock
19437 #: ../fish/guestfish.pod:357
19438 msgid ""
19439 "Progress bars are enabled by default when guestfish is used as an "
19440 "interactive shell."
19441 msgstr ""
19442
19443 #. type: =item
19444 #: ../fish/guestfish.pod:360
19445 msgid "B<--no-progress-bars>"
19446 msgstr "B<--no-progress-bars>"
19447
19448 #. type: textblock
19449 #: ../fish/guestfish.pod:362
19450 msgid "Disable progress bars."
19451 msgstr ""
19452
19453 #. type: =item
19454 #: ../fish/guestfish.pod:364
19455 msgid "B<--remote[=pid]>"
19456 msgstr "B<--remote[=pid]>"
19457
19458 #. type: textblock
19459 #: ../fish/guestfish.pod:366
19460 msgid ""
19461 "Send remote commands to C<$GUESTFISH_PID> or C<pid>.  See section L</REMOTE "
19462 "CONTROL GUESTFISH OVER A SOCKET> below."
19463 msgstr ""
19464
19465 #. type: =item
19466 #: ../fish/guestfish.pod:369 ../fuse/guestmount.pod:248
19467 #: ../rescue/virt-rescue.pod:161
19468 msgid "B<-r>"
19469 msgstr "B<-r>"
19470
19471 #. type: =item
19472 #: ../fish/guestfish.pod:371 ../fuse/guestmount.pod:250
19473 #: ../rescue/virt-rescue.pod:163
19474 msgid "B<--ro>"
19475 msgstr "B<--ro>"
19476
19477 #. type: textblock
19478 #: ../fish/guestfish.pod:373
19479 msgid ""
19480 "This changes the I<-a>, I<-d> and I<-m> options so that disks are added and "
19481 "mounts are done read-only."
19482 msgstr ""
19483
19484 #. type: textblock
19485 #: ../fish/guestfish.pod:376 ../rescue/virt-rescue.pod:167
19486 msgid ""
19487 "The option must always be used if the disk image or virtual machine might be"
19488 " running, and is generally recommended in cases where you don't need write "
19489 "access to the disk."
19490 msgstr ""
19491
19492 #. type: textblock
19493 #: ../fish/guestfish.pod:380
19494 msgid ""
19495 "Note that prepared disk images created with I<-N> are not affected by this "
19496 "option.  Also commands like C<add> are not affected - you have to specify "
19497 "the C<readonly:true> option explicitly if you need it."
19498 msgstr ""
19499
19500 #. type: textblock
19501 #: ../fish/guestfish.pod:384
19502 msgid "See also L</OPENING DISKS FOR READ AND WRITE> below."
19503 msgstr ""
19504
19505 #. type: =item
19506 #: ../fish/guestfish.pod:386 ../fuse/guestmount.pod:262
19507 #: ../rescue/virt-rescue.pod:173
19508 msgid "B<--selinux>"
19509 msgstr "B<--selinux>"
19510
19511 #. type: textblock
19512 #: ../fish/guestfish.pod:388
19513 msgid "Enable SELinux support for the guest.  See L<guestfs(3)/SELINUX>."
19514 msgstr ""
19515
19516 #. type: textblock
19517 #: ../fish/guestfish.pod:394
19518 msgid ""
19519 "Enable very verbose messages.  This is particularly useful if you find a "
19520 "bug."
19521 msgstr ""
19522
19523 #. type: textblock
19524 #: ../fish/guestfish.pod:401
19525 msgid "Display the guestfish / libguestfs version number and exit."
19526 msgstr ""
19527
19528 #. type: =item
19529 #: ../fish/guestfish.pod:403 ../fuse/guestmount.pod:278
19530 #: ../rescue/virt-rescue.pod:194
19531 msgid "B<-w>"
19532 msgstr "B<-w>"
19533
19534 #. type: =item
19535 #: ../fish/guestfish.pod:405 ../fuse/guestmount.pod:280
19536 #: ../rescue/virt-rescue.pod:196
19537 msgid "B<--rw>"
19538 msgstr "B<--rw>"
19539
19540 #. type: textblock
19541 #: ../fish/guestfish.pod:407 ../fuse/guestmount.pod:282
19542 msgid ""
19543 "This changes the I<-a>, I<-d> and I<-m> options so that disks are added and "
19544 "mounts are done read-write."
19545 msgstr ""
19546
19547 #. type: textblock
19548 #: ../fish/guestfish.pod:410
19549 msgid "See L</OPENING DISKS FOR READ AND WRITE> below."
19550 msgstr ""
19551
19552 #. type: textblock
19553 #: ../fish/guestfish.pod:414
19554 msgid "Echo each command before executing it."
19555 msgstr ""
19556
19557 #. type: =head1
19558 #: ../fish/guestfish.pod:418
19559 msgid "COMMANDS ON COMMAND LINE"
19560 msgstr ""
19561
19562 #. type: textblock
19563 #: ../fish/guestfish.pod:420
19564 msgid ""
19565 "Any additional (non-option) arguments are treated as commands to execute."
19566 msgstr ""
19567
19568 #. type: textblock
19569 #: ../fish/guestfish.pod:423
19570 msgid ""
19571 "Commands to execute should be separated by a colon (C<:>), where the colon "
19572 "is a separate parameter.  Thus:"
19573 msgstr ""
19574
19575 #. type: verbatim
19576 #: ../fish/guestfish.pod:426
19577 #, no-wrap
19578 msgid ""
19579 " guestfish cmd [args...] : cmd [args...] : cmd [args...] ...\n"
19580 "\n"
19581 msgstr ""
19582
19583 #. type: textblock
19584 #: ../fish/guestfish.pod:428
19585 msgid ""
19586 "If there are no additional arguments, then we enter a shell, either an "
19587 "interactive shell with a prompt (if the input is a terminal) or a non-"
19588 "interactive shell."
19589 msgstr ""
19590
19591 #. type: textblock
19592 #: ../fish/guestfish.pod:432
19593 msgid ""
19594 "In either command line mode or non-interactive shell, the first command that"
19595 " gives an error causes the whole shell to exit.  In interactive mode (with a"
19596 " prompt) if a command fails, you can continue to enter commands."
19597 msgstr ""
19598
19599 #. type: =head1
19600 #: ../fish/guestfish.pod:437
19601 msgid "USING launch (OR run)"
19602 msgstr ""
19603
19604 #. type: textblock
19605 #: ../fish/guestfish.pod:439
19606 msgid ""
19607 "As with L<guestfs(3)>, you must first configure your guest by adding disks, "
19608 "then launch it, then mount any disks you need, and finally issue "
19609 "actions/commands.  So the general order of the day is:"
19610 msgstr ""
19611
19612 #. type: textblock
19613 #: ../fish/guestfish.pod:447
19614 msgid "add or -a/--add"
19615 msgstr ""
19616
19617 #. type: textblock
19618 #: ../fish/guestfish.pod:451
19619 msgid "launch (aka run)"
19620 msgstr ""
19621
19622 #. type: textblock
19623 #: ../fish/guestfish.pod:455
19624 msgid "mount or -m/--mount"
19625 msgstr ""
19626
19627 #. type: textblock
19628 #: ../fish/guestfish.pod:459
19629 msgid "any other commands"
19630 msgstr ""
19631
19632 #. type: textblock
19633 #: ../fish/guestfish.pod:463
19634 msgid ""
19635 "C<run> is a synonym for C<launch>.  You must C<launch> (or C<run>)  your "
19636 "guest before mounting or performing any other commands."
19637 msgstr ""
19638
19639 #. type: textblock
19640 #: ../fish/guestfish.pod:466
19641 msgid ""
19642 "The only exception is that if any of the I<-i>, I<-m>, I<--mount>, I<-N> or "
19643 "I<--new> options were given then C<run> is done automatically, simply "
19644 "because guestfish can't perform the action you asked for without doing this."
19645 msgstr ""
19646
19647 #. type: =head1
19648 #: ../fish/guestfish.pod:471
19649 msgid "OPENING DISKS FOR READ AND WRITE"
19650 msgstr ""
19651
19652 #. type: textblock
19653 #: ../fish/guestfish.pod:473
19654 msgid ""
19655 "The guestfish, L<guestmount(1)> and L<virt-rescue(1)> options I<--ro> and "
19656 "I<--rw> affect whether the other command line options I<-a>, I<-c>, I<-d>, "
19657 "I<-i> and I<-m> open disk images read-only or for writing."
19658 msgstr ""
19659
19660 #. type: textblock
19661 #: ../fish/guestfish.pod:478
19662 msgid ""
19663 "In libguestfs E<le> 1.10, guestfish, guestmount and virt-rescue defaulted to"
19664 " opening disk images supplied on the command line for write.  To open a disk"
19665 " image read-only you have to do I<-a image --ro>."
19666 msgstr ""
19667
19668 #. type: textblock
19669 #: ../fish/guestfish.pod:482
19670 msgid ""
19671 "This matters: If you accidentally open a live VM disk image writable then "
19672 "you will cause irreversible disk corruption."
19673 msgstr ""
19674
19675 #. type: textblock
19676 #: ../fish/guestfish.pod:485
19677 msgid ""
19678 "In a future libguestfs we intend to change the default the other way.  Disk "
19679 "images will be opened read-only.  You will have to either specify "
19680 "I<guestfish --rw>, I<guestmount --rw>, I<virt-rescue --rw>, or change the "
19681 "configuration file C</etc/libguestfs-tools.conf> in order to get write "
19682 "access for disk images specified by those other command line options."
19683 msgstr ""
19684
19685 #. type: textblock
19686 #: ../fish/guestfish.pod:492
19687 msgid ""
19688 "This version of guestfish, guestmount and virt-rescue has a I<--rw> option "
19689 "which does nothing (it is already the default).  However it is highly "
19690 "recommended that you use this option to indicate that you need write access,"
19691 " and prepare your scripts for the day when this option will be required for "
19692 "write access."
19693 msgstr ""
19694
19695 #. type: textblock
19696 #: ../fish/guestfish.pod:498
19697 msgid ""
19698 "B<Note:> This does I<not> affect commands like L</add> and L</mount>, or any"
19699 " other libguestfs program apart from guestfish and guestmount."
19700 msgstr ""
19701
19702 #. type: =head1
19703 #: ../fish/guestfish.pod:501
19704 msgid "QUOTING"
19705 msgstr ""
19706
19707 #. type: textblock
19708 #: ../fish/guestfish.pod:503
19709 msgid ""
19710 "You can quote ordinary parameters using either single or double quotes.  For"
19711 " example:"
19712 msgstr ""
19713
19714 #. type: verbatim
19715 #: ../fish/guestfish.pod:506
19716 #, no-wrap
19717 msgid ""
19718 " add \"file with a space.img\"\n"
19719 "\n"
19720 msgstr ""
19721
19722 #. type: verbatim
19723 #: ../fish/guestfish.pod:508
19724 #, no-wrap
19725 msgid ""
19726 " rm '/file name'\n"
19727 "\n"
19728 msgstr ""
19729
19730 #. type: verbatim
19731 #: ../fish/guestfish.pod:510
19732 #, no-wrap
19733 msgid ""
19734 " rm '/\"'\n"
19735 "\n"
19736 msgstr ""
19737
19738 #. type: textblock
19739 #: ../fish/guestfish.pod:512
19740 msgid ""
19741 "A few commands require a list of strings to be passed.  For these, use a "
19742 "whitespace-separated list, enclosed in quotes.  Strings containing "
19743 "whitespace to be passed through must be enclosed in single quotes.  A "
19744 "literal single quote must be escaped with a backslash."
19745 msgstr ""
19746
19747 #. type: verbatim
19748 #: ../fish/guestfish.pod:517
19749 #, no-wrap
19750 msgid ""
19751 " vgcreate VG \"/dev/sda1 /dev/sdb1\"\n"
19752 " command \"/bin/echo 'foo      bar'\"\n"
19753 " command \"/bin/echo \\'foo\\'\"\n"
19754 "\n"
19755 msgstr ""
19756
19757 #. type: =head2
19758 #: ../fish/guestfish.pod:521
19759 msgid "ESCAPE SEQUENCES IN DOUBLE QUOTED ARGUMENTS"
19760 msgstr ""
19761
19762 #. type: textblock
19763 #: ../fish/guestfish.pod:523
19764 msgid ""
19765 "In double-quoted arguments (only) use backslash to insert special "
19766 "characters:"
19767 msgstr ""
19768
19769 #. type: =item
19770 #: ../fish/guestfish.pod:528
19771 msgid "C<\\a>"
19772 msgstr "C<\\a>"
19773
19774 #. type: textblock
19775 #: ../fish/guestfish.pod:530
19776 msgid "Alert (bell) character."
19777 msgstr "Символ гудка (дзвінка)."
19778
19779 #. type: =item
19780 #: ../fish/guestfish.pod:532
19781 msgid "C<\\b>"
19782 msgstr "C<\\b>"
19783
19784 #. type: textblock
19785 #: ../fish/guestfish.pod:534
19786 msgid "Backspace character."
19787 msgstr ""
19788
19789 #. type: =item
19790 #: ../fish/guestfish.pod:536
19791 msgid "C<\\f>"
19792 msgstr "C<\\f>"
19793
19794 #. type: textblock
19795 #: ../fish/guestfish.pod:538
19796 msgid "Form feed character."
19797 msgstr ""
19798
19799 #. type: =item
19800 #: ../fish/guestfish.pod:540
19801 msgid "C<\\n>"
19802 msgstr "C<\\n>"
19803
19804 #. type: textblock
19805 #: ../fish/guestfish.pod:542
19806 msgid "Newline character."
19807 msgstr ""
19808
19809 #. type: =item
19810 #: ../fish/guestfish.pod:544
19811 msgid "C<\\r>"
19812 msgstr "C<\\r>"
19813
19814 #. type: textblock
19815 #: ../fish/guestfish.pod:546
19816 msgid "Carriage return character."
19817 msgstr "Символ повернення каретки."
19818
19819 #. type: =item
19820 #: ../fish/guestfish.pod:548
19821 msgid "C<\\t>"
19822 msgstr "C<\\t>"
19823
19824 #. type: textblock
19825 #: ../fish/guestfish.pod:550
19826 msgid "Horizontal tab character."
19827 msgstr "Символ горизонтальної табуляції"
19828
19829 #. type: =item
19830 #: ../fish/guestfish.pod:552
19831 msgid "C<\\v>"
19832 msgstr "C<\\v>"
19833
19834 #. type: textblock
19835 #: ../fish/guestfish.pod:554
19836 msgid "Vertical tab character."
19837 msgstr "Символ вертикальної табуляції."
19838
19839 #. type: =item
19840 #: ../fish/guestfish.pod:556
19841 msgid "C<\\\">"
19842 msgstr "C<\\\">"
19843
19844 #. type: textblock
19845 #: ../fish/guestfish.pod:558
19846 msgid "A literal double quote character."
19847 msgstr ""
19848
19849 #. type: =item
19850 #: ../fish/guestfish.pod:560
19851 msgid "C<\\ooo>"
19852 msgstr "C<\\ooo>"
19853
19854 #. type: textblock
19855 #: ../fish/guestfish.pod:562
19856 msgid ""
19857 "A character with octal value I<ooo>.  There must be precisely 3 octal digits"
19858 " (unlike C)."
19859 msgstr ""
19860
19861 #. type: =item
19862 #: ../fish/guestfish.pod:565
19863 msgid "C<\\xhh>"
19864 msgstr "C<\\xhh>"
19865
19866 #. type: textblock
19867 #: ../fish/guestfish.pod:567
19868 msgid ""
19869 "A character with hex value I<hh>.  There must be precisely 2 hex digits."
19870 msgstr ""
19871
19872 #. type: textblock
19873 #: ../fish/guestfish.pod:570
19874 msgid ""
19875 "In the current implementation C<\\000> and C<\\x00> cannot be used in "
19876 "strings."
19877 msgstr ""
19878
19879 #. type: =item
19880 #: ../fish/guestfish.pod:573
19881 msgid "C<\\\\>"
19882 msgstr "C<\\\\>"
19883
19884 #. type: textblock
19885 #: ../fish/guestfish.pod:575
19886 msgid "A literal backslash character."
19887 msgstr ""
19888
19889 #. type: =head1
19890 #: ../fish/guestfish.pod:579
19891 msgid "OPTIONAL ARGUMENTS"
19892 msgstr ""
19893
19894 #. type: textblock
19895 #: ../fish/guestfish.pod:581
19896 msgid ""
19897 "Some commands take optional arguments.  These arguments appear in this "
19898 "documentation as C<[argname:..]>.  You can use them as in these examples:"
19899 msgstr ""
19900
19901 #. type: verbatim
19902 #: ../fish/guestfish.pod:585
19903 #, no-wrap
19904 msgid ""
19905 " add-drive-opts filename\n"
19906 "\n"
19907 msgstr ""
19908
19909 #. type: verbatim
19910 #: ../fish/guestfish.pod:587
19911 #, no-wrap
19912 msgid ""
19913 " add-drive-opts filename readonly:true\n"
19914 "\n"
19915 msgstr ""
19916
19917 #. type: verbatim
19918 #: ../fish/guestfish.pod:589
19919 #, no-wrap
19920 msgid ""
19921 " add-drive-opts filename format:qcow2 readonly:false\n"
19922 "\n"
19923 msgstr ""
19924
19925 #. type: textblock
19926 #: ../fish/guestfish.pod:591
19927 msgid ""
19928 "Each optional argument can appear at most once.  All optional arguments must"
19929 " appear after the required ones."
19930 msgstr ""
19931
19932 #. type: =head1
19933 #: ../fish/guestfish.pod:594
19934 msgid "NUMBERS"
19935 msgstr "ЧИСЛА"
19936
19937 #. type: textblock
19938 #: ../fish/guestfish.pod:596
19939 msgid ""
19940 "This section applies to all commands which can take integers as parameters."
19941 msgstr ""
19942
19943 #. type: =head2
19944 #: ../fish/guestfish.pod:599
19945 msgid "SIZE SUFFIX"
19946 msgstr ""
19947
19948 #. type: textblock
19949 #: ../fish/guestfish.pod:601
19950 msgid ""
19951 "When the command takes a parameter measured in bytes, you can use one of the"
19952 " following suffixes to specify kilobytes, megabytes and larger sizes:"
19953 msgstr ""
19954
19955 #. type: =item
19956 #: ../fish/guestfish.pod:607
19957 msgid "B<k> or B<K> or B<KiB>"
19958 msgstr "B<k>, B<K> або B<KiB>"
19959
19960 #. type: textblock
19961 #: ../fish/guestfish.pod:609
19962 msgid "The size in kilobytes (multiplied by 1024)."
19963 msgstr "Розмір у кілобайтах (у одному кілобайті 1024 байтів)."
19964
19965 #. type: =item
19966 #: ../fish/guestfish.pod:611
19967 msgid "B<KB>"
19968 msgstr "B<KB>"
19969
19970 #. type: textblock
19971 #: ../fish/guestfish.pod:613
19972 msgid "The size in SI 1000 byte units."
19973 msgstr "Розмір у одиницях СІ: 1000 байтів."
19974
19975 #. type: =item
19976 #: ../fish/guestfish.pod:615
19977 msgid "B<M> or B<MiB>"
19978 msgstr "B<M> або B<MiB>"
19979
19980 #. type: textblock
19981 #: ../fish/guestfish.pod:617
19982 msgid "The size in megabytes (multiplied by 1048576)."
19983 msgstr "Розмір у мегабайтах (у одному мегабайті 1048576 байтів)."
19984
19985 #. type: =item
19986 #: ../fish/guestfish.pod:619
19987 msgid "B<MB>"
19988 msgstr "B<MB>"
19989
19990 #. type: textblock
19991 #: ../fish/guestfish.pod:621
19992 msgid "The size in SI 1000000 byte units."
19993 msgstr "Розмір у одиницях СІ: 1000000 байтів."
19994
19995 #. type: =item
19996 #: ../fish/guestfish.pod:623
19997 msgid "B<G> or B<GiB>"
19998 msgstr "B<G> або B<GiB>"
19999
20000 #. type: textblock
20001 #: ../fish/guestfish.pod:625
20002 msgid "The size in gigabytes (multiplied by 2**30)."
20003 msgstr "Розмір у гігабайтах (з множником 2**30)."
20004
20005 #. type: =item
20006 #: ../fish/guestfish.pod:627
20007 msgid "B<GB>"
20008 msgstr "B<GB>"
20009
20010 #. type: textblock
20011 #: ../fish/guestfish.pod:629
20012 msgid "The size in SI 10**9 byte units."
20013 msgstr "Розмір у одиницях СІ: 10**9 байтів."
20014
20015 #. type: =item
20016 #: ../fish/guestfish.pod:631
20017 msgid "B<T> or B<TiB>"
20018 msgstr "B<T> або B<TiB>"
20019
20020 #. type: textblock
20021 #: ../fish/guestfish.pod:633
20022 msgid "The size in terabytes (multiplied by 2**40)."
20023 msgstr "Розмір у терабайтах (з множником 2**40)."
20024
20025 #. type: =item
20026 #: ../fish/guestfish.pod:635
20027 msgid "B<TB>"
20028 msgstr "B<TB>"
20029
20030 #. type: textblock
20031 #: ../fish/guestfish.pod:637
20032 msgid "The size in SI 10**12 byte units."
20033 msgstr "Розмір у одиницях СІ: 10**12 байтів."
20034
20035 #. type: =item
20036 #: ../fish/guestfish.pod:639
20037 msgid "B<P> or B<PiB>"
20038 msgstr "B<P> або B<PiB>"
20039
20040 #. type: textblock
20041 #: ../fish/guestfish.pod:641
20042 msgid "The size in petabytes (multiplied by 2**50)."
20043 msgstr "Розмір у петабайтах (у одному петабайті 2**50 байтів)."
20044
20045 #. type: =item
20046 #: ../fish/guestfish.pod:643
20047 msgid "B<PB>"
20048 msgstr "B<PB>"
20049
20050 #. type: textblock
20051 #: ../fish/guestfish.pod:645
20052 msgid "The size in SI 10**15 byte units."
20053 msgstr "Розмір у одиницях СІ: 10**15 байтів."
20054
20055 #. type: =item
20056 #: ../fish/guestfish.pod:647
20057 msgid "B<E> or B<EiB>"
20058 msgstr "B<E> або B<EiB>"
20059
20060 #. type: textblock
20061 #: ../fish/guestfish.pod:649
20062 msgid "The size in exabytes (multiplied by 2**60)."
20063 msgstr "Розмір у ексабайтах (у одному ексабайті 2**60 байтів)."
20064
20065 #. type: =item
20066 #: ../fish/guestfish.pod:651
20067 msgid "B<EB>"
20068 msgstr "B<EB>"
20069
20070 #. type: textblock
20071 #: ../fish/guestfish.pod:653
20072 msgid "The size in SI 10**18 byte units."
20073 msgstr "Розмір у одиницях СІ: 10**18 байтів."
20074
20075 #. type: =item
20076 #: ../fish/guestfish.pod:655
20077 msgid "B<Z> or B<ZiB>"
20078 msgstr "B<Z> або B<ZiB>"
20079
20080 #. type: textblock
20081 #: ../fish/guestfish.pod:657
20082 msgid "The size in zettabytes (multiplied by 2**70)."
20083 msgstr "Розмір у зетабайтах (у одному зетабайті 2**70 байтів)."
20084
20085 #. type: =item
20086 #: ../fish/guestfish.pod:659
20087 msgid "B<ZB>"
20088 msgstr "B<ZB>"
20089
20090 #. type: textblock
20091 #: ../fish/guestfish.pod:661
20092 msgid "The size in SI 10**21 byte units."
20093 msgstr "Розмір у одиницях СІ: 10**21 байтів."
20094
20095 #. type: =item
20096 #: ../fish/guestfish.pod:663
20097 msgid "B<Y> or B<YiB>"
20098 msgstr "B<Y> або B<YiB>"
20099
20100 #. type: textblock
20101 #: ../fish/guestfish.pod:665
20102 msgid "The size in yottabytes (multiplied by 2**80)."
20103 msgstr "Розмір у йотабайтах (у одному йотабайті 2**80 байтів)."
20104
20105 #. type: =item
20106 #: ../fish/guestfish.pod:667
20107 msgid "B<YB>"
20108 msgstr "B<YB>"
20109
20110 #. type: textblock
20111 #: ../fish/guestfish.pod:669
20112 msgid "The size in SI 10**24 byte units."
20113 msgstr "Розмір у одиницях СІ: 10**24 байтів."
20114
20115 #. type: verbatim
20116 #: ../fish/guestfish.pod:675
20117 #, no-wrap
20118 msgid ""
20119 " truncate-size /file 1G\n"
20120 "\n"
20121 msgstr ""
20122
20123 #. type: textblock
20124 #: ../fish/guestfish.pod:677
20125 msgid "would truncate the file to 1 gigabyte."
20126 msgstr ""
20127
20128 #. type: textblock
20129 #: ../fish/guestfish.pod:679
20130 msgid ""
20131 "Be careful because a few commands take sizes in kilobytes or megabytes (eg. "
20132 "the parameter to L</memsize> is specified in megabytes already).  Adding a "
20133 "suffix will probably not do what you expect."
20134 msgstr ""
20135
20136 #. type: =head2
20137 #: ../fish/guestfish.pod:683
20138 msgid "OCTAL AND HEXADECIMAL NUMBERS"
20139 msgstr ""
20140
20141 #. type: textblock
20142 #: ../fish/guestfish.pod:685
20143 msgid ""
20144 "For specifying the radix (base) use the C convention: C<0> to prefix an "
20145 "octal number or C<0x> to prefix a hexadecimal number.  For example:"
20146 msgstr ""
20147
20148 #. type: verbatim
20149 #: ../fish/guestfish.pod:688
20150 #, no-wrap
20151 msgid ""
20152 " 1234      decimal number 1234\n"
20153 " 02322     octal number, equivalent to decimal 1234\n"
20154 " 0x4d2     hexadecimal number, equivalent to decimal 1234\n"
20155 "\n"
20156 msgstr ""
20157
20158 #. type: textblock
20159 #: ../fish/guestfish.pod:692
20160 msgid ""
20161 "When using the C<chmod> command, you almost always want to specify an octal "
20162 "number for the mode, and you must prefix it with C<0> (unlike the Unix "
20163 "L<chmod(1)> program):"
20164 msgstr ""
20165
20166 #. type: verbatim
20167 #: ../fish/guestfish.pod:696
20168 #, no-wrap
20169 msgid ""
20170 " chmod 0777 /public  # OK\n"
20171 " chmod 777 /public   # WRONG! This is mode 777 decimal = 01411 octal.\n"
20172 "\n"
20173 msgstr ""
20174
20175 #. type: textblock
20176 #: ../fish/guestfish.pod:699
20177 msgid ""
20178 "Commands that return numbers usually print them in decimal, but some "
20179 "commands print numbers in other radices (eg. C<umask> prints the mode in "
20180 "octal, preceeded by C<0>)."
20181 msgstr ""
20182
20183 #. type: =head1
20184 #: ../fish/guestfish.pod:703
20185 msgid "WILDCARDS AND GLOBBING"
20186 msgstr ""
20187
20188 #. type: textblock
20189 #: ../fish/guestfish.pod:705
20190 msgid ""
20191 "Neither guestfish nor the underlying guestfs API performs wildcard expansion"
20192 " (globbing) by default.  So for example the following will not do what you "
20193 "expect:"
20194 msgstr ""
20195
20196 #. type: verbatim
20197 #: ../fish/guestfish.pod:709
20198 #, no-wrap
20199 msgid ""
20200 " rm-rf /home/*\n"
20201 "\n"
20202 msgstr ""
20203
20204 #. type: textblock
20205 #: ../fish/guestfish.pod:711
20206 msgid ""
20207 "Assuming you don't have a directory called literally C</home/*> then the "
20208 "above command will return an error."
20209 msgstr ""
20210
20211 #. type: textblock
20212 #: ../fish/guestfish.pod:714
20213 msgid "To perform wildcard expansion, use the C<glob> command."
20214 msgstr ""
20215
20216 #. type: verbatim
20217 #: ../fish/guestfish.pod:716
20218 #, no-wrap
20219 msgid ""
20220 " glob rm-rf /home/*\n"
20221 "\n"
20222 msgstr ""
20223
20224 #. type: textblock
20225 #: ../fish/guestfish.pod:718
20226 msgid ""
20227 "runs C<rm-rf> on each path that matches (ie. potentially running the command"
20228 " many times), equivalent to:"
20229 msgstr ""
20230
20231 #. type: verbatim
20232 #: ../fish/guestfish.pod:721
20233 #, no-wrap
20234 msgid ""
20235 " rm-rf /home/jim\n"
20236 " rm-rf /home/joe\n"
20237 " rm-rf /home/mary\n"
20238 "\n"
20239 msgstr ""
20240
20241 #. type: textblock
20242 #: ../fish/guestfish.pod:725
20243 msgid "C<glob> only works on simple guest paths and not on device names."
20244 msgstr ""
20245
20246 #. type: textblock
20247 #: ../fish/guestfish.pod:727
20248 msgid ""
20249 "If you have several parameters, each containing a wildcard, then glob will "
20250 "perform a Cartesian product."
20251 msgstr ""
20252
20253 #. type: =head1
20254 #: ../fish/guestfish.pod:730
20255 msgid "COMMENTS"
20256 msgstr "КОМЕНТАРІ"
20257
20258 #. type: textblock
20259 #: ../fish/guestfish.pod:732
20260 msgid ""
20261 "Any line which starts with a I<#> character is treated as a comment and "
20262 "ignored.  The I<#> can optionally be preceeded by whitespace, but B<not> by "
20263 "a command.  For example:"
20264 msgstr ""
20265
20266 #. type: verbatim
20267 #: ../fish/guestfish.pod:736
20268 #, no-wrap
20269 msgid ""
20270 " # this is a comment\n"
20271 "         # this is a comment\n"
20272 " foo # NOT a comment\n"
20273 "\n"
20274 msgstr ""
20275
20276 #. type: textblock
20277 #: ../fish/guestfish.pod:740
20278 msgid "Blank lines are also ignored."
20279 msgstr ""
20280
20281 #. type: =head1
20282 #: ../fish/guestfish.pod:742
20283 msgid "RUNNING COMMANDS LOCALLY"
20284 msgstr ""
20285
20286 #. type: textblock
20287 #: ../fish/guestfish.pod:744
20288 msgid ""
20289 "Any line which starts with a I<!> character is treated as a command sent to "
20290 "the local shell (C</bin/sh> or whatever L<system(3)> uses).  For example:"
20291 msgstr ""
20292
20293 #. type: verbatim
20294 #: ../fish/guestfish.pod:748
20295 #, no-wrap
20296 msgid ""
20297 " !mkdir local\n"
20298 " tgz-out /remote local/remote-data.tar.gz\n"
20299 "\n"
20300 msgstr ""
20301
20302 #. type: textblock
20303 #: ../fish/guestfish.pod:751
20304 msgid ""
20305 "will create a directory C<local> on the host, and then export the contents "
20306 "of C</remote> on the mounted filesystem to C<local/remote-data.tar.gz>.  "
20307 "(See C<tgz-out>)."
20308 msgstr ""
20309
20310 #. type: textblock
20311 #: ../fish/guestfish.pod:755
20312 msgid ""
20313 "To change the local directory, use the C<lcd> command.  C<!cd> will have no "
20314 "effect, due to the way that subprocesses work in Unix."
20315 msgstr ""
20316
20317 #. type: =head2
20318 #: ../fish/guestfish.pod:758
20319 msgid "LOCAL COMMANDS WITH INLINE EXECUTION"
20320 msgstr ""
20321
20322 #. type: textblock
20323 #: ../fish/guestfish.pod:760
20324 msgid ""
20325 "If a line starts with I<E<lt>!> then the shell command is executed (as for "
20326 "I<!>), but subsequently any output (stdout) of the shell command is parsed "
20327 "and executed as guestfish commands."
20328 msgstr ""
20329
20330 #. type: textblock
20331 #: ../fish/guestfish.pod:764
20332 msgid ""
20333 "Thus you can use shell script to construct arbitrary guestfish commands "
20334 "which are then parsed by guestfish."
20335 msgstr ""
20336
20337 #. type: textblock
20338 #: ../fish/guestfish.pod:767
20339 msgid ""
20340 "For example it is tedious to create a sequence of files (eg. C</foo.1> "
20341 "through C</foo.100>) using guestfish commands alone.  However this is simple"
20342 " if we use a shell script to create the guestfish commands for us:"
20343 msgstr ""
20344
20345 #. type: verbatim
20346 #: ../fish/guestfish.pod:772
20347 #, no-wrap
20348 msgid ""
20349 " <! for n in `seq 1 100`; do echo write /foo.$n $n; done\n"
20350 "\n"
20351 msgstr ""
20352
20353 #. type: textblock
20354 #: ../fish/guestfish.pod:774
20355 msgid "or with names like C</foo.001>:"
20356 msgstr ""
20357
20358 #. type: verbatim
20359 #: ../fish/guestfish.pod:776
20360 #, no-wrap
20361 msgid ""
20362 " <! for n in `seq 1 100`; do printf \"write /foo.%03d %d\\n\" $n $n; done\n"
20363 "\n"
20364 msgstr ""
20365
20366 #. type: textblock
20367 #: ../fish/guestfish.pod:778
20368 msgid ""
20369 "When using guestfish interactively it can be helpful to just run the shell "
20370 "script first (ie. remove the initial C<E<lt>> character so it is just an "
20371 "ordinary I<!> local command), see what guestfish commands it would run, and "
20372 "when you are happy with those prepend the C<E<lt>> character to run the "
20373 "guestfish commands for real."
20374 msgstr ""
20375
20376 #. type: =head1
20377 #: ../fish/guestfish.pod:784
20378 msgid "PIPES"
20379 msgstr "КАНАЛИ"
20380
20381 #. type: textblock
20382 #: ../fish/guestfish.pod:786
20383 msgid ""
20384 "Use C<command E<lt>spaceE<gt> | command> to pipe the output of the first "
20385 "command (a guestfish command) to the second command (any host command).  For"
20386 " example:"
20387 msgstr ""
20388
20389 #. type: verbatim
20390 #: ../fish/guestfish.pod:790
20391 #, no-wrap
20392 msgid ""
20393 " cat /etc/passwd | awk -F: '$3 == 0 { print }'\n"
20394 "\n"
20395 msgstr ""
20396
20397 #. type: textblock
20398 #: ../fish/guestfish.pod:792
20399 msgid ""
20400 "(where C<cat> is the guestfish cat command, but C<awk> is the host awk "
20401 "program).  The above command would list all accounts in the guest filesystem"
20402 " which have UID 0, ie. root accounts including backdoors.  Other examples:"
20403 msgstr ""
20404
20405 #. type: verbatim
20406 #: ../fish/guestfish.pod:797
20407 #, no-wrap
20408 msgid ""
20409 " hexdump /bin/ls | head\n"
20410 " list-devices | tail -1\n"
20411 " tgz-out / - | tar ztf -\n"
20412 "\n"
20413 msgstr ""
20414
20415 #. type: textblock
20416 #: ../fish/guestfish.pod:801
20417 msgid ""
20418 "The space before the pipe symbol is required, any space after the pipe "
20419 "symbol is optional.  Everything after the pipe symbol is just passed "
20420 "straight to the host shell, so it can contain redirections, globs and "
20421 "anything else that makes sense on the host side."
20422 msgstr ""
20423
20424 #. type: textblock
20425 #: ../fish/guestfish.pod:806
20426 msgid ""
20427 "To use a literal argument which begins with a pipe symbol, you have to quote"
20428 " it, eg:"
20429 msgstr ""
20430
20431 #. type: verbatim
20432 #: ../fish/guestfish.pod:809
20433 #, no-wrap
20434 msgid ""
20435 " echo \"|\"\n"
20436 "\n"
20437 msgstr ""
20438
20439 #. type: =head1
20440 #: ../fish/guestfish.pod:811
20441 msgid "HOME DIRECTORIES"
20442 msgstr ""
20443
20444 #. type: textblock
20445 #: ../fish/guestfish.pod:813
20446 msgid ""
20447 "If a parameter starts with the character C<~> then the tilde may be expanded"
20448 " as a home directory path (either C<~> for the current user's home "
20449 "directory, or C<~user> for another user)."
20450 msgstr ""
20451
20452 #. type: textblock
20453 #: ../fish/guestfish.pod:817
20454 msgid ""
20455 "Note that home directory expansion happens for users known I<on the host>, "
20456 "not in the guest filesystem."
20457 msgstr ""
20458
20459 #. type: textblock
20460 #: ../fish/guestfish.pod:820
20461 msgid ""
20462 "To use a literal argument which begins with a tilde, you have to quote it, "
20463 "eg:"
20464 msgstr ""
20465
20466 #. type: verbatim
20467 #: ../fish/guestfish.pod:823
20468 #, no-wrap
20469 msgid ""
20470 " echo \"~\"\n"
20471 "\n"
20472 msgstr ""
20473
20474 #. type: =head2
20475 #: ../fish/guestfish.pod:825 ../src/guestfs.pod:534
20476 msgid "ENCRYPTED DISKS"
20477 msgstr "ЗАШИФРОВАНІ ДИСКИ"
20478
20479 #. type: textblock
20480 #: ../fish/guestfish.pod:827
20481 msgid ""
20482 "Libguestfs has some support for Linux guests encrypted according to the "
20483 "Linux Unified Key Setup (LUKS) standard, which includes nearly all whole "
20484 "disk encryption systems used by modern Linux guests.  Currently only LVM-on-"
20485 "LUKS is supported."
20486 msgstr ""
20487
20488 #. type: textblock
20489 #: ../fish/guestfish.pod:832
20490 msgid "Identify encrypted block devices and partitions using L</vfs-type>:"
20491 msgstr ""
20492
20493 #. type: verbatim
20494 #: ../fish/guestfish.pod:834
20495 #, no-wrap
20496 msgid ""
20497 " ><fs> vfs-type /dev/sda2\n"
20498 " crypto_LUKS\n"
20499 "\n"
20500 msgstr ""
20501
20502 #. type: textblock
20503 #: ../fish/guestfish.pod:837
20504 msgid ""
20505 "Then open those devices using L</luks-open>.  This creates a device-mapper "
20506 "device called C</dev/mapper/luksdev>."
20507 msgstr ""
20508
20509 #. type: verbatim
20510 #: ../fish/guestfish.pod:840
20511 #, no-wrap
20512 msgid ""
20513 " ><fs> luks-open /dev/sda2 luksdev\n"
20514 " Enter key or passphrase (\"key\"): <enter the passphrase>\n"
20515 "\n"
20516 msgstr ""
20517
20518 #. type: textblock
20519 #: ../fish/guestfish.pod:843
20520 msgid ""
20521 "Finally you have to tell LVM to scan for volume groups on the newly created "
20522 "mapper device:"
20523 msgstr ""
20524
20525 #. type: verbatim
20526 #: ../fish/guestfish.pod:846
20527 #, no-wrap
20528 msgid ""
20529 " vgscan\n"
20530 " vg-activate-all true\n"
20531 "\n"
20532 msgstr ""
20533
20534 #. type: textblock
20535 #: ../fish/guestfish.pod:849
20536 msgid "The logical volume(s) can now be mounted in the usual way."
20537 msgstr ""
20538
20539 #. type: textblock
20540 #: ../fish/guestfish.pod:851
20541 msgid ""
20542 "Before closing a LUKS device you must unmount any logical volumes on it and "
20543 "deactivate the volume groups by calling C<vg-activate false VG> on each one."
20544 "  Then you can close the mapper device:"
20545 msgstr ""
20546
20547 #. type: verbatim
20548 #: ../fish/guestfish.pod:855
20549 #, no-wrap
20550 msgid ""
20551 " vg-activate false /dev/VG\n"
20552 " luks-close /dev/mapper/luksdev\n"
20553 "\n"
20554 msgstr ""
20555
20556 #. type: textblock
20557 #: ../fish/guestfish.pod:860
20558 msgid ""
20559 "If a path is prefixed with C<win:> then you can use Windows-style drive "
20560 "letters and paths (with some limitations).  The following commands are "
20561 "equivalent:"
20562 msgstr ""
20563
20564 #. type: verbatim
20565 #: ../fish/guestfish.pod:864
20566 #, no-wrap
20567 msgid ""
20568 " file /WINDOWS/system32/config/system.LOG\n"
20569 "\n"
20570 msgstr ""
20571
20572 #. type: verbatim
20573 #: ../fish/guestfish.pod:866
20574 #, no-wrap
20575 msgid ""
20576 " file win:\\windows\\system32\\config\\system.log\n"
20577 "\n"
20578 msgstr ""
20579
20580 #. type: verbatim
20581 #: ../fish/guestfish.pod:868
20582 #, no-wrap
20583 msgid ""
20584 " file WIN:C:\\Windows\\SYSTEM32\\CONFIG\\SYSTEM.LOG\n"
20585 "\n"
20586 msgstr ""
20587
20588 #. type: textblock
20589 #: ../fish/guestfish.pod:870
20590 msgid ""
20591 "The parameter is rewritten \"behind the scenes\" by looking up the position "
20592 "where the drive is mounted, prepending that to the path, changing all "
20593 "backslash characters to forward slash, then resolving the result using L"
20594 "</case-sensitive-path>.  For example if the E: drive was mounted on C</e> "
20595 "then the parameter might be rewritten like this:"
20596 msgstr ""
20597
20598 #. type: verbatim
20599 #: ../fish/guestfish.pod:876
20600 #, no-wrap
20601 msgid ""
20602 " win:e:\\foo\\bar => /e/FOO/bar\n"
20603 "\n"
20604 msgstr ""
20605
20606 #. type: textblock
20607 #: ../fish/guestfish.pod:878
20608 msgid "This only works in argument positions that expect a path."
20609 msgstr ""
20610
20611 #. type: =head1
20612 #: ../fish/guestfish.pod:880
20613 msgid "UPLOADING AND DOWNLOADING FILES"
20614 msgstr ""
20615
20616 #. type: textblock
20617 #: ../fish/guestfish.pod:882
20618 msgid ""
20619 "For commands such as C<upload>, C<download>, C<tar-in>, C<tar-out> and "
20620 "others which upload from or download to a local file, you can use the "
20621 "special filename C<-> to mean \"from stdin\" or \"to stdout\".  For example:"
20622 msgstr ""
20623
20624 #. type: verbatim
20625 #: ../fish/guestfish.pod:886
20626 #, no-wrap
20627 msgid ""
20628 " upload - /foo\n"
20629 "\n"
20630 msgstr ""
20631
20632 #. type: textblock
20633 #: ../fish/guestfish.pod:888
20634 msgid ""
20635 "reads stdin and creates from that a file C</foo> in the disk image, and:"
20636 msgstr ""
20637
20638 #. type: verbatim
20639 #: ../fish/guestfish.pod:891
20640 #, no-wrap
20641 msgid ""
20642 " tar-out /etc - | tar tf -\n"
20643 "\n"
20644 msgstr ""
20645
20646 #. type: textblock
20647 #: ../fish/guestfish.pod:893
20648 msgid ""
20649 "writes the tarball to stdout and then pipes that into the external \"tar\" "
20650 "command (see L</PIPES>)."
20651 msgstr ""
20652
20653 #. type: textblock
20654 #: ../fish/guestfish.pod:896
20655 msgid ""
20656 "When using C<-> to read from stdin, the input is read up to the end of "
20657 "stdin.  You can also use a special \"heredoc\"-like syntax to read up to "
20658 "some arbitrary end marker:"
20659 msgstr ""
20660
20661 #. type: verbatim
20662 #: ../fish/guestfish.pod:900
20663 #, no-wrap
20664 msgid ""
20665 " upload -<<END /foo\n"
20666 " input line 1\n"
20667 " input line 2\n"
20668 " input line 3\n"
20669 " END\n"
20670 "\n"
20671 msgstr ""
20672
20673 #. type: textblock
20674 #: ../fish/guestfish.pod:906
20675 msgid ""
20676 "Any string of characters can be used instead of C<END>.  The end marker must"
20677 " appear on a line of its own, without any preceeding or following characters"
20678 " (not even spaces)."
20679 msgstr ""
20680
20681 #. type: textblock
20682 #: ../fish/guestfish.pod:910
20683 msgid ""
20684 "Note that the C<-E<lt>E<lt>> syntax only applies to parameters used to "
20685 "upload local files (so-called \"FileIn\" parameters in the generator)."
20686 msgstr ""
20687
20688 #. type: =head1
20689 #: ../fish/guestfish.pod:913
20690 msgid "EXIT ON ERROR BEHAVIOUR"
20691 msgstr ""
20692
20693 #. type: textblock
20694 #: ../fish/guestfish.pod:915
20695 msgid ""
20696 "By default, guestfish will ignore any errors when in interactive mode (ie. "
20697 "taking commands from a human over a tty), and will exit on the first error "
20698 "in non-interactive mode (scripts, commands given on the command line)."
20699 msgstr ""
20700
20701 #. type: textblock
20702 #: ../fish/guestfish.pod:920
20703 msgid ""
20704 "If you prefix a command with a I<-> character, then that command will not "
20705 "cause guestfish to exit, even if that (one) command returns an error."
20706 msgstr ""
20707
20708 #. type: =head1
20709 #: ../fish/guestfish.pod:924
20710 msgid "REMOTE CONTROL GUESTFISH OVER A SOCKET"
20711 msgstr ""
20712
20713 #. type: textblock
20714 #: ../fish/guestfish.pod:926
20715 msgid ""
20716 "Guestfish can be remote-controlled over a socket.  This is useful "
20717 "particularly in shell scripts where you want to make several different "
20718 "changes to a filesystem, but you don't want the overhead of starting up a "
20719 "guestfish process each time."
20720 msgstr ""
20721
20722 #. type: textblock
20723 #: ../fish/guestfish.pod:931
20724 msgid "Start a guestfish server process using:"
20725 msgstr ""
20726
20727 #. type: verbatim
20728 #: ../fish/guestfish.pod:933
20729 #, no-wrap
20730 msgid ""
20731 " eval \"`guestfish --listen`\"\n"
20732 "\n"
20733 msgstr ""
20734
20735 #. type: textblock
20736 #: ../fish/guestfish.pod:935
20737 msgid "and then send it commands by doing:"
20738 msgstr ""
20739
20740 #. type: verbatim
20741 #: ../fish/guestfish.pod:937
20742 #, no-wrap
20743 msgid ""
20744 " guestfish --remote cmd [...]\n"
20745 "\n"
20746 msgstr ""
20747
20748 #. type: textblock
20749 #: ../fish/guestfish.pod:939
20750 msgid "To cause the server to exit, send it the exit command:"
20751 msgstr ""
20752
20753 #. type: textblock
20754 #: ../fish/guestfish.pod:943
20755 msgid ""
20756 "Note that the server will normally exit if there is an error in a command.  "
20757 "You can change this in the usual way.  See section L</EXIT ON ERROR "
20758 "BEHAVIOUR>."
20759 msgstr ""
20760
20761 #. type: =head2
20762 #: ../fish/guestfish.pod:947
20763 msgid "CONTROLLING MULTIPLE GUESTFISH PROCESSES"
20764 msgstr ""
20765
20766 #. type: textblock
20767 #: ../fish/guestfish.pod:949
20768 msgid ""
20769 "The C<eval> statement sets the environment variable C<$GUESTFISH_PID>, which"
20770 " is how the I<--remote> option knows where to send the commands.  You can "
20771 "have several guestfish listener processes running using:"
20772 msgstr ""
20773
20774 #. type: verbatim
20775 #: ../fish/guestfish.pod:953
20776 #, no-wrap
20777 msgid ""
20778 " eval \"`guestfish --listen`\"\n"
20779 " pid1=$GUESTFISH_PID\n"
20780 " eval \"`guestfish --listen`\"\n"
20781 " pid2=$GUESTFISH_PID\n"
20782 " ...\n"
20783 " guestfish --remote=$pid1 cmd\n"
20784 " guestfish --remote=$pid2 cmd\n"
20785 "\n"
20786 msgstr ""
20787
20788 #. type: =head2
20789 #: ../fish/guestfish.pod:961
20790 msgid "REMOTE CONTROL AND CSH"
20791 msgstr ""
20792
20793 #. type: textblock
20794 #: ../fish/guestfish.pod:963
20795 msgid ""
20796 "When using csh-like shells (csh, tcsh etc) you have to add the I<--csh> "
20797 "option:"
20798 msgstr ""
20799
20800 #. type: verbatim
20801 #: ../fish/guestfish.pod:966
20802 #, no-wrap
20803 msgid ""
20804 " eval \"`guestfish --listen --csh`\"\n"
20805 "\n"
20806 msgstr ""
20807
20808 #. type: =head2
20809 #: ../fish/guestfish.pod:968
20810 msgid "REMOTE CONTROL DETAILS"
20811 msgstr ""
20812
20813 #. type: textblock
20814 #: ../fish/guestfish.pod:970
20815 msgid ""
20816 "Remote control happens over a Unix domain socket called "
20817 "C</tmp/.guestfish-$UID/socket-$PID>, where C<$UID> is the effective user ID "
20818 "of the process, and C<$PID> is the process ID of the server."
20819 msgstr ""
20820
20821 #. type: textblock
20822 #: ../fish/guestfish.pod:974
20823 msgid "Guestfish client and server versions must match exactly."
20824 msgstr ""
20825
20826 #. type: =head2
20827 #: ../fish/guestfish.pod:976
20828 msgid "USING REMOTE CONTROL ROBUSTLY FROM SHELL SCRIPTS"
20829 msgstr ""
20830
20831 #. type: textblock
20832 #: ../fish/guestfish.pod:978
20833 msgid ""
20834 "From Bash, you can use the following code which creates a guestfish "
20835 "instance, correctly quotes the command line, handles failure to start, and "
20836 "cleans up guestfish when the script exits:"
20837 msgstr ""
20838
20839 #. type: verbatim
20840 #: ../fish/guestfish.pod:982 ../src/guestfs.pod:980
20841 #, no-wrap
20842 msgid ""
20843 " #!/bin/bash -\n"
20844 " \n"
20845 msgstr ""
20846
20847 #. type: verbatim
20848 #: ../fish/guestfish.pod:986
20849 #, no-wrap
20850 msgid ""
20851 " guestfish[0]=\"guestfish\"\n"
20852 " guestfish[1]=\"--listen\"\n"
20853 " guestfish[2]=\"--ro\"\n"
20854 " guestfish[3]=\"-a\"\n"
20855 " guestfish[4]=\"disk.img\"\n"
20856 " \n"
20857 msgstr ""
20858
20859 #. type: verbatim
20860 #: ../fish/guestfish.pod:992
20861 #, no-wrap
20862 msgid ""
20863 " GUESTFISH_PID=\n"
20864 " eval $(\"${guestfish[@]}\")\n"
20865 " if [ -z \"$GUESTFISH_PID\" ]; then\n"
20866 "     echo \"error: guestfish didn't start up, see error messages above\"\n"
20867 "     exit 1\n"
20868 " fi\n"
20869 " \n"
20870 msgstr ""
20871
20872 #. type: verbatim
20873 #: ../fish/guestfish.pod:999
20874 #, no-wrap
20875 msgid ""
20876 " cleanup_guestfish ()\n"
20877 " {\n"
20878 "     guestfish --remote -- exit >/dev/null 2>&1 ||:\n"
20879 " }\n"
20880 " trap cleanup_guestfish EXIT ERR\n"
20881 " \n"
20882 msgstr ""
20883
20884 #. type: verbatim
20885 #: ../fish/guestfish.pod:1005
20886 #, no-wrap
20887 msgid ""
20888 " guestfish --remote -- run\n"
20889 " \n"
20890 msgstr ""
20891
20892 #. type: verbatim
20893 #: ../fish/guestfish.pod:1007
20894 #, no-wrap
20895 msgid ""
20896 " # ...\n"
20897 "\n"
20898 msgstr ""
20899
20900 #. type: =head2
20901 #: ../fish/guestfish.pod:1009
20902 msgid "REMOTE CONTROL RUN COMMAND HANGING"
20903 msgstr ""
20904
20905 #. type: textblock
20906 #: ../fish/guestfish.pod:1011
20907 msgid ""
20908 "Using the C<run> (or C<launch>) command remotely in a command substitution "
20909 "context hangs, ie. don't do (note the backquotes):"
20910 msgstr ""
20911
20912 #. type: verbatim
20913 #: ../fish/guestfish.pod:1014
20914 #, no-wrap
20915 msgid ""
20916 " a=`guestfish --remote run`\n"
20917 "\n"
20918 msgstr ""
20919
20920 #. type: textblock
20921 #: ../fish/guestfish.pod:1016
20922 msgid ""
20923 "Since the C<run> command produces no output on stdout, this is not useful "
20924 "anyway.  For further information see "
20925 "L<https://bugzilla.redhat.com/show_bug.cgi?id=592910>."
20926 msgstr ""
20927
20928 #. type: =head1
20929 #: ../fish/guestfish.pod:1020
20930 msgid "PREPARED DISK IMAGES"
20931 msgstr ""
20932
20933 #. type: textblock
20934 #: ../fish/guestfish.pod:1022
20935 msgid ""
20936 "Use the I<-N type> or I<--new type> parameter to select one of a set of "
20937 "preformatted disk images that guestfish can make for you to save typing.  "
20938 "This is particularly useful for testing purposes.  This option is used "
20939 "instead of the I<-a> option, and like I<-a> can appear multiple times (and "
20940 "can be mixed with I<-a>)."
20941 msgstr ""
20942
20943 #. type: textblock
20944 #: ../fish/guestfish.pod:1028
20945 msgid ""
20946 "The new disk is called C<test1.img> for the first I<-N>, C<test2.img> for "
20947 "the second and so on.  Existing files in the current directory are "
20948 "I<overwritten>."
20949 msgstr ""
20950
20951 #. type: textblock
20952 #: ../fish/guestfish.pod:1032
20953 msgid ""
20954 "The type briefly describes how the disk should be sized, partitioned, how "
20955 "filesystem(s) should be created, and how content should be added.  "
20956 "Optionally the type can be followed by extra parameters, separated by C<:> "
20957 "(colon) characters.  For example, I<-N fs> creates a default 100MB, "
20958 "sparsely-allocated disk, containing a single partition, with the partition "
20959 "formatted as ext2.  I<-N fs:ext4:1G> is the same, but for an ext4 filesystem"
20960 " on a 1GB disk instead."
20961 msgstr ""
20962
20963 #. type: textblock
20964 #: ../fish/guestfish.pod:1040
20965 msgid "To list the available types and any extra parameters they take, run:"
20966 msgstr ""
20967
20968 #. type: textblock
20969 #: ../fish/guestfish.pod:1044
20970 msgid ""
20971 "Note that the prepared filesystem is not mounted.  You would usually have to"
20972 " use the C<mount /dev/sda1 /> command or add the I<-m /dev/sda1> option."
20973 msgstr ""
20974
20975 #. type: textblock
20976 #: ../fish/guestfish.pod:1048
20977 msgid ""
20978 "If any I<-N> or I<--new> options are given, the guest is automatically "
20979 "launched."
20980 msgstr ""
20981
20982 #. type: textblock
20983 #: ../fish/guestfish.pod:1053
20984 msgid "Create a 100MB disk with an ext4-formatted partition:"
20985 msgstr ""
20986
20987 #. type: verbatim
20988 #: ../fish/guestfish.pod:1055
20989 #, no-wrap
20990 msgid ""
20991 " guestfish -N fs:ext4\n"
20992 "\n"
20993 msgstr ""
20994
20995 #. type: textblock
20996 #: ../fish/guestfish.pod:1057
20997 msgid "Create a 32MB disk with a VFAT-formatted partition, and mount it:"
20998 msgstr ""
20999
21000 #. type: verbatim
21001 #: ../fish/guestfish.pod:1059
21002 #, no-wrap
21003 msgid ""
21004 " guestfish -N fs:vfat:32M -m /dev/sda1\n"
21005 "\n"
21006 msgstr ""
21007
21008 #. type: textblock
21009 #: ../fish/guestfish.pod:1061
21010 msgid "Create a blank 200MB disk:"
21011 msgstr ""
21012
21013 #. type: verbatim
21014 #: ../fish/guestfish.pod:1063
21015 #, no-wrap
21016 msgid ""
21017 " guestfish -N disk:200M\n"
21018 "\n"
21019 msgstr ""
21020
21021 #. type: =head1
21022 #: ../fish/guestfish.pod:1065
21023 msgid "PROGRESS BARS"
21024 msgstr ""
21025
21026 #. type: textblock
21027 #: ../fish/guestfish.pod:1067
21028 msgid ""
21029 "Some (not all) long-running commands send progress notification messages as "
21030 "they are running.  Guestfish turns these messages into progress bars."
21031 msgstr ""
21032
21033 #. type: textblock
21034 #: ../fish/guestfish.pod:1071
21035 msgid ""
21036 "When a command that supports progress bars takes longer than two seconds to "
21037 "run, and if progress bars are enabled, then you will see one appearing below"
21038 " the command:"
21039 msgstr ""
21040
21041 #. type: verbatim
21042 #: ../fish/guestfish.pod:1075
21043 #, no-wrap
21044 msgid ""
21045 " ><fs> copy-size /large-file /another-file 2048M\n"
21046 " / 10% [#####-----------------------------------------] 00:30\n"
21047 "\n"
21048 msgstr ""
21049
21050 #. type: textblock
21051 #: ../fish/guestfish.pod:1078
21052 msgid ""
21053 "The spinner on the left hand side moves round once for every progress "
21054 "notification received from the backend.  This is a (reasonably) golden "
21055 "assurance that the command is \"doing something\" even if the progress bar "
21056 "is not moving, because the command is able to send the progress "
21057 "notifications.  When the bar reaches 100% and the command finishes, the "
21058 "spinner disappears."
21059 msgstr ""
21060
21061 #. type: textblock
21062 #: ../fish/guestfish.pod:1085
21063 msgid ""
21064 "Progress bars are enabled by default when guestfish is used interactively.  "
21065 "You can enable them even for non-interactive modes using I<--progress-bars>,"
21066 " and you can disable them completely using I<--no-progress-bars>."
21067 msgstr ""
21068
21069 #. type: =head1
21070 #: ../fish/guestfish.pod:1090
21071 msgid "GUESTFISH COMMANDS"
21072 msgstr ""
21073
21074 #. type: textblock
21075 #: ../fish/guestfish.pod:1092
21076 msgid ""
21077 "The commands in this section are guestfish convenience commands, in other "
21078 "words, they are not part of the L<guestfs(3)> API."
21079 msgstr ""
21080
21081 #. type: =head2
21082 #: ../fish/guestfish.pod:1095
21083 msgid "help"
21084 msgstr "help"
21085
21086 #. type: verbatim
21087 #: ../fish/guestfish.pod:1097
21088 #, no-wrap
21089 msgid ""
21090 " help\n"
21091 " help cmd\n"
21092 "\n"
21093 msgstr ""
21094 " help\n"
21095 " help команда\n"
21096 "\n"
21097
21098 #. type: textblock
21099 #: ../fish/guestfish.pod:1100
21100 msgid "Without any parameter, this provides general help."
21101 msgstr "Без параметра показує загальну довідкову інформацію."
21102
21103 #. type: textblock
21104 #: ../fish/guestfish.pod:1102
21105 msgid "With a C<cmd> parameter, this displays detailed help for that command."
21106 msgstr ""
21107
21108 #. type: =head2
21109 #: ../fish/guestfish.pod:1104
21110 msgid "quit | exit"
21111 msgstr ""
21112
21113 #. type: textblock
21114 #: ../fish/guestfish.pod:1106
21115 msgid "This exits guestfish.  You can also use C<^D> key."
21116 msgstr ""
21117
21118 #. type: textblock
21119 #: ../fish/guestfish.pod:1108
21120 msgid "@FISH_COMMANDS@"
21121 msgstr ""
21122
21123 #. type: =head1
21124 #: ../fish/guestfish.pod:1110
21125 msgid "COMMANDS"
21126 msgstr "КОМАНДИ"
21127
21128 #. type: textblock
21129 #: ../fish/guestfish.pod:1112 ../src/guestfs.pod:1520
21130 msgid "@ACTIONS@"
21131 msgstr "@ACTIONS@"
21132
21133 #. type: textblock
21134 #: ../fish/guestfish.pod:1116
21135 msgid ""
21136 "guestfish returns 0 if the commands completed without error, or 1 if there "
21137 "was an error."
21138 msgstr ""
21139
21140 #. type: =item
21141 #: ../fish/guestfish.pod:1123
21142 msgid "EDITOR"
21143 msgstr "РЕДАКТОР"
21144
21145 #. type: textblock
21146 #: ../fish/guestfish.pod:1125
21147 msgid ""
21148 "The C<edit> command uses C<$EDITOR> as the editor.  If not set, it uses "
21149 "C<vi>."
21150 msgstr ""
21151
21152 #. type: =item
21153 #: ../fish/guestfish.pod:1128 ../src/guestfs.pod:3213
21154 msgid "FEBOOTSTRAP_KERNEL"
21155 msgstr ""
21156
21157 #. type: =item
21158 #: ../fish/guestfish.pod:1130 ../src/guestfs.pod:3215
21159 msgid "FEBOOTSTRAP_MODULES"
21160 msgstr ""
21161
21162 #. type: textblock
21163 #: ../fish/guestfish.pod:1132 ../src/guestfs.pod:3217
21164 msgid ""
21165 "These two environment variables allow the kernel that libguestfs uses in the"
21166 " appliance to be selected.  If C<$FEBOOTSTRAP_KERNEL> is not set, then the "
21167 "most recent host kernel is chosen.  For more information about kernel "
21168 "selection, see L<febootstrap-supermin-helper(8)>.  This feature is only "
21169 "available in febootstrap E<ge> 3.8."
21170 msgstr ""
21171
21172 #. type: =item
21173 #: ../fish/guestfish.pod:1138
21174 msgid "GUESTFISH_DISPLAY_IMAGE"
21175 msgstr ""
21176
21177 #. type: textblock
21178 #: ../fish/guestfish.pod:1140
21179 msgid ""
21180 "The C<display> command uses C<$GUESTFISH_DISPLAY_IMAGE> to display images.  "
21181 "If not set, it uses L<display(1)>."
21182 msgstr ""
21183
21184 #. type: =item
21185 #: ../fish/guestfish.pod:1143
21186 msgid "GUESTFISH_PID"
21187 msgstr ""
21188
21189 #. type: textblock
21190 #: ../fish/guestfish.pod:1145
21191 msgid ""
21192 "Used with the I<--remote> option to specify the remote guestfish process to "
21193 "control.  See section L</REMOTE CONTROL GUESTFISH OVER A SOCKET>."
21194 msgstr ""
21195
21196 #. type: =item
21197 #: ../fish/guestfish.pod:1149
21198 msgid "HEXEDITOR"
21199 msgstr ""
21200
21201 #. type: textblock
21202 #: ../fish/guestfish.pod:1151
21203 msgid ""
21204 "The L</hexedit> command uses C<$HEXEDITOR> as the external hex editor.  If "
21205 "not specified, the external L<hexedit(1)> program is used."
21206 msgstr ""
21207
21208 #. type: =item
21209 #: ../fish/guestfish.pod:1155
21210 msgid "HOME"
21211 msgstr "ДОМІВКА"
21212
21213 #. type: textblock
21214 #: ../fish/guestfish.pod:1157
21215 msgid ""
21216 "If compiled with GNU readline support, various files in the home directory "
21217 "can be used.  See L</FILES>."
21218 msgstr ""
21219
21220 #. type: =item
21221 #: ../fish/guestfish.pod:1160 ../src/guestfs.pod:3223
21222 msgid "LIBGUESTFS_APPEND"
21223 msgstr ""
21224
21225 #. type: textblock
21226 #: ../fish/guestfish.pod:1162 ../src/guestfs.pod:3225
21227 msgid "Pass additional options to the guest kernel."
21228 msgstr ""
21229
21230 #. type: =item
21231 #: ../fish/guestfish.pod:1164 ../src/guestfs.pod:3227
21232 msgid "LIBGUESTFS_DEBUG"
21233 msgstr "LIBGUESTFS_DEBUG"
21234
21235 #. type: textblock
21236 #: ../fish/guestfish.pod:1166
21237 msgid ""
21238 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages.  This has the same "
21239 "effect as using the B<-v> option."
21240 msgstr ""
21241
21242 #. type: =item
21243 #: ../fish/guestfish.pod:1169 ../src/guestfs.pod:3232
21244 msgid "LIBGUESTFS_MEMSIZE"
21245 msgstr "LIBGUESTFS_MEMSIZE"
21246
21247 #. type: textblock
21248 #: ../fish/guestfish.pod:1171 ../src/guestfs.pod:3234
21249 msgid ""
21250 "Set the memory allocated to the qemu process, in megabytes.  For example:"
21251 msgstr ""
21252
21253 #. type: verbatim
21254 #: ../fish/guestfish.pod:1174 ../src/guestfs.pod:3237
21255 #, no-wrap
21256 msgid ""
21257 " LIBGUESTFS_MEMSIZE=700\n"
21258 "\n"
21259 msgstr ""
21260 " LIBGUESTFS_MEMSIZE=700\n"
21261 "\n"
21262
21263 #. type: =item
21264 #: ../fish/guestfish.pod:1176 ../src/guestfs.pod:3239
21265 msgid "LIBGUESTFS_PATH"
21266 msgstr ""
21267
21268 #. type: textblock
21269 #: ../fish/guestfish.pod:1178
21270 msgid ""
21271 "Set the path that guestfish uses to search for kernel and initrd.img.  See "
21272 "the discussion of paths in L<guestfs(3)>."
21273 msgstr ""
21274
21275 #. type: =item
21276 #: ../fish/guestfish.pod:1181 ../src/guestfs.pod:3244
21277 msgid "LIBGUESTFS_QEMU"
21278 msgstr ""
21279
21280 #. type: textblock
21281 #: ../fish/guestfish.pod:1183 ../src/guestfs.pod:3246
21282 msgid ""
21283 "Set the default qemu binary that libguestfs uses.  If not set, then the qemu"
21284 " which was found at compile time by the configure script is used."
21285 msgstr ""
21286
21287 #. type: =item
21288 #: ../fish/guestfish.pod:1187 ../src/guestfs.pod:3252
21289 msgid "LIBGUESTFS_TRACE"
21290 msgstr ""
21291
21292 #. type: textblock
21293 #: ../fish/guestfish.pod:1189
21294 msgid "Set C<LIBGUESTFS_TRACE=1> to enable command traces."
21295 msgstr ""
21296
21297 #. type: =item
21298 #: ../fish/guestfish.pod:1191
21299 msgid "PAGER"
21300 msgstr "РОЗБИТТЯ НА СТОРІНКИ"
21301
21302 #. type: textblock
21303 #: ../fish/guestfish.pod:1193
21304 msgid ""
21305 "The C<more> command uses C<$PAGER> as the pager.  If not set, it uses "
21306 "C<more>."
21307 msgstr ""
21308
21309 #. type: =item
21310 #: ../fish/guestfish.pod:1196 ../sparsify/virt-sparsify.pod:236
21311 #: ../src/guestfs.pod:3257
21312 msgid "TMPDIR"
21313 msgstr ""
21314
21315 #. type: textblock
21316 #: ../fish/guestfish.pod:1198 ../src/guestfs.pod:3259
21317 msgid ""
21318 "Location of temporary directory, defaults to C</tmp> except for the cached "
21319 "supermin appliance which defaults to C</var/tmp>."
21320 msgstr ""
21321
21322 #. type: textblock
21323 #: ../fish/guestfish.pod:1201 ../src/guestfs.pod:3262
21324 msgid ""
21325 "If libguestfs was compiled to use the supermin appliance then the real "
21326 "appliance is cached in this directory, shared between all handles belonging "
21327 "to the same EUID.  You can use C<$TMPDIR> to configure another directory to "
21328 "use in case C</var/tmp> is not large enough."
21329 msgstr ""
21330
21331 #. type: =head1
21332 #: ../fish/guestfish.pod:1209 ../fuse/guestmount.pod:297
21333 #: ../rescue/virt-rescue.pod:273
21334 msgid "FILES"
21335 msgstr "ФАЙЛИ"
21336
21337 #. type: =item
21338 #: ../fish/guestfish.pod:1213 ../fuse/guestmount.pod:301
21339 #: ../rescue/virt-rescue.pod:277
21340 msgid "$HOME/.libguestfs-tools.rc"
21341 msgstr ""
21342
21343 #. type: =item
21344 #: ../fish/guestfish.pod:1215 ../fuse/guestmount.pod:303
21345 #: ../rescue/virt-rescue.pod:279
21346 msgid "/etc/libguestfs-tools.conf"
21347 msgstr ""
21348
21349 #. type: textblock
21350 #: ../fish/guestfish.pod:1217 ../fuse/guestmount.pod:305
21351 #: ../rescue/virt-rescue.pod:281
21352 msgid ""
21353 "This configuration file controls the default read-only or read-write mode "
21354 "(I<--ro> or I<--rw>)."
21355 msgstr ""
21356
21357 #. type: textblock
21358 #: ../fish/guestfish.pod:1220
21359 msgid "See L</OPENING DISKS FOR READ AND WRITE>."
21360 msgstr "Див. L</OPENING DISKS FOR READ AND WRITE>."
21361
21362 #. type: =item
21363 #: ../fish/guestfish.pod:1222
21364 msgid "$HOME/.guestfish"
21365 msgstr ""
21366
21367 #. type: textblock
21368 #: ../fish/guestfish.pod:1224
21369 msgid ""
21370 "If compiled with GNU readline support, then the command history is saved in "
21371 "this file."
21372 msgstr ""
21373
21374 #. type: =item
21375 #: ../fish/guestfish.pod:1227
21376 msgid "$HOME/.inputrc"
21377 msgstr ""
21378
21379 #. type: =item
21380 #: ../fish/guestfish.pod:1229
21381 msgid "/etc/inputrc"
21382 msgstr ""
21383
21384 #. type: textblock
21385 #: ../fish/guestfish.pod:1231
21386 msgid ""
21387 "If compiled with GNU readline support, then these files can be used to "
21388 "configure readline.  For further information, please see "
21389 "L<readline(3)/INITIALIZATION FILE>."
21390 msgstr ""
21391
21392 #. type: textblock
21393 #: ../fish/guestfish.pod:1235
21394 msgid "To write rules which only apply to guestfish, use:"
21395 msgstr ""
21396
21397 #. type: verbatim
21398 #: ../fish/guestfish.pod:1237
21399 #, no-wrap
21400 msgid ""
21401 " $if guestfish\n"
21402 " ...\n"
21403 " $endif\n"
21404 "\n"
21405 msgstr ""
21406
21407 #. type: textblock
21408 #: ../fish/guestfish.pod:1241
21409 msgid ""
21410 "Variables that you can set in inputrc that change the behaviour of guestfish"
21411 " in useful ways include:"
21412 msgstr ""
21413
21414 #. type: =item
21415 #: ../fish/guestfish.pod:1246
21416 msgid "completion-ignore-case (default: on)"
21417 msgstr ""
21418
21419 #. type: textblock
21420 #: ../fish/guestfish.pod:1248
21421 msgid ""
21422 "By default, guestfish will ignore case when tab-completing paths on the "
21423 "disk.  Use:"
21424 msgstr ""
21425
21426 #. type: verbatim
21427 #: ../fish/guestfish.pod:1251
21428 #, no-wrap
21429 msgid ""
21430 " set completion-ignore-case off\n"
21431 "\n"
21432 msgstr ""
21433
21434 #. type: textblock
21435 #: ../fish/guestfish.pod:1253
21436 msgid "to make guestfish case sensitive."
21437 msgstr ""
21438
21439 #. type: =item
21440 #: ../fish/guestfish.pod:1257
21441 msgid "test1.img"
21442 msgstr ""
21443
21444 #. type: =item
21445 #: ../fish/guestfish.pod:1259
21446 msgid "test2.img (etc)"
21447 msgstr ""
21448
21449 #. type: textblock
21450 #: ../fish/guestfish.pod:1261
21451 msgid ""
21452 "When using the I<-N> or I<--new> option, the prepared disk or filesystem "
21453 "will be created in the file C<test1.img> in the current directory.  The "
21454 "second use of I<-N> will use C<test2.img> and so on.  Any existing file with"
21455 " the same name will be overwritten."
21456 msgstr ""
21457
21458 #. type: textblock
21459 #: ../fish/guestfish.pod:1270
21460 msgid ""
21461 "L<guestfs(3)>, L<http://libguestfs.org/>, L<virt-alignment-scan(1)>, L<virt-"
21462 "cat(1)>, L<virt-copy-in(1)>, L<virt-copy-out(1)>, L<virt-df(1)>, L<virt-"
21463 "edit(1)>, L<virt-filesystems(1)>, L<virt-inspector(1)>, L<virt-list-"
21464 "filesystems(1)>, L<virt-list-partitions(1)>, L<virt-ls(1)>, L<virt-make-"
21465 "fs(1)>, L<virt-rescue(1)>, L<virt-resize(1)>, L<virt-sparsify(1)>, L<virt-"
21466 "sysprep(1)>, L<virt-tar(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<virt-"
21467 "win-reg(1)>, L<display(1)>, L<hexedit(1)>, L<febootstrap-supermin-"
21468 "helper(8)>."
21469 msgstr ""
21470
21471 #. type: textblock
21472 #: ../fish/guestfish.pod:1302 ../src/guestfs.pod:3354
21473 #: ../test-tool/libguestfs-test-tool.pod:112
21474 msgid "Copyright (C) 2009-2011 Red Hat Inc.  L<http://libguestfs.org/>"
21475 msgstr ""
21476
21477 #. type: textblock
21478 #: ../fish/virt-copy-in.pod:5
21479 msgid ""
21480 "virt-copy-in - Copy files and directories into a virtual machine disk image."
21481 msgstr ""
21482
21483 #. type: verbatim
21484 #: ../fish/virt-copy-in.pod:9
21485 #, no-wrap
21486 msgid ""
21487 " virt-copy-in -a disk.img file|dir [file|dir ...] /destination\n"
21488 "\n"
21489 msgstr ""
21490
21491 #. type: verbatim
21492 #: ../fish/virt-copy-in.pod:11
21493 #, no-wrap
21494 msgid ""
21495 " virt-copy-in -d domain file|dir [file|dir ...] /destination\n"
21496 "\n"
21497 msgstr ""
21498
21499 #. type: textblock
21500 #: ../fish/virt-copy-in.pod:15
21501 msgid ""
21502 "Using C<virt-copy-in> on live virtual machines can be dangerous, potentially"
21503 " causing disk corruption.  The virtual machine must be shut down before you "
21504 "use this command."
21505 msgstr ""
21506
21507 #. type: textblock
21508 #: ../fish/virt-copy-in.pod:21
21509 msgid ""
21510 "C<virt-copy-in> copies files and directories from the local disk into a "
21511 "virtual machine disk image or named libvirt domain."
21512 msgstr ""
21513
21514 #. type: textblock
21515 #: ../fish/virt-copy-in.pod:24
21516 msgid ""
21517 "You can give one of more filenames and directories on the command line.  "
21518 "Directories are copied in recursively.  The final parameter must be the "
21519 "destination directory in the disk image which must be an absolute path "
21520 "starting with a C</> character."
21521 msgstr ""
21522
21523 #. type: verbatim
21524 #: ../fish/virt-copy-in.pod:33
21525 #, no-wrap
21526 msgid ""
21527 " virt-copy-in -d MyGuest resolv.conf /etc\n"
21528 "\n"
21529 msgstr ""
21530
21531 #. type: textblock
21532 #: ../fish/virt-copy-in.pod:35 ../fish/virt-tar-in.pod:32
21533 msgid "Upload a home directory to a guest:"
21534 msgstr ""
21535
21536 #. type: verbatim
21537 #: ../fish/virt-copy-in.pod:37
21538 #, no-wrap
21539 msgid ""
21540 " virt-copy-in -d MyGuest skel /home\n"
21541 "\n"
21542 msgstr ""
21543
21544 #. type: =head1
21545 #: ../fish/virt-copy-in.pod:39 ../fish/virt-copy-out.pod:28
21546 #: ../fish/virt-tar-in.pod:36 ../fish/virt-tar-out.pod:30
21547 msgid "JUST A SHELL SCRIPT WRAPPER AROUND GUESTFISH"
21548 msgstr ""
21549
21550 #. type: textblock
21551 #: ../fish/virt-copy-in.pod:41
21552 msgid ""
21553 "This command is just a simple shell script wrapper around the "
21554 "L<guestfish(1)> C<copy-in> command.  For anything more complex than a "
21555 "trivial copy, you are probably better off using guestfish directly."
21556 msgstr ""
21557
21558 #. type: textblock
21559 #: ../fish/virt-copy-in.pod:47 ../fish/virt-copy-out.pod:36
21560 #: ../fish/virt-tar-in.pod:44 ../fish/virt-tar-out.pod:38
21561 msgid ""
21562 "Since the shell script just passes options straight to guestfish, read "
21563 "L<guestfish(1)> to see the full list of options."
21564 msgstr ""
21565
21566 #. type: textblock
21567 #: ../fish/virt-copy-in.pod:52
21568 msgid ""
21569 "L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-out(1)>, L<virt-edit(1)>, L"
21570 "<virt-tar-in(1)>, L<virt-tar-out(1)>, L<http://libguestfs.org/>."
21571 msgstr ""
21572
21573 #. type: textblock
21574 #: ../fish/virt-copy-in.pod:66 ../fish/virt-copy-out.pod:55
21575 #: ../fish/virt-tar-in.pod:64 ../fish/virt-tar-out.pod:57
21576 msgid "Copyright (C) 2011 Red Hat Inc.  L<http://libguestfs.org/>"
21577 msgstr ""
21578
21579 #. type: textblock
21580 #: ../fish/virt-copy-out.pod:5
21581 msgid ""
21582 "virt-copy-out - Copy files and directories out of a virtual machine disk "
21583 "image."
21584 msgstr ""
21585
21586 #. type: verbatim
21587 #: ../fish/virt-copy-out.pod:9
21588 #, no-wrap
21589 msgid ""
21590 " virt-copy-out -a disk.img /file|dir [/file|dir ...] localdir\n"
21591 "\n"
21592 msgstr ""
21593
21594 #. type: verbatim
21595 #: ../fish/virt-copy-out.pod:11
21596 #, no-wrap
21597 msgid ""
21598 " virt-copy-out -d domain /file|dir [/file|dir ...] localdir\n"
21599 "\n"
21600 msgstr ""
21601
21602 #. type: textblock
21603 #: ../fish/virt-copy-out.pod:15
21604 msgid ""
21605 "C<virt-copy-out> copies files and directories out of a virtual machine disk "
21606 "image or named libvirt domain."
21607 msgstr ""
21608
21609 #. type: textblock
21610 #: ../fish/virt-copy-out.pod:18
21611 msgid ""
21612 "You can give one of more filenames and directories on the command line.  "
21613 "Directories are copied out recursively."
21614 msgstr ""
21615
21616 #. type: textblock
21617 #: ../fish/virt-copy-out.pod:23
21618 msgid "Download the home directories from a virtual machine:"
21619 msgstr ""
21620
21621 #. type: verbatim
21622 #: ../fish/virt-copy-out.pod:25
21623 #, no-wrap
21624 msgid ""
21625 " mkdir homes\n"
21626 " virt-copy-out -d MyGuest /home homes\n"
21627 "\n"
21628 msgstr ""
21629
21630 #. type: textblock
21631 #: ../fish/virt-copy-out.pod:30
21632 msgid ""
21633 "This command is just a simple shell script wrapper around the "
21634 "L<guestfish(1)> C<copy-out> command.  For anything more complex than a "
21635 "trivial copy, you are probably better off using guestfish directly."
21636 msgstr ""
21637
21638 #. type: textblock
21639 #: ../fish/virt-copy-out.pod:41
21640 msgid ""
21641 "L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-edit(1)>, L"
21642 "<virt-tar-in(1)>, L<virt-tar-out(1)>, L<http://libguestfs.org/>."
21643 msgstr ""
21644
21645 #. type: textblock
21646 #: ../fish/virt-tar-in.pod:5
21647 msgid "virt-tar-in - Unpack a tarball into a virtual machine disk image."
21648 msgstr ""
21649
21650 #. type: verbatim
21651 #: ../fish/virt-tar-in.pod:9
21652 #, no-wrap
21653 msgid ""
21654 " virt-tar-in -a disk.img data.tar /destination\n"
21655 "\n"
21656 msgstr ""
21657
21658 #. type: verbatim
21659 #: ../fish/virt-tar-in.pod:11
21660 #, no-wrap
21661 msgid ""
21662 " virt-tar-in -d domain data.tar /destination\n"
21663 "\n"
21664 msgstr ""
21665
21666 #. type: verbatim
21667 #: ../fish/virt-tar-in.pod:13
21668 #, no-wrap
21669 msgid ""
21670 " zcat data.tar.gz | virt-tar-in -d domain - /destination\n"
21671 "\n"
21672 msgstr ""
21673
21674 #. type: textblock
21675 #: ../fish/virt-tar-in.pod:17
21676 msgid ""
21677 "Using C<virt-tar-in> on live virtual machines can be dangerous, potentially "
21678 "causing disk corruption.  The virtual machine must be shut down before you "
21679 "use this command."
21680 msgstr ""
21681
21682 #. type: textblock
21683 #: ../fish/virt-tar-in.pod:23
21684 msgid ""
21685 "C<virt-tar-in> unpacks an uncompressed tarball into a virtual machine disk "
21686 "image or named libvirt domain."
21687 msgstr ""
21688
21689 #. type: textblock
21690 #: ../fish/virt-tar-in.pod:26
21691 msgid ""
21692 "The first parameter is the tar file.  Use C<-> to read the tar file from "
21693 "standard input.  The second parameter is the absolute target directory to "
21694 "unpack into."
21695 msgstr ""
21696
21697 #. type: verbatim
21698 #: ../fish/virt-tar-in.pod:34
21699 #, no-wrap
21700 msgid ""
21701 " virt-tar-in -d MyGuest homes.tar /home\n"
21702 "\n"
21703 msgstr ""
21704
21705 #. type: textblock
21706 #: ../fish/virt-tar-in.pod:38
21707 msgid ""
21708 "This command is just a simple shell script wrapper around the "
21709 "L<guestfish(1)> C<tar-in> command.  For anything more complex than a trivial"
21710 " copy, you are probably better off using guestfish directly."
21711 msgstr ""
21712
21713 #. type: textblock
21714 #: ../fish/virt-tar-in.pod:49
21715 msgid ""
21716 "L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-copy-out(1)>, L"
21717 "<virt-edit(1)>, L<virt-make-fs(1)>, L<virt-tar-out(1)>, "
21718 "L<http://libguestfs.org/>."
21719 msgstr ""
21720
21721 #. type: textblock
21722 #: ../fish/virt-tar-out.pod:5
21723 msgid ""
21724 "virt-tar-out - Pack a virtual machine disk image directory into a tarball."
21725 msgstr ""
21726
21727 #. type: verbatim
21728 #: ../fish/virt-tar-out.pod:9
21729 #, no-wrap
21730 msgid ""
21731 " virt-tar-out -a disk.img /dir files.tar\n"
21732 "\n"
21733 msgstr ""
21734
21735 #. type: verbatim
21736 #: ../fish/virt-tar-out.pod:11
21737 #, no-wrap
21738 msgid ""
21739 " virt-tar-out -d domain /dir files.tar\n"
21740 "\n"
21741 msgstr ""
21742
21743 #. type: verbatim
21744 #: ../fish/virt-tar-out.pod:13
21745 #, no-wrap
21746 msgid ""
21747 " virt-tar-out -d domain /dir - | gzip --best > files.tar.gz\n"
21748 "\n"
21749 msgstr ""
21750
21751 #. type: textblock
21752 #: ../fish/virt-tar-out.pod:17
21753 msgid ""
21754 "C<virt-tar-out> packs a virtual machine disk image directory into a tarball."
21755 msgstr ""
21756
21757 #. type: textblock
21758 #: ../fish/virt-tar-out.pod:20
21759 msgid ""
21760 "The first parameter is the absolute path of the virtual machine directory.  "
21761 "The second parameter is the tar file to write.  Use C<-> to write to "
21762 "standard output."
21763 msgstr ""
21764
21765 #. type: textblock
21766 #: ../fish/virt-tar-out.pod:26
21767 msgid "Download the home directories from a guest:"
21768 msgstr ""
21769
21770 #. type: verbatim
21771 #: ../fish/virt-tar-out.pod:28
21772 #, no-wrap
21773 msgid ""
21774 " virt-tar-out -d MyGuest /home - | gzip --best > homes.tar.gz\n"
21775 "\n"
21776 msgstr ""
21777
21778 #. type: textblock
21779 #: ../fish/virt-tar-out.pod:32
21780 msgid ""
21781 "This command is just a simple shell script wrapper around the "
21782 "L<guestfish(1)> C<tar-out> command.  For anything more complex than a "
21783 "trivial copy, you are probably better off using guestfish directly."
21784 msgstr ""
21785
21786 #. type: textblock
21787 #: ../fish/virt-tar-out.pod:43
21788 msgid ""
21789 "L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-copy-out(1)>, L"
21790 "<virt-edit(1)>, L<virt-tar-in(1)>, L<http://libguestfs.org/>."
21791 msgstr ""
21792
21793 #. type: textblock
21794 #: ../fuse/guestmount.pod:5
21795 msgid ""
21796 "guestmount - Mount a guest filesystem on the host using FUSE and libguestfs"
21797 msgstr ""
21798
21799 #. type: verbatim
21800 #: ../fuse/guestmount.pod:9
21801 #, no-wrap
21802 msgid ""
21803 " guestmount [--options] -a disk.img -m device [--ro] mountpoint\n"
21804 "\n"
21805 msgstr ""
21806
21807 #. type: verbatim
21808 #: ../fuse/guestmount.pod:11
21809 #, no-wrap
21810 msgid ""
21811 " guestmount [--options] -a disk.img -i [--ro] mountpoint\n"
21812 "\n"
21813 msgstr ""
21814
21815 #. type: verbatim
21816 #: ../fuse/guestmount.pod:13
21817 #, no-wrap
21818 msgid ""
21819 " guestmount [--options] -d Guest -i [--ro] mountpoint\n"
21820 "\n"
21821 msgstr ""
21822
21823 #. type: textblock
21824 #: ../fuse/guestmount.pod:17
21825 msgid ""
21826 "You must I<not> use C<guestmount> in read-write mode on live virtual "
21827 "machines.  If you do this, you risk disk corruption in the VM."
21828 msgstr ""
21829
21830 #. type: textblock
21831 #: ../fuse/guestmount.pod:22
21832 msgid ""
21833 "The guestmount program can be used to mount virtual machine filesystems and "
21834 "other disk images on the host.  It uses libguestfs for access to the guest "
21835 "filesystem, and FUSE (the \"filesystem in userspace\") to make it appear as "
21836 "a mountable device."
21837 msgstr ""
21838
21839 #. type: textblock
21840 #: ../fuse/guestmount.pod:27
21841 msgid ""
21842 "Along with other options, you have to give at least one device (I<-a> "
21843 "option) or libvirt domain (I<-d> option), and at least one mountpoint (I<-m>"
21844 " option) or use the I<-i> inspection option or the I<--live> option.  How "
21845 "this works is better explained in the L<guestfish(1)> manual page, or by "
21846 "looking at the examples below."
21847 msgstr ""
21848
21849 #. type: textblock
21850 #: ../fuse/guestmount.pod:33
21851 msgid ""
21852 "FUSE lets you mount filesystems as non-root.  The mountpoint must be owned "
21853 "by you, and the filesystem will not be visible to any other users unless you"
21854 " make certain global configuration changes to C</etc/fuse.conf>.  To unmount"
21855 " the filesystem, use the C<fusermount -u> command."
21856 msgstr ""
21857
21858 #. type: textblock
21859 #: ../fuse/guestmount.pod:41
21860 msgid ""
21861 "For a typical Windows guest which has its main filesystem on the first "
21862 "partition:"
21863 msgstr ""
21864
21865 #. type: verbatim
21866 #: ../fuse/guestmount.pod:44
21867 #, no-wrap
21868 msgid ""
21869 " guestmount -a windows.img -m /dev/sda1 --ro /mnt\n"
21870 "\n"
21871 msgstr ""
21872
21873 #. type: textblock
21874 #: ../fuse/guestmount.pod:46
21875 msgid ""
21876 "For a typical Linux guest which has a /boot filesystem on the first "
21877 "partition, and the root filesystem on a logical volume:"
21878 msgstr ""
21879
21880 #. type: verbatim
21881 #: ../fuse/guestmount.pod:49
21882 #, no-wrap
21883 msgid ""
21884 " guestmount -a linux.img -m /dev/VG/LV -m /dev/sda1:/boot --ro /mnt\n"
21885 "\n"
21886 msgstr ""
21887
21888 #. type: textblock
21889 #: ../fuse/guestmount.pod:51
21890 msgid "To get libguestfs to detect guest mountpoints for you:"
21891 msgstr ""
21892
21893 #. type: verbatim
21894 #: ../fuse/guestmount.pod:53
21895 #, no-wrap
21896 msgid ""
21897 " guestmount -a guest.img -i --ro /mnt\n"
21898 "\n"
21899 msgstr ""
21900
21901 #. type: textblock
21902 #: ../fuse/guestmount.pod:55
21903 msgid "For a libvirt guest called \"Guest\" you could do:"
21904 msgstr ""
21905
21906 #. type: verbatim
21907 #: ../fuse/guestmount.pod:57
21908 #, no-wrap
21909 msgid ""
21910 " guestmount -d Guest -i --ro /mnt\n"
21911 "\n"
21912 msgstr ""
21913
21914 #. type: textblock
21915 #: ../fuse/guestmount.pod:59
21916 msgid ""
21917 "If you don't know what filesystems are contained in a guest or disk image, "
21918 "use L<virt-filesystems(1)> first:"
21919 msgstr ""
21920
21921 #. type: verbatim
21922 #: ../fuse/guestmount.pod:62
21923 #, no-wrap
21924 msgid ""
21925 " virt-filesystems MyGuest\n"
21926 "\n"
21927 msgstr ""
21928
21929 #. type: textblock
21930 #: ../fuse/guestmount.pod:64
21931 msgid ""
21932 "If you want to trace the libguestfs calls but without excessive debugging "
21933 "information, we recommend:"
21934 msgstr ""
21935
21936 #. type: verbatim
21937 #: ../fuse/guestmount.pod:67
21938 #, no-wrap
21939 msgid ""
21940 " guestmount [...] --trace /mnt\n"
21941 "\n"
21942 msgstr ""
21943
21944 #. type: textblock
21945 #: ../fuse/guestmount.pod:69
21946 msgid "If you want to debug the program, we recommend:"
21947 msgstr ""
21948
21949 #. type: verbatim
21950 #: ../fuse/guestmount.pod:71
21951 #, no-wrap
21952 msgid ""
21953 " guestmount [...] --trace --verbose /mnt\n"
21954 "\n"
21955 msgstr ""
21956
21957 #. type: =head1
21958 #: ../fuse/guestmount.pod:73 ../rescue/virt-rescue.pod:68
21959 #: ../resize/virt-resize.pod:621
21960 msgid "NOTES"
21961 msgstr "ПРИМІТКИ"
21962
21963 #. type: =head2
21964 #: ../fuse/guestmount.pod:75
21965 msgid "Other users cannot see the filesystem by default"
21966 msgstr ""
21967
21968 #. type: textblock
21969 #: ../fuse/guestmount.pod:77
21970 msgid ""
21971 "If you mount a filesystem as one user (eg. root), then other users will not "
21972 "be able to see it by default.  The fix is to add the FUSE C<allow_other> "
21973 "option when mounting:"
21974 msgstr ""
21975
21976 #. type: verbatim
21977 #: ../fuse/guestmount.pod:81
21978 #, no-wrap
21979 msgid ""
21980 " sudo guestmount [...] -o allow_other /mnt\n"
21981 "\n"
21982 msgstr ""
21983
21984 #. type: =head2
21985 #: ../fuse/guestmount.pod:83
21986 msgid "Enabling FUSE"
21987 msgstr ""
21988
21989 #. type: textblock
21990 #: ../fuse/guestmount.pod:85
21991 msgid ""
21992 "On some distros, you may need to add yourself to a special group (eg. "
21993 "C<fuse>) before you can use any FUSE filesystem.  This is necessary on "
21994 "Debian and derivatives."
21995 msgstr ""
21996
21997 #. type: textblock
21998 #: ../fuse/guestmount.pod:89
21999 msgid ""
22000 "On other distros, no special group is required.  It is not necessary on "
22001 "Fedora or Red Hat Enterprise Linux."
22002 msgstr ""
22003
22004 #. type: textblock
22005 #: ../fuse/guestmount.pod:100
22006 msgid "Add a block device or virtual machine image."
22007 msgstr ""
22008
22009 #. type: =item
22010 #: ../fuse/guestmount.pod:123
22011 msgid "B<--dir-cache-timeout N>"
22012 msgstr "B<--dir-cache-timeout N>"
22013
22014 #. type: textblock
22015 #: ../fuse/guestmount.pod:125
22016 msgid ""
22017 "Set the readdir cache timeout to I<N> seconds, the default being 60 seconds."
22018 "  The readdir cache [actually, there are several semi-independent caches] is"
22019 " populated after a readdir(2) call with the stat and extended attributes of "
22020 "the files in the directory, in anticipation that they will be requested soon"
22021 " after."
22022 msgstr ""
22023
22024 #. type: textblock
22025 #: ../fuse/guestmount.pod:131
22026 msgid ""
22027 "There is also a different attribute cache implemented by FUSE (see the FUSE "
22028 "option I<-o attr_timeout>), but the FUSE cache does not anticipate future "
22029 "requests, only cache existing ones."
22030 msgstr ""
22031
22032 #. type: textblock
22033 #: ../fuse/guestmount.pod:151
22034 msgid ""
22035 "If you have untrusted raw-format guest disk images, you should use this "
22036 "option to specify the disk format.  This avoids a possible security problem "
22037 "with malicious guests (CVE-2010-3851).  See also "
22038 "L<guestfs(3)/guestfs_add_drive_opts>."
22039 msgstr ""
22040
22041 #. type: =item
22042 #: ../fuse/guestmount.pod:156
22043 msgid "B<--fuse-help>"
22044 msgstr "B<--fuse-help>"
22045
22046 #. type: textblock
22047 #: ../fuse/guestmount.pod:158
22048 msgid "Display help on special FUSE options (see I<-o> below)."
22049 msgstr ""
22050
22051 #. type: textblock
22052 #: ../fuse/guestmount.pod:162
22053 msgid "Display brief help and exit."
22054 msgstr ""
22055
22056 #. type: textblock
22057 #: ../fuse/guestmount.pod:186
22058 msgid ""
22059 "Mount the named partition or logical volume on the given mountpoint B<in the"
22060 " guest> (this has nothing to do with mountpoints in the host)."
22061 msgstr ""
22062
22063 #. type: textblock
22064 #: ../fuse/guestmount.pod:189
22065 msgid ""
22066 "If the mountpoint is omitted, it defaults to C</>.  You have to mount "
22067 "something on C</>."
22068 msgstr ""
22069
22070 #. type: textblock
22071 #: ../fuse/guestmount.pod:206
22072 msgid ""
22073 "By default, we attempt to sync the guest disk when the FUSE mountpoint is "
22074 "unmounted.  If you specify this option, then we don't attempt to sync the "
22075 "disk.  See the discussion of autosync in the L<guestfs(3)> manpage."
22076 msgstr ""
22077
22078 #. type: =item
22079 #: ../fuse/guestmount.pod:211
22080 msgid "B<-o option>"
22081 msgstr "B<-o параметр>"
22082
22083 #. type: =item
22084 #: ../fuse/guestmount.pod:213
22085 msgid "B<--option option>"
22086 msgstr "B<--option параметр>"
22087
22088 #. type: textblock
22089 #: ../fuse/guestmount.pod:215
22090 msgid "Pass extra options to FUSE."
22091 msgstr ""
22092
22093 #. type: textblock
22094 #: ../fuse/guestmount.pod:217
22095 msgid ""
22096 "To get a list of all the extra options supported by FUSE, use the command "
22097 "below.  Note that only the FUSE I<-o> options can be passed, and only some "
22098 "of them are a good idea."
22099 msgstr ""
22100
22101 #. type: verbatim
22102 #: ../fuse/guestmount.pod:221
22103 #, no-wrap
22104 msgid ""
22105 " guestmount --fuse-help\n"
22106 "\n"
22107 msgstr ""
22108
22109 #. type: textblock
22110 #: ../fuse/guestmount.pod:223
22111 msgid "Some potentially useful FUSE options:"
22112 msgstr ""
22113
22114 #. type: =item
22115 #: ../fuse/guestmount.pod:227
22116 msgid "B<-o allow_other>"
22117 msgstr ""
22118
22119 #. type: textblock
22120 #: ../fuse/guestmount.pod:229
22121 msgid "Allow other users to see the filesystem."
22122 msgstr ""
22123
22124 #. type: =item
22125 #: ../fuse/guestmount.pod:231
22126 msgid "B<-o attr_timeout=N>"
22127 msgstr "B<-o attr_timeout=N>"
22128
22129 #. type: textblock
22130 #: ../fuse/guestmount.pod:233
22131 msgid "Enable attribute caching by FUSE, and set the timeout to I<N> seconds."
22132 msgstr ""
22133
22134 #. type: =item
22135 #: ../fuse/guestmount.pod:235
22136 msgid "B<-o kernel_cache>"
22137 msgstr ""
22138
22139 #. type: textblock
22140 #: ../fuse/guestmount.pod:237
22141 msgid ""
22142 "Allow the kernel to cache files (reduces the number of reads that have to go"
22143 " through the L<guestfs(3)> API).  This is generally a good idea if you can "
22144 "afford the extra memory usage."
22145 msgstr ""
22146
22147 #. type: =item
22148 #: ../fuse/guestmount.pod:241
22149 msgid "B<-o uid=N> B<-o gid=N>"
22150 msgstr "B<-o uid=N> B<-o gid=N>"
22151
22152 #. type: textblock
22153 #: ../fuse/guestmount.pod:243
22154 msgid ""
22155 "Use these options to map all UIDs and GIDs inside the guest filesystem to "
22156 "the chosen values."
22157 msgstr ""
22158
22159 #. type: textblock
22160 #: ../fuse/guestmount.pod:252
22161 msgid ""
22162 "Add devices and mount everything read-only.  Also disallow writes and make "
22163 "the disk appear read-only to FUSE."
22164 msgstr ""
22165
22166 #. type: textblock
22167 #: ../fuse/guestmount.pod:255
22168 msgid ""
22169 "This is highly recommended if you are not going to edit the guest disk.  If "
22170 "the guest is running and this option is I<not> supplied, then there is a "
22171 "strong risk of disk corruption in the guest.  We try to prevent this from "
22172 "happening, but it is not always possible."
22173 msgstr ""
22174
22175 #. type: textblock
22176 #: ../fuse/guestmount.pod:260 ../rescue/virt-rescue.pod:171
22177 msgid "See also L<guestfish(1)/OPENING DISKS FOR READ AND WRITE>."
22178 msgstr "Див. також L<guestfish(1)/OPENING DISKS FOR READ AND WRITE>."
22179
22180 #. type: textblock
22181 #: ../fuse/guestmount.pod:264
22182 msgid "Enable SELinux support for the guest."
22183 msgstr ""
22184
22185 #. type: textblock
22186 #: ../fuse/guestmount.pod:270
22187 msgid "Enable verbose messages from underlying libguestfs."
22188 msgstr ""
22189
22190 #. type: textblock
22191 #: ../fuse/guestmount.pod:276
22192 msgid "Display the program version and exit."
22193 msgstr ""
22194
22195 #. type: textblock
22196 #: ../fuse/guestmount.pod:285 ../fuse/guestmount.pod:308
22197 #: ../rescue/virt-rescue.pod:201 ../rescue/virt-rescue.pod:284
22198 msgid "See L<guestfish(1)/OPENING DISKS FOR READ AND WRITE>."
22199 msgstr "Див. L<guestfish(1)/OPENING DISKS FOR READ AND WRITE>."
22200
22201 #. type: =item
22202 #: ../fuse/guestmount.pod:289
22203 msgid "B<--trace>"
22204 msgstr "B<--trace>"
22205
22206 #. type: textblock
22207 #: ../fuse/guestmount.pod:291
22208 msgid "Trace libguestfs calls and entry into each FUSE function."
22209 msgstr ""
22210
22211 #. type: textblock
22212 #: ../fuse/guestmount.pod:293
22213 msgid "This also stops the daemon from forking into the background."
22214 msgstr ""
22215
22216 #. type: textblock
22217 #: ../fuse/guestmount.pod:319
22218 msgid ""
22219 "L<guestfish(1)>, L<virt-inspector(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L"
22220 "<virt-tar(1)>, L<guestfs(3)>, L<http://libguestfs.org/>, "
22221 "L<http://fuse.sf.net/>."
22222 msgstr ""
22223 "L<guestfish(1)>, L<virt-inspector(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L"
22224 "<virt-tar(1)>, L<guestfs(3)>, L<http://libguestfs.org/>, "
22225 "L<http://fuse.sf.net/>."
22226
22227 #. type: textblock
22228 #: ../fuse/guestmount.pod:334
22229 msgid "Copyright (C) 2009-2010 Red Hat Inc.  L<http://libguestfs.org/>"
22230 msgstr ""
22231
22232 #. type: textblock
22233 #: ../inspector/virt-inspector.pod:5
22234 msgid ""
22235 "virt-inspector - Display operating system version and other information "
22236 "about a virtual machine"
22237 msgstr ""
22238
22239 #. type: verbatim
22240 #: ../inspector/virt-inspector.pod:9
22241 #, no-wrap
22242 msgid ""
22243 " virt-inspector [--options] -d domname\n"
22244 "\n"
22245 msgstr ""
22246
22247 #. type: verbatim
22248 #: ../inspector/virt-inspector.pod:11
22249 #, no-wrap
22250 msgid ""
22251 " virt-inspector [--options] -a disk.img [-a disk.img ...]\n"
22252 "\n"
22253 msgstr ""
22254
22255 #. type: verbatim
22256 #: ../inspector/virt-inspector.pod:15
22257 #, no-wrap
22258 msgid ""
22259 " virt-inspector domname\n"
22260 "\n"
22261 msgstr ""
22262
22263 #. type: verbatim
22264 #: ../inspector/virt-inspector.pod:17 ../inspector/virt-inspector.pod:141
22265 #, no-wrap
22266 msgid ""
22267 " virt-inspector disk.img [disk.img ...]\n"
22268 "\n"
22269 msgstr ""
22270
22271 #. type: textblock
22272 #: ../inspector/virt-inspector.pod:21
22273 msgid ""
22274 "B<virt-inspector> examines a virtual machine or disk image and tries to "
22275 "determine the version of the operating system and other information about "
22276 "the virtual machine."
22277 msgstr ""
22278
22279 #. type: textblock
22280 #: ../inspector/virt-inspector.pod:25
22281 msgid "Virt-inspector produces XML output for feeding into other programs."
22282 msgstr ""
22283
22284 #. type: textblock
22285 #: ../inspector/virt-inspector.pod:27
22286 msgid ""
22287 "In the normal usage, use C<virt-inspector -d domname> where C<domname> is "
22288 "the libvirt domain (see: C<virsh list --all>)."
22289 msgstr ""
22290
22291 #. type: textblock
22292 #: ../inspector/virt-inspector.pod:30
22293 msgid ""
22294 "You can also run virt-inspector directly on disk images from a single "
22295 "virtual machine.  Use C<virt-inspector -a disk.img>.  In rare cases a domain"
22296 " has several block devices, in which case you should list several I<-a> "
22297 "options one after another, with the first corresponding to the guest's "
22298 "C</dev/sda>, the second to the guest's C</dev/sdb> and so on."
22299 msgstr ""
22300
22301 #. type: textblock
22302 #: ../inspector/virt-inspector.pod:37
22303 msgid ""
22304 "You can also run virt-inspector on install disks, live CDs, bootable USB "
22305 "keys and similar."
22306 msgstr ""
22307
22308 #. type: textblock
22309 #: ../inspector/virt-inspector.pod:40
22310 msgid ""
22311 "Virt-inspector can only inspect and report upon I<one domain at a time>.  To"
22312 " inspect several virtual machines, you have to run virt-inspector several "
22313 "times (for example, from a shell script for-loop)."
22314 msgstr ""
22315
22316 #. type: textblock
22317 #: ../inspector/virt-inspector.pod:45
22318 msgid ""
22319 "Because virt-inspector needs direct access to guest images, it won't "
22320 "normally work over remote libvirt connections."
22321 msgstr ""
22322
22323 #. type: textblock
22324 #: ../inspector/virt-inspector.pod:48
22325 msgid ""
22326 "All of the information available from virt-inspector is also available "
22327 "through the core libguestfs inspection API (see L<guestfs(3)/INSPECTION>).  "
22328 "The same information can also be fetched using guestfish or via libguestfs "
22329 "bindings in many programming languages (see L<guestfs(3)/USING LIBGUESTFS "
22330 "WITH OTHER PROGRAMMING LANGUAGES>)."
22331 msgstr ""
22332
22333 #. type: textblock
22334 #: ../inspector/virt-inspector.pod:81
22335 msgid ""
22336 "Libvirt is only used if you specify a C<domname> on the command line.  If "
22337 "you specify guest block devices directly (I<-a>), then libvirt is not used "
22338 "at all."
22339 msgstr ""
22340
22341 #. type: textblock
22342 #: ../inspector/virt-inspector.pod:94
22343 msgid ""
22344 "When prompting for keys and passphrases, virt-inspector normally turns "
22345 "echoing off so you cannot see what you are typing.  If you are not worried "
22346 "about Tempest attacks and there is no one else in the room you can specify "
22347 "this flag to see what you are typing."
22348 msgstr ""
22349
22350 #. type: textblock
22351 #: ../inspector/virt-inspector.pod:103 ../tools/virt-list-filesystems.pl:93
22352 #: ../tools/virt-list-partitions.pl:94 ../tools/virt-tar.pl:143
22353 #: ../tools/virt-win-reg.pl:144
22354 msgid ""
22355 "Specify the format of disk images given on the command line.  If this is "
22356 "omitted then the format is autodetected from the content of the disk image."
22357 msgstr ""
22358
22359 #. type: textblock
22360 #: ../inspector/virt-inspector.pod:107 ../tools/virt-list-filesystems.pl:97
22361 #: ../tools/virt-list-partitions.pl:98 ../tools/virt-tar.pl:147
22362 #: ../tools/virt-win-reg.pl:148
22363 msgid ""
22364 "If disk images are requested from libvirt, then this program asks libvirt "
22365 "for this information.  In this case, the value of the format parameter is "
22366 "ignored."
22367 msgstr ""
22368
22369 #. type: textblock
22370 #: ../inspector/virt-inspector.pod:111 ../resize/virt-resize.pod:391
22371 #: ../resize/virt-resize.pod:483 ../sparsify/virt-sparsify.pod:132
22372 #: ../tools/virt-list-filesystems.pl:101 ../tools/virt-list-partitions.pl:102
22373 #: ../tools/virt-tar.pl:151 ../tools/virt-win-reg.pl:152
22374 msgid ""
22375 "If working with untrusted raw-format guest disk images, you should ensure "
22376 "the format is always specified."
22377 msgstr ""
22378
22379 #. type: textblock
22380 #: ../inspector/virt-inspector.pod:139
22381 msgid "Previous versions of virt-inspector allowed you to write either:"
22382 msgstr ""
22383
22384 #. type: verbatim
22385 #: ../inspector/virt-inspector.pod:145
22386 #, no-wrap
22387 msgid ""
22388 " virt-inspector guestname\n"
22389 "\n"
22390 msgstr ""
22391
22392 #. type: =head1
22393 #: ../inspector/virt-inspector.pod:153
22394 msgid "XML FORMAT"
22395 msgstr ""
22396
22397 #. type: textblock
22398 #: ../inspector/virt-inspector.pod:155
22399 msgid ""
22400 "The virt-inspector XML is described precisely in a RELAX NG schema file C"
22401 "<virt-inspector.rng> which is supplied with libguestfs.  This section is "
22402 "just an overview."
22403 msgstr ""
22404
22405 #. type: textblock
22406 #: ../inspector/virt-inspector.pod:159
22407 msgid ""
22408 "The top-level element is E<lt>operatingsystemsE<gt>, and it contains one or "
22409 "more E<lt>operatingsystemE<gt> elements.  You would only see more than one "
22410 "E<lt>operatingsystemE<gt> element if the virtual machine is multi-boot, "
22411 "which is vanishingly rare in real world VMs."
22412 msgstr ""
22413
22414 #. type: =head2
22415 #: ../inspector/virt-inspector.pod:164
22416 msgid "E<lt>operatingsystemE<gt>"
22417 msgstr ""
22418
22419 #. type: textblock
22420 #: ../inspector/virt-inspector.pod:166
22421 msgid ""
22422 "In the E<lt>operatingsystemE<gt> tag are various optional fields that "
22423 "describe the operating system, its architecture, the descriptive \"product "
22424 "name\" string, the type of OS and so on, as in this example:"
22425 msgstr ""
22426
22427 #. type: verbatim
22428 #: ../inspector/virt-inspector.pod:170
22429 #, no-wrap
22430 msgid ""
22431 " <operatingsystems>\n"
22432 "   <operatingsystem>\n"
22433 "     <root>/dev/sda2</root>\n"
22434 "     <name>windows</name>\n"
22435 "     <arch>i386</arch>\n"
22436 "     <distro>windows</distro>\n"
22437 "     <product_name>Windows 7 Enterprise</product_name>\n"
22438 "     <product_variant>Client</product_variant>\n"
22439 "     <major_version>6</major_version>\n"
22440 "     <minor_version>1</minor_version>\n"
22441 "     <windows_systemroot>/Windows</windows_systemroot>\n"
22442 "     <format>installed</format>\n"
22443 "\n"
22444 msgstr ""
22445
22446 #. type: textblock
22447 #: ../inspector/virt-inspector.pod:183
22448 msgid ""
22449 "In brief, E<lt>nameE<gt> is the class of operating system (something like "
22450 "C<linux> or C<windows>), E<lt>distroE<gt> is the distribution (eg. C<fedora>"
22451 " but many other distros are recognized) and E<lt>archE<gt> is the guest "
22452 "architecture.  The other fields are fairly self-explanatory, but because "
22453 "these fields are taken directly from the libguestfs inspection API you can "
22454 "find precise information from L<guestfs(3)/INSPECTION>."
22455 msgstr ""
22456
22457 #. type: textblock
22458 #: ../inspector/virt-inspector.pod:191
22459 msgid ""
22460 "The E<lt>rootE<gt> element is the root filesystem device, but from the point"
22461 " of view of libguestfs (block devices may have completely different names "
22462 "inside the VM itself)."
22463 msgstr ""
22464
22465 #. type: =head2
22466 #: ../inspector/virt-inspector.pod:195
22467 msgid "E<lt>mountpointsE<gt>"
22468 msgstr ""
22469
22470 #. type: textblock
22471 #: ../inspector/virt-inspector.pod:197
22472 msgid ""
22473 "Un*x-like guests typically have multiple filesystems which are mounted at "
22474 "various mountpoints, and these are described in the E<lt>mountpointsE<gt> "
22475 "element which looks like this:"
22476 msgstr ""
22477
22478 #. type: verbatim
22479 #: ../inspector/virt-inspector.pod:201
22480 #, no-wrap
22481 msgid ""
22482 " <operatingsystems>\n"
22483 "   <operatingsystem>\n"
22484 "     ...\n"
22485 "     <mountpoints>\n"
22486 "       <mountpoint dev=\"/dev/vg_f13x64/lv_root\">/</mountpoint>\n"
22487 "       <mountpoint dev=\"/dev/sda1\">/boot</mountpoint>\n"
22488 "     </mountpoints>\n"
22489 "\n"
22490 msgstr ""
22491
22492 #. type: textblock
22493 #: ../inspector/virt-inspector.pod:209
22494 msgid ""
22495 "As with E<lt>rootE<gt>, devices are from the point of view of libguestfs, "
22496 "and may have completely different names inside the guest.  Only mountable "
22497 "filesystems appear in this list, not things like swap devices."
22498 msgstr ""
22499
22500 #. type: =head2
22501 #: ../inspector/virt-inspector.pod:214
22502 msgid "E<lt>filesystemsE<gt>"
22503 msgstr ""
22504
22505 #. type: textblock
22506 #: ../inspector/virt-inspector.pod:216
22507 msgid ""
22508 "E<lt>filesystemsE<gt> is like E<lt>mountpointsE<gt> but covers I<all> "
22509 "filesystems belonging to the guest, including swap and empty partitions.  "
22510 "(In the rare case of a multi-boot guest, it covers filesystems belonging to "
22511 "this OS or shared with this OS and other OSes)."
22512 msgstr ""
22513
22514 #. type: textblock
22515 #: ../inspector/virt-inspector.pod:222
22516 msgid "You might see something like this:"
22517 msgstr ""
22518
22519 #. type: verbatim
22520 #: ../inspector/virt-inspector.pod:224
22521 #, no-wrap
22522 msgid ""
22523 " <operatingsystems>\n"
22524 "   <operatingsystem>\n"
22525 "     ...\n"
22526 "     <filesystems>\n"
22527 "       <filesystem dev=\"/dev/vg_f13x64/lv_root\">\n"
22528 "         <type>ext4</type>\n"
22529 "         <label>Fedora-13-x86_64</label>\n"
22530 "         <uuid>e6a4db1e-15c2-477b-ac2a-699181c396aa</uuid>\n"
22531 "       </filesystem>\n"
22532 "\n"
22533 msgstr ""
22534
22535 #. type: textblock
22536 #: ../inspector/virt-inspector.pod:234
22537 msgid ""
22538 "The optional elements within E<lt>filesystemE<gt> are the filesystem type, "
22539 "the label, and the UUID."
22540 msgstr ""
22541
22542 #. type: =head2
22543 #: ../inspector/virt-inspector.pod:237
22544 msgid "E<lt>applicationsE<gt>"
22545 msgstr ""
22546
22547 #. type: textblock
22548 #: ../inspector/virt-inspector.pod:239
22549 msgid ""
22550 "The related elements E<lt>package_formatE<gt>, E<lt>package_managementE<gt> "
22551 "and E<lt>applicationsE<gt> describe applications installed in the virtual "
22552 "machine."
22553 msgstr ""
22554
22555 #. type: textblock
22556 #: ../inspector/virt-inspector.pod:243
22557 msgid ""
22558 "E<lt>package_formatE<gt>, if present, describes the packaging system used.  "
22559 "Typical values would be C<rpm> and C<deb>."
22560 msgstr ""
22561
22562 #. type: textblock
22563 #: ../inspector/virt-inspector.pod:246
22564 msgid ""
22565 "E<lt>package_managementE<gt>, if present, describes the package manager.  "
22566 "Typical values include C<yum>, C<up2date> and C<apt>"
22567 msgstr ""
22568
22569 #. type: textblock
22570 #: ../inspector/virt-inspector.pod:249
22571 msgid "E<lt>applicationsE<gt> lists the packages or applications installed."
22572 msgstr ""
22573
22574 #. type: verbatim
22575 #: ../inspector/virt-inspector.pod:252
22576 #, no-wrap
22577 msgid ""
22578 " <operatingsystems>\n"
22579 "   <operatingsystem>\n"
22580 "     ...\n"
22581 "     <applications>\n"
22582 "       <application>\n"
22583 "         <name>coreutils</name>\n"
22584 "         <version>8.5</version>\n"
22585 "         <release>1</release>\n"
22586 "       </application>\n"
22587 "\n"
22588 msgstr ""
22589
22590 #. type: textblock
22591 #: ../inspector/virt-inspector.pod:262
22592 msgid ""
22593 "The version and release fields may not be available for some types guests.  "
22594 "Other fields are possible, see "
22595 "L<guestfs(3)/guestfs_inspect_list_applications>."
22596 msgstr ""
22597
22598 #. type: =head2
22599 #: ../inspector/virt-inspector.pod:266
22600 msgid "E<lt>drive_mappingsE<gt>"
22601 msgstr ""
22602
22603 #. type: textblock
22604 #: ../inspector/virt-inspector.pod:268
22605 msgid ""
22606 "For operating systems like Windows which use drive letters, virt-inspector "
22607 "is able to find out how drive letters map to filesystems."
22608 msgstr ""
22609
22610 #. type: verbatim
22611 #: ../inspector/virt-inspector.pod:272
22612 #, no-wrap
22613 msgid ""
22614 " <operatingsystems>\n"
22615 "   <operatingsystem>\n"
22616 "     ...\n"
22617 "     <drive_mappings>\n"
22618 "       <drive_mapping name=\"C\">/dev/sda2</drive_mapping>\n"
22619 "       <drive_mapping name=\"E\">/dev/sdb1</drive_mapping>\n"
22620 "     </drive_mappings>\n"
22621 "\n"
22622 msgstr ""
22623
22624 #. type: textblock
22625 #: ../inspector/virt-inspector.pod:280
22626 msgid ""
22627 "In the example above, drive C maps to the filesystem on the second partition"
22628 " on the first disk, and drive E maps to the filesystem on the first "
22629 "partition on the second disk."
22630 msgstr ""
22631
22632 #. type: textblock
22633 #: ../inspector/virt-inspector.pod:284
22634 msgid ""
22635 "Note that this only covers permanent local filesystem mappings, not things "
22636 "like network shares.  Furthermore NTFS volume mount points may not be listed"
22637 " here."
22638 msgstr ""
22639
22640 #. type: =head2
22641 #: ../inspector/virt-inspector.pod:288
22642 msgid "E<lt>iconE<gt>"
22643 msgstr ""
22644
22645 #. type: textblock
22646 #: ../inspector/virt-inspector.pod:290
22647 msgid ""
22648 "Virt-inspector is sometimes able to extract an icon or logo for the guest.  "
22649 "The icon is returned as base64-encoded PNG data.  Note that the icon can be "
22650 "very large and high quality."
22651 msgstr ""
22652
22653 #. type: verbatim
22654 #: ../inspector/virt-inspector.pod:294
22655 #, no-wrap
22656 msgid ""
22657 " <operatingsystems>\n"
22658 "   <operatingsystem>\n"
22659 "     ...\n"
22660 "     <icon>\n"
22661 "       iVBORw0KGgoAAAANSUhEUgAAAGAAAABg[.......]\n"
22662 "       [... many lines of base64 data ...]\n"
22663 "     </icon>\n"
22664 "\n"
22665 msgstr ""
22666
22667 #. type: textblock
22668 #: ../inspector/virt-inspector.pod:302
22669 msgid ""
22670 "To display the icon, you have to extract it and convert the base64 data back"
22671 " to a binary file.  Use an XPath query or simply an editor to extract the "
22672 "data, then use the coreutils L<base64(1)> program to do the conversion back "
22673 "to a PNG file:"
22674 msgstr ""
22675
22676 #. type: verbatim
22677 #: ../inspector/virt-inspector.pod:307
22678 #, no-wrap
22679 msgid ""
22680 " base64 -i -d < icon.data > icon.png\n"
22681 "\n"
22682 msgstr ""
22683
22684 #. type: =head2
22685 #: ../inspector/virt-inspector.pod:309
22686 msgid "INSPECTING INSTALL DISKS, LIVE CDs"
22687 msgstr ""
22688
22689 #. type: textblock
22690 #: ../inspector/virt-inspector.pod:311
22691 msgid ""
22692 "Virt-inspector can detect some operating system installers on install disks,"
22693 " live CDs, bootable USB keys and more."
22694 msgstr ""
22695
22696 #. type: textblock
22697 #: ../inspector/virt-inspector.pod:314
22698 msgid ""
22699 "In this case the E<lt>formatE<gt> tag will contain C<installer> and other "
22700 "fields may be present to indicate a live CD, network installer, or one part "
22701 "of a multipart CD.  For example:"
22702 msgstr ""
22703
22704 #. type: verbatim
22705 #: ../inspector/virt-inspector.pod:318
22706 #, no-wrap
22707 msgid ""
22708 " <operatingsystems>\n"
22709 "   <operatingsystem>\n"
22710 "     <root>/dev/sda</root>\n"
22711 "     <name>linux</name>\n"
22712 "     <arch>i386</arch>\n"
22713 "     <distro>ubuntu</distro>\n"
22714 "     <product_name>Ubuntu 10.10 &quot;Maverick Meerkat&quot;</product_name>\n"
22715 "     <major_version>10</major_version>\n"
22716 "     <minor_version>10</minor_version>\n"
22717 "     <format>installer</format>\n"
22718 "     <live/>\n"
22719 "\n"
22720 msgstr ""
22721
22722 #. type: =head1
22723 #: ../inspector/virt-inspector.pod:330
22724 msgid "USING XPATH"
22725 msgstr ""
22726
22727 #. type: textblock
22728 #: ../inspector/virt-inspector.pod:332
22729 msgid ""
22730 "You can use the XPath query language to select parts of the XML.  We "
22731 "recommend using C<xmlstarlet> to perform XPath queries from the command "
22732 "line."
22733 msgstr ""
22734
22735 #. type: verbatim
22736 #: ../inspector/virt-inspector.pod:338
22737 #, no-wrap
22738 msgid ""
22739 " $ virt-inspector -d Guest | xmlstarlet sel -t -c '//filesystems'\n"
22740 " <filesystems>\n"
22741 "      <filesystem dev=\"/dev/vg_f13x64/lv_root\">\n"
22742 "        <type>ext4</type>\n"
22743 " [...]\n"
22744 "\n"
22745 msgstr ""
22746
22747 #. type: verbatim
22748 #: ../inspector/virt-inspector.pod:344
22749 #, no-wrap
22750 msgid ""
22751 " $ virt-inspector -d Guest | \\\n"
22752 "     xmlstarlet sel -t -c \"string(//filesystem[@dev='/dev/sda1']/type)\"\n"
22753 " ext4\n"
22754 "\n"
22755 msgstr ""
22756
22757 #. type: verbatim
22758 #: ../inspector/virt-inspector.pod:348
22759 #, no-wrap
22760 msgid ""
22761 " $ virt-inspector -d Guest | \\\n"
22762 "    xmlstarlet sel -t -v '//icon' | base64 -i -d | display -\n"
22763 " [displays the guest icon, if there is one]\n"
22764 "\n"
22765 msgstr ""
22766
22767 #. type: =head1
22768 #: ../inspector/virt-inspector.pod:359
22769 msgid "OLD VERSIONS OF VIRT-INSPECTOR"
22770 msgstr ""
22771
22772 #. type: textblock
22773 #: ../inspector/virt-inspector.pod:361
22774 msgid ""
22775 "Early versions of libguestfs shipped with a different virt-inspector program"
22776 " written in Perl (the current version is written in C).  The XML output of "
22777 "the Perl virt-inspector was different and it could also output in other "
22778 "formats like text."
22779 msgstr ""
22780
22781 #. type: textblock
22782 #: ../inspector/virt-inspector.pod:366
22783 msgid ""
22784 "The old virt-inspector is no longer supported or shipped with libguestfs."
22785 msgstr ""
22786
22787 #. type: textblock
22788 #: ../inspector/virt-inspector.pod:369
22789 msgid ""
22790 "To confuse matters further, in Red Hat Enterprise Linux 6 we ship two "
22791 "versions of virt-inspector with different names:"
22792 msgstr ""
22793
22794 #. type: verbatim
22795 #: ../inspector/virt-inspector.pod:372
22796 #, no-wrap
22797 msgid ""
22798 " virt-inspector     Old Perl version.\n"
22799 " virt-inspector2    New C version.\n"
22800 "\n"
22801 msgstr ""
22802
22803 #. type: textblock
22804 #: ../inspector/virt-inspector.pod:382
22805 msgid ""
22806 "L<guestfs(3)>, L<guestfish(1)>, L<http://www.w3.org/TR/xpath/>, "
22807 "L<base64(1)>, L<xmlstarlet(1)>, L<http://libguestfs.org/>."
22808 msgstr ""
22809
22810 #. type: textblock
22811 #: ../inspector/virt-inspector.pod:399
22812 msgid "Matthew Booth L<mbooth@redhat.com>"
22813 msgstr ""
22814
22815 #. type: textblock
22816 #: ../java/examples/guestfs-java.pod:5
22817 msgid "guestfs-java - How to use libguestfs from Java"
22818 msgstr ""
22819
22820 #. type: verbatim
22821 #: ../java/examples/guestfs-java.pod:9
22822 #, no-wrap
22823 msgid ""
22824 " import com.redhat.et.libguestfs.*;\n"
22825 " \n"
22826 msgstr ""
22827
22828 #. type: verbatim
22829 #: ../java/examples/guestfs-java.pod:11
22830 #, no-wrap
22831 msgid ""
22832 " GuestFS g = new GuestFS ();\n"
22833 " g.add_drive_opts (\"disk.img\", null);\n"
22834 " g.launch ();\n"
22835 "\n"
22836 msgstr ""
22837
22838 #. type: textblock
22839 #: ../java/examples/guestfs-java.pod:17
22840 msgid ""
22841 "This manual page documents how to call libguestfs from the Java programming "
22842 "language.  This page just documents the differences from the C API and gives"
22843 " some examples.  If you are not familiar with using libguestfs, you also "
22844 "need to read L<guestfs(3)>."
22845 msgstr ""
22846
22847 #. type: =head2
22848 #: ../java/examples/guestfs-java.pod:22 ../ocaml/examples/guestfs-ocaml.pod:53
22849 msgid "CLOSING THE HANDLE"
22850 msgstr ""
22851
22852 #. type: textblock
22853 #: ../java/examples/guestfs-java.pod:24
22854 msgid ""
22855 "The handle is closed when it is reaped by the garbage collector.  Because "
22856 "libguestfs handles include a lot of state, it is also possible to close (and"
22857 " hence free) them explicitly by calling the C<close> method."
22858 msgstr ""
22859
22860 #. type: =head2
22861 #: ../java/examples/guestfs-java.pod:29 ../ocaml/examples/guestfs-ocaml.pod:60
22862 #: ../python/examples/guestfs-python.pod:21
22863 #: ../ruby/examples/guestfs-ruby.pod:22
22864 msgid "EXCEPTIONS"
22865 msgstr "ВИНЯТКИ"
22866
22867 #. type: textblock
22868 #: ../java/examples/guestfs-java.pod:31
22869 msgid ""
22870 "Errors from libguestfs functions are mapped into the C<LibGuestFSException> "
22871 "exception.  This has a single parameter which is the error message (a "
22872 "C<String>)."
22873 msgstr ""
22874
22875 #. type: textblock
22876 #: ../java/examples/guestfs-java.pod:35
22877 msgid "Calling any method on a closed handle raises the same exception."
22878 msgstr ""
22879
22880 #. type: textblock
22881 #: ../java/examples/guestfs-java.pod:47
22882 msgid ""
22883 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-erlang(3)>, L<guestfs-"
22884 "ocaml(3)>, L<guestfs-perl(3)>, L<guestfs-python(3)>, L<guestfs-recipes(1)>, "
22885 "L<guestfs-ruby(3)>, L<http://libguestfs.org/>, L<http://caml.inria.fr/>."
22886 msgstr ""
22887
22888 #. type: textblock
22889 #: ../ocaml/examples/guestfs-ocaml.pod:5
22890 msgid "guestfs-ocaml - How to use libguestfs from OCaml"
22891 msgstr ""
22892
22893 #. type: textblock
22894 #: ../ocaml/examples/guestfs-ocaml.pod:9
22895 msgid "Module style:"
22896 msgstr ""
22897
22898 #. type: verbatim
22899 #: ../ocaml/examples/guestfs-ocaml.pod:11
22900 #, no-wrap
22901 msgid ""
22902 " let g = Guestfs.create () in\n"
22903 " Guestfs.add_drive_opts g ~format:\"raw\" ~readonly:true \"disk.img\";\n"
22904 " Guestfs.launch g;\n"
22905 "\n"
22906 msgstr ""
22907
22908 #. type: textblock
22909 #: ../ocaml/examples/guestfs-ocaml.pod:15
22910 msgid "Object-oriented style:"
22911 msgstr ""
22912
22913 #. type: verbatim
22914 #: ../ocaml/examples/guestfs-ocaml.pod:17
22915 #, no-wrap
22916 msgid ""
22917 " let g = new Guestfs.guestfs () in\n"
22918 " g#add_drive_opts ~format:\"raw\" ~readonly:true \"disk.img\";\n"
22919 " g#launch ();\n"
22920 "\n"
22921 msgstr ""
22922
22923 #. type: verbatim
22924 #: ../ocaml/examples/guestfs-ocaml.pod:21
22925 #, no-wrap
22926 msgid ""
22927 " ocamlfind opt prog.ml -package guestfs -linkpkg -o prog\n"
22928 "or:\n"
22929 " ocamlopt -I +guestfs mlguestfs.cmxa prog.ml -o prog\n"
22930 "\n"
22931 msgstr ""
22932
22933 #. type: textblock
22934 #: ../ocaml/examples/guestfs-ocaml.pod:27
22935 msgid ""
22936 "This manual page documents how to call libguestfs from the OCaml programming"
22937 " language.  This page just documents the differences from the C API and "
22938 "gives some examples.  If you are not familiar with using libguestfs, you "
22939 "also need to read L<guestfs(3)>."
22940 msgstr ""
22941
22942 #. type: =head2
22943 #: ../ocaml/examples/guestfs-ocaml.pod:32
22944 msgid "PROGRAMMING STYLES"
22945 msgstr ""
22946
22947 #. type: textblock
22948 #: ../ocaml/examples/guestfs-ocaml.pod:34
22949 msgid ""
22950 "There are two different programming styles supported by the OCaml bindings."
22951 "  You can use a module style, with each C function mapped to an OCaml "
22952 "function:"
22953 msgstr ""
22954
22955 #. type: verbatim
22956 #: ../ocaml/examples/guestfs-ocaml.pod:38
22957 #, no-wrap
22958 msgid ""
22959 " int guestfs_set_verbose (guestfs_h *g, int flag);\n"
22960 "\n"
22961 msgstr ""
22962
22963 #. type: textblock
22964 #: ../ocaml/examples/guestfs-ocaml.pod:40
22965 msgid "becomes:"
22966 msgstr ""
22967
22968 #. type: verbatim
22969 #: ../ocaml/examples/guestfs-ocaml.pod:42
22970 #, no-wrap
22971 msgid ""
22972 " val Guestfs.set_verbose : Guestfs.t -> bool -> unit\n"
22973 "\n"
22974 msgstr ""
22975
22976 #. type: textblock
22977 #: ../ocaml/examples/guestfs-ocaml.pod:44
22978 msgid ""
22979 "Alternately you can use an object-oriented style, calling methods on the "
22980 "class C<Guestfs.guestfs>:"
22981 msgstr ""
22982
22983 #. type: verbatim
22984 #: ../ocaml/examples/guestfs-ocaml.pod:47
22985 #, no-wrap
22986 msgid ""
22987 " method set_verbose : bool -> unit\n"
22988 "\n"
22989 msgstr ""
22990
22991 #. type: textblock
22992 #: ../ocaml/examples/guestfs-ocaml.pod:49
22993 msgid ""
22994 "The object-oriented style is usually briefer, and the minor performance "
22995 "penalty isn't noticable in the general overhead of performing libguestfs "
22996 "functions."
22997 msgstr ""
22998
22999 #. type: textblock
23000 #: ../ocaml/examples/guestfs-ocaml.pod:55
23001 msgid ""
23002 "The handle is closed when it is reaped by the garbage collector.  Because "
23003 "libguestfs handles include a lot of state, it is also possible to close (and"
23004 " hence free) them explicitly by calling C<Guestfs.close> or the C<#close> "
23005 "method."
23006 msgstr ""
23007
23008 #. type: textblock
23009 #: ../ocaml/examples/guestfs-ocaml.pod:62
23010 msgid ""
23011 "Errors from libguestfs functions are mapped into the C<Guestfs.Error> "
23012 "exception.  This has a single parameter which is the error message (a "
23013 "string)."
23014 msgstr ""
23015
23016 #. type: textblock
23017 #: ../ocaml/examples/guestfs-ocaml.pod:66
23018 msgid ""
23019 "Calling any function/method on a closed handle raises "
23020 "C<Guestfs.Handle_closed>.  The single parameter is the name of the function "
23021 "that you called."
23022 msgstr ""
23023
23024 #. type: textblock
23025 #: ../ocaml/examples/guestfs-ocaml.pod:80
23026 msgid ""
23027 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-erlang(3)>, L<guestfs-"
23028 "java(3)>, L<guestfs-perl(3)>, L<guestfs-python(3)>, L<guestfs-recipes(1)>, L"
23029 "<guestfs-ruby(3)>, L<http://libguestfs.org/>, L<http://caml.inria.fr/>."
23030 msgstr ""
23031
23032 #. type: textblock
23033 #: ../perl/examples/guestfs-perl.pod:5
23034 msgid "guestfs-perl - How to use libguestfs from Perl"
23035 msgstr ""
23036
23037 #. type: verbatim
23038 #: ../perl/examples/guestfs-perl.pod:9
23039 #, no-wrap
23040 msgid ""
23041 " use Sys::Guestfs;\n"
23042 " \n"
23043 msgstr ""
23044
23045 #. type: verbatim
23046 #: ../perl/examples/guestfs-perl.pod:11
23047 #, no-wrap
23048 msgid ""
23049 " my $h = Sys::Guestfs->new ();\n"
23050 " $h->add_drive_opts ('guest.img', format => 'raw');\n"
23051 " $h->launch ();\n"
23052 " $h->mount_options ('', '/dev/sda1', '/');\n"
23053 " $h->touch ('/hello');\n"
23054 " $h->sync ();\n"
23055 "\n"
23056 msgstr ""
23057
23058 #. type: textblock
23059 #: ../perl/examples/guestfs-perl.pod:20
23060 msgid ""
23061 "This manual page documents how to call libguestfs from the Perl programming "
23062 "language.  This page just documents the differences from the C API and gives"
23063 " some examples.  If you are not familiar with using libguestfs, you also "
23064 "need to read L<guestfs(3)>.  To read the full Perl API, see "
23065 "L<Sys::Guestfs(3)>."
23066 msgstr ""
23067
23068 #. type: =head2
23069 #: ../perl/examples/guestfs-perl.pod:26
23070 msgid "ERRORS"
23071 msgstr "ПОМИЛКИ"
23072
23073 #. type: textblock
23074 #: ../perl/examples/guestfs-perl.pod:28
23075 msgid ""
23076 "Errors from libguestfs functions turn into calls to C<croak> (see "
23077 "L<Carp(3)>)."
23078 msgstr ""
23079
23080 #. type: textblock
23081 #: ../perl/examples/guestfs-perl.pod:41
23082 msgid ""
23083 "L<Sys::Guestfs(3)>, L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-"
23084 "erlang(3)>, L<guestfs-java(3)>, L<guestfs-ocaml(3)>, L<guestfs-python(3)>, L"
23085 "<guestfs-recipes(1)>, L<guestfs-ruby(3)>, L<http://libguestfs.org/>."
23086 msgstr ""
23087
23088 #. type: textblock
23089 #: ../python/examples/guestfs-python.pod:5
23090 msgid "guestfs-python - How to use libguestfs from Python"
23091 msgstr ""
23092
23093 #. type: verbatim
23094 #: ../python/examples/guestfs-python.pod:9
23095 #, no-wrap
23096 msgid ""
23097 " import guestfs\n"
23098 " g = guestfs.GuestFS ()\n"
23099 " g.add_drive_opts (\"disk.img\", format=\"raw\", readonly=1)\n"
23100 " g.launch\n"
23101 "\n"
23102 msgstr ""
23103
23104 #. type: textblock
23105 #: ../python/examples/guestfs-python.pod:16
23106 msgid ""
23107 "This manual page documents how to call libguestfs from the Python "
23108 "programming language.  This page just documents the differences from the C "
23109 "API and gives some examples.  If you are not familiar with using libguestfs,"
23110 " you also need to read L<guestfs(3)>."
23111 msgstr ""
23112
23113 #. type: textblock
23114 #: ../python/examples/guestfs-python.pod:23
23115 msgid ""
23116 "Errors from libguestfs functions are mapped into C<RuntimeException> with a "
23117 "single string argument which is the error message."
23118 msgstr ""
23119
23120 #. type: =head2
23121 #: ../python/examples/guestfs-python.pod:26
23122 msgid "MORE DOCUMENTATION"
23123 msgstr ""
23124
23125 #. type: textblock
23126 #: ../python/examples/guestfs-python.pod:28
23127 msgid "Type:"
23128 msgstr "Тип:"
23129
23130 #. type: verbatim
23131 #: ../python/examples/guestfs-python.pod:30
23132 #, no-wrap
23133 msgid ""
23134 " $ python\n"
23135 " >>> import guestfs\n"
23136 " >>> help (guestfs)\n"
23137 "\n"
23138 msgstr ""
23139
23140 #. type: textblock
23141 #: ../python/examples/guestfs-python.pod:44
23142 msgid ""
23143 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-erlang(3)>, L<guestfs-"
23144 "java(3)>, L<guestfs-ocaml(3)>, L<guestfs-perl(3)>, L<guestfs-recipes(1)>, L"
23145 "<guestfs-ruby(3)>, L<http://libguestfs.org/>."
23146 msgstr ""
23147
23148 #. type: textblock
23149 #: ../rescue/virt-rescue.pod:5
23150 msgid "virt-rescue - Run a rescue shell on a virtual machine"
23151 msgstr ""
23152
23153 #. type: verbatim
23154 #: ../rescue/virt-rescue.pod:9
23155 #, no-wrap
23156 msgid ""
23157 " virt-rescue [--options] -d domname\n"
23158 "\n"
23159 msgstr ""
23160
23161 #. type: verbatim
23162 #: ../rescue/virt-rescue.pod:11
23163 #, no-wrap
23164 msgid ""
23165 " virt-rescue [--options] -a disk.img [-a disk.img ...]\n"
23166 "\n"
23167 msgstr ""
23168
23169 #. type: verbatim
23170 #: ../rescue/virt-rescue.pod:15
23171 #, no-wrap
23172 msgid ""
23173 " virt-rescue [--options] domname\n"
23174 "\n"
23175 msgstr ""
23176
23177 #. type: verbatim
23178 #: ../rescue/virt-rescue.pod:17
23179 #, no-wrap
23180 msgid ""
23181 " virt-rescue [--options] disk.img [disk.img ...]\n"
23182 "\n"
23183 msgstr ""
23184
23185 #. type: textblock
23186 #: ../rescue/virt-rescue.pod:21
23187 msgid ""
23188 "You must I<not> use C<virt-rescue> on live virtual machines.  Doing so will "
23189 "probably result in disk corruption in the VM.  C<virt-rescue> tries to stop "
23190 "you from doing this, but doesn't catch all cases."
23191 msgstr ""
23192
23193 #. type: textblock
23194 #: ../rescue/virt-rescue.pod:25
23195 msgid ""
23196 "However if you use the I<--ro> (read only) option, then you can attach a "
23197 "shell to a live virtual machine.  The results might be strange or "
23198 "inconsistent at times but you won't get disk corruption."
23199 msgstr ""
23200
23201 #. type: textblock
23202 #: ../rescue/virt-rescue.pod:31
23203 msgid ""
23204 "virt-rescue is like a Rescue CD, but for virtual machines, and without the "
23205 "need for a CD.  virt-rescue gives you a rescue shell and some simple "
23206 "recovery tools which you can use to examine or rescue a virtual machine or "
23207 "disk image."
23208 msgstr ""
23209
23210 #. type: textblock
23211 #: ../rescue/virt-rescue.pod:36
23212 msgid ""
23213 "You can run virt-rescue on any virtual machine known to libvirt, or directly"
23214 " on disk image(s):"
23215 msgstr ""
23216
23217 #. type: verbatim
23218 #: ../rescue/virt-rescue.pod:39
23219 #, no-wrap
23220 msgid ""
23221 " virt-rescue -d GuestName\n"
23222 "\n"
23223 msgstr ""
23224
23225 #. type: verbatim
23226 #: ../rescue/virt-rescue.pod:41
23227 #, no-wrap
23228 msgid ""
23229 " virt-rescue --ro -a /path/to/disk.img\n"
23230 "\n"
23231 msgstr ""
23232
23233 #. type: verbatim
23234 #: ../rescue/virt-rescue.pod:43
23235 #, no-wrap
23236 msgid ""
23237 " virt-rescue -a /dev/sdc\n"
23238 "\n"
23239 msgstr ""
23240
23241 #. type: textblock
23242 #: ../rescue/virt-rescue.pod:45
23243 msgid "For live VMs you I<must> use the --ro option."
23244 msgstr ""
23245
23246 #. type: textblock
23247 #: ../rescue/virt-rescue.pod:47
23248 msgid ""
23249 "When you run virt-rescue on a virtual machine or disk image, you are placed "
23250 "in an interactive bash shell where you can use many ordinary Linux commands."
23251 "  What you see in C</> (C</bin>, C</lib> etc) is the rescue appliance.  You "
23252 "must mount the virtual machine's filesystems by hand.  There is an empty "
23253 "directory called C</sysroot> where you can mount filesystems."
23254 msgstr ""
23255
23256 #. type: textblock
23257 #: ../rescue/virt-rescue.pod:54
23258 msgid ""
23259 "In the example below, we list logical volumes, then choose one to mount "
23260 "under C</sysroot>:"
23261 msgstr ""
23262
23263 #. type: verbatim
23264 #: ../rescue/virt-rescue.pod:57
23265 #, no-wrap
23266 msgid ""
23267 " ><rescue> lvs\n"
23268 " LV      VG        Attr   LSize   Origin Snap%  Move Log Copy%  Convert\n"
23269 " lv_root vg_f11x64 -wi-a-   8.83G\n"
23270 " lv_swap vg_f11x64 -wi-a- 992.00M\n"
23271 " ><rescue> mount /dev/vg_f11x64/lv_root /sysroot\n"
23272 " ><rescue> ls /sysroot\n"
23273 "\n"
23274 msgstr ""
23275
23276 #. type: textblock
23277 #: ../rescue/virt-rescue.pod:64
23278 msgid ""
23279 "If you don't know what filesystems are available on the virtual machine then"
23280 " you can use commands such as L<parted(8)> and L<lvs(8)> to find out."
23281 msgstr ""
23282
23283 #. type: textblock
23284 #: ../rescue/virt-rescue.pod:70
23285 msgid ""
23286 "Virt-rescue can be used on I<any> disk image file or device, not just a "
23287 "virtual machine.  For example you can use it on a blank file if you want to "
23288 "partition that file (although we would recommend using L<guestfish(1)> "
23289 "instead as it is more suitable for this purpose).  You can even use virt-"
23290 "rescue on things like SD cards."
23291 msgstr ""
23292
23293 #. type: textblock
23294 #: ../rescue/virt-rescue.pod:76
23295 msgid ""
23296 "Virt-rescue does not require root.  You only need to run it as root if you "
23297 "need root to open the disk image."
23298 msgstr ""
23299
23300 #. type: textblock
23301 #: ../rescue/virt-rescue.pod:79
23302 msgid ""
23303 "This tool is just designed for quick interactive hacking on a virtual "
23304 "machine.  For more structured access to a virtual machine disk image, you "
23305 "should use L<guestfs(3)>.  To get a structured shell that you can use to "
23306 "make scripted changes to guests, use L<guestfish(1)>."
23307 msgstr ""
23308
23309 #. type: =item
23310 #: ../rescue/virt-rescue.pod:103
23311 msgid "B<--append kernelopts>"
23312 msgstr "B<--append параметри_ядра>"
23313
23314 #. type: textblock
23315 #: ../rescue/virt-rescue.pod:105
23316 msgid "Pass additional options to the rescue kernel."
23317 msgstr ""
23318
23319 #. type: verbatim
23320 #: ../rescue/virt-rescue.pod:135
23321 #, no-wrap
23322 msgid ""
23323 " virt-rescue --format=raw -a disk.img\n"
23324 "\n"
23325 msgstr ""
23326
23327 #. type: verbatim
23328 #: ../rescue/virt-rescue.pod:139
23329 #, no-wrap
23330 msgid ""
23331 " virt-rescue --format=raw -a disk.img --format -a another.img\n"
23332 "\n"
23333 msgstr ""
23334
23335 #. type: =item
23336 #: ../rescue/virt-rescue.pod:148
23337 msgid "B<-m MB>"
23338 msgstr "B<-m МБ>"
23339
23340 #. type: =item
23341 #: ../rescue/virt-rescue.pod:150
23342 msgid "B<--memsize MB>"
23343 msgstr "B<--memsize МБ>"
23344
23345 #. type: textblock
23346 #: ../rescue/virt-rescue.pod:152
23347 msgid ""
23348 "Change the amount of memory allocated to the rescue system.  The default is "
23349 "set by libguestfs and is small but adequate for running system tools.  The "
23350 "occasional program might need more memory.  The parameter is specified in "
23351 "megabytes."
23352 msgstr ""
23353
23354 #. type: =item
23355 #: ../rescue/virt-rescue.pod:157
23356 msgid "B<--network>"
23357 msgstr "B<--network>"
23358
23359 #. type: textblock
23360 #: ../rescue/virt-rescue.pod:159
23361 msgid "Enable QEMU user networking in the guest.  See L</NETWORK>."
23362 msgstr ""
23363
23364 #. type: textblock
23365 #: ../rescue/virt-rescue.pod:165
23366 msgid "Open the image read-only."
23367 msgstr ""
23368
23369 #. type: textblock
23370 #: ../rescue/virt-rescue.pod:175
23371 msgid ""
23372 "Enable SELinux in the rescue appliance.  You should read "
23373 "L<guestfs(3)/SELINUX> before using this option."
23374 msgstr ""
23375
23376 #. type: =item
23377 #: ../rescue/virt-rescue.pod:178
23378 msgid "B<--smp> N"
23379 msgstr ""
23380
23381 #. type: textblock
23382 #: ../rescue/virt-rescue.pod:180
23383 msgid "Enable N E<ge> 2 virtual CPUs in the rescue appliance."
23384 msgstr ""
23385
23386 #. type: textblock
23387 #: ../rescue/virt-rescue.pod:198
23388 msgid ""
23389 "This changes the I<-a> and I<-d> options so that disks are added and mounts "
23390 "are done read-write."
23391 msgstr ""
23392
23393 #. type: textblock
23394 #: ../rescue/virt-rescue.pod:211
23395 msgid "Previous versions of virt-rescue allowed you to write either:"
23396 msgstr ""
23397
23398 #. type: verbatim
23399 #: ../rescue/virt-rescue.pod:213
23400 #, no-wrap
23401 msgid ""
23402 " virt-rescue disk.img [disk.img ...]\n"
23403 "\n"
23404 msgstr ""
23405
23406 #. type: verbatim
23407 #: ../rescue/virt-rescue.pod:217
23408 #, no-wrap
23409 msgid ""
23410 " virt-rescue guestname\n"
23411 "\n"
23412 msgstr ""
23413
23414 #. type: =head1
23415 #: ../rescue/virt-rescue.pod:225
23416 msgid "NETWORK"
23417 msgstr "МЕРЕЖА"
23418
23419 #. type: textblock
23420 #: ../rescue/virt-rescue.pod:227
23421 msgid ""
23422 "Adding the I<--network> option enables QEMU user networking in the rescue "
23423 "appliance.  There are some differences between user networking and ordinary "
23424 "networking:"
23425 msgstr ""
23426
23427 #. type: =item
23428 #: ../rescue/virt-rescue.pod:233
23429 msgid "ping does not work"
23430 msgstr ""
23431
23432 #. type: textblock
23433 #: ../rescue/virt-rescue.pod:235
23434 msgid ""
23435 "Because the ICMP ECHO_REQUEST protocol generally requires root in order to "
23436 "send the ping packets, and because virt-rescue must be able to run as non-"
23437 "root, QEMU user networking is not able to emulate the L<ping(8)> command.  "
23438 "The ping command will appear to resolve addresses but will not be able to "
23439 "send or receive any packets.  This does not mean that the network is not "
23440 "working."
23441 msgstr ""
23442
23443 #. type: =item
23444 #: ../rescue/virt-rescue.pod:242
23445 msgid "cannot receive connections"
23446 msgstr ""
23447
23448 #. type: textblock
23449 #: ../rescue/virt-rescue.pod:244
23450 msgid "QEMU user networking cannot receive incoming connections."
23451 msgstr ""
23452
23453 #. type: =item
23454 #: ../rescue/virt-rescue.pod:246
23455 msgid "making TCP connections"
23456 msgstr ""
23457
23458 #. type: textblock
23459 #: ../rescue/virt-rescue.pod:248
23460 msgid ""
23461 "The virt-rescue appliance needs to be small and so does not include many "
23462 "network tools.  In particular there is no L<telnet(1)> command.  You can "
23463 "make TCP connections from the shell using the magical "
23464 "C</dev/tcp/E<lt>hostnameE<gt>/E<lt>portE<gt>> syntax:"
23465 msgstr ""
23466
23467 #. type: verbatim
23468 #: ../rescue/virt-rescue.pod:253
23469 #, no-wrap
23470 msgid ""
23471 " exec 3<>/dev/tcp/redhat.com/80\n"
23472 " echo \"GET /\" >&3\n"
23473 " cat <&3\n"
23474 "\n"
23475 msgstr ""
23476
23477 #. type: textblock
23478 #: ../rescue/virt-rescue.pod:257
23479 msgid "See L<bash(1)> for more details."
23480 msgstr ""
23481
23482 #. type: textblock
23483 #: ../rescue/virt-rescue.pod:263
23484 msgid ""
23485 "Several environment variables affect virt-rescue.  See "
23486 "L<guestfs(3)/ENVIRONMENT VARIABLES> for the complete list."
23487 msgstr ""
23488
23489 #. type: textblock
23490 #: ../rescue/virt-rescue.pod:290
23491 msgid ""
23492 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, "
23493 "L<http://libguestfs.org/>."
23494 msgstr ""
23495
23496 #. type: textblock
23497 #: ../resize/virt-resize.pod:5
23498 msgid "virt-resize - Resize a virtual machine disk"
23499 msgstr ""
23500
23501 #. type: verbatim
23502 #: ../resize/virt-resize.pod:9
23503 #, no-wrap
23504 msgid ""
23505 " virt-resize [--resize /dev/sdaN=[+/-]<size>[%]]\n"
23506 "   [--expand /dev/sdaN] [--shrink /dev/sdaN]\n"
23507 "   [--ignore /dev/sdaN] [--delete /dev/sdaN] [...] indisk outdisk\n"
23508 "\n"
23509 msgstr ""
23510
23511 #. type: textblock
23512 #: ../resize/virt-resize.pod:15
23513 msgid ""
23514 "Virt-resize is a tool which can resize a virtual machine disk, making it "
23515 "larger or smaller overall, and resizing or deleting any partitions contained"
23516 " within."
23517 msgstr ""
23518
23519 #. type: textblock
23520 #: ../resize/virt-resize.pod:19
23521 msgid ""
23522 "Virt-resize B<cannot> resize disk images in-place.  Virt-resize B<should "
23523 "not> be used on live virtual machines - for consistent results, shut the "
23524 "virtual machine down before resizing it."
23525 msgstr ""
23526
23527 #. type: textblock
23528 #: ../resize/virt-resize.pod:23
23529 msgid ""
23530 "If you are not familiar with the associated tools: L<virt-filesystems(1)> "
23531 "and L<virt-df(1)>, we recommend you go and read those manual pages first."
23532 msgstr ""
23533
23534 #. type: =item
23535 #: ../resize/virt-resize.pod:31 ../resize/virt-resize.pod:597
23536 #: ../sparsify/virt-sparsify.pod:203 ../src/guestfs.pod:484
23537 #: ../src/guestfs.pod:1302 ../src/guestfs.pod:1441 ../src/guestfs.pod:2690
23538 msgid "1."
23539 msgstr "1."
23540
23541 #. type: textblock
23542 #: ../resize/virt-resize.pod:33
23543 msgid ""
23544 "Copy C<olddisk> to C<newdisk>, extending one of the guest's partitions to "
23545 "fill the extra 5GB of space."
23546 msgstr ""
23547
23548 #. type: verbatim
23549 #: ../resize/virt-resize.pod:36
23550 #, no-wrap
23551 msgid ""
23552 " virt-filesystems --long -h --all -a olddisk\n"
23553 " \n"
23554 msgstr ""
23555
23556 #. type: verbatim
23557 #: ../resize/virt-resize.pod:38
23558 #, no-wrap
23559 msgid ""
23560 " truncate -r olddisk newdisk\n"
23561 " truncate -s +5G newdisk\n"
23562 " \n"
23563 msgstr ""
23564
23565 #. type: verbatim
23566 #: ../resize/virt-resize.pod:41
23567 #, no-wrap
23568 msgid ""
23569 " # Note \"/dev/sda2\" is a partition inside the \"olddisk\" file.\n"
23570 " virt-resize --expand /dev/sda2 olddisk newdisk\n"
23571 "\n"
23572 msgstr ""
23573
23574 #. type: =item
23575 #: ../resize/virt-resize.pod:44 ../resize/virt-resize.pod:604
23576 #: ../sparsify/virt-sparsify.pod:210 ../src/guestfs.pod:490
23577 #: ../src/guestfs.pod:1306 ../src/guestfs.pod:1445 ../src/guestfs.pod:2715
23578 msgid "2."
23579 msgstr "2."
23580
23581 #. type: textblock
23582 #: ../resize/virt-resize.pod:46
23583 msgid ""
23584 "As above, but make the /boot partition 200MB bigger, while giving the "
23585 "remaining space to /dev/sda2:"
23586 msgstr ""
23587
23588 #. type: verbatim
23589 #: ../resize/virt-resize.pod:49
23590 #, no-wrap
23591 msgid ""
23592 " virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 \\\n"
23593 "   olddisk newdisk\n"
23594 "\n"
23595 msgstr ""
23596
23597 #. type: =item
23598 #: ../resize/virt-resize.pod:52 ../resize/virt-resize.pod:610
23599 #: ../sparsify/virt-sparsify.pod:216 ../src/guestfs.pod:501
23600 #: ../src/guestfs.pod:1451
23601 msgid "3."
23602 msgstr "3."
23603
23604 #. type: textblock
23605 #: ../resize/virt-resize.pod:54
23606 msgid ""
23607 "As in the first example, but expand a logical volume as the final step.  "
23608 "This is what you would typically use for Linux guests that use LVM:"
23609 msgstr ""
23610
23611 #. type: verbatim
23612 #: ../resize/virt-resize.pod:58
23613 #, no-wrap
23614 msgid ""
23615 " virt-resize --expand /dev/sda2 --LV-expand /dev/vg_guest/lv_root \\\n"
23616 "   olddisk newdisk\n"
23617 "\n"
23618 msgstr ""
23619
23620 #. type: =item
23621 #: ../resize/virt-resize.pod:61
23622 msgid "4."
23623 msgstr ""
23624
23625 #. type: textblock
23626 #: ../resize/virt-resize.pod:63
23627 msgid ""
23628 "As in the first example, but the output format will be qcow2 instead of a "
23629 "raw disk:"
23630 msgstr ""
23631
23632 #. type: verbatim
23633 #: ../resize/virt-resize.pod:66
23634 #, no-wrap
23635 msgid ""
23636 " qemu-img create -f qcow2 newdisk.qcow2 15G\n"
23637 " virt-resize --expand /dev/sda2 olddisk newdisk.qcow2\n"
23638 "\n"
23639 msgstr ""
23640
23641 #. type: =head1
23642 #: ../resize/virt-resize.pod:71
23643 msgid "DETAILED USAGE"
23644 msgstr "ДОКЛАДНІШЕ ЩОДО ВИКОРИСТАННЯ"
23645
23646 #. type: =head2
23647 #: ../resize/virt-resize.pod:73
23648 msgid "EXPANDING A VIRTUAL MACHINE DISK"
23649 msgstr "РОЗШИРЕННЯ ДИСКА ВІРТУАЛЬНОЇ МАШИНИ"
23650
23651 #. type: =item
23652 #: ../resize/virt-resize.pod:77
23653 msgid "1. Shut down the virtual machine"
23654 msgstr ""
23655
23656 #. type: =item
23657 #: ../resize/virt-resize.pod:79
23658 msgid "2. Locate input disk image"
23659 msgstr ""
23660
23661 #. type: textblock
23662 #: ../resize/virt-resize.pod:81
23663 msgid ""
23664 "Locate the input disk image (ie. the file or device on the host containing "
23665 "the guest's disk).  If the guest is managed by libvirt, you can use C<virsh "
23666 "dumpxml> like this to find the disk image name:"
23667 msgstr ""
23668
23669 #. type: verbatim
23670 #: ../resize/virt-resize.pod:85
23671 #, no-wrap
23672 msgid ""
23673 " # virsh dumpxml guestname | xpath /domain/devices/disk/source\n"
23674 " Found 1 nodes:\n"
23675 " -- NODE --\n"
23676 " <source dev=\"/dev/vg/lv_guest\" />\n"
23677 "\n"
23678 msgstr ""
23679
23680 #. type: =item
23681 #: ../resize/virt-resize.pod:90
23682 msgid "3. Look at current sizing"
23683 msgstr ""
23684
23685 #. type: textblock
23686 #: ../resize/virt-resize.pod:92
23687 msgid ""
23688 "Use L<virt-filesystems(1)> to display the current partitions and sizes:"
23689 msgstr ""
23690
23691 #. type: verbatim
23692 #: ../resize/virt-resize.pod:95
23693 #, no-wrap
23694 msgid ""
23695 " # virt-filesystems --long --parts --blkdevs -h -a /dev/vg/lv_guest\n"
23696 " Name       Type       Size  Parent\n"
23697 " /dev/sda1  partition  101M  /dev/sda\n"
23698 " /dev/sda2  partition  7.9G  /dev/sda\n"
23699 " /dev/sda   device     8.0G  -\n"
23700 "\n"
23701 msgstr ""
23702
23703 #. type: textblock
23704 #: ../resize/virt-resize.pod:101
23705 msgid ""
23706 "(This example is a virtual machine with an 8 GB disk which we would like to "
23707 "expand up to 10 GB)."
23708 msgstr ""
23709
23710 #. type: =item
23711 #: ../resize/virt-resize.pod:104
23712 msgid "4. Create output disk"
23713 msgstr ""
23714
23715 #. type: textblock
23716 #: ../resize/virt-resize.pod:106
23717 msgid ""
23718 "Virt-resize cannot do in-place disk modifications.  You have to have space "
23719 "to store the resized output disk."
23720 msgstr ""
23721
23722 #. type: textblock
23723 #: ../resize/virt-resize.pod:109
23724 msgid ""
23725 "To store the resized disk image in a file, create a file of a suitable size:"
23726 msgstr ""
23727
23728 #. type: verbatim
23729 #: ../resize/virt-resize.pod:112
23730 #, no-wrap
23731 msgid ""
23732 " # rm -f outdisk\n"
23733 " # truncate -s 10G outdisk\n"
23734 "\n"
23735 msgstr ""
23736
23737 #. type: textblock
23738 #: ../resize/virt-resize.pod:115
23739 msgid "Or use L<lvcreate(1)> to create a logical volume:"
23740 msgstr ""
23741
23742 #. type: verbatim
23743 #: ../resize/virt-resize.pod:117
23744 #, no-wrap
23745 msgid ""
23746 " # lvcreate -L 10G -n lv_name vg_name\n"
23747 "\n"
23748 msgstr ""
23749
23750 #. type: textblock
23751 #: ../resize/virt-resize.pod:119
23752 msgid "Or use L<virsh(1)> vol-create-as to create a libvirt storage volume:"
23753 msgstr ""
23754
23755 #. type: verbatim
23756 #: ../resize/virt-resize.pod:121
23757 #, no-wrap
23758 msgid ""
23759 " # virsh pool-list\n"
23760 " # virsh vol-create-as poolname newvol 10G\n"
23761 "\n"
23762 msgstr ""
23763
23764 #. type: =item
23765 #: ../resize/virt-resize.pod:124
23766 msgid "5. Resize"
23767 msgstr "5. Зміна розміру"
23768
23769 #. type: textblock
23770 #: ../resize/virt-resize.pod:126
23771 msgid ""
23772 "virt-resize takes two mandatory parameters, the input disk (eg. device or "
23773 "file) and the output disk.  The output disk is the one created in the "
23774 "previous step."
23775 msgstr ""
23776
23777 #. type: verbatim
23778 #: ../resize/virt-resize.pod:130
23779 #, no-wrap
23780 msgid ""
23781 " # virt-resize indisk outdisk\n"
23782 "\n"
23783 msgstr ""
23784
23785 #. type: textblock
23786 #: ../resize/virt-resize.pod:132
23787 msgid ""
23788 "This command just copies disk image C<indisk> to disk image C<outdisk> "
23789 "I<without> resizing or changing any existing partitions.  If C<outdisk> is "
23790 "larger, then an extra, empty partition is created at the end of the disk "
23791 "covering the extra space.  If C<outdisk> is smaller, then it will give an "
23792 "error."
23793 msgstr ""
23794
23795 #. type: textblock
23796 #: ../resize/virt-resize.pod:138
23797 msgid ""
23798 "More realistically you'd want to expand existing partitions in the disk "
23799 "image by passing extra options (for the full list see the L</OPTIONS> "
23800 "section below)."
23801 msgstr ""
23802
23803 #. type: textblock
23804 #: ../resize/virt-resize.pod:142
23805 msgid ""
23806 "L</--expand> is the most useful option.  It expands the named partition "
23807 "within the disk to fill any extra space:"
23808 msgstr ""
23809
23810 #. type: verbatim
23811 #: ../resize/virt-resize.pod:145
23812 #, no-wrap
23813 msgid ""
23814 " # virt-resize --expand /dev/sda2 indisk outdisk\n"
23815 "\n"
23816 msgstr ""
23817
23818 #. type: textblock
23819 #: ../resize/virt-resize.pod:147
23820 msgid ""
23821 "(In this case, an extra partition is I<not> created at the end of the disk, "
23822 "because there will be no unused space)."
23823 msgstr ""
23824
23825 #. type: textblock
23826 #: ../resize/virt-resize.pod:150
23827 msgid ""
23828 "L</--resize> is the other commonly used option.  The following would "
23829 "increase the size of /dev/sda1 by 200M, and expand /dev/sda2 to fill the "
23830 "rest of the available space:"
23831 msgstr ""
23832
23833 #. type: verbatim
23834 #: ../resize/virt-resize.pod:154
23835 #, no-wrap
23836 msgid ""
23837 " # virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 \\\n"
23838 "     indisk outdisk\n"
23839 "\n"
23840 msgstr ""
23841
23842 #. type: textblock
23843 #: ../resize/virt-resize.pod:157
23844 msgid ""
23845 "If the expanded partition in the image contains a filesystem or LVM PV, then"
23846 " if virt-resize knows how, it will resize the contents, the equivalent of "
23847 "calling a command such as L<pvresize(8)>, L<resize2fs(8)>, L<ntfsresize(8)> "
23848 "or L<btrfs(8)>.  However virt-resize does not know how to resize some "
23849 "filesystems, so you would have to online resize them after booting the "
23850 "guest."
23851 msgstr ""
23852
23853 #. type: textblock
23854 #: ../resize/virt-resize.pod:164
23855 msgid "Other options are covered below."
23856 msgstr ""
23857
23858 #. type: =item
23859 #: ../resize/virt-resize.pod:166
23860 msgid "6. Test"
23861 msgstr "6. Перевірка"
23862
23863 #. type: textblock
23864 #: ../resize/virt-resize.pod:168
23865 msgid "Thoroughly test the new disk image I<before> discarding the old one."
23866 msgstr ""
23867
23868 #. type: textblock
23869 #: ../resize/virt-resize.pod:170
23870 msgid "If you are using libvirt, edit the XML to point at the new disk:"
23871 msgstr ""
23872
23873 #. type: verbatim
23874 #: ../resize/virt-resize.pod:172
23875 #, no-wrap
23876 msgid ""
23877 " # virsh edit guestname\n"
23878 "\n"
23879 msgstr ""
23880
23881 #. type: textblock
23882 #: ../resize/virt-resize.pod:174
23883 msgid ""
23884 "Change E<lt>source ...E<gt>, see "
23885 "L<http://libvirt.org/formatdomain.html#elementsDisks>"
23886 msgstr ""
23887
23888 #. type: textblock
23889 #: ../resize/virt-resize.pod:177
23890 msgid "Then start up the domain with the new, resized disk:"
23891 msgstr ""
23892
23893 #. type: verbatim
23894 #: ../resize/virt-resize.pod:179
23895 #, no-wrap
23896 msgid ""
23897 " # virsh start guestname\n"
23898 "\n"
23899 msgstr ""
23900
23901 #. type: textblock
23902 #: ../resize/virt-resize.pod:181
23903 msgid ""
23904 "and check that it still works.  See also the L</NOTES> section below for "
23905 "additional information."
23906 msgstr ""
23907
23908 #. type: =item
23909 #: ../resize/virt-resize.pod:184
23910 msgid "7. Resize LVs etc inside the guest"
23911 msgstr ""
23912
23913 #. type: textblock
23914 #: ../resize/virt-resize.pod:186
23915 msgid "(This can also be done offline using L<guestfish(1)>)"
23916 msgstr ""
23917
23918 #. type: textblock
23919 #: ../resize/virt-resize.pod:188
23920 msgid ""
23921 "Once the guest has booted you should see the new space available, at least "
23922 "for filesystems that virt-resize knows how to resize, and for PVs.  The user"
23923 " may need to resize LVs inside PVs, and also resize filesystem types that "
23924 "virt-resize does not know how to expand."
23925 msgstr ""
23926
23927 #. type: =head2
23928 #: ../resize/virt-resize.pod:195
23929 msgid "SHRINKING A VIRTUAL MACHINE DISK"
23930 msgstr ""
23931
23932 #. type: textblock
23933 #: ../resize/virt-resize.pod:197
23934 msgid ""
23935 "Shrinking is somewhat more complex than expanding, and only an overview is "
23936 "given here."
23937 msgstr ""
23938
23939 #. type: textblock
23940 #: ../resize/virt-resize.pod:200
23941 msgid ""
23942 "Firstly virt-resize will not attempt to shrink any partition content (PVs, "
23943 "filesystems).  The user has to shrink content before passing the disk image "
23944 "to virt-resize, and virt-resize will check that the content has been shrunk "
23945 "properly."
23946 msgstr ""
23947
23948 #. type: textblock
23949 #: ../resize/virt-resize.pod:205
23950 msgid "(Shrinking can also be done offline using L<guestfish(1)>)"
23951 msgstr ""
23952
23953 #. type: textblock
23954 #: ../resize/virt-resize.pod:207
23955 msgid ""
23956 "After shrinking PVs and filesystems, shut down the guest, and proceed with "
23957 "steps 3 and 4 above to allocate a new disk image."
23958 msgstr ""
23959
23960 #. type: textblock
23961 #: ../resize/virt-resize.pod:210
23962 msgid ""
23963 "Then run virt-resize with any of the I<--shrink> and/or I<--resize> options."
23964 msgstr ""
23965
23966 #. type: =head2
23967 #: ../resize/virt-resize.pod:213
23968 msgid "IGNORING OR DELETING PARTITIONS"
23969 msgstr ""
23970
23971 #. type: textblock
23972 #: ../resize/virt-resize.pod:215
23973 msgid ""
23974 "virt-resize also gives a convenient way to ignore or delete partitions when "
23975 "copying from the input disk to the output disk.  Ignoring a partition speeds"
23976 " up the copy where you don't care about the existing contents of a "
23977 "partition.  Deleting a partition removes it completely, but note that it "
23978 "also renumbers any partitions after the one which is deleted, which can "
23979 "leave some guests unbootable."
23980 msgstr ""
23981
23982 #. type: =head2
23983 #: ../resize/virt-resize.pod:222
23984 msgid "QCOW2 AND NON-SPARSE RAW FORMATS"
23985 msgstr ""
23986
23987 #. type: textblock
23988 #: ../resize/virt-resize.pod:224
23989 msgid ""
23990 "If the input disk is in qcow2 format, then you may prefer that the output is"
23991 " in qcow2 format as well.  Alternately, virt-resize can convert the format "
23992 "on the fly.  The output format is simply determined by the format of the "
23993 "empty output container that you provide.  Thus to create qcow2 output, use:"
23994 msgstr ""
23995
23996 #. type: verbatim
23997 #: ../resize/virt-resize.pod:230
23998 #, no-wrap
23999 msgid ""
24000 " qemu-img create [-c] -f qcow2 outdisk [size]\n"
24001 "\n"
24002 msgstr ""
24003
24004 #. type: textblock
24005 #: ../resize/virt-resize.pod:232
24006 msgid "instead of the truncate command (use I<-c> for a compressed disk)."
24007 msgstr ""
24008
24009 #. type: textblock
24010 #: ../resize/virt-resize.pod:234
24011 msgid "Similarly, to get non-sparse raw output use:"
24012 msgstr ""
24013
24014 #. type: verbatim
24015 #: ../resize/virt-resize.pod:236
24016 #, no-wrap
24017 msgid ""
24018 " fallocate -l size outdisk\n"
24019 "\n"
24020 msgstr ""
24021
24022 #. type: textblock
24023 #: ../resize/virt-resize.pod:238
24024 msgid ""
24025 "(on older systems that don't have the L<fallocate(1)> command use C<dd "
24026 "if=/dev/zero of=outdisk bs=1M count=..>)"
24027 msgstr ""
24028
24029 #. type: =head2
24030 #: ../resize/virt-resize.pod:241
24031 msgid "LOGICAL PARTITIONS"
24032 msgstr ""
24033
24034 #. type: textblock
24035 #: ../resize/virt-resize.pod:243
24036 msgid ""
24037 "Logical partitions (a.k.a. C</dev/sda5+> on disks using DOS partition "
24038 "tables) cannot be resized."
24039 msgstr ""
24040
24041 #. type: textblock
24042 #: ../resize/virt-resize.pod:246
24043 msgid ""
24044 "To understand what is going on, firstly one of the four partitions "
24045 "C</dev/sda1-4> will have MBR partition type C<05> or C<0f>.  This is called "
24046 "the B<extended partition>.  Use L<virt-filesystems(1)> to see the MBR "
24047 "partition type."
24048 msgstr ""
24049
24050 #. type: textblock
24051 #: ../resize/virt-resize.pod:251
24052 msgid "Logical partitions live inside the extended partition."
24053 msgstr ""
24054
24055 #. type: textblock
24056 #: ../resize/virt-resize.pod:253
24057 msgid ""
24058 "The extended partition can be expanded, but not shrunk (unless you force it,"
24059 " which is not advisable).  When the extended partition is copied across, all"
24060 " the logical partitions contained inside are copied over implicitly.  Virt-"
24061 "resize does not look inside the extended partition, so it copies the logical"
24062 " partitions blindly."
24063 msgstr ""
24064
24065 #. type: textblock
24066 #: ../resize/virt-resize.pod:259
24067 msgid ""
24068 "You cannot specify a logical partition (C</dev/sda5+>) at all on the command"
24069 " line.  Doing so will give an error."
24070 msgstr ""
24071
24072 #. type: textblock
24073 #: ../resize/virt-resize.pod:268 ../sparsify/virt-sparsify.pod:105
24074 msgid "Display help."
24075 msgstr ""
24076
24077 #. type: =item
24078 #: ../resize/virt-resize.pod:270
24079 msgid "B<--align-first auto>"
24080 msgstr ""
24081
24082 #. type: =item
24083 #: ../resize/virt-resize.pod:272
24084 msgid "B<--align-first never>"
24085 msgstr ""
24086
24087 #. type: =item
24088 #: ../resize/virt-resize.pod:274
24089 msgid "B<--align-first always>"
24090 msgstr ""
24091
24092 #. type: textblock
24093 #: ../resize/virt-resize.pod:276
24094 msgid ""
24095 "Align the first partition for improved performance (see also the "
24096 "I<--alignment> option)."
24097 msgstr ""
24098
24099 #. type: textblock
24100 #: ../resize/virt-resize.pod:279
24101 msgid ""
24102 "The default is I<--align-first auto> which only aligns the first partition "
24103 "if it is safe to do so.  That is, only when we know how to fix the "
24104 "bootloader automatically, and at the moment that can only be done for "
24105 "Windows guests."
24106 msgstr ""
24107
24108 #. type: textblock
24109 #: ../resize/virt-resize.pod:284
24110 msgid ""
24111 "I<--align-first never> means we never move the first partition.  This is the"
24112 " safest option.  Try this if the guest does not boot after resizing."
24113 msgstr ""
24114
24115 #. type: textblock
24116 #: ../resize/virt-resize.pod:288
24117 msgid ""
24118 "I<--align-first always> means we always align the first partition (if it "
24119 "needs to be aligned).  For some guests this will break the bootloader, "
24120 "making the guest unbootable."
24121 msgstr ""
24122
24123 #. type: =item
24124 #: ../resize/virt-resize.pod:292
24125 msgid "B<--alignment N>"
24126 msgstr ""
24127
24128 #. type: textblock
24129 #: ../resize/virt-resize.pod:294
24130 msgid ""
24131 "Set the alignment of partitions to C<N> sectors.  The default in virt-resize"
24132 " E<lt> 1.13.19 was 64 sectors, and after that is 128 sectors."
24133 msgstr ""
24134
24135 #. type: textblock
24136 #: ../resize/virt-resize.pod:298
24137 msgid ""
24138 "Assuming 512 byte sector size inside the guest, here are some suitable "
24139 "values for this:"
24140 msgstr ""
24141
24142 #. type: =item
24143 #: ../resize/virt-resize.pod:303
24144 msgid "I<--alignment 1> (512 bytes)"
24145 msgstr ""
24146
24147 #. type: textblock
24148 #: ../resize/virt-resize.pod:305
24149 msgid ""
24150 "The partitions would be packed together as closely as possible, but would be"
24151 " completely unaligned.  In some cases this can cause very poor performance."
24152 "  See L<virt-alignment-scan(1)> for further details."
24153 msgstr ""
24154
24155 #. type: =item
24156 #: ../resize/virt-resize.pod:309
24157 msgid "I<--alignment 8> (4K)"
24158 msgstr ""
24159
24160 #. type: textblock
24161 #: ../resize/virt-resize.pod:311
24162 msgid ""
24163 "This would be the minimum acceptable alignment for reasonable performance on"
24164 " modern hosts."
24165 msgstr ""
24166
24167 #. type: =item
24168 #: ../resize/virt-resize.pod:314
24169 msgid "I<--alignment 128> (64K)"
24170 msgstr ""
24171
24172 #. type: textblock
24173 #: ../resize/virt-resize.pod:316
24174 msgid ""
24175 "This alignment provides good performance when the host is using high end "
24176 "network storage."
24177 msgstr ""
24178
24179 #. type: =item
24180 #: ../resize/virt-resize.pod:319
24181 msgid "I<--alignment 2048> (1M)"
24182 msgstr ""
24183
24184 #. type: textblock
24185 #: ../resize/virt-resize.pod:321
24186 msgid ""
24187 "This is the standard alignment used by all newly installed guests since "
24188 "around 2008."
24189 msgstr ""
24190
24191 #. type: =item
24192 #: ../resize/virt-resize.pod:326
24193 msgid "B<-d>"
24194 msgstr "B<-d>"
24195
24196 #. type: =item
24197 #: ../resize/virt-resize.pod:328 ../tools/virt-make-fs.pl:177
24198 #: ../tools/virt-win-reg.pl:120
24199 msgid "B<--debug>"
24200 msgstr "B<--debug>"
24201
24202 #. type: textblock
24203 #: ../resize/virt-resize.pod:330 ../tools/virt-win-reg.pl:122
24204 msgid "Enable debugging messages."
24205 msgstr ""
24206
24207 #. type: =item
24208 #: ../resize/virt-resize.pod:332
24209 msgid "B<--delete part>"
24210 msgstr "B<--delete розділ>"
24211
24212 #. type: textblock
24213 #: ../resize/virt-resize.pod:334
24214 msgid ""
24215 "Delete the named partition.  It would be more accurate to describe this as "
24216 "\"don't copy it over\", since virt-resize doesn't do in-place changes and "
24217 "the original disk image is left intact."
24218 msgstr ""
24219
24220 #. type: textblock
24221 #: ../resize/virt-resize.pod:338
24222 msgid ""
24223 "Note that when you delete a partition, then anything contained in the "
24224 "partition is also deleted.  Furthermore, this causes any partitions that "
24225 "come after to be I<renumbered>, which can easily make your guest unbootable."
24226 msgstr ""
24227
24228 #. type: textblock
24229 #: ../resize/virt-resize.pod:343 ../resize/virt-resize.pod:404
24230 #: ../resize/virt-resize.pod:531 ../sparsify/virt-sparsify.pod:145
24231 msgid "You can give this option multiple times."
24232 msgstr ""
24233
24234 #. type: =item
24235 #: ../resize/virt-resize.pod:345
24236 msgid "B<--expand part>"
24237 msgstr "B<--expand розділ>"
24238
24239 #. type: textblock
24240 #: ../resize/virt-resize.pod:347
24241 msgid ""
24242 "Expand the named partition so it uses up all extra space (space left over "
24243 "after any other resize changes that you request have been done)."
24244 msgstr ""
24245
24246 #. type: textblock
24247 #: ../resize/virt-resize.pod:350
24248 msgid ""
24249 "If virt-resize knows how, it will expand the direct content of the "
24250 "partition.  For example, if the partition is an LVM PV, it will expand the "
24251 "PV to fit (like calling L<pvresize(8)>).  Virt-resize leaves any other "
24252 "content it doesn't know about alone."
24253 msgstr ""
24254
24255 #. type: textblock
24256 #: ../resize/virt-resize.pod:355
24257 msgid "Currently virt-resize can resize:"
24258 msgstr ""
24259
24260 #. type: textblock
24261 #: ../resize/virt-resize.pod:361
24262 msgid "ext2, ext3 and ext4 filesystems."
24263 msgstr ""
24264
24265 #. type: textblock
24266 #: ../resize/virt-resize.pod:365
24267 msgid "NTFS filesystems, if libguestfs was compiled with support for NTFS."
24268 msgstr ""
24269
24270 #. type: textblock
24271 #: ../resize/virt-resize.pod:367
24272 msgid ""
24273 "The filesystem must have been shut down consistently last time it was used."
24274 "  Additionally, L<ntfsresize(8)> marks the resized filesystem as requiring a"
24275 " consistency check, so at the first boot after resizing Windows will check "
24276 "the disk."
24277 msgstr ""
24278
24279 #. type: textblock
24280 #: ../resize/virt-resize.pod:374
24281 msgid ""
24282 "LVM PVs (physical volumes).  virt-resize does not usually resize anything "
24283 "inside the PV, but see the I<--LV-expand> option.  The user could also "
24284 "resize LVs as desired after boot."
24285 msgstr ""
24286
24287 #. type: textblock
24288 #: ../resize/virt-resize.pod:380
24289 msgid "Btrfs filesystems, if libguestfs was compiled with support for btrfs."
24290 msgstr ""
24291
24292 #. type: textblock
24293 #: ../resize/virt-resize.pod:384 ../resize/virt-resize.pod:559
24294 msgid "Note that you cannot use I<--expand> and I<--shrink> together."
24295 msgstr ""
24296
24297 #. type: =item
24298 #: ../resize/virt-resize.pod:386 ../sparsify/virt-sparsify.pod:125
24299 #: ../tools/virt-list-filesystems.pl:91 ../tools/virt-list-partitions.pl:92
24300 #: ../tools/virt-tar.pl:141 ../tools/virt-win-reg.pl:142
24301 msgid "B<--format> raw"
24302 msgstr "B<--format> raw"
24303
24304 #. type: textblock
24305 #: ../resize/virt-resize.pod:388 ../sparsify/virt-sparsify.pod:129
24306 msgid ""
24307 "Specify the format of the input disk image.  If this flag is not given then "
24308 "it is auto-detected from the image itself."
24309 msgstr ""
24310
24311 #. type: textblock
24312 #: ../resize/virt-resize.pod:394
24313 msgid ""
24314 "Note that this option I<does not> affect the output format.  See L</QCOW2 "
24315 "AND NON-SPARSE RAW FORMATS>."
24316 msgstr ""
24317
24318 #. type: =item
24319 #: ../resize/virt-resize.pod:397
24320 msgid "B<--ignore part>"
24321 msgstr "B<--ignore розділ>"
24322
24323 #. type: textblock
24324 #: ../resize/virt-resize.pod:399
24325 msgid ""
24326 "Ignore the named partition.  Effectively this means the partition is "
24327 "allocated on the destination disk, but the content is not copied across from"
24328 " the source disk.  The content of the partition will be blank (all zero "
24329 "bytes)."
24330 msgstr ""
24331
24332 #. type: =item
24333 #: ../resize/virt-resize.pod:406
24334 msgid "B<--LV-expand logvol>"
24335 msgstr "B<--LV-expand логічний_том>"
24336
24337 #. type: textblock
24338 #: ../resize/virt-resize.pod:408
24339 msgid ""
24340 "This takes the logical volume and, as a final step, expands it to fill all "
24341 "the space available in its volume group.  A typical usage, assuming a Linux "
24342 "guest with a single PV C</dev/sda2> and a root device called "
24343 "C</dev/vg_guest/lv_root> would be:"
24344 msgstr ""
24345
24346 #. type: verbatim
24347 #: ../resize/virt-resize.pod:413
24348 #, no-wrap
24349 msgid ""
24350 " virt-resize indisk outdisk \\\n"
24351 "   --expand /dev/sda2 --LV-expand /dev/vg_guest/lv_root\n"
24352 "\n"
24353 msgstr ""
24354
24355 #. type: textblock
24356 #: ../resize/virt-resize.pod:416
24357 msgid ""
24358 "This would first expand the partition (and PV), and then expand the root "
24359 "device to fill the extra space in the PV."
24360 msgstr ""
24361
24362 #. type: textblock
24363 #: ../resize/virt-resize.pod:419
24364 msgid ""
24365 "The contents of the LV are also resized if virt-resize knows how to do that."
24366 "  You can stop virt-resize from trying to expand the content by using the "
24367 "option I<--no-expand-content>."
24368 msgstr ""
24369
24370 #. type: textblock
24371 #: ../resize/virt-resize.pod:423
24372 msgid "Use L<virt-filesystems(1)> to list the filesystems in the guest."
24373 msgstr ""
24374
24375 #. type: textblock
24376 #: ../resize/virt-resize.pod:425
24377 msgid ""
24378 "You can give this option multiple times, I<but> it doesn't make sense to do "
24379 "this unless the logical volumes you specify are all in different volume "
24380 "groups."
24381 msgstr ""
24382
24383 #. type: =item
24384 #: ../resize/virt-resize.pod:429 ../sparsify/virt-sparsify.pod:147
24385 msgid "B<--machine-readable>"
24386 msgstr ""
24387
24388 #. type: textblock
24389 #: ../resize/virt-resize.pod:431 ../sparsify/virt-sparsify.pod:149
24390 msgid ""
24391 "This option is used to make the output more machine friendly when being "
24392 "parsed by other programs.  See L</MACHINE READABLE OUTPUT> below."
24393 msgstr ""
24394
24395 #. type: =item
24396 #: ../resize/virt-resize.pod:437
24397 msgid "B<--dryrun>"
24398 msgstr "B<--dryrun>"
24399
24400 #. type: textblock
24401 #: ../resize/virt-resize.pod:439
24402 msgid "Print a summary of what would be done, but don't do anything."
24403 msgstr ""
24404
24405 #. type: =item
24406 #: ../resize/virt-resize.pod:441
24407 msgid "B<--no-copy-boot-loader>"
24408 msgstr "B<--no-copy-boot-loader>"
24409
24410 #. type: textblock
24411 #: ../resize/virt-resize.pod:443
24412 msgid ""
24413 "By default, virt-resize copies over some sectors at the start of the disk "
24414 "(up to the beginning of the first partition).  Commonly these sectors "
24415 "contain the Master Boot Record (MBR) and the boot loader, and are required "
24416 "in order for the guest to boot correctly."
24417 msgstr ""
24418
24419 #. type: textblock
24420 #: ../resize/virt-resize.pod:448
24421 msgid ""
24422 "If you specify this flag, then this initial copy is not done.  You may need "
24423 "to reinstall the boot loader in this case."
24424 msgstr ""
24425
24426 #. type: =item
24427 #: ../resize/virt-resize.pod:451
24428 msgid "B<--no-extra-partition>"
24429 msgstr "B<--no-extra-partition>"
24430
24431 #. type: textblock
24432 #: ../resize/virt-resize.pod:453
24433 msgid ""
24434 "By default, virt-resize creates an extra partition if there is any extra, "
24435 "unused space after all resizing has happened.  Use this option to prevent "
24436 "the extra partition from being created.  If you do this then the extra space"
24437 " will be inaccessible until you run fdisk, parted, or some other "
24438 "partitioning tool in the guest."
24439 msgstr ""
24440
24441 #. type: textblock
24442 #: ../resize/virt-resize.pod:459
24443 msgid ""
24444 "Note that if the surplus space is smaller than 10 MB, no extra partition "
24445 "will be created."
24446 msgstr ""
24447
24448 #. type: =item
24449 #: ../resize/virt-resize.pod:462
24450 msgid "B<--no-expand-content>"
24451 msgstr "B<--no-expand-content>"
24452
24453 #. type: textblock
24454 #: ../resize/virt-resize.pod:464
24455 msgid ""
24456 "By default, virt-resize will try to expand the direct contents of "
24457 "partitions, if it knows how (see I<--expand> option above)."
24458 msgstr ""
24459
24460 #. type: textblock
24461 #: ../resize/virt-resize.pod:467
24462 msgid ""
24463 "If you give the I<--no-expand-content> option then virt-resize will not "
24464 "attempt this."
24465 msgstr ""
24466
24467 #. type: =item
24468 #: ../resize/virt-resize.pod:470
24469 msgid "B<--ntfsresize-force>"
24470 msgstr "B<--ntfsresize-force>"
24471
24472 #. type: textblock
24473 #: ../resize/virt-resize.pod:472
24474 msgid ""
24475 "Pass the I<--force> option to L<ntfsresize(8)>, allowing resizing even if "
24476 "the NTFS disk is marked as needing a consistency check.  You have to use "
24477 "this option if you want to resize a Windows guest multiple times without "
24478 "booting into Windows between each resize."
24479 msgstr ""
24480
24481 #. type: =item
24482 #: ../resize/virt-resize.pod:478
24483 msgid "B<--output-format> raw"
24484 msgstr "B<--output-format> raw"
24485
24486 #. type: textblock
24487 #: ../resize/virt-resize.pod:480
24488 msgid ""
24489 "Specify the format of the output disk image.  If this flag is not given then"
24490 " it is auto-detected from the image itself."
24491 msgstr ""
24492
24493 #. type: textblock
24494 #: ../resize/virt-resize.pod:486
24495 msgid ""
24496 "Note that this option I<does not create> the output format.  This option "
24497 "just tells libguestfs what it is so it doesn't try to guess it.  You still "
24498 "need to create the output disk with the right format.  See L</QCOW2 AND NON-"
24499 "SPARSE RAW FORMATS>."
24500 msgstr ""
24501
24502 #. type: textblock
24503 #: ../resize/virt-resize.pod:495
24504 msgid "Don't print the summary."
24505 msgstr ""
24506
24507 #. type: =item
24508 #: ../resize/virt-resize.pod:497
24509 msgid "B<--resize part=size>"
24510 msgstr "B<--resize розділ=розмір>"
24511
24512 #. type: textblock
24513 #: ../resize/virt-resize.pod:499
24514 msgid ""
24515 "Resize the named partition (expanding or shrinking it) so that it has the "
24516 "given size."
24517 msgstr ""
24518
24519 #. type: textblock
24520 #: ../resize/virt-resize.pod:502
24521 msgid ""
24522 "C<size> can be expressed as an absolute number followed by b/K/M/G to mean "
24523 "bytes, Kilobytes, Megabytes, or Gigabytes; or as a percentage of the current"
24524 " size; or as a relative number or percentage.  For example:"
24525 msgstr ""
24526
24527 #. type: verbatim
24528 #: ../resize/virt-resize.pod:508
24529 #, no-wrap
24530 msgid ""
24531 " --resize /dev/sda2=10G\n"
24532 "\n"
24533 msgstr ""
24534
24535 #. type: verbatim
24536 #: ../resize/virt-resize.pod:510
24537 #, no-wrap
24538 msgid ""
24539 " --resize /dev/sda4=90%\n"
24540 "\n"
24541 msgstr ""
24542
24543 #. type: verbatim
24544 #: ../resize/virt-resize.pod:512
24545 #, no-wrap
24546 msgid ""
24547 " --resize /dev/sda2=+1G\n"
24548 "\n"
24549 msgstr ""
24550
24551 #. type: verbatim
24552 #: ../resize/virt-resize.pod:514
24553 #, no-wrap
24554 msgid ""
24555 " --resize /dev/sda2=-200M\n"
24556 "\n"
24557 msgstr ""
24558
24559 #. type: verbatim
24560 #: ../resize/virt-resize.pod:516
24561 #, no-wrap
24562 msgid ""
24563 " --resize /dev/sda1=+128K\n"
24564 "\n"
24565 msgstr ""
24566
24567 #. type: verbatim
24568 #: ../resize/virt-resize.pod:518
24569 #, no-wrap
24570 msgid ""
24571 " --resize /dev/sda1=+10%\n"
24572 "\n"
24573 msgstr ""
24574
24575 #. type: verbatim
24576 #: ../resize/virt-resize.pod:520
24577 #, no-wrap
24578 msgid ""
24579 " --resize /dev/sda1=-10%\n"
24580 "\n"
24581 msgstr ""
24582
24583 #. type: textblock
24584 #: ../resize/virt-resize.pod:522
24585 msgid ""
24586 "You can increase the size of any partition.  Virt-resize will expand the "
24587 "direct content of the partition if it knows how (see I<--expand> below)."
24588 msgstr ""
24589
24590 #. type: textblock
24591 #: ../resize/virt-resize.pod:526
24592 msgid ""
24593 "You can only I<decrease> the size of partitions that contain filesystems or "
24594 "PVs which have already been shrunk.  Virt-resize will check this has been "
24595 "done before proceeding, or else will print an error (see also I<--resize-"
24596 "force>)."
24597 msgstr ""
24598
24599 #. type: =item
24600 #: ../resize/virt-resize.pod:533
24601 msgid "B<--resize-force part=size>"
24602 msgstr "B<--resize-force розділ=розмір>"
24603
24604 #. type: textblock
24605 #: ../resize/virt-resize.pod:535
24606 msgid ""
24607 "This is the same as I<--resize> except that it will let you decrease the "
24608 "size of any partition.  Generally this means you will lose any data which "
24609 "was at the end of the partition you shrink, but you may not care about that "
24610 "(eg. if shrinking an unused partition, or if you can easily recreate it such"
24611 " as a swap partition)."
24612 msgstr ""
24613
24614 #. type: textblock
24615 #: ../resize/virt-resize.pod:541
24616 msgid "See also the I<--ignore> option."
24617 msgstr ""
24618
24619 #. type: =item
24620 #: ../resize/virt-resize.pod:543
24621 msgid "B<--shrink part>"
24622 msgstr "B<--shrink розділ>"
24623
24624 #. type: textblock
24625 #: ../resize/virt-resize.pod:545
24626 msgid ""
24627 "Shrink the named partition until the overall disk image fits in the "
24628 "destination.  The named partition B<must> contain a filesystem or PV which "
24629 "has already been shrunk using another tool (eg. L<guestfish(1)> or other "
24630 "online tools).  Virt-resize will check this and give an error if it has not "
24631 "been done."
24632 msgstr ""
24633
24634 #. type: textblock
24635 #: ../resize/virt-resize.pod:551
24636 msgid ""
24637 "The amount by which the overall disk must be shrunk (after carrying out all "
24638 "other operations requested by the user) is called the \"deficit\".  For "
24639 "example, a straight copy (assume no other operations)  from a 5GB disk image"
24640 " to a 4GB disk image results in a 1GB deficit.  In this case, virt-resize "
24641 "would give an error unless the user specified a partition to shrink and that"
24642 " partition had more than a gigabyte of free space."
24643 msgstr ""
24644
24645 #. type: =head1
24646 #: ../resize/virt-resize.pod:569 ../sparsify/virt-sparsify.pod:177
24647 msgid "MACHINE READABLE OUTPUT"
24648 msgstr ""
24649
24650 #. type: textblock
24651 #: ../resize/virt-resize.pod:571
24652 msgid ""
24653 "The I<--machine-readable> option can be used to make the output more machine"
24654 " friendly, which is useful when calling virt-resize from other programs, "
24655 "GUIs etc."
24656 msgstr ""
24657
24658 #. type: textblock
24659 #: ../resize/virt-resize.pod:575 ../sparsify/virt-sparsify.pod:183
24660 msgid "There are two ways to use this option."
24661 msgstr ""
24662
24663 #. type: textblock
24664 #: ../resize/virt-resize.pod:577
24665 msgid ""
24666 "Firstly use the option on its own to query the capabilities of the virt-"
24667 "resize binary.  Typical output looks like this:"
24668 msgstr ""
24669
24670 #. type: verbatim
24671 #: ../resize/virt-resize.pod:580
24672 #, no-wrap
24673 msgid ""
24674 " $ virt-resize --machine-readable\n"
24675 " virt-resize\n"
24676 " ntfsresize-force\n"
24677 " 32bitok\n"
24678 " ntfs\n"
24679 " btrfs\n"
24680 "\n"
24681 msgstr ""
24682
24683 #. type: textblock
24684 #: ../resize/virt-resize.pod:587 ../sparsify/virt-sparsify.pod:193
24685 msgid ""
24686 "A list of features is printed, one per line, and the program exits with "
24687 "status 0."
24688 msgstr ""
24689
24690 #. type: textblock
24691 #: ../resize/virt-resize.pod:590 ../sparsify/virt-sparsify.pod:196
24692 msgid ""
24693 "Secondly use the option in conjunction with other options to make the "
24694 "regular program output more machine friendly."
24695 msgstr ""
24696
24697 #. type: textblock
24698 #: ../resize/virt-resize.pod:593 ../sparsify/virt-sparsify.pod:199
24699 msgid "At the moment this means:"
24700 msgstr ""
24701
24702 #. type: textblock
24703 #: ../resize/virt-resize.pod:599 ../sparsify/virt-sparsify.pod:205
24704 msgid ""
24705 "Progress bar messages can be parsed from stdout by looking for this regular "
24706 "expression:"
24707 msgstr ""
24708
24709 #. type: verbatim
24710 #: ../resize/virt-resize.pod:602 ../sparsify/virt-sparsify.pod:208
24711 #, no-wrap
24712 msgid ""
24713 " ^[0-9]+/[0-9]+$\n"
24714 "\n"
24715 msgstr ""
24716
24717 #. type: textblock
24718 #: ../resize/virt-resize.pod:606 ../sparsify/virt-sparsify.pod:212
24719 msgid ""
24720 "The calling program should treat messages sent to stdout (except for "
24721 "progress bar messages) as status messages.  They can be logged and/or "
24722 "displayed to the user."
24723 msgstr ""
24724
24725 #. type: textblock
24726 #: ../resize/virt-resize.pod:612
24727 msgid ""
24728 "The calling program should treat messages sent to stderr as error messages."
24729 "  In addition, virt-resize exits with a non-zero status code if there was a "
24730 "fatal error."
24731 msgstr ""
24732
24733 #. type: textblock
24734 #: ../resize/virt-resize.pod:618
24735 msgid ""
24736 "Versions of the program prior to 1.13.9 did not support the I<--machine-"
24737 "readable> option and will return an error."
24738 msgstr ""
24739
24740 #. type: =head2
24741 #: ../resize/virt-resize.pod:623
24742 msgid "\"Partition 1 does not end on cylinder boundary.\""
24743 msgstr ""
24744
24745 #. type: textblock
24746 #: ../resize/virt-resize.pod:625
24747 msgid ""
24748 "Virt-resize aligns partitions to multiples of 128 sectors (see the "
24749 "I<--alignment> parameter).  Usually this means the partitions will not be "
24750 "aligned to the ancient CHS geometry.  However CHS geometry is meaningless "
24751 "for disks manufactured since the early 1990s, and doubly so for virtual hard"
24752 " drives.  Alignment of partitions to cylinders is not required by any modern"
24753 " operating system."
24754 msgstr ""
24755
24756 #. type: =head2
24757 #: ../resize/virt-resize.pod:632
24758 msgid "RESIZING WINDOWS VIRTUAL MACHINES"
24759 msgstr ""
24760
24761 #. type: textblock
24762 #: ../resize/virt-resize.pod:634
24763 msgid ""
24764 "In Windows Vista and later versions, Microsoft switched to using a separate "
24765 "boot partition.  In these VMs, typically C</dev/sda1> is the boot partition "
24766 "and C</dev/sda2> is the main (C:) drive.  Resizing the first (boot) "
24767 "partition causes the bootloader to fail with C<0xC0000225> error.  Resizing "
24768 "the second partition (ie. C: drive)  should work."
24769 msgstr ""
24770
24771 #. type: textblock
24772 #: ../resize/virt-resize.pod:641
24773 msgid ""
24774 "Windows may initiate a lengthy \"chkdsk\" on first boot after a resize, if "
24775 "NTFS partitions have been expanded.  This is just a safety check and (unless"
24776 " it find errors) is nothing to worry about."
24777 msgstr ""
24778
24779 #. type: =head2
24780 #: ../resize/virt-resize.pod:645
24781 msgid "GUEST BOOT STUCK AT \"GRUB\""
24782 msgstr ""
24783
24784 #. type: textblock
24785 #: ../resize/virt-resize.pod:647
24786 msgid ""
24787 "If a Linux guest does not boot after resizing, and the boot is stuck after "
24788 "printing C<GRUB> on the console, try reinstalling grub."
24789 msgstr ""
24790
24791 #. type: verbatim
24792 #: ../resize/virt-resize.pod:650
24793 #, no-wrap
24794 msgid ""
24795 " guestfish -i -a newdisk\n"
24796 " ><fs> cat /boot/grub/device.map\n"
24797 " # check the contents of this file are sensible or\n"
24798 " # edit the file if necessary\n"
24799 " ><fs> grub-install / /dev/vda\n"
24800 " ><fs> exit\n"
24801 "\n"
24802 msgstr ""
24803
24804 #. type: textblock
24805 #: ../resize/virt-resize.pod:657
24806 msgid ""
24807 "For more flexible guest reconfiguration, including if you need to specify "
24808 "other parameters to grub-install, use L<virt-rescue(1)>."
24809 msgstr ""
24810
24811 #. type: =head1
24812 #: ../resize/virt-resize.pod:660
24813 msgid "ALTERNATIVE TOOLS"
24814 msgstr ""
24815
24816 #. type: textblock
24817 #: ../resize/virt-resize.pod:662
24818 msgid ""
24819 "There are several proprietary tools for resizing partitions.  We won't "
24820 "mention any here."
24821 msgstr ""
24822
24823 #. type: textblock
24824 #: ../resize/virt-resize.pod:665
24825 msgid ""
24826 "L<parted(8)> and its graphical shell gparted can do some types of resizing "
24827 "operations on disk images.  They can resize and move partitions, but I don't"
24828 " think they can do anything with the contents, and they certainly don't "
24829 "understand LVM."
24830 msgstr ""
24831
24832 #. type: textblock
24833 #: ../resize/virt-resize.pod:670
24834 msgid ""
24835 "L<guestfish(1)> can do everything that virt-resize can do and a lot more, "
24836 "but at a much lower level.  You will probably end up hand-calculating sector"
24837 " offsets, which is something that virt-resize was designed to avoid.  If you"
24838 " want to see the guestfish-equivalent commands that virt-resize runs, use "
24839 "the I<--debug> flag."
24840 msgstr ""
24841
24842 #. type: textblock
24843 #: ../resize/virt-resize.pod:690
24844 msgid ""
24845 "L<virt-filesystems(1)>, L<virt-df(1)>, L<guestfs(3)>, L<guestfish(1)>, "
24846 "L<lvm(8)>, L<pvresize(8)>, L<lvresize(8)>, L<resize2fs(8)>, "
24847 "L<ntfsresize(8)>, L<btrfs(8)>, L<virsh(1)>, L<parted(8)>, L<truncate(1)>, "
24848 "L<fallocate(1)>, L<grub(8)>, L<grub-install(8)>, L<virt-rescue(1)>, L<virt-"
24849 "sparsify(1)>, L<virt-alignment-scan(1)>, L<http://libguestfs.org/>."
24850 msgstr ""
24851
24852 #. type: textblock
24853 #: ../ruby/examples/guestfs-ruby.pod:5
24854 msgid "guestfs-ruby - How to use libguestfs from Ruby"
24855 msgstr ""
24856
24857 #. type: verbatim
24858 #: ../ruby/examples/guestfs-ruby.pod:9
24859 #, no-wrap
24860 msgid ""
24861 " require 'guestfs'\n"
24862 " g = Guestfs::Guestfs.new()\n"
24863 " g.add_drive_opts(\"disk.img\",\n"
24864 "                  :readonly => 1, :format => \"raw\")\n"
24865 " g.launch()\n"
24866 "\n"
24867 msgstr ""
24868
24869 #. type: textblock
24870 #: ../ruby/examples/guestfs-ruby.pod:17
24871 msgid ""
24872 "This manual page documents how to call libguestfs from the Ruby programming "
24873 "language.  This page just documents the differences from the C API and gives"
24874 " some examples.  If you are not familiar with using libguestfs, you also "
24875 "need to read L<guestfs(3)>."
24876 msgstr ""
24877
24878 #. type: textblock
24879 #: ../ruby/examples/guestfs-ruby.pod:24
24880 msgid ""
24881 "Errors from libguestfs functions are mapped into the C<Error> exception.  "
24882 "This has a single parameter which is the error message (a string)."
24883 msgstr ""
24884
24885 #. type: textblock
24886 #: ../ruby/examples/guestfs-ruby.pod:38
24887 msgid ""
24888 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-erlang(3)>, L<guestfs-"
24889 "java(3)>, L<guestfs-ocaml(3)>, L<guestfs-perl(3)>, L<guestfs-python(3)>, L"
24890 "<guestfs-recipes(1)>, L<http://libguestfs.org/>."
24891 msgstr ""
24892
24893 #. type: textblock
24894 #: ../sparsify/virt-sparsify.pod:5
24895 msgid "virt-sparsify - Make a virtual machine disk sparse"
24896 msgstr ""
24897
24898 #. type: verbatim
24899 #: ../sparsify/virt-sparsify.pod:9
24900 #, no-wrap
24901 msgid ""
24902 " virt-sparsify [--options] indisk outdisk\n"
24903 "\n"
24904 msgstr ""
24905
24906 #. type: textblock
24907 #: ../sparsify/virt-sparsify.pod:13
24908 msgid ""
24909 "Virt-sparsify is a tool which can make a virtual machine disk (or any disk "
24910 "image) sparse a.k.a. thin-provisioned.  This means that free space within "
24911 "the disk image can be converted back to free space on the host."
24912 msgstr ""
24913
24914 #. type: textblock
24915 #: ../sparsify/virt-sparsify.pod:18
24916 msgid ""
24917 "Virt-sparsify can locate and sparsify free space in most filesystems (eg. "
24918 "ext2/3/4, btrfs, NTFS, etc.), and also in LVM physical volumes."
24919 msgstr ""
24920
24921 #. type: textblock
24922 #: ../sparsify/virt-sparsify.pod:21
24923 msgid ""
24924 "Virt-sparsify can also convert between some disk formats, for example "
24925 "converting a raw disk image to a thin-provisioned qcow2 image."
24926 msgstr ""
24927
24928 #. type: textblock
24929 #: ../sparsify/virt-sparsify.pod:24
24930 msgid ""
24931 "Virt-sparsify can operate on any disk image, not just ones from virtual "
24932 "machines.  If a virtual machine has more than one attached disk, you must "
24933 "sparsify each one separately."
24934 msgstr ""
24935
24936 #. type: =head2
24937 #: ../sparsify/virt-sparsify.pod:28
24938 msgid "IMPORTANT LIMITATIONS"
24939 msgstr ""
24940
24941 #. type: textblock
24942 #: ../sparsify/virt-sparsify.pod:34
24943 msgid ""
24944 "Virt-sparsify does not do in-place modifications.  It copies from a source "
24945 "image to a destination image, leaving the source unchanged.  I<Check that "
24946 "the sparsification was successful before deleting the source image>."
24947 msgstr ""
24948
24949 #. type: textblock
24950 #: ../sparsify/virt-sparsify.pod:41
24951 msgid "The virtual machine I<must be shut down> before using this tool."
24952 msgstr ""
24953
24954 #. type: textblock
24955 #: ../sparsify/virt-sparsify.pod:45
24956 msgid ""
24957 "Virt-sparsify may require up to 2x the virtual size of the source disk image"
24958 " (1 temporary copy + 1 destination image).  This is in the worst case and "
24959 "usually much less space is required."
24960 msgstr ""
24961
24962 #. type: textblock
24963 #: ../sparsify/virt-sparsify.pod:51
24964 msgid ""
24965 "Virt-sparsify cannot resize disk images.  To do that, use L<virt-resize(1)>."
24966 msgstr ""
24967
24968 #. type: textblock
24969 #: ../sparsify/virt-sparsify.pod:56
24970 msgid "Virt-sparsify cannot handle encrypted disks."
24971 msgstr ""
24972
24973 #. type: textblock
24974 #: ../sparsify/virt-sparsify.pod:60
24975 msgid ""
24976 "Virt-sparsify cannot yet sparsify the space between partitions.  Note that "
24977 "this space is often used for critical items like bootloaders so it's not "
24978 "really unused."
24979 msgstr ""
24980
24981 #. type: textblock
24982 #: ../sparsify/virt-sparsify.pod:66
24983 msgid ""
24984 "Virt-sparsify does not yet know how to sparsify swapspace.  It is not safe "
24985 "to do this unless we can be sure there is no hibernation data, so at the "
24986 "moment swap partitions are ignored."
24987 msgstr ""
24988
24989 #. type: textblock
24990 #: ../sparsify/virt-sparsify.pod:72
24991 msgid ""
24992 "You may also want to read the manual pages for the associated tools L<virt-"
24993 "filesystems(1)> and L<virt-df(1)> before starting."
24994 msgstr ""
24995
24996 #. type: textblock
24997 #: ../sparsify/virt-sparsify.pod:77
24998 msgid "Typical usage is:"
24999 msgstr ""
25000
25001 #. type: verbatim
25002 #: ../sparsify/virt-sparsify.pod:79
25003 #, no-wrap
25004 msgid ""
25005 " virt-sparsify indisk outdisk\n"
25006 "\n"
25007 msgstr ""
25008
25009 #. type: textblock
25010 #: ../sparsify/virt-sparsify.pod:81
25011 msgid ""
25012 "which copies C<indisk> to C<outdisk>, making the output sparse.  C<outdisk> "
25013 "is created, or overwritten if it already exists.  The format of the input "
25014 "disk is detected (eg. qcow2) and the same format is used for the output "
25015 "disk."
25016 msgstr ""
25017
25018 #. type: textblock
25019 #: ../sparsify/virt-sparsify.pod:86
25020 msgid "To convert between formats, use the I<--convert> option:"
25021 msgstr ""
25022
25023 #. type: verbatim
25024 #: ../sparsify/virt-sparsify.pod:88
25025 #, no-wrap
25026 msgid ""
25027 " virt-sparsify disk.raw --convert qcow2 disk.qcow2\n"
25028 "\n"
25029 msgstr ""
25030
25031 #. type: textblock
25032 #: ../sparsify/virt-sparsify.pod:90
25033 msgid ""
25034 "Virt-sparsify tries to zero and sparsify free space on every filesystem it "
25035 "can find within the source disk image.  You can get it to ignore (don't zero"
25036 " free space on) certain filesystems by doing:"
25037 msgstr ""
25038
25039 #. type: verbatim
25040 #: ../sparsify/virt-sparsify.pod:94
25041 #, no-wrap
25042 msgid ""
25043 " virt-sparsify --ignore /dev/sda1 indisk outdisk\n"
25044 "\n"
25045 msgstr ""
25046
25047 #. type: textblock
25048 #: ../sparsify/virt-sparsify.pod:96
25049 msgid ""
25050 "See L<virt-filesystems(1)> to get a list of filesystems within a disk image."
25051 msgstr ""
25052
25053 #. type: =item
25054 #: ../sparsify/virt-sparsify.pod:107
25055 msgid "B<--convert> raw"
25056 msgstr ""
25057
25058 #. type: =item
25059 #: ../sparsify/virt-sparsify.pod:109
25060 msgid "B<--convert> qcow2"
25061 msgstr ""
25062
25063 #. type: =item
25064 #: ../sparsify/virt-sparsify.pod:111
25065 msgid "B<--convert> [other formats]"
25066 msgstr ""
25067
25068 #. type: textblock
25069 #: ../sparsify/virt-sparsify.pod:113
25070 msgid ""
25071 "Use C<output-format> as the format for the destination image.  If this is "
25072 "not specified, then the input format is used."
25073 msgstr ""
25074
25075 #. type: textblock
25076 #: ../sparsify/virt-sparsify.pod:116
25077 msgid "Supported and known-working output formats are: C<raw>, C<qcow2>."
25078 msgstr ""
25079
25080 #. type: textblock
25081 #: ../sparsify/virt-sparsify.pod:118
25082 msgid ""
25083 "You can also use any format supported by the L<qemu-img(1)> program, eg. "
25084 "C<vdi> or C<vmdk>, but support for other formats is reliant on qemu."
25085 msgstr ""
25086
25087 #. type: textblock
25088 #: ../sparsify/virt-sparsify.pod:122
25089 msgid ""
25090 "Specifying the I<--convert> option is usually a good idea, because then "
25091 "virt-sparsify doesn't need to try to guess the input format."
25092 msgstr ""
25093
25094 #. type: =item
25095 #: ../sparsify/virt-sparsify.pod:127
25096 msgid "B<--format> qcow2"
25097 msgstr ""
25098
25099 #. type: =item
25100 #: ../sparsify/virt-sparsify.pod:135
25101 msgid "B<--ignore> filesystem"
25102 msgstr ""
25103
25104 #. type: =item
25105 #: ../sparsify/virt-sparsify.pod:137
25106 msgid "B<--ignore> volgroup"
25107 msgstr ""
25108
25109 #. type: textblock
25110 #: ../sparsify/virt-sparsify.pod:139
25111 msgid ""
25112 "Ignore the named filesystem.  Free space on the filesystem will not be "
25113 "zeroed, but existing blocks of zeroes will still be sparsified."
25114 msgstr ""
25115
25116 #. type: textblock
25117 #: ../sparsify/virt-sparsify.pod:142
25118 msgid ""
25119 "In the second form, this ignores the named volume group.  Use the volume "
25120 "group name without the C</dev/> prefix, eg. I<--ignore vg_foo>"
25121 msgstr ""
25122
25123 #. type: textblock
25124 #: ../sparsify/virt-sparsify.pod:157
25125 msgid "This disables progress bars and other unnecessary output."
25126 msgstr ""
25127
25128 #. type: textblock
25129 #: ../sparsify/virt-sparsify.pod:179
25130 msgid ""
25131 "The I<--machine-readable> option can be used to make the output more machine"
25132 " friendly, which is useful when calling virt-sparsify from other programs, "
25133 "GUIs etc."
25134 msgstr ""
25135
25136 #. type: textblock
25137 #: ../sparsify/virt-sparsify.pod:185
25138 msgid ""
25139 "Firstly use the option on its own to query the capabilities of the virt-"
25140 "sparsify binary.  Typical output looks like this:"
25141 msgstr ""
25142
25143 #. type: verbatim
25144 #: ../sparsify/virt-sparsify.pod:188
25145 #, no-wrap
25146 msgid ""
25147 " $ virt-sparsify --machine-readable\n"
25148 " virt-sparsify\n"
25149 " ntfs\n"
25150 " btrfs\n"
25151 "\n"
25152 msgstr ""
25153
25154 #. type: textblock
25155 #: ../sparsify/virt-sparsify.pod:218
25156 msgid ""
25157 "The calling program should treat messages sent to stderr as error messages."
25158 "  In addition, virt-sparsify exits with a non-zero status code if there was "
25159 "a fatal error."
25160 msgstr ""
25161
25162 #. type: textblock
25163 #: ../sparsify/virt-sparsify.pod:224
25164 msgid ""
25165 "All versions of virt-sparsify have supported the I<--machine-readable> "
25166 "option."
25167 msgstr ""
25168
25169 #. type: textblock
25170 #: ../sparsify/virt-sparsify.pod:238
25171 msgid ""
25172 "Location of the temporary directory used for the potentially large temporary"
25173 " overlay file."
25174 msgstr ""
25175
25176 #. type: textblock
25177 #: ../sparsify/virt-sparsify.pod:241
25178 msgid ""
25179 "You should ensure there is enough free space in the worst case for a full "
25180 "copy of the source disk (I<virtual> size), or else set C<$TMPDIR> to point "
25181 "to another directory that has enough space."
25182 msgstr ""
25183
25184 #. type: textblock
25185 #: ../sparsify/virt-sparsify.pod:245
25186 msgid "This defaults to C</tmp>."
25187 msgstr ""
25188
25189 #. type: textblock
25190 #: ../sparsify/virt-sparsify.pod:249
25191 msgid ""
25192 "For other environment variables, see L<guestfs(3)/ENVIRONMENT VARIABLES>."
25193 msgstr ""
25194
25195 #. type: textblock
25196 #: ../sparsify/virt-sparsify.pod:253
25197 msgid ""
25198 "L<virt-filesystems(1)>, L<virt-df(1)>, L<virt-resize(1)>, L<virt-rescue(1)>,"
25199 " L<guestfs(3)>, L<guestfish(1)>, L<truncate(1)>, L<fallocate(1)>, L<qemu-"
25200 "img(1)>, L<http://libguestfs.org/>."
25201 msgstr ""
25202
25203 #. type: =head2
25204 #: ../src/guestfs-actions.pod:1
25205 msgid "guestfs_add_cdrom"
25206 msgstr ""
25207
25208 #. type: verbatim
25209 #: ../src/guestfs-actions.pod:3
25210 #, no-wrap
25211 msgid ""
25212 " int\n"
25213 " guestfs_add_cdrom (guestfs_h *g,\n"
25214 "                    const char *filename);\n"
25215 "\n"
25216 msgstr ""
25217
25218 #. type: textblock
25219 #: ../src/guestfs-actions.pod:7 ../src/guestfs-actions.pod:302
25220 #: ../src/guestfs-actions.pod:323
25221 msgid ""
25222 "I<This function is deprecated.> In new code, use the "
25223 "L</guestfs_add_drive_opts> call instead."
25224 msgstr ""
25225
25226 #. type: textblock
25227 #: ../src/guestfs-actions.pod:24
25228 msgid ""
25229 "This call checks for the existence of C<filename>.  This stops you from "
25230 "specifying other types of drive which are supported by qemu such as C<nbd:> "
25231 "and C<http:> URLs.  To specify those, use the general C<guestfs_config> call"
25232 " instead."
25233 msgstr ""
25234
25235 #. type: textblock
25236 #: ../src/guestfs-actions.pod:31
25237 msgid ""
25238 "If you just want to add an ISO file (often you use this as an efficient way "
25239 "to transfer large files into the guest), then you should probably use "
25240 "C<guestfs_add_drive_ro> instead."
25241 msgstr ""
25242
25243 #. type: textblock
25244 #: ../src/guestfs-actions.pod:37 ../src/guestfs-actions.pod:187
25245 #: ../src/guestfs-actions.pod:254 ../src/guestfs-actions.pod:291
25246 #: ../src/guestfs-actions.pod:312 ../src/guestfs-actions.pod:333
25247 #: ../src/guestfs-actions.pod:346 ../src/guestfs-actions.pod:360
25248 #: ../src/guestfs-actions.pod:480 ../src/guestfs-actions.pod:500
25249 #: ../src/guestfs-actions.pod:514 ../src/guestfs-actions.pod:559
25250 #: ../src/guestfs-actions.pod:587 ../src/guestfs-actions.pod:605
25251 #: ../src/guestfs-actions.pod:672 ../src/guestfs-actions.pod:705
25252 #: ../src/guestfs-actions.pod:719 ../src/guestfs-actions.pod:734
25253 #: ../src/guestfs-actions.pod:833 ../src/guestfs-actions.pod:851
25254 #: ../src/guestfs-actions.pod:865 ../src/guestfs-actions.pod:879
25255 #: ../src/guestfs-actions.pod:916 ../src/guestfs-actions.pod:1099
25256 #: ../src/guestfs-actions.pod:1119 ../src/guestfs-actions.pod:1137
25257 #: ../src/guestfs-actions.pod:1227 ../src/guestfs-actions.pod:1286
25258 #: ../src/guestfs-actions.pod:1332 ../src/guestfs-actions.pod:1372
25259 #: ../src/guestfs-actions.pod:1423 ../src/guestfs-actions.pod:1474
25260 #: ../src/guestfs-actions.pod:1530 ../src/guestfs-actions.pod:1582
25261 #: ../src/guestfs-actions.pod:1601 ../src/guestfs-actions.pod:1615
25262 #: ../src/guestfs-actions.pod:1643 ../src/guestfs-actions.pod:1713
25263 #: ../src/guestfs-actions.pod:1744 ../src/guestfs-actions.pod:1769
25264 #: ../src/guestfs-actions.pod:1811 ../src/guestfs-actions.pod:1924
25265 #: ../src/guestfs-actions.pod:1951 ../src/guestfs-actions.pod:2166
25266 #: ../src/guestfs-actions.pod:2188 ../src/guestfs-actions.pod:2275
25267 #: ../src/guestfs-actions.pod:2783 ../src/guestfs-actions.pod:2927
25268 #: ../src/guestfs-actions.pod:2988 ../src/guestfs-actions.pod:3023
25269 #: ../src/guestfs-actions.pod:4080 ../src/guestfs-actions.pod:4095
25270 #: ../src/guestfs-actions.pod:4120 ../src/guestfs-actions.pod:4309
25271 #: ../src/guestfs-actions.pod:4323 ../src/guestfs-actions.pod:4336
25272 #: ../src/guestfs-actions.pod:4350 ../src/guestfs-actions.pod:4365
25273 #: ../src/guestfs-actions.pod:4401 ../src/guestfs-actions.pod:4473
25274 #: ../src/guestfs-actions.pod:4493 ../src/guestfs-actions.pod:4510
25275 #: ../src/guestfs-actions.pod:4533 ../src/guestfs-actions.pod:4556
25276 #: ../src/guestfs-actions.pod:4591 ../src/guestfs-actions.pod:4610
25277 #: ../src/guestfs-actions.pod:4629 ../src/guestfs-actions.pod:4664
25278 #: ../src/guestfs-actions.pod:4676 ../src/guestfs-actions.pod:4712
25279 #: ../src/guestfs-actions.pod:4728 ../src/guestfs-actions.pod:4741
25280 #: ../src/guestfs-actions.pod:4756 ../src/guestfs-actions.pod:4773
25281 #: ../src/guestfs-actions.pod:4866 ../src/guestfs-actions.pod:4886
25282 #: ../src/guestfs-actions.pod:4899 ../src/guestfs-actions.pod:4950
25283 #: ../src/guestfs-actions.pod:4968 ../src/guestfs-actions.pod:4986
25284 #: ../src/guestfs-actions.pod:5002 ../src/guestfs-actions.pod:5016
25285 #: ../src/guestfs-actions.pod:5030 ../src/guestfs-actions.pod:5047
25286 #: ../src/guestfs-actions.pod:5062 ../src/guestfs-actions.pod:5089
25287 #: ../src/guestfs-actions.pod:5152 ../src/guestfs-actions.pod:5225
25288 #: ../src/guestfs-actions.pod:5256 ../src/guestfs-actions.pod:5275
25289 #: ../src/guestfs-actions.pod:5294 ../src/guestfs-actions.pod:5306
25290 #: ../src/guestfs-actions.pod:5323 ../src/guestfs-actions.pod:5336
25291 #: ../src/guestfs-actions.pod:5351 ../src/guestfs-actions.pod:5366
25292 #: ../src/guestfs-actions.pod:5398 ../src/guestfs-actions.pod:5424
25293 #: ../src/guestfs-actions.pod:5463 ../src/guestfs-actions.pod:5483
25294 #: ../src/guestfs-actions.pod:5497 ../src/guestfs-actions.pod:5514
25295 #: ../src/guestfs-actions.pod:5563 ../src/guestfs-actions.pod:5616
25296 #: ../src/guestfs-actions.pod:5663 ../src/guestfs-actions.pod:5706
25297 #: ../src/guestfs-actions.pod:5734 ../src/guestfs-actions.pod:5751
25298 #: ../src/guestfs-actions.pod:5769 ../src/guestfs-actions.pod:5909
25299 #: ../src/guestfs-actions.pod:5966 ../src/guestfs-actions.pod:5988
25300 #: ../src/guestfs-actions.pod:6006 ../src/guestfs-actions.pod:6056
25301 #: ../src/guestfs-actions.pod:6122 ../src/guestfs-actions.pod:6139
25302 #: ../src/guestfs-actions.pod:6152 ../src/guestfs-actions.pod:6166
25303 #: ../src/guestfs-actions.pod:6455 ../src/guestfs-actions.pod:6474
25304 #: ../src/guestfs-actions.pod:6493 ../src/guestfs-actions.pod:6507
25305 #: ../src/guestfs-actions.pod:6519 ../src/guestfs-actions.pod:6533
25306 #: ../src/guestfs-actions.pod:6545 ../src/guestfs-actions.pod:6559
25307 #: ../src/guestfs-actions.pod:6575 ../src/guestfs-actions.pod:6596
25308 #: ../src/guestfs-actions.pod:6615 ../src/guestfs-actions.pod:6634
25309 #: ../src/guestfs-actions.pod:6664 ../src/guestfs-actions.pod:6682
25310 #: ../src/guestfs-actions.pod:6705 ../src/guestfs-actions.pod:6723
25311 #: ../src/guestfs-actions.pod:6742 ../src/guestfs-actions.pod:6763
25312 #: ../src/guestfs-actions.pod:6782 ../src/guestfs-actions.pod:6799
25313 #: ../src/guestfs-actions.pod:6818 ../src/guestfs-actions.pod:6846
25314 #: ../src/guestfs-actions.pod:6870 ../src/guestfs-actions.pod:6889
25315 #: ../src/guestfs-actions.pod:6905 ../src/guestfs-actions.pod:6929
25316 #: ../src/guestfs-actions.pod:6948 ../src/guestfs-actions.pod:6963
25317 #: ../src/guestfs-actions.pod:6982 ../src/guestfs-actions.pod:7026
25318 #: ../src/guestfs-actions.pod:7056 ../src/guestfs-actions.pod:7089
25319 #: ../src/guestfs-actions.pod:7204 ../src/guestfs-actions.pod:7325
25320 #: ../src/guestfs-actions.pod:7337 ../src/guestfs-actions.pod:7350
25321 #: ../src/guestfs-actions.pod:7363 ../src/guestfs-actions.pod:7385
25322 #: ../src/guestfs-actions.pod:7398 ../src/guestfs-actions.pod:7411
25323 #: ../src/guestfs-actions.pod:7424 ../src/guestfs-actions.pod:7439
25324 #: ../src/guestfs-actions.pod:7498 ../src/guestfs-actions.pod:7515
25325 #: ../src/guestfs-actions.pod:7531 ../src/guestfs-actions.pod:7547
25326 #: ../src/guestfs-actions.pod:7564 ../src/guestfs-actions.pod:7577
25327 #: ../src/guestfs-actions.pod:7597 ../src/guestfs-actions.pod:7633
25328 #: ../src/guestfs-actions.pod:7647 ../src/guestfs-actions.pod:7688
25329 #: ../src/guestfs-actions.pod:7701 ../src/guestfs-actions.pod:7719
25330 #: ../src/guestfs-actions.pod:7753 ../src/guestfs-actions.pod:7789
25331 #: ../src/guestfs-actions.pod:7905 ../src/guestfs-actions.pod:7920
25332 #: ../src/guestfs-actions.pod:7934 ../src/guestfs-actions.pod:7989
25333 #: ../src/guestfs-actions.pod:8002 ../src/guestfs-actions.pod:8047
25334 #: ../src/guestfs-actions.pod:8087 ../src/guestfs-actions.pod:8143
25335 #: ../src/guestfs-actions.pod:8163 ../src/guestfs-actions.pod:8196
25336 #: ../src/guestfs-actions.pod:8260 ../src/guestfs-actions.pod:8283
25337 #: ../src/guestfs-actions.pod:8312
25338 msgid "This function returns 0 on success or -1 on error."
25339 msgstr ""
25340
25341 #. type: textblock
25342 #: ../src/guestfs-actions.pod:39 ../src/guestfs-actions.pod:189
25343 #: ../src/guestfs-actions.pod:1334 ../src/guestfs-actions.pod:2389
25344 #: ../src/guestfs-actions.pod:2487 ../src/guestfs-actions.pod:2612
25345 #: ../src/guestfs-actions.pod:4082 ../src/guestfs-actions.pod:4102
25346 #: ../src/guestfs-actions.pod:5400 ../src/guestfs-actions.pod:6684
25347 #: ../src/guestfs-actions.pod:6801 ../src/guestfs-actions.pod:6950
25348 #: ../src/guestfs-actions.pod:7441 ../src/guestfs-actions.pod:7566
25349 #: ../src/guestfs-actions.pod:8089
25350 msgid "(Added in 0.3)"
25351 msgstr "(Додано у 0.3)"
25352
25353 #. type: =head2
25354 #: ../src/guestfs-actions.pod:41
25355 msgid "guestfs_add_domain"
25356 msgstr ""
25357
25358 #. type: verbatim
25359 #: ../src/guestfs-actions.pod:43
25360 #, no-wrap
25361 msgid ""
25362 " int\n"
25363 " guestfs_add_domain (guestfs_h *g,\n"
25364 "                     const char *dom,\n"
25365 "                     ...);\n"
25366 "\n"
25367 msgstr ""
25368
25369 #. type: textblock
25370 #: ../src/guestfs-actions.pod:48 ../src/guestfs-actions.pod:198
25371 #: ../src/guestfs-actions.pod:890 ../src/guestfs-actions.pod:1214
25372 #: ../src/guestfs-actions.pod:1266 ../src/guestfs-actions.pod:1344
25373 #: ../src/guestfs-actions.pod:1411 ../src/guestfs-actions.pod:1462
25374 #: ../src/guestfs-actions.pod:1513 ../src/guestfs-actions.pod:3280
25375 #: ../src/guestfs-actions.pod:5101 ../src/guestfs-actions.pod:5410
25376 #: ../src/guestfs-actions.pod:5627
25377 msgid ""
25378 "You may supply a list of optional arguments to this call.  Use zero or more "
25379 "of the following pairs of parameters, and terminate the list with C<-1> on "
25380 "its own.  See L</CALLS WITH OPTIONAL ARGUMENTS>."
25381 msgstr ""
25382
25383 #. type: verbatim
25384 #: ../src/guestfs-actions.pod:53
25385 #, no-wrap
25386 msgid ""
25387 " GUESTFS_ADD_DOMAIN_LIBVIRTURI, const char *libvirturi,\n"
25388 " GUESTFS_ADD_DOMAIN_READONLY, int readonly,\n"
25389 " GUESTFS_ADD_DOMAIN_IFACE, const char *iface,\n"
25390 " GUESTFS_ADD_DOMAIN_LIVE, int live,\n"
25391 " GUESTFS_ADD_DOMAIN_ALLOWUUID, int allowuuid,\n"
25392 " GUESTFS_ADD_DOMAIN_READONLYDISK, const char *readonlydisk,\n"
25393 "\n"
25394 msgstr ""
25395
25396 #. type: textblock
25397 #: ../src/guestfs-actions.pod:60
25398 msgid ""
25399 "This function adds the disk(s) attached to the named libvirt domain C<dom>."
25400 "  It works by connecting to libvirt, requesting the domain and domain XML "
25401 "from libvirt, parsing it for disks, and calling C<guestfs_add_drive_opts> on"
25402 " each one."
25403 msgstr ""
25404
25405 #. type: textblock
25406 #: ../src/guestfs-actions.pod:141
25407 msgid ""
25408 "The other optional parameters are passed directly through to "
25409 "C<guestfs_add_drive_opts>."
25410 msgstr ""
25411
25412 #. type: textblock
25413 #: ../src/guestfs-actions.pod:144 ../src/guestfs-actions.pod:403
25414 #: ../src/guestfs-actions.pod:573 ../src/guestfs-actions.pod:751
25415 #: ../src/guestfs-actions.pod:782 ../src/guestfs-actions.pod:800
25416 #: ../src/guestfs-actions.pod:819 ../src/guestfs-actions.pod:1789
25417 #: ../src/guestfs-actions.pod:2145 ../src/guestfs-actions.pod:2348
25418 #: ../src/guestfs-actions.pod:2459 ../src/guestfs-actions.pod:2510
25419 #: ../src/guestfs-actions.pod:2562 ../src/guestfs-actions.pod:2576
25420 #: ../src/guestfs-actions.pod:2599 ../src/guestfs-actions.pod:2914
25421 #: ../src/guestfs-actions.pod:3398 ../src/guestfs-actions.pod:3416
25422 #: ../src/guestfs-actions.pod:5586 ../src/guestfs-actions.pod:5806
25423 #: ../src/guestfs-actions.pod:6044 ../src/guestfs-actions.pod:6236
25424 #: ../src/guestfs-actions.pod:6262 ../src/guestfs-actions.pod:7674
25425 #: ../src/guestfs-actions.pod:8100 ../src/guestfs-actions.pod:8113
25426 #: ../src/guestfs-actions.pod:8126
25427 msgid "On error this function returns -1."
25428 msgstr ""
25429
25430 #. type: textblock
25431 #: ../src/guestfs-actions.pod:146
25432 msgid "(Added in 1.7.4)"
25433 msgstr "(Додано у 1.7.4)"
25434
25435 #. type: =head2
25436 #: ../src/guestfs-actions.pod:148
25437 msgid "guestfs_add_domain_va"
25438 msgstr ""
25439
25440 #. type: verbatim
25441 #: ../src/guestfs-actions.pod:150
25442 #, no-wrap
25443 msgid ""
25444 " int\n"
25445 " guestfs_add_domain_va (guestfs_h *g,\n"
25446 "                        const char *dom,\n"
25447 "                        va_list args);\n"
25448 "\n"
25449 msgstr ""
25450
25451 #. type: textblock
25452 #: ../src/guestfs-actions.pod:155
25453 msgid "This is the \"va_list variant\" of L</guestfs_add_domain>."
25454 msgstr ""
25455
25456 #. type: textblock
25457 #: ../src/guestfs-actions.pod:157 ../src/guestfs-actions.pod:168
25458 #: ../src/guestfs-actions.pod:267 ../src/guestfs-actions.pod:278
25459 #: ../src/guestfs-actions.pod:929 ../src/guestfs-actions.pod:940
25460 #: ../src/guestfs-actions.pod:1242 ../src/guestfs-actions.pod:1255
25461 #: ../src/guestfs-actions.pod:1301 ../src/guestfs-actions.pod:1314
25462 #: ../src/guestfs-actions.pod:1389 ../src/guestfs-actions.pod:1401
25463 #: ../src/guestfs-actions.pod:1440 ../src/guestfs-actions.pod:1452
25464 #: ../src/guestfs-actions.pod:1491 ../src/guestfs-actions.pod:1503
25465 #: ../src/guestfs-actions.pod:1547 ../src/guestfs-actions.pod:1559
25466 #: ../src/guestfs-actions.pod:3364 ../src/guestfs-actions.pod:3376
25467 #: ../src/guestfs-actions.pod:5166 ../src/guestfs-actions.pod:5178
25468 #: ../src/guestfs-actions.pod:5438 ../src/guestfs-actions.pod:5450
25469 #: ../src/guestfs-actions.pod:5676 ../src/guestfs-actions.pod:5687
25470 msgid "See L</CALLS WITH OPTIONAL ARGUMENTS>."
25471 msgstr "Див. L</CALLS WITH OPTIONAL ARGUMENTS>."
25472
25473 #. type: =head2
25474 #: ../src/guestfs-actions.pod:159
25475 msgid "guestfs_add_domain_argv"
25476 msgstr "guestfs_add_domain_argv"
25477
25478 #. type: verbatim
25479 #: ../src/guestfs-actions.pod:161
25480 #, no-wrap
25481 msgid ""
25482 " int\n"
25483 " guestfs_add_domain_argv (guestfs_h *g,\n"
25484 "                          const char *dom,\n"
25485 "                          const struct guestfs_add_domain_argv *optargs);\n"
25486 "\n"
25487 msgstr ""
25488
25489 #. type: textblock
25490 #: ../src/guestfs-actions.pod:166
25491 msgid "This is the \"argv variant\" of L</guestfs_add_domain>."
25492 msgstr ""
25493
25494 #. type: =head2
25495 #: ../src/guestfs-actions.pod:170
25496 msgid "guestfs_add_drive"
25497 msgstr ""
25498
25499 #. type: verbatim
25500 #: ../src/guestfs-actions.pod:172
25501 #, no-wrap
25502 msgid ""
25503 " int\n"
25504 " guestfs_add_drive (guestfs_h *g,\n"
25505 "                    const char *filename);\n"
25506 "\n"
25507 msgstr ""
25508
25509 #. type: textblock
25510 #: ../src/guestfs-actions.pod:176
25511 msgid ""
25512 "This function is the equivalent of calling C<guestfs_add_drive_opts> with no"
25513 " optional parameters, so the disk is added writable, with the format being "
25514 "detected automatically."
25515 msgstr ""
25516
25517 #. type: textblock
25518 #: ../src/guestfs-actions.pod:180
25519 msgid ""
25520 "Automatic detection of the format opens you up to a potential security hole "
25521 "when dealing with untrusted raw-format images.  See CVE-2010-3851 and "
25522 "RHBZ#642934.  Specifying the format closes this security hole.  Therefore "
25523 "you should think about replacing calls to this function with calls to "
25524 "C<guestfs_add_drive_opts>, and specifying the format."
25525 msgstr ""
25526
25527 #. type: =head2
25528 #: ../src/guestfs-actions.pod:191
25529 msgid "guestfs_add_drive_opts"
25530 msgstr ""
25531
25532 #. type: verbatim
25533 #: ../src/guestfs-actions.pod:193
25534 #, no-wrap
25535 msgid ""
25536 " int\n"
25537 " guestfs_add_drive_opts (guestfs_h *g,\n"
25538 "                         const char *filename,\n"
25539 "                         ...);\n"
25540 "\n"
25541 msgstr ""
25542
25543 #. type: verbatim
25544 #: ../src/guestfs-actions.pod:203
25545 #, no-wrap
25546 msgid ""
25547 " GUESTFS_ADD_DRIVE_OPTS_READONLY, int readonly,\n"
25548 " GUESTFS_ADD_DRIVE_OPTS_FORMAT, const char *format,\n"
25549 " GUESTFS_ADD_DRIVE_OPTS_IFACE, const char *iface,\n"
25550 " GUESTFS_ADD_DRIVE_OPTS_NAME, const char *name,\n"
25551 "\n"
25552 msgstr ""
25553
25554 #. type: textblock
25555 #: ../src/guestfs-actions.pod:233
25556 msgid ""
25557 "This forces the image format.  If you omit this (or use C<guestfs_add_drive>"
25558 " or C<guestfs_add_drive_ro>) then the format is automatically detected.  "
25559 "Possible formats include C<raw> and C<qcow2>."
25560 msgstr ""
25561
25562 #. type: textblock
25563 #: ../src/guestfs-actions.pod:244
25564 msgid ""
25565 "This rarely-used option lets you emulate the behaviour of the deprecated "
25566 "C<guestfs_add_drive_with_if> call (q.v.)"
25567 msgstr ""
25568
25569 #. type: textblock
25570 #: ../src/guestfs-actions.pod:256
25571 msgid "(Added in 1.5.23)"
25572 msgstr "(Додано у 1.5.23)"
25573
25574 #. type: =head2
25575 #: ../src/guestfs-actions.pod:258
25576 msgid "guestfs_add_drive_opts_va"
25577 msgstr ""
25578
25579 #. type: verbatim
25580 #: ../src/guestfs-actions.pod:260
25581 #, no-wrap
25582 msgid ""
25583 " int\n"
25584 " guestfs_add_drive_opts_va (guestfs_h *g,\n"
25585 "                            const char *filename,\n"
25586 "                            va_list args);\n"
25587 "\n"
25588 msgstr ""
25589
25590 #. type: textblock
25591 #: ../src/guestfs-actions.pod:265
25592 msgid "This is the \"va_list variant\" of L</guestfs_add_drive_opts>."
25593 msgstr ""
25594
25595 #. type: =head2
25596 #: ../src/guestfs-actions.pod:269
25597 msgid "guestfs_add_drive_opts_argv"
25598 msgstr ""
25599
25600 #. type: verbatim
25601 #: ../src/guestfs-actions.pod:271
25602 #, no-wrap
25603 msgid ""
25604 " int\n"
25605 " guestfs_add_drive_opts_argv (guestfs_h *g,\n"
25606 "                              const char *filename,\n"
25607 "                              const struct guestfs_add_drive_opts_argv *optargs);\n"
25608 "\n"
25609 msgstr ""
25610
25611 #. type: textblock
25612 #: ../src/guestfs-actions.pod:276
25613 msgid "This is the \"argv variant\" of L</guestfs_add_drive_opts>."
25614 msgstr ""
25615
25616 #. type: =head2
25617 #: ../src/guestfs-actions.pod:280
25618 msgid "guestfs_add_drive_ro"
25619 msgstr ""
25620
25621 #. type: verbatim
25622 #: ../src/guestfs-actions.pod:282
25623 #, no-wrap
25624 msgid ""
25625 " int\n"
25626 " guestfs_add_drive_ro (guestfs_h *g,\n"
25627 "                       const char *filename);\n"
25628 "\n"
25629 msgstr ""
25630
25631 #. type: textblock
25632 #: ../src/guestfs-actions.pod:286
25633 msgid ""
25634 "This function is the equivalent of calling C<guestfs_add_drive_opts> with "
25635 "the optional parameter C<GUESTFS_ADD_DRIVE_OPTS_READONLY> set to 1, so the "
25636 "disk is added read-only, with the format being detected automatically."
25637 msgstr ""
25638
25639 #. type: textblock
25640 #: ../src/guestfs-actions.pod:293
25641 msgid "(Added in 1.0.38)"
25642 msgstr "(Додано у 1.0.38)"
25643
25644 #. type: =head2
25645 #: ../src/guestfs-actions.pod:295
25646 msgid "guestfs_add_drive_ro_with_if"
25647 msgstr ""
25648
25649 #. type: verbatim
25650 #: ../src/guestfs-actions.pod:297
25651 #, no-wrap
25652 msgid ""
25653 " int\n"
25654 " guestfs_add_drive_ro_with_if (guestfs_h *g,\n"
25655 "                               const char *filename,\n"
25656 "                               const char *iface);\n"
25657 "\n"
25658 msgstr ""
25659
25660 #. type: textblock
25661 #: ../src/guestfs-actions.pod:309
25662 msgid ""
25663 "This is the same as C<guestfs_add_drive_ro> but it allows you to specify the"
25664 " QEMU interface emulation to use at run time."
25665 msgstr ""
25666
25667 #. type: textblock
25668 #: ../src/guestfs-actions.pod:314 ../src/guestfs-actions.pod:335
25669 #: ../src/guestfs-actions.pod:2873
25670 msgid "(Added in 1.0.84)"
25671 msgstr "(Додано у 1.0.84)"
25672
25673 #. type: =head2
25674 #: ../src/guestfs-actions.pod:316
25675 msgid "guestfs_add_drive_with_if"
25676 msgstr ""
25677
25678 #. type: verbatim
25679 #: ../src/guestfs-actions.pod:318
25680 #, no-wrap
25681 msgid ""
25682 " int\n"
25683 " guestfs_add_drive_with_if (guestfs_h *g,\n"
25684 "                            const char *filename,\n"
25685 "                            const char *iface);\n"
25686 "\n"
25687 msgstr ""
25688
25689 #. type: textblock
25690 #: ../src/guestfs-actions.pod:330
25691 msgid ""
25692 "This is the same as C<guestfs_add_drive> but it allows you to specify the "
25693 "QEMU interface emulation to use at run time."
25694 msgstr ""
25695
25696 #. type: =head2
25697 #: ../src/guestfs-actions.pod:337
25698 msgid "guestfs_aug_clear"
25699 msgstr ""
25700
25701 #. type: verbatim
25702 #: ../src/guestfs-actions.pod:339
25703 #, no-wrap
25704 msgid ""
25705 " int\n"
25706 " guestfs_aug_clear (guestfs_h *g,\n"
25707 "                    const char *augpath);\n"
25708 "\n"
25709 msgstr ""
25710
25711 #. type: textblock
25712 #: ../src/guestfs-actions.pod:348 ../src/guestfs-actions.pod:2601
25713 msgid "(Added in 1.3.4)"
25714 msgstr "(Додано у 1.3.4)"
25715
25716 #. type: =head2
25717 #: ../src/guestfs-actions.pod:350
25718 msgid "guestfs_aug_close"
25719 msgstr ""
25720
25721 #. type: verbatim
25722 #: ../src/guestfs-actions.pod:352
25723 #, no-wrap
25724 msgid ""
25725 " int\n"
25726 " guestfs_aug_close (guestfs_h *g);\n"
25727 "\n"
25728 msgstr ""
25729
25730 #. type: textblock
25731 #: ../src/guestfs-actions.pod:355
25732 msgid ""
25733 "Close the current Augeas handle and free up any resources used by it.  After"
25734 " calling this, you have to call C<guestfs_aug_init> again before you can use"
25735 " any other Augeas functions."
25736 msgstr ""
25737
25738 #. type: textblock
25739 #: ../src/guestfs-actions.pod:362 ../src/guestfs-actions.pod:387
25740 #: ../src/guestfs-actions.pod:405 ../src/guestfs-actions.pod:419
25741 #: ../src/guestfs-actions.pod:482 ../src/guestfs-actions.pod:502
25742 #: ../src/guestfs-actions.pod:516 ../src/guestfs-actions.pod:547
25743 #: ../src/guestfs-actions.pod:561 ../src/guestfs-actions.pod:575
25744 #: ../src/guestfs-actions.pod:589 ../src/guestfs-actions.pod:607
25745 #: ../src/guestfs-actions.pod:6313
25746 msgid "(Added in 0.7)"
25747 msgstr "(Додано у 0.7)"
25748
25749 #. type: =head2
25750 #: ../src/guestfs-actions.pod:364
25751 msgid "guestfs_aug_defnode"
25752 msgstr ""
25753
25754 #. type: verbatim
25755 #: ../src/guestfs-actions.pod:366
25756 #, no-wrap
25757 msgid ""
25758 " struct guestfs_int_bool *\n"
25759 " guestfs_aug_defnode (guestfs_h *g,\n"
25760 "                      const char *name,\n"
25761 "                      const char *expr,\n"
25762 "                      const char *val);\n"
25763 "\n"
25764 msgstr ""
25765
25766 #. type: textblock
25767 #: ../src/guestfs-actions.pod:375
25768 msgid ""
25769 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
25770 "calling C<guestfs_aug_set> C<expr>, C<value>.  C<name> will be the nodeset "
25771 "containing that single node."
25772 msgstr ""
25773
25774 #. type: textblock
25775 #: ../src/guestfs-actions.pod:383
25776 msgid ""
25777 "This function returns a C<struct guestfs_int_bool *>, or NULL if there was "
25778 "an error.  I<The caller must call C<guestfs_free_int_bool> after use>."
25779 msgstr ""
25780
25781 #. type: =head2
25782 #: ../src/guestfs-actions.pod:389
25783 msgid "guestfs_aug_defvar"
25784 msgstr ""
25785
25786 #. type: verbatim
25787 #: ../src/guestfs-actions.pod:391
25788 #, no-wrap
25789 msgid ""
25790 " int\n"
25791 " guestfs_aug_defvar (guestfs_h *g,\n"
25792 "                     const char *name,\n"
25793 "                     const char *expr);\n"
25794 "\n"
25795 msgstr ""
25796
25797 #. type: =head2
25798 #: ../src/guestfs-actions.pod:407
25799 msgid "guestfs_aug_get"
25800 msgstr "guestfs_aug_get"
25801
25802 #. type: verbatim
25803 #: ../src/guestfs-actions.pod:409
25804 #, no-wrap
25805 msgid ""
25806 " char *\n"
25807 " guestfs_aug_get (guestfs_h *g,\n"
25808 "                  const char *augpath);\n"
25809 "\n"
25810 msgstr ""
25811 " char *\n"
25812 " guestfs_aug_get (guestfs_h *g,\n"
25813 "                  const char *augpath);\n"
25814 "\n"
25815
25816 #. type: textblock
25817 #: ../src/guestfs-actions.pod:416 ../src/guestfs-actions.pod:980
25818 #: ../src/guestfs-actions.pod:998 ../src/guestfs-actions.pod:1058
25819 #: ../src/guestfs-actions.pod:1074 ../src/guestfs-actions.pod:1177
25820 #: ../src/guestfs-actions.pod:1658 ../src/guestfs-actions.pod:1675
25821 #: ../src/guestfs-actions.pod:1694 ../src/guestfs-actions.pod:1828
25822 #: ../src/guestfs-actions.pod:2016 ../src/guestfs-actions.pod:2128
25823 #: ../src/guestfs-actions.pod:2291 ../src/guestfs-actions.pod:2308
25824 #: ../src/guestfs-actions.pod:2375 ../src/guestfs-actions.pod:2418
25825 #: ../src/guestfs-actions.pod:2439 ../src/guestfs-actions.pod:2624
25826 #: ../src/guestfs-actions.pod:2838 ../src/guestfs-actions.pod:3042
25827 #: ../src/guestfs-actions.pod:3144 ../src/guestfs-actions.pod:3248
25828 #: ../src/guestfs-actions.pod:3267 ../src/guestfs-actions.pod:3482
25829 #: ../src/guestfs-actions.pod:3510 ../src/guestfs-actions.pod:3531
25830 #: ../src/guestfs-actions.pod:3565 ../src/guestfs-actions.pod:3628
25831 #: ../src/guestfs-actions.pod:3648 ../src/guestfs-actions.pod:3668
25832 #: ../src/guestfs-actions.pod:4295 ../src/guestfs-actions.pod:4648
25833 #: ../src/guestfs-actions.pod:4818 ../src/guestfs-actions.pod:4928
25834 #: ../src/guestfs-actions.pod:5824 ../src/guestfs-actions.pod:6025
25835 #: ../src/guestfs-actions.pod:6211 ../src/guestfs-actions.pod:6389
25836 #: ../src/guestfs-actions.pod:6438 ../src/guestfs-actions.pod:7110
25837 #: ../src/guestfs-actions.pod:7126 ../src/guestfs-actions.pod:7150
25838 #: ../src/guestfs-actions.pod:7174 ../src/guestfs-actions.pod:7848
25839 #: ../src/guestfs-actions.pod:7867 ../src/guestfs-actions.pod:7885
25840 #: ../src/guestfs-actions.pod:8059 ../src/guestfs-actions.pod:8376
25841 msgid ""
25842 "This function returns a string, or NULL on error.  I<The caller must free "
25843 "the returned string after use>."
25844 msgstr ""
25845
25846 #. type: =head2
25847 #: ../src/guestfs-actions.pod:421
25848 msgid "guestfs_aug_init"
25849 msgstr "guestfs_aug_init"
25850
25851 #. type: verbatim
25852 #: ../src/guestfs-actions.pod:423
25853 #, no-wrap
25854 msgid ""
25855 " int\n"
25856 " guestfs_aug_init (guestfs_h *g,\n"
25857 "                   const char *root,\n"
25858 "                   int flags);\n"
25859 "\n"
25860 msgstr ""
25861 " int\n"
25862 " guestfs_aug_init (guestfs_h *g,\n"
25863 "                   const char *root,\n"
25864 "                   int flags);\n"
25865 "\n"
25866
25867 #. type: textblock
25868 #: ../src/guestfs-actions.pod:432
25869 msgid "You must call this before using any other C<guestfs_aug_*> commands."
25870 msgstr ""
25871
25872 #. type: textblock
25873 #: ../src/guestfs-actions.pod:457
25874 msgid ""
25875 "This option is only useful when debugging Augeas lenses.  Use of this option"
25876 " may require additional memory for the libguestfs appliance.  You may need "
25877 "to set the C<LIBGUESTFS_MEMSIZE> environment variable or call "
25878 "C<guestfs_set_memsize>."
25879 msgstr ""
25880
25881 #. type: textblock
25882 #: ../src/guestfs-actions.pod:472
25883 msgid "Do not load the tree in C<guestfs_aug_init>."
25884 msgstr ""
25885
25886 #. type: textblock
25887 #: ../src/guestfs-actions.pod:476
25888 msgid "To close the handle, you can call C<guestfs_aug_close>."
25889 msgstr ""
25890
25891 #. type: =head2
25892 #: ../src/guestfs-actions.pod:484
25893 msgid "guestfs_aug_insert"
25894 msgstr "guestfs_aug_insert"
25895
25896 #. type: verbatim
25897 #: ../src/guestfs-actions.pod:486
25898 #, no-wrap
25899 msgid ""
25900 " int\n"
25901 " guestfs_aug_insert (guestfs_h *g,\n"
25902 "                     const char *augpath,\n"
25903 "                     const char *label,\n"
25904 "                     int before);\n"
25905 "\n"
25906 msgstr ""
25907 " int\n"
25908 " guestfs_aug_insert (guestfs_h *g,\n"
25909 "                     const char *augpath,\n"
25910 "                     const char *label,\n"
25911 "                     int before);\n"
25912 "\n"
25913
25914 #. type: =head2
25915 #: ../src/guestfs-actions.pod:504
25916 msgid "guestfs_aug_load"
25917 msgstr "guestfs_aug_load"
25918
25919 #. type: verbatim
25920 #: ../src/guestfs-actions.pod:506
25921 #, no-wrap
25922 msgid ""
25923 " int\n"
25924 " guestfs_aug_load (guestfs_h *g);\n"
25925 "\n"
25926 msgstr ""
25927 " int\n"
25928 " guestfs_aug_load (guestfs_h *g);\n"
25929 "\n"
25930
25931 #. type: =head2
25932 #: ../src/guestfs-actions.pod:518
25933 msgid "guestfs_aug_ls"
25934 msgstr "guestfs_aug_ls"
25935
25936 #. type: verbatim
25937 #: ../src/guestfs-actions.pod:520
25938 #, no-wrap
25939 msgid ""
25940 " char **\n"
25941 " guestfs_aug_ls (guestfs_h *g,\n"
25942 "                 const char *augpath);\n"
25943 "\n"
25944 msgstr ""
25945 " char **\n"
25946 " guestfs_aug_ls (guestfs_h *g,\n"
25947 "                 const char *augpath);\n"
25948 "\n"
25949
25950 #. type: textblock
25951 #: ../src/guestfs-actions.pod:524
25952 msgid ""
25953 "This is just a shortcut for listing C<guestfs_aug_match> C<path/*> and "
25954 "sorting the resulting nodes into alphabetical order."
25955 msgstr ""
25956
25957 #. type: textblock
25958 #: ../src/guestfs-actions.pod:527 ../src/guestfs-actions.pod:543
25959 #: ../src/guestfs-actions.pod:689 ../src/guestfs-actions.pod:1196
25960 #: ../src/guestfs-actions.pod:1843 ../src/guestfs-actions.pod:1862
25961 #: ../src/guestfs-actions.pod:1965 ../src/guestfs-actions.pod:1984
25962 #: ../src/guestfs-actions.pod:2230 ../src/guestfs-actions.pod:2696
25963 #: ../src/guestfs-actions.pod:2712 ../src/guestfs-actions.pod:2731
25964 #: ../src/guestfs-actions.pod:2796 ../src/guestfs-actions.pod:2820
25965 #: ../src/guestfs-actions.pod:2891 ../src/guestfs-actions.pod:2940
25966 #: ../src/guestfs-actions.pod:3209 ../src/guestfs-actions.pod:3584
25967 #: ../src/guestfs-actions.pod:3864 ../src/guestfs-actions.pod:4178
25968 #: ../src/guestfs-actions.pod:4195 ../src/guestfs-actions.pod:4215
25969 #: ../src/guestfs-actions.pod:4277 ../src/guestfs-actions.pod:4382
25970 #: ../src/guestfs-actions.pod:4790 ../src/guestfs-actions.pod:5547
25971 #: ../src/guestfs-actions.pod:6183 ../src/guestfs-actions.pod:6309
25972 #: ../src/guestfs-actions.pod:6423 ../src/guestfs-actions.pod:7190
25973 #: ../src/guestfs-actions.pod:7251 ../src/guestfs-actions.pod:7306
25974 #: ../src/guestfs-actions.pod:7452 ../src/guestfs-actions.pod:7476
25975 #: ../src/guestfs-actions.pod:7952 ../src/guestfs-actions.pod:7972
25976 #: ../src/guestfs-actions.pod:8019 ../src/guestfs-actions.pod:8213
25977 #: ../src/guestfs-actions.pod:8232 ../src/guestfs-actions.pod:8326
25978 #: ../src/guestfs-actions.pod:8345 ../src/guestfs-actions.pod:8391
25979 #: ../src/guestfs-actions.pod:8410
25980 msgid ""
25981 "This function returns a NULL-terminated array of strings (like "
25982 "L<environ(3)>), or NULL if there was an error.  I<The caller must free the "
25983 "strings and the array after use>."
25984 msgstr ""
25985
25986 #. type: textblock
25987 #: ../src/guestfs-actions.pod:531 ../src/guestfs-actions.pod:1121
25988 #: ../src/guestfs-actions.pod:1139 ../src/guestfs-actions.pod:1900
25989 #: ../src/guestfs-actions.pod:3942 ../src/guestfs-actions.pod:3973
25990 #: ../src/guestfs-actions.pod:4631 ../src/guestfs-actions.pod:4681
25991 #: ../src/guestfs-actions.pod:4868 ../src/guestfs-actions.pod:4901
25992 #: ../src/guestfs-actions.pod:5064 ../src/guestfs-actions.pod:5551
25993 #: ../src/guestfs-actions.pod:6124 ../src/guestfs-actions.pod:6521
25994 #: ../src/guestfs-actions.pod:6535 ../src/guestfs-actions.pod:6547
25995 #: ../src/guestfs-actions.pod:7031 ../src/guestfs-actions.pod:7690
25996 #: ../src/guestfs-actions.pod:7703 ../src/guestfs-actions.pod:7936
25997 #: ../src/guestfs-actions.pod:8201
25998 msgid "(Added in 0.8)"
25999 msgstr "(Додано у 0.8)"
26000
26001 #. type: =head2
26002 #: ../src/guestfs-actions.pod:533
26003 msgid "guestfs_aug_match"
26004 msgstr "guestfs_aug_match"
26005
26006 #. type: verbatim
26007 #: ../src/guestfs-actions.pod:535
26008 #, no-wrap
26009 msgid ""
26010 " char **\n"
26011 " guestfs_aug_match (guestfs_h *g,\n"
26012 "                    const char *augpath);\n"
26013 "\n"
26014 msgstr ""
26015 " char **\n"
26016 " guestfs_aug_match (guestfs_h *g,\n"
26017 "                    const char *augpath);\n"
26018 "\n"
26019
26020 #. type: =head2
26021 #: ../src/guestfs-actions.pod:549
26022 msgid "guestfs_aug_mv"
26023 msgstr "guestfs_aug_mv"
26024
26025 #. type: verbatim
26026 #: ../src/guestfs-actions.pod:551
26027 #, no-wrap
26028 msgid ""
26029 " int\n"
26030 " guestfs_aug_mv (guestfs_h *g,\n"
26031 "                 const char *src,\n"
26032 "                 const char *dest);\n"
26033 "\n"
26034 msgstr ""
26035 " int\n"
26036 " guestfs_aug_mv (guestfs_h *g,\n"
26037 "                 const char *src,\n"
26038 "                 const char *dest);\n"
26039 "\n"
26040
26041 #. type: =head2
26042 #: ../src/guestfs-actions.pod:563
26043 msgid "guestfs_aug_rm"
26044 msgstr "guestfs_aug_rm"
26045
26046 #. type: verbatim
26047 #: ../src/guestfs-actions.pod:565
26048 #, no-wrap
26049 msgid ""
26050 " int\n"
26051 " guestfs_aug_rm (guestfs_h *g,\n"
26052 "                 const char *augpath);\n"
26053 "\n"
26054 msgstr ""
26055 " int\n"
26056 " guestfs_aug_rm (guestfs_h *g,\n"
26057 "                 const char *augpath);\n"
26058 "\n"
26059
26060 #. type: =head2
26061 #: ../src/guestfs-actions.pod:577
26062 msgid "guestfs_aug_save"
26063 msgstr "guestfs_aug_save"
26064
26065 #. type: verbatim
26066 #: ../src/guestfs-actions.pod:579
26067 #, no-wrap
26068 msgid ""
26069 " int\n"
26070 " guestfs_aug_save (guestfs_h *g);\n"
26071 "\n"
26072 msgstr ""
26073 " int\n"
26074 " guestfs_aug_save (guestfs_h *g);\n"
26075 "\n"
26076
26077 #. type: textblock
26078 #: ../src/guestfs-actions.pod:584
26079 msgid ""
26080 "The flags which were passed to C<guestfs_aug_init> affect exactly how files "
26081 "are saved."
26082 msgstr ""
26083
26084 #. type: =head2
26085 #: ../src/guestfs-actions.pod:591
26086 msgid "guestfs_aug_set"
26087 msgstr "guestfs_aug_set"
26088
26089 #. type: verbatim
26090 #: ../src/guestfs-actions.pod:593
26091 #, no-wrap
26092 msgid ""
26093 " int\n"
26094 " guestfs_aug_set (guestfs_h *g,\n"
26095 "                  const char *augpath,\n"
26096 "                  const char *val);\n"
26097 "\n"
26098 msgstr ""
26099 " int\n"
26100 " guestfs_aug_set (guestfs_h *g,\n"
26101 "                  const char *augpath,\n"
26102 "                  const char *val);\n"
26103 "\n"
26104
26105 #. type: textblock
26106 #: ../src/guestfs-actions.pod:600
26107 msgid ""
26108 "In the Augeas API, it is possible to clear a node by setting the value to "
26109 "NULL.  Due to an oversight in the libguestfs API you cannot do that with "
26110 "this call.  Instead you must use the C<guestfs_aug_clear> call."
26111 msgstr ""
26112
26113 #. type: =head2
26114 #: ../src/guestfs-actions.pod:609
26115 msgid "guestfs_available"
26116 msgstr "guestfs_available"
26117
26118 #. type: verbatim
26119 #: ../src/guestfs-actions.pod:611
26120 #, no-wrap
26121 msgid ""
26122 " int\n"
26123 " guestfs_available (guestfs_h *g,\n"
26124 "                    char *const *groups);\n"
26125 "\n"
26126 msgstr ""
26127 " int\n"
26128 " guestfs_available (guestfs_h *g,\n"
26129 "                    char *const *groups);\n"
26130 "\n"
26131
26132 #. type: textblock
26133 #: ../src/guestfs-actions.pod:619
26134 msgid ""
26135 "The libguestfs groups, and the functions that those groups correspond to, "
26136 "are listed in L<guestfs(3)/AVAILABILITY>.  You can also fetch this list at "
26137 "runtime by calling C<guestfs_available_all_groups>."
26138 msgstr ""
26139
26140 #. type: textblock
26141 #: ../src/guestfs-actions.pod:643
26142 msgid "You must call C<guestfs_launch> before calling this function."
26143 msgstr ""
26144
26145 #. type: textblock
26146 #: ../src/guestfs-actions.pod:665
26147 msgid ""
26148 "This call was added in version C<1.0.80>.  In previous versions of "
26149 "libguestfs all you could do would be to speculatively execute a command to "
26150 "find out if the daemon implemented it.  See also C<guestfs_version>."
26151 msgstr ""
26152
26153 #. type: textblock
26154 #: ../src/guestfs-actions.pod:674 ../src/guestfs-actions.pod:1645
26155 msgid "(Added in 1.0.80)"
26156 msgstr "(Додано у 1.0.80)"
26157
26158 #. type: =head2
26159 #: ../src/guestfs-actions.pod:676
26160 msgid "guestfs_available_all_groups"
26161 msgstr "guestfs_available_all_groups"
26162
26163 #. type: verbatim
26164 #: ../src/guestfs-actions.pod:678
26165 #, no-wrap
26166 msgid ""
26167 " char **\n"
26168 " guestfs_available_all_groups (guestfs_h *g);\n"
26169 "\n"
26170 msgstr ""
26171 " char **\n"
26172 " guestfs_available_all_groups (guestfs_h *g);\n"
26173 "\n"
26174
26175 #. type: textblock
26176 #: ../src/guestfs-actions.pod:681
26177 msgid ""
26178 "This command returns a list of all optional groups that this daemon knows "
26179 "about.  Note this returns both supported and unsupported groups.  To find "
26180 "out which ones the daemon can actually support you have to call "
26181 "C<guestfs_available> on each member of the returned list."
26182 msgstr ""
26183
26184 #. type: textblock
26185 #: ../src/guestfs-actions.pod:687
26186 msgid "See also C<guestfs_available> and L<guestfs(3)/AVAILABILITY>."
26187 msgstr ""
26188
26189 #. type: textblock
26190 #: ../src/guestfs-actions.pod:693
26191 msgid "(Added in 1.3.15)"
26192 msgstr "(Додано у 1.3.15)"
26193
26194 #. type: =head2
26195 #: ../src/guestfs-actions.pod:695
26196 msgid "guestfs_base64_in"
26197 msgstr "guestfs_base64_in"
26198
26199 #. type: verbatim
26200 #: ../src/guestfs-actions.pod:697
26201 #, no-wrap
26202 msgid ""
26203 " int\n"
26204 " guestfs_base64_in (guestfs_h *g,\n"
26205 "                    const char *base64file,\n"
26206 "                    const char *filename);\n"
26207 "\n"
26208 msgstr ""
26209 " int\n"
26210 " guestfs_base64_in (guestfs_h *g,\n"
26211 "                    const char *base64file,\n"
26212 "                    const char *filename);\n"
26213 "\n"
26214
26215 #. type: textblock
26216 #: ../src/guestfs-actions.pod:707 ../src/guestfs-actions.pod:721
26217 msgid "(Added in 1.3.5)"
26218 msgstr "(Додано у 1.3.5)"
26219
26220 #. type: =head2
26221 #: ../src/guestfs-actions.pod:709
26222 msgid "guestfs_base64_out"
26223 msgstr "guestfs_base64_out"
26224
26225 #. type: verbatim
26226 #: ../src/guestfs-actions.pod:711
26227 #, no-wrap
26228 msgid ""
26229 " int\n"
26230 " guestfs_base64_out (guestfs_h *g,\n"
26231 "                     const char *filename,\n"
26232 "                     const char *base64file);\n"
26233 "\n"
26234 msgstr ""
26235 " int\n"
26236 " guestfs_base64_out (guestfs_h *g,\n"
26237 "                     const char *filename,\n"
26238 "                     const char *base64file);\n"
26239 "\n"
26240
26241 #. type: =head2
26242 #: ../src/guestfs-actions.pod:723
26243 msgid "guestfs_blockdev_flushbufs"
26244 msgstr "guestfs_blockdev_flushbufs"
26245
26246 #. type: verbatim
26247 #: ../src/guestfs-actions.pod:725
26248 #, no-wrap
26249 msgid ""
26250 " int\n"
26251 " guestfs_blockdev_flushbufs (guestfs_h *g,\n"
26252 "                             const char *device);\n"
26253 "\n"
26254 msgstr ""
26255 " int\n"
26256 " guestfs_blockdev_flushbufs (guestfs_h *g,\n"
26257 "                             const char *device);\n"
26258 "\n"
26259
26260 #. type: textblock
26261 #: ../src/guestfs-actions.pod:736 ../src/guestfs-actions.pod:753
26262 #: ../src/guestfs-actions.pod:768 ../src/guestfs-actions.pod:784
26263 #: ../src/guestfs-actions.pod:802 ../src/guestfs-actions.pod:821
26264 #: ../src/guestfs-actions.pod:835 ../src/guestfs-actions.pod:853
26265 #: ../src/guestfs-actions.pod:867 ../src/guestfs-actions.pod:881
26266 msgid "(Added in 0.9.3)"
26267 msgstr "(Додано у 0.9.3)"
26268
26269 #. type: =head2
26270 #: ../src/guestfs-actions.pod:738
26271 msgid "guestfs_blockdev_getbsz"
26272 msgstr "guestfs_blockdev_getbsz"
26273
26274 #. type: verbatim
26275 #: ../src/guestfs-actions.pod:740
26276 #, no-wrap
26277 msgid ""
26278 " int\n"
26279 " guestfs_blockdev_getbsz (guestfs_h *g,\n"
26280 "                          const char *device);\n"
26281 "\n"
26282 msgstr ""
26283 " int\n"
26284 " guestfs_blockdev_getbsz (guestfs_h *g,\n"
26285 "                          const char *device);\n"
26286 "\n"
26287
26288 #. type: =head2
26289 #: ../src/guestfs-actions.pod:755
26290 msgid "guestfs_blockdev_getro"
26291 msgstr "guestfs_blockdev_getro"
26292
26293 #. type: verbatim
26294 #: ../src/guestfs-actions.pod:757
26295 #, no-wrap
26296 msgid ""
26297 " int\n"
26298 " guestfs_blockdev_getro (guestfs_h *g,\n"
26299 "                         const char *device);\n"
26300 "\n"
26301 msgstr ""
26302 " int\n"
26303 " guestfs_blockdev_getro (guestfs_h *g,\n"
26304 "                         const char *device);\n"
26305 "\n"
26306
26307 #. type: textblock
26308 #: ../src/guestfs-actions.pod:766 ../src/guestfs-actions.pod:1883
26309 #: ../src/guestfs-actions.pod:1898 ../src/guestfs-actions.pod:2387
26310 #: ../src/guestfs-actions.pod:2398 ../src/guestfs-actions.pod:2470
26311 #: ../src/guestfs-actions.pod:2496 ../src/guestfs-actions.pod:2536
26312 #: ../src/guestfs-actions.pod:2551 ../src/guestfs-actions.pod:2587
26313 #: ../src/guestfs-actions.pod:2610 ../src/guestfs-actions.pod:3685
26314 #: ../src/guestfs-actions.pod:3701 ../src/guestfs-actions.pod:3719
26315 #: ../src/guestfs-actions.pod:3881 ../src/guestfs-actions.pod:3895
26316 #: ../src/guestfs-actions.pod:3910 ../src/guestfs-actions.pod:3924
26317 #: ../src/guestfs-actions.pod:3940 ../src/guestfs-actions.pod:3955
26318 #: ../src/guestfs-actions.pod:3971 ../src/guestfs-actions.pod:3985
26319 #: ../src/guestfs-actions.pod:3998 ../src/guestfs-actions.pod:4012
26320 #: ../src/guestfs-actions.pod:4027 ../src/guestfs-actions.pod:4042
26321 #: ../src/guestfs-actions.pod:4055 ../src/guestfs-actions.pod:4069
26322 #: ../src/guestfs-actions.pod:5788
26323 msgid "This function returns a C truth value on success or -1 on error."
26324 msgstr ""
26325
26326 #. type: =head2
26327 #: ../src/guestfs-actions.pod:770
26328 msgid "guestfs_blockdev_getsize64"
26329 msgstr "guestfs_blockdev_getsize64"
26330
26331 #. type: verbatim
26332 #: ../src/guestfs-actions.pod:772
26333 #, no-wrap
26334 msgid ""
26335 " int64_t\n"
26336 " guestfs_blockdev_getsize64 (guestfs_h *g,\n"
26337 "                             const char *device);\n"
26338 "\n"
26339 msgstr ""
26340 " int64_t\n"
26341 " guestfs_blockdev_getsize64 (guestfs_h *g,\n"
26342 "                             const char *device);\n"
26343 "\n"
26344
26345 #. type: textblock
26346 #: ../src/guestfs-actions.pod:778
26347 msgid "See also C<guestfs_blockdev_getsz>."
26348 msgstr ""
26349
26350 #. type: =head2
26351 #: ../src/guestfs-actions.pod:786
26352 msgid "guestfs_blockdev_getss"
26353 msgstr "guestfs_blockdev_getss"
26354
26355 #. type: verbatim
26356 #: ../src/guestfs-actions.pod:788
26357 #, no-wrap
26358 msgid ""
26359 " int\n"
26360 " guestfs_blockdev_getss (guestfs_h *g,\n"
26361 "                         const char *device);\n"
26362 "\n"
26363 msgstr ""
26364 " int\n"
26365 " guestfs_blockdev_getss (guestfs_h *g,\n"
26366 "                         const char *device);\n"
26367 "\n"
26368
26369 #. type: textblock
26370 #: ../src/guestfs-actions.pod:795
26371 msgid ""
26372 "(Note, this is not the size in sectors, use C<guestfs_blockdev_getsz> for "
26373 "that)."
26374 msgstr ""
26375
26376 #. type: =head2
26377 #: ../src/guestfs-actions.pod:804
26378 msgid "guestfs_blockdev_getsz"
26379 msgstr "guestfs_blockdev_getsz"
26380
26381 #. type: verbatim
26382 #: ../src/guestfs-actions.pod:806
26383 #, no-wrap
26384 msgid ""
26385 " int64_t\n"
26386 " guestfs_blockdev_getsz (guestfs_h *g,\n"
26387 "                         const char *device);\n"
26388 "\n"
26389 msgstr ""
26390 " int64_t\n"
26391 " guestfs_blockdev_getsz (guestfs_h *g,\n"
26392 "                         const char *device);\n"
26393 "\n"
26394
26395 #. type: textblock
26396 #: ../src/guestfs-actions.pod:813
26397 msgid ""
26398 "See also C<guestfs_blockdev_getss> for the real sector size of the device, "
26399 "and C<guestfs_blockdev_getsize64> for the more useful I<size in bytes>."
26400 msgstr ""
26401
26402 #. type: =head2
26403 #: ../src/guestfs-actions.pod:823
26404 msgid "guestfs_blockdev_rereadpt"
26405 msgstr "guestfs_blockdev_rereadpt"
26406
26407 #. type: verbatim
26408 #: ../src/guestfs-actions.pod:825
26409 #, no-wrap
26410 msgid ""
26411 " int\n"
26412 " guestfs_blockdev_rereadpt (guestfs_h *g,\n"
26413 "                            const char *device);\n"
26414 "\n"
26415 msgstr ""
26416 " int\n"
26417 " guestfs_blockdev_rereadpt (guestfs_h *g,\n"
26418 "                            const char *device);\n"
26419 "\n"
26420
26421 #. type: =head2
26422 #: ../src/guestfs-actions.pod:837
26423 msgid "guestfs_blockdev_setbsz"
26424 msgstr "guestfs_blockdev_setbsz"
26425
26426 #. type: verbatim
26427 #: ../src/guestfs-actions.pod:839
26428 #, no-wrap
26429 msgid ""
26430 " int\n"
26431 " guestfs_blockdev_setbsz (guestfs_h *g,\n"
26432 "                          const char *device,\n"
26433 "                          int blocksize);\n"
26434 "\n"
26435 msgstr ""
26436 " int\n"
26437 " guestfs_blockdev_setbsz (guestfs_h *g,\n"
26438 "                          const char *device,\n"
26439 "                          int blocksize);\n"
26440 "\n"
26441
26442 #. type: =head2
26443 #: ../src/guestfs-actions.pod:855
26444 msgid "guestfs_blockdev_setro"
26445 msgstr "guestfs_blockdev_setro"
26446
26447 #. type: verbatim
26448 #: ../src/guestfs-actions.pod:857
26449 #, no-wrap
26450 msgid ""
26451 " int\n"
26452 " guestfs_blockdev_setro (guestfs_h *g,\n"
26453 "                         const char *device);\n"
26454 "\n"
26455 msgstr ""
26456 " int\n"
26457 " guestfs_blockdev_setro (guestfs_h *g,\n"
26458 "                         const char *device);\n"
26459 "\n"
26460
26461 #. type: =head2
26462 #: ../src/guestfs-actions.pod:869
26463 msgid "guestfs_blockdev_setrw"
26464 msgstr "guestfs_blockdev_setrw"
26465
26466 #. type: verbatim
26467 #: ../src/guestfs-actions.pod:871
26468 #, no-wrap
26469 msgid ""
26470 " int\n"
26471 " guestfs_blockdev_setrw (guestfs_h *g,\n"
26472 "                         const char *device);\n"
26473 "\n"
26474 msgstr ""
26475 " int\n"
26476 " guestfs_blockdev_setrw (guestfs_h *g,\n"
26477 "                         const char *device);\n"
26478 "\n"
26479
26480 #. type: =head2
26481 #: ../src/guestfs-actions.pod:883
26482 msgid "guestfs_btrfs_filesystem_resize"
26483 msgstr "guestfs_btrfs_filesystem_resize"
26484
26485 #. type: verbatim
26486 #: ../src/guestfs-actions.pod:885
26487 #, no-wrap
26488 msgid ""
26489 " int\n"
26490 " guestfs_btrfs_filesystem_resize (guestfs_h *g,\n"
26491 "                                  const char *mountpoint,\n"
26492 "                                  ...);\n"
26493 "\n"
26494 msgstr ""
26495 " int\n"
26496 " guestfs_btrfs_filesystem_resize (guestfs_h *g,\n"
26497 "                                  const char *mountpoint,\n"
26498 "                                  ...);\n"
26499 "\n"
26500
26501 #. type: verbatim
26502 #: ../src/guestfs-actions.pod:895
26503 #, no-wrap
26504 msgid ""
26505 " GUESTFS_BTRFS_FILESYSTEM_RESIZE_SIZE, int64_t size,\n"
26506 "\n"
26507 msgstr ""
26508 " GUESTFS_BTRFS_FILESYSTEM_RESIZE_SIZE, int64_t size,\n"
26509 "\n"
26510
26511 #. type: textblock
26512 #: ../src/guestfs-actions.pod:918
26513 msgid "(Added in 1.11.17)"
26514 msgstr "(Додано у 1.11.17)"
26515
26516 #. type: =head2
26517 #: ../src/guestfs-actions.pod:920
26518 msgid "guestfs_btrfs_filesystem_resize_va"
26519 msgstr "guestfs_btrfs_filesystem_resize_va"
26520
26521 #. type: verbatim
26522 #: ../src/guestfs-actions.pod:922
26523 #, no-wrap
26524 msgid ""
26525 " int\n"
26526 " guestfs_btrfs_filesystem_resize_va (guestfs_h *g,\n"
26527 "                                     const char *mountpoint,\n"
26528 "                                     va_list args);\n"
26529 "\n"
26530 msgstr ""
26531 " int\n"
26532 " guestfs_btrfs_filesystem_resize_va (guestfs_h *g,\n"
26533 "                                     const char *mountpoint,\n"
26534 "                                     va_list args);\n"
26535 "\n"
26536
26537 #. type: textblock
26538 #: ../src/guestfs-actions.pod:927
26539 msgid "This is the \"va_list variant\" of L</guestfs_btrfs_filesystem_resize>."
26540 msgstr ""
26541
26542 #. type: =head2
26543 #: ../src/guestfs-actions.pod:931
26544 msgid "guestfs_btrfs_filesystem_resize_argv"
26545 msgstr "guestfs_btrfs_filesystem_resize_argv"
26546
26547 #. type: verbatim
26548 #: ../src/guestfs-actions.pod:933
26549 #, no-wrap
26550 msgid ""
26551 " int\n"
26552 " guestfs_btrfs_filesystem_resize_argv (guestfs_h *g,\n"
26553 "                                       const char *mountpoint,\n"
26554 "                                       const struct guestfs_btrfs_filesystem_resize_argv *optargs);\n"
26555 "\n"
26556 msgstr ""
26557 " int\n"
26558 " guestfs_btrfs_filesystem_resize_argv (guestfs_h *g,\n"
26559 "                                       const char *mountpoint,\n"
26560 "                                       const struct guestfs_btrfs_filesystem_resize_argv *optargs);\n"
26561 "\n"
26562
26563 #. type: textblock
26564 #: ../src/guestfs-actions.pod:938
26565 msgid "This is the \"argv variant\" of L</guestfs_btrfs_filesystem_resize>."
26566 msgstr ""
26567
26568 #. type: =head2
26569 #: ../src/guestfs-actions.pod:942
26570 msgid "guestfs_case_sensitive_path"
26571 msgstr ""
26572
26573 #. type: verbatim
26574 #: ../src/guestfs-actions.pod:944
26575 #, no-wrap
26576 msgid ""
26577 " char *\n"
26578 " guestfs_case_sensitive_path (guestfs_h *g,\n"
26579 "                              const char *path);\n"
26580 "\n"
26581 msgstr ""
26582
26583 #. type: textblock
26584 #: ../src/guestfs-actions.pod:970
26585 msgid ""
26586 "Thus C<guestfs_case_sensitive_path> (\"/Windows/System32\")  might return "
26587 "C<\"/WINDOWS/system32\"> (the exact return value would depend on details of "
26588 "how the directories were originally created under Windows)."
26589 msgstr ""
26590
26591 #. type: textblock
26592 #: ../src/guestfs-actions.pod:978
26593 msgid "See also C<guestfs_realpath>."
26594 msgstr ""
26595
26596 #. type: textblock
26597 #: ../src/guestfs-actions.pod:983 ../src/guestfs-actions.pod:7870
26598 msgid "(Added in 1.0.75)"
26599 msgstr "(Додано у 1.0.75)"
26600
26601 #. type: =head2
26602 #: ../src/guestfs-actions.pod:985
26603 msgid "guestfs_cat"
26604 msgstr ""
26605
26606 #. type: verbatim
26607 #: ../src/guestfs-actions.pod:987
26608 #, no-wrap
26609 msgid ""
26610 " char *\n"
26611 " guestfs_cat (guestfs_h *g,\n"
26612 "              const char *path);\n"
26613 "\n"
26614 msgstr ""
26615
26616 #. type: textblock
26617 #: ../src/guestfs-actions.pod:993
26618 msgid ""
26619 "Note that this function cannot correctly handle binary files (specifically, "
26620 "files containing C<\\0> character which is treated as end of string).  For "
26621 "those you need to use the C<guestfs_read_file> or C<guestfs_download> "
26622 "functions which have a more complex interface."
26623 msgstr ""
26624
26625 #. type: textblock
26626 #: ../src/guestfs-actions.pod:1004 ../src/guestfs-actions.pod:4199
26627 #: ../src/guestfs-actions.pod:4281 ../src/guestfs-actions.pod:4298
26628 #: ../src/guestfs-actions.pod:4386 ../src/guestfs-actions.pod:4794
26629 #: ../src/guestfs-actions.pod:4808 ../src/guestfs-actions.pod:6187
26630 #: ../src/guestfs-actions.pod:6201 ../src/guestfs-actions.pod:8023
26631 #: ../src/guestfs-actions.pod:8037
26632 msgid "(Added in 0.4)"
26633 msgstr "(Додано у 0.4)"
26634
26635 #. type: =head2
26636 #: ../src/guestfs-actions.pod:1006
26637 msgid "guestfs_checksum"
26638 msgstr ""
26639
26640 #. type: verbatim
26641 #: ../src/guestfs-actions.pod:1008
26642 #, no-wrap
26643 msgid ""
26644 " char *\n"
26645 " guestfs_checksum (guestfs_h *g,\n"
26646 "                   const char *csumtype,\n"
26647 "                   const char *path);\n"
26648 "\n"
26649 msgstr ""
26650
26651 #. type: textblock
26652 #: ../src/guestfs-actions.pod:1054
26653 msgid "To get the checksum for a device, use C<guestfs_checksum_device>."
26654 msgstr ""
26655
26656 #. type: textblock
26657 #: ../src/guestfs-actions.pod:1056
26658 msgid "To get the checksums for many files, use C<guestfs_checksums_out>."
26659 msgstr ""
26660
26661 #. type: textblock
26662 #: ../src/guestfs-actions.pod:1061 ../src/guestfs-actions.pod:1720
26663 #: ../src/guestfs-actions.pod:2578 ../src/guestfs-actions.pod:3897
26664 #: ../src/guestfs-actions.pod:3926 ../src/guestfs-actions.pod:3987
26665 #: ../src/guestfs-actions.pod:4014 ../src/guestfs-actions.pod:7726
26666 msgid "(Added in 1.0.2)"
26667 msgstr "(Додано у 1.0.2)"
26668
26669 #. type: =head2
26670 #: ../src/guestfs-actions.pod:1063
26671 msgid "guestfs_checksum_device"
26672 msgstr ""
26673
26674 #. type: verbatim
26675 #: ../src/guestfs-actions.pod:1065
26676 #, no-wrap
26677 msgid ""
26678 " char *\n"
26679 " guestfs_checksum_device (guestfs_h *g,\n"
26680 "                          const char *csumtype,\n"
26681 "                          const char *device);\n"
26682 "\n"
26683 msgstr ""
26684
26685 #. type: textblock
26686 #: ../src/guestfs-actions.pod:1070
26687 msgid ""
26688 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
26689 "device named C<device>.  For the types of checksums supported see the "
26690 "C<guestfs_checksum> command."
26691 msgstr ""
26692
26693 #. type: textblock
26694 #: ../src/guestfs-actions.pod:1077 ../src/guestfs-actions.pod:5618
26695 #: ../src/guestfs-actions.pod:5753 ../src/guestfs-actions.pod:5790
26696 #: ../src/guestfs-actions.pod:5808 ../src/guestfs-actions.pod:5990
26697 #: ../src/guestfs-actions.pod:7635 ../src/guestfs-actions.pod:7649
26698 #: ../src/guestfs-actions.pod:8049
26699 msgid "(Added in 1.3.2)"
26700 msgstr "(Додано у 1.3.2)"
26701
26702 #. type: =head2
26703 #: ../src/guestfs-actions.pod:1079
26704 msgid "guestfs_checksums_out"
26705 msgstr ""
26706
26707 #. type: verbatim
26708 #: ../src/guestfs-actions.pod:1081
26709 #, no-wrap
26710 msgid ""
26711 " int\n"
26712 " guestfs_checksums_out (guestfs_h *g,\n"
26713 "                        const char *csumtype,\n"
26714 "                        const char *directory,\n"
26715 "                        const char *sumsfile);\n"
26716 "\n"
26717 msgstr ""
26718
26719 #. type: textblock
26720 #: ../src/guestfs-actions.pod:1101
26721 msgid "(Added in 1.3.7)"
26722 msgstr "(Додано у 1.3.7)"
26723
26724 #. type: =head2
26725 #: ../src/guestfs-actions.pod:1103
26726 msgid "guestfs_chmod"
26727 msgstr ""
26728
26729 #. type: verbatim
26730 #: ../src/guestfs-actions.pod:1105
26731 #, no-wrap
26732 msgid ""
26733 " int\n"
26734 " guestfs_chmod (guestfs_h *g,\n"
26735 "                int mode,\n"
26736 "                const char *path);\n"
26737 "\n"
26738 msgstr ""
26739
26740 #. type: =head2
26741 #: ../src/guestfs-actions.pod:1123
26742 msgid "guestfs_chown"
26743 msgstr ""
26744
26745 #. type: verbatim
26746 #: ../src/guestfs-actions.pod:1125
26747 #, no-wrap
26748 msgid ""
26749 " int\n"
26750 " guestfs_chown (guestfs_h *g,\n"
26751 "                int owner,\n"
26752 "                int group,\n"
26753 "                const char *path);\n"
26754 "\n"
26755 msgstr ""
26756
26757 #. type: =head2
26758 #: ../src/guestfs-actions.pod:1141
26759 msgid "guestfs_command"
26760 msgstr ""
26761
26762 #. type: verbatim
26763 #: ../src/guestfs-actions.pod:1143
26764 #, no-wrap
26765 msgid ""
26766 " char *\n"
26767 " guestfs_command (guestfs_h *g,\n"
26768 "                  char *const *arguments);\n"
26769 "\n"
26770 msgstr ""
26771
26772 #. type: textblock
26773 #: ../src/guestfs-actions.pod:1152
26774 msgid ""
26775 "The single parameter is an argv-style list of arguments.  The first element "
26776 "is the name of the program to run.  Subsequent elements are parameters.  The"
26777 " list must be non-empty (ie. must contain a program name).  Note that the "
26778 "command runs directly, and is I<not> invoked via the shell (see "
26779 "C<guestfs_sh>)."
26780 msgstr ""
26781
26782 #. type: textblock
26783 #: ../src/guestfs-actions.pod:1183 ../src/guestfs-actions.pod:1203
26784 #: ../src/guestfs-actions.pod:2019
26785 msgid "(Added in 0.9.1)"
26786 msgstr "(Додано у 0.9.1)"
26787
26788 #. type: =head2
26789 #: ../src/guestfs-actions.pod:1185
26790 msgid "guestfs_command_lines"
26791 msgstr ""
26792
26793 #. type: verbatim
26794 #: ../src/guestfs-actions.pod:1187
26795 #, no-wrap
26796 msgid ""
26797 " char **\n"
26798 " guestfs_command_lines (guestfs_h *g,\n"
26799 "                        char *const *arguments);\n"
26800 "\n"
26801 msgstr ""
26802
26803 #. type: textblock
26804 #: ../src/guestfs-actions.pod:1191
26805 msgid ""
26806 "This is the same as C<guestfs_command>, but splits the result into a list of"
26807 " lines."
26808 msgstr ""
26809
26810 #. type: textblock
26811 #: ../src/guestfs-actions.pod:1194
26812 msgid "See also: C<guestfs_sh_lines>"
26813 msgstr ""
26814
26815 #. type: =head2
26816 #: ../src/guestfs-actions.pod:1205
26817 msgid "guestfs_compress_device_out"
26818 msgstr ""
26819
26820 #. type: verbatim
26821 #: ../src/guestfs-actions.pod:1207
26822 #, no-wrap
26823 msgid ""
26824 " int\n"
26825 " guestfs_compress_device_out (guestfs_h *g,\n"
26826 "                              const char *ctype,\n"
26827 "                              const char *device,\n"
26828 "                              const char *zdevice,\n"
26829 "                              ...);\n"
26830 "\n"
26831 msgstr ""
26832
26833 #. type: verbatim
26834 #: ../src/guestfs-actions.pod:1219
26835 #, no-wrap
26836 msgid ""
26837 " GUESTFS_COMPRESS_DEVICE_OUT_LEVEL, int level,\n"
26838 "\n"
26839 msgstr ""
26840
26841 #. type: textblock
26842 #: ../src/guestfs-actions.pod:1224
26843 msgid ""
26844 "The C<ctype> and optional C<level> parameters have the same meaning as in "
26845 "C<guestfs_compress_out>."
26846 msgstr ""
26847
26848 #. type: textblock
26849 #: ../src/guestfs-actions.pod:1229 ../src/guestfs-actions.pod:1288
26850 #: ../src/guestfs-actions.pod:2564 ../src/guestfs-actions.pod:6907
26851 msgid "(Added in 1.13.15)"
26852 msgstr ""
26853
26854 #. type: =head2
26855 #: ../src/guestfs-actions.pod:1231
26856 msgid "guestfs_compress_device_out_va"
26857 msgstr ""
26858
26859 #. type: verbatim
26860 #: ../src/guestfs-actions.pod:1233
26861 #, no-wrap
26862 msgid ""
26863 " int\n"
26864 " guestfs_compress_device_out_va (guestfs_h *g,\n"
26865 "                                 const char *ctype,\n"
26866 "                                 const char *device,\n"
26867 "                                 const char *zdevice,\n"
26868 "                                 va_list args);\n"
26869 "\n"
26870 msgstr ""
26871
26872 #. type: textblock
26873 #: ../src/guestfs-actions.pod:1240
26874 msgid "This is the \"va_list variant\" of L</guestfs_compress_device_out>."
26875 msgstr ""
26876
26877 #. type: =head2
26878 #: ../src/guestfs-actions.pod:1244
26879 msgid "guestfs_compress_device_out_argv"
26880 msgstr ""
26881
26882 #. type: verbatim
26883 #: ../src/guestfs-actions.pod:1246
26884 #, no-wrap
26885 msgid ""
26886 " int\n"
26887 " guestfs_compress_device_out_argv (guestfs_h *g,\n"
26888 "                                   const char *ctype,\n"
26889 "                                   const char *device,\n"
26890 "                                   const char *zdevice,\n"
26891 "                                   const struct guestfs_compress_device_out_argv *optargs);\n"
26892 "\n"
26893 msgstr ""
26894
26895 #. type: textblock
26896 #: ../src/guestfs-actions.pod:1253
26897 msgid "This is the \"argv variant\" of L</guestfs_compress_device_out>."
26898 msgstr ""
26899
26900 #. type: =head2
26901 #: ../src/guestfs-actions.pod:1257
26902 msgid "guestfs_compress_out"
26903 msgstr ""
26904
26905 #. type: verbatim
26906 #: ../src/guestfs-actions.pod:1259
26907 #, no-wrap
26908 msgid ""
26909 " int\n"
26910 " guestfs_compress_out (guestfs_h *g,\n"
26911 "                       const char *ctype,\n"
26912 "                       const char *file,\n"
26913 "                       const char *zfile,\n"
26914 "                       ...);\n"
26915 "\n"
26916 msgstr ""
26917
26918 #. type: verbatim
26919 #: ../src/guestfs-actions.pod:1271
26920 #, no-wrap
26921 msgid ""
26922 " GUESTFS_COMPRESS_OUT_LEVEL, int level,\n"
26923 "\n"
26924 msgstr ""
26925
26926 #. type: =head2
26927 #: ../src/guestfs-actions.pod:1290
26928 msgid "guestfs_compress_out_va"
26929 msgstr ""
26930
26931 #. type: verbatim
26932 #: ../src/guestfs-actions.pod:1292
26933 #, no-wrap
26934 msgid ""
26935 " int\n"
26936 " guestfs_compress_out_va (guestfs_h *g,\n"
26937 "                          const char *ctype,\n"
26938 "                          const char *file,\n"
26939 "                          const char *zfile,\n"
26940 "                          va_list args);\n"
26941 "\n"
26942 msgstr ""
26943
26944 #. type: textblock
26945 #: ../src/guestfs-actions.pod:1299
26946 msgid "This is the \"va_list variant\" of L</guestfs_compress_out>."
26947 msgstr ""
26948
26949 #. type: =head2
26950 #: ../src/guestfs-actions.pod:1303
26951 msgid "guestfs_compress_out_argv"
26952 msgstr ""
26953
26954 #. type: verbatim
26955 #: ../src/guestfs-actions.pod:1305
26956 #, no-wrap
26957 msgid ""
26958 " int\n"
26959 " guestfs_compress_out_argv (guestfs_h *g,\n"
26960 "                            const char *ctype,\n"
26961 "                            const char *file,\n"
26962 "                            const char *zfile,\n"
26963 "                            const struct guestfs_compress_out_argv *optargs);\n"
26964 "\n"
26965 msgstr ""
26966
26967 #. type: textblock
26968 #: ../src/guestfs-actions.pod:1312
26969 msgid "This is the \"argv variant\" of L</guestfs_compress_out>."
26970 msgstr ""
26971
26972 #. type: =head2
26973 #: ../src/guestfs-actions.pod:1316
26974 msgid "guestfs_config"
26975 msgstr ""
26976
26977 #. type: verbatim
26978 #: ../src/guestfs-actions.pod:1318
26979 #, no-wrap
26980 msgid ""
26981 " int\n"
26982 " guestfs_config (guestfs_h *g,\n"
26983 "                 const char *qemuparam,\n"
26984 "                 const char *qemuvalue);\n"
26985 "\n"
26986 msgstr ""
26987
26988 #. type: =head2
26989 #: ../src/guestfs-actions.pod:1336
26990 msgid "guestfs_copy_device_to_device"
26991 msgstr ""
26992
26993 #. type: verbatim
26994 #: ../src/guestfs-actions.pod:1338
26995 #, no-wrap
26996 msgid ""
26997 " int\n"
26998 " guestfs_copy_device_to_device (guestfs_h *g,\n"
26999 "                                const char *src,\n"
27000 "                                const char *dest,\n"
27001 "                                ...);\n"
27002 "\n"
27003 msgstr ""
27004
27005 #. type: verbatim
27006 #: ../src/guestfs-actions.pod:1349
27007 #, no-wrap
27008 msgid ""
27009 " GUESTFS_COPY_DEVICE_TO_DEVICE_SRCOFFSET, int64_t srcoffset,\n"
27010 " GUESTFS_COPY_DEVICE_TO_DEVICE_DESTOFFSET, int64_t destoffset,\n"
27011 " GUESTFS_COPY_DEVICE_TO_DEVICE_SIZE, int64_t size,\n"
27012 "\n"
27013 msgstr ""
27014
27015 #. type: textblock
27016 #: ../src/guestfs-actions.pod:1353
27017 msgid ""
27018 "The four calls C<guestfs_copy_device_to_device>, "
27019 "C<guestfs_copy_device_to_file>, C<guestfs_copy_file_to_device>, and "
27020 "C<guestfs_copy_file_to_file> let you copy from a source (device|file) to a "
27021 "destination (device|file)."
27022 msgstr ""
27023
27024 #. type: textblock
27025 #: ../src/guestfs-actions.pod:1374 ../src/guestfs-actions.pod:1425
27026 #: ../src/guestfs-actions.pod:1476 ../src/guestfs-actions.pod:1532
27027 #: ../src/guestfs-actions.pod:1584 ../src/guestfs-actions.pod:1715
27028 #: ../src/guestfs-actions.pod:1746 ../src/guestfs-actions.pod:1791
27029 #: ../src/guestfs-actions.pod:2168 ../src/guestfs-actions.pod:2190
27030 #: ../src/guestfs-actions.pod:4097 ../src/guestfs-actions.pod:7721
27031 #: ../src/guestfs-actions.pod:7755 ../src/guestfs-actions.pod:8262
27032 #: ../src/guestfs-actions.pod:8285
27033 msgid ""
27034 "This long-running command can generate progress notification messages so "
27035 "that the caller can display a progress bar or indicator.  To receive these "
27036 "messages, the caller must register a progress event callback.  See "
27037 "L<guestfs(3)/GUESTFS_EVENT_PROGRESS>."
27038 msgstr ""
27039
27040 #. type: =head2
27041 #: ../src/guestfs-actions.pod:1379
27042 msgid "guestfs_copy_device_to_device_va"
27043 msgstr ""
27044
27045 #. type: verbatim
27046 #: ../src/guestfs-actions.pod:1381
27047 #, no-wrap
27048 msgid ""
27049 " int\n"
27050 " guestfs_copy_device_to_device_va (guestfs_h *g,\n"
27051 "                                   const char *src,\n"
27052 "                                   const char *dest,\n"
27053 "                                   va_list args);\n"
27054 "\n"
27055 msgstr ""
27056
27057 #. type: textblock
27058 #: ../src/guestfs-actions.pod:1387
27059 msgid "This is the \"va_list variant\" of L</guestfs_copy_device_to_device>."
27060 msgstr ""
27061
27062 #. type: =head2
27063 #: ../src/guestfs-actions.pod:1391
27064 msgid "guestfs_copy_device_to_device_argv"
27065 msgstr ""
27066
27067 #. type: verbatim
27068 #: ../src/guestfs-actions.pod:1393
27069 #, no-wrap
27070 msgid ""
27071 " int\n"
27072 " guestfs_copy_device_to_device_argv (guestfs_h *g,\n"
27073 "                                     const char *src,\n"
27074 "                                     const char *dest,\n"
27075 "                                     const struct guestfs_copy_device_to_device_argv *optargs);\n"
27076 "\n"
27077 msgstr ""
27078
27079 #. type: textblock
27080 #: ../src/guestfs-actions.pod:1399
27081 msgid "This is the \"argv variant\" of L</guestfs_copy_device_to_device>."
27082 msgstr ""
27083
27084 #. type: =head2
27085 #: ../src/guestfs-actions.pod:1403
27086 msgid "guestfs_copy_device_to_file"
27087 msgstr ""
27088
27089 #. type: verbatim
27090 #: ../src/guestfs-actions.pod:1405
27091 #, no-wrap
27092 msgid ""
27093 " int\n"
27094 " guestfs_copy_device_to_file (guestfs_h *g,\n"
27095 "                              const char *src,\n"
27096 "                              const char *dest,\n"
27097 "                              ...);\n"
27098 "\n"
27099 msgstr ""
27100
27101 #. type: verbatim
27102 #: ../src/guestfs-actions.pod:1416
27103 #, no-wrap
27104 msgid ""
27105 " GUESTFS_COPY_DEVICE_TO_FILE_SRCOFFSET, int64_t srcoffset,\n"
27106 " GUESTFS_COPY_DEVICE_TO_FILE_DESTOFFSET, int64_t destoffset,\n"
27107 " GUESTFS_COPY_DEVICE_TO_FILE_SIZE, int64_t size,\n"
27108 "\n"
27109 msgstr ""
27110
27111 #. type: textblock
27112 #: ../src/guestfs-actions.pod:1420 ../src/guestfs-actions.pod:1471
27113 #: ../src/guestfs-actions.pod:1522
27114 msgid ""
27115 "See C<guestfs_copy_device_to_device> for a general overview of this call."
27116 msgstr ""
27117
27118 #. type: =head2
27119 #: ../src/guestfs-actions.pod:1430
27120 msgid "guestfs_copy_device_to_file_va"
27121 msgstr ""
27122
27123 #. type: verbatim
27124 #: ../src/guestfs-actions.pod:1432
27125 #, no-wrap
27126 msgid ""
27127 " int\n"
27128 " guestfs_copy_device_to_file_va (guestfs_h *g,\n"
27129 "                                 const char *src,\n"
27130 "                                 const char *dest,\n"
27131 "                                 va_list args);\n"
27132 "\n"
27133 msgstr ""
27134
27135 #. type: textblock
27136 #: ../src/guestfs-actions.pod:1438
27137 msgid "This is the \"va_list variant\" of L</guestfs_copy_device_to_file>."
27138 msgstr ""
27139
27140 #. type: =head2
27141 #: ../src/guestfs-actions.pod:1442
27142 msgid "guestfs_copy_device_to_file_argv"
27143 msgstr ""
27144
27145 #. type: verbatim
27146 #: ../src/guestfs-actions.pod:1444
27147 #, no-wrap
27148 msgid ""
27149 " int\n"
27150 " guestfs_copy_device_to_file_argv (guestfs_h *g,\n"
27151 "                                   const char *src,\n"
27152 "                                   const char *dest,\n"
27153 "                                   const struct guestfs_copy_device_to_file_argv *optargs);\n"
27154 "\n"
27155 msgstr ""
27156
27157 #. type: textblock
27158 #: ../src/guestfs-actions.pod:1450
27159 msgid "This is the \"argv variant\" of L</guestfs_copy_device_to_file>."
27160 msgstr ""
27161
27162 #. type: =head2
27163 #: ../src/guestfs-actions.pod:1454
27164 msgid "guestfs_copy_file_to_device"
27165 msgstr ""
27166
27167 #. type: verbatim
27168 #: ../src/guestfs-actions.pod:1456
27169 #, no-wrap
27170 msgid ""
27171 " int\n"
27172 " guestfs_copy_file_to_device (guestfs_h *g,\n"
27173 "                              const char *src,\n"
27174 "                              const char *dest,\n"
27175 "                              ...);\n"
27176 "\n"
27177 msgstr ""
27178
27179 #. type: verbatim
27180 #: ../src/guestfs-actions.pod:1467
27181 #, no-wrap
27182 msgid ""
27183 " GUESTFS_COPY_FILE_TO_DEVICE_SRCOFFSET, int64_t srcoffset,\n"
27184 " GUESTFS_COPY_FILE_TO_DEVICE_DESTOFFSET, int64_t destoffset,\n"
27185 " GUESTFS_COPY_FILE_TO_DEVICE_SIZE, int64_t size,\n"
27186 "\n"
27187 msgstr ""
27188
27189 #. type: =head2
27190 #: ../src/guestfs-actions.pod:1481
27191 msgid "guestfs_copy_file_to_device_va"
27192 msgstr ""
27193
27194 #. type: verbatim
27195 #: ../src/guestfs-actions.pod:1483
27196 #, no-wrap
27197 msgid ""
27198 " int\n"
27199 " guestfs_copy_file_to_device_va (guestfs_h *g,\n"
27200 "                                 const char *src,\n"
27201 "                                 const char *dest,\n"
27202 "                                 va_list args);\n"
27203 "\n"
27204 msgstr ""
27205
27206 #. type: textblock
27207 #: ../src/guestfs-actions.pod:1489
27208 msgid "This is the \"va_list variant\" of L</guestfs_copy_file_to_device>."
27209 msgstr ""
27210
27211 #. type: =head2
27212 #: ../src/guestfs-actions.pod:1493
27213 msgid "guestfs_copy_file_to_device_argv"
27214 msgstr ""
27215
27216 #. type: verbatim
27217 #: ../src/guestfs-actions.pod:1495
27218 #, no-wrap
27219 msgid ""
27220 " int\n"
27221 " guestfs_copy_file_to_device_argv (guestfs_h *g,\n"
27222 "                                   const char *src,\n"
27223 "                                   const char *dest,\n"
27224 "                                   const struct guestfs_copy_file_to_device_argv *optargs);\n"
27225 "\n"
27226 msgstr ""
27227
27228 #. type: textblock
27229 #: ../src/guestfs-actions.pod:1501
27230 msgid "This is the \"argv variant\" of L</guestfs_copy_file_to_device>."
27231 msgstr ""
27232
27233 #. type: =head2
27234 #: ../src/guestfs-actions.pod:1505
27235 msgid "guestfs_copy_file_to_file"
27236 msgstr ""
27237
27238 #. type: verbatim
27239 #: ../src/guestfs-actions.pod:1507
27240 #, no-wrap
27241 msgid ""
27242 " int\n"
27243 " guestfs_copy_file_to_file (guestfs_h *g,\n"
27244 "                            const char *src,\n"
27245 "                            const char *dest,\n"
27246 "                            ...);\n"
27247 "\n"
27248 msgstr ""
27249
27250 #. type: verbatim
27251 #: ../src/guestfs-actions.pod:1518
27252 #, no-wrap
27253 msgid ""
27254 " GUESTFS_COPY_FILE_TO_FILE_SRCOFFSET, int64_t srcoffset,\n"
27255 " GUESTFS_COPY_FILE_TO_FILE_DESTOFFSET, int64_t destoffset,\n"
27256 " GUESTFS_COPY_FILE_TO_FILE_SIZE, int64_t size,\n"
27257 "\n"
27258 msgstr ""
27259
27260 #. type: textblock
27261 #: ../src/guestfs-actions.pod:1525
27262 msgid ""
27263 "This is B<not> the function you want for copying files.  This is for copying"
27264 " blocks within existing files.  See C<guestfs_cp>, C<guestfs_cp_a> and "
27265 "C<guestfs_mv> for general file copying and moving functions."
27266 msgstr ""
27267
27268 #. type: =head2
27269 #: ../src/guestfs-actions.pod:1537
27270 msgid "guestfs_copy_file_to_file_va"
27271 msgstr ""
27272
27273 #. type: verbatim
27274 #: ../src/guestfs-actions.pod:1539
27275 #, no-wrap
27276 msgid ""
27277 " int\n"
27278 " guestfs_copy_file_to_file_va (guestfs_h *g,\n"
27279 "                               const char *src,\n"
27280 "                               const char *dest,\n"
27281 "                               va_list args);\n"
27282 "\n"
27283 msgstr ""
27284
27285 #. type: textblock
27286 #: ../src/guestfs-actions.pod:1545
27287 msgid "This is the \"va_list variant\" of L</guestfs_copy_file_to_file>."
27288 msgstr ""
27289
27290 #. type: =head2
27291 #: ../src/guestfs-actions.pod:1549
27292 msgid "guestfs_copy_file_to_file_argv"
27293 msgstr ""
27294
27295 #. type: verbatim
27296 #: ../src/guestfs-actions.pod:1551
27297 #, no-wrap
27298 msgid ""
27299 " int\n"
27300 " guestfs_copy_file_to_file_argv (guestfs_h *g,\n"
27301 "                                 const char *src,\n"
27302 "                                 const char *dest,\n"
27303 "                                 const struct guestfs_copy_file_to_file_argv *optargs);\n"
27304 "\n"
27305 msgstr ""
27306
27307 #. type: textblock
27308 #: ../src/guestfs-actions.pod:1557
27309 msgid "This is the \"argv variant\" of L</guestfs_copy_file_to_file>."
27310 msgstr ""
27311
27312 #. type: =head2
27313 #: ../src/guestfs-actions.pod:1561
27314 msgid "guestfs_copy_size"
27315 msgstr ""
27316
27317 #. type: verbatim
27318 #: ../src/guestfs-actions.pod:1563
27319 #, no-wrap
27320 msgid ""
27321 " int\n"
27322 " guestfs_copy_size (guestfs_h *g,\n"
27323 "                    const char *src,\n"
27324 "                    const char *dest,\n"
27325 "                    int64_t size);\n"
27326 "\n"
27327 msgstr ""
27328
27329 #. type: textblock
27330 #: ../src/guestfs-actions.pod:1569 ../src/guestfs-actions.pod:1626
27331 msgid ""
27332 "I<This function is deprecated.> In new code, use the "
27333 "L</guestfs_copy_device_to_device> call instead."
27334 msgstr ""
27335
27336 #. type: textblock
27337 #: ../src/guestfs-actions.pod:1589 ../src/guestfs-actions.pod:4821
27338 #: ../src/guestfs-actions.pod:6214 ../src/guestfs-actions.pod:7956
27339 #: ../src/guestfs-actions.pod:7976 ../src/guestfs-actions.pod:8062
27340 msgid "(Added in 1.0.87)"
27341 msgstr "(Додано у 1.0.87)"
27342
27343 #. type: =head2
27344 #: ../src/guestfs-actions.pod:1591
27345 msgid "guestfs_cp"
27346 msgstr ""
27347
27348 #. type: verbatim
27349 #: ../src/guestfs-actions.pod:1593
27350 #, no-wrap
27351 msgid ""
27352 " int\n"
27353 " guestfs_cp (guestfs_h *g,\n"
27354 "             const char *src,\n"
27355 "             const char *dest);\n"
27356 "\n"
27357 msgstr ""
27358
27359 #. type: textblock
27360 #: ../src/guestfs-actions.pod:1603 ../src/guestfs-actions.pod:1617
27361 #: ../src/guestfs-actions.pod:1697 ../src/guestfs-actions.pod:1771
27362 #: ../src/guestfs-actions.pod:1885 ../src/guestfs-actions.pod:5565
27363 #: ../src/guestfs-actions.pod:6058
27364 msgid "(Added in 1.0.18)"
27365 msgstr "(Додано у 1.0.18)"
27366
27367 #. type: =head2
27368 #: ../src/guestfs-actions.pod:1605
27369 msgid "guestfs_cp_a"
27370 msgstr ""
27371
27372 #. type: verbatim
27373 #: ../src/guestfs-actions.pod:1607
27374 #, no-wrap
27375 msgid ""
27376 " int\n"
27377 " guestfs_cp_a (guestfs_h *g,\n"
27378 "               const char *src,\n"
27379 "               const char *dest);\n"
27380 "\n"
27381 msgstr ""
27382
27383 #. type: =head2
27384 #: ../src/guestfs-actions.pod:1619
27385 msgid "guestfs_dd"
27386 msgstr ""
27387
27388 #. type: verbatim
27389 #: ../src/guestfs-actions.pod:1621
27390 #, no-wrap
27391 msgid ""
27392 " int\n"
27393 " guestfs_dd (guestfs_h *g,\n"
27394 "             const char *src,\n"
27395 "             const char *dest);\n"
27396 "\n"
27397 msgstr ""
27398
27399 #. type: textblock
27400 #: ../src/guestfs-actions.pod:1638
27401 msgid ""
27402 "If the destination is a device, it must be as large or larger than the "
27403 "source file or device, otherwise the copy will fail.  This command cannot do"
27404 " partial copies (see C<guestfs_copy_device_to_device>)."
27405 msgstr ""
27406
27407 #. type: =head2
27408 #: ../src/guestfs-actions.pod:1647
27409 msgid "guestfs_df"
27410 msgstr ""
27411
27412 #. type: verbatim
27413 #: ../src/guestfs-actions.pod:1649
27414 #, no-wrap
27415 msgid ""
27416 " char *\n"
27417 " guestfs_df (guestfs_h *g);\n"
27418 "\n"
27419 msgstr ""
27420
27421 #. type: textblock
27422 #: ../src/guestfs-actions.pod:1654 ../src/guestfs-actions.pod:1671
27423 msgid ""
27424 "This command is mostly useful for interactive sessions.  It is I<not> "
27425 "intended that you try to parse the output string.  Use C<guestfs_statvfs> "
27426 "from programs."
27427 msgstr ""
27428
27429 #. type: textblock
27430 #: ../src/guestfs-actions.pod:1661 ../src/guestfs-actions.pod:1678
27431 #: ../src/guestfs-actions.pod:1796 ../src/guestfs-actions.pod:2803
27432 #: ../src/guestfs-actions.pod:2827 ../src/guestfs-actions.pod:2895
27433 #: ../src/guestfs-actions.pod:4931 ../src/guestfs-actions.pod:5465
27434 #: ../src/guestfs-actions.pod:7459 ../src/guestfs-actions.pod:7483
27435 #: ../src/guestfs-actions.pod:8102 ../src/guestfs-actions.pod:8115
27436 #: ../src/guestfs-actions.pod:8128
27437 msgid "(Added in 1.0.54)"
27438 msgstr "(Додано у 1.0.54)"
27439
27440 #. type: =head2
27441 #: ../src/guestfs-actions.pod:1663
27442 msgid "guestfs_df_h"
27443 msgstr ""
27444
27445 #. type: verbatim
27446 #: ../src/guestfs-actions.pod:1665
27447 #, no-wrap
27448 msgid ""
27449 " char *\n"
27450 " guestfs_df_h (guestfs_h *g);\n"
27451 "\n"
27452 msgstr ""
27453
27454 #. type: =head2
27455 #: ../src/guestfs-actions.pod:1680
27456 msgid "guestfs_dmesg"
27457 msgstr ""
27458
27459 #. type: verbatim
27460 #: ../src/guestfs-actions.pod:1682
27461 #, no-wrap
27462 msgid ""
27463 " char *\n"
27464 " guestfs_dmesg (guestfs_h *g);\n"
27465 "\n"
27466 msgstr ""
27467
27468 #. type: textblock
27469 #: ../src/guestfs-actions.pod:1689
27470 msgid ""
27471 "Another way to get the same information is to enable verbose messages with "
27472 "C<guestfs_set_verbose> or by setting the environment variable "
27473 "C<LIBGUESTFS_DEBUG=1> before running the program."
27474 msgstr ""
27475
27476 #. type: =head2
27477 #: ../src/guestfs-actions.pod:1699
27478 msgid "guestfs_download"
27479 msgstr ""
27480
27481 #. type: verbatim
27482 #: ../src/guestfs-actions.pod:1701
27483 #, no-wrap
27484 msgid ""
27485 " int\n"
27486 " guestfs_download (guestfs_h *g,\n"
27487 "                   const char *remotefilename,\n"
27488 "                   const char *filename);\n"
27489 "\n"
27490 msgstr ""
27491
27492 #. type: textblock
27493 #: ../src/guestfs-actions.pod:1711
27494 msgid "See also C<guestfs_upload>, C<guestfs_cat>."
27495 msgstr ""
27496
27497 #. type: =head2
27498 #: ../src/guestfs-actions.pod:1722
27499 msgid "guestfs_download_offset"
27500 msgstr ""
27501
27502 #. type: verbatim
27503 #: ../src/guestfs-actions.pod:1724
27504 #, no-wrap
27505 msgid ""
27506 " int\n"
27507 " guestfs_download_offset (guestfs_h *g,\n"
27508 "                          const char *remotefilename,\n"
27509 "                          const char *filename,\n"
27510 "                          int64_t offset,\n"
27511 "                          int64_t size);\n"
27512 "\n"
27513 msgstr ""
27514
27515 #. type: textblock
27516 #: ../src/guestfs-actions.pod:1737
27517 msgid ""
27518 "Note that there is no limit on the amount of data that can be downloaded "
27519 "with this call, unlike with C<guestfs_pread>, and this call always reads the"
27520 " full amount unless an error occurs."
27521 msgstr ""
27522
27523 #. type: textblock
27524 #: ../src/guestfs-actions.pod:1742
27525 msgid "See also C<guestfs_download>, C<guestfs_pread>."
27526 msgstr ""
27527
27528 #. type: textblock
27529 #: ../src/guestfs-actions.pod:1751 ../src/guestfs-actions.pod:7760
27530 msgid "(Added in 1.5.17)"
27531 msgstr "(Додано у 1.5.17)"
27532
27533 #. type: =head2
27534 #: ../src/guestfs-actions.pod:1753
27535 msgid "guestfs_drop_caches"
27536 msgstr ""
27537
27538 #. type: verbatim
27539 #: ../src/guestfs-actions.pod:1755
27540 #, no-wrap
27541 msgid ""
27542 " int\n"
27543 " guestfs_drop_caches (guestfs_h *g,\n"
27544 "                      int whattodrop);\n"
27545 "\n"
27546 msgstr ""
27547
27548 #. type: =head2
27549 #: ../src/guestfs-actions.pod:1773
27550 msgid "guestfs_du"
27551 msgstr ""
27552
27553 #. type: verbatim
27554 #: ../src/guestfs-actions.pod:1775
27555 #, no-wrap
27556 msgid ""
27557 " int64_t\n"
27558 " guestfs_du (guestfs_h *g,\n"
27559 "             const char *path);\n"
27560 "\n"
27561 msgstr ""
27562
27563 #. type: =head2
27564 #: ../src/guestfs-actions.pod:1798
27565 msgid "guestfs_e2fsck_f"
27566 msgstr ""
27567
27568 #. type: verbatim
27569 #: ../src/guestfs-actions.pod:1800
27570 #, no-wrap
27571 msgid ""
27572 " int\n"
27573 " guestfs_e2fsck_f (guestfs_h *g,\n"
27574 "                   const char *device);\n"
27575 "\n"
27576 msgstr ""
27577
27578 #. type: textblock
27579 #: ../src/guestfs-actions.pod:1808
27580 msgid ""
27581 "This command is only needed because of C<guestfs_resize2fs> (q.v.).  "
27582 "Normally you should use C<guestfs_fsck>."
27583 msgstr ""
27584
27585 #. type: textblock
27586 #: ../src/guestfs-actions.pod:1813
27587 msgid "(Added in 1.0.29)"
27588 msgstr "(Додано у 1.0.29)"
27589
27590 #. type: =head2
27591 #: ../src/guestfs-actions.pod:1815
27592 msgid "guestfs_echo_daemon"
27593 msgstr "guestfs_echo_daemon"
27594
27595 #. type: verbatim
27596 #: ../src/guestfs-actions.pod:1817
27597 #, no-wrap
27598 msgid ""
27599 " char *\n"
27600 " guestfs_echo_daemon (guestfs_h *g,\n"
27601 "                      char *const *words);\n"
27602 "\n"
27603 msgstr ""
27604 " char *\n"
27605 " guestfs_echo_daemon (guestfs_h *g,\n"
27606 "                      char *const *words);\n"
27607 "\n"
27608
27609 #. type: textblock
27610 #: ../src/guestfs-actions.pod:1826
27611 msgid "See also C<guestfs_ping_daemon>."
27612 msgstr ""
27613
27614 #. type: textblock
27615 #: ../src/guestfs-actions.pod:1831 ../src/guestfs-actions.pod:2589
27616 #: ../src/guestfs-actions.pod:6931
27617 msgid "(Added in 1.0.69)"
27618 msgstr "(Додано у 1.0.69)"
27619
27620 #. type: =head2
27621 #: ../src/guestfs-actions.pod:1833
27622 msgid "guestfs_egrep"
27623 msgstr "guestfs_egrep"
27624
27625 #. type: verbatim
27626 #: ../src/guestfs-actions.pod:1835
27627 #, no-wrap
27628 msgid ""
27629 " char **\n"
27630 " guestfs_egrep (guestfs_h *g,\n"
27631 "                const char *regex,\n"
27632 "                const char *path);\n"
27633 "\n"
27634 msgstr ""
27635 " char **\n"
27636 " guestfs_egrep (guestfs_h *g,\n"
27637 "                const char *regex,\n"
27638 "                const char *path);\n"
27639 "\n"
27640
27641 #. type: textblock
27642 #: ../src/guestfs-actions.pod:1850 ../src/guestfs-actions.pod:1869
27643 #: ../src/guestfs-actions.pod:1926 ../src/guestfs-actions.pod:1972
27644 #: ../src/guestfs-actions.pod:1991 ../src/guestfs-actions.pod:2719
27645 #: ../src/guestfs-actions.pod:2738 ../src/guestfs-actions.pod:2916
27646 #: ../src/guestfs-actions.pod:2929 ../src/guestfs-actions.pod:2944
27647 #: ../src/guestfs-actions.pod:2990 ../src/guestfs-actions.pod:3012
27648 #: ../src/guestfs-actions.pod:3025 ../src/guestfs-actions.pod:4311
27649 #: ../src/guestfs-actions.pod:4325 ../src/guestfs-actions.pod:4338
27650 #: ../src/guestfs-actions.pod:4352 ../src/guestfs-actions.pod:5353
27651 #: ../src/guestfs-actions.pod:6392 ../src/guestfs-actions.pod:6441
27652 #: ../src/guestfs-actions.pod:7327 ../src/guestfs-actions.pod:7339
27653 #: ../src/guestfs-actions.pod:7352 ../src/guestfs-actions.pod:7365
27654 #: ../src/guestfs-actions.pod:7387 ../src/guestfs-actions.pod:7400
27655 #: ../src/guestfs-actions.pod:7413 ../src/guestfs-actions.pod:7426
27656 #: ../src/guestfs-actions.pod:8220 ../src/guestfs-actions.pod:8239
27657 #: ../src/guestfs-actions.pod:8333 ../src/guestfs-actions.pod:8352
27658 #: ../src/guestfs-actions.pod:8398 ../src/guestfs-actions.pod:8417
27659 msgid "(Added in 1.0.66)"
27660 msgstr "(Додано у 1.0.66)"
27661
27662 #. type: =head2
27663 #: ../src/guestfs-actions.pod:1852
27664 msgid "guestfs_egrepi"
27665 msgstr "guestfs_egrepi"
27666
27667 #. type: verbatim
27668 #: ../src/guestfs-actions.pod:1854
27669 #, no-wrap
27670 msgid ""
27671 " char **\n"
27672 " guestfs_egrepi (guestfs_h *g,\n"
27673 "                 const char *regex,\n"
27674 "                 const char *path);\n"
27675 "\n"
27676 msgstr ""
27677
27678 #. type: =head2
27679 #: ../src/guestfs-actions.pod:1871
27680 msgid "guestfs_equal"
27681 msgstr ""
27682
27683 #. type: verbatim
27684 #: ../src/guestfs-actions.pod:1873
27685 #, no-wrap
27686 msgid ""
27687 " int\n"
27688 " guestfs_equal (guestfs_h *g,\n"
27689 "                const char *file1,\n"
27690 "                const char *file2);\n"
27691 "\n"
27692 msgstr ""
27693
27694 #. type: =head2
27695 #: ../src/guestfs-actions.pod:1887
27696 msgid "guestfs_exists"
27697 msgstr ""
27698
27699 #. type: verbatim
27700 #: ../src/guestfs-actions.pod:1889
27701 #, no-wrap
27702 msgid ""
27703 " int\n"
27704 " guestfs_exists (guestfs_h *g,\n"
27705 "                 const char *path);\n"
27706 "\n"
27707 msgstr ""
27708
27709 #. type: textblock
27710 #: ../src/guestfs-actions.pod:1896
27711 msgid "See also C<guestfs_is_file>, C<guestfs_is_dir>, C<guestfs_stat>."
27712 msgstr ""
27713
27714 #. type: =head2
27715 #: ../src/guestfs-actions.pod:1902
27716 msgid "guestfs_fallocate"
27717 msgstr ""
27718
27719 #. type: verbatim
27720 #: ../src/guestfs-actions.pod:1904
27721 #, no-wrap
27722 msgid ""
27723 " int\n"
27724 " guestfs_fallocate (guestfs_h *g,\n"
27725 "                    const char *path,\n"
27726 "                    int len);\n"
27727 "\n"
27728 msgstr ""
27729
27730 #. type: textblock
27731 #: ../src/guestfs-actions.pod:1909
27732 msgid ""
27733 "I<This function is deprecated.> In new code, use the L</guestfs_fallocate64>"
27734 " call instead."
27735 msgstr ""
27736
27737 #. type: =head2
27738 #: ../src/guestfs-actions.pod:1928
27739 msgid "guestfs_fallocate64"
27740 msgstr ""
27741
27742 #. type: verbatim
27743 #: ../src/guestfs-actions.pod:1930
27744 #, no-wrap
27745 msgid ""
27746 " int\n"
27747 " guestfs_fallocate64 (guestfs_h *g,\n"
27748 "                      const char *path,\n"
27749 "                      int64_t len);\n"
27750 "\n"
27751 msgstr ""
27752
27753 #. type: textblock
27754 #: ../src/guestfs-actions.pod:1939
27755 msgid ""
27756 "Note that this call allocates disk blocks for the file.  To create a sparse "
27757 "file use C<guestfs_truncate_size> instead."
27758 msgstr ""
27759
27760 #. type: textblock
27761 #: ../src/guestfs-actions.pod:1942
27762 msgid ""
27763 "The deprecated call C<guestfs_fallocate> does the same, but owing to an "
27764 "oversight it only allowed 30 bit lengths to be specified, effectively "
27765 "limiting the maximum size of files created through that call to 1GB."
27766 msgstr ""
27767
27768 #. type: textblock
27769 #: ../src/guestfs-actions.pod:1953
27770 msgid "(Added in 1.3.17)"
27771 msgstr "(Додано у 1.3.17)"
27772
27773 #. type: =head2
27774 #: ../src/guestfs-actions.pod:1955
27775 msgid "guestfs_fgrep"
27776 msgstr ""
27777
27778 #. type: verbatim
27779 #: ../src/guestfs-actions.pod:1957
27780 #, no-wrap
27781 msgid ""
27782 " char **\n"
27783 " guestfs_fgrep (guestfs_h *g,\n"
27784 "                const char *pattern,\n"
27785 "                const char *path);\n"
27786 "\n"
27787 msgstr ""
27788
27789 #. type: =head2
27790 #: ../src/guestfs-actions.pod:1974
27791 msgid "guestfs_fgrepi"
27792 msgstr ""
27793
27794 #. type: verbatim
27795 #: ../src/guestfs-actions.pod:1976
27796 #, no-wrap
27797 msgid ""
27798 " char **\n"
27799 " guestfs_fgrepi (guestfs_h *g,\n"
27800 "                 const char *pattern,\n"
27801 "                 const char *path);\n"
27802 "\n"
27803 msgstr ""
27804
27805 #. type: =head2
27806 #: ../src/guestfs-actions.pod:1993
27807 msgid "guestfs_file"
27808 msgstr ""
27809
27810 #. type: verbatim
27811 #: ../src/guestfs-actions.pod:1995
27812 #, no-wrap
27813 msgid ""
27814 " char *\n"
27815 " guestfs_file (guestfs_h *g,\n"
27816 "               const char *path);\n"
27817 "\n"
27818 msgstr ""
27819
27820 #. type: textblock
27821 #: ../src/guestfs-actions.pod:2013
27822 msgid ""
27823 "See also: L<file(1)>, C<guestfs_vfs_type>, C<guestfs_lstat>, "
27824 "C<guestfs_is_file>, C<guestfs_is_blockdev> (etc), C<guestfs_is_zero>."
27825 msgstr ""
27826
27827 #. type: =head2
27828 #: ../src/guestfs-actions.pod:2021
27829 msgid "guestfs_file_architecture"
27830 msgstr ""
27831
27832 #. type: verbatim
27833 #: ../src/guestfs-actions.pod:2023
27834 #, no-wrap
27835 msgid ""
27836 " char *\n"
27837 " guestfs_file_architecture (guestfs_h *g,\n"
27838 "                            const char *filename);\n"
27839 "\n"
27840 msgstr ""
27841
27842 #. type: textblock
27843 #: ../src/guestfs-actions.pod:2131 ../src/guestfs-actions.pod:2294
27844 #: ../src/guestfs-actions.pod:2311 ../src/guestfs-actions.pod:3045
27845 #: ../src/guestfs-actions.pod:3147 ../src/guestfs-actions.pod:3213
27846 #: ../src/guestfs-actions.pod:3400 ../src/guestfs-actions.pod:3418
27847 #: ../src/guestfs-actions.pod:3458 ../src/guestfs-actions.pod:3534
27848 #: ../src/guestfs-actions.pod:3631 ../src/guestfs-actions.pod:3868
27849 #: ../src/guestfs-actions.pod:4000
27850 msgid "(Added in 1.5.3)"
27851 msgstr "(Додано у 1.5.3)"
27852
27853 #. type: =head2
27854 #: ../src/guestfs-actions.pod:2133
27855 msgid "guestfs_filesize"
27856 msgstr ""
27857
27858 #. type: verbatim
27859 #: ../src/guestfs-actions.pod:2135
27860 #, no-wrap
27861 msgid ""
27862 " int64_t\n"
27863 " guestfs_filesize (guestfs_h *g,\n"
27864 "                   const char *file);\n"
27865 "\n"
27866 msgstr ""
27867
27868 #. type: textblock
27869 #: ../src/guestfs-actions.pod:2141
27870 msgid ""
27871 "To get other stats about a file, use C<guestfs_stat>, C<guestfs_lstat>, "
27872 "C<guestfs_is_dir>, C<guestfs_is_file> etc.  To get the size of block "
27873 "devices, use C<guestfs_blockdev_getsize64>."
27874 msgstr ""
27875
27876 #. type: textblock
27877 #: ../src/guestfs-actions.pod:2147
27878 msgid "(Added in 1.0.82)"
27879 msgstr "(Додано у 1.0.82)"
27880
27881 #. type: =head2
27882 #: ../src/guestfs-actions.pod:2149
27883 msgid "guestfs_fill"
27884 msgstr ""
27885
27886 #. type: verbatim
27887 #: ../src/guestfs-actions.pod:2151
27888 #, no-wrap
27889 msgid ""
27890 " int\n"
27891 " guestfs_fill (guestfs_h *g,\n"
27892 "               int c,\n"
27893 "               int len,\n"
27894 "               const char *path);\n"
27895 "\n"
27896 msgstr ""
27897
27898 #. type: textblock
27899 #: ../src/guestfs-actions.pod:2161
27900 msgid ""
27901 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
27902 "C<guestfs_truncate_size>.  To create a file with a pattern of repeating "
27903 "bytes use C<guestfs_fill_pattern>."
27904 msgstr ""
27905
27906 #. type: textblock
27907 #: ../src/guestfs-actions.pod:2173
27908 msgid "(Added in 1.0.79)"
27909 msgstr "(Додано у 1.0.79)"
27910
27911 #. type: =head2
27912 #: ../src/guestfs-actions.pod:2175
27913 msgid "guestfs_fill_pattern"
27914 msgstr ""
27915
27916 #. type: verbatim
27917 #: ../src/guestfs-actions.pod:2177
27918 #, no-wrap
27919 msgid ""
27920 " int\n"
27921 " guestfs_fill_pattern (guestfs_h *g,\n"
27922 "                       const char *pattern,\n"
27923 "                       int len,\n"
27924 "                       const char *path);\n"
27925 "\n"
27926 msgstr ""
27927
27928 #. type: textblock
27929 #: ../src/guestfs-actions.pod:2183
27930 msgid ""
27931 "This function is like C<guestfs_fill> except that it creates a new file of "
27932 "length C<len> containing the repeating pattern of bytes in C<pattern>.  The "
27933 "pattern is truncated if necessary to ensure the length of the file is "
27934 "exactly C<len> bytes."
27935 msgstr ""
27936
27937 #. type: textblock
27938 #: ../src/guestfs-actions.pod:2195
27939 msgid "(Added in 1.3.12)"
27940 msgstr "(Додано у 1.3.12)"
27941
27942 #. type: =head2
27943 #: ../src/guestfs-actions.pod:2197
27944 msgid "guestfs_find"
27945 msgstr ""
27946
27947 #. type: verbatim
27948 #: ../src/guestfs-actions.pod:2199
27949 #, no-wrap
27950 msgid ""
27951 " char **\n"
27952 " guestfs_find (guestfs_h *g,\n"
27953 "               const char *directory);\n"
27954 "\n"
27955 msgstr ""
27956
27957 #. type: textblock
27958 #: ../src/guestfs-actions.pod:2215
27959 msgid ""
27960 "then the returned list from C<guestfs_find> C</tmp> would be 4 elements:"
27961 msgstr ""
27962
27963 #. type: textblock
27964 #: ../src/guestfs-actions.pod:2228
27965 msgid "See also C<guestfs_find0>."
27966 msgstr ""
27967
27968 #. type: textblock
27969 #: ../src/guestfs-actions.pod:2237 ../src/guestfs-actions.pod:4758
27970 #: ../src/guestfs-actions.pod:6476
27971 msgid "(Added in 1.0.27)"
27972 msgstr "(Додано у 1.0.27)"
27973
27974 #. type: =head2
27975 #: ../src/guestfs-actions.pod:2239
27976 msgid "guestfs_find0"
27977 msgstr ""
27978
27979 #. type: verbatim
27980 #: ../src/guestfs-actions.pod:2241
27981 #, no-wrap
27982 msgid ""
27983 " int\n"
27984 " guestfs_find0 (guestfs_h *g,\n"
27985 "                const char *directory,\n"
27986 "                const char *files);\n"
27987 "\n"
27988 msgstr ""
27989
27990 #. type: textblock
27991 #: ../src/guestfs-actions.pod:2250
27992 msgid ""
27993 "This command works the same way as C<guestfs_find> with the following "
27994 "exceptions:"
27995 msgstr ""
27996
27997 #. type: textblock
27998 #: ../src/guestfs-actions.pod:2277
27999 msgid "(Added in 1.0.74)"
28000 msgstr "(Додано у 1.0.74)"
28001
28002 #. type: =head2
28003 #: ../src/guestfs-actions.pod:2279
28004 msgid "guestfs_findfs_label"
28005 msgstr ""
28006
28007 #. type: verbatim
28008 #: ../src/guestfs-actions.pod:2281
28009 #, no-wrap
28010 msgid ""
28011 " char *\n"
28012 " guestfs_findfs_label (guestfs_h *g,\n"
28013 "                       const char *label);\n"
28014 "\n"
28015 msgstr ""
28016
28017 #. type: textblock
28018 #: ../src/guestfs-actions.pod:2289
28019 msgid "To find the label of a filesystem, use C<guestfs_vfs_label>."
28020 msgstr ""
28021
28022 #. type: =head2
28023 #: ../src/guestfs-actions.pod:2296
28024 msgid "guestfs_findfs_uuid"
28025 msgstr ""
28026
28027 #. type: verbatim
28028 #: ../src/guestfs-actions.pod:2298
28029 #, no-wrap
28030 msgid ""
28031 " char *\n"
28032 " guestfs_findfs_uuid (guestfs_h *g,\n"
28033 "                      const char *uuid);\n"
28034 "\n"
28035 msgstr ""
28036
28037 #. type: textblock
28038 #: ../src/guestfs-actions.pod:2306
28039 msgid "To find the UUID of a filesystem, use C<guestfs_vfs_uuid>."
28040 msgstr ""
28041
28042 #. type: =head2
28043 #: ../src/guestfs-actions.pod:2313
28044 msgid "guestfs_fsck"
28045 msgstr ""
28046
28047 #. type: verbatim
28048 #: ../src/guestfs-actions.pod:2315
28049 #, no-wrap
28050 msgid ""
28051 " int\n"
28052 " guestfs_fsck (guestfs_h *g,\n"
28053 "               const char *fstype,\n"
28054 "               const char *device);\n"
28055 "\n"
28056 msgstr ""
28057
28058 #. type: textblock
28059 #: ../src/guestfs-actions.pod:2350 ../src/guestfs-actions.pod:8267
28060 msgid "(Added in 1.0.16)"
28061 msgstr "(Додано у 1.0.16)"
28062
28063 #. type: =head2
28064 #: ../src/guestfs-actions.pod:2352
28065 msgid "guestfs_get_append"
28066 msgstr ""
28067
28068 #. type: verbatim
28069 #: ../src/guestfs-actions.pod:2354
28070 #, no-wrap
28071 msgid ""
28072 " const char *\n"
28073 " guestfs_get_append (guestfs_h *g);\n"
28074 "\n"
28075 msgstr ""
28076
28077 #. type: textblock
28078 #: ../src/guestfs-actions.pod:2362
28079 msgid ""
28080 "This function returns a string which may be NULL.  There is no way to return"
28081 " an error from this function.  The string is owned by the guest handle and "
28082 "must I<not> be freed."
28083 msgstr ""
28084
28085 #. type: textblock
28086 #: ../src/guestfs-actions.pod:2366 ../src/guestfs-actions.pod:6154
28087 #: ../src/guestfs-actions.pod:6636 ../src/guestfs-actions.pod:7094
28088 #: ../src/guestfs-actions.pod:7113 ../src/guestfs-actions.pod:7129
28089 #: ../src/guestfs-actions.pod:7153 ../src/guestfs-actions.pod:7907
28090 #: ../src/guestfs-actions.pod:7922 ../src/guestfs-actions.pod:8314
28091 msgid "(Added in 1.0.26)"
28092 msgstr "(Додано у 1.0.26)"
28093
28094 #. type: =head2
28095 #: ../src/guestfs-actions.pod:2368
28096 msgid "guestfs_get_attach_method"
28097 msgstr ""
28098
28099 #. type: verbatim
28100 #: ../src/guestfs-actions.pod:2370
28101 #, no-wrap
28102 msgid ""
28103 " char *\n"
28104 " guestfs_get_attach_method (guestfs_h *g);\n"
28105 "\n"
28106 msgstr ""
28107
28108 #. type: textblock
28109 #: ../src/guestfs-actions.pod:2373
28110 msgid "Return the current attach method.  See C<guestfs_set_attach_method>."
28111 msgstr ""
28112
28113 #. type: textblock
28114 #: ../src/guestfs-actions.pod:2378 ../src/guestfs-actions.pod:6666
28115 msgid "(Added in 1.9.8)"
28116 msgstr "(Додано у 1.9.8)"
28117
28118 #. type: =head2
28119 #: ../src/guestfs-actions.pod:2380
28120 msgid "guestfs_get_autosync"
28121 msgstr ""
28122
28123 #. type: verbatim
28124 #: ../src/guestfs-actions.pod:2382
28125 #, no-wrap
28126 msgid ""
28127 " int\n"
28128 " guestfs_get_autosync (guestfs_h *g);\n"
28129 "\n"
28130 msgstr ""
28131
28132 #. type: =head2
28133 #: ../src/guestfs-actions.pod:2391
28134 msgid "guestfs_get_direct"
28135 msgstr ""
28136
28137 #. type: verbatim
28138 #: ../src/guestfs-actions.pod:2393
28139 #, no-wrap
28140 msgid ""
28141 " int\n"
28142 " guestfs_get_direct (guestfs_h *g);\n"
28143 "\n"
28144 msgstr ""
28145
28146 #. type: textblock
28147 #: ../src/guestfs-actions.pod:2400 ../src/guestfs-actions.pod:6707
28148 msgid "(Added in 1.0.72)"
28149 msgstr "(Додано у 1.0.72)"
28150
28151 #. type: =head2
28152 #: ../src/guestfs-actions.pod:2402
28153 msgid "guestfs_get_e2label"
28154 msgstr ""
28155
28156 #. type: verbatim
28157 #: ../src/guestfs-actions.pod:2404
28158 #, no-wrap
28159 msgid ""
28160 " char *\n"
28161 " guestfs_get_e2label (guestfs_h *g,\n"
28162 "                      const char *device);\n"
28163 "\n"
28164 msgstr ""
28165
28166 #. type: textblock
28167 #: ../src/guestfs-actions.pod:2408
28168 msgid ""
28169 "I<This function is deprecated.> In new code, use the L</guestfs_vfs_label> "
28170 "call instead."
28171 msgstr ""
28172
28173 #. type: textblock
28174 #: ../src/guestfs-actions.pod:2421 ../src/guestfs-actions.pod:2442
28175 #: ../src/guestfs-actions.pod:6725 ../src/guestfs-actions.pod:6744
28176 msgid "(Added in 1.0.15)"
28177 msgstr "(Додано у 1.0.15)"
28178
28179 #. type: =head2
28180 #: ../src/guestfs-actions.pod:2423
28181 msgid "guestfs_get_e2uuid"
28182 msgstr ""
28183
28184 #. type: verbatim
28185 #: ../src/guestfs-actions.pod:2425
28186 #, no-wrap
28187 msgid ""
28188 " char *\n"
28189 " guestfs_get_e2uuid (guestfs_h *g,\n"
28190 "                     const char *device);\n"
28191 "\n"
28192 msgstr ""
28193
28194 #. type: textblock
28195 #: ../src/guestfs-actions.pod:2429
28196 msgid ""
28197 "I<This function is deprecated.> In new code, use the L</guestfs_vfs_uuid> "
28198 "call instead."
28199 msgstr ""
28200
28201 #. type: =head2
28202 #: ../src/guestfs-actions.pod:2444
28203 msgid "guestfs_get_memsize"
28204 msgstr ""
28205
28206 #. type: verbatim
28207 #: ../src/guestfs-actions.pod:2446
28208 #, no-wrap
28209 msgid ""
28210 " int\n"
28211 " guestfs_get_memsize (guestfs_h *g);\n"
28212 "\n"
28213 msgstr ""
28214
28215 #. type: textblock
28216 #: ../src/guestfs-actions.pod:2452
28217 msgid ""
28218 "If C<guestfs_set_memsize> was not called on this handle, and if "
28219 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default"
28220 " value for memsize."
28221 msgstr ""
28222
28223 #. type: textblock
28224 #: ../src/guestfs-actions.pod:2461 ../src/guestfs-actions.pod:5049
28225 #: ../src/guestfs-actions.pod:5258 ../src/guestfs-actions.pod:5277
28226 #: ../src/guestfs-actions.pod:5296 ../src/guestfs-actions.pod:5308
28227 #: ../src/guestfs-actions.pod:5325 ../src/guestfs-actions.pod:5338
28228 #: ../src/guestfs-actions.pod:6379 ../src/guestfs-actions.pod:6765
28229 #: ../src/guestfs-actions.pod:7061 ../src/guestfs-actions.pod:7676
28230 msgid "(Added in 1.0.55)"
28231 msgstr "(Додано у 1.0.55)"
28232
28233 #. type: =head2
28234 #: ../src/guestfs-actions.pod:2463
28235 msgid "guestfs_get_network"
28236 msgstr ""
28237
28238 #. type: verbatim
28239 #: ../src/guestfs-actions.pod:2465
28240 #, no-wrap
28241 msgid ""
28242 " int\n"
28243 " guestfs_get_network (guestfs_h *g);\n"
28244 "\n"
28245 msgstr ""
28246
28247 #. type: textblock
28248 #: ../src/guestfs-actions.pod:2472 ../src/guestfs-actions.pod:6784
28249 msgid "(Added in 1.5.4)"
28250 msgstr "(Додано у 1.5.4)"
28251
28252 #. type: =head2
28253 #: ../src/guestfs-actions.pod:2474
28254 msgid "guestfs_get_path"
28255 msgstr ""
28256
28257 #. type: verbatim
28258 #: ../src/guestfs-actions.pod:2476
28259 #, no-wrap
28260 msgid ""
28261 " const char *\n"
28262 " guestfs_get_path (guestfs_h *g);\n"
28263 "\n"
28264 msgstr ""
28265
28266 #. type: textblock
28267 #: ../src/guestfs-actions.pod:2484 ../src/guestfs-actions.pod:2524
28268 msgid ""
28269 "This function returns a string, or NULL on error.  The string is owned by "
28270 "the guest handle and must I<not> be freed."
28271 msgstr ""
28272
28273 #. type: =head2
28274 #: ../src/guestfs-actions.pod:2489
28275 msgid "guestfs_get_pgroup"
28276 msgstr ""
28277
28278 #. type: verbatim
28279 #: ../src/guestfs-actions.pod:2491
28280 #, no-wrap
28281 msgid ""
28282 " int\n"
28283 " guestfs_get_pgroup (guestfs_h *g);\n"
28284 "\n"
28285 msgstr ""
28286
28287 #. type: textblock
28288 #: ../src/guestfs-actions.pod:2498 ../src/guestfs-actions.pod:6820
28289 #: ../src/guestfs-actions.pod:8168
28290 msgid "(Added in 1.11.18)"
28291 msgstr "(Додано у 1.11.18)"
28292
28293 #. type: =head2
28294 #: ../src/guestfs-actions.pod:2500
28295 msgid "guestfs_get_pid"
28296 msgstr ""
28297
28298 #. type: verbatim
28299 #: ../src/guestfs-actions.pod:2502
28300 #, no-wrap
28301 msgid ""
28302 " int\n"
28303 " guestfs_get_pid (guestfs_h *g);\n"
28304 "\n"
28305 msgstr ""
28306
28307 #. type: textblock
28308 #: ../src/guestfs-actions.pod:2512
28309 msgid "(Added in 1.0.56)"
28310 msgstr "(Додано у 1.0.56)"
28311
28312 #. type: =head2
28313 #: ../src/guestfs-actions.pod:2514
28314 msgid "guestfs_get_qemu"
28315 msgstr ""
28316
28317 #. type: verbatim
28318 #: ../src/guestfs-actions.pod:2516
28319 #, no-wrap
28320 msgid ""
28321 " const char *\n"
28322 " guestfs_get_qemu (guestfs_h *g);\n"
28323 "\n"
28324 msgstr ""
28325
28326 #. type: textblock
28327 #: ../src/guestfs-actions.pod:2527 ../src/guestfs-actions.pod:6848
28328 msgid "(Added in 1.0.6)"
28329 msgstr "(Додано у 1.0.6)"
28330
28331 #. type: =head2
28332 #: ../src/guestfs-actions.pod:2529
28333 msgid "guestfs_get_recovery_proc"
28334 msgstr ""
28335
28336 #. type: verbatim
28337 #: ../src/guestfs-actions.pod:2531
28338 #, no-wrap
28339 msgid ""
28340 " int\n"
28341 " guestfs_get_recovery_proc (guestfs_h *g);\n"
28342 "\n"
28343 msgstr ""
28344
28345 #. type: textblock
28346 #: ../src/guestfs-actions.pod:2538 ../src/guestfs-actions.pod:4122
28347 #: ../src/guestfs-actions.pod:4453 ../src/guestfs-actions.pod:4856
28348 #: ../src/guestfs-actions.pod:4888 ../src/guestfs-actions.pod:6084
28349 #: ../src/guestfs-actions.pod:6427 ../src/guestfs-actions.pod:6872
28350 #: ../src/guestfs-actions.pod:7579 ../src/guestfs-actions.pod:7599
28351 #: ../src/guestfs-actions.pod:7791
28352 msgid "(Added in 1.0.77)"
28353 msgstr "(Додано у 1.0.77)"
28354
28355 #. type: =head2
28356 #: ../src/guestfs-actions.pod:2540
28357 msgid "guestfs_get_selinux"
28358 msgstr ""
28359
28360 #. type: verbatim
28361 #: ../src/guestfs-actions.pod:2542
28362 #, no-wrap
28363 msgid ""
28364 " int\n"
28365 " guestfs_get_selinux (guestfs_h *g);\n"
28366 "\n"
28367 msgstr ""
28368
28369 #. type: textblock
28370 #: ../src/guestfs-actions.pod:2545
28371 msgid ""
28372 "This returns the current setting of the selinux flag which is passed to the "
28373 "appliance at boot time.  See C<guestfs_set_selinux>."
28374 msgstr ""
28375
28376 #. type: textblock
28377 #: ../src/guestfs-actions.pod:2553 ../src/guestfs-actions.pod:2627
28378 #: ../src/guestfs-actions.pod:6891 ../src/guestfs-actions.pod:6965
28379 msgid "(Added in 1.0.67)"
28380 msgstr "(Додано у 1.0.67)"
28381
28382 #. type: =head2
28383 #: ../src/guestfs-actions.pod:2555
28384 msgid "guestfs_get_smp"
28385 msgstr ""
28386
28387 #. type: verbatim
28388 #: ../src/guestfs-actions.pod:2557
28389 #, no-wrap
28390 msgid ""
28391 " int\n"
28392 " guestfs_get_smp (guestfs_h *g);\n"
28393 "\n"
28394 msgstr ""
28395
28396 #. type: =head2
28397 #: ../src/guestfs-actions.pod:2566
28398 msgid "guestfs_get_state"
28399 msgstr ""
28400
28401 #. type: verbatim
28402 #: ../src/guestfs-actions.pod:2568
28403 #, no-wrap
28404 msgid ""
28405 " int\n"
28406 " guestfs_get_state (guestfs_h *g);\n"
28407 "\n"
28408 msgstr ""
28409
28410 #. type: =head2
28411 #: ../src/guestfs-actions.pod:2580
28412 msgid "guestfs_get_trace"
28413 msgstr ""
28414
28415 #. type: verbatim
28416 #: ../src/guestfs-actions.pod:2582
28417 #, no-wrap
28418 msgid ""
28419 " int\n"
28420 " guestfs_get_trace (guestfs_h *g);\n"
28421 "\n"
28422 msgstr ""
28423
28424 #. type: =head2
28425 #: ../src/guestfs-actions.pod:2591
28426 msgid "guestfs_get_umask"
28427 msgstr ""
28428
28429 #. type: verbatim
28430 #: ../src/guestfs-actions.pod:2593
28431 #, no-wrap
28432 msgid ""
28433 " int\n"
28434 " guestfs_get_umask (guestfs_h *g);\n"
28435 "\n"
28436 msgstr ""
28437
28438 #. type: textblock
28439 #: ../src/guestfs-actions.pod:2596
28440 msgid ""
28441 "Return the current umask.  By default the umask is C<022> unless it has been"
28442 " set by calling C<guestfs_umask>."
28443 msgstr ""
28444
28445 #. type: =head2
28446 #: ../src/guestfs-actions.pod:2603
28447 msgid "guestfs_get_verbose"
28448 msgstr ""
28449
28450 #. type: verbatim
28451 #: ../src/guestfs-actions.pod:2605
28452 #, no-wrap
28453 msgid ""
28454 " int\n"
28455 " guestfs_get_verbose (guestfs_h *g);\n"
28456 "\n"
28457 msgstr ""
28458
28459 #. type: =head2
28460 #: ../src/guestfs-actions.pod:2614
28461 msgid "guestfs_getcon"
28462 msgstr ""
28463
28464 #. type: verbatim
28465 #: ../src/guestfs-actions.pod:2616
28466 #, no-wrap
28467 msgid ""
28468 " char *\n"
28469 " guestfs_getcon (guestfs_h *g);\n"
28470 "\n"
28471 msgstr ""
28472
28473 #. type: textblock
28474 #: ../src/guestfs-actions.pod:2621
28475 msgid ""
28476 "See the documentation about SELINUX in L<guestfs(3)>, and C<guestfs_setcon>"
28477 msgstr ""
28478
28479 #. type: =head2
28480 #: ../src/guestfs-actions.pod:2629
28481 msgid "guestfs_getxattr"
28482 msgstr ""
28483
28484 #. type: verbatim
28485 #: ../src/guestfs-actions.pod:2631
28486 #, no-wrap
28487 msgid ""
28488 " char *\n"
28489 " guestfs_getxattr (guestfs_h *g,\n"
28490 "                   const char *path,\n"
28491 "                   const char *name,\n"
28492 "                   size_t *size_r);\n"
28493 "\n"
28494 msgstr ""
28495
28496 #. type: textblock
28497 #: ../src/guestfs-actions.pod:2637
28498 msgid ""
28499 "Get a single extended attribute from file C<path> named C<name>.  This call "
28500 "follows symlinks.  If you want to lookup an extended attribute for the "
28501 "symlink itself, use C<guestfs_lgetxattr>."
28502 msgstr ""
28503
28504 #. type: textblock
28505 #: ../src/guestfs-actions.pod:2641 ../src/guestfs-actions.pod:4136
28506 msgid ""
28507 "Normally it is better to get all extended attributes from a file in one go "
28508 "by calling C<guestfs_getxattrs>.  However some Linux filesystem "
28509 "implementations are buggy and do not provide a way to list out attributes.  "
28510 "For these filesystems (notably ntfs-3g)  you have to know the names of the "
28511 "extended attributes you want in advance and call this function."
28512 msgstr ""
28513
28514 #. type: textblock
28515 #: ../src/guestfs-actions.pod:2651
28516 msgid "See also: C<guestfs_getxattrs>, C<guestfs_lgetxattr>, L<attr(5)>."
28517 msgstr ""
28518
28519 #. type: textblock
28520 #: ../src/guestfs-actions.pod:2653 ../src/guestfs-actions.pod:2866
28521 #: ../src/guestfs-actions.pod:3348 ../src/guestfs-actions.pod:4148
28522 #: ../src/guestfs-actions.pod:6077 ../src/guestfs-actions.pod:6103
28523 #: ../src/guestfs-actions.pod:6284
28524 msgid ""
28525 "This function returns a buffer, or NULL on error.  The size of the returned "
28526 "buffer is written to C<*size_r>.  I<The caller must free the returned buffer"
28527 " after use>."
28528 msgstr ""
28529
28530 #. type: textblock
28531 #: ../src/guestfs-actions.pod:2657 ../src/guestfs-actions.pod:4152
28532 msgid "(Added in 1.7.24)"
28533 msgstr "(Додано у 1.7.24)"
28534
28535 #. type: =head2
28536 #: ../src/guestfs-actions.pod:2659
28537 msgid "guestfs_getxattrs"
28538 msgstr ""
28539
28540 #. type: verbatim
28541 #: ../src/guestfs-actions.pod:2661
28542 #, no-wrap
28543 msgid ""
28544 " struct guestfs_xattr_list *\n"
28545 " guestfs_getxattrs (guestfs_h *g,\n"
28546 "                    const char *path);\n"
28547 "\n"
28548 msgstr ""
28549
28550 #. type: textblock
28551 #: ../src/guestfs-actions.pod:2671
28552 msgid "See also: C<guestfs_lgetxattrs>, L<attr(5)>."
28553 msgstr ""
28554
28555 #. type: textblock
28556 #: ../src/guestfs-actions.pod:2673 ../src/guestfs-actions.pod:4164
28557 #: ../src/guestfs-actions.pod:4852
28558 msgid ""
28559 "This function returns a C<struct guestfs_xattr_list *>, or NULL if there was"
28560 " an error.  I<The caller must call C<guestfs_free_xattr_list> after use>."
28561 msgstr ""
28562
28563 #. type: textblock
28564 #: ../src/guestfs-actions.pod:2677 ../src/guestfs-actions.pod:4168
28565 #: ../src/guestfs-actions.pod:4367 ../src/guestfs-actions.pod:4403
28566 #: ../src/guestfs-actions.pod:6457 ../src/guestfs-actions.pod:6984
28567 #: ../src/guestfs-actions.pod:8379
28568 msgid "(Added in 1.0.59)"
28569 msgstr "(Додано у 1.0.59)"
28570
28571 #. type: =head2
28572 #: ../src/guestfs-actions.pod:2679
28573 msgid "guestfs_glob_expand"
28574 msgstr ""
28575
28576 #. type: verbatim
28577 #: ../src/guestfs-actions.pod:2681
28578 #, no-wrap
28579 msgid ""
28580 " char **\n"
28581 " guestfs_glob_expand (guestfs_h *g,\n"
28582 "                      const char *pattern);\n"
28583 "\n"
28584 msgstr ""
28585
28586 #. type: textblock
28587 #: ../src/guestfs-actions.pod:2700 ../src/guestfs-actions.pod:7177
28588 #: ../src/guestfs-actions.pod:7194
28589 msgid "(Added in 1.0.50)"
28590 msgstr "(Додано у 1.0.50)"
28591
28592 #. type: =head2
28593 #: ../src/guestfs-actions.pod:2702
28594 msgid "guestfs_grep"
28595 msgstr ""
28596
28597 #. type: verbatim
28598 #: ../src/guestfs-actions.pod:2704
28599 #, no-wrap
28600 msgid ""
28601 " char **\n"
28602 " guestfs_grep (guestfs_h *g,\n"
28603 "               const char *regex,\n"
28604 "               const char *path);\n"
28605 "\n"
28606 msgstr ""
28607
28608 #. type: =head2
28609 #: ../src/guestfs-actions.pod:2721
28610 msgid "guestfs_grepi"
28611 msgstr ""
28612
28613 #. type: verbatim
28614 #: ../src/guestfs-actions.pod:2723
28615 #, no-wrap
28616 msgid ""
28617 " char **\n"
28618 " guestfs_grepi (guestfs_h *g,\n"
28619 "                const char *regex,\n"
28620 "                const char *path);\n"
28621 "\n"
28622 msgstr ""
28623
28624 #. type: =head2
28625 #: ../src/guestfs-actions.pod:2740
28626 msgid "guestfs_grub_install"
28627 msgstr ""
28628
28629 #. type: verbatim
28630 #: ../src/guestfs-actions.pod:2742
28631 #, no-wrap
28632 msgid ""
28633 " int\n"
28634 " guestfs_grub_install (guestfs_h *g,\n"
28635 "                       const char *root,\n"
28636 "                       const char *device);\n"
28637 "\n"
28638 msgstr ""
28639
28640 #. type: textblock
28641 #: ../src/guestfs-actions.pod:2785
28642 msgid "(Added in 1.0.17)"
28643 msgstr "(Додано у 1.0.17)"
28644
28645 #. type: =head2
28646 #: ../src/guestfs-actions.pod:2787
28647 msgid "guestfs_head"
28648 msgstr ""
28649
28650 #. type: verbatim
28651 #: ../src/guestfs-actions.pod:2789
28652 #, no-wrap
28653 msgid ""
28654 " char **\n"
28655 " guestfs_head (guestfs_h *g,\n"
28656 "               const char *path);\n"
28657 "\n"
28658 msgstr ""
28659
28660 #. type: =head2
28661 #: ../src/guestfs-actions.pod:2805
28662 msgid "guestfs_head_n"
28663 msgstr ""
28664
28665 #. type: verbatim
28666 #: ../src/guestfs-actions.pod:2807
28667 #, no-wrap
28668 msgid ""
28669 " char **\n"
28670 " guestfs_head_n (guestfs_h *g,\n"
28671 "                 int nrlines,\n"
28672 "                 const char *path);\n"
28673 "\n"
28674 msgstr ""
28675
28676 #. type: =head2
28677 #: ../src/guestfs-actions.pod:2829
28678 msgid "guestfs_hexdump"
28679 msgstr ""
28680
28681 #. type: verbatim
28682 #: ../src/guestfs-actions.pod:2831
28683 #, no-wrap
28684 msgid ""
28685 " char *\n"
28686 " guestfs_hexdump (guestfs_h *g,\n"
28687 "                  const char *path);\n"
28688 "\n"
28689 msgstr ""
28690
28691 #. type: textblock
28692 #: ../src/guestfs-actions.pod:2844 ../src/guestfs-actions.pod:7258
28693 #: ../src/guestfs-actions.pod:7313
28694 msgid "(Added in 1.0.22)"
28695 msgstr "(Додано у 1.0.22)"
28696
28697 #. type: =head2
28698 #: ../src/guestfs-actions.pod:2846
28699 msgid "guestfs_initrd_cat"
28700 msgstr ""
28701
28702 #. type: verbatim
28703 #: ../src/guestfs-actions.pod:2848
28704 #, no-wrap
28705 msgid ""
28706 " char *\n"
28707 " guestfs_initrd_cat (guestfs_h *g,\n"
28708 "                     const char *initrdpath,\n"
28709 "                     const char *filename,\n"
28710 "                     size_t *size_r);\n"
28711 "\n"
28712 msgstr ""
28713
28714 #. type: textblock
28715 #: ../src/guestfs-actions.pod:2864
28716 msgid "See also C<guestfs_initrd_list>."
28717 msgstr ""
28718
28719 #. type: =head2
28720 #: ../src/guestfs-actions.pod:2875
28721 msgid "guestfs_initrd_list"
28722 msgstr ""
28723
28724 #. type: verbatim
28725 #: ../src/guestfs-actions.pod:2877
28726 #, no-wrap
28727 msgid ""
28728 " char **\n"
28729 " guestfs_initrd_list (guestfs_h *g,\n"
28730 "                      const char *path);\n"
28731 "\n"
28732 msgstr ""
28733
28734 #. type: =head2
28735 #: ../src/guestfs-actions.pod:2897
28736 msgid "guestfs_inotify_add_watch"
28737 msgstr ""
28738
28739 #. type: verbatim
28740 #: ../src/guestfs-actions.pod:2899
28741 #, no-wrap
28742 msgid ""
28743 " int64_t\n"
28744 " guestfs_inotify_add_watch (guestfs_h *g,\n"
28745 "                            const char *path,\n"
28746 "                            int mask);\n"
28747 "\n"
28748 msgstr ""
28749
28750 #. type: =head2
28751 #: ../src/guestfs-actions.pod:2918
28752 msgid "guestfs_inotify_close"
28753 msgstr ""
28754
28755 #. type: verbatim
28756 #: ../src/guestfs-actions.pod:2920
28757 #, no-wrap
28758 msgid ""
28759 " int\n"
28760 " guestfs_inotify_close (guestfs_h *g);\n"
28761 "\n"
28762 msgstr ""
28763
28764 #. type: =head2
28765 #: ../src/guestfs-actions.pod:2931
28766 msgid "guestfs_inotify_files"
28767 msgstr ""
28768
28769 #. type: verbatim
28770 #: ../src/guestfs-actions.pod:2933
28771 #, no-wrap
28772 msgid ""
28773 " char **\n"
28774 " guestfs_inotify_files (guestfs_h *g);\n"
28775 "\n"
28776 msgstr ""
28777
28778 #. type: textblock
28779 #: ../src/guestfs-actions.pod:2936
28780 msgid ""
28781 "This function is a helpful wrapper around C<guestfs_inotify_read> which just"
28782 " returns a list of pathnames of objects that were touched.  The returned "
28783 "pathnames are sorted and deduplicated."
28784 msgstr ""
28785
28786 #. type: =head2
28787 #: ../src/guestfs-actions.pod:2946
28788 msgid "guestfs_inotify_init"
28789 msgstr ""
28790
28791 #. type: verbatim
28792 #: ../src/guestfs-actions.pod:2948
28793 #, no-wrap
28794 msgid ""
28795 " int\n"
28796 " guestfs_inotify_init (guestfs_h *g,\n"
28797 "                       int maxevents);\n"
28798 "\n"
28799 msgstr ""
28800
28801 #. type: textblock
28802 #: ../src/guestfs-actions.pod:2956
28803 msgid ""
28804 "C<maxevents> is the maximum number of events which will be queued up between"
28805 " calls to C<guestfs_inotify_read> or C<guestfs_inotify_files>.  If this is "
28806 "passed as C<0>, then the kernel (or previously set)  default is used.  For "
28807 "Linux 2.6.29 the default was 16384 events.  Beyond this limit, the kernel "
28808 "throws away events, but records the fact that it threw them away by setting "
28809 "a flag C<IN_Q_OVERFLOW> in the returned structure list (see "
28810 "C<guestfs_inotify_read>)."
28811 msgstr ""
28812
28813 #. type: textblock
28814 #: ../src/guestfs-actions.pod:2966
28815 msgid ""
28816 "Before any events are generated, you have to add some watches to the "
28817 "internal watch list.  See: C<guestfs_inotify_add_watch>, "
28818 "C<guestfs_inotify_rm_watch> and C<guestfs_inotify_watch_all>."
28819 msgstr ""
28820
28821 #. type: textblock
28822 #: ../src/guestfs-actions.pod:2972
28823 msgid ""
28824 "Queued up events should be read periodically by calling "
28825 "C<guestfs_inotify_read> (or C<guestfs_inotify_files> which is just a helpful"
28826 " wrapper around C<guestfs_inotify_read>).  If you don't read the events out "
28827 "often enough then you risk the internal queue overflowing."
28828 msgstr ""
28829
28830 #. type: textblock
28831 #: ../src/guestfs-actions.pod:2979
28832 msgid ""
28833 "The handle should be closed after use by calling C<guestfs_inotify_close>.  "
28834 "This also removes any watches automatically."
28835 msgstr ""
28836
28837 #. type: =head2
28838 #: ../src/guestfs-actions.pod:2992
28839 msgid "guestfs_inotify_read"
28840 msgstr ""
28841
28842 #. type: verbatim
28843 #: ../src/guestfs-actions.pod:2994
28844 #, no-wrap
28845 msgid ""
28846 " struct guestfs_inotify_event_list *\n"
28847 " guestfs_inotify_read (guestfs_h *g);\n"
28848 "\n"
28849 msgstr ""
28850
28851 #. type: textblock
28852 #: ../src/guestfs-actions.pod:3008
28853 msgid ""
28854 "This function returns a C<struct guestfs_inotify_event_list *>, or NULL if "
28855 "there was an error.  I<The caller must call "
28856 "C<guestfs_free_inotify_event_list> after use>."
28857 msgstr ""
28858
28859 #. type: =head2
28860 #: ../src/guestfs-actions.pod:3014
28861 msgid "guestfs_inotify_rm_watch"
28862 msgstr ""
28863
28864 #. type: verbatim
28865 #: ../src/guestfs-actions.pod:3016
28866 #, no-wrap
28867 msgid ""
28868 " int\n"
28869 " guestfs_inotify_rm_watch (guestfs_h *g,\n"
28870 "                           int wd);\n"
28871 "\n"
28872 msgstr ""
28873
28874 #. type: textblock
28875 #: ../src/guestfs-actions.pod:3020
28876 msgid ""
28877 "Remove a previously defined inotify watch.  See "
28878 "C<guestfs_inotify_add_watch>."
28879 msgstr ""
28880
28881 #. type: =head2
28882 #: ../src/guestfs-actions.pod:3027
28883 msgid "guestfs_inspect_get_arch"
28884 msgstr ""
28885
28886 #. type: verbatim
28887 #: ../src/guestfs-actions.pod:3029
28888 #, no-wrap
28889 msgid ""
28890 " char *\n"
28891 " guestfs_inspect_get_arch (guestfs_h *g,\n"
28892 "                           const char *root);\n"
28893 "\n"
28894 msgstr ""
28895
28896 #. type: textblock
28897 #: ../src/guestfs-actions.pod:3033
28898 msgid ""
28899 "This returns the architecture of the inspected operating system.  The "
28900 "possible return values are listed under C<guestfs_file_architecture>."
28901 msgstr ""
28902
28903 #. type: =head2
28904 #: ../src/guestfs-actions.pod:3047
28905 msgid "guestfs_inspect_get_distro"
28906 msgstr ""
28907
28908 #. type: verbatim
28909 #: ../src/guestfs-actions.pod:3049
28910 #, no-wrap
28911 msgid ""
28912 " char *\n"
28913 " guestfs_inspect_get_distro (guestfs_h *g,\n"
28914 "                             const char *root);\n"
28915 "\n"
28916 msgstr ""
28917
28918 #. type: =head2
28919 #: ../src/guestfs-actions.pod:3149
28920 msgid "guestfs_inspect_get_drive_mappings"
28921 msgstr ""
28922
28923 #. type: verbatim
28924 #: ../src/guestfs-actions.pod:3151
28925 #, no-wrap
28926 msgid ""
28927 " char **\n"
28928 " guestfs_inspect_get_drive_mappings (guestfs_h *g,\n"
28929 "                                     const char *root);\n"
28930 "\n"
28931 msgstr ""
28932
28933 #. type: textblock
28934 #: ../src/guestfs-actions.pod:3180
28935 msgid ""
28936 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
28937 "C<guestfs_inspect_get_mountpoints>, C<guestfs_inspect_get_filesystems>."
28938 msgstr ""
28939
28940 #. type: textblock
28941 #: ../src/guestfs-actions.pod:3184 ../src/guestfs-actions.pod:3452
28942 #: ../src/guestfs-actions.pod:4255 ../src/guestfs-actions.pod:5527
28943 #: ../src/guestfs-actions.pod:7615
28944 msgid ""
28945 "This function returns a NULL-terminated array of strings, or NULL if there "
28946 "was an error.  The array of strings will always have length C<2n+1>, where "
28947 "C<n> keys and values alternate, followed by the trailing NULL entry.  I<The "
28948 "caller must free the strings and the array after use>."
28949 msgstr ""
28950
28951 #. type: textblock
28952 #: ../src/guestfs-actions.pod:3190 ../src/guestfs-actions.pod:3651
28953 msgid "(Added in 1.9.17)"
28954 msgstr "(Додано у 1.9.17)"
28955
28956 #. type: =head2
28957 #: ../src/guestfs-actions.pod:3192
28958 msgid "guestfs_inspect_get_filesystems"
28959 msgstr ""
28960
28961 #. type: verbatim
28962 #: ../src/guestfs-actions.pod:3194
28963 #, no-wrap
28964 msgid ""
28965 " char **\n"
28966 " guestfs_inspect_get_filesystems (guestfs_h *g,\n"
28967 "                                  const char *root);\n"
28968 "\n"
28969 msgstr ""
28970
28971 #. type: textblock
28972 #: ../src/guestfs-actions.pod:3206
28973 msgid ""
28974 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
28975 "C<guestfs_inspect_get_mountpoints>."
28976 msgstr ""
28977
28978 #. type: =head2
28979 #: ../src/guestfs-actions.pod:3215
28980 msgid "guestfs_inspect_get_format"
28981 msgstr ""
28982
28983 #. type: verbatim
28984 #: ../src/guestfs-actions.pod:3217
28985 #, no-wrap
28986 msgid ""
28987 " char *\n"
28988 " guestfs_inspect_get_format (guestfs_h *g,\n"
28989 "                             const char *root);\n"
28990 "\n"
28991 msgstr ""
28992
28993 #. type: textblock
28994 #: ../src/guestfs-actions.pod:3251 ../src/guestfs-actions.pod:3687
28995 #: ../src/guestfs-actions.pod:3703 ../src/guestfs-actions.pod:3721
28996 #: ../src/guestfs-actions.pod:6495
28997 msgid "(Added in 1.9.4)"
28998 msgstr "(Додано у 1.9.4)"
28999
29000 #. type: =head2
29001 #: ../src/guestfs-actions.pod:3253
29002 msgid "guestfs_inspect_get_hostname"
29003 msgstr ""
29004
29005 #. type: verbatim
29006 #: ../src/guestfs-actions.pod:3255
29007 #, no-wrap
29008 msgid ""
29009 " char *\n"
29010 " guestfs_inspect_get_hostname (guestfs_h *g,\n"
29011 "                               const char *root);\n"
29012 "\n"
29013 msgstr ""
29014
29015 #. type: textblock
29016 #: ../src/guestfs-actions.pod:3270
29017 msgid "(Added in 1.7.9)"
29018 msgstr "(Додано у 1.7.9)"
29019
29020 #. type: =head2
29021 #: ../src/guestfs-actions.pod:3272
29022 msgid "guestfs_inspect_get_icon"
29023 msgstr ""
29024
29025 #. type: verbatim
29026 #: ../src/guestfs-actions.pod:3274
29027 #, no-wrap
29028 msgid ""
29029 " char *\n"
29030 " guestfs_inspect_get_icon (guestfs_h *g,\n"
29031 "                           const char *root,\n"
29032 "                           size_t *size_r,\n"
29033 "                           ...);\n"
29034 "\n"
29035 msgstr ""
29036
29037 #. type: verbatim
29038 #: ../src/guestfs-actions.pod:3285
29039 #, no-wrap
29040 msgid ""
29041 " GUESTFS_INSPECT_GET_ICON_FAVICON, int favicon,\n"
29042 " GUESTFS_INSPECT_GET_ICON_HIGHQUALITY, int highquality,\n"
29043 "\n"
29044 msgstr ""
29045
29046 #. type: textblock
29047 #: ../src/guestfs-actions.pod:3352 ../src/guestfs-actions.pod:4182
29048 #: ../src/guestfs-actions.pod:5426
29049 msgid "(Added in 1.11.12)"
29050 msgstr "(Додано у 1.11.12)"
29051
29052 #. type: =head2
29053 #: ../src/guestfs-actions.pod:3354
29054 msgid "guestfs_inspect_get_icon_va"
29055 msgstr ""
29056
29057 #. type: verbatim
29058 #: ../src/guestfs-actions.pod:3356
29059 #, no-wrap
29060 msgid ""
29061 " char *\n"
29062 " guestfs_inspect_get_icon_va (guestfs_h *g,\n"
29063 "                              const char *root,\n"
29064 "                              size_t *size_r,\n"
29065 "                              va_list args);\n"
29066 "\n"
29067 msgstr ""
29068
29069 #. type: textblock
29070 #: ../src/guestfs-actions.pod:3362
29071 msgid "This is the \"va_list variant\" of L</guestfs_inspect_get_icon>."
29072 msgstr ""
29073
29074 #. type: =head2
29075 #: ../src/guestfs-actions.pod:3366
29076 msgid "guestfs_inspect_get_icon_argv"
29077 msgstr ""
29078
29079 #. type: verbatim
29080 #: ../src/guestfs-actions.pod:3368
29081 #, no-wrap
29082 msgid ""
29083 " char *\n"
29084 " guestfs_inspect_get_icon_argv (guestfs_h *g,\n"
29085 "                                const char *root,\n"
29086 "                                size_t *size_r,\n"
29087 "                                const struct guestfs_inspect_get_icon_argv *optargs);\n"
29088 "\n"
29089 msgstr ""
29090
29091 #. type: textblock
29092 #: ../src/guestfs-actions.pod:3374
29093 msgid "This is the \"argv variant\" of L</guestfs_inspect_get_icon>."
29094 msgstr ""
29095
29096 #. type: =head2
29097 #: ../src/guestfs-actions.pod:3378
29098 msgid "guestfs_inspect_get_major_version"
29099 msgstr ""
29100
29101 #. type: verbatim
29102 #: ../src/guestfs-actions.pod:3380
29103 #, no-wrap
29104 msgid ""
29105 " int\n"
29106 " guestfs_inspect_get_major_version (guestfs_h *g,\n"
29107 "                                    const char *root);\n"
29108 "\n"
29109 msgstr ""
29110
29111 #. type: =head2
29112 #: ../src/guestfs-actions.pod:3402
29113 msgid "guestfs_inspect_get_minor_version"
29114 msgstr ""
29115
29116 #. type: verbatim
29117 #: ../src/guestfs-actions.pod:3404
29118 #, no-wrap
29119 msgid ""
29120 " int\n"
29121 " guestfs_inspect_get_minor_version (guestfs_h *g,\n"
29122 "                                    const char *root);\n"
29123 "\n"
29124 msgstr ""
29125
29126 #. type: textblock
29127 #: ../src/guestfs-actions.pod:3413
29128 msgid ""
29129 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
29130 "C<guestfs_inspect_get_major_version>."
29131 msgstr ""
29132
29133 #. type: =head2
29134 #: ../src/guestfs-actions.pod:3420
29135 msgid "guestfs_inspect_get_mountpoints"
29136 msgstr ""
29137
29138 #. type: verbatim
29139 #: ../src/guestfs-actions.pod:3422
29140 #, no-wrap
29141 msgid ""
29142 " char **\n"
29143 " guestfs_inspect_get_mountpoints (guestfs_h *g,\n"
29144 "                                  const char *root);\n"
29145 "\n"
29146 msgstr ""
29147
29148 #. type: textblock
29149 #: ../src/guestfs-actions.pod:3443
29150 msgid ""
29151 "For operating systems like Windows which still use drive letters, this call "
29152 "will only return an entry for the first drive \"mounted on\" C</>.  For "
29153 "information about the mapping of drive letters to partitions, see "
29154 "C<guestfs_inspect_get_drive_mappings>."
29155 msgstr ""
29156
29157 #. type: textblock
29158 #: ../src/guestfs-actions.pod:3449
29159 msgid ""
29160 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
29161 "C<guestfs_inspect_get_filesystems>."
29162 msgstr ""
29163
29164 #. type: =head2
29165 #: ../src/guestfs-actions.pod:3460
29166 msgid "guestfs_inspect_get_package_format"
29167 msgstr ""
29168
29169 #. type: verbatim
29170 #: ../src/guestfs-actions.pod:3462
29171 #, no-wrap
29172 msgid ""
29173 " char *\n"
29174 " guestfs_inspect_get_package_format (guestfs_h *g,\n"
29175 "                                     const char *root);\n"
29176 "\n"
29177 msgstr ""
29178
29179 #. type: textblock
29180 #: ../src/guestfs-actions.pod:3466
29181 msgid ""
29182 "This function and C<guestfs_inspect_get_package_management> return the "
29183 "package format and package management tool used by the inspected operating "
29184 "system.  For example for Fedora these functions would return C<rpm> (package"
29185 " format) and C<yum> (package management)."
29186 msgstr ""
29187
29188 #. type: textblock
29189 #: ../src/guestfs-actions.pod:3485 ../src/guestfs-actions.pod:3513
29190 msgid "(Added in 1.7.5)"
29191 msgstr "(Додано у 1.7.5)"
29192
29193 #. type: =head2
29194 #: ../src/guestfs-actions.pod:3487
29195 msgid "guestfs_inspect_get_package_management"
29196 msgstr ""
29197
29198 #. type: verbatim
29199 #: ../src/guestfs-actions.pod:3489
29200 #, no-wrap
29201 msgid ""
29202 " char *\n"
29203 " guestfs_inspect_get_package_management (guestfs_h *g,\n"
29204 "                                         const char *root);\n"
29205 "\n"
29206 msgstr ""
29207
29208 #. type: textblock
29209 #: ../src/guestfs-actions.pod:3493
29210 msgid ""
29211 "C<guestfs_inspect_get_package_format> and this function return the package "
29212 "format and package management tool used by the inspected operating system.  "
29213 "For example for Fedora these functions would return C<rpm> (package format) "
29214 "and C<yum> (package management)."
29215 msgstr ""
29216
29217 #. type: =head2
29218 #: ../src/guestfs-actions.pod:3515
29219 msgid "guestfs_inspect_get_product_name"
29220 msgstr ""
29221
29222 #. type: verbatim
29223 #: ../src/guestfs-actions.pod:3517
29224 #, no-wrap
29225 msgid ""
29226 " char *\n"
29227 " guestfs_inspect_get_product_name (guestfs_h *g,\n"
29228 "                                   const char *root);\n"
29229 "\n"
29230 msgstr ""
29231
29232 #. type: =head2
29233 #: ../src/guestfs-actions.pod:3536
29234 msgid "guestfs_inspect_get_product_variant"
29235 msgstr ""
29236
29237 #. type: verbatim
29238 #: ../src/guestfs-actions.pod:3538
29239 #, no-wrap
29240 msgid ""
29241 " char *\n"
29242 " guestfs_inspect_get_product_variant (guestfs_h *g,\n"
29243 "                                      const char *root);\n"
29244 "\n"
29245 msgstr ""
29246
29247 #. type: textblock
29248 #: ../src/guestfs-actions.pod:3561
29249 msgid ""
29250 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
29251 "C<guestfs_inspect_get_product_name>, C<guestfs_inspect_get_major_version>."
29252 msgstr ""
29253
29254 #. type: textblock
29255 #: ../src/guestfs-actions.pod:3568
29256 msgid "(Added in 1.9.13)"
29257 msgstr "(Додано у 1.9.13)"
29258
29259 #. type: =head2
29260 #: ../src/guestfs-actions.pod:3570
29261 msgid "guestfs_inspect_get_roots"
29262 msgstr ""
29263
29264 #. type: verbatim
29265 #: ../src/guestfs-actions.pod:3572
29266 #, no-wrap
29267 msgid ""
29268 " char **\n"
29269 " guestfs_inspect_get_roots (guestfs_h *g);\n"
29270 "\n"
29271 msgstr ""
29272
29273 #. type: textblock
29274 #: ../src/guestfs-actions.pod:3575
29275 msgid ""
29276 "This function is a convenient way to get the list of root devices, as "
29277 "returned from a previous call to C<guestfs_inspect_os>, but without redoing "
29278 "the whole inspection process."
29279 msgstr ""
29280
29281 #. type: textblock
29282 #: ../src/guestfs-actions.pod:3579
29283 msgid ""
29284 "This returns an empty list if either no root devices were found or the "
29285 "caller has not called C<guestfs_inspect_os>."
29286 msgstr ""
29287
29288 #. type: textblock
29289 #: ../src/guestfs-actions.pod:3588
29290 msgid "(Added in 1.7.3)"
29291 msgstr "(Додано у 1.7.3)"
29292
29293 #. type: =head2
29294 #: ../src/guestfs-actions.pod:3590
29295 msgid "guestfs_inspect_get_type"
29296 msgstr ""
29297
29298 #. type: verbatim
29299 #: ../src/guestfs-actions.pod:3592
29300 #, no-wrap
29301 msgid ""
29302 " char *\n"
29303 " guestfs_inspect_get_type (guestfs_h *g,\n"
29304 "                           const char *root);\n"
29305 "\n"
29306 msgstr ""
29307
29308 #. type: =head2
29309 #: ../src/guestfs-actions.pod:3633
29310 msgid "guestfs_inspect_get_windows_current_control_set"
29311 msgstr ""
29312
29313 #. type: verbatim
29314 #: ../src/guestfs-actions.pod:3635
29315 #, no-wrap
29316 msgid ""
29317 " char *\n"
29318 " guestfs_inspect_get_windows_current_control_set (guestfs_h *g,\n"
29319 "                                                  const char *root);\n"
29320 "\n"
29321 msgstr ""
29322
29323 #. type: =head2
29324 #: ../src/guestfs-actions.pod:3653
29325 msgid "guestfs_inspect_get_windows_systemroot"
29326 msgstr ""
29327
29328 #. type: verbatim
29329 #: ../src/guestfs-actions.pod:3655
29330 #, no-wrap
29331 msgid ""
29332 " char *\n"
29333 " guestfs_inspect_get_windows_systemroot (guestfs_h *g,\n"
29334 "                                         const char *root);\n"
29335 "\n"
29336 msgstr ""
29337
29338 #. type: textblock
29339 #: ../src/guestfs-actions.pod:3671
29340 msgid "(Added in 1.5.25)"
29341 msgstr "(Додано у 1.5.25)"
29342
29343 #. type: =head2
29344 #: ../src/guestfs-actions.pod:3673
29345 msgid "guestfs_inspect_is_live"
29346 msgstr ""
29347
29348 #. type: verbatim
29349 #: ../src/guestfs-actions.pod:3675
29350 #, no-wrap
29351 msgid ""
29352 " int\n"
29353 " guestfs_inspect_is_live (guestfs_h *g,\n"
29354 "                          const char *root);\n"
29355 "\n"
29356 msgstr ""
29357
29358 #. type: textblock
29359 #: ../src/guestfs-actions.pod:3679
29360 msgid ""
29361 "If C<guestfs_inspect_get_format> returns C<installer> (this is an install "
29362 "disk), then this returns true if a live image was detected on the disk."
29363 msgstr ""
29364
29365 #. type: =head2
29366 #: ../src/guestfs-actions.pod:3689
29367 msgid "guestfs_inspect_is_multipart"
29368 msgstr ""
29369
29370 #. type: verbatim
29371 #: ../src/guestfs-actions.pod:3691
29372 #, no-wrap
29373 msgid ""
29374 " int\n"
29375 " guestfs_inspect_is_multipart (guestfs_h *g,\n"
29376 "                               const char *root);\n"
29377 "\n"
29378 msgstr ""
29379
29380 #. type: textblock
29381 #: ../src/guestfs-actions.pod:3695
29382 msgid ""
29383 "If C<guestfs_inspect_get_format> returns C<installer> (this is an install "
29384 "disk), then this returns true if the disk is part of a set."
29385 msgstr ""
29386
29387 #. type: =head2
29388 #: ../src/guestfs-actions.pod:3705
29389 msgid "guestfs_inspect_is_netinst"
29390 msgstr ""
29391
29392 #. type: verbatim
29393 #: ../src/guestfs-actions.pod:3707
29394 #, no-wrap
29395 msgid ""
29396 " int\n"
29397 " guestfs_inspect_is_netinst (guestfs_h *g,\n"
29398 "                             const char *root);\n"
29399 "\n"
29400 msgstr ""
29401
29402 #. type: textblock
29403 #: ../src/guestfs-actions.pod:3711
29404 msgid ""
29405 "If C<guestfs_inspect_get_format> returns C<installer> (this is an install "
29406 "disk), then this returns true if the disk is a network installer, ie. not a "
29407 "self-contained install CD but one which is likely to require network access "
29408 "to complete the install."
29409 msgstr ""
29410
29411 #. type: =head2
29412 #: ../src/guestfs-actions.pod:3723
29413 msgid "guestfs_inspect_list_applications"
29414 msgstr ""
29415
29416 #. type: verbatim
29417 #: ../src/guestfs-actions.pod:3725
29418 #, no-wrap
29419 msgid ""
29420 " struct guestfs_application_list *\n"
29421 " guestfs_inspect_list_applications (guestfs_h *g,\n"
29422 "                                    const char *root);\n"
29423 "\n"
29424 msgstr ""
29425
29426 #. type: textblock
29427 #: ../src/guestfs-actions.pod:3731
29428 msgid ""
29429 "I<Note:> This call works differently from other parts of the inspection API."
29430 "  You have to call C<guestfs_inspect_os>, then "
29431 "C<guestfs_inspect_get_mountpoints>, then mount up the disks, before calling "
29432 "this.  Listing applications is a significantly more difficult operation "
29433 "which requires access to the full filesystem.  Also note that unlike the "
29434 "other C<guestfs_inspect_get_*> calls which are just returning data cached in"
29435 " the libguestfs handle, this call actually reads parts of the mounted "
29436 "filesystems during the call."
29437 msgstr ""
29438
29439 #. type: textblock
29440 #: ../src/guestfs-actions.pod:3821
29441 msgid ""
29442 "This function returns a C<struct guestfs_application_list *>, or NULL if "
29443 "there was an error.  I<The caller must call C<guestfs_free_application_list>"
29444 " after use>."
29445 msgstr ""
29446
29447 #. type: textblock
29448 #: ../src/guestfs-actions.pod:3825
29449 msgid "(Added in 1.7.8)"
29450 msgstr "(Додано у 1.7.8)"
29451
29452 #. type: =head2
29453 #: ../src/guestfs-actions.pod:3827
29454 msgid "guestfs_inspect_os"
29455 msgstr ""
29456
29457 #. type: verbatim
29458 #: ../src/guestfs-actions.pod:3829
29459 #, no-wrap
29460 msgid ""
29461 " char **\n"
29462 " guestfs_inspect_os (guestfs_h *g);\n"
29463 "\n"
29464 msgstr ""
29465
29466 #. type: textblock
29467 #: ../src/guestfs-actions.pod:3845
29468 msgid ""
29469 "You can pass the root string(s) returned to other C<guestfs_inspect_get_*> "
29470 "functions in order to query further information about each operating system,"
29471 " such as the name and version."
29472 msgstr ""
29473
29474 #. type: textblock
29475 #: ../src/guestfs-actions.pod:3850
29476 msgid ""
29477 "This function uses other libguestfs features such as C<guestfs_mount_ro> and"
29478 " C<guestfs_umount_all> in order to mount and unmount filesystems and look at"
29479 " the contents.  This should be called with no disks currently mounted.  The "
29480 "function may also use Augeas, so any existing Augeas handle will be closed."
29481 msgstr ""
29482
29483 #. type: textblock
29484 #: ../src/guestfs-actions.pod:3862 ../src/guestfs-actions.pod:4193
29485 #: ../src/guestfs-actions.pod:4275
29486 msgid "See also C<guestfs_list_filesystems>."
29487 msgstr ""
29488
29489 #. type: =head2
29490 #: ../src/guestfs-actions.pod:3870
29491 msgid "guestfs_is_blockdev"
29492 msgstr ""
29493
29494 #. type: verbatim
29495 #: ../src/guestfs-actions.pod:3872
29496 #, no-wrap
29497 msgid ""
29498 " int\n"
29499 " guestfs_is_blockdev (guestfs_h *g,\n"
29500 "                      const char *path);\n"
29501 "\n"
29502 msgstr ""
29503
29504 #. type: textblock
29505 #: ../src/guestfs-actions.pod:3879 ../src/guestfs-actions.pod:3908
29506 #: ../src/guestfs-actions.pod:3938 ../src/guestfs-actions.pod:3953
29507 #: ../src/guestfs-actions.pod:3969 ../src/guestfs-actions.pod:4025
29508 #: ../src/guestfs-actions.pod:4040
29509 msgid "See also C<guestfs_stat>."
29510 msgstr ""
29511
29512 #. type: textblock
29513 #: ../src/guestfs-actions.pod:3883 ../src/guestfs-actions.pod:3912
29514 #: ../src/guestfs-actions.pod:3957 ../src/guestfs-actions.pod:4029
29515 #: ../src/guestfs-actions.pod:4044
29516 msgid "(Added in 1.5.10)"
29517 msgstr "(Додано у 1.5.10)"
29518
29519 #. type: =head2
29520 #: ../src/guestfs-actions.pod:3885
29521 msgid "guestfs_is_busy"
29522 msgstr ""
29523
29524 #. type: verbatim
29525 #: ../src/guestfs-actions.pod:3887
29526 #, no-wrap
29527 msgid ""
29528 " int\n"
29529 " guestfs_is_busy (guestfs_h *g);\n"
29530 "\n"
29531 msgstr ""
29532
29533 #. type: =head2
29534 #: ../src/guestfs-actions.pod:3899
29535 msgid "guestfs_is_chardev"
29536 msgstr ""
29537
29538 #. type: verbatim
29539 #: ../src/guestfs-actions.pod:3901
29540 #, no-wrap
29541 msgid ""
29542 " int\n"
29543 " guestfs_is_chardev (guestfs_h *g,\n"
29544 "                     const char *path);\n"
29545 "\n"
29546 msgstr ""
29547
29548 #. type: =head2
29549 #: ../src/guestfs-actions.pod:3914
29550 msgid "guestfs_is_config"
29551 msgstr ""
29552
29553 #. type: verbatim
29554 #: ../src/guestfs-actions.pod:3916
29555 #, no-wrap
29556 msgid ""
29557 " int\n"
29558 " guestfs_is_config (guestfs_h *g);\n"
29559 "\n"
29560 msgstr ""
29561
29562 #. type: =head2
29563 #: ../src/guestfs-actions.pod:3928
29564 msgid "guestfs_is_dir"
29565 msgstr ""
29566
29567 #. type: verbatim
29568 #: ../src/guestfs-actions.pod:3930
29569 #, no-wrap
29570 msgid ""
29571 " int\n"
29572 " guestfs_is_dir (guestfs_h *g,\n"
29573 "                 const char *path);\n"
29574 "\n"
29575 msgstr ""
29576
29577 #. type: =head2
29578 #: ../src/guestfs-actions.pod:3944
29579 msgid "guestfs_is_fifo"
29580 msgstr ""
29581
29582 #. type: verbatim
29583 #: ../src/guestfs-actions.pod:3946
29584 #, no-wrap
29585 msgid ""
29586 " int\n"
29587 " guestfs_is_fifo (guestfs_h *g,\n"
29588 "                  const char *path);\n"
29589 "\n"
29590 msgstr ""
29591
29592 #. type: =head2
29593 #: ../src/guestfs-actions.pod:3959
29594 msgid "guestfs_is_file"
29595 msgstr ""
29596
29597 #. type: verbatim
29598 #: ../src/guestfs-actions.pod:3961
29599 #, no-wrap
29600 msgid ""
29601 " int\n"
29602 " guestfs_is_file (guestfs_h *g,\n"
29603 "                  const char *path);\n"
29604 "\n"
29605 msgstr ""
29606
29607 #. type: =head2
29608 #: ../src/guestfs-actions.pod:3975
29609 msgid "guestfs_is_launching"
29610 msgstr ""
29611
29612 #. type: verbatim
29613 #: ../src/guestfs-actions.pod:3977
29614 #, no-wrap
29615 msgid ""
29616 " int\n"
29617 " guestfs_is_launching (guestfs_h *g);\n"
29618 "\n"
29619 msgstr ""
29620
29621 #. type: =head2
29622 #: ../src/guestfs-actions.pod:3989
29623 msgid "guestfs_is_lv"
29624 msgstr ""
29625
29626 #. type: verbatim
29627 #: ../src/guestfs-actions.pod:3991
29628 #, no-wrap
29629 msgid ""
29630 " int\n"
29631 " guestfs_is_lv (guestfs_h *g,\n"
29632 "                const char *device);\n"
29633 "\n"
29634 msgstr ""
29635
29636 #. type: =head2
29637 #: ../src/guestfs-actions.pod:4002
29638 msgid "guestfs_is_ready"
29639 msgstr ""
29640
29641 #. type: verbatim
29642 #: ../src/guestfs-actions.pod:4004
29643 #, no-wrap
29644 msgid ""
29645 " int\n"
29646 " guestfs_is_ready (guestfs_h *g);\n"
29647 "\n"
29648 msgstr ""
29649
29650 #. type: =head2
29651 #: ../src/guestfs-actions.pod:4016
29652 msgid "guestfs_is_socket"
29653 msgstr ""
29654
29655 #. type: verbatim
29656 #: ../src/guestfs-actions.pod:4018
29657 #, no-wrap
29658 msgid ""
29659 " int\n"
29660 " guestfs_is_socket (guestfs_h *g,\n"
29661 "                    const char *path);\n"
29662 "\n"
29663 msgstr ""
29664
29665 #. type: =head2
29666 #: ../src/guestfs-actions.pod:4031
29667 msgid "guestfs_is_symlink"
29668 msgstr ""
29669
29670 #. type: verbatim
29671 #: ../src/guestfs-actions.pod:4033
29672 #, no-wrap
29673 msgid ""
29674 " int\n"
29675 " guestfs_is_symlink (guestfs_h *g,\n"
29676 "                     const char *path);\n"
29677 "\n"
29678 msgstr ""
29679
29680 #. type: =head2
29681 #: ../src/guestfs-actions.pod:4046
29682 msgid "guestfs_is_zero"
29683 msgstr ""
29684
29685 #. type: verbatim
29686 #: ../src/guestfs-actions.pod:4048
29687 #, no-wrap
29688 msgid ""
29689 " int\n"
29690 " guestfs_is_zero (guestfs_h *g,\n"
29691 "                  const char *path);\n"
29692 "\n"
29693 msgstr ""
29694
29695 #. type: textblock
29696 #: ../src/guestfs-actions.pod:4057 ../src/guestfs-actions.pod:4071
29697 msgid "(Added in 1.11.8)"
29698 msgstr "(Додано у 1.11.8)"
29699
29700 #. type: =head2
29701 #: ../src/guestfs-actions.pod:4059
29702 msgid "guestfs_is_zero_device"
29703 msgstr ""
29704
29705 #. type: verbatim
29706 #: ../src/guestfs-actions.pod:4061
29707 #, no-wrap
29708 msgid ""
29709 " int\n"
29710 " guestfs_is_zero_device (guestfs_h *g,\n"
29711 "                         const char *device);\n"
29712 "\n"
29713 msgstr ""
29714
29715 #. type: =head2
29716 #: ../src/guestfs-actions.pod:4073
29717 msgid "guestfs_kill_subprocess"
29718 msgstr ""
29719
29720 #. type: verbatim
29721 #: ../src/guestfs-actions.pod:4075
29722 #, no-wrap
29723 msgid ""
29724 " int\n"
29725 " guestfs_kill_subprocess (guestfs_h *g);\n"
29726 "\n"
29727 msgstr ""
29728
29729 #. type: =head2
29730 #: ../src/guestfs-actions.pod:4084
29731 msgid "guestfs_launch"
29732 msgstr ""
29733
29734 #. type: verbatim
29735 #: ../src/guestfs-actions.pod:4086
29736 #, no-wrap
29737 msgid ""
29738 " int\n"
29739 " guestfs_launch (guestfs_h *g);\n"
29740 "\n"
29741 msgstr ""
29742
29743 #. type: =head2
29744 #: ../src/guestfs-actions.pod:4104
29745 msgid "guestfs_lchown"
29746 msgstr ""
29747
29748 #. type: verbatim
29749 #: ../src/guestfs-actions.pod:4106
29750 #, no-wrap
29751 msgid ""
29752 " int\n"
29753 " guestfs_lchown (guestfs_h *g,\n"
29754 "                 int owner,\n"
29755 "                 int group,\n"
29756 "                 const char *path);\n"
29757 "\n"
29758 msgstr ""
29759
29760 #. type: textblock
29761 #: ../src/guestfs-actions.pod:4112
29762 msgid ""
29763 "Change the file owner to C<owner> and group to C<group>.  This is like "
29764 "C<guestfs_chown> but if C<path> is a symlink then the link itself is "
29765 "changed, not the target."
29766 msgstr ""
29767
29768 #. type: =head2
29769 #: ../src/guestfs-actions.pod:4124
29770 msgid "guestfs_lgetxattr"
29771 msgstr ""
29772
29773 #. type: verbatim
29774 #: ../src/guestfs-actions.pod:4126
29775 #, no-wrap
29776 msgid ""
29777 " char *\n"
29778 " guestfs_lgetxattr (guestfs_h *g,\n"
29779 "                    const char *path,\n"
29780 "                    const char *name,\n"
29781 "                    size_t *size_r);\n"
29782 "\n"
29783 msgstr ""
29784
29785 #. type: textblock
29786 #: ../src/guestfs-actions.pod:4146
29787 msgid "See also: C<guestfs_lgetxattrs>, C<guestfs_getxattr>, L<attr(5)>."
29788 msgstr ""
29789
29790 #. type: =head2
29791 #: ../src/guestfs-actions.pod:4154
29792 msgid "guestfs_lgetxattrs"
29793 msgstr ""
29794
29795 #. type: verbatim
29796 #: ../src/guestfs-actions.pod:4156
29797 #, no-wrap
29798 msgid ""
29799 " struct guestfs_xattr_list *\n"
29800 " guestfs_lgetxattrs (guestfs_h *g,\n"
29801 "                     const char *path);\n"
29802 "\n"
29803 msgstr ""
29804
29805 #. type: textblock
29806 #: ../src/guestfs-actions.pod:4160
29807 msgid ""
29808 "This is the same as C<guestfs_getxattrs>, but if C<path> is a symbolic link,"
29809 " then it returns the extended attributes of the link itself."
29810 msgstr ""
29811
29812 #. type: =head2
29813 #: ../src/guestfs-actions.pod:4170
29814 msgid "guestfs_list_9p"
29815 msgstr ""
29816
29817 #. type: verbatim
29818 #: ../src/guestfs-actions.pod:4172
29819 #, no-wrap
29820 msgid ""
29821 " char **\n"
29822 " guestfs_list_9p (guestfs_h *g);\n"
29823 "\n"
29824 msgstr ""
29825
29826 #. type: =head2
29827 #: ../src/guestfs-actions.pod:4184
29828 msgid "guestfs_list_devices"
29829 msgstr ""
29830
29831 #. type: verbatim
29832 #: ../src/guestfs-actions.pod:4186
29833 #, no-wrap
29834 msgid ""
29835 " char **\n"
29836 " guestfs_list_devices (guestfs_h *g);\n"
29837 "\n"
29838 msgstr ""
29839
29840 #. type: =head2
29841 #: ../src/guestfs-actions.pod:4201
29842 msgid "guestfs_list_dm_devices"
29843 msgstr ""
29844
29845 #. type: verbatim
29846 #: ../src/guestfs-actions.pod:4203
29847 #, no-wrap
29848 msgid ""
29849 " char **\n"
29850 " guestfs_list_dm_devices (guestfs_h *g);\n"
29851 "\n"
29852 msgstr ""
29853
29854 #. type: textblock
29855 #: ../src/guestfs-actions.pod:4208
29856 msgid ""
29857 "The returned list contains C</dev/mapper/*> devices, eg. ones created by a "
29858 "previous call to C<guestfs_luks_open>."
29859 msgstr ""
29860
29861 #. type: textblock
29862 #: ../src/guestfs-actions.pod:4211
29863 msgid ""
29864 "Device mapper devices which correspond to logical volumes are I<not> "
29865 "returned in this list.  Call C<guestfs_lvs> if you want to list logical "
29866 "volumes."
29867 msgstr ""
29868
29869 #. type: textblock
29870 #: ../src/guestfs-actions.pod:4219 ../src/guestfs-actions.pod:5665
29871 msgid "(Added in 1.11.15)"
29872 msgstr "(Додано у 1.11.15)"
29873
29874 #. type: =head2
29875 #: ../src/guestfs-actions.pod:4221
29876 msgid "guestfs_list_filesystems"
29877 msgstr ""
29878
29879 #. type: verbatim
29880 #: ../src/guestfs-actions.pod:4223
29881 #, no-wrap
29882 msgid ""
29883 " char **\n"
29884 " guestfs_list_filesystems (guestfs_h *g);\n"
29885 "\n"
29886 msgstr ""
29887
29888 #. type: textblock
29889 #: ../src/guestfs-actions.pod:4243
29890 msgid ""
29891 "This command runs other libguestfs commands, which might include "
29892 "C<guestfs_mount> and C<guestfs_umount>, and therefore you should use this "
29893 "soon after launch and only when nothing is mounted."
29894 msgstr ""
29895
29896 #. type: textblock
29897 #: ../src/guestfs-actions.pod:4247
29898 msgid ""
29899 "Not all of the filesystems returned will be mountable.  In particular, swap "
29900 "partitions are returned in the list.  Also this command does not check that "
29901 "each filesystem found is valid and mountable, and some filesystems might be "
29902 "mountable but require special options.  Filesystems may not all belong to a "
29903 "single logical operating system (use C<guestfs_inspect_os> to look for "
29904 "OSes)."
29905 msgstr ""
29906
29907 #. type: textblock
29908 #: ../src/guestfs-actions.pod:4261 ../src/guestfs-actions.pod:6028
29909 msgid "(Added in 1.5.15)"
29910 msgstr "(Додано у 1.5.15)"
29911
29912 #. type: =head2
29913 #: ../src/guestfs-actions.pod:4263
29914 msgid "guestfs_list_partitions"
29915 msgstr "guestfs_list_partitions"
29916
29917 #. type: verbatim
29918 #: ../src/guestfs-actions.pod:4265
29919 #, no-wrap
29920 msgid ""
29921 " char **\n"
29922 " guestfs_list_partitions (guestfs_h *g);\n"
29923 "\n"
29924 msgstr ""
29925 " char **\n"
29926 " guestfs_list_partitions (guestfs_h *g);\n"
29927 "\n"
29928
29929 #. type: textblock
29930 #: ../src/guestfs-actions.pod:4272
29931 msgid ""
29932 "This does not return logical volumes.  For that you will need to call "
29933 "C<guestfs_lvs>."
29934 msgstr ""
29935
29936 #. type: =head2
29937 #: ../src/guestfs-actions.pod:4283
29938 msgid "guestfs_ll"
29939 msgstr "guestfs_ll"
29940
29941 #. type: verbatim
29942 #: ../src/guestfs-actions.pod:4285
29943 #, no-wrap
29944 msgid ""
29945 " char *\n"
29946 " guestfs_ll (guestfs_h *g,\n"
29947 "             const char *directory);\n"
29948 "\n"
29949 msgstr ""
29950 " char *\n"
29951 " guestfs_ll (guestfs_h *g,\n"
29952 "             const char *directory);\n"
29953 "\n"
29954
29955 #. type: =head2
29956 #: ../src/guestfs-actions.pod:4300
29957 msgid "guestfs_ln"
29958 msgstr "guestfs_ln"
29959
29960 #. type: verbatim
29961 #: ../src/guestfs-actions.pod:4302
29962 #, no-wrap
29963 msgid ""
29964 " int\n"
29965 " guestfs_ln (guestfs_h *g,\n"
29966 "             const char *target,\n"
29967 "             const char *linkname);\n"
29968 "\n"
29969 msgstr ""
29970 " int\n"
29971 " guestfs_ln (guestfs_h *g,\n"
29972 "             const char *target,\n"
29973 "             const char *linkname);\n"
29974 "\n"
29975
29976 #. type: =head2
29977 #: ../src/guestfs-actions.pod:4313
29978 msgid "guestfs_ln_f"
29979 msgstr "guestfs_ln_f"
29980
29981 #. type: verbatim
29982 #: ../src/guestfs-actions.pod:4315
29983 #, no-wrap
29984 msgid ""
29985 " int\n"
29986 " guestfs_ln_f (guestfs_h *g,\n"
29987 "               const char *target,\n"
29988 "               const char *linkname);\n"
29989 "\n"
29990 msgstr ""
29991 " int\n"
29992 " guestfs_ln_f (guestfs_h *g,\n"
29993 "               const char *target,\n"
29994 "               const char *linkname);\n"
29995 "\n"
29996
29997 #. type: =head2
29998 #: ../src/guestfs-actions.pod:4327
29999 msgid "guestfs_ln_s"
30000 msgstr "guestfs_ln_s"
30001
30002 #. type: verbatim
30003 #: ../src/guestfs-actions.pod:4329
30004 #, no-wrap
30005 msgid ""
30006 " int\n"
30007 " guestfs_ln_s (guestfs_h *g,\n"
30008 "               const char *target,\n"
30009 "               const char *linkname);\n"
30010 "\n"
30011 msgstr ""
30012 " int\n"
30013 " guestfs_ln_s (guestfs_h *g,\n"
30014 "               const char *target,\n"
30015 "               const char *linkname);\n"
30016 "\n"
30017
30018 #. type: =head2
30019 #: ../src/guestfs-actions.pod:4340
30020 msgid "guestfs_ln_sf"
30021 msgstr "guestfs_ln_sf"
30022
30023 #. type: verbatim
30024 #: ../src/guestfs-actions.pod:4342
30025 #, no-wrap
30026 msgid ""
30027 " int\n"
30028 " guestfs_ln_sf (guestfs_h *g,\n"
30029 "                const char *target,\n"
30030 "                const char *linkname);\n"
30031 "\n"
30032 msgstr ""
30033 " int\n"
30034 " guestfs_ln_sf (guestfs_h *g,\n"
30035 "                const char *target,\n"
30036 "                const char *linkname);\n"
30037 "\n"
30038
30039 #. type: =head2
30040 #: ../src/guestfs-actions.pod:4354
30041 msgid "guestfs_lremovexattr"
30042 msgstr "guestfs_lremovexattr"
30043
30044 #. type: verbatim
30045 #: ../src/guestfs-actions.pod:4356
30046 #, no-wrap
30047 msgid ""
30048 " int\n"
30049 " guestfs_lremovexattr (guestfs_h *g,\n"
30050 "                       const char *xattr,\n"
30051 "                       const char *path);\n"
30052 "\n"
30053 msgstr ""
30054 " int\n"
30055 " guestfs_lremovexattr (guestfs_h *g,\n"
30056 "                       const char *xattr,\n"
30057 "                       const char *path);\n"
30058 "\n"
30059
30060 #. type: textblock
30061 #: ../src/guestfs-actions.pod:4361
30062 msgid ""
30063 "This is the same as C<guestfs_removexattr>, but if C<path> is a symbolic "
30064 "link, then it removes an extended attribute of the link itself."
30065 msgstr ""
30066
30067 #. type: =head2
30068 #: ../src/guestfs-actions.pod:4369
30069 msgid "guestfs_ls"
30070 msgstr "guestfs_ls"
30071
30072 #. type: verbatim
30073 #: ../src/guestfs-actions.pod:4371
30074 #, no-wrap
30075 msgid ""
30076 " char **\n"
30077 " guestfs_ls (guestfs_h *g,\n"
30078 "             const char *directory);\n"
30079 "\n"
30080 msgstr ""
30081 " char **\n"
30082 " guestfs_ls (guestfs_h *g,\n"
30083 "             const char *directory);\n"
30084 "\n"
30085
30086 #. type: textblock
30087 #: ../src/guestfs-actions.pod:4379
30088 msgid ""
30089 "This command is mostly useful for interactive sessions.  Programs should "
30090 "probably use C<guestfs_readdir> instead."
30091 msgstr ""
30092
30093 #. type: =head2
30094 #: ../src/guestfs-actions.pod:4388
30095 msgid "guestfs_lsetxattr"
30096 msgstr "guestfs_lsetxattr"
30097
30098 #. type: verbatim
30099 #: ../src/guestfs-actions.pod:4390
30100 #, no-wrap
30101 msgid ""
30102 " int\n"
30103 " guestfs_lsetxattr (guestfs_h *g,\n"
30104 "                    const char *xattr,\n"
30105 "                    const char *val,\n"
30106 "                    int vallen,\n"
30107 "                    const char *path);\n"
30108 "\n"
30109 msgstr ""
30110 " int\n"
30111 " guestfs_lsetxattr (guestfs_h *g,\n"
30112 "                    const char *xattr,\n"
30113 "                    const char *val,\n"
30114 "                    int vallen,\n"
30115 "                    const char *path);\n"
30116 "\n"
30117
30118 #. type: textblock
30119 #: ../src/guestfs-actions.pod:4397
30120 msgid ""
30121 "This is the same as C<guestfs_setxattr>, but if C<path> is a symbolic link, "
30122 "then it sets an extended attribute of the link itself."
30123 msgstr ""
30124
30125 #. type: =head2
30126 #: ../src/guestfs-actions.pod:4405
30127 msgid "guestfs_lstat"
30128 msgstr "guestfs_lstat"
30129
30130 #. type: verbatim
30131 #: ../src/guestfs-actions.pod:4407
30132 #, no-wrap
30133 msgid ""
30134 " struct guestfs_stat *\n"
30135 " guestfs_lstat (guestfs_h *g,\n"
30136 "                const char *path);\n"
30137 "\n"
30138 msgstr ""
30139 " struct guestfs_stat *\n"
30140 " guestfs_lstat (guestfs_h *g,\n"
30141 "                const char *path);\n"
30142 "\n"
30143
30144 #. type: textblock
30145 #: ../src/guestfs-actions.pod:4413
30146 msgid ""
30147 "This is the same as C<guestfs_stat> except that if C<path> is a symbolic "
30148 "link, then the link is stat-ed, not the file it refers to."
30149 msgstr ""
30150
30151 #. type: textblock
30152 #: ../src/guestfs-actions.pod:4419 ../src/guestfs-actions.pod:7218
30153 msgid ""
30154 "This function returns a C<struct guestfs_stat *>, or NULL if there was an "
30155 "error.  I<The caller must call C<guestfs_free_stat> after use>."
30156 msgstr ""
30157
30158 #. type: textblock
30159 #: ../src/guestfs-actions.pod:4423 ../src/guestfs-actions.pod:7222
30160 #: ../src/guestfs-actions.pod:7240 ../src/guestfs-actions.pod:7621
30161 msgid "(Added in 0.9.2)"
30162 msgstr "(Додано у 0.9.2)"
30163
30164 #. type: =head2
30165 #: ../src/guestfs-actions.pod:4425
30166 msgid "guestfs_lstatlist"
30167 msgstr "guestfs_lstatlist"
30168
30169 #. type: verbatim
30170 #: ../src/guestfs-actions.pod:4427
30171 #, no-wrap
30172 msgid ""
30173 " struct guestfs_stat_list *\n"
30174 " guestfs_lstatlist (guestfs_h *g,\n"
30175 "                    const char *path,\n"
30176 "                    char *const *names);\n"
30177 "\n"
30178 msgstr ""
30179 " struct guestfs_stat_list *\n"
30180 " guestfs_lstatlist (guestfs_h *g,\n"
30181 "                    const char *path,\n"
30182 "                    char *const *names);\n"
30183 "\n"
30184
30185 #. type: textblock
30186 #: ../src/guestfs-actions.pod:4432
30187 msgid ""
30188 "This call allows you to perform the C<guestfs_lstat> operation on multiple "
30189 "files, where all files are in the directory C<path>.  C<names> is the list "
30190 "of files from this directory."
30191 msgstr ""
30192
30193 #. type: textblock
30194 #: ../src/guestfs-actions.pod:4441
30195 msgid ""
30196 "This call is intended for programs that want to efficiently list a directory"
30197 " contents without making many round-trips.  See also C<guestfs_lxattrlist> "
30198 "for a similarly efficient call for getting extended attributes.  Very long "
30199 "directory listings might cause the protocol message size to be exceeded, "
30200 "causing this call to fail.  The caller must split up such requests into "
30201 "smaller groups of names."
30202 msgstr ""
30203
30204 #. type: textblock
30205 #: ../src/guestfs-actions.pod:4449
30206 msgid ""
30207 "This function returns a C<struct guestfs_stat_list *>, or NULL if there was "
30208 "an error.  I<The caller must call C<guestfs_free_stat_list> after use>."
30209 msgstr ""
30210
30211 #. type: =head2
30212 #: ../src/guestfs-actions.pod:4455
30213 msgid "guestfs_luks_add_key"
30214 msgstr "guestfs_luks_add_key"
30215
30216 #. type: verbatim
30217 #: ../src/guestfs-actions.pod:4457
30218 #, no-wrap
30219 msgid ""
30220 " int\n"
30221 " guestfs_luks_add_key (guestfs_h *g,\n"
30222 "                       const char *device,\n"
30223 "                       const char *key,\n"
30224 "                       const char *newkey,\n"
30225 "                       int keyslot);\n"
30226 "\n"
30227 msgstr ""
30228 " int\n"
30229 " guestfs_luks_add_key (guestfs_h *g,\n"
30230 "                       const char *device,\n"
30231 "                       const char *key,\n"
30232 "                       const char *newkey,\n"
30233 "                       int keyslot);\n"
30234 "\n"
30235
30236 #. type: textblock
30237 #: ../src/guestfs-actions.pod:4469
30238 msgid ""
30239 "Note that if C<keyslot> already contains a key, then this command will fail."
30240 "  You have to use C<guestfs_luks_kill_slot> first to remove that key."
30241 msgstr ""
30242
30243 #. type: textblock
30244 #: ../src/guestfs-actions.pod:4475 ../src/guestfs-actions.pod:4515
30245 #: ../src/guestfs-actions.pod:4538 ../src/guestfs-actions.pod:4558
30246 #: ../src/guestfs-actions.pod:4593 ../src/guestfs-actions.pod:4612
30247 msgid ""
30248 "This function takes a key or passphrase parameter which could contain "
30249 "sensitive material.  Read the section L</KEYS AND PASSPHRASES> for more "
30250 "information."
30251 msgstr ""
30252
30253 #. type: textblock
30254 #: ../src/guestfs-actions.pod:4479 ../src/guestfs-actions.pod:4519
30255 #: ../src/guestfs-actions.pod:4542 ../src/guestfs-actions.pod:4562
30256 msgid "(Added in 1.5.2)"
30257 msgstr "(Додано у 1.5.2)"
30258
30259 #. type: =head2
30260 #: ../src/guestfs-actions.pod:4481
30261 msgid "guestfs_luks_close"
30262 msgstr "guestfs_luks_close"
30263
30264 #. type: verbatim
30265 #: ../src/guestfs-actions.pod:4483
30266 #, no-wrap
30267 msgid ""
30268 " int\n"
30269 " guestfs_luks_close (guestfs_h *g,\n"
30270 "                     const char *device);\n"
30271 "\n"
30272 msgstr ""
30273 " int\n"
30274 " guestfs_luks_close (guestfs_h *g,\n"
30275 "                     const char *device);\n"
30276 "\n"
30277
30278 #. type: textblock
30279 #: ../src/guestfs-actions.pod:4487
30280 msgid ""
30281 "This closes a LUKS device that was created earlier by C<guestfs_luks_open> "
30282 "or C<guestfs_luks_open_ro>.  The C<device> parameter must be the name of the"
30283 " LUKS mapping device (ie. C</dev/mapper/mapname>) and I<not> the name of the"
30284 " underlying block device."
30285 msgstr ""
30286
30287 #. type: textblock
30288 #: ../src/guestfs-actions.pod:4495 ../src/guestfs-actions.pod:4597
30289 #: ../src/guestfs-actions.pod:4616 ../src/guestfs-actions.pod:4666
30290 #: ../src/guestfs-actions.pod:4714
30291 msgid "(Added in 1.5.1)"
30292 msgstr "(Додано у 1.5.1)"
30293
30294 #. type: =head2
30295 #: ../src/guestfs-actions.pod:4497
30296 msgid "guestfs_luks_format"
30297 msgstr "guestfs_luks_format"
30298
30299 #. type: verbatim
30300 #: ../src/guestfs-actions.pod:4499
30301 #, no-wrap
30302 msgid ""
30303 " int\n"
30304 " guestfs_luks_format (guestfs_h *g,\n"
30305 "                      const char *device,\n"
30306 "                      const char *key,\n"
30307 "                      int keyslot);\n"
30308 "\n"
30309 msgstr ""
30310 " int\n"
30311 " guestfs_luks_format (guestfs_h *g,\n"
30312 "                      const char *device,\n"
30313 "                      const char *key,\n"
30314 "                      int keyslot);\n"
30315 "\n"
30316
30317 #. type: =head2
30318 #: ../src/guestfs-actions.pod:4521
30319 msgid "guestfs_luks_format_cipher"
30320 msgstr "guestfs_luks_format_cipher"
30321
30322 #. type: verbatim
30323 #: ../src/guestfs-actions.pod:4523
30324 #, no-wrap
30325 msgid ""
30326 " int\n"
30327 " guestfs_luks_format_cipher (guestfs_h *g,\n"
30328 "                             const char *device,\n"
30329 "                             const char *key,\n"
30330 "                             int keyslot,\n"
30331 "                             const char *cipher);\n"
30332 "\n"
30333 msgstr ""
30334 " int\n"
30335 " guestfs_luks_format_cipher (guestfs_h *g,\n"
30336 "                             const char *device,\n"
30337 "                             const char *key,\n"
30338 "                             int keyslot,\n"
30339 "                             const char *cipher);\n"
30340 "\n"
30341
30342 #. type: textblock
30343 #: ../src/guestfs-actions.pod:4530
30344 msgid ""
30345 "This command is the same as C<guestfs_luks_format> but it also allows you to"
30346 " set the C<cipher> used."
30347 msgstr ""
30348
30349 #. type: =head2
30350 #: ../src/guestfs-actions.pod:4544
30351 msgid "guestfs_luks_kill_slot"
30352 msgstr "guestfs_luks_kill_slot"
30353
30354 #. type: verbatim
30355 #: ../src/guestfs-actions.pod:4546
30356 #, no-wrap
30357 msgid ""
30358 " int\n"
30359 " guestfs_luks_kill_slot (guestfs_h *g,\n"
30360 "                         const char *device,\n"
30361 "                         const char *key,\n"
30362 "                         int keyslot);\n"
30363 "\n"
30364 msgstr ""
30365 " int\n"
30366 " guestfs_luks_kill_slot (guestfs_h *g,\n"
30367 "                         const char *device,\n"
30368 "                         const char *key,\n"
30369 "                         int keyslot);\n"
30370 "\n"
30371
30372 #. type: =head2
30373 #: ../src/guestfs-actions.pod:4564
30374 msgid "guestfs_luks_open"
30375 msgstr "guestfs_luks_open"
30376
30377 #. type: verbatim
30378 #: ../src/guestfs-actions.pod:4566
30379 #, no-wrap
30380 msgid ""
30381 " int\n"
30382 " guestfs_luks_open (guestfs_h *g,\n"
30383 "                    const char *device,\n"
30384 "                    const char *key,\n"
30385 "                    const char *mapname);\n"
30386 "\n"
30387 msgstr ""
30388 " int\n"
30389 " guestfs_luks_open (guestfs_h *g,\n"
30390 "                    const char *device,\n"
30391 "                    const char *key,\n"
30392 "                    const char *mapname);\n"
30393 "\n"
30394
30395 #. type: textblock
30396 #: ../src/guestfs-actions.pod:4584
30397 msgid ""
30398 "If this block device contains LVM volume groups, then calling "
30399 "C<guestfs_vgscan> followed by C<guestfs_vg_activate_all> will make them "
30400 "visible."
30401 msgstr ""
30402
30403 #. type: textblock
30404 #: ../src/guestfs-actions.pod:4588
30405 msgid "Use C<guestfs_list_dm_devices> to list all device mapper devices."
30406 msgstr ""
30407
30408 #. type: =head2
30409 #: ../src/guestfs-actions.pod:4599
30410 msgid "guestfs_luks_open_ro"
30411 msgstr "guestfs_luks_open_ro"
30412
30413 #. type: verbatim
30414 #: ../src/guestfs-actions.pod:4601
30415 #, no-wrap
30416 msgid ""
30417 " int\n"
30418 " guestfs_luks_open_ro (guestfs_h *g,\n"
30419 "                       const char *device,\n"
30420 "                       const char *key,\n"
30421 "                       const char *mapname);\n"
30422 "\n"
30423 msgstr ""
30424 " int\n"
30425 " guestfs_luks_open_ro (guestfs_h *g,\n"
30426 "                       const char *device,\n"
30427 "                       const char *key,\n"
30428 "                       const char *mapname);\n"
30429 "\n"
30430
30431 #. type: textblock
30432 #: ../src/guestfs-actions.pod:4607
30433 msgid ""
30434 "This is the same as C<guestfs_luks_open> except that a read-only mapping is "
30435 "created."
30436 msgstr ""
30437
30438 #. type: =head2
30439 #: ../src/guestfs-actions.pod:4618
30440 msgid "guestfs_lvcreate"
30441 msgstr "guestfs_lvcreate"
30442
30443 #. type: verbatim
30444 #: ../src/guestfs-actions.pod:4620
30445 #, no-wrap
30446 msgid ""
30447 " int\n"
30448 " guestfs_lvcreate (guestfs_h *g,\n"
30449 "                   const char *logvol,\n"
30450 "                   const char *volgroup,\n"
30451 "                   int mbytes);\n"
30452 "\n"
30453 msgstr ""
30454 " int\n"
30455 " guestfs_lvcreate (guestfs_h *g,\n"
30456 "                   const char *logvol,\n"
30457 "                   const char *volgroup,\n"
30458 "                   int mbytes);\n"
30459 "\n"
30460
30461 #. type: =head2
30462 #: ../src/guestfs-actions.pod:4633
30463 msgid "guestfs_lvm_canonical_lv_name"
30464 msgstr "guestfs_lvm_canonical_lv_name"
30465
30466 #. type: verbatim
30467 #: ../src/guestfs-actions.pod:4635
30468 #, no-wrap
30469 msgid ""
30470 " char *\n"
30471 " guestfs_lvm_canonical_lv_name (guestfs_h *g,\n"
30472 "                                const char *lvname);\n"
30473 "\n"
30474 msgstr ""
30475 " char *\n"
30476 " guestfs_lvm_canonical_lv_name (guestfs_h *g,\n"
30477 "                                const char *lvname);\n"
30478 "\n"
30479
30480 #. type: textblock
30481 #: ../src/guestfs-actions.pod:4646
30482 msgid "See also C<guestfs_is_lv>."
30483 msgstr ""
30484
30485 #. type: textblock
30486 #: ../src/guestfs-actions.pod:4651
30487 msgid "(Added in 1.5.24)"
30488 msgstr "(Додано у 1.5.24)"
30489
30490 #. type: =head2
30491 #: ../src/guestfs-actions.pod:4653
30492 msgid "guestfs_lvm_clear_filter"
30493 msgstr "guestfs_lvm_clear_filter"
30494
30495 #. type: verbatim
30496 #: ../src/guestfs-actions.pod:4655
30497 #, no-wrap
30498 msgid ""
30499 " int\n"
30500 " guestfs_lvm_clear_filter (guestfs_h *g);\n"
30501 "\n"
30502 msgstr ""
30503 " int\n"
30504 " guestfs_lvm_clear_filter (guestfs_h *g);\n"
30505 "\n"
30506
30507 #. type: textblock
30508 #: ../src/guestfs-actions.pod:4658
30509 msgid ""
30510 "This undoes the effect of C<guestfs_lvm_set_filter>.  LVM will be able to "
30511 "see every block device."
30512 msgstr ""
30513
30514 #. type: =head2
30515 #: ../src/guestfs-actions.pod:4668
30516 msgid "guestfs_lvm_remove_all"
30517 msgstr "guestfs_lvm_remove_all"
30518
30519 #. type: verbatim
30520 #: ../src/guestfs-actions.pod:4670
30521 #, no-wrap
30522 msgid ""
30523 " int\n"
30524 " guestfs_lvm_remove_all (guestfs_h *g);\n"
30525 "\n"
30526 msgstr ""
30527 " int\n"
30528 " guestfs_lvm_remove_all (guestfs_h *g);\n"
30529 "\n"
30530
30531 #. type: =head2
30532 #: ../src/guestfs-actions.pod:4683
30533 msgid "guestfs_lvm_set_filter"
30534 msgstr "guestfs_lvm_set_filter"
30535
30536 #. type: verbatim
30537 #: ../src/guestfs-actions.pod:4685
30538 #, no-wrap
30539 msgid ""
30540 " int\n"
30541 " guestfs_lvm_set_filter (guestfs_h *g,\n"
30542 "                         char *const *devices);\n"
30543 "\n"
30544 msgstr ""
30545 " int\n"
30546 " guestfs_lvm_set_filter (guestfs_h *g,\n"
30547 "                         char *const *devices);\n"
30548 "\n"
30549
30550 #. type: =head2
30551 #: ../src/guestfs-actions.pod:4716
30552 msgid "guestfs_lvremove"
30553 msgstr "guestfs_lvremove"
30554
30555 #. type: verbatim
30556 #: ../src/guestfs-actions.pod:4718
30557 #, no-wrap
30558 msgid ""
30559 " int\n"
30560 " guestfs_lvremove (guestfs_h *g,\n"
30561 "                   const char *device);\n"
30562 "\n"
30563 msgstr ""
30564 " int\n"
30565 " guestfs_lvremove (guestfs_h *g,\n"
30566 "                   const char *device);\n"
30567 "\n"
30568
30569 #. type: textblock
30570 #: ../src/guestfs-actions.pod:4730 ../src/guestfs-actions.pod:6141
30571 #: ../src/guestfs-actions.pod:7991
30572 msgid "(Added in 1.0.13)"
30573 msgstr "(Додано у 1.0.13)"
30574
30575 #. type: =head2
30576 #: ../src/guestfs-actions.pod:4732
30577 msgid "guestfs_lvrename"
30578 msgstr "guestfs_lvrename"
30579
30580 #. type: verbatim
30581 #: ../src/guestfs-actions.pod:4734
30582 #, no-wrap
30583 msgid ""
30584 " int\n"
30585 " guestfs_lvrename (guestfs_h *g,\n"
30586 "                   const char *logvol,\n"
30587 "                   const char *newlogvol);\n"
30588 "\n"
30589 msgstr ""
30590 " int\n"
30591 " guestfs_lvrename (guestfs_h *g,\n"
30592 "                   const char *logvol,\n"
30593 "                   const char *newlogvol);\n"
30594 "\n"
30595
30596 #. type: textblock
30597 #: ../src/guestfs-actions.pod:4743 ../src/guestfs-actions.pod:8004
30598 msgid "(Added in 1.0.83)"
30599 msgstr "(Додано у 1.0.83)"
30600
30601 #. type: =head2
30602 #: ../src/guestfs-actions.pod:4745
30603 msgid "guestfs_lvresize"
30604 msgstr "guestfs_lvresize"
30605
30606 #. type: verbatim
30607 #: ../src/guestfs-actions.pod:4747
30608 #, no-wrap
30609 msgid ""
30610 " int\n"
30611 " guestfs_lvresize (guestfs_h *g,\n"
30612 "                   const char *device,\n"
30613 "                   int mbytes);\n"
30614 "\n"
30615 msgstr ""
30616 " int\n"
30617 " guestfs_lvresize (guestfs_h *g,\n"
30618 "                   const char *device,\n"
30619 "                   int mbytes);\n"
30620 "\n"
30621
30622 #. type: =head2
30623 #: ../src/guestfs-actions.pod:4760
30624 msgid "guestfs_lvresize_free"
30625 msgstr "guestfs_lvresize_free"
30626
30627 #. type: verbatim
30628 #: ../src/guestfs-actions.pod:4762
30629 #, no-wrap
30630 msgid ""
30631 " int\n"
30632 " guestfs_lvresize_free (guestfs_h *g,\n"
30633 "                        const char *lv,\n"
30634 "                        int percent);\n"
30635 "\n"
30636 msgstr ""
30637 " int\n"
30638 " guestfs_lvresize_free (guestfs_h *g,\n"
30639 "                        const char *lv,\n"
30640 "                        int percent);\n"
30641 "\n"
30642
30643 #. type: textblock
30644 #: ../src/guestfs-actions.pod:4775
30645 msgid "(Added in 1.3.3)"
30646 msgstr "(Додано у 1.3.3)"
30647
30648 #. type: =head2
30649 #: ../src/guestfs-actions.pod:4777
30650 msgid "guestfs_lvs"
30651 msgstr "guestfs_lvs"
30652
30653 #. type: verbatim
30654 #: ../src/guestfs-actions.pod:4779
30655 #, no-wrap
30656 msgid ""
30657 " char **\n"
30658 " guestfs_lvs (guestfs_h *g);\n"
30659 "\n"
30660 msgstr ""
30661 " char **\n"
30662 " guestfs_lvs (guestfs_h *g);\n"
30663 "\n"
30664
30665 #. type: textblock
30666 #: ../src/guestfs-actions.pod:4788
30667 msgid "See also C<guestfs_lvs_full>, C<guestfs_list_filesystems>."
30668 msgstr ""
30669
30670 #. type: =head2
30671 #: ../src/guestfs-actions.pod:4796
30672 msgid "guestfs_lvs_full"
30673 msgstr "guestfs_lvs_full"
30674
30675 #. type: verbatim
30676 #: ../src/guestfs-actions.pod:4798
30677 #, no-wrap
30678 msgid ""
30679 " struct guestfs_lvm_lv_list *\n"
30680 " guestfs_lvs_full (guestfs_h *g);\n"
30681 "\n"
30682 msgstr ""
30683 " struct guestfs_lvm_lv_list *\n"
30684 " guestfs_lvs_full (guestfs_h *g);\n"
30685 "\n"
30686
30687 #. type: textblock
30688 #: ../src/guestfs-actions.pod:4804
30689 msgid ""
30690 "This function returns a C<struct guestfs_lvm_lv_list *>, or NULL if there "
30691 "was an error.  I<The caller must call C<guestfs_free_lvm_lv_list> after "
30692 "use>."
30693 msgstr ""
30694
30695 #. type: =head2
30696 #: ../src/guestfs-actions.pod:4810
30697 msgid "guestfs_lvuuid"
30698 msgstr "guestfs_lvuuid"
30699
30700 #. type: verbatim
30701 #: ../src/guestfs-actions.pod:4812
30702 #, no-wrap
30703 msgid ""
30704 " char *\n"
30705 " guestfs_lvuuid (guestfs_h *g,\n"
30706 "                 const char *device);\n"
30707 "\n"
30708 msgstr ""
30709 " char *\n"
30710 " guestfs_lvuuid (guestfs_h *g,\n"
30711 "                 const char *device);\n"
30712 "\n"
30713
30714 #. type: =head2
30715 #: ../src/guestfs-actions.pod:4823
30716 msgid "guestfs_lxattrlist"
30717 msgstr "guestfs_lxattrlist"
30718
30719 #. type: verbatim
30720 #: ../src/guestfs-actions.pod:4825
30721 #, no-wrap
30722 msgid ""
30723 " struct guestfs_xattr_list *\n"
30724 " guestfs_lxattrlist (guestfs_h *g,\n"
30725 "                     const char *path,\n"
30726 "                     char *const *names);\n"
30727 "\n"
30728 msgstr ""
30729 " struct guestfs_xattr_list *\n"
30730 " guestfs_lxattrlist (guestfs_h *g,\n"
30731 "                     const char *path,\n"
30732 "                     char *const *names);\n"
30733 "\n"
30734
30735 #. type: textblock
30736 #: ../src/guestfs-actions.pod:4844
30737 msgid ""
30738 "This call is intended for programs that want to efficiently list a directory"
30739 " contents without making many round-trips.  See also C<guestfs_lstatlist> "
30740 "for a similarly efficient call for getting standard stats.  Very long "
30741 "directory listings might cause the protocol message size to be exceeded, "
30742 "causing this call to fail.  The caller must split up such requests into "
30743 "smaller groups of names."
30744 msgstr ""
30745
30746 #. type: =head2
30747 #: ../src/guestfs-actions.pod:4858
30748 msgid "guestfs_mkdir"
30749 msgstr "guestfs_mkdir"
30750
30751 #. type: verbatim
30752 #: ../src/guestfs-actions.pod:4860
30753 #, no-wrap
30754 msgid ""
30755 " int\n"
30756 " guestfs_mkdir (guestfs_h *g,\n"
30757 "                const char *path);\n"
30758 "\n"
30759 msgstr ""
30760 " int\n"
30761 " guestfs_mkdir (guestfs_h *g,\n"
30762 "                const char *path);\n"
30763 "\n"
30764
30765 #. type: =head2
30766 #: ../src/guestfs-actions.pod:4870
30767 msgid "guestfs_mkdir_mode"
30768 msgstr "guestfs_mkdir_mode"
30769
30770 #. type: verbatim
30771 #: ../src/guestfs-actions.pod:4872
30772 #, no-wrap
30773 msgid ""
30774 " int\n"
30775 " guestfs_mkdir_mode (guestfs_h *g,\n"
30776 "                     const char *path,\n"
30777 "                     int mode);\n"
30778 "\n"
30779 msgstr ""
30780 " int\n"
30781 " guestfs_mkdir_mode (guestfs_h *g,\n"
30782 "                     const char *path,\n"
30783 "                     int mode);\n"
30784 "\n"
30785
30786 #. type: textblock
30787 #: ../src/guestfs-actions.pod:4884
30788 msgid "See also C<guestfs_mkdir>, C<guestfs_umask>"
30789 msgstr ""
30790
30791 #. type: =head2
30792 #: ../src/guestfs-actions.pod:4890
30793 msgid "guestfs_mkdir_p"
30794 msgstr "guestfs_mkdir_p"
30795
30796 #. type: verbatim
30797 #: ../src/guestfs-actions.pod:4892
30798 #, no-wrap
30799 msgid ""
30800 " int\n"
30801 " guestfs_mkdir_p (guestfs_h *g,\n"
30802 "                  const char *path);\n"
30803 "\n"
30804 msgstr ""
30805 " int\n"
30806 " guestfs_mkdir_p (guestfs_h *g,\n"
30807 "                  const char *path);\n"
30808 "\n"
30809
30810 #. type: =head2
30811 #: ../src/guestfs-actions.pod:4903
30812 msgid "guestfs_mkdtemp"
30813 msgstr "guestfs_mkdtemp"
30814
30815 #. type: verbatim
30816 #: ../src/guestfs-actions.pod:4905
30817 #, no-wrap
30818 msgid ""
30819 " char *\n"
30820 " guestfs_mkdtemp (guestfs_h *g,\n"
30821 "                  const char *template);\n"
30822 "\n"
30823 msgstr ""
30824 " char *\n"
30825 " guestfs_mkdtemp (guestfs_h *g,\n"
30826 "                  const char *template);\n"
30827 "\n"
30828
30829 #. type: =head2
30830 #: ../src/guestfs-actions.pod:4933
30831 msgid "guestfs_mke2fs_J"
30832 msgstr "guestfs_mke2fs_J"
30833
30834 #. type: verbatim
30835 #: ../src/guestfs-actions.pod:4935
30836 #, no-wrap
30837 msgid ""
30838 " int\n"
30839 " guestfs_mke2fs_J (guestfs_h *g,\n"
30840 "                   const char *fstype,\n"
30841 "                   int blocksize,\n"
30842 "                   const char *device,\n"
30843 "                   const char *journal);\n"
30844 "\n"
30845 msgstr ""
30846 " int\n"
30847 " guestfs_mke2fs_J (guestfs_h *g,\n"
30848 "                   const char *fstype,\n"
30849 "                   int blocksize,\n"
30850 "                   const char *device,\n"
30851 "                   const char *journal);\n"
30852 "\n"
30853
30854 #. type: textblock
30855 #: ../src/guestfs-actions.pod:4948
30856 msgid "See also C<guestfs_mke2journal>."
30857 msgstr ""
30858
30859 #. type: textblock
30860 #: ../src/guestfs-actions.pod:4952 ../src/guestfs-actions.pod:4970
30861 #: ../src/guestfs-actions.pod:4988 ../src/guestfs-actions.pod:5004
30862 #: ../src/guestfs-actions.pod:5018 ../src/guestfs-actions.pod:5032
30863 #: ../src/guestfs-actions.pod:5091 ../src/guestfs-actions.pod:5368
30864 msgid "(Added in 1.0.68)"
30865 msgstr "(Додано у 1.0.68)"
30866
30867 #. type: =head2
30868 #: ../src/guestfs-actions.pod:4954
30869 msgid "guestfs_mke2fs_JL"
30870 msgstr "guestfs_mke2fs_JL"
30871
30872 #. type: verbatim
30873 #: ../src/guestfs-actions.pod:4956
30874 #, no-wrap
30875 msgid ""
30876 " int\n"
30877 " guestfs_mke2fs_JL (guestfs_h *g,\n"
30878 "                    const char *fstype,\n"
30879 "                    int blocksize,\n"
30880 "                    const char *device,\n"
30881 "                    const char *label);\n"
30882 "\n"
30883 msgstr ""
30884 " int\n"
30885 " guestfs_mke2fs_JL (guestfs_h *g,\n"
30886 "                    const char *fstype,\n"
30887 "                    int blocksize,\n"
30888 "                    const char *device,\n"
30889 "                    const char *label);\n"
30890 "\n"
30891
30892 #. type: textblock
30893 #: ../src/guestfs-actions.pod:4966
30894 msgid "See also C<guestfs_mke2journal_L>."
30895 msgstr ""
30896
30897 #. type: =head2
30898 #: ../src/guestfs-actions.pod:4972
30899 msgid "guestfs_mke2fs_JU"
30900 msgstr "guestfs_mke2fs_JU"
30901
30902 #. type: verbatim
30903 #: ../src/guestfs-actions.pod:4974
30904 #, no-wrap
30905 msgid ""
30906 " int\n"
30907 " guestfs_mke2fs_JU (guestfs_h *g,\n"
30908 "                    const char *fstype,\n"
30909 "                    int blocksize,\n"
30910 "                    const char *device,\n"
30911 "                    const char *uuid);\n"
30912 "\n"
30913 msgstr ""
30914 " int\n"
30915 " guestfs_mke2fs_JU (guestfs_h *g,\n"
30916 "                    const char *fstype,\n"
30917 "                    int blocksize,\n"
30918 "                    const char *device,\n"
30919 "                    const char *uuid);\n"
30920 "\n"
30921
30922 #. type: textblock
30923 #: ../src/guestfs-actions.pod:4984
30924 msgid "See also C<guestfs_mke2journal_U>."
30925 msgstr ""
30926
30927 #. type: =head2
30928 #: ../src/guestfs-actions.pod:4990
30929 msgid "guestfs_mke2journal"
30930 msgstr "guestfs_mke2journal"
30931
30932 #. type: verbatim
30933 #: ../src/guestfs-actions.pod:4992
30934 #, no-wrap
30935 msgid ""
30936 " int\n"
30937 " guestfs_mke2journal (guestfs_h *g,\n"
30938 "                      int blocksize,\n"
30939 "                      const char *device);\n"
30940 "\n"
30941 msgstr ""
30942 " int\n"
30943 " guestfs_mke2journal (guestfs_h *g,\n"
30944 "                      int blocksize,\n"
30945 "                      const char *device);\n"
30946 "\n"
30947
30948 #. type: =head2
30949 #: ../src/guestfs-actions.pod:5006
30950 msgid "guestfs_mke2journal_L"
30951 msgstr "guestfs_mke2journal_L"
30952
30953 #. type: verbatim
30954 #: ../src/guestfs-actions.pod:5008
30955 #, no-wrap
30956 msgid ""
30957 " int\n"
30958 " guestfs_mke2journal_L (guestfs_h *g,\n"
30959 "                        int blocksize,\n"
30960 "                        const char *label,\n"
30961 "                        const char *device);\n"
30962 "\n"
30963 msgstr ""
30964 " int\n"
30965 " guestfs_mke2journal_L (guestfs_h *g,\n"
30966 "                        int blocksize,\n"
30967 "                        const char *label,\n"
30968 "                        const char *device);\n"
30969 "\n"
30970
30971 #. type: =head2
30972 #: ../src/guestfs-actions.pod:5020
30973 msgid "guestfs_mke2journal_U"
30974 msgstr "guestfs_mke2journal_U"
30975
30976 #. type: verbatim
30977 #: ../src/guestfs-actions.pod:5022
30978 #, no-wrap
30979 msgid ""
30980 " int\n"
30981 " guestfs_mke2journal_U (guestfs_h *g,\n"
30982 "                        int blocksize,\n"
30983 "                        const char *uuid,\n"
30984 "                        const char *device);\n"
30985 "\n"
30986 msgstr ""
30987 " int\n"
30988 " guestfs_mke2journal_U (guestfs_h *g,\n"
30989 "                        int blocksize,\n"
30990 "                        const char *uuid,\n"
30991 "                        const char *device);\n"
30992 "\n"
30993
30994 #. type: =head2
30995 #: ../src/guestfs-actions.pod:5034
30996 msgid "guestfs_mkfifo"
30997 msgstr "guestfs_mkfifo"
30998
30999 #. type: verbatim
31000 #: ../src/guestfs-actions.pod:5036
31001 #, no-wrap
31002 msgid ""
31003 " int\n"
31004 " guestfs_mkfifo (guestfs_h *g,\n"
31005 "                 int mode,\n"
31006 "                 const char *path);\n"
31007 "\n"
31008 msgstr ""
31009 " int\n"
31010 " guestfs_mkfifo (guestfs_h *g,\n"
31011 "                 int mode,\n"
31012 "                 const char *path);\n"
31013 "\n"
31014
31015 #. type: textblock
31016 #: ../src/guestfs-actions.pod:5041
31017 msgid ""
31018 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
31019 "is just a convenient wrapper around C<guestfs_mknod>."
31020 msgstr ""
31021
31022 #. type: =head2
31023 #: ../src/guestfs-actions.pod:5051
31024 msgid "guestfs_mkfs"
31025 msgstr "guestfs_mkfs"
31026
31027 #. type: verbatim
31028 #: ../src/guestfs-actions.pod:5053
31029 #, no-wrap
31030 msgid ""
31031 " int\n"
31032 " guestfs_mkfs (guestfs_h *g,\n"
31033 "               const char *fstype,\n"
31034 "               const char *device);\n"
31035 "\n"
31036 msgstr ""
31037 " int\n"
31038 " guestfs_mkfs (guestfs_h *g,\n"
31039 "               const char *fstype,\n"
31040 "               const char *device);\n"
31041 "\n"
31042
31043 #. type: =head2
31044 #: ../src/guestfs-actions.pod:5066
31045 msgid "guestfs_mkfs_b"
31046 msgstr "guestfs_mkfs_b"
31047
31048 #. type: verbatim
31049 #: ../src/guestfs-actions.pod:5068
31050 #, no-wrap
31051 msgid ""
31052 " int\n"
31053 " guestfs_mkfs_b (guestfs_h *g,\n"
31054 "                 const char *fstype,\n"
31055 "                 int blocksize,\n"
31056 "                 const char *device);\n"
31057 "\n"
31058 msgstr ""
31059 " int\n"
31060 " guestfs_mkfs_b (guestfs_h *g,\n"
31061 "                 const char *fstype,\n"
31062 "                 int blocksize,\n"
31063 "                 const char *device);\n"
31064 "\n"
31065
31066 #. type: textblock
31067 #: ../src/guestfs-actions.pod:5074
31068 msgid ""
31069 "I<This function is deprecated.> In new code, use the L</guestfs_mkfs_opts> "
31070 "call instead."
31071 msgstr ""
31072
31073 #. type: textblock
31074 #: ../src/guestfs-actions.pod:5081
31075 msgid ""
31076 "This call is similar to C<guestfs_mkfs>, but it allows you to control the "
31077 "block size of the resulting filesystem.  Supported block sizes depend on the"
31078 " filesystem type, but typically they are C<1024>, C<2048> or C<4096> only."
31079 msgstr ""
31080
31081 #. type: =head2
31082 #: ../src/guestfs-actions.pod:5093
31083 msgid "guestfs_mkfs_opts"
31084 msgstr "guestfs_mkfs_opts"
31085
31086 #. type: verbatim
31087 #: ../src/guestfs-actions.pod:5095
31088 #, no-wrap
31089 msgid ""
31090 " int\n"
31091 " guestfs_mkfs_opts (guestfs_h *g,\n"
31092 "                    const char *fstype,\n"
31093 "                    const char *device,\n"
31094 "                    ...);\n"
31095 "\n"
31096 msgstr ""
31097 " int\n"
31098 " guestfs_mkfs_opts (guestfs_h *g,\n"
31099 "                    const char *fstype,\n"
31100 "                    const char *device,\n"
31101 "                    ...);\n"
31102 "\n"
31103
31104 #. type: verbatim
31105 #: ../src/guestfs-actions.pod:5106
31106 #, no-wrap
31107 msgid ""
31108 " GUESTFS_MKFS_OPTS_BLOCKSIZE, int blocksize,\n"
31109 " GUESTFS_MKFS_OPTS_FEATURES, const char *features,\n"
31110 " GUESTFS_MKFS_OPTS_INODE, int inode,\n"
31111 " GUESTFS_MKFS_OPTS_SECTORSIZE, int sectorsize,\n"
31112 "\n"
31113 msgstr ""
31114
31115 #. type: textblock
31116 #: ../src/guestfs-actions.pod:5154
31117 msgid "(Added in 1.7.19)"
31118 msgstr "(Додано у 1.7.19)"
31119
31120 #. type: =head2
31121 #: ../src/guestfs-actions.pod:5156
31122 msgid "guestfs_mkfs_opts_va"
31123 msgstr "guestfs_mkfs_opts_va"
31124
31125 #. type: verbatim
31126 #: ../src/guestfs-actions.pod:5158
31127 #, no-wrap
31128 msgid ""
31129 " int\n"
31130 " guestfs_mkfs_opts_va (guestfs_h *g,\n"
31131 "                       const char *fstype,\n"
31132 "                       const char *device,\n"
31133 "                       va_list args);\n"
31134 "\n"
31135 msgstr ""
31136 " int\n"
31137 " guestfs_mkfs_opts_va (guestfs_h *g,\n"
31138 "                       const char *fstype,\n"
31139 "                       const char *device,\n"
31140 "                       va_list args);\n"
31141 "\n"
31142
31143 #. type: textblock
31144 #: ../src/guestfs-actions.pod:5164
31145 msgid "This is the \"va_list variant\" of L</guestfs_mkfs_opts>."
31146 msgstr ""
31147
31148 #. type: =head2
31149 #: ../src/guestfs-actions.pod:5168
31150 msgid "guestfs_mkfs_opts_argv"
31151 msgstr "guestfs_mkfs_opts_argv"
31152
31153 #. type: verbatim
31154 #: ../src/guestfs-actions.pod:5170
31155 #, no-wrap
31156 msgid ""
31157 " int\n"
31158 " guestfs_mkfs_opts_argv (guestfs_h *g,\n"
31159 "                         const char *fstype,\n"
31160 "                         const char *device,\n"
31161 "                         const struct guestfs_mkfs_opts_argv *optargs);\n"
31162 "\n"
31163 msgstr ""
31164 " int\n"
31165 " guestfs_mkfs_opts_argv (guestfs_h *g,\n"
31166 "                         const char *fstype,\n"
31167 "                         const char *device,\n"
31168 "                         const struct guestfs_mkfs_opts_argv *optargs);\n"
31169 "\n"
31170
31171 #. type: textblock
31172 #: ../src/guestfs-actions.pod:5176
31173 msgid "This is the \"argv variant\" of L</guestfs_mkfs_opts>."
31174 msgstr ""
31175
31176 #. type: =head2
31177 #: ../src/guestfs-actions.pod:5180
31178 msgid "guestfs_mkmountpoint"
31179 msgstr "guestfs_mkmountpoint"
31180
31181 #. type: verbatim
31182 #: ../src/guestfs-actions.pod:5182
31183 #, no-wrap
31184 msgid ""
31185 " int\n"
31186 " guestfs_mkmountpoint (guestfs_h *g,\n"
31187 "                       const char *exemptpath);\n"
31188 "\n"
31189 msgstr ""
31190 " int\n"
31191 " guestfs_mkmountpoint (guestfs_h *g,\n"
31192 "                       const char *exemptpath);\n"
31193 "\n"
31194
31195 #. type: textblock
31196 #: ../src/guestfs-actions.pod:5186
31197 msgid ""
31198 "C<guestfs_mkmountpoint> and C<guestfs_rmmountpoint> are specialized calls "
31199 "that can be used to create extra mountpoints before mounting the first "
31200 "filesystem."
31201 msgstr ""
31202
31203 #. type: textblock
31204 #: ../src/guestfs-actions.pod:5210
31205 msgid ""
31206 "C<guestfs_mkmountpoint> is not compatible with C<guestfs_umount_all>.  You "
31207 "may get unexpected errors if you try to mix these calls.  It is safest to "
31208 "manually unmount filesystems and remove mountpoints after use."
31209 msgstr ""
31210
31211 #. type: textblock
31212 #: ../src/guestfs-actions.pod:5214
31213 msgid ""
31214 "C<guestfs_umount_all> unmounts filesystems by sorting the paths longest "
31215 "first, so for this to work for manual mountpoints, you must ensure that the "
31216 "innermost mountpoints have the longest pathnames, as in the example code "
31217 "above."
31218 msgstr ""
31219
31220 #. type: textblock
31221 #: ../src/guestfs-actions.pod:5221
31222 msgid ""
31223 "Autosync [see C<guestfs_set_autosync>, this is set by default on handles] "
31224 "can cause C<guestfs_umount_all> to be called when the handle is closed which"
31225 " can also trigger these issues."
31226 msgstr ""
31227
31228 #. type: textblock
31229 #: ../src/guestfs-actions.pod:5227 ../src/guestfs-actions.pod:5533
31230 #: ../src/guestfs-actions.pod:6561
31231 msgid "(Added in 1.0.62)"
31232 msgstr "(Додано у 1.0.62)"
31233
31234 #. type: =head2
31235 #: ../src/guestfs-actions.pod:5229
31236 msgid "guestfs_mknod"
31237 msgstr ""
31238
31239 #. type: verbatim
31240 #: ../src/guestfs-actions.pod:5231
31241 #, no-wrap
31242 msgid ""
31243 " int\n"
31244 " guestfs_mknod (guestfs_h *g,\n"
31245 "                int mode,\n"
31246 "                int devmajor,\n"
31247 "                int devminor,\n"
31248 "                const char *path);\n"
31249 "\n"
31250 msgstr ""
31251
31252 #. type: textblock
31253 #: ../src/guestfs-actions.pod:5246
31254 msgid ""
31255 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
31256 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
31257 "regular file).  These constants are available in the standard Linux header "
31258 "files, or you can use C<guestfs_mknod_b>, C<guestfs_mknod_c> or "
31259 "C<guestfs_mkfifo> which are wrappers around this command which bitwise OR in"
31260 " the appropriate constant for you."
31261 msgstr ""
31262
31263 #. type: =head2
31264 #: ../src/guestfs-actions.pod:5260
31265 msgid "guestfs_mknod_b"
31266 msgstr ""
31267
31268 #. type: verbatim
31269 #: ../src/guestfs-actions.pod:5262
31270 #, no-wrap
31271 msgid ""
31272 " int\n"
31273 " guestfs_mknod_b (guestfs_h *g,\n"
31274 "                  int mode,\n"
31275 "                  int devmajor,\n"
31276 "                  int devminor,\n"
31277 "                  const char *path);\n"
31278 "\n"
31279 msgstr ""
31280
31281 #. type: textblock
31282 #: ../src/guestfs-actions.pod:5269
31283 msgid ""
31284 "This call creates a block device node called C<path> with mode C<mode> and "
31285 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
31286 "wrapper around C<guestfs_mknod>."
31287 msgstr ""
31288
31289 #. type: =head2
31290 #: ../src/guestfs-actions.pod:5279
31291 msgid "guestfs_mknod_c"
31292 msgstr ""
31293
31294 #. type: verbatim
31295 #: ../src/guestfs-actions.pod:5281
31296 #, no-wrap
31297 msgid ""
31298 " int\n"
31299 " guestfs_mknod_c (guestfs_h *g,\n"
31300 "                  int mode,\n"
31301 "                  int devmajor,\n"
31302 "                  int devminor,\n"
31303 "                  const char *path);\n"
31304 "\n"
31305 msgstr ""
31306
31307 #. type: textblock
31308 #: ../src/guestfs-actions.pod:5288
31309 msgid ""
31310 "This call creates a char device node called C<path> with mode C<mode> and "
31311 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
31312 "wrapper around C<guestfs_mknod>."
31313 msgstr ""
31314
31315 #. type: =head2
31316 #: ../src/guestfs-actions.pod:5298
31317 msgid "guestfs_mkswap"
31318 msgstr ""
31319
31320 #. type: verbatim
31321 #: ../src/guestfs-actions.pod:5300
31322 #, no-wrap
31323 msgid ""
31324 " int\n"
31325 " guestfs_mkswap (guestfs_h *g,\n"
31326 "                 const char *device);\n"
31327 "\n"
31328 msgstr ""
31329
31330 #. type: =head2
31331 #: ../src/guestfs-actions.pod:5310
31332 msgid "guestfs_mkswap_L"
31333 msgstr ""
31334
31335 #. type: verbatim
31336 #: ../src/guestfs-actions.pod:5312
31337 #, no-wrap
31338 msgid ""
31339 " int\n"
31340 " guestfs_mkswap_L (guestfs_h *g,\n"
31341 "                   const char *label,\n"
31342 "                   const char *device);\n"
31343 "\n"
31344 msgstr ""
31345
31346 #. type: =head2
31347 #: ../src/guestfs-actions.pod:5327
31348 msgid "guestfs_mkswap_U"
31349 msgstr ""
31350
31351 #. type: verbatim
31352 #: ../src/guestfs-actions.pod:5329
31353 #, no-wrap
31354 msgid ""
31355 " int\n"
31356 " guestfs_mkswap_U (guestfs_h *g,\n"
31357 "                   const char *uuid,\n"
31358 "                   const char *device);\n"
31359 "\n"
31360 msgstr ""
31361
31362 #. type: =head2
31363 #: ../src/guestfs-actions.pod:5340
31364 msgid "guestfs_mkswap_file"
31365 msgstr ""
31366
31367 #. type: verbatim
31368 #: ../src/guestfs-actions.pod:5342
31369 #, no-wrap
31370 msgid ""
31371 " int\n"
31372 " guestfs_mkswap_file (guestfs_h *g,\n"
31373 "                      const char *path);\n"
31374 "\n"
31375 msgstr ""
31376
31377 #. type: textblock
31378 #: ../src/guestfs-actions.pod:5348
31379 msgid ""
31380 "This command just writes a swap file signature to an existing file.  To "
31381 "create the file itself, use something like C<guestfs_fallocate>."
31382 msgstr ""
31383
31384 #. type: =head2
31385 #: ../src/guestfs-actions.pod:5355
31386 msgid "guestfs_modprobe"
31387 msgstr ""
31388
31389 #. type: verbatim
31390 #: ../src/guestfs-actions.pod:5357
31391 #, no-wrap
31392 msgid ""
31393 " int\n"
31394 " guestfs_modprobe (guestfs_h *g,\n"
31395 "                   const char *modulename);\n"
31396 "\n"
31397 msgstr ""
31398
31399 #. type: =head2
31400 #: ../src/guestfs-actions.pod:5370
31401 msgid "guestfs_mount"
31402 msgstr ""
31403
31404 #. type: verbatim
31405 #: ../src/guestfs-actions.pod:5372
31406 #, no-wrap
31407 msgid ""
31408 " int\n"
31409 " guestfs_mount (guestfs_h *g,\n"
31410 "                const char *device,\n"
31411 "                const char *mountpoint);\n"
31412 "\n"
31413 msgstr ""
31414
31415 #. type: textblock
31416 #: ../src/guestfs-actions.pod:5391
31417 msgid ""
31418 "Before libguestfs 1.13.16, this call implicitly added the options C<sync> "
31419 "and C<noatime>.  The C<sync> option greatly slowed writes and caused many "
31420 "problems for users.  If your program might need to work with older versions "
31421 "of libguestfs, use C<guestfs_mount_options> instead (using an empty string "
31422 "for the first parameter if you don't want any options)."
31423 msgstr ""
31424
31425 #. type: =head2
31426 #: ../src/guestfs-actions.pod:5402
31427 msgid "guestfs_mount_9p"
31428 msgstr ""
31429
31430 #. type: verbatim
31431 #: ../src/guestfs-actions.pod:5404
31432 #, no-wrap
31433 msgid ""
31434 " int\n"
31435 " guestfs_mount_9p (guestfs_h *g,\n"
31436 "                   const char *mounttag,\n"
31437 "                   const char *mountpoint,\n"
31438 "                   ...);\n"
31439 "\n"
31440 msgstr ""
31441
31442 #. type: verbatim
31443 #: ../src/guestfs-actions.pod:5415
31444 #, no-wrap
31445 msgid ""
31446 " GUESTFS_MOUNT_9P_OPTIONS, const char *options,\n"
31447 "\n"
31448 msgstr ""
31449
31450 #. type: =head2
31451 #: ../src/guestfs-actions.pod:5428
31452 msgid "guestfs_mount_9p_va"
31453 msgstr ""
31454
31455 #. type: verbatim
31456 #: ../src/guestfs-actions.pod:5430
31457 #, no-wrap
31458 msgid ""
31459 " int\n"
31460 " guestfs_mount_9p_va (guestfs_h *g,\n"
31461 "                      const char *mounttag,\n"
31462 "                      const char *mountpoint,\n"
31463 "                      va_list args);\n"
31464 "\n"
31465 msgstr ""
31466
31467 #. type: textblock
31468 #: ../src/guestfs-actions.pod:5436
31469 msgid "This is the \"va_list variant\" of L</guestfs_mount_9p>."
31470 msgstr ""
31471
31472 #. type: =head2
31473 #: ../src/guestfs-actions.pod:5440
31474 msgid "guestfs_mount_9p_argv"
31475 msgstr ""
31476
31477 #. type: verbatim
31478 #: ../src/guestfs-actions.pod:5442
31479 #, no-wrap
31480 msgid ""
31481 " int\n"
31482 " guestfs_mount_9p_argv (guestfs_h *g,\n"
31483 "                        const char *mounttag,\n"
31484 "                        const char *mountpoint,\n"
31485 "                        const struct guestfs_mount_9p_argv *optargs);\n"
31486 "\n"
31487 msgstr ""
31488
31489 #. type: textblock
31490 #: ../src/guestfs-actions.pod:5448
31491 msgid "This is the \"argv variant\" of L</guestfs_mount_9p>."
31492 msgstr ""
31493
31494 #. type: =head2
31495 #: ../src/guestfs-actions.pod:5452
31496 msgid "guestfs_mount_loop"
31497 msgstr ""
31498
31499 #. type: verbatim
31500 #: ../src/guestfs-actions.pod:5454
31501 #, no-wrap
31502 msgid ""
31503 " int\n"
31504 " guestfs_mount_loop (guestfs_h *g,\n"
31505 "                     const char *file,\n"
31506 "                     const char *mountpoint);\n"
31507 "\n"
31508 msgstr ""
31509
31510 #. type: =head2
31511 #: ../src/guestfs-actions.pod:5467
31512 msgid "guestfs_mount_options"
31513 msgstr ""
31514
31515 #. type: verbatim
31516 #: ../src/guestfs-actions.pod:5469
31517 #, no-wrap
31518 msgid ""
31519 " int\n"
31520 " guestfs_mount_options (guestfs_h *g,\n"
31521 "                        const char *options,\n"
31522 "                        const char *device,\n"
31523 "                        const char *mountpoint);\n"
31524 "\n"
31525 msgstr ""
31526
31527 #. type: textblock
31528 #: ../src/guestfs-actions.pod:5475
31529 msgid ""
31530 "This is the same as the C<guestfs_mount> command, but it allows you to set "
31531 "the mount options as for the L<mount(8)> I<-o> flag."
31532 msgstr ""
31533
31534 #. type: textblock
31535 #: ../src/guestfs-actions.pod:5485 ../src/guestfs-actions.pod:5499
31536 #: ../src/guestfs-actions.pod:5516
31537 msgid "(Added in 1.0.10)"
31538 msgstr "(Додано у 1.0.10)"
31539
31540 #. type: =head2
31541 #: ../src/guestfs-actions.pod:5487
31542 msgid "guestfs_mount_ro"
31543 msgstr ""
31544
31545 #. type: verbatim
31546 #: ../src/guestfs-actions.pod:5489
31547 #, no-wrap
31548 msgid ""
31549 " int\n"
31550 " guestfs_mount_ro (guestfs_h *g,\n"
31551 "                   const char *device,\n"
31552 "                   const char *mountpoint);\n"
31553 "\n"
31554 msgstr ""
31555
31556 #. type: textblock
31557 #: ../src/guestfs-actions.pod:5494
31558 msgid ""
31559 "This is the same as the C<guestfs_mount> command, but it mounts the "
31560 "filesystem with the read-only (I<-o ro>) flag."
31561 msgstr ""
31562
31563 #. type: =head2
31564 #: ../src/guestfs-actions.pod:5501
31565 msgid "guestfs_mount_vfs"
31566 msgstr ""
31567
31568 #. type: verbatim
31569 #: ../src/guestfs-actions.pod:5503
31570 #, no-wrap
31571 msgid ""
31572 " int\n"
31573 " guestfs_mount_vfs (guestfs_h *g,\n"
31574 "                    const char *options,\n"
31575 "                    const char *vfstype,\n"
31576 "                    const char *device,\n"
31577 "                    const char *mountpoint);\n"
31578 "\n"
31579 msgstr ""
31580
31581 #. type: textblock
31582 #: ../src/guestfs-actions.pod:5510
31583 msgid ""
31584 "This is the same as the C<guestfs_mount> command, but it allows you to set "
31585 "both the mount options and the vfstype as for the L<mount(8)> I<-o> and "
31586 "I<-t> flags."
31587 msgstr ""
31588
31589 #. type: =head2
31590 #: ../src/guestfs-actions.pod:5518
31591 msgid "guestfs_mountpoints"
31592 msgstr ""
31593
31594 #. type: verbatim
31595 #: ../src/guestfs-actions.pod:5520
31596 #, no-wrap
31597 msgid ""
31598 " char **\n"
31599 " guestfs_mountpoints (guestfs_h *g);\n"
31600 "\n"
31601 msgstr ""
31602
31603 #. type: textblock
31604 #: ../src/guestfs-actions.pod:5523
31605 msgid ""
31606 "This call is similar to C<guestfs_mounts>.  That call returns a list of "
31607 "devices.  This one returns a hash table (map) of device name to directory "
31608 "where the device is mounted."
31609 msgstr ""
31610
31611 #. type: =head2
31612 #: ../src/guestfs-actions.pod:5535
31613 msgid "guestfs_mounts"
31614 msgstr ""
31615
31616 #. type: verbatim
31617 #: ../src/guestfs-actions.pod:5537
31618 #, no-wrap
31619 msgid ""
31620 " char **\n"
31621 " guestfs_mounts (guestfs_h *g);\n"
31622 "\n"
31623 msgstr ""
31624
31625 #. type: textblock
31626 #: ../src/guestfs-actions.pod:5545
31627 msgid "See also: C<guestfs_mountpoints>"
31628 msgstr ""
31629
31630 #. type: =head2
31631 #: ../src/guestfs-actions.pod:5553
31632 msgid "guestfs_mv"
31633 msgstr ""
31634
31635 #. type: verbatim
31636 #: ../src/guestfs-actions.pod:5555
31637 #, no-wrap
31638 msgid ""
31639 " int\n"
31640 " guestfs_mv (guestfs_h *g,\n"
31641 "             const char *src,\n"
31642 "             const char *dest);\n"
31643 "\n"
31644 msgstr ""
31645
31646 #. type: =head2
31647 #: ../src/guestfs-actions.pod:5567
31648 msgid "guestfs_ntfs_3g_probe"
31649 msgstr ""
31650
31651 #. type: verbatim
31652 #: ../src/guestfs-actions.pod:5569
31653 #, no-wrap
31654 msgid ""
31655 " int\n"
31656 " guestfs_ntfs_3g_probe (guestfs_h *g,\n"
31657 "                        int rw,\n"
31658 "                        const char *device);\n"
31659 "\n"
31660 msgstr ""
31661
31662 #. type: textblock
31663 #: ../src/guestfs-actions.pod:5588
31664 msgid "(Added in 1.0.43)"
31665 msgstr "(Додано у 1.0.43)"
31666
31667 #. type: =head2
31668 #: ../src/guestfs-actions.pod:5590
31669 msgid "guestfs_ntfsresize"
31670 msgstr ""
31671
31672 #. type: verbatim
31673 #: ../src/guestfs-actions.pod:5592
31674 #, no-wrap
31675 msgid ""
31676 " int\n"
31677 " guestfs_ntfsresize (guestfs_h *g,\n"
31678 "                     const char *device);\n"
31679 "\n"
31680 msgstr ""
31681
31682 #. type: textblock
31683 #: ../src/guestfs-actions.pod:5596 ../src/guestfs-actions.pod:5696
31684 msgid ""
31685 "I<This function is deprecated.> In new code, use the "
31686 "L</guestfs_ntfsresize_opts> call instead."
31687 msgstr ""
31688
31689 #. type: =head2
31690 #: ../src/guestfs-actions.pod:5620
31691 msgid "guestfs_ntfsresize_opts"
31692 msgstr ""
31693
31694 #. type: verbatim
31695 #: ../src/guestfs-actions.pod:5622
31696 #, no-wrap
31697 msgid ""
31698 " int\n"
31699 " guestfs_ntfsresize_opts (guestfs_h *g,\n"
31700 "                          const char *device,\n"
31701 "                          ...);\n"
31702 "\n"
31703 msgstr ""
31704
31705 #. type: verbatim
31706 #: ../src/guestfs-actions.pod:5632
31707 #, no-wrap
31708 msgid ""
31709 " GUESTFS_NTFSRESIZE_OPTS_SIZE, int64_t size,\n"
31710 " GUESTFS_NTFSRESIZE_OPTS_FORCE, int force,\n"
31711 "\n"
31712 msgstr ""
31713
31714 #. type: textblock
31715 #: ../src/guestfs-actions.pod:5652
31716 msgid ""
31717 "After the resize operation, the filesystem is always marked as requiring a "
31718 "consistency check (for safety).  You have to boot into Windows to perform "
31719 "this check and clear this condition.  If you I<don't> set the C<force> "
31720 "option then it is not possible to call C<guestfs_ntfsresize_opts> multiple "
31721 "times on a single filesystem without booting into Windows between each "
31722 "resize."
31723 msgstr ""
31724
31725 #. type: =head2
31726 #: ../src/guestfs-actions.pod:5667
31727 msgid "guestfs_ntfsresize_opts_va"
31728 msgstr ""
31729
31730 #. type: verbatim
31731 #: ../src/guestfs-actions.pod:5669
31732 #, no-wrap
31733 msgid ""
31734 " int\n"
31735 " guestfs_ntfsresize_opts_va (guestfs_h *g,\n"
31736 "                             const char *device,\n"
31737 "                             va_list args);\n"
31738 "\n"
31739 msgstr ""
31740
31741 #. type: textblock
31742 #: ../src/guestfs-actions.pod:5674
31743 msgid "This is the \"va_list variant\" of L</guestfs_ntfsresize_opts>."
31744 msgstr ""
31745
31746 #. type: =head2
31747 #: ../src/guestfs-actions.pod:5678
31748 msgid "guestfs_ntfsresize_opts_argv"
31749 msgstr ""
31750
31751 #. type: verbatim
31752 #: ../src/guestfs-actions.pod:5680
31753 #, no-wrap
31754 msgid ""
31755 " int\n"
31756 " guestfs_ntfsresize_opts_argv (guestfs_h *g,\n"
31757 "                               const char *device,\n"
31758 "                               const struct guestfs_ntfsresize_opts_argv *optargs);\n"
31759 "\n"
31760 msgstr ""
31761
31762 #. type: textblock
31763 #: ../src/guestfs-actions.pod:5685
31764 msgid "This is the \"argv variant\" of L</guestfs_ntfsresize_opts>."
31765 msgstr ""
31766
31767 #. type: =head2
31768 #: ../src/guestfs-actions.pod:5689
31769 msgid "guestfs_ntfsresize_size"
31770 msgstr ""
31771
31772 #. type: verbatim
31773 #: ../src/guestfs-actions.pod:5691
31774 #, no-wrap
31775 msgid ""
31776 " int\n"
31777 " guestfs_ntfsresize_size (guestfs_h *g,\n"
31778 "                          const char *device,\n"
31779 "                          int64_t size);\n"
31780 "\n"
31781 msgstr ""
31782
31783 #. type: textblock
31784 #: ../src/guestfs-actions.pod:5703
31785 msgid ""
31786 "This command is the same as C<guestfs_ntfsresize> except that it allows you "
31787 "to specify the new size (in bytes) explicitly."
31788 msgstr ""
31789
31790 #. type: textblock
31791 #: ../src/guestfs-actions.pod:5708 ../src/guestfs-actions.pod:6168
31792 #: ../src/guestfs-actions.pod:6241 ../src/guestfs-actions.pod:6509
31793 #: ../src/guestfs-actions.pod:8148
31794 msgid "(Added in 1.3.14)"
31795 msgstr "(Додано у 1.3.14)"
31796
31797 #. type: =head2
31798 #: ../src/guestfs-actions.pod:5710
31799 msgid "guestfs_part_add"
31800 msgstr ""
31801
31802 #. type: verbatim
31803 #: ../src/guestfs-actions.pod:5712
31804 #, no-wrap
31805 msgid ""
31806 " int\n"
31807 " guestfs_part_add (guestfs_h *g,\n"
31808 "                   const char *device,\n"
31809 "                   const char *prlogex,\n"
31810 "                   int64_t startsect,\n"
31811 "                   int64_t endsect);\n"
31812 "\n"
31813 msgstr ""
31814
31815 #. type: textblock
31816 #: ../src/guestfs-actions.pod:5719
31817 msgid ""
31818 "This command adds a partition to C<device>.  If there is no partition table "
31819 "on the device, call C<guestfs_part_init> first."
31820 msgstr ""
31821
31822 #. type: textblock
31823 #: ../src/guestfs-actions.pod:5731
31824 msgid ""
31825 "Creating a partition which covers the whole disk is not so easy.  Use "
31826 "C<guestfs_part_disk> to do that."
31827 msgstr ""
31828
31829 #. type: textblock
31830 #: ../src/guestfs-actions.pod:5736 ../src/guestfs-actions.pod:5774
31831 #: ../src/guestfs-actions.pod:5827 ../src/guestfs-actions.pod:5911
31832 #: ../src/guestfs-actions.pod:5949 ../src/guestfs-actions.pod:5968
31833 #: ../src/guestfs-actions.pod:6008
31834 msgid "(Added in 1.0.78)"
31835 msgstr "(Додано у 1.0.78)"
31836
31837 #. type: =head2
31838 #: ../src/guestfs-actions.pod:5738
31839 msgid "guestfs_part_del"
31840 msgstr ""
31841
31842 #. type: verbatim
31843 #: ../src/guestfs-actions.pod:5740
31844 #, no-wrap
31845 msgid ""
31846 " int\n"
31847 " guestfs_part_del (guestfs_h *g,\n"
31848 "                   const char *device,\n"
31849 "                   int partnum);\n"
31850 "\n"
31851 msgstr ""
31852
31853 #. type: =head2
31854 #: ../src/guestfs-actions.pod:5755
31855 msgid "guestfs_part_disk"
31856 msgstr ""
31857
31858 #. type: verbatim
31859 #: ../src/guestfs-actions.pod:5757
31860 #, no-wrap
31861 msgid ""
31862 " int\n"
31863 " guestfs_part_disk (guestfs_h *g,\n"
31864 "                    const char *device,\n"
31865 "                    const char *parttype);\n"
31866 "\n"
31867 msgstr ""
31868
31869 #. type: textblock
31870 #: ../src/guestfs-actions.pod:5762
31871 msgid ""
31872 "This command is simply a combination of C<guestfs_part_init> followed by "
31873 "C<guestfs_part_add> to create a single primary partition covering the whole "
31874 "disk."
31875 msgstr ""
31876
31877 #. type: textblock
31878 #: ../src/guestfs-actions.pod:5766
31879 msgid ""
31880 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other"
31881 " possible values are described in C<guestfs_part_init>."
31882 msgstr ""
31883
31884 #. type: =head2
31885 #: ../src/guestfs-actions.pod:5776
31886 msgid "guestfs_part_get_bootable"
31887 msgstr ""
31888
31889 #. type: verbatim
31890 #: ../src/guestfs-actions.pod:5778
31891 #, no-wrap
31892 msgid ""
31893 " int\n"
31894 " guestfs_part_get_bootable (guestfs_h *g,\n"
31895 "                            const char *device,\n"
31896 "                            int partnum);\n"
31897 "\n"
31898 msgstr ""
31899
31900 #. type: textblock
31901 #: ../src/guestfs-actions.pod:5786
31902 msgid "See also C<guestfs_part_set_bootable>."
31903 msgstr ""
31904
31905 #. type: =head2
31906 #: ../src/guestfs-actions.pod:5792
31907 msgid "guestfs_part_get_mbr_id"
31908 msgstr ""
31909
31910 #. type: verbatim
31911 #: ../src/guestfs-actions.pod:5794
31912 #, no-wrap
31913 msgid ""
31914 " int\n"
31915 " guestfs_part_get_mbr_id (guestfs_h *g,\n"
31916 "                          const char *device,\n"
31917 "                          int partnum);\n"
31918 "\n"
31919 msgstr ""
31920
31921 #. type: textblock
31922 #: ../src/guestfs-actions.pod:5802 ../src/guestfs-actions.pod:5984
31923 msgid ""
31924 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get"
31925 " undefined results for other partition table types (see "
31926 "C<guestfs_part_get_parttype>)."
31927 msgstr ""
31928
31929 #. type: =head2
31930 #: ../src/guestfs-actions.pod:5810
31931 msgid "guestfs_part_get_parttype"
31932 msgstr ""
31933
31934 #. type: verbatim
31935 #: ../src/guestfs-actions.pod:5812
31936 #, no-wrap
31937 msgid ""
31938 " char *\n"
31939 " guestfs_part_get_parttype (guestfs_h *g,\n"
31940 "                            const char *device);\n"
31941 "\n"
31942 msgstr ""
31943
31944 #. type: textblock
31945 #: ../src/guestfs-actions.pod:5819
31946 msgid ""
31947 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
31948 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
31949 "possible, although unusual.  See C<guestfs_part_init> for a full list."
31950 msgstr ""
31951
31952 #. type: =head2
31953 #: ../src/guestfs-actions.pod:5829
31954 msgid "guestfs_part_init"
31955 msgstr ""
31956
31957 #. type: verbatim
31958 #: ../src/guestfs-actions.pod:5831
31959 #, no-wrap
31960 msgid ""
31961 " int\n"
31962 " guestfs_part_init (guestfs_h *g,\n"
31963 "                    const char *device,\n"
31964 "                    const char *parttype);\n"
31965 "\n"
31966 msgstr ""
31967
31968 #. type: textblock
31969 #: ../src/guestfs-actions.pod:5840
31970 msgid ""
31971 "Initially there are no partitions.  Following this, you should call "
31972 "C<guestfs_part_add> for each partition required."
31973 msgstr ""
31974
31975 #. type: =head2
31976 #: ../src/guestfs-actions.pod:5913
31977 msgid "guestfs_part_list"
31978 msgstr "guestfs_part_list"
31979
31980 #. type: verbatim
31981 #: ../src/guestfs-actions.pod:5915
31982 #, no-wrap
31983 msgid ""
31984 " struct guestfs_partition_list *\n"
31985 " guestfs_part_list (guestfs_h *g,\n"
31986 "                    const char *device);\n"
31987 "\n"
31988 msgstr ""
31989 " struct guestfs_partition_list *\n"
31990 " guestfs_part_list (guestfs_h *g,\n"
31991 "                    const char *device);\n"
31992 "\n"
31993
31994 #. type: textblock
31995 #: ../src/guestfs-actions.pod:5932
31996 msgid ""
31997 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
31998 "the device's sector size, see C<guestfs_blockdev_getss>."
31999 msgstr ""
32000
32001 #. type: textblock
32002 #: ../src/guestfs-actions.pod:5945
32003 msgid ""
32004 "This function returns a C<struct guestfs_partition_list *>, or NULL if there"
32005 " was an error.  I<The caller must call C<guestfs_free_partition_list> after "
32006 "use>."
32007 msgstr ""
32008
32009 #. type: =head2
32010 #: ../src/guestfs-actions.pod:5951
32011 msgid "guestfs_part_set_bootable"
32012 msgstr ""
32013
32014 #. type: verbatim
32015 #: ../src/guestfs-actions.pod:5953
32016 #, no-wrap
32017 msgid ""
32018 " int\n"
32019 " guestfs_part_set_bootable (guestfs_h *g,\n"
32020 "                            const char *device,\n"
32021 "                            int partnum,\n"
32022 "                            int bootable);\n"
32023 "\n"
32024 msgstr ""
32025
32026 #. type: =head2
32027 #: ../src/guestfs-actions.pod:5970
32028 msgid "guestfs_part_set_mbr_id"
32029 msgstr ""
32030
32031 #. type: verbatim
32032 #: ../src/guestfs-actions.pod:5972
32033 #, no-wrap
32034 msgid ""
32035 " int\n"
32036 " guestfs_part_set_mbr_id (guestfs_h *g,\n"
32037 "                          const char *device,\n"
32038 "                          int partnum,\n"
32039 "                          int idbyte);\n"
32040 "\n"
32041 msgstr ""
32042
32043 #. type: =head2
32044 #: ../src/guestfs-actions.pod:5992
32045 msgid "guestfs_part_set_name"
32046 msgstr ""
32047
32048 #. type: verbatim
32049 #: ../src/guestfs-actions.pod:5994
32050 #, no-wrap
32051 msgid ""
32052 " int\n"
32053 " guestfs_part_set_name (guestfs_h *g,\n"
32054 "                        const char *device,\n"
32055 "                        int partnum,\n"
32056 "                        const char *name);\n"
32057 "\n"
32058 msgstr ""
32059
32060 #. type: =head2
32061 #: ../src/guestfs-actions.pod:6010
32062 msgid "guestfs_part_to_dev"
32063 msgstr ""
32064
32065 #. type: verbatim
32066 #: ../src/guestfs-actions.pod:6012
32067 #, no-wrap
32068 msgid ""
32069 " char *\n"
32070 " guestfs_part_to_dev (guestfs_h *g,\n"
32071 "                      const char *partition);\n"
32072 "\n"
32073 msgstr ""
32074
32075 #. type: textblock
32076 #: ../src/guestfs-actions.pod:6020 ../src/guestfs-actions.pod:6039
32077 msgid ""
32078 "The named partition must exist, for example as a string returned from "
32079 "C<guestfs_list_partitions>."
32080 msgstr ""
32081
32082 #. type: textblock
32083 #: ../src/guestfs-actions.pod:6023
32084 msgid "See also C<guestfs_part_to_partnum>."
32085 msgstr ""
32086
32087 #. type: =head2
32088 #: ../src/guestfs-actions.pod:6030
32089 msgid "guestfs_part_to_partnum"
32090 msgstr ""
32091
32092 #. type: verbatim
32093 #: ../src/guestfs-actions.pod:6032
32094 #, no-wrap
32095 msgid ""
32096 " int\n"
32097 " guestfs_part_to_partnum (guestfs_h *g,\n"
32098 "                          const char *partition);\n"
32099 "\n"
32100 msgstr ""
32101
32102 #. type: textblock
32103 #: ../src/guestfs-actions.pod:6042
32104 msgid "See also C<guestfs_part_to_dev>."
32105 msgstr ""
32106
32107 #. type: =head2
32108 #: ../src/guestfs-actions.pod:6046
32109 msgid "guestfs_ping_daemon"
32110 msgstr ""
32111
32112 #. type: verbatim
32113 #: ../src/guestfs-actions.pod:6048
32114 #, no-wrap
32115 msgid ""
32116 " int\n"
32117 " guestfs_ping_daemon (guestfs_h *g);\n"
32118 "\n"
32119 msgstr ""
32120
32121 #. type: =head2
32122 #: ../src/guestfs-actions.pod:6060
32123 msgid "guestfs_pread"
32124 msgstr ""
32125
32126 #. type: verbatim
32127 #: ../src/guestfs-actions.pod:6062
32128 #, no-wrap
32129 msgid ""
32130 " char *\n"
32131 " guestfs_pread (guestfs_h *g,\n"
32132 "                const char *path,\n"
32133 "                int count,\n"
32134 "                int64_t offset,\n"
32135 "                size_t *size_r);\n"
32136 "\n"
32137 msgstr ""
32138
32139 #. type: textblock
32140 #: ../src/guestfs-actions.pod:6075
32141 msgid "See also C<guestfs_pwrite>, C<guestfs_pread_device>."
32142 msgstr ""
32143
32144 #. type: =head2
32145 #: ../src/guestfs-actions.pod:6086
32146 msgid "guestfs_pread_device"
32147 msgstr ""
32148
32149 #. type: verbatim
32150 #: ../src/guestfs-actions.pod:6088
32151 #, no-wrap
32152 msgid ""
32153 " char *\n"
32154 " guestfs_pread_device (guestfs_h *g,\n"
32155 "                       const char *device,\n"
32156 "                       int count,\n"
32157 "                       int64_t offset,\n"
32158 "                       size_t *size_r);\n"
32159 "\n"
32160 msgstr ""
32161
32162 #. type: textblock
32163 #: ../src/guestfs-actions.pod:6101
32164 msgid "See also C<guestfs_pread>."
32165 msgstr ""
32166
32167 #. type: textblock
32168 #: ../src/guestfs-actions.pod:6110
32169 msgid "(Added in 1.5.21)"
32170 msgstr "(Додано у 1.5.21)"
32171
32172 #. type: =head2
32173 #: ../src/guestfs-actions.pod:6112
32174 msgid "guestfs_pvcreate"
32175 msgstr ""
32176
32177 #. type: verbatim
32178 #: ../src/guestfs-actions.pod:6114
32179 #, no-wrap
32180 msgid ""
32181 " int\n"
32182 " guestfs_pvcreate (guestfs_h *g,\n"
32183 "                   const char *device);\n"
32184 "\n"
32185 msgstr ""
32186
32187 #. type: =head2
32188 #: ../src/guestfs-actions.pod:6126
32189 msgid "guestfs_pvremove"
32190 msgstr ""
32191
32192 #. type: verbatim
32193 #: ../src/guestfs-actions.pod:6128
32194 #, no-wrap
32195 msgid ""
32196 " int\n"
32197 " guestfs_pvremove (guestfs_h *g,\n"
32198 "                   const char *device);\n"
32199 "\n"
32200 msgstr ""
32201
32202 #. type: =head2
32203 #: ../src/guestfs-actions.pod:6143
32204 msgid "guestfs_pvresize"
32205 msgstr ""
32206
32207 #. type: verbatim
32208 #: ../src/guestfs-actions.pod:6145
32209 #, no-wrap
32210 msgid ""
32211 " int\n"
32212 " guestfs_pvresize (guestfs_h *g,\n"
32213 "                   const char *device);\n"
32214 "\n"
32215 msgstr ""
32216
32217 #. type: =head2
32218 #: ../src/guestfs-actions.pod:6156
32219 msgid "guestfs_pvresize_size"
32220 msgstr ""
32221
32222 #. type: verbatim
32223 #: ../src/guestfs-actions.pod:6158
32224 #, no-wrap
32225 msgid ""
32226 " int\n"
32227 " guestfs_pvresize_size (guestfs_h *g,\n"
32228 "                        const char *device,\n"
32229 "                        int64_t size);\n"
32230 "\n"
32231 msgstr ""
32232
32233 #. type: textblock
32234 #: ../src/guestfs-actions.pod:6163
32235 msgid ""
32236 "This command is the same as C<guestfs_pvresize> except that it allows you to"
32237 " specify the new size (in bytes) explicitly."
32238 msgstr ""
32239
32240 #. type: =head2
32241 #: ../src/guestfs-actions.pod:6170
32242 msgid "guestfs_pvs"
32243 msgstr ""
32244
32245 #. type: verbatim
32246 #: ../src/guestfs-actions.pod:6172
32247 #, no-wrap
32248 msgid ""
32249 " char **\n"
32250 " guestfs_pvs (guestfs_h *g);\n"
32251 "\n"
32252 msgstr ""
32253
32254 #. type: textblock
32255 #: ../src/guestfs-actions.pod:6181
32256 msgid "See also C<guestfs_pvs_full>."
32257 msgstr ""
32258
32259 #. type: =head2
32260 #: ../src/guestfs-actions.pod:6189
32261 msgid "guestfs_pvs_full"
32262 msgstr ""
32263
32264 #. type: verbatim
32265 #: ../src/guestfs-actions.pod:6191
32266 #, no-wrap
32267 msgid ""
32268 " struct guestfs_lvm_pv_list *\n"
32269 " guestfs_pvs_full (guestfs_h *g);\n"
32270 "\n"
32271 msgstr ""
32272
32273 #. type: textblock
32274 #: ../src/guestfs-actions.pod:6197
32275 msgid ""
32276 "This function returns a C<struct guestfs_lvm_pv_list *>, or NULL if there "
32277 "was an error.  I<The caller must call C<guestfs_free_lvm_pv_list> after "
32278 "use>."
32279 msgstr ""
32280
32281 #. type: =head2
32282 #: ../src/guestfs-actions.pod:6203
32283 msgid "guestfs_pvuuid"
32284 msgstr ""
32285
32286 #. type: verbatim
32287 #: ../src/guestfs-actions.pod:6205
32288 #, no-wrap
32289 msgid ""
32290 " char *\n"
32291 " guestfs_pvuuid (guestfs_h *g,\n"
32292 "                 const char *device);\n"
32293 "\n"
32294 msgstr ""
32295
32296 #. type: =head2
32297 #: ../src/guestfs-actions.pod:6216
32298 msgid "guestfs_pwrite"
32299 msgstr ""
32300
32301 #. type: verbatim
32302 #: ../src/guestfs-actions.pod:6218
32303 #, no-wrap
32304 msgid ""
32305 " int\n"
32306 " guestfs_pwrite (guestfs_h *g,\n"
32307 "                 const char *path,\n"
32308 "                 const char *content,\n"
32309 "                 size_t content_size,\n"
32310 "                 int64_t offset);\n"
32311 "\n"
32312 msgstr ""
32313
32314 #. type: textblock
32315 #: ../src/guestfs-actions.pod:6234
32316 msgid "See also C<guestfs_pread>, C<guestfs_pwrite_device>."
32317 msgstr ""
32318
32319 #. type: =head2
32320 #: ../src/guestfs-actions.pod:6243
32321 msgid "guestfs_pwrite_device"
32322 msgstr ""
32323
32324 #. type: verbatim
32325 #: ../src/guestfs-actions.pod:6245
32326 #, no-wrap
32327 msgid ""
32328 " int\n"
32329 " guestfs_pwrite_device (guestfs_h *g,\n"
32330 "                        const char *device,\n"
32331 "                        const char *content,\n"
32332 "                        size_t content_size,\n"
32333 "                        int64_t offset);\n"
32334 "\n"
32335 msgstr ""
32336
32337 #. type: textblock
32338 #: ../src/guestfs-actions.pod:6260
32339 msgid "See also C<guestfs_pwrite>."
32340 msgstr ""
32341
32342 #. type: textblock
32343 #: ../src/guestfs-actions.pod:6267
32344 msgid "(Added in 1.5.20)"
32345 msgstr "(Додано у 1.5.20)"
32346
32347 #. type: =head2
32348 #: ../src/guestfs-actions.pod:6269
32349 msgid "guestfs_read_file"
32350 msgstr ""
32351
32352 #. type: verbatim
32353 #: ../src/guestfs-actions.pod:6271
32354 #, no-wrap
32355 msgid ""
32356 " char *\n"
32357 " guestfs_read_file (guestfs_h *g,\n"
32358 "                    const char *path,\n"
32359 "                    size_t *size_r);\n"
32360 "\n"
32361 msgstr ""
32362
32363 #. type: textblock
32364 #: ../src/guestfs-actions.pod:6279
32365 msgid ""
32366 "Unlike C<guestfs_cat>, this function can correctly handle files that contain"
32367 " embedded ASCII NUL characters.  However unlike C<guestfs_download>, this "
32368 "function is limited in the total size of file that can be handled."
32369 msgstr ""
32370
32371 #. type: textblock
32372 #: ../src/guestfs-actions.pod:6291
32373 msgid "(Added in 1.0.63)"
32374 msgstr "(Додано у 1.0.63)"
32375
32376 #. type: =head2
32377 #: ../src/guestfs-actions.pod:6293
32378 msgid "guestfs_read_lines"
32379 msgstr ""
32380
32381 #. type: verbatim
32382 #: ../src/guestfs-actions.pod:6295
32383 #, no-wrap
32384 msgid ""
32385 " char **\n"
32386 " guestfs_read_lines (guestfs_h *g,\n"
32387 "                     const char *path);\n"
32388 "\n"
32389 msgstr ""
32390
32391 #. type: textblock
32392 #: ../src/guestfs-actions.pod:6304
32393 msgid ""
32394 "Note that this function cannot correctly handle binary files (specifically, "
32395 "files containing C<\\0> character which is treated as end of line).  For "
32396 "those you need to use the C<guestfs_read_file> function which has a more "
32397 "complex interface."
32398 msgstr ""
32399
32400 #. type: =head2
32401 #: ../src/guestfs-actions.pod:6315
32402 msgid "guestfs_readdir"
32403 msgstr ""
32404
32405 #. type: verbatim
32406 #: ../src/guestfs-actions.pod:6317
32407 #, no-wrap
32408 msgid ""
32409 " struct guestfs_dirent_list *\n"
32410 " guestfs_readdir (guestfs_h *g,\n"
32411 "                  const char *dir);\n"
32412 "\n"
32413 msgstr ""
32414
32415 #. type: textblock
32416 #: ../src/guestfs-actions.pod:6371
32417 msgid ""
32418 "This function is primarily intended for use by programs.  To get a simple "
32419 "list of names, use C<guestfs_ls>.  To get a printable directory for human "
32420 "consumption, use C<guestfs_ll>."
32421 msgstr ""
32422
32423 #. type: textblock
32424 #: ../src/guestfs-actions.pod:6375
32425 msgid ""
32426 "This function returns a C<struct guestfs_dirent_list *>, or NULL if there "
32427 "was an error.  I<The caller must call C<guestfs_free_dirent_list> after "
32428 "use>."
32429 msgstr ""
32430
32431 #. type: =head2
32432 #: ../src/guestfs-actions.pod:6381
32433 msgid "guestfs_readlink"
32434 msgstr ""
32435
32436 #. type: verbatim
32437 #: ../src/guestfs-actions.pod:6383
32438 #, no-wrap
32439 msgid ""
32440 " char *\n"
32441 " guestfs_readlink (guestfs_h *g,\n"
32442 "                   const char *path);\n"
32443 "\n"
32444 msgstr ""
32445
32446 #. type: =head2
32447 #: ../src/guestfs-actions.pod:6394
32448 msgid "guestfs_readlinklist"
32449 msgstr ""
32450
32451 #. type: verbatim
32452 #: ../src/guestfs-actions.pod:6396
32453 #, no-wrap
32454 msgid ""
32455 " char **\n"
32456 " guestfs_readlinklist (guestfs_h *g,\n"
32457 "                       const char *path,\n"
32458 "                       char *const *names);\n"
32459 "\n"
32460 msgstr ""
32461
32462 #. type: =head2
32463 #: ../src/guestfs-actions.pod:6429
32464 msgid "guestfs_realpath"
32465 msgstr ""
32466
32467 #. type: verbatim
32468 #: ../src/guestfs-actions.pod:6431
32469 #, no-wrap
32470 msgid ""
32471 " char *\n"
32472 " guestfs_realpath (guestfs_h *g,\n"
32473 "                   const char *path);\n"
32474 "\n"
32475 msgstr ""
32476
32477 #. type: =head2
32478 #: ../src/guestfs-actions.pod:6443
32479 msgid "guestfs_removexattr"
32480 msgstr ""
32481
32482 #. type: verbatim
32483 #: ../src/guestfs-actions.pod:6445
32484 #, no-wrap
32485 msgid ""
32486 " int\n"
32487 " guestfs_removexattr (guestfs_h *g,\n"
32488 "                      const char *xattr,\n"
32489 "                      const char *path);\n"
32490 "\n"
32491 msgstr ""
32492
32493 #. type: textblock
32494 #: ../src/guestfs-actions.pod:6453
32495 msgid "See also: C<guestfs_lremovexattr>, L<attr(5)>."
32496 msgstr ""
32497
32498 #. type: =head2
32499 #: ../src/guestfs-actions.pod:6459
32500 msgid "guestfs_resize2fs"
32501 msgstr ""
32502
32503 #. type: verbatim
32504 #: ../src/guestfs-actions.pod:6461
32505 #, no-wrap
32506 msgid ""
32507 " int\n"
32508 " guestfs_resize2fs (guestfs_h *g,\n"
32509 "                    const char *device);\n"
32510 "\n"
32511 msgstr ""
32512
32513 #. type: textblock
32514 #: ../src/guestfs-actions.pod:6468
32515 msgid ""
32516 "I<Note:> It is sometimes required that you run C<guestfs_e2fsck_f> on the "
32517 "C<device> before calling this command.  For unknown reasons C<resize2fs> "
32518 "sometimes gives an error about this and sometimes not.  In any case, it is "
32519 "always safe to call C<guestfs_e2fsck_f> before calling this function."
32520 msgstr ""
32521
32522 #. type: =head2
32523 #: ../src/guestfs-actions.pod:6478
32524 msgid "guestfs_resize2fs_M"
32525 msgstr ""
32526
32527 #. type: verbatim
32528 #: ../src/guestfs-actions.pod:6480
32529 #, no-wrap
32530 msgid ""
32531 " int\n"
32532 " guestfs_resize2fs_M (guestfs_h *g,\n"
32533 "                      const char *device);\n"
32534 "\n"
32535 msgstr ""
32536
32537 #. type: textblock
32538 #: ../src/guestfs-actions.pod:6484
32539 msgid ""
32540 "This command is the same as C<guestfs_resize2fs>, but the filesystem is "
32541 "resized to its minimum size.  This works like the I<-M> option to the "
32542 "C<resize2fs> command."
32543 msgstr ""
32544
32545 #. type: textblock
32546 #: ../src/guestfs-actions.pod:6488
32547 msgid ""
32548 "To get the resulting size of the filesystem you should call "
32549 "C<guestfs_tune2fs_l> and read the C<Block size> and C<Block count> values.  "
32550 "These two numbers, multiplied together, give the resulting size of the "
32551 "minimal filesystem in bytes."
32552 msgstr ""
32553
32554 #. type: =head2
32555 #: ../src/guestfs-actions.pod:6497
32556 msgid "guestfs_resize2fs_size"
32557 msgstr ""
32558
32559 #. type: verbatim
32560 #: ../src/guestfs-actions.pod:6499
32561 #, no-wrap
32562 msgid ""
32563 " int\n"
32564 " guestfs_resize2fs_size (guestfs_h *g,\n"
32565 "                         const char *device,\n"
32566 "                         int64_t size);\n"
32567 "\n"
32568 msgstr ""
32569
32570 #. type: textblock
32571 #: ../src/guestfs-actions.pod:6504
32572 msgid ""
32573 "This command is the same as C<guestfs_resize2fs> except that it allows you "
32574 "to specify the new size (in bytes) explicitly."
32575 msgstr ""
32576
32577 #. type: =head2
32578 #: ../src/guestfs-actions.pod:6511
32579 msgid "guestfs_rm"
32580 msgstr ""
32581
32582 #. type: verbatim
32583 #: ../src/guestfs-actions.pod:6513
32584 #, no-wrap
32585 msgid ""
32586 " int\n"
32587 " guestfs_rm (guestfs_h *g,\n"
32588 "             const char *path);\n"
32589 "\n"
32590 msgstr ""
32591
32592 #. type: =head2
32593 #: ../src/guestfs-actions.pod:6523
32594 msgid "guestfs_rm_rf"
32595 msgstr ""
32596
32597 #. type: verbatim
32598 #: ../src/guestfs-actions.pod:6525
32599 #, no-wrap
32600 msgid ""
32601 " int\n"
32602 " guestfs_rm_rf (guestfs_h *g,\n"
32603 "                const char *path);\n"
32604 "\n"
32605 msgstr ""
32606
32607 #. type: =head2
32608 #: ../src/guestfs-actions.pod:6537
32609 msgid "guestfs_rmdir"
32610 msgstr ""
32611
32612 #. type: verbatim
32613 #: ../src/guestfs-actions.pod:6539
32614 #, no-wrap
32615 msgid ""
32616 " int\n"
32617 " guestfs_rmdir (guestfs_h *g,\n"
32618 "                const char *path);\n"
32619 "\n"
32620 msgstr ""
32621
32622 #. type: =head2
32623 #: ../src/guestfs-actions.pod:6549
32624 msgid "guestfs_rmmountpoint"
32625 msgstr ""
32626
32627 #. type: verbatim
32628 #: ../src/guestfs-actions.pod:6551
32629 #, no-wrap
32630 msgid ""
32631 " int\n"
32632 " guestfs_rmmountpoint (guestfs_h *g,\n"
32633 "                       const char *exemptpath);\n"
32634 "\n"
32635 msgstr ""
32636
32637 #. type: textblock
32638 #: ../src/guestfs-actions.pod:6555
32639 msgid ""
32640 "This calls removes a mountpoint that was previously created with "
32641 "C<guestfs_mkmountpoint>.  See C<guestfs_mkmountpoint> for full details."
32642 msgstr ""
32643
32644 #. type: =head2
32645 #: ../src/guestfs-actions.pod:6563
32646 msgid "guestfs_scrub_device"
32647 msgstr ""
32648
32649 #. type: verbatim
32650 #: ../src/guestfs-actions.pod:6565
32651 #, no-wrap
32652 msgid ""
32653 " int\n"
32654 " guestfs_scrub_device (guestfs_h *g,\n"
32655 "                       const char *device);\n"
32656 "\n"
32657 msgstr ""
32658
32659 #. type: textblock
32660 #: ../src/guestfs-actions.pod:6580 ../src/guestfs-actions.pod:6598
32661 #: ../src/guestfs-actions.pod:6617
32662 msgid "(Added in 1.0.52)"
32663 msgstr "(Додано у 1.0.52)"
32664
32665 #. type: =head2
32666 #: ../src/guestfs-actions.pod:6582
32667 msgid "guestfs_scrub_file"
32668 msgstr ""
32669
32670 #. type: verbatim
32671 #: ../src/guestfs-actions.pod:6584
32672 #, no-wrap
32673 msgid ""
32674 " int\n"
32675 " guestfs_scrub_file (guestfs_h *g,\n"
32676 "                     const char *file);\n"
32677 "\n"
32678 msgstr ""
32679
32680 #. type: =head2
32681 #: ../src/guestfs-actions.pod:6600
32682 msgid "guestfs_scrub_freespace"
32683 msgstr ""
32684
32685 #. type: verbatim
32686 #: ../src/guestfs-actions.pod:6602
32687 #, no-wrap
32688 msgid ""
32689 " int\n"
32690 " guestfs_scrub_freespace (guestfs_h *g,\n"
32691 "                          const char *dir);\n"
32692 "\n"
32693 msgstr ""
32694
32695 #. type: textblock
32696 #: ../src/guestfs-actions.pod:6606
32697 msgid ""
32698 "This command creates the directory C<dir> and then fills it with files until"
32699 " the filesystem is full, and scrubs the files as for C<guestfs_scrub_file>, "
32700 "and deletes them.  The intention is to scrub any free space on the partition"
32701 " containing C<dir>."
32702 msgstr ""
32703
32704 #. type: =head2
32705 #: ../src/guestfs-actions.pod:6619
32706 msgid "guestfs_set_append"
32707 msgstr ""
32708
32709 #. type: verbatim
32710 #: ../src/guestfs-actions.pod:6621
32711 #, no-wrap
32712 msgid ""
32713 " int\n"
32714 " guestfs_set_append (guestfs_h *g,\n"
32715 "                     const char *append);\n"
32716 "\n"
32717 msgstr ""
32718
32719 #. type: =head2
32720 #: ../src/guestfs-actions.pod:6638
32721 msgid "guestfs_set_attach_method"
32722 msgstr ""
32723
32724 #. type: verbatim
32725 #: ../src/guestfs-actions.pod:6640
32726 #, no-wrap
32727 msgid ""
32728 " int\n"
32729 " guestfs_set_attach_method (guestfs_h *g,\n"
32730 "                            const char *attachmethod);\n"
32731 "\n"
32732 msgstr ""
32733
32734 #. type: =head2
32735 #: ../src/guestfs-actions.pod:6668
32736 msgid "guestfs_set_autosync"
32737 msgstr ""
32738
32739 #. type: verbatim
32740 #: ../src/guestfs-actions.pod:6670
32741 #, no-wrap
32742 msgid ""
32743 " int\n"
32744 " guestfs_set_autosync (guestfs_h *g,\n"
32745 "                       int autosync);\n"
32746 "\n"
32747 msgstr ""
32748
32749 #. type: =head2
32750 #: ../src/guestfs-actions.pod:6686
32751 msgid "guestfs_set_direct"
32752 msgstr ""
32753
32754 #. type: verbatim
32755 #: ../src/guestfs-actions.pod:6688
32756 #, no-wrap
32757 msgid ""
32758 " int\n"
32759 " guestfs_set_direct (guestfs_h *g,\n"
32760 "                     int direct);\n"
32761 "\n"
32762 msgstr ""
32763
32764 #. type: textblock
32765 #: ../src/guestfs-actions.pod:6696
32766 msgid ""
32767 "One consequence of this is that log messages aren't caught by the library "
32768 "and handled by C<guestfs_set_log_message_callback>, but go straight to "
32769 "stdout."
32770 msgstr ""
32771
32772 #. type: =head2
32773 #: ../src/guestfs-actions.pod:6709
32774 msgid "guestfs_set_e2label"
32775 msgstr ""
32776
32777 #. type: verbatim
32778 #: ../src/guestfs-actions.pod:6711
32779 #, no-wrap
32780 msgid ""
32781 " int\n"
32782 " guestfs_set_e2label (guestfs_h *g,\n"
32783 "                      const char *device,\n"
32784 "                      const char *label);\n"
32785 "\n"
32786 msgstr ""
32787
32788 #. type: textblock
32789 #: ../src/guestfs-actions.pod:6720
32790 msgid ""
32791 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2label> to return "
32792 "the existing label on a filesystem."
32793 msgstr ""
32794
32795 #. type: =head2
32796 #: ../src/guestfs-actions.pod:6727
32797 msgid "guestfs_set_e2uuid"
32798 msgstr ""
32799
32800 #. type: verbatim
32801 #: ../src/guestfs-actions.pod:6729
32802 #, no-wrap
32803 msgid ""
32804 " int\n"
32805 " guestfs_set_e2uuid (guestfs_h *g,\n"
32806 "                     const char *device,\n"
32807 "                     const char *uuid);\n"
32808 "\n"
32809 msgstr ""
32810
32811 #. type: textblock
32812 #: ../src/guestfs-actions.pod:6739
32813 msgid ""
32814 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2uuid> to return "
32815 "the existing UUID of a filesystem."
32816 msgstr ""
32817
32818 #. type: =head2
32819 #: ../src/guestfs-actions.pod:6746
32820 msgid "guestfs_set_memsize"
32821 msgstr ""
32822
32823 #. type: verbatim
32824 #: ../src/guestfs-actions.pod:6748
32825 #, no-wrap
32826 msgid ""
32827 " int\n"
32828 " guestfs_set_memsize (guestfs_h *g,\n"
32829 "                      int memsize);\n"
32830 "\n"
32831 msgstr ""
32832
32833 #. type: textblock
32834 #: ../src/guestfs-actions.pod:6752
32835 msgid ""
32836 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
32837 "This only has any effect if called before C<guestfs_launch>."
32838 msgstr ""
32839
32840 #. type: =head2
32841 #: ../src/guestfs-actions.pod:6767
32842 msgid "guestfs_set_network"
32843 msgstr ""
32844
32845 #. type: verbatim
32846 #: ../src/guestfs-actions.pod:6769
32847 #, no-wrap
32848 msgid ""
32849 " int\n"
32850 " guestfs_set_network (guestfs_h *g,\n"
32851 "                      int network);\n"
32852 "\n"
32853 msgstr ""
32854
32855 #. type: textblock
32856 #: ../src/guestfs-actions.pod:6779
32857 msgid ""
32858 "You must call this before calling C<guestfs_launch>, otherwise it has no "
32859 "effect."
32860 msgstr ""
32861
32862 #. type: =head2
32863 #: ../src/guestfs-actions.pod:6786
32864 msgid "guestfs_set_path"
32865 msgstr ""
32866
32867 #. type: verbatim
32868 #: ../src/guestfs-actions.pod:6788
32869 #, no-wrap
32870 msgid ""
32871 " int\n"
32872 " guestfs_set_path (guestfs_h *g,\n"
32873 "                   const char *searchpath);\n"
32874 "\n"
32875 msgstr ""
32876
32877 #. type: =head2
32878 #: ../src/guestfs-actions.pod:6803
32879 msgid "guestfs_set_pgroup"
32880 msgstr ""
32881
32882 #. type: verbatim
32883 #: ../src/guestfs-actions.pod:6805
32884 #, no-wrap
32885 msgid ""
32886 " int\n"
32887 " guestfs_set_pgroup (guestfs_h *g,\n"
32888 "                     int pgroup);\n"
32889 "\n"
32890 msgstr ""
32891
32892 #. type: =head2
32893 #: ../src/guestfs-actions.pod:6822
32894 msgid "guestfs_set_qemu"
32895 msgstr ""
32896
32897 #. type: verbatim
32898 #: ../src/guestfs-actions.pod:6824
32899 #, no-wrap
32900 msgid ""
32901 " int\n"
32902 " guestfs_set_qemu (guestfs_h *g,\n"
32903 "                   const char *qemu);\n"
32904 "\n"
32905 msgstr ""
32906
32907 #. type: =head2
32908 #: ../src/guestfs-actions.pod:6850
32909 msgid "guestfs_set_recovery_proc"
32910 msgstr ""
32911
32912 #. type: verbatim
32913 #: ../src/guestfs-actions.pod:6852
32914 #, no-wrap
32915 msgid ""
32916 " int\n"
32917 " guestfs_set_recovery_proc (guestfs_h *g,\n"
32918 "                            int recoveryproc);\n"
32919 "\n"
32920 msgstr ""
32921
32922 #. type: textblock
32923 #: ../src/guestfs-actions.pod:6856
32924 msgid ""
32925 "If this is called with the parameter C<false> then C<guestfs_launch> does "
32926 "not create a recovery process.  The purpose of the recovery process is to "
32927 "stop runaway qemu processes in the case where the main program aborts "
32928 "abruptly."
32929 msgstr ""
32930
32931 #. type: textblock
32932 #: ../src/guestfs-actions.pod:6861
32933 msgid ""
32934 "This only has any effect if called before C<guestfs_launch>, and the default"
32935 " is true."
32936 msgstr ""
32937
32938 #. type: =head2
32939 #: ../src/guestfs-actions.pod:6874
32940 msgid "guestfs_set_selinux"
32941 msgstr ""
32942
32943 #. type: verbatim
32944 #: ../src/guestfs-actions.pod:6876
32945 #, no-wrap
32946 msgid ""
32947 " int\n"
32948 " guestfs_set_selinux (guestfs_h *g,\n"
32949 "                      int selinux);\n"
32950 "\n"
32951 msgstr ""
32952
32953 #. type: =head2
32954 #: ../src/guestfs-actions.pod:6893
32955 msgid "guestfs_set_smp"
32956 msgstr ""
32957
32958 #. type: verbatim
32959 #: ../src/guestfs-actions.pod:6895
32960 #, no-wrap
32961 msgid ""
32962 " int\n"
32963 " guestfs_set_smp (guestfs_h *g,\n"
32964 "                  int smp);\n"
32965 "\n"
32966 msgstr ""
32967
32968 #. type: textblock
32969 #: ../src/guestfs-actions.pod:6903
32970 msgid "This function must be called before C<guestfs_launch>."
32971 msgstr ""
32972
32973 #. type: =head2
32974 #: ../src/guestfs-actions.pod:6909
32975 msgid "guestfs_set_trace"
32976 msgstr ""
32977
32978 #. type: verbatim
32979 #: ../src/guestfs-actions.pod:6911
32980 #, no-wrap
32981 msgid ""
32982 " int\n"
32983 " guestfs_set_trace (guestfs_h *g,\n"
32984 "                    int trace);\n"
32985 "\n"
32986 msgstr ""
32987
32988 #. type: textblock
32989 #: ../src/guestfs-actions.pod:6925
32990 msgid ""
32991 "Trace messages are normally sent to C<stderr>, unless you register a "
32992 "callback to send them somewhere else (see C<guestfs_set_event_callback>)."
32993 msgstr ""
32994
32995 #. type: =head2
32996 #: ../src/guestfs-actions.pod:6933
32997 msgid "guestfs_set_verbose"
32998 msgstr ""
32999
33000 #. type: verbatim
33001 #: ../src/guestfs-actions.pod:6935
33002 #, no-wrap
33003 msgid ""
33004 " int\n"
33005 " guestfs_set_verbose (guestfs_h *g,\n"
33006 "                      int verbose);\n"
33007 "\n"
33008 msgstr ""
33009
33010 #. type: textblock
33011 #: ../src/guestfs-actions.pod:6944
33012 msgid ""
33013 "Verbose messages are normally sent to C<stderr>, unless you register a "
33014 "callback to send them somewhere else (see C<guestfs_set_event_callback>)."
33015 msgstr ""
33016
33017 #. type: =head2
33018 #: ../src/guestfs-actions.pod:6952
33019 msgid "guestfs_setcon"
33020 msgstr ""
33021
33022 #. type: verbatim
33023 #: ../src/guestfs-actions.pod:6954
33024 #, no-wrap
33025 msgid ""
33026 " int\n"
33027 " guestfs_setcon (guestfs_h *g,\n"
33028 "                 const char *context);\n"
33029 "\n"
33030 msgstr ""
33031
33032 #. type: =head2
33033 #: ../src/guestfs-actions.pod:6967
33034 msgid "guestfs_setxattr"
33035 msgstr ""
33036
33037 #. type: verbatim
33038 #: ../src/guestfs-actions.pod:6969
33039 #, no-wrap
33040 msgid ""
33041 " int\n"
33042 " guestfs_setxattr (guestfs_h *g,\n"
33043 "                   const char *xattr,\n"
33044 "                   const char *val,\n"
33045 "                   int vallen,\n"
33046 "                   const char *path);\n"
33047 "\n"
33048 msgstr ""
33049
33050 #. type: textblock
33051 #: ../src/guestfs-actions.pod:6980
33052 msgid "See also: C<guestfs_lsetxattr>, L<attr(5)>."
33053 msgstr ""
33054
33055 #. type: =head2
33056 #: ../src/guestfs-actions.pod:6986
33057 msgid "guestfs_sfdisk"
33058 msgstr ""
33059
33060 #. type: verbatim
33061 #: ../src/guestfs-actions.pod:6988
33062 #, no-wrap
33063 msgid ""
33064 " int\n"
33065 " guestfs_sfdisk (guestfs_h *g,\n"
33066 "                 const char *device,\n"
33067 "                 int cyls,\n"
33068 "                 int heads,\n"
33069 "                 int sectors,\n"
33070 "                 char *const *lines);\n"
33071 "\n"
33072 msgstr ""
33073
33074 #. type: textblock
33075 #: ../src/guestfs-actions.pod:6996 ../src/guestfs-actions.pod:7040
33076 #: ../src/guestfs-actions.pod:7074
33077 msgid ""
33078 "I<This function is deprecated.> In new code, use the L</guestfs_part_add> "
33079 "call instead."
33080 msgstr ""
33081
33082 #. type: textblock
33083 #: ../src/guestfs-actions.pod:7023
33084 msgid ""
33085 "See also: C<guestfs_sfdisk_l>, C<guestfs_sfdisk_N>, C<guestfs_part_init>"
33086 msgstr ""
33087
33088 #. type: =head2
33089 #: ../src/guestfs-actions.pod:7033
33090 msgid "guestfs_sfdiskM"
33091 msgstr ""
33092
33093 #. type: verbatim
33094 #: ../src/guestfs-actions.pod:7035
33095 #, no-wrap
33096 msgid ""
33097 " int\n"
33098 " guestfs_sfdiskM (guestfs_h *g,\n"
33099 "                  const char *device,\n"
33100 "                  char *const *lines);\n"
33101 "\n"
33102 msgstr ""
33103
33104 #. type: textblock
33105 #: ../src/guestfs-actions.pod:7047
33106 msgid ""
33107 "This is a simplified interface to the C<guestfs_sfdisk> command, where "
33108 "partition sizes are specified in megabytes only (rounded to the nearest "
33109 "cylinder) and you don't need to specify the cyls, heads and sectors "
33110 "parameters which were rarely if ever used anyway."
33111 msgstr ""
33112
33113 #. type: textblock
33114 #: ../src/guestfs-actions.pod:7053
33115 msgid ""
33116 "See also: C<guestfs_sfdisk>, the L<sfdisk(8)> manpage and "
33117 "C<guestfs_part_disk>"
33118 msgstr ""
33119
33120 #. type: =head2
33121 #: ../src/guestfs-actions.pod:7063
33122 msgid "guestfs_sfdisk_N"
33123 msgstr ""
33124
33125 #. type: verbatim
33126 #: ../src/guestfs-actions.pod:7065
33127 #, no-wrap
33128 msgid ""
33129 " int\n"
33130 " guestfs_sfdisk_N (guestfs_h *g,\n"
33131 "                   const char *device,\n"
33132 "                   int partnum,\n"
33133 "                   int cyls,\n"
33134 "                   int heads,\n"
33135 "                   int sectors,\n"
33136 "                   const char *line);\n"
33137 "\n"
33138 msgstr ""
33139
33140 #. type: textblock
33141 #: ../src/guestfs-actions.pod:7084
33142 msgid ""
33143 "For other parameters, see C<guestfs_sfdisk>.  You should usually pass C<0> "
33144 "for the cyls/heads/sectors parameters."
33145 msgstr ""
33146
33147 #. type: textblock
33148 #: ../src/guestfs-actions.pod:7087
33149 msgid "See also: C<guestfs_part_add>"
33150 msgstr ""
33151
33152 #. type: =head2
33153 #: ../src/guestfs-actions.pod:7096
33154 msgid "guestfs_sfdisk_disk_geometry"
33155 msgstr ""
33156
33157 #. type: verbatim
33158 #: ../src/guestfs-actions.pod:7098
33159 #, no-wrap
33160 msgid ""
33161 " char *\n"
33162 " guestfs_sfdisk_disk_geometry (guestfs_h *g,\n"
33163 "                               const char *device);\n"
33164 "\n"
33165 msgstr ""
33166
33167 #. type: textblock
33168 #: ../src/guestfs-actions.pod:7102
33169 msgid ""
33170 "This displays the disk geometry of C<device> read from the partition table."
33171 "  Especially in the case where the underlying block device has been resized,"
33172 " this can be different from the kernel's idea of the geometry (see "
33173 "C<guestfs_sfdisk_kernel_geometry>)."
33174 msgstr ""
33175
33176 #. type: =head2
33177 #: ../src/guestfs-actions.pod:7115
33178 msgid "guestfs_sfdisk_kernel_geometry"
33179 msgstr ""
33180
33181 #. type: verbatim
33182 #: ../src/guestfs-actions.pod:7117
33183 #, no-wrap
33184 msgid ""
33185 " char *\n"
33186 " guestfs_sfdisk_kernel_geometry (guestfs_h *g,\n"
33187 "                                 const char *device);\n"
33188 "\n"
33189 msgstr ""
33190
33191 #. type: =head2
33192 #: ../src/guestfs-actions.pod:7131
33193 msgid "guestfs_sfdisk_l"
33194 msgstr ""
33195
33196 #. type: verbatim
33197 #: ../src/guestfs-actions.pod:7133
33198 #, no-wrap
33199 msgid ""
33200 " char *\n"
33201 " guestfs_sfdisk_l (guestfs_h *g,\n"
33202 "                   const char *device);\n"
33203 "\n"
33204 msgstr ""
33205
33206 #. type: textblock
33207 #: ../src/guestfs-actions.pod:7137
33208 msgid ""
33209 "I<This function is deprecated.> In new code, use the L</guestfs_part_list> "
33210 "call instead."
33211 msgstr ""
33212
33213 #. type: textblock
33214 #: ../src/guestfs-actions.pod:7148
33215 msgid "See also: C<guestfs_part_list>"
33216 msgstr ""
33217
33218 #. type: =head2
33219 #: ../src/guestfs-actions.pod:7155
33220 msgid "guestfs_sh"
33221 msgstr ""
33222
33223 #. type: verbatim
33224 #: ../src/guestfs-actions.pod:7157
33225 #, no-wrap
33226 msgid ""
33227 " char *\n"
33228 " guestfs_sh (guestfs_h *g,\n"
33229 "             const char *command);\n"
33230 "\n"
33231 msgstr ""
33232
33233 #. type: textblock
33234 #: ../src/guestfs-actions.pod:7164
33235 msgid "This is like C<guestfs_command>, but passes the command to:"
33236 msgstr ""
33237
33238 #. type: textblock
33239 #: ../src/guestfs-actions.pod:7172
33240 msgid "All the provisos about C<guestfs_command> apply to this call."
33241 msgstr ""
33242
33243 #. type: =head2
33244 #: ../src/guestfs-actions.pod:7179
33245 msgid "guestfs_sh_lines"
33246 msgstr ""
33247
33248 #. type: verbatim
33249 #: ../src/guestfs-actions.pod:7181
33250 #, no-wrap
33251 msgid ""
33252 " char **\n"
33253 " guestfs_sh_lines (guestfs_h *g,\n"
33254 "                   const char *command);\n"
33255 "\n"
33256 msgstr ""
33257
33258 #. type: textblock
33259 #: ../src/guestfs-actions.pod:7185
33260 msgid ""
33261 "This is the same as C<guestfs_sh>, but splits the result into a list of "
33262 "lines."
33263 msgstr ""
33264
33265 #. type: textblock
33266 #: ../src/guestfs-actions.pod:7188
33267 msgid "See also: C<guestfs_command_lines>"
33268 msgstr ""
33269
33270 #. type: =head2
33271 #: ../src/guestfs-actions.pod:7196
33272 msgid "guestfs_sleep"
33273 msgstr ""
33274
33275 #. type: verbatim
33276 #: ../src/guestfs-actions.pod:7198
33277 #, no-wrap
33278 msgid ""
33279 " int\n"
33280 " guestfs_sleep (guestfs_h *g,\n"
33281 "                int secs);\n"
33282 "\n"
33283 msgstr ""
33284
33285 #. type: textblock
33286 #: ../src/guestfs-actions.pod:7206
33287 msgid "(Added in 1.0.41)"
33288 msgstr "(Додано у 1.0.41)"
33289
33290 #. type: =head2
33291 #: ../src/guestfs-actions.pod:7208 ../src/guestfs-structs.pod:109
33292 msgid "guestfs_stat"
33293 msgstr ""
33294
33295 #. type: verbatim
33296 #: ../src/guestfs-actions.pod:7210
33297 #, no-wrap
33298 msgid ""
33299 " struct guestfs_stat *\n"
33300 " guestfs_stat (guestfs_h *g,\n"
33301 "               const char *path);\n"
33302 "\n"
33303 msgstr ""
33304
33305 #. type: =head2
33306 #: ../src/guestfs-actions.pod:7224 ../src/guestfs-structs.pod:135
33307 msgid "guestfs_statvfs"
33308 msgstr ""
33309
33310 #. type: verbatim
33311 #: ../src/guestfs-actions.pod:7226
33312 #, no-wrap
33313 msgid ""
33314 " struct guestfs_statvfs *\n"
33315 " guestfs_statvfs (guestfs_h *g,\n"
33316 "                  const char *path);\n"
33317 "\n"
33318 msgstr ""
33319
33320 #. type: textblock
33321 #: ../src/guestfs-actions.pod:7236
33322 msgid ""
33323 "This function returns a C<struct guestfs_statvfs *>, or NULL if there was an"
33324 " error.  I<The caller must call C<guestfs_free_statvfs> after use>."
33325 msgstr ""
33326
33327 #. type: =head2
33328 #: ../src/guestfs-actions.pod:7242
33329 msgid "guestfs_strings"
33330 msgstr ""
33331
33332 #. type: verbatim
33333 #: ../src/guestfs-actions.pod:7244
33334 #, no-wrap
33335 msgid ""
33336 " char **\n"
33337 " guestfs_strings (guestfs_h *g,\n"
33338 "                  const char *path);\n"
33339 "\n"
33340 msgstr ""
33341
33342 #. type: =head2
33343 #: ../src/guestfs-actions.pod:7260
33344 msgid "guestfs_strings_e"
33345 msgstr ""
33346
33347 #. type: verbatim
33348 #: ../src/guestfs-actions.pod:7262
33349 #, no-wrap
33350 msgid ""
33351 " char **\n"
33352 " guestfs_strings_e (guestfs_h *g,\n"
33353 "                    const char *encoding,\n"
33354 "                    const char *path);\n"
33355 "\n"
33356 msgstr ""
33357
33358 #. type: textblock
33359 #: ../src/guestfs-actions.pod:7267
33360 msgid ""
33361 "This is like the C<guestfs_strings> command, but allows you to specify the "
33362 "encoding of strings that are looked for in the source file C<path>."
33363 msgstr ""
33364
33365 #. type: textblock
33366 #: ../src/guestfs-actions.pod:7277
33367 msgid ""
33368 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
33369 "ISO-8859-X (this is what C<guestfs_strings> uses)."
33370 msgstr ""
33371
33372 #. type: =head2
33373 #: ../src/guestfs-actions.pod:7315
33374 msgid "guestfs_swapoff_device"
33375 msgstr ""
33376
33377 #. type: verbatim
33378 #: ../src/guestfs-actions.pod:7317
33379 #, no-wrap
33380 msgid ""
33381 " int\n"
33382 " guestfs_swapoff_device (guestfs_h *g,\n"
33383 "                         const char *device);\n"
33384 "\n"
33385 msgstr ""
33386
33387 #. type: textblock
33388 #: ../src/guestfs-actions.pod:7321
33389 msgid ""
33390 "This command disables the libguestfs appliance swap device or partition "
33391 "named C<device>.  See C<guestfs_swapon_device>."
33392 msgstr ""
33393
33394 #. type: =head2
33395 #: ../src/guestfs-actions.pod:7329
33396 msgid "guestfs_swapoff_file"
33397 msgstr ""
33398
33399 #. type: verbatim
33400 #: ../src/guestfs-actions.pod:7331
33401 #, no-wrap
33402 msgid ""
33403 " int\n"
33404 " guestfs_swapoff_file (guestfs_h *g,\n"
33405 "                       const char *file);\n"
33406 "\n"
33407 msgstr ""
33408
33409 #. type: =head2
33410 #: ../src/guestfs-actions.pod:7341
33411 msgid "guestfs_swapoff_label"
33412 msgstr ""
33413
33414 #. type: verbatim
33415 #: ../src/guestfs-actions.pod:7343
33416 #, no-wrap
33417 msgid ""
33418 " int\n"
33419 " guestfs_swapoff_label (guestfs_h *g,\n"
33420 "                        const char *label);\n"
33421 "\n"
33422 msgstr ""
33423
33424 #. type: =head2
33425 #: ../src/guestfs-actions.pod:7354
33426 msgid "guestfs_swapoff_uuid"
33427 msgstr ""
33428
33429 #. type: verbatim
33430 #: ../src/guestfs-actions.pod:7356
33431 #, no-wrap
33432 msgid ""
33433 " int\n"
33434 " guestfs_swapoff_uuid (guestfs_h *g,\n"
33435 "                       const char *uuid);\n"
33436 "\n"
33437 msgstr ""
33438
33439 #. type: =head2
33440 #: ../src/guestfs-actions.pod:7367
33441 msgid "guestfs_swapon_device"
33442 msgstr ""
33443
33444 #. type: verbatim
33445 #: ../src/guestfs-actions.pod:7369
33446 #, no-wrap
33447 msgid ""
33448 " int\n"
33449 " guestfs_swapon_device (guestfs_h *g,\n"
33450 "                        const char *device);\n"
33451 "\n"
33452 msgstr ""
33453
33454 #. type: textblock
33455 #: ../src/guestfs-actions.pod:7373
33456 msgid ""
33457 "This command enables the libguestfs appliance to use the swap device or "
33458 "partition named C<device>.  The increased memory is made available for all "
33459 "commands, for example those run using C<guestfs_command> or C<guestfs_sh>."
33460 msgstr ""
33461
33462 #. type: =head2
33463 #: ../src/guestfs-actions.pod:7389
33464 msgid "guestfs_swapon_file"
33465 msgstr ""
33466
33467 #. type: verbatim
33468 #: ../src/guestfs-actions.pod:7391
33469 #, no-wrap
33470 msgid ""
33471 " int\n"
33472 " guestfs_swapon_file (guestfs_h *g,\n"
33473 "                      const char *file);\n"
33474 "\n"
33475 msgstr ""
33476
33477 #. type: textblock
33478 #: ../src/guestfs-actions.pod:7395
33479 msgid ""
33480 "This command enables swap to a file.  See C<guestfs_swapon_device> for other"
33481 " notes."
33482 msgstr ""
33483
33484 #. type: =head2
33485 #: ../src/guestfs-actions.pod:7402
33486 msgid "guestfs_swapon_label"
33487 msgstr ""
33488
33489 #. type: verbatim
33490 #: ../src/guestfs-actions.pod:7404
33491 #, no-wrap
33492 msgid ""
33493 " int\n"
33494 " guestfs_swapon_label (guestfs_h *g,\n"
33495 "                       const char *label);\n"
33496 "\n"
33497 msgstr ""
33498
33499 #. type: textblock
33500 #: ../src/guestfs-actions.pod:7408
33501 msgid ""
33502 "This command enables swap to a labeled swap partition.  See "
33503 "C<guestfs_swapon_device> for other notes."
33504 msgstr ""
33505
33506 #. type: =head2
33507 #: ../src/guestfs-actions.pod:7415
33508 msgid "guestfs_swapon_uuid"
33509 msgstr ""
33510
33511 #. type: verbatim
33512 #: ../src/guestfs-actions.pod:7417
33513 #, no-wrap
33514 msgid ""
33515 " int\n"
33516 " guestfs_swapon_uuid (guestfs_h *g,\n"
33517 "                      const char *uuid);\n"
33518 "\n"
33519 msgstr ""
33520
33521 #. type: textblock
33522 #: ../src/guestfs-actions.pod:7421
33523 msgid ""
33524 "This command enables swap to a swap partition with the given UUID.  See "
33525 "C<guestfs_swapon_device> for other notes."
33526 msgstr ""
33527
33528 #. type: =head2
33529 #: ../src/guestfs-actions.pod:7428
33530 msgid "guestfs_sync"
33531 msgstr ""
33532
33533 #. type: verbatim
33534 #: ../src/guestfs-actions.pod:7430
33535 #, no-wrap
33536 msgid ""
33537 " int\n"
33538 " guestfs_sync (guestfs_h *g);\n"
33539 "\n"
33540 msgstr ""
33541
33542 #. type: =head2
33543 #: ../src/guestfs-actions.pod:7443
33544 msgid "guestfs_tail"
33545 msgstr ""
33546
33547 #. type: verbatim
33548 #: ../src/guestfs-actions.pod:7445
33549 #, no-wrap
33550 msgid ""
33551 " char **\n"
33552 " guestfs_tail (guestfs_h *g,\n"
33553 "               const char *path);\n"
33554 "\n"
33555 msgstr ""
33556
33557 #. type: =head2
33558 #: ../src/guestfs-actions.pod:7461
33559 msgid "guestfs_tail_n"
33560 msgstr ""
33561
33562 #. type: verbatim
33563 #: ../src/guestfs-actions.pod:7463
33564 #, no-wrap
33565 msgid ""
33566 " char **\n"
33567 " guestfs_tail_n (guestfs_h *g,\n"
33568 "                 int nrlines,\n"
33569 "                 const char *path);\n"
33570 "\n"
33571 msgstr ""
33572
33573 #. type: =head2
33574 #: ../src/guestfs-actions.pod:7485
33575 msgid "guestfs_tar_in"
33576 msgstr ""
33577
33578 #. type: verbatim
33579 #: ../src/guestfs-actions.pod:7487
33580 #, no-wrap
33581 msgid ""
33582 " int\n"
33583 " guestfs_tar_in (guestfs_h *g,\n"
33584 "                 const char *tarfile,\n"
33585 "                 const char *directory);\n"
33586 "\n"
33587 msgstr ""
33588
33589 #. type: textblock
33590 #: ../src/guestfs-actions.pod:7495
33591 msgid ""
33592 "To upload a compressed tarball, use C<guestfs_tgz_in> or C<guestfs_txz_in>."
33593 msgstr ""
33594
33595 #. type: textblock
33596 #: ../src/guestfs-actions.pod:7500 ../src/guestfs-actions.pod:7517
33597 #: ../src/guestfs-actions.pod:7533 ../src/guestfs-actions.pod:7549
33598 msgid "(Added in 1.0.3)"
33599 msgstr "(Додано у 1.0.3)"
33600
33601 #. type: =head2
33602 #: ../src/guestfs-actions.pod:7502
33603 msgid "guestfs_tar_out"
33604 msgstr ""
33605
33606 #. type: verbatim
33607 #: ../src/guestfs-actions.pod:7504
33608 #, no-wrap
33609 msgid ""
33610 " int\n"
33611 " guestfs_tar_out (guestfs_h *g,\n"
33612 "                  const char *directory,\n"
33613 "                  const char *tarfile);\n"
33614 "\n"
33615 msgstr ""
33616
33617 #. type: textblock
33618 #: ../src/guestfs-actions.pod:7512
33619 msgid ""
33620 "To download a compressed tarball, use C<guestfs_tgz_out> or "
33621 "C<guestfs_txz_out>."
33622 msgstr ""
33623
33624 #. type: =head2
33625 #: ../src/guestfs-actions.pod:7519
33626 msgid "guestfs_tgz_in"
33627 msgstr ""
33628
33629 #. type: verbatim
33630 #: ../src/guestfs-actions.pod:7521
33631 #, no-wrap
33632 msgid ""
33633 " int\n"
33634 " guestfs_tgz_in (guestfs_h *g,\n"
33635 "                 const char *tarball,\n"
33636 "                 const char *directory);\n"
33637 "\n"
33638 msgstr ""
33639
33640 #. type: textblock
33641 #: ../src/guestfs-actions.pod:7529
33642 msgid "To upload an uncompressed tarball, use C<guestfs_tar_in>."
33643 msgstr ""
33644
33645 #. type: =head2
33646 #: ../src/guestfs-actions.pod:7535
33647 msgid "guestfs_tgz_out"
33648 msgstr ""
33649
33650 #. type: verbatim
33651 #: ../src/guestfs-actions.pod:7537
33652 #, no-wrap
33653 msgid ""
33654 " int\n"
33655 " guestfs_tgz_out (guestfs_h *g,\n"
33656 "                  const char *directory,\n"
33657 "                  const char *tarball);\n"
33658 "\n"
33659 msgstr ""
33660
33661 #. type: textblock
33662 #: ../src/guestfs-actions.pod:7545
33663 msgid "To download an uncompressed tarball, use C<guestfs_tar_out>."
33664 msgstr ""
33665
33666 #. type: =head2
33667 #: ../src/guestfs-actions.pod:7551
33668 msgid "guestfs_touch"
33669 msgstr ""
33670
33671 #. type: verbatim
33672 #: ../src/guestfs-actions.pod:7553
33673 #, no-wrap
33674 msgid ""
33675 " int\n"
33676 " guestfs_touch (guestfs_h *g,\n"
33677 "                const char *path);\n"
33678 "\n"
33679 msgstr ""
33680
33681 #. type: =head2
33682 #: ../src/guestfs-actions.pod:7568
33683 msgid "guestfs_truncate"
33684 msgstr ""
33685
33686 #. type: verbatim
33687 #: ../src/guestfs-actions.pod:7570
33688 #, no-wrap
33689 msgid ""
33690 " int\n"
33691 " guestfs_truncate (guestfs_h *g,\n"
33692 "                   const char *path);\n"
33693 "\n"
33694 msgstr ""
33695
33696 #. type: =head2
33697 #: ../src/guestfs-actions.pod:7581
33698 msgid "guestfs_truncate_size"
33699 msgstr ""
33700
33701 #. type: verbatim
33702 #: ../src/guestfs-actions.pod:7583
33703 #, no-wrap
33704 msgid ""
33705 " int\n"
33706 " guestfs_truncate_size (guestfs_h *g,\n"
33707 "                        const char *path,\n"
33708 "                        int64_t size);\n"
33709 "\n"
33710 msgstr ""
33711
33712 #. type: textblock
33713 #: ../src/guestfs-actions.pod:7591
33714 msgid ""
33715 "If the current file size is less than C<size> then the file is extended to "
33716 "the required size with zero bytes.  This creates a sparse file (ie. disk "
33717 "blocks are not allocated for the file until you write to it).  To create a "
33718 "non-sparse file of zeroes, use C<guestfs_fallocate64> instead."
33719 msgstr ""
33720
33721 #. type: =head2
33722 #: ../src/guestfs-actions.pod:7601
33723 msgid "guestfs_tune2fs_l"
33724 msgstr ""
33725
33726 #. type: verbatim
33727 #: ../src/guestfs-actions.pod:7603
33728 #, no-wrap
33729 msgid ""
33730 " char **\n"
33731 " guestfs_tune2fs_l (guestfs_h *g,\n"
33732 "                    const char *device);\n"
33733 "\n"
33734 msgstr ""
33735
33736 #. type: =head2
33737 #: ../src/guestfs-actions.pod:7623
33738 msgid "guestfs_txz_in"
33739 msgstr ""
33740
33741 #. type: verbatim
33742 #: ../src/guestfs-actions.pod:7625
33743 #, no-wrap
33744 msgid ""
33745 " int\n"
33746 " guestfs_txz_in (guestfs_h *g,\n"
33747 "                 const char *tarball,\n"
33748 "                 const char *directory);\n"
33749 "\n"
33750 msgstr ""
33751
33752 #. type: =head2
33753 #: ../src/guestfs-actions.pod:7637
33754 msgid "guestfs_txz_out"
33755 msgstr ""
33756
33757 #. type: verbatim
33758 #: ../src/guestfs-actions.pod:7639
33759 #, no-wrap
33760 msgid ""
33761 " int\n"
33762 " guestfs_txz_out (guestfs_h *g,\n"
33763 "                  const char *directory,\n"
33764 "                  const char *tarball);\n"
33765 "\n"
33766 msgstr ""
33767
33768 #. type: =head2
33769 #: ../src/guestfs-actions.pod:7651
33770 msgid "guestfs_umask"
33771 msgstr ""
33772
33773 #. type: verbatim
33774 #: ../src/guestfs-actions.pod:7653
33775 #, no-wrap
33776 msgid ""
33777 " int\n"
33778 " guestfs_umask (guestfs_h *g,\n"
33779 "                int mask);\n"
33780 "\n"
33781 msgstr ""
33782
33783 #. type: textblock
33784 #: ../src/guestfs-actions.pod:7669
33785 msgid ""
33786 "See also C<guestfs_get_umask>, L<umask(2)>, C<guestfs_mknod>, "
33787 "C<guestfs_mkdir>."
33788 msgstr ""
33789
33790 #. type: =head2
33791 #: ../src/guestfs-actions.pod:7678
33792 msgid "guestfs_umount"
33793 msgstr ""
33794
33795 #. type: verbatim
33796 #: ../src/guestfs-actions.pod:7680
33797 #, no-wrap
33798 msgid ""
33799 " int\n"
33800 " guestfs_umount (guestfs_h *g,\n"
33801 "                 const char *pathordevice);\n"
33802 "\n"
33803 msgstr ""
33804
33805 #. type: =head2
33806 #: ../src/guestfs-actions.pod:7692
33807 msgid "guestfs_umount_all"
33808 msgstr ""
33809
33810 #. type: verbatim
33811 #: ../src/guestfs-actions.pod:7694
33812 #, no-wrap
33813 msgid ""
33814 " int\n"
33815 " guestfs_umount_all (guestfs_h *g);\n"
33816 "\n"
33817 msgstr ""
33818
33819 #. type: =head2
33820 #: ../src/guestfs-actions.pod:7705
33821 msgid "guestfs_upload"
33822 msgstr ""
33823
33824 #. type: verbatim
33825 #: ../src/guestfs-actions.pod:7707
33826 #, no-wrap
33827 msgid ""
33828 " int\n"
33829 " guestfs_upload (guestfs_h *g,\n"
33830 "                 const char *filename,\n"
33831 "                 const char *remotefilename);\n"
33832 "\n"
33833 msgstr ""
33834
33835 #. type: textblock
33836 #: ../src/guestfs-actions.pod:7717
33837 msgid "See also C<guestfs_download>."
33838 msgstr ""
33839
33840 #. type: =head2
33841 #: ../src/guestfs-actions.pod:7728
33842 msgid "guestfs_upload_offset"
33843 msgstr ""
33844
33845 #. type: verbatim
33846 #: ../src/guestfs-actions.pod:7730
33847 #, no-wrap
33848 msgid ""
33849 " int\n"
33850 " guestfs_upload_offset (guestfs_h *g,\n"
33851 "                        const char *filename,\n"
33852 "                        const char *remotefilename,\n"
33853 "                        int64_t offset);\n"
33854 "\n"
33855 msgstr ""
33856
33857 #. type: textblock
33858 #: ../src/guestfs-actions.pod:7746
33859 msgid ""
33860 "Note that there is no limit on the amount of data that can be uploaded with "
33861 "this call, unlike with C<guestfs_pwrite>, and this call always writes the "
33862 "full amount unless an error occurs."
33863 msgstr ""
33864
33865 #. type: textblock
33866 #: ../src/guestfs-actions.pod:7751
33867 msgid "See also C<guestfs_upload>, C<guestfs_pwrite>."
33868 msgstr ""
33869
33870 #. type: =head2
33871 #: ../src/guestfs-actions.pod:7762
33872 msgid "guestfs_utimens"
33873 msgstr ""
33874
33875 #. type: verbatim
33876 #: ../src/guestfs-actions.pod:7764
33877 #, no-wrap
33878 msgid ""
33879 " int\n"
33880 " guestfs_utimens (guestfs_h *g,\n"
33881 "                  const char *path,\n"
33882 "                  int64_t atsecs,\n"
33883 "                  int64_t atnsecs,\n"
33884 "                  int64_t mtsecs,\n"
33885 "                  int64_t mtnsecs);\n"
33886 "\n"
33887 msgstr ""
33888
33889 #. type: =head2
33890 #: ../src/guestfs-actions.pod:7793 ../src/guestfs-structs.pod:175
33891 msgid "guestfs_version"
33892 msgstr ""
33893
33894 #. type: verbatim
33895 #: ../src/guestfs-actions.pod:7795
33896 #, no-wrap
33897 msgid ""
33898 " struct guestfs_version *\n"
33899 " guestfs_version (guestfs_h *g);\n"
33900 "\n"
33901 msgstr ""
33902
33903 #. type: textblock
33904 #: ../src/guestfs-actions.pod:7823
33905 msgid ""
33906 "I<Note:> Don't use this call to test for availability of features.  In "
33907 "enterprise distributions we backport features from later versions into "
33908 "earlier versions, making this an unreliable way to test for features.  Use "
33909 "C<guestfs_available> instead."
33910 msgstr ""
33911
33912 #. type: textblock
33913 #: ../src/guestfs-actions.pod:7829
33914 msgid ""
33915 "This function returns a C<struct guestfs_version *>, or NULL if there was an"
33916 " error.  I<The caller must call C<guestfs_free_version> after use>."
33917 msgstr ""
33918
33919 #. type: textblock
33920 #: ../src/guestfs-actions.pod:7833
33921 msgid "(Added in 1.0.58)"
33922 msgstr "(Додано у 1.0.58)"
33923
33924 #. type: =head2
33925 #: ../src/guestfs-actions.pod:7835
33926 msgid "guestfs_vfs_label"
33927 msgstr ""
33928
33929 #. type: verbatim
33930 #: ../src/guestfs-actions.pod:7837
33931 #, no-wrap
33932 msgid ""
33933 " char *\n"
33934 " guestfs_vfs_label (guestfs_h *g,\n"
33935 "                    const char *device);\n"
33936 "\n"
33937 msgstr ""
33938
33939 #. type: textblock
33940 #: ../src/guestfs-actions.pod:7846
33941 msgid "To find a filesystem from the label, use C<guestfs_findfs_label>."
33942 msgstr ""
33943
33944 #. type: textblock
33945 #: ../src/guestfs-actions.pod:7851 ../src/guestfs-actions.pod:7888
33946 msgid "(Added in 1.3.18)"
33947 msgstr "(Додано у 1.3.18)"
33948
33949 #. type: =head2
33950 #: ../src/guestfs-actions.pod:7853
33951 msgid "guestfs_vfs_type"
33952 msgstr ""
33953
33954 #. type: verbatim
33955 #: ../src/guestfs-actions.pod:7855
33956 #, no-wrap
33957 msgid ""
33958 " char *\n"
33959 " guestfs_vfs_type (guestfs_h *g,\n"
33960 "                   const char *device);\n"
33961 "\n"
33962 msgstr ""
33963
33964 #. type: =head2
33965 #: ../src/guestfs-actions.pod:7872
33966 msgid "guestfs_vfs_uuid"
33967 msgstr ""
33968
33969 #. type: verbatim
33970 #: ../src/guestfs-actions.pod:7874
33971 #, no-wrap
33972 msgid ""
33973 " char *\n"
33974 " guestfs_vfs_uuid (guestfs_h *g,\n"
33975 "                   const char *device);\n"
33976 "\n"
33977 msgstr ""
33978
33979 #. type: textblock
33980 #: ../src/guestfs-actions.pod:7883
33981 msgid "To find a filesystem from the UUID, use C<guestfs_findfs_uuid>."
33982 msgstr ""
33983
33984 #. type: =head2
33985 #: ../src/guestfs-actions.pod:7890
33986 msgid "guestfs_vg_activate"
33987 msgstr ""
33988
33989 #. type: verbatim
33990 #: ../src/guestfs-actions.pod:7892
33991 #, no-wrap
33992 msgid ""
33993 " int\n"
33994 " guestfs_vg_activate (guestfs_h *g,\n"
33995 "                      int activate,\n"
33996 "                      char *const *volgroups);\n"
33997 "\n"
33998 msgstr ""
33999
34000 #. type: =head2
34001 #: ../src/guestfs-actions.pod:7909
34002 msgid "guestfs_vg_activate_all"
34003 msgstr ""
34004
34005 #. type: verbatim
34006 #: ../src/guestfs-actions.pod:7911
34007 #, no-wrap
34008 msgid ""
34009 " int\n"
34010 " guestfs_vg_activate_all (guestfs_h *g,\n"
34011 "                          int activate);\n"
34012 "\n"
34013 msgstr ""
34014
34015 #. type: =head2
34016 #: ../src/guestfs-actions.pod:7924
34017 msgid "guestfs_vgcreate"
34018 msgstr ""
34019
34020 #. type: verbatim
34021 #: ../src/guestfs-actions.pod:7926
34022 #, no-wrap
34023 msgid ""
34024 " int\n"
34025 " guestfs_vgcreate (guestfs_h *g,\n"
34026 "                   const char *volgroup,\n"
34027 "                   char *const *physvols);\n"
34028 "\n"
34029 msgstr ""
34030
34031 #. type: =head2
34032 #: ../src/guestfs-actions.pod:7938
34033 msgid "guestfs_vglvuuids"
34034 msgstr ""
34035
34036 #. type: verbatim
34037 #: ../src/guestfs-actions.pod:7940
34038 #, no-wrap
34039 msgid ""
34040 " char **\n"
34041 " guestfs_vglvuuids (guestfs_h *g,\n"
34042 "                    const char *vgname);\n"
34043 "\n"
34044 msgstr ""
34045
34046 #. type: textblock
34047 #: ../src/guestfs-actions.pod:7947
34048 msgid ""
34049 "You can use this along with C<guestfs_lvs> and C<guestfs_lvuuid> calls to "
34050 "associate logical volumes and volume groups."
34051 msgstr ""
34052
34053 #. type: textblock
34054 #: ../src/guestfs-actions.pod:7950
34055 msgid "See also C<guestfs_vgpvuuids>."
34056 msgstr ""
34057
34058 #. type: =head2
34059 #: ../src/guestfs-actions.pod:7958
34060 msgid "guestfs_vgpvuuids"
34061 msgstr ""
34062
34063 #. type: verbatim
34064 #: ../src/guestfs-actions.pod:7960
34065 #, no-wrap
34066 msgid ""
34067 " char **\n"
34068 " guestfs_vgpvuuids (guestfs_h *g,\n"
34069 "                    const char *vgname);\n"
34070 "\n"
34071 msgstr ""
34072
34073 #. type: textblock
34074 #: ../src/guestfs-actions.pod:7967
34075 msgid ""
34076 "You can use this along with C<guestfs_pvs> and C<guestfs_pvuuid> calls to "
34077 "associate physical volumes and volume groups."
34078 msgstr ""
34079
34080 #. type: textblock
34081 #: ../src/guestfs-actions.pod:7970
34082 msgid "See also C<guestfs_vglvuuids>."
34083 msgstr ""
34084
34085 #. type: =head2
34086 #: ../src/guestfs-actions.pod:7978
34087 msgid "guestfs_vgremove"
34088 msgstr ""
34089
34090 #. type: verbatim
34091 #: ../src/guestfs-actions.pod:7980
34092 #, no-wrap
34093 msgid ""
34094 " int\n"
34095 " guestfs_vgremove (guestfs_h *g,\n"
34096 "                   const char *vgname);\n"
34097 "\n"
34098 msgstr ""
34099
34100 #. type: =head2
34101 #: ../src/guestfs-actions.pod:7993
34102 msgid "guestfs_vgrename"
34103 msgstr ""
34104
34105 #. type: verbatim
34106 #: ../src/guestfs-actions.pod:7995
34107 #, no-wrap
34108 msgid ""
34109 " int\n"
34110 " guestfs_vgrename (guestfs_h *g,\n"
34111 "                   const char *volgroup,\n"
34112 "                   const char *newvolgroup);\n"
34113 "\n"
34114 msgstr ""
34115
34116 #. type: =head2
34117 #: ../src/guestfs-actions.pod:8006
34118 msgid "guestfs_vgs"
34119 msgstr ""
34120
34121 #. type: verbatim
34122 #: ../src/guestfs-actions.pod:8008
34123 #, no-wrap
34124 msgid ""
34125 " char **\n"
34126 " guestfs_vgs (guestfs_h *g);\n"
34127 "\n"
34128 msgstr ""
34129
34130 #. type: textblock
34131 #: ../src/guestfs-actions.pod:8017
34132 msgid "See also C<guestfs_vgs_full>."
34133 msgstr ""
34134
34135 #. type: =head2
34136 #: ../src/guestfs-actions.pod:8025
34137 msgid "guestfs_vgs_full"
34138 msgstr ""
34139
34140 #. type: verbatim
34141 #: ../src/guestfs-actions.pod:8027
34142 #, no-wrap
34143 msgid ""
34144 " struct guestfs_lvm_vg_list *\n"
34145 " guestfs_vgs_full (guestfs_h *g);\n"
34146 "\n"
34147 msgstr ""
34148
34149 #. type: textblock
34150 #: ../src/guestfs-actions.pod:8033
34151 msgid ""
34152 "This function returns a C<struct guestfs_lvm_vg_list *>, or NULL if there "
34153 "was an error.  I<The caller must call C<guestfs_free_lvm_vg_list> after "
34154 "use>."
34155 msgstr ""
34156
34157 #. type: =head2
34158 #: ../src/guestfs-actions.pod:8039
34159 msgid "guestfs_vgscan"
34160 msgstr ""
34161
34162 #. type: verbatim
34163 #: ../src/guestfs-actions.pod:8041
34164 #, no-wrap
34165 msgid ""
34166 " int\n"
34167 " guestfs_vgscan (guestfs_h *g);\n"
34168 "\n"
34169 msgstr ""
34170
34171 #. type: =head2
34172 #: ../src/guestfs-actions.pod:8051
34173 msgid "guestfs_vguuid"
34174 msgstr ""
34175
34176 #. type: verbatim
34177 #: ../src/guestfs-actions.pod:8053
34178 #, no-wrap
34179 msgid ""
34180 " char *\n"
34181 " guestfs_vguuid (guestfs_h *g,\n"
34182 "                 const char *vgname);\n"
34183 "\n"
34184 msgstr ""
34185
34186 #. type: =head2
34187 #: ../src/guestfs-actions.pod:8064
34188 msgid "guestfs_wait_ready"
34189 msgstr ""
34190
34191 #. type: verbatim
34192 #: ../src/guestfs-actions.pod:8066
34193 #, no-wrap
34194 msgid ""
34195 " int\n"
34196 " guestfs_wait_ready (guestfs_h *g);\n"
34197 "\n"
34198 msgstr ""
34199
34200 #. type: textblock
34201 #: ../src/guestfs-actions.pod:8069
34202 msgid ""
34203 "I<This function is deprecated.> In new code, use the L</guestfs_launch> call"
34204 " instead."
34205 msgstr ""
34206
34207 #. type: textblock
34208 #: ../src/guestfs-actions.pod:8076
34209 msgid "This function is a no op."
34210 msgstr ""
34211
34212 #. type: textblock
34213 #: ../src/guestfs-actions.pod:8078
34214 msgid ""
34215 "In versions of the API E<lt> 1.0.71 you had to call this function just after"
34216 " calling C<guestfs_launch> to wait for the launch to complete.  However this"
34217 " is no longer necessary because C<guestfs_launch> now does the waiting."
34218 msgstr ""
34219
34220 #. type: textblock
34221 #: ../src/guestfs-actions.pod:8083
34222 msgid ""
34223 "If you see any calls to this function in code then you can just remove them,"
34224 " unless you want to retain compatibility with older versions of the API."
34225 msgstr ""
34226
34227 #. type: =head2
34228 #: ../src/guestfs-actions.pod:8091
34229 msgid "guestfs_wc_c"
34230 msgstr ""
34231
34232 #. type: verbatim
34233 #: ../src/guestfs-actions.pod:8093
34234 #, no-wrap
34235 msgid ""
34236 " int\n"
34237 " guestfs_wc_c (guestfs_h *g,\n"
34238 "               const char *path);\n"
34239 "\n"
34240 msgstr ""
34241
34242 #. type: =head2
34243 #: ../src/guestfs-actions.pod:8104
34244 msgid "guestfs_wc_l"
34245 msgstr ""
34246
34247 #. type: verbatim
34248 #: ../src/guestfs-actions.pod:8106
34249 #, no-wrap
34250 msgid ""
34251 " int\n"
34252 " guestfs_wc_l (guestfs_h *g,\n"
34253 "               const char *path);\n"
34254 "\n"
34255 msgstr ""
34256
34257 #. type: =head2
34258 #: ../src/guestfs-actions.pod:8117
34259 msgid "guestfs_wc_w"
34260 msgstr ""
34261
34262 #. type: verbatim
34263 #: ../src/guestfs-actions.pod:8119
34264 #, no-wrap
34265 msgid ""
34266 " int\n"
34267 " guestfs_wc_w (guestfs_h *g,\n"
34268 "               const char *path);\n"
34269 "\n"
34270 msgstr ""
34271
34272 #. type: =head2
34273 #: ../src/guestfs-actions.pod:8130
34274 msgid "guestfs_write"
34275 msgstr ""
34276
34277 #. type: verbatim
34278 #: ../src/guestfs-actions.pod:8132
34279 #, no-wrap
34280 msgid ""
34281 " int\n"
34282 " guestfs_write (guestfs_h *g,\n"
34283 "                const char *path,\n"
34284 "                const char *content,\n"
34285 "                size_t content_size);\n"
34286 "\n"
34287 msgstr ""
34288
34289 #. type: textblock
34290 #: ../src/guestfs-actions.pod:8141
34291 msgid "See also C<guestfs_write_append>."
34292 msgstr ""
34293
34294 #. type: =head2
34295 #: ../src/guestfs-actions.pod:8150
34296 msgid "guestfs_write_append"
34297 msgstr ""
34298
34299 #. type: verbatim
34300 #: ../src/guestfs-actions.pod:8152
34301 #, no-wrap
34302 msgid ""
34303 " int\n"
34304 " guestfs_write_append (guestfs_h *g,\n"
34305 "                       const char *path,\n"
34306 "                       const char *content,\n"
34307 "                       size_t content_size);\n"
34308 "\n"
34309 msgstr ""
34310
34311 #. type: textblock
34312 #: ../src/guestfs-actions.pod:8161
34313 msgid "See also C<guestfs_write>."
34314 msgstr ""
34315
34316 #. type: =head2
34317 #: ../src/guestfs-actions.pod:8170
34318 msgid "guestfs_write_file"
34319 msgstr "guestfs_write_file"
34320
34321 #. type: verbatim
34322 #: ../src/guestfs-actions.pod:8172
34323 #, no-wrap
34324 msgid ""
34325 " int\n"
34326 " guestfs_write_file (guestfs_h *g,\n"
34327 "                     const char *path,\n"
34328 "                     const char *content,\n"
34329 "                     int size);\n"
34330 "\n"
34331 msgstr ""
34332 " int\n"
34333 " guestfs_write_file (guestfs_h *g,\n"
34334 "                     const char *path,\n"
34335 "                     const char *content,\n"
34336 "                     int size);\n"
34337 "\n"
34338
34339 #. type: textblock
34340 #: ../src/guestfs-actions.pod:8178
34341 msgid ""
34342 "I<This function is deprecated.> In new code, use the L</guestfs_write> call "
34343 "instead."
34344 msgstr ""
34345
34346 #. type: =head2
34347 #: ../src/guestfs-actions.pod:8203
34348 msgid "guestfs_zegrep"
34349 msgstr "guestfs_zegrep"
34350
34351 #. type: verbatim
34352 #: ../src/guestfs-actions.pod:8205
34353 #, no-wrap
34354 msgid ""
34355 " char **\n"
34356 " guestfs_zegrep (guestfs_h *g,\n"
34357 "                 const char *regex,\n"
34358 "                 const char *path);\n"
34359 "\n"
34360 msgstr ""
34361 " char **\n"
34362 " guestfs_zegrep (guestfs_h *g,\n"
34363 "                 const char *regex,\n"
34364 "                 const char *path);\n"
34365 "\n"
34366
34367 #. type: =head2
34368 #: ../src/guestfs-actions.pod:8222
34369 msgid "guestfs_zegrepi"
34370 msgstr "guestfs_zegrepi"
34371
34372 #. type: verbatim
34373 #: ../src/guestfs-actions.pod:8224
34374 #, no-wrap
34375 msgid ""
34376 " char **\n"
34377 " guestfs_zegrepi (guestfs_h *g,\n"
34378 "                  const char *regex,\n"
34379 "                  const char *path);\n"
34380 "\n"
34381 msgstr ""
34382 " char **\n"
34383 " guestfs_zegrepi (guestfs_h *g,\n"
34384 "                  const char *regex,\n"
34385 "                  const char *path);\n"
34386 "\n"
34387
34388 #. type: =head2
34389 #: ../src/guestfs-actions.pod:8241
34390 msgid "guestfs_zero"
34391 msgstr "guestfs_zero"
34392
34393 #. type: verbatim
34394 #: ../src/guestfs-actions.pod:8243
34395 #, no-wrap
34396 msgid ""
34397 " int\n"
34398 " guestfs_zero (guestfs_h *g,\n"
34399 "               const char *device);\n"
34400 "\n"
34401 msgstr ""
34402 " int\n"
34403 " guestfs_zero (guestfs_h *g,\n"
34404 "               const char *device);\n"
34405 "\n"
34406
34407 #. type: textblock
34408 #: ../src/guestfs-actions.pod:8257
34409 msgid ""
34410 "See also: C<guestfs_zero_device>, C<guestfs_scrub_device>, "
34411 "C<guestfs_is_zero_device>"
34412 msgstr ""
34413
34414 #. type: =head2
34415 #: ../src/guestfs-actions.pod:8269
34416 msgid "guestfs_zero_device"
34417 msgstr "guestfs_zero_device"
34418
34419 #. type: verbatim
34420 #: ../src/guestfs-actions.pod:8271
34421 #, no-wrap
34422 msgid ""
34423 " int\n"
34424 " guestfs_zero_device (guestfs_h *g,\n"
34425 "                      const char *device);\n"
34426 "\n"
34427 msgstr ""
34428 " int\n"
34429 " guestfs_zero_device (guestfs_h *g,\n"
34430 "                      const char *device);\n"
34431 "\n"
34432
34433 #. type: textblock
34434 #: ../src/guestfs-actions.pod:8275
34435 msgid ""
34436 "This command writes zeroes over the entire C<device>.  Compare with "
34437 "C<guestfs_zero> which just zeroes the first few blocks of a device."
34438 msgstr ""
34439
34440 #. type: textblock
34441 #: ../src/guestfs-actions.pod:8293
34442 msgid "(Added in 1.3.1)"
34443 msgstr "(Додано у 1.3.1)"
34444
34445 #. type: =head2
34446 #: ../src/guestfs-actions.pod:8295
34447 msgid "guestfs_zerofree"
34448 msgstr "guestfs_zerofree"
34449
34450 #. type: verbatim
34451 #: ../src/guestfs-actions.pod:8297
34452 #, no-wrap
34453 msgid ""
34454 " int\n"
34455 " guestfs_zerofree (guestfs_h *g,\n"
34456 "                   const char *device);\n"
34457 "\n"
34458 msgstr ""
34459 " int\n"
34460 " guestfs_zerofree (guestfs_h *g,\n"
34461 "                   const char *device);\n"
34462 "\n"
34463
34464 #. type: =head2
34465 #: ../src/guestfs-actions.pod:8316
34466 msgid "guestfs_zfgrep"
34467 msgstr "guestfs_zfgrep"
34468
34469 #. type: verbatim
34470 #: ../src/guestfs-actions.pod:8318
34471 #, no-wrap
34472 msgid ""
34473 " char **\n"
34474 " guestfs_zfgrep (guestfs_h *g,\n"
34475 "                 const char *pattern,\n"
34476 "                 const char *path);\n"
34477 "\n"
34478 msgstr ""
34479 " char **\n"
34480 " guestfs_zfgrep (guestfs_h *g,\n"
34481 "                 const char *pattern,\n"
34482 "                 const char *path);\n"
34483 "\n"
34484
34485 #. type: =head2
34486 #: ../src/guestfs-actions.pod:8335
34487 msgid "guestfs_zfgrepi"
34488 msgstr "guestfs_zfgrepi"
34489
34490 #. type: verbatim
34491 #: ../src/guestfs-actions.pod:8337
34492 #, no-wrap
34493 msgid ""
34494 " char **\n"
34495 " guestfs_zfgrepi (guestfs_h *g,\n"
34496 "                  const char *pattern,\n"
34497 "                  const char *path);\n"
34498 "\n"
34499 msgstr ""
34500 " char **\n"
34501 " guestfs_zfgrepi (guestfs_h *g,\n"
34502 "                  const char *pattern,\n"
34503 "                  const char *path);\n"
34504 "\n"
34505
34506 #. type: =head2
34507 #: ../src/guestfs-actions.pod:8354
34508 msgid "guestfs_zfile"
34509 msgstr "guestfs_zfile"
34510
34511 #. type: verbatim
34512 #: ../src/guestfs-actions.pod:8356
34513 #, no-wrap
34514 msgid ""
34515 " char *\n"
34516 " guestfs_zfile (guestfs_h *g,\n"
34517 "                const char *meth,\n"
34518 "                const char *path);\n"
34519 "\n"
34520 msgstr ""
34521 " char *\n"
34522 " guestfs_zfile (guestfs_h *g,\n"
34523 "                const char *meth,\n"
34524 "                const char *path);\n"
34525 "\n"
34526
34527 #. type: textblock
34528 #: ../src/guestfs-actions.pod:8361
34529 msgid ""
34530 "I<This function is deprecated.> In new code, use the L</guestfs_file> call "
34531 "instead."
34532 msgstr ""
34533
34534 #. type: textblock
34535 #: ../src/guestfs-actions.pod:8373
34536 msgid ""
34537 "Since 1.0.63, use C<guestfs_file> instead which can now process compressed "
34538 "files."
34539 msgstr ""
34540
34541 #. type: =head2
34542 #: ../src/guestfs-actions.pod:8381
34543 msgid "guestfs_zgrep"
34544 msgstr "guestfs_zgrep"
34545
34546 #. type: verbatim
34547 #: ../src/guestfs-actions.pod:8383
34548 #, no-wrap
34549 msgid ""
34550 " char **\n"
34551 " guestfs_zgrep (guestfs_h *g,\n"
34552 "                const char *regex,\n"
34553 "                const char *path);\n"
34554 "\n"
34555 msgstr ""
34556 " char **\n"
34557 " guestfs_zgrep (guestfs_h *g,\n"
34558 "                const char *regex,\n"
34559 "                const char *path);\n"
34560 "\n"
34561
34562 #. type: =head2
34563 #: ../src/guestfs-actions.pod:8400
34564 msgid "guestfs_zgrepi"
34565 msgstr "guestfs_zgrepi"
34566
34567 #. type: verbatim
34568 #: ../src/guestfs-actions.pod:8402
34569 #, no-wrap
34570 msgid ""
34571 " char **\n"
34572 " guestfs_zgrepi (guestfs_h *g,\n"
34573 "                 const char *regex,\n"
34574 "                 const char *path);\n"
34575 "\n"
34576 msgstr ""
34577 " char **\n"
34578 " guestfs_zgrepi (guestfs_h *g,\n"
34579 "                 const char *regex,\n"
34580 "                 const char *path);\n"
34581 "\n"
34582
34583 #. type: =item
34584 #: ../src/guestfs-availability.pod:3
34585 msgid "B<augeas>"
34586 msgstr "B<augeas>"
34587
34588 #. type: textblock
34589 #: ../src/guestfs-availability.pod:5
34590 msgid ""
34591 "The following functions: L</guestfs_aug_clear> L</guestfs_aug_close> "
34592 "L</guestfs_aug_defnode> L</guestfs_aug_defvar> L</guestfs_aug_get> "
34593 "L</guestfs_aug_init> L</guestfs_aug_insert> L</guestfs_aug_load> "
34594 "L</guestfs_aug_ls> L</guestfs_aug_match> L</guestfs_aug_mv> "
34595 "L</guestfs_aug_rm> L</guestfs_aug_save> L</guestfs_aug_set>"
34596 msgstr ""
34597
34598 #. type: =item
34599 #: ../src/guestfs-availability.pod:21
34600 msgid "B<btrfs>"
34601 msgstr "B<btrfs>"
34602
34603 #. type: textblock
34604 #: ../src/guestfs-availability.pod:23
34605 msgid "The following functions: L</guestfs_btrfs_filesystem_resize>"
34606 msgstr ""
34607
34608 #. type: =item
34609 #: ../src/guestfs-availability.pod:26
34610 msgid "B<grub>"
34611 msgstr ""
34612
34613 #. type: textblock
34614 #: ../src/guestfs-availability.pod:28
34615 msgid "The following functions: L</guestfs_grub_install>"
34616 msgstr ""
34617
34618 #. type: =item
34619 #: ../src/guestfs-availability.pod:31
34620 msgid "B<inotify>"
34621 msgstr "B<inotify>"
34622
34623 #. type: textblock
34624 #: ../src/guestfs-availability.pod:33
34625 msgid ""
34626 "The following functions: L</guestfs_inotify_add_watch> "
34627 "L</guestfs_inotify_close> L</guestfs_inotify_files> L</guestfs_inotify_init>"
34628 " L</guestfs_inotify_read> L</guestfs_inotify_rm_watch>"
34629 msgstr ""
34630
34631 #. type: =item
34632 #: ../src/guestfs-availability.pod:41
34633 msgid "B<linuxfsuuid>"
34634 msgstr "B<linuxfsuuid>"
34635
34636 #. type: textblock
34637 #: ../src/guestfs-availability.pod:43
34638 msgid ""
34639 "The following functions: L</guestfs_mke2fs_JU> L</guestfs_mke2journal_U> "
34640 "L</guestfs_mkswap_U> L</guestfs_swapoff_uuid> L</guestfs_swapon_uuid>"
34641 msgstr ""
34642
34643 #. type: =item
34644 #: ../src/guestfs-availability.pod:50
34645 msgid "B<linuxmodules>"
34646 msgstr "B<linuxmodules>"
34647
34648 #. type: textblock
34649 #: ../src/guestfs-availability.pod:52
34650 msgid "The following functions: L</guestfs_modprobe>"
34651 msgstr ""
34652
34653 #. type: =item
34654 #: ../src/guestfs-availability.pod:55
34655 msgid "B<linuxxattrs>"
34656 msgstr "B<linuxxattrs>"
34657
34658 #. type: textblock
34659 #: ../src/guestfs-availability.pod:57
34660 msgid ""
34661 "The following functions: L</guestfs_getxattr> L</guestfs_getxattrs> "
34662 "L</guestfs_lgetxattr> L</guestfs_lgetxattrs> L</guestfs_lremovexattr> "
34663 "L</guestfs_lsetxattr> L</guestfs_lxattrlist> L</guestfs_removexattr> "
34664 "L</guestfs_setxattr>"
34665 msgstr ""
34666
34667 #. type: =item
34668 #: ../src/guestfs-availability.pod:68
34669 msgid "B<luks>"
34670 msgstr "B<luks>"
34671
34672 #. type: textblock
34673 #: ../src/guestfs-availability.pod:70
34674 msgid ""
34675 "The following functions: L</guestfs_luks_add_key> L</guestfs_luks_close> "
34676 "L</guestfs_luks_format> L</guestfs_luks_format_cipher> "
34677 "L</guestfs_luks_kill_slot> L</guestfs_luks_open> L</guestfs_luks_open_ro>"
34678 msgstr ""
34679
34680 #. type: =item
34681 #: ../src/guestfs-availability.pod:79
34682 msgid "B<lvm2>"
34683 msgstr "B<lvm2>"
34684
34685 #. type: textblock
34686 #: ../src/guestfs-availability.pod:81
34687 msgid ""
34688 "The following functions: L</guestfs_is_lv> L</guestfs_lvcreate> "
34689 "L</guestfs_lvm_remove_all> L</guestfs_lvm_set_filter> L</guestfs_lvremove> "
34690 "L</guestfs_lvresize> L</guestfs_lvresize_free> L</guestfs_lvs> "
34691 "L</guestfs_lvs_full> L</guestfs_pvcreate> L</guestfs_pvremove> "
34692 "L</guestfs_pvresize> L</guestfs_pvresize_size> L</guestfs_pvs> "
34693 "L</guestfs_pvs_full> L</guestfs_vg_activate> L</guestfs_vg_activate_all> "
34694 "L</guestfs_vgcreate> L</guestfs_vgremove> L</guestfs_vgs> "
34695 "L</guestfs_vgs_full>"
34696 msgstr ""
34697
34698 #. type: =item
34699 #: ../src/guestfs-availability.pod:104
34700 msgid "B<mknod>"
34701 msgstr "B<mknod>"
34702
34703 #. type: textblock
34704 #: ../src/guestfs-availability.pod:106
34705 msgid ""
34706 "The following functions: L</guestfs_mkfifo> L</guestfs_mknod> "
34707 "L</guestfs_mknod_b> L</guestfs_mknod_c>"
34708 msgstr ""
34709
34710 #. type: =item
34711 #: ../src/guestfs-availability.pod:112
34712 msgid "B<ntfs3g>"
34713 msgstr "B<ntfs3g>"
34714
34715 #. type: textblock
34716 #: ../src/guestfs-availability.pod:114
34717 msgid "The following functions: L</guestfs_ntfs_3g_probe>"
34718 msgstr ""
34719
34720 #. type: =item
34721 #: ../src/guestfs-availability.pod:117
34722 msgid "B<ntfsprogs>"
34723 msgstr "B<ntfsprogs>"
34724
34725 #. type: textblock
34726 #: ../src/guestfs-availability.pod:119
34727 msgid ""
34728 "The following functions: L</guestfs_ntfsresize> L</guestfs_ntfsresize_opts> "
34729 "L</guestfs_ntfsresize_size>"
34730 msgstr ""
34731
34732 #. type: =item
34733 #: ../src/guestfs-availability.pod:124
34734 msgid "B<realpath>"
34735 msgstr "B<realpath>"
34736
34737 #. type: textblock
34738 #: ../src/guestfs-availability.pod:126
34739 msgid "The following functions: L</guestfs_realpath>"
34740 msgstr ""
34741
34742 #. type: =item
34743 #: ../src/guestfs-availability.pod:129
34744 msgid "B<scrub>"
34745 msgstr "B<scrub>"
34746
34747 #. type: textblock
34748 #: ../src/guestfs-availability.pod:131
34749 msgid ""
34750 "The following functions: L</guestfs_scrub_device> L</guestfs_scrub_file> "
34751 "L</guestfs_scrub_freespace>"
34752 msgstr ""
34753
34754 #. type: =item
34755 #: ../src/guestfs-availability.pod:136
34756 msgid "B<selinux>"
34757 msgstr "B<selinux>"
34758
34759 #. type: textblock
34760 #: ../src/guestfs-availability.pod:138
34761 msgid "The following functions: L</guestfs_getcon> L</guestfs_setcon>"
34762 msgstr ""
34763
34764 #. type: =item
34765 #: ../src/guestfs-availability.pod:142
34766 msgid "B<xz>"
34767 msgstr "B<xz>"
34768
34769 #. type: textblock
34770 #: ../src/guestfs-availability.pod:144
34771 msgid "The following functions: L</guestfs_txz_in> L</guestfs_txz_out>"
34772 msgstr ""
34773
34774 #. type: =item
34775 #: ../src/guestfs-availability.pod:148
34776 msgid "B<zerofree>"
34777 msgstr "B<zerofree>"
34778
34779 #. type: textblock
34780 #: ../src/guestfs-availability.pod:150
34781 msgid "The following functions: L</guestfs_zerofree>"
34782 msgstr ""
34783
34784 #. type: =head2
34785 #: ../src/guestfs-structs.pod:1
34786 msgid "guestfs_int_bool"
34787 msgstr ""
34788
34789 #. type: verbatim
34790 #: ../src/guestfs-structs.pod:3
34791 #, no-wrap
34792 msgid ""
34793 " struct guestfs_int_bool {\n"
34794 "   int32_t i;\n"
34795 "   int32_t b;\n"
34796 " };\n"
34797 " \n"
34798 msgstr ""
34799
34800 #. type: verbatim
34801 #: ../src/guestfs-structs.pod:8
34802 #, no-wrap
34803 msgid ""
34804 " struct guestfs_int_bool_list {\n"
34805 "   uint32_t len; /* Number of elements in list. */\n"
34806 "   struct guestfs_int_bool *val; /* Elements. */\n"
34807 " };\n"
34808 " \n"
34809 msgstr ""
34810
34811 #. type: verbatim
34812 #: ../src/guestfs-structs.pod:13
34813 #, no-wrap
34814 msgid ""
34815 " void guestfs_free_int_bool (struct guestfs_free_int_bool *);\n"
34816 " void guestfs_free_int_bool_list (struct guestfs_free_int_bool_list *);\n"
34817 "\n"
34818 msgstr ""
34819
34820 #. type: =head2
34821 #: ../src/guestfs-structs.pod:16
34822 msgid "guestfs_lvm_pv"
34823 msgstr ""
34824
34825 #. type: verbatim
34826 #: ../src/guestfs-structs.pod:18
34827 #, no-wrap
34828 msgid ""
34829 " struct guestfs_lvm_pv {\n"
34830 "   char *pv_name;\n"
34831 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
34832 "   char pv_uuid[32];\n"
34833 "   char *pv_fmt;\n"
34834 "   uint64_t pv_size;\n"
34835 "   uint64_t dev_size;\n"
34836 "   uint64_t pv_free;\n"
34837 "   uint64_t pv_used;\n"
34838 "   char *pv_attr;\n"
34839 "   int64_t pv_pe_count;\n"
34840 "   int64_t pv_pe_alloc_count;\n"
34841 "   char *pv_tags;\n"
34842 "   uint64_t pe_start;\n"
34843 "   int64_t pv_mda_count;\n"
34844 "   uint64_t pv_mda_free;\n"
34845 " };\n"
34846 " \n"
34847 msgstr ""
34848
34849 #. type: verbatim
34850 #: ../src/guestfs-structs.pod:36
34851 #, no-wrap
34852 msgid ""
34853 " struct guestfs_lvm_pv_list {\n"
34854 "   uint32_t len; /* Number of elements in list. */\n"
34855 "   struct guestfs_lvm_pv *val; /* Elements. */\n"
34856 " };\n"
34857 " \n"
34858 msgstr ""
34859
34860 #. type: verbatim
34861 #: ../src/guestfs-structs.pod:41
34862 #, no-wrap
34863 msgid ""
34864 " void guestfs_free_lvm_pv (struct guestfs_free_lvm_pv *);\n"
34865 " void guestfs_free_lvm_pv_list (struct guestfs_free_lvm_pv_list *);\n"
34866 "\n"
34867 msgstr ""
34868
34869 #. type: =head2
34870 #: ../src/guestfs-structs.pod:44
34871 msgid "guestfs_lvm_vg"
34872 msgstr ""
34873
34874 #. type: verbatim
34875 #: ../src/guestfs-structs.pod:46
34876 #, no-wrap
34877 msgid ""
34878 " struct guestfs_lvm_vg {\n"
34879 "   char *vg_name;\n"
34880 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
34881 "   char vg_uuid[32];\n"
34882 "   char *vg_fmt;\n"
34883 "   char *vg_attr;\n"
34884 "   uint64_t vg_size;\n"
34885 "   uint64_t vg_free;\n"
34886 "   char *vg_sysid;\n"
34887 "   uint64_t vg_extent_size;\n"
34888 "   int64_t vg_extent_count;\n"
34889 "   int64_t vg_free_count;\n"
34890 "   int64_t max_lv;\n"
34891 "   int64_t max_pv;\n"
34892 "   int64_t pv_count;\n"
34893 "   int64_t lv_count;\n"
34894 "   int64_t snap_count;\n"
34895 "   int64_t vg_seqno;\n"
34896 "   char *vg_tags;\n"
34897 "   int64_t vg_mda_count;\n"
34898 "   uint64_t vg_mda_free;\n"
34899 " };\n"
34900 " \n"
34901 msgstr ""
34902
34903 #. type: verbatim
34904 #: ../src/guestfs-structs.pod:69
34905 #, no-wrap
34906 msgid ""
34907 " struct guestfs_lvm_vg_list {\n"
34908 "   uint32_t len; /* Number of elements in list. */\n"
34909 "   struct guestfs_lvm_vg *val; /* Elements. */\n"
34910 " };\n"
34911 " \n"
34912 msgstr ""
34913
34914 #. type: verbatim
34915 #: ../src/guestfs-structs.pod:74
34916 #, no-wrap
34917 msgid ""
34918 " void guestfs_free_lvm_vg (struct guestfs_free_lvm_vg *);\n"
34919 " void guestfs_free_lvm_vg_list (struct guestfs_free_lvm_vg_list *);\n"
34920 "\n"
34921 msgstr ""
34922
34923 #. type: =head2
34924 #: ../src/guestfs-structs.pod:77
34925 msgid "guestfs_lvm_lv"
34926 msgstr ""
34927
34928 #. type: verbatim
34929 #: ../src/guestfs-structs.pod:79
34930 #, no-wrap
34931 msgid ""
34932 " struct guestfs_lvm_lv {\n"
34933 "   char *lv_name;\n"
34934 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
34935 "   char lv_uuid[32];\n"
34936 "   char *lv_attr;\n"
34937 "   int64_t lv_major;\n"
34938 "   int64_t lv_minor;\n"
34939 "   int64_t lv_kernel_major;\n"
34940 "   int64_t lv_kernel_minor;\n"
34941 "   uint64_t lv_size;\n"
34942 "   int64_t seg_count;\n"
34943 "   char *origin;\n"
34944 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
34945 "   float snap_percent;\n"
34946 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
34947 "   float copy_percent;\n"
34948 "   char *move_pv;\n"
34949 "   char *lv_tags;\n"
34950 "   char *mirror_log;\n"
34951 "   char *modules;\n"
34952 " };\n"
34953 " \n"
34954 msgstr ""
34955
34956 #. type: verbatim
34957 #: ../src/guestfs-structs.pod:101
34958 #, no-wrap
34959 msgid ""
34960 " struct guestfs_lvm_lv_list {\n"
34961 "   uint32_t len; /* Number of elements in list. */\n"
34962 "   struct guestfs_lvm_lv *val; /* Elements. */\n"
34963 " };\n"
34964 " \n"
34965 msgstr ""
34966
34967 #. type: verbatim
34968 #: ../src/guestfs-structs.pod:106
34969 #, no-wrap
34970 msgid ""
34971 " void guestfs_free_lvm_lv (struct guestfs_free_lvm_lv *);\n"
34972 " void guestfs_free_lvm_lv_list (struct guestfs_free_lvm_lv_list *);\n"
34973 "\n"
34974 msgstr ""
34975
34976 #. type: verbatim
34977 #: ../src/guestfs-structs.pod:111
34978 #, no-wrap
34979 msgid ""
34980 " struct guestfs_stat {\n"
34981 "   int64_t dev;\n"
34982 "   int64_t ino;\n"
34983 "   int64_t mode;\n"
34984 "   int64_t nlink;\n"
34985 "   int64_t uid;\n"
34986 "   int64_t gid;\n"
34987 "   int64_t rdev;\n"
34988 "   int64_t size;\n"
34989 "   int64_t blksize;\n"
34990 "   int64_t blocks;\n"
34991 "   int64_t atime;\n"
34992 "   int64_t mtime;\n"
34993 "   int64_t ctime;\n"
34994 " };\n"
34995 " \n"
34996 msgstr ""
34997
34998 #. type: verbatim
34999 #: ../src/guestfs-structs.pod:127
35000 #, no-wrap
35001 msgid ""
35002 " struct guestfs_stat_list {\n"
35003 "   uint32_t len; /* Number of elements in list. */\n"
35004 "   struct guestfs_stat *val; /* Elements. */\n"
35005 " };\n"
35006 " \n"
35007 msgstr ""
35008
35009 #. type: verbatim
35010 #: ../src/guestfs-structs.pod:132
35011 #, no-wrap
35012 msgid ""
35013 " void guestfs_free_stat (struct guestfs_free_stat *);\n"
35014 " void guestfs_free_stat_list (struct guestfs_free_stat_list *);\n"
35015 "\n"
35016 msgstr ""
35017
35018 #. type: verbatim
35019 #: ../src/guestfs-structs.pod:137
35020 #, no-wrap
35021 msgid ""
35022 " struct guestfs_statvfs {\n"
35023 "   int64_t bsize;\n"
35024 "   int64_t frsize;\n"
35025 "   int64_t blocks;\n"
35026 "   int64_t bfree;\n"
35027 "   int64_t bavail;\n"
35028 "   int64_t files;\n"
35029 "   int64_t ffree;\n"
35030 "   int64_t favail;\n"
35031 "   int64_t fsid;\n"
35032 "   int64_t flag;\n"
35033 "   int64_t namemax;\n"
35034 " };\n"
35035 " \n"
35036 msgstr ""
35037
35038 #. type: verbatim
35039 #: ../src/guestfs-structs.pod:151
35040 #, no-wrap
35041 msgid ""
35042 " struct guestfs_statvfs_list {\n"
35043 "   uint32_t len; /* Number of elements in list. */\n"
35044 "   struct guestfs_statvfs *val; /* Elements. */\n"
35045 " };\n"
35046 " \n"
35047 msgstr ""
35048
35049 #. type: verbatim
35050 #: ../src/guestfs-structs.pod:156
35051 #, no-wrap
35052 msgid ""
35053 " void guestfs_free_statvfs (struct guestfs_free_statvfs *);\n"
35054 " void guestfs_free_statvfs_list (struct guestfs_free_statvfs_list *);\n"
35055 "\n"
35056 msgstr ""
35057
35058 #. type: =head2
35059 #: ../src/guestfs-structs.pod:159
35060 msgid "guestfs_dirent"
35061 msgstr ""
35062
35063 #. type: verbatim
35064 #: ../src/guestfs-structs.pod:161
35065 #, no-wrap
35066 msgid ""
35067 " struct guestfs_dirent {\n"
35068 "   int64_t ino;\n"
35069 "   char ftyp;\n"
35070 "   char *name;\n"
35071 " };\n"
35072 " \n"
35073 msgstr ""
35074
35075 #. type: verbatim
35076 #: ../src/guestfs-structs.pod:167
35077 #, no-wrap
35078 msgid ""
35079 " struct guestfs_dirent_list {\n"
35080 "   uint32_t len; /* Number of elements in list. */\n"
35081 "   struct guestfs_dirent *val; /* Elements. */\n"
35082 " };\n"
35083 " \n"
35084 msgstr ""
35085
35086 #. type: verbatim
35087 #: ../src/guestfs-structs.pod:172
35088 #, no-wrap
35089 msgid ""
35090 " void guestfs_free_dirent (struct guestfs_free_dirent *);\n"
35091 " void guestfs_free_dirent_list (struct guestfs_free_dirent_list *);\n"
35092 "\n"
35093 msgstr ""
35094
35095 #. type: verbatim
35096 #: ../src/guestfs-structs.pod:177
35097 #, no-wrap
35098 msgid ""
35099 " struct guestfs_version {\n"
35100 "   int64_t major;\n"
35101 "   int64_t minor;\n"
35102 "   int64_t release;\n"
35103 "   char *extra;\n"
35104 " };\n"
35105 " \n"
35106 msgstr ""
35107
35108 #. type: verbatim
35109 #: ../src/guestfs-structs.pod:184
35110 #, no-wrap
35111 msgid ""
35112 " struct guestfs_version_list {\n"
35113 "   uint32_t len; /* Number of elements in list. */\n"
35114 "   struct guestfs_version *val; /* Elements. */\n"
35115 " };\n"
35116 " \n"
35117 msgstr ""
35118
35119 #. type: verbatim
35120 #: ../src/guestfs-structs.pod:189
35121 #, no-wrap
35122 msgid ""
35123 " void guestfs_free_version (struct guestfs_free_version *);\n"
35124 " void guestfs_free_version_list (struct guestfs_free_version_list *);\n"
35125 "\n"
35126 msgstr ""
35127
35128 #. type: =head2
35129 #: ../src/guestfs-structs.pod:192
35130 msgid "guestfs_xattr"
35131 msgstr ""
35132
35133 #. type: verbatim
35134 #: ../src/guestfs-structs.pod:194
35135 #, no-wrap
35136 msgid ""
35137 " struct guestfs_xattr {\n"
35138 "   char *attrname;\n"
35139 "   /* The next two fields describe a byte array. */\n"
35140 "   uint32_t attrval_len;\n"
35141 "   char *attrval;\n"
35142 " };\n"
35143 " \n"
35144 msgstr ""
35145
35146 #. type: verbatim
35147 #: ../src/guestfs-structs.pod:201
35148 #, no-wrap
35149 msgid ""
35150 " struct guestfs_xattr_list {\n"
35151 "   uint32_t len; /* Number of elements in list. */\n"
35152 "   struct guestfs_xattr *val; /* Elements. */\n"
35153 " };\n"
35154 " \n"
35155 msgstr ""
35156
35157 #. type: verbatim
35158 #: ../src/guestfs-structs.pod:206
35159 #, no-wrap
35160 msgid ""
35161 " void guestfs_free_xattr (struct guestfs_free_xattr *);\n"
35162 " void guestfs_free_xattr_list (struct guestfs_free_xattr_list *);\n"
35163 "\n"
35164 msgstr ""
35165
35166 #. type: =head2
35167 #: ../src/guestfs-structs.pod:209
35168 msgid "guestfs_inotify_event"
35169 msgstr ""
35170
35171 #. type: verbatim
35172 #: ../src/guestfs-structs.pod:211
35173 #, no-wrap
35174 msgid ""
35175 " struct guestfs_inotify_event {\n"
35176 "   int64_t in_wd;\n"
35177 "   uint32_t in_mask;\n"
35178 "   uint32_t in_cookie;\n"
35179 "   char *in_name;\n"
35180 " };\n"
35181 " \n"
35182 msgstr ""
35183
35184 #. type: verbatim
35185 #: ../src/guestfs-structs.pod:218
35186 #, no-wrap
35187 msgid ""
35188 " struct guestfs_inotify_event_list {\n"
35189 "   uint32_t len; /* Number of elements in list. */\n"
35190 "   struct guestfs_inotify_event *val; /* Elements. */\n"
35191 " };\n"
35192 " \n"
35193 msgstr ""
35194
35195 #. type: verbatim
35196 #: ../src/guestfs-structs.pod:223
35197 #, no-wrap
35198 msgid ""
35199 " void guestfs_free_inotify_event (struct guestfs_free_inotify_event *);\n"
35200 " void guestfs_free_inotify_event_list (struct guestfs_free_inotify_event_list *);\n"
35201 "\n"
35202 msgstr ""
35203
35204 #. type: =head2
35205 #: ../src/guestfs-structs.pod:226
35206 msgid "guestfs_partition"
35207 msgstr ""
35208
35209 #. type: verbatim
35210 #: ../src/guestfs-structs.pod:228
35211 #, no-wrap
35212 msgid ""
35213 " struct guestfs_partition {\n"
35214 "   int32_t part_num;\n"
35215 "   uint64_t part_start;\n"
35216 "   uint64_t part_end;\n"
35217 "   uint64_t part_size;\n"
35218 " };\n"
35219 " \n"
35220 msgstr ""
35221
35222 #. type: verbatim
35223 #: ../src/guestfs-structs.pod:235
35224 #, no-wrap
35225 msgid ""
35226 " struct guestfs_partition_list {\n"
35227 "   uint32_t len; /* Number of elements in list. */\n"
35228 "   struct guestfs_partition *val; /* Elements. */\n"
35229 " };\n"
35230 " \n"
35231 msgstr ""
35232
35233 #. type: verbatim
35234 #: ../src/guestfs-structs.pod:240
35235 #, no-wrap
35236 msgid ""
35237 " void guestfs_free_partition (struct guestfs_free_partition *);\n"
35238 " void guestfs_free_partition_list (struct guestfs_free_partition_list *);\n"
35239 "\n"
35240 msgstr ""
35241
35242 #. type: =head2
35243 #: ../src/guestfs-structs.pod:243
35244 msgid "guestfs_application"
35245 msgstr ""
35246
35247 #. type: verbatim
35248 #: ../src/guestfs-structs.pod:245
35249 #, no-wrap
35250 msgid ""
35251 " struct guestfs_application {\n"
35252 "   char *app_name;\n"
35253 "   char *app_display_name;\n"
35254 "   int32_t app_epoch;\n"
35255 "   char *app_version;\n"
35256 "   char *app_release;\n"
35257 "   char *app_install_path;\n"
35258 "   char *app_trans_path;\n"
35259 "   char *app_publisher;\n"
35260 "   char *app_url;\n"
35261 "   char *app_source_package;\n"
35262 "   char *app_summary;\n"
35263 "   char *app_description;\n"
35264 " };\n"
35265 " \n"
35266 msgstr ""
35267
35268 #. type: verbatim
35269 #: ../src/guestfs-structs.pod:260
35270 #, no-wrap
35271 msgid ""
35272 " struct guestfs_application_list {\n"
35273 "   uint32_t len; /* Number of elements in list. */\n"
35274 "   struct guestfs_application *val; /* Elements. */\n"
35275 " };\n"
35276 " \n"
35277 msgstr ""
35278
35279 #. type: verbatim
35280 #: ../src/guestfs-structs.pod:265
35281 #, no-wrap
35282 msgid ""
35283 " void guestfs_free_application (struct guestfs_free_application *);\n"
35284 " void guestfs_free_application_list (struct guestfs_free_application_list *);\n"
35285 "\n"
35286 msgstr ""
35287
35288 #. type: textblock
35289 #: ../src/guestfs.pod:5
35290 msgid "guestfs - Library for accessing and modifying virtual machine images"
35291 msgstr ""
35292 "guestfs — бібліотека для доступу та внесення змін до образів віртуальних "
35293 "машин"
35294
35295 #. type: verbatim
35296 #: ../src/guestfs.pod:11
35297 #, no-wrap
35298 msgid ""
35299 " guestfs_h *g = guestfs_create ();\n"
35300 " guestfs_add_drive (g, \"guest.img\");\n"
35301 " guestfs_launch (g);\n"
35302 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
35303 " guestfs_touch (g, \"/hello\");\n"
35304 " guestfs_umount (g, \"/\");\n"
35305 " guestfs_close (g);\n"
35306 "\n"
35307 msgstr ""
35308 " guestfs_h *g = guestfs_create ();\n"
35309 " guestfs_add_drive (g, \"guest.img\");\n"
35310 " guestfs_launch (g);\n"
35311 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
35312 " guestfs_touch (g, \"/hello\");\n"
35313 " guestfs_umount (g, \"/\");\n"
35314 " guestfs_close (g);\n"
35315 "\n"
35316
35317 #. type: textblock
35318 #: ../src/guestfs.pod:25
35319 msgid ""
35320 "Libguestfs is a library for accessing and modifying guest disk images.  "
35321 "Amongst the things this is good for: making batch configuration changes to "
35322 "guests, getting disk used/free statistics (see also: virt-df), migrating "
35323 "between virtualization systems (see also: virt-p2v), performing partial "
35324 "backups, performing partial guest clones, cloning guests and changing "
35325 "registry/UUID/hostname info, and much else besides."
35326 msgstr ""
35327
35328 #. type: textblock
35329 #: ../src/guestfs.pod:33
35330 msgid ""
35331 "Libguestfs uses Linux kernel and qemu code, and can access any type of guest"
35332 " filesystem that Linux and qemu can, including but not limited to: ext2/3/4,"
35333 " btrfs, FAT and NTFS, LVM, many different disk partition schemes, qcow, "
35334 "qcow2, vmdk."
35335 msgstr ""
35336
35337 #. type: textblock
35338 #: ../src/guestfs.pod:38
35339 msgid ""
35340 "Libguestfs provides ways to enumerate guest storage (eg. partitions, LVs, "
35341 "what filesystem is in each LV, etc.).  It can also run commands in the "
35342 "context of the guest.  Also you can access filesystems over FUSE."
35343 msgstr ""
35344
35345 #. type: textblock
35346 #: ../src/guestfs.pod:43
35347 msgid ""
35348 "Libguestfs is a library that can be linked with C and C++ management "
35349 "programs (or management programs written in OCaml, Perl, Python, Ruby, Java,"
35350 " PHP, Erlang, Haskell or C#).  You can also use it from shell scripts or the"
35351 " command line."
35352 msgstr ""
35353
35354 #. type: textblock
35355 #: ../src/guestfs.pod:48
35356 msgid ""
35357 "You don't need to be root to use libguestfs, although obviously you do need "
35358 "enough permissions to access the disk images."
35359 msgstr ""
35360
35361 #. type: textblock
35362 #: ../src/guestfs.pod:51
35363 msgid ""
35364 "Libguestfs is a large API because it can do many things.  For a gentle "
35365 "introduction, please read the L</API OVERVIEW> section next."
35366 msgstr ""
35367
35368 #. type: textblock
35369 #: ../src/guestfs.pod:54
35370 msgid ""
35371 "There are also some example programs in the L<guestfs-examples(3)> manual "
35372 "page."
35373 msgstr ""
35374
35375 #. type: =head1
35376 #: ../src/guestfs.pod:57
35377 msgid "API OVERVIEW"
35378 msgstr "ОГЛЯД API"
35379
35380 #. type: textblock
35381 #: ../src/guestfs.pod:59
35382 msgid ""
35383 "This section provides a gentler overview of the libguestfs API.  We also try"
35384 " to group API calls together, where that may not be obvious from reading "
35385 "about the individual calls in the main section of this manual."
35386 msgstr ""
35387
35388 #. type: =head2
35389 #: ../src/guestfs.pod:64
35390 msgid "HANDLES"
35391 msgstr "ОБРОБНИКИ"
35392
35393 #. type: textblock
35394 #: ../src/guestfs.pod:66
35395 msgid ""
35396 "Before you can use libguestfs calls, you have to create a handle.  Then you "
35397 "must add at least one disk image to the handle, followed by launching the "
35398 "handle, then performing whatever operations you want, and finally closing "
35399 "the handle.  By convention we use the single letter C<g> for the name of the"
35400 " handle variable, although of course you can use any name you want."
35401 msgstr ""
35402
35403 #. type: textblock
35404 #: ../src/guestfs.pod:73
35405 msgid ""
35406 "The general structure of all libguestfs-using programs looks like this:"
35407 msgstr ""
35408
35409 #. type: verbatim
35410 #: ../src/guestfs.pod:76
35411 #, no-wrap
35412 msgid ""
35413 " guestfs_h *g = guestfs_create ();\n"
35414 " \n"
35415 msgstr ""
35416 " guestfs_h *g = guestfs_create ();\n"
35417 " \n"
35418
35419 #. type: verbatim
35420 #: ../src/guestfs.pod:78
35421 #, no-wrap
35422 msgid ""
35423 " /* Call guestfs_add_drive additional times if there are\n"
35424 "  * multiple disk images.\n"
35425 "  */\n"
35426 " guestfs_add_drive (g, \"guest.img\");\n"
35427 " \n"
35428 msgstr ""
35429
35430 #. type: verbatim
35431 #: ../src/guestfs.pod:83
35432 #, no-wrap
35433 msgid ""
35434 " /* Most manipulation calls won't work until you've launched\n"
35435 "  * the handle 'g'.  You have to do this _after_ adding drives\n"
35436 "  * and _before_ other commands.\n"
35437 "  */\n"
35438 " guestfs_launch (g);\n"
35439 " \n"
35440 msgstr ""
35441
35442 #. type: verbatim
35443 #: ../src/guestfs.pod:89
35444 #, no-wrap
35445 msgid ""
35446 " /* Now you can examine what partitions, LVs etc are available.\n"
35447 "  */\n"
35448 " char **partitions = guestfs_list_partitions (g);\n"
35449 " char **logvols = guestfs_lvs (g);\n"
35450 " \n"
35451 msgstr ""
35452 " /* Тепер можна перевірити, які розділи, логічні томи тощо доступні.\n"
35453 "  */\n"
35454 " char **partitions = guestfs_list_partitions (g);\n"
35455 " char **logvols = guestfs_lvs (g);\n"
35456 " \n"
35457
35458 #. type: verbatim
35459 #: ../src/guestfs.pod:94
35460 #, no-wrap
35461 msgid ""
35462 " /* To access a filesystem in the image, you must mount it.\n"
35463 "  */\n"
35464 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
35465 " \n"
35466 msgstr ""
35467 " /* Щоб отримати доступ до файлової системи на образі, вам слід його змонтувати.\n"
35468 "  */\n"
35469 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
35470 " \n"
35471
35472 #. type: verbatim
35473 #: ../src/guestfs.pod:98
35474 #, no-wrap
35475 msgid ""
35476 " /* Now you can perform filesystem actions on the guest\n"
35477 "  * disk image.\n"
35478 "  */\n"
35479 " guestfs_touch (g, \"/hello\");\n"
35480 " \n"
35481 msgstr ""
35482 " /* Тепер ви можете виконувати дії з файловою системою на\n"
35483 "  * образі диска операційної системи.\n"
35484 "  */\n"
35485 " guestfs_touch (g, \"/hello\");\n"
35486 " \n"
35487
35488 #. type: verbatim
35489 #: ../src/guestfs.pod:103
35490 #, no-wrap
35491 msgid ""
35492 " /* This is only needed for libguestfs < 1.5.24.  Since then\n"
35493 "  * it is done automatically when you close the handle.  See\n"
35494 "  * discussion of autosync in this page.\n"
35495 "  */\n"
35496 " guestfs_sync (g);\n"
35497 " \n"
35498 msgstr ""
35499
35500 #. type: verbatim
35501 #: ../src/guestfs.pod:109
35502 #, no-wrap
35503 msgid ""
35504 " /* Close the handle 'g'. */\n"
35505 " guestfs_close (g);\n"
35506 "\n"
35507 msgstr ""
35508 " /* Закрити дескриптор 'g'. */\n"
35509 " guestfs_close (g);\n"
35510 "\n"
35511
35512 #. type: textblock
35513 #: ../src/guestfs.pod:112
35514 msgid ""
35515 "The code above doesn't include any error checking.  In real code you should "
35516 "check return values carefully for errors.  In general all functions that "
35517 "return integers return C<-1> on error, and all functions that return "
35518 "pointers return C<NULL> on error.  See section L</ERROR HANDLING> below for "
35519 "how to handle errors, and consult the documentation for each function call "
35520 "below to see precisely how they return error indications.  See L<guestfs-"
35521 "examples(3)> for fully worked examples."
35522 msgstr ""
35523
35524 #. type: =head2
35525 #: ../src/guestfs.pod:121
35526 msgid "DISK IMAGES"
35527 msgstr "ОБРАЗИ ДИСКІВ"
35528
35529 #. type: textblock
35530 #: ../src/guestfs.pod:123
35531 msgid ""
35532 "The image filename (C<\"guest.img\"> in the example above) could be a disk "
35533 "image from a virtual machine, a L<dd(1)> copy of a physical hard disk, an "
35534 "actual block device, or simply an empty file of zeroes that you have created"
35535 " through L<posix_fallocate(3)>.  Libguestfs lets you do useful things to all"
35536 " of these."
35537 msgstr ""
35538
35539 #. type: textblock
35540 #: ../src/guestfs.pod:129
35541 msgid ""
35542 "The call you should use in modern code for adding drives is "
35543 "L</guestfs_add_drive_opts>.  To add a disk image, allowing writes, and "
35544 "specifying that the format is raw, do:"
35545 msgstr ""
35546
35547 #. type: verbatim
35548 #: ../src/guestfs.pod:133
35549 #, no-wrap
35550 msgid ""
35551 " guestfs_add_drive_opts (g, filename,\n"
35552 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"raw\",\n"
35553 "                         -1);\n"
35554 "\n"
35555 msgstr ""
35556 " guestfs_add_drive_opts (g, filename,\n"
35557 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"raw\",\n"
35558 "                         -1);\n"
35559 "\n"
35560
35561 #. type: textblock
35562 #: ../src/guestfs.pod:137
35563 msgid "You can add a disk read-only using:"
35564 msgstr "Ви можете додати диск у режимі лише читання:"
35565
35566 #. type: verbatim
35567 #: ../src/guestfs.pod:139
35568 #, no-wrap
35569 msgid ""
35570 " guestfs_add_drive_opts (g, filename,\n"
35571 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"raw\",\n"
35572 "                         GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
35573 "                         -1);\n"
35574 "\n"
35575 msgstr ""
35576 " guestfs_add_drive_opts (g, filename,\n"
35577 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"raw\",\n"
35578 "                         GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
35579 "                         -1);\n"
35580 "\n"
35581
35582 #. type: textblock
35583 #: ../src/guestfs.pod:144
35584 msgid ""
35585 "or by calling the older function L</guestfs_add_drive_ro>.  In either case "
35586 "libguestfs won't modify the file."
35587 msgstr ""
35588
35589 #. type: textblock
35590 #: ../src/guestfs.pod:147
35591 msgid ""
35592 "Be extremely cautious if the disk image is in use, eg. if it is being used "
35593 "by a virtual machine.  Adding it read-write will almost certainly cause disk"
35594 " corruption, but adding it read-only is safe."
35595 msgstr ""
35596
35597 #. type: textblock
35598 #: ../src/guestfs.pod:151
35599 msgid ""
35600 "You must add at least one disk image, and you may add multiple disk images."
35601 "  In the API, the disk images are usually referred to as C</dev/sda> (for "
35602 "the first one you added), C</dev/sdb> (for the second one you added), etc."
35603 msgstr ""
35604
35605 #. type: textblock
35606 #: ../src/guestfs.pod:156
35607 msgid ""
35608 "Once L</guestfs_launch> has been called you cannot add any more images.  You"
35609 " can call L</guestfs_list_devices> to get a list of the device names, in the"
35610 " order that you added them.  See also L</BLOCK DEVICE NAMING> below."
35611 msgstr ""
35612
35613 #. type: =head2
35614 #: ../src/guestfs.pod:161
35615 msgid "MOUNTING"
35616 msgstr "МОНТУВАННЯ"
35617
35618 #. type: textblock
35619 #: ../src/guestfs.pod:163
35620 msgid ""
35621 "Before you can read or write files, create directories and so on in a disk "
35622 "image that contains filesystems, you have to mount those filesystems using "
35623 "L</guestfs_mount_options> or L</guestfs_mount_ro>.  If you already know that"
35624 " a disk image contains (for example) one partition with a filesystem on that"
35625 " partition, then you can mount it directly:"
35626 msgstr ""
35627
35628 #. type: verbatim
35629 #: ../src/guestfs.pod:170
35630 #, no-wrap
35631 msgid ""
35632 " guestfs_mount_options (g, \"\", \"/dev/sda1\", \"/\");\n"
35633 "\n"
35634 msgstr ""
35635 " guestfs_mount_options (g, \"\", \"/dev/sda1\", \"/\");\n"
35636 "\n"
35637
35638 #. type: textblock
35639 #: ../src/guestfs.pod:172
35640 msgid ""
35641 "where C</dev/sda1> means literally the first partition (C<1>) of the first "
35642 "disk image that we added (C</dev/sda>).  If the disk contains Linux LVM2 "
35643 "logical volumes you could refer to those instead (eg. C</dev/VG/LV>).  Note "
35644 "that these are libguestfs virtual devices, and are nothing to do with host "
35645 "devices."
35646 msgstr ""
35647
35648 #. type: textblock
35649 #: ../src/guestfs.pod:178
35650 msgid ""
35651 "If you are given a disk image and you don't know what it contains then you "
35652 "have to find out.  Libguestfs can do that too: use "
35653 "L</guestfs_list_partitions> and L</guestfs_lvs> to list possible partitions "
35654 "and LVs, and either try mounting each to see what is mountable, or else "
35655 "examine them with L</guestfs_vfs_type> or L</guestfs_file>.  To list just "
35656 "filesystems, use L</guestfs_list_filesystems>."
35657 msgstr ""
35658
35659 #. type: textblock
35660 #: ../src/guestfs.pod:186
35661 msgid ""
35662 "Libguestfs also has a set of APIs for inspection of unknown disk images (see"
35663 " L</INSPECTION> below).  But you might find it easier to look at higher "
35664 "level programs built on top of libguestfs, in particular L<virt-"
35665 "inspector(1)>."
35666 msgstr ""
35667
35668 #. type: textblock
35669 #: ../src/guestfs.pod:191
35670 msgid ""
35671 "To mount a filesystem read-only, use L</guestfs_mount_ro>.  There are "
35672 "several other variations of the C<guestfs_mount_*> call."
35673 msgstr ""
35674
35675 #. type: =head2
35676 #: ../src/guestfs.pod:194
35677 msgid "FILESYSTEM ACCESS AND MODIFICATION"
35678 msgstr "ДОСТУП ТА ВНЕСЕННЯ ЗМІН ДО ФАЙЛОВИХ СИСТЕМ"
35679
35680 #. type: textblock
35681 #: ../src/guestfs.pod:196
35682 msgid ""
35683 "The majority of the libguestfs API consists of fairly low-level calls for "
35684 "accessing and modifying the files, directories, symlinks etc on mounted "
35685 "filesystems.  There are over a hundred such calls which you can find listed "
35686 "in detail below in this man page, and we don't even pretend to cover them "
35687 "all in this overview."
35688 msgstr ""
35689
35690 #. type: textblock
35691 #: ../src/guestfs.pod:202
35692 msgid ""
35693 "Specify filenames as full paths, starting with C<\"/\"> and including the "
35694 "mount point."
35695 msgstr ""
35696 "Вказуйте адреси і назви файлів повністю, починаючи з C<\"/\">, разом з "
35697 "точкою монтування."
35698
35699 #. type: textblock
35700 #: ../src/guestfs.pod:205
35701 msgid ""
35702 "For example, if you mounted a filesystem at C<\"/\"> and you want to read "
35703 "the file called C<\"etc/passwd\"> then you could do:"
35704 msgstr ""
35705 "Наприклад, якщо вами змонтовано файлову систему до C<\"/\">, і ви бажаєте "
35706 "виконати читання файла з назвою C<\"etc/passwd\">, ви можете скористатися "
35707 "таким кодом:"
35708
35709 #. type: verbatim
35710 #: ../src/guestfs.pod:208
35711 #, no-wrap
35712 msgid ""
35713 " char *data = guestfs_cat (g, \"/etc/passwd\");\n"
35714 "\n"
35715 msgstr ""
35716 " char *data = guestfs_cat (g, \"/etc/passwd\");\n"
35717 "\n"
35718
35719 #. type: textblock
35720 #: ../src/guestfs.pod:210
35721 msgid ""
35722 "This would return C<data> as a newly allocated buffer containing the full "
35723 "content of that file (with some conditions: see also L</DOWNLOADING> below),"
35724 " or C<NULL> if there was an error."
35725 msgstr ""
35726
35727 #. type: textblock
35728 #: ../src/guestfs.pod:214
35729 msgid ""
35730 "As another example, to create a top-level directory on that filesystem "
35731 "called C<\"var\"> you would do:"
35732 msgstr ""
35733
35734 #. type: verbatim
35735 #: ../src/guestfs.pod:217
35736 #, no-wrap
35737 msgid ""
35738 " guestfs_mkdir (g, \"/var\");\n"
35739 "\n"
35740 msgstr ""
35741 " guestfs_mkdir (g, \"/var\");\n"
35742 "\n"
35743
35744 #. type: textblock
35745 #: ../src/guestfs.pod:219
35746 msgid "To create a symlink you could do:"
35747 msgstr ""
35748 "Щоб створити символічне посилання, ви можете скористатися таким кодом:"
35749
35750 #. type: verbatim
35751 #: ../src/guestfs.pod:221
35752 #, no-wrap
35753 msgid ""
35754 " guestfs_ln_s (g, \"/etc/init.d/portmap\",\n"
35755 "               \"/etc/rc3.d/S30portmap\");\n"
35756 "\n"
35757 msgstr ""
35758 " guestfs_ln_s (g, \"/etc/init.d/portmap\",\n"
35759 "               \"/etc/rc3.d/S30portmap\");\n"
35760 "\n"
35761
35762 #. type: textblock
35763 #: ../src/guestfs.pod:224
35764 msgid ""
35765 "Libguestfs will reject attempts to use relative paths and there is no "
35766 "concept of a current working directory."
35767 msgstr ""
35768
35769 #. type: textblock
35770 #: ../src/guestfs.pod:227
35771 msgid ""
35772 "Libguestfs can return errors in many situations: for example if the "
35773 "filesystem isn't writable, or if a file or directory that you requested "
35774 "doesn't exist.  If you are using the C API (documented here)  you have to "
35775 "check for those error conditions after each call.  (Other language bindings "
35776 "turn these errors into exceptions)."
35777 msgstr ""
35778
35779 #. type: textblock
35780 #: ../src/guestfs.pod:233
35781 msgid ""
35782 "File writes are affected by the per-handle umask, set by calling "
35783 "L</guestfs_umask> and defaulting to 022.  See L</UMASK>."
35784 msgstr ""
35785
35786 #. type: =head2
35787 #: ../src/guestfs.pod:236
35788 msgid "PARTITIONING"
35789 msgstr "ПОДІЛ НА РОЗДІЛИ"
35790
35791 #. type: textblock
35792 #: ../src/guestfs.pod:238
35793 msgid ""
35794 "Libguestfs contains API calls to read, create and modify partition tables on"
35795 " disk images."
35796 msgstr ""
35797
35798 #. type: textblock
35799 #: ../src/guestfs.pod:241
35800 msgid ""
35801 "In the common case where you want to create a single partition covering the "
35802 "whole disk, you should use the L</guestfs_part_disk> call:"
35803 msgstr ""
35804
35805 #. type: verbatim
35806 #: ../src/guestfs.pod:245
35807 #, no-wrap
35808 msgid ""
35809 " const char *parttype = \"mbr\";\n"
35810 " if (disk_is_larger_than_2TB)\n"
35811 "   parttype = \"gpt\";\n"
35812 " guestfs_part_disk (g, \"/dev/sda\", parttype);\n"
35813 "\n"
35814 msgstr ""
35815 " const char *parttype = \"mbr\";\n"
35816 " if (disk_is_larger_than_2TB)\n"
35817 "   parttype = \"gpt\";\n"
35818 " guestfs_part_disk (g, \"/dev/sda\", parttype);\n"
35819 "\n"
35820
35821 #. type: textblock
35822 #: ../src/guestfs.pod:250
35823 msgid ""
35824 "Obviously this effectively wipes anything that was on that disk image "
35825 "before."
35826 msgstr ""
35827
35828 #. type: =head2
35829 #: ../src/guestfs.pod:253
35830 msgid "LVM2"
35831 msgstr "LVM2"
35832
35833 #. type: textblock
35834 #: ../src/guestfs.pod:255
35835 msgid ""
35836 "Libguestfs provides access to a large part of the LVM2 API, such as "
35837 "L</guestfs_lvcreate> and L</guestfs_vgremove>.  It won't make much sense "
35838 "unless you familiarize yourself with the concepts of physical volumes, "
35839 "volume groups and logical volumes."
35840 msgstr ""
35841
35842 #. type: textblock
35843 #: ../src/guestfs.pod:260
35844 msgid ""
35845 "This author strongly recommends reading the LVM HOWTO, online at "
35846 "L<http://tldp.org/HOWTO/LVM-HOWTO/>."
35847 msgstr ""
35848
35849 #. type: =head2
35850 #: ../src/guestfs.pod:263
35851 msgid "DOWNLOADING"
35852 msgstr "ОТРИМАННЯ ДАНИХ"
35853
35854 #. type: textblock
35855 #: ../src/guestfs.pod:265
35856 msgid ""
35857 "Use L</guestfs_cat> to download small, text only files.  This call is "
35858 "limited to files which are less than 2 MB and which cannot contain any ASCII"
35859 " NUL (C<\\0>) characters.  However the API is very simple to use."
35860 msgstr ""
35861
35862 #. type: textblock
35863 #: ../src/guestfs.pod:269
35864 msgid ""
35865 "L</guestfs_read_file> can be used to read files which contain arbitrary 8 "
35866 "bit data, since it returns a (pointer, size) pair.  However it is still "
35867 "limited to \"small\" files, less than 2 MB."
35868 msgstr ""
35869
35870 #. type: textblock
35871 #: ../src/guestfs.pod:273
35872 msgid ""
35873 "L</guestfs_download> can be used to download any file, with no limits on "
35874 "content or size (even files larger than 4 GB)."
35875 msgstr ""
35876
35877 #. type: textblock
35878 #: ../src/guestfs.pod:276
35879 msgid ""
35880 "To download multiple files, see L</guestfs_tar_out> and L</guestfs_tgz_out>."
35881 msgstr ""
35882
35883 #. type: =head2
35884 #: ../src/guestfs.pod:279
35885 msgid "UPLOADING"
35886 msgstr "ВИВАНТАЖЕННЯ"
35887
35888 #. type: textblock
35889 #: ../src/guestfs.pod:281
35890 msgid ""
35891 "It's often the case that you want to write a file or files to the disk "
35892 "image."
35893 msgstr ""
35894
35895 #. type: textblock
35896 #: ../src/guestfs.pod:284
35897 msgid ""
35898 "To write a small file with fixed content, use L</guestfs_write>.  To create "
35899 "a file of all zeroes, use L</guestfs_truncate_size> (sparse) or "
35900 "L</guestfs_fallocate64> (with all disk blocks allocated).  There are a "
35901 "variety of other functions for creating test files, for example "
35902 "L</guestfs_fill> and L</guestfs_fill_pattern>."
35903 msgstr ""
35904
35905 #. type: textblock
35906 #: ../src/guestfs.pod:290
35907 msgid ""
35908 "To upload a single file, use L</guestfs_upload>.  This call has no limits on"
35909 " file content or size (even files larger than 4 GB)."
35910 msgstr ""
35911
35912 #. type: textblock
35913 #: ../src/guestfs.pod:293
35914 msgid ""
35915 "To upload multiple files, see L</guestfs_tar_in> and L</guestfs_tgz_in>."
35916 msgstr ""
35917
35918 #. type: textblock
35919 #: ../src/guestfs.pod:295
35920 msgid ""
35921 "However the fastest way to upload I<large numbers of arbitrary files> is to "
35922 "turn them into a squashfs or CD ISO (see L<mksquashfs(8)> and "
35923 "L<mkisofs(8)>), then attach this using L</guestfs_add_drive_ro>.  If you add"
35924 " the drive in a predictable way (eg. adding it last after all other drives) "
35925 "then you can get the device name from L</guestfs_list_devices> and mount it "
35926 "directly using L</guestfs_mount_ro>.  Note that squashfs images are "
35927 "sometimes non-portable between kernel versions, and they don't support "
35928 "labels or UUIDs.  If you want to pre-build an image or you need to mount it "
35929 "using a label or UUID, use an ISO image instead."
35930 msgstr ""
35931
35932 #. type: =head2
35933 #: ../src/guestfs.pod:306
35934 msgid "COPYING"
35935 msgstr "КОПІЮВАННЯ"
35936
35937 #. type: textblock
35938 #: ../src/guestfs.pod:308
35939 msgid ""
35940 "There are various different commands for copying between files and devices "
35941 "and in and out of the guest filesystem.  These are summarised in the table "
35942 "below."
35943 msgstr ""
35944
35945 #. type: =item
35946 #: ../src/guestfs.pod:314
35947 msgid "B<file> to B<file>"
35948 msgstr "B<файл> у B<файл>"
35949
35950 #. type: textblock
35951 #: ../src/guestfs.pod:316
35952 msgid ""
35953 "Use L</guestfs_cp> to copy a single file, or L</guestfs_cp_a> to copy "
35954 "directories recursively."
35955 msgstr ""
35956
35957 #. type: textblock
35958 #: ../src/guestfs.pod:319
35959 msgid ""
35960 "To copy part of a file (offset and size) use L</guestfs_copy_file_to_file>."
35961 msgstr ""
35962
35963 #. type: =item
35964 #: ../src/guestfs.pod:322
35965 msgid "B<file> to B<device>"
35966 msgstr ""
35967
35968 #. type: =item
35969 #: ../src/guestfs.pod:324
35970 msgid "B<device> to B<file>"
35971 msgstr ""
35972
35973 #. type: =item
35974 #: ../src/guestfs.pod:326
35975 msgid "B<device> to B<device>"
35976 msgstr ""
35977
35978 #. type: textblock
35979 #: ../src/guestfs.pod:328
35980 msgid ""
35981 "Use L</guestfs_copy_file_to_device>, L</guestfs_copy_device_to_file>, or "
35982 "L</guestfs_copy_device_to_device>."
35983 msgstr ""
35984
35985 #. type: textblock
35986 #: ../src/guestfs.pod:331
35987 msgid "Example: duplicate the contents of an LV:"
35988 msgstr ""
35989
35990 #. type: verbatim
35991 #: ../src/guestfs.pod:333
35992 #, no-wrap
35993 msgid ""
35994 " guestfs_copy_device_to_device (g,\n"
35995 "         \"/dev/VG/Original\", \"/dev/VG/Copy\",\n"
35996 "         /* -1 marks the end of the list of optional parameters */\n"
35997 "         -1);\n"
35998 "\n"
35999 msgstr ""
36000
36001 #. type: textblock
36002 #: ../src/guestfs.pod:338
36003 msgid ""
36004 "The destination (C</dev/VG/Copy>) must be at least as large as the source "
36005 "(C</dev/VG/Original>).  To copy less than the whole source device, use the "
36006 "optional C<size> parameter:"
36007 msgstr ""
36008
36009 #. type: verbatim
36010 #: ../src/guestfs.pod:342
36011 #, no-wrap
36012 msgid ""
36013 " guestfs_copy_device_to_device (g,\n"
36014 "         \"/dev/VG/Original\", \"/dev/VG/Copy\",\n"
36015 "         GUESTFS_COPY_DEVICE_TO_DEVICE_SIZE, 10000,\n"
36016 "         -1);\n"
36017 "\n"
36018 msgstr ""
36019
36020 #. type: =item
36021 #: ../src/guestfs.pod:347
36022 msgid "B<file on the host> to B<file or device>"
36023 msgstr ""
36024
36025 #. type: textblock
36026 #: ../src/guestfs.pod:349
36027 msgid "Use L</guestfs_upload>.  See L</UPLOADING> above."
36028 msgstr ""
36029
36030 #. type: =item
36031 #: ../src/guestfs.pod:351
36032 msgid "B<file or device> to B<file on the host>"
36033 msgstr ""
36034
36035 #. type: textblock
36036 #: ../src/guestfs.pod:353
36037 msgid "Use L</guestfs_download>.  See L</DOWNLOADING> above."
36038 msgstr ""
36039
36040 #. type: =head2
36041 #: ../src/guestfs.pod:357
36042 msgid "UPLOADING AND DOWNLOADING TO PIPES AND FILE DESCRIPTORS"
36043 msgstr ""
36044
36045 #. type: textblock
36046 #: ../src/guestfs.pod:359
36047 msgid ""
36048 "Calls like L</guestfs_upload>, L</guestfs_download>, L</guestfs_tar_in>, "
36049 "L</guestfs_tar_out> etc appear to only take filenames as arguments, so it "
36050 "appears you can only upload and download to files.  However many Un*x-like "
36051 "hosts let you use the special device files C</dev/stdin>, C</dev/stdout>, "
36052 "C</dev/stderr> and C</dev/fd/N> to read and write from stdin, stdout, "
36053 "stderr, and arbitrary file descriptor N."
36054 msgstr ""
36055
36056 #. type: textblock
36057 #: ../src/guestfs.pod:367
36058 msgid "For example, L<virt-cat(1)> writes its output to stdout by doing:"
36059 msgstr ""
36060
36061 #. type: verbatim
36062 #: ../src/guestfs.pod:370
36063 #, no-wrap
36064 msgid ""
36065 " guestfs_download (g, filename, \"/dev/stdout\");\n"
36066 "\n"
36067 msgstr ""
36068 " guestfs_download (g, filename, \"/dev/stdout\");\n"
36069 "\n"
36070
36071 #. type: textblock
36072 #: ../src/guestfs.pod:372
36073 msgid "and you can write tar output to a file descriptor C<fd> by doing:"
36074 msgstr ""
36075
36076 #. type: verbatim
36077 #: ../src/guestfs.pod:374
36078 #, no-wrap
36079 msgid ""
36080 " char devfd[64];\n"
36081 " snprintf (devfd, sizeof devfd, \"/dev/fd/%d\", fd);\n"
36082 " guestfs_tar_out (g, \"/\", devfd);\n"
36083 "\n"
36084 msgstr ""
36085 " char devfd[64];\n"
36086 " snprintf (devfd, sizeof devfd, \"/dev/fd/%d\", fd);\n"
36087 " guestfs_tar_out (g, \"/\", devfd);\n"
36088 "\n"
36089
36090 #. type: =head2
36091 #: ../src/guestfs.pod:378
36092 msgid "LISTING FILES"
36093 msgstr "СПИСКИ ФАЙЛІВ"
36094
36095 #. type: textblock
36096 #: ../src/guestfs.pod:380
36097 msgid ""
36098 "L</guestfs_ll> is just designed for humans to read (mainly when using the "
36099 "L<guestfish(1)>-equivalent command C<ll>)."
36100 msgstr ""
36101
36102 #. type: textblock
36103 #: ../src/guestfs.pod:383
36104 msgid ""
36105 "L</guestfs_ls> is a quick way to get a list of files in a directory from "
36106 "programs, as a flat list of strings."
36107 msgstr ""
36108
36109 #. type: textblock
36110 #: ../src/guestfs.pod:386
36111 msgid ""
36112 "L</guestfs_readdir> is a programmatic way to get a list of files in a "
36113 "directory, plus additional information about each one.  It is more "
36114 "equivalent to using the L<readdir(3)> call on a local filesystem."
36115 msgstr ""
36116
36117 #. type: textblock
36118 #: ../src/guestfs.pod:390
36119 msgid ""
36120 "L</guestfs_find> and L</guestfs_find0> can be used to recursively list "
36121 "files."
36122 msgstr ""
36123
36124 #. type: =head2
36125 #: ../src/guestfs.pod:393
36126 msgid "RUNNING COMMANDS"
36127 msgstr "ВИКОНАННЯ КОМАНД"
36128
36129 #. type: textblock
36130 #: ../src/guestfs.pod:395
36131 msgid ""
36132 "Although libguestfs is primarily an API for manipulating files inside guest "
36133 "images, we also provide some limited facilities for running commands inside "
36134 "guests."
36135 msgstr ""
36136
36137 #. type: textblock
36138 #: ../src/guestfs.pod:399
36139 msgid "There are many limitations to this:"
36140 msgstr ""
36141
36142 #. type: textblock
36143 #: ../src/guestfs.pod:405
36144 msgid ""
36145 "The kernel version that the command runs under will be different from what "
36146 "it expects."
36147 msgstr ""
36148
36149 #. type: textblock
36150 #: ../src/guestfs.pod:410
36151 msgid ""
36152 "If the command needs to communicate with daemons, then most likely they "
36153 "won't be running."
36154 msgstr ""
36155
36156 #. type: textblock
36157 #: ../src/guestfs.pod:415
36158 msgid "The command will be running in limited memory."
36159 msgstr ""
36160
36161 #. type: textblock
36162 #: ../src/guestfs.pod:419
36163 msgid ""
36164 "The network may not be available unless you enable it (see "
36165 "L</guestfs_set_network>)."
36166 msgstr ""
36167
36168 #. type: textblock
36169 #: ../src/guestfs.pod:424
36170 msgid "Only supports Linux guests (not Windows, BSD, etc)."
36171 msgstr ""
36172
36173 #. type: textblock
36174 #: ../src/guestfs.pod:428
36175 msgid ""
36176 "Architecture limitations (eg. won't work for a PPC guest on an X86 host)."
36177 msgstr ""
36178
36179 #. type: textblock
36180 #: ../src/guestfs.pod:433
36181 msgid ""
36182 "For SELinux guests, you may need to enable SELinux and load policy first.  "
36183 "See L</SELINUX> in this manpage."
36184 msgstr ""
36185
36186 #. type: textblock
36187 #: ../src/guestfs.pod:438
36188 msgid ""
36189 "I<Security:> It is not safe to run commands from untrusted, possibly "
36190 "malicious guests.  These commands may attempt to exploit your program by "
36191 "sending unexpected output.  They could also try to exploit the Linux kernel "
36192 "or qemu provided by the libguestfs appliance.  They could use the network "
36193 "provided by the libguestfs appliance to bypass ordinary network partitions "
36194 "and firewalls.  They could use the elevated privileges or different SELinux "
36195 "context of your program to their advantage."
36196 msgstr ""
36197
36198 #. type: textblock
36199 #: ../src/guestfs.pod:447
36200 msgid ""
36201 "A secure alternative is to use libguestfs to install a \"firstboot\" script "
36202 "(a script which runs when the guest next boots normally), and to have this "
36203 "script run the commands you want in the normal context of the running guest,"
36204 " network security and so on.  For information about other security issues, "
36205 "see L</SECURITY>."
36206 msgstr ""
36207
36208 #. type: textblock
36209 #: ../src/guestfs.pod:455
36210 msgid ""
36211 "The two main API calls to run commands are L</guestfs_command> and "
36212 "L</guestfs_sh> (there are also variations)."
36213 msgstr ""
36214
36215 #. type: textblock
36216 #: ../src/guestfs.pod:458
36217 msgid ""
36218 "The difference is that L</guestfs_sh> runs commands using the shell, so any "
36219 "shell globs, redirections, etc will work."
36220 msgstr ""
36221
36222 #. type: =head2
36223 #: ../src/guestfs.pod:461
36224 msgid "CONFIGURATION FILES"
36225 msgstr "ФАЙЛИ НАЛАШТУВАННЯ"
36226
36227 #. type: textblock
36228 #: ../src/guestfs.pod:463
36229 msgid ""
36230 "To read and write configuration files in Linux guest filesystems, we "
36231 "strongly recommend using Augeas.  For example, Augeas understands how to "
36232 "read and write, say, a Linux shadow password file or X.org configuration "
36233 "file, and so avoids you having to write that code."
36234 msgstr ""
36235
36236 #. type: textblock
36237 #: ../src/guestfs.pod:468
36238 msgid ""
36239 "The main Augeas calls are bound through the C<guestfs_aug_*> APIs.  We don't"
36240 " document Augeas itself here because there is excellent documentation on the"
36241 " L<http://augeas.net/> website."
36242 msgstr ""
36243
36244 #. type: textblock
36245 #: ../src/guestfs.pod:472
36246 msgid ""
36247 "If you don't want to use Augeas (you fool!) then try calling "
36248 "L</guestfs_read_lines> to get the file as a list of lines which you can "
36249 "iterate over."
36250 msgstr ""
36251
36252 #. type: =head2
36253 #: ../src/guestfs.pod:476
36254 msgid "SELINUX"
36255 msgstr "SELINUX"
36256
36257 #. type: textblock
36258 #: ../src/guestfs.pod:478
36259 msgid ""
36260 "We support SELinux guests.  To ensure that labeling happens correctly in "
36261 "SELinux guests, you need to enable SELinux and load the guest's policy:"
36262 msgstr ""
36263
36264 #. type: textblock
36265 #: ../src/guestfs.pod:486
36266 msgid "Before launching, do:"
36267 msgstr ""
36268
36269 #. type: verbatim
36270 #: ../src/guestfs.pod:488
36271 #, no-wrap
36272 msgid ""
36273 " guestfs_set_selinux (g, 1);\n"
36274 "\n"
36275 msgstr ""
36276 " guestfs_set_selinux (g, 1);\n"
36277 "\n"
36278
36279 #. type: textblock
36280 #: ../src/guestfs.pod:492
36281 msgid ""
36282 "After mounting the guest's filesystem(s), load the policy.  This is best "
36283 "done by running the L<load_policy(8)> command in the guest itself:"
36284 msgstr ""
36285
36286 #. type: verbatim
36287 #: ../src/guestfs.pod:496
36288 #, no-wrap
36289 msgid ""
36290 " guestfs_sh (g, \"/usr/sbin/load_policy\");\n"
36291 "\n"
36292 msgstr ""
36293 " guestfs_sh (g, \"/usr/sbin/load_policy\");\n"
36294 "\n"
36295
36296 #. type: textblock
36297 #: ../src/guestfs.pod:498
36298 msgid ""
36299 "(Older versions of C<load_policy> require you to specify the name of the "
36300 "policy file)."
36301 msgstr ""
36302
36303 #. type: textblock
36304 #: ../src/guestfs.pod:503
36305 msgid ""
36306 "Optionally, set the security context for the API.  The correct security "
36307 "context to use can only be known by inspecting the guest.  As an example:"
36308 msgstr ""
36309
36310 #. type: verbatim
36311 #: ../src/guestfs.pod:507
36312 #, no-wrap
36313 msgid ""
36314 " guestfs_setcon (g, \"unconfined_u:unconfined_r:unconfined_t:s0\");\n"
36315 "\n"
36316 msgstr ""
36317 " guestfs_setcon (g, \"unconfined_u:unconfined_r:unconfined_t:s0\");\n"
36318 "\n"
36319
36320 #. type: textblock
36321 #: ../src/guestfs.pod:511
36322 msgid "This will work for running commands and editing existing files."
36323 msgstr ""
36324
36325 #. type: textblock
36326 #: ../src/guestfs.pod:513
36327 msgid ""
36328 "When new files are created, you may need to label them explicitly, for "
36329 "example by running the external command C<restorecon pathname>."
36330 msgstr ""
36331
36332 #. type: =head2
36333 #: ../src/guestfs.pod:517
36334 msgid "UMASK"
36335 msgstr "UMASK"
36336
36337 #. type: textblock
36338 #: ../src/guestfs.pod:519
36339 msgid ""
36340 "Certain calls are affected by the current file mode creation mask (the "
36341 "\"umask\").  In particular ones which create files or directories, such as "
36342 "L</guestfs_touch>, L</guestfs_mknod> or L</guestfs_mkdir>.  This affects "
36343 "either the default mode that the file is created with or modifies the mode "
36344 "that you supply."
36345 msgstr ""
36346
36347 #. type: textblock
36348 #: ../src/guestfs.pod:525
36349 msgid ""
36350 "The default umask is C<022>, so files are created with modes such as C<0644>"
36351 " and directories with C<0755>."
36352 msgstr ""
36353
36354 #. type: textblock
36355 #: ../src/guestfs.pod:528
36356 msgid ""
36357 "There are two ways to avoid being affected by umask.  Either set umask to 0 "
36358 "(call C<guestfs_umask (g, 0)> early after launching).  Or call "
36359 "L</guestfs_chmod> after creating each file or directory."
36360 msgstr ""
36361
36362 #. type: textblock
36363 #: ../src/guestfs.pod:532
36364 msgid "For more information about umask, see L<umask(2)>."
36365 msgstr ""
36366
36367 #. type: textblock
36368 #: ../src/guestfs.pod:536
36369 msgid ""
36370 "Libguestfs allows you to access Linux guests which have been encrypted using"
36371 " whole disk encryption that conforms to the Linux Unified Key Setup (LUKS) "
36372 "standard.  This includes nearly all whole disk encryption systems used by "
36373 "modern Linux guests."
36374 msgstr ""
36375
36376 #. type: textblock
36377 #: ../src/guestfs.pod:542
36378 msgid ""
36379 "Use L</guestfs_vfs_type> to identify LUKS-encrypted block devices (it "
36380 "returns the string C<crypto_LUKS>)."
36381 msgstr ""
36382
36383 #. type: textblock
36384 #: ../src/guestfs.pod:545
36385 msgid ""
36386 "Then open these devices by calling L</guestfs_luks_open>.  Obviously you "
36387 "will require the passphrase!"
36388 msgstr ""
36389
36390 #. type: textblock
36391 #: ../src/guestfs.pod:548
36392 msgid ""
36393 "Opening a LUKS device creates a new device mapper device called "
36394 "C</dev/mapper/mapname> (where C<mapname> is the string you supply to "
36395 "L</guestfs_luks_open>).  Reads and writes to this mapper device are "
36396 "decrypted from and encrypted to the underlying block device respectively."
36397 msgstr ""
36398
36399 #. type: textblock
36400 #: ../src/guestfs.pod:554
36401 msgid ""
36402 "LVM volume groups on the device can be made visible by calling "
36403 "L</guestfs_vgscan> followed by L</guestfs_vg_activate_all>.  The logical "
36404 "volume(s) can now be mounted in the usual way."
36405 msgstr ""
36406
36407 #. type: textblock
36408 #: ../src/guestfs.pod:558
36409 msgid ""
36410 "Use the reverse process to close a LUKS device.  Unmount any logical volumes"
36411 " on it, deactivate the volume groups by caling C<guestfs_vg_activate (g, 0, "
36412 "[\"/dev/VG\"])>.  Then close the mapper device by calling "
36413 "L</guestfs_luks_close> on the C</dev/mapper/mapname> device (I<not> the "
36414 "underlying encrypted block device)."
36415 msgstr ""
36416
36417 #. type: =head2
36418 #: ../src/guestfs.pod:565
36419 msgid "INSPECTION"
36420 msgstr "ПЕРЕВІРКА"
36421
36422 #. type: textblock
36423 #: ../src/guestfs.pod:567
36424 msgid ""
36425 "Libguestfs has APIs for inspecting an unknown disk image to find out if it "
36426 "contains operating systems, an install CD or a live CD.  (These APIs used to"
36427 " be in a separate Perl-only library called L<Sys::Guestfs::Lib(3)> but since"
36428 " version 1.5.3 the most frequently used part of this library has been "
36429 "rewritten in C and moved into the core code)."
36430 msgstr ""
36431
36432 #. type: textblock
36433 #: ../src/guestfs.pod:574
36434 msgid ""
36435 "Add all disks belonging to the unknown virtual machine and call "
36436 "L</guestfs_launch> in the usual way."
36437 msgstr ""
36438
36439 #. type: textblock
36440 #: ../src/guestfs.pod:577
36441 msgid ""
36442 "Then call L</guestfs_inspect_os>.  This function uses other libguestfs calls"
36443 " and certain heuristics, and returns a list of operating systems that were "
36444 "found.  An empty list means none were found.  A single element is the root "
36445 "filesystem of the operating system.  For dual- or multi-boot guests, "
36446 "multiple roots can be returned, each one corresponding to a separate "
36447 "operating system.  (Multi-boot virtual machines are extremely rare in the "
36448 "world of virtualization, but since this scenario can happen, we have built "
36449 "libguestfs to deal with it.)"
36450 msgstr ""
36451
36452 #. type: textblock
36453 #: ../src/guestfs.pod:586
36454 msgid ""
36455 "For each root, you can then call various C<guestfs_inspect_get_*> functions "
36456 "to get additional details about that operating system.  For example, call "
36457 "L</guestfs_inspect_get_type> to return the string C<windows> or C<linux> for"
36458 " Windows and Linux-based operating systems respectively."
36459 msgstr ""
36460
36461 #. type: textblock
36462 #: ../src/guestfs.pod:592
36463 msgid ""
36464 "Un*x-like and Linux-based operating systems usually consist of several "
36465 "filesystems which are mounted at boot time (for example, a separate boot "
36466 "partition mounted on C</boot>).  The inspection rules are able to detect how"
36467 " filesystems correspond to mount points.  Call "
36468 "C<guestfs_inspect_get_mountpoints> to get this mapping.  It might return a "
36469 "hash table like this example:"
36470 msgstr ""
36471
36472 #. type: verbatim
36473 #: ../src/guestfs.pod:599
36474 #, no-wrap
36475 msgid ""
36476 " /boot => /dev/sda1\n"
36477 " /     => /dev/vg_guest/lv_root\n"
36478 " /usr  => /dev/vg_guest/lv_usr\n"
36479 "\n"
36480 msgstr ""
36481 " /boot => /dev/sda1\n"
36482 " /     => /dev/vg_guest/lv_root\n"
36483 " /usr  => /dev/vg_guest/lv_usr\n"
36484 "\n"
36485
36486 #. type: textblock
36487 #: ../src/guestfs.pod:603
36488 msgid ""
36489 "The caller can then make calls to L</guestfs_mount_options> to mount the "
36490 "filesystems as suggested."
36491 msgstr ""
36492
36493 #. type: textblock
36494 #: ../src/guestfs.pod:606
36495 msgid ""
36496 "Be careful to mount filesystems in the right order (eg. C</> before "
36497 "C</usr>).  Sorting the keys of the hash by length, shortest first, should "
36498 "work."
36499 msgstr ""
36500
36501 #. type: textblock
36502 #: ../src/guestfs.pod:610
36503 msgid ""
36504 "Inspection currently only works for some common operating systems.  "
36505 "Contributors are welcome to send patches for other operating systems that we"
36506 " currently cannot detect."
36507 msgstr ""
36508
36509 #. type: textblock
36510 #: ../src/guestfs.pod:614
36511 msgid ""
36512 "Encrypted disks must be opened before inspection.  See L</ENCRYPTED DISKS> "
36513 "for more details.  The L</guestfs_inspect_os> function just ignores any "
36514 "encrypted devices."
36515 msgstr ""
36516
36517 #. type: textblock
36518 #: ../src/guestfs.pod:618
36519 msgid ""
36520 "A note on the implementation: The call L</guestfs_inspect_os> performs "
36521 "inspection and caches the results in the guest handle.  Subsequent calls to "
36522 "C<guestfs_inspect_get_*> return this cached information, but I<do not> re-"
36523 "read the disks.  If you change the content of the guest disks, you can redo "
36524 "inspection by calling L</guestfs_inspect_os> again.  "
36525 "(L</guestfs_inspect_list_applications> works a little differently from the "
36526 "other calls and does read the disks.  See documentation for that function "
36527 "for details)."
36528 msgstr ""
36529
36530 #. type: =head3
36531 #: ../src/guestfs.pod:627
36532 msgid "INSPECTING INSTALL DISKS"
36533 msgstr ""
36534
36535 #. type: textblock
36536 #: ../src/guestfs.pod:629
36537 msgid ""
36538 "Libguestfs (since 1.9.4) can detect some install disks, install CDs, live "
36539 "CDs and more."
36540 msgstr ""
36541
36542 #. type: textblock
36543 #: ../src/guestfs.pod:632
36544 msgid ""
36545 "Call L</guestfs_inspect_get_format> to return the format of the operating "
36546 "system, which currently can be C<installed> (a regular operating system) or "
36547 "C<installer> (some sort of install disk)."
36548 msgstr ""
36549
36550 #. type: textblock
36551 #: ../src/guestfs.pod:636
36552 msgid ""
36553 "Further information is available about the operating system that can be "
36554 "installed using the regular inspection APIs like "
36555 "L</guestfs_inspect_get_product_name>, L</guestfs_inspect_get_major_version> "
36556 "etc."
36557 msgstr ""
36558
36559 #. type: textblock
36560 #: ../src/guestfs.pod:641
36561 msgid ""
36562 "Some additional information specific to installer disks is also available "
36563 "from the L</guestfs_inspect_is_live>, L</guestfs_inspect_is_netinst> and "
36564 "L</guestfs_inspect_is_multipart> calls."
36565 msgstr ""
36566
36567 #. type: =head2
36568 #: ../src/guestfs.pod:646
36569 msgid "SPECIAL CONSIDERATIONS FOR WINDOWS GUESTS"
36570 msgstr ""
36571
36572 #. type: textblock
36573 #: ../src/guestfs.pod:648
36574 msgid ""
36575 "Libguestfs can mount NTFS partitions.  It does this using the L<http://www"
36576 ".ntfs-3g.org/> driver."
36577 msgstr ""
36578
36579 #. type: =head3
36580 #: ../src/guestfs.pod:651
36581 msgid "DRIVE LETTERS AND PATHS"
36582 msgstr "ЛІТЕРИ ДИСКІВ ТА ШЛЯХИ"
36583
36584 #. type: textblock
36585 #: ../src/guestfs.pod:653
36586 msgid ""
36587 "DOS and Windows still use drive letters, and the filesystems are always "
36588 "treated as case insensitive by Windows itself, and therefore you might find "
36589 "a Windows configuration file referring to a path like "
36590 "C<c:\\windows\\system32>.  When the filesystem is mounted in libguestfs, "
36591 "that directory might be referred to as C</WINDOWS/System32>."
36592 msgstr ""
36593
36594 #. type: textblock
36595 #: ../src/guestfs.pod:659
36596 msgid ""
36597 "Drive letter mappings can be found using inspection (see L</INSPECTION> and "
36598 "L</guestfs_inspect_get_drive_mappings>)"
36599 msgstr ""
36600
36601 #. type: textblock
36602 #: ../src/guestfs.pod:662
36603 msgid ""
36604 "Dealing with separator characters (backslash vs forward slash) is outside "
36605 "the scope of libguestfs, but usually a simple character replacement will "
36606 "work."
36607 msgstr ""
36608
36609 #. type: textblock
36610 #: ../src/guestfs.pod:666
36611 msgid ""
36612 "To resolve the case insensitivity of paths, call "
36613 "L</guestfs_case_sensitive_path>."
36614 msgstr ""
36615
36616 #. type: =head3
36617 #: ../src/guestfs.pod:669
36618 msgid "ACCESSING THE WINDOWS REGISTRY"
36619 msgstr "ДОСТУП ДО РЕГІСТРУ WINDOWS"
36620
36621 #. type: textblock
36622 #: ../src/guestfs.pod:671
36623 msgid ""
36624 "Libguestfs also provides some help for decoding Windows Registry \"hive\" "
36625 "files, through the library C<hivex> which is part of the libguestfs project "
36626 "although ships as a separate tarball.  You have to locate and download the "
36627 "hive file(s) yourself, and then pass them to C<hivex> functions.  See also "
36628 "the programs L<hivexml(1)>, L<hivexsh(1)>, L<hivexregedit(1)> and L<virt-"
36629 "win-reg(1)> for more help on this issue."
36630 msgstr ""
36631
36632 #. type: =head3
36633 #: ../src/guestfs.pod:679
36634 msgid "SYMLINKS ON NTFS-3G FILESYSTEMS"
36635 msgstr "СИМВОЛІЧНІ ПОСИЛАННЯ У ФАЙЛОВИХ СИСТЕМАХ NTFS-3G"
36636
36637 #. type: textblock
36638 #: ../src/guestfs.pod:681
36639 msgid ""
36640 "Ntfs-3g tries to rewrite \"Junction Points\" and NTFS \"symbolic links\" to "
36641 "provide something which looks like a Linux symlink.  The way it tries to do "
36642 "the rewriting is described here:"
36643 msgstr ""
36644
36645 #. type: textblock
36646 #: ../src/guestfs.pod:685
36647 msgid ""
36648 "L<http://www.tuxera.com/community/ntfs-3g-advanced/junction-points-and-"
36649 "symbolic-links/>"
36650 msgstr ""
36651 "L<http://www.tuxera.com/community/ntfs-3g-advanced/junction-points-and-"
36652 "symbolic-links/>"
36653
36654 #. type: textblock
36655 #: ../src/guestfs.pod:687
36656 msgid ""
36657 "The essential problem is that ntfs-3g simply does not have enough "
36658 "information to do a correct job.  NTFS links can contain drive letters and "
36659 "references to external device GUIDs that ntfs-3g has no way of resolving.  "
36660 "It is almost certainly the case that libguestfs callers should ignore what "
36661 "ntfs-3g does (ie. don't use L</guestfs_readlink> on NTFS volumes)."
36662 msgstr ""
36663
36664 #. type: textblock
36665 #: ../src/guestfs.pod:694
36666 msgid ""
36667 "Instead if you encounter a symbolic link on an ntfs-3g filesystem, use "
36668 "L</guestfs_lgetxattr> to read the C<system.ntfs_reparse_data> extended "
36669 "attribute, and read the raw reparse data from that (you can find the format "
36670 "documented in various places around the web)."
36671 msgstr ""
36672
36673 #. type: =head3
36674 #: ../src/guestfs.pod:699
36675 msgid "EXTENDED ATTRIBUTES ON NTFS-3G FILESYSTEMS"
36676 msgstr ""
36677
36678 #. type: textblock
36679 #: ../src/guestfs.pod:701
36680 msgid ""
36681 "There are other useful extended attributes that can be read from ntfs-3g "
36682 "filesystems (using L</guestfs_getxattr>).  See:"
36683 msgstr ""
36684
36685 #. type: textblock
36686 #: ../src/guestfs.pod:704
36687 msgid ""
36688 "L<http://www.tuxera.com/community/ntfs-3g-advanced/extended-attributes/>"
36689 msgstr ""
36690 "L<http://www.tuxera.com/community/ntfs-3g-advanced/extended-attributes/>"
36691
36692 #. type: =head2
36693 #: ../src/guestfs.pod:706
36694 msgid "USING LIBGUESTFS WITH OTHER PROGRAMMING LANGUAGES"
36695 msgstr "ВИКОРИСТАННЯ LIBGUESTFS ЗА ДОПОМОГОЮ ІНШИХ МОВ ПРОГРАМУВАННЯ"
36696
36697 #. type: textblock
36698 #: ../src/guestfs.pod:708
36699 msgid ""
36700 "Although we don't want to discourage you from using the C API, we will "
36701 "mention here that the same API is also available in other languages."
36702 msgstr ""
36703
36704 #. type: textblock
36705 #: ../src/guestfs.pod:711
36706 msgid ""
36707 "The API is broadly identical in all supported languages.  This means that "
36708 "the C call C<guestfs_add_drive_ro(g,file)> is C<$g-E<gt>add_drive_ro($file)>"
36709 " in Perl, C<g.add_drive_ro(file)> in Python, and C<g#add_drive_ro file> in "
36710 "OCaml.  In other words, a straightforward, predictable isomorphism between "
36711 "each language."
36712 msgstr ""
36713
36714 #. type: textblock
36715 #: ../src/guestfs.pod:717
36716 msgid ""
36717 "Error messages are automatically transformed into exceptions if the language"
36718 " supports it."
36719 msgstr ""
36720
36721 #. type: textblock
36722 #: ../src/guestfs.pod:720
36723 msgid ""
36724 "We don't try to \"object orientify\" parts of the API in OO languages, "
36725 "although contributors are welcome to write higher level APIs above what we "
36726 "provide in their favourite languages if they wish."
36727 msgstr ""
36728
36729 #. type: =item
36730 #: ../src/guestfs.pod:726
36731 msgid "B<C++>"
36732 msgstr "B<C++>"
36733
36734 #. type: textblock
36735 #: ../src/guestfs.pod:728
36736 msgid ""
36737 "You can use the I<guestfs.h> header file from C++ programs.  The C++ API is "
36738 "identical to the C API.  C++ classes and exceptions are not used."
36739 msgstr ""
36740
36741 #. type: =item
36742 #: ../src/guestfs.pod:732
36743 msgid "B<C#>"
36744 msgstr "B<C#>"
36745
36746 #. type: textblock
36747 #: ../src/guestfs.pod:734
36748 msgid ""
36749 "The C# bindings are highly experimental.  Please read the warnings at the "
36750 "top of C<csharp/Libguestfs.cs>."
36751 msgstr ""
36752
36753 #. type: =item
36754 #: ../src/guestfs.pod:737
36755 msgid "B<Erlang>"
36756 msgstr ""
36757
36758 #. type: textblock
36759 #: ../src/guestfs.pod:739
36760 msgid "See L<guestfs-erlang(3)>."
36761 msgstr ""
36762
36763 #. type: =item
36764 #: ../src/guestfs.pod:741
36765 msgid "B<Haskell>"
36766 msgstr "B<Haskell>"
36767
36768 #. type: textblock
36769 #: ../src/guestfs.pod:743
36770 msgid ""
36771 "This is the only language binding that is working but incomplete.  Only "
36772 "calls which return simple integers have been bound in Haskell, and we are "
36773 "looking for help to complete this binding."
36774 msgstr ""
36775
36776 #. type: =item
36777 #: ../src/guestfs.pod:747
36778 msgid "B<Java>"
36779 msgstr "B<Java>"
36780
36781 #. type: textblock
36782 #: ../src/guestfs.pod:749
36783 msgid ""
36784 "Full documentation is contained in the Javadoc which is distributed with "
36785 "libguestfs.  For examples, see L<guestfs-java(3)>."
36786 msgstr ""
36787
36788 #. type: =item
36789 #: ../src/guestfs.pod:752
36790 msgid "B<OCaml>"
36791 msgstr "B<OCaml>"
36792
36793 #. type: textblock
36794 #: ../src/guestfs.pod:754
36795 msgid "See L<guestfs-ocaml(3)>."
36796 msgstr "Див. L<guestfs-ocaml(3)>."
36797
36798 #. type: =item
36799 #: ../src/guestfs.pod:756
36800 msgid "B<Perl>"
36801 msgstr "B<Perl>"
36802
36803 #. type: textblock
36804 #: ../src/guestfs.pod:758
36805 msgid "See L<guestfs-perl(3)> and L<Sys::Guestfs(3)>."
36806 msgstr "Див. L<guestfs-perl(3)> та L<Sys::Guestfs(3)>."
36807
36808 #. type: =item
36809 #: ../src/guestfs.pod:760
36810 msgid "B<PHP>"
36811 msgstr "B<PHP>"
36812
36813 #. type: textblock
36814 #: ../src/guestfs.pod:762
36815 msgid ""
36816 "For documentation see C<README-PHP> supplied with libguestfs sources or in "
36817 "the php-libguestfs package for your distribution."
36818 msgstr ""
36819
36820 #. type: textblock
36821 #: ../src/guestfs.pod:765
36822 msgid "The PHP binding only works correctly on 64 bit machines."
36823 msgstr ""
36824
36825 #. type: =item
36826 #: ../src/guestfs.pod:767
36827 msgid "B<Python>"
36828 msgstr "B<Python>"
36829
36830 #. type: textblock
36831 #: ../src/guestfs.pod:769
36832 msgid "See L<guestfs-python(3)>."
36833 msgstr "Див. L<guestfs-python(3)>."
36834
36835 #. type: =item
36836 #: ../src/guestfs.pod:771
36837 msgid "B<Ruby>"
36838 msgstr "B<Ruby>"
36839
36840 #. type: textblock
36841 #: ../src/guestfs.pod:773
36842 msgid "See L<guestfs-ruby(3)>."
36843 msgstr "Див. L<guestfs-ruby(3)>."
36844
36845 #. type: =item
36846 #: ../src/guestfs.pod:775
36847 msgid "B<shell scripts>"
36848 msgstr "B<скрипти оболонки>"
36849
36850 #. type: textblock
36851 #: ../src/guestfs.pod:777
36852 msgid "See L<guestfish(1)>."
36853 msgstr "Див. L<guestfish(1)>."
36854
36855 #. type: =head2
36856 #: ../src/guestfs.pod:781
36857 msgid "LIBGUESTFS GOTCHAS"
36858 msgstr ""
36859
36860 #. type: textblock
36861 #: ../src/guestfs.pod:783
36862 msgid ""
36863 "L<http://en.wikipedia.org/wiki/Gotcha_(programming)>: \"A feature of a "
36864 "system [...] that works in the way it is documented but is counterintuitive "
36865 "and almost invites mistakes.\""
36866 msgstr ""
36867
36868 #. type: textblock
36869 #: ../src/guestfs.pod:787
36870 msgid ""
36871 "Since we developed libguestfs and the associated tools, there are several "
36872 "things we would have designed differently, but are now stuck with for "
36873 "backwards compatibility or other reasons.  If there is ever a libguestfs 2.0"
36874 " release, you can expect these to change.  Beware of them."
36875 msgstr ""
36876
36877 #. type: =item
36878 #: ../src/guestfs.pod:795
36879 msgid "Autosync / forgetting to sync."
36880 msgstr ""
36881
36882 #. type: textblock
36883 #: ../src/guestfs.pod:797
36884 msgid ""
36885 "I<Update:> Autosync is enabled by default for all API users starting from "
36886 "libguestfs 1.5.24.  This section only applies to older versions."
36887 msgstr ""
36888
36889 #. type: textblock
36890 #: ../src/guestfs.pod:800
36891 msgid ""
36892 "When modifying a filesystem from C or another language, you B<must> unmount "
36893 "all filesystems and call L</guestfs_sync> explicitly before you close the "
36894 "libguestfs handle.  You can also call:"
36895 msgstr ""
36896
36897 #. type: verbatim
36898 #: ../src/guestfs.pod:804
36899 #, no-wrap
36900 msgid ""
36901 " guestfs_set_autosync (g, 1);\n"
36902 "\n"
36903 msgstr ""
36904 " guestfs_set_autosync (g, 1);\n"
36905 "\n"
36906
36907 #. type: textblock
36908 #: ../src/guestfs.pod:806
36909 msgid ""
36910 "to have the unmount/sync done automatically for you when the handle 'g' is "
36911 "closed.  (This feature is called \"autosync\", L</guestfs_set_autosync> "
36912 "q.v.)"
36913 msgstr ""
36914
36915 #. type: textblock
36916 #: ../src/guestfs.pod:810
36917 msgid ""
36918 "If you forget to do this, then it is entirely possible that your changes "
36919 "won't be written out, or will be partially written, or (very rarely) that "
36920 "you'll get disk corruption."
36921 msgstr ""
36922
36923 #. type: textblock
36924 #: ../src/guestfs.pod:814
36925 msgid ""
36926 "Note that in L<guestfish(3)> autosync is the default.  So quick and dirty "
36927 "guestfish scripts that forget to sync will work just fine, which can make "
36928 "this very puzzling if you are trying to debug a problem."
36929 msgstr ""
36930
36931 #. type: =item
36932 #: ../src/guestfs.pod:818
36933 msgid "Mount option C<-o sync> should not be the default."
36934 msgstr ""
36935
36936 #. type: textblock
36937 #: ../src/guestfs.pod:820
36938 msgid ""
36939 "I<Update:> L</guestfs_mount> no longer adds any options starting from "
36940 "libguestfs 1.13.16.  This section only applies to older versions."
36941 msgstr ""
36942
36943 #. type: textblock
36944 #: ../src/guestfs.pod:823
36945 msgid ""
36946 "If you use L</guestfs_mount>, then C<-o sync,noatime> are added implicitly."
36947 "  However C<-o sync> does not add any reliability benefit, but does have a "
36948 "very large performance impact."
36949 msgstr ""
36950
36951 #. type: textblock
36952 #: ../src/guestfs.pod:827
36953 msgid ""
36954 "The work around is to use L</guestfs_mount_options> and set the mount "
36955 "options that you actually want to use."
36956 msgstr ""
36957
36958 #. type: =item
36959 #: ../src/guestfs.pod:830
36960 msgid "Read-only should be the default."
36961 msgstr ""
36962
36963 #. type: textblock
36964 #: ../src/guestfs.pod:832
36965 msgid ""
36966 "In L<guestfish(3)>, I<--ro> should be the default, and you should have to "
36967 "specify I<--rw> if you want to make changes to the image."
36968 msgstr ""
36969
36970 #. type: textblock
36971 #: ../src/guestfs.pod:835
36972 msgid "This would reduce the potential to corrupt live VM images."
36973 msgstr ""
36974
36975 #. type: textblock
36976 #: ../src/guestfs.pod:837
36977 msgid ""
36978 "Note that many filesystems change the disk when you just mount and unmount, "
36979 "even if you didn't perform any writes.  You need to use "
36980 "L</guestfs_add_drive_ro> to guarantee that the disk is not changed."
36981 msgstr ""
36982
36983 #. type: =item
36984 #: ../src/guestfs.pod:841
36985 msgid "guestfish command line is hard to use."
36986 msgstr ""
36987
36988 #. type: textblock
36989 #: ../src/guestfs.pod:843
36990 msgid ""
36991 "C<guestfish disk.img> doesn't do what people expect (open C<disk.img> for "
36992 "examination).  It tries to run a guestfish command C<disk.img> which doesn't"
36993 " exist, so it fails.  In earlier versions of guestfish the error message was"
36994 " also unintuitive, but we have corrected this since.  Like the Bourne shell,"
36995 " we should have used C<guestfish -c command> to run commands."
36996 msgstr ""
36997
36998 #. type: =item
36999 #: ../src/guestfs.pod:850
37000 msgid "guestfish megabyte modifiers don't work right on all commands"
37001 msgstr ""
37002
37003 #. type: textblock
37004 #: ../src/guestfs.pod:852
37005 msgid ""
37006 "In recent guestfish you can use C<1M> to mean 1 megabyte (and similarly for "
37007 "other modifiers).  What guestfish actually does is to multiply the number "
37008 "part by the modifier part and pass the result to the C API.  However this "
37009 "doesn't work for a few APIs which aren't expecting bytes, but are already "
37010 "expecting some other unit (eg. megabytes)."
37011 msgstr ""
37012
37013 #. type: textblock
37014 #: ../src/guestfs.pod:859
37015 msgid "The most common is L</guestfs_lvcreate>.  The guestfish command:"
37016 msgstr ""
37017
37018 #. type: verbatim
37019 #: ../src/guestfs.pod:861
37020 #, no-wrap
37021 msgid ""
37022 " lvcreate LV VG 100M\n"
37023 "\n"
37024 msgstr ""
37025 " lvcreate LV VG 100M\n"
37026 "\n"
37027
37028 #. type: textblock
37029 #: ../src/guestfs.pod:863
37030 msgid ""
37031 "does not do what you might expect.  Instead because L</guestfs_lvcreate> is "
37032 "already expecting megabytes, this tries to create a 100 I<terabyte> (100 "
37033 "megabytes * megabytes) logical volume.  The error message you get from this "
37034 "is also a little obscure."
37035 msgstr ""
37036
37037 #. type: textblock
37038 #: ../src/guestfs.pod:868
37039 msgid ""
37040 "This could be fixed in the generator by specially marking parameters and "
37041 "return values which take bytes or other units."
37042 msgstr ""
37043
37044 #. type: =item
37045 #: ../src/guestfs.pod:871
37046 msgid "Ambiguity between devices and paths"
37047 msgstr ""
37048
37049 #. type: textblock
37050 #: ../src/guestfs.pod:873
37051 msgid ""
37052 "There is a subtle ambiguity in the API between a device name (eg. "
37053 "C</dev/sdb2>) and a similar pathname.  A file might just happen to be called"
37054 " C<sdb2> in the directory C</dev> (consider some non-Unix VM image)."
37055 msgstr ""
37056
37057 #. type: textblock
37058 #: ../src/guestfs.pod:878
37059 msgid ""
37060 "In the current API we usually resolve this ambiguity by having two separate "
37061 "calls, for example L</guestfs_checksum> and L</guestfs_checksum_device>.  "
37062 "Some API calls are ambiguous and (incorrectly) resolve the problem by "
37063 "detecting if the path supplied begins with C</dev/>."
37064 msgstr ""
37065
37066 #. type: textblock
37067 #: ../src/guestfs.pod:884
37068 msgid ""
37069 "To avoid both the ambiguity and the need to duplicate some calls, we could "
37070 "make paths/devices into structured names.  One way to do this would be to "
37071 "use a notation like grub (C<hd(0,0)>), although nobody really likes this "
37072 "aspect of grub.  Another way would be to use a structured type, equivalent "
37073 "to this OCaml type:"
37074 msgstr ""
37075
37076 #. type: verbatim
37077 #: ../src/guestfs.pod:890
37078 #, no-wrap
37079 msgid ""
37080 " type path = Path of string | Device of int | Partition of int * int\n"
37081 "\n"
37082 msgstr ""
37083
37084 #. type: textblock
37085 #: ../src/guestfs.pod:892
37086 msgid "which would allow you to pass arguments like:"
37087 msgstr ""
37088
37089 #. type: verbatim
37090 #: ../src/guestfs.pod:894
37091 #, no-wrap
37092 msgid ""
37093 " Path \"/foo/bar\"\n"
37094 " Device 1            (* /dev/sdb, or perhaps /dev/sda *)\n"
37095 " Partition (1, 2)    (* /dev/sdb2 (or is it /dev/sda2 or /dev/sdb3?) *)\n"
37096 " Path \"/dev/sdb2\"    (* not a device *)\n"
37097 "\n"
37098 msgstr ""
37099
37100 #. type: textblock
37101 #: ../src/guestfs.pod:899
37102 msgid ""
37103 "As you can see there are still problems to resolve even with this "
37104 "representation.  Also consider how it might work in guestfish."
37105 msgstr ""
37106
37107 #. type: =head2
37108 #: ../src/guestfs.pod:904
37109 msgid "KEYS AND PASSPHRASES"
37110 msgstr "КЛЮЧІ І ПАРОЛІ"
37111
37112 #. type: textblock
37113 #: ../src/guestfs.pod:906
37114 msgid ""
37115 "Certain libguestfs calls take a parameter that contains sensitive key "
37116 "material, passed in as a C string."
37117 msgstr ""
37118
37119 #. type: textblock
37120 #: ../src/guestfs.pod:909
37121 msgid ""
37122 "In the future we would hope to change the libguestfs implementation so that "
37123 "keys are L<mlock(2)>-ed into physical RAM, and thus can never end up in "
37124 "swap.  However this is I<not> done at the moment, because of the complexity "
37125 "of such an implementation."
37126 msgstr ""
37127
37128 #. type: textblock
37129 #: ../src/guestfs.pod:914
37130 msgid ""
37131 "Therefore you should be aware that any key parameter you pass to libguestfs "
37132 "might end up being written out to the swap partition.  If this is a concern,"
37133 " scrub the swap partition or don't use libguestfs on encrypted devices."
37134 msgstr ""
37135
37136 #. type: =head2
37137 #: ../src/guestfs.pod:919
37138 msgid "MULTIPLE HANDLES AND MULTIPLE THREADS"
37139 msgstr ""
37140
37141 #. type: textblock
37142 #: ../src/guestfs.pod:921
37143 msgid ""
37144 "All high-level libguestfs actions are synchronous.  If you want to use "
37145 "libguestfs asynchronously then you must create a thread."
37146 msgstr ""
37147
37148 #. type: textblock
37149 #: ../src/guestfs.pod:924
37150 msgid ""
37151 "Only use the handle from a single thread.  Either use the handle exclusively"
37152 " from one thread, or provide your own mutex so that two threads cannot issue"
37153 " calls on the same handle at the same time."
37154 msgstr ""
37155
37156 #. type: textblock
37157 #: ../src/guestfs.pod:928
37158 msgid ""
37159 "See the graphical program guestfs-browser for one possible architecture for "
37160 "multithreaded programs using libvirt and libguestfs."
37161 msgstr ""
37162
37163 #. type: =head2
37164 #: ../src/guestfs.pod:931
37165 msgid "PATH"
37166 msgstr "ШЛЯХ"
37167
37168 #. type: textblock
37169 #: ../src/guestfs.pod:933
37170 msgid ""
37171 "Libguestfs needs a supermin appliance, which it finds by looking along an "
37172 "internal path."
37173 msgstr ""
37174
37175 #. type: textblock
37176 #: ../src/guestfs.pod:936
37177 msgid ""
37178 "By default it looks for these in the directory C<$libdir/guestfs> (eg. "
37179 "C</usr/local/lib/guestfs> or C</usr/lib64/guestfs>)."
37180 msgstr ""
37181
37182 #. type: textblock
37183 #: ../src/guestfs.pod:939
37184 msgid ""
37185 "Use L</guestfs_set_path> or set the environment variable L</LIBGUESTFS_PATH>"
37186 " to change the directories that libguestfs will search in.  The value is a "
37187 "colon-separated list of paths.  The current directory is I<not> searched "
37188 "unless the path contains an empty element or C<.>.  For example "
37189 "C<LIBGUESTFS_PATH=:/usr/lib/guestfs> would search the current directory and "
37190 "then C</usr/lib/guestfs>."
37191 msgstr ""
37192
37193 #. type: =head2
37194 #: ../src/guestfs.pod:946
37195 msgid "QEMU WRAPPERS"
37196 msgstr ""
37197
37198 #. type: textblock
37199 #: ../src/guestfs.pod:948
37200 msgid ""
37201 "If you want to compile your own qemu, run qemu from a non-standard location,"
37202 " or pass extra arguments to qemu, then you can write a shell-script wrapper "
37203 "around qemu."
37204 msgstr ""
37205
37206 #. type: textblock
37207 #: ../src/guestfs.pod:952
37208 msgid ""
37209 "There is one important rule to remember: you I<must C<exec qemu>> as the "
37210 "last command in the shell script (so that qemu replaces the shell and "
37211 "becomes the direct child of the libguestfs-using program).  If you don't do "
37212 "this, then the qemu process won't be cleaned up correctly."
37213 msgstr ""
37214
37215 #. type: textblock
37216 #: ../src/guestfs.pod:957
37217 msgid ""
37218 "Here is an example of a wrapper, where I have built my own copy of qemu from"
37219 " source:"
37220 msgstr ""
37221
37222 #. type: verbatim
37223 #: ../src/guestfs.pod:960
37224 #, no-wrap
37225 msgid ""
37226 " #!/bin/sh -\n"
37227 " qemudir=/home/rjones/d/qemu\n"
37228 " exec $qemudir/x86_64-softmmu/qemu-system-x86_64 -L $qemudir/pc-bios \"$@\"\n"
37229 "\n"
37230 msgstr ""
37231 " #!/bin/sh -\n"
37232 " qemudir=/home/rjones/d/qemu\n"
37233 " exec $qemudir/x86_64-softmmu/qemu-system-x86_64 -L $qemudir/pc-bios \"$@\"\n"
37234 "\n"
37235
37236 #. type: textblock
37237 #: ../src/guestfs.pod:964
37238 msgid ""
37239 "Save this script as C</tmp/qemu.wrapper> (or wherever), C<chmod +x>, and "
37240 "then use it by setting the LIBGUESTFS_QEMU environment variable.  For "
37241 "example:"
37242 msgstr ""
37243
37244 #. type: verbatim
37245 #: ../src/guestfs.pod:968
37246 #, no-wrap
37247 msgid ""
37248 " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n"
37249 "\n"
37250 msgstr ""
37251 " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n"
37252 "\n"
37253
37254 #. type: textblock
37255 #: ../src/guestfs.pod:970
37256 msgid ""
37257 "Note that libguestfs also calls qemu with the -help and -version options in "
37258 "order to determine features."
37259 msgstr ""
37260
37261 #. type: textblock
37262 #: ../src/guestfs.pod:973
37263 msgid ""
37264 "Wrappers can also be used to edit the options passed to qemu.  In the "
37265 "following example, the C<-machine ...> option (C<-machine> and the following"
37266 " argument) are removed from the command line and replaced with C<-machine "
37267 "pc,accel=tcg>.  The while loop iterates over the options until it finds the "
37268 "right one to remove, putting the remaining options into the C<args> array."
37269 msgstr ""
37270
37271 #. type: verbatim
37272 #: ../src/guestfs.pod:982
37273 #, no-wrap
37274 msgid ""
37275 " i=0\n"
37276 " while [ $# -gt 0 ]; do\n"
37277 "     case \"$1\" in\n"
37278 "     -machine)\n"
37279 "         shift 2;;\n"
37280 "     *)\n"
37281 "         args[i]=\"$1\"\n"
37282 "         (( i++ ))\n"
37283 "         shift ;;\n"
37284 "     esac\n"
37285 " done\n"
37286 " \n"
37287 msgstr ""
37288
37289 #. type: verbatim
37290 #: ../src/guestfs.pod:994
37291 #, no-wrap
37292 msgid ""
37293 " exec qemu-kvm -machine pc,accel=tcg \"${args[@]}\"\n"
37294 "\n"
37295 msgstr ""
37296
37297 #. type: =head2
37298 #: ../src/guestfs.pod:996
37299 msgid "ATTACHING TO RUNNING DAEMONS"
37300 msgstr "ДОЛУЧЕННЯ ДО ЗАПУЩЕНИХ ФОНОВИХ СЛУЖБ"
37301
37302 #. type: textblock
37303 #: ../src/guestfs.pod:998
37304 msgid ""
37305 "I<Note (1):> This is B<highly experimental> and has a tendency to eat "
37306 "babies.  Use with caution."
37307 msgstr ""
37308
37309 #. type: textblock
37310 #: ../src/guestfs.pod:1001
37311 msgid ""
37312 "I<Note (2):> This section explains how to attach to a running daemon from a "
37313 "low level perspective.  For most users, simply using virt tools such as "
37314 "L<guestfish(1)> with the I<--live> option will \"just work\"."
37315 msgstr ""
37316
37317 #. type: =head3
37318 #: ../src/guestfs.pod:1005
37319 msgid "Using guestfs_set_attach_method"
37320 msgstr "За допомогою guestfs_set_attach_method"
37321
37322 #. type: textblock
37323 #: ../src/guestfs.pod:1007
37324 msgid ""
37325 "By calling L</guestfs_set_attach_method> you can change how the library "
37326 "connects to the C<guestfsd> daemon in L</guestfs_launch> (read "
37327 "L</ARCHITECTURE> for some background)."
37328 msgstr ""
37329
37330 #. type: textblock
37331 #: ../src/guestfs.pod:1011
37332 msgid ""
37333 "The normal attach method is C<appliance>, where a small appliance is created"
37334 " containing the daemon, and then the library connects to this."
37335 msgstr ""
37336
37337 #. type: textblock
37338 #: ../src/guestfs.pod:1014
37339 msgid ""
37340 "Setting attach method to C<unix:I<path>> (where I<path> is the path of a "
37341 "Unix domain socket) causes L</guestfs_launch> to connect to an existing "
37342 "daemon over the Unix domain socket."
37343 msgstr ""
37344
37345 #. type: textblock
37346 #: ../src/guestfs.pod:1018
37347 msgid ""
37348 "The normal use for this is to connect to a running virtual machine that "
37349 "contains a C<guestfsd> daemon, and send commands so you can read and write "
37350 "files inside the live virtual machine."
37351 msgstr ""
37352
37353 #. type: =head3
37354 #: ../src/guestfs.pod:1022
37355 msgid "Using guestfs_add_domain with live flag"
37356 msgstr "За допомогою guestfs_add_domain з прапорцем live"
37357
37358 #. type: textblock
37359 #: ../src/guestfs.pod:1024
37360 msgid ""
37361 "L</guestfs_add_domain> provides some help for getting the correct attach "
37362 "method.  If you pass the C<live> option to this function, then (if the "
37363 "virtual machine is running) it will examine the libvirt XML looking for a "
37364 "virtio-serial channel to connect to:"
37365 msgstr ""
37366
37367 #. type: verbatim
37368 #: ../src/guestfs.pod:1030
37369 #, no-wrap
37370 msgid ""
37371 " <domain>\n"
37372 "   ...\n"
37373 "   <devices>\n"
37374 "     ...\n"
37375 "     <channel type='unix'>\n"
37376 "       <source mode='bind' path='/path/to/socket'/>\n"
37377 "       <target type='virtio' name='org.libguestfs.channel.0'/>\n"
37378 "     </channel>\n"
37379 "     ...\n"
37380 "   </devices>\n"
37381 " </domain>\n"
37382 "\n"
37383 msgstr ""
37384 " <domain>\n"
37385 "   ...\n"
37386 "   <devices>\n"
37387 "     ...\n"
37388 "     <channel type='unix'>\n"
37389 "       <source mode='bind' path='/path/to/socket'/>\n"
37390 "       <target type='virtio' name='org.libguestfs.channel.0'/>\n"
37391 "     </channel>\n"
37392 "     ...\n"
37393 "   </devices>\n"
37394 " </domain>\n"
37395 "\n"
37396
37397 #. type: textblock
37398 #: ../src/guestfs.pod:1042
37399 msgid ""
37400 "L</guestfs_add_domain> extracts C</path/to/socket> and sets the attach "
37401 "method to C<unix:/path/to/socket>."
37402 msgstr ""
37403
37404 #. type: textblock
37405 #: ../src/guestfs.pod:1045
37406 msgid ""
37407 "Some of the libguestfs tools (including guestfish) support a I<--live> "
37408 "option which is passed through to L</guestfs_add_domain> thus allowing you "
37409 "to attach to and modify live virtual machines."
37410 msgstr ""
37411
37412 #. type: textblock
37413 #: ../src/guestfs.pod:1049
37414 msgid ""
37415 "The virtual machine needs to have been set up beforehand so that it has the "
37416 "virtio-serial channel and so that guestfsd is running inside it."
37417 msgstr ""
37418
37419 #. type: =head2
37420 #: ../src/guestfs.pod:1053
37421 msgid "ABI GUARANTEE"
37422 msgstr "ГАРАНТІЯ ЩОДО ABI"
37423
37424 #. type: textblock
37425 #: ../src/guestfs.pod:1055
37426 msgid ""
37427 "We guarantee the libguestfs ABI (binary interface), for public, high-level "
37428 "actions as outlined in this section.  Although we will deprecate some "
37429 "actions, for example if they get replaced by newer calls, we will keep the "
37430 "old actions forever.  This allows you the developer to program in confidence"
37431 " against the libguestfs API."
37432 msgstr ""
37433
37434 #. type: =head2
37435 #: ../src/guestfs.pod:1061
37436 msgid "BLOCK DEVICE NAMING"
37437 msgstr "ІМЕНУВАННЯ БЛОКОВИХ ПРИСТРОЇВ"
37438
37439 #. type: textblock
37440 #: ../src/guestfs.pod:1063
37441 msgid ""
37442 "In the kernel there is now quite a profusion of schemata for naming block "
37443 "devices (in this context, by I<block device> I mean a physical or virtual "
37444 "hard drive).  The original Linux IDE driver used names starting with "
37445 "C</dev/hd*>.  SCSI devices have historically used a different naming scheme,"
37446 " C</dev/sd*>.  When the Linux kernel I<libata> driver became a popular "
37447 "replacement for the old IDE driver (particularly for SATA devices) those "
37448 "devices also used the C</dev/sd*> scheme.  Additionally we now have virtual "
37449 "machines with paravirtualized drivers.  This has created several different "
37450 "naming systems, such as C</dev/vd*> for virtio disks and C</dev/xvd*> for "
37451 "Xen PV disks."
37452 msgstr ""
37453
37454 #. type: textblock
37455 #: ../src/guestfs.pod:1075
37456 msgid ""
37457 "As discussed above, libguestfs uses a qemu appliance running an embedded "
37458 "Linux kernel to access block devices.  We can run a variety of appliances "
37459 "based on a variety of Linux kernels."
37460 msgstr ""
37461
37462 #. type: textblock
37463 #: ../src/guestfs.pod:1079
37464 msgid ""
37465 "This causes a problem for libguestfs because many API calls use device or "
37466 "partition names.  Working scripts and the recipe (example) scripts that we "
37467 "make available over the internet could fail if the naming scheme changes."
37468 msgstr ""
37469
37470 #. type: textblock
37471 #: ../src/guestfs.pod:1084
37472 msgid ""
37473 "Therefore libguestfs defines C</dev/sd*> as the I<standard naming scheme>.  "
37474 "Internally C</dev/sd*> names are translated, if necessary, to other names as"
37475 " required.  For example, under RHEL 5 which uses the C</dev/hd*> scheme, any"
37476 " device parameter C</dev/sda2> is translated to C</dev/hda2> transparently."
37477 msgstr ""
37478
37479 #. type: textblock
37480 #: ../src/guestfs.pod:1090
37481 msgid ""
37482 "Note that this I<only> applies to parameters.  The L</guestfs_list_devices>,"
37483 " L</guestfs_list_partitions> and similar calls return the true names of the "
37484 "devices and partitions as known to the appliance."
37485 msgstr ""
37486
37487 #. type: =head3
37488 #: ../src/guestfs.pod:1095
37489 msgid "ALGORITHM FOR BLOCK DEVICE NAME TRANSLATION"
37490 msgstr ""
37491
37492 #. type: textblock
37493 #: ../src/guestfs.pod:1097
37494 msgid ""
37495 "Usually this translation is transparent.  However in some (very rare)  cases"
37496 " you may need to know the exact algorithm.  Such cases include where you use"
37497 " L</guestfs_config> to add a mixture of virtio and IDE devices to the qemu-"
37498 "based appliance, so have a mixture of C</dev/sd*> and C</dev/vd*> devices."
37499 msgstr ""
37500
37501 #. type: textblock
37502 #: ../src/guestfs.pod:1103
37503 msgid ""
37504 "The algorithm is applied only to I<parameters> which are known to be either "
37505 "device or partition names.  Return values from functions such as "
37506 "L</guestfs_list_devices> are never changed."
37507 msgstr ""
37508
37509 #. type: textblock
37510 #: ../src/guestfs.pod:1111
37511 msgid "Is the string a parameter which is a device or partition name?"
37512 msgstr ""
37513
37514 #. type: textblock
37515 #: ../src/guestfs.pod:1115
37516 msgid "Does the string begin with C</dev/sd>?"
37517 msgstr "Чи починається рядок з C</dev/sd>?"
37518
37519 #. type: textblock
37520 #: ../src/guestfs.pod:1119
37521 msgid ""
37522 "Does the named device exist? If so, we use that device.  However if I<not> "
37523 "then we continue with this algorithm."
37524 msgstr ""
37525
37526 #. type: textblock
37527 #: ../src/guestfs.pod:1124
37528 msgid "Replace initial C</dev/sd> string with C</dev/hd>."
37529 msgstr ""
37530
37531 #. type: textblock
37532 #: ../src/guestfs.pod:1126
37533 msgid "For example, change C</dev/sda2> to C</dev/hda2>."
37534 msgstr ""
37535
37536 #. type: textblock
37537 #: ../src/guestfs.pod:1128
37538 msgid "If that named device exists, use it.  If not, continue."
37539 msgstr ""
37540
37541 #. type: textblock
37542 #: ../src/guestfs.pod:1132
37543 msgid "Replace initial C</dev/sd> string with C</dev/vd>."
37544 msgstr ""
37545
37546 #. type: textblock
37547 #: ../src/guestfs.pod:1134
37548 msgid "If that named device exists, use it.  If not, return an error."
37549 msgstr ""
37550
37551 #. type: =head3
37552 #: ../src/guestfs.pod:1138
37553 msgid "PORTABILITY CONCERNS WITH BLOCK DEVICE NAMING"
37554 msgstr ""
37555
37556 #. type: textblock
37557 #: ../src/guestfs.pod:1140
37558 msgid ""
37559 "Although the standard naming scheme and automatic translation is useful for "
37560 "simple programs and guestfish scripts, for larger programs it is best not to"
37561 " rely on this mechanism."
37562 msgstr ""
37563
37564 #. type: textblock
37565 #: ../src/guestfs.pod:1144
37566 msgid ""
37567 "Where possible for maximum future portability programs using libguestfs "
37568 "should use these future-proof techniques:"
37569 msgstr ""
37570
37571 #. type: textblock
37572 #: ../src/guestfs.pod:1151
37573 msgid ""
37574 "Use L</guestfs_list_devices> or L</guestfs_list_partitions> to list actual "
37575 "device names, and then use those names directly."
37576 msgstr ""
37577
37578 #. type: textblock
37579 #: ../src/guestfs.pod:1154
37580 msgid ""
37581 "Since those device names exist by definition, they will never be translated."
37582 msgstr ""
37583
37584 #. type: textblock
37585 #: ../src/guestfs.pod:1159
37586 msgid ""
37587 "Use higher level ways to identify filesystems, such as LVM names, UUIDs and "
37588 "filesystem labels."
37589 msgstr ""
37590
37591 #. type: textblock
37592 #: ../src/guestfs.pod:1166
37593 msgid ""
37594 "This section discusses security implications of using libguestfs, "
37595 "particularly with untrusted or malicious guests or disk images."
37596 msgstr ""
37597
37598 #. type: =head2
37599 #: ../src/guestfs.pod:1169
37600 msgid "GENERAL SECURITY CONSIDERATIONS"
37601 msgstr "ЗАГАЛЬНІ ЗАУВАЖЕННЯ ЩОДО ЗАХИСТУ"
37602
37603 #. type: textblock
37604 #: ../src/guestfs.pod:1171
37605 msgid ""
37606 "Be careful with any files or data that you download from a guest (by "
37607 "\"download\" we mean not just the L</guestfs_download> command but any "
37608 "command that reads files, filenames, directories or anything else from a "
37609 "disk image).  An attacker could manipulate the data to fool your program "
37610 "into doing the wrong thing.  Consider cases such as:"
37611 msgstr ""
37612
37613 #. type: textblock
37614 #: ../src/guestfs.pod:1181
37615 msgid "the data (file etc) not being present"
37616 msgstr ""
37617
37618 #. type: textblock
37619 #: ../src/guestfs.pod:1185
37620 msgid "being present but empty"
37621 msgstr ""
37622
37623 #. type: textblock
37624 #: ../src/guestfs.pod:1189
37625 msgid "being much larger than normal"
37626 msgstr ""
37627
37628 #. type: textblock
37629 #: ../src/guestfs.pod:1193
37630 msgid "containing arbitrary 8 bit data"
37631 msgstr ""
37632
37633 #. type: textblock
37634 #: ../src/guestfs.pod:1197
37635 msgid "being in an unexpected character encoding"
37636 msgstr ""
37637
37638 #. type: textblock
37639 #: ../src/guestfs.pod:1201
37640 msgid "containing homoglyphs."
37641 msgstr ""
37642
37643 #. type: =head2
37644 #: ../src/guestfs.pod:1205
37645 msgid "SECURITY OF MOUNTING FILESYSTEMS"
37646 msgstr "ЗАХИСТ ФАЙЛОВИХ СИСТЕМ МОНТУВАННЯ"
37647
37648 #. type: textblock
37649 #: ../src/guestfs.pod:1207
37650 msgid ""
37651 "When you mount a filesystem under Linux, mistakes in the kernel filesystem "
37652 "(VFS) module can sometimes be escalated into exploits by deliberately "
37653 "creating a malicious, malformed filesystem.  These exploits are very severe "
37654 "for two reasons.  Firstly there are very many filesystem drivers in the "
37655 "kernel, and many of them are infrequently used and not much developer "
37656 "attention has been paid to the code.  Linux userspace helps potential "
37657 "crackers by detecting the filesystem type and automatically choosing the "
37658 "right VFS driver, even if that filesystem type is obscure or unexpected for "
37659 "the administrator.  Secondly, a kernel-level exploit is like a local root "
37660 "exploit (worse in some ways), giving immediate and total access to the "
37661 "system right down to the hardware level."
37662 msgstr ""
37663
37664 #. type: textblock
37665 #: ../src/guestfs.pod:1220
37666 msgid ""
37667 "That explains why you should never mount a filesystem from an untrusted "
37668 "guest on your host kernel.  How about libguestfs? We run a Linux kernel "
37669 "inside a qemu virtual machine, usually running as a non-root user.  The "
37670 "attacker would need to write a filesystem which first exploited the kernel, "
37671 "and then exploited either qemu virtualization (eg. a faulty qemu driver) or "
37672 "the libguestfs protocol, and finally to be as serious as the host kernel "
37673 "exploit it would need to escalate its privileges to root.  This multi-step "
37674 "escalation, performed by a static piece of data, is thought to be extremely "
37675 "hard to do, although we never say 'never' about security issues."
37676 msgstr ""
37677
37678 #. type: textblock
37679 #: ../src/guestfs.pod:1231
37680 msgid ""
37681 "In any case callers can reduce the attack surface by forcing the filesystem "
37682 "type when mounting (use L</guestfs_mount_vfs>)."
37683 msgstr ""
37684
37685 #. type: =head2
37686 #: ../src/guestfs.pod:1234
37687 msgid "PROTOCOL SECURITY"
37688 msgstr "ЗАХИСТ ПРОТОКОЛУ"
37689
37690 #. type: textblock
37691 #: ../src/guestfs.pod:1236
37692 msgid ""
37693 "The protocol is designed to be secure, being based on RFC 4506 (XDR)  with a"
37694 " defined upper message size.  However a program that uses libguestfs must "
37695 "also take care - for example you can write a program that downloads a binary"
37696 " from a disk image and executes it locally, and no amount of protocol "
37697 "security will save you from the consequences."
37698 msgstr ""
37699
37700 #. type: =head2
37701 #: ../src/guestfs.pod:1242
37702 msgid "INSPECTION SECURITY"
37703 msgstr ""
37704
37705 #. type: textblock
37706 #: ../src/guestfs.pod:1244
37707 msgid ""
37708 "Parts of the inspection API (see L</INSPECTION>) return untrusted strings "
37709 "directly from the guest, and these could contain any 8 bit data.  Callers "
37710 "should be careful to escape these before printing them to a structured file "
37711 "(for example, use HTML escaping if creating a web page)."
37712 msgstr ""
37713
37714 #. type: textblock
37715 #: ../src/guestfs.pod:1250
37716 msgid ""
37717 "Guest configuration may be altered in unusual ways by the administrator of "
37718 "the virtual machine, and may not reflect reality (particularly for untrusted"
37719 " or actively malicious guests).  For example we parse the hostname from "
37720 "configuration files like C</etc/sysconfig/network> that we find in the "
37721 "guest, but the guest administrator can easily manipulate these files to "
37722 "provide the wrong hostname."
37723 msgstr ""
37724
37725 #. type: textblock
37726 #: ../src/guestfs.pod:1258
37727 msgid ""
37728 "The inspection API parses guest configuration using two external libraries: "
37729 "Augeas (Linux configuration) and hivex (Windows Registry).  Both are "
37730 "designed to be robust in the face of malicious data, although denial of "
37731 "service attacks are still possible, for example with oversized configuration"
37732 " files."
37733 msgstr ""
37734
37735 #. type: =head2
37736 #: ../src/guestfs.pod:1264
37737 msgid "RUNNING UNTRUSTED GUEST COMMANDS"
37738 msgstr "ЗАПУСК НЕЗАХИЩЕНИХ КОМАНД ГОСТЬОВОЇ СИСТЕМИ"
37739
37740 #. type: textblock
37741 #: ../src/guestfs.pod:1266
37742 msgid ""
37743 "Be very cautious about running commands from the guest.  By running a "
37744 "command in the guest, you are giving CPU time to a binary that you do not "
37745 "control, under the same user account as the library, albeit wrapped in qemu "
37746 "virtualization.  More information and alternatives can be found in the "
37747 "section L</RUNNING COMMANDS>."
37748 msgstr ""
37749
37750 #. type: =head2
37751 #: ../src/guestfs.pod:1272
37752 msgid "CVE-2010-3851"
37753 msgstr "CVE-2010-3851"
37754
37755 #. type: textblock
37756 #: ../src/guestfs.pod:1274
37757 msgid "https://bugzilla.redhat.com/642934"
37758 msgstr "https://bugzilla.redhat.com/642934"
37759
37760 #. type: textblock
37761 #: ../src/guestfs.pod:1276
37762 msgid ""
37763 "This security bug concerns the automatic disk format detection that qemu "
37764 "does on disk images."
37765 msgstr ""
37766
37767 #. type: textblock
37768 #: ../src/guestfs.pod:1279
37769 msgid ""
37770 "A raw disk image is just the raw bytes, there is no header.  Other disk "
37771 "images like qcow2 contain a special header.  Qemu deals with this by looking"
37772 " for one of the known headers, and if none is found then assuming the disk "
37773 "image must be raw."
37774 msgstr ""
37775
37776 #. type: textblock
37777 #: ../src/guestfs.pod:1284
37778 msgid ""
37779 "This allows a guest which has been given a raw disk image to write some "
37780 "other header.  At next boot (or when the disk image is accessed by "
37781 "libguestfs) qemu would do autodetection and think the disk image format was,"
37782 " say, qcow2 based on the header written by the guest."
37783 msgstr ""
37784
37785 #. type: textblock
37786 #: ../src/guestfs.pod:1289
37787 msgid ""
37788 "This in itself would not be a problem, but qcow2 offers many features, one "
37789 "of which is to allow a disk image to refer to another image (called the "
37790 "\"backing disk\").  It does this by placing the path to the backing disk "
37791 "into the qcow2 header.  This path is not validated and could point to any "
37792 "host file (eg. \"/etc/passwd\").  The backing disk is then exposed through "
37793 "\"holes\" in the qcow2 disk image, which of course is completely under the "
37794 "control of the attacker."
37795 msgstr ""
37796
37797 #. type: textblock
37798 #: ../src/guestfs.pod:1297
37799 msgid ""
37800 "In libguestfs this is rather hard to exploit except under two circumstances:"
37801 msgstr ""
37802
37803 #. type: textblock
37804 #: ../src/guestfs.pod:1304
37805 msgid "You have enabled the network or have opened the disk in write mode."
37806 msgstr ""
37807
37808 #. type: textblock
37809 #: ../src/guestfs.pod:1308
37810 msgid ""
37811 "You are also running untrusted code from the guest (see L</RUNNING "
37812 "COMMANDS>)."
37813 msgstr ""
37814
37815 #. type: textblock
37816 #: ../src/guestfs.pod:1313
37817 msgid ""
37818 "The way to avoid this is to specify the expected disk format when adding "
37819 "disks (the optional C<format> option to L</guestfs_add_drive_opts>).  You "
37820 "should always do this if the disk is raw format, and it's a good idea for "
37821 "other cases too."
37822 msgstr ""
37823
37824 #. type: textblock
37825 #: ../src/guestfs.pod:1318
37826 msgid ""
37827 "For disks added from libvirt using calls like L</guestfs_add_domain>, the "
37828 "format is fetched from libvirt and passed through."
37829 msgstr ""
37830
37831 #. type: textblock
37832 #: ../src/guestfs.pod:1321
37833 msgid ""
37834 "For libguestfs tools, use the I<--format> command line parameter as "
37835 "appropriate."
37836 msgstr ""
37837
37838 #. type: =head1
37839 #: ../src/guestfs.pod:1324
37840 msgid "CONNECTION MANAGEMENT"
37841 msgstr "КЕРУВАННЯ З’ЄДНАННЯМ"
37842
37843 #. type: =head2
37844 #: ../src/guestfs.pod:1326
37845 msgid "guestfs_h *"
37846 msgstr "guestfs_h *"
37847
37848 #. type: textblock
37849 #: ../src/guestfs.pod:1328
37850 msgid ""
37851 "C<guestfs_h> is the opaque type representing a connection handle.  Create a "
37852 "handle by calling L</guestfs_create>.  Call L</guestfs_close> to free the "
37853 "handle and release all resources used."
37854 msgstr ""
37855
37856 #. type: textblock
37857 #: ../src/guestfs.pod:1332
37858 msgid ""
37859 "For information on using multiple handles and threads, see the section "
37860 "L</MULTIPLE HANDLES AND MULTIPLE THREADS> above."
37861 msgstr ""
37862
37863 #. type: =head2
37864 #: ../src/guestfs.pod:1335
37865 msgid "guestfs_create"
37866 msgstr "guestfs_create"
37867
37868 #. type: verbatim
37869 #: ../src/guestfs.pod:1337
37870 #, no-wrap
37871 msgid ""
37872 " guestfs_h *guestfs_create (void);\n"
37873 "\n"
37874 msgstr ""
37875 " guestfs_h *guestfs_create (void);\n"
37876 "\n"
37877
37878 #. type: textblock
37879 #: ../src/guestfs.pod:1339
37880 msgid "Create a connection handle."
37881 msgstr "Створити дескриптор з’єднання."
37882
37883 #. type: textblock
37884 #: ../src/guestfs.pod:1341
37885 msgid ""
37886 "On success this returns a non-NULL pointer to a handle.  On error it returns"
37887 " NULL."
37888 msgstr ""
37889
37890 #. type: textblock
37891 #: ../src/guestfs.pod:1344
37892 msgid ""
37893 "You have to \"configure\" the handle after creating it.  This includes "
37894 "calling L</guestfs_add_drive_opts> (or one of the equivalent calls) on the "
37895 "handle at least once."
37896 msgstr ""
37897
37898 #. type: textblock
37899 #: ../src/guestfs.pod:1348
37900 msgid "After configuring the handle, you have to call L</guestfs_launch>."
37901 msgstr ""
37902
37903 #. type: textblock
37904 #: ../src/guestfs.pod:1350
37905 msgid ""
37906 "You may also want to configure error handling for the handle.  See the "
37907 "L</ERROR HANDLING> section below."
37908 msgstr ""
37909
37910 #. type: =head2
37911 #: ../src/guestfs.pod:1353
37912 msgid "guestfs_close"
37913 msgstr "guestfs_close"
37914
37915 #. type: verbatim
37916 #: ../src/guestfs.pod:1355
37917 #, no-wrap
37918 msgid ""
37919 " void guestfs_close (guestfs_h *g);\n"
37920 "\n"
37921 msgstr ""
37922 " void guestfs_close (guestfs_h *g);\n"
37923 "\n"
37924
37925 #. type: textblock
37926 #: ../src/guestfs.pod:1357
37927 msgid "This closes the connection handle and frees up all resources used."
37928 msgstr ""
37929
37930 #. type: textblock
37931 #: ../src/guestfs.pod:1359
37932 msgid ""
37933 "If autosync was set on the handle and the handle was launched, then this "
37934 "implicitly calls various functions to unmount filesystems and sync the disk."
37935 "  See L</guestfs_set_autosync> for more details."
37936 msgstr ""
37937
37938 #. type: textblock
37939 #: ../src/guestfs.pod:1363
37940 msgid "If a close callback was set on the handle, then it is called."
37941 msgstr ""
37942
37943 #. type: =head1
37944 #: ../src/guestfs.pod:1365
37945 msgid "ERROR HANDLING"
37946 msgstr "ОБРОБКА ПОМИЛОК"
37947
37948 #. type: textblock
37949 #: ../src/guestfs.pod:1367
37950 msgid ""
37951 "API functions can return errors.  For example, almost all functions that "
37952 "return C<int> will return C<-1> to indicate an error."
37953 msgstr ""
37954
37955 #. type: textblock
37956 #: ../src/guestfs.pod:1370
37957 msgid ""
37958 "Additional information is available for errors: an error message string and "
37959 "optionally an error number (errno) if the thing that failed was a system "
37960 "call."
37961 msgstr ""
37962
37963 #. type: textblock
37964 #: ../src/guestfs.pod:1374
37965 msgid ""
37966 "You can get at the additional information about the last error on the handle"
37967 " by calling L</guestfs_last_error>, L</guestfs_last_errno>, and/or by "
37968 "setting up an error handler with L</guestfs_set_error_handler>."
37969 msgstr ""
37970
37971 #. type: textblock
37972 #: ../src/guestfs.pod:1379
37973 msgid ""
37974 "When the handle is created, a default error handler is installed which "
37975 "prints the error message string to C<stderr>.  For small short-running "
37976 "command line programs it is sufficient to do:"
37977 msgstr ""
37978
37979 #. type: verbatim
37980 #: ../src/guestfs.pod:1383
37981 #, no-wrap
37982 msgid ""
37983 " if (guestfs_launch (g) == -1)\n"
37984 "   exit (EXIT_FAILURE);\n"
37985 "\n"
37986 msgstr ""
37987 " if (guestfs_launch (g) == -1)\n"
37988 "   exit (EXIT_FAILURE);\n"
37989 "\n"
37990
37991 #. type: textblock
37992 #: ../src/guestfs.pod:1386
37993 msgid ""
37994 "since the default error handler will ensure that an error message has been "
37995 "printed to C<stderr> before the program exits."
37996 msgstr ""
37997
37998 #. type: textblock
37999 #: ../src/guestfs.pod:1389
38000 msgid ""
38001 "For other programs the caller will almost certainly want to install an "
38002 "alternate error handler or do error handling in-line like this:"
38003 msgstr ""
38004
38005 #. type: verbatim
38006 #: ../src/guestfs.pod:1392
38007 #, no-wrap
38008 msgid ""
38009 " /* This disables the default behaviour of printing errors\n"
38010 "    on stderr. */\n"
38011 " guestfs_set_error_handler (g, NULL, NULL);\n"
38012 " \n"
38013 msgstr ""
38014
38015 #. type: verbatim
38016 #: ../src/guestfs.pod:1396
38017 #, no-wrap
38018 msgid ""
38019 " if (guestfs_launch (g) == -1) {\n"
38020 "   /* Examine the error message and print it etc. */\n"
38021 "   char *msg = guestfs_last_error (g);\n"
38022 "   int errnum = guestfs_last_errno (g);\n"
38023 "   fprintf (stderr, \"%s\", msg);\n"
38024 "   if (errnum != 0)\n"
38025 "     fprintf (stderr, \": %s\", strerror (errnum));\n"
38026 "   fprintf (stderr, \"\\n\");\n"
38027 "   /* ... */\n"
38028 " }\n"
38029 "\n"
38030 msgstr ""
38031
38032 #. type: textblock
38033 #: ../src/guestfs.pod:1407
38034 msgid ""
38035 "Out of memory errors are handled differently.  The default action is to call"
38036 " L<abort(3)>.  If this is undesirable, then you can set a handler using "
38037 "L</guestfs_set_out_of_memory_handler>."
38038 msgstr ""
38039
38040 #. type: textblock
38041 #: ../src/guestfs.pod:1411
38042 msgid ""
38043 "L</guestfs_create> returns C<NULL> if the handle cannot be created, and "
38044 "because there is no handle if this happens there is no way to get additional"
38045 " error information.  However L</guestfs_create> is supposed to be a "
38046 "lightweight operation which can only fail because of insufficient memory (it"
38047 " returns NULL in this case)."
38048 msgstr ""
38049
38050 #. type: =head2
38051 #: ../src/guestfs.pod:1417
38052 msgid "guestfs_last_error"
38053 msgstr "guestfs_last_error"
38054
38055 #. type: verbatim
38056 #: ../src/guestfs.pod:1419
38057 #, no-wrap
38058 msgid ""
38059 " const char *guestfs_last_error (guestfs_h *g);\n"
38060 "\n"
38061 msgstr ""
38062 " const char *guestfs_last_error (guestfs_h *g);\n"
38063 "\n"
38064
38065 #. type: textblock
38066 #: ../src/guestfs.pod:1421
38067 msgid ""
38068 "This returns the last error message that happened on C<g>.  If there has not"
38069 " been an error since the handle was created, then this returns C<NULL>."
38070 msgstr ""
38071
38072 #. type: textblock
38073 #: ../src/guestfs.pod:1425
38074 msgid ""
38075 "The lifetime of the returned string is until the next error occurs, or "
38076 "L</guestfs_close> is called."
38077 msgstr ""
38078
38079 #. type: =head2
38080 #: ../src/guestfs.pod:1428
38081 msgid "guestfs_last_errno"
38082 msgstr "guestfs_last_errno"
38083
38084 #. type: verbatim
38085 #: ../src/guestfs.pod:1430
38086 #, no-wrap
38087 msgid ""
38088 " int guestfs_last_errno (guestfs_h *g);\n"
38089 "\n"
38090 msgstr ""
38091 " int guestfs_last_errno (guestfs_h *g);\n"
38092 "\n"
38093
38094 #. type: textblock
38095 #: ../src/guestfs.pod:1432
38096 msgid "This returns the last error number (errno) that happened on C<g>."
38097 msgstr ""
38098
38099 #. type: textblock
38100 #: ../src/guestfs.pod:1434
38101 msgid "If successful, an errno integer not equal to zero is returned."
38102 msgstr ""
38103
38104 #. type: textblock
38105 #: ../src/guestfs.pod:1436
38106 msgid ""
38107 "If no error, this returns 0.  This call can return 0 in three situations:"
38108 msgstr ""
38109
38110 #. type: textblock
38111 #: ../src/guestfs.pod:1443
38112 msgid "There has not been any error on the handle."
38113 msgstr ""
38114
38115 #. type: textblock
38116 #: ../src/guestfs.pod:1447
38117 msgid ""
38118 "There has been an error but the errno was meaningless.  This corresponds to "
38119 "the case where the error did not come from a failed system call, but for "
38120 "some other reason."
38121 msgstr ""
38122
38123 #. type: textblock
38124 #: ../src/guestfs.pod:1453
38125 msgid ""
38126 "There was an error from a failed system call, but for some reason the errno "
38127 "was not captured and returned.  This usually indicates a bug in libguestfs."
38128 msgstr ""
38129
38130 #. type: textblock
38131 #: ../src/guestfs.pod:1459
38132 msgid ""
38133 "Libguestfs tries to convert the errno from inside the applicance into a "
38134 "corresponding errno for the caller (not entirely trivial: the appliance "
38135 "might be running a completely different operating system from the library "
38136 "and error numbers are not standardized across Un*xen).  If this could not be"
38137 " done, then the error is translated to C<EINVAL>.  In practice this should "
38138 "only happen in very rare circumstances."
38139 msgstr ""
38140
38141 #. type: =head2
38142 #: ../src/guestfs.pod:1467
38143 msgid "guestfs_set_error_handler"
38144 msgstr "guestfs_set_error_handler"
38145
38146 #. type: verbatim
38147 #: ../src/guestfs.pod:1469
38148 #, no-wrap
38149 msgid ""
38150 " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n"
38151 "                                           void *opaque,\n"
38152 "                                           const char *msg);\n"
38153 " void guestfs_set_error_handler (guestfs_h *g,\n"
38154 "                                 guestfs_error_handler_cb cb,\n"
38155 "                                 void *opaque);\n"
38156 "\n"
38157 msgstr ""
38158 " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n"
38159 "                                           void *opaque,\n"
38160 "                                           const char *msg);\n"
38161 " void guestfs_set_error_handler (guestfs_h *g,\n"
38162 "                                 guestfs_error_handler_cb cb,\n"
38163 "                                 void *opaque);\n"
38164 "\n"
38165
38166 #. type: textblock
38167 #: ../src/guestfs.pod:1476
38168 msgid ""
38169 "The callback C<cb> will be called if there is an error.  The parameters "
38170 "passed to the callback are an opaque data pointer and the error message "
38171 "string."
38172 msgstr ""
38173
38174 #. type: textblock
38175 #: ../src/guestfs.pod:1480
38176 msgid ""
38177 "C<errno> is not passed to the callback.  To get that the callback must call "
38178 "L</guestfs_last_errno>."
38179 msgstr ""
38180
38181 #. type: textblock
38182 #: ../src/guestfs.pod:1483
38183 msgid ""
38184 "Note that the message string C<msg> is freed as soon as the callback "
38185 "function returns, so if you want to stash it somewhere you must make your "
38186 "own copy."
38187 msgstr ""
38188
38189 #. type: textblock
38190 #: ../src/guestfs.pod:1487
38191 msgid "The default handler prints messages on C<stderr>."
38192 msgstr ""
38193
38194 #. type: textblock
38195 #: ../src/guestfs.pod:1489
38196 msgid "If you set C<cb> to C<NULL> then I<no> handler is called."
38197 msgstr ""
38198
38199 #. type: =head2
38200 #: ../src/guestfs.pod:1491
38201 msgid "guestfs_get_error_handler"
38202 msgstr "guestfs_get_error_handler"
38203
38204 #. type: verbatim
38205 #: ../src/guestfs.pod:1493
38206 #, no-wrap
38207 msgid ""
38208 " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n"
38209 "                                                     void **opaque_rtn);\n"
38210 "\n"
38211 msgstr ""
38212 " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n"
38213 "                                                     void **opaque_rtn);\n"
38214 "\n"
38215
38216 #. type: textblock
38217 #: ../src/guestfs.pod:1496
38218 msgid "Returns the current error handler callback."
38219 msgstr ""
38220
38221 #. type: =head2
38222 #: ../src/guestfs.pod:1498
38223 msgid "guestfs_set_out_of_memory_handler"
38224 msgstr "guestfs_set_out_of_memory_handler"
38225
38226 #. type: verbatim
38227 #: ../src/guestfs.pod:1500
38228 #, no-wrap
38229 msgid ""
38230 " typedef void (*guestfs_abort_cb) (void);\n"
38231 " void guestfs_set_out_of_memory_handler (guestfs_h *g,\n"
38232 "                                         guestfs_abort_cb);\n"
38233 "\n"
38234 msgstr ""
38235
38236 #. type: textblock
38237 #: ../src/guestfs.pod:1504
38238 msgid ""
38239 "The callback C<cb> will be called if there is an out of memory situation.  "
38240 "I<Note this callback must not return>."
38241 msgstr ""
38242
38243 #. type: textblock
38244 #: ../src/guestfs.pod:1507
38245 msgid "The default is to call L<abort(3)>."
38246 msgstr ""
38247
38248 #. type: textblock
38249 #: ../src/guestfs.pod:1509
38250 msgid ""
38251 "You cannot set C<cb> to C<NULL>.  You can't ignore out of memory situations."
38252 msgstr ""
38253
38254 #. type: =head2
38255 #: ../src/guestfs.pod:1512
38256 msgid "guestfs_get_out_of_memory_handler"
38257 msgstr "guestfs_get_out_of_memory_handler"
38258
38259 #. type: verbatim
38260 #: ../src/guestfs.pod:1514
38261 #, no-wrap
38262 msgid ""
38263 " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n"
38264 "\n"
38265 msgstr ""
38266 " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n"
38267 "\n"
38268
38269 #. type: textblock
38270 #: ../src/guestfs.pod:1516
38271 msgid "This returns the current out of memory handler."
38272 msgstr ""
38273
38274 #. type: =head1
38275 #: ../src/guestfs.pod:1518
38276 msgid "API CALLS"
38277 msgstr "ВИКЛИКИ API"
38278
38279 #. type: =head1
38280 #: ../src/guestfs.pod:1522
38281 msgid "STRUCTURES"
38282 msgstr "СТРУКТУРИ"
38283
38284 #. type: textblock
38285 #: ../src/guestfs.pod:1524
38286 msgid "@STRUCTS@"
38287 msgstr "@STRUCTS@"
38288
38289 #. type: =head1
38290 #: ../src/guestfs.pod:1526
38291 msgid "AVAILABILITY"
38292 msgstr "ДОСТУПНІСТЬ"
38293
38294 #. type: =head2
38295 #: ../src/guestfs.pod:1528
38296 msgid "GROUPS OF FUNCTIONALITY IN THE APPLIANCE"
38297 msgstr "ГРУПИ ФУНКЦІОНАЛЬНИХ МОЖЛИВОСТЕЙ У ОБРАЗІ ОСНОВНОЇ СИСТЕМИ"
38298
38299 #. type: textblock
38300 #: ../src/guestfs.pod:1530
38301 msgid ""
38302 "Using L</guestfs_available> you can test availability of the following "
38303 "groups of functions.  This test queries the appliance to see if the "
38304 "appliance you are currently using supports the functionality."
38305 msgstr ""
38306
38307 #. type: textblock
38308 #: ../src/guestfs.pod:1535
38309 msgid "@AVAILABILITY@"
38310 msgstr "@AVAILABILITY@"
38311
38312 #. type: =head2
38313 #: ../src/guestfs.pod:1537
38314 msgid "GUESTFISH supported COMMAND"
38315 msgstr ""
38316
38317 #. type: textblock
38318 #: ../src/guestfs.pod:1539
38319 msgid ""
38320 "In L<guestfish(3)> there is a handy interactive command C<supported> which "
38321 "prints out the available groups and whether they are supported by this build"
38322 " of libguestfs.  Note however that you have to do C<run> first."
38323 msgstr ""
38324
38325 #. type: =head2
38326 #: ../src/guestfs.pod:1544
38327 msgid "SINGLE CALLS AT COMPILE TIME"
38328 msgstr ""
38329
38330 #. type: textblock
38331 #: ../src/guestfs.pod:1546
38332 msgid ""
38333 "Since version 1.5.8, C<E<lt>guestfs.hE<gt>> defines symbols for each C API "
38334 "function, such as:"
38335 msgstr ""
38336
38337 #. type: verbatim
38338 #: ../src/guestfs.pod:1549
38339 #, no-wrap
38340 msgid ""
38341 " #define LIBGUESTFS_HAVE_DD 1\n"
38342 "\n"
38343 msgstr ""
38344 " #define LIBGUESTFS_HAVE_DD 1\n"
38345 "\n"
38346
38347 #. type: textblock
38348 #: ../src/guestfs.pod:1551
38349 msgid "if L</guestfs_dd> is available."
38350 msgstr ""
38351
38352 #. type: textblock
38353 #: ../src/guestfs.pod:1553
38354 msgid ""
38355 "Before version 1.5.8, if you needed to test whether a single libguestfs "
38356 "function is available at compile time, we recommended using build tools such"
38357 " as autoconf or cmake.  For example in autotools you could use:"
38358 msgstr ""
38359
38360 #. type: verbatim
38361 #: ../src/guestfs.pod:1558
38362 #, no-wrap
38363 msgid ""
38364 " AC_CHECK_LIB([guestfs],[guestfs_create])\n"
38365 " AC_CHECK_FUNCS([guestfs_dd])\n"
38366 "\n"
38367 msgstr ""
38368 " AC_CHECK_LIB([guestfs],[guestfs_create])\n"
38369 " AC_CHECK_FUNCS([guestfs_dd])\n"
38370 "\n"
38371
38372 #. type: textblock
38373 #: ../src/guestfs.pod:1561
38374 msgid ""
38375 "which would result in C<HAVE_GUESTFS_DD> being either defined or not defined"
38376 " in your program."
38377 msgstr ""
38378
38379 #. type: =head2
38380 #: ../src/guestfs.pod:1564
38381 msgid "SINGLE CALLS AT RUN TIME"
38382 msgstr ""
38383
38384 #. type: textblock
38385 #: ../src/guestfs.pod:1566
38386 msgid ""
38387 "Testing at compile time doesn't guarantee that a function really exists in "
38388 "the library.  The reason is that you might be dynamically linked against a "
38389 "previous I<libguestfs.so> (dynamic library)  which doesn't have the call.  "
38390 "This situation unfortunately results in a segmentation fault, which is a "
38391 "shortcoming of the C dynamic linking system itself."
38392 msgstr ""
38393
38394 #. type: textblock
38395 #: ../src/guestfs.pod:1573
38396 msgid ""
38397 "You can use L<dlopen(3)> to test if a function is available at run time, as "
38398 "in this example program (note that you still need the compile time check as "
38399 "well):"
38400 msgstr ""
38401
38402 #. type: verbatim
38403 #: ../src/guestfs.pod:1577
38404 #, no-wrap
38405 msgid ""
38406 " #include <stdio.h>\n"
38407 " #include <stdlib.h>\n"
38408 " #include <unistd.h>\n"
38409 " #include <dlfcn.h>\n"
38410 " #include <guestfs.h>\n"
38411 " \n"
38412 msgstr ""
38413 " #include <stdio.h>\n"
38414 " #include <stdlib.h>\n"
38415 " #include <unistd.h>\n"
38416 " #include <dlfcn.h>\n"
38417 " #include <guestfs.h>\n"
38418 " \n"
38419
38420 #. type: verbatim
38421 #: ../src/guestfs.pod:1583
38422 #, no-wrap
38423 msgid ""
38424 " main ()\n"
38425 " {\n"
38426 " #ifdef LIBGUESTFS_HAVE_DD\n"
38427 "   void *dl;\n"
38428 "   int has_function;\n"
38429 " \n"
38430 msgstr ""
38431 " main ()\n"
38432 " {\n"
38433 " #ifdef LIBGUESTFS_HAVE_DD\n"
38434 "   void *dl;\n"
38435 "   int has_function;\n"
38436 " \n"
38437
38438 #. type: verbatim
38439 #: ../src/guestfs.pod:1589
38440 #, no-wrap
38441 msgid ""
38442 "   /* Test if the function guestfs_dd is really available. */\n"
38443 "   dl = dlopen (NULL, RTLD_LAZY);\n"
38444 "   if (!dl) {\n"
38445 "     fprintf (stderr, \"dlopen: %s\\n\", dlerror ());\n"
38446 "     exit (EXIT_FAILURE);\n"
38447 "   }\n"
38448 "   has_function = dlsym (dl, \"guestfs_dd\") != NULL;\n"
38449 "   dlclose (dl);\n"
38450 " \n"
38451 msgstr ""
38452
38453 #. type: verbatim
38454 #: ../src/guestfs.pod:1598
38455 #, no-wrap
38456 msgid ""
38457 "   if (!has_function)\n"
38458 "     printf (\"this libguestfs.so does NOT have guestfs_dd function\\n\");\n"
38459 "   else {\n"
38460 "     printf (\"this libguestfs.so has guestfs_dd function\\n\");\n"
38461 "     /* Now it's safe to call\n"
38462 "     guestfs_dd (g, \"foo\", \"bar\");\n"
38463 "     */\n"
38464 "   }\n"
38465 " #else\n"
38466 "   printf (\"guestfs_dd function was not found at compile time\\n\");\n"
38467 " #endif\n"
38468 "  }\n"
38469 "\n"
38470 msgstr ""
38471
38472 #. type: textblock
38473 #: ../src/guestfs.pod:1611
38474 msgid ""
38475 "You may think the above is an awful lot of hassle, and it is.  There are "
38476 "other ways outside of the C linking system to ensure that this kind of "
38477 "incompatibility never arises, such as using package versioning:"
38478 msgstr ""
38479
38480 #. type: verbatim
38481 #: ../src/guestfs.pod:1616
38482 #, no-wrap
38483 msgid ""
38484 " Requires: libguestfs >= 1.0.80\n"
38485 "\n"
38486 msgstr ""
38487
38488 #. type: =head1
38489 #: ../src/guestfs.pod:1618
38490 msgid "CALLS WITH OPTIONAL ARGUMENTS"
38491 msgstr ""
38492
38493 #. type: textblock
38494 #: ../src/guestfs.pod:1620
38495 msgid ""
38496 "A recent feature of the API is the introduction of calls which take optional"
38497 " arguments.  In C these are declared 3 ways.  The main way is as a call "
38498 "which takes variable arguments (ie. C<...>), as in this example:"
38499 msgstr ""
38500
38501 #. type: verbatim
38502 #: ../src/guestfs.pod:1625
38503 #, no-wrap
38504 msgid ""
38505 " int guestfs_add_drive_opts (guestfs_h *g, const char *filename, ...);\n"
38506 "\n"
38507 msgstr ""
38508 " int guestfs_add_drive_opts (guestfs_h *g, const char *filename, ...);\n"
38509 "\n"
38510
38511 #. type: textblock
38512 #: ../src/guestfs.pod:1627
38513 msgid ""
38514 "Call this with a list of optional arguments, terminated by C<-1>.  So to "
38515 "call with no optional arguments specified:"
38516 msgstr ""
38517
38518 #. type: verbatim
38519 #: ../src/guestfs.pod:1630
38520 #, no-wrap
38521 msgid ""
38522 " guestfs_add_drive_opts (g, filename, -1);\n"
38523 "\n"
38524 msgstr ""
38525 " guestfs_add_drive_opts (g, filename, -1);\n"
38526 "\n"
38527
38528 #. type: textblock
38529 #: ../src/guestfs.pod:1632
38530 msgid "With a single optional argument:"
38531 msgstr ""
38532
38533 #. type: verbatim
38534 #: ../src/guestfs.pod:1634
38535 #, no-wrap
38536 msgid ""
38537 " guestfs_add_drive_opts (g, filename,\n"
38538 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
38539 "                         -1);\n"
38540 "\n"
38541 msgstr ""
38542 " guestfs_add_drive_opts (g, filename,\n"
38543 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
38544 "                         -1);\n"
38545 "\n"
38546
38547 #. type: textblock
38548 #: ../src/guestfs.pod:1638
38549 msgid "With two:"
38550 msgstr ""
38551
38552 #. type: verbatim
38553 #: ../src/guestfs.pod:1640
38554 #, no-wrap
38555 msgid ""
38556 " guestfs_add_drive_opts (g, filename,\n"
38557 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
38558 "                         GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
38559 "                         -1);\n"
38560 "\n"
38561 msgstr ""
38562 " guestfs_add_drive_opts (g, filename,\n"
38563 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
38564 "                         GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
38565 "                         -1);\n"
38566 "\n"
38567
38568 #. type: textblock
38569 #: ../src/guestfs.pod:1645
38570 msgid ""
38571 "and so forth.  Don't forget the terminating C<-1> otherwise Bad Things will "
38572 "happen!"
38573 msgstr ""
38574
38575 #. type: =head2
38576 #: ../src/guestfs.pod:1648
38577 msgid "USING va_list FOR OPTIONAL ARGUMENTS"
38578 msgstr ""
38579
38580 #. type: textblock
38581 #: ../src/guestfs.pod:1650
38582 msgid ""
38583 "The second variant has the same name with the suffix C<_va>, which works the"
38584 " same way but takes a C<va_list>.  See the C manual for details.  For the "
38585 "example function, this is declared:"
38586 msgstr ""
38587
38588 #. type: verbatim
38589 #: ../src/guestfs.pod:1654
38590 #, no-wrap
38591 msgid ""
38592 " int guestfs_add_drive_opts_va (guestfs_h *g, const char *filename,\n"
38593 "                                va_list args);\n"
38594 "\n"
38595 msgstr ""
38596 " int guestfs_add_drive_opts_va (guestfs_h *g, const char *filename,\n"
38597 "                                va_list args);\n"
38598 "\n"
38599
38600 #. type: =head2
38601 #: ../src/guestfs.pod:1657
38602 msgid "CONSTRUCTING OPTIONAL ARGUMENTS"
38603 msgstr ""
38604
38605 #. type: textblock
38606 #: ../src/guestfs.pod:1659
38607 msgid ""
38608 "The third variant is useful where you need to construct these calls.  You "
38609 "pass in a structure where you fill in the optional fields.  The structure "
38610 "has a bitmask as the first element which you must set to indicate which "
38611 "fields you have filled in.  For our example function the structure and call "
38612 "are declared:"
38613 msgstr ""
38614
38615 #. type: verbatim
38616 #: ../src/guestfs.pod:1665
38617 #, no-wrap
38618 msgid ""
38619 " struct guestfs_add_drive_opts_argv {\n"
38620 "   uint64_t bitmask;\n"
38621 "   int readonly;\n"
38622 "   const char *format;\n"
38623 "   /* ... */\n"
38624 " };\n"
38625 " int guestfs_add_drive_opts_argv (guestfs_h *g, const char *filename,\n"
38626 "              const struct guestfs_add_drive_opts_argv *optargs);\n"
38627 "\n"
38628 msgstr ""
38629 " struct guestfs_add_drive_opts_argv {\n"
38630 "   uint64_t bitmask;\n"
38631 "   int readonly;\n"
38632 "   const char *format;\n"
38633 "   /* ... */\n"
38634 " };\n"
38635 " int guestfs_add_drive_opts_argv (guestfs_h *g, const char *filename,\n"
38636 "              const struct guestfs_add_drive_opts_argv *optargs);\n"
38637 "\n"
38638
38639 #. type: textblock
38640 #: ../src/guestfs.pod:1674
38641 msgid "You could call it like this:"
38642 msgstr ""
38643
38644 #. type: verbatim
38645 #: ../src/guestfs.pod:1676
38646 #, no-wrap
38647 msgid ""
38648 " struct guestfs_add_drive_opts_argv optargs = {\n"
38649 "   .bitmask = GUESTFS_ADD_DRIVE_OPTS_READONLY_BITMASK |\n"
38650 "              GUESTFS_ADD_DRIVE_OPTS_FORMAT_BITMASK,\n"
38651 "   .readonly = 1,\n"
38652 "   .format = \"qcow2\"\n"
38653 " };\n"
38654 " \n"
38655 msgstr ""
38656 " struct guestfs_add_drive_opts_argv optargs = {\n"
38657 "   .bitmask = GUESTFS_ADD_DRIVE_OPTS_READONLY_BITMASK |\n"
38658 "              GUESTFS_ADD_DRIVE_OPTS_FORMAT_BITMASK,\n"
38659 "   .readonly = 1,\n"
38660 "   .format = \"qcow2\"\n"
38661 " };\n"
38662 " \n"
38663
38664 #. type: verbatim
38665 #: ../src/guestfs.pod:1683
38666 #, no-wrap
38667 msgid ""
38668 " guestfs_add_drive_opts_argv (g, filename, &optargs);\n"
38669 "\n"
38670 msgstr ""
38671 " guestfs_add_drive_opts_argv (g, filename, &optargs);\n"
38672 "\n"
38673
38674 #. type: textblock
38675 #: ../src/guestfs.pod:1691
38676 msgid ""
38677 "The C<_BITMASK> suffix on each option name when specifying the bitmask."
38678 msgstr ""
38679
38680 #. type: textblock
38681 #: ../src/guestfs.pod:1696
38682 msgid "You do not need to fill in all fields of the structure."
38683 msgstr ""
38684
38685 #. type: textblock
38686 #: ../src/guestfs.pod:1700
38687 msgid ""
38688 "There must be a one-to-one correspondence between fields of the structure "
38689 "that are filled in, and bits set in the bitmask."
38690 msgstr ""
38691
38692 #. type: =head2
38693 #: ../src/guestfs.pod:1705
38694 msgid "OPTIONAL ARGUMENTS IN OTHER LANGUAGES"
38695 msgstr ""
38696
38697 #. type: textblock
38698 #: ../src/guestfs.pod:1707
38699 msgid ""
38700 "In other languages, optional arguments are expressed in the way that is "
38701 "natural for that language.  We refer you to the language-specific "
38702 "documentation for more details on that."
38703 msgstr ""
38704
38705 #. type: textblock
38706 #: ../src/guestfs.pod:1711
38707 msgid "For guestfish, see L<guestfish(1)/OPTIONAL ARGUMENTS>."
38708 msgstr ""
38709
38710 #. type: =head2
38711 #: ../src/guestfs.pod:1713
38712 msgid "SETTING CALLBACKS TO HANDLE EVENTS"
38713 msgstr ""
38714
38715 #. type: textblock
38716 #: ../src/guestfs.pod:1715
38717 msgid ""
38718 "B<Note:> This section documents the generic event mechanism introduced in "
38719 "libguestfs 1.10, which you should use in new code if possible.  The old "
38720 "functions C<guestfs_set_log_message_callback>, "
38721 "C<guestfs_set_subprocess_quit_callback>, "
38722 "C<guestfs_set_launch_done_callback>, C<guestfs_set_close_callback> and "
38723 "C<guestfs_set_progress_callback> are no longer documented in this manual "
38724 "page.  Because of the ABI guarantee, the old functions continue to work."
38725 msgstr ""
38726
38727 #. type: textblock
38728 #: ../src/guestfs.pod:1724
38729 msgid ""
38730 "Handles generate events when certain things happen, such as log messages "
38731 "being generated, progress messages during long-running operations, or the "
38732 "handle being closed.  The API calls described below let you register a "
38733 "callback to be called when events happen.  You can register multiple "
38734 "callbacks (for the same, different or overlapping sets of events), and "
38735 "individually remove callbacks.  If callbacks are not removed, then they "
38736 "remain in force until the handle is closed."
38737 msgstr ""
38738
38739 #. type: textblock
38740 #: ../src/guestfs.pod:1732
38741 msgid ""
38742 "In the current implementation, events are only generated synchronously: that"
38743 " means that events (and hence callbacks) can only happen while you are in "
38744 "the middle of making another libguestfs call.  The callback is called in the"
38745 " same thread."
38746 msgstr ""
38747
38748 #. type: textblock
38749 #: ../src/guestfs.pod:1737
38750 msgid ""
38751 "Events may contain a payload, usually nothing (void), an array of 64 bit "
38752 "unsigned integers, or a message buffer.  Payloads are discussed later on."
38753 msgstr ""
38754
38755 #. type: =head3
38756 #: ../src/guestfs.pod:1741
38757 msgid "CLASSES OF EVENTS"
38758 msgstr ""
38759
38760 #. type: =item
38761 #: ../src/guestfs.pod:1745
38762 msgid "GUESTFS_EVENT_CLOSE (payload type: void)"
38763 msgstr ""
38764
38765 #. type: textblock
38766 #: ../src/guestfs.pod:1748
38767 msgid ""
38768 "The callback function will be called while the handle is being closed "
38769 "(synchronously from L</guestfs_close>)."
38770 msgstr ""
38771
38772 #. type: textblock
38773 #: ../src/guestfs.pod:1751
38774 msgid ""
38775 "Note that libguestfs installs an L<atexit(3)> handler to try to clean up "
38776 "handles that are open when the program exits.  This means that this callback"
38777 " might be called indirectly from L<exit(3)>, which can cause unexpected "
38778 "problems in higher-level languages (eg. if your HLL interpreter has already "
38779 "been cleaned up by the time this is called, and if your callback then jumps "
38780 "into some HLL function)."
38781 msgstr ""
38782
38783 #. type: textblock
38784 #: ../src/guestfs.pod:1758
38785 msgid ""
38786 "If no callback is registered: the handle is closed without any callback "
38787 "being invoked."
38788 msgstr ""
38789
38790 #. type: =item
38791 #: ../src/guestfs.pod:1761
38792 msgid "GUESTFS_EVENT_SUBPROCESS_QUIT (payload type: void)"
38793 msgstr ""
38794
38795 #. type: textblock
38796 #: ../src/guestfs.pod:1764
38797 msgid ""
38798 "The callback function will be called when the child process quits, either "
38799 "asynchronously or if killed by L</guestfs_kill_subprocess>.  (This "
38800 "corresponds to a transition from any state to the CONFIG state)."
38801 msgstr ""
38802
38803 #. type: textblock
38804 #: ../src/guestfs.pod:1768 ../src/guestfs.pod:1777 ../src/guestfs.pod:1894
38805 msgid "If no callback is registered: the event is ignored."
38806 msgstr ""
38807
38808 #. type: =item
38809 #: ../src/guestfs.pod:1770
38810 msgid "GUESTFS_EVENT_LAUNCH_DONE (payload type: void)"
38811 msgstr ""
38812
38813 #. type: textblock
38814 #: ../src/guestfs.pod:1773
38815 msgid ""
38816 "The callback function will be called when the child process becomes ready "
38817 "first time after it has been launched.  (This corresponds to a transition "
38818 "from LAUNCHING to the READY state)."
38819 msgstr ""
38820
38821 #. type: =item
38822 #: ../src/guestfs.pod:1779
38823 msgid "GUESTFS_EVENT_PROGRESS (payload type: array of 4 x uint64_t)"
38824 msgstr ""
38825
38826 #. type: textblock
38827 #: ../src/guestfs.pod:1782
38828 msgid ""
38829 "Some long-running operations can generate progress messages.  If this "
38830 "callback is registered, then it will be called each time a progress message "
38831 "is generated (usually two seconds after the operation started, and three "
38832 "times per second thereafter until it completes, although the frequency may "
38833 "change in future versions)."
38834 msgstr ""
38835
38836 #. type: textblock
38837 #: ../src/guestfs.pod:1788
38838 msgid ""
38839 "The callback receives in the payload four unsigned 64 bit numbers which are "
38840 "(in order): C<proc_nr>, C<serial>, C<position>, C<total>."
38841 msgstr ""
38842
38843 #. type: textblock
38844 #: ../src/guestfs.pod:1791
38845 msgid ""
38846 "The units of C<total> are not defined, although for some operations C<total>"
38847 " may relate in some way to the amount of data to be transferred (eg. in "
38848 "bytes or megabytes), and C<position> may be the portion which has been "
38849 "transferred."
38850 msgstr ""
38851
38852 #. type: textblock
38853 #: ../src/guestfs.pod:1796
38854 msgid "The only defined and stable parts of the API are:"
38855 msgstr ""
38856
38857 #. type: textblock
38858 #: ../src/guestfs.pod:1802
38859 msgid ""
38860 "The callback can display to the user some type of progress bar or indicator "
38861 "which shows the ratio of C<position>:C<total>."
38862 msgstr ""
38863
38864 #. type: textblock
38865 #: ../src/guestfs.pod:1807
38866 msgid "0 E<lt>= C<position> E<lt>= C<total>"
38867 msgstr ""
38868
38869 #. type: textblock
38870 #: ../src/guestfs.pod:1811
38871 msgid ""
38872 "If any progress notification is sent during a call, then a final progress "
38873 "notification is always sent when C<position> = C<total> (I<unless> the call "
38874 "fails with an error)."
38875 msgstr ""
38876
38877 #. type: textblock
38878 #: ../src/guestfs.pod:1815
38879 msgid ""
38880 "This is to simplify caller code, so callers can easily set the progress "
38881 "indicator to \"100%\" at the end of the operation, without requiring special"
38882 " code to detect this case."
38883 msgstr ""
38884
38885 #. type: textblock
38886 #: ../src/guestfs.pod:1821
38887 msgid ""
38888 "For some calls we are unable to estimate the progress of the call, but we "
38889 "can still generate progress messages to indicate activity.  This is known as"
38890 " \"pulse mode\", and is directly supported by certain progress bar "
38891 "implementations (eg. GtkProgressBar)."
38892 msgstr ""
38893
38894 #. type: textblock
38895 #: ../src/guestfs.pod:1826
38896 msgid ""
38897 "For these calls, zero or more progress messages are generated with "
38898 "C<position = 0> and C<total = 1>, followed by a final message with "
38899 "C<position = total = 1>."
38900 msgstr ""
38901
38902 #. type: textblock
38903 #: ../src/guestfs.pod:1830
38904 msgid ""
38905 "As noted above, if the call fails with an error then the final message may "
38906 "not be generated."
38907 msgstr ""
38908
38909 #. type: textblock
38910 #: ../src/guestfs.pod:1835
38911 msgid ""
38912 "The callback also receives the procedure number (C<proc_nr>) and serial "
38913 "number (C<serial>) of the call.  These are only useful for debugging "
38914 "protocol issues, and the callback can normally ignore them.  The callback "
38915 "may want to print these numbers in error messages or debugging messages."
38916 msgstr ""
38917
38918 #. type: textblock
38919 #: ../src/guestfs.pod:1841
38920 msgid "If no callback is registered: progress messages are discarded."
38921 msgstr ""
38922
38923 #. type: =item
38924 #: ../src/guestfs.pod:1843
38925 msgid "GUESTFS_EVENT_APPLIANCE (payload type: message buffer)"
38926 msgstr ""
38927
38928 #. type: textblock
38929 #: ../src/guestfs.pod:1846
38930 msgid ""
38931 "The callback function is called whenever a log message is generated by qemu,"
38932 " the appliance kernel, guestfsd (daemon), or utility programs."
38933 msgstr ""
38934
38935 #. type: textblock
38936 #: ../src/guestfs.pod:1849
38937 msgid ""
38938 "If the verbose flag (L</guestfs_set_verbose>) is set before launch "
38939 "(L</guestfs_launch>) then additional debug messages are generated."
38940 msgstr ""
38941
38942 #. type: textblock
38943 #: ../src/guestfs.pod:1852 ../src/guestfs.pod:1866
38944 msgid ""
38945 "If no callback is registered: the messages are discarded unless the verbose "
38946 "flag is set in which case they are sent to stderr.  You can override the "
38947 "printing of verbose messages to stderr by setting up a callback."
38948 msgstr ""
38949
38950 #. type: =item
38951 #: ../src/guestfs.pod:1857
38952 msgid "GUESTFS_EVENT_LIBRARY (payload type: message buffer)"
38953 msgstr ""
38954
38955 #. type: textblock
38956 #: ../src/guestfs.pod:1860
38957 msgid ""
38958 "The callback function is called whenever a log message is generated by the "
38959 "library part of libguestfs."
38960 msgstr ""
38961
38962 #. type: textblock
38963 #: ../src/guestfs.pod:1863
38964 msgid ""
38965 "If the verbose flag (L</guestfs_set_verbose>) is set then additional debug "
38966 "messages are generated."
38967 msgstr ""
38968
38969 #. type: =item
38970 #: ../src/guestfs.pod:1871
38971 msgid "GUESTFS_EVENT_TRACE (payload type: message buffer)"
38972 msgstr ""
38973
38974 #. type: textblock
38975 #: ../src/guestfs.pod:1874
38976 msgid ""
38977 "The callback function is called whenever a trace message is generated.  This"
38978 " only applies if the trace flag (L</guestfs_set_trace>) is set."
38979 msgstr ""
38980
38981 #. type: textblock
38982 #: ../src/guestfs.pod:1877
38983 msgid ""
38984 "If no callback is registered: the messages are sent to stderr.  You can "
38985 "override the printing of trace messages to stderr by setting up a callback."
38986 msgstr ""
38987
38988 #. type: =item
38989 #: ../src/guestfs.pod:1881
38990 msgid "GUESTFS_EVENT_ENTER (payload type: function name)"
38991 msgstr ""
38992
38993 #. type: textblock
38994 #: ../src/guestfs.pod:1884
38995 msgid ""
38996 "The callback function is called whenever a libguestfs function is entered."
38997 msgstr ""
38998
38999 #. type: textblock
39000 #: ../src/guestfs.pod:1887
39001 msgid ""
39002 "The payload is a string which contains the name of the function that we are "
39003 "entering (not including C<guestfs_> prefix)."
39004 msgstr ""
39005
39006 #. type: textblock
39007 #: ../src/guestfs.pod:1890
39008 msgid ""
39009 "Note that libguestfs functions can call themselves, so you may see many "
39010 "events from a single call.  A few libguestfs functions do not generate this "
39011 "event."
39012 msgstr ""
39013
39014 #. type: =head3
39015 #: ../src/guestfs.pod:1898
39016 msgid "guestfs_set_event_callback"
39017 msgstr ""
39018
39019 #. type: verbatim
39020 #: ../src/guestfs.pod:1900
39021 #, no-wrap
39022 msgid ""
39023 " int guestfs_set_event_callback (guestfs_h *g,\n"
39024 "                                 guestfs_event_callback cb,\n"
39025 "                                 uint64_t event_bitmask,\n"
39026 "                                 int flags,\n"
39027 "                                 void *opaque);\n"
39028 "\n"
39029 msgstr ""
39030
39031 #. type: textblock
39032 #: ../src/guestfs.pod:1906
39033 msgid ""
39034 "This function registers a callback (C<cb>) for all event classes in the "
39035 "C<event_bitmask>."
39036 msgstr ""
39037
39038 #. type: textblock
39039 #: ../src/guestfs.pod:1909
39040 msgid ""
39041 "For example, to register for all log message events, you could call this "
39042 "function with the bitmask C<GUESTFS_EVENT_APPLIANCE|GUESTFS_EVENT_LIBRARY>."
39043 "  To register a single callback for all possible classes of events, use "
39044 "C<GUESTFS_EVENT_ALL>."
39045 msgstr ""
39046
39047 #. type: textblock
39048 #: ../src/guestfs.pod:1915
39049 msgid "C<flags> should always be passed as 0."
39050 msgstr ""
39051
39052 #. type: textblock
39053 #: ../src/guestfs.pod:1917
39054 msgid ""
39055 "C<opaque> is an opaque pointer which is passed to the callback.  You can use"
39056 " it for any purpose."
39057 msgstr ""
39058
39059 #. type: textblock
39060 #: ../src/guestfs.pod:1920
39061 msgid ""
39062 "The return value is the event handle (an integer) which you can use to "
39063 "delete the callback (see below)."
39064 msgstr ""
39065
39066 #. type: textblock
39067 #: ../src/guestfs.pod:1923
39068 msgid ""
39069 "If there is an error, this function returns C<-1>, and sets the error in the"
39070 " handle in the usual way (see L</guestfs_last_error> etc.)"
39071 msgstr ""
39072
39073 #. type: textblock
39074 #: ../src/guestfs.pod:1926
39075 msgid ""
39076 "Callbacks remain in effect until they are deleted, or until the handle is "
39077 "closed."
39078 msgstr ""
39079
39080 #. type: textblock
39081 #: ../src/guestfs.pod:1929
39082 msgid ""
39083 "In the case where multiple callbacks are registered for a particular event "
39084 "class, all of the callbacks are called.  The order in which multiple "
39085 "callbacks are called is not defined."
39086 msgstr ""
39087
39088 #. type: =head3
39089 #: ../src/guestfs.pod:1933
39090 msgid "guestfs_delete_event_callback"
39091 msgstr ""
39092
39093 #. type: verbatim
39094 #: ../src/guestfs.pod:1935
39095 #, no-wrap
39096 msgid ""
39097 " void guestfs_delete_event_callback (guestfs_h *g, int event_handle);\n"
39098 "\n"
39099 msgstr ""
39100
39101 #. type: textblock
39102 #: ../src/guestfs.pod:1937
39103 msgid ""
39104 "Delete a callback that was previously registered.  C<event_handle> should be"
39105 " the integer that was returned by a previous call to "
39106 "C<guestfs_set_event_callback> on the same handle."
39107 msgstr ""
39108
39109 #. type: =head3
39110 #: ../src/guestfs.pod:1941
39111 msgid "guestfs_event_callback"
39112 msgstr ""
39113
39114 #. type: verbatim
39115 #: ../src/guestfs.pod:1943
39116 #, no-wrap
39117 msgid ""
39118 " typedef void (*guestfs_event_callback) (\n"
39119 "                  guestfs_h *g,\n"
39120 "                  void *opaque,\n"
39121 "                  uint64_t event,\n"
39122 "                  int event_handle,\n"
39123 "                  int flags,\n"
39124 "                  const char *buf, size_t buf_len,\n"
39125 "                  const uint64_t *array, size_t array_len);\n"
39126 "\n"
39127 msgstr ""
39128
39129 #. type: textblock
39130 #: ../src/guestfs.pod:1952
39131 msgid ""
39132 "This is the type of the event callback function that you have to provide."
39133 msgstr ""
39134
39135 #. type: textblock
39136 #: ../src/guestfs.pod:1955
39137 msgid ""
39138 "The basic parameters are: the handle (C<g>), the opaque user pointer "
39139 "(C<opaque>), the event class (eg. C<GUESTFS_EVENT_PROGRESS>), the event "
39140 "handle, and C<flags> which in the current API you should ignore."
39141 msgstr ""
39142
39143 #. type: textblock
39144 #: ../src/guestfs.pod:1959
39145 msgid ""
39146 "The remaining parameters contain the event payload (if any).  Each event may"
39147 " contain a payload, which usually relates to the event class, but for future"
39148 " proofing your code should be written to handle any payload for any event "
39149 "class."
39150 msgstr ""
39151
39152 #. type: textblock
39153 #: ../src/guestfs.pod:1964
39154 msgid ""
39155 "C<buf> and C<buf_len> contain a message buffer (if C<buf_len == 0>, then "
39156 "there is no message buffer).  Note that this message buffer can contain "
39157 "arbitrary 8 bit data, including NUL bytes."
39158 msgstr ""
39159
39160 #. type: textblock
39161 #: ../src/guestfs.pod:1968
39162 msgid ""
39163 "C<array> and C<array_len> is an array of 64 bit unsigned integers.  At the "
39164 "moment this is only used for progress messages."
39165 msgstr ""
39166
39167 #. type: =head3
39168 #: ../src/guestfs.pod:1971
39169 msgid "EXAMPLE: CAPTURING LOG MESSAGES"
39170 msgstr ""
39171
39172 #. type: textblock
39173 #: ../src/guestfs.pod:1973
39174 msgid ""
39175 "One motivation for the generic event API was to allow GUI programs to "
39176 "capture debug and other messages.  In libguestfs E<le> 1.8 these were sent "
39177 "unconditionally to C<stderr>."
39178 msgstr ""
39179
39180 #. type: textblock
39181 #: ../src/guestfs.pod:1977
39182 msgid ""
39183 "Events associated with log messages are: C<GUESTFS_EVENT_LIBRARY>, "
39184 "C<GUESTFS_EVENT_APPLIANCE> and C<GUESTFS_EVENT_TRACE>.  (Note that error "
39185 "messages are not events; you must capture error messages separately)."
39186 msgstr ""
39187
39188 #. type: textblock
39189 #: ../src/guestfs.pod:1982
39190 msgid ""
39191 "Programs have to set up a callback to capture the classes of events of "
39192 "interest:"
39193 msgstr ""
39194
39195 #. type: verbatim
39196 #: ../src/guestfs.pod:1985
39197 #, no-wrap
39198 msgid ""
39199 " int eh =\n"
39200 "   guestfs_set_event_callback\n"
39201 "     (g, message_callback,\n"
39202 "      GUESTFS_EVENT_LIBRARY|GUESTFS_EVENT_APPLIANCE|\n"
39203 "      GUESTFS_EVENT_TRACE,\n"
39204 "      0, NULL) == -1)\n"
39205 " if (eh == -1) {\n"
39206 "   // handle error in the usual way\n"
39207 " }\n"
39208 "\n"
39209 msgstr ""
39210
39211 #. type: textblock
39212 #: ../src/guestfs.pod:1995
39213 msgid ""
39214 "The callback can then direct messages to the appropriate place.  In this "
39215 "example, messages are directed to syslog:"
39216 msgstr ""
39217
39218 #. type: verbatim
39219 #: ../src/guestfs.pod:1998
39220 #, no-wrap
39221 msgid ""
39222 " static void\n"
39223 " message_callback (\n"
39224 "         guestfs_h *g,\n"
39225 "         void *opaque,\n"
39226 "         uint64_t event,\n"
39227 "         int event_handle,\n"
39228 "         int flags,\n"
39229 "         const char *buf, size_t buf_len,\n"
39230 "         const uint64_t *array, size_t array_len)\n"
39231 " {\n"
39232 "   const int priority = LOG_USER|LOG_INFO;\n"
39233 "   if (buf_len > 0)\n"
39234 "     syslog (priority, \"event 0x%lx: %s\", event, buf);\n"
39235 " }\n"
39236 "\n"
39237 msgstr ""
39238
39239 #. type: =head1
39240 #: ../src/guestfs.pod:2013
39241 msgid "CANCELLING LONG TRANSFERS"
39242 msgstr ""
39243
39244 #. type: textblock
39245 #: ../src/guestfs.pod:2015
39246 msgid ""
39247 "Some operations can be cancelled by the caller while they are in progress.  "
39248 "Currently only operations that involve uploading or downloading data can be "
39249 "cancelled (technically: operations that have C<FileIn> or C<FileOut> "
39250 "parameters in the generator)."
39251 msgstr ""
39252
39253 #. type: =head2
39254 #: ../src/guestfs.pod:2020
39255 msgid "guestfs_user_cancel"
39256 msgstr ""
39257
39258 #. type: verbatim
39259 #: ../src/guestfs.pod:2022
39260 #, no-wrap
39261 msgid ""
39262 " void guestfs_user_cancel (guestfs_h *g);\n"
39263 "\n"
39264 msgstr ""
39265
39266 #. type: textblock
39267 #: ../src/guestfs.pod:2024
39268 msgid ""
39269 "C<guestfs_user_cancel> cancels the current upload or download operation."
39270 msgstr ""
39271
39272 #. type: textblock
39273 #: ../src/guestfs.pod:2027
39274 msgid ""
39275 "Unlike most other libguestfs calls, this function is signal safe and thread "
39276 "safe.  You can call it from a signal handler or from another thread, without"
39277 " needing to do any locking."
39278 msgstr ""
39279
39280 #. type: textblock
39281 #: ../src/guestfs.pod:2031
39282 msgid ""
39283 "The transfer that was in progress (if there is one) will stop shortly "
39284 "afterwards, and will return an error.  The errno (see "
39285 "L</guestfs_last_errno>) is set to C<EINTR>, so you can test for this to find"
39286 " out if the operation was cancelled or failed because of another error."
39287 msgstr ""
39288
39289 #. type: textblock
39290 #: ../src/guestfs.pod:2037
39291 msgid ""
39292 "No cleanup is performed: for example, if a file was being uploaded then "
39293 "after cancellation there may be a partially uploaded file.  It is the "
39294 "caller's responsibility to clean up if necessary."
39295 msgstr ""
39296
39297 #. type: textblock
39298 #: ../src/guestfs.pod:2041
39299 msgid ""
39300 "There are two common places that you might call C<guestfs_user_cancel>."
39301 msgstr ""
39302
39303 #. type: textblock
39304 #: ../src/guestfs.pod:2043
39305 msgid ""
39306 "In an interactive text-based program, you might call it from a C<SIGINT> "
39307 "signal handler so that pressing C<^C> cancels the current operation.  (You "
39308 "also need to call L</guestfs_set_pgroup> so that child processes don't "
39309 "receive the C<^C> signal)."
39310 msgstr ""
39311
39312 #. type: textblock
39313 #: ../src/guestfs.pod:2048
39314 msgid ""
39315 "In a graphical program, when the main thread is displaying a progress bar "
39316 "with a cancel button, wire up the cancel button to call this function."
39317 msgstr ""
39318
39319 #. type: =head1
39320 #: ../src/guestfs.pod:2052
39321 msgid "PRIVATE DATA AREA"
39322 msgstr ""
39323
39324 #. type: textblock
39325 #: ../src/guestfs.pod:2054
39326 msgid ""
39327 "You can attach named pieces of private data to the libguestfs handle, fetch "
39328 "them by name, and walk over them, for the lifetime of the handle.  This is "
39329 "called the private data area and is only available from the C API."
39330 msgstr ""
39331
39332 #. type: textblock
39333 #: ../src/guestfs.pod:2059
39334 msgid "To attach a named piece of data, use the following call:"
39335 msgstr ""
39336
39337 #. type: verbatim
39338 #: ../src/guestfs.pod:2061
39339 #, no-wrap
39340 msgid ""
39341 " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n"
39342 "\n"
39343 msgstr ""
39344 " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n"
39345 "\n"
39346
39347 #. type: textblock
39348 #: ../src/guestfs.pod:2063
39349 msgid ""
39350 "C<key> is the name to associate with this data, and C<data> is an arbitrary "
39351 "pointer (which can be C<NULL>).  Any previous item with the same key is "
39352 "overwritten."
39353 msgstr ""
39354
39355 #. type: textblock
39356 #: ../src/guestfs.pod:2067
39357 msgid ""
39358 "You can use any C<key> you want, but your key should I<not> start with an "
39359 "underscore character.  Keys beginning with an underscore character are "
39360 "reserved for internal libguestfs purposes (eg. for implementing language "
39361 "bindings).  It is recommended that you prefix the key with some unique "
39362 "string to avoid collisions with other users."
39363 msgstr ""
39364
39365 #. type: textblock
39366 #: ../src/guestfs.pod:2073
39367 msgid "To retrieve the pointer, use:"
39368 msgstr ""
39369
39370 #. type: verbatim
39371 #: ../src/guestfs.pod:2075
39372 #, no-wrap
39373 msgid ""
39374 " void *guestfs_get_private (guestfs_h *g, const char *key);\n"
39375 "\n"
39376 msgstr ""
39377 " void *guestfs_get_private (guestfs_h *g, const char *key);\n"
39378 "\n"
39379
39380 #. type: textblock
39381 #: ../src/guestfs.pod:2077
39382 msgid ""
39383 "This function returns C<NULL> if either no data is found associated with "
39384 "C<key>, or if the user previously set the C<key>'s C<data> pointer to "
39385 "C<NULL>."
39386 msgstr ""
39387
39388 #. type: textblock
39389 #: ../src/guestfs.pod:2081
39390 msgid ""
39391 "Libguestfs does not try to look at or interpret the C<data> pointer in any "
39392 "way.  As far as libguestfs is concerned, it need not be a valid pointer at "
39393 "all.  In particular, libguestfs does I<not> try to free the data when the "
39394 "handle is closed.  If the data must be freed, then the caller must either "
39395 "free it before calling L</guestfs_close> or must set up a close callback to "
39396 "do it (see L</GUESTFS_EVENT_CLOSE>)."
39397 msgstr ""
39398
39399 #. type: textblock
39400 #: ../src/guestfs.pod:2088
39401 msgid "To walk over all entries, use these two functions:"
39402 msgstr ""
39403
39404 #. type: verbatim
39405 #: ../src/guestfs.pod:2090
39406 #, no-wrap
39407 msgid ""
39408 " void *guestfs_first_private (guestfs_h *g, const char **key_rtn);\n"
39409 "\n"
39410 msgstr ""
39411
39412 #. type: verbatim
39413 #: ../src/guestfs.pod:2092
39414 #, no-wrap
39415 msgid ""
39416 " void *guestfs_next_private (guestfs_h *g, const char **key_rtn);\n"
39417 "\n"
39418 msgstr ""
39419
39420 #. type: textblock
39421 #: ../src/guestfs.pod:2094
39422 msgid ""
39423 "C<guestfs_first_private> returns the first key, pointer pair (\"first\" does"
39424 " not have any particular meaning -- keys are not returned in any defined "
39425 "order).  A pointer to the key is returned in C<*key_rtn> and the "
39426 "corresponding data pointer is returned from the function.  C<NULL> is "
39427 "returned if there are no keys stored in the handle."
39428 msgstr ""
39429
39430 #. type: textblock
39431 #: ../src/guestfs.pod:2100
39432 msgid ""
39433 "C<guestfs_next_private> returns the next key, pointer pair.  The return "
39434 "value of this function is also C<NULL> is there are no further entries to "
39435 "return."
39436 msgstr ""
39437
39438 #. type: textblock
39439 #: ../src/guestfs.pod:2104
39440 msgid "Notes about walking over entries:"
39441 msgstr ""
39442
39443 #. type: textblock
39444 #: ../src/guestfs.pod:2110
39445 msgid ""
39446 "You must not call C<guestfs_set_private> while walking over the entries."
39447 msgstr ""
39448
39449 #. type: textblock
39450 #: ../src/guestfs.pod:2115
39451 msgid ""
39452 "The handle maintains an internal iterator which is reset when you call "
39453 "C<guestfs_first_private>.  This internal iterator is invalidated when you "
39454 "call C<guestfs_set_private>."
39455 msgstr ""
39456
39457 #. type: textblock
39458 #: ../src/guestfs.pod:2121
39459 msgid "If you have set the data pointer associated with a key to C<NULL>, ie:"
39460 msgstr ""
39461
39462 #. type: verbatim
39463 #: ../src/guestfs.pod:2123
39464 #, no-wrap
39465 msgid ""
39466 " guestfs_set_private (g, key, NULL);\n"
39467 "\n"
39468 msgstr ""
39469
39470 #. type: textblock
39471 #: ../src/guestfs.pod:2125
39472 msgid "then that C<key> is not returned when walking."
39473 msgstr ""
39474
39475 #. type: textblock
39476 #: ../src/guestfs.pod:2129
39477 msgid ""
39478 "C<*key_rtn> is only valid until the next call to C<guestfs_first_private>, "
39479 "C<guestfs_next_private> or C<guestfs_set_private>."
39480 msgstr ""
39481
39482 #. type: textblock
39483 #: ../src/guestfs.pod:2135
39484 msgid ""
39485 "The following example code shows how to print all keys and data pointers "
39486 "that are associated with the handle C<g>:"
39487 msgstr ""
39488
39489 #. type: verbatim
39490 #: ../src/guestfs.pod:2138
39491 #, no-wrap
39492 msgid ""
39493 " const char *key;\n"
39494 " void *data = guestfs_first_private (g, &key);\n"
39495 " while (data != NULL)\n"
39496 "   {\n"
39497 "     printf (\"key = %s, data = %p\\n\", key, data);\n"
39498 "     data = guestfs_next_private (g, &key);\n"
39499 "   }\n"
39500 "\n"
39501 msgstr ""
39502
39503 #. type: textblock
39504 #: ../src/guestfs.pod:2146
39505 msgid ""
39506 "More commonly you are only interested in keys that begin with an "
39507 "application-specific prefix C<foo_>.  Modify the loop like so:"
39508 msgstr ""
39509
39510 #. type: verbatim
39511 #: ../src/guestfs.pod:2149
39512 #, no-wrap
39513 msgid ""
39514 " const char *key;\n"
39515 " void *data = guestfs_first_private (g, &key);\n"
39516 " while (data != NULL)\n"
39517 "   {\n"
39518 "     if (strncmp (key, \"foo_\", strlen (\"foo_\")) == 0)\n"
39519 "       printf (\"key = %s, data = %p\\n\", key, data);\n"
39520 "     data = guestfs_next_private (g, &key);\n"
39521 "   }\n"
39522 "\n"
39523 msgstr ""
39524
39525 #. type: textblock
39526 #: ../src/guestfs.pod:2158
39527 msgid ""
39528 "If you need to modify keys while walking, then you have to jump back to the "
39529 "beginning of the loop.  For example, to delete all keys prefixed with "
39530 "C<foo_>:"
39531 msgstr ""
39532
39533 #. type: verbatim
39534 #: ../src/guestfs.pod:2162
39535 #, no-wrap
39536 msgid ""
39537 "  const char *key;\n"
39538 "  void *data;\n"
39539 " again:\n"
39540 "  data = guestfs_first_private (g, &key);\n"
39541 "  while (data != NULL)\n"
39542 "    {\n"
39543 "      if (strncmp (key, \"foo_\", strlen (\"foo_\")) == 0)\n"
39544 "        {\n"
39545 "          guestfs_set_private (g, key, NULL);\n"
39546 "          /* note that 'key' pointer is now invalid, and so is\n"
39547 "             the internal iterator */\n"
39548 "          goto again;\n"
39549 "        }\n"
39550 "      data = guestfs_next_private (g, &key);\n"
39551 "    }\n"
39552 "\n"
39553 msgstr ""
39554
39555 #. type: textblock
39556 #: ../src/guestfs.pod:2178
39557 msgid ""
39558 "Note that the above loop is guaranteed to terminate because the keys are "
39559 "being deleted, but other manipulations of keys within the loop might not "
39560 "terminate unless you also maintain an indication of which keys have been "
39561 "visited."
39562 msgstr ""
39563
39564 #. type: =head1
39565 #: ../src/guestfs.pod:2183
39566 msgid "SYSTEMTAP"
39567 msgstr ""
39568
39569 #. type: textblock
39570 #: ../src/guestfs.pod:2185
39571 msgid ""
39572 "The libguestfs C library can be probed using systemtap or DTrace.  This is "
39573 "true of any library, not just libguestfs.  However libguestfs also contains "
39574 "static markers to help in probing internal operations."
39575 msgstr ""
39576
39577 #. type: textblock
39578 #: ../src/guestfs.pod:2189
39579 msgid "You can list all the static markers by doing:"
39580 msgstr ""
39581
39582 #. type: verbatim
39583 #: ../src/guestfs.pod:2191
39584 #, no-wrap
39585 msgid ""
39586 " stap -l 'process(\"/usr/lib*/libguestfs.so.0\")\n"
39587 "              .provider(\"guestfs\").mark(\"*\")'\n"
39588 "\n"
39589 msgstr ""
39590
39591 #. type: textblock
39592 #: ../src/guestfs.pod:2194
39593 msgid ""
39594 "B<Note:> These static markers are I<not> part of the stable API and may "
39595 "change in future versions."
39596 msgstr ""
39597
39598 #. type: =head2
39599 #: ../src/guestfs.pod:2197
39600 msgid "SYSTEMTAP SCRIPT EXAMPLE"
39601 msgstr ""
39602
39603 #. type: textblock
39604 #: ../src/guestfs.pod:2199
39605 msgid ""
39606 "This script contains examples of displaying both the static markers and some"
39607 " ordinary C entry points:"
39608 msgstr ""
39609
39610 #. type: verbatim
39611 #: ../src/guestfs.pod:2202
39612 #, no-wrap
39613 msgid ""
39614 " global last;\n"
39615 " \n"
39616 msgstr ""
39617
39618 #. type: verbatim
39619 #: ../src/guestfs.pod:2204
39620 #, no-wrap
39621 msgid ""
39622 " function display_time () {\n"
39623 "       now = gettimeofday_us ();\n"
39624 "       delta = 0;\n"
39625 "       if (last > 0)\n"
39626 "             delta = now - last;\n"
39627 "       last = now;\n"
39628 " \n"
39629 msgstr ""
39630
39631 #. type: verbatim
39632 #: ../src/guestfs.pod:2211
39633 #, no-wrap
39634 msgid ""
39635 "       printf (\"%d (+%d):\", now, delta);\n"
39636 " }\n"
39637 " \n"
39638 msgstr ""
39639
39640 #. type: verbatim
39641 #: ../src/guestfs.pod:2214
39642 #, no-wrap
39643 msgid ""
39644 " probe begin {\n"
39645 "       last = 0;\n"
39646 "       printf (\"ready\\n\");\n"
39647 " }\n"
39648 " \n"
39649 msgstr ""
39650
39651 #. type: verbatim
39652 #: ../src/guestfs.pod:2219
39653 #, no-wrap
39654 msgid ""
39655 " /* Display all calls to static markers. */\n"
39656 " probe process(\"/usr/lib*/libguestfs.so.0\")\n"
39657 "           .provider(\"guestfs\").mark(\"*\") ? {\n"
39658 "       display_time();\n"
39659 "       printf (\"\\t%s %s\\n\", $$name, $$parms);\n"
39660 " }\n"
39661 " \n"
39662 msgstr ""
39663
39664 #. type: verbatim
39665 #: ../src/guestfs.pod:2226
39666 #, no-wrap
39667 msgid ""
39668 " /* Display all calls to guestfs_mkfs* functions. */\n"
39669 " probe process(\"/usr/lib*/libguestfs.so.0\")\n"
39670 "           .function(\"guestfs_mkfs*\") ? {\n"
39671 "       display_time();\n"
39672 "       printf (\"\\t%s %s\\n\", probefunc(), $$parms);\n"
39673 " }\n"
39674 "\n"
39675 msgstr ""
39676
39677 #. type: textblock
39678 #: ../src/guestfs.pod:2233
39679 msgid ""
39680 "The script above can be saved to C<test.stap> and run using the L<stap(1)> "
39681 "program.  Note that you either have to be root, or you have to add yourself "
39682 "to several special stap groups.  Consult the systemtap documentation for "
39683 "more information."
39684 msgstr ""
39685
39686 #. type: verbatim
39687 #: ../src/guestfs.pod:2238
39688 #, no-wrap
39689 msgid ""
39690 " # stap /tmp/test.stap\n"
39691 " ready\n"
39692 "\n"
39693 msgstr ""
39694
39695 #. type: textblock
39696 #: ../src/guestfs.pod:2241
39697 msgid "In another terminal, run a guestfish command such as this:"
39698 msgstr ""
39699
39700 #. type: textblock
39701 #: ../src/guestfs.pod:2245
39702 msgid "In the first terminal, stap trace output similar to this is shown:"
39703 msgstr ""
39704
39705 #. type: verbatim
39706 #: ../src/guestfs.pod:2247
39707 #, no-wrap
39708 msgid ""
39709 " 1318248056692655 (+0):\tlaunch_start\n"
39710 " 1318248056692850 (+195):       launch_build_appliance_start\n"
39711 " 1318248056818285 (+125435):    launch_build_appliance_end\n"
39712 " 1318248056838059 (+19774):     launch_run_qemu\n"
39713 " 1318248061071167 (+4233108):   launch_end\n"
39714 " 1318248061280324 (+209157):    guestfs_mkfs g=0x1024ab0 fstype=0x46116f device=0x1024e60\n"
39715 "\n"
39716 msgstr ""
39717
39718 #. type: =end
39719 #: ../src/guestfs.pod:2254 ../src/guestfs.pod:2259
39720 msgid "html"
39721 msgstr "html"
39722
39723 #. type: textblock
39724 #: ../src/guestfs.pod:2256
39725 msgid ""
39726 "<!-- old anchor for the next section --> <a "
39727 "name=\"state_machine_and_low_level_event_api\"/>"
39728 msgstr ""
39729 "<!-- old anchor for the next section --> <a "
39730 "name=\"state_machine_and_low_level_event_api\"/>"
39731
39732 #. type: =head1
39733 #: ../src/guestfs.pod:2261
39734 msgid "ARCHITECTURE"
39735 msgstr "АРХІТЕКТУРА"
39736
39737 #. type: textblock
39738 #: ../src/guestfs.pod:2263
39739 msgid ""
39740 "Internally, libguestfs is implemented by running an appliance (a special "
39741 "type of small virtual machine) using L<qemu(1)>.  Qemu runs as a child "
39742 "process of the main program."
39743 msgstr ""
39744
39745 #. type: verbatim
39746 #: ../src/guestfs.pod:2267
39747 #, no-wrap
39748 msgid ""
39749 "  ___________________\n"
39750 " /                   \\\n"
39751 " | main program      |\n"
39752 " |                   |\n"
39753 " |                   |           child process / appliance\n"
39754 " |                   |           __________________________\n"
39755 " |                   |          / qemu                     \\\n"
39756 " +-------------------+   RPC    |      +-----------------+ |\n"
39757 " | libguestfs     <--------------------> guestfsd        | |\n"
39758 " |                   |          |      +-----------------+ |\n"
39759 " \\___________________/          |      | Linux kernel    | |\n"
39760 "                                |      +--^--------------+ |\n"
39761 "                                \\_________|________________/\n"
39762 "                                          |\n"
39763 "                                   _______v______\n"
39764 "                                  /              \\\n"
39765 "                                  | Device or    |\n"
39766 "                                  | disk image   |\n"
39767 "                                  \\______________/\n"
39768 "\n"
39769 msgstr ""
39770
39771 #. type: textblock
39772 #: ../src/guestfs.pod:2287
39773 msgid ""
39774 "The library, linked to the main program, creates the child process and hence"
39775 " the appliance in the L</guestfs_launch> function."
39776 msgstr ""
39777
39778 #. type: textblock
39779 #: ../src/guestfs.pod:2290
39780 msgid ""
39781 "Inside the appliance is a Linux kernel and a complete stack of userspace "
39782 "tools (such as LVM and ext2 programs) and a small controlling daemon called "
39783 "L</guestfsd>.  The library talks to L</guestfsd> using remote procedure "
39784 "calls (RPC).  There is a mostly one-to-one correspondence between libguestfs"
39785 " API calls and RPC calls to the daemon.  Lastly the disk image(s) are "
39786 "attached to the qemu process which translates device access by the "
39787 "appliance's Linux kernel into accesses to the image."
39788 msgstr ""
39789
39790 #. type: textblock
39791 #: ../src/guestfs.pod:2299
39792 msgid ""
39793 "A common misunderstanding is that the appliance \"is\" the virtual machine."
39794 "  Although the disk image you are attached to might also be used by some "
39795 "virtual machine, libguestfs doesn't know or care about this.  (But you will "
39796 "care if both libguestfs's qemu process and your virtual machine are trying "
39797 "to update the disk image at the same time, since these usually results in "
39798 "massive disk corruption)."
39799 msgstr ""
39800
39801 #. type: =head1
39802 #: ../src/guestfs.pod:2306
39803 msgid "STATE MACHINE"
39804 msgstr "СКІНЧЕННИЙ АВТОМАТ"
39805
39806 #. type: textblock
39807 #: ../src/guestfs.pod:2308
39808 msgid "libguestfs uses a state machine to model the child process:"
39809 msgstr ""
39810
39811 #. type: verbatim
39812 #: ../src/guestfs.pod:2310
39813 #, no-wrap
39814 msgid ""
39815 "                         |\n"
39816 "                    guestfs_create\n"
39817 "                         |\n"
39818 "                         |\n"
39819 "                     ____V_____\n"
39820 "                    /          \\\n"
39821 "                    |  CONFIG  |\n"
39822 "                    \\__________/\n"
39823 "                     ^ ^   ^  \\\n"
39824 "                    /  |    \\  \\ guestfs_launch\n"
39825 "                   /   |    _\\__V______\n"
39826 "                  /    |   /           \\\n"
39827 "                 /     |   | LAUNCHING |\n"
39828 "                /      |   \\___________/\n"
39829 "               /       |       /\n"
39830 "              /        |  guestfs_launch\n"
39831 "             /         |     /\n"
39832 "    ______  /        __|____V\n"
39833 "   /      \\ ------> /        \\\n"
39834 "   | BUSY |         | READY  |\n"
39835 "   \\______/ <------ \\________/\n"
39836 "\n"
39837 msgstr ""
39838
39839 #. type: textblock
39840 #: ../src/guestfs.pod:2332
39841 msgid ""
39842 "The normal transitions are (1) CONFIG (when the handle is created, but there"
39843 " is no child process), (2) LAUNCHING (when the child process is booting up),"
39844 " (3) alternating between READY and BUSY as commands are issued to, and "
39845 "carried out by, the child process."
39846 msgstr ""
39847
39848 #. type: textblock
39849 #: ../src/guestfs.pod:2337
39850 msgid ""
39851 "The guest may be killed by L</guestfs_kill_subprocess>, or may die "
39852 "asynchronously at any time (eg. due to some internal error), and that causes"
39853 " the state to transition back to CONFIG."
39854 msgstr ""
39855
39856 #. type: textblock
39857 #: ../src/guestfs.pod:2341
39858 msgid ""
39859 "Configuration commands for qemu such as L</guestfs_add_drive> can only be "
39860 "issued when in the CONFIG state."
39861 msgstr ""
39862
39863 #. type: textblock
39864 #: ../src/guestfs.pod:2344
39865 msgid ""
39866 "The API offers one call that goes from CONFIG through LAUNCHING to READY.  "
39867 "L</guestfs_launch> blocks until the child process is READY to accept "
39868 "commands (or until some failure or timeout).  L</guestfs_launch> internally "
39869 "moves the state from CONFIG to LAUNCHING while it is running."
39870 msgstr ""
39871
39872 #. type: textblock
39873 #: ../src/guestfs.pod:2350
39874 msgid ""
39875 "API actions such as L</guestfs_mount> can only be issued when in the READY "
39876 "state.  These API calls block waiting for the command to be carried out (ie."
39877 " the state to transition to BUSY and then back to READY).  There are no non-"
39878 "blocking versions, and no way to issue more than one command per handle at "
39879 "the same time."
39880 msgstr ""
39881
39882 #. type: textblock
39883 #: ../src/guestfs.pod:2356
39884 msgid ""
39885 "Finally, the child process sends asynchronous messages back to the main "
39886 "program, such as kernel log messages.  You can register a callback to "
39887 "receive these messages."
39888 msgstr ""
39889
39890 #. type: =head1
39891 #: ../src/guestfs.pod:2360
39892 msgid "INTERNALS"
39893 msgstr ""
39894
39895 #. type: =head2
39896 #: ../src/guestfs.pod:2362
39897 msgid "APPLIANCE BOOT PROCESS"
39898 msgstr ""
39899
39900 #. type: textblock
39901 #: ../src/guestfs.pod:2364
39902 msgid ""
39903 "This process has evolved and continues to evolve.  The description here "
39904 "corresponds only to the current version of libguestfs and is provided for "
39905 "information only."
39906 msgstr ""
39907
39908 #. type: textblock
39909 #: ../src/guestfs.pod:2368
39910 msgid ""
39911 "In order to follow the stages involved below, enable libguestfs debugging "
39912 "(set the environment variable C<LIBGUESTFS_DEBUG=1>)."
39913 msgstr ""
39914
39915 #. type: =item
39916 #: ../src/guestfs.pod:2373
39917 msgid "Create the appliance"
39918 msgstr ""
39919
39920 #. type: textblock
39921 #: ../src/guestfs.pod:2375
39922 msgid ""
39923 "C<febootstrap-supermin-helper> is invoked to create the kernel, a small "
39924 "initrd and the appliance."
39925 msgstr ""
39926
39927 #. type: textblock
39928 #: ../src/guestfs.pod:2378
39929 msgid ""
39930 "The appliance is cached in C</var/tmp/.guestfs-E<lt>UIDE<gt>> (or in another"
39931 " directory if C<TMPDIR> is set)."
39932 msgstr ""
39933
39934 #. type: textblock
39935 #: ../src/guestfs.pod:2381
39936 msgid ""
39937 "For a complete description of how the appliance is created and cached, read "
39938 "the L<febootstrap(8)> and L<febootstrap-supermin-helper(8)> man pages."
39939 msgstr ""
39940
39941 #. type: =item
39942 #: ../src/guestfs.pod:2385
39943 msgid "Start qemu and boot the kernel"
39944 msgstr ""
39945
39946 #. type: textblock
39947 #: ../src/guestfs.pod:2387
39948 msgid "qemu is invoked to boot the kernel."
39949 msgstr ""
39950
39951 #. type: =item
39952 #: ../src/guestfs.pod:2389
39953 msgid "Run the initrd"
39954 msgstr ""
39955
39956 #. type: textblock
39957 #: ../src/guestfs.pod:2391
39958 msgid ""
39959 "C<febootstrap-supermin-helper> builds a small initrd.  The initrd is not the"
39960 " appliance.  The purpose of the initrd is to load enough kernel modules in "
39961 "order that the appliance itself can be mounted and started."
39962 msgstr ""
39963
39964 #. type: textblock
39965 #: ../src/guestfs.pod:2395
39966 msgid ""
39967 "The initrd is a cpio archive called "
39968 "C</var/tmp/.guestfs-E<lt>UIDE<gt>/initrd>."
39969 msgstr ""
39970
39971 #. type: textblock
39972 #: ../src/guestfs.pod:2398
39973 msgid ""
39974 "When the initrd has started you will see messages showing that kernel "
39975 "modules are being loaded, similar to this:"
39976 msgstr ""
39977
39978 #. type: verbatim
39979 #: ../src/guestfs.pod:2401
39980 #, no-wrap
39981 msgid ""
39982 " febootstrap: ext2 mini initrd starting up\n"
39983 " febootstrap: mounting /sys\n"
39984 " febootstrap: internal insmod libcrc32c.ko\n"
39985 " febootstrap: internal insmod crc32c-intel.ko\n"
39986 "\n"
39987 msgstr ""
39988
39989 #. type: =item
39990 #: ../src/guestfs.pod:2406
39991 msgid "Find and mount the appliance device"
39992 msgstr ""
39993
39994 #. type: textblock
39995 #: ../src/guestfs.pod:2408
39996 msgid ""
39997 "The appliance is a sparse file containing an ext2 filesystem which contains "
39998 "a familiar (although reduced in size) Linux operating system.  It would "
39999 "normally be called C</var/tmp/.guestfs-E<lt>UIDE<gt>/root>."
40000 msgstr ""
40001
40002 #. type: textblock
40003 #: ../src/guestfs.pod:2412
40004 msgid ""
40005 "The regular disks being inspected by libguestfs are the first devices "
40006 "exposed by qemu (eg. as C</dev/vda>)."
40007 msgstr ""
40008
40009 #. type: textblock
40010 #: ../src/guestfs.pod:2415
40011 msgid ""
40012 "The last disk added to qemu is the appliance itself (eg. C</dev/vdb> if "
40013 "there was only one regular disk)."
40014 msgstr ""
40015
40016 #. type: textblock
40017 #: ../src/guestfs.pod:2418
40018 msgid ""
40019 "Thus the final job of the initrd is to locate the appliance disk, mount it, "
40020 "and switch root into the appliance, and run C</init> from the appliance."
40021 msgstr ""
40022
40023 #. type: textblock
40024 #: ../src/guestfs.pod:2422
40025 msgid "If this works successfully you will see messages such as:"
40026 msgstr ""
40027
40028 #. type: verbatim
40029 #: ../src/guestfs.pod:2424
40030 #, no-wrap
40031 msgid ""
40032 " febootstrap: picked /sys/block/vdb/dev as root device\n"
40033 " febootstrap: creating /dev/root as block special 252:16\n"
40034 " febootstrap: mounting new root on /root\n"
40035 " febootstrap: chroot\n"
40036 " Starting /init script ...\n"
40037 "\n"
40038 msgstr ""
40039
40040 #. type: textblock
40041 #: ../src/guestfs.pod:2430
40042 msgid ""
40043 "Note that C<Starting /init script ...> indicates that the appliance's init "
40044 "script is now running."
40045 msgstr ""
40046
40047 #. type: =item
40048 #: ../src/guestfs.pod:2433
40049 msgid "Initialize the appliance"
40050 msgstr ""
40051
40052 #. type: textblock
40053 #: ../src/guestfs.pod:2435
40054 msgid ""
40055 "The appliance itself now initializes itself.  This involves starting certain"
40056 " processes like C<udev>, possibly printing some debug information, and "
40057 "finally running the daemon (C<guestfsd>)."
40058 msgstr ""
40059
40060 #. type: =item
40061 #: ../src/guestfs.pod:2439
40062 msgid "The daemon"
40063 msgstr ""
40064
40065 #. type: textblock
40066 #: ../src/guestfs.pod:2441
40067 msgid ""
40068 "Finally the daemon (C<guestfsd>) runs inside the appliance.  If it runs you "
40069 "should see:"
40070 msgstr ""
40071
40072 #. type: verbatim
40073 #: ../src/guestfs.pod:2444
40074 #, no-wrap
40075 msgid ""
40076 " verbose daemon enabled\n"
40077 "\n"
40078 msgstr ""
40079
40080 #. type: textblock
40081 #: ../src/guestfs.pod:2446
40082 msgid ""
40083 "The daemon expects to see a named virtio-serial port exposed by qemu and "
40084 "connected on the other end to the library."
40085 msgstr ""
40086
40087 #. type: textblock
40088 #: ../src/guestfs.pod:2449
40089 msgid ""
40090 "The daemon connects to this port (and hence to the library) and sends a four"
40091 " byte message C<GUESTFS_LAUNCH_FLAG>, which initiates the communication "
40092 "protocol (see below)."
40093 msgstr ""
40094
40095 #. type: =head2
40096 #: ../src/guestfs.pod:2455
40097 msgid "COMMUNICATION PROTOCOL"
40098 msgstr ""
40099
40100 #. type: textblock
40101 #: ../src/guestfs.pod:2457
40102 msgid ""
40103 "Don't rely on using this protocol directly.  This section documents how it "
40104 "currently works, but it may change at any time."
40105 msgstr ""
40106
40107 #. type: textblock
40108 #: ../src/guestfs.pod:2460
40109 msgid ""
40110 "The protocol used to talk between the library and the daemon running inside "
40111 "the qemu virtual machine is a simple RPC mechanism built on top of XDR (RFC "
40112 "1014, RFC 1832, RFC 4506)."
40113 msgstr ""
40114
40115 #. type: textblock
40116 #: ../src/guestfs.pod:2464
40117 msgid ""
40118 "The detailed format of structures is in C<src/guestfs_protocol.x> (note: "
40119 "this file is automatically generated)."
40120 msgstr ""
40121
40122 #. type: textblock
40123 #: ../src/guestfs.pod:2467
40124 msgid ""
40125 "There are two broad cases, ordinary functions that don't have any C<FileIn> "
40126 "and C<FileOut> parameters, which are handled with very simple request/reply "
40127 "messages.  Then there are functions that have any C<FileIn> or C<FileOut> "
40128 "parameters, which use the same request and reply messages, but they may also"
40129 " be followed by files sent using a chunked encoding."
40130 msgstr ""
40131
40132 #. type: =head3
40133 #: ../src/guestfs.pod:2474
40134 msgid "ORDINARY FUNCTIONS (NO FILEIN/FILEOUT PARAMS)"
40135 msgstr ""
40136
40137 #. type: textblock
40138 #: ../src/guestfs.pod:2476
40139 msgid "For ordinary functions, the request message is:"
40140 msgstr ""
40141
40142 #. type: verbatim
40143 #: ../src/guestfs.pod:2478
40144 #, no-wrap
40145 msgid ""
40146 " total length (header + arguments,\n"
40147 "      but not including the length word itself)\n"
40148 " struct guestfs_message_header (encoded as XDR)\n"
40149 " struct guestfs_<foo>_args (encoded as XDR)\n"
40150 "\n"
40151 msgstr ""
40152
40153 #. type: textblock
40154 #: ../src/guestfs.pod:2483
40155 msgid ""
40156 "The total length field allows the daemon to allocate a fixed size buffer "
40157 "into which it slurps the rest of the message.  As a result, the total length"
40158 " is limited to C<GUESTFS_MESSAGE_MAX> bytes (currently 4MB), which means the"
40159 " effective size of any request is limited to somewhere under this size."
40160 msgstr ""
40161
40162 #. type: textblock
40163 #: ../src/guestfs.pod:2489
40164 msgid ""
40165 "Note also that many functions don't take any arguments, in which case the "
40166 "C<guestfs_I<foo>_args> is completely omitted."
40167 msgstr ""
40168
40169 #. type: textblock
40170 #: ../src/guestfs.pod:2492
40171 msgid ""
40172 "The header contains the procedure number (C<guestfs_proc>) which is how the "
40173 "receiver knows what type of args structure to expect, or none at all."
40174 msgstr ""
40175
40176 #. type: textblock
40177 #: ../src/guestfs.pod:2496
40178 msgid ""
40179 "For functions that take optional arguments, the optional arguments are "
40180 "encoded in the C<guestfs_I<foo>_args> structure in the same way as ordinary "
40181 "arguments.  A bitmask in the header indicates which optional arguments are "
40182 "meaningful.  The bitmask is also checked to see if it contains bits set "
40183 "which the daemon does not know about (eg. if more optional arguments were "
40184 "added in a later version of the library), and this causes the call to be "
40185 "rejected."
40186 msgstr ""
40187
40188 #. type: textblock
40189 #: ../src/guestfs.pod:2504
40190 msgid "The reply message for ordinary functions is:"
40191 msgstr ""
40192
40193 #. type: verbatim
40194 #: ../src/guestfs.pod:2506
40195 #, no-wrap
40196 msgid ""
40197 " total length (header + ret,\n"
40198 "      but not including the length word itself)\n"
40199 " struct guestfs_message_header (encoded as XDR)\n"
40200 " struct guestfs_<foo>_ret (encoded as XDR)\n"
40201 "\n"
40202 msgstr ""
40203
40204 #. type: textblock
40205 #: ../src/guestfs.pod:2511
40206 msgid ""
40207 "As above the C<guestfs_I<foo>_ret> structure may be completely omitted for "
40208 "functions that return no formal return values."
40209 msgstr ""
40210
40211 #. type: textblock
40212 #: ../src/guestfs.pod:2514
40213 msgid ""
40214 "As above the total length of the reply is limited to C<GUESTFS_MESSAGE_MAX>."
40215 msgstr ""
40216
40217 #. type: textblock
40218 #: ../src/guestfs.pod:2517
40219 msgid ""
40220 "In the case of an error, a flag is set in the header, and the reply message "
40221 "is slightly changed:"
40222 msgstr ""
40223
40224 #. type: verbatim
40225 #: ../src/guestfs.pod:2520
40226 #, no-wrap
40227 msgid ""
40228 " total length (header + error,\n"
40229 "      but not including the length word itself)\n"
40230 " struct guestfs_message_header (encoded as XDR)\n"
40231 " struct guestfs_message_error (encoded as XDR)\n"
40232 "\n"
40233 msgstr ""
40234
40235 #. type: textblock
40236 #: ../src/guestfs.pod:2525
40237 msgid ""
40238 "The C<guestfs_message_error> structure contains the error message as a "
40239 "string."
40240 msgstr ""
40241
40242 #. type: =head3
40243 #: ../src/guestfs.pod:2528
40244 msgid "FUNCTIONS THAT HAVE FILEIN PARAMETERS"
40245 msgstr ""
40246
40247 #. type: textblock
40248 #: ../src/guestfs.pod:2530
40249 msgid ""
40250 "A C<FileIn> parameter indicates that we transfer a file I<into> the guest.  "
40251 "The normal request message is sent (see above).  However this is followed by"
40252 " a sequence of file chunks."
40253 msgstr ""
40254
40255 #. type: verbatim
40256 #: ../src/guestfs.pod:2534
40257 #, no-wrap
40258 msgid ""
40259 " total length (header + arguments,\n"
40260 "      but not including the length word itself,\n"
40261 "      and not including the chunks)\n"
40262 " struct guestfs_message_header (encoded as XDR)\n"
40263 " struct guestfs_<foo>_args (encoded as XDR)\n"
40264 " sequence of chunks for FileIn param #0\n"
40265 " sequence of chunks for FileIn param #1 etc.\n"
40266 "\n"
40267 msgstr ""
40268
40269 #. type: textblock
40270 #: ../src/guestfs.pod:2542
40271 msgid "The \"sequence of chunks\" is:"
40272 msgstr ""
40273
40274 #. type: verbatim
40275 #: ../src/guestfs.pod:2544
40276 #, no-wrap
40277 msgid ""
40278 " length of chunk (not including length word itself)\n"
40279 " struct guestfs_chunk (encoded as XDR)\n"
40280 " length of chunk\n"
40281 " struct guestfs_chunk (encoded as XDR)\n"
40282 "   ...\n"
40283 " length of chunk\n"
40284 " struct guestfs_chunk (with data.data_len == 0)\n"
40285 "\n"
40286 msgstr ""
40287
40288 #. type: textblock
40289 #: ../src/guestfs.pod:2552
40290 msgid ""
40291 "The final chunk has the C<data_len> field set to zero.  Additionally a flag "
40292 "is set in the final chunk to indicate either successful completion or early "
40293 "cancellation."
40294 msgstr ""
40295
40296 #. type: textblock
40297 #: ../src/guestfs.pod:2556
40298 msgid ""
40299 "At time of writing there are no functions that have more than one FileIn "
40300 "parameter.  However this is (theoretically) supported, by sending the "
40301 "sequence of chunks for each FileIn parameter one after another (from left to"
40302 " right)."
40303 msgstr ""
40304
40305 #. type: textblock
40306 #: ../src/guestfs.pod:2561
40307 msgid ""
40308 "Both the library (sender) I<and> the daemon (receiver) may cancel the "
40309 "transfer.  The library does this by sending a chunk with a special flag set "
40310 "to indicate cancellation.  When the daemon sees this, it cancels the whole "
40311 "RPC, does I<not> send any reply, and goes back to reading the next request."
40312 msgstr ""
40313
40314 #. type: textblock
40315 #: ../src/guestfs.pod:2567
40316 msgid ""
40317 "The daemon may also cancel.  It does this by writing a special word "
40318 "C<GUESTFS_CANCEL_FLAG> to the socket.  The library listens for this during "
40319 "the transfer, and if it gets it, it will cancel the transfer (it sends a "
40320 "cancel chunk).  The special word is chosen so that even if cancellation "
40321 "happens right at the end of the transfer (after the library has finished "
40322 "writing and has started listening for the reply), the \"spurious\" cancel "
40323 "flag will not be confused with the reply message."
40324 msgstr ""
40325
40326 #. type: textblock
40327 #: ../src/guestfs.pod:2576
40328 msgid ""
40329 "This protocol allows the transfer of arbitrary sized files (no 32 bit "
40330 "limit), and also files where the size is not known in advance (eg. from "
40331 "pipes or sockets).  However the chunks are rather small "
40332 "(C<GUESTFS_MAX_CHUNK_SIZE>), so that neither the library nor the daemon need"
40333 " to keep much in memory."
40334 msgstr ""
40335
40336 #. type: =head3
40337 #: ../src/guestfs.pod:2582
40338 msgid "FUNCTIONS THAT HAVE FILEOUT PARAMETERS"
40339 msgstr ""
40340
40341 #. type: textblock
40342 #: ../src/guestfs.pod:2584
40343 msgid ""
40344 "The protocol for FileOut parameters is exactly the same as for FileIn "
40345 "parameters, but with the roles of daemon and library reversed."
40346 msgstr ""
40347
40348 #. type: verbatim
40349 #: ../src/guestfs.pod:2587
40350 #, no-wrap
40351 msgid ""
40352 " total length (header + ret,\n"
40353 "      but not including the length word itself,\n"
40354 "      and not including the chunks)\n"
40355 " struct guestfs_message_header (encoded as XDR)\n"
40356 " struct guestfs_<foo>_ret (encoded as XDR)\n"
40357 " sequence of chunks for FileOut param #0\n"
40358 " sequence of chunks for FileOut param #1 etc.\n"
40359 "\n"
40360 msgstr ""
40361
40362 #. type: =head3
40363 #: ../src/guestfs.pod:2595
40364 msgid "INITIAL MESSAGE"
40365 msgstr ""
40366
40367 #. type: textblock
40368 #: ../src/guestfs.pod:2597
40369 msgid ""
40370 "When the daemon launches it sends an initial word (C<GUESTFS_LAUNCH_FLAG>) "
40371 "which indicates that the guest and daemon is alive.  This is what "
40372 "L</guestfs_launch> waits for."
40373 msgstr ""
40374
40375 #. type: =head3
40376 #: ../src/guestfs.pod:2601
40377 msgid "PROGRESS NOTIFICATION MESSAGES"
40378 msgstr ""
40379
40380 #. type: textblock
40381 #: ../src/guestfs.pod:2603
40382 msgid ""
40383 "The daemon may send progress notification messages at any time.  These are "
40384 "distinguished by the normal length word being replaced by "
40385 "C<GUESTFS_PROGRESS_FLAG>, followed by a fixed size progress message."
40386 msgstr ""
40387
40388 #. type: textblock
40389 #: ../src/guestfs.pod:2607
40390 msgid ""
40391 "The library turns them into progress callbacks (see "
40392 "L</GUESTFS_EVENT_PROGRESS>) if there is a callback registered, or discards "
40393 "them if not."
40394 msgstr ""
40395
40396 #. type: textblock
40397 #: ../src/guestfs.pod:2611
40398 msgid ""
40399 "The daemon self-limits the frequency of progress messages it sends (see "
40400 "C<daemon/proto.c:notify_progress>).  Not all calls generate progress "
40401 "messages."
40402 msgstr ""
40403
40404 #. type: =head1
40405 #: ../src/guestfs.pod:2615
40406 msgid "LIBGUESTFS VERSION NUMBERS"
40407 msgstr ""
40408
40409 #. type: textblock
40410 #: ../src/guestfs.pod:2617
40411 msgid ""
40412 "Since April 2010, libguestfs has started to make separate development and "
40413 "stable releases, along with corresponding branches in our git repository.  "
40414 "These separate releases can be identified by version number:"
40415 msgstr ""
40416
40417 #. type: verbatim
40418 #: ../src/guestfs.pod:2622
40419 #, no-wrap
40420 msgid ""
40421 "                 even numbers for stable: 1.2.x, 1.4.x, ...\n"
40422 "       .-------- odd numbers for development: 1.3.x, 1.5.x, ...\n"
40423 "       |\n"
40424 "       v\n"
40425 " 1  .  3  .  5\n"
40426 " ^           ^\n"
40427 " |           |\n"
40428 " |           `-------- sub-version\n"
40429 " |\n"
40430 " `------ always '1' because we don't change the ABI\n"
40431 "\n"
40432 msgstr ""
40433
40434 #. type: textblock
40435 #: ../src/guestfs.pod:2633
40436 msgid "Thus \"1.3.5\" is the 5th update to the development branch \"1.3\"."
40437 msgstr ""
40438
40439 #. type: textblock
40440 #: ../src/guestfs.pod:2635
40441 msgid ""
40442 "As time passes we cherry pick fixes from the development branch and backport"
40443 " those into the stable branch, the effect being that the stable branch "
40444 "should get more stable and less buggy over time.  So the stable releases are"
40445 " ideal for people who don't need new features but would just like the "
40446 "software to work."
40447 msgstr ""
40448
40449 #. type: textblock
40450 #: ../src/guestfs.pod:2641
40451 msgid "Our criteria for backporting changes are:"
40452 msgstr ""
40453
40454 #. type: textblock
40455 #: ../src/guestfs.pod:2647
40456 msgid ""
40457 "Documentation changes which don't affect any code are backported unless the "
40458 "documentation refers to a future feature which is not in stable."
40459 msgstr ""
40460
40461 #. type: textblock
40462 #: ../src/guestfs.pod:2653
40463 msgid ""
40464 "Bug fixes which are not controversial, fix obvious problems, and have been "
40465 "well tested are backported."
40466 msgstr ""
40467
40468 #. type: textblock
40469 #: ../src/guestfs.pod:2658
40470 msgid ""
40471 "Simple rearrangements of code which shouldn't affect how it works get "
40472 "backported.  This is so that the code in the two branches doesn't get too "
40473 "far out of step, allowing us to backport future fixes more easily."
40474 msgstr ""
40475
40476 #. type: textblock
40477 #: ../src/guestfs.pod:2664
40478 msgid ""
40479 "We I<don't> backport new features, new APIs, new tools etc, except in one "
40480 "exceptional case: the new feature is required in order to implement an "
40481 "important bug fix."
40482 msgstr ""
40483
40484 #. type: textblock
40485 #: ../src/guestfs.pod:2670
40486 msgid ""
40487 "A new stable branch starts when we think the new features in development are"
40488 " substantial and compelling enough over the current stable branch to warrant"
40489 " it.  When that happens we create new stable and development versions 1.N.0 "
40490 "and 1.(N+1).0 [N is even].  The new dot-oh release won't necessarily be so "
40491 "stable at this point, but by backporting fixes from development, that branch"
40492 " will stabilize over time."
40493 msgstr ""
40494
40495 #. type: =head1
40496 #: ../src/guestfs.pod:2678
40497 msgid "EXTENDING LIBGUESTFS"
40498 msgstr ""
40499
40500 #. type: =head2
40501 #: ../src/guestfs.pod:2680
40502 msgid "ADDING A NEW API ACTION"
40503 msgstr ""
40504
40505 #. type: textblock
40506 #: ../src/guestfs.pod:2682
40507 msgid ""
40508 "Large amounts of boilerplate code in libguestfs (RPC, bindings, "
40509 "documentation) are generated, and this makes it easy to extend the "
40510 "libguestfs API."
40511 msgstr ""
40512
40513 #. type: textblock
40514 #: ../src/guestfs.pod:2686
40515 msgid "To add a new API action there are two changes:"
40516 msgstr ""
40517
40518 #. type: textblock
40519 #: ../src/guestfs.pod:2692
40520 msgid ""
40521 "You need to add a description of the call (name, parameters, return type, "
40522 "tests, documentation) to C<generator/generator_actions.ml>."
40523 msgstr ""
40524
40525 #. type: textblock
40526 #: ../src/guestfs.pod:2695
40527 msgid ""
40528 "There are two sorts of API action, depending on whether the call goes "
40529 "through to the daemon in the appliance, or is serviced entirely by the "
40530 "library (see L</ARCHITECTURE> above).  L</guestfs_sync> is an example of the"
40531 " former, since the sync is done in the appliance.  L</guestfs_set_trace> is "
40532 "an example of the latter, since a trace flag is maintained in the handle and"
40533 " all tracing is done on the library side."
40534 msgstr ""
40535
40536 #. type: textblock
40537 #: ../src/guestfs.pod:2703
40538 msgid ""
40539 "Most new actions are of the first type, and get added to the "
40540 "C<daemon_functions> list.  Each function has a unique procedure number used "
40541 "in the RPC protocol which is assigned to that action when we publish "
40542 "libguestfs and cannot be reused.  Take the latest procedure number and "
40543 "increment it."
40544 msgstr ""
40545
40546 #. type: textblock
40547 #: ../src/guestfs.pod:2709
40548 msgid ""
40549 "For library-only actions of the second type, add to the "
40550 "C<non_daemon_functions> list.  Since these functions are serviced by the "
40551 "library and do not travel over the RPC mechanism to the daemon, these "
40552 "functions do not need a procedure number, and so the procedure number is set"
40553 " to C<-1>."
40554 msgstr ""
40555
40556 #. type: textblock
40557 #: ../src/guestfs.pod:2717
40558 msgid "Implement the action (in C):"
40559 msgstr ""
40560
40561 #. type: textblock
40562 #: ../src/guestfs.pod:2719
40563 msgid ""
40564 "For daemon actions, implement the function C<do_E<lt>nameE<gt>> in the "
40565 "C<daemon/> directory."
40566 msgstr ""
40567
40568 #. type: textblock
40569 #: ../src/guestfs.pod:2722
40570 msgid ""
40571 "For library actions, implement the function C<guestfs__E<lt>nameE<gt>> "
40572 "(note: double underscore) in the C<src/> directory."
40573 msgstr ""
40574
40575 #. type: textblock
40576 #: ../src/guestfs.pod:2725
40577 msgid "In either case, use another function as an example of what to do."
40578 msgstr ""
40579
40580 #. type: textblock
40581 #: ../src/guestfs.pod:2729
40582 msgid "After making these changes, use C<make> to compile."
40583 msgstr ""
40584
40585 #. type: textblock
40586 #: ../src/guestfs.pod:2731
40587 msgid ""
40588 "Note that you don't need to implement the RPC, language bindings, manual "
40589 "pages or anything else.  It's all automatically generated from the OCaml "
40590 "description."
40591 msgstr ""
40592
40593 #. type: =head2
40594 #: ../src/guestfs.pod:2735
40595 msgid "ADDING TESTS FOR AN API ACTION"
40596 msgstr ""
40597
40598 #. type: textblock
40599 #: ../src/guestfs.pod:2737
40600 msgid ""
40601 "You can supply zero or as many tests as you want per API call.  The tests "
40602 "can either be added as part of the API description "
40603 "(C<generator/generator_actions.ml>), or in some rarer cases you may want to "
40604 "drop a script into C<regressions/>.  Note that adding a script to "
40605 "C<regressions/> is slower, so if possible use the first method."
40606 msgstr ""
40607
40608 #. type: textblock
40609 #: ../src/guestfs.pod:2743
40610 msgid ""
40611 "The following describes the test environment used when you add an API test "
40612 "in C<generator_actions.ml>."
40613 msgstr ""
40614
40615 #. type: textblock
40616 #: ../src/guestfs.pod:2746
40617 msgid "The test environment has 4 block devices:"
40618 msgstr ""
40619
40620 #. type: =item
40621 #: ../src/guestfs.pod:2750
40622 msgid "C</dev/sda> 500MB"
40623 msgstr "C</dev/sda> 500 МБ"
40624
40625 #. type: textblock
40626 #: ../src/guestfs.pod:2752
40627 msgid "General block device for testing."
40628 msgstr ""
40629
40630 #. type: =item
40631 #: ../src/guestfs.pod:2754
40632 msgid "C</dev/sdb> 50MB"
40633 msgstr "C</dev/sdb> 50 МБ"
40634
40635 #. type: textblock
40636 #: ../src/guestfs.pod:2756
40637 msgid ""
40638 "C</dev/sdb1> is an ext2 filesystem used for testing filesystem write "
40639 "operations."
40640 msgstr ""
40641
40642 #. type: =item
40643 #: ../src/guestfs.pod:2759
40644 msgid "C</dev/sdc> 10MB"
40645 msgstr "C</dev/sdc> 10 МБ"
40646
40647 #. type: textblock
40648 #: ../src/guestfs.pod:2761
40649 msgid "Used in a few tests where two block devices are needed."
40650 msgstr ""
40651
40652 #. type: =item
40653 #: ../src/guestfs.pod:2763
40654 msgid "C</dev/sdd>"
40655 msgstr "C</dev/sdd>"
40656
40657 #. type: textblock
40658 #: ../src/guestfs.pod:2765
40659 msgid "ISO with fixed content (see C<images/test.iso>)."
40660 msgstr ""
40661
40662 #. type: textblock
40663 #: ../src/guestfs.pod:2769
40664 msgid ""
40665 "To be able to run the tests in a reasonable amount of time, the libguestfs "
40666 "appliance and block devices are reused between tests.  So don't try testing "
40667 "L</guestfs_kill_subprocess> :-x"
40668 msgstr ""
40669
40670 #. type: textblock
40671 #: ../src/guestfs.pod:2773
40672 msgid ""
40673 "Each test starts with an initial scenario, selected using one of the "
40674 "C<Init*> expressions, described in C<generator/generator_types.ml>.  These "
40675 "initialize the disks mentioned above in a particular way as documented in "
40676 "C<generator_types.ml>.  You should not assume anything about the previous "
40677 "contents of other disks that are not initialized."
40678 msgstr ""
40679
40680 #. type: textblock
40681 #: ../src/guestfs.pod:2779
40682 msgid ""
40683 "You can add a prerequisite clause to any individual test.  This is a run-"
40684 "time check, which, if it fails, causes the test to be skipped.  Useful if "
40685 "testing a command which might not work on all variations of libguestfs "
40686 "builds.  A test that has prerequisite of C<Always> means to run "
40687 "unconditionally."
40688 msgstr ""
40689
40690 #. type: textblock
40691 #: ../src/guestfs.pod:2785
40692 msgid ""
40693 "In addition, packagers can skip individual tests by setting environment "
40694 "variables before running C<make check>."
40695 msgstr ""
40696
40697 #. type: verbatim
40698 #: ../src/guestfs.pod:2788
40699 #, no-wrap
40700 msgid ""
40701 " SKIP_TEST_<CMD>_<NUM>=1\n"
40702 "\n"
40703 msgstr ""
40704
40705 #. type: textblock
40706 #: ../src/guestfs.pod:2790
40707 msgid "eg: C<SKIP_TEST_COMMAND_3=1> skips test #3 of L</guestfs_command>."
40708 msgstr ""
40709
40710 #. type: textblock
40711 #: ../src/guestfs.pod:2792
40712 msgid "or:"
40713 msgstr "або:"
40714
40715 #. type: verbatim
40716 #: ../src/guestfs.pod:2794
40717 #, no-wrap
40718 msgid ""
40719 " SKIP_TEST_<CMD>=1\n"
40720 "\n"
40721 msgstr ""
40722
40723 #. type: textblock
40724 #: ../src/guestfs.pod:2796
40725 msgid "eg: C<SKIP_TEST_ZEROFREE=1> skips all L</guestfs_zerofree> tests."
40726 msgstr ""
40727
40728 #. type: textblock
40729 #: ../src/guestfs.pod:2798
40730 msgid "Packagers can run only certain tests by setting for example:"
40731 msgstr ""
40732
40733 #. type: verbatim
40734 #: ../src/guestfs.pod:2800
40735 #, no-wrap
40736 msgid ""
40737 " TEST_ONLY=\"vfs_type zerofree\"\n"
40738 "\n"
40739 msgstr ""
40740
40741 #. type: textblock
40742 #: ../src/guestfs.pod:2802
40743 msgid ""
40744 "See C<capitests/tests.c> for more details of how these environment variables"
40745 " work."
40746 msgstr ""
40747
40748 #. type: =head2
40749 #: ../src/guestfs.pod:2805
40750 msgid "DEBUGGING NEW API ACTIONS"
40751 msgstr ""
40752
40753 #. type: textblock
40754 #: ../src/guestfs.pod:2807
40755 msgid "Test new actions work before submitting them."
40756 msgstr ""
40757
40758 #. type: textblock
40759 #: ../src/guestfs.pod:2809
40760 msgid "You can use guestfish to try out new commands."
40761 msgstr ""
40762
40763 #. type: textblock
40764 #: ../src/guestfs.pod:2811
40765 msgid ""
40766 "Debugging the daemon is a problem because it runs inside a minimal "
40767 "environment.  However you can fprintf messages in the daemon to stderr, and "
40768 "they will show up if you use C<guestfish -v>."
40769 msgstr ""
40770
40771 #. type: =head2
40772 #: ../src/guestfs.pod:2815
40773 msgid "FORMATTING CODE AND OTHER CONVENTIONS"
40774 msgstr ""
40775
40776 #. type: textblock
40777 #: ../src/guestfs.pod:2817
40778 msgid ""
40779 "Our C source code generally adheres to some basic code-formatting "
40780 "conventions.  The existing code base is not totally consistent on this "
40781 "front, but we do prefer that contributed code be formatted similarly.  In "
40782 "short, use spaces-not-TABs for indentation, use 2 spaces for each "
40783 "indentation level, and other than that, follow the K&R style."
40784 msgstr ""
40785
40786 #. type: textblock
40787 #: ../src/guestfs.pod:2823
40788 msgid ""
40789 "If you use Emacs, add the following to one of one of your start-up files "
40790 "(e.g., ~/.emacs), to help ensure that you get indentation right:"
40791 msgstr ""
40792
40793 #. type: verbatim
40794 #: ../src/guestfs.pod:2826
40795 #, no-wrap
40796 msgid ""
40797 " ;;; In libguestfs, indent with spaces everywhere (not TABs).\n"
40798 " ;;; Exceptions: Makefile and ChangeLog modes.\n"
40799 " (add-hook 'find-file-hook\n"
40800 "     '(lambda () (if (and buffer-file-name\n"
40801 "                          (string-match \"/libguestfs\\\\>\"\n"
40802 "                              (buffer-file-name))\n"
40803 "                          (not (string-equal mode-name \"Change Log\"))\n"
40804 "                          (not (string-equal mode-name \"Makefile\")))\n"
40805 "                     (setq indent-tabs-mode nil))))\n"
40806 " \n"
40807 msgstr ""
40808
40809 #. type: verbatim
40810 #: ../src/guestfs.pod:2836
40811 #, no-wrap
40812 msgid ""
40813 " ;;; When editing C sources in libguestfs, use this style.\n"
40814 " (defun libguestfs-c-mode ()\n"
40815 "   \"C mode with adjusted defaults for use with libguestfs.\"\n"
40816 "   (interactive)\n"
40817 "   (c-set-style \"K&R\")\n"
40818 "   (setq c-indent-level 2)\n"
40819 "   (setq c-basic-offset 2))\n"
40820 " (add-hook 'c-mode-hook\n"
40821 "           '(lambda () (if (string-match \"/libguestfs\\\\>\"\n"
40822 "                               (buffer-file-name))\n"
40823 "                           (libguestfs-c-mode))))\n"
40824 "\n"
40825 msgstr ""
40826
40827 #. type: textblock
40828 #: ../src/guestfs.pod:2848
40829 msgid "Enable warnings when compiling (and fix any problems this finds):"
40830 msgstr ""
40831
40832 #. type: verbatim
40833 #: ../src/guestfs.pod:2851
40834 #, no-wrap
40835 msgid ""
40836 " ./configure --enable-gcc-warnings\n"
40837 "\n"
40838 msgstr ""
40839 " ./configure --enable-gcc-warnings\n"
40840 "\n"
40841
40842 #. type: textblock
40843 #: ../src/guestfs.pod:2853
40844 msgid "Useful targets are:"
40845 msgstr ""
40846
40847 #. type: verbatim
40848 #: ../src/guestfs.pod:2855
40849 #, no-wrap
40850 msgid ""
40851 " make syntax-check  # checks the syntax of the C code\n"
40852 " make check         # runs the test suite\n"
40853 "\n"
40854 msgstr ""
40855
40856 #. type: =head2
40857 #: ../src/guestfs.pod:2858
40858 msgid "DAEMON CUSTOM PRINTF FORMATTERS"
40859 msgstr ""
40860
40861 #. type: textblock
40862 #: ../src/guestfs.pod:2860
40863 msgid ""
40864 "In the daemon code we have created custom printf formatters C<%Q> and C<%R>,"
40865 " which are used to do shell quoting."
40866 msgstr ""
40867
40868 #. type: =item
40869 #: ../src/guestfs.pod:2865
40870 msgid "%Q"
40871 msgstr "%Q"
40872
40873 #. type: textblock
40874 #: ../src/guestfs.pod:2867
40875 msgid ""
40876 "Simple shell quoted string.  Any spaces or other shell characters are "
40877 "escaped for you."
40878 msgstr ""
40879
40880 #. type: =item
40881 #: ../src/guestfs.pod:2870
40882 msgid "%R"
40883 msgstr "%R"
40884
40885 #. type: textblock
40886 #: ../src/guestfs.pod:2872
40887 msgid ""
40888 "Same as C<%Q> except the string is treated as a path which is prefixed by "
40889 "the sysroot."
40890 msgstr ""
40891
40892 #. type: verbatim
40893 #: ../src/guestfs.pod:2879
40894 #, no-wrap
40895 msgid ""
40896 " asprintf (&cmd, \"cat %R\", path);\n"
40897 "\n"
40898 msgstr ""
40899 " asprintf (&cmd, \"cat %R\", path);\n"
40900 "\n"
40901
40902 #. type: textblock
40903 #: ../src/guestfs.pod:2881
40904 msgid "would produce C<cat /sysroot/some\\ path\\ with\\ spaces>"
40905 msgstr ""
40906
40907 #. type: textblock
40908 #: ../src/guestfs.pod:2883
40909 msgid ""
40910 "I<Note:> Do I<not> use these when you are passing parameters to the "
40911 "C<command{,r,v,rv}()> functions.  These parameters do NOT need to be quoted "
40912 "because they are not passed via the shell (instead, straight to exec).  You "
40913 "probably want to use the C<sysroot_path()> function however."
40914 msgstr ""
40915
40916 #. type: =head2
40917 #: ../src/guestfs.pod:2889
40918 msgid "SUBMITTING YOUR NEW API ACTIONS"
40919 msgstr ""
40920
40921 #. type: textblock
40922 #: ../src/guestfs.pod:2891
40923 msgid ""
40924 "Submit patches to the mailing list: "
40925 "L<http://www.redhat.com/mailman/listinfo/libguestfs> and CC to "
40926 "L<rjones@redhat.com>."
40927 msgstr ""
40928
40929 #. type: =head2
40930 #: ../src/guestfs.pod:2895
40931 msgid "INTERNATIONALIZATION (I18N) SUPPORT"
40932 msgstr ""
40933
40934 #. type: textblock
40935 #: ../src/guestfs.pod:2897
40936 msgid "We support i18n (gettext anyhow) in the library."
40937 msgstr ""
40938
40939 #. type: textblock
40940 #: ../src/guestfs.pod:2899
40941 msgid ""
40942 "However many messages come from the daemon, and we don't translate those at "
40943 "the moment.  One reason is that the appliance generally has all locale files"
40944 " removed from it, because they take up a lot of space.  So we'd have to "
40945 "readd some of those, as well as copying our PO files into the appliance."
40946 msgstr ""
40947
40948 #. type: textblock
40949 #: ../src/guestfs.pod:2905
40950 msgid ""
40951 "Debugging messages are never translated, since they are intended for the "
40952 "programmers."
40953 msgstr ""
40954
40955 #. type: =head2
40956 #: ../src/guestfs.pod:2908
40957 msgid "SOURCE CODE SUBDIRECTORIES"
40958 msgstr ""
40959
40960 #. type: =item
40961 #: ../src/guestfs.pod:2912
40962 msgid "C<align>"
40963 msgstr ""
40964
40965 #. type: textblock
40966 #: ../src/guestfs.pod:2914
40967 msgid "L<virt-alignment-scan(1)> command and documentation."
40968 msgstr ""
40969
40970 #. type: textblock
40971 #: ../src/guestfs.pod:2918
40972 msgid "The libguestfs appliance, build scripts and so on."
40973 msgstr ""
40974
40975 #. type: =item
40976 #: ../src/guestfs.pod:2920
40977 msgid "C<capitests>"
40978 msgstr "C<capitests>"
40979
40980 #. type: textblock
40981 #: ../src/guestfs.pod:2922
40982 msgid "Automated tests of the C API."
40983 msgstr ""
40984
40985 #. type: =item
40986 #: ../src/guestfs.pod:2924
40987 msgid "C<cat>"
40988 msgstr "C<cat>"
40989
40990 #. type: textblock
40991 #: ../src/guestfs.pod:2926
40992 msgid ""
40993 "The L<virt-cat(1)>, L<virt-filesystems(1)> and L<virt-ls(1)> commands and "
40994 "documentation."
40995 msgstr ""
40996
40997 #. type: =item
40998 #: ../src/guestfs.pod:2929
40999 msgid "C<caution>"
41000 msgstr "C<caution>"
41001
41002 #. type: textblock
41003 #: ../src/guestfs.pod:2931
41004 msgid ""
41005 "Safety and liveness tests of components that libguestfs depends upon (not of"
41006 " libguestfs itself).  Mainly this is for qemu and the kernel."
41007 msgstr ""
41008
41009 #. type: =item
41010 #: ../src/guestfs.pod:2934
41011 msgid "C<clone>"
41012 msgstr ""
41013
41014 #. type: textblock
41015 #: ../src/guestfs.pod:2936
41016 msgid ""
41017 "Tools for cloning virtual machines.  Currently contains L<virt-sysprep(1)> "
41018 "command and documentation."
41019 msgstr ""
41020
41021 #. type: =item
41022 #: ../src/guestfs.pod:2939
41023 msgid "C<contrib>"
41024 msgstr "C<contrib>"
41025
41026 #. type: textblock
41027 #: ../src/guestfs.pod:2941
41028 msgid "Outside contributions, experimental parts."
41029 msgstr ""
41030
41031 #. type: =item
41032 #: ../src/guestfs.pod:2943
41033 msgid "C<daemon>"
41034 msgstr "C<daemon>"
41035
41036 #. type: textblock
41037 #: ../src/guestfs.pod:2945
41038 msgid ""
41039 "The daemon that runs inside the libguestfs appliance and carries out "
41040 "actions."
41041 msgstr ""
41042
41043 #. type: =item
41044 #: ../src/guestfs.pod:2948
41045 msgid "C<df>"
41046 msgstr "C<df>"
41047
41048 #. type: textblock
41049 #: ../src/guestfs.pod:2950
41050 msgid "L<virt-df(1)> command and documentation."
41051 msgstr ""
41052
41053 #. type: =item
41054 #: ../src/guestfs.pod:2952
41055 msgid "C<edit>"
41056 msgstr "C<edit>"
41057
41058 #. type: textblock
41059 #: ../src/guestfs.pod:2954
41060 msgid "L<virt-edit(1)> command and documentation."
41061 msgstr ""
41062
41063 #. type: =item
41064 #: ../src/guestfs.pod:2956
41065 msgid "C<examples>"
41066 msgstr "C<examples>"
41067
41068 #. type: textblock
41069 #: ../src/guestfs.pod:2958
41070 msgid "C API example code."
41071 msgstr "Код прикладів використання програмного інтерфейсу мовою C."
41072
41073 #. type: =item
41074 #: ../src/guestfs.pod:2960
41075 msgid "C<fish>"
41076 msgstr "C<fish>"
41077
41078 #. type: textblock
41079 #: ../src/guestfs.pod:2962
41080 msgid ""
41081 "L<guestfish(1)>, the command-line shell, and various shell scripts built on "
41082 "top such as L<virt-copy-in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L"
41083 "<virt-tar-out(1)>."
41084 msgstr ""
41085
41086 #. type: =item
41087 #: ../src/guestfs.pod:2966
41088 msgid "C<fuse>"
41089 msgstr "C<fuse>"
41090
41091 #. type: textblock
41092 #: ../src/guestfs.pod:2968
41093 msgid ""
41094 "L<guestmount(1)>, FUSE (userspace filesystem) built on top of libguestfs."
41095 msgstr ""
41096
41097 #. type: =item
41098 #: ../src/guestfs.pod:2970
41099 msgid "C<generator>"
41100 msgstr "C<generator>"
41101
41102 #. type: textblock
41103 #: ../src/guestfs.pod:2972
41104 msgid ""
41105 "The crucially important generator, used to automatically generate large "
41106 "amounts of boilerplate C code for things like RPC and bindings."
41107 msgstr ""
41108
41109 #. type: =item
41110 #: ../src/guestfs.pod:2975
41111 msgid "C<images>"
41112 msgstr "C<images>"
41113
41114 #. type: textblock
41115 #: ../src/guestfs.pod:2977
41116 msgid "Files used by the test suite."
41117 msgstr ""
41118
41119 #. type: textblock
41120 #: ../src/guestfs.pod:2979
41121 msgid "Some \"phony\" guest images which we test against."
41122 msgstr ""
41123
41124 #. type: =item
41125 #: ../src/guestfs.pod:2981
41126 msgid "C<inspector>"
41127 msgstr "C<inspector>"
41128
41129 #. type: textblock
41130 #: ../src/guestfs.pod:2983
41131 msgid "L<virt-inspector(1)>, the virtual machine image inspector."
41132 msgstr ""
41133
41134 #. type: =item
41135 #: ../src/guestfs.pod:2985
41136 msgid "C<logo>"
41137 msgstr "C<logo>"
41138
41139 #. type: textblock
41140 #: ../src/guestfs.pod:2987
41141 msgid "Logo used on the website.  The fish is called Arthur by the way."
41142 msgstr ""
41143
41144 #. type: =item
41145 #: ../src/guestfs.pod:2989
41146 msgid "C<m4>"
41147 msgstr "C<m4>"
41148
41149 #. type: textblock
41150 #: ../src/guestfs.pod:2991
41151 msgid "M4 macros used by autoconf."
41152 msgstr ""
41153
41154 #. type: =item
41155 #: ../src/guestfs.pod:2993
41156 msgid "C<po>"
41157 msgstr "C<po>"
41158
41159 #. type: textblock
41160 #: ../src/guestfs.pod:2995
41161 msgid "Translations of simple gettext strings."
41162 msgstr "Переклади простих рядків gettext."
41163
41164 #. type: =item
41165 #: ../src/guestfs.pod:2997
41166 msgid "C<po-docs>"
41167 msgstr "C<po-docs>"
41168
41169 #. type: textblock
41170 #: ../src/guestfs.pod:2999
41171 msgid ""
41172 "The build infrastructure and PO files for translations of manpages and POD "
41173 "files.  Eventually this will be combined with the C<po> directory, but that "
41174 "is rather complicated."
41175 msgstr ""
41176
41177 #. type: =item
41178 #: ../src/guestfs.pod:3003
41179 msgid "C<regressions>"
41180 msgstr "C<regressions>"
41181
41182 #. type: textblock
41183 #: ../src/guestfs.pod:3005
41184 msgid "Regression tests."
41185 msgstr "Тести на регресії."
41186
41187 #. type: =item
41188 #: ../src/guestfs.pod:3007
41189 msgid "C<rescue>"
41190 msgstr "C<rescue>"
41191
41192 #. type: textblock
41193 #: ../src/guestfs.pod:3009
41194 msgid "L<virt-rescue(1)> command and documentation."
41195 msgstr ""
41196
41197 #. type: =item
41198 #: ../src/guestfs.pod:3011
41199 msgid "C<resize>"
41200 msgstr ""
41201
41202 #. type: textblock
41203 #: ../src/guestfs.pod:3013
41204 msgid "L<virt-resize(1)> command and documentation."
41205 msgstr ""
41206
41207 #. type: =item
41208 #: ../src/guestfs.pod:3015
41209 msgid "C<sparsify>"
41210 msgstr ""
41211
41212 #. type: textblock
41213 #: ../src/guestfs.pod:3017
41214 msgid "L<virt-sparsify(1)> command and documentation."
41215 msgstr ""
41216
41217 #. type: =item
41218 #: ../src/guestfs.pod:3019
41219 msgid "C<src>"
41220 msgstr "C<src>"
41221
41222 #. type: textblock
41223 #: ../src/guestfs.pod:3021
41224 msgid "Source code to the C library."
41225 msgstr ""
41226
41227 #. type: =item
41228 #: ../src/guestfs.pod:3023
41229 msgid "C<tools>"
41230 msgstr "C<tools>"
41231
41232 #. type: textblock
41233 #: ../src/guestfs.pod:3025
41234 msgid ""
41235 "Command line tools written in Perl (L<virt-win-reg(1)> and many others)."
41236 msgstr ""
41237
41238 #. type: =item
41239 #: ../src/guestfs.pod:3027
41240 msgid "C<test-tool>"
41241 msgstr "C<test-tool>"
41242
41243 #. type: textblock
41244 #: ../src/guestfs.pod:3029
41245 msgid ""
41246 "Test tool for end users to test if their qemu/kernel combination will work "
41247 "with libguestfs."
41248 msgstr ""
41249
41250 #. type: =item
41251 #: ../src/guestfs.pod:3032
41252 msgid "C<csharp>"
41253 msgstr "C<csharp>"
41254
41255 #. type: =item
41256 #: ../src/guestfs.pod:3034
41257 msgid "C<erlang>"
41258 msgstr ""
41259
41260 #. type: =item
41261 #: ../src/guestfs.pod:3036
41262 msgid "C<haskell>"
41263 msgstr "C<haskell>"
41264
41265 #. type: =item
41266 #: ../src/guestfs.pod:3038
41267 msgid "C<java>"
41268 msgstr "C<java>"
41269
41270 #. type: =item
41271 #: ../src/guestfs.pod:3040
41272 msgid "C<ocaml>"
41273 msgstr "C<ocaml>"
41274
41275 #. type: =item
41276 #: ../src/guestfs.pod:3042
41277 msgid "C<php>"
41278 msgstr "C<php>"
41279
41280 #. type: =item
41281 #: ../src/guestfs.pod:3044
41282 msgid "C<perl>"
41283 msgstr "C<perl>"
41284
41285 #. type: =item
41286 #: ../src/guestfs.pod:3046
41287 msgid "C<python>"
41288 msgstr "C<python>"
41289
41290 #. type: =item
41291 #: ../src/guestfs.pod:3048
41292 msgid "C<ruby>"
41293 msgstr "C<ruby>"
41294
41295 #. type: textblock
41296 #: ../src/guestfs.pod:3050
41297 msgid "Language bindings."
41298 msgstr "Прив’язки до мов програмування."
41299
41300 #. type: =head2
41301 #: ../src/guestfs.pod:3054
41302 msgid "MAKING A STABLE RELEASE"
41303 msgstr ""
41304
41305 #. type: textblock
41306 #: ../src/guestfs.pod:3056
41307 msgid ""
41308 "When we make a stable release, there are several steps documented here.  See"
41309 " L</LIBGUESTFS VERSION NUMBERS> for general information about the stable "
41310 "branch policy."
41311 msgstr ""
41312
41313 #. type: textblock
41314 #: ../src/guestfs.pod:3064
41315 msgid ""
41316 "Check C<make && make check> works on at least Fedora, Debian and Ubuntu."
41317 msgstr ""
41318
41319 #. type: textblock
41320 #: ../src/guestfs.pod:3069
41321 msgid "Finalize RELEASE-NOTES."
41322 msgstr ""
41323
41324 #. type: textblock
41325 #: ../src/guestfs.pod:3073
41326 msgid "Update ROADMAP."
41327 msgstr ""
41328
41329 #. type: textblock
41330 #: ../src/guestfs.pod:3077
41331 msgid "Run C<src/api-support/update-from-tarballs.sh>."
41332 msgstr ""
41333
41334 #. type: textblock
41335 #: ../src/guestfs.pod:3081
41336 msgid "Push and pull from Transifex."
41337 msgstr ""
41338
41339 #. type: textblock
41340 #: ../src/guestfs.pod:3083
41341 msgid "Run:"
41342 msgstr ""
41343
41344 #. type: verbatim
41345 #: ../src/guestfs.pod:3085
41346 #, no-wrap
41347 msgid ""
41348 " tx push -s\n"
41349 "\n"
41350 msgstr ""
41351
41352 #. type: textblock
41353 #: ../src/guestfs.pod:3087
41354 msgid "to push the latest POT files to Transifex.  Then run:"
41355 msgstr ""
41356
41357 #. type: verbatim
41358 #: ../src/guestfs.pod:3089
41359 #, no-wrap
41360 msgid ""
41361 " ./tx-pull.sh\n"
41362 "\n"
41363 msgstr ""
41364
41365 #. type: textblock
41366 #: ../src/guestfs.pod:3091
41367 msgid "which is a wrapper to pull the latest translated C<*.po> files."
41368 msgstr ""
41369
41370 #. type: textblock
41371 #: ../src/guestfs.pod:3095
41372 msgid ""
41373 "Create new stable and development directories under "
41374 "L<http://libguestfs.org/download>."
41375 msgstr ""
41376
41377 #. type: textblock
41378 #: ../src/guestfs.pod:3100
41379 msgid "Create the branch in git:"
41380 msgstr ""
41381
41382 #. type: verbatim
41383 #: ../src/guestfs.pod:3102
41384 #, no-wrap
41385 msgid ""
41386 " git tag -a 1.XX.0 -m \"Version 1.XX.0 (stable)\"\n"
41387 " git tag -a 1.YY.0 -m \"Version 1.YY.0 (development)\"\n"
41388 " git branch stable-1.XX\n"
41389 " git push origin tag 1.XX.0 1.YY.0 stable-1.XX\n"
41390 "\n"
41391 msgstr ""
41392
41393 #. type: =head1
41394 #: ../src/guestfs.pod:3109
41395 msgid "LIMITS"
41396 msgstr "ОБМЕЖЕННЯ"
41397
41398 #. type: =head2
41399 #: ../src/guestfs.pod:3111
41400 msgid "PROTOCOL LIMITS"
41401 msgstr "ОБМЕЖЕННЯ ПРОТОКОЛУ"
41402
41403 #. type: textblock
41404 #: ../src/guestfs.pod:3113
41405 msgid ""
41406 "Internally libguestfs uses a message-based protocol to pass API calls and "
41407 "their responses to and from a small \"appliance\" (see L</INTERNALS> for "
41408 "plenty more detail about this).  The maximum message size used by the "
41409 "protocol is slightly less than 4 MB.  For some API calls you may need to be "
41410 "aware of this limit.  The API calls which may be affected are individually "
41411 "documented, with a link back to this section of the documentation."
41412 msgstr ""
41413
41414 #. type: textblock
41415 #: ../src/guestfs.pod:3121
41416 msgid ""
41417 "A simple call such as L</guestfs_cat> returns its result (the file data) in "
41418 "a simple string.  Because this string is at some point internally encoded as"
41419 " a message, the maximum size that it can return is slightly under 4 MB.  If "
41420 "the requested file is larger than this then you will get an error."
41421 msgstr ""
41422
41423 #. type: textblock
41424 #: ../src/guestfs.pod:3127
41425 msgid ""
41426 "In order to transfer large files into and out of the guest filesystem, you "
41427 "need to use particular calls that support this.  The sections L</UPLOADING> "
41428 "and L</DOWNLOADING> document how to do this."
41429 msgstr ""
41430
41431 #. type: textblock
41432 #: ../src/guestfs.pod:3131
41433 msgid ""
41434 "You might also consider mounting the disk image using our FUSE filesystem "
41435 "support (L<guestmount(1)>)."
41436 msgstr ""
41437
41438 #. type: =head2
41439 #: ../src/guestfs.pod:3134
41440 msgid "MAXIMUM NUMBER OF DISKS"
41441 msgstr ""
41442
41443 #. type: textblock
41444 #: ../src/guestfs.pod:3136
41445 msgid ""
41446 "When using virtio disks (the default) the current limit is B<25> disks."
41447 msgstr ""
41448
41449 #. type: textblock
41450 #: ../src/guestfs.pod:3139
41451 msgid ""
41452 "Virtio itself consumes 1 virtual PCI slot per disk, and PCI is limited to 31"
41453 " slots.  However febootstrap only understands disks with names C</dev/vda> "
41454 "through C</dev/vdz> (26 letters) and it reserves one disk for its own "
41455 "purposes."
41456 msgstr ""
41457
41458 #. type: textblock
41459 #: ../src/guestfs.pod:3144
41460 msgid ""
41461 "We are working to substantially raise this limit in future versions but it "
41462 "requires complex changes to qemu."
41463 msgstr ""
41464
41465 #. type: textblock
41466 #: ../src/guestfs.pod:3147
41467 msgid ""
41468 "In future versions of libguestfs it should also be possible to \"hot plug\" "
41469 "disks (add and remove disks after calling L</guestfs_launch>).  This also "
41470 "requires changes to qemu."
41471 msgstr ""
41472
41473 #. type: =head2
41474 #: ../src/guestfs.pod:3151
41475 msgid "MAXIMUM NUMBER OF PARTITIONS PER DISK"
41476 msgstr ""
41477
41478 #. type: textblock
41479 #: ../src/guestfs.pod:3153
41480 msgid "Virtio limits the maximum number of partitions per disk to B<15>."
41481 msgstr ""
41482
41483 #. type: textblock
41484 #: ../src/guestfs.pod:3155
41485 msgid ""
41486 "This is because it reserves 4 bits for the minor device number (thus "
41487 "C</dev/vda>, and C</dev/vda1> through C</dev/vda15>)."
41488 msgstr ""
41489
41490 #. type: textblock
41491 #: ../src/guestfs.pod:3158
41492 msgid ""
41493 "If you attach a disk with more than 15 partitions, the extra partitions are "
41494 "ignored by libguestfs."
41495 msgstr ""
41496
41497 #. type: =head2
41498 #: ../src/guestfs.pod:3161
41499 msgid "MAXIMUM SIZE OF A DISK"
41500 msgstr ""
41501
41502 #. type: textblock
41503 #: ../src/guestfs.pod:3163
41504 msgid "Probably the limit is between 2**63-1 and 2**64-1 bytes."
41505 msgstr ""
41506
41507 #. type: textblock
41508 #: ../src/guestfs.pod:3165
41509 msgid ""
41510 "We have tested block devices up to 1 exabyte (2**60 or "
41511 "1,152,921,504,606,846,976 bytes) using sparse files backed by an XFS host "
41512 "filesystem."
41513 msgstr ""
41514
41515 #. type: textblock
41516 #: ../src/guestfs.pod:3169
41517 msgid ""
41518 "Although libguestfs probably does not impose any limit, the underlying host "
41519 "storage will.  If you store disk images on a host ext4 filesystem, then the "
41520 "maximum size will be limited by the maximum ext4 file size (currently 16 "
41521 "TB).  If you store disk images as host logical volumes then you are limited "
41522 "by the maximum size of an LV."
41523 msgstr ""
41524
41525 #. type: textblock
41526 #: ../src/guestfs.pod:3175
41527 msgid ""
41528 "For the hugest disk image files, we recommend using XFS on the host for "
41529 "storage."
41530 msgstr ""
41531
41532 #. type: =head2
41533 #: ../src/guestfs.pod:3178
41534 msgid "MAXIMUM SIZE OF A PARTITION"
41535 msgstr ""
41536
41537 #. type: textblock
41538 #: ../src/guestfs.pod:3180
41539 msgid ""
41540 "The MBR (ie. classic MS-DOS) partitioning scheme uses 32 bit sector numbers."
41541 "  Assuming a 512 byte sector size, this means that MBR cannot address a "
41542 "partition located beyond 2 TB on the disk."
41543 msgstr ""
41544
41545 #. type: textblock
41546 #: ../src/guestfs.pod:3184
41547 msgid ""
41548 "It is recommended that you use GPT partitions on disks which are larger than"
41549 " this size.  GPT uses 64 bit sector numbers and so can address partitions "
41550 "which are theoretically larger than the largest disk we could support."
41551 msgstr ""
41552
41553 #. type: =head2
41554 #: ../src/guestfs.pod:3189
41555 msgid "MAXIMUM SIZE OF A FILESYSTEM, FILES, DIRECTORIES"
41556 msgstr ""
41557
41558 #. type: textblock
41559 #: ../src/guestfs.pod:3191
41560 msgid ""
41561 "This depends on the filesystem type.  libguestfs itself does not impose any "
41562 "known limit.  Consult Wikipedia or the filesystem documentation to find out "
41563 "what these limits are."
41564 msgstr ""
41565
41566 #. type: =head2
41567 #: ../src/guestfs.pod:3195
41568 msgid "MAXIMUM UPLOAD AND DOWNLOAD"
41569 msgstr ""
41570
41571 #. type: textblock
41572 #: ../src/guestfs.pod:3197
41573 msgid ""
41574 "The API functions L</guestfs_upload>, L</guestfs_download>, "
41575 "L</guestfs_tar_in>, L</guestfs_tar_out> and the like allow unlimited sized "
41576 "uploads and downloads."
41577 msgstr ""
41578
41579 #. type: =head2
41580 #: ../src/guestfs.pod:3201
41581 msgid "INSPECTION LIMITS"
41582 msgstr ""
41583
41584 #. type: textblock
41585 #: ../src/guestfs.pod:3203
41586 msgid ""
41587 "The inspection code has several arbitrary limits on things like the size of "
41588 "Windows Registry hive it will read, and the length of product name.  These "
41589 "are intended to stop a malicious guest from consuming arbitrary amounts of "
41590 "memory and disk space on the host, and should not be reached in practice.  "
41591 "See the source code for more information."
41592 msgstr ""
41593
41594 #. type: textblock
41595 #: ../src/guestfs.pod:3229
41596 msgid ""
41597 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages.  This has the same "
41598 "effect as calling C<guestfs_set_verbose (g, 1)>."
41599 msgstr ""
41600
41601 #. type: textblock
41602 #: ../src/guestfs.pod:3241
41603 msgid ""
41604 "Set the path that libguestfs uses to search for a supermin appliance.  See "
41605 "the discussion of paths in section L</PATH> above."
41606 msgstr ""
41607
41608 #. type: textblock
41609 #: ../src/guestfs.pod:3250
41610 msgid "See also L</QEMU WRAPPERS> above."
41611 msgstr ""
41612
41613 #. type: textblock
41614 #: ../src/guestfs.pod:3254
41615 msgid ""
41616 "Set C<LIBGUESTFS_TRACE=1> to enable command traces.  This has the same "
41617 "effect as calling C<guestfs_set_trace (g, 1)>."
41618 msgstr ""
41619
41620 #. type: textblock
41621 #: ../src/guestfs.pod:3272
41622 msgid ""
41623 "L<guestfs-examples(3)>, L<guestfs-erlang(3)>, L<guestfs-java(3)>, L<guestfs-"
41624 "ocaml(3)>, L<guestfs-perl(3)>, L<guestfs-python(3)>, L<guestfs-ruby(3)>, "
41625 "L<guestfish(1)>, L<guestmount(1)>, L<virt-alignment-scan(1)>, L<virt-"
41626 "cat(1)>, L<virt-copy-in(1)>, L<virt-copy-out(1)>, L<virt-df(1)>, L<virt-"
41627 "edit(1)>, L<virt-filesystems(1)>, L<virt-inspector(1)>, L<virt-list-"
41628 "filesystems(1)>, L<virt-list-partitions(1)>, L<virt-ls(1)>, L<virt-make-"
41629 "fs(1)>, L<virt-rescue(1)>, L<virt-resize(1)>, L<virt-sparsify(1)>, L<virt-"
41630 "sysprep(1)>, L<virt-tar(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<virt-"
41631 "win-reg(1)>, L<qemu(1)>, L<febootstrap(1)>, L<febootstrap-supermin-"
41632 "helper(8)>, L<hivex(3)>, L<stap(1)>, L<http://libguestfs.org/>."
41633 msgstr ""
41634
41635 #. type: textblock
41636 #: ../src/guestfs.pod:3308
41637 msgid ""
41638 "Tools with a similar purpose: L<fdisk(8)>, L<parted(8)>, L<kpartx(8)>, "
41639 "L<lvm(8)>, L<disktype(1)>."
41640 msgstr ""
41641
41642 #. type: =head1
41643 #: ../src/guestfs.pod:3315 ../tools/virt-make-fs.pl:571
41644 #: ../tools/virt-win-reg.pl:772
41645 msgid "BUGS"
41646 msgstr "ВАДИ"
41647
41648 #. type: textblock
41649 #: ../src/guestfs.pod:3317
41650 msgid "To get a list of bugs against libguestfs use this link:"
41651 msgstr ""
41652 "Щоб переглянути список відомих вад у libguestfs, скористайтеся таким "
41653 "посиланням:"
41654
41655 #. type: textblock
41656 #: ../src/guestfs.pod:3319
41657 msgid ""
41658 "L<https://bugzilla.redhat.com/buglist.cgi?component=libguestfs&product=Virtualization+Tools>"
41659 msgstr ""
41660 "L<https://bugzilla.redhat.com/buglist.cgi?component=libguestfs&product=Virtualization+Tools>"
41661
41662 #. type: textblock
41663 #: ../src/guestfs.pod:3321
41664 msgid "To report a new bug against libguestfs use this link:"
41665 msgstr "Для звітування щодо вад у libguestfs скористайтеся цим посиланням:"
41666
41667 #. type: textblock
41668 #: ../src/guestfs.pod:3323
41669 msgid ""
41670 "L<https://bugzilla.redhat.com/enter_bug.cgi?component=libguestfs&product=Virtualization+Tools>"
41671 msgstr ""
41672 "L<https://bugzilla.redhat.com/enter_bug.cgi?component=libguestfs&product=Virtualization+Tools>"
41673
41674 #. type: textblock
41675 #: ../src/guestfs.pod:3325
41676 msgid "When reporting a bug, please check:"
41677 msgstr ""
41678
41679 #. type: textblock
41680 #: ../src/guestfs.pod:3331
41681 msgid "That the bug hasn't been reported already."
41682 msgstr ""
41683
41684 #. type: textblock
41685 #: ../src/guestfs.pod:3335
41686 msgid "That you are testing a recent version."
41687 msgstr ""
41688
41689 #. type: textblock
41690 #: ../src/guestfs.pod:3339
41691 msgid "Describe the bug accurately, and give a way to reproduce it."
41692 msgstr ""
41693
41694 #. type: textblock
41695 #: ../src/guestfs.pod:3343
41696 msgid ""
41697 "Run libguestfs-test-tool and paste the B<complete, unedited> output into the"
41698 " bug report."
41699 msgstr ""
41700
41701 #. type: textblock
41702 #: ../test-tool/libguestfs-test-tool.pod:5
41703 msgid "libguestfs-test-tool - Diagnostics for libguestfs"
41704 msgstr ""
41705
41706 #. type: verbatim
41707 #: ../test-tool/libguestfs-test-tool.pod:9
41708 #, no-wrap
41709 msgid ""
41710 " libguestfs-test-tool [--options]\n"
41711 "\n"
41712 msgstr ""
41713
41714 #. type: textblock
41715 #: ../test-tool/libguestfs-test-tool.pod:13
41716 msgid ""
41717 "libguestfs-test-tool is a test program shipped with libguestfs to allow you "
41718 "to check basic libguestfs functionality is working.  This is needed because "
41719 "libguestfs occasionally breaks for reasons beyond our control: usually "
41720 "because of changes in the underlying qemu or kernel packages, or the host "
41721 "environment."
41722 msgstr ""
41723
41724 #. type: textblock
41725 #: ../test-tool/libguestfs-test-tool.pod:19
41726 msgid "If you suspect a problem in libguestfs, then just run:"
41727 msgstr ""
41728
41729 #. type: verbatim
41730 #: ../test-tool/libguestfs-test-tool.pod:21
41731 #, no-wrap
41732 msgid ""
41733 " libguestfs-test-tool\n"
41734 "\n"
41735 msgstr ""
41736
41737 #. type: textblock
41738 #: ../test-tool/libguestfs-test-tool.pod:23
41739 msgid "It will print lots of diagnostic messages."
41740 msgstr ""
41741
41742 #. type: textblock
41743 #: ../test-tool/libguestfs-test-tool.pod:25
41744 msgid "If it runs to completion successfully, you will see this near the end:"
41745 msgstr ""
41746
41747 #. type: verbatim
41748 #: ../test-tool/libguestfs-test-tool.pod:27
41749 #, no-wrap
41750 msgid ""
41751 " ===== TEST FINISHED OK =====\n"
41752 "\n"
41753 msgstr ""
41754
41755 #. type: textblock
41756 #: ../test-tool/libguestfs-test-tool.pod:29
41757 msgid "and the test tool will exit with code 0."
41758 msgstr ""
41759
41760 #. type: textblock
41761 #: ../test-tool/libguestfs-test-tool.pod:31
41762 msgid ""
41763 "If it fails (and/or exits with non-zero error code), please paste the "
41764 "I<complete, unedited> output of the test tool into a bug report.  More "
41765 "information about reporting bugs can be found on the "
41766 "L<http://libguestfs.org/> website."
41767 msgstr ""
41768
41769 #. type: textblock
41770 #: ../test-tool/libguestfs-test-tool.pod:42
41771 msgid "Display short usage information and exit."
41772 msgstr ""
41773
41774 #. type: =item
41775 #: ../test-tool/libguestfs-test-tool.pod:44
41776 msgid "B<--qemu qemu_binary>"
41777 msgstr ""
41778
41779 #. type: textblock
41780 #: ../test-tool/libguestfs-test-tool.pod:46
41781 msgid ""
41782 "If you have downloaded another qemu binary, point this option at the full "
41783 "path of the binary to try it."
41784 msgstr ""
41785
41786 #. type: =item
41787 #: ../test-tool/libguestfs-test-tool.pod:49
41788 msgid "B<--qemudir qemu_source_dir>"
41789 msgstr ""
41790
41791 #. type: textblock
41792 #: ../test-tool/libguestfs-test-tool.pod:51
41793 msgid ""
41794 "If you have compiled qemu from source, point this option at the source "
41795 "directory to try it."
41796 msgstr ""
41797
41798 #. type: =item
41799 #: ../test-tool/libguestfs-test-tool.pod:54
41800 msgid "B<-t N>"
41801 msgstr ""
41802
41803 #. type: =item
41804 #: ../test-tool/libguestfs-test-tool.pod:56
41805 msgid "B<--timeout N>"
41806 msgstr ""
41807
41808 #. type: textblock
41809 #: ../test-tool/libguestfs-test-tool.pod:58
41810 msgid ""
41811 "Set the launch timeout to C<N> seconds.  The default is 600 seconds (10 "
41812 "minutes) which does not usually need to be adjusted."
41813 msgstr ""
41814
41815 #. type: =head1
41816 #: ../test-tool/libguestfs-test-tool.pod:63
41817 msgid "TRYING OUT A DIFFERENT VERSION OF QEMU"
41818 msgstr ""
41819
41820 #. type: textblock
41821 #: ../test-tool/libguestfs-test-tool.pod:65
41822 msgid ""
41823 "If you have compiled another version of qemu from source and would like to "
41824 "try that, then you can use the I<--qemudir> option to point to the qemu "
41825 "source directory."
41826 msgstr ""
41827
41828 #. type: textblock
41829 #: ../test-tool/libguestfs-test-tool.pod:69
41830 msgid ""
41831 "If you have downloaded a qemu binary from somewhere, use the I<--qemu> "
41832 "option to point to the binary."
41833 msgstr ""
41834
41835 #. type: textblock
41836 #: ../test-tool/libguestfs-test-tool.pod:72
41837 msgid ""
41838 "Note when using these options, you can ignore the business of qemu wrapper "
41839 "scripts (L<guestfs(3)/QEMU WRAPPERS>), since libguestfs-test-tool writes a "
41840 "wrapper script for you if one is needed."
41841 msgstr ""
41842
41843 #. type: =head1
41844 #: ../test-tool/libguestfs-test-tool.pod:76
41845 msgid "TRYING OUT A DIFFERENT KERNEL"
41846 msgstr ""
41847
41848 #. type: textblock
41849 #: ../test-tool/libguestfs-test-tool.pod:78
41850 msgid ""
41851 "If you are using febootstrap E<ge> 3.8 then you can select which kernel "
41852 "libguestfs tries.  You do this by setting the environment variables "
41853 "C<FEBOOTSTRAP_KERNEL> and/or C<FEBOOTSTRAP_MODULES>."
41854 msgstr ""
41855
41856 #. type: textblock
41857 #: ../test-tool/libguestfs-test-tool.pod:82
41858 msgid ""
41859 "Refer to L<febootstrap-supermin-helper(8)/ENVIRONMENT VARIABLES> for further"
41860 " information."
41861 msgstr ""
41862
41863 #. type: =head1
41864 #: ../test-tool/libguestfs-test-tool.pod:85
41865 msgid "SELF-DIAGNOSIS"
41866 msgstr ""
41867
41868 #. type: textblock
41869 #: ../test-tool/libguestfs-test-tool.pod:87
41870 msgid ""
41871 "Refer to L<guestfs(3)/APPLIANCE BOOT PROCESS> to understand the messages "
41872 "produced by libguestfs-test-tool and/or possible errors."
41873 msgstr ""
41874
41875 #. type: textblock
41876 #: ../test-tool/libguestfs-test-tool.pod:92
41877 msgid ""
41878 "libguestfs-test-tool returns I<0> if the tests completed without error, or "
41879 "I<1> if there was an error."
41880 msgstr ""
41881
41882 #. type: textblock
41883 #: ../test-tool/libguestfs-test-tool.pod:97
41884 msgid ""
41885 "For the full list of environment variables which may affect libguestfs, "
41886 "please see the L<guestfs(3)> manual page."
41887 msgstr ""
41888
41889 #. type: textblock
41890 #: ../test-tool/libguestfs-test-tool.pod:102
41891 msgid "L<guestfs(3)>, L<http://libguestfs.org/>, L<http://qemu.org/>."
41892 msgstr ""
41893
41894 #. type: textblock
41895 #: ../tools/virt-list-filesystems.pl:32
41896 msgid ""
41897 "virt-list-filesystems - List filesystems in a virtual machine or disk image"
41898 msgstr ""
41899
41900 #. type: verbatim
41901 #: ../tools/virt-list-filesystems.pl:36
41902 #, no-wrap
41903 msgid ""
41904 " virt-list-filesystems [--options] domname\n"
41905 "\n"
41906 msgstr ""
41907
41908 #. type: verbatim
41909 #: ../tools/virt-list-filesystems.pl:38
41910 #, no-wrap
41911 msgid ""
41912 " virt-list-filesystems [--options] disk.img [disk.img ...]\n"
41913 "\n"
41914 msgstr ""
41915
41916 #. type: textblock
41917 #: ../tools/virt-list-filesystems.pl:42 ../tools/virt-list-partitions.pl:42
41918 msgid ""
41919 "This tool is obsolete.  Use L<virt-filesystems(1)> as a more flexible "
41920 "replacement."
41921 msgstr ""
41922
41923 #. type: textblock
41924 #: ../tools/virt-list-filesystems.pl:45
41925 msgid ""
41926 "C<virt-list-filesystems> is a command line tool to list the filesystems that"
41927 " are contained in a virtual machine or disk image."
41928 msgstr ""
41929
41930 #. type: textblock
41931 #: ../tools/virt-list-filesystems.pl:49
41932 msgid ""
41933 "C<virt-list-filesystems> is just a simple wrapper around L<libguestfs(3)> "
41934 "functionality.  For more complex cases you should look at the "
41935 "L<guestfish(1)> tool."
41936 msgstr ""
41937
41938 #. type: textblock
41939 #: ../tools/virt-list-filesystems.pl:112
41940 msgid ""
41941 "With this option, C<virt-list-filesystems> displays the type of each "
41942 "filesystem too (where \"type\" means C<ext3>, C<xfs> etc.)"
41943 msgstr ""
41944
41945 #. type: =item
41946 #: ../tools/virt-list-filesystems.pl:119
41947 msgid "B<-a>"
41948 msgstr "B<-a>"
41949
41950 #. type: textblock
41951 #: ../tools/virt-list-filesystems.pl:123
41952 msgid ""
41953 "Normally we only show mountable filesystems.  If this option is given then "
41954 "swap devices are shown too."
41955 msgstr ""
41956
41957 #. type: textblock
41958 #: ../tools/virt-list-filesystems.pl:197
41959 msgid ""
41960 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<virt-"
41961 "filesystems(1)>, L<virt-list-partitions(1)>, L<Sys::Guestfs(3)>, "
41962 "L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
41963 msgstr ""
41964 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<virt-"
41965 "filesystems(1)>, L<virt-list-partitions(1)>, L<Sys::Guestfs(3)>, "
41966 "L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
41967
41968 #. type: textblock
41969 #: ../tools/virt-list-filesystems.pl:214 ../tools/virt-tar.pl:317
41970 msgid "Copyright (C) 2009 Red Hat Inc."
41971 msgstr "© Red Hat Inc., 2009"
41972
41973 #. type: textblock
41974 #: ../tools/virt-list-partitions.pl:32
41975 msgid ""
41976 "virt-list-partitions - List partitions in a virtual machine or disk image"
41977 msgstr ""
41978
41979 #. type: verbatim
41980 #: ../tools/virt-list-partitions.pl:36
41981 #, no-wrap
41982 msgid ""
41983 " virt-list-partitions [--options] domname\n"
41984 "\n"
41985 msgstr ""
41986 " virt-list-partitions [--параметри] назва_домену\n"
41987 "\n"
41988
41989 #. type: verbatim
41990 #: ../tools/virt-list-partitions.pl:38
41991 #, no-wrap
41992 msgid ""
41993 " virt-list-partitions [--options] disk.img [disk.img ...]\n"
41994 "\n"
41995 msgstr ""
41996 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
41997 "\n"
41998
41999 #. type: textblock
42000 #: ../tools/virt-list-partitions.pl:45
42001 msgid ""
42002 "C<virt-list-partitions> is a command line tool to list the partitions that "
42003 "are contained in a virtual machine or disk image.  It is mainly useful as a "
42004 "first step to using L<virt-resize(1)>."
42005 msgstr ""
42006
42007 #. type: textblock
42008 #: ../tools/virt-list-partitions.pl:50
42009 msgid ""
42010 "C<virt-list-partitions> is just a simple wrapper around L<libguestfs(3)> "
42011 "functionality.  For more complex cases you should look at the "
42012 "L<guestfish(1)> tool."
42013 msgstr ""
42014
42015 #. type: textblock
42016 #: ../tools/virt-list-partitions.pl:113
42017 msgid "Show sizes in human-readable form (eg. \"1G\")."
42018 msgstr ""
42019
42020 #. type: textblock
42021 #: ../tools/virt-list-partitions.pl:123
42022 msgid ""
42023 "With this option, C<virt-list-partitions> displays the type and size of each"
42024 " partition too (where \"type\" means C<ext3>, C<pv> etc.)"
42025 msgstr ""
42026
42027 #. type: =item
42028 #: ../tools/virt-list-partitions.pl:130
42029 msgid "B<-t>"
42030 msgstr "B<-t>"
42031
42032 #. type: =item
42033 #: ../tools/virt-list-partitions.pl:132
42034 msgid "B<--total>"
42035 msgstr "B<--total>"
42036
42037 #. type: textblock
42038 #: ../tools/virt-list-partitions.pl:134
42039 msgid ""
42040 "Display the total size of each block device (as a separate row or rows)."
42041 msgstr ""
42042
42043 #. type: textblock
42044 #: ../tools/virt-list-partitions.pl:267
42045 msgid ""
42046 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
42047 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, "
42048 "L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
42049 msgstr ""
42050 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
42051 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, "
42052 "L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
42053
42054 #. type: textblock
42055 #: ../tools/virt-list-partitions.pl:283
42056 msgid "Copyright (C) 2009-2010 Red Hat Inc."
42057 msgstr "© Red Hat Inc., 2009–2010"
42058
42059 #. type: textblock
42060 #: ../tools/virt-make-fs.pl:37
42061 msgid "virt-make-fs - Make a filesystem from a tar archive or files"
42062 msgstr ""
42063
42064 #. type: verbatim
42065 #: ../tools/virt-make-fs.pl:41
42066 #, no-wrap
42067 msgid ""
42068 " virt-make-fs [--options] input.tar output.img\n"
42069 "\n"
42070 msgstr ""
42071
42072 #. type: verbatim
42073 #: ../tools/virt-make-fs.pl:43
42074 #, no-wrap
42075 msgid ""
42076 " virt-make-fs [--options] input.tar.gz output.img\n"
42077 "\n"
42078 msgstr ""
42079
42080 #. type: verbatim
42081 #: ../tools/virt-make-fs.pl:45
42082 #, no-wrap
42083 msgid ""
42084 " virt-make-fs [--options] directory output.img\n"
42085 "\n"
42086 msgstr ""
42087
42088 #. type: textblock
42089 #: ../tools/virt-make-fs.pl:49
42090 msgid ""
42091 "Virt-make-fs is a command line tool for creating a filesystem from a tar "
42092 "archive or some files in a directory.  It is similar to tools like "
42093 "L<mkisofs(1)>, L<genisoimage(1)> and L<mksquashfs(1)>.  Unlike those tools, "
42094 "it can create common filesystem types like ext2/3 or NTFS, which can be "
42095 "useful if you want to attach these filesystems to existing virtual machines "
42096 "(eg. to import large amounts of read-only data to a VM)."
42097 msgstr ""
42098
42099 #. type: textblock
42100 #: ../tools/virt-make-fs.pl:57
42101 msgid "Basic usage is:"
42102 msgstr ""
42103
42104 #. type: verbatim
42105 #: ../tools/virt-make-fs.pl:59
42106 #, no-wrap
42107 msgid ""
42108 " virt-make-fs input output.img\n"
42109 "\n"
42110 msgstr ""
42111
42112 #. type: textblock
42113 #: ../tools/virt-make-fs.pl:61
42114 msgid ""
42115 "where C<input> is either a directory containing files that you want to add, "
42116 "or a tar archive (either uncompressed tar or gzip-compressed tar); and "
42117 "C<output.img> is a disk image.  The input type is detected automatically.  "
42118 "The output disk image defaults to a raw ext2 sparse image unless you specify"
42119 " extra flags (see L</OPTIONS> below)."
42120 msgstr ""
42121
42122 #. type: =head2
42123 #: ../tools/virt-make-fs.pl:67
42124 msgid "FILESYSTEM TYPE"
42125 msgstr "ТИП ФАЙЛОВОЇ СИСТЕМИ"
42126
42127 #. type: textblock
42128 #: ../tools/virt-make-fs.pl:69
42129 msgid ""
42130 "The default filesystem type is C<ext2>.  Just about any filesystem type that"
42131 " libguestfs supports can be used (but I<not> read-only formats like "
42132 "ISO9660).  Here are some of the more common choices:"
42133 msgstr ""
42134
42135 #. type: =item
42136 #: ../tools/virt-make-fs.pl:75
42137 msgid "I<ext3>"
42138 msgstr "I<ext3>"
42139
42140 #. type: textblock
42141 #: ../tools/virt-make-fs.pl:77
42142 msgid ""
42143 "Note that ext3 filesystems contain a journal, typically 1-32 MB in size.  If"
42144 " you are not going to use the filesystem in a way that requires the journal,"
42145 " then this is just wasted overhead."
42146 msgstr ""
42147
42148 #. type: =item
42149 #: ../tools/virt-make-fs.pl:81
42150 msgid "I<ntfs> or I<vfat>"
42151 msgstr "I<ntfs> або I<vfat>"
42152
42153 #. type: textblock
42154 #: ../tools/virt-make-fs.pl:83
42155 msgid "Useful if exporting data to a Windows guest."
42156 msgstr ""
42157
42158 #. type: textblock
42159 #: ../tools/virt-make-fs.pl:85
42160 msgid ""
42161 "I<Note for vfat>: The tar archive or local directory must only contain files"
42162 " which are owned by root (ie. UID:GID = 0:0).  The reason is that the tar "
42163 "program running within libguestfs is unable to change the ownership of non-"
42164 "root files, since vfat itself does not support this."
42165 msgstr ""
42166
42167 #. type: =item
42168 #: ../tools/virt-make-fs.pl:90
42169 msgid "I<minix>"
42170 msgstr "I<minix>"
42171
42172 #. type: textblock
42173 #: ../tools/virt-make-fs.pl:92
42174 msgid ""
42175 "Lower overhead than C<ext2>, but certain limitations on filename length and "
42176 "total filesystem size."
42177 msgstr ""
42178
42179 #. type: =head3
42180 #: ../tools/virt-make-fs.pl:97 ../tools/virt-make-fs.pl:116
42181 #: ../tools/virt-make-fs.pl:149
42182 msgid "EXAMPLE"
42183 msgstr "ПРИКЛАД"
42184
42185 #. type: verbatim
42186 #: ../tools/virt-make-fs.pl:99
42187 #, no-wrap
42188 msgid ""
42189 " virt-make-fs --type=minix input minixfs.img\n"
42190 "\n"
42191 msgstr ""
42192
42193 #. type: =head2
42194 #: ../tools/virt-make-fs.pl:101
42195 msgid "TO PARTITION OR NOT TO PARTITION"
42196 msgstr ""
42197
42198 #. type: textblock
42199 #: ../tools/virt-make-fs.pl:103
42200 msgid "Optionally virt-make-fs can add a partition table to the output disk."
42201 msgstr ""
42202
42203 #. type: textblock
42204 #: ../tools/virt-make-fs.pl:105
42205 msgid ""
42206 "Adding a partition can make the disk image more compatible with certain "
42207 "virtualized operating systems which don't expect to see a filesystem "
42208 "directly located on a block device (Linux doesn't care and will happily "
42209 "handle both types)."
42210 msgstr ""
42211
42212 #. type: textblock
42213 #: ../tools/virt-make-fs.pl:110
42214 msgid ""
42215 "On the other hand, if you have a partition table then the output image is no"
42216 " longer a straight filesystem.  For example you cannot run L<fsck(8)> "
42217 "directly on a partitioned disk image.  (However libguestfs tools such as "
42218 "L<guestfish(1)> and L<virt-resize(1)> can still be used)."
42219 msgstr ""
42220
42221 #. type: textblock
42222 #: ../tools/virt-make-fs.pl:118
42223 msgid "Add an MBR partition:"
42224 msgstr ""
42225
42226 #. type: verbatim
42227 #: ../tools/virt-make-fs.pl:120
42228 #, no-wrap
42229 msgid ""
42230 " virt-make-fs --partition -- input disk.img\n"
42231 "\n"
42232 msgstr ""
42233
42234 #. type: textblock
42235 #: ../tools/virt-make-fs.pl:122
42236 msgid ""
42237 "If the output disk image could be terabyte-sized or larger, it's better to "
42238 "use an EFI/GPT-compatible partition table:"
42239 msgstr ""
42240
42241 #. type: verbatim
42242 #: ../tools/virt-make-fs.pl:125
42243 #, no-wrap
42244 msgid ""
42245 " virt-make-fs --partition=gpt --size=+4T --format=qcow2 input disk.img\n"
42246 "\n"
42247 msgstr ""
42248
42249 #. type: =head2
42250 #: ../tools/virt-make-fs.pl:127
42251 msgid "EXTRA SPACE"
42252 msgstr ""
42253
42254 #. type: textblock
42255 #: ../tools/virt-make-fs.pl:129
42256 msgid ""
42257 "Unlike formats such as tar and squashfs, a filesystem does not \"just fit\" "
42258 "the files that it contains, but might have extra space.  Depending on how "
42259 "you are going to use the output, you might think this extra space is wasted "
42260 "and want to minimize it, or you might want to leave space so that more files"
42261 " can be added later.  Virt-make-fs defaults to minimizing the extra space, "
42262 "but you can use the I<--size> flag to leave space in the filesystem if you "
42263 "want it."
42264 msgstr ""
42265
42266 #. type: textblock
42267 #: ../tools/virt-make-fs.pl:137
42268 msgid ""
42269 "An alternative way to leave extra space but not make the output image any "
42270 "bigger is to use an alternative disk image format (instead of the default "
42271 "\"raw\" format).  Using I<--format=qcow2> will use the native QEmu/KVM qcow2"
42272 " image format (check your hypervisor supports this before using it).  This "
42273 "allows you to choose a large I<--size> but the extra space won't actually be"
42274 " allocated in the image until you try to store something in it."
42275 msgstr ""
42276
42277 #. type: textblock
42278 #: ../tools/virt-make-fs.pl:145
42279 msgid ""
42280 "Don't forget that you can also use local commands including L<resize2fs(8)> "
42281 "and L<virt-resize(1)> to resize existing filesystems, or rerun virt-make-fs "
42282 "to build another image from scratch."
42283 msgstr ""
42284
42285 #. type: verbatim
42286 #: ../tools/virt-make-fs.pl:151
42287 #, no-wrap
42288 msgid ""
42289 " virt-make-fs --format=qcow2 --size=+200M input output.img\n"
42290 "\n"
42291 msgstr ""
42292 " virt-make-fs --format=qcow2 --size=+200M input output.img\n"
42293 "\n"
42294
42295 #. type: textblock
42296 #: ../tools/virt-make-fs.pl:179
42297 msgid "Enable debugging information."
42298 msgstr "Увімкнути виведення діагностичних даних."
42299
42300 #. type: =item
42301 #: ../tools/virt-make-fs.pl:185
42302 msgid "B<--size=E<lt>NE<gt>>"
42303 msgstr "B<--size=E<lt>NE<gt>>"
42304
42305 #. type: =item
42306 #: ../tools/virt-make-fs.pl:187
42307 msgid "B<--size=+E<lt>NE<gt>>"
42308 msgstr "B<--size=+E<lt>NE<gt>>"
42309
42310 #. type: =item
42311 #: ../tools/virt-make-fs.pl:189
42312 msgid "B<-s E<lt>NE<gt>>"
42313 msgstr "B<-s E<lt>NE<gt>>"
42314
42315 #. type: =item
42316 #: ../tools/virt-make-fs.pl:191
42317 msgid "B<-s +E<lt>NE<gt>>"
42318 msgstr "B<-s +E<lt>NE<gt>>"
42319
42320 #. type: textblock
42321 #: ../tools/virt-make-fs.pl:193
42322 msgid ""
42323 "Use the I<--size> (or I<-s>) option to choose the size of the output image."
42324 msgstr ""
42325
42326 #. type: textblock
42327 #: ../tools/virt-make-fs.pl:196
42328 msgid ""
42329 "If this option is I<not> given, then the output image will be just large "
42330 "enough to contain all the files, with not much wasted space."
42331 msgstr ""
42332
42333 #. type: textblock
42334 #: ../tools/virt-make-fs.pl:199
42335 msgid ""
42336 "To choose a fixed size output disk, specify an absolute number followed by "
42337 "b/K/M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
42338 "Petabytes or Exabytes.  This must be large enough to contain all the input "
42339 "files, else you will get an error."
42340 msgstr ""
42341
42342 #. type: textblock
42343 #: ../tools/virt-make-fs.pl:204
42344 msgid ""
42345 "To leave extra space, specify C<+> (plus sign) and a number followed by "
42346 "b/K/M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
42347 "Petabytes or Exabytes.  For example: I<--size=+200M> means enough space for "
42348 "the input files, and (approximately) an extra 200 MB free space."
42349 msgstr ""
42350
42351 #. type: textblock
42352 #: ../tools/virt-make-fs.pl:210
42353 msgid ""
42354 "Note that virt-make-fs estimates free space, and therefore will not produce "
42355 "filesystems containing precisely the free space requested.  (It is much more"
42356 " expensive and time-consuming to produce a filesystem which has precisely "
42357 "the desired free space)."
42358 msgstr ""
42359
42360 #. type: =item
42361 #: ../tools/virt-make-fs.pl:219
42362 msgid "B<--format=E<lt>fmtE<gt>>"
42363 msgstr ""
42364
42365 #. type: =item
42366 #: ../tools/virt-make-fs.pl:221
42367 msgid "B<-F E<lt>fmtE<gt>>"
42368 msgstr ""
42369
42370 #. type: textblock
42371 #: ../tools/virt-make-fs.pl:223
42372 msgid "Choose the output disk image format."
42373 msgstr ""
42374
42375 #. type: textblock
42376 #: ../tools/virt-make-fs.pl:225
42377 msgid "The default is C<raw> (raw sparse disk image)."
42378 msgstr ""
42379
42380 #. type: textblock
42381 #: ../tools/virt-make-fs.pl:227
42382 msgid ""
42383 "For other choices, see the L<qemu-img(1)> manpage.  The only other choice "
42384 "that would really make sense here is C<qcow2>."
42385 msgstr ""
42386
42387 #. type: =item
42388 #: ../tools/virt-make-fs.pl:234
42389 msgid "B<--type=E<lt>fsE<gt>>"
42390 msgstr ""
42391
42392 #. type: =item
42393 #: ../tools/virt-make-fs.pl:236
42394 msgid "B<-t E<lt>fsE<gt>>"
42395 msgstr ""
42396
42397 #. type: textblock
42398 #: ../tools/virt-make-fs.pl:238
42399 msgid "Choose the output filesystem type."
42400 msgstr ""
42401
42402 #. type: textblock
42403 #: ../tools/virt-make-fs.pl:240
42404 msgid "The default is C<ext2>."
42405 msgstr "Типовим значенням є C<ext2>."
42406
42407 #. type: textblock
42408 #: ../tools/virt-make-fs.pl:242
42409 msgid ""
42410 "Any filesystem which is supported read-write by libguestfs can be used here."
42411 msgstr ""
42412
42413 #. type: =item
42414 #: ../tools/virt-make-fs.pl:249
42415 msgid "B<--partition>"
42416 msgstr "B<--partition>"
42417
42418 #. type: =item
42419 #: ../tools/virt-make-fs.pl:251
42420 msgid "B<--partition=E<lt>parttypeE<gt>>"
42421 msgstr ""
42422
42423 #. type: textblock
42424 #: ../tools/virt-make-fs.pl:253
42425 msgid ""
42426 "If specified, this flag adds an MBR partition table to the output disk "
42427 "image."
42428 msgstr ""
42429
42430 #. type: textblock
42431 #: ../tools/virt-make-fs.pl:256
42432 msgid ""
42433 "You can change the partition table type, eg. I<--partition=gpt> for large "
42434 "disks."
42435 msgstr ""
42436
42437 #. type: textblock
42438 #: ../tools/virt-make-fs.pl:259
42439 msgid ""
42440 "Note that if you just use a lonesome I<--partition>, the Perl option parser "
42441 "might consider the next parameter to be the partition type.  For example:"
42442 msgstr ""
42443
42444 #. type: verbatim
42445 #: ../tools/virt-make-fs.pl:263
42446 #, no-wrap
42447 msgid ""
42448 " virt-make-fs --partition input.tar output.img\n"
42449 "\n"
42450 msgstr ""
42451
42452 #. type: textblock
42453 #: ../tools/virt-make-fs.pl:265
42454 msgid ""
42455 "would cause virt-make-fs to think you wanted to use a partition type of "
42456 "C<input.tar> which is completely wrong.  To avoid this, use I<--> (a double "
42457 "dash) between options and the input and output arguments:"
42458 msgstr ""
42459
42460 #. type: verbatim
42461 #: ../tools/virt-make-fs.pl:269
42462 #, no-wrap
42463 msgid ""
42464 " virt-make-fs --partition -- input.tar output.img\n"
42465 "\n"
42466 msgstr ""
42467
42468 #. type: textblock
42469 #: ../tools/virt-make-fs.pl:271
42470 msgid "For MBR, virt-make-fs sets the partition type byte automatically."
42471 msgstr ""
42472
42473 #. type: textblock
42474 #: ../tools/virt-make-fs.pl:559
42475 msgid ""
42476 "L<guestfish(1)>, L<virt-resize(1)>, L<virt-tar-in(1)>, L<mkisofs(1)>, "
42477 "L<genisoimage(1)>, L<mksquashfs(1)>, L<mke2fs(8)>, L<resize2fs(8)>, "
42478 "L<guestfs(3)>, L<Sys::Guestfs(3)>, L<http://libguestfs.org/>."
42479 msgstr ""
42480 "L<guestfish(1)>, L<virt-resize(1)>, L<virt-tar-in(1)>, L<mkisofs(1)>, "
42481 "L<genisoimage(1)>, L<mksquashfs(1)>, L<mke2fs(8)>, L<resize2fs(8)>, "
42482 "L<guestfs(3)>, L<Sys::Guestfs(3)>, L<http://libguestfs.org/>."
42483
42484 #. type: textblock
42485 #: ../tools/virt-make-fs.pl:573 ../tools/virt-win-reg.pl:774
42486 msgid ""
42487 "When reporting bugs, please enable debugging and capture the I<complete> "
42488 "output:"
42489 msgstr ""
42490
42491 #. type: verbatim
42492 #: ../tools/virt-make-fs.pl:576
42493 #, no-wrap
42494 msgid ""
42495 " export LIBGUESTFS_DEBUG=1\n"
42496 " virt-make-fs --debug [...] > /tmp/virt-make-fs.log 2>&1\n"
42497 "\n"
42498 msgstr ""
42499 " export LIBGUESTFS_DEBUG=1\n"
42500 " virt-make-fs --debug [...] > /tmp/virt-make-fs.log 2>&1\n"
42501 "\n"
42502
42503 #. type: textblock
42504 #: ../tools/virt-make-fs.pl:579
42505 msgid ""
42506 "Attach /tmp/virt-make-fs.log to a new bug report at "
42507 "L<https://bugzilla.redhat.com/>"
42508 msgstr ""
42509
42510 #. type: textblock
42511 #: ../tools/virt-tar.pl:33
42512 msgid "virt-tar - Extract or upload files to a virtual machine"
42513 msgstr ""
42514
42515 #. type: verbatim
42516 #: ../tools/virt-tar.pl:37
42517 #, no-wrap
42518 msgid ""
42519 " virt-tar [--options] -x domname directory tarball\n"
42520 "\n"
42521 msgstr ""
42522
42523 #. type: verbatim
42524 #: ../tools/virt-tar.pl:39
42525 #, no-wrap
42526 msgid ""
42527 " virt-tar [--options] -u domname tarball directory\n"
42528 "\n"
42529 msgstr ""
42530
42531 #. type: verbatim
42532 #: ../tools/virt-tar.pl:41
42533 #, no-wrap
42534 msgid ""
42535 " virt-tar [--options] disk.img [disk.img ...] -x directory tarball\n"
42536 "\n"
42537 msgstr ""
42538
42539 #. type: verbatim
42540 #: ../tools/virt-tar.pl:43
42541 #, no-wrap
42542 msgid ""
42543 " virt-tar [--options] disk.img [disk.img ...] -u tarball directory\n"
42544 "\n"
42545 msgstr ""
42546
42547 #. type: =head2
42548 #: ../tools/virt-tar.pl:45 ../tools/virt-win-reg.pl:88
42549 msgid "NOTE"
42550 msgstr "ПРИМІТКА"
42551
42552 #. type: textblock
42553 #: ../tools/virt-tar.pl:47
42554 msgid ""
42555 "This tool is obsolete.  Use L<virt-copy-in(1)>, L<virt-copy-out(1)>, L<virt-"
42556 "tar-in(1)>, L<virt-tar-out(1)> as replacements."
42557 msgstr ""
42558
42559 #. type: textblock
42560 #: ../tools/virt-tar.pl:52
42561 msgid "Download C</home> from the VM into a local tarball:"
42562 msgstr ""
42563
42564 #. type: verbatim
42565 #: ../tools/virt-tar.pl:54
42566 #, no-wrap
42567 msgid ""
42568 " virt-tar -x domname /home home.tar\n"
42569 "\n"
42570 msgstr ""
42571
42572 #. type: verbatim
42573 #: ../tools/virt-tar.pl:56
42574 #, no-wrap
42575 msgid ""
42576 " virt-tar -zx domname /home home.tar.gz\n"
42577 "\n"
42578 msgstr ""
42579
42580 #. type: textblock
42581 #: ../tools/virt-tar.pl:58
42582 msgid "Upload a local tarball and unpack it inside C</tmp> in the VM:"
42583 msgstr ""
42584
42585 #. type: verbatim
42586 #: ../tools/virt-tar.pl:60
42587 #, no-wrap
42588 msgid ""
42589 " virt-tar -u domname uploadstuff.tar /tmp\n"
42590 "\n"
42591 msgstr ""
42592
42593 #. type: verbatim
42594 #: ../tools/virt-tar.pl:62
42595 #, no-wrap
42596 msgid ""
42597 " virt-tar -zu domname uploadstuff.tar.gz /tmp\n"
42598 "\n"
42599 msgstr ""
42600
42601 #. type: textblock
42602 #: ../tools/virt-tar.pl:66
42603 msgid ""
42604 "You must I<not> use C<virt-tar> with the I<-u> option (upload) on live "
42605 "virtual machines.  If you do this, you risk disk corruption in the VM.  C"
42606 "<virt-tar> tries to stop you from doing this, but doesn't catch all cases."
42607 msgstr ""
42608
42609 #. type: textblock
42610 #: ../tools/virt-tar.pl:71
42611 msgid ""
42612 "You can use I<-x> (extract) on live virtual machines, but you might get "
42613 "inconsistent results or errors if there is filesystem activity inside the "
42614 "VM.  If the live VM is synched and quiescent, then C<virt-tar> will usually "
42615 "work, but the only way to guarantee consistent results is if the virtual "
42616 "machine is shut down."
42617 msgstr ""
42618
42619 #. type: textblock
42620 #: ../tools/virt-tar.pl:79
42621 msgid ""
42622 "C<virt-tar> is a general purpose archive tool for downloading and uploading "
42623 "parts of a guest filesystem.  There are many possibilities: making backups, "
42624 "uploading data files, snooping on guest activity, fixing or customizing "
42625 "guests, etc."
42626 msgstr ""
42627
42628 #. type: textblock
42629 #: ../tools/virt-tar.pl:84
42630 msgid ""
42631 "If you want to just view a single file, use L<virt-cat(1)>.  If you just "
42632 "want to edit a single file, use L<virt-edit(1)>.  For more complex cases you"
42633 " should look at the L<guestfish(1)> tool."
42634 msgstr ""
42635
42636 #. type: textblock
42637 #: ../tools/virt-tar.pl:88
42638 msgid ""
42639 "There are two modes of operation: I<-x> (eXtract) downloads a directory and "
42640 "its contents (recursively) from the virtual machine into a local tarball.  "
42641 "I<-u> uploads from a local tarball, unpacking it into a directory inside the"
42642 " virtual machine.  You cannot use these two options together."
42643 msgstr ""
42644
42645 #. type: textblock
42646 #: ../tools/virt-tar.pl:94
42647 msgid ""
42648 "In addition, you may need to use the I<-z> (gZip) option to enable "
42649 "compression.  When uploading, you have to specify I<-z> if the upload file "
42650 "is compressed because virt-tar won't detect this on its own."
42651 msgstr ""
42652
42653 #. type: textblock
42654 #: ../tools/virt-tar.pl:98
42655 msgid ""
42656 "C<virt-tar> can only handle tar (optionally gzipped) format tarballs.  For "
42657 "example it cannot do PKZip files or bzip2 compression.  If you want that "
42658 "then you'll have to rebuild the tarballs yourself.  (This is a limitation of"
42659 " the L<libguestfs(3)> API)."
42660 msgstr ""
42661
42662 #. type: =item
42663 #: ../tools/virt-tar.pl:160
42664 msgid "B<--extract>"
42665 msgstr "B<--extract>"
42666
42667 #. type: =item
42668 #: ../tools/virt-tar.pl:162
42669 msgid "B<--download>"
42670 msgstr "B<--download>"
42671
42672 #. type: =item
42673 #: ../tools/virt-tar.pl:164
42674 msgid "B<-u>"
42675 msgstr "B<-u>"
42676
42677 #. type: =item
42678 #: ../tools/virt-tar.pl:166
42679 msgid "B<--upload>"
42680 msgstr "B<--upload>"
42681
42682 #. type: textblock
42683 #: ../tools/virt-tar.pl:168
42684 msgid ""
42685 "Use I<-x> to extract (download) a directory from a virtual machine to a "
42686 "local tarball."
42687 msgstr ""
42688
42689 #. type: textblock
42690 #: ../tools/virt-tar.pl:171
42691 msgid ""
42692 "Use I<-u> to upload and unpack from a local tarball into a virtual machine."
42693 "  Please read the L</WARNING> section above before using this option."
42694 msgstr ""
42695
42696 #. type: textblock
42697 #: ../tools/virt-tar.pl:175
42698 msgid "You must specify exactly one of these options."
42699 msgstr ""
42700
42701 #. type: =item
42702 #: ../tools/virt-tar.pl:181
42703 msgid "B<-z>"
42704 msgstr "B<-z>"
42705
42706 #. type: =item
42707 #: ../tools/virt-tar.pl:183
42708 msgid "B<--gzip>"
42709 msgstr "B<--gzip>"
42710
42711 #. type: textblock
42712 #: ../tools/virt-tar.pl:185
42713 msgid "Specify that the input or output tarball is gzip-compressed."
42714 msgstr ""
42715
42716 #. type: textblock
42717 #: ../tools/virt-tar.pl:298
42718 msgid ""
42719 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-"
42720 "copy-in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, "
42721 "L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
42722 "L<http://libguestfs.org/>."
42723 msgstr ""
42724 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-"
42725 "copy-in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, "
42726 "L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
42727 "L<http://libguestfs.org/>."
42728
42729 #. type: textblock
42730 #: ../tools/virt-win-reg.pl:37
42731 msgid ""
42732 "virt-win-reg - Export and merge Windows Registry entries from a Windows "
42733 "guest"
42734 msgstr ""
42735
42736 #. type: verbatim
42737 #: ../tools/virt-win-reg.pl:41
42738 #, no-wrap
42739 msgid ""
42740 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey'\n"
42741 "\n"
42742 msgstr ""
42743
42744 #. type: verbatim
42745 #: ../tools/virt-win-reg.pl:43
42746 #, no-wrap
42747 msgid ""
42748 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' name\n"
42749 "\n"
42750 msgstr ""
42751
42752 #. type: verbatim
42753 #: ../tools/virt-win-reg.pl:45
42754 #, no-wrap
42755 msgid ""
42756 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' @\n"
42757 "\n"
42758 msgstr ""
42759
42760 #. type: verbatim
42761 #: ../tools/virt-win-reg.pl:47
42762 #, no-wrap
42763 msgid ""
42764 " virt-win-reg --merge domname [input.reg ...]\n"
42765 "\n"
42766 msgstr ""
42767
42768 #. type: verbatim
42769 #: ../tools/virt-win-reg.pl:49
42770 #, no-wrap
42771 msgid ""
42772 " virt-win-reg [--options] disk.img ... # instead of domname\n"
42773 "\n"
42774 msgstr ""
42775
42776 #. type: textblock
42777 #: ../tools/virt-win-reg.pl:53
42778 msgid ""
42779 "You must I<not> use C<virt-win-reg> with the I<--merge> option on live "
42780 "virtual machines.  If you do this, you I<will> get irreversible disk "
42781 "corruption in the VM.  C<virt-win-reg> tries to stop you from doing this, "
42782 "but doesn't catch all cases."
42783 msgstr ""
42784
42785 #. type: textblock
42786 #: ../tools/virt-win-reg.pl:58
42787 msgid ""
42788 "Modifying the Windows Registry is an inherently risky operation.  The format"
42789 " is deliberately obscure and undocumented, and Registry changes can leave "
42790 "the system unbootable.  Therefore when using the I<--merge> option, make "
42791 "sure you have a reliable backup first."
42792 msgstr ""
42793
42794 #. type: textblock
42795 #: ../tools/virt-win-reg.pl:65
42796 msgid ""
42797 "This program can export and merge Windows Registry entries from a Windows "
42798 "guest."
42799 msgstr ""
42800
42801 #. type: textblock
42802 #: ../tools/virt-win-reg.pl:68
42803 msgid ""
42804 "The first parameter is the libvirt guest name or the raw disk image of a "
42805 "Windows guest."
42806 msgstr ""
42807
42808 #. type: textblock
42809 #: ../tools/virt-win-reg.pl:71
42810 msgid ""
42811 "If I<--merge> is I<not> specified, then the chosen registry key is "
42812 "displayed/exported (recursively).  For example:"
42813 msgstr ""
42814
42815 #. type: verbatim
42816 #: ../tools/virt-win-reg.pl:74
42817 #, no-wrap
42818 msgid ""
42819 " $ virt-win-reg Windows7 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft'\n"
42820 "\n"
42821 msgstr ""
42822 " $ virt-win-reg Windows7 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft'\n"
42823 "\n"
42824
42825 #. type: textblock
42826 #: ../tools/virt-win-reg.pl:76
42827 msgid ""
42828 "You can also display single values from within registry keys, for example:"
42829 msgstr ""
42830
42831 #. type: verbatim
42832 #: ../tools/virt-win-reg.pl:79
42833 #, no-wrap
42834 msgid ""
42835 " $ cvkey='HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion'\n"
42836 " $ virt-win-reg Windows7 $cvkey ProductName\n"
42837 " Windows 7 Enterprise\n"
42838 "\n"
42839 msgstr ""
42840 " $ cvkey='HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion'\n"
42841 " $ virt-win-reg Windows7 $cvkey ProductName\n"
42842 " Windows 7 Enterprise\n"
42843 "\n"
42844
42845 #. type: textblock
42846 #: ../tools/virt-win-reg.pl:83
42847 msgid ""
42848 "With I<--merge>, you can merge a textual regedit file into the Windows "
42849 "Registry:"
42850 msgstr ""
42851
42852 #. type: verbatim
42853 #: ../tools/virt-win-reg.pl:86
42854 #, no-wrap
42855 msgid ""
42856 " $ virt-win-reg --merge Windows7 changes.reg\n"
42857 "\n"
42858 msgstr ""
42859 " $ virt-win-reg --merge Windows7 changes.reg\n"
42860 "\n"
42861
42862 #. type: textblock
42863 #: ../tools/virt-win-reg.pl:90
42864 msgid ""
42865 "This program is only meant for simple access to the registry.  If you want "
42866 "to do complicated things with the registry, we suggest you download the "
42867 "Registry hive files from the guest using L<libguestfs(3)> or L<guestfish(1)>"
42868 " and access them locally, eg. using L<hivex(3)>, L<hivexsh(1)> or "
42869 "L<hivexregedit(1)>."
42870 msgstr ""
42871
42872 #. type: =item
42873 #: ../tools/virt-win-reg.pl:159
42874 msgid "B<--merge>"
42875 msgstr "B<--merge>"
42876
42877 #. type: textblock
42878 #: ../tools/virt-win-reg.pl:161
42879 msgid ""
42880 "In merge mode, this merges a textual regedit file into the Windows Registry "
42881 "of the virtual machine.  If this flag is I<not> given then virt-win-reg "
42882 "displays or exports Registry entries instead."
42883 msgstr ""
42884
42885 #. type: textblock
42886 #: ../tools/virt-win-reg.pl:165
42887 msgid ""
42888 "Note that I<--merge> is I<unsafe> to use on live virtual machines, and will "
42889 "result in disk corruption.  However exporting (without this flag)  is always"
42890 " safe."
42891 msgstr ""
42892
42893 #. type: =item
42894 #: ../tools/virt-win-reg.pl:173
42895 msgid "B<--encoding> UTF-16LE|ASCII"
42896 msgstr "B<--encoding> UTF-16LE|ASCII"
42897
42898 #. type: textblock
42899 #: ../tools/virt-win-reg.pl:175
42900 msgid ""
42901 "When merging (only), you may need to specify the encoding for strings to be "
42902 "used in the hive file.  This is explained in detail in "
42903 "L<Win::Hivex::Regedit(3)/ENCODING STRINGS>."
42904 msgstr ""
42905
42906 #. type: textblock
42907 #: ../tools/virt-win-reg.pl:179
42908 msgid ""
42909 "The default is to use UTF-16LE, which should work with recent versions of "
42910 "Windows."
42911 msgstr ""
42912
42913 #. type: =item
42914 #: ../tools/virt-win-reg.pl:186
42915 msgid "B<--unsafe-printable-strings>"
42916 msgstr "B<--unsafe-printable-strings>"
42917
42918 #. type: textblock
42919 #: ../tools/virt-win-reg.pl:188
42920 msgid ""
42921 "When exporting (only), assume strings are UTF-16LE and print them as strings"
42922 " instead of hex sequences.  Remove the final zero codepoint from strings if "
42923 "present."
42924 msgstr ""
42925
42926 #. type: textblock
42927 #: ../tools/virt-win-reg.pl:192
42928 msgid ""
42929 "This is unsafe and does not preserve the fidelity of strings in the original"
42930 " Registry for various reasons:"
42931 msgstr ""
42932
42933 #. type: textblock
42934 #: ../tools/virt-win-reg.pl:199
42935 msgid ""
42936 "Assumes the original encoding is UTF-16LE.  ASCII strings and strings in "
42937 "other encodings will be corrupted by this transformation."
42938 msgstr ""
42939
42940 #. type: textblock
42941 #: ../tools/virt-win-reg.pl:204
42942 msgid ""
42943 "Assumes that everything which has type 1 or 2 is really a string and that "
42944 "everything else is not a string, but the type field in real Registries is "
42945 "not reliable."
42946 msgstr ""
42947
42948 #. type: textblock
42949 #: ../tools/virt-win-reg.pl:210
42950 msgid ""
42951 "Loses information about whether a zero codepoint followed the string in the "
42952 "Registry or not."
42953 msgstr ""
42954
42955 #. type: textblock
42956 #: ../tools/virt-win-reg.pl:215
42957 msgid ""
42958 "This all happens because the Registry itself contains no information about "
42959 "how strings are encoded (see L<Win::Hivex::Regedit(3)/ENCODING STRINGS>)."
42960 msgstr ""
42961
42962 #. type: textblock
42963 #: ../tools/virt-win-reg.pl:219
42964 msgid ""
42965 "You should only use this option for quick hacking and debugging of the "
42966 "Registry contents, and I<never> use it if the output is going to be passed "
42967 "into another program or stored in another Registry."
42968 msgstr ""
42969
42970 #. type: =head1
42971 #: ../tools/virt-win-reg.pl:556
42972 msgid "SUPPORTED SYSTEMS"
42973 msgstr "ПІДТРИМУВАНІ СИСТЕМИ"
42974
42975 #. type: textblock
42976 #: ../tools/virt-win-reg.pl:558
42977 msgid ""
42978 "The program currently supports Windows NT-derived guests starting with "
42979 "Windows XP through to at least Windows 7."
42980 msgstr ""
42981
42982 #. type: textblock
42983 #: ../tools/virt-win-reg.pl:561
42984 msgid "The following Registry keys are supported:"
42985 msgstr ""
42986
42987 #. type: =item
42988 #: ../tools/virt-win-reg.pl:565
42989 msgid "C<HKEY_LOCAL_MACHINE\\SAM>"
42990 msgstr "C<HKEY_LOCAL_MACHINE\\SAM>"
42991
42992 #. type: =item
42993 #: ../tools/virt-win-reg.pl:567
42994 msgid "C<HKEY_LOCAL_MACHINE\\SECURITY>"
42995 msgstr "C<HKEY_LOCAL_MACHINE\\SECURITY>"
42996
42997 #. type: =item
42998 #: ../tools/virt-win-reg.pl:569
42999 msgid "C<HKEY_LOCAL_MACHINE\\SOFTWARE>"
43000 msgstr "C<HKEY_LOCAL_MACHINE\\SOFTWARE>"
43001
43002 #. type: =item
43003 #: ../tools/virt-win-reg.pl:571
43004 msgid "C<HKEY_LOCAL_MACHINE\\SYSTEM>"
43005 msgstr "C<HKEY_LOCAL_MACHINE\\SYSTEM>"
43006
43007 #. type: =item
43008 #: ../tools/virt-win-reg.pl:573
43009 msgid "C<HKEY_USERS\\.DEFAULT>"
43010 msgstr "C<HKEY_USERS\\.DEFAULT>"
43011
43012 #. type: =item
43013 #: ../tools/virt-win-reg.pl:575
43014 msgid "C<HKEY_USERS\\I<SID>>"
43015 msgstr "C<HKEY_USERS\\I<SID>>"
43016
43017 #. type: textblock
43018 #: ../tools/virt-win-reg.pl:577
43019 msgid "where I<SID> is a Windows User SID (eg. C<S-1-5-18>)."
43020 msgstr ""
43021
43022 #. type: =item
43023 #: ../tools/virt-win-reg.pl:579
43024 msgid "C<HKEY_USERS\\I<username>>"
43025 msgstr "C<HKEY_USERS\\I<користувач>>"
43026
43027 #. type: textblock
43028 #: ../tools/virt-win-reg.pl:581
43029 msgid ""
43030 "where I<username> is a local user name (this is a libguestfs extension)."
43031 msgstr ""
43032
43033 #. type: textblock
43034 #: ../tools/virt-win-reg.pl:585
43035 msgid ""
43036 "You can use C<HKLM> as a shorthand for C<HKEY_LOCAL_MACHINE>, and C<HKU> for"
43037 " C<HKEY_USERS>."
43038 msgstr ""
43039
43040 #. type: textblock
43041 #: ../tools/virt-win-reg.pl:588
43042 msgid ""
43043 "The literal keys C<HKEY_USERS\\$SID> and C<HKEY_CURRENT_USER> are not "
43044 "supported (there is no \"current user\")."
43045 msgstr ""
43046
43047 #. type: =head1
43048 #: ../tools/virt-win-reg.pl:591
43049 msgid "ENCODING"
43050 msgstr "КОДУВАННЯ"
43051
43052 #. type: textblock
43053 #: ../tools/virt-win-reg.pl:593
43054 msgid ""
43055 "C<virt-win-reg> expects that regedit files have already been reencoded in "
43056 "the local encoding.  Usually on Linux hosts, this means UTF-8 with Unix-"
43057 "style line endings.  Since Windows regedit files are often in UTF-16LE with "
43058 "Windows-style line endings, you may need to reencode the whole file before "
43059 "or after processing."
43060 msgstr ""
43061
43062 #. type: textblock
43063 #: ../tools/virt-win-reg.pl:599
43064 msgid ""
43065 "To reencode a file from Windows format to Linux (before processing it with "
43066 "the I<--merge> option), you would do something like this:"
43067 msgstr ""
43068
43069 #. type: verbatim
43070 #: ../tools/virt-win-reg.pl:602
43071 #, no-wrap
43072 msgid ""
43073 " iconv -f utf-16le -t utf-8 < win.reg | dos2unix > linux.reg\n"
43074 "\n"
43075 msgstr ""
43076 " iconv -f utf-16le -t utf-8 < win.reg | dos2unix > linux.reg\n"
43077 "\n"
43078
43079 #. type: textblock
43080 #: ../tools/virt-win-reg.pl:604
43081 msgid ""
43082 "To go in the opposite direction, after exporting and before sending the file"
43083 " to a Windows user, do something like this:"
43084 msgstr ""
43085
43086 #. type: verbatim
43087 #: ../tools/virt-win-reg.pl:607
43088 #, no-wrap
43089 msgid ""
43090 " unix2dos linux.reg | iconv -f utf-8 -t utf-16le > win.reg\n"
43091 "\n"
43092 msgstr ""
43093 " unix2dos linux.reg | iconv -f utf-8 -t utf-16le > win.reg\n"
43094 "\n"
43095
43096 #. type: textblock
43097 #: ../tools/virt-win-reg.pl:609
43098 msgid "For more information about encoding, see L<Win::Hivex::Regedit(3)>."
43099 msgstr ""
43100
43101 #. type: textblock
43102 #: ../tools/virt-win-reg.pl:611
43103 msgid ""
43104 "If you are unsure about the current encoding, use the L<file(1)> command.  "
43105 "Recent versions of Windows regedit.exe produce a UTF-16LE file with Windows-"
43106 "style (CRLF) line endings, like this:"
43107 msgstr ""
43108
43109 #. type: verbatim
43110 #: ../tools/virt-win-reg.pl:615
43111 #, no-wrap
43112 msgid ""
43113 " $ file software.reg\n"
43114 " software.reg: Little-endian UTF-16 Unicode text, with very long lines,\n"
43115 " with CRLF line terminators\n"
43116 "\n"
43117 msgstr ""
43118
43119 #. type: textblock
43120 #: ../tools/virt-win-reg.pl:619
43121 msgid "This file would need conversion before you could I<--merge> it."
43122 msgstr ""
43123
43124 #. type: =head1
43125 #: ../tools/virt-win-reg.pl:621
43126 msgid "CurrentControlSet etc."
43127 msgstr ""
43128
43129 #. type: textblock
43130 #: ../tools/virt-win-reg.pl:623
43131 msgid ""
43132 "Registry keys like C<CurrentControlSet> don't really exist in the Windows "
43133 "Registry at the level of the hive file, and therefore you cannot modify "
43134 "these."
43135 msgstr ""
43136
43137 #. type: textblock
43138 #: ../tools/virt-win-reg.pl:627
43139 msgid ""
43140 "C<CurrentControlSet> is usually an alias for C<ControlSet001>.  In some "
43141 "circumstances it might refer to another control set.  The way to find out is"
43142 " to look at the C<HKLM\\SYSTEM\\Select> key:"
43143 msgstr ""
43144
43145 #. type: verbatim
43146 #: ../tools/virt-win-reg.pl:631
43147 #, no-wrap
43148 msgid ""
43149 " # virt-win-reg WindowsGuest 'HKLM\\SYSTEM\\Select'\n"
43150 " [HKEY_LOCAL_MACHINE\\SYSTEM\\Select]\n"
43151 " \"Current\"=dword:00000001\n"
43152 " \"Default\"=dword:00000001\n"
43153 " \"Failed\"=dword:00000000\n"
43154 " \"LastKnownGood\"=dword:00000002\n"
43155 "\n"
43156 msgstr ""
43157 " # virt-win-reg WindowsGuest 'HKLM\\SYSTEM\\Select'\n"
43158 " [HKEY_LOCAL_MACHINE\\SYSTEM\\Select]\n"
43159 " \"Current\"=dword:00000001\n"
43160 " \"Default\"=dword:00000001\n"
43161 " \"Failed\"=dword:00000000\n"
43162 " \"LastKnownGood\"=dword:00000002\n"
43163 "\n"
43164
43165 #. type: textblock
43166 #: ../tools/virt-win-reg.pl:638
43167 msgid "\"Current\" is the one which Windows will choose when it boots."
43168 msgstr ""
43169
43170 #. type: textblock
43171 #: ../tools/virt-win-reg.pl:640
43172 msgid ""
43173 "Similarly, other C<Current...> keys in the path may need to be replaced."
43174 msgstr ""
43175
43176 #. type: =head1
43177 #: ../tools/virt-win-reg.pl:643
43178 msgid "DELETING REGISTRY KEYS AND VALUES"
43179 msgstr ""
43180
43181 #. type: textblock
43182 #: ../tools/virt-win-reg.pl:645
43183 msgid "To delete a whole registry key, use the syntax:"
43184 msgstr ""
43185
43186 #. type: verbatim
43187 #: ../tools/virt-win-reg.pl:647
43188 #, no-wrap
43189 msgid ""
43190 " [-HKEY_LOCAL_MACHINE\\Foo]\n"
43191 "\n"
43192 msgstr ""
43193
43194 #. type: textblock
43195 #: ../tools/virt-win-reg.pl:649
43196 msgid "To delete a single value within a key, use the syntax:"
43197 msgstr ""
43198
43199 #. type: verbatim
43200 #: ../tools/virt-win-reg.pl:651
43201 #, no-wrap
43202 msgid ""
43203 " [HKEY_LOCAL_MACHINE\\Foo]\n"
43204 " \"Value\"=-\n"
43205 "\n"
43206 msgstr ""
43207
43208 #. type: =head1
43209 #: ../tools/virt-win-reg.pl:654
43210 msgid "WINDOWS TIPS"
43211 msgstr ""
43212
43213 #. type: textblock
43214 #: ../tools/virt-win-reg.pl:656
43215 msgid ""
43216 "Note that some of these tips modify the guest disk image.  The guest I<must>"
43217 " be shut off, else you will get disk corruption."
43218 msgstr ""
43219
43220 #. type: =head2
43221 #: ../tools/virt-win-reg.pl:659
43222 msgid "RUNNING A BATCH SCRIPT WHEN A USER LOGS IN"
43223 msgstr ""
43224
43225 #. type: textblock
43226 #: ../tools/virt-win-reg.pl:661
43227 msgid ""
43228 "Prepare a DOS batch script, VBScript or executable.  Upload this using "
43229 "L<guestfish(1)>.  For this example the script is called C<test.bat> and it "
43230 "is uploaded into C<C:\\>:"
43231 msgstr ""
43232
43233 #. type: verbatim
43234 #: ../tools/virt-win-reg.pl:665
43235 #, no-wrap
43236 msgid ""
43237 " guestfish -i -d WindowsGuest upload test.bat /test.bat\n"
43238 "\n"
43239 msgstr ""
43240 " guestfish -i -d WindowsGuest upload test.bat /test.bat\n"
43241 "\n"
43242
43243 #. type: textblock
43244 #: ../tools/virt-win-reg.pl:667
43245 msgid "Prepare a regedit file containing the registry change:"
43246 msgstr ""
43247
43248 #. type: verbatim
43249 #: ../tools/virt-win-reg.pl:669
43250 #, no-wrap
43251 msgid ""
43252 " cat > test.reg <<'EOF'\n"
43253 " [HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnce]\n"
43254 " \"Test\"=\"c:\\\\test.bat\"\n"
43255 " EOF\n"
43256 "\n"
43257 msgstr ""
43258 " cat > test.reg <<'EOF'\n"
43259 " [HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnce]\n"
43260 " \"Test\"=\"c:\\\\test.bat\"\n"
43261 " EOF\n"
43262 "\n"
43263
43264 #. type: textblock
43265 #: ../tools/virt-win-reg.pl:674
43266 msgid ""
43267 "In this example we use the key C<RunOnce> which means that the script will "
43268 "run precisely once when the first user logs in.  If you want it to run every"
43269 " time a user logs in, replace C<RunOnce> with C<Run>."
43270 msgstr ""
43271
43272 #. type: textblock
43273 #: ../tools/virt-win-reg.pl:678
43274 msgid "Now update the registry:"
43275 msgstr "Оновіть регістр:"
43276
43277 #. type: verbatim
43278 #: ../tools/virt-win-reg.pl:680
43279 #, no-wrap
43280 msgid ""
43281 " virt-win-reg --merge WindowsGuest test.reg\n"
43282 "\n"
43283 msgstr ""
43284
43285 #. type: =head2
43286 #: ../tools/virt-win-reg.pl:682
43287 msgid "INSTALLING A SERVICE"
43288 msgstr ""
43289
43290 #. type: textblock
43291 #: ../tools/virt-win-reg.pl:684
43292 msgid ""
43293 "This section assumes you are familiar with Windows services, and you either "
43294 "have a program which handles the Windows Service Control Protocol directly "
43295 "or you want to run any program using a service wrapper like SrvAny or the "
43296 "free RHSrvAny."
43297 msgstr ""
43298
43299 #. type: textblock
43300 #: ../tools/virt-win-reg.pl:689
43301 msgid ""
43302 "First upload the program and optionally the service wrapper.  In this case "
43303 "the test program is called C<test.exe> and we are using the RHSrvAny "
43304 "wrapper:"
43305 msgstr ""
43306
43307 #. type: verbatim
43308 #: ../tools/virt-win-reg.pl:693
43309 #, no-wrap
43310 msgid ""
43311 " guestfish -i -d WindowsGuest <<EOF\n"
43312 "   upload rhsrvany.exe /rhsrvany.exe\n"
43313 "   upload test.exe /test.exe\n"
43314 " EOF\n"
43315 "\n"
43316 msgstr ""
43317 " guestfish -i -d WindowsGuest <<EOF\n"
43318 "   upload rhsrvany.exe /rhsrvany.exe\n"
43319 "   upload test.exe /test.exe\n"
43320 " EOF\n"
43321 "\n"
43322
43323 #. type: textblock
43324 #: ../tools/virt-win-reg.pl:698
43325 msgid ""
43326 "Prepare a regedit file containing the registry changes.  In this example, "
43327 "the first registry change is needed for the service itself or the service "
43328 "wrapper (if used).  The second registry change is only needed because I am "
43329 "using the RHSrvAny service wrapper."
43330 msgstr ""
43331
43332 #. type: verbatim
43333 #: ../tools/virt-win-reg.pl:703
43334 #, no-wrap
43335 msgid ""
43336 " cat > service.reg <<'EOF'\n"
43337 " [HKLM\\SYSTEM\\ControlSet001\\services\\RHSrvAny]\n"
43338 " \"Type\"=dword:00000010\n"
43339 " \"Start\"=dword:00000002\n"
43340 " \"ErrorControl\"=dword:00000001\n"
43341 " \"ImagePath\"=\"c:\\\\rhsrvany.exe\"\n"
43342 " \"DisplayName\"=\"RHSrvAny\"\n"
43343 " \"ObjectName\"=\"NetworkService\"\n"
43344 " \n"
43345 msgstr ""
43346 " cat > service.reg <<'EOF'\n"
43347 " [HKLM\\SYSTEM\\ControlSet001\\services\\RHSrvAny]\n"
43348 " \"Type\"=dword:00000010\n"
43349 " \"Start\"=dword:00000002\n"
43350 " \"ErrorControl\"=dword:00000001\n"
43351 " \"ImagePath\"=\"c:\\\\rhsrvany.exe\"\n"
43352 " \"DisplayName\"=\"RHSrvAny\"\n"
43353 " \"ObjectName\"=\"NetworkService\"\n"
43354 " \n"
43355
43356 #. type: verbatim
43357 #: ../tools/virt-win-reg.pl:712
43358 #, no-wrap
43359 msgid ""
43360 " [HKLM\\SYSTEM\\ControlSet001\\services\\RHSrvAny\\Parameters]\n"
43361 " \"CommandLine\"=\"c:\\\\test.exe\"\n"
43362 " \"PWD\"=\"c:\\\\Temp\"\n"
43363 " EOF\n"
43364 "\n"
43365 msgstr ""
43366 " [HKLM\\SYSTEM\\ControlSet001\\services\\RHSrvAny\\Parameters]\n"
43367 " \"CommandLine\"=\"c:\\\\test.exe\"\n"
43368 " \"PWD\"=\"c:\\\\Temp\"\n"
43369 " EOF\n"
43370 "\n"
43371
43372 #. type: textblock
43373 #: ../tools/virt-win-reg.pl:723
43374 msgid ""
43375 "For use of C<ControlSet001> see the section above in this manual page.  You "
43376 "may need to adjust this according to the control set that is in use by the "
43377 "guest."
43378 msgstr ""
43379
43380 #. type: textblock
43381 #: ../tools/virt-win-reg.pl:729
43382 msgid ""
43383 "C<\"ObjectName\"> controls the privileges that the service will have.  An "
43384 "alternative is C<\"ObjectName\"=\"LocalSystem\"> which would be the most "
43385 "privileged account."
43386 msgstr ""
43387
43388 #. type: textblock
43389 #: ../tools/virt-win-reg.pl:735
43390 msgid ""
43391 "For the meaning of the magic numbers, see this Microsoft KB article: "
43392 "L<http://support.microsoft.com/kb/103000>."
43393 msgstr ""
43394
43395 #. type: textblock
43396 #: ../tools/virt-win-reg.pl:740
43397 msgid "Update the registry:"
43398 msgstr "Оновіть регістр:"
43399
43400 #. type: verbatim
43401 #: ../tools/virt-win-reg.pl:742
43402 #, no-wrap
43403 msgid ""
43404 " virt-win-reg --merge WindowsGuest service.reg\n"
43405 "\n"
43406 msgstr ""
43407
43408 #. type: textblock
43409 #: ../tools/virt-win-reg.pl:746
43410 msgid ""
43411 "Be careful when passing parameters containing C<\\> (backslash) in the "
43412 "shell.  Usually you will have to use 'single quotes' or double backslashes "
43413 "(but not both) to protect them from the shell."
43414 msgstr ""
43415
43416 #. type: textblock
43417 #: ../tools/virt-win-reg.pl:750
43418 msgid "Paths and value names are case-insensitive."
43419 msgstr ""
43420
43421 #. type: textblock
43422 #: ../tools/virt-win-reg.pl:759
43423 msgid ""
43424 "L<hivex(3)>, L<hivexsh(1)>, L<hivexregedit(1)>, L<guestfs(3)>, "
43425 "L<guestfish(1)>, L<virt-cat(1)>, L<Sys::Guestfs(3)>, "
43426 "L<Sys::Guestfs::Lib(3)>, L<Win::Hivex(3)>, L<Win::Hivex::Regedit(3)>, "
43427 "L<Sys::Virt(3)>, L<http://libguestfs.org/>."
43428 msgstr ""
43429 "L<hivex(3)>, L<hivexsh(1)>, L<hivexregedit(1)>, L<guestfs(3)>, "
43430 "L<guestfish(1)>, L<virt-cat(1)>, L<Sys::Guestfs(3)>, "
43431 "L<Sys::Guestfs::Lib(3)>, L<Win::Hivex(3)>, L<Win::Hivex::Regedit(3)>, "
43432 "L<Sys::Virt(3)>, L<http://libguestfs.org/>."
43433
43434 #. type: verbatim
43435 #: ../tools/virt-win-reg.pl:777
43436 #, no-wrap
43437 msgid ""
43438 " export LIBGUESTFS_DEBUG=1\n"
43439 " virt-win-reg --debug [... rest ...] > /tmp/virt-win-reg.log 2>&1\n"
43440 "\n"
43441 msgstr ""
43442
43443 #. type: textblock
43444 #: ../tools/virt-win-reg.pl:780
43445 msgid ""
43446 "Attach /tmp/virt-win-reg.log to a new bug report at "
43447 "L<https://bugzilla.redhat.com/>"
43448 msgstr ""
43449
43450