Version 1.15.9.
[libguestfs.git] / po-docs / uk.po
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Red Hat Inc.
3 # This file is distributed under the same license as the libguestfs package.
4 #
5 # Translators:
6 # Yuri Chornoivan <yurchor@ukr.net>, 2011.
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: libguestfs\n"
10 "Report-Msgid-Bugs-To: libguestfs@redhat.com\n"
11 "POT-Creation-Date: 2011-12-03 11:24+0000\n"
12 "PO-Revision-Date: 2011-10-27 09:15+0000\n"
13 "Last-Translator: rjones <rjones@redhat.com>\n"
14 "Language-Team: Ukrainian <trans-uk@lists.fedoraproject.org>\n"
15 "Language: uk\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
20 "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
21
22 #. type: =head1
23 #: ../align/virt-alignment-scan.pod:3 ../cat/virt-cat.pod:3
24 #: ../cat/virt-filesystems.pod:3 ../cat/virt-ls.pod:3
25 #: ../clone/virt-sysprep.pod:3 ../df/virt-df.pod:3 ../edit/virt-edit.pod:3
26 #: ../erlang/examples/guestfs-erlang.pod:3 ../examples/guestfs-examples.pod:3
27 #: ../examples/guestfs-recipes.pod:14 ../examples/guestfs-testing.pod:3
28 #: ../fish/guestfish.pod:3 ../fish/virt-copy-in.pod:3
29 #: ../fish/virt-copy-out.pod:3 ../fish/virt-tar-in.pod:3
30 #: ../fish/virt-tar-out.pod:3 ../fuse/guestmount.pod:3
31 #: ../inspector/virt-inspector.pod:3 ../java/examples/guestfs-java.pod:3
32 #: ../ocaml/examples/guestfs-ocaml.pod:3 ../perl/examples/guestfs-perl.pod:3
33 #: ../python/examples/guestfs-python.pod:3 ../rescue/virt-rescue.pod:3
34 #: ../resize/virt-resize.pod:3 ../ruby/examples/guestfs-ruby.pod:3
35 #: ../sparsify/virt-sparsify.pod:3 ../src/guestfs.pod:3
36 #: ../test-tool/libguestfs-test-tool.pod:3
37 #: ../tools/virt-list-filesystems.pl:30 ../tools/virt-list-partitions.pl:30
38 #: ../tools/virt-make-fs.pl:35 ../tools/virt-tar.pl:31
39 #: ../tools/virt-win-reg.pl:35
40 msgid "NAME"
41 msgstr "НАЗВА"
42
43 #. type: textblock
44 #: ../align/virt-alignment-scan.pod:5
45 msgid "virt-alignment-scan - Check alignment of virtual machine partitions"
46 msgstr ""
47
48 #. type: =head1
49 #: ../align/virt-alignment-scan.pod:7 ../cat/virt-cat.pod:7
50 #: ../cat/virt-filesystems.pod:7 ../cat/virt-ls.pod:7
51 #: ../clone/virt-sysprep.pod:7 ../df/virt-df.pod:7 ../edit/virt-edit.pod:7
52 #: ../erlang/examples/guestfs-erlang.pod:7 ../examples/guestfs-examples.pod:7
53 #: ../fish/guestfish.pod:7 ../fish/virt-copy-in.pod:7
54 #: ../fish/virt-copy-out.pod:7 ../fish/virt-tar-in.pod:7
55 #: ../fish/virt-tar-out.pod:7 ../fuse/guestmount.pod:7
56 #: ../inspector/virt-inspector.pod:7 ../java/examples/guestfs-java.pod:7
57 #: ../ocaml/examples/guestfs-ocaml.pod:7 ../perl/examples/guestfs-perl.pod:7
58 #: ../python/examples/guestfs-python.pod:7 ../rescue/virt-rescue.pod:7
59 #: ../resize/virt-resize.pod:7 ../ruby/examples/guestfs-ruby.pod:7
60 #: ../sparsify/virt-sparsify.pod:7 ../src/guestfs.pod:7
61 #: ../test-tool/libguestfs-test-tool.pod:7
62 #: ../tools/virt-list-filesystems.pl:34 ../tools/virt-list-partitions.pl:34
63 #: ../tools/virt-make-fs.pl:39 ../tools/virt-tar.pl:35
64 #: ../tools/virt-win-reg.pl:39
65 msgid "SYNOPSIS"
66 msgstr "КОРОТКИЙ ОПИС"
67
68 #. type: verbatim
69 #: ../align/virt-alignment-scan.pod:9
70 #, no-wrap
71 msgid ""
72 " virt-alignment-scan [--options] -d domname\n"
73 "\n"
74 msgstr ""
75
76 #. type: verbatim
77 #: ../align/virt-alignment-scan.pod:11
78 #, no-wrap
79 msgid ""
80 " virt-alignment-scan [--options] -a disk.img [-a disk.img ...]\n"
81 "\n"
82 msgstr ""
83
84 #. type: =head1
85 #: ../align/virt-alignment-scan.pod:13 ../cat/virt-cat.pod:19
86 #: ../cat/virt-filesystems.pod:13 ../cat/virt-ls.pod:19
87 #: ../clone/virt-sysprep.pod:13 ../df/virt-df.pod:21 ../edit/virt-edit.pod:27
88 #: ../erlang/examples/guestfs-erlang.pod:16
89 #: ../examples/guestfs-examples.pod:19 ../examples/guestfs-recipes.pod:18
90 #: ../examples/guestfs-testing.pod:7 ../fish/guestfish.pod:30
91 #: ../fish/virt-copy-in.pod:19 ../fish/virt-copy-out.pod:13
92 #: ../fish/virt-tar-in.pod:21 ../fish/virt-tar-out.pod:15
93 #: ../fuse/guestmount.pod:20 ../inspector/virt-inspector.pod:19
94 #: ../java/examples/guestfs-java.pod:15 ../ocaml/examples/guestfs-ocaml.pod:25
95 #: ../perl/examples/guestfs-perl.pod:18
96 #: ../python/examples/guestfs-python.pod:14 ../rescue/virt-rescue.pod:31
97 #: ../resize/virt-resize.pod:13 ../ruby/examples/guestfs-ruby.pod:15
98 #: ../sparsify/virt-sparsify.pod:11 ../src/guestfs.pod:23
99 #: ../test-tool/libguestfs-test-tool.pod:11
100 #: ../tools/virt-list-filesystems.pl:40 ../tools/virt-list-partitions.pl:40
101 #: ../tools/virt-make-fs.pl:47 ../tools/virt-tar.pl:77
102 #: ../tools/virt-win-reg.pl:63
103 msgid "DESCRIPTION"
104 msgstr "ОПИС"
105
106 #. type: textblock
107 #: ../align/virt-alignment-scan.pod:15
108 msgid ""
109 "When older operating systems install themselves, the partitioning tools "
110 "place partitions at a sector misaligned with the underlying storage "
111 "(commonly the first partition starts on sector C<63>).  Misaligned "
112 "partitions can result in an operating system issuing more I/O than should be "
113 "necessary."
114 msgstr ""
115
116 #. type: textblock
117 #: ../align/virt-alignment-scan.pod:21
118 msgid ""
119 "The virt-alignment-scan tool checks the alignment of partitions in virtual "
120 "machines and disk images and warns you if there are alignment problems."
121 msgstr ""
122
123 #. type: textblock
124 #: ../align/virt-alignment-scan.pod:25
125 msgid ""
126 "Currently there is no virt tool for fixing alignment problems.  You can only "
127 "reinstall the guest operating system.  The following NetApp document "
128 "summarises the problem and possible solutions: L<http://media.netapp.com/"
129 "documents/tr-3747.pdf>"
130 msgstr ""
131
132 #. type: =head1
133 #: ../align/virt-alignment-scan.pod:30
134 msgid "OUTPUT"
135 msgstr ""
136
137 #. type: textblock
138 #: ../align/virt-alignment-scan.pod:32
139 msgid "To run this tool on a disk image directly, use the I<-a> option:"
140 msgstr ""
141
142 #. type: verbatim
143 #: ../align/virt-alignment-scan.pod:34
144 #, no-wrap
145 msgid ""
146 " $ virt-alignment-scan -a winxp.img\n"
147 " /dev/sda1        32256          512    bad (alignment < 4K)\n"
148 "\n"
149 msgstr ""
150
151 #. type: verbatim
152 #: ../align/virt-alignment-scan.pod:37
153 #, no-wrap
154 msgid ""
155 " $ virt-alignment-scan -a fedora16.img\n"
156 " /dev/sda1      1048576         1024K   ok\n"
157 " /dev/sda2      2097152         2048K   ok\n"
158 " /dev/sda3    526385152         2048K   ok\n"
159 "\n"
160 msgstr ""
161
162 #. type: textblock
163 #: ../align/virt-alignment-scan.pod:42
164 msgid ""
165 "To run the tool on a guest known to libvirt, use the I<-d> option and "
166 "possibly the I<-c> option:"
167 msgstr ""
168
169 #. type: verbatim
170 #: ../align/virt-alignment-scan.pod:45
171 #, no-wrap
172 msgid ""
173 " # virt-alignment-scan -d RHEL5\n"
174 " /dev/sda1        32256          512    bad (alignment < 4K)\n"
175 " /dev/sda2    106928640          512    bad (alignment < 4K)\n"
176 "\n"
177 msgstr ""
178
179 #. type: verbatim
180 #: ../align/virt-alignment-scan.pod:49
181 #, no-wrap
182 msgid ""
183 " $ virt-alignment-scan -c qemu:///system -d Win7TwoDisks\n"
184 " /dev/sda1      1048576         1024K   ok\n"
185 " /dev/sda2    105906176         1024K   ok\n"
186 " /dev/sdb1        65536           64K   ok\n"
187 "\n"
188 msgstr ""
189
190 #. type: textblock
191 #: ../align/virt-alignment-scan.pod:54
192 msgid ""
193 "The output consists of 4 or more whitespace-separated columns.  Only the "
194 "first 4 columns are signficant if you want to parse this from a program.  "
195 "The columns are:"
196 msgstr ""
197
198 #. type: =item
199 #: ../align/virt-alignment-scan.pod:60
200 msgid "col 1"
201 msgstr ""
202
203 #. type: textblock
204 #: ../align/virt-alignment-scan.pod:62
205 msgid ""
206 "the device and partition name (eg. C</dev/sda1> meaning the first partition "
207 "on the first block device)"
208 msgstr ""
209
210 #. type: =item
211 #: ../align/virt-alignment-scan.pod:65
212 msgid "col 2"
213 msgstr ""
214
215 #. type: textblock
216 #: ../align/virt-alignment-scan.pod:67
217 msgid "the start of the partition in bytes"
218 msgstr ""
219
220 #. type: =item
221 #: ../align/virt-alignment-scan.pod:69
222 msgid "col 3"
223 msgstr ""
224
225 #. type: textblock
226 #: ../align/virt-alignment-scan.pod:71
227 msgid "the alignment in bytes or Kbytes (eg. C<512> or C<4K>)"
228 msgstr ""
229
230 #. type: =item
231 #: ../align/virt-alignment-scan.pod:73
232 msgid "col 4"
233 msgstr ""
234
235 #. type: textblock
236 #: ../align/virt-alignment-scan.pod:75
237 msgid ""
238 "C<ok> if the alignment is best for performance, or C<bad> if the alignment "
239 "can cause performance problems"
240 msgstr ""
241
242 #. type: =item
243 #: ../align/virt-alignment-scan.pod:78
244 msgid "cols 5+"
245 msgstr ""
246
247 #. type: textblock
248 #: ../align/virt-alignment-scan.pod:80
249 msgid "optional free-text explanation."
250 msgstr ""
251
252 #. type: textblock
253 #: ../align/virt-alignment-scan.pod:84
254 msgid ""
255 "The exit code from the program changes depending on whether poorly aligned "
256 "partitions were found.  See L</EXIT STATUS> below."
257 msgstr ""
258
259 #. type: textblock
260 #: ../align/virt-alignment-scan.pod:87
261 msgid "If you just want the exit code with no output, use the I<-q> option."
262 msgstr ""
263
264 #. type: =head1
265 #: ../align/virt-alignment-scan.pod:89 ../cat/virt-cat.pod:62
266 #: ../cat/virt-filesystems.pod:91 ../cat/virt-ls.pod:261
267 #: ../clone/virt-sysprep.pod:42 ../df/virt-df.pod:59 ../edit/virt-edit.pod:62
268 #: ../fish/guestfish.pod:148 ../fish/virt-copy-in.pod:45
269 #: ../fish/virt-copy-out.pod:34 ../fish/virt-tar-in.pod:42
270 #: ../fish/virt-tar-out.pod:36 ../fuse/guestmount.pod:92
271 #: ../inspector/virt-inspector.pod:55 ../rescue/virt-rescue.pod:112
272 #: ../resize/virt-resize.pod:262 ../sparsify/virt-sparsify.pod:99
273 #: ../test-tool/libguestfs-test-tool.pod:36
274 #: ../tools/virt-list-filesystems.pl:53 ../tools/virt-list-partitions.pl:54
275 #: ../tools/virt-make-fs.pl:153 ../tools/virt-tar.pl:103
276 #: ../tools/virt-win-reg.pl:96
277 msgid "OPTIONS"
278 msgstr "ПАРАМЕТРИ"
279
280 #. type: =item
281 #: ../align/virt-alignment-scan.pod:93 ../cat/virt-cat.pod:66
282 #: ../cat/virt-filesystems.pod:95 ../cat/virt-ls.pod:265
283 #: ../clone/virt-sysprep.pod:46 ../df/virt-df.pod:63 ../edit/virt-edit.pod:66
284 #: ../fish/guestfish.pod:152 ../fuse/guestmount.pod:160
285 #: ../inspector/virt-inspector.pod:59 ../rescue/virt-rescue.pod:116
286 #: ../resize/virt-resize.pod:266 ../sparsify/virt-sparsify.pod:103
287 #: ../test-tool/libguestfs-test-tool.pod:40
288 #: ../tools/virt-list-filesystems.pl:61 ../tools/virt-list-partitions.pl:62
289 #: ../tools/virt-make-fs.pl:161 ../tools/virt-tar.pl:111
290 #: ../tools/virt-win-reg.pl:104
291 msgid "B<--help>"
292 msgstr "B<--help>"
293
294 #. type: textblock
295 #: ../align/virt-alignment-scan.pod:95 ../cat/virt-cat.pod:68
296 #: ../cat/virt-filesystems.pod:97 ../cat/virt-ls.pod:267
297 #: ../clone/virt-sysprep.pod:48 ../df/virt-df.pod:65 ../edit/virt-edit.pod:68
298 #: ../inspector/virt-inspector.pod:61 ../rescue/virt-rescue.pod:118
299 #: ../tools/virt-list-filesystems.pl:63 ../tools/virt-list-partitions.pl:64
300 #: ../tools/virt-make-fs.pl:163 ../tools/virt-tar.pl:113
301 #: ../tools/virt-win-reg.pl:106
302 msgid "Display brief help."
303 msgstr "Показати коротку довідку."
304
305 #. type: =item
306 #: ../align/virt-alignment-scan.pod:97 ../cat/virt-cat.pod:70
307 #: ../cat/virt-filesystems.pod:99 ../cat/virt-ls.pod:269
308 #: ../clone/virt-sysprep.pod:50 ../df/virt-df.pod:67 ../edit/virt-edit.pod:70
309 #: ../inspector/virt-inspector.pod:63 ../rescue/virt-rescue.pod:120
310 msgid "B<-a> file"
311 msgstr "B<-a> файл"
312
313 #. type: =item
314 #: ../align/virt-alignment-scan.pod:99 ../cat/virt-cat.pod:72
315 #: ../cat/virt-filesystems.pod:101 ../cat/virt-ls.pod:271
316 #: ../clone/virt-sysprep.pod:52 ../df/virt-df.pod:69 ../edit/virt-edit.pod:72
317 #: ../inspector/virt-inspector.pod:65 ../rescue/virt-rescue.pod:122
318 msgid "B<--add> file"
319 msgstr "B<--add> файл"
320
321 #. type: textblock
322 #: ../align/virt-alignment-scan.pod:101 ../clone/virt-sysprep.pod:54
323 msgid "Add I<file> which should be a disk image from a virtual machine."
324 msgstr ""
325
326 #. type: textblock
327 #: ../align/virt-alignment-scan.pod:103 ../cat/virt-cat.pod:78
328 #: ../cat/virt-filesystems.pod:107 ../cat/virt-ls.pod:277
329 #: ../clone/virt-sysprep.pod:56 ../df/virt-df.pod:75 ../edit/virt-edit.pod:78
330 #: ../fish/guestfish.pod:174 ../fuse/guestmount.pod:102
331 #: ../inspector/virt-inspector.pod:71 ../rescue/virt-rescue.pod:128
332 msgid ""
333 "The format of the disk image is auto-detected.  To override this and force a "
334 "particular format use the I<--format=..> option."
335 msgstr ""
336
337 #. type: =item
338 #: ../align/virt-alignment-scan.pod:106 ../cat/virt-cat.pod:81
339 #: ../cat/virt-filesystems.pod:125 ../cat/virt-ls.pod:291
340 #: ../clone/virt-sysprep.pod:59 ../df/virt-df.pod:78
341 #: ../rescue/virt-rescue.pod:135
342 msgid "B<-c> URI"
343 msgstr "B<-c> адреса"
344
345 #. type: =item
346 #: ../align/virt-alignment-scan.pod:108 ../cat/virt-cat.pod:83
347 #: ../cat/virt-filesystems.pod:127 ../cat/virt-ls.pod:293
348 #: ../clone/virt-sysprep.pod:61 ../df/virt-df.pod:80
349 #: ../rescue/virt-rescue.pod:137
350 msgid "B<--connect> URI"
351 msgstr "B<--connect> адреса"
352
353 #. type: textblock
354 #: ../align/virt-alignment-scan.pod:110 ../cat/virt-cat.pod:85
355 #: ../cat/virt-filesystems.pod:129 ../cat/virt-ls.pod:295
356 #: ../clone/virt-sysprep.pod:63 ../df/virt-df.pod:82 ../edit/virt-edit.pod:99
357 #: ../inspector/virt-inspector.pod:78 ../rescue/virt-rescue.pod:139
358 #: ../tools/virt-list-filesystems.pl:81 ../tools/virt-list-partitions.pl:82
359 #: ../tools/virt-tar.pl:131 ../tools/virt-win-reg.pl:132
360 msgid ""
361 "If using libvirt, connect to the given I<URI>.  If omitted, then we connect "
362 "to the default libvirt hypervisor."
363 msgstr ""
364
365 #. type: textblock
366 #: ../align/virt-alignment-scan.pod:113 ../cat/virt-cat.pod:88
367 #: ../cat/virt-filesystems.pod:132 ../cat/virt-ls.pod:298
368 #: ../clone/virt-sysprep.pod:66 ../df/virt-df.pod:85
369 #: ../rescue/virt-rescue.pod:142
370 msgid ""
371 "If you specify guest block devices directly (I<-a>), then libvirt is not "
372 "used at all."
373 msgstr ""
374
375 #. type: =item
376 #: ../align/virt-alignment-scan.pod:116 ../cat/virt-cat.pod:91
377 #: ../cat/virt-filesystems.pod:141 ../cat/virt-ls.pod:307
378 #: ../clone/virt-sysprep.pod:69 ../df/virt-df.pod:94 ../edit/virt-edit.pod:105
379 #: ../inspector/virt-inspector.pod:85 ../rescue/virt-rescue.pod:145
380 msgid "B<-d> guest"
381 msgstr "B<-d> гість"
382
383 #. type: =item
384 #: ../align/virt-alignment-scan.pod:118 ../cat/virt-cat.pod:93
385 #: ../cat/virt-filesystems.pod:143 ../cat/virt-ls.pod:309
386 #: ../clone/virt-sysprep.pod:71 ../df/virt-df.pod:96 ../edit/virt-edit.pod:107
387 #: ../inspector/virt-inspector.pod:87 ../rescue/virt-rescue.pod:147
388 msgid "B<--domain> guest"
389 msgstr "B<--domain> гість"
390
391 #. type: textblock
392 #: ../align/virt-alignment-scan.pod:120 ../cat/virt-cat.pod:95
393 #: ../cat/virt-filesystems.pod:145 ../cat/virt-ls.pod:311
394 #: ../clone/virt-sysprep.pod:73 ../df/virt-df.pod:98 ../edit/virt-edit.pod:109
395 #: ../inspector/virt-inspector.pod:89 ../rescue/virt-rescue.pod:149
396 msgid ""
397 "Add all the disks from the named libvirt guest.  Domain UUIDs can be used "
398 "instead of names."
399 msgstr ""
400
401 #. type: =item
402 #: ../align/virt-alignment-scan.pod:123 ../cat/virt-cat.pod:105
403 #: ../cat/virt-filesystems.pod:170 ../cat/virt-ls.pod:328
404 #: ../clone/virt-sysprep.pod:95 ../df/virt-df.pod:101
405 #: ../fish/guestfish.pod:233 ../fuse/guestmount.pod:142
406 #: ../inspector/virt-inspector.pod:99 ../rescue/virt-rescue.pod:152
407 msgid "B<--format=raw|qcow2|..>"
408 msgstr "B<--format=raw|qcow2|..>"
409
410 #. type: =item
411 #: ../align/virt-alignment-scan.pod:125 ../cat/virt-cat.pod:107
412 #: ../cat/virt-filesystems.pod:172 ../cat/virt-ls.pod:330
413 #: ../clone/virt-sysprep.pod:97 ../df/virt-df.pod:103
414 #: ../edit/virt-edit.pod:134 ../fish/guestfish.pod:235
415 #: ../fuse/guestmount.pod:144 ../inspector/virt-inspector.pod:101
416 #: ../rescue/virt-rescue.pod:154
417 msgid "B<--format>"
418 msgstr "B<--format>"
419
420 #. type: textblock
421 #: ../align/virt-alignment-scan.pod:127 ../cat/virt-cat.pod:109
422 #: ../cat/virt-filesystems.pod:174 ../cat/virt-ls.pod:332
423 #: ../clone/virt-sysprep.pod:99 ../df/virt-df.pod:105
424 #: ../edit/virt-edit.pod:136 ../fish/guestfish.pod:237
425 #: ../fuse/guestmount.pod:146 ../rescue/virt-rescue.pod:156
426 msgid ""
427 "The default for the I<-a> option is to auto-detect the format of the disk "
428 "image.  Using this forces the disk format for I<-a> options which follow on "
429 "the command line.  Using I<--format> with no argument switches back to auto-"
430 "detection for subsequent I<-a> options."
431 msgstr ""
432
433 #. type: textblock
434 #: ../align/virt-alignment-scan.pod:132 ../cat/virt-cat.pod:114
435 #: ../cat/virt-filesystems.pod:179 ../cat/virt-ls.pod:337
436 #: ../clone/virt-sysprep.pod:104 ../df/virt-df.pod:110
437 #: ../edit/virt-edit.pod:141 ../fish/guestfish.pod:242
438 #: ../fish/guestfish.pod:673 ../inspector/virt-inspector.pod:351
439 #: ../rescue/virt-rescue.pod:161 ../src/guestfs.pod:2877
440 msgid "For example:"
441 msgstr "Приклад:"
442
443 #. type: verbatim
444 #: ../align/virt-alignment-scan.pod:134
445 #, no-wrap
446 msgid ""
447 " virt-alignment-scan --format=raw -a disk.img\n"
448 "\n"
449 msgstr ""
450
451 #. type: textblock
452 #: ../align/virt-alignment-scan.pod:136 ../cat/virt-cat.pod:118
453 #: ../cat/virt-filesystems.pod:183 ../cat/virt-ls.pod:341
454 #: ../clone/virt-sysprep.pod:108 ../df/virt-df.pod:114
455 #: ../edit/virt-edit.pod:145 ../fish/guestfish.pod:246
456 #: ../rescue/virt-rescue.pod:165
457 msgid "forces raw format (no auto-detection) for C<disk.img>."
458 msgstr ""
459
460 #. type: verbatim
461 #: ../align/virt-alignment-scan.pod:138
462 #, no-wrap
463 msgid ""
464 " virt-alignment-scan --format=raw -a disk.img --format -a another.img\n"
465 "\n"
466 msgstr ""
467
468 #. type: textblock
469 #: ../align/virt-alignment-scan.pod:140 ../cat/virt-cat.pod:122
470 #: ../cat/virt-filesystems.pod:187 ../cat/virt-ls.pod:345
471 #: ../clone/virt-sysprep.pod:112 ../df/virt-df.pod:118
472 #: ../edit/virt-edit.pod:149 ../fish/guestfish.pod:250
473 #: ../rescue/virt-rescue.pod:169
474 msgid ""
475 "forces raw format (no auto-detection) for C<disk.img> and reverts to auto-"
476 "detection for C<another.img>."
477 msgstr ""
478
479 #. type: textblock
480 #: ../align/virt-alignment-scan.pod:143 ../cat/virt-cat.pod:125
481 #: ../cat/virt-filesystems.pod:190 ../cat/virt-ls.pod:348
482 #: ../clone/virt-sysprep.pod:115 ../df/virt-df.pod:121
483 #: ../edit/virt-edit.pod:152 ../rescue/virt-rescue.pod:172
484 msgid ""
485 "If you have untrusted raw-format guest disk images, you should use this "
486 "option to specify the disk format.  This avoids a possible security problem "
487 "with malicious guests (CVE-2010-3851)."
488 msgstr ""
489
490 #. type: =item
491 #: ../align/virt-alignment-scan.pod:147 ../resize/virt-resize.pod:497
492 #: ../sparsify/virt-sparsify.pod:177
493 msgid "B<-q>"
494 msgstr "B<-q>"
495
496 #. type: =item
497 #: ../align/virt-alignment-scan.pod:149 ../resize/virt-resize.pod:499
498 #: ../sparsify/virt-sparsify.pod:179
499 msgid "B<--quiet>"
500 msgstr "B<--quiet>"
501
502 #. type: textblock
503 #: ../align/virt-alignment-scan.pod:151
504 msgid ""
505 "Don't produce any output.  Just set the exit code (see L</EXIT STATUS> "
506 "below)."
507 msgstr ""
508
509 #. type: =item
510 #: ../align/virt-alignment-scan.pod:154 ../cat/virt-cat.pod:134
511 #: ../cat/virt-filesystems.pod:261 ../cat/virt-ls.pod:425
512 #: ../clone/virt-sysprep.pod:138 ../df/virt-df.pod:173
513 #: ../edit/virt-edit.pod:161 ../fish/guestfish.pod:390
514 #: ../fuse/guestmount.pod:266 ../inspector/virt-inspector.pod:119
515 #: ../rescue/virt-rescue.pod:219 ../sparsify/virt-sparsify.pod:183
516 msgid "B<-v>"
517 msgstr "B<-v>"
518
519 #. type: =item
520 #: ../align/virt-alignment-scan.pod:156 ../cat/virt-cat.pod:136
521 #: ../cat/virt-filesystems.pod:263 ../cat/virt-ls.pod:427
522 #: ../clone/virt-sysprep.pod:140 ../df/virt-df.pod:175
523 #: ../edit/virt-edit.pod:163 ../fish/guestfish.pod:392
524 #: ../fuse/guestmount.pod:268 ../inspector/virt-inspector.pod:121
525 #: ../rescue/virt-rescue.pod:221 ../sparsify/virt-sparsify.pod:185
526 msgid "B<--verbose>"
527 msgstr "B<--verbose>"
528
529 #. type: textblock
530 #: ../align/virt-alignment-scan.pod:158 ../cat/virt-cat.pod:138
531 #: ../cat/virt-filesystems.pod:265 ../cat/virt-ls.pod:429
532 #: ../clone/virt-sysprep.pod:142 ../df/virt-df.pod:177
533 #: ../edit/virt-edit.pod:165 ../inspector/virt-inspector.pod:123
534 #: ../rescue/virt-rescue.pod:223 ../sparsify/virt-sparsify.pod:187
535 msgid "Enable verbose messages for debugging."
536 msgstr ""
537
538 #. type: =item
539 #: ../align/virt-alignment-scan.pod:160 ../cat/virt-cat.pod:140
540 #: ../cat/virt-filesystems.pod:267 ../cat/virt-ls.pod:431
541 #: ../clone/virt-sysprep.pod:144 ../df/virt-df.pod:179
542 #: ../edit/virt-edit.pod:167 ../fish/guestfish.pod:397
543 #: ../fuse/guestmount.pod:272 ../inspector/virt-inspector.pod:125
544 #: ../rescue/virt-rescue.pod:225 ../resize/virt-resize.pod:567
545 #: ../sparsify/virt-sparsify.pod:189
546 msgid "B<-V>"
547 msgstr "B<-V>"
548
549 #. type: =item
550 #: ../align/virt-alignment-scan.pod:162 ../cat/virt-cat.pod:142
551 #: ../cat/virt-filesystems.pod:269 ../cat/virt-ls.pod:433
552 #: ../clone/virt-sysprep.pod:146 ../df/virt-df.pod:181
553 #: ../edit/virt-edit.pod:169 ../fish/guestfish.pod:399
554 #: ../fuse/guestmount.pod:274 ../inspector/virt-inspector.pod:127
555 #: ../rescue/virt-rescue.pod:227 ../resize/virt-resize.pod:569
556 #: ../sparsify/virt-sparsify.pod:191 ../tools/virt-list-filesystems.pl:69
557 #: ../tools/virt-list-partitions.pl:70 ../tools/virt-make-fs.pl:169
558 #: ../tools/virt-tar.pl:119 ../tools/virt-win-reg.pl:112
559 msgid "B<--version>"
560 msgstr "B<--version>"
561
562 #. type: textblock
563 #: ../align/virt-alignment-scan.pod:164 ../cat/virt-cat.pod:144
564 #: ../cat/virt-filesystems.pod:271 ../cat/virt-ls.pod:435
565 #: ../clone/virt-sysprep.pod:148 ../df/virt-df.pod:183
566 #: ../edit/virt-edit.pod:171 ../inspector/virt-inspector.pod:129
567 #: ../rescue/virt-rescue.pod:229 ../resize/virt-resize.pod:571
568 #: ../sparsify/virt-sparsify.pod:193 ../tools/virt-list-filesystems.pl:71
569 #: ../tools/virt-list-partitions.pl:72 ../tools/virt-make-fs.pl:171
570 #: ../tools/virt-tar.pl:121 ../tools/virt-win-reg.pl:114
571 msgid "Display version number and exit."
572 msgstr "Показати дані щодо версії і завершити роботу."
573
574 #. type: =item
575 #: ../align/virt-alignment-scan.pod:166 ../cat/virt-cat.pod:146
576 #: ../cat/virt-filesystems.pod:281 ../cat/virt-ls.pod:437
577 #: ../clone/virt-sysprep.pod:150 ../df/virt-df.pod:185
578 #: ../edit/virt-edit.pod:173 ../fish/guestfish.pod:412
579 #: ../fuse/guestmount.pod:287 ../inspector/virt-inspector.pod:131
580 #: ../rescue/virt-rescue.pod:240 ../sparsify/virt-sparsify.pod:195
581 #: ../tools/virt-tar.pl:158
582 msgid "B<-x>"
583 msgstr "B<-x>"
584
585 #. type: textblock
586 #: ../align/virt-alignment-scan.pod:168 ../cat/virt-cat.pod:148
587 #: ../cat/virt-filesystems.pod:283 ../cat/virt-ls.pod:439
588 #: ../clone/virt-sysprep.pod:152 ../df/virt-df.pod:187
589 #: ../edit/virt-edit.pod:175 ../inspector/virt-inspector.pod:133
590 #: ../rescue/virt-rescue.pod:242 ../sparsify/virt-sparsify.pod:197
591 msgid "Enable tracing of libguestfs API calls."
592 msgstr ""
593
594 #. type: =head1
595 #: ../align/virt-alignment-scan.pod:172
596 msgid "RECOMMENDED ALIGNMENT"
597 msgstr ""
598
599 #. type: textblock
600 #: ../align/virt-alignment-scan.pod:174
601 msgid ""
602 "Operating systems older than Windows 2008 and Linux before ca.2010 place the "
603 "first sector of the first partition at sector 63, with a 512 byte sector "
604 "size.  This happens because of a historical accident.  Drives have to report "
605 "a cylinder / head / sector (CHS) geometry to the BIOS.  The geometry is "
606 "completely meaningless on modern drives, but it happens that the geometry "
607 "reported always has 63 sectors per track.  The operating system therefore "
608 "places the first partition at the start of the second \"track\", at sector "
609 "63."
610 msgstr ""
611
612 #. type: textblock
613 #: ../align/virt-alignment-scan.pod:183
614 msgid ""
615 "When the guest OS is virtualized, the host operating system and hypervisor "
616 "may prefer accesses aligned to one of:"
617 msgstr ""
618
619 #. type: =item
620 #: ../align/virt-alignment-scan.pod:188
621 msgid "* 512 bytes"
622 msgstr ""
623
624 #. type: textblock
625 #: ../align/virt-alignment-scan.pod:190
626 msgid ""
627 "if the host OS uses local storage directly on hard drive partitions, and the "
628 "hard drive has 512 byte physical sectors."
629 msgstr ""
630
631 #. type: =item
632 #: ../align/virt-alignment-scan.pod:193
633 msgid "* 4 Kbytes"
634 msgstr ""
635
636 #. type: textblock
637 #: ../align/virt-alignment-scan.pod:195
638 msgid ""
639 "for local storage on new hard drives with 4Kbyte physical sectors; for file-"
640 "backed storage on filesystems with 4Kbyte block size; or for some types of "
641 "network-attached storage."
642 msgstr ""
643
644 #. type: =item
645 #: ../align/virt-alignment-scan.pod:199
646 msgid "* 64 Kbytes"
647 msgstr ""
648
649 #. type: textblock
650 #: ../align/virt-alignment-scan.pod:201
651 msgid ""
652 "for high-end network-attached storage.  This is the optimal block size for "
653 "some NetApp hardware."
654 msgstr ""
655
656 #. type: =item
657 #: ../align/virt-alignment-scan.pod:204
658 msgid "* 1 Mbyte"
659 msgstr ""
660
661 #. type: textblock
662 #: ../align/virt-alignment-scan.pod:206
663 msgid "see L</1 MB PARTITION ALIGNMENT> below."
664 msgstr ""
665
666 #. type: textblock
667 #: ../align/virt-alignment-scan.pod:210
668 msgid ""
669 "Partitions which are not aligned correctly to the underlying storage cause "
670 "extra I/O.  For example:"
671 msgstr ""
672
673 #. type: verbatim
674 #: ../align/virt-alignment-scan.pod:213
675 #, no-wrap
676 msgid ""
677 "                       sect#63\n"
678 "                       +--------------------------+------\n"
679 "                       |         guest            |\n"
680 "                       |    filesystem block      |\n"
681 " ---+------------------+------+-------------------+-----+---\n"
682 "    |  host block             |  host block             |\n"
683 "    |                         |                         |\n"
684 " ---+-------------------------+-------------------------+---\n"
685 "\n"
686 msgstr ""
687
688 #. type: textblock
689 #: ../align/virt-alignment-scan.pod:222
690 msgid ""
691 "In this example, each time a 4K guest block is read, two blocks on the host "
692 "must be accessed (so twice as much I/O is done).  When a 4K guest block is "
693 "written, two host blocks must first be read, the old and new data combined, "
694 "and the two blocks written back (4x I/O)."
695 msgstr ""
696
697 #. type: =head2
698 #: ../align/virt-alignment-scan.pod:227
699 msgid "LINUX HOST BLOCK AND I/O SIZE"
700 msgstr ""
701
702 #. type: textblock
703 #: ../align/virt-alignment-scan.pod:229
704 msgid ""
705 "New versions of the Linux kernel expose the physical and logical block size, "
706 "and minimum and recommended I/O size."
707 msgstr ""
708
709 #. type: textblock
710 #: ../align/virt-alignment-scan.pod:232
711 msgid "For a typical consumer hard drive with 512 byte sectors:"
712 msgstr ""
713
714 #. type: verbatim
715 #: ../align/virt-alignment-scan.pod:234
716 #, no-wrap
717 msgid ""
718 " $ cat /sys/block/sda/queue/hw_sector_size\n"
719 " 512\n"
720 " $ cat /sys/block/sda/queue/physical_block_size\n"
721 " 512\n"
722 " $ cat /sys/block/sda/queue/logical_block_size\n"
723 " 512\n"
724 " $ cat /sys/block/sda/queue/minimum_io_size\n"
725 " 512\n"
726 " $ cat /sys/block/sda/queue/optimal_io_size\n"
727 " 0\n"
728 "\n"
729 msgstr ""
730
731 #. type: textblock
732 #: ../align/virt-alignment-scan.pod:245
733 msgid "For a new consumer hard drive with 4Kbyte sectors:"
734 msgstr ""
735
736 #. type: verbatim
737 #: ../align/virt-alignment-scan.pod:247
738 #, no-wrap
739 msgid ""
740 " $ cat /sys/block/sda/queue/hw_sector_size\n"
741 " 4096\n"
742 " $ cat /sys/block/sda/queue/physical_block_size\n"
743 " 4096\n"
744 " $ cat /sys/block/sda/queue/logical_block_size\n"
745 " 4096\n"
746 " $ cat /sys/block/sda/queue/minimum_io_size\n"
747 " 4096\n"
748 " $ cat /sys/block/sda/queue/optimal_io_size\n"
749 " 0\n"
750 "\n"
751 msgstr ""
752
753 #. type: textblock
754 #: ../align/virt-alignment-scan.pod:258
755 msgid "For a NetApp LUN:"
756 msgstr ""
757
758 #. type: verbatim
759 #: ../align/virt-alignment-scan.pod:260
760 #, no-wrap
761 msgid ""
762 " $ cat /sys/block/sdc/queue/logical_block_size\n"
763 " 512\n"
764 " $ cat /sys/block/sdc/queue/physical_block_size\n"
765 " 512\n"
766 " $ cat /sys/block/sdc/queue/minimum_io_size\n"
767 " 4096\n"
768 " $ cat /sys/block/sdc/queue/optimal_io_size\n"
769 " 65536\n"
770 "\n"
771 msgstr ""
772
773 #. type: textblock
774 #: ../align/virt-alignment-scan.pod:269
775 msgid ""
776 "The NetApp allows 512 byte accesses (but they will be very inefficient), "
777 "prefers a minimum 4K I/O size, but the optimal I/O size is 64K."
778 msgstr ""
779
780 #. type: textblock
781 #: ../align/virt-alignment-scan.pod:273
782 msgid ""
783 "For detailed information about what these numbers mean, see L<http://docs."
784 "redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/"
785 "Storage_Administration_Guide/newstorage-iolimits.html>"
786 msgstr ""
787
788 #. type: textblock
789 #: ../align/virt-alignment-scan.pod:276
790 msgid ""
791 "[Thanks to Matt Booth for providing 4K drive data.  Thanks to Mike Snitzer "
792 "for providing NetApp data and additional information.]"
793 msgstr ""
794
795 #. type: =head2
796 #: ../align/virt-alignment-scan.pod:279
797 msgid "1 MB PARTITION ALIGNMENT"
798 msgstr ""
799
800 #. type: textblock
801 #: ../align/virt-alignment-scan.pod:281
802 msgid ""
803 "Microsoft picked 1 MB as the default alignment for all partitions starting "
804 "with Windows 2008 Server, and Linux has followed this."
805 msgstr ""
806
807 #. type: textblock
808 #: ../align/virt-alignment-scan.pod:284
809 msgid ""
810 "Assuming 512 byte sectors in the guest, you will now see the first partition "
811 "starting at sector 2048, and subsequent partitions (if any)  will start at a "
812 "multiple of 2048 sectors."
813 msgstr ""
814
815 #. type: textblock
816 #: ../align/virt-alignment-scan.pod:288
817 msgid ""
818 "1 MB alignment is compatible with all current alignment requirements (4K, "
819 "64K) and provides room for future growth in physical block sizes."
820 msgstr ""
821
822 #. type: =head2
823 #: ../align/virt-alignment-scan.pod:291
824 msgid "SETTING ALIGNMENT"
825 msgstr ""
826
827 #. type: textblock
828 #: ../align/virt-alignment-scan.pod:293
829 msgid ""
830 "L<virt-resize(1)> can change the alignment of the partitions of some "
831 "guests.  Currently it can fully align all the partitions of all Windows "
832 "guests, and it will fix the bootloader where necessary.  For Linux guests, "
833 "it can align the second and subsequent partitions, so the majority of OS "
834 "accesses except at boot will be aligned."
835 msgstr ""
836
837 #. type: textblock
838 #: ../align/virt-alignment-scan.pod:299
839 msgid ""
840 "Another way to correct partition alignment problems is to reinstall your "
841 "guest operating systems.  If you install operating systems from templates, "
842 "ensure these have correct partition alignment too."
843 msgstr ""
844
845 #. type: textblock
846 #: ../align/virt-alignment-scan.pod:303
847 msgid ""
848 "For older versions of Windows, the following NetApp document contains useful "
849 "information: L<http://media.netapp.com/documents/tr-3747.pdf>"
850 msgstr ""
851
852 #. type: textblock
853 #: ../align/virt-alignment-scan.pod:306
854 msgid ""
855 "For Red Hat Enterprise Linux E<le> 5, use a Kickstart script that contains "
856 "an explicit C<%pre> section that creates aligned partitions using L<parted(8)"
857 ">.  Do not use the Kickstart C<part> command.  The NetApp document above "
858 "contains an example."
859 msgstr ""
860
861 #. type: =head1
862 #: ../align/virt-alignment-scan.pod:311 ../cat/virt-cat.pod:231
863 #: ../cat/virt-filesystems.pod:373 ../cat/virt-ls.pod:483
864 #: ../clone/virt-sysprep.pod:475 ../df/virt-df.pod:241
865 #: ../edit/virt-edit.pod:342 ../inspector/virt-inspector.pod:367
866 #: ../rescue/virt-rescue.pod:303 ../resize/virt-resize.pod:682
867 #: ../tools/virt-list-filesystems.pl:188 ../tools/virt-list-partitions.pl:258
868 #: ../tools/virt-make-fs.pl:550 ../tools/virt-tar.pl:289
869 #: ../tools/virt-win-reg.pl:744
870 msgid "SHELL QUOTING"
871 msgstr ""
872
873 #. type: textblock
874 #: ../align/virt-alignment-scan.pod:313 ../cat/virt-cat.pod:233
875 #: ../cat/virt-filesystems.pod:375 ../cat/virt-ls.pod:485
876 #: ../clone/virt-sysprep.pod:477 ../df/virt-df.pod:243
877 #: ../edit/virt-edit.pod:344 ../inspector/virt-inspector.pod:369
878 #: ../rescue/virt-rescue.pod:305 ../resize/virt-resize.pod:684
879 #: ../tools/virt-list-filesystems.pl:190 ../tools/virt-list-partitions.pl:260
880 #: ../tools/virt-make-fs.pl:552 ../tools/virt-tar.pl:291
881 #: ../tools/virt-win-reg.pl:752
882 msgid ""
883 "Libvirt guest names can contain arbitrary characters, some of which have "
884 "meaning to the shell such as C<#> and space.  You may need to quote or "
885 "escape these characters on the command line.  See the shell manual page L<sh"
886 "(1)> for details."
887 msgstr ""
888
889 #. type: =head1
890 #: ../align/virt-alignment-scan.pod:318 ../cat/virt-cat.pod:238
891 #: ../cat/virt-filesystems.pod:380 ../cat/virt-ls.pod:490
892 #: ../clone/virt-sysprep.pod:482 ../df/virt-df.pod:248
893 #: ../edit/virt-edit.pod:349 ../fish/guestfish.pod:1114
894 #: ../fuse/guestmount.pod:312 ../inspector/virt-inspector.pod:390
895 #: ../resize/virt-resize.pod:689 ../sparsify/virt-sparsify.pod:251
896 #: ../test-tool/libguestfs-test-tool.pod:90
897 msgid "EXIT STATUS"
898 msgstr ""
899
900 #. type: textblock
901 #: ../align/virt-alignment-scan.pod:320
902 msgid "This program returns:"
903 msgstr ""
904
905 #. type: =item
906 #: ../align/virt-alignment-scan.pod:324 ../align/virt-alignment-scan.pod:330
907 #: ../align/virt-alignment-scan.pod:336 ../align/virt-alignment-scan.pod:343
908 #: ../cat/virt-cat.pod:177 ../cat/virt-cat.pod:182 ../cat/virt-cat.pod:187
909 #: ../cat/virt-cat.pod:198 ../cat/virt-cat.pod:202
910 #: ../clone/virt-sysprep.pod:283 ../clone/virt-sysprep.pod:287
911 #: ../clone/virt-sysprep.pod:291 ../clone/virt-sysprep.pod:295
912 #: ../clone/virt-sysprep.pod:310 ../clone/virt-sysprep.pod:314
913 #: ../clone/virt-sysprep.pod:318 ../clone/virt-sysprep.pod:322
914 #: ../clone/virt-sysprep.pod:326 ../clone/virt-sysprep.pod:362
915 #: ../clone/virt-sysprep.pod:384 ../clone/virt-sysprep.pod:388
916 #: ../df/virt-df.pod:148 ../df/virt-df.pod:154 ../edit/virt-edit.pod:266
917 #: ../edit/virt-edit.pod:271 ../edit/virt-edit.pod:276
918 #: ../edit/virt-edit.pod:287 ../edit/virt-edit.pod:291
919 #: ../examples/guestfs-recipes.pod:98 ../examples/guestfs-recipes.pod:102
920 #: ../examples/guestfs-recipes.pod:106 ../examples/guestfs-recipes.pod:132
921 #: ../examples/guestfs-recipes.pod:137 ../examples/guestfs-recipes.pod:227
922 #: ../examples/guestfs-recipes.pod:231 ../examples/guestfs-recipes.pod:235
923 #: ../examples/guestfs-recipes.pod:239 ../examples/guestfs-recipes.pod:243
924 #: ../examples/guestfs-testing.pod:110 ../examples/guestfs-testing.pod:114
925 #: ../examples/guestfs-testing.pod:118 ../fish/guestfish-actions.pod:13
926 #: ../fish/guestfish-actions.pod:20 ../fish/guestfish-actions.pod:441
927 #: ../fish/guestfish-actions.pod:449 ../fish/guestfish-actions.pod:456
928 #: ../fish/guestfish-actions.pod:463 ../fish/guestfish-actions.pod:1293
929 #: ../fish/guestfish-actions.pod:1297 ../fish/guestfish-actions.pod:1301
930 #: ../fish/guestfish-actions.pod:1305 ../fish/guestfish-actions.pod:1313
931 #: ../fish/guestfish-actions.pod:1317 ../fish/guestfish-actions.pod:1321
932 #: ../fish/guestfish-actions.pod:1331 ../fish/guestfish-actions.pod:1335
933 #: ../fish/guestfish-actions.pod:1339 ../fish/guestfish-actions.pod:1429
934 #: ../fish/guestfish-actions.pod:1433 ../fish/guestfish-actions.pod:1438
935 #: ../fish/guestfish-actions.pod:1443 ../fish/guestfish-actions.pod:1485
936 #: ../fish/guestfish-actions.pod:1489 ../fish/guestfish-actions.pod:1494
937 #: ../fish/guestfish-actions.pod:1750 ../fish/guestfish-actions.pod:1757
938 #: ../fish/guestfish-actions.pod:1764 ../fish/guestfish-actions.pod:2167
939 #: ../fish/guestfish-actions.pod:2173 ../fish/guestfish-actions.pod:2181
940 #: ../fish/guestfish-actions.pod:2188 ../fish/guestfish-actions.pod:2195
941 #: ../fish/guestfish.pod:445 ../fish/guestfish.pod:449
942 #: ../fish/guestfish.pod:453 ../fish/guestfish.pod:457
943 #: ../inspector/virt-inspector.pod:408 ../inspector/virt-inspector.pod:412
944 #: ../resize/virt-resize.pod:365 ../resize/virt-resize.pod:369
945 #: ../resize/virt-resize.pod:378 ../resize/virt-resize.pod:384
946 #: ../sparsify/virt-sparsify.pod:32 ../sparsify/virt-sparsify.pod:39
947 #: ../sparsify/virt-sparsify.pod:43 ../sparsify/virt-sparsify.pod:49
948 #: ../sparsify/virt-sparsify.pod:54 ../sparsify/virt-sparsify.pod:58
949 #: ../sparsify/virt-sparsify.pod:64 ../src/guestfs-actions.pod:22
950 #: ../src/guestfs-actions.pod:29 ../src/guestfs-actions.pod:641
951 #: ../src/guestfs-actions.pod:649 ../src/guestfs-actions.pod:656
952 #: ../src/guestfs-actions.pod:663 ../src/guestfs-actions.pod:2118
953 #: ../src/guestfs-actions.pod:2122 ../src/guestfs-actions.pod:2126
954 #: ../src/guestfs-actions.pod:2130 ../src/guestfs-actions.pod:2138
955 #: ../src/guestfs-actions.pod:2142 ../src/guestfs-actions.pod:2146
956 #: ../src/guestfs-actions.pod:2156 ../src/guestfs-actions.pod:2160
957 #: ../src/guestfs-actions.pod:2164 ../src/guestfs-actions.pod:2302
958 #: ../src/guestfs-actions.pod:2306 ../src/guestfs-actions.pod:2311
959 #: ../src/guestfs-actions.pod:2316 ../src/guestfs-actions.pod:2377
960 #: ../src/guestfs-actions.pod:2381 ../src/guestfs-actions.pod:2386
961 #: ../src/guestfs-actions.pod:2801 ../src/guestfs-actions.pod:2808
962 #: ../src/guestfs-actions.pod:2815 ../src/guestfs-actions.pod:3360
963 #: ../src/guestfs-actions.pod:3366 ../src/guestfs-actions.pod:3374
964 #: ../src/guestfs-actions.pod:3381 ../src/guestfs-actions.pod:3388
965 #: ../src/guestfs.pod:403 ../src/guestfs.pod:408 ../src/guestfs.pod:413
966 #: ../src/guestfs.pod:417 ../src/guestfs.pod:422 ../src/guestfs.pod:426
967 #: ../src/guestfs.pod:431 ../src/guestfs.pod:436 ../src/guestfs.pod:1109
968 #: ../src/guestfs.pod:1113 ../src/guestfs.pod:1117 ../src/guestfs.pod:1122
969 #: ../src/guestfs.pod:1130 ../src/guestfs.pod:1149 ../src/guestfs.pod:1157
970 #: ../src/guestfs.pod:1179 ../src/guestfs.pod:1183 ../src/guestfs.pod:1187
971 #: ../src/guestfs.pod:1191 ../src/guestfs.pod:1195 ../src/guestfs.pod:1199
972 #: ../src/guestfs.pod:1689 ../src/guestfs.pod:1694 ../src/guestfs.pod:1698
973 #: ../src/guestfs.pod:1800 ../src/guestfs.pod:1805 ../src/guestfs.pod:1809
974 #: ../src/guestfs.pod:1819 ../src/guestfs.pod:2108 ../src/guestfs.pod:2113
975 #: ../src/guestfs.pod:2119 ../src/guestfs.pod:2127 ../src/guestfs.pod:2645
976 #: ../src/guestfs.pod:2651 ../src/guestfs.pod:2656 ../src/guestfs.pod:2662
977 #: ../src/guestfs.pod:3067 ../src/guestfs.pod:3072 ../src/guestfs.pod:3076
978 #: ../src/guestfs.pod:3080 ../src/guestfs.pod:3084 ../src/guestfs.pod:3098
979 #: ../src/guestfs.pod:3103 ../src/guestfs.pod:3335 ../src/guestfs.pod:3339
980 #: ../src/guestfs.pod:3343 ../src/guestfs.pod:3347
981 #: ../tools/virt-win-reg.pl:197 ../tools/virt-win-reg.pl:202
982 #: ../tools/virt-win-reg.pl:208 ../tools/virt-win-reg.pl:721
983 #: ../tools/virt-win-reg.pl:727 ../tools/virt-win-reg.pl:733
984 msgid "*"
985 msgstr "*"
986
987 #. type: textblock
988 #: ../align/virt-alignment-scan.pod:326
989 msgid "0"
990 msgstr ""
991
992 #. type: textblock
993 #: ../align/virt-alignment-scan.pod:328
994 msgid ""
995 "successful exit, all partitions are aligned E<ge> 64K for best performance"
996 msgstr ""
997
998 #. type: textblock
999 #: ../align/virt-alignment-scan.pod:332
1000 msgid "1"
1001 msgstr ""
1002
1003 #. type: textblock
1004 #: ../align/virt-alignment-scan.pod:334
1005 msgid "an error scanning the disk image or guest"
1006 msgstr ""
1007
1008 #. type: textblock
1009 #: ../align/virt-alignment-scan.pod:338
1010 msgid "2"
1011 msgstr ""
1012
1013 #. type: textblock
1014 #: ../align/virt-alignment-scan.pod:340
1015 msgid ""
1016 "successful exit, some partitions have alignment E<lt> 64K which can result "
1017 "in poor performance on high end network storage"
1018 msgstr ""
1019
1020 #. type: textblock
1021 #: ../align/virt-alignment-scan.pod:345
1022 msgid "3"
1023 msgstr ""
1024
1025 #. type: textblock
1026 #: ../align/virt-alignment-scan.pod:347
1027 msgid ""
1028 "successful exit, some partitions have alignment E<lt> 4K which can result in "
1029 "poor performance on most hypervisors"
1030 msgstr ""
1031
1032 #. type: =head1
1033 #: ../align/virt-alignment-scan.pod:352 ../cat/virt-cat.pod:243
1034 #: ../cat/virt-filesystems.pod:385 ../cat/virt-ls.pod:495
1035 #: ../clone/virt-sysprep.pod:486 ../df/virt-df.pod:253
1036 #: ../edit/virt-edit.pod:354 ../erlang/examples/guestfs-erlang.pod:97
1037 #: ../examples/guestfs-examples.pod:33 ../examples/guestfs-recipes.pod:384
1038 #: ../examples/guestfs-testing.pod:291 ../fish/guestfish.pod:1268
1039 #: ../fish/virt-copy-in.pod:50 ../fish/virt-copy-out.pod:39
1040 #: ../fish/virt-tar-in.pod:47 ../fish/virt-tar-out.pod:41
1041 #: ../fuse/guestmount.pod:317 ../inspector/virt-inspector.pod:395
1042 #: ../java/examples/guestfs-java.pod:45 ../ocaml/examples/guestfs-ocaml.pod:78
1043 #: ../perl/examples/guestfs-perl.pod:39
1044 #: ../python/examples/guestfs-python.pod:42 ../rescue/virt-rescue.pod:325
1045 #: ../resize/virt-resize.pod:694 ../ruby/examples/guestfs-ruby.pod:36
1046 #: ../sparsify/virt-sparsify.pod:275 ../src/guestfs.pod:3275
1047 #: ../test-tool/libguestfs-test-tool.pod:100
1048 #: ../tools/virt-list-filesystems.pl:195 ../tools/virt-list-partitions.pl:265
1049 #: ../tools/virt-make-fs.pl:557 ../tools/virt-tar.pl:296
1050 #: ../tools/virt-win-reg.pl:757
1051 msgid "SEE ALSO"
1052 msgstr "ТАКОЖ ПЕРЕГЛЯНЬТЕ"
1053
1054 #. type: textblock
1055 #: ../align/virt-alignment-scan.pod:354
1056 msgid ""
1057 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-rescue(1)>, "
1058 "L<virt-resize(1)>, L<http://libguestfs.org/>."
1059 msgstr ""
1060
1061 #. type: =head1
1062 #: ../align/virt-alignment-scan.pod:361 ../cat/virt-cat.pod:252
1063 #: ../cat/virt-filesystems.pod:396 ../cat/virt-ls.pod:507
1064 #: ../clone/virt-sysprep.pod:501 ../df/virt-df.pod:261
1065 #: ../edit/virt-edit.pod:368 ../rescue/virt-rescue.pod:334
1066 #: ../resize/virt-resize.pod:717 ../sparsify/virt-sparsify.pod:288
1067 #: ../tools/virt-list-filesystems.pl:208 ../tools/virt-list-partitions.pl:277
1068 #: ../tools/virt-make-fs.pl:582 ../tools/virt-tar.pl:311
1069 #: ../tools/virt-win-reg.pl:783
1070 msgid "AUTHOR"
1071 msgstr "АВТОР"
1072
1073 #. type: textblock
1074 #: ../align/virt-alignment-scan.pod:363 ../cat/virt-cat.pod:254
1075 #: ../cat/virt-filesystems.pod:398 ../cat/virt-ls.pod:509
1076 #: ../clone/virt-sysprep.pod:503 ../df/virt-df.pod:263
1077 #: ../edit/virt-edit.pod:370 ../inspector/virt-inspector.pod:410
1078 #: ../rescue/virt-rescue.pod:336 ../resize/virt-resize.pod:719
1079 #: ../sparsify/virt-sparsify.pod:290 ../tools/virt-list-filesystems.pl:210
1080 #: ../tools/virt-list-partitions.pl:279 ../tools/virt-make-fs.pl:584
1081 #: ../tools/virt-tar.pl:313 ../tools/virt-win-reg.pl:785
1082 msgid "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
1083 msgstr "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
1084
1085 #. type: =head1
1086 #: ../align/virt-alignment-scan.pod:365 ../cat/virt-cat.pod:256
1087 #: ../cat/virt-filesystems.pod:400 ../cat/virt-ls.pod:511
1088 #: ../clone/virt-sysprep.pod:505 ../df/virt-df.pod:265
1089 #: ../edit/virt-edit.pod:372 ../erlang/examples/guestfs-erlang.pod:114
1090 #: ../examples/guestfs-examples.pod:49 ../examples/guestfs-recipes.pod:401
1091 #: ../examples/guestfs-testing.pod:302 ../fish/guestfish.pod:1300
1092 #: ../fish/virt-copy-in.pod:64 ../fish/virt-copy-out.pod:53
1093 #: ../fish/virt-tar-in.pod:62 ../fish/virt-tar-out.pod:55
1094 #: ../fuse/guestmount.pod:332 ../inspector/virt-inspector.pod:418
1095 #: ../java/examples/guestfs-java.pod:62 ../ocaml/examples/guestfs-ocaml.pod:95
1096 #: ../perl/examples/guestfs-perl.pod:56
1097 #: ../python/examples/guestfs-python.pod:58 ../rescue/virt-rescue.pod:338
1098 #: ../resize/virt-resize.pod:721 ../ruby/examples/guestfs-ruby.pod:52
1099 #: ../sparsify/virt-sparsify.pod:292 ../src/guestfs.pod:3358
1100 #: ../test-tool/libguestfs-test-tool.pod:110
1101 #: ../tools/virt-list-filesystems.pl:212 ../tools/virt-list-partitions.pl:281
1102 #: ../tools/virt-make-fs.pl:586 ../tools/virt-tar.pl:315
1103 #: ../tools/virt-win-reg.pl:787
1104 msgid "COPYRIGHT"
1105 msgstr "АВТОРСЬКІ ПРАВА"
1106
1107 #. type: textblock
1108 #: ../align/virt-alignment-scan.pod:367 ../clone/virt-sysprep.pod:507
1109 #: ../sparsify/virt-sparsify.pod:294
1110 msgid "Copyright (C) 2011 Red Hat Inc."
1111 msgstr ""
1112
1113 #. type: textblock
1114 #: ../align/virt-alignment-scan.pod:369 ../cat/virt-cat.pod:260
1115 #: ../cat/virt-filesystems.pod:404 ../cat/virt-ls.pod:515
1116 #: ../clone/virt-sysprep.pod:509 ../df/virt-df.pod:269
1117 #: ../edit/virt-edit.pod:376 ../fish/guestfish.pod:1305
1118 #: ../fish/virt-copy-in.pod:69 ../fish/virt-copy-out.pod:58
1119 #: ../fish/virt-tar-in.pod:67 ../fish/virt-tar-out.pod:60
1120 #: ../fuse/guestmount.pod:337 ../inspector/virt-inspector.pod:422
1121 #: ../rescue/virt-rescue.pod:342 ../resize/virt-resize.pod:725
1122 #: ../sparsify/virt-sparsify.pod:296 ../test-tool/libguestfs-test-tool.pod:115
1123 #: ../tools/virt-list-filesystems.pl:216 ../tools/virt-list-partitions.pl:285
1124 #: ../tools/virt-make-fs.pl:590 ../tools/virt-tar.pl:319
1125 #: ../tools/virt-win-reg.pl:791
1126 msgid ""
1127 "This program is free software; you can redistribute it and/or modify it "
1128 "under the terms of the GNU General Public License as published by the Free "
1129 "Software Foundation; either version 2 of the License, or (at your option) "
1130 "any later version."
1131 msgstr ""
1132
1133 #. type: textblock
1134 #: ../align/virt-alignment-scan.pod:374 ../cat/virt-cat.pod:265
1135 #: ../cat/virt-filesystems.pod:409 ../cat/virt-ls.pod:520
1136 #: ../clone/virt-sysprep.pod:514 ../df/virt-df.pod:274
1137 #: ../edit/virt-edit.pod:381 ../fish/guestfish.pod:1310
1138 #: ../fish/virt-copy-in.pod:74 ../fish/virt-copy-out.pod:63
1139 #: ../fish/virt-tar-in.pod:72 ../fish/virt-tar-out.pod:65
1140 #: ../fuse/guestmount.pod:342 ../inspector/virt-inspector.pod:427
1141 #: ../rescue/virt-rescue.pod:347 ../resize/virt-resize.pod:730
1142 #: ../sparsify/virt-sparsify.pod:301 ../test-tool/libguestfs-test-tool.pod:120
1143 #: ../tools/virt-list-filesystems.pl:221 ../tools/virt-list-partitions.pl:290
1144 #: ../tools/virt-make-fs.pl:595 ../tools/virt-tar.pl:324
1145 #: ../tools/virt-win-reg.pl:796
1146 msgid ""
1147 "This program is distributed in the hope that it will be useful, but WITHOUT "
1148 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
1149 "FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for "
1150 "more details."
1151 msgstr ""
1152 "Ця програма поширюється у сподіванні, що вона буде корисною, але БЕЗ БУДЬ-"
1153 "ЯКИХ ГАРАНТІЙНИХ ЗОБОВ’ЯЗАНЬ; навіть без очевидної гарантії ПРАЦЕЗДАТНОСТІ "
1154 "або ПРИДАТНОСТІ ДЛЯ ВИКОРИСТАННЯ З ПЕВНОЮ МЕТОЮ. Докладніше про це можна "
1155 "дізнатися з GNU General Public License."
1156
1157 #. type: textblock
1158 #: ../align/virt-alignment-scan.pod:379 ../cat/virt-cat.pod:270
1159 #: ../cat/virt-filesystems.pod:414 ../cat/virt-ls.pod:525
1160 #: ../clone/virt-sysprep.pod:519 ../df/virt-df.pod:279
1161 #: ../edit/virt-edit.pod:386 ../fish/guestfish.pod:1315
1162 #: ../fish/virt-copy-in.pod:79 ../fish/virt-copy-out.pod:68
1163 #: ../fish/virt-tar-in.pod:77 ../fish/virt-tar-out.pod:70
1164 #: ../fuse/guestmount.pod:347 ../inspector/virt-inspector.pod:432
1165 #: ../rescue/virt-rescue.pod:352 ../resize/virt-resize.pod:735
1166 #: ../sparsify/virt-sparsify.pod:306 ../test-tool/libguestfs-test-tool.pod:125
1167 #: ../tools/virt-list-filesystems.pl:226 ../tools/virt-list-partitions.pl:295
1168 #: ../tools/virt-make-fs.pl:600 ../tools/virt-tar.pl:329
1169 #: ../tools/virt-win-reg.pl:801
1170 msgid ""
1171 "You should have received a copy of the GNU General Public License along with "
1172 "this program; if not, write to the Free Software Foundation, Inc., 51 "
1173 "Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."
1174 msgstr ""
1175 "Ви маєте отримати копію GNU General Public License разом з цією програмою; "
1176 "якщо це не так, повідомте про факт за адресою Free Software Foundation, "
1177 "Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."
1178
1179 #. type: textblock
1180 #: ../cat/virt-cat.pod:5
1181 msgid "virt-cat - Display files in a virtual machine"
1182 msgstr "virt-cat — показ файлів у віртуальній машині"
1183
1184 #. type: verbatim
1185 #: ../cat/virt-cat.pod:9
1186 #, no-wrap
1187 msgid ""
1188 " virt-cat [--options] -d domname file [file ...]\n"
1189 "\n"
1190 msgstr ""
1191 " virt-cat [--параметри] -d назва_домену файл [файл...]\n"
1192 "\n"
1193
1194 #. type: verbatim
1195 #: ../cat/virt-cat.pod:11
1196 #, no-wrap
1197 msgid ""
1198 " virt-cat [--options] -a disk.img [-a disk.img ...] file [file ...]\n"
1199 "\n"
1200 msgstr ""
1201 " virt-cat [--параметри] -a диск.img [-a диск.img ...] файл [файл...]\n"
1202 "\n"
1203
1204 #. type: textblock
1205 #: ../cat/virt-cat.pod:13 ../edit/virt-edit.pod:15
1206 #: ../inspector/virt-inspector.pod:13
1207 msgid "Old-style:"
1208 msgstr "Застарілий стиль:"
1209
1210 #. type: verbatim
1211 #: ../cat/virt-cat.pod:15
1212 #, no-wrap
1213 msgid ""
1214 " virt-cat domname file\n"
1215 "\n"
1216 msgstr ""
1217 " virt-cat назва_домену файл\n"
1218 "\n"
1219
1220 #. type: verbatim
1221 #: ../cat/virt-cat.pod:17
1222 #, no-wrap
1223 msgid ""
1224 " virt-cat disk.img file\n"
1225 "\n"
1226 msgstr ""
1227 " virt-cat диск.img файл\n"
1228 "\n"
1229
1230 #. type: textblock
1231 #: ../cat/virt-cat.pod:21
1232 msgid ""
1233 "C<virt-cat> is a command line tool to display the contents of C<file> where "
1234 "C<file> exists in the named virtual machine (or disk image)."
1235 msgstr ""
1236 "C<virt-cat> — інструмент командного рядка для показу вмісту C<файла>, який "
1237 "зберігається у вказаній віртуальній машині (або образі диска)."
1238
1239 #. type: textblock
1240 #: ../cat/virt-cat.pod:24
1241 msgid ""
1242 "Multiple filenames can be given, in which case they are concatenated "
1243 "together.  Each filename must be a full path, starting at the root directory "
1244 "(starting with '/')."
1245 msgstr ""
1246 "Ви можете вказати декілька назв файлів. Вміст таких файлів буде об’єднано. "
1247 "Назви файлів слід вказувати повністю (разом зі шляхом), починаючи з "
1248 "кореневого каталогу (тобто назва має починатися з «/»)."
1249
1250 #. type: textblock
1251 #: ../cat/virt-cat.pod:28
1252 msgid ""
1253 "C<virt-cat> can be used to quickly view a file.  To edit a file, use C<virt-"
1254 "edit>.  For more complex cases you should look at the L<guestfish(1)> tool "
1255 "(see L</USING GUESTFISH> below)."
1256 msgstr ""
1257 "C<virt-cat> можна скористатися для пришвидшення перегляду файла. Для "
1258 "редагування даних слід користуватися C<virt-edit>. Для виконання складніших "
1259 "дій можна скористатися програмою L<guestfish(1)> (див. L</USING GUESTFISH> "
1260 "нижче)."
1261
1262 #. type: =head1
1263 #: ../cat/virt-cat.pod:32 ../cat/virt-ls.pod:35 ../df/virt-df.pod:43
1264 #: ../edit/virt-edit.pod:44 ../fish/guestfish.pod:41
1265 #: ../fish/guestfish.pod:1051 ../fish/virt-copy-in.pod:29
1266 #: ../fish/virt-copy-out.pod:21 ../fish/virt-tar-in.pod:30
1267 #: ../fish/virt-tar-out.pod:24 ../fuse/guestmount.pod:39
1268 #: ../resize/virt-resize.pod:27 ../sparsify/virt-sparsify.pod:75
1269 #: ../tools/virt-tar.pl:50
1270 msgid "EXAMPLES"
1271 msgstr "ПРИКЛАДИ"
1272
1273 #. type: textblock
1274 #: ../cat/virt-cat.pod:34
1275 msgid ""
1276 "Display C</etc/fstab> file from inside the libvirt VM called C<mydomain>:"
1277 msgstr ""
1278 "Показ файла C</etc/fstab> з віртуальної машини libvirt з назвою C<mydomain>:"
1279
1280 #. type: verbatim
1281 #: ../cat/virt-cat.pod:37
1282 #, no-wrap
1283 msgid ""
1284 " virt-cat -d mydomain /etc/fstab\n"
1285 "\n"
1286 msgstr ""
1287 " virt-cat -d mydomain /etc/fstab\n"
1288 "\n"
1289
1290 #. type: textblock
1291 #: ../cat/virt-cat.pod:39
1292 msgid "List syslog messages from a VM disk image file:"
1293 msgstr ""
1294 "Показ списку повідомлень syslog з файла образу диска віртуальної машини:"
1295
1296 #. type: verbatim
1297 #: ../cat/virt-cat.pod:41
1298 #, no-wrap
1299 msgid ""
1300 " virt-cat -a disk.img /var/log/messages | tail\n"
1301 "\n"
1302 msgstr ""
1303 " virt-cat -a disk.img /var/log/messages | tail\n"
1304 "\n"
1305
1306 #. type: textblock
1307 #: ../cat/virt-cat.pod:43
1308 msgid "Find out what DHCP IP address a VM acquired:"
1309 msgstr "Визначення IP-адреси DHCP, використаної віртуальною машиною:"
1310
1311 #. type: verbatim
1312 #: ../cat/virt-cat.pod:45
1313 #, no-wrap
1314 msgid ""
1315 " virt-cat -d mydomain /var/log/messages | \\\n"
1316 "   grep 'dhclient: bound to' | tail\n"
1317 "\n"
1318 msgstr ""
1319 " virt-cat -d mydomain /var/log/messages | \\\n"
1320 "   grep 'dhclient: bound to' | tail\n"
1321 "\n"
1322
1323 #. type: textblock
1324 #: ../cat/virt-cat.pod:48
1325 msgid "Find out what packages were recently installed:"
1326 msgstr "Пошук нещодавно встановлених пакунків:"
1327
1328 #. type: verbatim
1329 #: ../cat/virt-cat.pod:50
1330 #, no-wrap
1331 msgid ""
1332 " virt-cat -d mydomain /var/log/yum.log | tail\n"
1333 "\n"
1334 msgstr ""
1335 " virt-cat -d mydomain /var/log/yum.log | tail\n"
1336 "\n"
1337
1338 #. type: textblock
1339 #: ../cat/virt-cat.pod:52
1340 msgid "Find out who is logged on inside a virtual machine:"
1341 msgstr "Визначення користувачів, які працюють у віртуальній машині:"
1342
1343 #. type: verbatim
1344 #: ../cat/virt-cat.pod:54
1345 #, no-wrap
1346 msgid ""
1347 " virt-cat -d mydomain /var/run/utmp > /tmp/utmp\n"
1348 " who /tmp/utmp\n"
1349 "\n"
1350 msgstr ""
1351 " virt-cat -d mydomain /var/run/utmp > /tmp/utmp\n"
1352 " who /tmp/utmp\n"
1353 "\n"
1354
1355 #. type: textblock
1356 #: ../cat/virt-cat.pod:57
1357 msgid "or who was logged on:"
1358 msgstr "або тих, які у ній працювали:"
1359
1360 #. type: verbatim
1361 #: ../cat/virt-cat.pod:59
1362 #, no-wrap
1363 msgid ""
1364 " virt-cat -d mydomain /var/log/wtmp > /tmp/wtmp\n"
1365 " last -f /tmp/wtmp\n"
1366 "\n"
1367 msgstr ""
1368 " virt-cat -d mydomain /var/log/wtmp > /tmp/wtmp\n"
1369 " last -f /tmp/wtmp\n"
1370 "\n"
1371
1372 #. type: textblock
1373 #: ../cat/virt-cat.pod:74 ../cat/virt-filesystems.pod:103
1374 #: ../cat/virt-ls.pod:273 ../df/virt-df.pod:71 ../edit/virt-edit.pod:74
1375 #: ../inspector/virt-inspector.pod:67 ../rescue/virt-rescue.pod:124
1376 msgid ""
1377 "Add I<file> which should be a disk image from a virtual machine.  If the "
1378 "virtual machine has multiple block devices, you must supply all of them with "
1379 "separate I<-a> options."
1380 msgstr ""
1381
1382 #. type: =item
1383 #: ../cat/virt-cat.pod:98 ../cat/virt-filesystems.pod:148
1384 #: ../cat/virt-ls.pod:314 ../edit/virt-edit.pod:112 ../fish/guestfish.pod:217
1385 #: ../fuse/guestmount.pod:135 ../inspector/virt-inspector.pod:92
1386 msgid "B<--echo-keys>"
1387 msgstr "B<--echo-keys>"
1388
1389 #. type: textblock
1390 #: ../cat/virt-cat.pod:100
1391 msgid ""
1392 "When prompting for keys and passphrases, virt-cat normally turns echoing off "
1393 "so you cannot see what you are typing.  If you are not worried about Tempest "
1394 "attacks and there is no one else in the room you can specify this flag to "
1395 "see what you are typing."
1396 msgstr ""
1397
1398 #. type: verbatim
1399 #: ../cat/virt-cat.pod:116
1400 #, no-wrap
1401 msgid ""
1402 " virt-cat --format=raw -a disk.img file\n"
1403 "\n"
1404 msgstr ""
1405 " virt-cat --format=raw -a disk.img file\n"
1406 "\n"
1407
1408 #. type: verbatim
1409 #: ../cat/virt-cat.pod:120
1410 #, no-wrap
1411 msgid ""
1412 " virt-cat --format=raw -a disk.img --format -a another.img file\n"
1413 "\n"
1414 msgstr ""
1415 " virt-cat --format=raw -a disk.img --format -a another.img file\n"
1416 "\n"
1417
1418 #. type: =item
1419 #: ../cat/virt-cat.pod:129 ../cat/virt-filesystems.pod:200
1420 #: ../cat/virt-ls.pod:361 ../edit/virt-edit.pod:156 ../fish/guestfish.pod:289
1421 #: ../fuse/guestmount.pod:172 ../inspector/virt-inspector.pod:114
1422 msgid "B<--keys-from-stdin>"
1423 msgstr "B<--keys-from-stdin>"
1424
1425 #. type: textblock
1426 #: ../cat/virt-cat.pod:131 ../cat/virt-filesystems.pod:202
1427 #: ../cat/virt-ls.pod:363 ../edit/virt-edit.pod:158 ../fish/guestfish.pod:291
1428 #: ../fuse/guestmount.pod:174 ../inspector/virt-inspector.pod:116
1429 msgid ""
1430 "Read key or passphrase parameters from stdin.  The default is to try to read "
1431 "passphrases from the user by opening C</dev/tty>."
1432 msgstr ""
1433
1434 #. type: =head1
1435 #: ../cat/virt-cat.pod:152 ../cat/virt-ls.pod:443 ../edit/virt-edit.pod:179
1436 #: ../inspector/virt-inspector.pod:144 ../rescue/virt-rescue.pod:246
1437 msgid "OLD-STYLE COMMAND LINE ARGUMENTS"
1438 msgstr ""
1439
1440 #. type: textblock
1441 #: ../cat/virt-cat.pod:154
1442 msgid "Previous versions of virt-cat allowed you to write either:"
1443 msgstr ""
1444
1445 #. type: verbatim
1446 #: ../cat/virt-cat.pod:156
1447 #, no-wrap
1448 msgid ""
1449 " virt-cat disk.img [disk.img ...] file\n"
1450 "\n"
1451 msgstr ""
1452
1453 #. type: textblock
1454 #: ../cat/virt-cat.pod:158 ../cat/virt-ls.pod:449 ../edit/virt-edit.pod:185
1455 #: ../inspector/virt-inspector.pod:150 ../rescue/virt-rescue.pod:252
1456 msgid "or"
1457 msgstr "або"
1458
1459 #. type: verbatim
1460 #: ../cat/virt-cat.pod:160
1461 #, no-wrap
1462 msgid ""
1463 " virt-cat guestname file\n"
1464 "\n"
1465 msgstr ""
1466
1467 #. type: textblock
1468 #: ../cat/virt-cat.pod:162 ../cat/virt-ls.pod:453 ../edit/virt-edit.pod:189
1469 #: ../inspector/virt-inspector.pod:154 ../rescue/virt-rescue.pod:256
1470 msgid ""
1471 "whereas in this version you should use I<-a> or I<-d> respectively to avoid "
1472 "the confusing case where a disk image might have the same name as a guest."
1473 msgstr ""
1474
1475 #. type: textblock
1476 #: ../cat/virt-cat.pod:166 ../cat/virt-ls.pod:457 ../edit/virt-edit.pod:193
1477 #: ../inspector/virt-inspector.pod:158 ../rescue/virt-rescue.pod:260
1478 msgid "For compatibility the old style is still supported."
1479 msgstr ""
1480
1481 #. type: =head1
1482 #: ../cat/virt-cat.pod:168 ../edit/virt-edit.pod:257 ../fish/guestfish.pod:858
1483 msgid "WINDOWS PATHS"
1484 msgstr "ШЛЯХИ У WINDOWS"
1485
1486 #. type: textblock
1487 #: ../cat/virt-cat.pod:170
1488 msgid ""
1489 "C<virt-cat> has a limited ability to understand Windows drive letters and "
1490 "paths (eg. C<E:\\foo\\bar.txt>)."
1491 msgstr ""
1492
1493 #. type: textblock
1494 #: ../cat/virt-cat.pod:173 ../edit/virt-edit.pod:262
1495 msgid "If and only if the guest is running Windows then:"
1496 msgstr ""
1497
1498 #. type: textblock
1499 #: ../cat/virt-cat.pod:179 ../edit/virt-edit.pod:268
1500 msgid ""
1501 "Drive letter prefixes like C<C:> are resolved against the Windows Registry "
1502 "to the correct filesystem."
1503 msgstr ""
1504
1505 #. type: textblock
1506 #: ../cat/virt-cat.pod:184 ../edit/virt-edit.pod:273
1507 msgid ""
1508 "Any backslash (C<\\>) characters in the path are replaced with forward "
1509 "slashes so that libguestfs can process it."
1510 msgstr ""
1511
1512 #. type: textblock
1513 #: ../cat/virt-cat.pod:189
1514 msgid ""
1515 "The path is resolved case insensitively to locate the file that should be "
1516 "displayed."
1517 msgstr ""
1518
1519 #. type: textblock
1520 #: ../cat/virt-cat.pod:194 ../edit/virt-edit.pod:283
1521 msgid "There are some known shortcomings:"
1522 msgstr ""
1523
1524 #. type: textblock
1525 #: ../cat/virt-cat.pod:200 ../edit/virt-edit.pod:289
1526 msgid "Some NTFS symbolic links may not be followed correctly."
1527 msgstr ""
1528
1529 #. type: textblock
1530 #: ../cat/virt-cat.pod:204 ../edit/virt-edit.pod:293
1531 msgid "NTFS junction points that cross filesystems are not followed."
1532 msgstr ""
1533
1534 #. type: =head1
1535 #: ../cat/virt-cat.pod:208 ../edit/virt-edit.pod:297
1536 msgid "USING GUESTFISH"
1537 msgstr "ВИКОРИСТАННЯ GUESTFISH"
1538
1539 #. type: textblock
1540 #: ../cat/virt-cat.pod:210
1541 msgid ""
1542 "L<guestfish(1)> is a more powerful, lower level tool which you can use when "
1543 "C<virt-cat> doesn't work."
1544 msgstr ""
1545
1546 #. type: textblock
1547 #: ../cat/virt-cat.pod:213
1548 msgid "Using C<virt-cat> is approximately equivalent to doing:"
1549 msgstr ""
1550
1551 #. type: verbatim
1552 #: ../cat/virt-cat.pod:215
1553 #, no-wrap
1554 msgid ""
1555 " guestfish --ro -i -d domname download file -\n"
1556 "\n"
1557 msgstr ""
1558
1559 #. type: textblock
1560 #: ../cat/virt-cat.pod:217
1561 msgid ""
1562 "where C<domname> is the name of the libvirt guest, and C<file> is the full "
1563 "path to the file.  Note the final C<-> (meaning \"output to stdout\")."
1564 msgstr ""
1565
1566 #. type: textblock
1567 #: ../cat/virt-cat.pod:221
1568 msgid ""
1569 "The command above uses libguestfs's guest inspection feature and so does not "
1570 "work on guests that libguestfs cannot inspect, or on things like arbitrary "
1571 "disk images that don't contain guests.  To display a file from a disk image "
1572 "directly, use:"
1573 msgstr ""
1574
1575 #. type: verbatim
1576 #: ../cat/virt-cat.pod:226
1577 #, no-wrap
1578 msgid ""
1579 " guestfish --ro -a disk.img -m /dev/sda1 download file -\n"
1580 "\n"
1581 msgstr ""
1582
1583 #. type: textblock
1584 #: ../cat/virt-cat.pod:228
1585 msgid ""
1586 "where C<disk.img> is the disk image, C</dev/sda1> is the filesystem within "
1587 "the disk image, and C<file> is the full path to the file."
1588 msgstr ""
1589
1590 #. type: textblock
1591 #: ../cat/virt-cat.pod:240 ../cat/virt-filesystems.pod:382
1592 #: ../cat/virt-ls.pod:492 ../df/virt-df.pod:250 ../edit/virt-edit.pod:351
1593 #: ../fuse/guestmount.pod:314 ../inspector/virt-inspector.pod:392
1594 #: ../resize/virt-resize.pod:691 ../sparsify/virt-sparsify.pod:253
1595 msgid ""
1596 "This program returns 0 if successful, or non-zero if there was an error."
1597 msgstr ""
1598
1599 #. type: textblock
1600 #: ../cat/virt-cat.pod:245
1601 msgid ""
1602 "L<guestfs(3)>, L<guestfish(1)>, L<virt-copy-out(1)>, L<virt-edit(1)>, L<virt-"
1603 "tar-out(1)>, L<http://libguestfs.org/>."
1604 msgstr ""
1605 "L<guestfs(3)>, L<guestfish(1)>, L<virt-copy-out(1)>, L<virt-edit(1)>, L<virt-"
1606 "tar-out(1)>, L<http://libguestfs.org/>."
1607
1608 #. type: textblock
1609 #: ../cat/virt-cat.pod:258 ../inspector/virt-inspector.pod:420
1610 #: ../resize/virt-resize.pod:723 ../tools/virt-make-fs.pl:588
1611 msgid "Copyright (C) 2010-2011 Red Hat Inc."
1612 msgstr "©Red Hat Inc., 2010–2011"
1613
1614 #. type: textblock
1615 #: ../cat/virt-filesystems.pod:5
1616 msgid ""
1617 "virt-filesystems - List filesystems, partitions, block devices, LVM in a "
1618 "virtual machine or disk image"
1619 msgstr ""
1620
1621 #. type: verbatim
1622 #: ../cat/virt-filesystems.pod:9
1623 #, no-wrap
1624 msgid ""
1625 " virt-filesystems [--options] -d domname\n"
1626 "\n"
1627 msgstr ""
1628 " virt-filesystems [--параметри] -d назва_домену\n"
1629 "\n"
1630
1631 #. type: verbatim
1632 #: ../cat/virt-filesystems.pod:11
1633 #, no-wrap
1634 msgid ""
1635 " virt-filesystems [--options] -a disk.img [-a disk.img ...]\n"
1636 "\n"
1637 msgstr ""
1638
1639 #. type: textblock
1640 #: ../cat/virt-filesystems.pod:15
1641 msgid ""
1642 "This tool allows you to discover filesystems, partitions, logical volumes, "
1643 "and their sizes in a disk image or virtual machine.  It is a replacement for "
1644 "L<virt-list-filesystems(1)> and L<virt-list-partitions(1)>."
1645 msgstr ""
1646
1647 #. type: textblock
1648 #: ../cat/virt-filesystems.pod:20
1649 msgid ""
1650 "One use for this tool is from shell scripts to iterate over all filesystems "
1651 "from a disk image:"
1652 msgstr ""
1653
1654 #. type: verbatim
1655 #: ../cat/virt-filesystems.pod:23
1656 #, no-wrap
1657 msgid ""
1658 " for fs in $(virt-filesystems -a disk.img); do\n"
1659 "   # ...\n"
1660 " done\n"
1661 "\n"
1662 msgstr ""
1663 " for fs in $(virt-filesystems -a disk.img); do\n"
1664 "   # ...\n"
1665 " done\n"
1666 "\n"
1667
1668 #. type: textblock
1669 #: ../cat/virt-filesystems.pod:27
1670 msgid ""
1671 "Another use is to list partitions before using another tool to modify those "
1672 "partitions (such as L<virt-resize(1)>).  If you are curious about what an "
1673 "unknown disk image contains, use this tool along with L<virt-inspector(1)>."
1674 msgstr ""
1675
1676 #. type: textblock
1677 #: ../cat/virt-filesystems.pod:32
1678 msgid ""
1679 "Various command line options control what this program displays.  You need "
1680 "to give either I<-a> or I<-d> options to specify the disk image or libvirt "
1681 "guest respectively.  If you just specify that then the program shows "
1682 "filesystems found, one per line, like this:"
1683 msgstr ""
1684
1685 #. type: verbatim
1686 #: ../cat/virt-filesystems.pod:37
1687 #, no-wrap
1688 msgid ""
1689 " $ virt-filesystems -a disk.img\n"
1690 " /dev/sda1\n"
1691 " /dev/vg_guest/lv_root\n"
1692 "\n"
1693 msgstr ""
1694 " $ virt-filesystems -a disk.img\n"
1695 " /dev/sda1\n"
1696 " /dev/vg_guest/lv_root\n"
1697 "\n"
1698
1699 #. type: textblock
1700 #: ../cat/virt-filesystems.pod:41
1701 msgid ""
1702 "If you add I<-l> or I<--long> then the output includes extra information:"
1703 msgstr ""
1704
1705 #. type: verbatim
1706 #: ../cat/virt-filesystems.pod:44
1707 #, no-wrap
1708 msgid ""
1709 " $ virt-filesystems -a disk.img -l\n"
1710 " Name                   Type         VFS   Label  Size\n"
1711 " /dev/sda1              filesystem   ext4  boot   524288000\n"
1712 " /dev/vg_guest/lv_root  filesystem   ext4  root   10212081664\n"
1713 "\n"
1714 msgstr ""
1715
1716 #. type: textblock
1717 #: ../cat/virt-filesystems.pod:49
1718 msgid ""
1719 "If you add I<--extra> then non-mountable (swap, unknown) filesystems are "
1720 "shown as well:"
1721 msgstr ""
1722
1723 #. type: verbatim
1724 #: ../cat/virt-filesystems.pod:52
1725 #, no-wrap
1726 msgid ""
1727 " $ virt-filesystems -a disk.img --extra\n"
1728 " /dev/sda1\n"
1729 " /dev/vg_guest/lv_root\n"
1730 " /dev/vg_guest/lv_swap\n"
1731 " /dev/vg_guest/lv_data\n"
1732 "\n"
1733 msgstr ""
1734 " $ virt-filesystems -a disk.img --extra\n"
1735 " /dev/sda1\n"
1736 " /dev/vg_guest/lv_root\n"
1737 " /dev/vg_guest/lv_swap\n"
1738 " /dev/vg_guest/lv_data\n"
1739 "\n"
1740
1741 #. type: textblock
1742 #: ../cat/virt-filesystems.pod:58
1743 msgid ""
1744 "If you add I<--partitions> then partitions are shown instead of filesystems:"
1745 msgstr ""
1746
1747 #. type: verbatim
1748 #: ../cat/virt-filesystems.pod:60
1749 #, no-wrap
1750 msgid ""
1751 " $ virt-filesystems -a disk.img --partitions\n"
1752 " /dev/sda1\n"
1753 " /dev/sda2\n"
1754 "\n"
1755 msgstr ""
1756 " $ virt-filesystems -a disk.img --partitions\n"
1757 " /dev/sda1\n"
1758 " /dev/sda2\n"
1759 "\n"
1760
1761 #. type: textblock
1762 #: ../cat/virt-filesystems.pod:64
1763 msgid ""
1764 "Similarly you can use I<--logical-volumes>, I<--volume-groups>, I<--physical-"
1765 "volumes>, I<--block-devices> to list those items."
1766 msgstr ""
1767
1768 #. type: textblock
1769 #: ../cat/virt-filesystems.pod:67
1770 msgid ""
1771 "You can use these options in combination as well (if you want a combination "
1772 "including filesystems, you have to add I<--filesystems>).  Notice that some "
1773 "items fall into several categories (eg. C</dev/sda1> might be both a "
1774 "partition and a filesystem).  These items are listed several times.  To get "
1775 "a list which includes absolutely everything that virt-filesystems knows "
1776 "about, use the I<--all> option."
1777 msgstr ""
1778
1779 #. type: textblock
1780 #: ../cat/virt-filesystems.pod:74
1781 msgid ""
1782 "UUIDs (because they are quite long) are not shown by default.  Add the I<--"
1783 "uuid> option to display device and filesystem UUIDs in the long output."
1784 msgstr ""
1785
1786 #. type: textblock
1787 #: ../cat/virt-filesystems.pod:78
1788 msgid ""
1789 "I<--all --long --uuid> is a useful combination to display all possible "
1790 "information about everything."
1791 msgstr ""
1792
1793 #. type: verbatim
1794 #: ../cat/virt-filesystems.pod:81
1795 #, no-wrap
1796 msgid ""
1797 " $ virt-filesystems -a win.img --all --long --uuid -h\n"
1798 " Name      Type       VFS  Label           Size Parent   UUID\n"
1799 " /dev/sda1 filesystem ntfs System Reserved 100M -        F81C92571C92112C\n"
1800 " /dev/sda2 filesystem ntfs -               20G  -        F2E8996AE8992E3B\n"
1801 " /dev/sda1 partition  -    -               100M /dev/sda -\n"
1802 " /dev/sda2 partition  -    -               20G  /dev/sda -\n"
1803 " /dev/sda  device     -    -               20G  -        -\n"
1804 "\n"
1805 msgstr ""
1806
1807 #. type: textblock
1808 #: ../cat/virt-filesystems.pod:89
1809 msgid ""
1810 "For machine-readable output, use I<--csv> to get Comma-Separated Values."
1811 msgstr ""
1812
1813 #. type: =item
1814 #: ../cat/virt-filesystems.pod:110 ../tools/virt-list-filesystems.pl:121
1815 msgid "B<--all>"
1816 msgstr "B<--all>"
1817
1818 #. type: textblock
1819 #: ../cat/virt-filesystems.pod:112
1820 msgid ""
1821 "Display everything.  This is currently the same as specifying these options: "
1822 "I<--filesystems>, I<--extra>, I<--partitions>, I<--block-devices>, I<--"
1823 "logical-volumes>, I<--volume-groups>, I<--physical-volumes>.  (More may be "
1824 "added to this list in future)."
1825 msgstr ""
1826
1827 #. type: textblock
1828 #: ../cat/virt-filesystems.pod:117
1829 msgid "See also I<--long>."
1830 msgstr "Див. також I<--long>."
1831
1832 #. type: =item
1833 #: ../cat/virt-filesystems.pod:119
1834 msgid "B<--blkdevs>"
1835 msgstr "B<--blkdevs>"
1836
1837 #. type: =item
1838 #: ../cat/virt-filesystems.pod:121
1839 msgid "B<--block-devices>"
1840 msgstr "B<--block-devices>"
1841
1842 #. type: textblock
1843 #: ../cat/virt-filesystems.pod:123
1844 msgid "Display block devices."
1845 msgstr "Показати список блокових пристроїв."
1846
1847 #. type: =item
1848 #: ../cat/virt-filesystems.pod:135 ../cat/virt-ls.pod:301 ../df/virt-df.pod:88
1849 msgid "B<--csv>"
1850 msgstr "B<--csv>"
1851
1852 #. type: textblock
1853 #: ../cat/virt-filesystems.pod:137 ../cat/virt-ls.pod:303 ../df/virt-df.pod:90
1854 msgid ""
1855 "Write out the results in CSV format (comma-separated values).  This format "
1856 "can be imported easily into databases and spreadsheets, but read L</NOTE "
1857 "ABOUT CSV FORMAT> below."
1858 msgstr ""
1859
1860 #. type: textblock
1861 #: ../cat/virt-filesystems.pod:150
1862 msgid ""
1863 "When prompting for keys and passphrases, virt-filesystems normally turns "
1864 "echoing off so you cannot see what you are typing.  If you are not worried "
1865 "about Tempest attacks and there is no one else in the room you can specify "
1866 "this flag to see what you are typing."
1867 msgstr ""
1868
1869 #. type: =item
1870 #: ../cat/virt-filesystems.pod:155
1871 msgid "B<--extra>"
1872 msgstr "B<--extra>"
1873
1874 #. type: textblock
1875 #: ../cat/virt-filesystems.pod:157
1876 msgid ""
1877 "This causes filesystems that are not ordinary, mountable filesystems to be "
1878 "displayed.  This category includes swapspace, and filesystems that are empty "
1879 "or contain unknown data."
1880 msgstr ""
1881
1882 #. type: textblock
1883 #: ../cat/virt-filesystems.pod:161
1884 msgid "This option implies I<--filesystems>."
1885 msgstr ""
1886
1887 #. type: =item
1888 #: ../cat/virt-filesystems.pod:163
1889 msgid "B<--filesystems>"
1890 msgstr "B<--filesystems>"
1891
1892 #. type: textblock
1893 #: ../cat/virt-filesystems.pod:165
1894 msgid ""
1895 "Display mountable filesystems.  If no display option was selected then this "
1896 "option is implied."
1897 msgstr ""
1898
1899 #. type: textblock
1900 #: ../cat/virt-filesystems.pod:168
1901 msgid "With I<--extra>, non-mountable filesystems are shown too."
1902 msgstr ""
1903
1904 #. type: verbatim
1905 #: ../cat/virt-filesystems.pod:181
1906 #, no-wrap
1907 msgid ""
1908 " virt-filesystems --format=raw -a disk.img\n"
1909 "\n"
1910 msgstr ""
1911 " virt-filesystems --format=raw -a диск.img\n"
1912 "\n"
1913
1914 #. type: verbatim
1915 #: ../cat/virt-filesystems.pod:185
1916 #, no-wrap
1917 msgid ""
1918 " virt-filesystems --format=raw -a disk.img --format -a another.img\n"
1919 "\n"
1920 msgstr ""
1921
1922 #. type: =item
1923 #: ../cat/virt-filesystems.pod:194 ../cat/virt-ls.pod:352
1924 #: ../df/virt-df.pod:125 ../fish/guestfish.pod:156
1925 #: ../tools/virt-list-partitions.pl:109
1926 msgid "B<-h>"
1927 msgstr "B<-h>"
1928
1929 #. type: =item
1930 #: ../cat/virt-filesystems.pod:196 ../cat/virt-ls.pod:354
1931 #: ../df/virt-df.pod:127 ../tools/virt-list-partitions.pl:111
1932 msgid "B<--human-readable>"
1933 msgstr "B<--human-readable>"
1934
1935 #. type: textblock
1936 #: ../cat/virt-filesystems.pod:198
1937 msgid "In I<--long> mode, display sizes in human-readable format."
1938 msgstr ""
1939
1940 #. type: =item
1941 #: ../cat/virt-filesystems.pod:205 ../cat/virt-ls.pod:366
1942 #: ../tools/virt-list-filesystems.pl:108 ../tools/virt-list-partitions.pl:119
1943 msgid "B<-l>"
1944 msgstr "B<-l>"
1945
1946 #. type: =item
1947 #: ../cat/virt-filesystems.pod:207 ../cat/virt-ls.pod:368
1948 #: ../tools/virt-list-filesystems.pl:110 ../tools/virt-list-partitions.pl:121
1949 msgid "B<--long>"
1950 msgstr "B<--long>"
1951
1952 #. type: textblock
1953 #: ../cat/virt-filesystems.pod:209
1954 msgid "Display extra columns of data (\"long format\")."
1955 msgstr ""
1956
1957 #. type: textblock
1958 #: ../cat/virt-filesystems.pod:211
1959 msgid "A title row is added unless you also specify I<--no-title>."
1960 msgstr ""
1961
1962 #. type: textblock
1963 #: ../cat/virt-filesystems.pod:213
1964 msgid ""
1965 "The extra columns displayed depend on what output you select, and the "
1966 "ordering of columns may change in future versions.  Use the title row, I<--"
1967 "csv> output and/or L<csvtool(1)> to match columns to data in external "
1968 "programs."
1969 msgstr ""
1970
1971 #. type: textblock
1972 #: ../cat/virt-filesystems.pod:218
1973 msgid ""
1974 "Use I<-h> if you want sizes to be displayed in human-readable format.  The "
1975 "default is to show raw numbers of I<bytes>."
1976 msgstr ""
1977
1978 #. type: textblock
1979 #: ../cat/virt-filesystems.pod:221
1980 msgid "Use I<--uuid> to display UUIDs too."
1981 msgstr ""
1982
1983 #. type: =item
1984 #: ../cat/virt-filesystems.pod:223
1985 msgid "B<--lvs>"
1986 msgstr "B<--lvs>"
1987
1988 #. type: =item
1989 #: ../cat/virt-filesystems.pod:225
1990 msgid "B<--logvols>"
1991 msgstr "B<--logvols>"
1992
1993 #. type: =item
1994 #: ../cat/virt-filesystems.pod:227
1995 msgid "B<--logical-volumes>"
1996 msgstr "B<--logical-volumes>"
1997
1998 #. type: textblock
1999 #: ../cat/virt-filesystems.pod:229
2000 msgid ""
2001 "Display LVM logical volumes.  In this mode, these are displayed irrespective "
2002 "of whether the LVs contain filesystems."
2003 msgstr ""
2004
2005 #. type: =item
2006 #: ../cat/virt-filesystems.pod:232
2007 msgid "B<--no-title>"
2008 msgstr "B<--no-title>"
2009
2010 #. type: textblock
2011 #: ../cat/virt-filesystems.pod:234
2012 msgid "In I<--long> mode, don't add a title row."
2013 msgstr ""
2014
2015 #. type: textblock
2016 #: ../cat/virt-filesystems.pod:236
2017 msgid ""
2018 "Note that the order of the columns is not fixed, and may change in future "
2019 "versions of virt-filesystems, so using this option may give you unexpected "
2020 "surprises."
2021 msgstr ""
2022
2023 #. type: =item
2024 #: ../cat/virt-filesystems.pod:240
2025 msgid "B<--parts>"
2026 msgstr "B<--parts>"
2027
2028 #. type: =item
2029 #: ../cat/virt-filesystems.pod:242
2030 msgid "B<--partitions>"
2031 msgstr "B<--partitions>"
2032
2033 #. type: textblock
2034 #: ../cat/virt-filesystems.pod:244
2035 msgid ""
2036 "Display partitions.  In this mode, these are displayed irrespective of "
2037 "whether the partitions contain filesystems."
2038 msgstr ""
2039
2040 #. type: =item
2041 #: ../cat/virt-filesystems.pod:247
2042 msgid "B<--pvs>"
2043 msgstr "B<--pvs>"
2044
2045 #. type: =item
2046 #: ../cat/virt-filesystems.pod:249
2047 msgid "B<--physvols>"
2048 msgstr "B<--physvols>"
2049
2050 #. type: =item
2051 #: ../cat/virt-filesystems.pod:251
2052 msgid "B<--physical-volumes>"
2053 msgstr "B<--physical-volumes>"
2054
2055 #. type: textblock
2056 #: ../cat/virt-filesystems.pod:253
2057 msgid "Display LVM physical volumes."
2058 msgstr ""
2059
2060 #. type: =item
2061 #: ../cat/virt-filesystems.pod:255 ../df/virt-df.pod:163
2062 msgid "B<--uuid>"
2063 msgstr "B<--uuid>"
2064
2065 #. type: =item
2066 #: ../cat/virt-filesystems.pod:257
2067 msgid "B<--uuids>"
2068 msgstr "B<--uuids>"
2069
2070 #. type: textblock
2071 #: ../cat/virt-filesystems.pod:259
2072 msgid "In I<--long> mode, display UUIDs as well."
2073 msgstr ""
2074
2075 #. type: =item
2076 #: ../cat/virt-filesystems.pod:273
2077 msgid "B<--vgs>"
2078 msgstr "B<--vgs>"
2079
2080 #. type: =item
2081 #: ../cat/virt-filesystems.pod:275
2082 msgid "B<--volgroups>"
2083 msgstr "B<--volgroups>"
2084
2085 #. type: =item
2086 #: ../cat/virt-filesystems.pod:277
2087 msgid "B<--volume-groups>"
2088 msgstr "B<--volume-groups>"
2089
2090 #. type: textblock
2091 #: ../cat/virt-filesystems.pod:279
2092 msgid "Display LVM volume groups."
2093 msgstr ""
2094
2095 #. type: =head1
2096 #: ../cat/virt-filesystems.pod:287
2097 msgid "COLUMNS"
2098 msgstr "СТОВПЧИКИ"
2099
2100 #. type: textblock
2101 #: ../cat/virt-filesystems.pod:289
2102 msgid ""
2103 "Note that columns in the output are subject to reordering and change in "
2104 "future versions of this tool."
2105 msgstr ""
2106
2107 #. type: =item
2108 #: ../cat/virt-filesystems.pod:294
2109 msgid "B<Name>"
2110 msgstr ""
2111
2112 #. type: textblock
2113 #: ../cat/virt-filesystems.pod:296
2114 msgid "The filesystem, partition, block device or LVM name."
2115 msgstr ""
2116
2117 #. type: textblock
2118 #: ../cat/virt-filesystems.pod:298
2119 msgid ""
2120 "For device and partition names these are displayed as canonical libguestfs "
2121 "names, so that for example C</dev/sda2> is the second partition on the first "
2122 "device."
2123 msgstr ""
2124
2125 #. type: textblock
2126 #: ../cat/virt-filesystems.pod:302
2127 msgid ""
2128 "If the I<--long> option is B<not> specified, then only the name column is "
2129 "shown in the output."
2130 msgstr ""
2131
2132 #. type: =item
2133 #: ../cat/virt-filesystems.pod:305
2134 msgid "B<Type>"
2135 msgstr ""
2136
2137 #. type: textblock
2138 #: ../cat/virt-filesystems.pod:307
2139 msgid "The object type, for example C<filesystem>, C<lv>, C<device> etc."
2140 msgstr ""
2141
2142 #. type: =item
2143 #: ../cat/virt-filesystems.pod:309
2144 msgid "B<VFS>"
2145 msgstr "B<VFS>"
2146
2147 #. type: textblock
2148 #: ../cat/virt-filesystems.pod:311
2149 msgid ""
2150 "If there is a filesystem, then this column displays the filesystem type if "
2151 "one could be detected, eg. C<ext4>."
2152 msgstr ""
2153
2154 #. type: =item
2155 #: ../cat/virt-filesystems.pod:314
2156 msgid "B<Label>"
2157 msgstr ""
2158
2159 #. type: textblock
2160 #: ../cat/virt-filesystems.pod:316
2161 msgid ""
2162 "If the object has a label (used for identifying and mounting filesystems) "
2163 "then this column contains the label."
2164 msgstr ""
2165
2166 #. type: =item
2167 #: ../cat/virt-filesystems.pod:319
2168 msgid "B<MBR>"
2169 msgstr ""
2170
2171 #. type: textblock
2172 #: ../cat/virt-filesystems.pod:321
2173 msgid ""
2174 "The partition type byte, displayed as a two digit hexadecimal number.  A "
2175 "comprehensive list of partition types can be found here: L<http://www.win."
2176 "tue.nl/~aeb/partitions/partition_types-1.html>"
2177 msgstr ""
2178
2179 #. type: textblock
2180 #: ../cat/virt-filesystems.pod:325
2181 msgid "This is only applicable for DOS (MBR) partitions."
2182 msgstr ""
2183
2184 #. type: =item
2185 #: ../cat/virt-filesystems.pod:327
2186 msgid "B<Size>"
2187 msgstr ""
2188
2189 #. type: textblock
2190 #: ../cat/virt-filesystems.pod:329
2191 msgid ""
2192 "The size of the object in bytes.  If the I<--human> option is used then the "
2193 "size is displayed in a human-readable form."
2194 msgstr ""
2195
2196 #. type: =item
2197 #: ../cat/virt-filesystems.pod:332
2198 msgid "B<Parent>"
2199 msgstr ""
2200
2201 #. type: textblock
2202 #: ../cat/virt-filesystems.pod:334
2203 msgid ""
2204 "The parent column records the parent relationship between objects.  For "
2205 "example, if the object is a partition, then this column contains the name of "
2206 "the containing device.  If the object is a logical volume, then this column "
2207 "is the name of the volume group."
2208 msgstr ""
2209
2210 #. type: =item
2211 #: ../cat/virt-filesystems.pod:339
2212 msgid "B<UUID>"
2213 msgstr "B<UUID>"
2214
2215 #. type: textblock
2216 #: ../cat/virt-filesystems.pod:341
2217 msgid ""
2218 "If the object has a UUID (used for identifying and mounting filesystems and "
2219 "block devices) then this column contains the UUID as a string."
2220 msgstr ""
2221
2222 #. type: textblock
2223 #: ../cat/virt-filesystems.pod:345
2224 msgid "The UUID is only displayed if the I<--uuid> option is given."
2225 msgstr ""
2226
2227 #. type: =head1
2228 #: ../cat/virt-filesystems.pod:349 ../cat/virt-ls.pod:459
2229 #: ../df/virt-df.pod:217
2230 msgid "NOTE ABOUT CSV FORMAT"
2231 msgstr ""
2232
2233 #. type: textblock
2234 #: ../cat/virt-filesystems.pod:351 ../cat/virt-ls.pod:461
2235 #: ../df/virt-df.pod:219
2236 msgid ""
2237 "Comma-separated values (CSV) is a deceptive format.  It I<seems> like it "
2238 "should be easy to parse, but it is definitely not easy to parse."
2239 msgstr ""
2240
2241 #. type: textblock
2242 #: ../cat/virt-filesystems.pod:354 ../cat/virt-ls.pod:464
2243 #: ../df/virt-df.pod:222
2244 msgid ""
2245 "Myth: Just split fields at commas.  Reality: This does I<not> work "
2246 "reliably.  This example has two columns:"
2247 msgstr ""
2248
2249 #. type: verbatim
2250 #: ../cat/virt-filesystems.pod:357 ../cat/virt-ls.pod:467
2251 #: ../df/virt-df.pod:225
2252 #, no-wrap
2253 msgid ""
2254 " \"foo,bar\",baz\n"
2255 "\n"
2256 msgstr ""
2257
2258 #. type: textblock
2259 #: ../cat/virt-filesystems.pod:359 ../cat/virt-ls.pod:469
2260 #: ../df/virt-df.pod:227
2261 msgid ""
2262 "Myth: Read the file one line at a time.  Reality: This does I<not> work "
2263 "reliably.  This example has one row:"
2264 msgstr ""
2265
2266 #. type: verbatim
2267 #: ../cat/virt-filesystems.pod:362 ../cat/virt-ls.pod:472
2268 #: ../df/virt-df.pod:230
2269 #, no-wrap
2270 msgid ""
2271 " \"foo\n"
2272 " bar\",baz\n"
2273 "\n"
2274 msgstr ""
2275
2276 #. type: textblock
2277 #: ../cat/virt-filesystems.pod:365 ../cat/virt-ls.pod:475
2278 #: ../df/virt-df.pod:233
2279 msgid ""
2280 "For shell scripts, use C<csvtool> (L<http://merjis.com/developers/csv> also "
2281 "packaged in major Linux distributions)."
2282 msgstr ""
2283
2284 #. type: textblock
2285 #: ../cat/virt-filesystems.pod:368 ../cat/virt-ls.pod:478
2286 #: ../df/virt-df.pod:236
2287 msgid ""
2288 "For other languages, use a CSV processing library (eg. C<Text::CSV> for Perl "
2289 "or Python's built-in csv library)."
2290 msgstr ""
2291
2292 #. type: textblock
2293 #: ../cat/virt-filesystems.pod:371 ../cat/virt-ls.pod:481
2294 #: ../df/virt-df.pod:239
2295 msgid "Most spreadsheets and databases can import CSV directly."
2296 msgstr ""
2297
2298 #. type: textblock
2299 #: ../cat/virt-filesystems.pod:387
2300 msgid ""
2301 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-df(1)>, L<virt-list-"
2302 "filesystems(1)>, L<virt-list-partitions(1)>, L<csvtool(1)>, L<http://"
2303 "libguestfs.org/>."
2304 msgstr ""
2305 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-df(1)>, L<virt-list-"
2306 "filesystems(1)>, L<virt-list-partitions(1)>, L<csvtool(1)>, L<http://"
2307 "libguestfs.org/>."
2308
2309 #. type: textblock
2310 #: ../cat/virt-filesystems.pod:402 ../tools/virt-win-reg.pl:789
2311 msgid "Copyright (C) 2010 Red Hat Inc."
2312 msgstr "©Red Hat Inc., 2010"
2313
2314 #. type: textblock
2315 #: ../cat/virt-ls.pod:5
2316 msgid "virt-ls - List files in a virtual machine"
2317 msgstr ""
2318
2319 #. type: verbatim
2320 #: ../cat/virt-ls.pod:9
2321 #, no-wrap
2322 msgid ""
2323 " virt-ls [--options] -d domname directory [directory ...]\n"
2324 "\n"
2325 msgstr ""
2326
2327 #. type: verbatim
2328 #: ../cat/virt-ls.pod:11
2329 #, no-wrap
2330 msgid ""
2331 " virt-ls [--options] -a disk.img [-a disk.img ...] directory [directory ...]\n"
2332 "\n"
2333 msgstr ""
2334
2335 #. type: textblock
2336 #: ../cat/virt-ls.pod:13 ../df/virt-df.pod:15 ../rescue/virt-rescue.pod:15
2337 msgid "Old style:"
2338 msgstr "Старий стиль:"
2339
2340 #. type: verbatim
2341 #: ../cat/virt-ls.pod:15
2342 #, no-wrap
2343 msgid ""
2344 " virt-ls [--options] domname directory\n"
2345 "\n"
2346 msgstr ""
2347
2348 #. type: verbatim
2349 #: ../cat/virt-ls.pod:17
2350 #, no-wrap
2351 msgid ""
2352 " virt-ls [--options] disk.img [disk.img ...] directory\n"
2353 "\n"
2354 msgstr ""
2355
2356 #. type: textblock
2357 #: ../cat/virt-ls.pod:21
2358 msgid ""
2359 "C<virt-ls> lists filenames, file sizes, checksums, extended attributes and "
2360 "more from a virtual machine or disk image."
2361 msgstr ""
2362
2363 #. type: textblock
2364 #: ../cat/virt-ls.pod:24
2365 msgid ""
2366 "Multiple directory names can be given, in which case the output from each is "
2367 "concatenated."
2368 msgstr ""
2369
2370 #. type: textblock
2371 #: ../cat/virt-ls.pod:27
2372 msgid ""
2373 "To list directories from a libvirt guest use the I<-d> option to specify the "
2374 "name of the guest.  For a disk image, use the I<-a> option."
2375 msgstr ""
2376
2377 #. type: textblock
2378 #: ../cat/virt-ls.pod:31
2379 msgid ""
2380 "C<virt-ls> can do many simple file listings.  For more complicated cases you "
2381 "may need to use L<guestfish(1)>, or write a program directly to the L<guestfs"
2382 "(3)> API."
2383 msgstr ""
2384
2385 #. type: textblock
2386 #: ../cat/virt-ls.pod:37
2387 msgid "Get a list of all files and directories in a virtual machine:"
2388 msgstr ""
2389
2390 #. type: verbatim
2391 #: ../cat/virt-ls.pod:39
2392 #, no-wrap
2393 msgid ""
2394 " virt-ls -R -d guest /\n"
2395 "\n"
2396 msgstr ""
2397
2398 #. type: textblock
2399 #: ../cat/virt-ls.pod:41 ../examples/guestfs-testing.pod:182
2400 msgid "List all setuid or setgid programs in a Linux virtual machine:"
2401 msgstr ""
2402
2403 #. type: verbatim
2404 #: ../cat/virt-ls.pod:43
2405 #, no-wrap
2406 msgid ""
2407 " virt-ls -lR -d guest / | grep '^- [42]'\n"
2408 "\n"
2409 msgstr ""
2410
2411 #. type: textblock
2412 #: ../cat/virt-ls.pod:45 ../examples/guestfs-testing.pod:186
2413 msgid "List all public-writable directories in a Linux virtual machine:"
2414 msgstr ""
2415
2416 #. type: verbatim
2417 #: ../cat/virt-ls.pod:47
2418 #, no-wrap
2419 msgid ""
2420 " virt-ls -lR -d guest / | grep '^d ...7'\n"
2421 "\n"
2422 msgstr ""
2423
2424 #. type: textblock
2425 #: ../cat/virt-ls.pod:49 ../examples/guestfs-testing.pod:190
2426 msgid "List all Unix domain sockets in a Linux virtual machine:"
2427 msgstr ""
2428
2429 #. type: verbatim
2430 #: ../cat/virt-ls.pod:51
2431 #, no-wrap
2432 msgid ""
2433 " virt-ls -lR -d guest / | grep '^s'\n"
2434 "\n"
2435 msgstr ""
2436
2437 #. type: textblock
2438 #: ../cat/virt-ls.pod:53 ../examples/guestfs-testing.pod:194
2439 msgid "List all regular files with filenames ending in '.png':"
2440 msgstr ""
2441
2442 #. type: verbatim
2443 #: ../cat/virt-ls.pod:55
2444 #, no-wrap
2445 msgid ""
2446 " virt-ls -lR -d guest / | grep -i '^-.*\\.png$'\n"
2447 "\n"
2448 msgstr ""
2449
2450 #. type: textblock
2451 #: ../cat/virt-ls.pod:57
2452 msgid "To display files larger than 10MB in home directories:"
2453 msgstr ""
2454
2455 #. type: verbatim
2456 #: ../cat/virt-ls.pod:59
2457 #, no-wrap
2458 msgid ""
2459 " virt-ls -lR -d guest /home | awk '$3 > 10*1024*1024'\n"
2460 "\n"
2461 msgstr ""
2462
2463 #. type: textblock
2464 #: ../cat/virt-ls.pod:61 ../examples/guestfs-testing.pod:202
2465 msgid "Find everything modified in the last 7 days:"
2466 msgstr ""
2467
2468 #. type: verbatim
2469 #: ../cat/virt-ls.pod:63
2470 #, no-wrap
2471 msgid ""
2472 " virt-ls -lR -d guest --time-days / | awk '$6 <= 7'\n"
2473 "\n"
2474 msgstr ""
2475
2476 #. type: textblock
2477 #: ../cat/virt-ls.pod:65 ../examples/guestfs-testing.pod:206
2478 msgid "Find regular files modified in the last 24 hours:"
2479 msgstr ""
2480
2481 #. type: verbatim
2482 #: ../cat/virt-ls.pod:67
2483 #, no-wrap
2484 msgid ""
2485 " virt-ls -lR -d guest --time-days / | grep '^-' | awk '$6 < 1'\n"
2486 "\n"
2487 msgstr ""
2488
2489 #. type: =head2
2490 #: ../cat/virt-ls.pod:69
2491 msgid "DIFFERENCES IN SNAPSHOTS AND BACKING FILES"
2492 msgstr ""
2493
2494 #. type: textblock
2495 #: ../cat/virt-ls.pod:71
2496 msgid ""
2497 "Find the differences between files in a guest and an earlier snapshot of the "
2498 "same guest."
2499 msgstr ""
2500
2501 #. type: verbatim
2502 #: ../cat/virt-ls.pod:74
2503 #, no-wrap
2504 msgid ""
2505 " virt-ls -lR -a snapshot.img / --uids --time-t > old\n"
2506 " virt-ls -lR -a current.img / --uids --time-t > new\n"
2507 " diff -u old new | less\n"
2508 "\n"
2509 msgstr ""
2510
2511 #. type: textblock
2512 #: ../cat/virt-ls.pod:78
2513 msgid ""
2514 "The commands above won't find files where the content has changed but the "
2515 "metadata (eg. file size and modification date) is the same.  To do that, you "
2516 "need to add the I<--checksum> parameter to both C<virt-ls> commands.  I<--"
2517 "checksum> can be quite slow since it has to read and compute a checksum of "
2518 "every regular file in the virtual machine."
2519 msgstr ""
2520
2521 #. type: =head1
2522 #: ../cat/virt-ls.pod:84
2523 msgid "OUTPUT MODES"
2524 msgstr "РЕЖИМИ ВИВЕДЕННЯ ДАНИХ"
2525
2526 #. type: textblock
2527 #: ../cat/virt-ls.pod:86
2528 msgid ""
2529 "C<virt-ls> has four output modes, controlled by different combinations of "
2530 "the I<-l> and I<-R> options."
2531 msgstr ""
2532
2533 #. type: =head2
2534 #: ../cat/virt-ls.pod:89
2535 msgid "SIMPLE LISTING"
2536 msgstr "ПРОСТИЙ СПИСОК"
2537
2538 #. type: textblock
2539 #: ../cat/virt-ls.pod:91
2540 msgid "A simple listing is like the ordinary L<ls(1)> command:"
2541 msgstr ""
2542
2543 #. type: verbatim
2544 #: ../cat/virt-ls.pod:93
2545 #, no-wrap
2546 msgid ""
2547 " $ virt-ls -d guest /\n"
2548 " bin\n"
2549 " boot\n"
2550 " [etc.]\n"
2551 "\n"
2552 msgstr ""
2553 " $ virt-ls -d guest /\n"
2554 " bin\n"
2555 " boot\n"
2556 " [тощо]\n"
2557 "\n"
2558
2559 #. type: =head2
2560 #: ../cat/virt-ls.pod:98
2561 msgid "LONG LISTING"
2562 msgstr "ДОВГИЙ СПИСОК"
2563
2564 #. type: textblock
2565 #: ../cat/virt-ls.pod:100
2566 msgid ""
2567 "With the I<-l> (I<--long>) option, the output is like the C<ls -l> command "
2568 "(more specifically, like the C<guestfs_ll> function)."
2569 msgstr ""
2570
2571 #. type: verbatim
2572 #: ../cat/virt-ls.pod:103
2573 #, no-wrap
2574 msgid ""
2575 " $ virt-ls -l -d guest /\n"
2576 " total 204\n"
2577 " dr-xr-xr-x.   2 root root   4096 2009-08-25 19:06 bin\n"
2578 " dr-xr-xr-x.   5 root root   3072 2009-08-25 19:06 boot\n"
2579 " [etc.]\n"
2580 "\n"
2581 msgstr ""
2582 " $ virt-ls -l -d guest /\n"
2583 " total 204\n"
2584 " dr-xr-xr-x.   2 root root   4096 2009-08-25 19:06 bin\n"
2585 " dr-xr-xr-x.   5 root root   3072 2009-08-25 19:06 boot\n"
2586 " [тощо]\n"
2587 "\n"
2588
2589 #. type: textblock
2590 #: ../cat/virt-ls.pod:109
2591 msgid ""
2592 "Note that while this is useful for displaying a directory, do not try "
2593 "parsing this output in another program.  Use L</RECURSIVE LONG LISTING> "
2594 "instead."
2595 msgstr ""
2596
2597 #. type: =head2
2598 #: ../cat/virt-ls.pod:113
2599 msgid "RECURSIVE LISTING"
2600 msgstr "РЕКУРСИВНИЙ СПИСОК"
2601
2602 #. type: textblock
2603 #: ../cat/virt-ls.pod:115
2604 msgid ""
2605 "With the I<-R> (I<--recursive>) option, C<virt-ls> lists the names of files "
2606 "and directories recursively:"
2607 msgstr ""
2608
2609 #. type: verbatim
2610 #: ../cat/virt-ls.pod:118
2611 #, no-wrap
2612 msgid ""
2613 " $ virt-ls -R -d guest /tmp\n"
2614 " foo\n"
2615 " foo/bar\n"
2616 " [etc.]\n"
2617 "\n"
2618 msgstr ""
2619 " $ virt-ls -R -d guest /tmp\n"
2620 " foo\n"
2621 " foo/bar\n"
2622 " [тощо]\n"
2623 "\n"
2624
2625 #. type: textblock
2626 #: ../cat/virt-ls.pod:123
2627 msgid ""
2628 "To generate this output, C<virt-ls> runs the C<guestfs_find0> function and "
2629 "converts C<\\0> characters to C<\\n>."
2630 msgstr ""
2631
2632 #. type: =head2
2633 #: ../cat/virt-ls.pod:126
2634 msgid "RECURSIVE LONG LISTING"
2635 msgstr "РЕКУРСИВНИЙ ДОВГИЙ СПИСОК"
2636
2637 #. type: textblock
2638 #: ../cat/virt-ls.pod:128
2639 msgid ""
2640 "Using I<-lR> options together changes the output to display directories "
2641 "recursively, with file stats, and optionally other features such as "
2642 "checksums and extended attributes."
2643 msgstr ""
2644
2645 #. type: textblock
2646 #: ../cat/virt-ls.pod:132
2647 msgid ""
2648 "Most of the interesting features of C<virt-ls> are only available when using "
2649 "I<-lR> mode."
2650 msgstr ""
2651
2652 #. type: textblock
2653 #: ../cat/virt-ls.pod:135
2654 msgid ""
2655 "The fields are normally space-separated.  Filenames are B<not> quoted, so "
2656 "you cannot use the output in another program (because filenames can contain "
2657 "spaces and other unsafe characters).  If the guest was untrusted and someone "
2658 "knew you were using C<virt-ls> to analyze the guest, they could play tricks "
2659 "on you by creating filenames with embedded newline characters.  To B<safely> "
2660 "parse the output in another program, use the I<--csv> (Comma-Separated "
2661 "Values) option."
2662 msgstr ""
2663
2664 #. type: textblock
2665 #: ../cat/virt-ls.pod:143
2666 msgid ""
2667 "Note that this output format is completely unrelated to the C<ls -lR> "
2668 "command."
2669 msgstr ""
2670
2671 #. type: verbatim
2672 #: ../cat/virt-ls.pod:146
2673 #, no-wrap
2674 msgid ""
2675 " $ virt-ls -lR -d guest /bin\n"
2676 " d 0555       4096 /bin\n"
2677 " - 0755        123 /bin/alsaunmute\n"
2678 " - 0755      28328 /bin/arch\n"
2679 " l 0777          4 /bin/awk -> gawk\n"
2680 " - 0755      27216 /bin/basename\n"
2681 " - 0755     943360 /bin/bash\n"
2682 " [etc.]\n"
2683 "\n"
2684 msgstr ""
2685 " $ virt-ls -lR -d guest /bin\n"
2686 " d 0555       4096 /bin\n"
2687 " - 0755        123 /bin/alsaunmute\n"
2688 " - 0755      28328 /bin/arch\n"
2689 " l 0777          4 /bin/awk -> gawk\n"
2690 " - 0755      27216 /bin/basename\n"
2691 " - 0755     943360 /bin/bash\n"
2692 " [тощо]\n"
2693 "\n"
2694
2695 #. type: textblock
2696 #: ../cat/virt-ls.pod:155
2697 msgid "These basic fields are always shown:"
2698 msgstr ""
2699
2700 #. type: =item
2701 #: ../cat/virt-ls.pod:159
2702 msgid "type"
2703 msgstr "тип"
2704
2705 #. type: textblock
2706 #: ../cat/virt-ls.pod:161
2707 msgid ""
2708 "The file type, one of: C<-> (regular file), C<d> (directory), C<c> "
2709 "(character device), C<b> (block device), C<p> (named pipe), C<l> (symbolic "
2710 "link), C<s> (socket) or C<u> (unknown)."
2711 msgstr ""
2712
2713 #. type: =item
2714 #: ../cat/virt-ls.pod:171
2715 msgid "permissions"
2716 msgstr "права доступу"
2717
2718 #. type: textblock
2719 #: ../cat/virt-ls.pod:173
2720 msgid "The Unix permissions, displayed as a 4 digit octal number."
2721 msgstr ""
2722
2723 #. type: =item
2724 #: ../cat/virt-ls.pod:175
2725 msgid "size"
2726 msgstr "розмір"
2727
2728 #. type: textblock
2729 #: ../cat/virt-ls.pod:177
2730 msgid ""
2731 "The size of the file.  This is shown in bytes unless I<-h> or I<--human-"
2732 "readable> option is given, in which case this is shown as a human-readable "
2733 "number."
2734 msgstr ""
2735
2736 #. type: =head2
2737 #: ../cat/virt-ls.pod:181 ../fish/guestfish-actions.pod:4519
2738 msgid "path"
2739 msgstr "шлях"
2740
2741 #. type: textblock
2742 #: ../cat/virt-ls.pod:183
2743 msgid "The full path of the file or directory."
2744 msgstr ""
2745
2746 #. type: =item
2747 #: ../cat/virt-ls.pod:185
2748 msgid "link"
2749 msgstr "посилання"
2750
2751 #. type: textblock
2752 #: ../cat/virt-ls.pod:187
2753 msgid "For symbolic links only, the link target."
2754 msgstr ""
2755
2756 #. type: textblock
2757 #: ../cat/virt-ls.pod:191
2758 msgid ""
2759 "In I<-lR> mode, additional command line options enable the display of more "
2760 "fields."
2761 msgstr ""
2762
2763 #. type: textblock
2764 #: ../cat/virt-ls.pod:194
2765 msgid ""
2766 "With the I<--uids> flag, these additional fields are displayed before the "
2767 "path:"
2768 msgstr ""
2769
2770 #. type: =item
2771 #: ../cat/virt-ls.pod:199
2772 msgid "uid"
2773 msgstr "uid"
2774
2775 #. type: =item
2776 #: ../cat/virt-ls.pod:201
2777 msgid "gid"
2778 msgstr "gid"
2779
2780 #. type: textblock
2781 #: ../cat/virt-ls.pod:203
2782 msgid ""
2783 "The UID and GID of the owner of the file (displayed numerically).  Note "
2784 "these only make sense in the context of a Unix-like guest."
2785 msgstr ""
2786
2787 #. type: textblock
2788 #: ../cat/virt-ls.pod:208
2789 msgid "With the I<--times> flag, these additional fields are displayed:"
2790 msgstr ""
2791
2792 #. type: =item
2793 #: ../cat/virt-ls.pod:212
2794 msgid "atime"
2795 msgstr "atime"
2796
2797 #. type: textblock
2798 #: ../cat/virt-ls.pod:214
2799 msgid "The time of last access."
2800 msgstr "Час останнього доступу."
2801
2802 #. type: =item
2803 #: ../cat/virt-ls.pod:216
2804 msgid "mtime"
2805 msgstr "mtime"
2806
2807 #. type: textblock
2808 #: ../cat/virt-ls.pod:218
2809 msgid "The time of last modification."
2810 msgstr "Час останнього внесення змін."
2811
2812 #. type: =item
2813 #: ../cat/virt-ls.pod:220
2814 msgid "ctime"
2815 msgstr "ctime"
2816
2817 #. type: textblock
2818 #: ../cat/virt-ls.pod:222
2819 msgid "The time of last status change."
2820 msgstr "Час останньої зміни стану."
2821
2822 #. type: textblock
2823 #: ../cat/virt-ls.pod:226
2824 msgid ""
2825 "The time fields are displayed as string dates and times, unless one of the "
2826 "I<--time-t>, I<--time-relative> or I<--time-days> flags is given."
2827 msgstr ""
2828
2829 #. type: textblock
2830 #: ../cat/virt-ls.pod:229
2831 msgid "With the I<--extra-stats> flag, these additional fields are displayed:"
2832 msgstr ""
2833
2834 #. type: =item
2835 #: ../cat/virt-ls.pod:233
2836 msgid "device"
2837 msgstr "пристрій"
2838
2839 #. type: textblock
2840 #: ../cat/virt-ls.pod:235
2841 msgid ""
2842 "The device containing the file (displayed as major:minor).  This may not "
2843 "match devices as known to the guest."
2844 msgstr ""
2845
2846 #. type: =item
2847 #: ../cat/virt-ls.pod:238
2848 msgid "inode"
2849 msgstr "inode"
2850
2851 #. type: textblock
2852 #: ../cat/virt-ls.pod:240
2853 msgid "The inode number."
2854 msgstr ""
2855
2856 #. type: =item
2857 #: ../cat/virt-ls.pod:242
2858 msgid "nlink"
2859 msgstr "nlink"
2860
2861 #. type: textblock
2862 #: ../cat/virt-ls.pod:244
2863 msgid "The number of hard links."
2864 msgstr "Кількість жорстких посилань."
2865
2866 #. type: =item
2867 #: ../cat/virt-ls.pod:246
2868 msgid "rdev"
2869 msgstr "rdev"
2870
2871 #. type: textblock
2872 #: ../cat/virt-ls.pod:248
2873 msgid ""
2874 "For block and char special files, the device (displayed as major:minor)."
2875 msgstr ""
2876
2877 #. type: =item
2878 #: ../cat/virt-ls.pod:251
2879 msgid "blocks"
2880 msgstr "блоки"
2881
2882 #. type: textblock
2883 #: ../cat/virt-ls.pod:253
2884 msgid "The number of 512 byte blocks allocated to the file."
2885 msgstr ""
2886
2887 #. type: textblock
2888 #: ../cat/virt-ls.pod:257
2889 msgid ""
2890 "With the I<--checksum> flag, the checksum of the file contents is shown "
2891 "(only for regular files).  Computing file checksums can take a considerable "
2892 "amount of time."
2893 msgstr ""
2894
2895 #. type: =item
2896 #: ../cat/virt-ls.pod:280
2897 msgid "B<--checksum>"
2898 msgstr "B<--checksum>"
2899
2900 #. type: =item
2901 #: ../cat/virt-ls.pod:282
2902 msgid "B<--checksum=crc|md5|sha1|sha224|sha256|sha384|sha512>"
2903 msgstr "B<--checksum=crc|md5|sha1|sha224|sha256|sha384|sha512>"
2904
2905 #. type: textblock
2906 #: ../cat/virt-ls.pod:284
2907 msgid ""
2908 "Display checksum over file contents for regular files.  With no argument, "
2909 "this defaults to using I<md5>.  Using an argument, you can select the "
2910 "checksum type to use."
2911 msgstr ""
2912
2913 #. type: textblock
2914 #: ../cat/virt-ls.pod:288 ../cat/virt-ls.pod:325 ../cat/virt-ls.pod:358
2915 #: ../cat/virt-ls.pod:391 ../cat/virt-ls.pod:401 ../cat/virt-ls.pod:408
2916 #: ../cat/virt-ls.pod:415 ../cat/virt-ls.pod:422
2917 msgid ""
2918 "This option only has effect in I<-lR> output mode.  See L</RECURSIVE LONG "
2919 "LISTING> above."
2920 msgstr ""
2921
2922 #. type: textblock
2923 #: ../cat/virt-ls.pod:316
2924 msgid ""
2925 "When prompting for keys and passphrases, virt-ls normally turns echoing off "
2926 "so you cannot see what you are typing.  If you are not worried about Tempest "
2927 "attacks and there is no one else in the room you can specify this flag to "
2928 "see what you are typing."
2929 msgstr ""
2930
2931 #. type: =item
2932 #: ../cat/virt-ls.pod:321
2933 msgid "B<--extra-stats>"
2934 msgstr "B<--extra-stats>"
2935
2936 #. type: textblock
2937 #: ../cat/virt-ls.pod:323
2938 msgid "Display extra stats."
2939 msgstr "Показати додаткові дані."
2940
2941 #. type: verbatim
2942 #: ../cat/virt-ls.pod:339
2943 #, no-wrap
2944 msgid ""
2945 " virt-ls --format=raw -a disk.img /dir\n"
2946 "\n"
2947 msgstr ""
2948
2949 #. type: verbatim
2950 #: ../cat/virt-ls.pod:343
2951 #, no-wrap
2952 msgid ""
2953 " virt-ls --format=raw -a disk.img --format -a another.img /dir\n"
2954 "\n"
2955 msgstr ""
2956
2957 #. type: textblock
2958 #: ../cat/virt-ls.pod:356
2959 msgid "Display file sizes in human-readable format."
2960 msgstr ""
2961
2962 #. type: =item
2963 #: ../cat/virt-ls.pod:370
2964 msgid "B<-R>"
2965 msgstr "B<-R>"
2966
2967 #. type: =item
2968 #: ../cat/virt-ls.pod:372
2969 msgid "B<--recursive>"
2970 msgstr "B<--recursive>"
2971
2972 #. type: textblock
2973 #: ../cat/virt-ls.pod:374
2974 msgid ""
2975 "Select the mode.  With neither of these options, C<virt-ls> produces a "
2976 "simple, flat list of the files in the named directory.  See L</SIMPLE "
2977 "LISTING>."
2978 msgstr ""
2979
2980 #. type: textblock
2981 #: ../cat/virt-ls.pod:378
2982 msgid ""
2983 "C<virt-ls -l> produces a \"long listing\", which shows more detail.  See L</"
2984 "LONG LISTING>."
2985 msgstr ""
2986
2987 #. type: textblock
2988 #: ../cat/virt-ls.pod:381
2989 msgid ""
2990 "C<virt-ls -R> produces a recursive list of files starting at the named "
2991 "directory.  See L</RECURSIVE LISTING>."
2992 msgstr ""
2993
2994 #. type: textblock
2995 #: ../cat/virt-ls.pod:384
2996 msgid ""
2997 "C<virt-ls -lR> produces a recursive long listing which can be more easily "
2998 "parsed.  See L</RECURSIVE LONG LISTING>."
2999 msgstr ""
3000
3001 #. type: =item
3002 #: ../cat/virt-ls.pod:387
3003 msgid "B<--times>"
3004 msgstr "B<--times>"
3005
3006 #. type: textblock
3007 #: ../cat/virt-ls.pod:389
3008 msgid "Display time fields."
3009 msgstr ""
3010
3011 #. type: =item
3012 #: ../cat/virt-ls.pod:394
3013 msgid "B<--time-days>"
3014 msgstr "B<--time-days>"
3015
3016 #. type: textblock
3017 #: ../cat/virt-ls.pod:396
3018 msgid "Display time fields as days before now (negative if in the future)."
3019 msgstr ""
3020
3021 #. type: textblock
3022 #: ../cat/virt-ls.pod:398
3023 msgid ""
3024 "Note that C<0> in output means \"up to 1 day before now\", or that the age "
3025 "of the file is between 0 and 86399 seconds."
3026 msgstr ""
3027
3028 #. type: =item
3029 #: ../cat/virt-ls.pod:404
3030 msgid "B<--time-relative>"
3031 msgstr "B<--time-relative>"
3032
3033 #. type: textblock
3034 #: ../cat/virt-ls.pod:406
3035 msgid "Display time fields as seconds before now (negative if in the future)."
3036 msgstr ""
3037
3038 #. type: =item
3039 #: ../cat/virt-ls.pod:411
3040 msgid "B<--time-t>"
3041 msgstr "B<--time-t>"
3042
3043 #. type: textblock
3044 #: ../cat/virt-ls.pod:413
3045 msgid "Display time fields as seconds since the Unix epoch."
3046 msgstr ""
3047
3048 #. type: =item
3049 #: ../cat/virt-ls.pod:418
3050 msgid "B<--uids>"
3051 msgstr "B<--uids>"
3052
3053 #. type: textblock
3054 #: ../cat/virt-ls.pod:420
3055 msgid "Display UID and GID fields."
3056 msgstr ""
3057
3058 #. type: textblock
3059 #: ../cat/virt-ls.pod:445
3060 msgid "Previous versions of virt-ls allowed you to write either:"
3061 msgstr ""
3062
3063 #. type: verbatim
3064 #: ../cat/virt-ls.pod:447
3065 #, no-wrap
3066 msgid ""
3067 " virt-ls disk.img [disk.img ...] /dir\n"
3068 "\n"
3069 msgstr ""
3070
3071 #. type: verbatim
3072 #: ../cat/virt-ls.pod:451
3073 #, no-wrap
3074 msgid ""
3075 " virt-ls guestname /dir\n"
3076 "\n"
3077 msgstr ""
3078
3079 #. type: textblock
3080 #: ../cat/virt-ls.pod:497
3081 msgid ""
3082 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-out(1)>, L<virt-"
3083 "tar-out(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
3084 "L<http://libguestfs.org/>."
3085 msgstr ""
3086 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-out(1)>, L<virt-"
3087 "tar-out(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
3088 "L<http://libguestfs.org/>."
3089
3090 #. type: textblock
3091 #: ../cat/virt-ls.pod:513 ../df/virt-df.pod:267 ../edit/virt-edit.pod:374
3092 #: ../rescue/virt-rescue.pod:340
3093 msgid "Copyright (C) 2009-2011 Red Hat Inc."
3094 msgstr "©Red Hat Inc., 2009–2011"
3095
3096 #. type: textblock
3097 #: ../clone/virt-sysprep.pod:5
3098 msgid ""
3099 "virt-sysprep - Reset or unconfigure a virtual machine so clones can be made"
3100 msgstr ""
3101
3102 #. type: verbatim
3103 #: ../clone/virt-sysprep.pod:9
3104 #, no-wrap
3105 msgid ""
3106 " virt-sysprep [--options] -d domname\n"
3107 "\n"
3108 msgstr ""
3109
3110 #. type: verbatim
3111 #: ../clone/virt-sysprep.pod:11
3112 #, no-wrap
3113 msgid ""
3114 " virt-sysprep [--options] -a disk.img [-a disk.img ...]\n"
3115 "\n"
3116 msgstr ""
3117
3118 #. type: textblock
3119 #: ../clone/virt-sysprep.pod:15
3120 msgid ""
3121 "Virt-sysprep \"resets\" or \"unconfigures\" a virtual machine so that clones "
3122 "can be made from it.  Steps in this process include removing SSH host keys, "
3123 "removing persistent network MAC configuration, and removing user accounts.  "
3124 "Each step can be enabled or disabled as required."
3125 msgstr ""
3126
3127 #. type: textblock
3128 #: ../clone/virt-sysprep.pod:21
3129 msgid ""
3130 "Virt-sysprep is a simple shell script, allowing easy inspection or "
3131 "customization by the system administrator."
3132 msgstr ""
3133
3134 #. type: textblock
3135 #: ../clone/virt-sysprep.pod:24
3136 msgid ""
3137 "Virt-sysprep modifies the guest or disk image I<in place>.  The guest must "
3138 "be shut down.  If you want to preserve the existing contents of the guest, "
3139 "you I<must copy or clone the disk first>.  See L</COPYING AND CLONING> below."
3140 msgstr ""
3141
3142 #. type: textblock
3143 #: ../clone/virt-sysprep.pod:29
3144 msgid ""
3145 "You do I<not> need to run virt-sysprep as root.  In fact we'd generally "
3146 "recommend that you don't.  The time you might want to run it as root is when "
3147 "you need root in order to access the disk image, but even in this case it "
3148 "would be better to change the permissions on the disk image to be writable "
3149 "as the non-root user running virt-sysprep."
3150 msgstr ""
3151
3152 #. type: textblock
3153 #: ../clone/virt-sysprep.pod:35
3154 msgid ""
3155 "\"Sysprep\" stands for \"system preparation\" tool.  The name comes from the "
3156 "Microsoft program C<sysprep.exe> which is used to unconfigure Windows "
3157 "machines in preparation for cloning them.  Having said that, virt-sysprep "
3158 "does I<not> currently work on Microsoft Windows guests.  We plan to support "
3159 "Windows sysprepping in a future version, and we already have code to do it."
3160 msgstr ""
3161
3162 #. type: =item
3163 #: ../clone/virt-sysprep.pod:76
3164 msgid "B<--enable=...>"
3165 msgstr ""
3166
3167 #. type: textblock
3168 #: ../clone/virt-sysprep.pod:78
3169 msgid ""
3170 "Choose which sysprep operations to perform.  Give a comma-separated list of "
3171 "operations, for example:"
3172 msgstr ""
3173
3174 #. type: verbatim
3175 #: ../clone/virt-sysprep.pod:81
3176 #, no-wrap
3177 msgid ""
3178 " --enable=ssh-hostkeys,udev-persistent-net\n"
3179 "\n"
3180 msgstr ""
3181
3182 #. type: textblock
3183 #: ../clone/virt-sysprep.pod:83
3184 msgid ""
3185 "would enable ONLY C<ssh-hostkeys> and C<udev-persistent-net> operations."
3186 msgstr ""
3187
3188 #. type: textblock
3189 #: ../clone/virt-sysprep.pod:85
3190 msgid ""
3191 "If the I<--enable> option is not given, then we default to trying all "
3192 "possible sysprep operations.  But some sysprep operations are skipped for "
3193 "some guest types."
3194 msgstr ""
3195
3196 #. type: textblock
3197 #: ../clone/virt-sysprep.pod:89
3198 msgid ""
3199 "Use I<--list-operations> to list operations supported by a particular "
3200 "version of virt-sysprep."
3201 msgstr ""
3202
3203 #. type: textblock
3204 #: ../clone/virt-sysprep.pod:92
3205 msgid ""
3206 "See L</OPERATIONS> below for a list and an explanation of each operation."
3207 msgstr ""
3208
3209 #. type: verbatim
3210 #: ../clone/virt-sysprep.pod:106
3211 #, no-wrap
3212 msgid ""
3213 " virt-sysprep --format=raw -a disk.img\n"
3214 "\n"
3215 msgstr ""
3216
3217 #. type: verbatim
3218 #: ../clone/virt-sysprep.pod:110
3219 #, no-wrap
3220 msgid ""
3221 " virt-sysprep --format=raw -a disk.img --format -a another.img\n"
3222 "\n"
3223 msgstr ""
3224
3225 #. type: =item
3226 #: ../clone/virt-sysprep.pod:119
3227 msgid "B<--hostname> newhostname"
3228 msgstr ""
3229
3230 #. type: textblock
3231 #: ../clone/virt-sysprep.pod:121
3232 msgid ""
3233 "Change the hostname.  See the L</hostname> operation below.  If not given, "
3234 "defaults to C<localhost.localdomain>."
3235 msgstr ""
3236
3237 #. type: =item
3238 #: ../clone/virt-sysprep.pod:124
3239 msgid "B<--list-operations>"
3240 msgstr ""
3241
3242 #. type: textblock
3243 #: ../clone/virt-sysprep.pod:126
3244 msgid "List the operations supported by the virt-sysprep program."
3245 msgstr ""
3246
3247 #. type: =item
3248 #: ../clone/virt-sysprep.pod:128
3249 msgid "B<--selinux-relabel>"
3250 msgstr ""
3251
3252 #. type: =item
3253 #: ../clone/virt-sysprep.pod:130
3254 msgid "B<--no-selinux-relabel>"
3255 msgstr ""
3256
3257 #. type: textblock
3258 #: ../clone/virt-sysprep.pod:132
3259 msgid ""
3260 "I<--selinux-relabel> forces SELinux relabelling next time the guest boots.  "
3261 "I<--no-selinux-relabel> disables relabelling."
3262 msgstr ""
3263
3264 #. type: textblock
3265 #: ../clone/virt-sysprep.pod:135
3266 msgid ""
3267 "The default is to try to detect if SELinux relabelling is required.  See L</"
3268 "SELINUX RELABELLING> below for more details."
3269 msgstr ""
3270
3271 #. type: =head1
3272 #: ../clone/virt-sysprep.pod:156
3273 msgid "OPERATIONS"
3274 msgstr ""
3275
3276 #. type: textblock
3277 #: ../clone/virt-sysprep.pod:158
3278 msgid ""
3279 "If the I<--enable> option is I<not> given, then I<all sysprep operations are "
3280 "enabled>, although some are skipped depending on the type of guest."
3281 msgstr ""
3282
3283 #. type: textblock
3284 #: ../clone/virt-sysprep.pod:162
3285 msgid ""
3286 "Operations can be individually enabled using the I<--enable> option.  Use a "
3287 "comma-separated list, for example:"
3288 msgstr ""
3289
3290 #. type: verbatim
3291 #: ../clone/virt-sysprep.pod:165
3292 #, no-wrap
3293 msgid ""
3294 " virt-sysprep --enable=ssh-hostkeys,udev-persistent-net [etc..]\n"
3295 "\n"
3296 msgstr ""
3297
3298 #. type: textblock
3299 #: ../clone/virt-sysprep.pod:167
3300 msgid ""
3301 "To list the operations supported by the current version of virt-sysprep, use "
3302 "I<--list-operations>."
3303 msgstr ""
3304
3305 #. type: textblock
3306 #: ../clone/virt-sysprep.pod:170
3307 msgid ""
3308 "Future versions of virt-sysprep may add more operations.  If you are using "
3309 "virt-sysprep and want predictable behaviour, specify only the operations "
3310 "that you want to have enabled."
3311 msgstr ""
3312
3313 #. type: =head2
3314 #: ../clone/virt-sysprep.pod:174
3315 msgid "cron-spool"
3316 msgstr ""
3317
3318 #. type: textblock
3319 #: ../clone/virt-sysprep.pod:176
3320 msgid "Remove user at-jobs and cron-jobs."
3321 msgstr ""
3322
3323 #. type: =head2
3324 #: ../clone/virt-sysprep.pod:178
3325 msgid "dhcp-client-state"
3326 msgstr ""
3327
3328 #. type: textblock
3329 #: ../clone/virt-sysprep.pod:180
3330 msgid "Remove DHCP client leases."
3331 msgstr ""
3332
3333 #. type: =head2
3334 #: ../clone/virt-sysprep.pod:182
3335 msgid "dhcp-server-state"
3336 msgstr ""
3337
3338 #. type: textblock
3339 #: ../clone/virt-sysprep.pod:184
3340 msgid "Remove DHCP server leases."
3341 msgstr ""
3342
3343 #. type: =head2
3344 #: ../clone/virt-sysprep.pod:186
3345 msgid "hostname"
3346 msgstr ""
3347
3348 #. type: textblock
3349 #: ../clone/virt-sysprep.pod:188
3350 msgid ""
3351 "Changes the hostname of the guest to the value given in the I<--hostname> "
3352 "parameter."
3353 msgstr ""
3354
3355 #. type: textblock
3356 #: ../clone/virt-sysprep.pod:191
3357 msgid ""
3358 "If the I<--hostname> parameter is not given, then the hostname is changed to "
3359 "C<localhost.localdomain>."
3360 msgstr ""
3361
3362 #. type: =head2
3363 #: ../clone/virt-sysprep.pod:194
3364 msgid "logfiles"
3365 msgstr ""
3366
3367 #. type: textblock
3368 #: ../clone/virt-sysprep.pod:196
3369 msgid "Remove many log files."
3370 msgstr ""
3371
3372 #. type: =head2
3373 #: ../clone/virt-sysprep.pod:198
3374 msgid "mail-spool"
3375 msgstr ""
3376
3377 #. type: textblock
3378 #: ../clone/virt-sysprep.pod:200
3379 msgid "Remove email from the local mail spool directory."
3380 msgstr ""
3381
3382 #. type: =head2
3383 #: ../clone/virt-sysprep.pod:202
3384 msgid "net-hwaddr"
3385 msgstr ""
3386
3387 #. type: textblock
3388 #: ../clone/virt-sysprep.pod:204
3389 msgid ""
3390 "Remove HWADDR (hard-coded MAC address) configuration.  For Fedora and Red "
3391 "Hat Enterprise Linux, this is removed from C<ifcfg-*> files."
3392 msgstr ""
3393
3394 #. type: =head2
3395 #: ../clone/virt-sysprep.pod:207
3396 msgid "random-seed"
3397 msgstr ""
3398
3399 #. type: textblock
3400 #: ../clone/virt-sysprep.pod:209
3401 msgid ""
3402 "Write some random bytes from the host into the random seed file of the guest."
3403 msgstr ""
3404
3405 #. type: textblock
3406 #: ../clone/virt-sysprep.pod:212
3407 msgid "See L</RANDOM SEED> below."
3408 msgstr ""
3409
3410 #. type: =head2
3411 #: ../clone/virt-sysprep.pod:214
3412 msgid "rhn-systemid"
3413 msgstr ""
3414
3415 #. type: textblock
3416 #: ../clone/virt-sysprep.pod:216
3417 msgid "Remove the RHN system ID."
3418 msgstr ""
3419
3420 #. type: =head2
3421 #: ../clone/virt-sysprep.pod:218
3422 msgid "smolt-uuid"
3423 msgstr ""
3424
3425 #. type: textblock
3426 #: ../clone/virt-sysprep.pod:220
3427 msgid "Remove the Smolt hardware UUID."
3428 msgstr ""
3429
3430 #. type: =head2
3431 #: ../clone/virt-sysprep.pod:222
3432 msgid "ssh-hostkeys"
3433 msgstr ""
3434
3435 #. type: textblock
3436 #: ../clone/virt-sysprep.pod:224
3437 msgid "Remove the SSH host keys in the guest."
3438 msgstr ""
3439
3440 #. type: textblock
3441 #: ../clone/virt-sysprep.pod:226
3442 msgid ""
3443 "The SSH host keys are regenerated (differently) next time the guest is "
3444 "booted."
3445 msgstr ""
3446
3447 #. type: textblock
3448 #: ../clone/virt-sysprep.pod:229
3449 msgid ""
3450 "If, after cloning, the guest gets the same IP address, ssh will give you a "
3451 "stark warning about the host key changing:"
3452 msgstr ""
3453
3454 #. type: verbatim
3455 #: ../clone/virt-sysprep.pod:232
3456 #, no-wrap
3457 msgid ""
3458 " @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\n"
3459 " @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @\n"
3460 " @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\n"
3461 " IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!\n"
3462 "\n"
3463 msgstr ""
3464
3465 #. type: =head2
3466 #: ../clone/virt-sysprep.pod:237
3467 msgid "udev-persistent-net"
3468 msgstr ""
3469
3470 #. type: textblock
3471 #: ../clone/virt-sysprep.pod:239
3472 msgid ""
3473 "Remove udev persistent net rules which map the guest's existing MAC address "
3474 "to a fixed ethernet device (eg. eth0)."
3475 msgstr ""
3476
3477 #. type: textblock
3478 #: ../clone/virt-sysprep.pod:242
3479 msgid ""
3480 "After a guest is cloned, the MAC address usually changes.  Since the old MAC "
3481 "address occupies the old name (eg. eth0), this means the fresh MAC address "
3482 "is assigned to a new name (eg. eth1) and this is usually undesirable.  "
3483 "Erasing the udev persistent net rules avoids this."
3484 msgstr ""
3485
3486 #. type: =head2
3487 #: ../clone/virt-sysprep.pod:247
3488 msgid "utmp"
3489 msgstr ""
3490
3491 #. type: textblock
3492 #: ../clone/virt-sysprep.pod:249
3493 msgid "Remove the utmp file."
3494 msgstr ""
3495
3496 #. type: textblock
3497 #: ../clone/virt-sysprep.pod:251
3498 msgid ""
3499 "This records who is currently logged in on a machine.  In modern Linux "
3500 "distros it is stored in a ramdisk and hence not part of the virtual "
3501 "machine's disk, but it was stored on disk in older distros."
3502 msgstr ""
3503
3504 #. type: =head2
3505 #: ../clone/virt-sysprep.pod:255
3506 msgid "yum-uuid"
3507 msgstr ""
3508
3509 #. type: textblock
3510 #: ../clone/virt-sysprep.pod:257
3511 msgid "Remove the yum UUID."
3512 msgstr ""
3513
3514 #. type: textblock
3515 #: ../clone/virt-sysprep.pod:259
3516 msgid ""
3517 "Yum creates a fresh UUID the next time it runs when it notices that the "
3518 "original UUID has been erased."
3519 msgstr ""
3520
3521 #. type: =head1
3522 #: ../clone/virt-sysprep.pod:262
3523 msgid "COPYING AND CLONING"
3524 msgstr ""
3525
3526 #. type: textblock
3527 #: ../clone/virt-sysprep.pod:264
3528 msgid ""
3529 "Virt-sysprep can be used as part of a process of cloning guests, or to "
3530 "prepare a template from which guests can be cloned.  There are many "
3531 "different ways to achieve this using the virt tools, and this section is "
3532 "just an introduction."
3533 msgstr ""
3534
3535 #. type: textblock
3536 #: ../clone/virt-sysprep.pod:269
3537 msgid "A virtual machine (when switched off) consists of two parts:"
3538 msgstr ""
3539
3540 #. type: =item
3541 #: ../clone/virt-sysprep.pod:273
3542 msgid "I<configuration>"
3543 msgstr ""
3544
3545 #. type: textblock
3546 #: ../clone/virt-sysprep.pod:275
3547 msgid ""
3548 "The configuration or description of the guest.  eg. The libvirt XML (see "
3549 "C<virsh dumpxml>), the running configuration of the guest, or another "
3550 "external format like OVF."
3551 msgstr ""
3552
3553 #. type: textblock
3554 #: ../clone/virt-sysprep.pod:279
3555 msgid "Some configuration items that might need to be changed:"
3556 msgstr ""
3557
3558 #. type: textblock
3559 #: ../clone/virt-sysprep.pod:285
3560 msgid "name"
3561 msgstr ""
3562
3563 #. type: textblock
3564 #: ../clone/virt-sysprep.pod:289 ../clone/virt-sysprep.pod:316
3565 msgid "UUID"
3566 msgstr ""
3567
3568 #. type: textblock
3569 #: ../clone/virt-sysprep.pod:293
3570 msgid "path to block device(s)"
3571 msgstr ""
3572
3573 #. type: textblock
3574 #: ../clone/virt-sysprep.pod:297
3575 msgid "network card MAC address"
3576 msgstr ""
3577
3578 #. type: =item
3579 #: ../clone/virt-sysprep.pod:301
3580 msgid "I<block device(s)>"
3581 msgstr ""
3582
3583 #. type: textblock
3584 #: ../clone/virt-sysprep.pod:303
3585 msgid ""
3586 "One or more hard disk images, themselves containing files, directories, "
3587 "applications, kernels, configuration, etc."
3588 msgstr ""
3589
3590 #. type: textblock
3591 #: ../clone/virt-sysprep.pod:306
3592 msgid "Some things inside the block devices that might need to be changed:"
3593 msgstr ""
3594
3595 #. type: textblock
3596 #: ../clone/virt-sysprep.pod:312
3597 msgid "hostname and other net configuration"
3598 msgstr ""
3599
3600 #. type: textblock
3601 #: ../clone/virt-sysprep.pod:320
3602 msgid "SSH host keys"
3603 msgstr ""
3604
3605 #. type: textblock
3606 #: ../clone/virt-sysprep.pod:324
3607 msgid "Windows unique security ID (SID)"
3608 msgstr ""
3609
3610 #. type: textblock
3611 #: ../clone/virt-sysprep.pod:328
3612 msgid "Puppet registration"
3613 msgstr ""
3614
3615 #. type: =head2
3616 #: ../clone/virt-sysprep.pod:334
3617 msgid "COPYING THE BLOCK DEVICE"
3618 msgstr ""
3619
3620 #. type: textblock
3621 #: ../clone/virt-sysprep.pod:336
3622 msgid ""
3623 "Starting with an original guest, you probably wish to copy the guest block "
3624 "device and its configuration to make a template.  Then once you are happy "
3625 "with the template, you will want to make many clones from it."
3626 msgstr ""
3627
3628 #. type: verbatim
3629 #: ../clone/virt-sysprep.pod:341
3630 #, no-wrap
3631 msgid ""
3632 "                        virt-sysprep\n"
3633 "                             |\n"
3634 "                             v\n"
3635 " original guest --------> template ---------->\n"
3636 "                                      \\------> cloned\n"
3637 "                                       \\-----> guests\n"
3638 "                                        \\---->\n"
3639 "\n"
3640 msgstr ""
3641
3642 #. type: textblock
3643 #: ../clone/virt-sysprep.pod:349
3644 msgid ""
3645 "You can, of course, just copy the block device on the host using L<cp(1)> or "
3646 "L<dd(1)>."
3647 msgstr ""
3648
3649 #. type: verbatim
3650 #: ../clone/virt-sysprep.pod:352
3651 #, no-wrap
3652 msgid ""
3653 "                   dd                 dd\n"
3654 " original guest --------> template ---------->\n"
3655 "                                      \\------> cloned\n"
3656 "                                       \\-----> guests\n"
3657 "                                        \\---->\n"
3658 "\n"
3659 msgstr ""
3660
3661 #. type: textblock
3662 #: ../clone/virt-sysprep.pod:358
3663 msgid "There are some smarter (and faster) ways too:"
3664 msgstr ""
3665
3666 #. type: verbatim
3667 #: ../clone/virt-sysprep.pod:364
3668 #, no-wrap
3669 msgid ""
3670 "                          snapshot\n"
3671 "                template ---------->\n"
3672 "                            \\------> cloned\n"
3673 "                             \\-----> guests\n"
3674 "                              \\---->\n"
3675 "\n"
3676 msgstr ""
3677
3678 #. type: textblock
3679 #: ../clone/virt-sysprep.pod:370
3680 msgid ""
3681 "Use the block device as a backing file and create a snapshot on top for each "
3682 "guest.  The advantage is that you don't need to copy the block device (very "
3683 "fast) and only changes are stored (less storage required)."
3684 msgstr ""
3685
3686 #. type: textblock
3687 #: ../clone/virt-sysprep.pod:375
3688 msgid ""
3689 "Note that writing to the backing file once you have created guests on top of "
3690 "it is not possible: you will corrupt the guests."
3691 msgstr ""
3692
3693 #. type: textblock
3694 #: ../clone/virt-sysprep.pod:378
3695 msgid ""
3696 "Tools that can do this include: L<qemu-img(1)> (with the I<create -f qcow2 -"
3697 "o backing_file> option), L<lvcreate(8)> (I<--snapshot> option).  Some "
3698 "filesystems (such as btrfs) and most Network Attached Storage devices can "
3699 "also create cheap snapshots from files or LUNs."
3700 msgstr ""
3701
3702 #. type: textblock
3703 #: ../clone/virt-sysprep.pod:386
3704 msgid "Get your NAS to snapshot and/or duplicate the LUN."
3705 msgstr ""
3706
3707 #. type: textblock
3708 #: ../clone/virt-sysprep.pod:390
3709 msgid "Prepare your template using L<virt-sparsify(1)>.  See below."
3710 msgstr ""
3711
3712 #. type: =head2
3713 #: ../clone/virt-sysprep.pod:394
3714 msgid "VIRT-CLONE"
3715 msgstr ""
3716
3717 #. type: textblock
3718 #: ../clone/virt-sysprep.pod:396
3719 msgid ""
3720 "A separate tool, L<virt-clone(1)>, can be used to duplicate the block device "
3721 "and/or modify the external libvirt configuration of a guest.  It will reset "
3722 "the name, UUID and MAC address of the guest in the libvirt XML."
3723 msgstr ""
3724
3725 #. type: textblock
3726 #: ../clone/virt-sysprep.pod:401
3727 msgid ""
3728 "L<virt-clone(1)> does not use libguestfs and cannot look inside the disk "
3729 "image.  This was the original motivation to write virt-sysprep."
3730 msgstr ""
3731
3732 #. type: =head2
3733 #: ../clone/virt-sysprep.pod:404
3734 msgid "SPARSIFY"
3735 msgstr ""
3736
3737 #. type: verbatim
3738 #: ../clone/virt-sysprep.pod:406
3739 #, no-wrap
3740 msgid ""
3741 "              virt-sparsify\n"
3742 " original guest --------> template\n"
3743 "\n"
3744 msgstr ""
3745
3746 #. type: textblock
3747 #: ../clone/virt-sysprep.pod:409
3748 msgid ""
3749 "L<virt-sparsify(1)> can be used to make the cloning template smaller, making "
3750 "it easier to compress and/or faster to copy."
3751 msgstr ""
3752
3753 #. type: textblock
3754 #: ../clone/virt-sysprep.pod:412
3755 msgid ""
3756 "Notice that since virt-sparsify also copies the image, you can use it to "
3757 "make the initial copy (instead of C<dd>)."
3758 msgstr ""
3759
3760 #. type: =head2
3761 #: ../clone/virt-sysprep.pod:415
3762 msgid "RESIZE"
3763 msgstr ""
3764
3765 #. type: verbatim
3766 #: ../clone/virt-sysprep.pod:417
3767 #, no-wrap
3768 msgid ""
3769 "                         virt-resize\n"
3770 "                template ---------->\n"
3771 "                            \\------> cloned\n"
3772 "                             \\-----> guests\n"
3773 "                              \\---->\n"
3774 "\n"
3775 msgstr ""
3776
3777 #. type: textblock
3778 #: ../clone/virt-sysprep.pod:423
3779 msgid ""
3780 "If you want to give people cloned guests, but let them pick the size of the "
3781 "guest themselves (eg. depending on how much they are prepared to pay for "
3782 "disk space), then instead of copying the template, you can run L<virt-resize"
3783 "(1)>.  Virt-resize performs a copy and resize, and thus is ideal for cloning "
3784 "guests from a template."
3785 msgstr ""
3786
3787 #. type: =head1
3788 #: ../clone/virt-sysprep.pod:429 ../src/guestfs.pod:1164
3789 msgid "SECURITY"
3790 msgstr "БЕЗПЕКА"
3791
3792 #. type: textblock
3793 #: ../clone/virt-sysprep.pod:431
3794 msgid ""
3795 "Although virt-sysprep removes some sensitive information from the guest, it "
3796 "does not pretend to remove all of it.  You should examine the L</OPERATIONS> "
3797 "above, and the implementation of the operations in the shell script.  You "
3798 "should also examine the guest afterwards."
3799 msgstr ""
3800
3801 #. type: textblock
3802 #: ../clone/virt-sysprep.pod:436
3803 msgid ""
3804 "Sensitive files are simply removed.  The data they contained may still exist "
3805 "on the disk, easily recovered with a hex editor or undelete tool.  Use "
3806 "L<virt-sparsify(1)> as one way to remove this content.  See also the L<scrub"
3807 "(1)> command to get rid of deleted content in directory entries and inodes."
3808 msgstr ""
3809
3810 #. type: =head2
3811 #: ../clone/virt-sysprep.pod:442
3812 msgid "RANDOM SEED"
3813 msgstr ""
3814
3815 #. type: textblock
3816 #: ../clone/virt-sysprep.pod:444
3817 msgid "I<(This section applies to Linux guests only)>"
3818 msgstr ""
3819
3820 #. type: textblock
3821 #: ../clone/virt-sysprep.pod:446
3822 msgid ""
3823 "The virt-sysprep C<random-seed> operation writes a few bytes of randomness "
3824 "from the host into the guest's random seed file."
3825 msgstr ""
3826
3827 #. type: textblock
3828 #: ../clone/virt-sysprep.pod:449
3829 msgid ""
3830 "If this is just done once and the guest is cloned from the same template, "
3831 "then each guest will start with the same entropy, and things like SSH host "
3832 "keys and TCP sequence numbers may be predictable."
3833 msgstr ""
3834
3835 #. type: textblock
3836 #: ../clone/virt-sysprep.pod:453
3837 msgid ""
3838 "Therefore you should arrange to add more randomness I<after> cloning from a "
3839 "template too, which can be done by just enabling the C<random-seed> "
3840 "operation:"
3841 msgstr ""
3842
3843 #. type: verbatim
3844 #: ../clone/virt-sysprep.pod:457
3845 #, no-wrap
3846 msgid ""
3847 " cp template.img newguest.img\n"
3848 " virt-sysprep --enable=random-seed -a newguest.img\n"
3849 "\n"
3850 msgstr ""
3851
3852 #. type: =head2
3853 #: ../clone/virt-sysprep.pod:460
3854 msgid "SELINUX RELABELLING"
3855 msgstr ""
3856
3857 #. type: textblock
3858 #: ../clone/virt-sysprep.pod:462
3859 msgid "I<(This section applies to Linux guests using SELinux only)>"
3860 msgstr ""
3861
3862 #. type: textblock
3863 #: ../clone/virt-sysprep.pod:464
3864 msgid ""
3865 "If any new files are created by virt-sysprep, then virt-sysprep touches C</."
3866 "autorelabel> so that these will be correctly labelled by SELinux the next "
3867 "time the guest is booted.  This process interrupts boot and can take some "
3868 "time."
3869 msgstr ""
3870
3871 #. type: textblock
3872 #: ../clone/virt-sysprep.pod:469
3873 msgid ""
3874 "You can force relabelling for all guests by supplying the I<--selinux-"
3875 "relabel> option."
3876 msgstr ""
3877
3878 #. type: textblock
3879 #: ../clone/virt-sysprep.pod:472
3880 msgid ""
3881 "You can disable relabelling entirely by supplying the I<--no-selinux-"
3882 "relabel> option."
3883 msgstr ""
3884
3885 #. type: textblock
3886 #: ../clone/virt-sysprep.pod:484
3887 msgid "This program returns 0 on success, or 1 if there was an error."
3888 msgstr ""
3889
3890 #. type: textblock
3891 #: ../clone/virt-sysprep.pod:488
3892 msgid ""
3893 "L<guestfs(3)>, L<guestfish(1)>, L<virt-clone(1)>, L<virt-rescue(1)>, L<virt-"
3894 "resize(1)>, L<virt-sparsify(1)>, L<virsh(1)>, L<lvcreate(8)>, L<qemu-img(1)"
3895 ">, L<scrub(1)>, L<http://libguestfs.org/>, L<http://libvirt.org/>."
3896 msgstr ""
3897
3898 #. type: textblock
3899 #: ../df/virt-df.pod:5
3900 msgid "virt-df - Display free space on virtual filesystems"
3901 msgstr ""
3902
3903 #. type: verbatim
3904 #: ../df/virt-df.pod:9
3905 #, no-wrap
3906 msgid ""
3907 " virt-df [--options]\n"
3908 "\n"
3909 msgstr ""
3910 " virt-df [--параметри]\n"
3911 "\n"
3912
3913 #. type: verbatim
3914 #: ../df/virt-df.pod:11
3915 #, no-wrap
3916 msgid ""
3917 " virt-df [--options] -d domname\n"
3918 "\n"
3919 msgstr ""
3920
3921 #. type: verbatim
3922 #: ../df/virt-df.pod:13
3923 #, no-wrap
3924 msgid ""
3925 " virt-df [--options] -a disk.img [-a disk.img ...]\n"
3926 "\n"
3927 msgstr ""
3928
3929 #. type: verbatim
3930 #: ../df/virt-df.pod:17
3931 #, no-wrap
3932 msgid ""
3933 " virt-df [--options] domname\n"
3934 "\n"
3935 msgstr ""
3936
3937 #. type: verbatim
3938 #: ../df/virt-df.pod:19
3939 #, no-wrap
3940 msgid ""
3941 " virt-df [--options] disk.img [disk.img ...]\n"
3942 "\n"
3943 msgstr ""
3944
3945 #. type: textblock
3946 #: ../df/virt-df.pod:23
3947 msgid ""
3948 "C<virt-df> is a command line tool to display free space on virtual machine "
3949 "filesystems.  Unlike other tools, it doesn't just display the size of disk "
3950 "allocated to a virtual machine, but can look inside disk images to see how "
3951 "much space is really being used."
3952 msgstr ""
3953
3954 #. type: textblock
3955 #: ../df/virt-df.pod:28
3956 msgid ""
3957 "If used without any I<-a> or I<-d> arguments, C<virt-df> checks with libvirt "
3958 "to get a list of all active and inactive guests, and performs a C<df>-type "
3959 "operation on each one in turn, printing out the results."
3960 msgstr ""
3961
3962 #. type: textblock
3963 #: ../df/virt-df.pod:32
3964 msgid ""
3965 "If any I<-a> or I<-d> arguments are specified, C<virt-df> performs a C<df>-"
3966 "type operation on either the single named libvirt domain, or on the disk "
3967 "image(s) listed on the command line (which must all belong to a single VM).  "
3968 "In this mode (with arguments), C<virt-df> will I<only work for a single "
3969 "guest>.  If you want to run on multiple guests, then you have to invoke "
3970 "C<virt-df> multiple times."
3971 msgstr ""
3972
3973 #. type: textblock
3974 #: ../df/virt-df.pod:39
3975 msgid ""
3976 "Use the I<--csv> option to get a format which can be easily parsed by other "
3977 "programs.  Other options are similar to the standard L<df(1)> command."
3978 msgstr ""
3979
3980 #. type: textblock
3981 #: ../df/virt-df.pod:45
3982 msgid ""
3983 "Show disk usage for a single libvirt guest called C<F14x64>.  Make the "
3984 "output human-readable:"
3985 msgstr ""
3986
3987 #. type: verbatim
3988 #: ../df/virt-df.pod:48
3989 #, no-wrap
3990 msgid ""
3991 " # virt-df -d F14x64 -h\n"
3992 " Filesystem                       Size     Used  Available  Use%\n"
3993 " F14x64:/dev/sda1                 484M      66M       393M   14%\n"
3994 " F14x64:/dev/vg_f13x64/lv_root    7.4G     3.4G       4.0G   46%\n"
3995 "\n"
3996 msgstr ""
3997
3998 #. type: textblock
3999 #: ../df/virt-df.pod:53
4000 msgid "Show disk usage for a disk image file called C<test.img>:"
4001 msgstr ""
4002
4003 #. type: verbatim
4004 #: ../df/virt-df.pod:55
4005 #, no-wrap
4006 msgid ""
4007 " $ virt-df -a test1.img\n"
4008 " Filesystem                  1K-blocks     Used  Available  Use%\n"
4009 " test1.img:/dev/sda1             99099     1551      92432    2%\n"
4010 "\n"
4011 msgstr ""
4012
4013 #. type: verbatim
4014 #: ../df/virt-df.pod:112
4015 #, no-wrap
4016 msgid ""
4017 " virt-df --format=raw -a disk.img\n"
4018 "\n"
4019 msgstr ""
4020
4021 #. type: verbatim
4022 #: ../df/virt-df.pod:116
4023 #, no-wrap
4024 msgid ""
4025 " virt-df --format=raw -a disk.img --format -a another.img\n"
4026 "\n"
4027 msgstr ""
4028
4029 #. type: textblock
4030 #: ../df/virt-df.pod:129
4031 msgid "Print sizes in human-readable format."
4032 msgstr ""
4033
4034 #. type: textblock
4035 #: ../df/virt-df.pod:131
4036 msgid "You are not allowed to use I<-h> and I<--csv> at the same time."
4037 msgstr ""
4038
4039 #. type: =item
4040 #: ../df/virt-df.pod:133 ../fish/guestfish.pod:258 ../fuse/guestmount.pod:164
4041 msgid "B<-i>"
4042 msgstr "B<-i>"
4043
4044 #. type: =item
4045 #: ../df/virt-df.pod:135
4046 msgid "B<--inodes>"
4047 msgstr "B<--inodes>"
4048
4049 #. type: textblock
4050 #: ../df/virt-df.pod:137
4051 msgid "Print inodes instead of blocks."
4052 msgstr ""
4053
4054 #. type: =item
4055 #: ../df/virt-df.pod:139
4056 msgid "B<--one-per-guest>"
4057 msgstr "B<--one-per-guest>"
4058
4059 #. type: textblock
4060 #: ../df/virt-df.pod:141
4061 msgid ""
4062 "Run one libguestfs appliance per guest.  Normally C<virt-df> will add the "
4063 "disks from several guests to a single libguestfs appliance."
4064 msgstr ""
4065
4066 #. type: textblock
4067 #: ../df/virt-df.pod:144
4068 msgid "You might use this option in the following circumstances:"
4069 msgstr ""
4070
4071 #. type: textblock
4072 #: ../df/virt-df.pod:150
4073 msgid ""
4074 "If you think an untrusted guest might actively try to exploit the libguestfs "
4075 "appliance kernel, then this prevents one guest from interfering with the "
4076 "stats printed for another guest."
4077 msgstr ""
4078
4079 #. type: textblock
4080 #: ../df/virt-df.pod:156
4081 msgid ""
4082 "If the kernel has a bug which stops it from accessing a filesystem in one "
4083 "guest (see for example RHBZ#635373) then this allows libguestfs to continue "
4084 "and report stats for further guests."
4085 msgstr ""
4086
4087 #. type: textblock
4088 #: ../df/virt-df.pod:165
4089 msgid ""
4090 "Print UUIDs instead of names.  This is useful for following a guest even "
4091 "when the guest is migrated or renamed, or when two guests happen to have the "
4092 "same name."
4093 msgstr ""
4094
4095 #. type: textblock
4096 #: ../df/virt-df.pod:169
4097 msgid ""
4098 "Note that only domains that we fetch from libvirt come with UUIDs.  For disk "
4099 "images, we still print the disk image name even when this option is "
4100 "specified."
4101 msgstr ""
4102
4103 #. type: =head1
4104 #: ../df/virt-df.pod:191
4105 #, fuzzy
4106 #| msgid "NUMBERS"
4107 msgid "STATVFS NUMBERS"
4108 msgstr "ЧИСЛА"
4109
4110 #. type: textblock
4111 #: ../df/virt-df.pod:193
4112 msgid ""
4113 "C<virt-df> (and L<df(1)>) get information by issuing a L<statvfs(3)> system "
4114 "call.  You can get the same information directly, either from the host "
4115 "(using libguestfs) or inside the guest:"
4116 msgstr ""
4117
4118 #. type: =item
4119 #: ../df/virt-df.pod:199
4120 msgid "From the host"
4121 msgstr ""
4122
4123 #. type: textblock
4124 #: ../df/virt-df.pod:201 ../df/virt-df.pod:209
4125 #, fuzzy
4126 #| msgid ""
4127 #| " sh-lines command\n"
4128 #| "\n"
4129 msgid "Run this command:"
4130 msgstr ""
4131 " sh-lines команда\n"
4132 "\n"
4133
4134 #. type: verbatim
4135 #: ../df/virt-df.pod:203
4136 #, fuzzy, no-wrap
4137 #| msgid ""
4138 #| " guestfish --ro -d myguest -i\n"
4139 #| "\n"
4140 msgid ""
4141 " guestfish --ro -d GuestName -i statvfs /\n"
4142 "\n"
4143 msgstr ""
4144 " guestfish --ro -d myguest -i\n"
4145 "\n"
4146
4147 #. type: textblock
4148 #: ../df/virt-df.pod:205 ../df/virt-df.pod:213
4149 msgid "(change C</> to see stats for other filesystems)."
4150 msgstr ""
4151
4152 #. type: =item
4153 #: ../df/virt-df.pod:207
4154 msgid "From inside the guest"
4155 msgstr ""
4156
4157 #. type: verbatim
4158 #: ../df/virt-df.pod:211
4159 #, no-wrap
4160 msgid ""
4161 " python -c 'import os; s = os.statvfs (\"/\"); print s'\n"
4162 "\n"
4163 msgstr ""
4164
4165 #. type: textblock
4166 #: ../df/virt-df.pod:255
4167 msgid ""
4168 "L<df(1)>, L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<http://"
4169 "libguestfs.org/>."
4170 msgstr ""
4171
4172 #. type: textblock
4173 #: ../edit/virt-edit.pod:5
4174 msgid "virt-edit - Edit a file in a virtual machine"
4175 msgstr ""
4176
4177 #. type: verbatim
4178 #: ../edit/virt-edit.pod:9
4179 #, no-wrap
4180 msgid ""
4181 " virt-edit [--options] -d domname file [file ...]\n"
4182 "\n"
4183 msgstr ""
4184
4185 #. type: verbatim
4186 #: ../edit/virt-edit.pod:11
4187 #, no-wrap
4188 msgid ""
4189 " virt-edit [--options] -a disk.img [-a disk.img ...] file [file ...]\n"
4190 "\n"
4191 msgstr ""
4192
4193 #. type: verbatim
4194 #: ../edit/virt-edit.pod:13
4195 #, no-wrap
4196 msgid ""
4197 " virt-edit [-d domname|-a disk.img] file -e 'expr'\n"
4198 "\n"
4199 msgstr ""
4200
4201 #. type: verbatim
4202 #: ../edit/virt-edit.pod:17
4203 #, no-wrap
4204 msgid ""
4205 " virt-edit domname file\n"
4206 "\n"
4207 msgstr ""
4208
4209 #. type: verbatim
4210 #: ../edit/virt-edit.pod:19 ../edit/virt-edit.pod:183
4211 #, no-wrap
4212 msgid ""
4213 " virt-edit disk.img [disk.img ...] file\n"
4214 "\n"
4215 msgstr ""
4216
4217 #. type: =head1
4218 #: ../edit/virt-edit.pod:21 ../fish/guestfish.pod:23
4219 #: ../fish/virt-copy-in.pod:13 ../fish/virt-tar-in.pod:15
4220 #: ../fuse/guestmount.pod:15 ../rescue/virt-rescue.pod:21
4221 #: ../tools/virt-tar.pl:64 ../tools/virt-win-reg.pl:51
4222 msgid "WARNING"
4223 msgstr "ПОПЕРЕДЖЕННЯ"
4224
4225 #. type: textblock
4226 #: ../edit/virt-edit.pod:23
4227 msgid ""
4228 "You must I<not> use C<virt-edit> on live virtual machines.  If you do this, "
4229 "you risk disk corruption in the VM.  C<virt-edit> tries to stop you from "
4230 "doing this, but doesn't catch all cases."
4231 msgstr ""
4232
4233 #. type: textblock
4234 #: ../edit/virt-edit.pod:29
4235 msgid ""
4236 "C<virt-edit> is a command line tool to edit C<file> where each C<file> "
4237 "exists in the named virtual machine (or disk image)."
4238 msgstr ""
4239
4240 #. type: textblock
4241 #: ../edit/virt-edit.pod:32
4242 msgid ""
4243 "Multiple filenames can be given, in which case they are each edited in "
4244 "turn.  Each filename must be a full path, starting at the root directory "
4245 "(starting with '/')."
4246 msgstr ""
4247
4248 #. type: textblock
4249 #: ../edit/virt-edit.pod:36
4250 msgid "If you want to just view a file, use L<virt-cat(1)>."
4251 msgstr ""
4252
4253 #. type: textblock
4254 #: ../edit/virt-edit.pod:38
4255 msgid ""
4256 "For more complex cases you should look at the L<guestfish(1)> tool (see L</"
4257 "USING GUESTFISH> below)."
4258 msgstr ""
4259
4260 #. type: textblock
4261 #: ../edit/virt-edit.pod:41
4262 msgid ""
4263 "C<virt-edit> cannot be used to create a new file.  L<guestfish(1)> can do "
4264 "that and much more."
4265 msgstr ""
4266
4267 #. type: textblock
4268 #: ../edit/virt-edit.pod:46
4269 msgid "Edit the named files interactively:"
4270 msgstr ""
4271
4272 #. type: verbatim
4273 #: ../edit/virt-edit.pod:48
4274 #, no-wrap
4275 msgid ""
4276 " virt-edit -d mydomain /boot/grub/grub.conf\n"
4277 "\n"
4278 msgstr ""
4279
4280 #. type: verbatim
4281 #: ../edit/virt-edit.pod:50
4282 #, no-wrap
4283 msgid ""
4284 " virt-edit -d mydomain /etc/passwd\n"
4285 "\n"
4286 msgstr ""
4287
4288 #. type: textblock
4289 #: ../edit/virt-edit.pod:52
4290 msgid "For Windows guests, some Windows paths are understood:"
4291 msgstr ""
4292
4293 #. type: verbatim
4294 #: ../edit/virt-edit.pod:54
4295 #, no-wrap
4296 msgid ""
4297 " virt-edit -d mywindomain 'c:\\autoexec.bat'\n"
4298 "\n"
4299 msgstr ""
4300
4301 #. type: textblock
4302 #: ../edit/virt-edit.pod:56
4303 msgid ""
4304 "If Perl is installed, you can also edit files non-interactively (see L</NON-"
4305 "INTERACTIVE EDITING> below).  To change the init default level to 5:"
4306 msgstr ""
4307
4308 #. type: verbatim
4309 #: ../edit/virt-edit.pod:60
4310 #, no-wrap
4311 msgid ""
4312 " virt-edit -d mydomain /etc/inittab -e 's/^id:.*/id:5:initdefault:/'\n"
4313 "\n"
4314 msgstr ""
4315
4316 #. type: =item
4317 #: ../edit/virt-edit.pod:81
4318 msgid "B<-b> extension"
4319 msgstr ""
4320
4321 #. type: =item
4322 #: ../edit/virt-edit.pod:83
4323 msgid "B<--backup> extension"
4324 msgstr ""
4325
4326 #. type: textblock
4327 #: ../edit/virt-edit.pod:85
4328 msgid ""
4329 "Create a backup of the original file I<in the guest disk image>.  The backup "
4330 "has the original filename with C<extension> added."
4331 msgstr ""
4332
4333 #. type: textblock
4334 #: ../edit/virt-edit.pod:88
4335 msgid ""
4336 "Usually the first character of C<extension> would be a dot C<.> so you would "
4337 "write:"
4338 msgstr ""
4339
4340 #. type: verbatim
4341 #: ../edit/virt-edit.pod:91
4342 #, no-wrap
4343 msgid ""
4344 " virt-edit -b .orig [etc]\n"
4345 "\n"
4346 msgstr ""
4347
4348 #. type: textblock
4349 #: ../edit/virt-edit.pod:93
4350 msgid "By default, no backup file is made."
4351 msgstr ""
4352
4353 #. type: =item
4354 #: ../edit/virt-edit.pod:95 ../fish/guestfish.pod:181
4355 #: ../fuse/guestmount.pod:105 ../inspector/virt-inspector.pod:74
4356 #: ../tools/virt-list-filesystems.pl:77 ../tools/virt-list-partitions.pl:78
4357 #: ../tools/virt-tar.pl:127 ../tools/virt-win-reg.pl:128
4358 msgid "B<-c URI>"
4359 msgstr "B<-c адреса>"
4360
4361 #. type: =item
4362 #: ../edit/virt-edit.pod:97 ../fish/guestfish.pod:183
4363 #: ../fuse/guestmount.pod:107 ../inspector/virt-inspector.pod:76
4364 #: ../tools/virt-list-filesystems.pl:79 ../tools/virt-list-partitions.pl:80
4365 #: ../tools/virt-tar.pl:129 ../tools/virt-win-reg.pl:130
4366 msgid "B<--connect URI>"
4367 msgstr "B<--connect адреса>"
4368
4369 #. type: textblock
4370 #: ../edit/virt-edit.pod:102 ../tools/virt-list-filesystems.pl:84
4371 #: ../tools/virt-list-partitions.pl:85 ../tools/virt-tar.pl:134
4372 #: ../tools/virt-win-reg.pl:135
4373 msgid ""
4374 "If you specify guest block devices directly, then libvirt is not used at all."
4375 msgstr ""
4376
4377 #. type: textblock
4378 #: ../edit/virt-edit.pod:114
4379 msgid ""
4380 "When prompting for keys and passphrases, virt-edit normally turns echoing "
4381 "off so you cannot see what you are typing.  If you are not worried about "
4382 "Tempest attacks and there is no one else in the room you can specify this "
4383 "flag to see what you are typing."
4384 msgstr ""
4385
4386 #. type: =item
4387 #: ../edit/virt-edit.pod:119
4388 msgid "B<-e> EXPR"
4389 msgstr "B<-e> вираз"
4390
4391 #. type: =item
4392 #: ../edit/virt-edit.pod:121
4393 msgid "B<--expr> EXPR"
4394 msgstr "B<--expr> вираз"
4395
4396 #. type: textblock
4397 #: ../edit/virt-edit.pod:123
4398 msgid ""
4399 "Instead of launching the external editor, non-interactively apply the Perl "
4400 "expression C<EXPR> to each line in the file.  See L</NON-INTERACTIVE "
4401 "EDITING> below."
4402 msgstr ""
4403
4404 #. type: textblock
4405 #: ../edit/virt-edit.pod:127
4406 msgid ""
4407 "Be careful to properly quote the expression to prevent it from being altered "
4408 "by the shell."
4409 msgstr ""
4410
4411 #. type: textblock
4412 #: ../edit/virt-edit.pod:130
4413 msgid "Note that this option is only available when Perl 5 is installed."
4414 msgstr ""
4415
4416 #. type: =item
4417 #: ../edit/virt-edit.pod:132
4418 msgid "B<--format> raw|qcow2|..."
4419 msgstr "B<--format> raw|qcow2|..."
4420
4421 #. type: verbatim
4422 #: ../edit/virt-edit.pod:143
4423 #, no-wrap
4424 msgid ""
4425 " virt-edit --format=raw -a disk.img file\n"
4426 "\n"
4427 msgstr ""
4428
4429 #. type: verbatim
4430 #: ../edit/virt-edit.pod:147
4431 #, no-wrap
4432 msgid ""
4433 " virt-edit --format=raw -a disk.img --format -a another.img file\n"
4434 "\n"
4435 msgstr ""
4436
4437 #. type: textblock
4438 #: ../edit/virt-edit.pod:181
4439 msgid "Previous versions of virt-edit allowed you to write either:"
4440 msgstr ""
4441
4442 #. type: verbatim
4443 #: ../edit/virt-edit.pod:187
4444 #, no-wrap
4445 msgid ""
4446 " virt-edit guestname file\n"
4447 "\n"
4448 msgstr ""
4449
4450 #. type: =head1
4451 #: ../edit/virt-edit.pod:195
4452 msgid "NON-INTERACTIVE EDITING"
4453 msgstr "НЕІНТЕРАКТИВНЕ РЕДАГУВАННЯ"
4454
4455 #. type: textblock
4456 #: ../edit/virt-edit.pod:197
4457 msgid ""
4458 "C<virt-edit> normally calls out to C<$EDITOR> (or vi) so the system "
4459 "administrator can interactively edit the file."
4460 msgstr ""
4461
4462 #. type: textblock
4463 #: ../edit/virt-edit.pod:200
4464 msgid ""
4465 "There are two ways also to use C<virt-edit> from scripts in order to make "
4466 "automated edits to files.  (Note that although you I<can> use C<virt-edit> "
4467 "like this, it's less error-prone to write scripts directly using the "
4468 "libguestfs API and Augeas for configuration file editing.)"
4469 msgstr ""
4470
4471 #. type: textblock
4472 #: ../edit/virt-edit.pod:206
4473 msgid ""
4474 "The first method is to temporarily set C<$EDITOR> to any script or program "
4475 "you want to run.  The script is invoked as C<$EDITOR tmpfile> and it should "
4476 "update C<tmpfile> in place however it likes."
4477 msgstr ""
4478
4479 #. type: textblock
4480 #: ../edit/virt-edit.pod:210
4481 msgid ""
4482 "The second method is to use the I<-e> parameter of C<virt-edit> to run a "
4483 "short Perl snippet in the style of L<sed(1)>.  For example to replace all "
4484 "instances of C<foo> with C<bar> in a file:"
4485 msgstr ""
4486
4487 #. type: verbatim
4488 #: ../edit/virt-edit.pod:214
4489 #, no-wrap
4490 msgid ""
4491 " virt-edit -d domname filename -e 's/foo/bar/'\n"
4492 "\n"
4493 msgstr ""
4494
4495 #. type: textblock
4496 #: ../edit/virt-edit.pod:216
4497 msgid ""
4498 "The full power of Perl regular expressions can be used (see L<perlre(1)>).  "
4499 "For example to delete root's password you could do:"
4500 msgstr ""
4501
4502 #. type: verbatim
4503 #: ../edit/virt-edit.pod:219
4504 #, no-wrap
4505 msgid ""
4506 " virt-edit -d domname /etc/passwd -e 's/^root:.*?:/root::/'\n"
4507 "\n"
4508 msgstr ""
4509 " virt-edit -d назва_домену /etc/passwd -e 's/^root:.*?:/root::/'\n"
4510 "\n"
4511
4512 #. type: textblock
4513 #: ../edit/virt-edit.pod:221
4514 msgid ""
4515 "What really happens is that the snippet is evaluated as a Perl expression "
4516 "for each line of the file.  The line, including the final C<\\n>, is passed "
4517 "in C<$_> and the expression should update C<$_> or leave it unchanged."
4518 msgstr ""
4519
4520 #. type: textblock
4521 #: ../edit/virt-edit.pod:226
4522 msgid ""
4523 "To delete a line, set C<$_> to the empty string.  For example, to delete the "
4524 "C<apache> user account from the password file you can do:"
4525 msgstr ""
4526
4527 #. type: verbatim
4528 #: ../edit/virt-edit.pod:229
4529 #, no-wrap
4530 msgid ""
4531 " virt-edit -d mydomain /etc/passwd -e '$_ = \"\" if /^apache:/'\n"
4532 "\n"
4533 msgstr ""
4534 " virt-edit -d mydomain /etc/passwd -e '$_ = \"\" if /^apache:/'\n"
4535 "\n"
4536
4537 #. type: textblock
4538 #: ../edit/virt-edit.pod:231
4539 msgid ""
4540 "To insert a line, prepend or append it to C<$_>.  However appending lines to "
4541 "the end of the file is rather difficult this way since there is no concept "
4542 "of \"last line of the file\" - your expression just doesn't get called "
4543 "again.  You might want to use the first method (setting C<$EDITOR>) if you "
4544 "want to do this."
4545 msgstr ""
4546
4547 #. type: textblock
4548 #: ../edit/virt-edit.pod:237
4549 msgid ""
4550 "The variable C<$lineno> contains the current line number.  As is "
4551 "traditional, the first line in the file is number C<1>."
4552 msgstr ""
4553
4554 #. type: textblock
4555 #: ../edit/virt-edit.pod:240
4556 msgid ""
4557 "The return value from the expression is ignored, but the expression may call "
4558 "C<die> in order to abort the whole program, leaving the original file "
4559 "untouched."
4560 msgstr ""
4561
4562 #. type: textblock
4563 #: ../edit/virt-edit.pod:244
4564 msgid ""
4565 "Remember when matching the end of a line that C<$_> may contain the final C<"
4566 "\\n>, or (for DOS files) C<\\r\\n>, or if the file does not end with a "
4567 "newline then neither of these.  Thus to match or substitute some text at the "
4568 "end of a line, use this regular expression:"
4569 msgstr ""
4570
4571 #. type: verbatim
4572 #: ../edit/virt-edit.pod:249
4573 #, no-wrap
4574 msgid ""
4575 " /some text(\\r?\\n)?$/\n"
4576 "\n"
4577 msgstr ""
4578 " /якийсь текст(\\r?\\n)?$/\n"
4579 "\n"
4580
4581 #. type: textblock
4582 #: ../edit/virt-edit.pod:251
4583 msgid ""
4584 "Alternately, use the perl C<chomp> function, being careful not to chomp C<"
4585 "$_> itself (since that would remove all newlines from the file):"
4586 msgstr ""
4587
4588 #. type: verbatim
4589 #: ../edit/virt-edit.pod:255
4590 #, no-wrap
4591 msgid ""
4592 " my $m = $_; chomp $m; $m =~ /some text$/\n"
4593 "\n"
4594 msgstr ""
4595 " my $m = $_; chomp $m; $m =~ /якийсь текст$/\n"
4596 "\n"
4597
4598 #. type: textblock
4599 #: ../edit/virt-edit.pod:259
4600 msgid ""
4601 "C<virt-edit> has a limited ability to understand Windows drive letters and "
4602 "paths (eg. C<E:\\foo\\bar.txt>)."
4603 msgstr ""
4604
4605 #. type: textblock
4606 #: ../edit/virt-edit.pod:278
4607 msgid ""
4608 "The path is resolved case insensitively to locate the file that should be "
4609 "edited."
4610 msgstr ""
4611
4612 #. type: textblock
4613 #: ../edit/virt-edit.pod:299
4614 msgid ""
4615 "L<guestfish(1)> is a more powerful, lower level tool which you can use when "
4616 "C<virt-edit> doesn't work."
4617 msgstr ""
4618
4619 #. type: textblock
4620 #: ../edit/virt-edit.pod:302
4621 msgid "Using C<virt-edit> is approximately equivalent to doing:"
4622 msgstr ""
4623
4624 #. type: verbatim
4625 #: ../edit/virt-edit.pod:304
4626 #, no-wrap
4627 msgid ""
4628 " guestfish --rw -i -d domname edit /file\n"
4629 "\n"
4630 msgstr ""
4631
4632 #. type: textblock
4633 #: ../edit/virt-edit.pod:306
4634 msgid ""
4635 "where C<domname> is the name of the libvirt guest, and C</file> is the full "
4636 "path to the file."
4637 msgstr ""
4638
4639 #. type: textblock
4640 #: ../edit/virt-edit.pod:309
4641 msgid ""
4642 "The command above uses libguestfs's guest inspection feature and so does not "
4643 "work on guests that libguestfs cannot inspect, or on things like arbitrary "
4644 "disk images that don't contain guests.  To edit a file on a disk image "
4645 "directly, use:"
4646 msgstr ""
4647
4648 #. type: verbatim
4649 #: ../edit/virt-edit.pod:314
4650 #, no-wrap
4651 msgid ""
4652 " guestfish --rw -a disk.img -m /dev/sda1 edit /file\n"
4653 "\n"
4654 msgstr ""
4655
4656 #. type: textblock
4657 #: ../edit/virt-edit.pod:316
4658 msgid ""
4659 "where C<disk.img> is the disk image, C</dev/sda1> is the filesystem within "
4660 "the disk image to edit, and C</file> is the full path to the file."
4661 msgstr ""
4662
4663 #. type: textblock
4664 #: ../edit/virt-edit.pod:320
4665 msgid ""
4666 "C<virt-edit> cannot create new files.  Use the guestfish commands C<touch>, "
4667 "C<write> or C<upload> instead:"
4668 msgstr ""
4669
4670 #. type: verbatim
4671 #: ../edit/virt-edit.pod:323
4672 #, no-wrap
4673 msgid ""
4674 " guestfish --rw -i -d domname touch /newfile\n"
4675 "\n"
4676 msgstr ""
4677
4678 #. type: verbatim
4679 #: ../edit/virt-edit.pod:325
4680 #, no-wrap
4681 msgid ""
4682 " guestfish --rw -i -d domname write /newfile \"new content\"\n"
4683 "\n"
4684 msgstr ""
4685
4686 #. type: verbatim
4687 #: ../edit/virt-edit.pod:327
4688 #, no-wrap
4689 msgid ""
4690 " guestfish --rw -i -d domname upload localfile /newfile\n"
4691 "\n"
4692 msgstr ""
4693
4694 #. type: =head1
4695 #: ../edit/virt-edit.pod:329 ../fish/guestfish.pod:1119
4696 #: ../rescue/virt-rescue.pod:298 ../sparsify/virt-sparsify.pod:256
4697 #: ../src/guestfs.pod:3214 ../test-tool/libguestfs-test-tool.pod:95
4698 msgid "ENVIRONMENT VARIABLES"
4699 msgstr "ЗМІННІ СЕРЕДОВИЩА"
4700
4701 #. type: =item
4702 #: ../edit/virt-edit.pod:333
4703 msgid "C<EDITOR>"
4704 msgstr "C<EDITOR>"
4705
4706 #. type: textblock
4707 #: ../edit/virt-edit.pod:335
4708 msgid ""
4709 "If set, this string is used as the editor.  It may contain arguments, eg. C<"
4710 "\"emacs -nw\">"
4711 msgstr ""
4712
4713 #. type: textblock
4714 #: ../edit/virt-edit.pod:338
4715 msgid "If not set, C<vi> is used."
4716 msgstr ""
4717
4718 #. type: textblock
4719 #: ../edit/virt-edit.pod:356
4720 msgid ""
4721 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-"
4722 "tar-in(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
4723 "L<http://libguestfs.org/>, L<perl(1)>, L<perlre(1)>."
4724 msgstr ""
4725 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-"
4726 "tar-in(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
4727 "L<http://libguestfs.org/>, L<perl(1)>, L<perlre(1)>."
4728
4729 #. type: textblock
4730 #: ../erlang/examples/guestfs-erlang.pod:5
4731 msgid "guestfs-erlang - How to use libguestfs from Erlang"
4732 msgstr ""
4733
4734 #. type: verbatim
4735 #: ../erlang/examples/guestfs-erlang.pod:9
4736 #, no-wrap
4737 msgid ""
4738 " {ok, G} = guestfs:create(),\n"
4739 " ok = guestfs:add_drive_opts(G, Disk,\n"
4740 "                             [{format, \"raw\"}, {readonly, true}]),\n"
4741 " ok = guestfs:launch(G),\n"
4742 " [Device] = guestfs:list_devices(G),\n"
4743 " ok = guestfs:close(G).\n"
4744 "\n"
4745 msgstr ""
4746
4747 #. type: textblock
4748 #: ../erlang/examples/guestfs-erlang.pod:18
4749 msgid ""
4750 "This manual page documents how to call libguestfs from the Erlang "
4751 "programming language.  This page just documents the differences from the C "
4752 "API and gives some examples.  If you are not familiar with using libguestfs, "
4753 "you also need to read L<guestfs(3)>."
4754 msgstr ""
4755
4756 #. type: =head2
4757 #: ../erlang/examples/guestfs-erlang.pod:23
4758 msgid "OPENING AND CLOSING THE HANDLE"
4759 msgstr ""
4760
4761 #. type: textblock
4762 #: ../erlang/examples/guestfs-erlang.pod:25
4763 msgid ""
4764 "The Erlang bindings are implemented using an external program called C<erl-"
4765 "guestfs>.  This program must be on the current PATH, or else you should "
4766 "specify the full path to the program:"
4767 msgstr ""
4768
4769 #. type: verbatim
4770 #: ../erlang/examples/guestfs-erlang.pod:29
4771 #, no-wrap
4772 msgid ""
4773 " {ok, G} = guestfs:create().\n"
4774 "\n"
4775 msgstr ""
4776
4777 #. type: verbatim
4778 #: ../erlang/examples/guestfs-erlang.pod:31
4779 #, no-wrap
4780 msgid ""
4781 " {ok, G} = guestfs:create(\"/path/to/erl-guestfs\").\n"
4782 "\n"
4783 msgstr ""
4784
4785 #. type: textblock
4786 #: ../erlang/examples/guestfs-erlang.pod:33
4787 msgid "C<G> is the libguestfs handle which you should pass to other functions."
4788 msgstr ""
4789
4790 #. type: textblock
4791 #: ../erlang/examples/guestfs-erlang.pod:36
4792 msgid "To close the handle:"
4793 msgstr ""
4794
4795 #. type: verbatim
4796 #: ../erlang/examples/guestfs-erlang.pod:38
4797 #, no-wrap
4798 msgid ""
4799 " ok = guestfs:close(G).\n"
4800 "\n"
4801 msgstr ""
4802
4803 #. type: =head2
4804 #: ../erlang/examples/guestfs-erlang.pod:40
4805 msgid "FUNCTIONS WITH OPTIONAL ARGUMENTS"
4806 msgstr ""
4807
4808 #. type: textblock
4809 #: ../erlang/examples/guestfs-erlang.pod:42
4810 msgid ""
4811 "For functions that take optional arguments, the first arguments are the non-"
4812 "optional ones.  The last argument is a list of tuples supplying the "
4813 "remaining optional arguments."
4814 msgstr ""
4815
4816 #. type: verbatim
4817 #: ../erlang/examples/guestfs-erlang.pod:46
4818 #, no-wrap
4819 msgid ""
4820 " ok = guestfs:add_drive_opts(G, Disk,\n"
4821 "                             [{format, \"raw\"}, {readonly, true}]).\n"
4822 "\n"
4823 msgstr ""
4824
4825 #. type: textblock
4826 #: ../erlang/examples/guestfs-erlang.pod:49
4827 msgid "If the last argument would be an empty list, you can also omit it:"
4828 msgstr ""
4829
4830 #. type: verbatim
4831 #: ../erlang/examples/guestfs-erlang.pod:51
4832 #, no-wrap
4833 msgid ""
4834 " ok = guestfs:add_drive_opts(G, Disk).\n"
4835 "\n"
4836 msgstr ""
4837
4838 #. type: =head2
4839 #: ../erlang/examples/guestfs-erlang.pod:53
4840 msgid "RETURN VALUES AND ERRORS"
4841 msgstr ""
4842
4843 #. type: textblock
4844 #: ../erlang/examples/guestfs-erlang.pod:55
4845 msgid ""
4846 "On success, most functions return a C<Result> term (which could be a list, "
4847 "string, tuple etc.).  If there is nothing for the function to return, then "
4848 "the atom C<ok> is returned."
4849 msgstr ""
4850
4851 #. type: textblock
4852 #: ../erlang/examples/guestfs-erlang.pod:59
4853 msgid "On error, you would see one of the following tuples:"
4854 msgstr ""
4855
4856 #. type: =item
4857 #: ../erlang/examples/guestfs-erlang.pod:63
4858 msgid "C<{error, Msg, Errno}>"
4859 msgstr ""
4860
4861 #. type: textblock
4862 #: ../erlang/examples/guestfs-erlang.pod:65
4863 msgid "This indicates an ordinary error from the function."
4864 msgstr ""
4865
4866 #. type: textblock
4867 #: ../erlang/examples/guestfs-erlang.pod:67
4868 msgid ""
4869 "C<Msg> is the error message (string) and C<Errno> is the Unix error "
4870 "(integer)."
4871 msgstr ""
4872
4873 #. type: textblock
4874 #: ../erlang/examples/guestfs-erlang.pod:70
4875 msgid "C<Errno> can be zero.  See L<guestfs(3)/guestfs_last_errno>."
4876 msgstr ""
4877
4878 #. type: =item
4879 #: ../erlang/examples/guestfs-erlang.pod:72
4880 msgid "C<{unknown, Function}>"
4881 msgstr ""
4882
4883 #. type: textblock
4884 #: ../erlang/examples/guestfs-erlang.pod:74
4885 msgid ""
4886 "This indicates that the function you called is not known.  Generally this "
4887 "means you are mixing C<erl-guestfs> from another version of libguestfs, "
4888 "which you should not do."
4889 msgstr ""
4890
4891 #. type: textblock
4892 #: ../erlang/examples/guestfs-erlang.pod:78
4893 msgid "C<Function> is the name of the unknown function."
4894 msgstr ""
4895
4896 #. type: =item
4897 #: ../erlang/examples/guestfs-erlang.pod:80
4898 msgid "C<{unknownarg, Arg}>"
4899 msgstr ""
4900
4901 #. type: textblock
4902 #: ../erlang/examples/guestfs-erlang.pod:82
4903 msgid ""
4904 "This indicates that you called a function with optional arguments, with an "
4905 "unknown argument name."
4906 msgstr ""
4907
4908 #. type: textblock
4909 #: ../erlang/examples/guestfs-erlang.pod:85
4910 msgid "C<Arg> is the name of the unknown argument."
4911 msgstr ""
4912
4913 #. type: =head1
4914 #: ../erlang/examples/guestfs-erlang.pod:89
4915 #: ../examples/guestfs-examples.pod:25 ../java/examples/guestfs-java.pod:37
4916 #: ../ocaml/examples/guestfs-ocaml.pod:70 ../perl/examples/guestfs-perl.pod:31
4917 #: ../python/examples/guestfs-python.pod:34
4918 #: ../ruby/examples/guestfs-ruby.pod:28
4919 msgid "EXAMPLE 1: CREATE A DISK IMAGE"
4920 msgstr "ПРИКЛАД 1. СТВОРЕННЯ ОБРАЗУ ДИСКА"
4921
4922 #. type: textblock
4923 #: ../erlang/examples/guestfs-erlang.pod:91
4924 #: ../examples/guestfs-examples.pod:27 ../java/examples/guestfs-java.pod:39
4925 #: ../ocaml/examples/guestfs-ocaml.pod:72 ../perl/examples/guestfs-perl.pod:33
4926 #: ../python/examples/guestfs-python.pod:36
4927 #: ../ruby/examples/guestfs-ruby.pod:30
4928 msgid "@EXAMPLE1@"
4929 msgstr "@EXAMPLE1@"
4930
4931 #. type: =head1
4932 #: ../erlang/examples/guestfs-erlang.pod:93
4933 #: ../examples/guestfs-examples.pod:29 ../java/examples/guestfs-java.pod:41
4934 #: ../ocaml/examples/guestfs-ocaml.pod:74 ../perl/examples/guestfs-perl.pod:35
4935 #: ../python/examples/guestfs-python.pod:38
4936 #: ../ruby/examples/guestfs-ruby.pod:32
4937 msgid "EXAMPLE 2: INSPECT A VIRTUAL MACHINE DISK IMAGE"
4938 msgstr "ПРИКЛАД 2. ПЕРЕВІРКА ОБРАЗУ ДИСКА ВІРТУАЛЬНОЇ МАШИНИ"
4939
4940 #. type: textblock
4941 #: ../erlang/examples/guestfs-erlang.pod:95
4942 #: ../examples/guestfs-examples.pod:31 ../java/examples/guestfs-java.pod:43
4943 #: ../ocaml/examples/guestfs-ocaml.pod:76 ../perl/examples/guestfs-perl.pod:37
4944 #: ../python/examples/guestfs-python.pod:40
4945 #: ../ruby/examples/guestfs-ruby.pod:34
4946 msgid "@EXAMPLE2@"
4947 msgstr "@EXAMPLE2@"
4948
4949 #. type: textblock
4950 #: ../erlang/examples/guestfs-erlang.pod:99
4951 msgid ""
4952 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-java(3)>, L<guestfs-ocaml(3)"
4953 ">, L<guestfs-perl(3)>, L<guestfs-python(3)>, L<guestfs-recipes(1)>, "
4954 "L<guestfs-ruby(3)>, L<http://www.erlang.org/>.  L<http://libguestfs.org/>."
4955 msgstr ""
4956
4957 #. type: =head1
4958 #: ../erlang/examples/guestfs-erlang.pod:110
4959 #: ../examples/guestfs-examples.pod:45 ../examples/guestfs-recipes.pod:397
4960 #: ../examples/guestfs-testing.pod:298 ../fish/guestfish.pod:1296
4961 #: ../fish/virt-copy-in.pod:60 ../fish/virt-copy-out.pod:49
4962 #: ../fish/virt-tar-in.pod:58 ../fish/virt-tar-out.pod:51
4963 #: ../fuse/guestmount.pod:328 ../inspector/virt-inspector.pod:404
4964 #: ../java/examples/guestfs-java.pod:58 ../ocaml/examples/guestfs-ocaml.pod:91
4965 #: ../perl/examples/guestfs-perl.pod:52
4966 #: ../python/examples/guestfs-python.pod:54
4967 #: ../ruby/examples/guestfs-ruby.pod:48 ../src/guestfs.pod:3354
4968 #: ../test-tool/libguestfs-test-tool.pod:106
4969 msgid "AUTHORS"
4970 msgstr "АВТОРИ"
4971
4972 #. type: textblock
4973 #: ../erlang/examples/guestfs-erlang.pod:112
4974 #: ../examples/guestfs-examples.pod:47 ../examples/guestfs-recipes.pod:399
4975 #: ../examples/guestfs-testing.pod:300 ../fish/guestfish.pod:1298
4976 #: ../fish/virt-copy-in.pod:62 ../fish/virt-copy-out.pod:51
4977 #: ../fish/virt-tar-in.pod:60 ../fish/virt-tar-out.pod:53
4978 #: ../fuse/guestmount.pod:330 ../java/examples/guestfs-java.pod:60
4979 #: ../ocaml/examples/guestfs-ocaml.pod:93 ../perl/examples/guestfs-perl.pod:54
4980 #: ../python/examples/guestfs-python.pod:56
4981 #: ../ruby/examples/guestfs-ruby.pod:50 ../src/guestfs.pod:3356
4982 #: ../test-tool/libguestfs-test-tool.pod:108
4983 msgid "Richard W.M. Jones (C<rjones at redhat dot com>)"
4984 msgstr "Richard W.M. Jones (C<rjones at redhat dot com>)"
4985
4986 #. type: textblock
4987 #: ../erlang/examples/guestfs-erlang.pod:116
4988 #: ../examples/guestfs-testing.pod:304 ../java/examples/guestfs-java.pod:64
4989 #: ../perl/examples/guestfs-perl.pod:58
4990 msgid "Copyright (C) 2011 Red Hat Inc. L<http://libguestfs.org/>"
4991 msgstr ""
4992
4993 #. type: textblock
4994 #: ../erlang/examples/guestfs-erlang.pod:118
4995 #: ../examples/guestfs-examples.pod:53 ../examples/guestfs-recipes.pod:405
4996 #: ../java/examples/guestfs-java.pod:66 ../ocaml/examples/guestfs-ocaml.pod:99
4997 #: ../perl/examples/guestfs-perl.pod:60
4998 #: ../python/examples/guestfs-python.pod:62
4999 #: ../ruby/examples/guestfs-ruby.pod:56
5000 msgid ""
5001 "The examples in this manual page may be freely copied, modified and "
5002 "distributed without any restrictions."
5003 msgstr ""
5004
5005 #. type: textblock
5006 #: ../erlang/examples/guestfs-erlang.pod:121
5007 #: ../examples/guestfs-examples.pod:56 ../examples/guestfs-recipes.pod:408
5008 #: ../examples/guestfs-testing.pod:306 ../java/examples/guestfs-java.pod:69
5009 #: ../ocaml/examples/guestfs-ocaml.pod:102
5010 #: ../perl/examples/guestfs-perl.pod:63
5011 #: ../python/examples/guestfs-python.pod:65
5012 #: ../ruby/examples/guestfs-ruby.pod:59 ../src/guestfs.pod:3363
5013 msgid ""
5014 "This library is free software; you can redistribute it and/or modify it "
5015 "under the terms of the GNU Lesser General Public License as published by the "
5016 "Free Software Foundation; either version 2 of the License, or (at your "
5017 "option) any later version."
5018 msgstr ""
5019
5020 #. type: textblock
5021 #: ../erlang/examples/guestfs-erlang.pod:126
5022 #: ../examples/guestfs-examples.pod:61 ../examples/guestfs-recipes.pod:413
5023 #: ../examples/guestfs-testing.pod:311 ../java/examples/guestfs-java.pod:74
5024 #: ../ocaml/examples/guestfs-ocaml.pod:107
5025 #: ../perl/examples/guestfs-perl.pod:68
5026 #: ../python/examples/guestfs-python.pod:70
5027 #: ../ruby/examples/guestfs-ruby.pod:64 ../src/guestfs.pod:3368
5028 msgid ""
5029 "This library is distributed in the hope that it will be useful, but WITHOUT "
5030 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
5031 "FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License "
5032 "for more details."
5033 msgstr ""
5034
5035 #. type: textblock
5036 #: ../erlang/examples/guestfs-erlang.pod:131
5037 #: ../examples/guestfs-examples.pod:66 ../examples/guestfs-recipes.pod:418
5038 #: ../examples/guestfs-testing.pod:316 ../java/examples/guestfs-java.pod:79
5039 #: ../ocaml/examples/guestfs-ocaml.pod:112
5040 #: ../perl/examples/guestfs-perl.pod:73
5041 #: ../python/examples/guestfs-python.pod:75
5042 #: ../ruby/examples/guestfs-ruby.pod:69 ../src/guestfs.pod:3373
5043 msgid ""
5044 "You should have received a copy of the GNU Lesser General Public License "
5045 "along with this library; if not, write to the Free Software Foundation, "
5046 "Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA"
5047 msgstr ""
5048
5049 #. type: textblock
5050 #: ../examples/guestfs-examples.pod:5
5051 msgid "guestfs-examples - Examples of using libguestfs from C"
5052 msgstr ""
5053
5054 #. type: verbatim
5055 #: ../examples/guestfs-examples.pod:9 ../src/guestfs.pod:9
5056 #, no-wrap
5057 msgid ""
5058 " #include <guestfs.h>\n"
5059 " \n"
5060 msgstr ""
5061 " #include <guestfs.h>\n"
5062 " \n"
5063
5064 #. type: verbatim
5065 #: ../examples/guestfs-examples.pod:11
5066 #, no-wrap
5067 msgid ""
5068 " guestfs_h *g = guestfs_create ();\n"
5069 " guestfs_add_drive_ro (g, \"disk.img\");\n"
5070 " guestfs_launch (g);\n"
5071 "\n"
5072 msgstr ""
5073 " guestfs_h *g = guestfs_create ();\n"
5074 " guestfs_add_drive_ro (g, \"disk.img\");\n"
5075 " guestfs_launch (g);\n"
5076 "\n"
5077
5078 #. type: verbatim
5079 #: ../examples/guestfs-examples.pod:15 ../src/guestfs.pod:19
5080 #, no-wrap
5081 msgid ""
5082 " cc prog.c -o prog -lguestfs\n"
5083 "or:\n"
5084 " cc prog.c -o prog `pkg-config libguestfs --cflags --libs`\n"
5085 "\n"
5086 msgstr ""
5087 " cc prog.c -o prog -lguestfs\n"
5088 "або:\n"
5089 " cc prog.c -o prog `pkg-config libguestfs --cflags --libs`\n"
5090 "\n"
5091
5092 #. type: textblock
5093 #: ../examples/guestfs-examples.pod:21
5094 msgid ""
5095 "This manual page contains examples of calling libguestfs from the C "
5096 "programming language.  If you are not familiar with using libguestfs, you "
5097 "also need to read L<guestfs(3)>."
5098 msgstr ""
5099
5100 #. type: textblock
5101 #: ../examples/guestfs-examples.pod:35
5102 msgid ""
5103 "L<guestfs(3)>, L<guestfs-erlang(3)>, L<guestfs-java(3)>, L<guestfs-ocaml(3)"
5104 ">, L<guestfs-perl(3)>, L<guestfs-python(3)>, L<guestfs-recipes(1)>, "
5105 "L<guestfs-ruby(3)>, L<http://libguestfs.org/>."
5106 msgstr ""
5107
5108 #. type: textblock
5109 #: ../examples/guestfs-examples.pod:51 ../ocaml/examples/guestfs-ocaml.pod:97
5110 #: ../python/examples/guestfs-python.pod:60
5111 #: ../ruby/examples/guestfs-ruby.pod:54
5112 msgid "Copyright (C) 2010 Red Hat Inc. L<http://libguestfs.org/>"
5113 msgstr ""
5114
5115 #. type: =end
5116 #: ../examples/guestfs-recipes.pod:3 ../examples/guestfs-recipes.pod:12
5117 msgid "comment"
5118 msgstr "коментар"
5119
5120 #. type: textblock
5121 #: ../examples/guestfs-recipes.pod:5
5122 msgid ""
5123 "pod2man and pod2html have differing bugs which makes it hard to write URLs "
5124 "here.  The only way which works for both sorts of output is to just write "
5125 "the URL directly.  Do NOT use L<...> for URLs."
5126 msgstr ""
5127
5128 #. type: textblock
5129 #: ../examples/guestfs-recipes.pod:9
5130 msgid ""
5131 "We break with tradition here and don't use ALL CAPS for the section "
5132 "headings, as this makes them much easier to read."
5133 msgstr ""
5134
5135 #. type: textblock
5136 #: ../examples/guestfs-recipes.pod:16
5137 msgid "guestfs-recipes - libguestfs, guestfish and virt tools recipes"
5138 msgstr ""
5139
5140 #. type: textblock
5141 #: ../examples/guestfs-recipes.pod:20
5142 msgid ""
5143 "This page contains recipes for and links to things you can do using "
5144 "libguestfs, L<guestfish(1)> and the virt tools."
5145 msgstr ""
5146
5147 #. type: =head1
5148 #: ../examples/guestfs-recipes.pod:23
5149 msgid "Audit a virtual machine for setuid files"
5150 msgstr ""
5151
5152 #. type: textblock
5153 #: ../examples/guestfs-recipes.pod:25
5154 msgid ""
5155 "The link below contains a small program which can be used to audit a Linux "
5156 "virtual machine to see what setuid and setgid files it contains."
5157 msgstr ""
5158
5159 #. type: textblock
5160 #: ../examples/guestfs-recipes.pod:28
5161 msgid ""
5162 "https://rwmj.wordpress.com/2010/12/15/tip-audit-virtual-machine-for-setuid-"
5163 "files/#content"
5164 msgstr ""
5165
5166 #. type: =head1
5167 #: ../examples/guestfs-recipes.pod:30
5168 msgid "Change the background image in a Windows XP VM"
5169 msgstr ""
5170
5171 #. type: textblock
5172 #: ../examples/guestfs-recipes.pod:32
5173 msgid ""
5174 "The links below explain how to use L<guestfish(1)> to change the background "
5175 "image for a user of a Windows XP VM.  Unfortunately the technique appears to "
5176 "be substantially different for each version of Windows."
5177 msgstr ""
5178
5179 #. type: textblock
5180 #: ../examples/guestfs-recipes.pod:37
5181 msgid ""
5182 "https://lists.fedoraproject.org/pipermail/virt/2011-May/002655.html https://"
5183 "lists.fedoraproject.org/pipermail/virt/2011-May/002658.html"
5184 msgstr ""
5185
5186 #. type: =head1
5187 #: ../examples/guestfs-recipes.pod:40
5188 msgid "Cloning a virtual machine (Linux)"
5189 msgstr ""
5190
5191 #. type: textblock
5192 #: ../examples/guestfs-recipes.pod:42
5193 msgid ""
5194 "The guestfish technique described in the link below works well for most "
5195 "Linux VMs.  Depending on the Linux distro you may need to change the paths "
5196 "slightly."
5197 msgstr ""
5198
5199 #. type: textblock
5200 #: ../examples/guestfs-recipes.pod:46
5201 msgid ""
5202 "https://rwmj.wordpress.com/2010/09/24/tip-my-procedure-for-cloning-a-fedora-"
5203 "vm/#content"
5204 msgstr ""
5205
5206 #. type: textblock
5207 #: ../examples/guestfs-recipes.pod:48
5208 msgid ""
5209 "Avoid L<virt-clone(1)>.  Currently what to do about virt-clone is under "
5210 "discussion."
5211 msgstr ""
5212
5213 #. type: textblock
5214 #: ../examples/guestfs-recipes.pod:51
5215 msgid "https://www.redhat.com/archives/virt-tools-list/2011-May/msg00019.html"
5216 msgstr ""
5217
5218 #. type: =head1
5219 #: ../examples/guestfs-recipes.pod:53
5220 msgid "Cloning a virtual machine (Windows)"
5221 msgstr ""
5222
5223 #. type: textblock
5224 #: ../examples/guestfs-recipes.pod:55
5225 msgid ""
5226 "It is possible to do a \"sysprep\" using libguestfs alone, although not "
5227 "straightforward.  Currently there is code in the Aeolus Oz project which "
5228 "does this (using libguestfs).  As part of our review of the virt-clone tool, "
5229 "we may add sysprepping ability."
5230 msgstr ""
5231
5232 #. type: textblock
5233 #: ../examples/guestfs-recipes.pod:60
5234 msgid ""
5235 "https://github.com/clalancette/oz https://www.redhat.com/archives/virt-tools-"
5236 "list/2011-May/msg00019.html"
5237 msgstr ""
5238
5239 #. type: =head1
5240 #: ../examples/guestfs-recipes.pod:63
5241 msgid "Convert a CD-ROM / DVD / ISO to a tarball"
5242 msgstr ""
5243
5244 #. type: textblock
5245 #: ../examples/guestfs-recipes.pod:65
5246 msgid "This converts input C<cd.iso> to output C<cd.tar.gz>:"
5247 msgstr ""
5248
5249 #. type: verbatim
5250 #: ../examples/guestfs-recipes.pod:67
5251 #, no-wrap
5252 msgid ""
5253 " guestfish --ro -a cd.iso -m /dev/sda tgz-out / cd.tar.gz\n"
5254 "\n"
5255 msgstr ""
5256
5257 #. type: textblock
5258 #: ../examples/guestfs-recipes.pod:69
5259 msgid "To export just a subdirectory, eg. C</files>, do:"
5260 msgstr ""
5261
5262 #. type: verbatim
5263 #: ../examples/guestfs-recipes.pod:71
5264 #, no-wrap
5265 msgid ""
5266 " guestfish --ro -a cd.iso -m /dev/sda tgz-out /files cd.tar.gz\n"
5267 "\n"
5268 msgstr ""
5269
5270 #. type: =head1
5271 #: ../examples/guestfs-recipes.pod:73
5272 msgid "Create empty disk images"
5273 msgstr ""
5274
5275 #. type: textblock
5276 #: ../examples/guestfs-recipes.pod:75
5277 msgid ""
5278 "You can use the L<guestfish(1)> I<-N> option to create empty disk images.  "
5279 "The useful guide below explains the options available."
5280 msgstr ""
5281
5282 #. type: textblock
5283 #: ../examples/guestfs-recipes.pod:78
5284 msgid ""
5285 "https://rwmj.wordpress.com/2010/09/08/new-guestfish-n-options-in-1-5-9/"
5286 "#content"
5287 msgstr ""
5288
5289 #. type: =head1
5290 #: ../examples/guestfs-recipes.pod:80
5291 msgid "Dump raw filesystem content from inside a disk image or VM"
5292 msgstr ""
5293
5294 #. type: textblock
5295 #: ../examples/guestfs-recipes.pod:82
5296 msgid ""
5297 "You can use the L<guestfish(1)> C<download> command to extract the raw "
5298 "filesystem content from any filesystem in a disk image or a VM (even one "
5299 "which is encrypted or buried inside an LV):"
5300 msgstr ""
5301
5302 #. type: verbatim
5303 #: ../examples/guestfs-recipes.pod:86
5304 #, no-wrap
5305 msgid ""
5306 " guestfish --ro -a disk.img run : download /dev/sda1 sda1.img\n"
5307 "\n"
5308 msgstr ""
5309
5310 #. type: verbatim
5311 #: ../examples/guestfs-recipes.pod:88
5312 #, no-wrap
5313 msgid ""
5314 " guestfish --ro -d Guest run : download /dev/vg_guest/lv_root lv.img\n"
5315 "\n"
5316 msgstr ""
5317
5318 #. type: textblock
5319 #: ../examples/guestfs-recipes.pod:90
5320 msgid "To list the filesystems in a disk image, use L<virt-filesystems(1)>."
5321 msgstr ""
5322
5323 #. type: =head1
5324 #: ../examples/guestfs-recipes.pod:92
5325 msgid "Edit grub configuration in a VM"
5326 msgstr ""
5327
5328 #. type: textblock
5329 #: ../examples/guestfs-recipes.pod:94
5330 msgid "You can use this to:"
5331 msgstr ""
5332
5333 #. type: textblock
5334 #: ../examples/guestfs-recipes.pod:100
5335 msgid "Fix a virtual machine that does not boot."
5336 msgstr ""
5337
5338 #. type: textblock
5339 #: ../examples/guestfs-recipes.pod:104
5340 msgid "Change which kernel is used to boot the VM."
5341 msgstr ""
5342
5343 #. type: textblock
5344 #: ../examples/guestfs-recipes.pod:108
5345 msgid "Change kernel command line options."
5346 msgstr ""
5347
5348 #. type: textblock
5349 #: ../examples/guestfs-recipes.pod:112
5350 msgid "Use L<virt-edit(1)> to edit the grub configuration:"
5351 msgstr ""
5352
5353 #. type: verbatim
5354 #: ../examples/guestfs-recipes.pod:114
5355 #, no-wrap
5356 msgid ""
5357 " virt-edit -d BrokenGuest /boot/grub/grub.conf\n"
5358 "\n"
5359 msgstr ""
5360
5361 #. type: textblock
5362 #: ../examples/guestfs-recipes.pod:116
5363 msgid ""
5364 "or for general tinkering inside an unbootable VM use L<virt-rescue(1)> like "
5365 "this:"
5366 msgstr ""
5367
5368 #. type: verbatim
5369 #: ../examples/guestfs-recipes.pod:119
5370 #, no-wrap
5371 msgid ""
5372 " virt-rescue -d BrokenGuest\n"
5373 "\n"
5374 msgstr ""
5375
5376 #. type: =head1
5377 #: ../examples/guestfs-recipes.pod:121
5378 msgid "Export any directory from a VM"
5379 msgstr ""
5380
5381 #. type: textblock
5382 #: ../examples/guestfs-recipes.pod:123
5383 msgid ""
5384 "To export C</home> from a VM into a local directory use L<virt-copy-out(1)>:"
5385 msgstr ""
5386
5387 #. type: verbatim
5388 #: ../examples/guestfs-recipes.pod:126 ../examples/guestfs-testing.pod:93
5389 #, no-wrap
5390 msgid ""
5391 " virt-copy-out -d Guest /home .\n"
5392 "\n"
5393 msgstr ""
5394
5395 #. type: textblock
5396 #: ../examples/guestfs-recipes.pod:128 ../fish/guestfish-actions.pod:9
5397 #: ../fish/guestfish-actions.pod:1481 ../fish/guestfish-actions.pod:1746
5398 #: ../fish/guestfish-actions.pod:2163 ../src/guestfs-actions.pod:18
5399 #: ../src/guestfs-actions.pod:2373 ../src/guestfs-actions.pod:2797
5400 #: ../src/guestfs-actions.pod:3356 ../src/guestfs.pod:1685
5401 #: ../tools/virt-win-reg.pl:717
5402 msgid "Notes:"
5403 msgstr "Нотатки:"
5404
5405 #. type: textblock
5406 #: ../examples/guestfs-recipes.pod:134
5407 msgid ""
5408 "The final dot of the command is not a printing error.  It means we want to "
5409 "copy out to the current directory."
5410 msgstr ""
5411
5412 #. type: textblock
5413 #: ../examples/guestfs-recipes.pod:139
5414 msgid "This creates a directory called C<home> under the current directory."
5415 msgstr ""
5416
5417 #. type: textblock
5418 #: ../examples/guestfs-recipes.pod:143
5419 msgid ""
5420 "If the guest is a Windows guest then you can use drive letters and "
5421 "backslashes, but you must prefix the path with C<win:> and quote it to "
5422 "protect it from the shell, like this:"
5423 msgstr ""
5424
5425 #. type: verbatim
5426 #: ../examples/guestfs-recipes.pod:147
5427 #, no-wrap
5428 msgid ""
5429 " virt-copy-out -d WinGuest 'win:c:\\windows\\system32\\config' .\n"
5430 "\n"
5431 msgstr ""
5432
5433 #. type: textblock
5434 #: ../examples/guestfs-recipes.pod:149
5435 msgid "To get the output as a compressed tarball, do:"
5436 msgstr ""
5437
5438 #. type: verbatim
5439 #: ../examples/guestfs-recipes.pod:151
5440 #, no-wrap
5441 msgid ""
5442 " virt-tar-out -d Guest /home - | gzip --best > home.tar.gz\n"
5443 "\n"
5444 msgstr ""
5445
5446 #. type: textblock
5447 #: ../examples/guestfs-recipes.pod:153
5448 msgid ""
5449 "Although it sounds tempting, this is usually not a reliable way to get a "
5450 "backup from a running guest.  See the entry in the FAQ: http://libguestfs."
5451 "org/FAQ.html#backup"
5452 msgstr ""
5453
5454 #. type: =head1
5455 #: ../examples/guestfs-recipes.pod:157
5456 msgid "Find out which user is using the most space"
5457 msgstr ""
5458
5459 #. type: textblock
5460 #: ../examples/guestfs-recipes.pod:159
5461 msgid ""
5462 "This simple script examines a Linux guest to find out which user is using "
5463 "the most space in their home directory:"
5464 msgstr ""
5465
5466 #. type: verbatim
5467 #: ../examples/guestfs-recipes.pod:162
5468 #, no-wrap
5469 msgid ""
5470 " #!/bin/sh -\n"
5471 " \n"
5472 msgstr ""
5473
5474 #. type: verbatim
5475 #: ../examples/guestfs-recipes.pod:164 ../fish/guestfish.pod:984
5476 #, no-wrap
5477 msgid ""
5478 " set -e\n"
5479 " \n"
5480 msgstr ""
5481
5482 #. type: verbatim
5483 #: ../examples/guestfs-recipes.pod:166
5484 #, no-wrap
5485 msgid ""
5486 " vm=\"$1\"\n"
5487 " dir=/home\n"
5488 " \n"
5489 msgstr ""
5490
5491 #. type: verbatim
5492 #: ../examples/guestfs-recipes.pod:169
5493 #, no-wrap
5494 msgid ""
5495 " eval $(guestfish --ro -d \"$vm\" -i --listen)\n"
5496 " \n"
5497 msgstr ""
5498
5499 #. type: verbatim
5500 #: ../examples/guestfs-recipes.pod:171
5501 #, no-wrap
5502 msgid ""
5503 " for d in $(guestfish --remote ls \"$dir\"); do\n"
5504 "     echo -n \"$dir/$d\"\n"
5505 "     echo -ne '\\t'\n"
5506 "     guestfish --remote du \"$dir/$d\";\n"
5507 " done | sort -nr -k 2\n"
5508 " \n"
5509 msgstr ""
5510
5511 #. type: verbatim
5512 #: ../examples/guestfs-recipes.pod:177 ../fish/guestfish.pod:941
5513 #, no-wrap
5514 msgid ""
5515 " guestfish --remote exit\n"
5516 "\n"
5517 msgstr ""
5518
5519 #. type: =head1
5520 #: ../examples/guestfs-recipes.pod:179
5521 msgid "Get DHCP address from a VM"
5522 msgstr ""
5523
5524 #. type: textblock
5525 #: ../examples/guestfs-recipes.pod:181
5526 msgid ""
5527 "The link below explains the many different possible techniques for getting "
5528 "the last assigned DHCP address of a virtual machine."
5529 msgstr ""
5530
5531 #. type: textblock
5532 #: ../examples/guestfs-recipes.pod:184
5533 msgid ""
5534 "https://rwmj.wordpress.com/2011/03/31/tip-code-for-getting-dhcp-address-from-"
5535 "a-virtual-machine-disk-image/#content"
5536 msgstr ""
5537
5538 #. type: textblock
5539 #: ../examples/guestfs-recipes.pod:186
5540 msgid ""
5541 "In the libguestfs source examples directory you will find the latest version "
5542 "of the C<virt-dhcp-address.c> program."
5543 msgstr ""
5544
5545 #. type: =head1
5546 #: ../examples/guestfs-recipes.pod:189
5547 msgid "Get the operating system product name string"
5548 msgstr ""
5549
5550 #. type: textblock
5551 #: ../examples/guestfs-recipes.pod:191
5552 msgid "Save the following script into a file called C<product-name.sh>:"
5553 msgstr ""
5554
5555 #. type: verbatim
5556 #: ../examples/guestfs-recipes.pod:193
5557 #, no-wrap
5558 msgid ""
5559 " #!/bin/sh -\n"
5560 " set -e\n"
5561 " eval \"$(guestfish --ro -d \"$1\" --i --listen)\"\n"
5562 " root=\"$(guestfish --remote inspect-get-roots)\"\n"
5563 " guestfish --remote inspect-get-product-name \"$root\"\n"
5564 " guestfish --remote exit\n"
5565 "\n"
5566 msgstr ""
5567
5568 #. type: textblock
5569 #: ../examples/guestfs-recipes.pod:200
5570 msgid "Make the script executable and run it on a named guest:"
5571 msgstr ""
5572
5573 #. type: verbatim
5574 #: ../examples/guestfs-recipes.pod:202
5575 #, no-wrap
5576 msgid ""
5577 " # product-name.sh RHEL60x64\n"
5578 " Red Hat Enterprise Linux Server release 6.0 (Santiago)\n"
5579 "\n"
5580 msgstr ""
5581
5582 #. type: textblock
5583 #: ../examples/guestfs-recipes.pod:205
5584 msgid ""
5585 "You can also use an XPath query on the L<virt-inspector(1)> XML using the "
5586 "C<xpath> command line tool or from your favourite programming language:"
5587 msgstr ""
5588
5589 #. type: verbatim
5590 #: ../examples/guestfs-recipes.pod:209
5591 #, no-wrap
5592 msgid ""
5593 " # virt-inspector RHEL60x64 > xml\n"
5594 " # xpath '//product_name' < xml\n"
5595 " Found 1 nodes:\n"
5596 " -- NODE --\n"
5597 " <product_name>Red Hat Enterprise Linux Server release 6.0 (Santiago)</product_name>\n"
5598 "\n"
5599 msgstr ""
5600
5601 #. type: =head1
5602 #: ../examples/guestfs-recipes.pod:215
5603 msgid "Get the default boot kernel for a Linux VM"
5604 msgstr ""
5605
5606 #. type: textblock
5607 #: ../examples/guestfs-recipes.pod:217
5608 msgid ""
5609 "The link below contains a program to print the default boot kernel for a "
5610 "Linux VM."
5611 msgstr ""
5612
5613 #. type: textblock
5614 #: ../examples/guestfs-recipes.pod:220
5615 msgid ""
5616 "https://rwmj.wordpress.com/2010/10/30/tip-use-augeas-to-get-the-default-boot-"
5617 "kernel-for-a-vm/#content"
5618 msgstr ""
5619
5620 #. type: textblock
5621 #: ../examples/guestfs-recipes.pod:222
5622 msgid ""
5623 "It uses Augeas, and the technique is generally applicable for many different "
5624 "tasks, such as:"
5625 msgstr ""
5626
5627 #. type: textblock
5628 #: ../examples/guestfs-recipes.pod:229
5629 msgid "listing the user accounts in the guest"
5630 msgstr ""
5631
5632 #. type: textblock
5633 #: ../examples/guestfs-recipes.pod:233
5634 msgid "what repositories is it configured to use"
5635 msgstr ""
5636
5637 #. type: textblock
5638 #: ../examples/guestfs-recipes.pod:237
5639 msgid "what NTP servers does it connect to"
5640 msgstr ""
5641
5642 #. type: textblock
5643 #: ../examples/guestfs-recipes.pod:241
5644 msgid "what were the boot messages last time it booted"
5645 msgstr ""
5646
5647 #. type: textblock
5648 #: ../examples/guestfs-recipes.pod:245
5649 msgid "listing who was logged in recently"
5650 msgstr ""
5651
5652 #. type: textblock
5653 #: ../examples/guestfs-recipes.pod:249
5654 msgid "http://augeas.net/"
5655 msgstr ""
5656
5657 #. type: =head1
5658 #: ../examples/guestfs-recipes.pod:251
5659 msgid "Install RPMs in a guest"
5660 msgstr ""
5661
5662 #. type: textblock
5663 #: ../examples/guestfs-recipes.pod:253
5664 msgid ""
5665 "The link below contains a method to install RPMs in a guest.  In fact the "
5666 "RPMs are just uploaded to the guest along with a \"firstboot\" script that "
5667 "installs them next time the guest is booted.  You could use this technique "
5668 "to install vital security updates in an offline guest."
5669 msgstr ""
5670
5671 #. type: textblock
5672 #: ../examples/guestfs-recipes.pod:259
5673 msgid ""
5674 "https://rwmj.wordpress.com/2010/12/01/tip-install-rpms-in-a-guest/#content"
5675 msgstr ""
5676
5677 #. type: =head1
5678 #: ../examples/guestfs-recipes.pod:261
5679 msgid "List applications installed in a VM"
5680 msgstr ""
5681
5682 #. type: textblock
5683 #: ../examples/guestfs-recipes.pod:263
5684 msgid "Save the following to a file C<list-apps.sh>:"
5685 msgstr ""
5686
5687 #. type: verbatim
5688 #: ../examples/guestfs-recipes.pod:265
5689 #, no-wrap
5690 msgid ""
5691 " #!/bin/sh -\n"
5692 " set -e\n"
5693 " eval \"$(guestfish --ro -d \"$1\" --i --listen)\"\n"
5694 " root=\"$(guestfish --remote inspect-get-roots)\"\n"
5695 " guestfish --remote inspect-list-applications \"$root\"\n"
5696 " guestfish --remote exit\n"
5697 "\n"
5698 msgstr ""
5699
5700 #. type: textblock
5701 #: ../examples/guestfs-recipes.pod:272
5702 msgid ""
5703 "Make the file executable and then you can run it on any named virtual "
5704 "machine:"
5705 msgstr ""
5706
5707 #. type: verbatim
5708 #: ../examples/guestfs-recipes.pod:275
5709 #, no-wrap
5710 msgid ""
5711 " # list-apps.sh WinGuest\n"
5712 " [0] = {\n"
5713 "   app_name: Mozilla Firefox (3.6.12)\n"
5714 "   app_display_name: Mozilla Firefox (3.6.12)\n"
5715 "   app_epoch: 0\n"
5716 "   app_version: 3.6.12 (en-GB)\n"
5717 "   app_release:\n"
5718 "   app_install_path: C:\\Program Files\\Mozilla Firefox\n"
5719 "   app_trans_path:\n"
5720 "   app_publisher: Mozilla\n"
5721 "   app_url: http://www.mozilla.com/en-GB/\n"
5722 "   app_source_package:\n"
5723 "   app_summary:\n"
5724 "   app_description: Mozilla Firefox\n"
5725 " }\n"
5726 " [1] = {\n"
5727 "   app_name: VLC media player\n"
5728 "   app_display_name: VLC media player 1.1.5\n"
5729 "   app_epoch: 0\n"
5730 "   app_version: 1.1.5\n"
5731 "   app_release:\n"
5732 "   app_install_path: C:\\Program Files\\VideoLAN\\VLC\n"
5733 "   app_trans_path:\n"
5734 "   app_publisher: VideoLAN\n"
5735 "   app_url: http://www.videolan.org/\n"
5736 "   app_source_package:\n"
5737 "   app_summary:\n"
5738 "   app_description:\n"
5739 " }\n"
5740 "\n"
5741 msgstr ""
5742
5743 #. type: textblock
5744 #: ../examples/guestfs-recipes.pod:305
5745 msgid ""
5746 "If you want to run the script on disk images (instead of libvirt virtual "
5747 "machines), change C<-d \"$1\"> to C<-a \"$1\">.  See also L<virt-inspector(1)"
5748 ">."
5749 msgstr ""
5750
5751 #. type: =head1
5752 #: ../examples/guestfs-recipes.pod:309
5753 msgid "List files and directories in a VM"
5754 msgstr ""
5755
5756 #. type: textblock
5757 #: ../examples/guestfs-recipes.pod:311
5758 msgid "This involves using the L<guestfish(1)> C<find0> command like this:"
5759 msgstr ""
5760
5761 #. type: verbatim
5762 #: ../examples/guestfs-recipes.pod:313
5763 #, no-wrap
5764 msgid ""
5765 " guestfish --ro -d Guest -i find0 / - | tr '\\0' '\\n' | sort\n"
5766 "\n"
5767 msgstr ""
5768
5769 #. type: =head1
5770 #: ../examples/guestfs-recipes.pod:315
5771 msgid "List services in a Windows VM"
5772 msgstr ""
5773
5774 #. type: textblock
5775 #: ../examples/guestfs-recipes.pod:317
5776 msgid ""
5777 "The link below contains a script that can be used to list out the services "
5778 "from a Windows VM, and whether those services run at boot time or are loaded "
5779 "on demand."
5780 msgstr ""
5781
5782 #. type: textblock
5783 #: ../examples/guestfs-recipes.pod:321
5784 msgid ""
5785 "https://rwmj.wordpress.com/2010/12/10/tip-list-services-in-a-windows-guest/"
5786 "#content"
5787 msgstr ""
5788
5789 #. type: =head1
5790 #: ../examples/guestfs-recipes.pod:323
5791 msgid "Make a disk image sparse"
5792 msgstr ""
5793
5794 #. type: textblock
5795 #: ../examples/guestfs-recipes.pod:325
5796 msgid ""
5797 "The link below contains some guides for making a disk image sparse (or "
5798 "reintroducing sparseness)."
5799 msgstr ""
5800
5801 #. type: textblock
5802 #: ../examples/guestfs-recipes.pod:328
5803 msgid ""
5804 "https://rwmj.wordpress.com/2010/10/19/tip-making-a-disk-image-sparse/#content"
5805 msgstr ""
5806
5807 #. type: =head1
5808 #: ../examples/guestfs-recipes.pod:330
5809 msgid "Monitor disk usage over time"
5810 msgstr ""
5811
5812 #. type: textblock
5813 #: ../examples/guestfs-recipes.pod:332
5814 msgid ""
5815 "You can use L<virt-df(1)> to monitor disk usage of your guests over time.  "
5816 "The link below contains a guide."
5817 msgstr ""
5818
5819 #. type: textblock
5820 #: ../examples/guestfs-recipes.pod:335
5821 msgid "http://virt-tools.org/learning/advanced-virt-df/"
5822 msgstr ""
5823
5824 #. type: =head1
5825 #: ../examples/guestfs-recipes.pod:337
5826 msgid "Reading the Windows Event Log from Windows Vista (or later)"
5827 msgstr ""
5828
5829 #. type: textblock
5830 #: ../examples/guestfs-recipes.pod:339
5831 msgid ""
5832 "L<guestfish(1)> plus the tools described in the link below can be used to "
5833 "read out the Windows Event Log from any virtual machine running Windows "
5834 "Vista or a later version."
5835 msgstr ""
5836
5837 #. type: textblock
5838 #: ../examples/guestfs-recipes.pod:343
5839 msgid ""
5840 "https://rwmj.wordpress.com/2011/04/17/decoding-the-windows-event-log-using-"
5841 "guestfish/#content"
5842 msgstr ""
5843
5844 #. type: =head1
5845 #: ../examples/guestfs-recipes.pod:345
5846 msgid "Remove root password (Linux)"
5847 msgstr ""
5848
5849 #. type: textblock
5850 #: ../examples/guestfs-recipes.pod:347
5851 msgid ""
5852 "Using the L<virt-edit(1)> I<-e> option you can do simple replacements on "
5853 "files.  One use is to remove the root password from a Linux guest:"
5854 msgstr ""
5855
5856 #. type: verbatim
5857 #: ../examples/guestfs-recipes.pod:350
5858 #, no-wrap
5859 msgid ""
5860 " virt-edit domname /etc/passwd -e 's/^root:.*?:/root::/'\n"
5861 "\n"
5862 msgstr ""
5863
5864 #. type: =head1
5865 #: ../examples/guestfs-recipes.pod:352
5866 msgid "Remove Administrator password (Windows)"
5867 msgstr ""
5868
5869 #. type: textblock
5870 #: ../examples/guestfs-recipes.pod:354
5871 msgid ""
5872 "The link below contains one technique for removing the Administrator "
5873 "password from a Windows VM, or to be more precise, it gives you a command "
5874 "prompt the next time you log in which you can use to bypass any security:"
5875 msgstr ""
5876
5877 #. type: textblock
5878 #: ../examples/guestfs-recipes.pod:359
5879 msgid ""
5880 "https://mdbooth.wordpress.com/2010/10/18/resetting-a-windows-guests-"
5881 "administrator-password-with-guestfish/"
5882 msgstr ""
5883
5884 #. type: =head1
5885 #: ../examples/guestfs-recipes.pod:361
5886 msgid "Unpack a live CD"
5887 msgstr ""
5888
5889 #. type: textblock
5890 #: ../examples/guestfs-recipes.pod:363
5891 msgid ""
5892 "Linux live CDs often contain multiple layers of disk images wrapped like a "
5893 "Russian doll.  You can use L<guestfish(1)> to look inside these multiple "
5894 "layers, as outlined in the guide below."
5895 msgstr ""
5896
5897 #. type: textblock
5898 #: ../examples/guestfs-recipes.pod:367
5899 msgid ""
5900 "https://rwmj.wordpress.com/2009/07/15/unpack-the-russian-doll-of-a-f11-live-"
5901 "cd/#content"
5902 msgstr ""
5903
5904 #. type: =head1
5905 #: ../examples/guestfs-recipes.pod:369
5906 msgid "Uploading and downloading files"
5907 msgstr ""
5908
5909 #. type: textblock
5910 #: ../examples/guestfs-recipes.pod:371
5911 msgid ""
5912 "The link below contains general tips on uploading (copying in)  and "
5913 "downloading (copying out) files from VMs."
5914 msgstr ""
5915
5916 #. type: textblock
5917 #: ../examples/guestfs-recipes.pod:374
5918 msgid ""
5919 "https://rwmj.wordpress.com/2010/12/02/tip-uploading-and-downloading/#content"
5920 msgstr ""
5921
5922 #. type: =head1
5923 #: ../examples/guestfs-recipes.pod:376
5924 msgid "Use libguestfs tools on VMware ESX guests"
5925 msgstr ""
5926
5927 #. type: textblock
5928 #: ../examples/guestfs-recipes.pod:378
5929 msgid ""
5930 "The link below explains how to use libguestfs, L<guestfish(1)> and the virt "
5931 "tools on any VMware ESX guests, by first sharing the VMware VMFS over sshfs."
5932 msgstr ""
5933
5934 #. type: textblock
5935 #: ../examples/guestfs-recipes.pod:382
5936 msgid ""
5937 "https://rwmj.wordpress.com/2011/05/10/tip-use-libguestfs-on-vmware-esx-"
5938 "guests/#content"
5939 msgstr ""
5940
5941 #. type: textblock
5942 #: ../examples/guestfs-recipes.pod:386
5943 msgid ""
5944 "L<guestfs(3)>, L<guestfish(1)>, L<guestfs-examples(3)>, L<guestfs-erlang(3)"
5945 ">, L<guestfs-java(3)>, L<guestfs-ocaml(3)>, L<guestfs-perl(3)>, L<guestfs-"
5946 "python(3)>, L<guestfs-ruby(3)>, L<http://libguestfs.org/>."
5947 msgstr ""
5948
5949 #. type: textblock
5950 #: ../examples/guestfs-recipes.pod:403
5951 msgid "Copyright (C) 2009-2011 Red Hat Inc. L<http://libguestfs.org/>"
5952 msgstr ""
5953
5954 #. type: textblock
5955 #: ../examples/guestfs-testing.pod:5
5956 msgid "guestfs-testing - manual testing of libguestfs, you can help!"
5957 msgstr ""
5958
5959 #. type: textblock
5960 #: ../examples/guestfs-testing.pod:9
5961 msgid ""
5962 "This page has manual tests you can try on libguestfs.  Everyone has a "
5963 "slightly different combination of platform, hardware and guests, so this "
5964 "testing is very valuable.  Thanks for helping out!"
5965 msgstr ""
5966
5967 #. type: textblock
5968 #: ../examples/guestfs-testing.pod:13
5969 msgid "These tests require libguestfs E<ge> 1.14."
5970 msgstr ""
5971
5972 #. type: textblock
5973 #: ../examples/guestfs-testing.pod:15
5974 msgid ""
5975 "Tests marked with a B<*> (asterisk) can B<destroy data> if you're not "
5976 "careful.  The others are safe and won't modify anything."
5977 msgstr ""
5978
5979 #. type: textblock
5980 #: ../examples/guestfs-testing.pod:18
5981 msgid "You can report bugs you find through this link:"
5982 msgstr ""
5983
5984 #. type: textblock
5985 #: ../examples/guestfs-testing.pod:20
5986 #, fuzzy
5987 #| msgid ""
5988 #| "L<https://bugzilla.redhat.com/enter_bug.cgi?"
5989 #| "component=libguestfs&product=Virtualization+Tools>"
5990 msgid ""
5991 "https://bugzilla.redhat.com/enter_bug.cgi?"
5992 "component=libguestfs&product=Virtualization+Tools"
5993 msgstr ""
5994 "L<https://bugzilla.redhat.com/enter_bug.cgi?"
5995 "component=libguestfs&product=Virtualization+Tools>"
5996
5997 #. type: textblock
5998 #: ../examples/guestfs-testing.pod:22
5999 msgid ""
6000 "or post on the mailing list (registration is B<not> required, but if you're "
6001 "not registered then you'll have to wait for a moderator to manually approve "
6002 "your message):"
6003 msgstr ""
6004
6005 #. type: textblock
6006 #: ../examples/guestfs-testing.pod:26
6007 msgid "https://www.redhat.com/mailman/listinfo/libguestfs"
6008 msgstr ""
6009
6010 #. type: =head1
6011 #: ../examples/guestfs-testing.pod:28
6012 msgid "TESTS"
6013 msgstr ""
6014
6015 #. type: =head2
6016 #: ../examples/guestfs-testing.pod:30
6017 msgid "Check KVM acceleration is being used."
6018 msgstr ""
6019
6020 #. type: textblock
6021 #: ../examples/guestfs-testing.pod:32
6022 msgid ""
6023 "If your host has hardware virt acceleration, then with a hot cache "
6024 "libguestfs should be able to start up in a few seconds.  Run the following "
6025 "command a few times:"
6026 msgstr ""
6027
6028 #. type: verbatim
6029 #: ../examples/guestfs-testing.pod:36
6030 #, no-wrap
6031 msgid ""
6032 " time guestfish -a /dev/null run\n"
6033 "\n"
6034 msgstr ""
6035
6036 #. type: textblock
6037 #: ../examples/guestfs-testing.pod:38
6038 msgid ""
6039 "After a few runs, the time should settle down to a few seconds (under 5 "
6040 "seconds on fast 64 bit hardware)."
6041 msgstr ""
6042
6043 #. type: textblock
6044 #: ../examples/guestfs-testing.pod:41
6045 msgid "How to check for hardware virt:"
6046 msgstr ""
6047
6048 #. type: textblock
6049 #: ../examples/guestfs-testing.pod:43
6050 msgid "http://virt-tools.org/learning/check-hardware-virt/"
6051 msgstr ""
6052
6053 #. type: textblock
6054 #: ../examples/guestfs-testing.pod:45
6055 msgid ""
6056 "If the command above does not work at all, use L<libguestfs-test-tool(1)>."
6057 msgstr ""
6058
6059 #. type: =head2
6060 #: ../examples/guestfs-testing.pod:48
6061 msgid "Run virt-alignment-scan on all your guests."
6062 msgstr ""
6063
6064 #. type: textblock
6065 #: ../examples/guestfs-testing.pod:50
6066 msgid "Run L<virt-alignment-scan(1)> on guests or disk images:"
6067 msgstr ""
6068
6069 #. type: verbatim
6070 #: ../examples/guestfs-testing.pod:52
6071 #, no-wrap
6072 msgid ""
6073 " virt-alignment-scan -a /path/to/disk.img\n"
6074 "\n"
6075 msgstr ""
6076
6077 #. type: textblock
6078 #: ../examples/guestfs-testing.pod:54 ../examples/guestfs-testing.pod:161
6079 #: ../examples/guestfs-testing.pod:174 ../examples/guestfs-testing.pod:234
6080 #: ../src/guestfs.pod:2792
6081 msgid "or:"
6082 msgstr "або:"
6083
6084 #. type: verbatim
6085 #: ../examples/guestfs-testing.pod:56
6086 #, no-wrap
6087 msgid ""
6088 " virt-alignment-scan -d Guest\n"
6089 "\n"
6090 msgstr ""
6091
6092 #. type: textblock
6093 #: ../examples/guestfs-testing.pod:58
6094 msgid "Does the alignment report match how the guest partitions are aligned?"
6095 msgstr ""
6096
6097 #. type: =head2
6098 #: ../examples/guestfs-testing.pod:60
6099 #, fuzzy
6100 #| msgid ""
6101 #| " virt-cat domname file\n"
6102 #| "\n"
6103 msgid "Run virt-cat on some files in guests."
6104 msgstr ""
6105 " virt-cat назва_домену файл\n"
6106 "\n"
6107
6108 #. type: textblock
6109 #: ../examples/guestfs-testing.pod:62
6110 msgid "L<virt-cat(1)> can display files from guests.  For a Linux guest, try:"
6111 msgstr ""
6112
6113 #. type: verbatim
6114 #: ../examples/guestfs-testing.pod:64
6115 #, fuzzy, no-wrap
6116 #| msgid ""
6117 #| " virt-cat -d mydomain /etc/fstab\n"
6118 #| "\n"
6119 msgid ""
6120 " virt-cat LinuxGuest /etc/passwd\n"
6121 "\n"
6122 msgstr ""
6123 " virt-cat -d mydomain /etc/fstab\n"
6124 "\n"
6125
6126 #. type: textblock
6127 #: ../examples/guestfs-testing.pod:66
6128 msgid "A recent feature is support for Windows paths, for example:"
6129 msgstr ""
6130
6131 #. type: verbatim
6132 #: ../examples/guestfs-testing.pod:68
6133 #, no-wrap
6134 msgid ""
6135 " virt-cat WindowsGuest 'c:\\windows\\win.ini'\n"
6136 "\n"
6137 msgstr ""
6138
6139 #. type: textblock
6140 #: ../examples/guestfs-testing.pod:70
6141 msgid ""
6142 "An even better test is if you have a Windows guest with multiple drives.  Do "
6143 "C<D:>, C<E:> etc paths work correctly?"
6144 msgstr ""
6145
6146 #. type: =head2
6147 #: ../examples/guestfs-testing.pod:73
6148 msgid "B<*> Copy some files into a B<shut off> guest."
6149 msgstr ""
6150
6151 #. type: textblock
6152 #: ../examples/guestfs-testing.pod:75
6153 msgid ""
6154 "L<virt-copy-in(1)> can recursively copy files and directories into a guest "
6155 "or disk image."
6156 msgstr ""
6157
6158 #. type: verbatim
6159 #: ../examples/guestfs-testing.pod:78
6160 #, no-wrap
6161 msgid ""
6162 " virt-copy-in -d Guest /etc /tmp\n"
6163 "\n"
6164 msgstr ""
6165
6166 #. type: textblock
6167 #: ../examples/guestfs-testing.pod:80
6168 msgid ""
6169 "This should copy local directory C</etc> to C</tmp/etc> in the guest "
6170 "(recursively).  If you boot the guest, can you see all of the copied files "
6171 "and directories?"
6172 msgstr ""
6173
6174 #. type: textblock
6175 #: ../examples/guestfs-testing.pod:84
6176 msgid "Shut the guest down and try copying multiple files and directories:"
6177 msgstr ""
6178
6179 #. type: verbatim
6180 #: ../examples/guestfs-testing.pod:86
6181 #, no-wrap
6182 msgid ""
6183 " virt-copy-in -d Guest /home /etc/issue /tmp\n"
6184 "\n"
6185 msgstr ""
6186
6187 #. type: =head2
6188 #: ../examples/guestfs-testing.pod:88
6189 msgid "Copy some files out of a guest."
6190 msgstr ""
6191
6192 #. type: textblock
6193 #: ../examples/guestfs-testing.pod:90
6194 msgid ""
6195 "L<virt-copy-out(1)> can recursively copy files and directories out of a "
6196 "guest or disk image."
6197 msgstr ""
6198
6199 #. type: textblock
6200 #: ../examples/guestfs-testing.pod:95
6201 msgid "Note the final space and period in the command is not a typo."
6202 msgstr ""
6203
6204 #. type: textblock
6205 #: ../examples/guestfs-testing.pod:97
6206 msgid "This should copy C</home> from the guest into the current directory."
6207 msgstr ""
6208
6209 #. type: =head2
6210 #: ../examples/guestfs-testing.pod:99
6211 msgid "Run virt-df."
6212 msgstr ""
6213
6214 #. type: textblock
6215 #: ../examples/guestfs-testing.pod:101
6216 msgid "L<virt-df(1)> lists disk space.  Run:"
6217 msgstr ""
6218
6219 #. type: verbatim
6220 #: ../examples/guestfs-testing.pod:103
6221 #, fuzzy, no-wrap
6222 #| msgid ""
6223 #| " df\n"
6224 #| "\n"
6225 msgid ""
6226 " virt-df\n"
6227 "\n"
6228 msgstr ""
6229 " df\n"
6230 "\n"
6231
6232 #. type: textblock
6233 #: ../examples/guestfs-testing.pod:105
6234 msgid ""
6235 "You can try comparing this to the results from L<df(1)> inside the guest, "
6236 "but there are some provisos:"
6237 msgstr ""
6238
6239 #. type: textblock
6240 #: ../examples/guestfs-testing.pod:112
6241 msgid "The guest must be idle."
6242 msgstr ""
6243
6244 #. type: textblock
6245 #: ../examples/guestfs-testing.pod:116
6246 msgid "The guest disks must be synched using L<sync(1)>."
6247 msgstr ""
6248
6249 #. type: textblock
6250 #: ../examples/guestfs-testing.pod:120
6251 msgid ""
6252 "Any action such as booting the guest will write log files causing the "
6253 "numbers to change."
6254 msgstr ""
6255
6256 #. type: textblock
6257 #: ../examples/guestfs-testing.pod:125
6258 msgid ""
6259 "We don't guarantee that the numbers will be identical even under these "
6260 "circumstances.  They should be similar.  It would indicate a bug if you saw "
6261 "greatly differing numbers."
6262 msgstr ""
6263
6264 #. type: =head2
6265 #: ../examples/guestfs-testing.pod:129
6266 msgid "Try importing virt-df CSV output into a spreadsheet or database."
6267 msgstr ""
6268
6269 #. type: textblock
6270 #: ../examples/guestfs-testing.pod:131 ../src/guestfs.pod:3088
6271 msgid "Run:"
6272 msgstr ""
6273
6274 #. type: verbatim
6275 #: ../examples/guestfs-testing.pod:133
6276 #, no-wrap
6277 msgid ""
6278 " virt-df --csv > /tmp/report.csv\n"
6279 "\n"
6280 msgstr ""
6281
6282 #. type: textblock
6283 #: ../examples/guestfs-testing.pod:135
6284 msgid ""
6285 "Now try to load this into your favorite spreadsheet or database.  Are the "
6286 "results reproduced faithfully in the spreadsheet/database?"
6287 msgstr ""
6288
6289 #. type: textblock
6290 #: ../examples/guestfs-testing.pod:138
6291 msgid ""
6292 "http://www.postgresql.org/docs/8.1/static/sql-copy.html http://dev.mysql.com/"
6293 "doc/refman/5.1/en/load-data.html"
6294 msgstr ""
6295
6296 #. type: =head2
6297 #: ../examples/guestfs-testing.pod:141
6298 msgid "B<*> Edit a file in a B<shut off> guest."
6299 msgstr ""
6300
6301 #. type: textblock
6302 #: ../examples/guestfs-testing.pod:143
6303 msgid ""
6304 "L<virt-edit(1)> can edit files in guests.  Try this command on a RHEL or "
6305 "Fedora guest:"
6306 msgstr ""
6307
6308 #. type: verbatim
6309 #: ../examples/guestfs-testing.pod:146
6310 #, no-wrap
6311 msgid ""
6312 " virt-edit LinuxGuest /etc/sysconfig/network\n"
6313 "\n"
6314 msgstr ""
6315
6316 #. type: textblock
6317 #: ../examples/guestfs-testing.pod:148
6318 msgid "On other Linux guests try editing other files such as:"
6319 msgstr ""
6320
6321 #. type: verbatim
6322 #: ../examples/guestfs-testing.pod:150
6323 #, no-wrap
6324 msgid ""
6325 " virt-edit LinuxGuest /etc/motd\n"
6326 "\n"
6327 msgstr ""
6328
6329 #. type: textblock
6330 #: ../examples/guestfs-testing.pod:152
6331 msgid "Are the changes seen inside the guest when it is booted?"
6332 msgstr ""
6333
6334 #. type: =head2
6335 #: ../examples/guestfs-testing.pod:154
6336 msgid "Display the filesystems / partitions / LVs in a guest."
6337 msgstr ""
6338
6339 #. type: textblock
6340 #: ../examples/guestfs-testing.pod:156
6341 msgid ""
6342 "L<virt-filesystems(1)> can be used to display filesystems in a guest.  Try "
6343 "this command on any disk image or guest:"
6344 msgstr ""
6345
6346 #. type: verbatim
6347 #: ../examples/guestfs-testing.pod:159
6348 #, fuzzy, no-wrap
6349 #| msgid ""
6350 #| " virt-filesystems --format=raw -a disk.img\n"
6351 #| "\n"
6352 msgid ""
6353 " virt-filesystems -a /path/to/disk.img --all --long -h\n"
6354 "\n"
6355 msgstr ""
6356 " virt-filesystems --format=raw -a диск.img\n"
6357 "\n"
6358
6359 #. type: verbatim
6360 #: ../examples/guestfs-testing.pod:163
6361 #, fuzzy, no-wrap
6362 #| msgid ""
6363 #| " virt-filesystems [--options] -d domname\n"
6364 #| "\n"
6365 msgid ""
6366 " virt-filesystems -d Guest --all --long -h\n"
6367 "\n"
6368 msgstr ""
6369 " virt-filesystems [--параметри] -d назва_домену\n"
6370 "\n"
6371
6372 #. type: textblock
6373 #: ../examples/guestfs-testing.pod:165
6374 msgid "Do the results match what is seen in the guest?"
6375 msgstr ""
6376
6377 #. type: =head2
6378 #: ../examples/guestfs-testing.pod:167
6379 msgid "Run virt-inspector on all your guests."
6380 msgstr ""
6381
6382 #. type: textblock
6383 #: ../examples/guestfs-testing.pod:169
6384 msgid ""
6385 "Use L<virt-inspector(1)> to get a report on all of your guests or disk "
6386 "images:"
6387 msgstr ""
6388
6389 #. type: verbatim
6390 #: ../examples/guestfs-testing.pod:172
6391 #, fuzzy, no-wrap
6392 #| msgid ""
6393 #| " virt-cat disk.img file\n"
6394 #| "\n"
6395 msgid ""
6396 " virt-inspector -a /path/to/disk.img | less\n"
6397 "\n"
6398 msgstr ""
6399 " virt-cat диск.img файл\n"
6400 "\n"
6401
6402 #. type: verbatim
6403 #: ../examples/guestfs-testing.pod:176
6404 #, no-wrap
6405 msgid ""
6406 " virt-inspector -d Guest | less\n"
6407 "\n"
6408 msgstr ""
6409
6410 #. type: textblock
6411 #: ../examples/guestfs-testing.pod:178
6412 msgid "Do the results match what is actually in the guest?"
6413 msgstr ""
6414
6415 #. type: =head2
6416 #: ../examples/guestfs-testing.pod:180
6417 msgid "Try the auditing features of virt-ls on all your guests."
6418 msgstr ""
6419
6420 #. type: verbatim
6421 #: ../examples/guestfs-testing.pod:184
6422 #, fuzzy, no-wrap
6423 #| msgid ""
6424 #| " $ virt-ls -R -d guest /tmp\n"
6425 #| " foo\n"
6426 #| " foo/bar\n"
6427 #| " [etc.]\n"
6428 #| "\n"
6429 msgid ""
6430 " virt-ls -lR -d Guest / | grep '^- [42]'\n"
6431 "\n"
6432 msgstr ""
6433 " $ virt-ls -R -d guest /tmp\n"
6434 " foo\n"
6435 " foo/bar\n"
6436 " [тощо]\n"
6437 "\n"
6438
6439 #. type: verbatim
6440 #: ../examples/guestfs-testing.pod:188
6441 #, fuzzy, no-wrap
6442 #| msgid ""
6443 #| " $ virt-ls -R -d guest /tmp\n"
6444 #| " foo\n"
6445 #| " foo/bar\n"
6446 #| " [etc.]\n"
6447 #| "\n"
6448 msgid ""
6449 " virt-ls -lR -d Guest / | grep '^d ...7'\n"
6450 "\n"
6451 msgstr ""
6452 " $ virt-ls -R -d guest /tmp\n"
6453 " foo\n"
6454 " foo/bar\n"
6455 " [тощо]\n"
6456 "\n"
6457
6458 #. type: verbatim
6459 #: ../examples/guestfs-testing.pod:192
6460 #, fuzzy, no-wrap
6461 #| msgid ""
6462 #| " $ virt-ls -R -d guest /tmp\n"
6463 #| " foo\n"
6464 #| " foo/bar\n"
6465 #| " [etc.]\n"
6466 #| "\n"
6467 msgid ""
6468 " virt-ls -lR -d Guest / | grep '^s'\n"
6469 "\n"
6470 msgstr ""
6471 " $ virt-ls -R -d guest /tmp\n"
6472 " foo\n"
6473 " foo/bar\n"
6474 " [тощо]\n"
6475 "\n"
6476
6477 #. type: verbatim
6478 #: ../examples/guestfs-testing.pod:196
6479 #, no-wrap
6480 msgid ""
6481 " virt-ls -lR -d Guest / | grep -i '^-.*\\.png$'\n"
6482 "\n"
6483 msgstr ""
6484
6485 #. type: textblock
6486 #: ../examples/guestfs-testing.pod:198
6487 msgid "Display files larger than 10MB in home directories:"
6488 msgstr ""
6489
6490 #. type: verbatim
6491 #: ../examples/guestfs-testing.pod:200
6492 #, no-wrap
6493 msgid ""
6494 " virt-ls -lR -d Guest /home | awk '$3 > 10*1024*1024'\n"
6495 "\n"
6496 msgstr ""
6497
6498 #. type: verbatim
6499 #: ../examples/guestfs-testing.pod:204
6500 #, no-wrap
6501 msgid ""
6502 " virt-ls -lR -d Guest --time-days / | awk '$6 <= 7'\n"
6503 "\n"
6504 msgstr ""
6505
6506 #. type: verbatim
6507 #: ../examples/guestfs-testing.pod:208
6508 #, no-wrap
6509 msgid ""
6510 " virt-ls -lR -d Guest --time-days / | grep '^-' | awk '$6 < 1'\n"
6511 "\n"
6512 msgstr ""
6513
6514 #. type: textblock
6515 #: ../examples/guestfs-testing.pod:210
6516 msgid "Do the results match what is in the guest?"
6517 msgstr ""
6518
6519 #. type: =head2
6520 #: ../examples/guestfs-testing.pod:212
6521 msgid "Create a disk image from a tarball."
6522 msgstr ""
6523
6524 #. type: textblock
6525 #: ../examples/guestfs-testing.pod:214
6526 msgid ""
6527 "Use L<virt-make-fs(1)> to create a disk image from any tarball that you "
6528 "happen to have:"
6529 msgstr ""
6530
6531 #. type: verbatim
6532 #: ../examples/guestfs-testing.pod:217
6533 #, no-wrap
6534 msgid ""
6535 " virt-make-fs --partition=mbr --type=vfat /any/tarball.tar.gz output.img\n"
6536 "\n"
6537 msgstr ""
6538
6539 #. type: textblock
6540 #: ../examples/guestfs-testing.pod:219
6541 msgid ""
6542 "Add 'output.img' as a raw disk to an existing guest.  Check the guest can "
6543 "see the files.  This test is particularly useful if you try it with a "
6544 "Windows guest."
6545 msgstr ""
6546
6547 #. type: textblock
6548 #: ../examples/guestfs-testing.pod:223
6549 msgid "Try other partitioning schemes, eg. I<--partition=gpt>."
6550 msgstr ""
6551
6552 #. type: textblock
6553 #: ../examples/guestfs-testing.pod:225
6554 msgid "Try other filesystem formats, eg. I<--type=ntfs>, I<--type=ext2>."
6555 msgstr ""
6556
6557 #. type: =head2
6558 #: ../examples/guestfs-testing.pod:227
6559 msgid "B<*> Run virt-rescue on a B<shut off> disk image or guest."
6560 msgstr ""
6561
6562 #. type: textblock
6563 #: ../examples/guestfs-testing.pod:229
6564 msgid ""
6565 "Use L<virt-rescue(1)> to examine, rescue or repair a B<shut off> guest or "
6566 "disk image:"
6567 msgstr ""
6568
6569 #. type: verbatim
6570 #: ../examples/guestfs-testing.pod:232
6571 #, fuzzy, no-wrap
6572 #| msgid ""
6573 #| " virt-cat disk.img file\n"
6574 #| "\n"
6575 msgid ""
6576 " virt-rescue -a /path/to/disk.img\n"
6577 "\n"
6578 msgstr ""
6579 " virt-cat диск.img файл\n"
6580 "\n"
6581
6582 #. type: verbatim
6583 #: ../examples/guestfs-testing.pod:236
6584 #, no-wrap
6585 msgid ""
6586 " virt-rescue -d Guest\n"
6587 "\n"
6588 msgstr ""
6589
6590 #. type: textblock
6591 #: ../examples/guestfs-testing.pod:238
6592 msgid "Can you use ordinary shell commands to examine the guest?"
6593 msgstr ""
6594
6595 #. type: =head2
6596 #: ../examples/guestfs-testing.pod:240
6597 msgid "B<*> Resize your guests."
6598 msgstr ""
6599
6600 #. type: textblock
6601 #: ../examples/guestfs-testing.pod:242
6602 msgid ""
6603 "Use L<virt-resize(1)> to give a guest some more disk space.  For example, if "
6604 "you have a disk image that is smaller than 30G, increase it to 30G by doing:"
6605 msgstr ""
6606
6607 #. type: verbatim
6608 #: ../examples/guestfs-testing.pod:246
6609 #, no-wrap
6610 msgid ""
6611 " truncate -s 30G newdisk.img\n"
6612 " virt-filesystems -a /path/to/olddisk.img --all --long -h\n"
6613 " virt-resize /path/to/olddisk.img newdisk.img --expand /dev/sda1\n"
6614 " qemu-kvm -m 1024 -hda newdisk.img\n"
6615 "\n"
6616 msgstr ""
6617
6618 #. type: textblock
6619 #: ../examples/guestfs-testing.pod:251
6620 msgid "Does the guest still boot? Try expanding other partitions."
6621 msgstr ""
6622
6623 #. type: =head2
6624 #: ../examples/guestfs-testing.pod:253
6625 msgid "B<*> Sparsify a guest disk."
6626 msgstr ""
6627
6628 #. type: textblock
6629 #: ../examples/guestfs-testing.pod:255
6630 msgid "Using L<virt-sparsify(1)>, make a disk image more sparse:"
6631 msgstr ""
6632
6633 #. type: verbatim
6634 #: ../examples/guestfs-testing.pod:257
6635 #, fuzzy, no-wrap
6636 #| msgid ""
6637 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
6638 #| "\n"
6639 msgid ""
6640 " virt-sparsify /path/to/olddisk.img newdisk.img\n"
6641 "\n"
6642 msgstr ""
6643 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
6644 "\n"
6645
6646 #. type: textblock
6647 #: ../examples/guestfs-testing.pod:259
6648 msgid ""
6649 "Is C<newdisk.img> still bootable after sparsifying? Is the resulting disk "
6650 "image smaller (use C<du> to check)?"
6651 msgstr ""
6652
6653 #. type: =head2
6654 #: ../examples/guestfs-testing.pod:262
6655 msgid "B<*> \"sysprep\" a B<shut off> Linux guest."
6656 msgstr ""
6657
6658 #. type: textblock
6659 #: ../examples/guestfs-testing.pod:264
6660 msgid ""
6661 "Note that this really will mess up an existing guest, so it's better to "
6662 "clone the guest before trying this."
6663 msgstr ""
6664
6665 #. type: verbatim
6666 #: ../examples/guestfs-testing.pod:267
6667 #, no-wrap
6668 msgid ""
6669 " virt-sysprep --hostname newhost.example.com -a /path/to/disk.img\n"
6670 "\n"
6671 msgstr ""
6672
6673 #. type: textblock
6674 #: ../examples/guestfs-testing.pod:269
6675 msgid ""
6676 "Was the sysprep successful? After booting, what changes were made and were "
6677 "they successful?"
6678 msgstr ""
6679
6680 #. type: =head2
6681 #: ../examples/guestfs-testing.pod:272
6682 msgid "Dump the Windows Registry from your Windows guests."
6683 msgstr ""
6684
6685 #. type: textblock
6686 #: ../examples/guestfs-testing.pod:274
6687 msgid ""
6688 "Use L<virt-win-reg(1)> to dump out the Windows Registry from any Windows "
6689 "guests that you have."
6690 msgstr ""
6691
6692 #. type: verbatim
6693 #: ../examples/guestfs-testing.pod:277
6694 #, no-wrap
6695 msgid ""
6696 " virt-win-reg --unsafe-printable-strings WindowsGuest 'HKLM\\Software' |\n"
6697 "   less\n"
6698 "\n"
6699 msgstr ""
6700
6701 #. type: verbatim
6702 #: ../examples/guestfs-testing.pod:280
6703 #, no-wrap
6704 msgid ""
6705 " virt-win-reg --unsafe-printable-strings WindowsGuest 'HKLM\\System' |\n"
6706 "   less\n"
6707 "\n"
6708 msgstr ""
6709
6710 #. type: textblock
6711 #: ../examples/guestfs-testing.pod:283
6712 msgid "Does the output match running C<regedit> inside the guest?"
6713 msgstr ""
6714
6715 #. type: textblock
6716 #: ../examples/guestfs-testing.pod:285
6717 msgid ""
6718 "A recent feature is the ability to dump user registries, so try this, "
6719 "replacing I<username> with the name of a local user in the guest:"
6720 msgstr ""
6721
6722 #. type: verbatim
6723 #: ../examples/guestfs-testing.pod:288
6724 #, no-wrap
6725 msgid ""
6726 " virt-win-reg --unsafe-printable-strings WindowsGuest 'HKEY_USERS\\username' |\n"
6727 "   less\n"
6728 "\n"
6729 msgstr ""
6730
6731 #. type: textblock
6732 #: ../examples/guestfs-testing.pod:293
6733 #, fuzzy
6734 #| msgid ""
6735 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-copy-out(1)>, L<virt-edit(1)>, "
6736 #| "L<virt-tar-out(1)>, L<http://libguestfs.org/>."
6737 msgid ""
6738 "L<guestfs(3)>, L<guestfish(1)>, L<guestfs-examples(3)>, L<http://libguestfs."
6739 "org/>."
6740 msgstr ""
6741 "L<guestfs(3)>, L<guestfish(1)>, L<virt-copy-out(1)>, L<virt-edit(1)>, L<virt-"
6742 "tar-out(1)>, L<http://libguestfs.org/>."
6743
6744 #. type: =head2
6745 #: ../fish/guestfish-actions.pod:1
6746 msgid "add-cdrom"
6747 msgstr ""
6748
6749 #. type: verbatim
6750 #: ../fish/guestfish-actions.pod:3
6751 #, no-wrap
6752 msgid ""
6753 " add-cdrom filename\n"
6754 "\n"
6755 msgstr ""
6756
6757 #. type: textblock
6758 #: ../fish/guestfish-actions.pod:5 ../src/guestfs-actions.pod:14
6759 msgid "This function adds a virtual CD-ROM disk image to the guest."
6760 msgstr ""
6761
6762 #. type: textblock
6763 #: ../fish/guestfish-actions.pod:7 ../src/guestfs-actions.pod:16
6764 msgid "This is equivalent to the qemu parameter I<-cdrom filename>."
6765 msgstr ""
6766
6767 #. type: textblock
6768 #: ../fish/guestfish-actions.pod:15
6769 msgid ""
6770 "This call checks for the existence of C<filename>.  This stops you from "
6771 "specifying other types of drive which are supported by qemu such as C<nbd:> "
6772 "and C<http:> URLs.  To specify those, use the general L</config> call "
6773 "instead."
6774 msgstr ""
6775
6776 #. type: textblock
6777 #: ../fish/guestfish-actions.pod:22
6778 msgid ""
6779 "If you just want to add an ISO file (often you use this as an efficient way "
6780 "to transfer large files into the guest), then you should probably use L</add-"
6781 "drive-ro> instead."
6782 msgstr ""
6783
6784 #. type: textblock
6785 #: ../fish/guestfish-actions.pod:28 ../fish/guestfish-actions.pod:214
6786 #: ../fish/guestfish-actions.pod:228
6787 msgid ""
6788 "I<This function is deprecated.> In new code, use the L</add_drive_opts> call "
6789 "instead."
6790 msgstr ""
6791
6792 #. type: textblock
6793 #: ../fish/guestfish-actions.pod:31 ../fish/guestfish-actions.pod:217
6794 #: ../fish/guestfish-actions.pod:231 ../fish/guestfish-actions.pod:972
6795 #: ../fish/guestfish-actions.pod:1007 ../fish/guestfish-actions.pod:1180
6796 #: ../fish/guestfish-actions.pod:1540 ../fish/guestfish-actions.pod:1554
6797 #: ../fish/guestfish-actions.pod:3423 ../fish/guestfish-actions.pod:3734
6798 #: ../fish/guestfish-actions.pod:3782 ../fish/guestfish-actions.pod:4700
6799 #: ../fish/guestfish-actions.pod:4720 ../fish/guestfish-actions.pod:4739
6800 #: ../fish/guestfish-actions.pod:4777 ../fish/guestfish-actions.pod:5505
6801 #: ../fish/guestfish-actions.pod:5608 ../src/guestfs-actions.pod:10
6802 #: ../src/guestfs-actions.pod:305 ../src/guestfs-actions.pod:326
6803 #: ../src/guestfs-actions.pod:1619 ../src/guestfs-actions.pod:1676
6804 #: ../src/guestfs-actions.pod:1959 ../src/guestfs-actions.pod:2458
6805 #: ../src/guestfs-actions.pod:2479 ../src/guestfs-actions.pod:5281
6806 #: ../src/guestfs-actions.pod:5803 ../src/guestfs-actions.pod:5903
6807 #: ../src/guestfs-actions.pod:7199 ../src/guestfs-actions.pod:7240
6808 #: ../src/guestfs-actions.pod:7271 ../src/guestfs-actions.pod:7331
6809 #: ../src/guestfs-actions.pod:8385 ../src/guestfs-actions.pod:8494
6810 #: ../src/guestfs-actions.pod:8674
6811 msgid ""
6812 "Deprecated functions will not be removed from the API, but the fact that "
6813 "they are deprecated indicates that there are problems with correct use of "
6814 "these functions."
6815 msgstr ""
6816
6817 #. type: =head2
6818 #: ../fish/guestfish-actions.pod:35
6819 msgid "add-domain"
6820 msgstr "add-domain"
6821
6822 #. type: =head2
6823 #: ../fish/guestfish-actions.pod:37
6824 msgid "domain"
6825 msgstr "домен"
6826
6827 #. type: verbatim
6828 #: ../fish/guestfish-actions.pod:39
6829 #, no-wrap
6830 msgid ""
6831 " add-domain dom [libvirturi:..] [readonly:true|false] [iface:..] [live:true|false] [allowuuid:true|false] [readonlydisk:..]\n"
6832 "\n"
6833 msgstr ""
6834
6835 #. type: textblock
6836 #: ../fish/guestfish-actions.pod:41
6837 msgid ""
6838 "This function adds the disk(s) attached to the named libvirt domain C<dom>.  "
6839 "It works by connecting to libvirt, requesting the domain and domain XML from "
6840 "libvirt, parsing it for disks, and calling L</add-drive-opts> on each one."
6841 msgstr ""
6842
6843 #. type: textblock
6844 #: ../fish/guestfish-actions.pod:46 ../src/guestfs-actions.pod:65
6845 msgid ""
6846 "The number of disks added is returned.  This operation is atomic: if an "
6847 "error is returned, then no disks are added."
6848 msgstr ""
6849
6850 #. type: textblock
6851 #: ../fish/guestfish-actions.pod:49 ../src/guestfs-actions.pod:68
6852 msgid ""
6853 "This function does some minimal checks to make sure the libvirt domain is "
6854 "not running (unless C<readonly> is true).  In a future version we will try "
6855 "to acquire the libvirt lock on each disk."
6856 msgstr ""
6857
6858 #. type: textblock
6859 #: ../fish/guestfish-actions.pod:53 ../src/guestfs-actions.pod:72
6860 msgid ""
6861 "Disks must be accessible locally.  This often means that adding disks from a "
6862 "remote libvirt connection (see L<http://libvirt.org/remote.html>)  will fail "
6863 "unless those disks are accessible via the same device path locally too."
6864 msgstr ""
6865
6866 #. type: textblock
6867 #: ../fish/guestfish-actions.pod:58 ../src/guestfs-actions.pod:77
6868 msgid ""
6869 "The optional C<libvirturi> parameter sets the libvirt URI (see L<http://"
6870 "libvirt.org/uri.html>).  If this is not set then we connect to the default "
6871 "libvirt URI (or one set through an environment variable, see the libvirt "
6872 "documentation for full details)."
6873 msgstr ""
6874
6875 #. type: textblock
6876 #: ../fish/guestfish-actions.pod:64 ../src/guestfs-actions.pod:83
6877 msgid ""
6878 "The optional C<live> flag controls whether this call will try to connect to "
6879 "a running virtual machine C<guestfsd> process if it sees a suitable "
6880 "E<lt>channelE<gt> element in the libvirt XML definition.  The default (if "
6881 "the flag is omitted) is never to try.  See L<guestfs(3)/ATTACHING TO RUNNING "
6882 "DAEMONS> for more information."
6883 msgstr ""
6884
6885 #. type: textblock
6886 #: ../fish/guestfish-actions.pod:71 ../src/guestfs-actions.pod:90
6887 msgid ""
6888 "If the C<allowuuid> flag is true (default is false) then a UUID I<may> be "
6889 "passed instead of the domain name.  The C<dom> string is treated as a UUID "
6890 "first and looked up, and if that lookup fails then we treat C<dom> as a name "
6891 "as usual."
6892 msgstr ""
6893
6894 #. type: textblock
6895 #: ../fish/guestfish-actions.pod:76 ../src/guestfs-actions.pod:95
6896 msgid ""
6897 "The optional C<readonlydisk> parameter controls what we do for disks which "
6898 "are marked E<lt>readonly/E<gt> in the libvirt XML.  Possible values are:"
6899 msgstr ""
6900
6901 #. type: =item
6902 #: ../fish/guestfish-actions.pod:82 ../src/guestfs-actions.pod:101
6903 msgid "readonlydisk = \"error\""
6904 msgstr ""
6905
6906 #. type: textblock
6907 #: ../fish/guestfish-actions.pod:84 ../fish/guestfish-actions.pod:95
6908 #: ../fish/guestfish-actions.pod:106 ../src/guestfs-actions.pod:103
6909 #: ../src/guestfs-actions.pod:114 ../src/guestfs-actions.pod:125
6910 msgid "If C<readonly> is false:"
6911 msgstr ""
6912
6913 #. type: textblock
6914 #: ../fish/guestfish-actions.pod:86 ../src/guestfs-actions.pod:105
6915 msgid ""
6916 "The whole call is aborted with an error if any disk with the E<lt>readonly/"
6917 "E<gt> flag is found."
6918 msgstr ""
6919
6920 #. type: textblock
6921 #: ../fish/guestfish-actions.pod:89 ../fish/guestfish-actions.pod:100
6922 #: ../fish/guestfish-actions.pod:110 ../src/guestfs-actions.pod:108
6923 #: ../src/guestfs-actions.pod:119 ../src/guestfs-actions.pod:129
6924 msgid "If C<readonly> is true:"
6925 msgstr ""
6926
6927 #. type: textblock
6928 #: ../fish/guestfish-actions.pod:91 ../fish/guestfish-actions.pod:102
6929 #: ../fish/guestfish-actions.pod:112 ../src/guestfs-actions.pod:110
6930 #: ../src/guestfs-actions.pod:121 ../src/guestfs-actions.pod:131
6931 msgid "Disks with the E<lt>readonly/E<gt> flag are added read-only."
6932 msgstr ""
6933
6934 #. type: =item
6935 #: ../fish/guestfish-actions.pod:93 ../src/guestfs-actions.pod:112
6936 msgid "readonlydisk = \"read\""
6937 msgstr ""
6938
6939 #. type: textblock
6940 #: ../fish/guestfish-actions.pod:97 ../src/guestfs-actions.pod:116
6941 msgid ""
6942 "Disks with the E<lt>readonly/E<gt> flag are added read-only.  Other disks "
6943 "are added read/write."
6944 msgstr ""
6945
6946 #. type: =item
6947 #: ../fish/guestfish-actions.pod:104 ../src/guestfs-actions.pod:123
6948 msgid "readonlydisk = \"write\" (default)"
6949 msgstr ""
6950
6951 #. type: textblock
6952 #: ../fish/guestfish-actions.pod:108 ../src/guestfs-actions.pod:127
6953 msgid "Disks with the E<lt>readonly/E<gt> flag are added read/write."
6954 msgstr ""
6955
6956 #. type: =item
6957 #: ../fish/guestfish-actions.pod:114 ../src/guestfs-actions.pod:133
6958 msgid "readonlydisk = \"ignore\""
6959 msgstr ""
6960
6961 #. type: textblock
6962 #: ../fish/guestfish-actions.pod:116 ../src/guestfs-actions.pod:135
6963 msgid "If C<readonly> is true or false:"
6964 msgstr ""
6965
6966 #. type: textblock
6967 #: ../fish/guestfish-actions.pod:118 ../src/guestfs-actions.pod:137
6968 msgid "Disks with the E<lt>readonly/E<gt> flag are skipped."
6969 msgstr ""
6970
6971 #. type: textblock
6972 #: ../fish/guestfish-actions.pod:122
6973 msgid ""
6974 "The other optional parameters are passed directly through to L</add-drive-"
6975 "opts>."
6976 msgstr ""
6977
6978 #. type: textblock
6979 #: ../fish/guestfish-actions.pod:125 ../fish/guestfish-actions.pod:194
6980 #: ../fish/guestfish-actions.pod:655 ../fish/guestfish-actions.pod:866
6981 #: ../fish/guestfish-actions.pod:887 ../fish/guestfish-actions.pod:925
6982 #: ../fish/guestfish-actions.pod:934 ../fish/guestfish-actions.pod:943
6983 #: ../fish/guestfish-actions.pod:957 ../fish/guestfish-actions.pod:2202
6984 #: ../fish/guestfish-actions.pod:3250 ../fish/guestfish-actions.pod:3472
6985 #: ../fish/guestfish-actions.pod:3635 ../fish/guestfish-actions.pod:3770
6986 #: ../fish/guestfish-actions.pod:5141
6987 msgid ""
6988 "This command has one or more optional arguments.  See L</OPTIONAL ARGUMENTS>."
6989 msgstr ""
6990
6991 #. type: =head2
6992 #: ../fish/guestfish-actions.pod:127
6993 msgid "add-drive"
6994 msgstr "add-drive"
6995
6996 #. type: verbatim
6997 #: ../fish/guestfish-actions.pod:129
6998 #, no-wrap
6999 msgid ""
7000 " add-drive filename\n"
7001 "\n"
7002 msgstr ""
7003 " add-drive назва_файла\n"
7004 "\n"
7005
7006 #. type: textblock
7007 #: ../fish/guestfish-actions.pod:131
7008 msgid ""
7009 "This function is the equivalent of calling L</add-drive-opts> with no "
7010 "optional parameters, so the disk is added writable, with the format being "
7011 "detected automatically."
7012 msgstr ""
7013
7014 #. type: textblock
7015 #: ../fish/guestfish-actions.pod:135
7016 msgid ""
7017 "Automatic detection of the format opens you up to a potential security hole "
7018 "when dealing with untrusted raw-format images.  See CVE-2010-3851 and "
7019 "RHBZ#642934.  Specifying the format closes this security hole.  Therefore "
7020 "you should think about replacing calls to this function with calls to L</add-"
7021 "drive-opts>, and specifying the format."
7022 msgstr ""
7023
7024 #. type: =head2
7025 #: ../fish/guestfish-actions.pod:142
7026 msgid "add-drive-opts"
7027 msgstr "add-drive-opts"
7028
7029 #. type: =head2
7030 #: ../fish/guestfish-actions.pod:144
7031 msgid "add"
7032 msgstr "add"
7033
7034 #. type: verbatim
7035 #: ../fish/guestfish-actions.pod:146
7036 #, no-wrap
7037 msgid ""
7038 " add-drive-opts filename [readonly:true|false] [format:..] [iface:..] [name:..]\n"
7039 "\n"
7040 msgstr ""
7041
7042 #. type: textblock
7043 #: ../fish/guestfish-actions.pod:148 ../src/guestfs-actions.pod:208
7044 msgid ""
7045 "This function adds a virtual machine disk image C<filename> to libguestfs.  "
7046 "The first time you call this function, the disk appears as C</dev/sda>, the "
7047 "second time as C</dev/sdb>, and so on."
7048 msgstr ""
7049
7050 #. type: textblock
7051 #: ../fish/guestfish-actions.pod:153 ../src/guestfs-actions.pod:213
7052 msgid ""
7053 "You don't necessarily need to be root when using libguestfs.  However you "
7054 "obviously do need sufficient permissions to access the filename for whatever "
7055 "operations you want to perform (ie. read access if you just want to read the "
7056 "image or write access if you want to modify the image)."
7057 msgstr ""
7058
7059 #. type: textblock
7060 #: ../fish/guestfish-actions.pod:159 ../src/guestfs-actions.pod:219
7061 msgid "This call checks that C<filename> exists."
7062 msgstr ""
7063
7064 #. type: textblock
7065 #: ../fish/guestfish-actions.pod:161 ../fish/guestfish-actions.pod:3434
7066 #: ../src/guestfs-actions.pod:221 ../src/guestfs-actions.pod:5318
7067 msgid "The optional arguments are:"
7068 msgstr ""
7069
7070 #. type: =item
7071 #: ../fish/guestfish-actions.pod:165 ../src/guestfs-actions.pod:225
7072 msgid "C<readonly>"
7073 msgstr "C<readonly>"
7074
7075 #. type: textblock
7076 #: ../fish/guestfish-actions.pod:167 ../src/guestfs-actions.pod:227
7077 msgid ""
7078 "If true then the image is treated as read-only.  Writes are still allowed, "
7079 "but they are stored in a temporary snapshot overlay which is discarded at "
7080 "the end.  The disk that you add is not modified."
7081 msgstr ""
7082
7083 #. type: =item
7084 #: ../fish/guestfish-actions.pod:171 ../src/guestfs-actions.pod:231
7085 msgid "C<format>"
7086 msgstr "C<format>"
7087
7088 #. type: textblock
7089 #: ../fish/guestfish-actions.pod:173
7090 msgid ""
7091 "This forces the image format.  If you omit this (or use L</add-drive> or L</"
7092 "add-drive-ro>) then the format is automatically detected.  Possible formats "
7093 "include C<raw> and C<qcow2>."
7094 msgstr ""
7095
7096 #. type: textblock
7097 #: ../fish/guestfish-actions.pod:177 ../src/guestfs-actions.pod:237
7098 msgid ""
7099 "Automatic detection of the format opens you up to a potential security hole "
7100 "when dealing with untrusted raw-format images.  See CVE-2010-3851 and "
7101 "RHBZ#642934.  Specifying the format closes this security hole."
7102 msgstr ""
7103
7104 #. type: =item
7105 #: ../fish/guestfish-actions.pod:182 ../src/guestfs-actions.pod:242
7106 msgid "C<iface>"
7107 msgstr "C<iface>"
7108
7109 #. type: textblock
7110 #: ../fish/guestfish-actions.pod:184
7111 msgid ""
7112 "This rarely-used option lets you emulate the behaviour of the deprecated L</"
7113 "add-drive-with-if> call (q.v.)"
7114 msgstr ""
7115
7116 #. type: =item
7117 #: ../fish/guestfish-actions.pod:187 ../fish/guestfish-actions.pod:3277
7118 #: ../src/guestfs-actions.pod:247 ../src/guestfs-actions.pod:5039
7119 msgid "C<name>"
7120 msgstr ""
7121
7122 #. type: textblock
7123 #: ../fish/guestfish-actions.pod:189 ../src/guestfs-actions.pod:249
7124 msgid ""
7125 "The name the drive had in the original guest, e.g. /dev/sdb. This is used as "
7126 "a hint to the guest inspection process if it is available."
7127 msgstr ""
7128
7129 #. type: =head2
7130 #: ../fish/guestfish-actions.pod:196
7131 msgid "add-drive-ro"
7132 msgstr "add-drive-ro"
7133
7134 #. type: =head2
7135 #: ../fish/guestfish-actions.pod:198
7136 msgid "add-ro"
7137 msgstr "add-ro"
7138
7139 #. type: verbatim
7140 #: ../fish/guestfish-actions.pod:200
7141 #, no-wrap
7142 msgid ""
7143 " add-drive-ro filename\n"
7144 "\n"
7145 msgstr ""
7146
7147 #. type: textblock
7148 #: ../fish/guestfish-actions.pod:202
7149 msgid ""
7150 "This function is the equivalent of calling L</add-drive-opts> with the "
7151 "optional parameter C<GUESTFS_ADD_DRIVE_OPTS_READONLY> set to 1, so the disk "
7152 "is added read-only, with the format being detected automatically."
7153 msgstr ""
7154
7155 #. type: =head2
7156 #: ../fish/guestfish-actions.pod:207
7157 msgid "add-drive-ro-with-if"
7158 msgstr ""
7159
7160 #. type: verbatim
7161 #: ../fish/guestfish-actions.pod:209
7162 #, no-wrap
7163 msgid ""
7164 " add-drive-ro-with-if filename iface\n"
7165 "\n"
7166 msgstr ""
7167
7168 #. type: textblock
7169 #: ../fish/guestfish-actions.pod:211
7170 msgid ""
7171 "This is the same as L</add-drive-ro> but it allows you to specify the QEMU "
7172 "interface emulation to use at run time."
7173 msgstr ""
7174
7175 #. type: =head2
7176 #: ../fish/guestfish-actions.pod:221
7177 msgid "add-drive-with-if"
7178 msgstr ""
7179
7180 #. type: verbatim
7181 #: ../fish/guestfish-actions.pod:223
7182 #, no-wrap
7183 msgid ""
7184 " add-drive-with-if filename iface\n"
7185 "\n"
7186 msgstr ""
7187
7188 #. type: textblock
7189 #: ../fish/guestfish-actions.pod:225
7190 msgid ""
7191 "This is the same as L</add-drive> but it allows you to specify the QEMU "
7192 "interface emulation to use at run time."
7193 msgstr ""
7194
7195 #. type: =head2
7196 #: ../fish/guestfish-actions.pod:235
7197 msgid "aug-clear"
7198 msgstr ""
7199
7200 #. type: verbatim
7201 #: ../fish/guestfish-actions.pod:237
7202 #, no-wrap
7203 msgid ""
7204 " aug-clear augpath\n"
7205 "\n"
7206 msgstr ""
7207
7208 #. type: textblock
7209 #: ../fish/guestfish-actions.pod:239 ../src/guestfs-actions.pod:343
7210 msgid ""
7211 "Set the value associated with C<path> to C<NULL>.  This is the same as the "
7212 "L<augtool(1)> C<clear> command."
7213 msgstr ""
7214
7215 #. type: =head2
7216 #: ../fish/guestfish-actions.pod:242
7217 msgid "aug-close"
7218 msgstr ""
7219
7220 #. type: verbatim
7221 #: ../fish/guestfish-actions.pod:244
7222 #, no-wrap
7223 msgid ""
7224 " aug-close\n"
7225 "\n"
7226 msgstr ""
7227
7228 #. type: textblock
7229 #: ../fish/guestfish-actions.pod:246
7230 msgid ""
7231 "Close the current Augeas handle and free up any resources used by it.  After "
7232 "calling this, you have to call L</aug-init> again before you can use any "
7233 "other Augeas functions."
7234 msgstr ""
7235
7236 #. type: =head2
7237 #: ../fish/guestfish-actions.pod:251
7238 msgid "aug-defnode"
7239 msgstr ""
7240
7241 #. type: verbatim
7242 #: ../fish/guestfish-actions.pod:253
7243 #, no-wrap
7244 msgid ""
7245 " aug-defnode name expr val\n"
7246 "\n"
7247 msgstr ""
7248
7249 #. type: textblock
7250 #: ../fish/guestfish-actions.pod:255 ../src/guestfs-actions.pod:372
7251 msgid ""
7252 "Defines a variable C<name> whose value is the result of evaluating C<expr>."
7253 msgstr ""
7254
7255 #. type: textblock
7256 #: ../fish/guestfish-actions.pod:258
7257 msgid ""
7258 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
7259 "calling L</aug-set> C<expr>, C<value>.  C<name> will be the nodeset "
7260 "containing that single node."
7261 msgstr ""
7262
7263 #. type: textblock
7264 #: ../fish/guestfish-actions.pod:262 ../src/guestfs-actions.pod:379
7265 msgid ""
7266 "On success this returns a pair containing the number of nodes in the "
7267 "nodeset, and a boolean flag if a node was created."
7268 msgstr ""
7269
7270 #. type: =head2
7271 #: ../fish/guestfish-actions.pod:266
7272 msgid "aug-defvar"
7273 msgstr ""
7274
7275 #. type: verbatim
7276 #: ../fish/guestfish-actions.pod:268
7277 #, no-wrap
7278 msgid ""
7279 " aug-defvar name expr\n"
7280 "\n"
7281 msgstr ""
7282
7283 #. type: textblock
7284 #: ../fish/guestfish-actions.pod:270 ../src/guestfs-actions.pod:396
7285 msgid ""
7286 "Defines an Augeas variable C<name> whose value is the result of evaluating "
7287 "C<expr>.  If C<expr> is NULL, then C<name> is undefined."
7288 msgstr ""
7289
7290 #. type: textblock
7291 #: ../fish/guestfish-actions.pod:274 ../src/guestfs-actions.pod:400
7292 msgid ""
7293 "On success this returns the number of nodes in C<expr>, or C<0> if C<expr> "
7294 "evaluates to something which is not a nodeset."
7295 msgstr ""
7296
7297 #. type: =head2
7298 #: ../fish/guestfish-actions.pod:277
7299 msgid "aug-get"
7300 msgstr ""
7301
7302 #. type: verbatim
7303 #: ../fish/guestfish-actions.pod:279
7304 #, no-wrap
7305 msgid ""
7306 " aug-get augpath\n"
7307 "\n"
7308 msgstr ""
7309
7310 #. type: textblock
7311 #: ../fish/guestfish-actions.pod:281 ../src/guestfs-actions.pod:413
7312 msgid ""
7313 "Look up the value associated with C<path>.  If C<path> matches exactly one "
7314 "node, the C<value> is returned."
7315 msgstr ""
7316
7317 #. type: =head2
7318 #: ../fish/guestfish-actions.pod:284
7319 msgid "aug-init"
7320 msgstr ""
7321
7322 #. type: verbatim
7323 #: ../fish/guestfish-actions.pod:286
7324 #, no-wrap
7325 msgid ""
7326 " aug-init root flags\n"
7327 "\n"
7328 msgstr ""
7329
7330 #. type: textblock
7331 #: ../fish/guestfish-actions.pod:288 ../src/guestfs-actions.pod:428
7332 msgid ""
7333 "Create a new Augeas handle for editing configuration files.  If there was "
7334 "any previous Augeas handle associated with this guestfs session, then it is "
7335 "closed."
7336 msgstr ""
7337
7338 #. type: textblock
7339 #: ../fish/guestfish-actions.pod:292
7340 msgid "You must call this before using any other L</aug-*> commands."
7341 msgstr ""
7342
7343 #. type: textblock
7344 #: ../fish/guestfish-actions.pod:295 ../src/guestfs-actions.pod:435
7345 msgid ""
7346 "C<root> is the filesystem root.  C<root> must not be NULL, use C</> instead."
7347 msgstr ""
7348
7349 #. type: textblock
7350 #: ../fish/guestfish-actions.pod:298 ../src/guestfs-actions.pod:438
7351 msgid ""
7352 "The flags are the same as the flags defined in E<lt>augeas.hE<gt>, the "
7353 "logical I<or> of the following integers:"
7354 msgstr ""
7355
7356 #. type: =item
7357 #: ../fish/guestfish-actions.pod:304 ../src/guestfs-actions.pod:444
7358 msgid "C<AUG_SAVE_BACKUP> = 1"
7359 msgstr "C<AUG_SAVE_BACKUP> = 1"
7360
7361 #. type: textblock
7362 #: ../fish/guestfish-actions.pod:306 ../src/guestfs-actions.pod:446
7363 msgid "Keep the original file with a C<.augsave> extension."
7364 msgstr ""
7365
7366 #. type: =item
7367 #: ../fish/guestfish-actions.pod:308 ../src/guestfs-actions.pod:448
7368 msgid "C<AUG_SAVE_NEWFILE> = 2"
7369 msgstr "C<AUG_SAVE_NEWFILE> = 2"
7370
7371 #. type: textblock
7372 #: ../fish/guestfish-actions.pod:310 ../src/guestfs-actions.pod:450
7373 msgid ""
7374 "Save changes into a file with extension C<.augnew>, and do not overwrite "
7375 "original.  Overrides C<AUG_SAVE_BACKUP>."
7376 msgstr ""
7377
7378 #. type: =item
7379 #: ../fish/guestfish-actions.pod:313 ../src/guestfs-actions.pod:453
7380 msgid "C<AUG_TYPE_CHECK> = 4"
7381 msgstr "C<AUG_TYPE_CHECK> = 4"
7382
7383 #. type: textblock
7384 #: ../fish/guestfish-actions.pod:315 ../src/guestfs-actions.pod:455
7385 msgid "Typecheck lenses."
7386 msgstr ""
7387
7388 #. type: textblock
7389 #: ../fish/guestfish-actions.pod:317
7390 msgid ""
7391 "This option is only useful when debugging Augeas lenses.  Use of this option "
7392 "may require additional memory for the libguestfs appliance.  You may need to "
7393 "set the C<LIBGUESTFS_MEMSIZE> environment variable or call L</set-memsize>."
7394 msgstr ""
7395
7396 #. type: =item
7397 #: ../fish/guestfish-actions.pod:322 ../src/guestfs-actions.pod:462
7398 msgid "C<AUG_NO_STDINC> = 8"
7399 msgstr "C<AUG_NO_STDINC> = 8"
7400
7401 #. type: textblock
7402 #: ../fish/guestfish-actions.pod:324 ../src/guestfs-actions.pod:464
7403 msgid "Do not use standard load path for modules."
7404 msgstr ""
7405
7406 #. type: =item
7407 #: ../fish/guestfish-actions.pod:326 ../src/guestfs-actions.pod:466
7408 msgid "C<AUG_SAVE_NOOP> = 16"
7409 msgstr "C<AUG_SAVE_NOOP> = 16"
7410
7411 #. type: textblock
7412 #: ../fish/guestfish-actions.pod:328 ../src/guestfs-actions.pod:468
7413 msgid "Make save a no-op, just record what would have been changed."
7414 msgstr ""
7415
7416 #. type: =item
7417 #: ../fish/guestfish-actions.pod:330 ../src/guestfs-actions.pod:470
7418 msgid "C<AUG_NO_LOAD> = 32"
7419 msgstr "C<AUG_NO_LOAD> = 32"
7420
7421 #. type: textblock
7422 #: ../fish/guestfish-actions.pod:332
7423 msgid "Do not load the tree in L</aug-init>."
7424 msgstr ""
7425
7426 #. type: textblock
7427 #: ../fish/guestfish-actions.pod:336
7428 msgid "To close the handle, you can call L</aug-close>."
7429 msgstr ""
7430
7431 #. type: textblock
7432 #: ../fish/guestfish-actions.pod:338 ../src/guestfs-actions.pod:478
7433 msgid "To find out more about Augeas, see L<http://augeas.net/>."
7434 msgstr ""
7435
7436 #. type: =head2
7437 #: ../fish/guestfish-actions.pod:340
7438 msgid "aug-insert"
7439 msgstr ""
7440
7441 #. type: verbatim
7442 #: ../fish/guestfish-actions.pod:342
7443 #, no-wrap
7444 msgid ""
7445 " aug-insert augpath label true|false\n"
7446 "\n"
7447 msgstr ""
7448
7449 #. type: textblock
7450 #: ../fish/guestfish-actions.pod:344 ../src/guestfs-actions.pod:492
7451 msgid ""
7452 "Create a new sibling C<label> for C<path>, inserting it into the tree before "
7453 "or after C<path> (depending on the boolean flag C<before>)."
7454 msgstr ""
7455
7456 #. type: textblock
7457 #: ../fish/guestfish-actions.pod:348 ../src/guestfs-actions.pod:496
7458 msgid ""
7459 "C<path> must match exactly one existing node in the tree, and C<label> must "
7460 "be a label, ie. not contain C</>, C<*> or end with a bracketed index C<[N]>."
7461 msgstr ""
7462
7463 #. type: =head2
7464 #: ../fish/guestfish-actions.pod:352
7465 msgid "aug-load"
7466 msgstr ""
7467
7468 #. type: verbatim
7469 #: ../fish/guestfish-actions.pod:354
7470 #, no-wrap
7471 msgid ""
7472 " aug-load\n"
7473 "\n"
7474 msgstr ""
7475
7476 #. type: textblock
7477 #: ../fish/guestfish-actions.pod:356 ../src/guestfs-actions.pod:509
7478 msgid "Load files into the tree."
7479 msgstr "Завантажити файли до ієрархії."
7480
7481 #. type: textblock
7482 #: ../fish/guestfish-actions.pod:358 ../src/guestfs-actions.pod:511
7483 msgid "See C<aug_load> in the Augeas documentation for the full gory details."
7484 msgstr ""
7485
7486 #. type: =head2
7487 #: ../fish/guestfish-actions.pod:361
7488 msgid "aug-ls"
7489 msgstr ""
7490
7491 #. type: verbatim
7492 #: ../fish/guestfish-actions.pod:363
7493 #, no-wrap
7494 msgid ""
7495 " aug-ls augpath\n"
7496 "\n"
7497 msgstr ""
7498
7499 #. type: textblock
7500 #: ../fish/guestfish-actions.pod:365
7501 msgid ""
7502 "This is just a shortcut for listing L</aug-match> C<path/*> and sorting the "
7503 "resulting nodes into alphabetical order."
7504 msgstr ""
7505
7506 #. type: =head2
7507 #: ../fish/guestfish-actions.pod:368
7508 msgid "aug-match"
7509 msgstr ""
7510
7511 #. type: verbatim
7512 #: ../fish/guestfish-actions.pod:370
7513 #, no-wrap
7514 msgid ""
7515 " aug-match augpath\n"
7516 "\n"
7517 msgstr ""
7518
7519 #. type: textblock
7520 #: ../fish/guestfish-actions.pod:372 ../src/guestfs-actions.pod:539
7521 msgid ""
7522 "Returns a list of paths which match the path expression C<path>.  The "
7523 "returned paths are sufficiently qualified so that they match exactly one "
7524 "node in the current tree."
7525 msgstr ""
7526
7527 #. type: =head2
7528 #: ../fish/guestfish-actions.pod:376
7529 msgid "aug-mv"
7530 msgstr ""
7531
7532 #. type: verbatim
7533 #: ../fish/guestfish-actions.pod:378
7534 #, no-wrap
7535 msgid ""
7536 " aug-mv src dest\n"
7537 "\n"
7538 msgstr ""
7539
7540 #. type: textblock
7541 #: ../fish/guestfish-actions.pod:380 ../src/guestfs-actions.pod:556
7542 msgid ""
7543 "Move the node C<src> to C<dest>.  C<src> must match exactly one node.  "
7544 "C<dest> is overwritten if it exists."
7545 msgstr ""
7546
7547 #. type: =head2
7548 #: ../fish/guestfish-actions.pod:383
7549 msgid "aug-rm"
7550 msgstr ""
7551
7552 #. type: verbatim
7553 #: ../fish/guestfish-actions.pod:385
7554 #, no-wrap
7555 msgid ""
7556 " aug-rm augpath\n"
7557 "\n"
7558 msgstr ""
7559
7560 #. type: textblock
7561 #: ../fish/guestfish-actions.pod:387 ../src/guestfs-actions.pod:569
7562 msgid "Remove C<path> and all of its children."
7563 msgstr ""
7564
7565 #. type: textblock
7566 #: ../fish/guestfish-actions.pod:389 ../src/guestfs-actions.pod:571
7567 msgid "On success this returns the number of entries which were removed."
7568 msgstr ""
7569
7570 #. type: =head2
7571 #: ../fish/guestfish-actions.pod:391
7572 msgid "aug-save"
7573 msgstr ""
7574
7575 #. type: verbatim
7576 #: ../fish/guestfish-actions.pod:393
7577 #, no-wrap
7578 msgid ""
7579 " aug-save\n"
7580 "\n"
7581 msgstr ""
7582
7583 #. type: textblock
7584 #: ../fish/guestfish-actions.pod:395 ../src/guestfs-actions.pod:582
7585 msgid "This writes all pending changes to disk."
7586 msgstr ""
7587
7588 #. type: textblock
7589 #: ../fish/guestfish-actions.pod:397
7590 msgid ""
7591 "The flags which were passed to L</aug-init> affect exactly how files are "
7592 "saved."
7593 msgstr ""
7594
7595 #. type: =head2
7596 #: ../fish/guestfish-actions.pod:400
7597 msgid "aug-set"
7598 msgstr ""
7599
7600 #. type: verbatim
7601 #: ../fish/guestfish-actions.pod:402
7602 #, no-wrap
7603 msgid ""
7604 " aug-set augpath val\n"
7605 "\n"
7606 msgstr ""
7607
7608 #. type: textblock
7609 #: ../fish/guestfish-actions.pod:404 ../src/guestfs-actions.pod:598
7610 msgid "Set the value associated with C<path> to C<val>."
7611 msgstr ""
7612
7613 #. type: textblock
7614 #: ../fish/guestfish-actions.pod:406
7615 msgid ""
7616 "In the Augeas API, it is possible to clear a node by setting the value to "
7617 "NULL.  Due to an oversight in the libguestfs API you cannot do that with "
7618 "this call.  Instead you must use the L</aug-clear> call."
7619 msgstr ""
7620
7621 #. type: =head2
7622 #: ../fish/guestfish-actions.pod:411
7623 msgid "available"
7624 msgstr ""
7625
7626 #. type: verbatim
7627 #: ../fish/guestfish-actions.pod:413
7628 #, no-wrap
7629 msgid ""
7630 " available 'groups ...'\n"
7631 "\n"
7632 msgstr ""
7633
7634 #. type: textblock
7635 #: ../fish/guestfish-actions.pod:415 ../src/guestfs-actions.pod:615
7636 msgid ""
7637 "This command is used to check the availability of some groups of "
7638 "functionality in the appliance, which not all builds of the libguestfs "
7639 "appliance will be able to provide."
7640 msgstr ""
7641
7642 #. type: textblock
7643 #: ../fish/guestfish-actions.pod:419
7644 msgid ""
7645 "The libguestfs groups, and the functions that those groups correspond to, "
7646 "are listed in L<guestfs(3)/AVAILABILITY>.  You can also fetch this list at "
7647 "runtime by calling L</available-all-groups>."
7648 msgstr ""
7649
7650 #. type: textblock
7651 #: ../fish/guestfish-actions.pod:424 ../src/guestfs-actions.pod:624
7652 msgid ""
7653 "The argument C<groups> is a list of group names, eg: C<[\"inotify\", \"augeas"
7654 "\"]> would check for the availability of the Linux inotify functions and "
7655 "Augeas (configuration file editing) functions."
7656 msgstr ""
7657
7658 #. type: textblock
7659 #: ../fish/guestfish-actions.pod:429 ../src/guestfs-actions.pod:629
7660 msgid "The command returns no error if I<all> requested groups are available."
7661 msgstr ""
7662
7663 #. type: textblock
7664 #: ../fish/guestfish-actions.pod:431 ../src/guestfs-actions.pod:631
7665 msgid ""
7666 "It fails with an error if one or more of the requested groups is unavailable "
7667 "in the appliance."
7668 msgstr ""
7669
7670 #. type: textblock
7671 #: ../fish/guestfish-actions.pod:434 ../src/guestfs-actions.pod:634
7672 msgid ""
7673 "If an unknown group name is included in the list of groups then an error is "
7674 "always returned."
7675 msgstr ""
7676
7677 #. type: textblock
7678 #: ../fish/guestfish-actions.pod:437 ../src/guestfs-actions.pod:637
7679 msgid "I<Notes:>"
7680 msgstr "I<Нотатки:>"
7681
7682 #. type: textblock
7683 #: ../fish/guestfish-actions.pod:443
7684 msgid "You must call L</launch> before calling this function."
7685 msgstr ""
7686
7687 #. type: textblock
7688 #: ../fish/guestfish-actions.pod:445 ../src/guestfs-actions.pod:645
7689 msgid ""
7690 "The reason is because we don't know what groups are supported by the "
7691 "appliance/daemon until it is running and can be queried."
7692 msgstr ""
7693
7694 #. type: textblock
7695 #: ../fish/guestfish-actions.pod:451 ../src/guestfs-actions.pod:651
7696 msgid ""
7697 "If a group of functions is available, this does not necessarily mean that "
7698 "they will work.  You still have to check for errors when calling individual "
7699 "API functions even if they are available."
7700 msgstr ""
7701
7702 #. type: textblock
7703 #: ../fish/guestfish-actions.pod:458 ../src/guestfs-actions.pod:658
7704 msgid ""
7705 "It is usually the job of distro packagers to build complete functionality "
7706 "into the libguestfs appliance.  Upstream libguestfs, if built from source "
7707 "with all requirements satisfied, will support everything."
7708 msgstr ""
7709
7710 #. type: textblock
7711 #: ../fish/guestfish-actions.pod:465
7712 msgid ""
7713 "This call was added in version C<1.0.80>.  In previous versions of "
7714 "libguestfs all you could do would be to speculatively execute a command to "
7715 "find out if the daemon implemented it.  See also L</version>."
7716 msgstr ""
7717
7718 #. type: =head2
7719 #: ../fish/guestfish-actions.pod:472
7720 msgid "available-all-groups"
7721 msgstr ""
7722
7723 #. type: verbatim
7724 #: ../fish/guestfish-actions.pod:474
7725 #, no-wrap
7726 msgid ""
7727 " available-all-groups\n"
7728 "\n"
7729 msgstr ""
7730
7731 #. type: textblock
7732 #: ../fish/guestfish-actions.pod:476
7733 msgid ""
7734 "This command returns a list of all optional groups that this daemon knows "
7735 "about.  Note this returns both supported and unsupported groups.  To find "
7736 "out which ones the daemon can actually support you have to call L</"
7737 "available> on each member of the returned list."
7738 msgstr ""
7739
7740 #. type: textblock
7741 #: ../fish/guestfish-actions.pod:482
7742 msgid "See also L</available> and L<guestfs(3)/AVAILABILITY>."
7743 msgstr ""
7744
7745 #. type: =head2
7746 #: ../fish/guestfish-actions.pod:484
7747 msgid "base64-in"
7748 msgstr ""
7749
7750 #. type: verbatim
7751 #: ../fish/guestfish-actions.pod:486
7752 #, no-wrap
7753 msgid ""
7754 " base64-in (base64file|-) filename\n"
7755 "\n"
7756 msgstr ""
7757
7758 #. type: textblock
7759 #: ../fish/guestfish-actions.pod:488 ../src/guestfs-actions.pod:702
7760 msgid ""
7761 "This command uploads base64-encoded data from C<base64file> to C<filename>."
7762 msgstr ""
7763
7764 #. type: textblock
7765 #: ../fish/guestfish-actions.pod:491 ../fish/guestfish-actions.pod:500
7766 #: ../fish/guestfish-actions.pod:780 ../fish/guestfish-actions.pod:864
7767 #: ../fish/guestfish-actions.pod:885 ../fish/guestfish-actions.pod:1056
7768 #: ../fish/guestfish-actions.pod:1075 ../fish/guestfish-actions.pod:1449
7769 #: ../fish/guestfish-actions.pod:4997 ../fish/guestfish-actions.pod:5009
7770 #: ../fish/guestfish-actions.pod:5020 ../fish/guestfish-actions.pod:5031
7771 #: ../fish/guestfish-actions.pod:5162 ../fish/guestfish-actions.pod:5171
7772 #: ../fish/guestfish-actions.pod:5225 ../fish/guestfish-actions.pod:5248
7773 msgid "Use C<-> instead of a filename to read/write from stdin/stdout."
7774 msgstr ""
7775
7776 #. type: =head2
7777 #: ../fish/guestfish-actions.pod:493
7778 msgid "base64-out"
7779 msgstr ""
7780
7781 #. type: verbatim
7782 #: ../fish/guestfish-actions.pod:495
7783 #, no-wrap
7784 msgid ""
7785 " base64-out filename (base64file|-)\n"
7786 "\n"
7787 msgstr ""
7788
7789 #. type: textblock
7790 #: ../fish/guestfish-actions.pod:497 ../src/guestfs-actions.pod:716
7791 msgid ""
7792 "This command downloads the contents of C<filename>, writing it out to local "
7793 "file C<base64file> encoded as base64."
7794 msgstr ""
7795
7796 #. type: =head2
7797 #: ../fish/guestfish-actions.pod:502
7798 msgid "blkid"
7799 msgstr ""
7800
7801 #. type: verbatim
7802 #: ../fish/guestfish-actions.pod:504
7803 #, fuzzy, no-wrap
7804 #| msgid ""
7805 #| " lvuuid device\n"
7806 #| "\n"
7807 msgid ""
7808 " blkid device\n"
7809 "\n"
7810 msgstr ""
7811 " lvuuid пристрій\n"
7812 "\n"
7813
7814 #. type: textblock
7815 #: ../fish/guestfish-actions.pod:506 ../src/guestfs-actions.pod:729
7816 msgid ""
7817 "This command returns block device attributes for C<device>. The following "
7818 "fields are usually present in the returned hash. Other fields may also be "
7819 "present."
7820 msgstr ""
7821
7822 #. type: =item
7823 #: ../fish/guestfish-actions.pod:511 ../src/guestfs-actions.pod:734
7824 #, fuzzy
7825 #| msgid "B<UUID>"
7826 msgid "C<UUID>"
7827 msgstr "B<UUID>"
7828
7829 #. type: textblock
7830 #: ../fish/guestfish-actions.pod:513 ../src/guestfs-actions.pod:736
7831 #, fuzzy
7832 #| msgid "The time of last access."
7833 msgid "The uuid of this device."
7834 msgstr "Час останнього доступу."
7835
7836 #. type: =item
7837 #: ../fish/guestfish-actions.pod:515 ../src/guestfs-actions.pod:738
7838 msgid "C<LABEL>"
7839 msgstr ""
7840
7841 #. type: textblock
7842 #: ../fish/guestfish-actions.pod:517 ../src/guestfs-actions.pod:740
7843 #, fuzzy
7844 #| msgid "The time of last access."
7845 msgid "The label of this device."
7846 msgstr "Час останнього доступу."
7847
7848 #. type: =item
7849 #: ../fish/guestfish-actions.pod:519 ../src/guestfs-actions.pod:742
7850 msgid "C<VERSION>"
7851 msgstr ""
7852
7853 #. type: textblock
7854 #: ../fish/guestfish-actions.pod:521 ../src/guestfs-actions.pod:744
7855 msgid "The version of blkid command."
7856 msgstr ""
7857
7858 #. type: =item
7859 #: ../fish/guestfish-actions.pod:523 ../src/guestfs-actions.pod:746
7860 msgid "C<TYPE>"
7861 msgstr ""
7862
7863 #. type: textblock
7864 #: ../fish/guestfish-actions.pod:525 ../src/guestfs-actions.pod:748
7865 msgid "The filesystem type or RAID of this device."
7866 msgstr ""
7867
7868 #. type: =item
7869 #: ../fish/guestfish-actions.pod:527 ../src/guestfs-actions.pod:750
7870 msgid "C<USAGE>"
7871 msgstr ""
7872
7873 #. type: textblock
7874 #: ../fish/guestfish-actions.pod:529 ../src/guestfs-actions.pod:752
7875 msgid "The usage of this device, for example C<filesystem> or C<raid>."
7876 msgstr ""
7877
7878 #. type: =head2
7879 #: ../fish/guestfish-actions.pod:533
7880 msgid "blockdev-flushbufs"
7881 msgstr ""
7882
7883 #. type: verbatim
7884 #: ../fish/guestfish-actions.pod:535
7885 #, no-wrap
7886 msgid ""
7887 " blockdev-flushbufs device\n"
7888 "\n"
7889 msgstr ""
7890
7891 #. type: textblock
7892 #: ../fish/guestfish-actions.pod:537 ../src/guestfs-actions.pod:768
7893 msgid ""
7894 "This tells the kernel to flush internal buffers associated with C<device>."
7895 msgstr ""
7896
7897 #. type: textblock
7898 #: ../fish/guestfish-actions.pod:540 ../fish/guestfish-actions.pod:551
7899 #: ../fish/guestfish-actions.pod:560 ../fish/guestfish-actions.pod:570
7900 #: ../fish/guestfish-actions.pod:582 ../fish/guestfish-actions.pod:595
7901 #: ../fish/guestfish-actions.pod:603 ../fish/guestfish-actions.pod:614
7902 #: ../fish/guestfish-actions.pod:622 ../fish/guestfish-actions.pod:630
7903 #: ../src/guestfs-actions.pod:771 ../src/guestfs-actions.pod:788
7904 #: ../src/guestfs-actions.pod:803 ../src/guestfs-actions.pod:819
7905 #: ../src/guestfs-actions.pod:837 ../src/guestfs-actions.pod:856
7906 #: ../src/guestfs-actions.pod:870 ../src/guestfs-actions.pod:888
7907 #: ../src/guestfs-actions.pod:902 ../src/guestfs-actions.pod:916
7908 msgid "This uses the L<blockdev(8)> command."
7909 msgstr ""
7910
7911 #. type: =head2
7912 #: ../fish/guestfish-actions.pod:542
7913 msgid "blockdev-getbsz"
7914 msgstr ""
7915
7916 #. type: verbatim
7917 #: ../fish/guestfish-actions.pod:544
7918 #, no-wrap
7919 msgid ""
7920 " blockdev-getbsz device\n"
7921 "\n"
7922 msgstr ""
7923
7924 #. type: textblock
7925 #: ../fish/guestfish-actions.pod:546 ../src/guestfs-actions.pod:783
7926 msgid "This returns the block size of a device."
7927 msgstr ""
7928
7929 #. type: textblock
7930 #: ../fish/guestfish-actions.pod:548 ../fish/guestfish-actions.pod:611
7931 #: ../src/guestfs-actions.pod:785 ../src/guestfs-actions.pod:885
7932 msgid ""
7933 "(Note this is different from both I<size in blocks> and I<filesystem block "
7934 "size>)."
7935 msgstr ""
7936
7937 #. type: =head2
7938 #: ../fish/guestfish-actions.pod:553
7939 msgid "blockdev-getro"
7940 msgstr ""
7941
7942 #. type: verbatim
7943 #: ../fish/guestfish-actions.pod:555
7944 #, no-wrap
7945 msgid ""
7946 " blockdev-getro device\n"
7947 "\n"
7948 msgstr ""
7949
7950 #. type: textblock
7951 #: ../fish/guestfish-actions.pod:557 ../src/guestfs-actions.pod:800
7952 msgid ""
7953 "Returns a boolean indicating if the block device is read-only (true if read-"
7954 "only, false if not)."
7955 msgstr ""
7956
7957 #. type: =head2
7958 #: ../fish/guestfish-actions.pod:562
7959 msgid "blockdev-getsize64"
7960 msgstr ""
7961
7962 #. type: verbatim
7963 #: ../fish/guestfish-actions.pod:564
7964 #, no-wrap
7965 msgid ""
7966 " blockdev-getsize64 device\n"
7967 "\n"
7968 msgstr ""
7969
7970 #. type: textblock
7971 #: ../fish/guestfish-actions.pod:566 ../src/guestfs-actions.pod:815
7972 msgid "This returns the size of the device in bytes."
7973 msgstr ""
7974
7975 #. type: textblock
7976 #: ../fish/guestfish-actions.pod:568
7977 msgid "See also L</blockdev-getsz>."
7978 msgstr "Див. також L</blockdev-getsz>."
7979
7980 #. type: =head2
7981 #: ../fish/guestfish-actions.pod:572
7982 msgid "blockdev-getss"
7983 msgstr ""
7984
7985 #. type: verbatim
7986 #: ../fish/guestfish-actions.pod:574
7987 #, no-wrap
7988 msgid ""
7989 " blockdev-getss device\n"
7990 "\n"
7991 msgstr ""
7992
7993 #. type: textblock
7994 #: ../fish/guestfish-actions.pod:576 ../src/guestfs-actions.pod:831
7995 msgid ""
7996 "This returns the size of sectors on a block device.  Usually 512, but can be "
7997 "larger for modern devices."
7998 msgstr ""
7999
8000 #. type: textblock
8001 #: ../fish/guestfish-actions.pod:579
8002 msgid ""
8003 "(Note, this is not the size in sectors, use L</blockdev-getsz> for that)."
8004 msgstr ""
8005
8006 #. type: =head2
8007 #: ../fish/guestfish-actions.pod:584
8008 msgid "blockdev-getsz"
8009 msgstr ""
8010
8011 #. type: verbatim
8012 #: ../fish/guestfish-actions.pod:586
8013 #, no-wrap
8014 msgid ""
8015 " blockdev-getsz device\n"
8016 "\n"
8017 msgstr ""
8018
8019 #. type: textblock
8020 #: ../fish/guestfish-actions.pod:588 ../src/guestfs-actions.pod:849
8021 msgid ""
8022 "This returns the size of the device in units of 512-byte sectors (even if "
8023 "the sectorsize isn't 512 bytes ... weird)."
8024 msgstr ""
8025
8026 #. type: textblock
8027 #: ../fish/guestfish-actions.pod:591
8028 msgid ""
8029 "See also L</blockdev-getss> for the real sector size of the device, and L</"
8030 "blockdev-getsize64> for the more useful I<size in bytes>."
8031 msgstr ""
8032
8033 #. type: =head2
8034 #: ../fish/guestfish-actions.pod:597
8035 msgid "blockdev-rereadpt"
8036 msgstr ""
8037
8038 #. type: verbatim
8039 #: ../fish/guestfish-actions.pod:599
8040 #, no-wrap
8041 msgid ""
8042 " blockdev-rereadpt device\n"
8043 "\n"
8044 msgstr ""
8045
8046 #. type: textblock
8047 #: ../fish/guestfish-actions.pod:601 ../src/guestfs-actions.pod:868
8048 msgid "Reread the partition table on C<device>."
8049 msgstr ""
8050
8051 #. type: =head2
8052 #: ../fish/guestfish-actions.pod:605
8053 msgid "blockdev-setbsz"
8054 msgstr ""
8055
8056 #. type: verbatim
8057 #: ../fish/guestfish-actions.pod:607
8058 #, no-wrap
8059 msgid ""
8060 " blockdev-setbsz device blocksize\n"
8061 "\n"
8062 msgstr ""
8063
8064 #. type: textblock
8065 #: ../fish/guestfish-actions.pod:609 ../src/guestfs-actions.pod:883
8066 msgid "This sets the block size of a device."
8067 msgstr ""
8068
8069 #. type: =head2
8070 #: ../fish/guestfish-actions.pod:616
8071 msgid "blockdev-setro"
8072 msgstr ""
8073
8074 #. type: verbatim
8075 #: ../fish/guestfish-actions.pod:618
8076 #, no-wrap
8077 msgid ""
8078 " blockdev-setro device\n"
8079 "\n"
8080 msgstr ""
8081
8082 #. type: textblock
8083 #: ../fish/guestfish-actions.pod:620 ../src/guestfs-actions.pod:900
8084 msgid "Sets the block device named C<device> to read-only."
8085 msgstr ""
8086
8087 #. type: =head2
8088 #: ../fish/guestfish-actions.pod:624
8089 msgid "blockdev-setrw"
8090 msgstr ""
8091
8092 #. type: verbatim
8093 #: ../fish/guestfish-actions.pod:626
8094 #, no-wrap
8095 msgid ""
8096 " blockdev-setrw device\n"
8097 "\n"
8098 msgstr ""
8099
8100 #. type: textblock
8101 #: ../fish/guestfish-actions.pod:628 ../src/guestfs-actions.pod:914
8102 msgid "Sets the block device named C<device> to read-write."
8103 msgstr ""
8104
8105 #. type: =head2
8106 #: ../fish/guestfish-actions.pod:632
8107 msgid "btrfs-filesystem-resize"
8108 msgstr ""
8109
8110 #. type: verbatim
8111 #: ../fish/guestfish-actions.pod:634
8112 #, no-wrap
8113 msgid ""
8114 " btrfs-filesystem-resize mountpoint [size:N]\n"
8115 "\n"
8116 msgstr ""
8117
8118 #. type: textblock
8119 #: ../fish/guestfish-actions.pod:636 ../src/guestfs-actions.pod:936
8120 msgid "This command resizes a btrfs filesystem."
8121 msgstr ""
8122
8123 #. type: textblock
8124 #: ../fish/guestfish-actions.pod:638 ../src/guestfs-actions.pod:938
8125 msgid ""
8126 "Note that unlike other resize calls, the filesystem has to be mounted and "
8127 "the parameter is the mountpoint not the device (this is a requirement of "
8128 "btrfs itself)."
8129 msgstr ""
8130
8131 #. type: textblock
8132 #: ../fish/guestfish-actions.pod:642 ../fish/guestfish-actions.pod:3199
8133 #: ../fish/guestfish-actions.pod:3745 ../fish/guestfish-actions.pod:5071
8134 #: ../src/guestfs-actions.pod:942 ../src/guestfs-actions.pod:4935
8135 #: ../src/guestfs-actions.pod:5842 ../src/guestfs-actions.pod:7818
8136 msgid "The optional parameters are:"
8137 msgstr ""
8138
8139 #. type: =item
8140 #: ../fish/guestfish-actions.pod:646 ../fish/guestfish-actions.pod:3749
8141 #: ../src/guestfs-actions.pod:946 ../src/guestfs-actions.pod:5846
8142 msgid "C<size>"
8143 msgstr "C<розмір>"
8144
8145 #. type: textblock
8146 #: ../fish/guestfish-actions.pod:648 ../src/guestfs-actions.pod:948
8147 msgid ""
8148 "The new size (in bytes) of the filesystem.  If omitted, the filesystem is "
8149 "resized to the maximum size."
8150 msgstr ""
8151
8152 #. type: textblock
8153 #: ../fish/guestfish-actions.pod:653 ../src/guestfs-actions.pod:953
8154 msgid "See also L<btrfs(8)>."
8155 msgstr "Див. також L<btrfs(8)>."
8156
8157 #. type: =head2
8158 #: ../fish/guestfish-actions.pod:657
8159 msgid "case-sensitive-path"
8160 msgstr ""
8161
8162 #. type: verbatim
8163 #: ../fish/guestfish-actions.pod:659
8164 #, no-wrap
8165 msgid ""
8166 " case-sensitive-path path\n"
8167 "\n"
8168 msgstr ""
8169
8170 #. type: textblock
8171 #: ../fish/guestfish-actions.pod:661 ../src/guestfs-actions.pod:987
8172 msgid ""
8173 "This can be used to resolve case insensitive paths on a filesystem which is "
8174 "case sensitive.  The use case is to resolve paths which you have read from "
8175 "Windows configuration files or the Windows Registry, to the true path."
8176 msgstr ""
8177
8178 #. type: textblock
8179 #: ../fish/guestfish-actions.pod:666 ../src/guestfs-actions.pod:992
8180 msgid ""
8181 "The command handles a peculiarity of the Linux ntfs-3g filesystem driver "
8182 "(and probably others), which is that although the underlying filesystem is "
8183 "case-insensitive, the driver exports the filesystem to Linux as case-"
8184 "sensitive."
8185 msgstr ""
8186
8187 #. type: textblock
8188 #: ../fish/guestfish-actions.pod:671 ../src/guestfs-actions.pod:997
8189 msgid ""
8190 "One consequence of this is that special directories such as C<c:\\windows> "
8191 "may appear as C</WINDOWS> or C</windows> (or other things) depending on the "
8192 "precise details of how they were created.  In Windows itself this would not "
8193 "be a problem."
8194 msgstr ""
8195
8196 #. type: textblock
8197 #: ../fish/guestfish-actions.pod:677 ../src/guestfs-actions.pod:1003
8198 msgid ""
8199 "Bug or feature? You decide: L<http://www.tuxera.com/community/ntfs-3g-faq/"
8200 "#posixfilenames1>"
8201 msgstr ""
8202
8203 #. type: textblock
8204 #: ../fish/guestfish-actions.pod:680 ../src/guestfs-actions.pod:1006
8205 msgid ""
8206 "This function resolves the true case of each element in the path and returns "
8207 "the case-sensitive path."
8208 msgstr ""
8209
8210 #. type: textblock
8211 #: ../fish/guestfish-actions.pod:683
8212 msgid ""
8213 "Thus L</case-sensitive-path> (\"/Windows/System32\")  might return C<\"/"
8214 "WINDOWS/system32\"> (the exact return value would depend on details of how "
8215 "the directories were originally created under Windows)."
8216 msgstr ""
8217
8218 #. type: textblock
8219 #: ../fish/guestfish-actions.pod:688 ../src/guestfs-actions.pod:1014
8220 msgid "I<Note>: This function does not handle drive names, backslashes etc."
8221 msgstr ""
8222
8223 #. type: textblock
8224 #: ../fish/guestfish-actions.pod:691
8225 msgid "See also L</realpath>."
8226 msgstr "Див. також L</realpath>."
8227
8228 #. type: =head2
8229 #: ../fish/guestfish-actions.pod:693
8230 msgid "cat"
8231 msgstr "cat"
8232
8233 #. type: verbatim
8234 #: ../fish/guestfish-actions.pod:695
8235 #, no-wrap
8236 msgid ""
8237 " cat path\n"
8238 "\n"
8239 msgstr ""
8240 " cat шлях\n"
8241 "\n"
8242
8243 #. type: textblock
8244 #: ../fish/guestfish-actions.pod:697 ../fish/guestfish-actions.pod:4176
8245 #: ../src/guestfs-actions.pod:1030 ../src/guestfs-actions.pod:6502
8246 msgid "Return the contents of the file named C<path>."
8247 msgstr ""
8248
8249 #. type: textblock
8250 #: ../fish/guestfish-actions.pod:699
8251 msgid ""
8252 "Note that this function cannot correctly handle binary files (specifically, "
8253 "files containing C<\\0> character which is treated as end of string).  For "
8254 "those you need to use the L</read-file> or L</download> functions which have "
8255 "a more complex interface."
8256 msgstr ""
8257
8258 #. type: textblock
8259 #: ../fish/guestfish-actions.pod:704 ../fish/guestfish-actions.pod:839
8260 #: ../fish/guestfish-actions.pod:851 ../fish/guestfish-actions.pod:1134
8261 #: ../fish/guestfish-actions.pod:1144 ../fish/guestfish-actions.pod:1211
8262 #: ../fish/guestfish-actions.pod:1221 ../fish/guestfish-actions.pod:1413
8263 #: ../fish/guestfish-actions.pod:1726 ../fish/guestfish-actions.pod:1736
8264 #: ../fish/guestfish-actions.pod:1786 ../fish/guestfish-actions.pod:1801
8265 #: ../fish/guestfish-actions.pod:1811 ../fish/guestfish-actions.pod:1830
8266 #: ../fish/guestfish-actions.pod:4046 ../fish/guestfish-actions.pod:4061
8267 #: ../fish/guestfish-actions.pod:4137 ../fish/guestfish-actions.pod:4154
8268 #: ../fish/guestfish-actions.pod:4169 ../fish/guestfish-actions.pod:4838
8269 #: ../fish/guestfish-actions.pod:4884 ../fish/guestfish-actions.pod:4969
8270 #: ../fish/guestfish-actions.pod:4984 ../fish/guestfish-actions.pod:5469
8271 #: ../fish/guestfish-actions.pod:5481 ../fish/guestfish-actions.pod:5499
8272 #: ../fish/guestfish-actions.pod:5516 ../fish/guestfish-actions.pod:5526
8273 #: ../fish/guestfish-actions.pod:5580 ../fish/guestfish-actions.pod:5590
8274 #: ../fish/guestfish-actions.pod:5619 ../fish/guestfish-actions.pod:5629
8275 #: ../src/guestfs-actions.pod:1040 ../src/guestfs-actions.pod:1219
8276 #: ../src/guestfs-actions.pod:1239 ../src/guestfs-actions.pod:1894
8277 #: ../src/guestfs-actions.pod:1913 ../src/guestfs-actions.pod:2016
8278 #: ../src/guestfs-actions.pod:2035 ../src/guestfs-actions.pod:2281
8279 #: ../src/guestfs-actions.pod:2763 ../src/guestfs-actions.pod:2782
8280 #: ../src/guestfs-actions.pod:2847 ../src/guestfs-actions.pod:2871
8281 #: ../src/guestfs-actions.pod:2888 ../src/guestfs-actions.pod:2917
8282 #: ../src/guestfs-actions.pod:6284 ../src/guestfs-actions.pod:6310
8283 #: ../src/guestfs-actions.pod:6441 ../src/guestfs-actions.pod:6467
8284 #: ../src/guestfs-actions.pod:6491 ../src/guestfs-actions.pod:7446
8285 #: ../src/guestfs-actions.pod:7501 ../src/guestfs-actions.pod:7647
8286 #: ../src/guestfs-actions.pod:7671 ../src/guestfs-actions.pod:8458
8287 #: ../src/guestfs-actions.pod:8478 ../src/guestfs-actions.pod:8511
8288 #: ../src/guestfs-actions.pod:8530 ../src/guestfs-actions.pod:8549
8289 #: ../src/guestfs-actions.pod:8640 ../src/guestfs-actions.pod:8659
8290 #: ../src/guestfs-actions.pod:8705 ../src/guestfs-actions.pod:8724
8291 msgid ""
8292 "Because of the message protocol, there is a transfer limit of somewhere "
8293 "between 2MB and 4MB.  See L<guestfs(3)/PROTOCOL LIMITS>."
8294 msgstr ""
8295
8296 #. type: =head2
8297 #: ../fish/guestfish-actions.pod:707
8298 msgid "checksum"
8299 msgstr "checksum"
8300
8301 #. type: verbatim
8302 #: ../fish/guestfish-actions.pod:709
8303 #, no-wrap
8304 msgid ""
8305 " checksum csumtype path\n"
8306 "\n"
8307 msgstr ""
8308
8309 #. type: textblock
8310 #: ../fish/guestfish-actions.pod:711 ../src/guestfs-actions.pod:1052
8311 msgid ""
8312 "This call computes the MD5, SHAx or CRC checksum of the file named C<path>."
8313 msgstr ""
8314
8315 #. type: textblock
8316 #: ../fish/guestfish-actions.pod:714 ../src/guestfs-actions.pod:1055
8317 msgid ""
8318 "The type of checksum to compute is given by the C<csumtype> parameter which "
8319 "must have one of the following values:"
8320 msgstr ""
8321
8322 #. type: =item
8323 #: ../fish/guestfish-actions.pod:719 ../src/guestfs-actions.pod:1060
8324 msgid "C<crc>"
8325 msgstr "C<crc>"
8326
8327 #. type: textblock
8328 #: ../fish/guestfish-actions.pod:721 ../src/guestfs-actions.pod:1062
8329 msgid ""
8330 "Compute the cyclic redundancy check (CRC) specified by POSIX for the "
8331 "C<cksum> command."
8332 msgstr ""
8333
8334 #. type: =item
8335 #: ../fish/guestfish-actions.pod:724 ../src/guestfs-actions.pod:1065
8336 msgid "C<md5>"
8337 msgstr "C<md5>"
8338
8339 #. type: textblock
8340 #: ../fish/guestfish-actions.pod:726 ../src/guestfs-actions.pod:1067
8341 msgid "Compute the MD5 hash (using the C<md5sum> program)."
8342 msgstr ""
8343
8344 #. type: =item
8345 #: ../fish/guestfish-actions.pod:728 ../src/guestfs-actions.pod:1069
8346 msgid "C<sha1>"
8347 msgstr "C<sha1>"
8348
8349 #. type: textblock
8350 #: ../fish/guestfish-actions.pod:730 ../src/guestfs-actions.pod:1071
8351 msgid "Compute the SHA1 hash (using the C<sha1sum> program)."
8352 msgstr ""
8353
8354 #. type: =item
8355 #: ../fish/guestfish-actions.pod:732 ../src/guestfs-actions.pod:1073
8356 msgid "C<sha224>"
8357 msgstr "C<sha224>"
8358
8359 #. type: textblock
8360 #: ../fish/guestfish-actions.pod:734 ../src/guestfs-actions.pod:1075
8361 msgid "Compute the SHA224 hash (using the C<sha224sum> program)."
8362 msgstr ""
8363
8364 #. type: =item
8365 #: ../fish/guestfish-actions.pod:736 ../src/guestfs-actions.pod:1077
8366 msgid "C<sha256>"
8367 msgstr "C<sha256>"
8368
8369 #. type: textblock
8370 #: ../fish/guestfish-actions.pod:738 ../src/guestfs-actions.pod:1079
8371 msgid "Compute the SHA256 hash (using the C<sha256sum> program)."
8372 msgstr ""
8373
8374 #. type: =item
8375 #: ../fish/guestfish-actions.pod:740 ../src/guestfs-actions.pod:1081
8376 msgid "C<sha384>"
8377 msgstr "C<sha384>"
8378
8379 #. type: textblock
8380 #: ../fish/guestfish-actions.pod:742 ../src/guestfs-actions.pod:1083
8381 msgid "Compute the SHA384 hash (using the C<sha384sum> program)."
8382 msgstr ""
8383
8384 #. type: =item
8385 #: ../fish/guestfish-actions.pod:744 ../src/guestfs-actions.pod:1085
8386 msgid "C<sha512>"
8387 msgstr "C<sha512>"
8388
8389 #. type: textblock
8390 #: ../fish/guestfish-actions.pod:746 ../src/guestfs-actions.pod:1087
8391 msgid "Compute the SHA512 hash (using the C<sha512sum> program)."
8392 msgstr ""
8393
8394 #. type: textblock
8395 #: ../fish/guestfish-actions.pod:750 ../src/guestfs-actions.pod:1091
8396 msgid "The checksum is returned as a printable string."
8397 msgstr ""
8398
8399 #. type: textblock
8400 #: ../fish/guestfish-actions.pod:752
8401 msgid "To get the checksum for a device, use L</checksum-device>."
8402 msgstr ""
8403
8404 #. type: textblock
8405 #: ../fish/guestfish-actions.pod:754
8406 msgid "To get the checksums for many files, use L</checksums-out>."
8407 msgstr ""
8408
8409 #. type: =head2
8410 #: ../fish/guestfish-actions.pod:756
8411 msgid "checksum-device"
8412 msgstr "checksum-device"
8413
8414 #. type: verbatim
8415 #: ../fish/guestfish-actions.pod:758
8416 #, no-wrap
8417 msgid ""
8418 " checksum-device csumtype device\n"
8419 "\n"
8420 msgstr ""
8421
8422 #. type: textblock
8423 #: ../fish/guestfish-actions.pod:760
8424 msgid ""
8425 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
8426 "device named C<device>.  For the types of checksums supported see the L</"
8427 "checksum> command."
8428 msgstr ""
8429
8430 #. type: =head2
8431 #: ../fish/guestfish-actions.pod:764
8432 msgid "checksums-out"
8433 msgstr ""
8434
8435 #. type: verbatim
8436 #: ../fish/guestfish-actions.pod:766
8437 #, no-wrap
8438 msgid ""
8439 " checksums-out csumtype directory (sumsfile|-)\n"
8440 "\n"
8441 msgstr ""
8442
8443 #. type: textblock
8444 #: ../fish/guestfish-actions.pod:768 ../src/guestfs-actions.pod:1126
8445 msgid ""
8446 "This command computes the checksums of all regular files in C<directory> and "
8447 "then emits a list of those checksums to the local output file C<sumsfile>."
8448 msgstr ""
8449
8450 #. type: textblock
8451 #: ../fish/guestfish-actions.pod:772 ../src/guestfs-actions.pod:1130
8452 msgid ""
8453 "This can be used for verifying the integrity of a virtual machine.  However "
8454 "to be properly secure you should pay attention to the output of the checksum "
8455 "command (it uses the ones from GNU coreutils).  In particular when the "
8456 "filename is not printable, coreutils uses a special backslash syntax.  For "
8457 "more information, see the GNU coreutils info file."
8458 msgstr ""
8459
8460 #. type: =head2
8461 #: ../fish/guestfish-actions.pod:782
8462 msgid "chmod"
8463 msgstr "chmod"
8464
8465 #. type: verbatim
8466 #: ../fish/guestfish-actions.pod:784
8467 #, no-wrap
8468 msgid ""
8469 " chmod mode path\n"
8470 "\n"
8471 msgstr ""
8472
8473 #. type: textblock
8474 #: ../fish/guestfish-actions.pod:786 ../src/guestfs-actions.pod:1149
8475 msgid ""
8476 "Change the mode (permissions) of C<path> to C<mode>.  Only numeric modes are "
8477 "supported."
8478 msgstr ""
8479
8480 #. type: textblock
8481 #: ../fish/guestfish-actions.pod:789 ../src/guestfs-actions.pod:1152
8482 msgid ""
8483 "I<Note>: When using this command from guestfish, C<mode> by default would be "
8484 "decimal, unless you prefix it with C<0> to get octal, ie. use C<0700> not "
8485 "C<700>."
8486 msgstr ""
8487
8488 #. type: textblock
8489 #: ../fish/guestfish-actions.pod:793 ../fish/guestfish-actions.pod:3398
8490 #: ../fish/guestfish-actions.pod:3537 ../fish/guestfish-actions.pod:3547
8491 #: ../fish/guestfish-actions.pod:3557 ../src/guestfs-actions.pod:1156
8492 #: ../src/guestfs-actions.pod:5249 ../src/guestfs-actions.pod:5458
8493 #: ../src/guestfs-actions.pod:5477 ../src/guestfs-actions.pod:5496
8494 msgid "The mode actually set is affected by the umask."
8495 msgstr ""
8496
8497 #. type: =head2
8498 #: ../fish/guestfish-actions.pod:795
8499 msgid "chown"
8500 msgstr "chown"
8501
8502 #. type: verbatim
8503 #: ../fish/guestfish-actions.pod:797
8504 #, no-wrap
8505 msgid ""
8506 " chown owner group path\n"
8507 "\n"
8508 msgstr ""
8509
8510 #. type: textblock
8511 #: ../fish/guestfish-actions.pod:799 ../src/guestfs-actions.pod:1170
8512 msgid "Change the file owner to C<owner> and group to C<group>."
8513 msgstr ""
8514
8515 #. type: textblock
8516 #: ../fish/guestfish-actions.pod:801 ../fish/guestfish-actions.pod:2738
8517 #: ../src/guestfs-actions.pod:1172 ../src/guestfs-actions.pod:4167
8518 msgid ""
8519 "Only numeric uid and gid are supported.  If you want to use names, you will "
8520 "need to locate and parse the password file yourself (Augeas support makes "
8521 "this relatively easy)."
8522 msgstr ""
8523
8524 #. type: =head2
8525 #: ../fish/guestfish-actions.pod:805
8526 msgid "command"
8527 msgstr "command"
8528
8529 #. type: verbatim
8530 #: ../fish/guestfish-actions.pod:807
8531 #, no-wrap
8532 msgid ""
8533 " command 'arguments ...'\n"
8534 "\n"
8535 msgstr ""
8536 " command 'параметри...'\n"
8537 "\n"
8538
8539 #. type: textblock
8540 #: ../fish/guestfish-actions.pod:809 ../src/guestfs-actions.pod:1186
8541 msgid ""
8542 "This call runs a command from the guest filesystem.  The filesystem must be "
8543 "mounted, and must contain a compatible operating system (ie. something "
8544 "Linux, with the same or compatible processor architecture)."
8545 msgstr ""
8546
8547 #. type: textblock
8548 #: ../fish/guestfish-actions.pod:814
8549 msgid ""
8550 "The single parameter is an argv-style list of arguments.  The first element "
8551 "is the name of the program to run.  Subsequent elements are parameters.  The "
8552 "list must be non-empty (ie. must contain a program name).  Note that the "
8553 "command runs directly, and is I<not> invoked via the shell (see L</sh>)."
8554 msgstr ""
8555
8556 #. type: textblock
8557 #: ../fish/guestfish-actions.pod:821 ../src/guestfs-actions.pod:1198
8558 msgid "The return value is anything printed to I<stdout> by the command."
8559 msgstr ""
8560
8561 #. type: textblock
8562 #: ../fish/guestfish-actions.pod:824 ../src/guestfs-actions.pod:1201
8563 msgid ""
8564 "If the command returns a non-zero exit status, then this function returns an "
8565 "error message.  The error message string is the content of I<stderr> from "
8566 "the command."
8567 msgstr ""
8568
8569 #. type: textblock
8570 #: ../fish/guestfish-actions.pod:828 ../src/guestfs-actions.pod:1205
8571 msgid ""
8572 "The C<$PATH> environment variable will contain at least C</usr/bin> and C</"
8573 "bin>.  If you require a program from another location, you should provide "
8574 "the full path in the first parameter."
8575 msgstr ""
8576
8577 #. type: textblock
8578 #: ../fish/guestfish-actions.pod:833 ../src/guestfs-actions.pod:1210
8579 msgid ""
8580 "Shared libraries and data files required by the program must be available on "
8581 "filesystems which are mounted in the correct places.  It is the caller's "
8582 "responsibility to ensure all filesystems that are needed are mounted at the "
8583 "right locations."
8584 msgstr ""
8585
8586 #. type: =head2
8587 #: ../fish/guestfish-actions.pod:842
8588 msgid "command-lines"
8589 msgstr ""
8590
8591 #. type: verbatim
8592 #: ../fish/guestfish-actions.pod:844
8593 #, no-wrap
8594 msgid ""
8595 " command-lines 'arguments ...'\n"
8596 "\n"
8597 msgstr ""
8598
8599 #. type: textblock
8600 #: ../fish/guestfish-actions.pod:846
8601 msgid ""
8602 "This is the same as L</command>, but splits the result into a list of lines."
8603 msgstr ""
8604
8605 #. type: textblock
8606 #: ../fish/guestfish-actions.pod:849
8607 msgid "See also: L</sh-lines>"
8608 msgstr "Див. також L</sh-lines>"
8609
8610 #. type: =head2
8611 #: ../fish/guestfish-actions.pod:854
8612 msgid "compress-device-out"
8613 msgstr ""
8614
8615 #. type: verbatim
8616 #: ../fish/guestfish-actions.pod:856
8617 #, no-wrap
8618 msgid ""
8619 " compress-device-out ctype device (zdevice|-) [level:N]\n"
8620 "\n"
8621 msgstr ""
8622
8623 #. type: textblock
8624 #: ../fish/guestfish-actions.pod:858 ../src/guestfs-actions.pod:1260
8625 msgid ""
8626 "This command compresses C<device> and writes it out to the local file "
8627 "C<zdevice>."
8628 msgstr ""
8629
8630 #. type: textblock
8631 #: ../fish/guestfish-actions.pod:861
8632 msgid ""
8633 "The C<ctype> and optional C<level> parameters have the same meaning as in L</"
8634 "compress-out>."
8635 msgstr ""
8636
8637 #. type: =head2
8638 #: ../fish/guestfish-actions.pod:868
8639 msgid "compress-out"
8640 msgstr ""
8641
8642 #. type: verbatim
8643 #: ../fish/guestfish-actions.pod:870
8644 #, no-wrap
8645 msgid ""
8646 " compress-out ctype file (zfile|-) [level:N]\n"
8647 "\n"
8648 msgstr ""
8649
8650 #. type: textblock
8651 #: ../fish/guestfish-actions.pod:872 ../src/guestfs-actions.pod:1312
8652 msgid ""
8653 "This command compresses C<file> and writes it out to the local file C<zfile>."
8654 msgstr ""
8655
8656 #. type: textblock
8657 #: ../fish/guestfish-actions.pod:875 ../src/guestfs-actions.pod:1315
8658 msgid ""
8659 "The compression program used is controlled by the C<ctype> parameter.  "
8660 "Currently this includes: C<compress>, C<gzip>, C<bzip2>, C<xz> or C<lzop>.  "
8661 "Some compression types may not be supported by particular builds of "
8662 "libguestfs, in which case you will get an error containing the substring "
8663 "\"not supported\"."
8664 msgstr ""
8665
8666 #. type: textblock
8667 #: ../fish/guestfish-actions.pod:881 ../src/guestfs-actions.pod:1321
8668 msgid ""
8669 "The optional C<level> parameter controls compression level.  The meaning and "
8670 "default for this parameter depends on the compression program being used."
8671 msgstr ""
8672
8673 #. type: =head2
8674 #: ../fish/guestfish-actions.pod:889
8675 msgid "config"
8676 msgstr ""
8677
8678 #. type: verbatim
8679 #: ../fish/guestfish-actions.pod:891
8680 #, no-wrap
8681 msgid ""
8682 " config qemuparam qemuvalue\n"
8683 "\n"
8684 msgstr ""
8685
8686 #. type: textblock
8687 #: ../fish/guestfish-actions.pod:893 ../src/guestfs-actions.pod:1362
8688 msgid ""
8689 "This can be used to add arbitrary qemu command line parameters of the form "
8690 "I<-param value>.  Actually it's not quite arbitrary - we prevent you from "
8691 "setting some parameters which would interfere with parameters that we use."
8692 msgstr ""
8693
8694 #. type: textblock
8695 #: ../fish/guestfish-actions.pod:898 ../src/guestfs-actions.pod:1367
8696 msgid "The first character of C<param> string must be a C<-> (dash)."
8697 msgstr ""
8698
8699 #. type: textblock
8700 #: ../fish/guestfish-actions.pod:900 ../src/guestfs-actions.pod:1369
8701 msgid "C<value> can be NULL."
8702 msgstr ""
8703
8704 #. type: =head2
8705 #: ../fish/guestfish-actions.pod:902
8706 msgid "copy-device-to-device"
8707 msgstr ""
8708
8709 #. type: verbatim
8710 #: ../fish/guestfish-actions.pod:904
8711 #, no-wrap
8712 msgid ""
8713 " copy-device-to-device src dest [srcoffset:N] [destoffset:N] [size:N]\n"
8714 "\n"
8715 msgstr ""
8716
8717 #. type: textblock
8718 #: ../fish/guestfish-actions.pod:906
8719 msgid ""
8720 "The four calls L</copy-device-to-device>, L</copy-device-to-file>, L</copy-"
8721 "file-to-device>, and L</copy-file-to-file> let you copy from a source "
8722 "(device|file) to a destination (device|file)."
8723 msgstr ""
8724
8725 #. type: textblock
8726 #: ../fish/guestfish-actions.pod:913 ../src/guestfs-actions.pod:1399
8727 msgid ""
8728 "Partial copies can be made since you can specify optionally the source "
8729 "offset, destination offset and size to copy.  These values are all specified "
8730 "in bytes.  If not given, the offsets both default to zero, and the size "
8731 "defaults to copying as much as possible until we hit the end of the source."
8732 msgstr ""
8733
8734 #. type: textblock
8735 #: ../fish/guestfish-actions.pod:919 ../src/guestfs-actions.pod:1405
8736 msgid ""
8737 "The source and destination may be the same object.  However overlapping "
8738 "regions may not be copied correctly."
8739 msgstr ""
8740
8741 #. type: textblock
8742 #: ../fish/guestfish-actions.pod:922 ../src/guestfs-actions.pod:1408
8743 msgid ""
8744 "If the destination is a file, it is created if required.  If the destination "
8745 "file is not large enough, it is extended."
8746 msgstr ""
8747
8748 #. type: =head2
8749 #: ../fish/guestfish-actions.pod:927
8750 msgid "copy-device-to-file"
8751 msgstr ""
8752
8753 #. type: verbatim
8754 #: ../fish/guestfish-actions.pod:929
8755 #, no-wrap
8756 msgid ""
8757 " copy-device-to-file src dest [srcoffset:N] [destoffset:N] [size:N]\n"
8758 "\n"
8759 msgstr ""
8760
8761 #. type: textblock
8762 #: ../fish/guestfish-actions.pod:931 ../fish/guestfish-actions.pod:940
8763 #: ../fish/guestfish-actions.pod:949
8764 msgid "See L</copy-device-to-device> for a general overview of this call."
8765 msgstr ""
8766
8767 #. type: =head2
8768 #: ../fish/guestfish-actions.pod:936
8769 msgid "copy-file-to-device"
8770 msgstr ""
8771
8772 #. type: verbatim
8773 #: ../fish/guestfish-actions.pod:938
8774 #, no-wrap
8775 msgid ""
8776 " copy-file-to-device src dest [srcoffset:N] [destoffset:N] [size:N]\n"
8777 "\n"
8778 msgstr ""
8779
8780 #. type: =head2
8781 #: ../fish/guestfish-actions.pod:945
8782 msgid "copy-file-to-file"
8783 msgstr ""
8784
8785 #. type: verbatim
8786 #: ../fish/guestfish-actions.pod:947
8787 #, no-wrap
8788 msgid ""
8789 " copy-file-to-file src dest [srcoffset:N] [destoffset:N] [size:N]\n"
8790 "\n"
8791 msgstr ""
8792
8793 #. type: textblock
8794 #: ../fish/guestfish-actions.pod:952
8795 msgid ""
8796 "This is B<not> the function you want for copying files.  This is for copying "
8797 "blocks within existing files.  See L</cp>, L</cp-a> and L</mv> for general "
8798 "file copying and moving functions."
8799 msgstr ""
8800
8801 #. type: =head2
8802 #: ../fish/guestfish-actions.pod:959
8803 msgid "copy-size"
8804 msgstr ""
8805
8806 #. type: verbatim
8807 #: ../fish/guestfish-actions.pod:961
8808 #, no-wrap
8809 msgid ""
8810 " copy-size src dest size\n"
8811 "\n"
8812 msgstr ""
8813
8814 #. type: textblock
8815 #: ../fish/guestfish-actions.pod:963 ../src/guestfs-actions.pod:1623
8816 msgid ""
8817 "This command copies exactly C<size> bytes from one source device or file "
8818 "C<src> to another destination device or file C<dest>."
8819 msgstr ""
8820
8821 #. type: textblock
8822 #: ../fish/guestfish-actions.pod:966 ../src/guestfs-actions.pod:1626
8823 msgid ""
8824 "Note this will fail if the source is too short or if the destination is not "
8825 "large enough."
8826 msgstr ""
8827
8828 #. type: textblock
8829 #: ../fish/guestfish-actions.pod:969 ../fish/guestfish-actions.pod:1004
8830 msgid ""
8831 "I<This function is deprecated.> In new code, use the L</"
8832 "copy_device_to_device> call instead."
8833 msgstr ""
8834
8835 #. type: =head2
8836 #: ../fish/guestfish-actions.pod:976
8837 msgid "cp"
8838 msgstr "cp"
8839
8840 #. type: verbatim
8841 #: ../fish/guestfish-actions.pod:978
8842 #, no-wrap
8843 msgid ""
8844 " cp src dest\n"
8845 "\n"
8846 msgstr ""
8847
8848 #. type: textblock
8849 #: ../fish/guestfish-actions.pod:980 ../src/guestfs-actions.pod:1645
8850 msgid ""
8851 "This copies a file from C<src> to C<dest> where C<dest> is either a "
8852 "destination filename or destination directory."
8853 msgstr ""
8854
8855 #. type: =head2
8856 #: ../fish/guestfish-actions.pod:983
8857 msgid "cp-a"
8858 msgstr "cp-a"
8859
8860 #. type: verbatim
8861 #: ../fish/guestfish-actions.pod:985
8862 #, no-wrap
8863 msgid ""
8864 " cp-a src dest\n"
8865 "\n"
8866 msgstr ""
8867
8868 #. type: textblock
8869 #: ../fish/guestfish-actions.pod:987 ../src/guestfs-actions.pod:1659
8870 msgid ""
8871 "This copies a file or directory from C<src> to C<dest> recursively using the "
8872 "C<cp -a> command."
8873 msgstr ""
8874
8875 #. type: =head2
8876 #: ../fish/guestfish-actions.pod:990
8877 msgid "dd"
8878 msgstr "dd"
8879
8880 #. type: verbatim
8881 #: ../fish/guestfish-actions.pod:992
8882 #, no-wrap
8883 msgid ""
8884 " dd src dest\n"
8885 "\n"
8886 msgstr ""
8887
8888 #. type: textblock
8889 #: ../fish/guestfish-actions.pod:994 ../src/guestfs-actions.pod:1680
8890 msgid ""
8891 "This command copies from one source device or file C<src> to another "
8892 "destination device or file C<dest>.  Normally you would use this to copy to "
8893 "or from a device or partition, for example to duplicate a filesystem."
8894 msgstr ""
8895
8896 #. type: textblock
8897 #: ../fish/guestfish-actions.pod:999
8898 msgid ""
8899 "If the destination is a device, it must be as large or larger than the "
8900 "source file or device, otherwise the copy will fail.  This command cannot do "
8901 "partial copies (see L</copy-device-to-device>)."
8902 msgstr ""
8903
8904 #. type: =head2
8905 #: ../fish/guestfish-actions.pod:1011
8906 msgid "df"
8907 msgstr "df"
8908
8909 #. type: verbatim
8910 #: ../fish/guestfish-actions.pod:1013
8911 #, no-wrap
8912 msgid ""
8913 " df\n"
8914 "\n"
8915 msgstr ""
8916 " df\n"
8917 "\n"
8918
8919 #. type: textblock
8920 #: ../fish/guestfish-actions.pod:1015 ../src/guestfs-actions.pod:1699
8921 msgid "This command runs the C<df> command to report disk space used."
8922 msgstr ""
8923
8924 #. type: textblock
8925 #: ../fish/guestfish-actions.pod:1017 ../fish/guestfish-actions.pod:1028
8926 msgid ""
8927 "This command is mostly useful for interactive sessions.  It is I<not> "
8928 "intended that you try to parse the output string.  Use L</statvfs> from "
8929 "programs."
8930 msgstr ""
8931
8932 #. type: =head2
8933 #: ../fish/guestfish-actions.pod:1021
8934 msgid "df-h"
8935 msgstr "df-h"
8936
8937 #. type: verbatim
8938 #: ../fish/guestfish-actions.pod:1023
8939 #, no-wrap
8940 msgid ""
8941 " df-h\n"
8942 "\n"
8943 msgstr ""
8944 " df-h\n"
8945 "\n"
8946
8947 #. type: textblock
8948 #: ../fish/guestfish-actions.pod:1025 ../src/guestfs-actions.pod:1715
8949 msgid ""
8950 "This command runs the C<df -h> command to report disk space used in human-"
8951 "readable format."
8952 msgstr ""
8953
8954 #. type: =head2
8955 #: ../fish/guestfish-actions.pod:1032
8956 msgid "dmesg"
8957 msgstr "dmesg"
8958
8959 #. type: verbatim
8960 #: ../fish/guestfish-actions.pod:1034
8961 #, no-wrap
8962 msgid ""
8963 " dmesg\n"
8964 "\n"
8965 msgstr ""
8966 " dmesg\n"
8967 "\n"
8968
8969 #. type: textblock
8970 #: ../fish/guestfish-actions.pod:1036 ../src/guestfs-actions.pod:1732
8971 msgid ""
8972 "This returns the kernel messages (C<dmesg> output) from the guest kernel.  "
8973 "This is sometimes useful for extended debugging of problems."
8974 msgstr ""
8975
8976 #. type: textblock
8977 #: ../fish/guestfish-actions.pod:1040
8978 msgid ""
8979 "Another way to get the same information is to enable verbose messages with "
8980 "L</set-verbose> or by setting the environment variable C<LIBGUESTFS_DEBUG=1> "
8981 "before running the program."
8982 msgstr ""
8983
8984 #. type: =head2
8985 #: ../fish/guestfish-actions.pod:1045
8986 msgid "download"
8987 msgstr "download"
8988
8989 #. type: verbatim
8990 #: ../fish/guestfish-actions.pod:1047
8991 #, no-wrap
8992 msgid ""
8993 " download remotefilename (filename|-)\n"
8994 "\n"
8995 msgstr ""
8996
8997 #. type: textblock
8998 #: ../fish/guestfish-actions.pod:1049 ../fish/guestfish-actions.pod:1062
8999 #: ../src/guestfs-actions.pod:1753 ../src/guestfs-actions.pod:1778
9000 msgid ""
9001 "Download file C<remotefilename> and save it as C<filename> on the local "
9002 "machine."
9003 msgstr ""
9004
9005 #. type: textblock
9006 #: ../fish/guestfish-actions.pod:1052 ../fish/guestfish-actions.pod:5221
9007 #: ../src/guestfs-actions.pod:1756 ../src/guestfs-actions.pod:8028
9008 msgid "C<filename> can also be a named pipe."
9009 msgstr ""
9010
9011 #. type: textblock
9012 #: ../fish/guestfish-actions.pod:1054
9013 msgid "See also L</upload>, L</cat>."
9014 msgstr ""
9015
9016 #. type: =head2
9017 #: ../fish/guestfish-actions.pod:1058
9018 msgid "download-offset"
9019 msgstr "download-offset"
9020
9021 #. type: verbatim
9022 #: ../fish/guestfish-actions.pod:1060
9023 #, no-wrap
9024 msgid ""
9025 " download-offset remotefilename (filename|-) offset size\n"
9026 "\n"
9027 msgstr ""
9028
9029 #. type: textblock
9030 #: ../fish/guestfish-actions.pod:1065 ../src/guestfs-actions.pod:1781
9031 msgid ""
9032 "C<remotefilename> is read for C<size> bytes starting at C<offset> (this "
9033 "region must be within the file or device)."
9034 msgstr ""
9035
9036 #. type: textblock
9037 #: ../fish/guestfish-actions.pod:1068
9038 msgid ""
9039 "Note that there is no limit on the amount of data that can be downloaded "
9040 "with this call, unlike with L</pread>, and this call always reads the full "
9041 "amount unless an error occurs."
9042 msgstr ""
9043
9044 #. type: textblock
9045 #: ../fish/guestfish-actions.pod:1073
9046 msgid "See also L</download>, L</pread>."
9047 msgstr ""
9048
9049 #. type: =head2
9050 #: ../fish/guestfish-actions.pod:1077
9051 msgid "drop-caches"
9052 msgstr ""
9053
9054 #. type: verbatim
9055 #: ../fish/guestfish-actions.pod:1079
9056 #, no-wrap
9057 msgid ""
9058 " drop-caches whattodrop\n"
9059 "\n"
9060 msgstr ""
9061
9062 #. type: textblock
9063 #: ../fish/guestfish-actions.pod:1081 ../src/guestfs-actions.pod:1806
9064 msgid ""
9065 "This instructs the guest kernel to drop its page cache, and/or dentries and "
9066 "inode caches.  The parameter C<whattodrop> tells the kernel what precisely "
9067 "to drop, see L<http://linux-mm.org/Drop_Caches>"
9068 msgstr ""
9069
9070 #. type: textblock
9071 #: ../fish/guestfish-actions.pod:1086 ../src/guestfs-actions.pod:1811
9072 msgid "Setting C<whattodrop> to 3 should drop everything."
9073 msgstr ""
9074
9075 #. type: textblock
9076 #: ../fish/guestfish-actions.pod:1088 ../src/guestfs-actions.pod:1813
9077 msgid ""
9078 "This automatically calls L<sync(2)> before the operation, so that the "
9079 "maximum guest memory is freed."
9080 msgstr ""
9081
9082 #. type: =head2
9083 #: ../fish/guestfish-actions.pod:1091
9084 msgid "du"
9085 msgstr "du"
9086
9087 #. type: verbatim
9088 #: ../fish/guestfish-actions.pod:1093
9089 #, no-wrap
9090 msgid ""
9091 " du path\n"
9092 "\n"
9093 msgstr ""
9094 " du шлях\n"
9095 "\n"
9096
9097 #. type: textblock
9098 #: ../fish/guestfish-actions.pod:1095 ../src/guestfs-actions.pod:1826
9099 msgid ""
9100 "This command runs the C<du -s> command to estimate file space usage for "
9101 "C<path>."
9102 msgstr ""
9103
9104 #. type: textblock
9105 #: ../fish/guestfish-actions.pod:1098 ../src/guestfs-actions.pod:1829
9106 msgid ""
9107 "C<path> can be a file or a directory.  If C<path> is a directory then the "
9108 "estimate includes the contents of the directory and all subdirectories "
9109 "(recursively)."
9110 msgstr ""
9111
9112 #. type: textblock
9113 #: ../fish/guestfish-actions.pod:1102 ../src/guestfs-actions.pod:1833
9114 msgid ""
9115 "The result is the estimated size in I<kilobytes> (ie. units of 1024 bytes)."
9116 msgstr ""
9117
9118 #. type: =head2
9119 #: ../fish/guestfish-actions.pod:1105
9120 msgid "e2fsck-f"
9121 msgstr "e2fsck-f"
9122
9123 #. type: verbatim
9124 #: ../fish/guestfish-actions.pod:1107
9125 #, no-wrap
9126 msgid ""
9127 " e2fsck-f device\n"
9128 "\n"
9129 msgstr ""
9130
9131 #. type: textblock
9132 #: ../fish/guestfish-actions.pod:1109 ../src/guestfs-actions.pod:1851
9133 msgid ""
9134 "This runs C<e2fsck -p -f device>, ie. runs the ext2/ext3 filesystem checker "
9135 "on C<device>, noninteractively (I<-p>), even if the filesystem appears to be "
9136 "clean (I<-f>)."
9137 msgstr ""
9138
9139 #. type: textblock
9140 #: ../fish/guestfish-actions.pod:1113
9141 msgid ""
9142 "This command is only needed because of L</resize2fs> (q.v.).  Normally you "
9143 "should use L</fsck>."
9144 msgstr ""
9145
9146 #. type: =head2
9147 #: ../fish/guestfish-actions.pod:1116
9148 msgid "echo-daemon"
9149 msgstr ""
9150
9151 #. type: verbatim
9152 #: ../fish/guestfish-actions.pod:1118
9153 #, no-wrap
9154 msgid ""
9155 " echo-daemon 'words ...'\n"
9156 "\n"
9157 msgstr ""
9158
9159 #. type: textblock
9160 #: ../fish/guestfish-actions.pod:1120 ../src/guestfs-actions.pod:1868
9161 msgid ""
9162 "This command concatenates the list of C<words> passed with single spaces "
9163 "between them and returns the resulting string."
9164 msgstr ""
9165
9166 #. type: textblock
9167 #: ../fish/guestfish-actions.pod:1123 ../src/guestfs-actions.pod:1871
9168 msgid "You can use this command to test the connection through to the daemon."
9169 msgstr ""
9170
9171 #. type: textblock
9172 #: ../fish/guestfish-actions.pod:1125
9173 msgid "See also L</ping-daemon>."
9174 msgstr "Див. також L</ping-daemon>."
9175
9176 #. type: =head2
9177 #: ../fish/guestfish-actions.pod:1127
9178 msgid "egrep"
9179 msgstr "egrep"
9180
9181 #. type: verbatim
9182 #: ../fish/guestfish-actions.pod:1129
9183 #, no-wrap
9184 msgid ""
9185 " egrep regex path\n"
9186 "\n"
9187 msgstr ""
9188
9189 #. type: textblock
9190 #: ../fish/guestfish-actions.pod:1131 ../src/guestfs-actions.pod:1887
9191 msgid ""
9192 "This calls the external C<egrep> program and returns the matching lines."
9193 msgstr ""
9194
9195 #. type: =head2
9196 #: ../fish/guestfish-actions.pod:1137
9197 msgid "egrepi"
9198 msgstr "egrepi"
9199
9200 #. type: verbatim
9201 #: ../fish/guestfish-actions.pod:1139
9202 #, no-wrap
9203 msgid ""
9204 " egrepi regex path\n"
9205 "\n"
9206 msgstr ""
9207
9208 #. type: textblock
9209 #: ../fish/guestfish-actions.pod:1141 ../src/guestfs-actions.pod:1906
9210 msgid ""
9211 "This calls the external C<egrep -i> program and returns the matching lines."
9212 msgstr ""
9213
9214 #. type: =head2
9215 #: ../fish/guestfish-actions.pod:1147
9216 msgid "equal"
9217 msgstr "equal"
9218
9219 #. type: verbatim
9220 #: ../fish/guestfish-actions.pod:1149
9221 #, no-wrap
9222 msgid ""
9223 " equal file1 file2\n"
9224 "\n"
9225 msgstr ""
9226 " equal файл1 файл2\n"
9227 "\n"
9228
9229 #. type: textblock
9230 #: ../fish/guestfish-actions.pod:1151 ../src/guestfs-actions.pod:1925
9231 msgid ""
9232 "This compares the two files C<file1> and C<file2> and returns true if their "
9233 "content is exactly equal, or false otherwise."
9234 msgstr ""
9235
9236 #. type: textblock
9237 #: ../fish/guestfish-actions.pod:1154 ../src/guestfs-actions.pod:1928
9238 msgid "The external L<cmp(1)> program is used for the comparison."
9239 msgstr ""
9240
9241 #. type: =head2
9242 #: ../fish/guestfish-actions.pod:1156
9243 msgid "exists"
9244 msgstr "exists"
9245
9246 #. type: verbatim
9247 #: ../fish/guestfish-actions.pod:1158
9248 #, no-wrap
9249 msgid ""
9250 " exists path\n"
9251 "\n"
9252 msgstr ""
9253 " exists шлях\n"
9254 "\n"
9255
9256 #. type: textblock
9257 #: ../fish/guestfish-actions.pod:1160 ../src/guestfs-actions.pod:1940
9258 msgid ""
9259 "This returns C<true> if and only if there is a file, directory (or anything) "
9260 "with the given C<path> name."
9261 msgstr ""
9262
9263 #. type: textblock
9264 #: ../fish/guestfish-actions.pod:1163
9265 msgid "See also L</is-file>, L</is-dir>, L</stat>."
9266 msgstr "Див. також L</is-file>, L</is-dir>, L</stat>."
9267
9268 #. type: =head2
9269 #: ../fish/guestfish-actions.pod:1165
9270 msgid "fallocate"
9271 msgstr "fallocate"
9272
9273 #. type: verbatim
9274 #: ../fish/guestfish-actions.pod:1167
9275 #, no-wrap
9276 msgid ""
9277 " fallocate path len\n"
9278 "\n"
9279 msgstr ""
9280 " fallocate шлях довжина\n"
9281 "\n"
9282
9283 #. type: textblock
9284 #: ../fish/guestfish-actions.pod:1169 ../fish/guestfish-actions.pod:1188
9285 #: ../src/guestfs-actions.pod:1963 ../src/guestfs-actions.pod:1982
9286 msgid ""
9287 "This command preallocates a file (containing zero bytes) named C<path> of "
9288 "size C<len> bytes.  If the file exists already, it is overwritten."
9289 msgstr ""
9290
9291 #. type: textblock
9292 #: ../fish/guestfish-actions.pod:1173 ../src/guestfs-actions.pod:1967
9293 msgid ""
9294 "Do not confuse this with the guestfish-specific C<alloc> command which "
9295 "allocates a file in the host and attaches it as a device."
9296 msgstr ""
9297
9298 #. type: textblock
9299 #: ../fish/guestfish-actions.pod:1177
9300 msgid ""
9301 "I<This function is deprecated.> In new code, use the L</fallocate64> call "
9302 "instead."
9303 msgstr ""
9304
9305 #. type: =head2
9306 #: ../fish/guestfish-actions.pod:1184
9307 msgid "fallocate64"
9308 msgstr "fallocate64"
9309
9310 #. type: verbatim
9311 #: ../fish/guestfish-actions.pod:1186
9312 #, no-wrap
9313 msgid ""
9314 " fallocate64 path len\n"
9315 "\n"
9316 msgstr ""
9317 " fallocate64 шлях довжина\n"
9318 "\n"
9319
9320 #. type: textblock
9321 #: ../fish/guestfish-actions.pod:1192
9322 msgid ""
9323 "Note that this call allocates disk blocks for the file.  To create a sparse "
9324 "file use L</truncate-size> instead."
9325 msgstr ""
9326
9327 #. type: textblock
9328 #: ../fish/guestfish-actions.pod:1195
9329 msgid ""
9330 "The deprecated call L</fallocate> does the same, but owing to an oversight "
9331 "it only allowed 30 bit lengths to be specified, effectively limiting the "
9332 "maximum size of files created through that call to 1GB."
9333 msgstr ""
9334
9335 #. type: textblock
9336 #: ../fish/guestfish-actions.pod:1200 ../src/guestfs-actions.pod:1994
9337 msgid ""
9338 "Do not confuse this with the guestfish-specific C<alloc> and C<sparse> "
9339 "commands which create a file in the host and attach it as a device."
9340 msgstr ""
9341
9342 #. type: =head2
9343 #: ../fish/guestfish-actions.pod:1204
9344 msgid "fgrep"
9345 msgstr "fgrep"
9346
9347 #. type: verbatim
9348 #: ../fish/guestfish-actions.pod:1206
9349 #, no-wrap
9350 msgid ""
9351 " fgrep pattern path\n"
9352 "\n"
9353 msgstr ""
9354 " fgrep шаблон шлях\n"
9355 "\n"
9356
9357 #. type: textblock
9358 #: ../fish/guestfish-actions.pod:1208 ../src/guestfs-actions.pod:2009
9359 msgid ""
9360 "This calls the external C<fgrep> program and returns the matching lines."
9361 msgstr ""
9362
9363 #. type: =head2
9364 #: ../fish/guestfish-actions.pod:1214
9365 msgid "fgrepi"
9366 msgstr "fgrepi"
9367
9368 #. type: verbatim
9369 #: ../fish/guestfish-actions.pod:1216
9370 #, no-wrap
9371 msgid ""
9372 " fgrepi pattern path\n"
9373 "\n"
9374 msgstr ""
9375 " fgrepi шаблон шлях\n"
9376 "\n"
9377
9378 #. type: textblock
9379 #: ../fish/guestfish-actions.pod:1218 ../src/guestfs-actions.pod:2028
9380 msgid ""
9381 "This calls the external C<fgrep -i> program and returns the matching lines."
9382 msgstr ""
9383
9384 #. type: =head2
9385 #: ../fish/guestfish-actions.pod:1224
9386 msgid "file"
9387 msgstr "file"
9388
9389 #. type: verbatim
9390 #: ../fish/guestfish-actions.pod:1226
9391 #, no-wrap
9392 msgid ""
9393 " file path\n"
9394 "\n"
9395 msgstr ""
9396 " file шлях\n"
9397 "\n"
9398
9399 #. type: textblock
9400 #: ../fish/guestfish-actions.pod:1228 ../src/guestfs-actions.pod:2046
9401 msgid ""
9402 "This call uses the standard L<file(1)> command to determine the type or "
9403 "contents of the file."
9404 msgstr ""
9405
9406 #. type: textblock
9407 #: ../fish/guestfish-actions.pod:1231 ../src/guestfs-actions.pod:2049
9408 msgid ""
9409 "This call will also transparently look inside various types of compressed "
9410 "file."
9411 msgstr ""
9412
9413 #. type: textblock
9414 #: ../fish/guestfish-actions.pod:1234 ../src/guestfs-actions.pod:2052
9415 msgid ""
9416 "The exact command which runs is C<file -zb path>.  Note in particular that "
9417 "the filename is not prepended to the output (the I<-b> option)."
9418 msgstr ""
9419
9420 #. type: textblock
9421 #: ../fish/guestfish-actions.pod:1238 ../src/guestfs-actions.pod:2056
9422 msgid ""
9423 "The output depends on the output of the underlying L<file(1)> command and it "
9424 "can change in future in ways beyond our control.  In other words, the output "
9425 "is not guaranteed by the ABI."
9426 msgstr ""
9427
9428 #. type: textblock
9429 #: ../fish/guestfish-actions.pod:1242
9430 msgid ""
9431 "See also: L<file(1)>, L</vfs-type>, L</lstat>, L</is-file>, L</is-blockdev> "
9432 "(etc), L</is-zero>."
9433 msgstr ""
9434
9435 #. type: =head2
9436 #: ../fish/guestfish-actions.pod:1245
9437 msgid "file-architecture"
9438 msgstr "file-architecture"
9439
9440 #. type: verbatim
9441 #: ../fish/guestfish-actions.pod:1247
9442 #, no-wrap
9443 msgid ""
9444 " file-architecture filename\n"
9445 "\n"
9446 msgstr ""
9447 " file-architecture назва_файла\n"
9448 "\n"
9449
9450 #. type: textblock
9451 #: ../fish/guestfish-actions.pod:1249 ../src/guestfs-actions.pod:2074
9452 msgid ""
9453 "This detects the architecture of the binary C<filename>, and returns it if "
9454 "known."
9455 msgstr ""
9456
9457 #. type: textblock
9458 #: ../fish/guestfish-actions.pod:1252 ../src/guestfs-actions.pod:2077
9459 msgid "Currently defined architectures are:"
9460 msgstr ""
9461
9462 #. type: =item
9463 #: ../fish/guestfish-actions.pod:1256 ../src/guestfs-actions.pod:2081
9464 msgid "\"i386\""
9465 msgstr "\"i386\""
9466
9467 #. type: textblock
9468 #: ../fish/guestfish-actions.pod:1258 ../src/guestfs-actions.pod:2083
9469 msgid ""
9470 "This string is returned for all 32 bit i386, i486, i586, i686 binaries "
9471 "irrespective of the precise processor requirements of the binary."
9472 msgstr ""
9473
9474 #. type: =item
9475 #: ../fish/guestfish-actions.pod:1261 ../src/guestfs-actions.pod:2086
9476 msgid "\"x86_64\""
9477 msgstr "\"x86_64\""
9478
9479 #. type: textblock
9480 #: ../fish/guestfish-actions.pod:1263 ../src/guestfs-actions.pod:2088
9481 msgid "64 bit x86-64."
9482 msgstr ""
9483
9484 #. type: =item
9485 #: ../fish/guestfish-actions.pod:1265 ../src/guestfs-actions.pod:2090
9486 msgid "\"sparc\""
9487 msgstr ""
9488
9489 #. type: textblock
9490 #: ../fish/guestfish-actions.pod:1267 ../src/guestfs-actions.pod:2092
9491 msgid "32 bit SPARC."
9492 msgstr ""
9493
9494 #. type: =item
9495 #: ../fish/guestfish-actions.pod:1269 ../src/guestfs-actions.pod:2094
9496 msgid "\"sparc64\""
9497 msgstr ""
9498
9499 #. type: textblock
9500 #: ../fish/guestfish-actions.pod:1271 ../src/guestfs-actions.pod:2096
9501 msgid "64 bit SPARC V9 and above."
9502 msgstr ""
9503
9504 #. type: =item
9505 #: ../fish/guestfish-actions.pod:1273 ../src/guestfs-actions.pod:2098
9506 msgid "\"ia64\""
9507 msgstr "\"ia64\""
9508
9509 #. type: textblock
9510 #: ../fish/guestfish-actions.pod:1275 ../src/guestfs-actions.pod:2100
9511 msgid "Intel Itanium."
9512 msgstr "Intel Itanium."
9513
9514 #. type: =item
9515 #: ../fish/guestfish-actions.pod:1277 ../src/guestfs-actions.pod:2102
9516 msgid "\"ppc\""
9517 msgstr ""
9518
9519 #. type: textblock
9520 #: ../fish/guestfish-actions.pod:1279 ../src/guestfs-actions.pod:2104
9521 msgid "32 bit Power PC."
9522 msgstr ""
9523
9524 #. type: =item
9525 #: ../fish/guestfish-actions.pod:1281 ../src/guestfs-actions.pod:2106
9526 msgid "\"ppc64\""
9527 msgstr ""
9528
9529 #. type: textblock
9530 #: ../fish/guestfish-actions.pod:1283 ../src/guestfs-actions.pod:2108
9531 msgid "64 bit Power PC."
9532 msgstr ""
9533
9534 #. type: textblock
9535 #: ../fish/guestfish-actions.pod:1287 ../src/guestfs-actions.pod:2112
9536 msgid "Libguestfs may return other architecture strings in future."
9537 msgstr ""
9538
9539 #. type: textblock
9540 #: ../fish/guestfish-actions.pod:1289 ../src/guestfs-actions.pod:2114
9541 msgid "The function works on at least the following types of files:"
9542 msgstr ""
9543
9544 #. type: textblock
9545 #: ../fish/guestfish-actions.pod:1295 ../src/guestfs-actions.pod:2120
9546 msgid "many types of Un*x and Linux binary"
9547 msgstr ""
9548
9549 #. type: textblock
9550 #: ../fish/guestfish-actions.pod:1299 ../src/guestfs-actions.pod:2124
9551 msgid "many types of Un*x and Linux shared library"
9552 msgstr ""
9553
9554 #. type: textblock
9555 #: ../fish/guestfish-actions.pod:1303 ../src/guestfs-actions.pod:2128
9556 msgid "Windows Win32 and Win64 binaries"
9557 msgstr ""
9558
9559 #. type: textblock
9560 #: ../fish/guestfish-actions.pod:1307 ../src/guestfs-actions.pod:2132
9561 msgid "Windows Win32 and Win64 DLLs"
9562 msgstr ""
9563
9564 #. type: textblock
9565 #: ../fish/guestfish-actions.pod:1309 ../src/guestfs-actions.pod:2134
9566 msgid "Win32 binaries and DLLs return C<i386>."
9567 msgstr ""
9568
9569 #. type: textblock
9570 #: ../fish/guestfish-actions.pod:1311 ../src/guestfs-actions.pod:2136
9571 msgid "Win64 binaries and DLLs return C<x86_64>."
9572 msgstr ""
9573
9574 #. type: textblock
9575 #: ../fish/guestfish-actions.pod:1315 ../src/guestfs-actions.pod:2140
9576 msgid "Linux kernel modules"
9577 msgstr ""
9578
9579 #. type: textblock
9580 #: ../fish/guestfish-actions.pod:1319 ../src/guestfs-actions.pod:2144
9581 msgid "Linux new-style initrd images"
9582 msgstr ""
9583
9584 #. type: textblock
9585 #: ../fish/guestfish-actions.pod:1323 ../src/guestfs-actions.pod:2148
9586 msgid "some non-x86 Linux vmlinuz kernels"
9587 msgstr ""
9588
9589 #. type: textblock
9590 #: ../fish/guestfish-actions.pod:1327 ../src/guestfs-actions.pod:2152
9591 msgid "What it can't do currently:"
9592 msgstr ""
9593
9594 #. type: textblock
9595 #: ../fish/guestfish-actions.pod:1333 ../src/guestfs-actions.pod:2158
9596 msgid "static libraries (libfoo.a)"
9597 msgstr ""
9598
9599 #. type: textblock
9600 #: ../fish/guestfish-actions.pod:1337 ../src/guestfs-actions.pod:2162
9601 msgid "Linux old-style initrd as compressed ext2 filesystem (RHEL 3)"
9602 msgstr ""
9603
9604 #. type: textblock
9605 #: ../fish/guestfish-actions.pod:1341 ../src/guestfs-actions.pod:2166
9606 msgid "x86 Linux vmlinuz kernels"
9607 msgstr ""
9608
9609 #. type: textblock
9610 #: ../fish/guestfish-actions.pod:1343 ../src/guestfs-actions.pod:2168
9611 msgid ""
9612 "x86 vmlinuz images (bzImage format) consist of a mix of 16-, 32- and "
9613 "compressed code, and are horribly hard to unpack.  If you want to find the "
9614 "architecture of a kernel, use the architecture of the associated initrd or "
9615 "kernel module(s) instead."
9616 msgstr ""
9617
9618 #. type: =head2
9619 #: ../fish/guestfish-actions.pod:1350
9620 msgid "filesize"
9621 msgstr "filesize"
9622
9623 #. type: verbatim
9624 #: ../fish/guestfish-actions.pod:1352
9625 #, no-wrap
9626 msgid ""
9627 " filesize file\n"
9628 "\n"
9629 msgstr ""
9630 " filesize файл\n"
9631 "\n"
9632
9633 #. type: textblock
9634 #: ../fish/guestfish-actions.pod:1354 ../src/guestfs-actions.pod:2186
9635 msgid "This command returns the size of C<file> in bytes."
9636 msgstr ""
9637
9638 #. type: textblock
9639 #: ../fish/guestfish-actions.pod:1356
9640 msgid ""
9641 "To get other stats about a file, use L</stat>, L</lstat>, L</is-dir>, L</is-"
9642 "file> etc.  To get the size of block devices, use L</blockdev-getsize64>."
9643 msgstr ""
9644
9645 #. type: =head2
9646 #: ../fish/guestfish-actions.pod:1360
9647 msgid "fill"
9648 msgstr "fill"
9649
9650 #. type: verbatim
9651 #: ../fish/guestfish-actions.pod:1362
9652 #, no-wrap
9653 msgid ""
9654 " fill c len path\n"
9655 "\n"
9656 msgstr ""
9657
9658 #. type: textblock
9659 #: ../fish/guestfish-actions.pod:1364 ../src/guestfs-actions.pod:2204
9660 msgid ""
9661 "This command creates a new file called C<path>.  The initial content of the "
9662 "file is C<len> octets of C<c>, where C<c> must be a number in the range C<"
9663 "[0..255]>."
9664 msgstr ""
9665
9666 #. type: textblock
9667 #: ../fish/guestfish-actions.pod:1368
9668 msgid ""
9669 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
9670 "L</truncate-size>.  To create a file with a pattern of repeating bytes use "
9671 "L</fill-pattern>."
9672 msgstr ""
9673
9674 #. type: =head2
9675 #: ../fish/guestfish-actions.pod:1373
9676 msgid "fill-pattern"
9677 msgstr "fill-pattern"
9678
9679 #. type: verbatim
9680 #: ../fish/guestfish-actions.pod:1375
9681 #, no-wrap
9682 msgid ""
9683 " fill-pattern pattern len path\n"
9684 "\n"
9685 msgstr ""
9686
9687 #. type: textblock
9688 #: ../fish/guestfish-actions.pod:1377
9689 msgid ""
9690 "This function is like L</fill> except that it creates a new file of length "
9691 "C<len> containing the repeating pattern of bytes in C<pattern>.  The pattern "
9692 "is truncated if necessary to ensure the length of the file is exactly C<len> "
9693 "bytes."
9694 msgstr ""
9695
9696 #. type: =head2
9697 #: ../fish/guestfish-actions.pod:1382
9698 msgid "find"
9699 msgstr "find"
9700
9701 #. type: verbatim
9702 #: ../fish/guestfish-actions.pod:1384
9703 #, no-wrap
9704 msgid ""
9705 " find directory\n"
9706 "\n"
9707 msgstr ""
9708 " find каталог\n"
9709 "\n"
9710
9711 #. type: textblock
9712 #: ../fish/guestfish-actions.pod:1386 ../src/guestfs-actions.pod:2250
9713 msgid ""
9714 "This command lists out all files and directories, recursively, starting at "
9715 "C<directory>.  It is essentially equivalent to running the shell command "
9716 "C<find directory -print> but some post-processing happens on the output, "
9717 "described below."
9718 msgstr ""
9719
9720 #. type: textblock
9721 #: ../fish/guestfish-actions.pod:1391 ../src/guestfs-actions.pod:2255
9722 msgid ""
9723 "This returns a list of strings I<without any prefix>.  Thus if the directory "
9724 "structure was:"
9725 msgstr ""
9726
9727 #. type: verbatim
9728 #: ../fish/guestfish-actions.pod:1394 ../src/guestfs-actions.pod:2258
9729 #, no-wrap
9730 msgid ""
9731 " /tmp/a\n"
9732 " /tmp/b\n"
9733 " /tmp/c/d\n"
9734 "\n"
9735 msgstr ""
9736
9737 #. type: textblock
9738 #: ../fish/guestfish-actions.pod:1398
9739 msgid "then the returned list from L</find> C</tmp> would be 4 elements:"
9740 msgstr ""
9741
9742 #. type: verbatim
9743 #: ../fish/guestfish-actions.pod:1401 ../src/guestfs-actions.pod:2265
9744 #, no-wrap
9745 msgid ""
9746 " a\n"
9747 " b\n"
9748 " c\n"
9749 " c/d\n"
9750 "\n"
9751 msgstr ""
9752
9753 #. type: textblock
9754 #: ../fish/guestfish-actions.pod:1406 ../src/guestfs-actions.pod:2270
9755 msgid "If C<directory> is not a directory, then this command returns an error."
9756 msgstr ""
9757
9758 #. type: textblock
9759 #: ../fish/guestfish-actions.pod:1409 ../src/guestfs-actions.pod:2273
9760 msgid "The returned list is sorted."
9761 msgstr ""
9762
9763 #. type: textblock
9764 #: ../fish/guestfish-actions.pod:1411
9765 msgid "See also L</find0>."
9766 msgstr "Див. також L</find0>."
9767
9768 #. type: =head2
9769 #: ../fish/guestfish-actions.pod:1416
9770 msgid "find0"
9771 msgstr "find0"
9772
9773 #. type: verbatim
9774 #: ../fish/guestfish-actions.pod:1418
9775 #, no-wrap
9776 msgid ""
9777 " find0 directory (files|-)\n"
9778 "\n"
9779 msgstr ""
9780 " find0 каталог (файли|-)\n"
9781 "\n"
9782
9783 #. type: textblock
9784 #: ../fish/guestfish-actions.pod:1420 ../src/guestfs-actions.pod:2293
9785 msgid ""
9786 "This command lists out all files and directories, recursively, starting at "
9787 "C<directory>, placing the resulting list in the external file called "
9788 "C<files>."
9789 msgstr ""
9790
9791 #. type: textblock
9792 #: ../fish/guestfish-actions.pod:1424
9793 msgid ""
9794 "This command works the same way as L</find> with the following exceptions:"
9795 msgstr ""
9796
9797 #. type: textblock
9798 #: ../fish/guestfish-actions.pod:1431 ../src/guestfs-actions.pod:2304
9799 msgid "The resulting list is written to an external file."
9800 msgstr ""
9801
9802 #. type: textblock
9803 #: ../fish/guestfish-actions.pod:1435 ../src/guestfs-actions.pod:2308
9804 msgid ""
9805 "Items (filenames) in the result are separated by C<\\0> characters.  See "
9806 "L<find(1)> option I<-print0>."
9807 msgstr ""
9808
9809 #. type: textblock
9810 #: ../fish/guestfish-actions.pod:1440 ../src/guestfs-actions.pod:2313
9811 msgid "This command is not limited in the number of names that it can return."
9812 msgstr ""
9813
9814 #. type: textblock
9815 #: ../fish/guestfish-actions.pod:1445 ../src/guestfs-actions.pod:2318
9816 msgid "The result list is not sorted."
9817 msgstr ""
9818
9819 #. type: =head2
9820 #: ../fish/guestfish-actions.pod:1451
9821 msgid "findfs-label"
9822 msgstr "findfs-label"
9823
9824 #. type: verbatim
9825 #: ../fish/guestfish-actions.pod:1453
9826 #, no-wrap
9827 msgid ""
9828 " findfs-label label\n"
9829 "\n"
9830 msgstr ""
9831 " findfs-label мітка\n"
9832 "\n"
9833
9834 #. type: textblock
9835 #: ../fish/guestfish-actions.pod:1455 ../src/guestfs-actions.pod:2332
9836 msgid ""
9837 "This command searches the filesystems and returns the one which has the "
9838 "given label.  An error is returned if no such filesystem can be found."
9839 msgstr ""
9840
9841 #. type: textblock
9842 #: ../fish/guestfish-actions.pod:1459
9843 msgid "To find the label of a filesystem, use L</vfs-label>."
9844 msgstr "Для визначення мітки файлової системи скористайтеся L</vfs-label>."
9845
9846 #. type: =head2
9847 #: ../fish/guestfish-actions.pod:1461
9848 msgid "findfs-uuid"
9849 msgstr "findfs-uuid"
9850
9851 #. type: verbatim
9852 #: ../fish/guestfish-actions.pod:1463
9853 #, no-wrap
9854 msgid ""
9855 " findfs-uuid uuid\n"
9856 "\n"
9857 msgstr ""
9858 " findfs-uuid uuid\n"
9859 "\n"
9860
9861 #. type: textblock
9862 #: ../fish/guestfish-actions.pod:1465 ../src/guestfs-actions.pod:2349
9863 msgid ""
9864 "This command searches the filesystems and returns the one which has the "
9865 "given UUID.  An error is returned if no such filesystem can be found."
9866 msgstr ""
9867
9868 #. type: textblock
9869 #: ../fish/guestfish-actions.pod:1469
9870 msgid "To find the UUID of a filesystem, use L</vfs-uuid>."
9871 msgstr "Для визначення UUID файлової системи скористайтеся L</vfs-uuid>."
9872
9873 #. type: =head2
9874 #: ../fish/guestfish-actions.pod:1471
9875 msgid "fsck"
9876 msgstr "fsck"
9877
9878 #. type: verbatim
9879 #: ../fish/guestfish-actions.pod:1473
9880 #, no-wrap
9881 msgid ""
9882 " fsck fstype device\n"
9883 "\n"
9884 msgstr ""
9885 " fsck тип_файлової_системи пристрій\n"
9886 "\n"
9887
9888 #. type: textblock
9889 #: ../fish/guestfish-actions.pod:1475 ../src/guestfs-actions.pod:2367
9890 msgid ""
9891 "This runs the filesystem checker (fsck) on C<device> which should have "
9892 "filesystem type C<fstype>."
9893 msgstr ""
9894
9895 #. type: textblock
9896 #: ../fish/guestfish-actions.pod:1478 ../src/guestfs-actions.pod:2370
9897 msgid ""
9898 "The returned integer is the status.  See L<fsck(8)> for the list of status "
9899 "codes from C<fsck>."
9900 msgstr ""
9901
9902 #. type: textblock
9903 #: ../fish/guestfish-actions.pod:1487 ../src/guestfs-actions.pod:2379
9904 msgid "Multiple status codes can be summed together."
9905 msgstr ""
9906
9907 #. type: textblock
9908 #: ../fish/guestfish-actions.pod:1491 ../src/guestfs-actions.pod:2383
9909 msgid ""
9910 "A non-zero return code can mean \"success\", for example if errors have been "
9911 "corrected on the filesystem."
9912 msgstr ""
9913
9914 #. type: textblock
9915 #: ../fish/guestfish-actions.pod:1496 ../src/guestfs-actions.pod:2388
9916 msgid "Checking or repairing NTFS volumes is not supported (by linux-ntfs)."
9917 msgstr ""
9918
9919 #. type: textblock
9920 #: ../fish/guestfish-actions.pod:1501 ../src/guestfs-actions.pod:2393
9921 msgid ""
9922 "This command is entirely equivalent to running C<fsck -a -t fstype device>."
9923 msgstr ""
9924
9925 #. type: =head2
9926 #: ../fish/guestfish-actions.pod:1503
9927 msgid "get-append"
9928 msgstr "get-append"
9929
9930 #. type: verbatim
9931 #: ../fish/guestfish-actions.pod:1505
9932 #, no-wrap
9933 msgid ""
9934 " get-append\n"
9935 "\n"
9936 msgstr ""
9937 " get-append\n"
9938 "\n"
9939
9940 #. type: textblock
9941 #: ../fish/guestfish-actions.pod:1507 ../src/guestfs-actions.pod:2404
9942 msgid ""
9943 "Return the additional kernel options which are added to the guest kernel "
9944 "command line."
9945 msgstr ""
9946
9947 #. type: textblock
9948 #: ../fish/guestfish-actions.pod:1510 ../src/guestfs-actions.pod:2407
9949 msgid "If C<NULL> then no options are added."
9950 msgstr ""
9951
9952 #. type: =head2
9953 #: ../fish/guestfish-actions.pod:1512
9954 msgid "get-attach-method"
9955 msgstr "get-attach-method"
9956
9957 #. type: verbatim
9958 #: ../fish/guestfish-actions.pod:1514
9959 #, no-wrap
9960 msgid ""
9961 " get-attach-method\n"
9962 "\n"
9963 msgstr ""
9964 " get-attach-method\n"
9965 "\n"
9966
9967 #. type: textblock
9968 #: ../fish/guestfish-actions.pod:1516
9969 msgid "Return the current attach method.  See L</set-attach-method>."
9970 msgstr ""
9971
9972 #. type: =head2
9973 #: ../fish/guestfish-actions.pod:1518
9974 msgid "get-autosync"
9975 msgstr "get-autosync"
9976
9977 #. type: verbatim
9978 #: ../fish/guestfish-actions.pod:1520
9979 #, no-wrap
9980 msgid ""
9981 " get-autosync\n"
9982 "\n"
9983 msgstr ""
9984 " get-autosync\n"
9985 "\n"
9986
9987 #. type: textblock
9988 #: ../fish/guestfish-actions.pod:1522 ../src/guestfs-actions.pod:2432
9989 msgid "Get the autosync flag."
9990 msgstr ""
9991
9992 #. type: =head2
9993 #: ../fish/guestfish-actions.pod:1524
9994 msgid "get-direct"
9995 msgstr "get-direct"
9996
9997 #. type: verbatim
9998 #: ../fish/guestfish-actions.pod:1526
9999 #, no-wrap
10000 msgid ""
10001 " get-direct\n"
10002 "\n"
10003 msgstr ""
10004 " get-direct\n"
10005 "\n"
10006
10007 #. type: textblock
10008 #: ../fish/guestfish-actions.pod:1528 ../src/guestfs-actions.pod:2443
10009 msgid "Return the direct appliance mode flag."
10010 msgstr ""
10011
10012 #. type: =head2
10013 #: ../fish/guestfish-actions.pod:1530
10014 msgid "get-e2label"
10015 msgstr "get-e2label"
10016
10017 #. type: verbatim
10018 #: ../fish/guestfish-actions.pod:1532
10019 #, no-wrap
10020 msgid ""
10021 " get-e2label device\n"
10022 "\n"
10023 msgstr ""
10024 " get-e2label пристрій\n"
10025 "\n"
10026
10027 #. type: textblock
10028 #: ../fish/guestfish-actions.pod:1534 ../src/guestfs-actions.pod:2462
10029 msgid ""
10030 "This returns the ext2/3/4 filesystem label of the filesystem on C<device>."
10031 msgstr ""
10032
10033 #. type: textblock
10034 #: ../fish/guestfish-actions.pod:1537
10035 msgid ""
10036 "I<This function is deprecated.> In new code, use the L</vfs_label> call "
10037 "instead."
10038 msgstr ""
10039
10040 #. type: =head2
10041 #: ../fish/guestfish-actions.pod:1544
10042 msgid "get-e2uuid"
10043 msgstr "get-e2uuid"
10044
10045 #. type: verbatim
10046 #: ../fish/guestfish-actions.pod:1546
10047 #, no-wrap
10048 msgid ""
10049 " get-e2uuid device\n"
10050 "\n"
10051 msgstr ""
10052 " get-e2uuid пристрій\n"
10053 "\n"
10054
10055 #. type: textblock
10056 #: ../fish/guestfish-actions.pod:1548 ../src/guestfs-actions.pod:2483
10057 msgid ""
10058 "This returns the ext2/3/4 filesystem UUID of the filesystem on C<device>."
10059 msgstr ""
10060
10061 #. type: textblock
10062 #: ../fish/guestfish-actions.pod:1551
10063 msgid ""
10064 "I<This function is deprecated.> In new code, use the L</vfs_uuid> call "
10065 "instead."
10066 msgstr ""
10067
10068 #. type: =head2
10069 #: ../fish/guestfish-actions.pod:1558
10070 msgid "get-memsize"
10071 msgstr "get-memsize"
10072
10073 #. type: verbatim
10074 #: ../fish/guestfish-actions.pod:1560
10075 #, no-wrap
10076 msgid ""
10077 " get-memsize\n"
10078 "\n"
10079 msgstr ""
10080 " get-memsize\n"
10081 "\n"
10082
10083 #. type: textblock
10084 #: ../fish/guestfish-actions.pod:1562 ../src/guestfs-actions.pod:2496
10085 msgid ""
10086 "This gets the memory size in megabytes allocated to the qemu subprocess."
10087 msgstr ""
10088
10089 #. type: textblock
10090 #: ../fish/guestfish-actions.pod:1565
10091 msgid ""
10092 "If L</set-memsize> was not called on this handle, and if "
10093 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
10094 "value for memsize."
10095 msgstr ""
10096
10097 #. type: textblock
10098 #: ../fish/guestfish-actions.pod:1569 ../fish/guestfish-actions.pod:1626
10099 #: ../fish/guestfish-actions.pod:4499 ../fish/guestfish-actions.pod:4601
10100 #: ../src/guestfs-actions.pod:2503 ../src/guestfs-actions.pod:2595
10101 #: ../src/guestfs-actions.pod:6960 ../src/guestfs-actions.pod:7086
10102 msgid ""
10103 "For more information on the architecture of libguestfs, see L<guestfs(3)>."
10104 msgstr ""
10105
10106 #. type: =head2
10107 #: ../fish/guestfish-actions.pod:1572
10108 msgid "get-network"
10109 msgstr "get-network"
10110
10111 #. type: verbatim
10112 #: ../fish/guestfish-actions.pod:1574
10113 #, no-wrap
10114 msgid ""
10115 " get-network\n"
10116 "\n"
10117 msgstr ""
10118 " get-network\n"
10119 "\n"
10120
10121 #. type: textblock
10122 #: ../fish/guestfish-actions.pod:1576 ../src/guestfs-actions.pod:2515
10123 msgid "This returns the enable network flag."
10124 msgstr ""
10125
10126 #. type: =head2
10127 #: ../fish/guestfish-actions.pod:1578
10128 msgid "get-path"
10129 msgstr "get-path"
10130
10131 #. type: verbatim
10132 #: ../fish/guestfish-actions.pod:1580
10133 #, no-wrap
10134 msgid ""
10135 " get-path\n"
10136 "\n"
10137 msgstr ""
10138 " get-path\n"
10139 "\n"
10140
10141 #. type: textblock
10142 #: ../fish/guestfish-actions.pod:1582 ../src/guestfs-actions.pod:2526
10143 msgid "Return the current search path."
10144 msgstr ""
10145
10146 #. type: textblock
10147 #: ../fish/guestfish-actions.pod:1584 ../src/guestfs-actions.pod:2528
10148 msgid ""
10149 "This is always non-NULL.  If it wasn't set already, then this will return "
10150 "the default path."
10151 msgstr ""
10152
10153 #. type: =head2
10154 #: ../fish/guestfish-actions.pod:1587
10155 msgid "get-pgroup"
10156 msgstr ""
10157
10158 #. type: verbatim
10159 #: ../fish/guestfish-actions.pod:1589
10160 #, no-wrap
10161 msgid ""
10162 " get-pgroup\n"
10163 "\n"
10164 msgstr ""
10165
10166 #. type: textblock
10167 #: ../fish/guestfish-actions.pod:1591 ../src/guestfs-actions.pod:2541
10168 msgid "This returns the process group flag."
10169 msgstr ""
10170
10171 #. type: =head2
10172 #: ../fish/guestfish-actions.pod:1593
10173 msgid "get-pid"
10174 msgstr "get-pid"
10175
10176 #. type: =head2
10177 #: ../fish/guestfish-actions.pod:1595
10178 msgid "pid"
10179 msgstr "PID"
10180
10181 #. type: verbatim
10182 #: ../fish/guestfish-actions.pod:1597
10183 #, no-wrap
10184 msgid ""
10185 " get-pid\n"
10186 "\n"
10187 msgstr ""
10188 " get-pid\n"
10189 "\n"
10190
10191 #. type: textblock
10192 #: ../fish/guestfish-actions.pod:1599 ../src/guestfs-actions.pod:2552
10193 msgid ""
10194 "Return the process ID of the qemu subprocess.  If there is no qemu "
10195 "subprocess, then this will return an error."
10196 msgstr ""
10197
10198 #. type: textblock
10199 #: ../fish/guestfish-actions.pod:1602 ../src/guestfs-actions.pod:2555
10200 msgid "This is an internal call used for debugging and testing."
10201 msgstr ""
10202
10203 #. type: =head2
10204 #: ../fish/guestfish-actions.pod:1604
10205 msgid "get-qemu"
10206 msgstr "get-qemu"
10207
10208 #. type: verbatim
10209 #: ../fish/guestfish-actions.pod:1606
10210 #, no-wrap
10211 msgid ""
10212 " get-qemu\n"
10213 "\n"
10214 msgstr ""
10215 " get-qemu\n"
10216 "\n"
10217
10218 #. type: textblock
10219 #: ../fish/guestfish-actions.pod:1608 ../src/guestfs-actions.pod:2566
10220 msgid "Return the current qemu binary."
10221 msgstr ""
10222
10223 #. type: textblock
10224 #: ../fish/guestfish-actions.pod:1610 ../src/guestfs-actions.pod:2568
10225 msgid ""
10226 "This is always non-NULL.  If it wasn't set already, then this will return "
10227 "the default qemu binary name."
10228 msgstr ""
10229
10230 #. type: =head2
10231 #: ../fish/guestfish-actions.pod:1613
10232 msgid "get-recovery-proc"
10233 msgstr "get-recovery-proc"
10234
10235 #. type: verbatim
10236 #: ../fish/guestfish-actions.pod:1615
10237 #, no-wrap
10238 msgid ""
10239 " get-recovery-proc\n"
10240 "\n"
10241 msgstr ""
10242 " get-recovery-proc\n"
10243 "\n"
10244
10245 #. type: textblock
10246 #: ../fish/guestfish-actions.pod:1617 ../src/guestfs-actions.pod:2581
10247 msgid "Return the recovery process enabled flag."
10248 msgstr ""
10249
10250 #. type: =head2
10251 #: ../fish/guestfish-actions.pod:1619
10252 msgid "get-selinux"
10253 msgstr "get-selinux"
10254
10255 #. type: verbatim
10256 #: ../fish/guestfish-actions.pod:1621
10257 #, no-wrap
10258 msgid ""
10259 " get-selinux\n"
10260 "\n"
10261 msgstr ""
10262 " get-selinux\n"
10263 "\n"
10264
10265 #. type: textblock
10266 #: ../fish/guestfish-actions.pod:1623
10267 msgid ""
10268 "This returns the current setting of the selinux flag which is passed to the "
10269 "appliance at boot time.  See L</set-selinux>."
10270 msgstr ""
10271
10272 #. type: =head2
10273 #: ../fish/guestfish-actions.pod:1629
10274 msgid "get-smp"
10275 msgstr ""
10276
10277 #. type: verbatim
10278 #: ../fish/guestfish-actions.pod:1631
10279 #, no-wrap
10280 msgid ""
10281 " get-smp\n"
10282 "\n"
10283 msgstr ""
10284
10285 #. type: textblock
10286 #: ../fish/guestfish-actions.pod:1633 ../src/guestfs-actions.pod:2607
10287 msgid "This returns the number of virtual CPUs assigned to the appliance."
10288 msgstr ""
10289
10290 #. type: =head2
10291 #: ../fish/guestfish-actions.pod:1635
10292 msgid "get-state"
10293 msgstr "get-state"
10294
10295 #. type: verbatim
10296 #: ../fish/guestfish-actions.pod:1637
10297 #, no-wrap
10298 msgid ""
10299 " get-state\n"
10300 "\n"
10301 msgstr ""
10302 " get-state\n"
10303 "\n"
10304
10305 #. type: textblock
10306 #: ../fish/guestfish-actions.pod:1639 ../src/guestfs-actions.pod:2618
10307 msgid ""
10308 "This returns the current state as an opaque integer.  This is only useful "
10309 "for printing debug and internal error messages."
10310 msgstr ""
10311
10312 #. type: textblock
10313 #: ../fish/guestfish-actions.pod:1642 ../fish/guestfish-actions.pod:2605
10314 #: ../fish/guestfish-actions.pod:2623 ../fish/guestfish-actions.pod:2661
10315 #: ../fish/guestfish-actions.pod:2677 ../src/guestfs-actions.pod:2621
10316 #: ../src/guestfs-actions.pod:3944 ../src/guestfs-actions.pod:3973
10317 #: ../src/guestfs-actions.pod:4034 ../src/guestfs-actions.pod:4061
10318 msgid "For more information on states, see L<guestfs(3)>."
10319 msgstr ""
10320
10321 #. type: =head2
10322 #: ../fish/guestfish-actions.pod:1644
10323 msgid "get-trace"
10324 msgstr "get-trace"
10325
10326 #. type: verbatim
10327 #: ../fish/guestfish-actions.pod:1646
10328 #, no-wrap
10329 msgid ""
10330 " get-trace\n"
10331 "\n"
10332 msgstr ""
10333 " get-trace\n"
10334 "\n"
10335
10336 #. type: textblock
10337 #: ../fish/guestfish-actions.pod:1648 ../src/guestfs-actions.pod:2632
10338 msgid "Return the command trace flag."
10339 msgstr ""
10340
10341 #. type: =head2
10342 #: ../fish/guestfish-actions.pod:1650
10343 msgid "get-umask"
10344 msgstr "get-umask"
10345
10346 #. type: verbatim
10347 #: ../fish/guestfish-actions.pod:1652
10348 #, no-wrap
10349 msgid ""
10350 " get-umask\n"
10351 "\n"
10352 msgstr ""
10353 " get-umask\n"
10354 "\n"
10355
10356 #. type: textblock
10357 #: ../fish/guestfish-actions.pod:1654
10358 msgid ""
10359 "Return the current umask.  By default the umask is C<022> unless it has been "
10360 "set by calling L</umask>."
10361 msgstr ""
10362
10363 #. type: =head2
10364 #: ../fish/guestfish-actions.pod:1657
10365 msgid "get-verbose"
10366 msgstr "get-verbose"
10367
10368 #. type: verbatim
10369 #: ../fish/guestfish-actions.pod:1659
10370 #, no-wrap
10371 msgid ""
10372 " get-verbose\n"
10373 "\n"
10374 msgstr ""
10375 " get-verbose\n"
10376 "\n"
10377
10378 #. type: textblock
10379 #: ../fish/guestfish-actions.pod:1661 ../src/guestfs-actions.pod:2655
10380 msgid "This returns the verbose messages flag."
10381 msgstr ""
10382
10383 #. type: =head2
10384 #: ../fish/guestfish-actions.pod:1663
10385 msgid "getcon"
10386 msgstr "getcon"
10387
10388 #. type: verbatim
10389 #: ../fish/guestfish-actions.pod:1665
10390 #, no-wrap
10391 msgid ""
10392 " getcon\n"
10393 "\n"
10394 msgstr ""
10395 " getcon\n"
10396 "\n"
10397
10398 #. type: textblock
10399 #: ../fish/guestfish-actions.pod:1667 ../src/guestfs-actions.pod:2666
10400 msgid "This gets the SELinux security context of the daemon."
10401 msgstr ""
10402
10403 #. type: textblock
10404 #: ../fish/guestfish-actions.pod:1669
10405 msgid "See the documentation about SELINUX in L<guestfs(3)>, and L</setcon>"
10406 msgstr ""
10407
10408 #. type: =head2
10409 #: ../fish/guestfish-actions.pod:1672
10410 msgid "getxattr"
10411 msgstr "getxattr"
10412
10413 #. type: verbatim
10414 #: ../fish/guestfish-actions.pod:1674
10415 #, no-wrap
10416 msgid ""
10417 " getxattr path name\n"
10418 "\n"
10419 msgstr ""
10420 " getxattr шлях назва\n"
10421 "\n"
10422
10423 #. type: textblock
10424 #: ../fish/guestfish-actions.pod:1676
10425 msgid ""
10426 "Get a single extended attribute from file C<path> named C<name>.  This call "
10427 "follows symlinks.  If you want to lookup an extended attribute for the "
10428 "symlink itself, use L</lgetxattr>."
10429 msgstr ""
10430
10431 #. type: textblock
10432 #: ../fish/guestfish-actions.pod:1680 ../fish/guestfish-actions.pod:2750
10433 msgid ""
10434 "Normally it is better to get all extended attributes from a file in one go "
10435 "by calling L</getxattrs>.  However some Linux filesystem implementations are "
10436 "buggy and do not provide a way to list out attributes.  For these "
10437 "filesystems (notably ntfs-3g)  you have to know the names of the extended "
10438 "attributes you want in advance and call this function."
10439 msgstr ""
10440
10441 #. type: textblock
10442 #: ../fish/guestfish-actions.pod:1687 ../fish/guestfish-actions.pod:2757
10443 #: ../src/guestfs-actions.pod:2695 ../src/guestfs-actions.pod:4194
10444 msgid ""
10445 "Extended attribute values are blobs of binary data.  If there is no extended "
10446 "attribute named C<name>, this returns an error."
10447 msgstr ""
10448
10449 #. type: textblock
10450 #: ../fish/guestfish-actions.pod:1690
10451 msgid "See also: L</getxattrs>, L</lgetxattr>, L<attr(5)>."
10452 msgstr "Див. також L</getxattrs>, L</lgetxattr>, L<attr(5)>."
10453
10454 #. type: =head2
10455 #: ../fish/guestfish-actions.pod:1692
10456 msgid "getxattrs"
10457 msgstr "getxattrs"
10458
10459 #. type: verbatim
10460 #: ../fish/guestfish-actions.pod:1694
10461 #, no-wrap
10462 msgid ""
10463 " getxattrs path\n"
10464 "\n"
10465 msgstr ""
10466 " getxattrs шлях\n"
10467 "\n"
10468
10469 #. type: textblock
10470 #: ../fish/guestfish-actions.pod:1696 ../src/guestfs-actions.pod:2712
10471 msgid ""
10472 "This call lists the extended attributes of the file or directory C<path>."
10473 msgstr ""
10474
10475 #. type: textblock
10476 #: ../fish/guestfish-actions.pod:1699 ../src/guestfs-actions.pod:2715
10477 msgid ""
10478 "At the system call level, this is a combination of the L<listxattr(2)> and "
10479 "L<getxattr(2)> calls."
10480 msgstr ""
10481
10482 #. type: textblock
10483 #: ../fish/guestfish-actions.pod:1702
10484 msgid "See also: L</lgetxattrs>, L<attr(5)>."
10485 msgstr "Див. також L</lgetxattrs>, L<attr(5)>."
10486
10487 #. type: =head2
10488 #: ../fish/guestfish-actions.pod:1704
10489 msgid "glob-expand"
10490 msgstr "glob-expand"
10491
10492 #. type: verbatim
10493 #: ../fish/guestfish-actions.pod:1706
10494 #, no-wrap
10495 msgid ""
10496 " glob-expand pattern\n"
10497 "\n"
10498 msgstr ""
10499 " glob-expand шаблон\n"
10500 "\n"
10501
10502 #. type: textblock
10503 #: ../fish/guestfish-actions.pod:1708 ../src/guestfs-actions.pod:2732
10504 msgid ""
10505 "This command searches for all the pathnames matching C<pattern> according to "
10506 "the wildcard expansion rules used by the shell."
10507 msgstr ""
10508
10509 #. type: textblock
10510 #: ../fish/guestfish-actions.pod:1712 ../src/guestfs-actions.pod:2736
10511 msgid ""
10512 "If no paths match, then this returns an empty list (note: not an error)."
10513 msgstr ""
10514
10515 #. type: textblock
10516 #: ../fish/guestfish-actions.pod:1715 ../src/guestfs-actions.pod:2739
10517 msgid ""
10518 "It is just a wrapper around the C L<glob(3)> function with flags C<GLOB_MARK|"
10519 "GLOB_BRACE>.  See that manual page for more details."
10520 msgstr ""
10521
10522 #. type: =head2
10523 #: ../fish/guestfish-actions.pod:1719
10524 msgid "grep"
10525 msgstr "grep"
10526
10527 #. type: verbatim
10528 #: ../fish/guestfish-actions.pod:1721
10529 #, no-wrap
10530 msgid ""
10531 " grep regex path\n"
10532 "\n"
10533 msgstr ""
10534 " grepi формальний_вираз шлях\n"
10535 "\n"
10536
10537 #. type: textblock
10538 #: ../fish/guestfish-actions.pod:1723 ../src/guestfs-actions.pod:2756
10539 msgid "This calls the external C<grep> program and returns the matching lines."
10540 msgstr ""
10541
10542 #. type: =head2
10543 #: ../fish/guestfish-actions.pod:1729
10544 msgid "grepi"
10545 msgstr "grepi"
10546
10547 #. type: verbatim
10548 #: ../fish/guestfish-actions.pod:1731
10549 #, no-wrap
10550 msgid ""
10551 " grepi regex path\n"
10552 "\n"
10553 msgstr ""
10554 " grepi формальний_вираз шлях\n"
10555 "\n"
10556
10557 #. type: textblock
10558 #: ../fish/guestfish-actions.pod:1733 ../src/guestfs-actions.pod:2775
10559 msgid ""
10560 "This calls the external C<grep -i> program and returns the matching lines."
10561 msgstr ""
10562
10563 #. type: =head2
10564 #: ../fish/guestfish-actions.pod:1739
10565 msgid "grub-install"
10566 msgstr "grub-install"
10567
10568 #. type: verbatim
10569 #: ../fish/guestfish-actions.pod:1741
10570 #, no-wrap
10571 msgid ""
10572 " grub-install root device\n"
10573 "\n"
10574 msgstr ""
10575 " grub-install кореневий пристрій\n"
10576 "\n"
10577
10578 #. type: textblock
10579 #: ../fish/guestfish-actions.pod:1743 ../src/guestfs-actions.pod:2794
10580 msgid ""
10581 "This command installs GRUB 1 (the Grand Unified Bootloader) on C<device>, "
10582 "with the root directory being C<root>."
10583 msgstr ""
10584
10585 #. type: textblock
10586 #: ../fish/guestfish-actions.pod:1752 ../src/guestfs-actions.pod:2803
10587 msgid ""
10588 "There is currently no way in the API to install grub2, which is used by most "
10589 "modern Linux guests.  It is possible to run the grub2 command from the "
10590 "guest, although see the caveats in L<guestfs(3)/RUNNING COMMANDS>."
10591 msgstr ""
10592
10593 #. type: textblock
10594 #: ../fish/guestfish-actions.pod:1759 ../src/guestfs-actions.pod:2810
10595 msgid ""
10596 "This uses C<grub-install> from the host.  Unfortunately grub is not always "
10597 "compatible with itself, so this only works in rather narrow circumstances.  "
10598 "Careful testing with each guest version is advisable."
10599 msgstr ""
10600
10601 #. type: textblock
10602 #: ../fish/guestfish-actions.pod:1766 ../src/guestfs-actions.pod:2817
10603 msgid ""
10604 "If grub-install reports the error \"No suitable drive was found in the "
10605 "generated device map.\" it may be that you need to create a C</boot/grub/"
10606 "device.map> file first that contains the mapping between grub device names "
10607 "and Linux device names.  It is usually sufficient to create a file "
10608 "containing:"
10609 msgstr ""
10610
10611 #. type: verbatim
10612 #: ../fish/guestfish-actions.pod:1773 ../src/guestfs-actions.pod:2824
10613 #, no-wrap
10614 msgid ""
10615 " (hd0) /dev/vda\n"
10616 "\n"
10617 msgstr ""
10618
10619 #. type: textblock
10620 #: ../fish/guestfish-actions.pod:1775 ../src/guestfs-actions.pod:2826
10621 msgid "replacing C</dev/vda> with the name of the installation device."
10622 msgstr ""
10623
10624 #. type: =head2
10625 #: ../fish/guestfish-actions.pod:1779
10626 msgid "head"
10627 msgstr "head"
10628
10629 #. type: verbatim
10630 #: ../fish/guestfish-actions.pod:1781
10631 #, no-wrap
10632 msgid ""
10633 " head path\n"
10634 "\n"
10635 msgstr ""
10636 " head шлях\n"
10637 "\n"
10638
10639 #. type: textblock
10640 #: ../fish/guestfish-actions.pod:1783 ../src/guestfs-actions.pod:2840
10641 msgid ""
10642 "This command returns up to the first 10 lines of a file as a list of strings."
10643 msgstr ""
10644
10645 #. type: =head2
10646 #: ../fish/guestfish-actions.pod:1789
10647 msgid "head-n"
10648 msgstr "head-n"
10649
10650 #. type: verbatim
10651 #: ../fish/guestfish-actions.pod:1791
10652 #, no-wrap
10653 msgid ""
10654 " head-n nrlines path\n"
10655 "\n"
10656 msgstr ""
10657
10658 #. type: textblock
10659 #: ../fish/guestfish-actions.pod:1793 ../src/guestfs-actions.pod:2859
10660 msgid ""
10661 "If the parameter C<nrlines> is a positive number, this returns the first "
10662 "C<nrlines> lines of the file C<path>."
10663 msgstr ""
10664
10665 #. type: textblock
10666 #: ../fish/guestfish-actions.pod:1796 ../src/guestfs-actions.pod:2862
10667 msgid ""
10668 "If the parameter C<nrlines> is a negative number, this returns lines from "
10669 "the file C<path>, excluding the last C<nrlines> lines."
10670 msgstr ""
10671
10672 #. type: textblock
10673 #: ../fish/guestfish-actions.pod:1799 ../fish/guestfish-actions.pod:4982
10674 #: ../src/guestfs-actions.pod:2865 ../src/guestfs-actions.pod:7665
10675 msgid "If the parameter C<nrlines> is zero, this returns an empty list."
10676 msgstr ""
10677
10678 #. type: =head2
10679 #: ../fish/guestfish-actions.pod:1804
10680 msgid "hexdump"
10681 msgstr "hexdump"
10682
10683 #. type: verbatim
10684 #: ../fish/guestfish-actions.pod:1806
10685 #, no-wrap
10686 msgid ""
10687 " hexdump path\n"
10688 "\n"
10689 msgstr ""
10690 " hexdump шлях\n"
10691 "\n"
10692
10693 #. type: textblock
10694 #: ../fish/guestfish-actions.pod:1808 ../src/guestfs-actions.pod:2882
10695 msgid ""
10696 "This runs C<hexdump -C> on the given C<path>.  The result is the human-"
10697 "readable, canonical hex dump of the file."
10698 msgstr ""
10699
10700 #. type: =head2
10701 #: ../fish/guestfish-actions.pod:1814
10702 msgid "initrd-cat"
10703 msgstr "initrd-cat"
10704
10705 #. type: verbatim
10706 #: ../fish/guestfish-actions.pod:1816
10707 #, no-wrap
10708 msgid ""
10709 " initrd-cat initrdpath filename\n"
10710 "\n"
10711 msgstr ""
10712 " initrd-cat шлях_initrd назва_файла\n"
10713 "\n"
10714
10715 #. type: textblock
10716 #: ../fish/guestfish-actions.pod:1818 ../src/guestfs-actions.pod:2901
10717 msgid ""
10718 "This command unpacks the file C<filename> from the initrd file called "
10719 "C<initrdpath>.  The filename must be given I<without> the initial C</> "
10720 "character."
10721 msgstr ""
10722
10723 #. type: textblock
10724 #: ../fish/guestfish-actions.pod:1822 ../src/guestfs-actions.pod:2905
10725 msgid ""
10726 "For example, in guestfish you could use the following command to examine the "
10727 "boot script (usually called C</init>)  contained in a Linux initrd or "
10728 "initramfs image:"
10729 msgstr ""
10730
10731 #. type: verbatim
10732 #: ../fish/guestfish-actions.pod:1826 ../src/guestfs-actions.pod:2909
10733 #, no-wrap
10734 msgid ""
10735 " initrd-cat /boot/initrd-<version>.img init\n"
10736 "\n"
10737 msgstr ""
10738
10739 #. type: textblock
10740 #: ../fish/guestfish-actions.pod:1828
10741 msgid "See also L</initrd-list>."
10742 msgstr "Див. також L</initrd-list>."
10743
10744 #. type: =head2
10745 #: ../fish/guestfish-actions.pod:1833
10746 msgid "initrd-list"
10747 msgstr "initrd-list"
10748
10749 #. type: verbatim
10750 #: ../fish/guestfish-actions.pod:1835
10751 #, no-wrap
10752 msgid ""
10753 " initrd-list path\n"
10754 "\n"
10755 msgstr ""
10756 " initrd-list шлях\n"
10757 "\n"
10758
10759 #. type: textblock
10760 #: ../fish/guestfish-actions.pod:1837 ../src/guestfs-actions.pod:2928
10761 msgid "This command lists out files contained in an initrd."
10762 msgstr ""
10763
10764 #. type: textblock
10765 #: ../fish/guestfish-actions.pod:1839 ../src/guestfs-actions.pod:2930
10766 msgid ""
10767 "The files are listed without any initial C</> character.  The files are "
10768 "listed in the order they appear (not necessarily alphabetical).  Directory "
10769 "names are listed as separate items."
10770 msgstr ""
10771
10772 #. type: textblock
10773 #: ../fish/guestfish-actions.pod:1843 ../src/guestfs-actions.pod:2934
10774 msgid ""
10775 "Old Linux kernels (2.4 and earlier) used a compressed ext2 filesystem as "
10776 "initrd.  We I<only> support the newer initramfs format (compressed cpio "
10777 "files)."
10778 msgstr ""
10779
10780 #. type: =head2
10781 #: ../fish/guestfish-actions.pod:1847
10782 msgid "inotify-add-watch"
10783 msgstr "inotify-add-watch"
10784
10785 #. type: verbatim
10786 #: ../fish/guestfish-actions.pod:1849
10787 #, no-wrap
10788 msgid ""
10789 " inotify-add-watch path mask\n"
10790 "\n"
10791 msgstr ""
10792 " inotify-add-watch шлях маска\n"
10793 "\n"
10794
10795 #. type: textblock
10796 #: ../fish/guestfish-actions.pod:1851 ../src/guestfs-actions.pod:2951
10797 msgid "Watch C<path> for the events listed in C<mask>."
10798 msgstr ""
10799
10800 #. type: textblock
10801 #: ../fish/guestfish-actions.pod:1853 ../src/guestfs-actions.pod:2953
10802 msgid ""
10803 "Note that if C<path> is a directory then events within that directory are "
10804 "watched, but this does I<not> happen recursively (in subdirectories)."
10805 msgstr ""
10806
10807 #. type: textblock
10808 #: ../fish/guestfish-actions.pod:1857 ../src/guestfs-actions.pod:2957
10809 msgid ""
10810 "Note for non-C or non-Linux callers: the inotify events are defined by the "
10811 "Linux kernel ABI and are listed in C</usr/include/sys/inotify.h>."
10812 msgstr ""
10813
10814 #. type: =head2
10815 #: ../fish/guestfish-actions.pod:1861
10816 msgid "inotify-close"
10817 msgstr "inotify-close"
10818
10819 #. type: verbatim
10820 #: ../fish/guestfish-actions.pod:1863
10821 #, no-wrap
10822 msgid ""
10823 " inotify-close\n"
10824 "\n"
10825 msgstr ""
10826 " inotify-close\n"
10827 "\n"
10828
10829 #. type: textblock
10830 #: ../fish/guestfish-actions.pod:1865 ../src/guestfs-actions.pod:2970
10831 msgid ""
10832 "This closes the inotify handle which was previously opened by inotify_init.  "
10833 "It removes all watches, throws away any pending events, and deallocates all "
10834 "resources."
10835 msgstr ""
10836
10837 #. type: =head2
10838 #: ../fish/guestfish-actions.pod:1869
10839 msgid "inotify-files"
10840 msgstr "inotify-files"
10841
10842 #. type: verbatim
10843 #: ../fish/guestfish-actions.pod:1871
10844 #, no-wrap
10845 msgid ""
10846 " inotify-files\n"
10847 "\n"
10848 msgstr ""
10849 " inotify-files\n"
10850 "\n"
10851
10852 #. type: textblock
10853 #: ../fish/guestfish-actions.pod:1873
10854 msgid ""
10855 "This function is a helpful wrapper around L</inotify-read> which just "
10856 "returns a list of pathnames of objects that were touched.  The returned "
10857 "pathnames are sorted and deduplicated."
10858 msgstr ""
10859
10860 #. type: =head2
10861 #: ../fish/guestfish-actions.pod:1877
10862 msgid "inotify-init"
10863 msgstr "inotify-init"
10864
10865 #. type: verbatim
10866 #: ../fish/guestfish-actions.pod:1879
10867 #, no-wrap
10868 msgid ""
10869 " inotify-init maxevents\n"
10870 "\n"
10871 msgstr ""
10872
10873 #. type: textblock
10874 #: ../fish/guestfish-actions.pod:1881 ../src/guestfs-actions.pod:2999
10875 msgid ""
10876 "This command creates a new inotify handle.  The inotify subsystem can be "
10877 "used to notify events which happen to objects in the guest filesystem."
10878 msgstr ""
10879
10880 #. type: textblock
10881 #: ../fish/guestfish-actions.pod:1885
10882 msgid ""
10883 "C<maxevents> is the maximum number of events which will be queued up between "
10884 "calls to L</inotify-read> or L</inotify-files>.  If this is passed as C<0>, "
10885 "then the kernel (or previously set)  default is used.  For Linux 2.6.29 the "
10886 "default was 16384 events.  Beyond this limit, the kernel throws away events, "
10887 "but records the fact that it threw them away by setting a flag "
10888 "C<IN_Q_OVERFLOW> in the returned structure list (see L</inotify-read>)."
10889 msgstr ""
10890
10891 #. type: textblock
10892 #: ../fish/guestfish-actions.pod:1895
10893 msgid ""
10894 "Before any events are generated, you have to add some watches to the "
10895 "internal watch list.  See: L</inotify-add-watch>, L</inotify-rm-watch> and "
10896 "L</inotify-watch-all>."
10897 msgstr ""
10898
10899 #. type: textblock
10900 #: ../fish/guestfish-actions.pod:1901
10901 msgid ""
10902 "Queued up events should be read periodically by calling L</inotify-read> (or "
10903 "L</inotify-files> which is just a helpful wrapper around L</inotify-read>).  "
10904 "If you don't read the events out often enough then you risk the internal "
10905 "queue overflowing."
10906 msgstr ""
10907
10908 #. type: textblock
10909 #: ../fish/guestfish-actions.pod:1908
10910 msgid ""
10911 "The handle should be closed after use by calling L</inotify-close>.  This "
10912 "also removes any watches automatically."
10913 msgstr ""
10914
10915 #. type: textblock
10916 #: ../fish/guestfish-actions.pod:1912 ../src/guestfs-actions.pod:3030
10917 msgid ""
10918 "See also L<inotify(7)> for an overview of the inotify interface as exposed "
10919 "by the Linux kernel, which is roughly what we expose via libguestfs.  Note "
10920 "that there is one global inotify handle per libguestfs instance."
10921 msgstr ""
10922
10923 #. type: =head2
10924 #: ../fish/guestfish-actions.pod:1917
10925 msgid "inotify-read"
10926 msgstr "inotify-read"
10927
10928 #. type: verbatim
10929 #: ../fish/guestfish-actions.pod:1919
10930 #, no-wrap
10931 msgid ""
10932 " inotify-read\n"
10933 "\n"
10934 msgstr ""
10935 " inotify-read\n"
10936 "\n"
10937
10938 #. type: textblock
10939 #: ../fish/guestfish-actions.pod:1921 ../src/guestfs-actions.pod:3044
10940 msgid ""
10941 "Return the complete queue of events that have happened since the previous "
10942 "read call."
10943 msgstr ""
10944
10945 #. type: textblock
10946 #: ../fish/guestfish-actions.pod:1924 ../src/guestfs-actions.pod:3047
10947 msgid "If no events have happened, this returns an empty list."
10948 msgstr ""
10949
10950 #. type: textblock
10951 #: ../fish/guestfish-actions.pod:1926 ../src/guestfs-actions.pod:3049
10952 msgid ""
10953 "I<Note>: In order to make sure that all events have been read, you must call "
10954 "this function repeatedly until it returns an empty list.  The reason is that "
10955 "the call will read events up to the maximum appliance-to-host message size "
10956 "and leave remaining events in the queue."
10957 msgstr ""
10958
10959 #. type: =head2
10960 #: ../fish/guestfish-actions.pod:1932
10961 msgid "inotify-rm-watch"
10962 msgstr "inotify-rm-watch"
10963
10964 #. type: verbatim
10965 #: ../fish/guestfish-actions.pod:1934
10966 #, no-wrap
10967 msgid ""
10968 " inotify-rm-watch wd\n"
10969 "\n"
10970 msgstr ""
10971
10972 #. type: textblock
10973 #: ../fish/guestfish-actions.pod:1936
10974 msgid "Remove a previously defined inotify watch.  See L</inotify-add-watch>."
10975 msgstr ""
10976
10977 #. type: =head2
10978 #: ../fish/guestfish-actions.pod:1939
10979 msgid "inspect-get-arch"
10980 msgstr "inspect-get-arch"
10981
10982 #. type: verbatim
10983 #: ../fish/guestfish-actions.pod:1941
10984 #, no-wrap
10985 msgid ""
10986 " inspect-get-arch root\n"
10987 "\n"
10988 msgstr ""
10989 " inspect-get-arch корінь\n"
10990 "\n"
10991
10992 #. type: textblock
10993 #: ../fish/guestfish-actions.pod:1943
10994 msgid ""
10995 "This returns the architecture of the inspected operating system.  The "
10996 "possible return values are listed under L</file-architecture>."
10997 msgstr ""
10998
10999 #. type: textblock
11000 #: ../fish/guestfish-actions.pod:1947 ../src/guestfs-actions.pod:3084
11001 msgid ""
11002 "If the architecture could not be determined, then the string C<unknown> is "
11003 "returned."
11004 msgstr ""
11005
11006 #. type: textblock
11007 #: ../fish/guestfish-actions.pod:1950 ../fish/guestfish-actions.pod:2045
11008 #: ../fish/guestfish-actions.pod:2124 ../fish/guestfish-actions.pod:2136
11009 #: ../fish/guestfish-actions.pod:2220 ../fish/guestfish-actions.pod:2282
11010 #: ../fish/guestfish-actions.pod:2303 ../fish/guestfish-actions.pod:2317
11011 #: ../fish/guestfish-actions.pod:2357 ../fish/guestfish-actions.pod:2397
11012 #: ../fish/guestfish-actions.pod:2410 ../fish/guestfish-actions.pod:2423
11013 #: ../fish/guestfish-actions.pod:2433 ../fish/guestfish-actions.pod:2443
11014 #: ../fish/guestfish-actions.pod:2455 ../fish/guestfish-actions.pod:2551
11015 #: ../fish/guestfish-actions.pod:2585 ../src/guestfs-actions.pod:3087
11016 #: ../src/guestfs-actions.pod:3189 ../src/guestfs-actions.pod:3293
11017 #: ../src/guestfs-actions.pod:3312 ../src/guestfs-actions.pod:3443
11018 #: ../src/guestfs-actions.pod:3527 ../src/guestfs-actions.pod:3555
11019 #: ../src/guestfs-actions.pod:3576 ../src/guestfs-actions.pod:3629
11020 #: ../src/guestfs-actions.pod:3677 ../src/guestfs-actions.pod:3697
11021 #: ../src/guestfs-actions.pod:3717 ../src/guestfs-actions.pod:3734
11022 #: ../src/guestfs-actions.pod:3750 ../src/guestfs-actions.pod:3768
11023 #: ../src/guestfs-actions.pod:3870 ../src/guestfs-actions.pod:3911
11024 msgid "Please read L<guestfs(3)/INSPECTION> for more details."
11025 msgstr ""
11026
11027 #. type: =head2
11028 #: ../fish/guestfish-actions.pod:1952
11029 msgid "inspect-get-distro"
11030 msgstr "inspect-get-distro"
11031
11032 #. type: verbatim
11033 #: ../fish/guestfish-actions.pod:1954
11034 #, no-wrap
11035 msgid ""
11036 " inspect-get-distro root\n"
11037 "\n"
11038 msgstr ""
11039 " inspect-get-distro корінь\n"
11040 "\n"
11041
11042 #. type: textblock
11043 #: ../fish/guestfish-actions.pod:1956 ../src/guestfs-actions.pod:3100
11044 msgid ""
11045 "This returns the distro (distribution) of the inspected operating system."
11046 msgstr ""
11047
11048 #. type: textblock
11049 #: ../fish/guestfish-actions.pod:1959 ../src/guestfs-actions.pod:3103
11050 msgid "Currently defined distros are:"
11051 msgstr ""
11052
11053 #. type: =item
11054 #: ../fish/guestfish-actions.pod:1963 ../src/guestfs-actions.pod:3107
11055 msgid "\"archlinux\""
11056 msgstr "\"archlinux\""
11057
11058 #. type: textblock
11059 #: ../fish/guestfish-actions.pod:1965 ../src/guestfs-actions.pod:3109
11060 msgid "Arch Linux."
11061 msgstr "Arch Linux."
11062
11063 #. type: =item
11064 #: ../fish/guestfish-actions.pod:1967 ../src/guestfs-actions.pod:3111
11065 msgid "\"centos\""
11066 msgstr ""
11067
11068 #. type: textblock
11069 #: ../fish/guestfish-actions.pod:1969 ../src/guestfs-actions.pod:3113
11070 msgid "CentOS."
11071 msgstr ""
11072
11073 #. type: =item
11074 #: ../fish/guestfish-actions.pod:1971 ../src/guestfs-actions.pod:3115
11075 msgid "\"debian\""
11076 msgstr "\"debian\""
11077
11078 #. type: textblock
11079 #: ../fish/guestfish-actions.pod:1973 ../src/guestfs-actions.pod:3117
11080 msgid "Debian."
11081 msgstr "Debian."
11082
11083 #. type: =item
11084 #: ../fish/guestfish-actions.pod:1975 ../src/guestfs-actions.pod:3119
11085 msgid "\"fedora\""
11086 msgstr "\"fedora\""
11087
11088 #. type: textblock
11089 #: ../fish/guestfish-actions.pod:1977 ../src/guestfs-actions.pod:3121
11090 msgid "Fedora."
11091 msgstr "Fedora."
11092
11093 #. type: =item
11094 #: ../fish/guestfish-actions.pod:1979 ../src/guestfs-actions.pod:3123
11095 msgid "\"gentoo\""
11096 msgstr "\"gentoo\""
11097
11098 #. type: textblock
11099 #: ../fish/guestfish-actions.pod:1981 ../src/guestfs-actions.pod:3125
11100 msgid "Gentoo."
11101 msgstr "Gentoo."
11102
11103 #. type: =item
11104 #: ../fish/guestfish-actions.pod:1983 ../src/guestfs-actions.pod:3127
11105 msgid "\"linuxmint\""
11106 msgstr "\"linuxmint\""
11107
11108 #. type: textblock
11109 #: ../fish/guestfish-actions.pod:1985 ../src/guestfs-actions.pod:3129
11110 msgid "Linux Mint."
11111 msgstr "Linux Mint."
11112
11113 #. type: =item
11114 #: ../fish/guestfish-actions.pod:1987 ../src/guestfs-actions.pod:3131
11115 msgid "\"mageia\""
11116 msgstr ""
11117
11118 #. type: textblock
11119 #: ../fish/guestfish-actions.pod:1989 ../src/guestfs-actions.pod:3133
11120 msgid "Mageia."
11121 msgstr ""
11122
11123 #. type: =item
11124 #: ../fish/guestfish-actions.pod:1991 ../src/guestfs-actions.pod:3135
11125 msgid "\"mandriva\""
11126 msgstr "\"mandriva\""
11127
11128 #. type: textblock
11129 #: ../fish/guestfish-actions.pod:1993 ../src/guestfs-actions.pod:3137
11130 msgid "Mandriva."
11131 msgstr "Mandriva."
11132
11133 #. type: =item
11134 #: ../fish/guestfish-actions.pod:1995 ../src/guestfs-actions.pod:3139
11135 msgid "\"meego\""
11136 msgstr "\"meego\""
11137
11138 #. type: textblock
11139 #: ../fish/guestfish-actions.pod:1997 ../src/guestfs-actions.pod:3141
11140 msgid "MeeGo."
11141 msgstr "MeeGo."
11142
11143 #. type: =item
11144 #: ../fish/guestfish-actions.pod:1999 ../src/guestfs-actions.pod:3143
11145 msgid "\"opensuse\""
11146 msgstr ""
11147
11148 #. type: textblock
11149 #: ../fish/guestfish-actions.pod:2001 ../src/guestfs-actions.pod:3145
11150 msgid "OpenSUSE."
11151 msgstr ""
11152
11153 #. type: =item
11154 #: ../fish/guestfish-actions.pod:2003 ../src/guestfs-actions.pod:3147
11155 msgid "\"pardus\""
11156 msgstr "\"pardus\""
11157
11158 #. type: textblock
11159 #: ../fish/guestfish-actions.pod:2005 ../src/guestfs-actions.pod:3149
11160 msgid "Pardus."
11161 msgstr "Pardus."
11162
11163 #. type: =item
11164 #: ../fish/guestfish-actions.pod:2007 ../src/guestfs-actions.pod:3151
11165 msgid "\"redhat-based\""
11166 msgstr "\"redhat-based\""
11167
11168 #. type: textblock
11169 #: ../fish/guestfish-actions.pod:2009 ../src/guestfs-actions.pod:3153
11170 msgid "Some Red Hat-derived distro."
11171 msgstr "Дистрибутив, що походить від Red Hat."
11172
11173 #. type: =item
11174 #: ../fish/guestfish-actions.pod:2011 ../src/guestfs-actions.pod:3155
11175 msgid "\"rhel\""
11176 msgstr "\"rhel\""
11177
11178 #. type: textblock
11179 #: ../fish/guestfish-actions.pod:2013 ../src/guestfs-actions.pod:3157
11180 msgid "Red Hat Enterprise Linux."
11181 msgstr "Red Hat Enterprise Linux."
11182
11183 #. type: =item
11184 #: ../fish/guestfish-actions.pod:2015 ../src/guestfs-actions.pod:3159
11185 msgid "\"scientificlinux\""
11186 msgstr "\"scientificlinux\""
11187
11188 #. type: textblock
11189 #: ../fish/guestfish-actions.pod:2017 ../src/guestfs-actions.pod:3161
11190 msgid "Scientific Linux."
11191 msgstr "Scientific Linux."
11192
11193 #. type: =item
11194 #: ../fish/guestfish-actions.pod:2019 ../src/guestfs-actions.pod:3163
11195 msgid "\"slackware\""
11196 msgstr "\"slackware\""
11197
11198 #. type: textblock
11199 #: ../fish/guestfish-actions.pod:2021 ../src/guestfs-actions.pod:3165
11200 msgid "Slackware."
11201 msgstr "Slackware."
11202
11203 #. type: =item
11204 #: ../fish/guestfish-actions.pod:2023 ../src/guestfs-actions.pod:3167
11205 msgid "\"ttylinux\""
11206 msgstr ""
11207
11208 #. type: textblock
11209 #: ../fish/guestfish-actions.pod:2025 ../src/guestfs-actions.pod:3169
11210 msgid "ttylinux."
11211 msgstr ""
11212
11213 #. type: =item
11214 #: ../fish/guestfish-actions.pod:2027 ../src/guestfs-actions.pod:3171
11215 msgid "\"ubuntu\""
11216 msgstr "\"ubuntu\""
11217
11218 #. type: textblock
11219 #: ../fish/guestfish-actions.pod:2029 ../src/guestfs-actions.pod:3173
11220 msgid "Ubuntu."
11221 msgstr "Ubuntu."
11222
11223 #. type: =item
11224 #: ../fish/guestfish-actions.pod:2031 ../fish/guestfish-actions.pod:2115
11225 #: ../fish/guestfish-actions.pod:2388 ../src/guestfs-actions.pod:3175
11226 #: ../src/guestfs-actions.pod:3284 ../src/guestfs-actions.pod:3668
11227 msgid "\"unknown\""
11228 msgstr "\"unknown\""
11229
11230 #. type: textblock
11231 #: ../fish/guestfish-actions.pod:2033 ../src/guestfs-actions.pod:3177
11232 msgid "The distro could not be determined."
11233 msgstr "Дистрибутив, тип якого не вдалося визначити."
11234
11235 #. type: =item
11236 #: ../fish/guestfish-actions.pod:2035 ../fish/guestfish-actions.pod:2372
11237 #: ../src/guestfs-actions.pod:3179 ../src/guestfs-actions.pod:3652
11238 msgid "\"windows\""
11239 msgstr "\"windows\""
11240
11241 #. type: textblock
11242 #: ../fish/guestfish-actions.pod:2037 ../src/guestfs-actions.pod:3181
11243 msgid ""
11244 "Windows does not have distributions.  This string is returned if the OS type "
11245 "is Windows."
11246 msgstr ""
11247
11248 #. type: textblock
11249 #: ../fish/guestfish-actions.pod:2042 ../fish/guestfish-actions.pod:2121
11250 #: ../fish/guestfish-actions.pod:2394 ../src/guestfs-actions.pod:3186
11251 #: ../src/guestfs-actions.pod:3290 ../src/guestfs-actions.pod:3674
11252 msgid ""
11253 "Future versions of libguestfs may return other strings here.  The caller "
11254 "should be prepared to handle any string."
11255 msgstr ""
11256
11257 #. type: =head2
11258 #: ../fish/guestfish-actions.pod:2047
11259 msgid "inspect-get-drive-mappings"
11260 msgstr ""
11261
11262 #. type: verbatim
11263 #: ../fish/guestfish-actions.pod:2049
11264 #, no-wrap
11265 msgid ""
11266 " inspect-get-drive-mappings root\n"
11267 "\n"
11268 msgstr ""
11269
11270 #. type: textblock
11271 #: ../fish/guestfish-actions.pod:2051 ../src/guestfs-actions.pod:3202
11272 msgid ""
11273 "This call is useful for Windows which uses a primitive system of assigning "
11274 "drive letters (like \"C:\") to partitions.  This inspection API examines the "
11275 "Windows Registry to find out how disks/partitions are mapped to drive "
11276 "letters, and returns a hash table as in the example below:"
11277 msgstr ""
11278
11279 #. type: verbatim
11280 #: ../fish/guestfish-actions.pod:2057 ../src/guestfs-actions.pod:3208
11281 #, no-wrap
11282 msgid ""
11283 " C      =>     /dev/vda2\n"
11284 " E      =>     /dev/vdb1\n"
11285 " F      =>     /dev/vdc1\n"
11286 "\n"
11287 msgstr ""
11288
11289 #. type: textblock
11290 #: ../fish/guestfish-actions.pod:2061 ../src/guestfs-actions.pod:3212
11291 msgid ""
11292 "Note that keys are drive letters.  For Windows, the key is case insensitive "
11293 "and just contains the drive letter, without the customary colon separator "
11294 "character."
11295 msgstr ""
11296
11297 #. type: textblock
11298 #: ../fish/guestfish-actions.pod:2065 ../src/guestfs-actions.pod:3216
11299 msgid ""
11300 "In future we may support other operating systems that also used drive "
11301 "letters, but the keys for those might not be case insensitive and might be "
11302 "longer than 1 character.  For example in OS-9, hard drives were named C<h0>, "
11303 "C<h1> etc."
11304 msgstr ""
11305
11306 #. type: textblock
11307 #: ../fish/guestfish-actions.pod:2070 ../src/guestfs-actions.pod:3221
11308 msgid ""
11309 "For Windows guests, currently only hard drive mappings are returned.  "
11310 "Removable disks (eg. DVD-ROMs) are ignored."
11311 msgstr ""
11312
11313 #. type: textblock
11314 #: ../fish/guestfish-actions.pod:2073 ../src/guestfs-actions.pod:3224
11315 msgid ""
11316 "For guests that do not use drive mappings, or if the drive mappings could "
11317 "not be determined, this returns an empty hash table."
11318 msgstr ""
11319
11320 #. type: textblock
11321 #: ../fish/guestfish-actions.pod:2076
11322 msgid ""
11323 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
11324 "get-mountpoints>, L</inspect-get-filesystems>."
11325 msgstr ""
11326
11327 #. type: =head2
11328 #: ../fish/guestfish-actions.pod:2080
11329 msgid "inspect-get-filesystems"
11330 msgstr "inspect-get-filesystems"
11331
11332 #. type: verbatim
11333 #: ../fish/guestfish-actions.pod:2082
11334 #, no-wrap
11335 msgid ""
11336 " inspect-get-filesystems root\n"
11337 "\n"
11338 msgstr ""
11339 " inspect-get-filesystems корінь\n"
11340 "\n"
11341
11342 #. type: textblock
11343 #: ../fish/guestfish-actions.pod:2084 ../src/guestfs-actions.pod:3245
11344 msgid ""
11345 "This returns a list of all the filesystems that we think are associated with "
11346 "this operating system.  This includes the root filesystem, other ordinary "
11347 "filesystems, and non-mounted devices like swap partitions."
11348 msgstr ""
11349
11350 #. type: textblock
11351 #: ../fish/guestfish-actions.pod:2089 ../src/guestfs-actions.pod:3250
11352 msgid ""
11353 "In the case of a multi-boot virtual machine, it is possible for a filesystem "
11354 "to be shared between operating systems."
11355 msgstr ""
11356
11357 #. type: textblock
11358 #: ../fish/guestfish-actions.pod:2092
11359 msgid ""
11360 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
11361 "get-mountpoints>."
11362 msgstr ""
11363
11364 #. type: =head2
11365 #: ../fish/guestfish-actions.pod:2095
11366 msgid "inspect-get-format"
11367 msgstr "inspect-get-format"
11368
11369 #. type: verbatim
11370 #: ../fish/guestfish-actions.pod:2097
11371 #, no-wrap
11372 msgid ""
11373 " inspect-get-format root\n"
11374 "\n"
11375 msgstr ""
11376 " inspect-get-format корінь\n"
11377 "\n"
11378
11379 #. type: textblock
11380 #: ../fish/guestfish-actions.pod:2099 ../src/guestfs-actions.pod:3268
11381 msgid ""
11382 "This returns the format of the inspected operating system.  You can use it "
11383 "to detect install images, live CDs and similar."
11384 msgstr ""
11385
11386 #. type: textblock
11387 #: ../fish/guestfish-actions.pod:2102 ../src/guestfs-actions.pod:3271
11388 msgid "Currently defined formats are:"
11389 msgstr ""
11390
11391 #. type: =item
11392 #: ../fish/guestfish-actions.pod:2106 ../src/guestfs-actions.pod:3275
11393 msgid "\"installed\""
11394 msgstr "\"installed\""
11395
11396 #. type: textblock
11397 #: ../fish/guestfish-actions.pod:2108 ../src/guestfs-actions.pod:3277
11398 msgid "This is an installed operating system."
11399 msgstr "Це встановлена операційна система."
11400
11401 #. type: =item
11402 #: ../fish/guestfish-actions.pod:2110 ../src/guestfs-actions.pod:3279
11403 msgid "\"installer\""
11404 msgstr ""
11405
11406 #. type: textblock
11407 #: ../fish/guestfish-actions.pod:2112 ../src/guestfs-actions.pod:3281
11408 msgid ""
11409 "The disk image being inspected is not an installed operating system, but a "
11410 "I<bootable> install disk, live CD, or similar."
11411 msgstr ""
11412
11413 #. type: textblock
11414 #: ../fish/guestfish-actions.pod:2117 ../src/guestfs-actions.pod:3286
11415 msgid "The format of this disk image is not known."
11416 msgstr ""
11417
11418 #. type: =head2
11419 #: ../fish/guestfish-actions.pod:2126
11420 msgid "inspect-get-hostname"
11421 msgstr "inspect-get-hostname"
11422
11423 #. type: verbatim
11424 #: ../fish/guestfish-actions.pod:2128
11425 #, no-wrap
11426 msgid ""
11427 " inspect-get-hostname root\n"
11428 "\n"
11429 msgstr ""
11430 " inspect-get-hostname корінь\n"
11431 "\n"
11432
11433 #. type: textblock
11434 #: ../fish/guestfish-actions.pod:2130 ../src/guestfs-actions.pod:3306
11435 msgid ""
11436 "This function returns the hostname of the operating system as found by "
11437 "inspection of the guest's configuration files."
11438 msgstr ""
11439
11440 #. type: textblock
11441 #: ../fish/guestfish-actions.pod:2133 ../src/guestfs-actions.pod:3309
11442 msgid ""
11443 "If the hostname could not be determined, then the string C<unknown> is "
11444 "returned."
11445 msgstr ""
11446
11447 #. type: =head2
11448 #: ../fish/guestfish-actions.pod:2138
11449 msgid "inspect-get-icon"
11450 msgstr ""
11451
11452 #. type: verbatim
11453 #: ../fish/guestfish-actions.pod:2140
11454 #, no-wrap
11455 msgid ""
11456 " inspect-get-icon root [favicon:true|false] [highquality:true|false]\n"
11457 "\n"
11458 msgstr ""
11459
11460 #. type: textblock
11461 #: ../fish/guestfish-actions.pod:2142 ../src/guestfs-actions.pod:3335
11462 msgid ""
11463 "This function returns an icon corresponding to the inspected operating "
11464 "system.  The icon is returned as a buffer containing a PNG image (re-encoded "
11465 "to PNG if necessary)."
11466 msgstr ""
11467
11468 #. type: textblock
11469 #: ../fish/guestfish-actions.pod:2146 ../src/guestfs-actions.pod:3339
11470 msgid ""
11471 "If it was not possible to get an icon this function returns a zero-length "
11472 "(non-NULL) buffer.  I<Callers must check for this case>."
11473 msgstr ""
11474
11475 #. type: textblock
11476 #: ../fish/guestfish-actions.pod:2149 ../src/guestfs-actions.pod:3342
11477 msgid ""
11478 "Libguestfs will start by looking for a file called C</etc/favicon.png> or "
11479 "C<C:\\etc\\favicon.png> and if it has the correct format, the contents of "
11480 "this file will be returned.  You can disable favicons by passing the "
11481 "optional C<favicon> boolean as false (default is true)."
11482 msgstr ""
11483
11484 #. type: textblock
11485 #: ../fish/guestfish-actions.pod:2155 ../src/guestfs-actions.pod:3348
11486 msgid ""
11487 "If finding the favicon fails, then we look in other places in the guest for "
11488 "a suitable icon."
11489 msgstr ""
11490
11491 #. type: textblock
11492 #: ../fish/guestfish-actions.pod:2158 ../src/guestfs-actions.pod:3351
11493 msgid ""
11494 "If the optional C<highquality> boolean is true then only high quality icons "
11495 "are returned, which means only icons of high resolution with an alpha "
11496 "channel.  The default (false) is to return any icon we can, even if it is of "
11497 "substandard quality."
11498 msgstr ""
11499
11500 #. type: textblock
11501 #: ../fish/guestfish-actions.pod:2169 ../src/guestfs-actions.pod:3362
11502 msgid ""
11503 "Unlike most other inspection API calls, the guest's disks must be mounted up "
11504 "before you call this, since it needs to read information from the guest "
11505 "filesystem during the call."
11506 msgstr ""
11507
11508 #. type: textblock
11509 #: ../fish/guestfish-actions.pod:2175 ../src/guestfs-actions.pod:3368
11510 msgid ""
11511 "B<Security:> The icon data comes from the untrusted guest, and should be "
11512 "treated with caution.  PNG files have been known to contain exploits.  "
11513 "Ensure that libpng (or other relevant libraries) are fully up to date before "
11514 "trying to process or display the icon."
11515 msgstr ""
11516
11517 #. type: textblock
11518 #: ../fish/guestfish-actions.pod:2183 ../src/guestfs-actions.pod:3376
11519 msgid ""
11520 "The PNG image returned can be any size.  It might not be square.  Libguestfs "
11521 "tries to return the largest, highest quality icon available.  The "
11522 "application must scale the icon to the required size."
11523 msgstr ""
11524
11525 #. type: textblock
11526 #: ../fish/guestfish-actions.pod:2190 ../src/guestfs-actions.pod:3383
11527 msgid ""
11528 "Extracting icons from Windows guests requires the external C<wrestool> "
11529 "program from the C<icoutils> package, and several programs (C<bmptopnm>, "
11530 "C<pnmtopng>, C<pamcut>)  from the C<netpbm> package.  These must be "
11531 "installed separately."
11532 msgstr ""
11533
11534 #. type: textblock
11535 #: ../fish/guestfish-actions.pod:2197 ../src/guestfs-actions.pod:3390
11536 msgid ""
11537 "Operating system icons are usually trademarks.  Seek legal advice before "
11538 "using trademarks in applications."
11539 msgstr ""
11540
11541 #. type: =head2
11542 #: ../fish/guestfish-actions.pod:2204
11543 msgid "inspect-get-major-version"
11544 msgstr "inspect-get-major-version"
11545
11546 #. type: verbatim
11547 #: ../fish/guestfish-actions.pod:2206
11548 #, no-wrap
11549 msgid ""
11550 " inspect-get-major-version root\n"
11551 "\n"
11552 msgstr ""
11553 " inspect-get-major-version корінь\n"
11554 "\n"
11555
11556 #. type: textblock
11557 #: ../fish/guestfish-actions.pod:2208 ../src/guestfs-actions.pod:3431
11558 msgid ""
11559 "This returns the major version number of the inspected operating system."
11560 msgstr ""
11561
11562 #. type: textblock
11563 #: ../fish/guestfish-actions.pod:2211 ../src/guestfs-actions.pod:3434
11564 msgid ""
11565 "Windows uses a consistent versioning scheme which is I<not> reflected in the "
11566 "popular public names used by the operating system.  Notably the operating "
11567 "system known as \"Windows 7\" is really version 6.1 (ie. major = 6, minor = "
11568 "1).  You can find out the real versions corresponding to releases of Windows "
11569 "by consulting Wikipedia or MSDN."
11570 msgstr ""
11571
11572 #. type: textblock
11573 #: ../fish/guestfish-actions.pod:2218 ../fish/guestfish-actions.pod:2229
11574 #: ../src/guestfs-actions.pod:3441 ../src/guestfs-actions.pod:3458
11575 msgid "If the version could not be determined, then C<0> is returned."
11576 msgstr ""
11577
11578 #. type: =head2
11579 #: ../fish/guestfish-actions.pod:2222
11580 msgid "inspect-get-minor-version"
11581 msgstr "inspect-get-minor-version"
11582
11583 #. type: verbatim
11584 #: ../fish/guestfish-actions.pod:2224
11585 #, no-wrap
11586 msgid ""
11587 " inspect-get-minor-version root\n"
11588 "\n"
11589 msgstr ""
11590 " inspect-get-minor-version корінь\n"
11591 "\n"
11592
11593 #. type: textblock
11594 #: ../fish/guestfish-actions.pod:2226 ../src/guestfs-actions.pod:3455
11595 msgid ""
11596 "This returns the minor version number of the inspected operating system."
11597 msgstr ""
11598
11599 #. type: textblock
11600 #: ../fish/guestfish-actions.pod:2231
11601 msgid ""
11602 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
11603 "get-major-version>."
11604 msgstr ""
11605
11606 #. type: =head2
11607 #: ../fish/guestfish-actions.pod:2234
11608 msgid "inspect-get-mountpoints"
11609 msgstr "inspect-get-mountpoints"
11610
11611 #. type: verbatim
11612 #: ../fish/guestfish-actions.pod:2236
11613 #, no-wrap
11614 msgid ""
11615 " inspect-get-mountpoints root\n"
11616 "\n"
11617 msgstr ""
11618 " inspect-get-mountpoints корінь\n"
11619 "\n"
11620
11621 #. type: textblock
11622 #: ../fish/guestfish-actions.pod:2238 ../src/guestfs-actions.pod:3473
11623 msgid ""
11624 "This returns a hash of where we think the filesystems associated with this "
11625 "operating system should be mounted.  Callers should note that this is at "
11626 "best an educated guess made by reading configuration files such as C</etc/"
11627 "fstab>.  I<In particular note> that this may return filesystems which are "
11628 "non-existent or not mountable and callers should be prepared to handle or "
11629 "ignore failures if they try to mount them."
11630 msgstr ""
11631
11632 #. type: textblock
11633 #: ../fish/guestfish-actions.pod:2247 ../src/guestfs-actions.pod:3482
11634 msgid ""
11635 "Each element in the returned hashtable has a key which is the path of the "
11636 "mountpoint (eg. C</boot>) and a value which is the filesystem that would be "
11637 "mounted there (eg. C</dev/sda1>)."
11638 msgstr ""
11639
11640 #. type: textblock
11641 #: ../fish/guestfish-actions.pod:2252 ../src/guestfs-actions.pod:3487
11642 msgid ""
11643 "Non-mounted devices such as swap devices are I<not> returned in this list."
11644 msgstr ""
11645
11646 #. type: textblock
11647 #: ../fish/guestfish-actions.pod:2255
11648 msgid ""
11649 "For operating systems like Windows which still use drive letters, this call "
11650 "will only return an entry for the first drive \"mounted on\" C</>.  For "
11651 "information about the mapping of drive letters to partitions, see L</inspect-"
11652 "get-drive-mappings>."
11653 msgstr ""
11654
11655 #. type: textblock
11656 #: ../fish/guestfish-actions.pod:2261
11657 msgid ""
11658 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
11659 "get-filesystems>."
11660 msgstr ""
11661
11662 #. type: =head2
11663 #: ../fish/guestfish-actions.pod:2264
11664 msgid "inspect-get-package-format"
11665 msgstr "inspect-get-package-format"
11666
11667 #. type: verbatim
11668 #: ../fish/guestfish-actions.pod:2266
11669 #, no-wrap
11670 msgid ""
11671 " inspect-get-package-format root\n"
11672 "\n"
11673 msgstr ""
11674 " inspect-get-package-format корінь\n"
11675 "\n"
11676
11677 #. type: textblock
11678 #: ../fish/guestfish-actions.pod:2268
11679 msgid ""
11680 "This function and L</inspect-get-package-management> return the package "
11681 "format and package management tool used by the inspected operating system.  "
11682 "For example for Fedora these functions would return C<rpm> (package format) "
11683 "and C<yum> (package management)."
11684 msgstr ""
11685
11686 #. type: textblock
11687 #: ../fish/guestfish-actions.pod:2274 ../src/guestfs-actions.pod:3519
11688 msgid ""
11689 "This returns the string C<unknown> if we could not determine the package "
11690 "format I<or> if the operating system does not have a real packaging system "
11691 "(eg. Windows)."
11692 msgstr ""
11693
11694 #. type: textblock
11695 #: ../fish/guestfish-actions.pod:2278 ../src/guestfs-actions.pod:3523
11696 msgid ""
11697 "Possible strings include: C<rpm>, C<deb>, C<ebuild>, C<pisi>, C<pacman>, "
11698 "C<pkgsrc>.  Future versions of libguestfs may return other strings."
11699 msgstr ""
11700
11701 #. type: =head2
11702 #: ../fish/guestfish-actions.pod:2284
11703 msgid "inspect-get-package-management"
11704 msgstr "inspect-get-package-management"
11705
11706 #. type: verbatim
11707 #: ../fish/guestfish-actions.pod:2286
11708 #, no-wrap
11709 msgid ""
11710 " inspect-get-package-management root\n"
11711 "\n"
11712 msgstr ""
11713 " inspect-get-package-management корінь\n"
11714 "\n"
11715
11716 #. type: textblock
11717 #: ../fish/guestfish-actions.pod:2288
11718 msgid ""
11719 "L</inspect-get-package-format> and this function return the package format "
11720 "and package management tool used by the inspected operating system.  For "
11721 "example for Fedora these functions would return C<rpm> (package format) and "
11722 "C<yum> (package management)."
11723 msgstr ""
11724
11725 #. type: textblock
11726 #: ../fish/guestfish-actions.pod:2294 ../src/guestfs-actions.pod:3546
11727 msgid ""
11728 "This returns the string C<unknown> if we could not determine the package "
11729 "management tool I<or> if the operating system does not have a real packaging "
11730 "system (eg. Windows)."
11731 msgstr ""
11732
11733 #. type: textblock
11734 #: ../fish/guestfish-actions.pod:2298 ../src/guestfs-actions.pod:3550
11735 msgid ""
11736 "Possible strings include: C<yum>, C<up2date>, C<apt> (for all Debian "
11737 "derivatives), C<portage>, C<pisi>, C<pacman>, C<urpmi>, C<zypper>.  Future "
11738 "versions of libguestfs may return other strings."
11739 msgstr ""
11740
11741 #. type: =head2
11742 #: ../fish/guestfish-actions.pod:2305
11743 msgid "inspect-get-product-name"
11744 msgstr "inspect-get-product-name"
11745
11746 #. type: verbatim
11747 #: ../fish/guestfish-actions.pod:2307
11748 #, no-wrap
11749 msgid ""
11750 " inspect-get-product-name root\n"
11751 "\n"
11752 msgstr ""
11753 " inspect-get-product-name корінь\n"
11754 "\n"
11755
11756 #. type: textblock
11757 #: ../fish/guestfish-actions.pod:2309 ../src/guestfs-actions.pod:3568
11758 msgid ""
11759 "This returns the product name of the inspected operating system.  The "
11760 "product name is generally some freeform string which can be displayed to the "
11761 "user, but should not be parsed by programs."
11762 msgstr ""
11763
11764 #. type: textblock
11765 #: ../fish/guestfish-actions.pod:2314 ../src/guestfs-actions.pod:3573
11766 msgid ""
11767 "If the product name could not be determined, then the string C<unknown> is "
11768 "returned."
11769 msgstr ""
11770
11771 #. type: =head2
11772 #: ../fish/guestfish-actions.pod:2319
11773 msgid "inspect-get-product-variant"
11774 msgstr ""
11775
11776 #. type: verbatim
11777 #: ../fish/guestfish-actions.pod:2321
11778 #, no-wrap
11779 msgid ""
11780 " inspect-get-product-variant root\n"
11781 "\n"
11782 msgstr ""
11783
11784 #. type: textblock
11785 #: ../fish/guestfish-actions.pod:2323 ../src/guestfs-actions.pod:3589
11786 msgid "This returns the product variant of the inspected operating system."
11787 msgstr ""
11788
11789 #. type: textblock
11790 #: ../fish/guestfish-actions.pod:2326 ../src/guestfs-actions.pod:3592
11791 msgid ""
11792 "For Windows guests, this returns the contents of the Registry key C<HKLM"
11793 "\\Software\\Microsoft\\Windows NT\\CurrentVersion> C<InstallationType> which "
11794 "is usually a string such as C<Client> or C<Server> (other values are "
11795 "possible).  This can be used to distinguish consumer and enterprise versions "
11796 "of Windows that have the same version number (for example, Windows 7 and "
11797 "Windows 2008 Server are both version 6.1, but the former is C<Client> and "
11798 "the latter is C<Server>)."
11799 msgstr ""
11800
11801 #. type: textblock
11802 #: ../fish/guestfish-actions.pod:2335 ../src/guestfs-actions.pod:3601
11803 msgid ""
11804 "For enterprise Linux guests, in future we intend this to return the product "
11805 "variant such as C<Desktop>, C<Server> and so on.  But this is not "
11806 "implemented at present."
11807 msgstr ""
11808
11809 #. type: textblock
11810 #: ../fish/guestfish-actions.pod:2339 ../src/guestfs-actions.pod:3605
11811 msgid ""
11812 "If the product variant could not be determined, then the string C<unknown> "
11813 "is returned."
11814 msgstr ""
11815
11816 #. type: textblock
11817 #: ../fish/guestfish-actions.pod:2342
11818 msgid ""
11819 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
11820 "get-product-name>, L</inspect-get-major-version>."
11821 msgstr ""
11822
11823 #. type: =head2
11824 #: ../fish/guestfish-actions.pod:2346
11825 msgid "inspect-get-roots"
11826 msgstr "inspect-get-roots"
11827
11828 #. type: verbatim
11829 #: ../fish/guestfish-actions.pod:2348
11830 #, no-wrap
11831 msgid ""
11832 " inspect-get-roots\n"
11833 "\n"
11834 msgstr ""
11835 " inspect-get-roots\n"
11836 "\n"
11837
11838 #. type: textblock
11839 #: ../fish/guestfish-actions.pod:2350
11840 msgid ""
11841 "This function is a convenient way to get the list of root devices, as "
11842 "returned from a previous call to L</inspect-os>, but without redoing the "
11843 "whole inspection process."
11844 msgstr ""
11845
11846 #. type: textblock
11847 #: ../fish/guestfish-actions.pod:2354
11848 msgid ""
11849 "This returns an empty list if either no root devices were found or the "
11850 "caller has not called L</inspect-os>."
11851 msgstr ""
11852
11853 #. type: =head2
11854 #: ../fish/guestfish-actions.pod:2359
11855 msgid "inspect-get-type"
11856 msgstr "inspect-get-type"
11857
11858 #. type: verbatim
11859 #: ../fish/guestfish-actions.pod:2361
11860 #, no-wrap
11861 msgid ""
11862 " inspect-get-type root\n"
11863 "\n"
11864 msgstr ""
11865 " inspect-get-type корінь\n"
11866 "\n"
11867
11868 #. type: textblock
11869 #: ../fish/guestfish-actions.pod:2363 ../src/guestfs-actions.pod:3643
11870 msgid ""
11871 "This returns the type of the inspected operating system.  Currently defined "
11872 "types are:"
11873 msgstr ""
11874
11875 #. type: =item
11876 #: ../fish/guestfish-actions.pod:2368 ../src/guestfs-actions.pod:3648
11877 msgid "\"linux\""
11878 msgstr "\"linux\""
11879
11880 #. type: textblock
11881 #: ../fish/guestfish-actions.pod:2370 ../src/guestfs-actions.pod:3650
11882 msgid "Any Linux-based operating system."
11883 msgstr ""
11884
11885 #. type: textblock
11886 #: ../fish/guestfish-actions.pod:2374 ../src/guestfs-actions.pod:3654
11887 msgid "Any Microsoft Windows operating system."
11888 msgstr ""
11889
11890 #. type: =item
11891 #: ../fish/guestfish-actions.pod:2376 ../src/guestfs-actions.pod:3656
11892 msgid "\"freebsd\""
11893 msgstr "\"freebsd\""
11894
11895 #. type: textblock
11896 #: ../fish/guestfish-actions.pod:2378 ../src/guestfs-actions.pod:3658
11897 msgid "FreeBSD."
11898 msgstr "FreeBSD."
11899
11900 #. type: =item
11901 #: ../fish/guestfish-actions.pod:2380 ../src/guestfs-actions.pod:3660
11902 msgid "\"netbsd\""
11903 msgstr ""
11904
11905 #. type: textblock
11906 #: ../fish/guestfish-actions.pod:2382 ../src/guestfs-actions.pod:3662
11907 msgid "NetBSD."
11908 msgstr ""
11909
11910 #. type: =item
11911 #: ../fish/guestfish-actions.pod:2384 ../src/guestfs-actions.pod:3664
11912 msgid "\"hurd\""
11913 msgstr ""
11914
11915 #. type: textblock
11916 #: ../fish/guestfish-actions.pod:2386 ../src/guestfs-actions.pod:3666
11917 msgid "GNU/Hurd."
11918 msgstr ""
11919
11920 #. type: textblock
11921 #: ../fish/guestfish-actions.pod:2390 ../src/guestfs-actions.pod:3670
11922 msgid "The operating system type could not be determined."
11923 msgstr ""
11924
11925 #. type: =head2
11926 #: ../fish/guestfish-actions.pod:2399
11927 msgid "inspect-get-windows-current-control-set"
11928 msgstr ""
11929
11930 #. type: verbatim
11931 #: ../fish/guestfish-actions.pod:2401
11932 #, no-wrap
11933 msgid ""
11934 " inspect-get-windows-current-control-set root\n"
11935 "\n"
11936 msgstr ""
11937
11938 #. type: textblock
11939 #: ../fish/guestfish-actions.pod:2403 ../src/guestfs-actions.pod:3690
11940 msgid ""
11941 "This returns the Windows CurrentControlSet of the inspected guest.  The "
11942 "CurrentControlSet is a registry key name such as C<ControlSet001>."
11943 msgstr ""
11944
11945 #. type: textblock
11946 #: ../fish/guestfish-actions.pod:2406 ../src/guestfs-actions.pod:3693
11947 msgid ""
11948 "This call assumes that the guest is Windows and that the Registry could be "
11949 "examined by inspection.  If this is not the case then an error is returned."
11950 msgstr ""
11951
11952 #. type: =head2
11953 #: ../fish/guestfish-actions.pod:2412
11954 msgid "inspect-get-windows-systemroot"
11955 msgstr "inspect-get-windows-systemroot"
11956
11957 #. type: verbatim
11958 #: ../fish/guestfish-actions.pod:2414
11959 #, no-wrap
11960 msgid ""
11961 " inspect-get-windows-systemroot root\n"
11962 "\n"
11963 msgstr ""
11964 " inspect-get-windows-systemroot корінь\n"
11965 "\n"
11966
11967 #. type: textblock
11968 #: ../fish/guestfish-actions.pod:2416 ../src/guestfs-actions.pod:3710
11969 msgid ""
11970 "This returns the Windows systemroot of the inspected guest.  The systemroot "
11971 "is a directory path such as C</WINDOWS>."
11972 msgstr ""
11973
11974 #. type: textblock
11975 #: ../fish/guestfish-actions.pod:2419 ../src/guestfs-actions.pod:3713
11976 msgid ""
11977 "This call assumes that the guest is Windows and that the systemroot could be "
11978 "determined by inspection.  If this is not the case then an error is returned."
11979 msgstr ""
11980
11981 #. type: =head2
11982 #: ../fish/guestfish-actions.pod:2425
11983 msgid "inspect-is-live"
11984 msgstr "inspect-is-live"
11985
11986 #. type: verbatim
11987 #: ../fish/guestfish-actions.pod:2427
11988 #, no-wrap
11989 msgid ""
11990 " inspect-is-live root\n"
11991 "\n"
11992 msgstr ""
11993 " inspect-is-live корінь\n"
11994 "\n"
11995
11996 #. type: textblock
11997 #: ../fish/guestfish-actions.pod:2429
11998 msgid ""
11999 "If L</inspect-get-format> returns C<installer> (this is an install disk), "
12000 "then this returns true if a live image was detected on the disk."
12001 msgstr ""
12002
12003 #. type: =head2
12004 #: ../fish/guestfish-actions.pod:2435
12005 msgid "inspect-is-multipart"
12006 msgstr "inspect-is-multipart"
12007
12008 #. type: verbatim
12009 #: ../fish/guestfish-actions.pod:2437
12010 #, no-wrap
12011 msgid ""
12012 " inspect-is-multipart root\n"
12013 "\n"
12014 msgstr ""
12015 " inspect-is-multipart корінь\n"
12016 "\n"
12017
12018 #. type: textblock
12019 #: ../fish/guestfish-actions.pod:2439
12020 msgid ""
12021 "If L</inspect-get-format> returns C<installer> (this is an install disk), "
12022 "then this returns true if the disk is part of a set."
12023 msgstr ""
12024
12025 #. type: =head2
12026 #: ../fish/guestfish-actions.pod:2445
12027 msgid "inspect-is-netinst"
12028 msgstr "inspect-is-netinst"
12029
12030 #. type: verbatim
12031 #: ../fish/guestfish-actions.pod:2447
12032 #, no-wrap
12033 msgid ""
12034 " inspect-is-netinst root\n"
12035 "\n"
12036 msgstr ""
12037 " inspect-is-netinst корінь\n"
12038 "\n"
12039
12040 #. type: textblock
12041 #: ../fish/guestfish-actions.pod:2449
12042 msgid ""
12043 "If L</inspect-get-format> returns C<installer> (this is an install disk), "
12044 "then this returns true if the disk is a network installer, ie. not a self-"
12045 "contained install CD but one which is likely to require network access to "
12046 "complete the install."
12047 msgstr ""
12048
12049 #. type: =head2
12050 #: ../fish/guestfish-actions.pod:2457
12051 msgid "inspect-list-applications"
12052 msgstr "inspect-list-applications"
12053
12054 #. type: verbatim
12055 #: ../fish/guestfish-actions.pod:2459
12056 #, no-wrap
12057 msgid ""
12058 " inspect-list-applications root\n"
12059 "\n"
12060 msgstr ""
12061 " inspect-list-applications кореневий_каталог\n"
12062 "\n"
12063
12064 #. type: textblock
12065 #: ../fish/guestfish-actions.pod:2461 ../src/guestfs-actions.pod:3780
12066 msgid "Return the list of applications installed in the operating system."
12067 msgstr ""
12068
12069 #. type: textblock
12070 #: ../fish/guestfish-actions.pod:2463
12071 msgid ""
12072 "I<Note:> This call works differently from other parts of the inspection "
12073 "API.  You have to call L</inspect-os>, then L</inspect-get-mountpoints>, "
12074 "then mount up the disks, before calling this.  Listing applications is a "
12075 "significantly more difficult operation which requires access to the full "
12076 "filesystem.  Also note that unlike the other L</inspect-get-*> calls which "
12077 "are just returning data cached in the libguestfs handle, this call actually "
12078 "reads parts of the mounted filesystems during the call."
12079 msgstr ""
12080
12081 #. type: textblock
12082 #: ../fish/guestfish-actions.pod:2473 ../src/guestfs-actions.pod:3792
12083 msgid ""
12084 "This returns an empty list if the inspection code was not able to determine "
12085 "the list of applications."
12086 msgstr ""
12087
12088 #. type: textblock
12089 #: ../fish/guestfish-actions.pod:2476 ../src/guestfs-actions.pod:3795
12090 msgid "The application structure contains the following fields:"
12091 msgstr ""
12092
12093 #. type: =item
12094 #: ../fish/guestfish-actions.pod:2480 ../src/guestfs-actions.pod:3799
12095 msgid "C<app_name>"
12096 msgstr "C<app_name>"
12097
12098 #. type: textblock
12099 #: ../fish/guestfish-actions.pod:2482 ../src/guestfs-actions.pod:3801
12100 msgid ""
12101 "The name of the application.  For Red Hat-derived and Debian-derived Linux "
12102 "guests, this is the package name."
12103 msgstr ""
12104
12105 #. type: =item
12106 #: ../fish/guestfish-actions.pod:2485 ../src/guestfs-actions.pod:3804
12107 msgid "C<app_display_name>"
12108 msgstr "C<app_display_name>"
12109
12110 #. type: textblock
12111 #: ../fish/guestfish-actions.pod:2487 ../src/guestfs-actions.pod:3806
12112 msgid ""
12113 "The display name of the application, sometimes localized to the install "
12114 "language of the guest operating system."
12115 msgstr ""
12116
12117 #. type: textblock
12118 #: ../fish/guestfish-actions.pod:2490 ../src/guestfs-actions.pod:3809
12119 msgid ""
12120 "If unavailable this is returned as an empty string C<\"\">.  Callers needing "
12121 "to display something can use C<app_name> instead."
12122 msgstr ""
12123
12124 #. type: =item
12125 #: ../fish/guestfish-actions.pod:2493 ../src/guestfs-actions.pod:3812
12126 msgid "C<app_epoch>"
12127 msgstr "C<app_epoch>"
12128
12129 #. type: textblock
12130 #: ../fish/guestfish-actions.pod:2495 ../src/guestfs-actions.pod:3814
12131 msgid ""
12132 "For package managers which use epochs, this contains the epoch of the "
12133 "package (an integer).  If unavailable, this is returned as C<0>."
12134 msgstr ""
12135
12136 #. type: =item
12137 #: ../fish/guestfish-actions.pod:2498 ../src/guestfs-actions.pod:3817
12138 msgid "C<app_version>"
12139 msgstr "C<app_version>"
12140
12141 #. type: textblock
12142 #: ../fish/guestfish-actions.pod:2500 ../src/guestfs-actions.pod:3819
12143 msgid ""
12144 "The version string of the application or package.  If unavailable this is "
12145 "returned as an empty string C<\"\">."
12146 msgstr ""
12147
12148 #. type: =item
12149 #: ../fish/guestfish-actions.pod:2503 ../src/guestfs-actions.pod:3822
12150 msgid "C<app_release>"
12151 msgstr "C<app_release>"
12152
12153 #. type: textblock
12154 #: ../fish/guestfish-actions.pod:2505 ../src/guestfs-actions.pod:3824
12155 msgid ""
12156 "The release string of the application or package, for package managers that "
12157 "use this.  If unavailable this is returned as an empty string C<\"\">."
12158 msgstr ""
12159
12160 #. type: =item
12161 #: ../fish/guestfish-actions.pod:2509 ../src/guestfs-actions.pod:3828
12162 msgid "C<app_install_path>"
12163 msgstr "C<app_install_path>"
12164
12165 #. type: textblock
12166 #: ../fish/guestfish-actions.pod:2511 ../src/guestfs-actions.pod:3830
12167 msgid ""
12168 "The installation path of the application (on operating systems such as "
12169 "Windows which use installation paths).  This path is in the format used by "
12170 "the guest operating system, it is not a libguestfs path."
12171 msgstr ""
12172
12173 #. type: textblock
12174 #: ../fish/guestfish-actions.pod:2516 ../src/guestfs-actions.pod:3835
12175 msgid "If unavailable this is returned as an empty string C<\"\">."
12176 msgstr ""
12177
12178 #. type: =item
12179 #: ../fish/guestfish-actions.pod:2518 ../src/guestfs-actions.pod:3837
12180 msgid "C<app_trans_path>"
12181 msgstr "C<app_trans_path>"
12182
12183 #. type: textblock
12184 #: ../fish/guestfish-actions.pod:2520 ../src/guestfs-actions.pod:3839
12185 msgid ""
12186 "The install path translated into a libguestfs path.  If unavailable this is "
12187 "returned as an empty string C<\"\">."
12188 msgstr ""
12189
12190 #. type: =item
12191 #: ../fish/guestfish-actions.pod:2523 ../src/guestfs-actions.pod:3842
12192 msgid "C<app_publisher>"
12193 msgstr "C<app_publisher>"
12194
12195 #. type: textblock
12196 #: ../fish/guestfish-actions.pod:2525 ../src/guestfs-actions.pod:3844
12197 msgid ""
12198 "The name of the publisher of the application, for package managers that use "
12199 "this.  If unavailable this is returned as an empty string C<\"\">."
12200 msgstr ""
12201
12202 #. type: =item
12203 #: ../fish/guestfish-actions.pod:2529 ../src/guestfs-actions.pod:3848
12204 msgid "C<app_url>"
12205 msgstr "C<app_url>"
12206
12207 #. type: textblock
12208 #: ../fish/guestfish-actions.pod:2531 ../src/guestfs-actions.pod:3850
12209 msgid ""
12210 "The URL (eg. upstream URL) of the application.  If unavailable this is "
12211 "returned as an empty string C<\"\">."
12212 msgstr ""
12213
12214 #. type: =item
12215 #: ../fish/guestfish-actions.pod:2534 ../src/guestfs-actions.pod:3853
12216 msgid "C<app_source_package>"
12217 msgstr "C<app_source_package>"
12218
12219 #. type: textblock
12220 #: ../fish/guestfish-actions.pod:2536 ../src/guestfs-actions.pod:3855
12221 msgid ""
12222 "For packaging systems which support this, the name of the source package.  "
12223 "If unavailable this is returned as an empty string C<\"\">."
12224 msgstr ""
12225
12226 #. type: =item
12227 #: ../fish/guestfish-actions.pod:2539 ../src/guestfs-actions.pod:3858
12228 msgid "C<app_summary>"
12229 msgstr "C<app_summary>"
12230
12231 #. type: textblock
12232 #: ../fish/guestfish-actions.pod:2541 ../src/guestfs-actions.pod:3860
12233 msgid ""
12234 "A short (usually one line) description of the application or package.  If "
12235 "unavailable this is returned as an empty string C<\"\">."
12236 msgstr ""
12237
12238 #. type: =item
12239 #: ../fish/guestfish-actions.pod:2544 ../src/guestfs-actions.pod:3863
12240 msgid "C<app_description>"
12241 msgstr "C<app_description>"
12242
12243 #. type: textblock
12244 #: ../fish/guestfish-actions.pod:2546 ../src/guestfs-actions.pod:3865
12245 msgid ""
12246 "A longer description of the application or package.  If unavailable this is "
12247 "returned as an empty string C<\"\">."
12248 msgstr ""
12249
12250 #. type: =head2
12251 #: ../fish/guestfish-actions.pod:2553
12252 msgid "inspect-os"
12253 msgstr "inspect-os"
12254
12255 #. type: verbatim
12256 #: ../fish/guestfish-actions.pod:2555
12257 #, no-wrap
12258 msgid ""
12259 " inspect-os\n"
12260 "\n"
12261 msgstr ""
12262 " inspect-os\n"
12263 "\n"
12264
12265 #. type: textblock
12266 #: ../fish/guestfish-actions.pod:2557 ../src/guestfs-actions.pod:3883
12267 msgid ""
12268 "This function uses other libguestfs functions and certain heuristics to "
12269 "inspect the disk(s) (usually disks belonging to a virtual machine), looking "
12270 "for operating systems."
12271 msgstr ""
12272
12273 #. type: textblock
12274 #: ../fish/guestfish-actions.pod:2561 ../src/guestfs-actions.pod:3887
12275 msgid "The list returned is empty if no operating systems were found."
12276 msgstr ""
12277
12278 #. type: textblock
12279 #: ../fish/guestfish-actions.pod:2563 ../src/guestfs-actions.pod:3889
12280 msgid ""
12281 "If one operating system was found, then this returns a list with a single "
12282 "element, which is the name of the root filesystem of this operating system.  "
12283 "It is also possible for this function to return a list containing more than "
12284 "one element, indicating a dual-boot or multi-boot virtual machine, with each "
12285 "element being the root filesystem of one of the operating systems."
12286 msgstr ""
12287
12288 #. type: textblock
12289 #: ../fish/guestfish-actions.pod:2570
12290 msgid ""
12291 "You can pass the root string(s) returned to other L</inspect-get-*> "
12292 "functions in order to query further information about each operating system, "
12293 "such as the name and version."
12294 msgstr ""
12295
12296 #. type: textblock
12297 #: ../fish/guestfish-actions.pod:2575
12298 msgid ""
12299 "This function uses other libguestfs features such as L</mount-ro> and L</"
12300 "umount-all> in order to mount and unmount filesystems and look at the "
12301 "contents.  This should be called with no disks currently mounted.  The "
12302 "function may also use Augeas, so any existing Augeas handle will be closed."
12303 msgstr ""
12304
12305 #. type: textblock
12306 #: ../fish/guestfish-actions.pod:2581 ../src/guestfs-actions.pod:3907
12307 msgid ""
12308 "This function cannot decrypt encrypted disks.  The caller must do that first "
12309 "(supplying the necessary keys) if the disk is encrypted."
12310 msgstr ""
12311
12312 #. type: textblock
12313 #: ../fish/guestfish-actions.pod:2587 ../fish/guestfish-actions.pod:2785
12314 #: ../fish/guestfish-actions.pod:2850
12315 msgid "See also L</list-filesystems>."
12316 msgstr "Див. також L</list-filesystems>."
12317
12318 #. type: =head2
12319 #: ../fish/guestfish-actions.pod:2589
12320 msgid "is-blockdev"
12321 msgstr "is-blockdev"
12322
12323 #. type: verbatim
12324 #: ../fish/guestfish-actions.pod:2591
12325 #, no-wrap
12326 msgid ""
12327 " is-blockdev path\n"
12328 "\n"
12329 msgstr ""
12330 " is-blockdev шлях\n"
12331 "\n"
12332
12333 #. type: textblock
12334 #: ../fish/guestfish-actions.pod:2593 ../src/guestfs-actions.pod:3927
12335 msgid ""
12336 "This returns C<true> if and only if there is a block device with the given "
12337 "C<path> name."
12338 msgstr ""
12339
12340 #. type: textblock
12341 #: ../fish/guestfish-actions.pod:2596 ../fish/guestfish-actions.pod:2614
12342 #: ../fish/guestfish-actions.pod:2633 ../fish/guestfish-actions.pod:2642
12343 #: ../fish/guestfish-actions.pod:2652 ../fish/guestfish-actions.pod:2686
12344 #: ../fish/guestfish-actions.pod:2695
12345 msgid "See also L</stat>."
12346 msgstr "Див. також L</stat>."
12347
12348 #. type: =head2
12349 #: ../fish/guestfish-actions.pod:2598
12350 msgid "is-busy"
12351 msgstr "is-busy"
12352
12353 #. type: verbatim
12354 #: ../fish/guestfish-actions.pod:2600
12355 #, no-wrap
12356 msgid ""
12357 " is-busy\n"
12358 "\n"
12359 msgstr ""
12360 " is-busy\n"
12361 "\n"
12362
12363 #. type: textblock
12364 #: ../fish/guestfish-actions.pod:2602 ../src/guestfs-actions.pod:3941
12365 msgid ""
12366 "This returns true iff this handle is busy processing a command (in the "
12367 "C<BUSY> state)."
12368 msgstr ""
12369
12370 #. type: =head2
12371 #: ../fish/guestfish-actions.pod:2607
12372 msgid "is-chardev"
12373 msgstr "is-chardev"
12374
12375 #. type: verbatim
12376 #: ../fish/guestfish-actions.pod:2609
12377 #, no-wrap
12378 msgid ""
12379 " is-chardev path\n"
12380 "\n"
12381 msgstr ""
12382 " is-chardev шлях\n"
12383 "\n"
12384
12385 #. type: textblock
12386 #: ../fish/guestfish-actions.pod:2611 ../src/guestfs-actions.pod:3956
12387 msgid ""
12388 "This returns C<true> if and only if there is a character device with the "
12389 "given C<path> name."
12390 msgstr ""
12391
12392 #. type: =head2
12393 #: ../fish/guestfish-actions.pod:2616
12394 msgid "is-config"
12395 msgstr "is-config"
12396
12397 #. type: verbatim
12398 #: ../fish/guestfish-actions.pod:2618
12399 #, no-wrap
12400 msgid ""
12401 " is-config\n"
12402 "\n"
12403 msgstr ""
12404 " is-config\n"
12405 "\n"
12406
12407 #. type: textblock
12408 #: ../fish/guestfish-actions.pod:2620 ../src/guestfs-actions.pod:3970
12409 msgid ""
12410 "This returns true iff this handle is being configured (in the C<CONFIG> "
12411 "state)."
12412 msgstr ""
12413
12414 #. type: =head2
12415 #: ../fish/guestfish-actions.pod:2625
12416 msgid "is-dir"
12417 msgstr "is-dir"
12418
12419 #. type: verbatim
12420 #: ../fish/guestfish-actions.pod:2627
12421 #, no-wrap
12422 msgid ""
12423 " is-dir path\n"
12424 "\n"
12425 msgstr ""
12426 " is-dir шлях\n"
12427 "\n"
12428
12429 #. type: textblock
12430 #: ../fish/guestfish-actions.pod:2629 ../src/guestfs-actions.pod:3985
12431 msgid ""
12432 "This returns C<true> if and only if there is a directory with the given "
12433 "C<path> name.  Note that it returns false for other objects like files."
12434 msgstr ""
12435
12436 #. type: =head2
12437 #: ../fish/guestfish-actions.pod:2635
12438 msgid "is-fifo"
12439 msgstr "is-fifo"
12440
12441 #. type: verbatim
12442 #: ../fish/guestfish-actions.pod:2637
12443 #, no-wrap
12444 msgid ""
12445 " is-fifo path\n"
12446 "\n"
12447 msgstr ""
12448 " is-fifo шлях\n"
12449 "\n"
12450
12451 #. type: textblock
12452 #: ../fish/guestfish-actions.pod:2639 ../src/guestfs-actions.pod:4001
12453 msgid ""
12454 "This returns C<true> if and only if there is a FIFO (named pipe)  with the "
12455 "given C<path> name."
12456 msgstr ""
12457
12458 #. type: =head2
12459 #: ../fish/guestfish-actions.pod:2644
12460 msgid "is-file"
12461 msgstr "is-file"
12462
12463 #. type: verbatim
12464 #: ../fish/guestfish-actions.pod:2646
12465 #, no-wrap
12466 msgid ""
12467 " is-file path\n"
12468 "\n"
12469 msgstr ""
12470 " is-file шлях\n"
12471 "\n"
12472
12473 #. type: textblock
12474 #: ../fish/guestfish-actions.pod:2648 ../src/guestfs-actions.pod:4016
12475 msgid ""
12476 "This returns C<true> if and only if there is a regular file with the given "
12477 "C<path> name.  Note that it returns false for other objects like directories."
12478 msgstr ""
12479
12480 #. type: =head2
12481 #: ../fish/guestfish-actions.pod:2654
12482 msgid "is-launching"
12483 msgstr "is-launching"
12484
12485 #. type: verbatim
12486 #: ../fish/guestfish-actions.pod:2656
12487 #, no-wrap
12488 msgid ""
12489 " is-launching\n"
12490 "\n"
12491 msgstr ""
12492 " is-launching\n"
12493 "\n"
12494
12495 #. type: textblock
12496 #: ../fish/guestfish-actions.pod:2658 ../src/guestfs-actions.pod:4031
12497 msgid ""
12498 "This returns true iff this handle is launching the subprocess (in the "
12499 "C<LAUNCHING> state)."
12500 msgstr ""
12501
12502 #. type: =head2
12503 #: ../fish/guestfish-actions.pod:2663
12504 msgid "is-lv"
12505 msgstr "is-lv"
12506
12507 #. type: verbatim
12508 #: ../fish/guestfish-actions.pod:2665
12509 #, no-wrap
12510 msgid ""
12511 " is-lv device\n"
12512 "\n"
12513 msgstr ""
12514 " is-lv пристрій\n"
12515 "\n"
12516
12517 #. type: textblock
12518 #: ../fish/guestfish-actions.pod:2667 ../src/guestfs-actions.pod:4046
12519 msgid ""
12520 "This command tests whether C<device> is a logical volume, and returns true "
12521 "iff this is the case."
12522 msgstr ""
12523
12524 #. type: =head2
12525 #: ../fish/guestfish-actions.pod:2670
12526 msgid "is-ready"
12527 msgstr "is-ready"
12528
12529 #. type: verbatim
12530 #: ../fish/guestfish-actions.pod:2672
12531 #, no-wrap
12532 msgid ""
12533 " is-ready\n"
12534 "\n"
12535 msgstr ""
12536 " is-ready\n"
12537 "\n"
12538
12539 #. type: textblock
12540 #: ../fish/guestfish-actions.pod:2674 ../src/guestfs-actions.pod:4058
12541 msgid ""
12542 "This returns true iff this handle is ready to accept commands (in the "
12543 "C<READY> state)."
12544 msgstr ""
12545
12546 #. type: =head2
12547 #: ../fish/guestfish-actions.pod:2679
12548 msgid "is-socket"
12549 msgstr "is-socket"
12550
12551 #. type: verbatim
12552 #: ../fish/guestfish-actions.pod:2681
12553 #, no-wrap
12554 msgid ""
12555 " is-socket path\n"
12556 "\n"
12557 msgstr ""
12558 " is-socket шлях\n"
12559 "\n"
12560
12561 #. type: textblock
12562 #: ../fish/guestfish-actions.pod:2683 ../src/guestfs-actions.pod:4073
12563 msgid ""
12564 "This returns C<true> if and only if there is a Unix domain socket with the "
12565 "given C<path> name."
12566 msgstr ""
12567
12568 #. type: =head2
12569 #: ../fish/guestfish-actions.pod:2688
12570 msgid "is-symlink"
12571 msgstr "is-symlink"
12572
12573 #. type: verbatim
12574 #: ../fish/guestfish-actions.pod:2690
12575 #, no-wrap
12576 msgid ""
12577 " is-symlink path\n"
12578 "\n"
12579 msgstr ""
12580 " is-symlink шлях\n"
12581 "\n"
12582
12583 #. type: textblock
12584 #: ../fish/guestfish-actions.pod:2692 ../src/guestfs-actions.pod:4088
12585 msgid ""
12586 "This returns C<true> if and only if there is a symbolic link with the given "
12587 "C<path> name."
12588 msgstr ""
12589
12590 #. type: =head2
12591 #: ../fish/guestfish-actions.pod:2697
12592 msgid "is-zero"
12593 msgstr ""
12594
12595 #. type: verbatim
12596 #: ../fish/guestfish-actions.pod:2699
12597 #, no-wrap
12598 msgid ""
12599 " is-zero path\n"
12600 "\n"
12601 msgstr ""
12602
12603 #. type: textblock
12604 #: ../fish/guestfish-actions.pod:2701 ../src/guestfs-actions.pod:4103
12605 msgid ""
12606 "This returns true iff the file exists and the file is empty or it contains "
12607 "all zero bytes."
12608 msgstr ""
12609
12610 #. type: =head2
12611 #: ../fish/guestfish-actions.pod:2704
12612 msgid "is-zero-device"
12613 msgstr ""
12614
12615 #. type: verbatim
12616 #: ../fish/guestfish-actions.pod:2706
12617 #, no-wrap
12618 msgid ""
12619 " is-zero-device device\n"
12620 "\n"
12621 msgstr ""
12622
12623 #. type: textblock
12624 #: ../fish/guestfish-actions.pod:2708 ../src/guestfs-actions.pod:4116
12625 msgid "This returns true iff the device exists and contains all zero bytes."
12626 msgstr ""
12627
12628 #. type: textblock
12629 #: ../fish/guestfish-actions.pod:2710 ../src/guestfs-actions.pod:4118
12630 msgid "Note that for large devices this can take a long time to run."
12631 msgstr ""
12632
12633 #. type: =head2
12634 #: ../fish/guestfish-actions.pod:2712
12635 msgid "kill-subprocess"
12636 msgstr "kill-subprocess"
12637
12638 #. type: verbatim
12639 #: ../fish/guestfish-actions.pod:2714
12640 #, no-wrap
12641 msgid ""
12642 " kill-subprocess\n"
12643 "\n"
12644 msgstr ""
12645 " kill-subprocess\n"
12646 "\n"
12647
12648 #. type: textblock
12649 #: ../fish/guestfish-actions.pod:2716 ../src/guestfs-actions.pod:4129
12650 msgid "This kills the qemu subprocess.  You should never need to call this."
12651 msgstr ""
12652
12653 #. type: =head2
12654 #: ../fish/guestfish-actions.pod:2718
12655 msgid "launch"
12656 msgstr "launch"
12657
12658 #. type: =head2
12659 #: ../fish/guestfish-actions.pod:2720
12660 msgid "run"
12661 msgstr ""
12662
12663 #. type: verbatim
12664 #: ../fish/guestfish-actions.pod:2722
12665 #, no-wrap
12666 msgid ""
12667 " launch\n"
12668 "\n"
12669 msgstr ""
12670 " launch\n"
12671 "\n"
12672
12673 #. type: textblock
12674 #: ../fish/guestfish-actions.pod:2724 ../src/guestfs-actions.pod:4140
12675 msgid ""
12676 "Internally libguestfs is implemented by running a virtual machine using "
12677 "L<qemu(1)>."
12678 msgstr ""
12679
12680 #. type: textblock
12681 #: ../fish/guestfish-actions.pod:2727 ../src/guestfs-actions.pod:4143
12682 msgid ""
12683 "You should call this after configuring the handle (eg. adding drives) but "
12684 "before performing any actions."
12685 msgstr ""
12686
12687 #. type: =head2
12688 #: ../fish/guestfish-actions.pod:2730
12689 msgid "lchown"
12690 msgstr "lchown"
12691
12692 #. type: verbatim
12693 #: ../fish/guestfish-actions.pod:2732
12694 #, no-wrap
12695 msgid ""
12696 " lchown owner group path\n"
12697 "\n"
12698 msgstr ""
12699 " lchown власник група шлях\n"
12700 "\n"
12701
12702 #. type: textblock
12703 #: ../fish/guestfish-actions.pod:2734
12704 msgid ""
12705 "Change the file owner to C<owner> and group to C<group>.  This is like L</"
12706 "chown> but if C<path> is a symlink then the link itself is changed, not the "
12707 "target."
12708 msgstr ""
12709
12710 #. type: =head2
12711 #: ../fish/guestfish-actions.pod:2742
12712 msgid "lgetxattr"
12713 msgstr "lgetxattr"
12714
12715 #. type: verbatim
12716 #: ../fish/guestfish-actions.pod:2744
12717 #, no-wrap
12718 msgid ""
12719 " lgetxattr path name\n"
12720 "\n"
12721 msgstr ""
12722 " lgetxattr шлях назва\n"
12723 "\n"
12724
12725 #. type: textblock
12726 #: ../fish/guestfish-actions.pod:2746 ../src/guestfs-actions.pod:4183
12727 msgid ""
12728 "Get a single extended attribute from file C<path> named C<name>.  If C<path> "
12729 "is a symlink, then this call returns an extended attribute from the symlink."
12730 msgstr ""
12731
12732 #. type: textblock
12733 #: ../fish/guestfish-actions.pod:2760
12734 msgid "See also: L</lgetxattrs>, L</getxattr>, L<attr(5)>."
12735 msgstr "Див. також L</lgetxattrs>, L</getxattr>, L<attr(5)>."
12736
12737 #. type: =head2
12738 #: ../fish/guestfish-actions.pod:2762
12739 msgid "lgetxattrs"
12740 msgstr "lgetxattrs"
12741
12742 #. type: verbatim
12743 #: ../fish/guestfish-actions.pod:2764
12744 #, no-wrap
12745 msgid ""
12746 " lgetxattrs path\n"
12747 "\n"
12748 msgstr ""
12749 " lgetxattrs шлях\n"
12750 "\n"
12751
12752 #. type: textblock
12753 #: ../fish/guestfish-actions.pod:2766
12754 msgid ""
12755 "This is the same as L</getxattrs>, but if C<path> is a symbolic link, then "
12756 "it returns the extended attributes of the link itself."
12757 msgstr ""
12758
12759 #. type: =head2
12760 #: ../fish/guestfish-actions.pod:2770
12761 msgid "list-9p"
12762 msgstr ""
12763
12764 #. type: verbatim
12765 #: ../fish/guestfish-actions.pod:2772
12766 #, no-wrap
12767 msgid ""
12768 " list-9p\n"
12769 "\n"
12770 msgstr ""
12771
12772 #. type: textblock
12773 #: ../fish/guestfish-actions.pod:2774 ../src/guestfs-actions.pod:4226
12774 msgid ""
12775 "List all 9p filesystems attached to the guest.  A list of mount tags is "
12776 "returned."
12777 msgstr ""
12778
12779 #. type: =head2
12780 #: ../fish/guestfish-actions.pod:2777
12781 msgid "list-devices"
12782 msgstr "list-devices"
12783
12784 #. type: verbatim
12785 #: ../fish/guestfish-actions.pod:2779
12786 #, no-wrap
12787 msgid ""
12788 " list-devices\n"
12789 "\n"
12790 msgstr ""
12791 " list-devices\n"
12792 "\n"
12793
12794 #. type: textblock
12795 #: ../fish/guestfish-actions.pod:2781 ../src/guestfs-actions.pod:4240
12796 msgid "List all the block devices."
12797 msgstr ""
12798
12799 #. type: textblock
12800 #: ../fish/guestfish-actions.pod:2783 ../src/guestfs-actions.pod:4242
12801 msgid "The full block device names are returned, eg. C</dev/sda>."
12802 msgstr ""
12803
12804 #. type: =head2
12805 #: ../fish/guestfish-actions.pod:2787
12806 msgid "list-dm-devices"
12807 msgstr ""
12808
12809 #. type: verbatim
12810 #: ../fish/guestfish-actions.pod:2789
12811 #, no-wrap
12812 msgid ""
12813 " list-dm-devices\n"
12814 "\n"
12815 msgstr ""
12816
12817 #. type: textblock
12818 #: ../fish/guestfish-actions.pod:2791 ../src/guestfs-actions.pod:4257
12819 msgid "List all device mapper devices."
12820 msgstr ""
12821
12822 #. type: textblock
12823 #: ../fish/guestfish-actions.pod:2793
12824 msgid ""
12825 "The returned list contains C</dev/mapper/*> devices, eg. ones created by a "
12826 "previous call to L</luks-open>."
12827 msgstr ""
12828
12829 #. type: textblock
12830 #: ../fish/guestfish-actions.pod:2796
12831 msgid ""
12832 "Device mapper devices which correspond to logical volumes are I<not> "
12833 "returned in this list.  Call L</lvs> if you want to list logical volumes."
12834 msgstr ""
12835
12836 #. type: =head2
12837 #: ../fish/guestfish-actions.pod:2800
12838 msgid "list-filesystems"
12839 msgstr "list-filesystems"
12840
12841 #. type: verbatim
12842 #: ../fish/guestfish-actions.pod:2802
12843 #, no-wrap
12844 msgid ""
12845 " list-filesystems\n"
12846 "\n"
12847 msgstr ""
12848 " list-filesystems\n"
12849 "\n"
12850
12851 #. type: textblock
12852 #: ../fish/guestfish-actions.pod:2804 ../src/guestfs-actions.pod:4277
12853 msgid ""
12854 "This inspection command looks for filesystems on partitions, block devices "
12855 "and logical volumes, returning a list of devices containing filesystems and "
12856 "their type."
12857 msgstr ""
12858
12859 #. type: textblock
12860 #: ../fish/guestfish-actions.pod:2808 ../src/guestfs-actions.pod:4281
12861 msgid ""
12862 "The return value is a hash, where the keys are the devices containing "
12863 "filesystems, and the values are the filesystem types.  For example:"
12864 msgstr ""
12865
12866 #. type: verbatim
12867 #: ../fish/guestfish-actions.pod:2812 ../src/guestfs-actions.pod:4285
12868 #, no-wrap
12869 msgid ""
12870 " \"/dev/sda1\" => \"ntfs\"\n"
12871 " \"/dev/sda2\" => \"ext2\"\n"
12872 " \"/dev/vg_guest/lv_root\" => \"ext4\"\n"
12873 " \"/dev/vg_guest/lv_swap\" => \"swap\"\n"
12874 "\n"
12875 msgstr ""
12876
12877 #. type: textblock
12878 #: ../fish/guestfish-actions.pod:2817 ../src/guestfs-actions.pod:4290
12879 msgid ""
12880 "The value can have the special value \"unknown\", meaning the content of the "
12881 "device is undetermined or empty.  \"swap\" means a Linux swap partition."
12882 msgstr ""
12883
12884 #. type: textblock
12885 #: ../fish/guestfish-actions.pod:2821
12886 msgid ""
12887 "This command runs other libguestfs commands, which might include L</mount> "
12888 "and L</umount>, and therefore you should use this soon after launch and only "
12889 "when nothing is mounted."
12890 msgstr ""
12891
12892 #. type: textblock
12893 #: ../fish/guestfish-actions.pod:2825
12894 msgid ""
12895 "Not all of the filesystems returned will be mountable.  In particular, swap "
12896 "partitions are returned in the list.  Also this command does not check that "
12897 "each filesystem found is valid and mountable, and some filesystems might be "
12898 "mountable but require special options.  Filesystems may not all belong to a "
12899 "single logical operating system (use L</inspect-os> to look for OSes)."
12900 msgstr ""
12901
12902 #. type: =head2
12903 #: ../fish/guestfish-actions.pod:2833
12904 #, fuzzy
12905 #| msgid "list-devices"
12906 msgid "list-md-devices"
12907 msgstr "list-devices"
12908
12909 #. type: verbatim
12910 #: ../fish/guestfish-actions.pod:2835
12911 #, fuzzy, no-wrap
12912 #| msgid ""
12913 #| " list-devices\n"
12914 #| "\n"
12915 msgid ""
12916 " list-md-devices\n"
12917 "\n"
12918 msgstr ""
12919 " list-devices\n"
12920 "\n"
12921
12922 #. type: textblock
12923 #: ../fish/guestfish-actions.pod:2837 ../src/guestfs-actions.pod:4319
12924 msgid "List all Linux md devices."
12925 msgstr ""
12926
12927 #. type: =head2
12928 #: ../fish/guestfish-actions.pod:2839
12929 msgid "list-partitions"
12930 msgstr "list-partitions"
12931
12932 #. type: verbatim
12933 #: ../fish/guestfish-actions.pod:2841
12934 #, no-wrap
12935 msgid ""
12936 " list-partitions\n"
12937 "\n"
12938 msgstr ""
12939 " list-partitions\n"
12940 "\n"
12941
12942 #. type: textblock
12943 #: ../fish/guestfish-actions.pod:2843 ../src/guestfs-actions.pod:4332
12944 msgid "List all the partitions detected on all block devices."
12945 msgstr ""
12946
12947 #. type: textblock
12948 #: ../fish/guestfish-actions.pod:2845 ../src/guestfs-actions.pod:4334
12949 msgid "The full partition device names are returned, eg. C</dev/sda1>"
12950 msgstr ""
12951
12952 #. type: textblock
12953 #: ../fish/guestfish-actions.pod:2847
12954 msgid ""
12955 "This does not return logical volumes.  For that you will need to call L</"
12956 "lvs>."
12957 msgstr ""
12958
12959 #. type: =head2
12960 #: ../fish/guestfish-actions.pod:2852
12961 msgid "ll"
12962 msgstr "ll"
12963
12964 #. type: verbatim
12965 #: ../fish/guestfish-actions.pod:2854
12966 #, no-wrap
12967 msgid ""
12968 " ll directory\n"
12969 "\n"
12970 msgstr ""
12971 " ll каталог\n"
12972 "\n"
12973
12974 #. type: textblock
12975 #: ../fish/guestfish-actions.pod:2856 ../src/guestfs-actions.pod:4353
12976 msgid ""
12977 "List the files in C<directory> (relative to the root directory, there is no "
12978 "cwd) in the format of 'ls -la'."
12979 msgstr ""
12980
12981 #. type: textblock
12982 #: ../fish/guestfish-actions.pod:2859 ../src/guestfs-actions.pod:4356
12983 msgid ""
12984 "This command is mostly useful for interactive sessions.  It is I<not> "
12985 "intended that you try to parse the output string."
12986 msgstr ""
12987
12988 #. type: =head2
12989 #: ../fish/guestfish-actions.pod:2862
12990 msgid "ln"
12991 msgstr "ln"
12992
12993 #. type: verbatim
12994 #: ../fish/guestfish-actions.pod:2864
12995 #, no-wrap
12996 msgid ""
12997 " ln target linkname\n"
12998 "\n"
12999 msgstr ""
13000 " ln призначення назва_посилання\n"
13001 "\n"
13002
13003 #. type: textblock
13004 #: ../fish/guestfish-actions.pod:2866 ../src/guestfs-actions.pod:4371
13005 msgid "This command creates a hard link using the C<ln> command."
13006 msgstr ""
13007
13008 #. type: =head2
13009 #: ../fish/guestfish-actions.pod:2868
13010 msgid "ln-f"
13011 msgstr "ln-f"
13012
13013 #. type: verbatim
13014 #: ../fish/guestfish-actions.pod:2870
13015 #, no-wrap
13016 msgid ""
13017 " ln-f target linkname\n"
13018 "\n"
13019 msgstr ""
13020 " ln-f призначення назва_посилання\n"
13021 "\n"
13022
13023 #. type: textblock
13024 #: ../fish/guestfish-actions.pod:2872 ../src/guestfs-actions.pod:4384
13025 msgid ""
13026 "This command creates a hard link using the C<ln -f> command.  The I<-f> "
13027 "option removes the link (C<linkname>) if it exists already."
13028 msgstr ""
13029
13030 #. type: =head2
13031 #: ../fish/guestfish-actions.pod:2875
13032 msgid "ln-s"
13033 msgstr "ln-s"
13034
13035 #. type: verbatim
13036 #: ../fish/guestfish-actions.pod:2877
13037 #, no-wrap
13038 msgid ""
13039 " ln-s target linkname\n"
13040 "\n"
13041 msgstr ""
13042 " ln-s призначення назва_посилання\n"
13043 "\n"
13044
13045 #. type: textblock
13046 #: ../fish/guestfish-actions.pod:2879 ../src/guestfs-actions.pod:4398
13047 msgid "This command creates a symbolic link using the C<ln -s> command."
13048 msgstr ""
13049
13050 #. type: =head2
13051 #: ../fish/guestfish-actions.pod:2881
13052 msgid "ln-sf"
13053 msgstr "ln-sf"
13054
13055 #. type: verbatim
13056 #: ../fish/guestfish-actions.pod:2883
13057 #, no-wrap
13058 msgid ""
13059 " ln-sf target linkname\n"
13060 "\n"
13061 msgstr ""
13062 " ln-sf призначення назва_посилання\n"
13063 "\n"
13064
13065 #. type: textblock
13066 #: ../fish/guestfish-actions.pod:2885 ../src/guestfs-actions.pod:4411
13067 msgid ""
13068 "This command creates a symbolic link using the C<ln -sf> command, The I<-f> "
13069 "option removes the link (C<linkname>) if it exists already."
13070 msgstr ""
13071
13072 #. type: =head2
13073 #: ../fish/guestfish-actions.pod:2888
13074 msgid "lremovexattr"
13075 msgstr "lremovexattr"
13076
13077 #. type: verbatim
13078 #: ../fish/guestfish-actions.pod:2890
13079 #, no-wrap
13080 msgid ""
13081 " lremovexattr xattr path\n"
13082 "\n"
13083 msgstr ""
13084
13085 #. type: textblock
13086 #: ../fish/guestfish-actions.pod:2892
13087 msgid ""
13088 "This is the same as L</removexattr>, but if C<path> is a symbolic link, then "
13089 "it removes an extended attribute of the link itself."
13090 msgstr ""
13091
13092 #. type: =head2
13093 #: ../fish/guestfish-actions.pod:2896
13094 msgid "ls"
13095 msgstr "ls"
13096
13097 #. type: verbatim
13098 #: ../fish/guestfish-actions.pod:2898
13099 #, no-wrap
13100 msgid ""
13101 " ls directory\n"
13102 "\n"
13103 msgstr ""
13104 " ls каталог\n"
13105 "\n"
13106
13107 #. type: textblock
13108 #: ../fish/guestfish-actions.pod:2900 ../src/guestfs-actions.pod:4439
13109 msgid ""
13110 "List the files in C<directory> (relative to the root directory, there is no "
13111 "cwd).  The '.' and '..' entries are not returned, but hidden files are shown."
13112 msgstr ""
13113
13114 #. type: textblock
13115 #: ../fish/guestfish-actions.pod:2904
13116 msgid ""
13117 "This command is mostly useful for interactive sessions.  Programs should "
13118 "probably use L</readdir> instead."
13119 msgstr ""
13120
13121 #. type: =head2
13122 #: ../fish/guestfish-actions.pod:2907
13123 msgid "lsetxattr"
13124 msgstr "lsetxattr"
13125
13126 #. type: verbatim
13127 #: ../fish/guestfish-actions.pod:2909
13128 #, no-wrap
13129 msgid ""
13130 " lsetxattr xattr val vallen path\n"
13131 "\n"
13132 msgstr ""
13133
13134 #. type: textblock
13135 #: ../fish/guestfish-actions.pod:2911
13136 msgid ""
13137 "This is the same as L</setxattr>, but if C<path> is a symbolic link, then it "
13138 "sets an extended attribute of the link itself."
13139 msgstr ""
13140
13141 #. type: =head2
13142 #: ../fish/guestfish-actions.pod:2915
13143 msgid "lstat"
13144 msgstr "lstat"
13145
13146 #. type: verbatim
13147 #: ../fish/guestfish-actions.pod:2917
13148 #, no-wrap
13149 msgid ""
13150 " lstat path\n"
13151 "\n"
13152 msgstr ""
13153 " lstat шлях\n"
13154 "\n"
13155
13156 #. type: textblock
13157 #: ../fish/guestfish-actions.pod:2919 ../fish/guestfish-actions.pod:4817
13158 #: ../src/guestfs-actions.pod:4475 ../src/guestfs-actions.pod:7405
13159 msgid "Returns file information for the given C<path>."
13160 msgstr ""
13161
13162 #. type: textblock
13163 #: ../fish/guestfish-actions.pod:2921
13164 msgid ""
13165 "This is the same as L</stat> except that if C<path> is a symbolic link, then "
13166 "the link is stat-ed, not the file it refers to."
13167 msgstr ""
13168
13169 #. type: textblock
13170 #: ../fish/guestfish-actions.pod:2925 ../src/guestfs-actions.pod:4481
13171 msgid "This is the same as the C<lstat(2)> system call."
13172 msgstr ""
13173
13174 #. type: =head2
13175 #: ../fish/guestfish-actions.pod:2927
13176 msgid "lstatlist"
13177 msgstr "lstatlist"
13178
13179 #. type: verbatim
13180 #: ../fish/guestfish-actions.pod:2929
13181 #, no-wrap
13182 msgid ""
13183 " lstatlist path 'names ...'\n"
13184 "\n"
13185 msgstr ""
13186
13187 #. type: textblock
13188 #: ../fish/guestfish-actions.pod:2931
13189 msgid ""
13190 "This call allows you to perform the L</lstat> operation on multiple files, "
13191 "where all files are in the directory C<path>.  C<names> is the list of files "
13192 "from this directory."
13193 msgstr ""
13194
13195 #. type: textblock
13196 #: ../fish/guestfish-actions.pod:2935 ../src/guestfs-actions.pod:4500
13197 msgid ""
13198 "On return you get a list of stat structs, with a one-to-one correspondence "
13199 "to the C<names> list.  If any name did not exist or could not be lstat'd, "
13200 "then the C<ino> field of that structure is set to C<-1>."
13201 msgstr ""
13202
13203 #. type: textblock
13204 #: ../fish/guestfish-actions.pod:2940
13205 msgid ""
13206 "This call is intended for programs that want to efficiently list a directory "
13207 "contents without making many round-trips.  See also L</lxattrlist> for a "
13208 "similarly efficient call for getting extended attributes.  Very long "
13209 "directory listings might cause the protocol message size to be exceeded, "
13210 "causing this call to fail.  The caller must split up such requests into "
13211 "smaller groups of names."
13212 msgstr ""
13213
13214 #. type: =head2
13215 #: ../fish/guestfish-actions.pod:2948
13216 msgid "luks-add-key"
13217 msgstr "luks-add-key"
13218
13219 #. type: verbatim
13220 #: ../fish/guestfish-actions.pod:2950
13221 #, no-wrap
13222 msgid ""
13223 " luks-add-key device keyslot\n"
13224 "\n"
13225 msgstr ""
13226
13227 #. type: textblock
13228 #: ../fish/guestfish-actions.pod:2952 ../src/guestfs-actions.pod:4528
13229 msgid ""
13230 "This command adds a new key on LUKS device C<device>.  C<key> is any "
13231 "existing key, and is used to access the device.  C<newkey> is the new key to "
13232 "add.  C<keyslot> is the key slot that will be replaced."
13233 msgstr ""
13234
13235 #. type: textblock
13236 #: ../fish/guestfish-actions.pod:2957
13237 msgid ""
13238 "Note that if C<keyslot> already contains a key, then this command will "
13239 "fail.  You have to use L</luks-kill-slot> first to remove that key."
13240 msgstr ""
13241
13242 #. type: textblock
13243 #: ../fish/guestfish-actions.pod:2961 ../fish/guestfish-actions.pod:2983
13244 #: ../fish/guestfish-actions.pod:2993 ../fish/guestfish-actions.pod:3004
13245 #: ../fish/guestfish-actions.pod:3030 ../fish/guestfish-actions.pod:3040
13246 msgid ""
13247 "This command has one or more key or passphrase parameters.  Guestfish will "
13248 "prompt for these separately."
13249 msgstr ""
13250
13251 #. type: =head2
13252 #: ../fish/guestfish-actions.pod:2964
13253 msgid "luks-close"
13254 msgstr "luks-close"
13255
13256 #. type: verbatim
13257 #: ../fish/guestfish-actions.pod:2966
13258 #, no-wrap
13259 msgid ""
13260 " luks-close device\n"
13261 "\n"
13262 msgstr ""
13263 " luks-close пристрій\n"
13264 "\n"
13265
13266 #. type: textblock
13267 #: ../fish/guestfish-actions.pod:2968
13268 msgid ""
13269 "This closes a LUKS device that was created earlier by L</luks-open> or L</"
13270 "luks-open-ro>.  The C<device> parameter must be the name of the LUKS mapping "
13271 "device (ie. C</dev/mapper/mapname>) and I<not> the name of the underlying "
13272 "block device."
13273 msgstr ""
13274
13275 #. type: =head2
13276 #: ../fish/guestfish-actions.pod:2974
13277 msgid "luks-format"
13278 msgstr "luks-format"
13279
13280 #. type: verbatim
13281 #: ../fish/guestfish-actions.pod:2976
13282 #, no-wrap
13283 msgid ""
13284 " luks-format device keyslot\n"
13285 "\n"
13286 msgstr ""
13287
13288 #. type: textblock
13289 #: ../fish/guestfish-actions.pod:2978 ../src/guestfs-actions.pod:4569
13290 msgid ""
13291 "This command erases existing data on C<device> and formats the device as a "
13292 "LUKS encrypted device.  C<key> is the initial key, which is added to key "
13293 "slot C<slot>.  (LUKS supports 8 key slots, numbered 0-7)."
13294 msgstr ""
13295
13296 #. type: =head2
13297 #: ../fish/guestfish-actions.pod:2986
13298 msgid "luks-format-cipher"
13299 msgstr "luks-format-cipher"
13300
13301 #. type: verbatim
13302 #: ../fish/guestfish-actions.pod:2988
13303 #, no-wrap
13304 msgid ""
13305 " luks-format-cipher device keyslot cipher\n"
13306 "\n"
13307 msgstr ""
13308
13309 #. type: textblock
13310 #: ../fish/guestfish-actions.pod:2990
13311 msgid ""
13312 "This command is the same as L</luks-format> but it also allows you to set "
13313 "the C<cipher> used."
13314 msgstr ""
13315
13316 #. type: =head2
13317 #: ../fish/guestfish-actions.pod:2996
13318 msgid "luks-kill-slot"
13319 msgstr "luks-kill-slot"
13320
13321 #. type: verbatim
13322 #: ../fish/guestfish-actions.pod:2998
13323 #, no-wrap
13324 msgid ""
13325 " luks-kill-slot device keyslot\n"
13326 "\n"
13327 msgstr ""
13328
13329 #. type: textblock
13330 #: ../fish/guestfish-actions.pod:3000 ../src/guestfs-actions.pod:4610
13331 msgid ""
13332 "This command deletes the key in key slot C<keyslot> from the encrypted LUKS "
13333 "device C<device>.  C<key> must be one of the I<other> keys."
13334 msgstr ""
13335
13336 #. type: =head2
13337 #: ../fish/guestfish-actions.pod:3007
13338 msgid "luks-open"
13339 msgstr "luks-open"
13340
13341 #. type: verbatim
13342 #: ../fish/guestfish-actions.pod:3009
13343 #, no-wrap
13344 msgid ""
13345 " luks-open device mapname\n"
13346 "\n"
13347 msgstr ""
13348
13349 #. type: textblock
13350 #: ../fish/guestfish-actions.pod:3011 ../src/guestfs-actions.pod:4630
13351 msgid ""
13352 "This command opens a block device which has been encrypted according to the "
13353 "Linux Unified Key Setup (LUKS) standard."
13354 msgstr ""
13355
13356 #. type: textblock
13357 #: ../fish/guestfish-actions.pod:3014 ../src/guestfs-actions.pod:4633
13358 msgid "C<device> is the encrypted block device or partition."
13359 msgstr ""
13360
13361 #. type: textblock
13362 #: ../fish/guestfish-actions.pod:3016 ../src/guestfs-actions.pod:4635
13363 msgid ""
13364 "The caller must supply one of the keys associated with the LUKS block "
13365 "device, in the C<key> parameter."
13366 msgstr ""
13367
13368 #. type: textblock
13369 #: ../fish/guestfish-actions.pod:3019 ../src/guestfs-actions.pod:4638
13370 msgid ""
13371 "This creates a new block device called C</dev/mapper/mapname>.  Reads and "
13372 "writes to this block device are decrypted from and encrypted to the "
13373 "underlying C<device> respectively."
13374 msgstr ""
13375
13376 #. type: textblock
13377 #: ../fish/guestfish-actions.pod:3023
13378 msgid ""
13379 "If this block device contains LVM volume groups, then calling L</vgscan> "
13380 "followed by L</vg-activate-all> will make them visible."
13381 msgstr ""
13382
13383 #. type: textblock
13384 #: ../fish/guestfish-actions.pod:3027
13385 msgid "Use L</list-dm-devices> to list all device mapper devices."
13386 msgstr ""
13387
13388 #. type: =head2
13389 #: ../fish/guestfish-actions.pod:3033
13390 msgid "luks-open-ro"
13391 msgstr "luks-open-ro"
13392
13393 #. type: verbatim
13394 #: ../fish/guestfish-actions.pod:3035
13395 #, no-wrap
13396 msgid ""
13397 " luks-open-ro device mapname\n"
13398 "\n"
13399 msgstr ""
13400
13401 #. type: textblock
13402 #: ../fish/guestfish-actions.pod:3037
13403 msgid ""
13404 "This is the same as L</luks-open> except that a read-only mapping is created."
13405 msgstr ""
13406
13407 #. type: =head2
13408 #: ../fish/guestfish-actions.pod:3043
13409 msgid "lvcreate"
13410 msgstr "lvcreate"
13411
13412 #. type: verbatim
13413 #: ../fish/guestfish-actions.pod:3045
13414 #, no-wrap
13415 msgid ""
13416 " lvcreate logvol volgroup mbytes\n"
13417 "\n"
13418 msgstr ""
13419
13420 #. type: textblock
13421 #: ../fish/guestfish-actions.pod:3047 ../src/guestfs-actions.pod:4684
13422 msgid ""
13423 "This creates an LVM logical volume called C<logvol> on the volume group "
13424 "C<volgroup>, with C<size> megabytes."
13425 msgstr ""
13426
13427 #. type: =head2
13428 #: ../fish/guestfish-actions.pod:3050
13429 msgid "lvm-canonical-lv-name"
13430 msgstr "lvm-canonical-lv-name"
13431
13432 #. type: verbatim
13433 #: ../fish/guestfish-actions.pod:3052
13434 #, no-wrap
13435 msgid ""
13436 " lvm-canonical-lv-name lvname\n"
13437 "\n"
13438 msgstr ""
13439
13440 #. type: textblock
13441 #: ../fish/guestfish-actions.pod:3054 ../src/guestfs-actions.pod:4697
13442 msgid ""
13443 "This converts alternative naming schemes for LVs that you might find to the "
13444 "canonical name.  For example, C</dev/mapper/VG-LV> is converted to C</dev/VG/"
13445 "LV>."
13446 msgstr ""
13447
13448 #. type: textblock
13449 #: ../fish/guestfish-actions.pod:3058 ../src/guestfs-actions.pod:4701
13450 msgid ""
13451 "This command returns an error if the C<lvname> parameter does not refer to a "
13452 "logical volume."
13453 msgstr ""
13454
13455 #. type: textblock
13456 #: ../fish/guestfish-actions.pod:3061
13457 msgid "See also L</is-lv>."
13458 msgstr "Див. також L</is-lv>."
13459
13460 #. type: =head2
13461 #: ../fish/guestfish-actions.pod:3063
13462 msgid "lvm-clear-filter"
13463 msgstr "lvm-clear-filter"
13464
13465 #. type: verbatim
13466 #: ../fish/guestfish-actions.pod:3065
13467 #, no-wrap
13468 msgid ""
13469 " lvm-clear-filter\n"
13470 "\n"
13471 msgstr ""
13472 " lvm-clear-filter\n"
13473 "\n"
13474
13475 #. type: textblock
13476 #: ../fish/guestfish-actions.pod:3067
13477 msgid ""
13478 "This undoes the effect of L</lvm-set-filter>.  LVM will be able to see every "
13479 "block device."
13480 msgstr ""
13481
13482 #. type: textblock
13483 #: ../fish/guestfish-actions.pod:3070 ../fish/guestfish-actions.pod:3098
13484 #: ../src/guestfs-actions.pod:4719 ../src/guestfs-actions.pod:4758
13485 msgid ""
13486 "This command also clears the LVM cache and performs a volume group scan."
13487 msgstr ""
13488
13489 #. type: =head2
13490 #: ../fish/guestfish-actions.pod:3073
13491 msgid "lvm-remove-all"
13492 msgstr "lvm-remove-all"
13493
13494 #. type: verbatim
13495 #: ../fish/guestfish-actions.pod:3075
13496 #, no-wrap
13497 msgid ""
13498 " lvm-remove-all\n"
13499 "\n"
13500 msgstr ""
13501 " lvm-remove-all\n"
13502 "\n"
13503
13504 #. type: textblock
13505 #: ../fish/guestfish-actions.pod:3077 ../src/guestfs-actions.pod:4731
13506 msgid ""
13507 "This command removes all LVM logical volumes, volume groups and physical "
13508 "volumes."
13509 msgstr ""
13510
13511 #. type: =head2
13512 #: ../fish/guestfish-actions.pod:3080
13513 msgid "lvm-set-filter"
13514 msgstr "lvm-set-filter"
13515
13516 #. type: verbatim
13517 #: ../fish/guestfish-actions.pod:3082
13518 #, no-wrap
13519 msgid ""
13520 " lvm-set-filter 'devices ...'\n"
13521 "\n"
13522 msgstr ""
13523 " lvm-set-filter 'пристрої...'\n"
13524 "\n"
13525
13526 #. type: textblock
13527 #: ../fish/guestfish-actions.pod:3084 ../src/guestfs-actions.pod:4744
13528 msgid ""
13529 "This sets the LVM device filter so that LVM will only be able to \"see\" the "
13530 "block devices in the list C<devices>, and will ignore all other attached "
13531 "block devices."
13532 msgstr ""
13533
13534 #. type: textblock
13535 #: ../fish/guestfish-actions.pod:3088 ../src/guestfs-actions.pod:4748
13536 msgid ""
13537 "Where disk image(s) contain duplicate PVs or VGs, this command is useful to "
13538 "get LVM to ignore the duplicates, otherwise LVM can get confused.  Note also "
13539 "there are two types of duplication possible: either cloned PVs/VGs which "
13540 "have identical UUIDs; or VGs that are not cloned but just happen to have the "
13541 "same name.  In normal operation you cannot create this situation, but you "
13542 "can do it outside LVM, eg.  by cloning disk images or by bit twiddling "
13543 "inside the LVM metadata."
13544 msgstr ""
13545
13546 #. type: textblock
13547 #: ../fish/guestfish-actions.pod:3101 ../src/guestfs-actions.pod:4761
13548 msgid "You can filter whole block devices or individual partitions."
13549 msgstr ""
13550
13551 #. type: textblock
13552 #: ../fish/guestfish-actions.pod:3103 ../src/guestfs-actions.pod:4763
13553 msgid ""
13554 "You cannot use this if any VG is currently in use (eg.  contains a mounted "
13555 "filesystem), even if you are not filtering out that VG."
13556 msgstr ""
13557
13558 #. type: =head2
13559 #: ../fish/guestfish-actions.pod:3107
13560 msgid "lvremove"
13561 msgstr "lvremove"
13562
13563 #. type: verbatim
13564 #: ../fish/guestfish-actions.pod:3109
13565 #, no-wrap
13566 msgid ""
13567 " lvremove device\n"
13568 "\n"
13569 msgstr ""
13570 " lvremove пристрій\n"
13571 "\n"
13572
13573 #. type: textblock
13574 #: ../fish/guestfish-actions.pod:3111 ../src/guestfs-actions.pod:4777
13575 msgid ""
13576 "Remove an LVM logical volume C<device>, where C<device> is the path to the "
13577 "LV, such as C</dev/VG/LV>."
13578 msgstr ""
13579
13580 #. type: textblock
13581 #: ../fish/guestfish-actions.pod:3114 ../src/guestfs-actions.pod:4780
13582 msgid ""
13583 "You can also remove all LVs in a volume group by specifying the VG name, C</"
13584 "dev/VG>."
13585 msgstr ""
13586
13587 #. type: =head2
13588 #: ../fish/guestfish-actions.pod:3117
13589 msgid "lvrename"
13590 msgstr "lvrename"
13591
13592 #. type: verbatim
13593 #: ../fish/guestfish-actions.pod:3119
13594 #, no-wrap
13595 msgid ""
13596 " lvrename logvol newlogvol\n"
13597 "\n"
13598 msgstr ""
13599
13600 #. type: textblock
13601 #: ../fish/guestfish-actions.pod:3121 ../src/guestfs-actions.pod:4794
13602 msgid "Rename a logical volume C<logvol> with the new name C<newlogvol>."
13603 msgstr ""
13604
13605 #. type: =head2
13606 #: ../fish/guestfish-actions.pod:3123
13607 msgid "lvresize"
13608 msgstr "lvresize"
13609
13610 #. type: verbatim
13611 #: ../fish/guestfish-actions.pod:3125
13612 #, no-wrap
13613 msgid ""
13614 " lvresize device mbytes\n"
13615 "\n"
13616 msgstr ""
13617
13618 #. type: textblock
13619 #: ../fish/guestfish-actions.pod:3127 ../src/guestfs-actions.pod:4807
13620 msgid ""
13621 "This resizes (expands or shrinks) an existing LVM logical volume to "
13622 "C<mbytes>.  When reducing, data in the reduced part is lost."
13623 msgstr ""
13624
13625 #. type: =head2
13626 #: ../fish/guestfish-actions.pod:3131
13627 msgid "lvresize-free"
13628 msgstr "lvresize-free"
13629
13630 #. type: verbatim
13631 #: ../fish/guestfish-actions.pod:3133
13632 #, no-wrap
13633 msgid ""
13634 " lvresize-free lv percent\n"
13635 "\n"
13636 msgstr ""
13637
13638 #. type: textblock
13639 #: ../fish/guestfish-actions.pod:3135 ../src/guestfs-actions.pod:4822
13640 msgid ""
13641 "This expands an existing logical volume C<lv> so that it fills C<pc>% of the "
13642 "remaining free space in the volume group.  Commonly you would call this with "
13643 "pc = 100 which expands the logical volume as much as possible, using all "
13644 "remaining free space in the volume group."
13645 msgstr ""
13646
13647 #. type: =head2
13648 #: ../fish/guestfish-actions.pod:3141
13649 msgid "lvs"
13650 msgstr "lvs"
13651
13652 #. type: verbatim
13653 #: ../fish/guestfish-actions.pod:3143
13654 #, no-wrap
13655 msgid ""
13656 " lvs\n"
13657 "\n"
13658 msgstr ""
13659 " lvs\n"
13660 "\n"
13661
13662 #. type: textblock
13663 #: ../fish/guestfish-actions.pod:3145 ../src/guestfs-actions.pod:4837
13664 msgid ""
13665 "List all the logical volumes detected.  This is the equivalent of the L<lvs"
13666 "(8)> command."
13667 msgstr ""
13668
13669 #. type: textblock
13670 #: ../fish/guestfish-actions.pod:3148 ../src/guestfs-actions.pod:4840
13671 msgid ""
13672 "This returns a list of the logical volume device names (eg. C</dev/"
13673 "VolGroup00/LogVol00>)."
13674 msgstr ""
13675
13676 #. type: textblock
13677 #: ../fish/guestfish-actions.pod:3151
13678 msgid "See also L</lvs-full>, L</list-filesystems>."
13679 msgstr "Див. також L</lvs-full>, L</list-filesystems>."
13680
13681 #. type: =head2
13682 #: ../fish/guestfish-actions.pod:3153
13683 msgid "lvs-full"
13684 msgstr "lvs-full"
13685
13686 #. type: verbatim
13687 #: ../fish/guestfish-actions.pod:3155
13688 #, no-wrap
13689 msgid ""
13690 " lvs-full\n"
13691 "\n"
13692 msgstr ""
13693 " lvs-full\n"
13694 "\n"
13695
13696 #. type: textblock
13697 #: ../fish/guestfish-actions.pod:3157 ../src/guestfs-actions.pod:4856
13698 msgid ""
13699 "List all the logical volumes detected.  This is the equivalent of the L<lvs"
13700 "(8)> command.  The \"full\" version includes all fields."
13701 msgstr ""
13702
13703 #. type: =head2
13704 #: ../fish/guestfish-actions.pod:3160
13705 msgid "lvuuid"
13706 msgstr "lvuuid"
13707
13708 #. type: verbatim
13709 #: ../fish/guestfish-actions.pod:3162
13710 #, no-wrap
13711 msgid ""
13712 " lvuuid device\n"
13713 "\n"
13714 msgstr ""
13715 " lvuuid пристрій\n"
13716 "\n"
13717
13718 #. type: textblock
13719 #: ../fish/guestfish-actions.pod:3164 ../src/guestfs-actions.pod:4871
13720 msgid "This command returns the UUID of the LVM LV C<device>."
13721 msgstr ""
13722
13723 #. type: =head2
13724 #: ../fish/guestfish-actions.pod:3166
13725 msgid "lxattrlist"
13726 msgstr "lxattrlist"
13727
13728 #. type: verbatim
13729 #: ../fish/guestfish-actions.pod:3168
13730 #, no-wrap
13731 msgid ""
13732 " lxattrlist path 'names ...'\n"
13733 "\n"
13734 msgstr ""
13735
13736 #. type: textblock
13737 #: ../fish/guestfish-actions.pod:3170 ../src/guestfs-actions.pod:4885
13738 msgid ""
13739 "This call allows you to get the extended attributes of multiple files, where "
13740 "all files are in the directory C<path>.  C<names> is the list of files from "
13741 "this directory."
13742 msgstr ""
13743
13744 #. type: textblock
13745 #: ../fish/guestfish-actions.pod:3174 ../src/guestfs-actions.pod:4889
13746 msgid ""
13747 "On return you get a flat list of xattr structs which must be interpreted "
13748 "sequentially.  The first xattr struct always has a zero-length C<attrname>.  "
13749 "C<attrval> in this struct is zero-length to indicate there was an error "
13750 "doing C<lgetxattr> for this file, I<or> is a C string which is a decimal "
13751 "number (the number of following attributes for this file, which could be C<"
13752 "\"0\">).  Then after the first xattr struct are the zero or more attributes "
13753 "for the first named file.  This repeats for the second and subsequent files."
13754 msgstr ""
13755
13756 #. type: textblock
13757 #: ../fish/guestfish-actions.pod:3184
13758 msgid ""
13759 "This call is intended for programs that want to efficiently list a directory "
13760 "contents without making many round-trips.  See also L</lstatlist> for a "
13761 "similarly efficient call for getting standard stats.  Very long directory "
13762 "listings might cause the protocol message size to be exceeded, causing this "
13763 "call to fail.  The caller must split up such requests into smaller groups of "
13764 "names."
13765 msgstr ""
13766
13767 #. type: =head2
13768 #: ../fish/guestfish-actions.pod:3192
13769 #, fuzzy
13770 #| msgid "lvcreate"
13771 msgid "md-create"
13772 msgstr "lvcreate"
13773
13774 #. type: verbatim
13775 #: ../fish/guestfish-actions.pod:3194
13776 #, no-wrap
13777 msgid ""
13778 " md-create name 'devices ...' [missingbitmap:N] [nrdevices:N] [spare:N] [chunk:N] [level:..]\n"
13779 "\n"
13780 msgstr ""
13781
13782 #. type: textblock
13783 #: ../fish/guestfish-actions.pod:3196 ../src/guestfs-actions.pod:4932
13784 msgid ""
13785 "Create a Linux md (RAID) device named C<name> on the devices in the list "
13786 "C<devices>."
13787 msgstr ""
13788
13789 #. type: =item
13790 #: ../fish/guestfish-actions.pod:3203 ../src/guestfs-actions.pod:4939
13791 msgid "C<missingbitmap>"
13792 msgstr ""
13793
13794 #. type: textblock
13795 #: ../fish/guestfish-actions.pod:3205 ../src/guestfs-actions.pod:4941
13796 msgid ""
13797 "A bitmap of missing devices.  If a bit is set it means that a missing device "
13798 "is added to the array.  The least significant bit corresponds to the first "
13799 "device in the array."
13800 msgstr ""
13801
13802 #. type: textblock
13803 #: ../fish/guestfish-actions.pod:3209 ../src/guestfs-actions.pod:4945
13804 #, fuzzy
13805 #| msgid "For example:"
13806 msgid "As examples:"
13807 msgstr "Приклад:"
13808
13809 #. type: textblock
13810 #: ../fish/guestfish-actions.pod:3211 ../src/guestfs-actions.pod:4947
13811 msgid ""
13812 "If C<devices = [\"/dev/sda\"]> and C<missingbitmap = 0x1> then the resulting "
13813 "array would be C<[E<lt>missingE<gt>, \"/dev/sda\"]>."
13814 msgstr ""
13815
13816 #. type: textblock
13817 #: ../fish/guestfish-actions.pod:3214 ../src/guestfs-actions.pod:4950
13818 msgid ""
13819 "If C<devices = [\"/dev/sda\"]> and C<missingbitmap = 0x2> then the resulting "
13820 "array would be C<[\"/dev/sda\", E<lt>missingE<gt>]>."
13821 msgstr ""
13822
13823 #. type: textblock
13824 #: ../fish/guestfish-actions.pod:3217 ../src/guestfs-actions.pod:4953
13825 msgid "This defaults to C<0> (no missing devices)."
13826 msgstr ""
13827
13828 #. type: textblock
13829 #: ../fish/guestfish-actions.pod:3219 ../src/guestfs-actions.pod:4955
13830 msgid ""
13831 "The length of C<devices> + the number of bits set in C<missingbitmap> must "
13832 "equal C<nrdevices> + C<spare>."
13833 msgstr ""
13834
13835 #. type: =item
13836 #: ../fish/guestfish-actions.pod:3222 ../src/guestfs-actions.pod:4958
13837 #, fuzzy
13838 #| msgid "device"
13839 msgid "C<nrdevices>"
13840 msgstr "пристрій"
13841
13842 #. type: textblock
13843 #: ../fish/guestfish-actions.pod:3224 ../src/guestfs-actions.pod:4960
13844 #, fuzzy
13845 #| msgid "The number of hard links."
13846 msgid "The number of active RAID devices."
13847 msgstr "Кількість жорстких посилань."
13848
13849 #. type: textblock
13850 #: ../fish/guestfish-actions.pod:3226 ../src/guestfs-actions.pod:4962
13851 msgid ""
13852 "If not set, this defaults to the length of C<devices> plus the number of "
13853 "bits set in C<missingbitmap>."
13854 msgstr ""
13855
13856 #. type: =item
13857 #: ../fish/guestfish-actions.pod:3229 ../src/guestfs-actions.pod:4965
13858 #, fuzzy
13859 #| msgid "sparse"
13860 msgid "C<spare>"
13861 msgstr "sparse"
13862
13863 #. type: textblock
13864 #: ../fish/guestfish-actions.pod:3231 ../src/guestfs-actions.pod:4967
13865 #, fuzzy
13866 #| msgid "The number of hard links."
13867 msgid "The number of spare devices."
13868 msgstr "Кількість жорстких посилань."
13869
13870 #. type: textblock
13871 #: ../fish/guestfish-actions.pod:3233 ../src/guestfs-actions.pod:4969
13872 msgid "If not set, this defaults to C<0>."
13873 msgstr ""
13874
13875 #. type: =item
13876 #: ../fish/guestfish-actions.pod:3235 ../src/guestfs-actions.pod:4971
13877 msgid "C<chunk>"
13878 msgstr ""
13879
13880 #. type: textblock
13881 #: ../fish/guestfish-actions.pod:3237 ../src/guestfs-actions.pod:4973
13882 #, fuzzy
13883 #| msgid "The size in SI 1000 byte units."
13884 msgid "The chunk size in bytes."
13885 msgstr "Розмір у одиницях СІ: 1000 байтів."
13886
13887 #. type: =item
13888 #: ../fish/guestfish-actions.pod:3239 ../fish/guestfish-actions.pod:3261
13889 #: ../src/guestfs-actions.pod:4975 ../src/guestfs-actions.pod:5023
13890 msgid "C<level>"
13891 msgstr ""
13892
13893 #. type: textblock
13894 #: ../fish/guestfish-actions.pod:3241 ../src/guestfs-actions.pod:4977
13895 msgid ""
13896 "The RAID level, which can be one of: I<linear>, I<raid0>, I<0>, I<stripe>, "
13897 "I<raid1>, I<1>, I<mirror>, I<raid4>, I<4>, I<raid5>, I<5>, I<raid6>, I<6>, "
13898 "I<raid10>, I<10>.  Some of these are synonymous, and more levels may be "
13899 "added in future."
13900 msgstr ""
13901
13902 #. type: textblock
13903 #: ../fish/guestfish-actions.pod:3246 ../src/guestfs-actions.pod:4982
13904 msgid "If not set, this defaults to C<raid1>."
13905 msgstr ""
13906
13907 #. type: =head2
13908 #: ../fish/guestfish-actions.pod:3252
13909 #, fuzzy
13910 #| msgid "tail"
13911 msgid "md-detail"
13912 msgstr "tail"
13913
13914 #. type: verbatim
13915 #: ../fish/guestfish-actions.pod:3254
13916 #, no-wrap
13917 msgid ""
13918 " md-detail md\n"
13919 "\n"
13920 msgstr ""
13921
13922 #. type: textblock
13923 #: ../fish/guestfish-actions.pod:3256 ../src/guestfs-actions.pod:5018
13924 msgid ""
13925 "This command exposes the output of 'mdadm -DY <md>'. The following fields "
13926 "are usually present in the returned hash. Other fields may also be present."
13927 msgstr ""
13928
13929 #. type: textblock
13930 #: ../fish/guestfish-actions.pod:3263 ../src/guestfs-actions.pod:5025
13931 msgid "The raid level of the MD device."
13932 msgstr ""
13933
13934 #. type: =item
13935 #: ../fish/guestfish-actions.pod:3265 ../src/guestfs-actions.pod:5027
13936 #, fuzzy
13937 #| msgid "device"
13938 msgid "C<devices>"
13939 msgstr "пристрій"
13940
13941 #. type: textblock
13942 #: ../fish/guestfish-actions.pod:3267 ../src/guestfs-actions.pod:5029
13943 msgid "The number of underlying devices in the MD device."
13944 msgstr ""
13945
13946 #. type: =item
13947 #: ../fish/guestfish-actions.pod:3269 ../src/guestfs-actions.pod:5031
13948 msgid "C<metadata>"
13949 msgstr ""
13950
13951 #. type: textblock
13952 #: ../fish/guestfish-actions.pod:3271 ../src/guestfs-actions.pod:5033
13953 msgid "The metadata version used."
13954 msgstr ""
13955
13956 #. type: =item
13957 #: ../fish/guestfish-actions.pod:3273 ../src/guestfs-actions.pod:5035
13958 #, fuzzy
13959 #| msgid "B<--uuid>"
13960 msgid "C<uuid>"
13961 msgstr "B<--uuid>"
13962
13963 #. type: textblock
13964 #: ../fish/guestfish-actions.pod:3275 ../src/guestfs-actions.pod:5037
13965 msgid "The UUID of the MD device."
13966 msgstr ""
13967
13968 #. type: textblock
13969 #: ../fish/guestfish-actions.pod:3279 ../src/guestfs-actions.pod:5041
13970 #, fuzzy
13971 #| msgid "The time of last access."
13972 msgid "The name of the MD device."
13973 msgstr "Час останнього доступу."
13974
13975 #. type: =head2
13976 #: ../fish/guestfish-actions.pod:3283
13977 msgid "md-stop"
13978 msgstr ""
13979
13980 #. type: verbatim
13981 #: ../fish/guestfish-actions.pod:3285
13982 #, no-wrap
13983 msgid ""
13984 " md-stop md\n"
13985 "\n"
13986 msgstr ""
13987
13988 #. type: textblock
13989 #: ../fish/guestfish-actions.pod:3287 ../src/guestfs-actions.pod:5057
13990 msgid ""
13991 "This command deactivates the MD array named C<md>.  The device is stopped, "
13992 "but it is not destroyed or zeroed."
13993 msgstr ""
13994
13995 #. type: =head2
13996 #: ../fish/guestfish-actions.pod:3290
13997 msgid "mkdir"
13998 msgstr "mkdir"
13999
14000 #. type: verbatim
14001 #: ../fish/guestfish-actions.pod:3292
14002 #, no-wrap
14003 msgid ""
14004 " mkdir path\n"
14005 "\n"
14006 msgstr ""
14007 " mkdir шлях\n"
14008 "\n"
14009
14010 #. type: textblock
14011 #: ../fish/guestfish-actions.pod:3294 ../src/guestfs-actions.pod:5068
14012 msgid "Create a directory named C<path>."
14013 msgstr ""
14014
14015 #. type: =head2
14016 #: ../fish/guestfish-actions.pod:3296
14017 msgid "mkdir-mode"
14018 msgstr "mkdir-mode"
14019
14020 #. type: verbatim
14021 #: ../fish/guestfish-actions.pod:3298
14022 #, no-wrap
14023 msgid ""
14024 " mkdir-mode path mode\n"
14025 "\n"
14026 msgstr ""
14027 " mkdir-mode шлях режим\n"
14028 "\n"
14029
14030 #. type: textblock
14031 #: ../fish/guestfish-actions.pod:3300 ../src/guestfs-actions.pod:5081
14032 msgid ""
14033 "This command creates a directory, setting the initial permissions of the "
14034 "directory to C<mode>."
14035 msgstr ""
14036
14037 #. type: textblock
14038 #: ../fish/guestfish-actions.pod:3303 ../src/guestfs-actions.pod:5084
14039 msgid ""
14040 "For common Linux filesystems, the actual mode which is set will be C<mode & "
14041 "~umask & 01777>.  Non-native-Linux filesystems may interpret the mode in "
14042 "other ways."
14043 msgstr ""
14044
14045 #. type: textblock
14046 #: ../fish/guestfish-actions.pod:3307
14047 msgid "See also L</mkdir>, L</umask>"
14048 msgstr "Див. також L</mkdir>, L</umask>"
14049
14050 #. type: =head2
14051 #: ../fish/guestfish-actions.pod:3309
14052 msgid "mkdir-p"
14053 msgstr "mkdir-p"
14054
14055 #. type: verbatim
14056 #: ../fish/guestfish-actions.pod:3311
14057 #, no-wrap
14058 msgid ""
14059 " mkdir-p path\n"
14060 "\n"
14061 msgstr ""
14062 " mkdir-p шлях\n"
14063 "\n"
14064
14065 #. type: textblock
14066 #: ../fish/guestfish-actions.pod:3313 ../src/guestfs-actions.pod:5100
14067 msgid ""
14068 "Create a directory named C<path>, creating any parent directories as "
14069 "necessary.  This is like the C<mkdir -p> shell command."
14070 msgstr ""
14071
14072 #. type: =head2
14073 #: ../fish/guestfish-actions.pod:3316
14074 msgid "mkdtemp"
14075 msgstr "mkdtemp"
14076
14077 #. type: verbatim
14078 #: ../fish/guestfish-actions.pod:3318
14079 #, no-wrap
14080 msgid ""
14081 " mkdtemp template\n"
14082 "\n"
14083 msgstr ""
14084 " mkdtemp шаблон\n"
14085 "\n"
14086
14087 #. type: textblock
14088 #: ../fish/guestfish-actions.pod:3320 ../src/guestfs-actions.pod:5113
14089 msgid ""
14090 "This command creates a temporary directory.  The C<template> parameter "
14091 "should be a full pathname for the temporary directory name with the final "
14092 "six characters being \"XXXXXX\"."
14093 msgstr ""
14094
14095 #. type: textblock
14096 #: ../fish/guestfish-actions.pod:3325 ../src/guestfs-actions.pod:5118
14097 msgid ""
14098 "For example: \"/tmp/myprogXXXXXX\" or \"/Temp/myprogXXXXXX\", the second one "
14099 "being suitable for Windows filesystems."
14100 msgstr ""
14101
14102 #. type: textblock
14103 #: ../fish/guestfish-actions.pod:3328 ../src/guestfs-actions.pod:5121
14104 msgid "The name of the temporary directory that was created is returned."
14105 msgstr ""
14106
14107 #. type: textblock
14108 #: ../fish/guestfish-actions.pod:3331 ../src/guestfs-actions.pod:5124
14109 msgid "The temporary directory is created with mode 0700 and is owned by root."
14110 msgstr ""
14111
14112 #. type: textblock
14113 #: ../fish/guestfish-actions.pod:3334 ../src/guestfs-actions.pod:5127
14114 msgid ""
14115 "The caller is responsible for deleting the temporary directory and its "
14116 "contents after use."
14117 msgstr ""
14118
14119 #. type: textblock
14120 #: ../fish/guestfish-actions.pod:3337 ../src/guestfs-actions.pod:5130
14121 msgid "See also: L<mkdtemp(3)>"
14122 msgstr "Див. також L<mkdtemp(3)>"
14123
14124 #. type: =head2
14125 #: ../fish/guestfish-actions.pod:3339
14126 msgid "mke2fs-J"
14127 msgstr "mke2fs-J"
14128
14129 #. type: verbatim
14130 #: ../fish/guestfish-actions.pod:3341
14131 #, no-wrap
14132 msgid ""
14133 " mke2fs-J fstype blocksize device journal\n"
14134 "\n"
14135 msgstr ""
14136
14137 #. type: textblock
14138 #: ../fish/guestfish-actions.pod:3343 ../src/guestfs-actions.pod:5146
14139 msgid ""
14140 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
14141 "C<journal>.  It is equivalent to the command:"
14142 msgstr ""
14143
14144 #. type: verbatim
14145 #: ../fish/guestfish-actions.pod:3347 ../src/guestfs-actions.pod:5150
14146 #, no-wrap
14147 msgid ""
14148 " mke2fs -t fstype -b blocksize -J device=<journal> <device>\n"
14149 "\n"
14150 msgstr ""
14151 " mke2fs -t fstype -b blocksize -J device=<журнал> <пристрій>\n"
14152 "\n"
14153
14154 #. type: textblock
14155 #: ../fish/guestfish-actions.pod:3349
14156 msgid "See also L</mke2journal>."
14157 msgstr "Див. також L</mke2journal>."
14158
14159 #. type: =head2
14160 #: ../fish/guestfish-actions.pod:3351
14161 msgid "mke2fs-JL"
14162 msgstr "mke2fs-JL"
14163
14164 #. type: verbatim
14165 #: ../fish/guestfish-actions.pod:3353
14166 #, no-wrap
14167 msgid ""
14168 " mke2fs-JL fstype blocksize device label\n"
14169 "\n"
14170 msgstr ""
14171
14172 #. type: textblock
14173 #: ../fish/guestfish-actions.pod:3355 ../src/guestfs-actions.pod:5167
14174 msgid ""
14175 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
14176 "the journal labeled C<label>."
14177 msgstr ""
14178
14179 #. type: textblock
14180 #: ../fish/guestfish-actions.pod:3358
14181 msgid "See also L</mke2journal-L>."
14182 msgstr "Див. також L</mke2journal-L>."
14183
14184 #. type: =head2
14185 #: ../fish/guestfish-actions.pod:3360
14186 msgid "mke2fs-JU"
14187 msgstr "mke2fs-JU"
14188
14189 #. type: verbatim
14190 #: ../fish/guestfish-actions.pod:3362
14191 #, no-wrap
14192 msgid ""
14193 " mke2fs-JU fstype blocksize device uuid\n"
14194 "\n"
14195 msgstr ""
14196
14197 #. type: textblock
14198 #: ../fish/guestfish-actions.pod:3364 ../src/guestfs-actions.pod:5185
14199 msgid ""
14200 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
14201 "the journal with UUID C<uuid>."
14202 msgstr ""
14203
14204 #. type: textblock
14205 #: ../fish/guestfish-actions.pod:3367
14206 msgid "See also L</mke2journal-U>."
14207 msgstr "Див. також L</mke2journal-U>."
14208
14209 #. type: =head2
14210 #: ../fish/guestfish-actions.pod:3369
14211 msgid "mke2journal"
14212 msgstr "mke2journal"
14213
14214 #. type: verbatim
14215 #: ../fish/guestfish-actions.pod:3371
14216 #, no-wrap
14217 msgid ""
14218 " mke2journal blocksize device\n"
14219 "\n"
14220 msgstr ""
14221
14222 #. type: textblock
14223 #: ../fish/guestfish-actions.pod:3373 ../src/guestfs-actions.pod:5201
14224 msgid ""
14225 "This creates an ext2 external journal on C<device>.  It is equivalent to the "
14226 "command:"
14227 msgstr ""
14228
14229 #. type: verbatim
14230 #: ../fish/guestfish-actions.pod:3376 ../src/guestfs-actions.pod:5204
14231 #, no-wrap
14232 msgid ""
14233 " mke2fs -O journal_dev -b blocksize device\n"
14234 "\n"
14235 msgstr ""
14236
14237 #. type: =head2
14238 #: ../fish/guestfish-actions.pod:3378
14239 msgid "mke2journal-L"
14240 msgstr "mke2journal-L"
14241
14242 #. type: verbatim
14243 #: ../fish/guestfish-actions.pod:3380
14244 #, no-wrap
14245 msgid ""
14246 " mke2journal-L blocksize label device\n"
14247 "\n"
14248 msgstr ""
14249
14250 #. type: textblock
14251 #: ../fish/guestfish-actions.pod:3382 ../src/guestfs-actions.pod:5218
14252 msgid "This creates an ext2 external journal on C<device> with label C<label>."
14253 msgstr ""
14254
14255 #. type: =head2
14256 #: ../fish/guestfish-actions.pod:3384
14257 msgid "mke2journal-U"
14258 msgstr "mke2journal-U"
14259
14260 #. type: verbatim
14261 #: ../fish/guestfish-actions.pod:3386
14262 #, no-wrap
14263 msgid ""
14264 " mke2journal-U blocksize uuid device\n"
14265 "\n"
14266 msgstr ""
14267
14268 #. type: textblock
14269 #: ../fish/guestfish-actions.pod:3388 ../src/guestfs-actions.pod:5232
14270 msgid "This creates an ext2 external journal on C<device> with UUID C<uuid>."
14271 msgstr ""
14272
14273 #. type: =head2
14274 #: ../fish/guestfish-actions.pod:3390
14275 msgid "mkfifo"
14276 msgstr "mkfifo"
14277
14278 #. type: verbatim
14279 #: ../fish/guestfish-actions.pod:3392
14280 #, no-wrap
14281 msgid ""
14282 " mkfifo mode path\n"
14283 "\n"
14284 msgstr ""
14285 " mkfifo режим шлях\n"
14286 "\n"
14287
14288 #. type: textblock
14289 #: ../fish/guestfish-actions.pod:3394
14290 msgid ""
14291 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
14292 "is just a convenient wrapper around L</mknod>."
14293 msgstr ""
14294
14295 #. type: =head2
14296 #: ../fish/guestfish-actions.pod:3400
14297 msgid "mkfs"
14298 msgstr "mkfs"
14299
14300 #. type: verbatim
14301 #: ../fish/guestfish-actions.pod:3402
14302 #, no-wrap
14303 msgid ""
14304 " mkfs fstype device\n"
14305 "\n"
14306 msgstr ""
14307 " mkfs тип_файлової_системи пристрій\n"
14308 "\n"
14309
14310 #. type: textblock
14311 #: ../fish/guestfish-actions.pod:3404 ../src/guestfs-actions.pod:5262
14312 msgid ""
14313 "This creates a filesystem on C<device> (usually a partition or LVM logical "
14314 "volume).  The filesystem type is C<fstype>, for example C<ext3>."
14315 msgstr ""
14316
14317 #. type: =head2
14318 #: ../fish/guestfish-actions.pod:3408
14319 msgid "mkfs-b"
14320 msgstr "mkfs-b"
14321
14322 #. type: verbatim
14323 #: ../fish/guestfish-actions.pod:3410
14324 #, no-wrap
14325 msgid ""
14326 " mkfs-b fstype blocksize device\n"
14327 "\n"
14328 msgstr ""
14329
14330 #. type: textblock
14331 #: ../fish/guestfish-actions.pod:3412
14332 msgid ""
14333 "This call is similar to L</mkfs>, but it allows you to control the block "
14334 "size of the resulting filesystem.  Supported block sizes depend on the "
14335 "filesystem type, but typically they are C<1024>, C<2048> or C<4096> only."
14336 msgstr ""
14337
14338 #. type: textblock
14339 #: ../fish/guestfish-actions.pod:3417 ../fish/guestfish-actions.pod:3444
14340 #: ../src/guestfs-actions.pod:5290 ../src/guestfs-actions.pod:5328
14341 msgid ""
14342 "For VFAT and NTFS the C<blocksize> parameter is treated as the requested "
14343 "cluster size."
14344 msgstr ""
14345
14346 #. type: textblock
14347 #: ../fish/guestfish-actions.pod:3420
14348 msgid ""
14349 "I<This function is deprecated.> In new code, use the L</mkfs_opts> call "
14350 "instead."
14351 msgstr ""
14352
14353 #. type: =head2
14354 #: ../fish/guestfish-actions.pod:3427
14355 msgid "mkfs-opts"
14356 msgstr "mkfs-opts"
14357
14358 #. type: verbatim
14359 #: ../fish/guestfish-actions.pod:3429
14360 #, no-wrap
14361 msgid ""
14362 " mkfs-opts fstype device [blocksize:N] [features:..] [inode:N] [sectorsize:N]\n"
14363 "\n"
14364 msgstr ""
14365
14366 #. type: textblock
14367 #: ../fish/guestfish-actions.pod:3431 ../src/guestfs-actions.pod:5315
14368 msgid ""
14369 "This function creates a filesystem on C<device>.  The filesystem type is "
14370 "C<fstype>, for example C<ext3>."
14371 msgstr ""
14372
14373 #. type: =item
14374 #: ../fish/guestfish-actions.pod:3438 ../src/guestfs-actions.pod:5322
14375 msgid "C<blocksize>"
14376 msgstr "C<blocksize>"
14377
14378 #. type: textblock
14379 #: ../fish/guestfish-actions.pod:3440 ../src/guestfs-actions.pod:5324
14380 msgid ""
14381 "The filesystem block size.  Supported block sizes depend on the filesystem "
14382 "type, but typically they are C<1024>, C<2048> or C<4096> for Linux ext2/3 "
14383 "filesystems."
14384 msgstr ""
14385
14386 #. type: textblock
14387 #: ../fish/guestfish-actions.pod:3447 ../src/guestfs-actions.pod:5331
14388 msgid "For UFS block sizes, please see L<mkfs.ufs(8)>."
14389 msgstr ""
14390
14391 #. type: =item
14392 #: ../fish/guestfish-actions.pod:3449 ../src/guestfs-actions.pod:5333
14393 msgid "C<features>"
14394 msgstr "C<features>"
14395
14396 #. type: textblock
14397 #: ../fish/guestfish-actions.pod:3451 ../src/guestfs-actions.pod:5335
14398 msgid "This passes the I<-O> parameter to the external mkfs program."
14399 msgstr ""
14400
14401 #. type: textblock
14402 #: ../fish/guestfish-actions.pod:3453 ../src/guestfs-actions.pod:5337
14403 msgid ""
14404 "For certain filesystem types, this allows extra filesystem features to be "
14405 "selected.  See L<mke2fs(8)> and L<mkfs.ufs(8)> for more details."
14406 msgstr ""
14407
14408 #. type: textblock
14409 #: ../fish/guestfish-actions.pod:3457 ../src/guestfs-actions.pod:5341
14410 msgid ""
14411 "You cannot use this optional parameter with the C<gfs> or C<gfs2> filesystem "
14412 "type."
14413 msgstr ""
14414
14415 #. type: =item
14416 #: ../fish/guestfish-actions.pod:3460 ../src/guestfs-actions.pod:5344
14417 msgid "C<inode>"
14418 msgstr "C<inode>"
14419
14420 #. type: textblock
14421 #: ../fish/guestfish-actions.pod:3462 ../src/guestfs-actions.pod:5346
14422 msgid ""
14423 "This passes the I<-I> parameter to the external L<mke2fs(8)> program which "
14424 "sets the inode size (only for ext2/3/4 filesystems at present)."
14425 msgstr ""
14426
14427 #. type: =item
14428 #: ../fish/guestfish-actions.pod:3465 ../src/guestfs-actions.pod:5349
14429 msgid "C<sectorsize>"
14430 msgstr "C<sectorsize>"
14431
14432 #. type: textblock
14433 #: ../fish/guestfish-actions.pod:3467 ../src/guestfs-actions.pod:5351
14434 msgid ""
14435 "This passes the I<-S> parameter to external L<mkfs.ufs(8)> program, which "
14436 "sets sector size for ufs filesystem."
14437 msgstr ""
14438
14439 #. type: =head2
14440 #: ../fish/guestfish-actions.pod:3474
14441 msgid "mkmountpoint"
14442 msgstr "mkmountpoint"
14443
14444 #. type: verbatim
14445 #: ../fish/guestfish-actions.pod:3476
14446 #, no-wrap
14447 msgid ""
14448 " mkmountpoint exemptpath\n"
14449 "\n"
14450 msgstr ""
14451
14452 #. type: textblock
14453 #: ../fish/guestfish-actions.pod:3478
14454 msgid ""
14455 "L</mkmountpoint> and L</rmmountpoint> are specialized calls that can be used "
14456 "to create extra mountpoints before mounting the first filesystem."
14457 msgstr ""
14458
14459 #. type: textblock
14460 #: ../fish/guestfish-actions.pod:3482 ../src/guestfs-actions.pod:5394
14461 msgid ""
14462 "These calls are I<only> necessary in some very limited circumstances, mainly "
14463 "the case where you want to mount a mix of unrelated and/or read-only "
14464 "filesystems together."
14465 msgstr ""
14466
14467 #. type: textblock
14468 #: ../fish/guestfish-actions.pod:3486 ../src/guestfs-actions.pod:5398
14469 msgid ""
14470 "For example, live CDs often contain a \"Russian doll\" nest of filesystems, "
14471 "an ISO outer layer, with a squashfs image inside, with an ext2/3 image "
14472 "inside that.  You can unpack this as follows in guestfish:"
14473 msgstr ""
14474
14475 #. type: verbatim
14476 #: ../fish/guestfish-actions.pod:3491 ../src/guestfs-actions.pod:5403
14477 #, no-wrap
14478 msgid ""
14479 " add-ro Fedora-11-i686-Live.iso\n"
14480 " run\n"
14481 " mkmountpoint /cd\n"
14482 " mkmountpoint /sqsh\n"
14483 " mkmountpoint /ext3fs\n"
14484 " mount /dev/sda /cd\n"
14485 " mount-loop /cd/LiveOS/squashfs.img /sqsh\n"
14486 " mount-loop /sqsh/LiveOS/ext3fs.img /ext3fs\n"
14487 "\n"
14488 msgstr ""
14489 " add-ro Fedora-11-i686-Live.iso\n"
14490 " run\n"
14491 " mkmountpoint /cd\n"
14492 " mkmountpoint /sqsh\n"
14493 " mkmountpoint /ext3fs\n"
14494 " mount /dev/sda /cd\n"
14495 " mount-loop /cd/LiveOS/squashfs.img /sqsh\n"
14496 " mount-loop /sqsh/LiveOS/ext3fs.img /ext3fs\n"
14497 "\n"
14498
14499 #. type: textblock
14500 #: ../fish/guestfish-actions.pod:3500 ../src/guestfs-actions.pod:5412
14501 msgid "The inner filesystem is now unpacked under the /ext3fs mountpoint."
14502 msgstr ""
14503
14504 #. type: textblock
14505 #: ../fish/guestfish-actions.pod:3502
14506 msgid ""
14507 "L</mkmountpoint> is not compatible with L</umount-all>.  You may get "
14508 "unexpected errors if you try to mix these calls.  It is safest to manually "
14509 "unmount filesystems and remove mountpoints after use."
14510 msgstr ""
14511
14512 #. type: textblock
14513 #: ../fish/guestfish-actions.pod:3506
14514 msgid ""
14515 "L</umount-all> unmounts filesystems by sorting the paths longest first, so "
14516 "for this to work for manual mountpoints, you must ensure that the innermost "
14517 "mountpoints have the longest pathnames, as in the example code above."
14518 msgstr ""
14519
14520 #. type: textblock
14521 #: ../fish/guestfish-actions.pod:3511 ../src/guestfs-actions.pod:5423
14522 msgid ""
14523 "For more details see L<https://bugzilla.redhat.com/show_bug.cgi?id=599503>"
14524 msgstr ""
14525
14526 #. type: textblock
14527 #: ../fish/guestfish-actions.pod:3513
14528 msgid ""
14529 "Autosync [see L</set-autosync>, this is set by default on handles] can cause "
14530 "L</umount-all> to be called when the handle is closed which can also trigger "
14531 "these issues."
14532 msgstr ""
14533
14534 #. type: =head2
14535 #: ../fish/guestfish-actions.pod:3517
14536 msgid "mknod"
14537 msgstr "mknod"
14538
14539 #. type: verbatim
14540 #: ../fish/guestfish-actions.pod:3519
14541 #, no-wrap
14542 msgid ""
14543 " mknod mode devmajor devminor path\n"
14544 "\n"
14545 msgstr ""
14546
14547 #. type: textblock
14548 #: ../fish/guestfish-actions.pod:3521 ../src/guestfs-actions.pod:5442
14549 msgid ""
14550 "This call creates block or character special devices, or named pipes (FIFOs)."
14551 msgstr ""
14552
14553 #. type: textblock
14554 #: ../fish/guestfish-actions.pod:3524 ../src/guestfs-actions.pod:5445
14555 msgid ""
14556 "The C<mode> parameter should be the mode, using the standard constants.  "
14557 "C<devmajor> and C<devminor> are the device major and minor numbers, only "
14558 "used when creating block and character special devices."
14559 msgstr ""
14560
14561 #. type: textblock
14562 #: ../fish/guestfish-actions.pod:3529
14563 msgid ""
14564 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
14565 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
14566 "regular file).  These constants are available in the standard Linux header "
14567 "files, or you can use L</mknod-b>, L</mknod-c> or L</mkfifo> which are "
14568 "wrappers around this command which bitwise OR in the appropriate constant "
14569 "for you."
14570 msgstr ""
14571
14572 #. type: =head2
14573 #: ../fish/guestfish-actions.pod:3539
14574 msgid "mknod-b"
14575 msgstr "mknod-b"
14576
14577 #. type: verbatim
14578 #: ../fish/guestfish-actions.pod:3541
14579 #, no-wrap
14580 msgid ""
14581 " mknod-b mode devmajor devminor path\n"
14582 "\n"
14583 msgstr ""
14584
14585 #. type: textblock
14586 #: ../fish/guestfish-actions.pod:3543
14587 msgid ""
14588 "This call creates a block device node called C<path> with mode C<mode> and "
14589 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
14590 "wrapper around L</mknod>."
14591 msgstr ""
14592
14593 #. type: =head2
14594 #: ../fish/guestfish-actions.pod:3549
14595 msgid "mknod-c"
14596 msgstr "mknod-c"
14597
14598 #. type: verbatim
14599 #: ../fish/guestfish-actions.pod:3551
14600 #, no-wrap
14601 msgid ""
14602 " mknod-c mode devmajor devminor path\n"
14603 "\n"
14604 msgstr ""
14605
14606 #. type: textblock
14607 #: ../fish/guestfish-actions.pod:3553
14608 msgid ""
14609 "This call creates a char device node called C<path> with mode C<mode> and "
14610 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
14611 "wrapper around L</mknod>."
14612 msgstr ""
14613
14614 #. type: =head2
14615 #: ../fish/guestfish-actions.pod:3559
14616 msgid "mkswap"
14617 msgstr "mkswap"
14618
14619 #. type: verbatim
14620 #: ../fish/guestfish-actions.pod:3561
14621 #, no-wrap
14622 msgid ""
14623 " mkswap device\n"
14624 "\n"
14625 msgstr ""
14626 " mkswap пристрій\n"
14627 "\n"
14628
14629 #. type: textblock
14630 #: ../fish/guestfish-actions.pod:3563 ../src/guestfs-actions.pod:5508
14631 msgid "Create a swap partition on C<device>."
14632 msgstr ""
14633
14634 #. type: =head2
14635 #: ../fish/guestfish-actions.pod:3565
14636 msgid "mkswap-L"
14637 msgstr "mkswap-L"
14638
14639 #. type: verbatim
14640 #: ../fish/guestfish-actions.pod:3567
14641 #, no-wrap
14642 msgid ""
14643 " mkswap-L label device\n"
14644 "\n"
14645 msgstr ""
14646 " mkswap-L мітка пристрій\n"
14647 "\n"
14648
14649 #. type: textblock
14650 #: ../fish/guestfish-actions.pod:3569 ../src/guestfs-actions.pod:5521
14651 msgid "Create a swap partition on C<device> with label C<label>."
14652 msgstr ""
14653
14654 #. type: textblock
14655 #: ../fish/guestfish-actions.pod:3571 ../src/guestfs-actions.pod:5523
14656 msgid ""
14657 "Note that you cannot attach a swap label to a block device (eg. C</dev/"
14658 "sda>), just to a partition.  This appears to be a limitation of the kernel "
14659 "or swap tools."
14660 msgstr ""
14661
14662 #. type: =head2
14663 #: ../fish/guestfish-actions.pod:3575
14664 msgid "mkswap-U"
14665 msgstr "mkswap-U"
14666
14667 #. type: verbatim
14668 #: ../fish/guestfish-actions.pod:3577
14669 #, no-wrap
14670 msgid ""
14671 " mkswap-U uuid device\n"
14672 "\n"
14673 msgstr ""
14674 " mkswap-U uuid пристрій\n"
14675 "\n"
14676
14677 #. type: textblock
14678 #: ../fish/guestfish-actions.pod:3579 ../src/guestfs-actions.pod:5538
14679 msgid "Create a swap partition on C<device> with UUID C<uuid>."
14680 msgstr ""
14681
14682 #. type: =head2
14683 #: ../fish/guestfish-actions.pod:3581
14684 msgid "mkswap-file"
14685 msgstr "mkswap-file"
14686
14687 #. type: verbatim
14688 #: ../fish/guestfish-actions.pod:3583
14689 #, no-wrap
14690 msgid ""
14691 " mkswap-file path\n"
14692 "\n"
14693 msgstr ""
14694 " mkswap-file шлях\n"
14695 "\n"
14696
14697 #. type: textblock
14698 #: ../fish/guestfish-actions.pod:3585 ../src/guestfs-actions.pod:5550
14699 msgid "Create a swap file."
14700 msgstr "Створити файл резервної пам’яті."
14701
14702 #. type: textblock
14703 #: ../fish/guestfish-actions.pod:3587
14704 msgid ""
14705 "This command just writes a swap file signature to an existing file.  To "
14706 "create the file itself, use something like L</fallocate>."
14707 msgstr ""
14708
14709 #. type: =head2
14710 #: ../fish/guestfish-actions.pod:3590
14711 msgid "modprobe"
14712 msgstr "modprobe"
14713
14714 #. type: verbatim
14715 #: ../fish/guestfish-actions.pod:3592
14716 #, no-wrap
14717 msgid ""
14718 " modprobe modulename\n"
14719 "\n"
14720 msgstr ""
14721 " modprobe назва_модуля\n"
14722 "\n"
14723
14724 #. type: textblock
14725 #: ../fish/guestfish-actions.pod:3594 ../src/guestfs-actions.pod:5565
14726 msgid "This loads a kernel module in the appliance."
14727 msgstr ""
14728
14729 #. type: textblock
14730 #: ../fish/guestfish-actions.pod:3596 ../src/guestfs-actions.pod:5567
14731 msgid ""
14732 "The kernel module must have been whitelisted when libguestfs was built (see "
14733 "C<appliance/kmod.whitelist.in> in the source)."
14734 msgstr ""
14735
14736 #. type: =head2
14737 #: ../fish/guestfish-actions.pod:3599
14738 msgid "mount"
14739 msgstr "mount"
14740
14741 #. type: verbatim
14742 #: ../fish/guestfish-actions.pod:3601
14743 #, no-wrap
14744 msgid ""
14745 " mount device mountpoint\n"
14746 "\n"
14747 msgstr ""
14748 " mount пристрій точка_монтування\n"
14749 "\n"
14750
14751 #. type: textblock
14752 #: ../fish/guestfish-actions.pod:3603 ../src/guestfs-actions.pod:5581
14753 msgid ""
14754 "Mount a guest disk at a position in the filesystem.  Block devices are named "
14755 "C</dev/sda>, C</dev/sdb> and so on, as they were added to the guest.  If "
14756 "those block devices contain partitions, they will have the usual names (eg. "
14757 "C</dev/sda1>).  Also LVM C</dev/VG/LV>-style names can be used."
14758 msgstr ""
14759
14760 #. type: textblock
14761 #: ../fish/guestfish-actions.pod:3609 ../src/guestfs-actions.pod:5587
14762 msgid ""
14763 "The rules are the same as for L<mount(2)>: A filesystem must first be "
14764 "mounted on C</> before others can be mounted.  Other filesystems can only be "
14765 "mounted on directories which already exist."
14766 msgstr ""
14767
14768 #. type: textblock
14769 #: ../fish/guestfish-actions.pod:3614 ../src/guestfs-actions.pod:5592
14770 msgid ""
14771 "The mounted filesystem is writable, if we have sufficient permissions on the "
14772 "underlying device."
14773 msgstr ""
14774
14775 #. type: textblock
14776 #: ../fish/guestfish-actions.pod:3617
14777 msgid ""
14778 "Before libguestfs 1.13.16, this call implicitly added the options C<sync> "
14779 "and C<noatime>.  The C<sync> option greatly slowed writes and caused many "
14780 "problems for users.  If your program might need to work with older versions "
14781 "of libguestfs, use L</mount-options> instead (using an empty string for the "
14782 "first parameter if you don't want any options)."
14783 msgstr ""
14784
14785 #. type: =head2
14786 #: ../fish/guestfish-actions.pod:3624
14787 msgid "mount-9p"
14788 msgstr ""
14789
14790 #. type: verbatim
14791 #: ../fish/guestfish-actions.pod:3626
14792 #, no-wrap
14793 msgid ""
14794 " mount-9p mounttag mountpoint [options:..]\n"
14795 "\n"
14796 msgstr ""
14797
14798 #. type: textblock
14799 #: ../fish/guestfish-actions.pod:3628 ../src/guestfs-actions.pod:5621
14800 msgid ""
14801 "Mount the virtio-9p filesystem with the tag C<mounttag> on the directory "
14802 "C<mountpoint>."
14803 msgstr ""
14804
14805 #. type: textblock
14806 #: ../fish/guestfish-actions.pod:3631 ../src/guestfs-actions.pod:5624
14807 msgid ""
14808 "If required, C<trans=virtio> will be automatically added to the options.  "
14809 "Any other options required can be passed in the optional C<options> "
14810 "parameter."
14811 msgstr ""
14812
14813 #. type: =head2
14814 #: ../fish/guestfish-actions.pod:3637
14815 msgid "mount-loop"
14816 msgstr "mount-loop"
14817
14818 #. type: verbatim
14819 #: ../fish/guestfish-actions.pod:3639
14820 #, no-wrap
14821 msgid ""
14822 " mount-loop file mountpoint\n"
14823 "\n"
14824 msgstr ""
14825
14826 #. type: textblock
14827 #: ../fish/guestfish-actions.pod:3641 ../src/guestfs-actions.pod:5663
14828 msgid ""
14829 "This command lets you mount C<file> (a filesystem image in a file) on a "
14830 "mount point.  It is entirely equivalent to the command C<mount -o loop file "
14831 "mountpoint>."
14832 msgstr ""
14833
14834 #. type: =head2
14835 #: ../fish/guestfish-actions.pod:3645
14836 msgid "mount-options"
14837 msgstr "mount-options"
14838
14839 #. type: verbatim
14840 #: ../fish/guestfish-actions.pod:3647
14841 #, no-wrap
14842 msgid ""
14843 " mount-options options device mountpoint\n"
14844 "\n"
14845 msgstr ""
14846
14847 #. type: textblock
14848 #: ../fish/guestfish-actions.pod:3649
14849 msgid ""
14850 "This is the same as the L</mount> command, but it allows you to set the "
14851 "mount options as for the L<mount(8)> I<-o> flag."
14852 msgstr ""
14853
14854 #. type: textblock
14855 #: ../fish/guestfish-actions.pod:3653 ../src/guestfs-actions.pod:5683
14856 msgid ""
14857 "If the C<options> parameter is an empty string, then no options are passed "
14858 "(all options default to whatever the filesystem uses)."
14859 msgstr ""
14860
14861 #. type: =head2
14862 #: ../fish/guestfish-actions.pod:3657
14863 msgid "mount-ro"
14864 msgstr "mount-ro"
14865
14866 #. type: verbatim
14867 #: ../fish/guestfish-actions.pod:3659
14868 #, no-wrap
14869 msgid ""
14870 " mount-ro device mountpoint\n"
14871 "\n"
14872 msgstr ""
14873 " mount-ro пристрій точка_монтування\n"
14874 "\n"
14875
14876 #. type: textblock
14877 #: ../fish/guestfish-actions.pod:3661
14878 msgid ""
14879 "This is the same as the L</mount> command, but it mounts the filesystem with "
14880 "the read-only (I<-o ro>) flag."
14881 msgstr ""
14882
14883 #. type: =head2
14884 #: ../fish/guestfish-actions.pod:3664
14885 msgid "mount-vfs"
14886 msgstr "mount-vfs"
14887
14888 #. type: verbatim
14889 #: ../fish/guestfish-actions.pod:3666
14890 #, no-wrap
14891 msgid ""
14892 " mount-vfs options vfstype device mountpoint\n"
14893 "\n"
14894 msgstr ""
14895
14896 #. type: textblock
14897 #: ../fish/guestfish-actions.pod:3668
14898 msgid ""
14899 "This is the same as the L</mount> command, but it allows you to set both the "
14900 "mount options and the vfstype as for the L<mount(8)> I<-o> and I<-t> flags."
14901 msgstr ""
14902
14903 #. type: =head2
14904 #: ../fish/guestfish-actions.pod:3672
14905 msgid "mountpoints"
14906 msgstr "mountpoints"
14907
14908 #. type: verbatim
14909 #: ../fish/guestfish-actions.pod:3674
14910 #, no-wrap
14911 msgid ""
14912 " mountpoints\n"
14913 "\n"
14914 msgstr ""
14915 " mountpoints\n"
14916 "\n"
14917
14918 #. type: textblock
14919 #: ../fish/guestfish-actions.pod:3676
14920 msgid ""
14921 "This call is similar to L</mounts>.  That call returns a list of devices.  "
14922 "This one returns a hash table (map) of device name to directory where the "
14923 "device is mounted."
14924 msgstr ""
14925
14926 #. type: =head2
14927 #: ../fish/guestfish-actions.pod:3680
14928 msgid "mounts"
14929 msgstr "mounts"
14930
14931 #. type: verbatim
14932 #: ../fish/guestfish-actions.pod:3682
14933 #, no-wrap
14934 msgid ""
14935 " mounts\n"
14936 "\n"
14937 msgstr ""
14938 " mounts\n"
14939 "\n"
14940
14941 #. type: textblock
14942 #: ../fish/guestfish-actions.pod:3684 ../src/guestfs-actions.pod:5744
14943 msgid ""
14944 "This returns the list of currently mounted filesystems.  It returns the list "
14945 "of devices (eg. C</dev/sda1>, C</dev/VG/LV>)."
14946 msgstr ""
14947
14948 #. type: textblock
14949 #: ../fish/guestfish-actions.pod:3687 ../src/guestfs-actions.pod:5747
14950 msgid "Some internal mounts are not shown."
14951 msgstr ""
14952
14953 #. type: textblock
14954 #: ../fish/guestfish-actions.pod:3689
14955 msgid "See also: L</mountpoints>"
14956 msgstr "Див. також L</mountpoints>"
14957
14958 #. type: =head2
14959 #: ../fish/guestfish-actions.pod:3691
14960 msgid "mv"
14961 msgstr "mv"
14962
14963 #. type: verbatim
14964 #: ../fish/guestfish-actions.pod:3693
14965 #, no-wrap
14966 msgid ""
14967 " mv src dest\n"
14968 "\n"
14969 msgstr ""
14970 " mv джерело призначення\n"
14971 "\n"
14972
14973 #. type: textblock
14974 #: ../fish/guestfish-actions.pod:3695 ../src/guestfs-actions.pod:5764
14975 msgid ""
14976 "This moves a file from C<src> to C<dest> where C<dest> is either a "
14977 "destination filename or destination directory."
14978 msgstr ""
14979
14980 #. type: =head2
14981 #: ../fish/guestfish-actions.pod:3698
14982 msgid "ntfs-3g-probe"
14983 msgstr "ntfs-3g-probe"
14984
14985 #. type: verbatim
14986 #: ../fish/guestfish-actions.pod:3700
14987 #, no-wrap
14988 msgid ""
14989 " ntfs-3g-probe true|false device\n"
14990 "\n"
14991 msgstr ""
14992
14993 #. type: textblock
14994 #: ../fish/guestfish-actions.pod:3702 ../src/guestfs-actions.pod:5778
14995 msgid ""
14996 "This command runs the L<ntfs-3g.probe(8)> command which probes an NTFS "
14997 "C<device> for mountability.  (Not all NTFS volumes can be mounted read-"
14998 "write, and some cannot be mounted at all)."
14999 msgstr ""
15000
15001 #. type: textblock
15002 #: ../fish/guestfish-actions.pod:3706 ../src/guestfs-actions.pod:5782
15003 msgid ""
15004 "C<rw> is a boolean flag.  Set it to true if you want to test if the volume "
15005 "can be mounted read-write.  Set it to false if you want to test if the "
15006 "volume can be mounted read-only."
15007 msgstr ""
15008
15009 #. type: textblock
15010 #: ../fish/guestfish-actions.pod:3710 ../src/guestfs-actions.pod:5786
15011 msgid ""
15012 "The return value is an integer which C<0> if the operation would succeed, or "
15013 "some non-zero value documented in the L<ntfs-3g.probe(8)> manual page."
15014 msgstr ""
15015
15016 #. type: =head2
15017 #: ../fish/guestfish-actions.pod:3714
15018 msgid "ntfsresize"
15019 msgstr "ntfsresize"
15020
15021 #. type: verbatim
15022 #: ../fish/guestfish-actions.pod:3716
15023 #, no-wrap
15024 msgid ""
15025 " ntfsresize device\n"
15026 "\n"
15027 msgstr ""
15028 " ntfsresize пристрій\n"
15029 "\n"
15030
15031 #. type: textblock
15032 #: ../fish/guestfish-actions.pod:3718 ../fish/guestfish-actions.pod:3742
15033 #: ../src/guestfs-actions.pod:5807 ../src/guestfs-actions.pod:5839
15034 msgid ""
15035 "This command resizes an NTFS filesystem, expanding or shrinking it to the "
15036 "size of the underlying device."
15037 msgstr ""
15038
15039 #. type: textblock
15040 #: ../fish/guestfish-actions.pod:3721 ../src/guestfs-actions.pod:5810
15041 msgid ""
15042 "I<Note:> After the resize operation, the filesystem is marked as requiring a "
15043 "consistency check (for safety).  You have to boot into Windows to perform "
15044 "this check and clear this condition.  Furthermore, ntfsresize refuses to "
15045 "resize filesystems which have been marked in this way.  So in effect it is "
15046 "not possible to call ntfsresize multiple times on a single filesystem "
15047 "without booting into Windows between each resize."
15048 msgstr ""
15049
15050 #. type: textblock
15051 #: ../fish/guestfish-actions.pod:3729 ../fish/guestfish-actions.pod:3768
15052 #: ../src/guestfs-actions.pod:5818 ../src/guestfs-actions.pod:5865
15053 msgid "See also L<ntfsresize(8)>."
15054 msgstr "Див. також L<ntfsresize(8)>."
15055
15056 #. type: textblock
15057 #: ../fish/guestfish-actions.pod:3731 ../fish/guestfish-actions.pod:3779
15058 msgid ""
15059 "I<This function is deprecated.> In new code, use the L</ntfsresize_opts> "
15060 "call instead."
15061 msgstr ""
15062
15063 #. type: =head2
15064 #: ../fish/guestfish-actions.pod:3738
15065 msgid "ntfsresize-opts"
15066 msgstr ""
15067
15068 #. type: verbatim
15069 #: ../fish/guestfish-actions.pod:3740
15070 #, no-wrap
15071 msgid ""
15072 " ntfsresize-opts device [size:N] [force:true|false]\n"
15073 "\n"
15074 msgstr ""
15075
15076 #. type: textblock
15077 #: ../fish/guestfish-actions.pod:3751 ../src/guestfs-actions.pod:5848
15078 msgid ""
15079 "The new size (in bytes) of the filesystem.  If omitted, the filesystem is "
15080 "resized to fit the container (eg. partition)."
15081 msgstr ""
15082
15083 #. type: =item
15084 #: ../fish/guestfish-actions.pod:3754 ../fish/guestfish-actions.pod:5075
15085 #: ../src/guestfs-actions.pod:5851 ../src/guestfs-actions.pod:7822
15086 msgid "C<force>"
15087 msgstr "C<force>"
15088
15089 #. type: textblock
15090 #: ../fish/guestfish-actions.pod:3756 ../src/guestfs-actions.pod:5853
15091 msgid ""
15092 "If this option is true, then force the resize of the filesystem even if the "
15093 "filesystem is marked as requiring a consistency check."
15094 msgstr ""
15095
15096 #. type: textblock
15097 #: ../fish/guestfish-actions.pod:3759
15098 msgid ""
15099 "After the resize operation, the filesystem is always marked as requiring a "
15100 "consistency check (for safety).  You have to boot into Windows to perform "
15101 "this check and clear this condition.  If you I<don't> set the C<force> "
15102 "option then it is not possible to call L</ntfsresize-opts> multiple times on "
15103 "a single filesystem without booting into Windows between each resize."
15104 msgstr ""
15105
15106 #. type: =head2
15107 #: ../fish/guestfish-actions.pod:3772
15108 msgid "ntfsresize-size"
15109 msgstr "ntfsresize-size"
15110
15111 #. type: verbatim
15112 #: ../fish/guestfish-actions.pod:3774
15113 #, no-wrap
15114 msgid ""
15115 " ntfsresize-size device size\n"
15116 "\n"
15117 msgstr ""
15118
15119 #. type: textblock
15120 #: ../fish/guestfish-actions.pod:3776
15121 msgid ""
15122 "This command is the same as L</ntfsresize> except that it allows you to "
15123 "specify the new size (in bytes) explicitly."
15124 msgstr ""
15125
15126 #. type: =head2
15127 #: ../fish/guestfish-actions.pod:3786
15128 msgid "part-add"
15129 msgstr "part-add"
15130
15131 #. type: verbatim
15132 #: ../fish/guestfish-actions.pod:3788
15133 #, no-wrap
15134 msgid ""
15135 " part-add device prlogex startsect endsect\n"
15136 "\n"
15137 msgstr ""
15138
15139 #. type: textblock
15140 #: ../fish/guestfish-actions.pod:3790
15141 msgid ""
15142 "This command adds a partition to C<device>.  If there is no partition table "
15143 "on the device, call L</part-init> first."
15144 msgstr ""
15145
15146 #. type: textblock
15147 #: ../fish/guestfish-actions.pod:3793 ../src/guestfs-actions.pod:5926
15148 msgid ""
15149 "The C<prlogex> parameter is the type of partition.  Normally you should pass "
15150 "C<p> or C<primary> here, but MBR partition tables also support C<l> (or "
15151 "C<logical>) and C<e> (or C<extended>) partition types."
15152 msgstr ""
15153
15154 #. type: textblock
15155 #: ../fish/guestfish-actions.pod:3798 ../src/guestfs-actions.pod:5931
15156 msgid ""
15157 "C<startsect> and C<endsect> are the start and end of the partition in "
15158 "I<sectors>.  C<endsect> may be negative, which means it counts backwards "
15159 "from the end of the disk (C<-1> is the last sector)."
15160 msgstr ""
15161
15162 #. type: textblock
15163 #: ../fish/guestfish-actions.pod:3802
15164 msgid ""
15165 "Creating a partition which covers the whole disk is not so easy.  Use L</"
15166 "part-disk> to do that."
15167 msgstr ""
15168
15169 #. type: =head2
15170 #: ../fish/guestfish-actions.pod:3805
15171 msgid "part-del"
15172 msgstr "part-del"
15173
15174 #. type: verbatim
15175 #: ../fish/guestfish-actions.pod:3807
15176 #, no-wrap
15177 msgid ""
15178 " part-del device partnum\n"
15179 "\n"
15180 msgstr ""
15181
15182 #. type: textblock
15183 #: ../fish/guestfish-actions.pod:3809 ../src/guestfs-actions.pod:5949
15184 msgid "This command deletes the partition numbered C<partnum> on C<device>."
15185 msgstr ""
15186
15187 #. type: textblock
15188 #: ../fish/guestfish-actions.pod:3811 ../src/guestfs-actions.pod:5951
15189 msgid ""
15190 "Note that in the case of MBR partitioning, deleting an extended partition "
15191 "also deletes any logical partitions it contains."
15192 msgstr ""
15193
15194 #. type: =head2
15195 #: ../fish/guestfish-actions.pod:3815
15196 msgid "part-disk"
15197 msgstr "part-disk"
15198
15199 #. type: verbatim
15200 #: ../fish/guestfish-actions.pod:3817
15201 #, no-wrap
15202 msgid ""
15203 " part-disk device parttype\n"
15204 "\n"
15205 msgstr ""
15206 " part-disk пристрій тип_розділу\n"
15207 "\n"
15208
15209 #. type: textblock
15210 #: ../fish/guestfish-actions.pod:3819
15211 msgid ""
15212 "This command is simply a combination of L</part-init> followed by L</part-"
15213 "add> to create a single primary partition covering the whole disk."
15214 msgstr ""
15215
15216 #. type: textblock
15217 #: ../fish/guestfish-actions.pod:3823
15218 msgid ""
15219 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
15220 "possible values are described in L</part-init>."
15221 msgstr ""
15222
15223 #. type: =head2
15224 #: ../fish/guestfish-actions.pod:3826
15225 msgid "part-get-bootable"
15226 msgstr "part-get-bootable"
15227
15228 #. type: verbatim
15229 #: ../fish/guestfish-actions.pod:3828
15230 #, no-wrap
15231 msgid ""
15232 " part-get-bootable device partnum\n"
15233 "\n"
15234 msgstr ""
15235
15236 #. type: textblock
15237 #: ../fish/guestfish-actions.pod:3830 ../src/guestfs-actions.pod:5984
15238 msgid ""
15239 "This command returns true if the partition C<partnum> on C<device> has the "
15240 "bootable flag set."
15241 msgstr ""
15242
15243 #. type: textblock
15244 #: ../fish/guestfish-actions.pod:3833
15245 msgid "See also L</part-set-bootable>."
15246 msgstr "Див. також L</part-set-bootable>."
15247
15248 #. type: =head2
15249 #: ../fish/guestfish-actions.pod:3835
15250 msgid "part-get-mbr-id"
15251 msgstr "part-get-mbr-id"
15252
15253 #. type: verbatim
15254 #: ../fish/guestfish-actions.pod:3837
15255 #, no-wrap
15256 msgid ""
15257 " part-get-mbr-id device partnum\n"
15258 "\n"
15259 msgstr ""
15260
15261 #. type: textblock
15262 #: ../fish/guestfish-actions.pod:3839 ../src/guestfs-actions.pod:6000
15263 msgid ""
15264 "Returns the MBR type byte (also known as the ID byte) from the numbered "
15265 "partition C<partnum>."
15266 msgstr ""
15267
15268 #. type: textblock
15269 #: ../fish/guestfish-actions.pod:3842 ../fish/guestfish-actions.pod:3986
15270 msgid ""
15271 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get "
15272 "undefined results for other partition table types (see L</part-get-"
15273 "parttype>)."
15274 msgstr ""
15275
15276 #. type: =head2
15277 #: ../fish/guestfish-actions.pod:3846
15278 msgid "part-get-parttype"
15279 msgstr "part-get-parttype"
15280
15281 #. type: verbatim
15282 #: ../fish/guestfish-actions.pod:3848
15283 #, no-wrap
15284 msgid ""
15285 " part-get-parttype device\n"
15286 "\n"
15287 msgstr ""
15288 " part-get-parttype пристрій\n"
15289 "\n"
15290
15291 #. type: textblock
15292 #: ../fish/guestfish-actions.pod:3850 ../src/guestfs-actions.pod:6017
15293 msgid ""
15294 "This command examines the partition table on C<device> and returns the "
15295 "partition table type (format) being used."
15296 msgstr ""
15297
15298 #. type: textblock
15299 #: ../fish/guestfish-actions.pod:3853
15300 msgid ""
15301 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
15302 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
15303 "possible, although unusual.  See L</part-init> for a full list."
15304 msgstr ""
15305
15306 #. type: =head2
15307 #: ../fish/guestfish-actions.pod:3858
15308 msgid "part-init"
15309 msgstr "part-init"
15310
15311 #. type: verbatim
15312 #: ../fish/guestfish-actions.pod:3860
15313 #, no-wrap
15314 msgid ""
15315 " part-init device parttype\n"
15316 "\n"
15317 msgstr ""
15318
15319 #. type: textblock
15320 #: ../fish/guestfish-actions.pod:3862 ../src/guestfs-actions.pod:6037
15321 msgid ""
15322 "This creates an empty partition table on C<device> of one of the partition "
15323 "types listed below.  Usually C<parttype> should be either C<msdos> or C<gpt> "
15324 "(for large disks)."
15325 msgstr ""
15326
15327 #. type: textblock
15328 #: ../fish/guestfish-actions.pod:3866
15329 msgid ""
15330 "Initially there are no partitions.  Following this, you should call L</part-"
15331 "add> for each partition required."
15332 msgstr ""
15333
15334 #. type: textblock
15335 #: ../fish/guestfish-actions.pod:3869 ../src/guestfs-actions.pod:6044
15336 msgid "Possible values for C<parttype> are:"
15337 msgstr ""
15338
15339 #. type: =item
15340 #: ../fish/guestfish-actions.pod:3873 ../src/guestfs-actions.pod:6048
15341 msgid "B<efi>"
15342 msgstr "B<efi>"
15343
15344 #. type: =item
15345 #: ../fish/guestfish-actions.pod:3875 ../src/guestfs-actions.pod:6050
15346 msgid "B<gpt>"
15347 msgstr "B<gpt>"
15348
15349 #. type: textblock
15350 #: ../fish/guestfish-actions.pod:3877 ../src/guestfs-actions.pod:6052
15351 msgid "Intel EFI / GPT partition table."
15352 msgstr ""
15353
15354 #. type: textblock
15355 #: ../fish/guestfish-actions.pod:3879 ../src/guestfs-actions.pod:6054
15356 msgid ""
15357 "This is recommended for >= 2 TB partitions that will be accessed from Linux "
15358 "and Intel-based Mac OS X.  It also has limited backwards compatibility with "
15359 "the C<mbr> format."
15360 msgstr ""
15361
15362 #. type: =item
15363 #: ../fish/guestfish-actions.pod:3883 ../src/guestfs-actions.pod:6058
15364 msgid "B<mbr>"
15365 msgstr "B<mbr>"
15366
15367 #. type: =item
15368 #: ../fish/guestfish-actions.pod:3885 ../src/guestfs-actions.pod:6060
15369 msgid "B<msdos>"
15370 msgstr "B<msdos>"
15371
15372 #. type: textblock
15373 #: ../fish/guestfish-actions.pod:3887 ../src/guestfs-actions.pod:6062
15374 msgid ""
15375 "The standard PC \"Master Boot Record\" (MBR) format used by MS-DOS and "
15376 "Windows.  This partition type will B<only> work for device sizes up to 2 "
15377 "TB.  For large disks we recommend using C<gpt>."
15378 msgstr ""
15379
15380 #. type: textblock
15381 #: ../fish/guestfish-actions.pod:3894 ../src/guestfs-actions.pod:6069
15382 msgid ""
15383 "Other partition table types that may work but are not supported include:"
15384 msgstr ""
15385
15386 #. type: =item
15387 #: ../fish/guestfish-actions.pod:3899 ../src/guestfs-actions.pod:6074
15388 msgid "B<aix>"
15389 msgstr "B<aix>"
15390
15391 #. type: textblock
15392 #: ../fish/guestfish-actions.pod:3901 ../src/guestfs-actions.pod:6076
15393 msgid "AIX disk labels."
15394 msgstr "Мітки дисків AIX."
15395
15396 #. type: =item
15397 #: ../fish/guestfish-actions.pod:3903 ../src/guestfs-actions.pod:6078
15398 msgid "B<amiga>"
15399 msgstr "B<amiga>"
15400
15401 #. type: =item
15402 #: ../fish/guestfish-actions.pod:3905 ../src/guestfs-actions.pod:6080
15403 msgid "B<rdb>"
15404 msgstr "B<rdb>"
15405
15406 #. type: textblock
15407 #: ../fish/guestfish-actions.pod:3907 ../src/guestfs-actions.pod:6082
15408 msgid "Amiga \"Rigid Disk Block\" format."
15409 msgstr "Формат \"Rigid Disk Block\" Amiga."
15410
15411 #. type: =item
15412 #: ../fish/guestfish-actions.pod:3909 ../src/guestfs-actions.pod:6084
15413 msgid "B<bsd>"
15414 msgstr "B<bsd>"
15415
15416 #. type: textblock
15417 #: ../fish/guestfish-actions.pod:3911 ../src/guestfs-actions.pod:6086
15418 msgid "BSD disk labels."
15419 msgstr "Мітки дисків BSD."
15420
15421 #. type: =item
15422 #: ../fish/guestfish-actions.pod:3913 ../src/guestfs-actions.pod:6088
15423 msgid "B<dasd>"
15424 msgstr "B<dasd>"
15425
15426 #. type: textblock
15427 #: ../fish/guestfish-actions.pod:3915 ../src/guestfs-actions.pod:6090
15428 msgid "DASD, used on IBM mainframes."
15429 msgstr "DASD, використовувалися у мейнфреймах IBM."
15430
15431 #. type: =item
15432 #: ../fish/guestfish-actions.pod:3917 ../src/guestfs-actions.pod:6092
15433 msgid "B<dvh>"
15434 msgstr "B<dvh>"
15435
15436 #. type: textblock
15437 #: ../fish/guestfish-actions.pod:3919 ../src/guestfs-actions.pod:6094
15438 msgid "MIPS/SGI volumes."
15439 msgstr "Томи MIPS/SGI."
15440
15441 #. type: =item
15442 #: ../fish/guestfish-actions.pod:3921 ../src/guestfs-actions.pod:6096
15443 msgid "B<mac>"
15444 msgstr "B<mac>"
15445
15446 #. type: textblock
15447 #: ../fish/guestfish-actions.pod:3923 ../src/guestfs-actions.pod:6098
15448 msgid "Old Mac partition format.  Modern Macs use C<gpt>."
15449 msgstr "Старий формат розділів Mac. Сучасні системи Mac використовують C<gpt>."
15450
15451 #. type: =item
15452 #: ../fish/guestfish-actions.pod:3925 ../src/guestfs-actions.pod:6100
15453 msgid "B<pc98>"
15454 msgstr "B<pc98>"
15455
15456 #. type: textblock
15457 #: ../fish/guestfish-actions.pod:3927 ../src/guestfs-actions.pod:6102
15458 msgid "NEC PC-98 format, common in Japan apparently."
15459 msgstr "Формат NEC PC-98, поширений у Японії."
15460
15461 #. type: =item
15462 #: ../fish/guestfish-actions.pod:3929 ../src/guestfs-actions.pod:6104
15463 msgid "B<sun>"
15464 msgstr "B<sun>"
15465
15466 #. type: textblock
15467 #: ../fish/guestfish-actions.pod:3931 ../src/guestfs-actions.pod:6106
15468 msgid "Sun disk labels."
15469 msgstr "Мітки дисків Sun."
15470
15471 #. type: =head2
15472 #: ../fish/guestfish-actions.pod:3935
15473 msgid "part-list"
15474 msgstr "part-list"
15475
15476 #. type: verbatim
15477 #: ../fish/guestfish-actions.pod:3937
15478 #, no-wrap
15479 msgid ""
15480 " part-list device\n"
15481 "\n"
15482 msgstr ""
15483 " part-list device\n"
15484 "\n"
15485
15486 #. type: textblock
15487 #: ../fish/guestfish-actions.pod:3939 ../src/guestfs-actions.pod:6120
15488 msgid ""
15489 "This command parses the partition table on C<device> and returns the list of "
15490 "partitions found."
15491 msgstr ""
15492
15493 #. type: textblock
15494 #: ../fish/guestfish-actions.pod:3942 ../src/guestfs-actions.pod:6123
15495 msgid "The fields in the returned structure are:"
15496 msgstr ""
15497
15498 #. type: =item
15499 #: ../fish/guestfish-actions.pod:3946 ../src/guestfs-actions.pod:6127
15500 msgid "B<part_num>"
15501 msgstr "B<part_num>"
15502
15503 #. type: textblock
15504 #: ../fish/guestfish-actions.pod:3948 ../src/guestfs-actions.pod:6129
15505 msgid "Partition number, counting from 1."
15506 msgstr ""
15507
15508 #. type: =item
15509 #: ../fish/guestfish-actions.pod:3950 ../src/guestfs-actions.pod:6131
15510 msgid "B<part_start>"
15511 msgstr "B<part_start>"
15512
15513 #. type: textblock
15514 #: ../fish/guestfish-actions.pod:3952
15515 msgid ""
15516 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
15517 "the device's sector size, see L</blockdev-getss>."
15518 msgstr ""
15519
15520 #. type: =item
15521 #: ../fish/guestfish-actions.pod:3955 ../src/guestfs-actions.pod:6136
15522 msgid "B<part_end>"
15523 msgstr "B<part_end>"
15524
15525 #. type: textblock
15526 #: ../fish/guestfish-actions.pod:3957 ../src/guestfs-actions.pod:6138
15527 msgid "End of the partition in bytes."
15528 msgstr ""
15529
15530 #. type: =item
15531 #: ../fish/guestfish-actions.pod:3959 ../src/guestfs-actions.pod:6140
15532 msgid "B<part_size>"
15533 msgstr "B<part_size>"
15534
15535 #. type: textblock
15536 #: ../fish/guestfish-actions.pod:3961 ../src/guestfs-actions.pod:6142
15537 msgid "Size of the partition in bytes."
15538 msgstr ""
15539
15540 #. type: =head2
15541 #: ../fish/guestfish-actions.pod:3965
15542 msgid "part-set-bootable"
15543 msgstr "part-set-bootable"
15544
15545 #. type: verbatim
15546 #: ../fish/guestfish-actions.pod:3967
15547 #, no-wrap
15548 msgid ""
15549 " part-set-bootable device partnum true|false\n"
15550 "\n"
15551 msgstr ""
15552
15553 #. type: textblock
15554 #: ../fish/guestfish-actions.pod:3969 ../src/guestfs-actions.pod:6160
15555 msgid ""
15556 "This sets the bootable flag on partition numbered C<partnum> on device "
15557 "C<device>.  Note that partitions are numbered from 1."
15558 msgstr ""
15559
15560 #. type: textblock
15561 #: ../fish/guestfish-actions.pod:3972 ../src/guestfs-actions.pod:6163
15562 msgid ""
15563 "The bootable flag is used by some operating systems (notably Windows) to "
15564 "determine which partition to boot from.  It is by no means universally "
15565 "recognized."
15566 msgstr ""
15567
15568 #. type: =head2
15569 #: ../fish/guestfish-actions.pod:3976
15570 msgid "part-set-mbr-id"
15571 msgstr "part-set-mbr-id"
15572
15573 #. type: verbatim
15574 #: ../fish/guestfish-actions.pod:3978
15575 #, no-wrap
15576 msgid ""
15577 " part-set-mbr-id device partnum idbyte\n"
15578 "\n"
15579 msgstr ""
15580
15581 #. type: textblock
15582 #: ../fish/guestfish-actions.pod:3980 ../src/guestfs-actions.pod:6179
15583 msgid ""
15584 "Sets the MBR type byte (also known as the ID byte) of the numbered partition "
15585 "C<partnum> to C<idbyte>.  Note that the type bytes quoted in most "
15586 "documentation are in fact hexadecimal numbers, but usually documented "
15587 "without any leading \"0x\" which might be confusing."
15588 msgstr ""
15589
15590 #. type: =head2
15591 #: ../fish/guestfish-actions.pod:3990
15592 msgid "part-set-name"
15593 msgstr "part-set-name"
15594
15595 #. type: verbatim
15596 #: ../fish/guestfish-actions.pod:3992
15597 #, no-wrap
15598 msgid ""
15599 " part-set-name device partnum name\n"
15600 "\n"
15601 msgstr ""
15602
15603 #. type: textblock
15604 #: ../fish/guestfish-actions.pod:3994 ../src/guestfs-actions.pod:6201
15605 msgid ""
15606 "This sets the partition name on partition numbered C<partnum> on device "
15607 "C<device>.  Note that partitions are numbered from 1."
15608 msgstr ""
15609
15610 #. type: textblock
15611 #: ../fish/guestfish-actions.pod:3997 ../src/guestfs-actions.pod:6204
15612 msgid ""
15613 "The partition name can only be set on certain types of partition table.  "
15614 "This works on C<gpt> but not on C<mbr> partitions."
15615 msgstr ""
15616
15617 #. type: =head2
15618 #: ../fish/guestfish-actions.pod:4000
15619 msgid "part-to-dev"
15620 msgstr "part-to-dev"
15621
15622 #. type: verbatim
15623 #: ../fish/guestfish-actions.pod:4002
15624 #, no-wrap
15625 msgid ""
15626 " part-to-dev partition\n"
15627 "\n"
15628 msgstr ""
15629 " part-to-dev розділ\n"
15630 "\n"
15631
15632 #. type: textblock
15633 #: ../fish/guestfish-actions.pod:4004 ../src/guestfs-actions.pod:6217
15634 msgid ""
15635 "This function takes a partition name (eg. \"/dev/sdb1\") and removes the "
15636 "partition number, returning the device name (eg. \"/dev/sdb\")."
15637 msgstr ""
15638
15639 #. type: textblock
15640 #: ../fish/guestfish-actions.pod:4008 ../fish/guestfish-actions.pod:4020
15641 msgid ""
15642 "The named partition must exist, for example as a string returned from L</"
15643 "list-partitions>."
15644 msgstr ""
15645
15646 #. type: textblock
15647 #: ../fish/guestfish-actions.pod:4011
15648 msgid "See also L</part-to-partnum>."
15649 msgstr ""
15650
15651 #. type: =head2
15652 #: ../fish/guestfish-actions.pod:4013
15653 msgid "part-to-partnum"
15654 msgstr ""
15655
15656 #. type: verbatim
15657 #: ../fish/guestfish-actions.pod:4015
15658 #, no-wrap
15659 msgid ""
15660 " part-to-partnum partition\n"
15661 "\n"
15662 msgstr ""
15663
15664 #. type: textblock
15665 #: ../fish/guestfish-actions.pod:4017 ../src/guestfs-actions.pod:6237
15666 msgid ""
15667 "This function takes a partition name (eg. \"/dev/sdb1\") and returns the "
15668 "partition number (eg. C<1>)."
15669 msgstr ""
15670
15671 #. type: textblock
15672 #: ../fish/guestfish-actions.pod:4023
15673 msgid "See also L</part-to-dev>."
15674 msgstr ""
15675
15676 #. type: =head2
15677 #: ../fish/guestfish-actions.pod:4025
15678 msgid "ping-daemon"
15679 msgstr "ping-daemon"
15680
15681 #. type: verbatim
15682 #: ../fish/guestfish-actions.pod:4027
15683 #, no-wrap
15684 msgid ""
15685 " ping-daemon\n"
15686 "\n"
15687 msgstr ""
15688 " ping-daemon\n"
15689 "\n"
15690
15691 #. type: textblock
15692 #: ../fish/guestfish-actions.pod:4029 ../src/guestfs-actions.pod:6254
15693 msgid ""
15694 "This is a test probe into the guestfs daemon running inside the qemu "
15695 "subprocess.  Calling this function checks that the daemon responds to the "
15696 "ping message, without affecting the daemon or attached block device(s) in "
15697 "any other way."
15698 msgstr ""
15699
15700 #. type: =head2
15701 #: ../fish/guestfish-actions.pod:4034
15702 msgid "pread"
15703 msgstr "pread"
15704
15705 #. type: verbatim
15706 #: ../fish/guestfish-actions.pod:4036
15707 #, no-wrap
15708 msgid ""
15709 " pread path count offset\n"
15710 "\n"
15711 msgstr ""
15712
15713 #. type: textblock
15714 #: ../fish/guestfish-actions.pod:4038 ../src/guestfs-actions.pod:6272
15715 msgid ""
15716 "This command lets you read part of a file.  It reads C<count> bytes of the "
15717 "file, starting at C<offset>, from file C<path>."
15718 msgstr ""
15719
15720 #. type: textblock
15721 #: ../fish/guestfish-actions.pod:4041 ../fish/guestfish-actions.pod:4056
15722 #: ../src/guestfs-actions.pod:6275 ../src/guestfs-actions.pod:6301
15723 msgid ""
15724 "This may read fewer bytes than requested.  For further details see the "
15725 "L<pread(2)> system call."
15726 msgstr ""
15727
15728 #. type: textblock
15729 #: ../fish/guestfish-actions.pod:4044
15730 msgid "See also L</pwrite>, L</pread-device>."
15731 msgstr "Див. також L</pwrite>, L</pread-device>."
15732
15733 #. type: =head2
15734 #: ../fish/guestfish-actions.pod:4049
15735 msgid "pread-device"
15736 msgstr "pread-device"
15737
15738 #. type: verbatim
15739 #: ../fish/guestfish-actions.pod:4051
15740 #, no-wrap
15741 msgid ""
15742 " pread-device device count offset\n"
15743 "\n"
15744 msgstr ""
15745
15746 #. type: textblock
15747 #: ../fish/guestfish-actions.pod:4053 ../src/guestfs-actions.pod:6298
15748 msgid ""
15749 "This command lets you read part of a file.  It reads C<count> bytes of "
15750 "C<device>, starting at C<offset>."
15751 msgstr ""
15752
15753 #. type: textblock
15754 #: ../fish/guestfish-actions.pod:4059
15755 msgid "See also L</pread>."
15756 msgstr "Див. також L</pread>."
15757
15758 #. type: =head2
15759 #: ../fish/guestfish-actions.pod:4064
15760 msgid "pvcreate"
15761 msgstr "pvcreate"
15762
15763 #. type: verbatim
15764 #: ../fish/guestfish-actions.pod:4066
15765 #, no-wrap
15766 msgid ""
15767 " pvcreate device\n"
15768 "\n"
15769 msgstr ""
15770 " pvcreate пристрій\n"
15771 "\n"
15772
15773 #. type: textblock
15774 #: ../fish/guestfish-actions.pod:4068 ../src/guestfs-actions.pod:6321
15775 msgid ""
15776 "This creates an LVM physical volume on the named C<device>, where C<device> "
15777 "should usually be a partition name such as C</dev/sda1>."
15778 msgstr ""
15779
15780 #. type: =head2
15781 #: ../fish/guestfish-actions.pod:4072
15782 msgid "pvremove"
15783 msgstr "pvremove"
15784
15785 #. type: verbatim
15786 #: ../fish/guestfish-actions.pod:4074
15787 #, no-wrap
15788 msgid ""
15789 " pvremove device\n"
15790 "\n"
15791 msgstr ""
15792 " pvremove пристрій\n"
15793 "\n"
15794
15795 #. type: textblock
15796 #: ../fish/guestfish-actions.pod:4076 ../src/guestfs-actions.pod:6335
15797 msgid ""
15798 "This wipes a physical volume C<device> so that LVM will no longer recognise "
15799 "it."
15800 msgstr ""
15801
15802 #. type: textblock
15803 #: ../fish/guestfish-actions.pod:4079 ../src/guestfs-actions.pod:6338
15804 msgid ""
15805 "The implementation uses the C<pvremove> command which refuses to wipe "
15806 "physical volumes that contain any volume groups, so you have to remove those "
15807 "first."
15808 msgstr ""
15809
15810 #. type: =head2
15811 #: ../fish/guestfish-actions.pod:4083
15812 msgid "pvresize"
15813 msgstr "pvresize"
15814
15815 #. type: verbatim
15816 #: ../fish/guestfish-actions.pod:4085
15817 #, no-wrap
15818 msgid ""
15819 " pvresize device\n"
15820 "\n"
15821 msgstr ""
15822 " pvresize пристрій\n"
15823 "\n"
15824
15825 #. type: textblock
15826 #: ../fish/guestfish-actions.pod:4087 ../src/guestfs-actions.pod:6352
15827 msgid ""
15828 "This resizes (expands or shrinks) an existing LVM physical volume to match "
15829 "the new size of the underlying device."
15830 msgstr ""
15831
15832 #. type: =head2
15833 #: ../fish/guestfish-actions.pod:4090
15834 msgid "pvresize-size"
15835 msgstr "pvresize-size"
15836
15837 #. type: verbatim
15838 #: ../fish/guestfish-actions.pod:4092
15839 #, no-wrap
15840 msgid ""
15841 " pvresize-size device size\n"
15842 "\n"
15843 msgstr ""
15844
15845 #. type: textblock
15846 #: ../fish/guestfish-actions.pod:4094
15847 msgid ""
15848 "This command is the same as L</pvresize> except that it allows you to "
15849 "specify the new size (in bytes) explicitly."
15850 msgstr ""
15851
15852 #. type: =head2
15853 #: ../fish/guestfish-actions.pod:4097
15854 msgid "pvs"
15855 msgstr "pvs"
15856
15857 #. type: verbatim
15858 #: ../fish/guestfish-actions.pod:4099
15859 #, no-wrap
15860 msgid ""
15861 " pvs\n"
15862 "\n"
15863 msgstr ""
15864 " pvs\n"
15865 "\n"
15866
15867 #. type: textblock
15868 #: ../fish/guestfish-actions.pod:4101 ../src/guestfs-actions.pod:6378
15869 msgid ""
15870 "List all the physical volumes detected.  This is the equivalent of the L<pvs"
15871 "(8)> command."
15872 msgstr ""
15873
15874 #. type: textblock
15875 #: ../fish/guestfish-actions.pod:4104 ../src/guestfs-actions.pod:6381
15876 msgid ""
15877 "This returns a list of just the device names that contain PVs (eg. C</dev/"
15878 "sda2>)."
15879 msgstr ""
15880
15881 #. type: textblock
15882 #: ../fish/guestfish-actions.pod:4107
15883 msgid "See also L</pvs-full>."
15884 msgstr "Див. також L</pvs-full>."
15885
15886 #. type: =head2
15887 #: ../fish/guestfish-actions.pod:4109
15888 msgid "pvs-full"
15889 msgstr "pvs-full"
15890
15891 #. type: verbatim
15892 #: ../fish/guestfish-actions.pod:4111
15893 #, no-wrap
15894 msgid ""
15895 " pvs-full\n"
15896 "\n"
15897 msgstr ""
15898 " pvs-full\n"
15899 "\n"
15900
15901 #. type: textblock
15902 #: ../fish/guestfish-actions.pod:4113 ../src/guestfs-actions.pod:6397
15903 msgid ""
15904 "List all the physical volumes detected.  This is the equivalent of the L<pvs"
15905 "(8)> command.  The \"full\" version includes all fields."
15906 msgstr ""
15907
15908 #. type: =head2
15909 #: ../fish/guestfish-actions.pod:4116
15910 msgid "pvuuid"
15911 msgstr "pvuuid"
15912
15913 #. type: verbatim
15914 #: ../fish/guestfish-actions.pod:4118
15915 #, no-wrap
15916 msgid ""
15917 " pvuuid device\n"
15918 "\n"
15919 msgstr ""
15920 " pvuuid пристрій\n"
15921 "\n"
15922
15923 #. type: textblock
15924 #: ../fish/guestfish-actions.pod:4120 ../src/guestfs-actions.pod:6412
15925 msgid "This command returns the UUID of the LVM PV C<device>."
15926 msgstr ""
15927
15928 #. type: =head2
15929 #: ../fish/guestfish-actions.pod:4122
15930 msgid "pwrite"
15931 msgstr "pwrite"
15932
15933 #. type: verbatim
15934 #: ../fish/guestfish-actions.pod:4124
15935 #, no-wrap
15936 msgid ""
15937 " pwrite path content offset\n"
15938 "\n"
15939 msgstr ""
15940
15941 #. type: textblock
15942 #: ../fish/guestfish-actions.pod:4126 ../src/guestfs-actions.pod:6428
15943 msgid ""
15944 "This command writes to part of a file.  It writes the data buffer C<content> "
15945 "to the file C<path> starting at offset C<offset>."
15946 msgstr ""
15947
15948 #. type: textblock
15949 #: ../fish/guestfish-actions.pod:4129 ../src/guestfs-actions.pod:6431
15950 msgid ""
15951 "This command implements the L<pwrite(2)> system call, and like that system "
15952 "call it may not write the full data requested.  The return value is the "
15953 "number of bytes that were actually written to the file.  This could even be "
15954 "0, although short writes are unlikely for regular files in ordinary "
15955 "circumstances."
15956 msgstr ""
15957
15958 #. type: textblock
15959 #: ../fish/guestfish-actions.pod:4135
15960 msgid "See also L</pread>, L</pwrite-device>."
15961 msgstr "Див. також L</pread>, L</pwrite-device>."
15962
15963 #. type: =head2
15964 #: ../fish/guestfish-actions.pod:4140
15965 msgid "pwrite-device"
15966 msgstr "pwrite-device"
15967
15968 #. type: verbatim
15969 #: ../fish/guestfish-actions.pod:4142
15970 #, no-wrap
15971 msgid ""
15972 " pwrite-device device content offset\n"
15973 "\n"
15974 msgstr ""
15975
15976 #. type: textblock
15977 #: ../fish/guestfish-actions.pod:4144 ../src/guestfs-actions.pod:6455
15978 msgid ""
15979 "This command writes to part of a device.  It writes the data buffer "
15980 "C<content> to C<device> starting at offset C<offset>."
15981 msgstr ""
15982
15983 #. type: textblock
15984 #: ../fish/guestfish-actions.pod:4147 ../src/guestfs-actions.pod:6458
15985 msgid ""
15986 "This command implements the L<pwrite(2)> system call, and like that system "
15987 "call it may not write the full data requested (although short writes to disk "
15988 "devices and partitions are probably impossible with standard Linux kernels)."
15989 msgstr ""
15990
15991 #. type: textblock
15992 #: ../fish/guestfish-actions.pod:4152
15993 msgid "See also L</pwrite>."
15994 msgstr "Див. також L</pwrite>."
15995
15996 #. type: =head2
15997 #: ../fish/guestfish-actions.pod:4157
15998 msgid "read-file"
15999 msgstr "read-file"
16000
16001 #. type: verbatim
16002 #: ../fish/guestfish-actions.pod:4159
16003 #, no-wrap
16004 msgid ""
16005 " read-file path\n"
16006 "\n"
16007 msgstr ""
16008 " read-file шлях\n"
16009 "\n"
16010
16011 #. type: textblock
16012 #: ../fish/guestfish-actions.pod:4161 ../src/guestfs-actions.pod:6479
16013 msgid "This calls returns the contents of the file C<path> as a buffer."
16014 msgstr ""
16015
16016 #. type: textblock
16017 #: ../fish/guestfish-actions.pod:4164
16018 msgid ""
16019 "Unlike L</cat>, this function can correctly handle files that contain "
16020 "embedded ASCII NUL characters.  However unlike L</download>, this function "
16021 "is limited in the total size of file that can be handled."
16022 msgstr ""
16023
16024 #. type: =head2
16025 #: ../fish/guestfish-actions.pod:4172
16026 msgid "read-lines"
16027 msgstr "read-lines"
16028
16029 #. type: verbatim
16030 #: ../fish/guestfish-actions.pod:4174
16031 #, no-wrap
16032 msgid ""
16033 " read-lines path\n"
16034 "\n"
16035 msgstr ""
16036 " read-lines шлях\n"
16037 "\n"
16038
16039 #. type: textblock
16040 #: ../fish/guestfish-actions.pod:4178 ../src/guestfs-actions.pod:6504
16041 msgid ""
16042 "The file contents are returned as a list of lines.  Trailing C<LF> and "
16043 "C<CRLF> character sequences are I<not> returned."
16044 msgstr ""
16045
16046 #. type: textblock
16047 #: ../fish/guestfish-actions.pod:4181
16048 msgid ""
16049 "Note that this function cannot correctly handle binary files (specifically, "
16050 "files containing C<\\0> character which is treated as end of line).  For "
16051 "those you need to use the L</read-file> function which has a more complex "
16052 "interface."
16053 msgstr ""
16054
16055 #. type: =head2
16056 #: ../fish/guestfish-actions.pod:4186
16057 msgid "readdir"
16058 msgstr "readdir"
16059
16060 #. type: verbatim
16061 #: ../fish/guestfish-actions.pod:4188
16062 #, no-wrap
16063 msgid ""
16064 " readdir dir\n"
16065 "\n"
16066 msgstr ""
16067 " readdir каталог\n"
16068 "\n"
16069
16070 #. type: textblock
16071 #: ../fish/guestfish-actions.pod:4190 ../src/guestfs-actions.pod:6524
16072 msgid "This returns the list of directory entries in directory C<dir>."
16073 msgstr ""
16074
16075 #. type: textblock
16076 #: ../fish/guestfish-actions.pod:4192 ../src/guestfs-actions.pod:6526
16077 msgid ""
16078 "All entries in the directory are returned, including C<.> and C<..>.  The "
16079 "entries are I<not> sorted, but returned in the same order as the underlying "
16080 "filesystem."
16081 msgstr ""
16082
16083 #. type: textblock
16084 #: ../fish/guestfish-actions.pod:4196 ../src/guestfs-actions.pod:6530
16085 msgid ""
16086 "Also this call returns basic file type information about each file.  The "
16087 "C<ftyp> field will contain one of the following characters:"
16088 msgstr ""
16089
16090 #. type: =item
16091 #: ../fish/guestfish-actions.pod:4201 ../src/guestfs-actions.pod:6535
16092 msgid "'b'"
16093 msgstr "'b'"
16094
16095 #. type: textblock
16096 #: ../fish/guestfish-actions.pod:4203 ../src/guestfs-actions.pod:6537
16097 msgid "Block special"
16098 msgstr "Блоковий особливий"
16099
16100 #. type: =item
16101 #: ../fish/guestfish-actions.pod:4205 ../src/guestfs-actions.pod:6539
16102 msgid "'c'"
16103 msgstr "'c'"
16104
16105 #. type: textblock
16106 #: ../fish/guestfish-actions.pod:4207 ../src/guestfs-actions.pod:6541
16107 msgid "Char special"
16108 msgstr "Символьний особливий"
16109
16110 #. type: =item
16111 #: ../fish/guestfish-actions.pod:4209 ../src/guestfs-actions.pod:6543
16112 msgid "'d'"
16113 msgstr "'d'"
16114
16115 #. type: textblock
16116 #: ../fish/guestfish-actions.pod:4211 ../src/guestfs-actions.pod:6545
16117 msgid "Directory"
16118 msgstr "Каталог"
16119
16120 #. type: =item
16121 #: ../fish/guestfish-actions.pod:4213 ../src/guestfs-actions.pod:6547
16122 msgid "'f'"
16123 msgstr "'f'"
16124
16125 #. type: textblock
16126 #: ../fish/guestfish-actions.pod:4215 ../src/guestfs-actions.pod:6549
16127 msgid "FIFO (named pipe)"
16128 msgstr "FIFO (іменований канал)"
16129
16130 #. type: =item
16131 #: ../fish/guestfish-actions.pod:4217 ../src/guestfs-actions.pod:6551
16132 msgid "'l'"
16133 msgstr "'l'"
16134
16135 #. type: textblock
16136 #: ../fish/guestfish-actions.pod:4219 ../src/guestfs-actions.pod:6553
16137 msgid "Symbolic link"
16138 msgstr "Символічне посилання"
16139
16140 #. type: =item
16141 #: ../fish/guestfish-actions.pod:4221 ../src/guestfs-actions.pod:6555
16142 msgid "'r'"
16143 msgstr "'r'"
16144
16145 #. type: textblock
16146 #: ../fish/guestfish-actions.pod:4223 ../src/guestfs-actions.pod:6557
16147 msgid "Regular file"
16148 msgstr "Звичайний файл"
16149
16150 #. type: =item
16151 #: ../fish/guestfish-actions.pod:4225 ../src/guestfs-actions.pod:6559
16152 msgid "'s'"
16153 msgstr "'s'"
16154
16155 #. type: textblock
16156 #: ../fish/guestfish-actions.pod:4227 ../src/guestfs-actions.pod:6561
16157 msgid "Socket"
16158 msgstr "Сокет"
16159
16160 #. type: =item
16161 #: ../fish/guestfish-actions.pod:4229 ../src/guestfs-actions.pod:6563
16162 msgid "'u'"
16163 msgstr "'u'"
16164
16165 #. type: textblock
16166 #: ../fish/guestfish-actions.pod:4231 ../src/guestfs-actions.pod:6565
16167 msgid "Unknown file type"
16168 msgstr "Невідомий тип файла"
16169
16170 #. type: =item
16171 #: ../fish/guestfish-actions.pod:4233 ../src/guestfs-actions.pod:6567
16172 msgid "'?'"
16173 msgstr ""
16174
16175 #. type: textblock
16176 #: ../fish/guestfish-actions.pod:4235 ../src/guestfs-actions.pod:6569
16177 msgid ""
16178 "The L<readdir(3)> call returned a C<d_type> field with an unexpected value"
16179 msgstr ""
16180
16181 #. type: textblock
16182 #: ../fish/guestfish-actions.pod:4240
16183 msgid ""
16184 "This function is primarily intended for use by programs.  To get a simple "
16185 "list of names, use L</ls>.  To get a printable directory for human "
16186 "consumption, use L</ll>."
16187 msgstr ""
16188
16189 #. type: =head2
16190 #: ../fish/guestfish-actions.pod:4244
16191 msgid "readlink"
16192 msgstr "readlink"
16193
16194 #. type: verbatim
16195 #: ../fish/guestfish-actions.pod:4246
16196 #, no-wrap
16197 msgid ""
16198 " readlink path\n"
16199 "\n"
16200 msgstr ""
16201 " readlink шлях\n"
16202 "\n"
16203
16204 #. type: textblock
16205 #: ../fish/guestfish-actions.pod:4248 ../src/guestfs-actions.pod:6590
16206 msgid "This command reads the target of a symbolic link."
16207 msgstr ""
16208
16209 #. type: =head2
16210 #: ../fish/guestfish-actions.pod:4250
16211 msgid "readlinklist"
16212 msgstr "readlinklist"
16213
16214 #. type: verbatim
16215 #: ../fish/guestfish-actions.pod:4252
16216 #, no-wrap
16217 msgid ""
16218 " readlinklist path 'names ...'\n"
16219 "\n"
16220 msgstr ""
16221
16222 #. type: textblock
16223 #: ../fish/guestfish-actions.pod:4254 ../src/guestfs-actions.pod:6604
16224 msgid ""
16225 "This call allows you to do a C<readlink> operation on multiple files, where "
16226 "all files are in the directory C<path>.  C<names> is the list of files from "
16227 "this directory."
16228 msgstr ""
16229
16230 #. type: textblock
16231 #: ../fish/guestfish-actions.pod:4258 ../src/guestfs-actions.pod:6608
16232 msgid ""
16233 "On return you get a list of strings, with a one-to-one correspondence to the "
16234 "C<names> list.  Each string is the value of the symbolic link."
16235 msgstr ""
16236
16237 #. type: textblock
16238 #: ../fish/guestfish-actions.pod:4262 ../src/guestfs-actions.pod:6612
16239 msgid ""
16240 "If the C<readlink(2)> operation fails on any name, then the corresponding "
16241 "result string is the empty string C<\"\">.  However the whole operation is "
16242 "completed even if there were C<readlink(2)> errors, and so you can call this "
16243 "function with names where you don't know if they are symbolic links already "
16244 "(albeit slightly less efficient)."
16245 msgstr ""
16246
16247 #. type: textblock
16248 #: ../fish/guestfish-actions.pod:4269 ../src/guestfs-actions.pod:6619
16249 msgid ""
16250 "This call is intended for programs that want to efficiently list a directory "
16251 "contents without making many round-trips.  Very long directory listings "
16252 "might cause the protocol message size to be exceeded, causing this call to "
16253 "fail.  The caller must split up such requests into smaller groups of names."
16254 msgstr ""
16255
16256 #. type: =head2
16257 #: ../fish/guestfish-actions.pod:4276
16258 msgid "realpath"
16259 msgstr "realpath"
16260
16261 #. type: verbatim
16262 #: ../fish/guestfish-actions.pod:4278
16263 #, no-wrap
16264 msgid ""
16265 " realpath path\n"
16266 "\n"
16267 msgstr ""
16268 " realpath шлях\n"
16269 "\n"
16270
16271 #. type: textblock
16272 #: ../fish/guestfish-actions.pod:4280 ../src/guestfs-actions.pod:6638
16273 msgid ""
16274 "Return the canonicalized absolute pathname of C<path>.  The returned path "
16275 "has no C<.>, C<..> or symbolic link path elements."
16276 msgstr ""
16277
16278 #. type: =head2
16279 #: ../fish/guestfish-actions.pod:4283
16280 msgid "removexattr"
16281 msgstr "removexattr"
16282
16283 #. type: verbatim
16284 #: ../fish/guestfish-actions.pod:4285
16285 #, no-wrap
16286 msgid ""
16287 " removexattr xattr path\n"
16288 "\n"
16289 msgstr ""
16290
16291 #. type: textblock
16292 #: ../fish/guestfish-actions.pod:4287 ../src/guestfs-actions.pod:6653
16293 msgid ""
16294 "This call removes the extended attribute named C<xattr> of the file C<path>."
16295 msgstr ""
16296
16297 #. type: textblock
16298 #: ../fish/guestfish-actions.pod:4290
16299 msgid "See also: L</lremovexattr>, L<attr(5)>."
16300 msgstr "Див. також L</lremovexattr>, L<attr(5)>."
16301
16302 #. type: =head2
16303 #: ../fish/guestfish-actions.pod:4292
16304 msgid "resize2fs"
16305 msgstr "resize2fs"
16306
16307 #. type: verbatim
16308 #: ../fish/guestfish-actions.pod:4294
16309 #, no-wrap
16310 msgid ""
16311 " resize2fs device\n"
16312 "\n"
16313 msgstr ""
16314 " resize2fs пристрій\n"
16315 "\n"
16316
16317 #. type: textblock
16318 #: ../fish/guestfish-actions.pod:4296 ../src/guestfs-actions.pod:6668
16319 msgid ""
16320 "This resizes an ext2, ext3 or ext4 filesystem to match the size of the "
16321 "underlying device."
16322 msgstr ""
16323
16324 #. type: textblock
16325 #: ../fish/guestfish-actions.pod:4299
16326 msgid ""
16327 "I<Note:> It is sometimes required that you run L</e2fsck-f> on the C<device> "
16328 "before calling this command.  For unknown reasons C<resize2fs> sometimes "
16329 "gives an error about this and sometimes not.  In any case, it is always safe "
16330 "to call L</e2fsck-f> before calling this function."
16331 msgstr ""
16332
16333 #. type: =head2
16334 #: ../fish/guestfish-actions.pod:4305
16335 msgid "resize2fs-M"
16336 msgstr "resize2fs-M"
16337
16338 #. type: verbatim
16339 #: ../fish/guestfish-actions.pod:4307
16340 #, no-wrap
16341 msgid ""
16342 " resize2fs-M device\n"
16343 "\n"
16344 msgstr ""
16345 " resize2fs-M пристрій\n"
16346 "\n"
16347
16348 #. type: textblock
16349 #: ../fish/guestfish-actions.pod:4309
16350 msgid ""
16351 "This command is the same as L</resize2fs>, but the filesystem is resized to "
16352 "its minimum size.  This works like the I<-M> option to the C<resize2fs> "
16353 "command."
16354 msgstr ""
16355
16356 #. type: textblock
16357 #: ../fish/guestfish-actions.pod:4313
16358 msgid ""
16359 "To get the resulting size of the filesystem you should call L</tune2fs-l> "
16360 "and read the C<Block size> and C<Block count> values.  These two numbers, "
16361 "multiplied together, give the resulting size of the minimal filesystem in "
16362 "bytes."
16363 msgstr ""
16364
16365 #. type: =head2
16366 #: ../fish/guestfish-actions.pod:4318
16367 msgid "resize2fs-size"
16368 msgstr "resize2fs-size"
16369
16370 #. type: verbatim
16371 #: ../fish/guestfish-actions.pod:4320
16372 #, no-wrap
16373 msgid ""
16374 " resize2fs-size device size\n"
16375 "\n"
16376 msgstr ""
16377
16378 #. type: textblock
16379 #: ../fish/guestfish-actions.pod:4322
16380 msgid ""
16381 "This command is the same as L</resize2fs> except that it allows you to "
16382 "specify the new size (in bytes) explicitly."
16383 msgstr ""
16384
16385 #. type: =head2
16386 #: ../fish/guestfish-actions.pod:4325
16387 msgid "rm"
16388 msgstr "rm"
16389
16390 #. type: verbatim
16391 #: ../fish/guestfish-actions.pod:4327
16392 #, no-wrap
16393 msgid ""
16394 " rm path\n"
16395 "\n"
16396 msgstr ""
16397 " rm шлях\n"
16398 "\n"
16399
16400 #. type: textblock
16401 #: ../fish/guestfish-actions.pod:4329 ../src/guestfs-actions.pod:6720
16402 msgid "Remove the single file C<path>."
16403 msgstr ""
16404
16405 #. type: =head2
16406 #: ../fish/guestfish-actions.pod:4331
16407 msgid "rm-rf"
16408 msgstr "rm-rf"
16409
16410 #. type: verbatim
16411 #: ../fish/guestfish-actions.pod:4333
16412 #, no-wrap
16413 msgid ""
16414 " rm-rf path\n"
16415 "\n"
16416 msgstr ""
16417 " rm-rf шлях\n"
16418 "\n"
16419
16420 #. type: textblock
16421 #: ../fish/guestfish-actions.pod:4335 ../src/guestfs-actions.pod:6732
16422 msgid ""
16423 "Remove the file or directory C<path>, recursively removing the contents if "
16424 "its a directory.  This is like the C<rm -rf> shell command."
16425 msgstr ""
16426
16427 #. type: =head2
16428 #: ../fish/guestfish-actions.pod:4339
16429 msgid "rmdir"
16430 msgstr "rmdir"
16431
16432 #. type: verbatim
16433 #: ../fish/guestfish-actions.pod:4341
16434 #, no-wrap
16435 msgid ""
16436 " rmdir path\n"
16437 "\n"
16438 msgstr ""
16439 " rmdir шлях\n"
16440 "\n"
16441
16442 #. type: textblock
16443 #: ../fish/guestfish-actions.pod:4343 ../src/guestfs-actions.pod:6746
16444 msgid "Remove the single directory C<path>."
16445 msgstr ""
16446
16447 #. type: =head2
16448 #: ../fish/guestfish-actions.pod:4345
16449 msgid "rmmountpoint"
16450 msgstr "rmmountpoint"
16451
16452 #. type: verbatim
16453 #: ../fish/guestfish-actions.pod:4347
16454 #, no-wrap
16455 msgid ""
16456 " rmmountpoint exemptpath\n"
16457 "\n"
16458 msgstr ""
16459
16460 #. type: textblock
16461 #: ../fish/guestfish-actions.pod:4349
16462 msgid ""
16463 "This calls removes a mountpoint that was previously created with L</"
16464 "mkmountpoint>.  See L</mkmountpoint> for full details."
16465 msgstr ""
16466
16467 #. type: =head2
16468 #: ../fish/guestfish-actions.pod:4353
16469 msgid "scrub-device"
16470 msgstr "scrub-device"
16471
16472 #. type: verbatim
16473 #: ../fish/guestfish-actions.pod:4355
16474 #, no-wrap
16475 msgid ""
16476 " scrub-device device\n"
16477 "\n"
16478 msgstr ""
16479 " scrub-device пристрій\n"
16480 "\n"
16481
16482 #. type: textblock
16483 #: ../fish/guestfish-actions.pod:4357 ../src/guestfs-actions.pod:6772
16484 msgid ""
16485 "This command writes patterns over C<device> to make data retrieval more "
16486 "difficult."
16487 msgstr ""
16488
16489 #. type: textblock
16490 #: ../fish/guestfish-actions.pod:4360 ../fish/guestfish-actions.pod:4372
16491 #: ../fish/guestfish-actions.pod:4385 ../src/guestfs-actions.pod:6775
16492 #: ../src/guestfs-actions.pod:6793 ../src/guestfs-actions.pod:6812
16493 msgid ""
16494 "It is an interface to the L<scrub(1)> program.  See that manual page for "
16495 "more details."
16496 msgstr ""
16497
16498 #. type: =head2
16499 #: ../fish/guestfish-actions.pod:4363
16500 msgid "scrub-file"
16501 msgstr "scrub-file"
16502
16503 #. type: verbatim
16504 #: ../fish/guestfish-actions.pod:4365
16505 #, no-wrap
16506 msgid ""
16507 " scrub-file file\n"
16508 "\n"
16509 msgstr ""
16510 " scrub-file файл\n"
16511 "\n"
16512
16513 #. type: textblock
16514 #: ../fish/guestfish-actions.pod:4367 ../src/guestfs-actions.pod:6788
16515 msgid ""
16516 "This command writes patterns over a file to make data retrieval more "
16517 "difficult."
16518 msgstr ""
16519
16520 #. type: textblock
16521 #: ../fish/guestfish-actions.pod:4370 ../src/guestfs-actions.pod:6791
16522 msgid "The file is I<removed> after scrubbing."
16523 msgstr ""
16524
16525 #. type: =head2
16526 #: ../fish/guestfish-actions.pod:4375
16527 msgid "scrub-freespace"
16528 msgstr "scrub-freespace"
16529
16530 #. type: verbatim
16531 #: ../fish/guestfish-actions.pod:4377
16532 #, no-wrap
16533 msgid ""
16534 " scrub-freespace dir\n"
16535 "\n"
16536 msgstr ""
16537 " scrub-freespace каталог\n"
16538 "\n"
16539
16540 #. type: textblock
16541 #: ../fish/guestfish-actions.pod:4379
16542 msgid ""
16543 "This command creates the directory C<dir> and then fills it with files until "
16544 "the filesystem is full, and scrubs the files as for L</scrub-file>, and "
16545 "deletes them.  The intention is to scrub any free space on the partition "
16546 "containing C<dir>."
16547 msgstr ""
16548
16549 #. type: =head2
16550 #: ../fish/guestfish-actions.pod:4388
16551 msgid "set-append"
16552 msgstr "set-append"
16553
16554 #. type: =head2
16555 #: ../fish/guestfish-actions.pod:4390
16556 msgid "append"
16557 msgstr ""
16558
16559 #. type: verbatim
16560 #: ../fish/guestfish-actions.pod:4392
16561 #, no-wrap
16562 msgid ""
16563 " set-append append\n"
16564 "\n"
16565 msgstr ""
16566
16567 #. type: textblock
16568 #: ../fish/guestfish-actions.pod:4394 ../src/guestfs-actions.pod:6825
16569 msgid ""
16570 "This function is used to add additional options to the guest kernel command "
16571 "line."
16572 msgstr ""
16573
16574 #. type: textblock
16575 #: ../fish/guestfish-actions.pod:4397 ../src/guestfs-actions.pod:6828
16576 msgid ""
16577 "The default is C<NULL> unless overridden by setting C<LIBGUESTFS_APPEND> "
16578 "environment variable."
16579 msgstr ""
16580
16581 #. type: textblock
16582 #: ../fish/guestfish-actions.pod:4400 ../src/guestfs-actions.pod:6831
16583 msgid ""
16584 "Setting C<append> to C<NULL> means I<no> additional options are passed "
16585 "(libguestfs always adds a few of its own)."
16586 msgstr ""
16587
16588 #. type: =head2
16589 #: ../fish/guestfish-actions.pod:4403
16590 msgid "set-attach-method"
16591 msgstr "set-attach-method"
16592
16593 #. type: =head2
16594 #: ../fish/guestfish-actions.pod:4405
16595 msgid "attach-method"
16596 msgstr ""
16597
16598 #. type: verbatim
16599 #: ../fish/guestfish-actions.pod:4407
16600 #, no-wrap
16601 msgid ""
16602 " set-attach-method attachmethod\n"
16603 "\n"
16604 msgstr ""
16605
16606 #. type: textblock
16607 #: ../fish/guestfish-actions.pod:4409 ../src/guestfs-actions.pod:6844
16608 msgid ""
16609 "Set the method that libguestfs uses to connect to the back end guestfsd "
16610 "daemon.  Possible methods are:"
16611 msgstr ""
16612
16613 #. type: =item
16614 #: ../fish/guestfish-actions.pod:4414 ../src/guestfs-actions.pod:6849
16615 #: ../src/guestfs.pod:2916
16616 msgid "C<appliance>"
16617 msgstr "C<appliance>"
16618
16619 #. type: textblock
16620 #: ../fish/guestfish-actions.pod:4416 ../src/guestfs-actions.pod:6851
16621 msgid ""
16622 "Launch an appliance and connect to it.  This is the ordinary method and the "
16623 "default."
16624 msgstr ""
16625
16626 #. type: =item
16627 #: ../fish/guestfish-actions.pod:4419 ../src/guestfs-actions.pod:6854
16628 msgid "C<unix:I<path>>"
16629 msgstr "C<unix:I<шлях>>"
16630
16631 #. type: textblock
16632 #: ../fish/guestfish-actions.pod:4421 ../src/guestfs-actions.pod:6856
16633 msgid "Connect to the Unix domain socket I<path>."
16634 msgstr "Встановити з’єднання з сокетом домену Unix I<шлях>."
16635
16636 #. type: textblock
16637 #: ../fish/guestfish-actions.pod:4423 ../src/guestfs-actions.pod:6858
16638 msgid ""
16639 "This method lets you connect to an existing daemon or (using virtio-serial) "
16640 "to a live guest.  For more information, see L<guestfs(3)/ATTACHING TO "
16641 "RUNNING DAEMONS>."
16642 msgstr ""
16643
16644 #. type: =head2
16645 #: ../fish/guestfish-actions.pod:4429
16646 msgid "set-autosync"
16647 msgstr "set-autosync"
16648
16649 #. type: =head2
16650 #: ../fish/guestfish-actions.pod:4431
16651 msgid "autosync"
16652 msgstr "autosync"
16653
16654 #. type: verbatim
16655 #: ../fish/guestfish-actions.pod:4433
16656 #, no-wrap
16657 msgid ""
16658 " set-autosync true|false\n"
16659 "\n"
16660 msgstr ""
16661 " set-autosync true|false\n"
16662 "\n"
16663
16664 #. type: textblock
16665 #: ../fish/guestfish-actions.pod:4435 ../src/guestfs-actions.pod:6874
16666 msgid ""
16667 "If C<autosync> is true, this enables autosync.  Libguestfs will make a best "
16668 "effort attempt to make filesystems consistent and synchronized when the "
16669 "handle is closed (also if the program exits without closing handles)."
16670 msgstr ""
16671
16672 #. type: textblock
16673 #: ../fish/guestfish-actions.pod:4440 ../src/guestfs-actions.pod:6879
16674 msgid ""
16675 "This is enabled by default (since libguestfs 1.5.24, previously it was "
16676 "disabled by default)."
16677 msgstr ""
16678
16679 #. type: =head2
16680 #: ../fish/guestfish-actions.pod:4443
16681 msgid "set-direct"
16682 msgstr "set-direct"
16683
16684 #. type: =head2
16685 #: ../fish/guestfish-actions.pod:4445
16686 msgid "direct"
16687 msgstr "direct"
16688
16689 #. type: verbatim
16690 #: ../fish/guestfish-actions.pod:4447
16691 #, no-wrap
16692 msgid ""
16693 " set-direct true|false\n"
16694 "\n"
16695 msgstr ""
16696 " set-direct true|false\n"
16697 "\n"
16698
16699 #. type: textblock
16700 #: ../fish/guestfish-actions.pod:4449 ../src/guestfs-actions.pod:6892
16701 msgid ""
16702 "If the direct appliance mode flag is enabled, then stdin and stdout are "
16703 "passed directly through to the appliance once it is launched."
16704 msgstr ""
16705
16706 #. type: textblock
16707 #: ../fish/guestfish-actions.pod:4453
16708 msgid ""
16709 "One consequence of this is that log messages aren't caught by the library "
16710 "and handled by L</set-log-message-callback>, but go straight to stdout."
16711 msgstr ""
16712
16713 #. type: textblock
16714 #: ../fish/guestfish-actions.pod:4457 ../src/guestfs-actions.pod:6900
16715 msgid "You probably don't want to use this unless you know what you are doing."
16716 msgstr ""
16717
16718 #. type: textblock
16719 #: ../fish/guestfish-actions.pod:4460 ../src/guestfs-actions.pod:6903
16720 msgid "The default is disabled."
16721 msgstr ""
16722
16723 #. type: =head2
16724 #: ../fish/guestfish-actions.pod:4462
16725 msgid "set-e2label"
16726 msgstr "set-e2label"
16727
16728 #. type: verbatim
16729 #: ../fish/guestfish-actions.pod:4464
16730 #, no-wrap
16731 msgid ""
16732 " set-e2label device label\n"
16733 "\n"
16734 msgstr ""
16735
16736 #. type: textblock
16737 #: ../fish/guestfish-actions.pod:4466 ../src/guestfs-actions.pod:6916
16738 msgid ""
16739 "This sets the ext2/3/4 filesystem label of the filesystem on C<device> to "
16740 "C<label>.  Filesystem labels are limited to 16 characters."
16741 msgstr ""
16742
16743 #. type: textblock
16744 #: ../fish/guestfish-actions.pod:4470
16745 msgid ""
16746 "You can use either L</tune2fs-l> or L</get-e2label> to return the existing "
16747 "label on a filesystem."
16748 msgstr ""
16749
16750 #. type: =head2
16751 #: ../fish/guestfish-actions.pod:4473
16752 msgid "set-e2uuid"
16753 msgstr "set-e2uuid"
16754
16755 #. type: verbatim
16756 #: ../fish/guestfish-actions.pod:4475
16757 #, no-wrap
16758 msgid ""
16759 " set-e2uuid device uuid\n"
16760 "\n"
16761 msgstr ""
16762
16763 #. type: textblock
16764 #: ../fish/guestfish-actions.pod:4477 ../src/guestfs-actions.pod:6934
16765 msgid ""
16766 "This sets the ext2/3/4 filesystem UUID of the filesystem on C<device> to "
16767 "C<uuid>.  The format of the UUID and alternatives such as C<clear>, "
16768 "C<random> and C<time> are described in the L<tune2fs(8)> manpage."
16769 msgstr ""
16770
16771 #. type: textblock
16772 #: ../fish/guestfish-actions.pod:4482
16773 msgid ""
16774 "You can use either L</tune2fs-l> or L</get-e2uuid> to return the existing "
16775 "UUID of a filesystem."
16776 msgstr ""
16777
16778 #. type: =head2
16779 #: ../fish/guestfish-actions.pod:4485
16780 msgid "set-memsize"
16781 msgstr "set-memsize"
16782
16783 #. type: =head2
16784 #: ../fish/guestfish-actions.pod:4487
16785 msgid "memsize"
16786 msgstr ""
16787
16788 #. type: verbatim
16789 #: ../fish/guestfish-actions.pod:4489
16790 #, no-wrap
16791 msgid ""
16792 " set-memsize memsize\n"
16793 "\n"
16794 msgstr ""
16795
16796 #. type: textblock
16797 #: ../fish/guestfish-actions.pod:4491
16798 msgid ""
16799 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
16800 "This only has any effect if called before L</launch>."
16801 msgstr ""
16802
16803 #. type: textblock
16804 #: ../fish/guestfish-actions.pod:4495 ../src/guestfs-actions.pod:6956
16805 msgid ""
16806 "You can also change this by setting the environment variable "
16807 "C<LIBGUESTFS_MEMSIZE> before the handle is created."
16808 msgstr ""
16809
16810 #. type: =head2
16811 #: ../fish/guestfish-actions.pod:4502
16812 msgid "set-network"
16813 msgstr "set-network"
16814
16815 #. type: =head2
16816 #: ../fish/guestfish-actions.pod:4504
16817 msgid "network"
16818 msgstr "network"
16819
16820 #. type: verbatim
16821 #: ../fish/guestfish-actions.pod:4506
16822 #, no-wrap
16823 msgid ""
16824 " set-network true|false\n"
16825 "\n"
16826 msgstr ""
16827 " set-network true|false\n"
16828 "\n"
16829
16830 #. type: textblock
16831 #: ../fish/guestfish-actions.pod:4508 ../src/guestfs-actions.pod:6973
16832 msgid ""
16833 "If C<network> is true, then the network is enabled in the libguestfs "
16834 "appliance.  The default is false."
16835 msgstr ""
16836
16837 #. type: textblock
16838 #: ../fish/guestfish-actions.pod:4511 ../src/guestfs-actions.pod:6976
16839 msgid ""
16840 "This affects whether commands are able to access the network (see L<guestfs"
16841 "(3)/RUNNING COMMANDS>)."
16842 msgstr ""
16843
16844 #. type: textblock
16845 #: ../fish/guestfish-actions.pod:4514
16846 msgid ""
16847 "You must call this before calling L</launch>, otherwise it has no effect."
16848 msgstr ""
16849
16850 #. type: =head2
16851 #: ../fish/guestfish-actions.pod:4517
16852 msgid "set-path"
16853 msgstr "set-path"
16854
16855 #. type: verbatim
16856 #: ../fish/guestfish-actions.pod:4521
16857 #, no-wrap
16858 msgid ""
16859 " set-path searchpath\n"
16860 "\n"
16861 msgstr ""
16862
16863 #. type: textblock
16864 #: ../fish/guestfish-actions.pod:4523 ../src/guestfs-actions.pod:6992
16865 msgid "Set the path that libguestfs searches for kernel and initrd.img."
16866 msgstr ""
16867
16868 #. type: textblock
16869 #: ../fish/guestfish-actions.pod:4525 ../src/guestfs-actions.pod:6994
16870 msgid ""
16871 "The default is C<$libdir/guestfs> unless overridden by setting "
16872 "C<LIBGUESTFS_PATH> environment variable."
16873 msgstr ""
16874
16875 #. type: textblock
16876 #: ../fish/guestfish-actions.pod:4528 ../src/guestfs-actions.pod:6997
16877 msgid "Setting C<path> to C<NULL> restores the default path."
16878 msgstr ""
16879
16880 #. type: =head2
16881 #: ../fish/guestfish-actions.pod:4530
16882 msgid "set-pgroup"
16883 msgstr ""
16884
16885 #. type: =head2
16886 #: ../fish/guestfish-actions.pod:4532
16887 msgid "pgroup"
16888 msgstr ""
16889
16890 #. type: verbatim
16891 #: ../fish/guestfish-actions.pod:4534
16892 #, no-wrap
16893 msgid ""
16894 " set-pgroup true|false\n"
16895 "\n"
16896 msgstr ""
16897
16898 #. type: textblock
16899 #: ../fish/guestfish-actions.pod:4536 ../src/guestfs-actions.pod:7009
16900 msgid ""
16901 "If C<pgroup> is true, child processes are placed into their own process "
16902 "group."
16903 msgstr ""
16904
16905 #. type: textblock
16906 #: ../fish/guestfish-actions.pod:4539 ../src/guestfs-actions.pod:7012
16907 msgid ""
16908 "The practical upshot of this is that signals like C<SIGINT> (from users "
16909 "pressing C<^C>) won't be received by the child process."
16910 msgstr ""
16911
16912 #. type: textblock
16913 #: ../fish/guestfish-actions.pod:4542 ../src/guestfs-actions.pod:7015
16914 msgid ""
16915 "The default for this flag is false, because usually you want C<^C> to kill "
16916 "the subprocess."
16917 msgstr ""
16918
16919 #. type: =head2
16920 #: ../fish/guestfish-actions.pod:4545
16921 msgid "set-qemu"
16922 msgstr "set-qemu"
16923
16924 #. type: =head2
16925 #: ../fish/guestfish-actions.pod:4547
16926 msgid "qemu"
16927 msgstr "qemu"
16928
16929 #. type: verbatim
16930 #: ../fish/guestfish-actions.pod:4549
16931 #, no-wrap
16932 msgid ""
16933 " set-qemu qemu\n"
16934 "\n"
16935 msgstr ""
16936 " set-qemu qemu\n"
16937 "\n"
16938
16939 #. type: textblock
16940 #: ../fish/guestfish-actions.pod:4551 ../src/guestfs-actions.pod:7028
16941 msgid "Set the qemu binary that we will use."
16942 msgstr ""
16943
16944 #. type: textblock
16945 #: ../fish/guestfish-actions.pod:4553 ../src/guestfs-actions.pod:7030
16946 msgid ""
16947 "The default is chosen when the library was compiled by the configure script."
16948 msgstr ""
16949
16950 #. type: textblock
16951 #: ../fish/guestfish-actions.pod:4556 ../src/guestfs-actions.pod:7033
16952 msgid ""
16953 "You can also override this by setting the C<LIBGUESTFS_QEMU> environment "
16954 "variable."
16955 msgstr ""
16956
16957 #. type: textblock
16958 #: ../fish/guestfish-actions.pod:4559 ../src/guestfs-actions.pod:7036
16959 msgid "Setting C<qemu> to C<NULL> restores the default qemu binary."
16960 msgstr ""
16961
16962 #. type: textblock
16963 #: ../fish/guestfish-actions.pod:4561 ../src/guestfs-actions.pod:7038
16964 msgid ""
16965 "Note that you should call this function as early as possible after creating "
16966 "the handle.  This is because some pre-launch operations depend on testing "
16967 "qemu features (by running C<qemu -help>).  If the qemu binary changes, we "
16968 "don't retest features, and so you might see inconsistent results.  Using the "
16969 "environment variable C<LIBGUESTFS_QEMU> is safest of all since that picks "
16970 "the qemu binary at the same time as the handle is created."
16971 msgstr ""
16972
16973 #. type: =head2
16974 #: ../fish/guestfish-actions.pod:4569
16975 msgid "set-recovery-proc"
16976 msgstr "set-recovery-proc"
16977
16978 #. type: =head2
16979 #: ../fish/guestfish-actions.pod:4571
16980 msgid "recovery-proc"
16981 msgstr "recovery-proc"
16982
16983 #. type: verbatim
16984 #: ../fish/guestfish-actions.pod:4573
16985 #, no-wrap
16986 msgid ""
16987 " set-recovery-proc true|false\n"
16988 "\n"
16989 msgstr ""
16990 " set-recovery-proc true|false\n"
16991 "\n"
16992
16993 #. type: textblock
16994 #: ../fish/guestfish-actions.pod:4575
16995 msgid ""
16996 "If this is called with the parameter C<false> then L</launch> does not "
16997 "create a recovery process.  The purpose of the recovery process is to stop "
16998 "runaway qemu processes in the case where the main program aborts abruptly."
16999 msgstr ""
17000
17001 #. type: textblock
17002 #: ../fish/guestfish-actions.pod:4580
17003 msgid ""
17004 "This only has any effect if called before L</launch>, and the default is "
17005 "true."
17006 msgstr ""
17007
17008 #. type: textblock
17009 #: ../fish/guestfish-actions.pod:4583 ../src/guestfs-actions.pod:7064
17010 msgid ""
17011 "About the only time when you would want to disable this is if the main "
17012 "process will fork itself into the background (\"daemonize\" itself).  In "
17013 "this case the recovery process thinks that the main program has disappeared "
17014 "and so kills qemu, which is not very helpful."
17015 msgstr ""
17016
17017 #. type: =head2
17018 #: ../fish/guestfish-actions.pod:4589
17019 msgid "set-selinux"
17020 msgstr "set-selinux"
17021
17022 #. type: =head2
17023 #: ../fish/guestfish-actions.pod:4591
17024 msgid "selinux"
17025 msgstr "selinux"
17026
17027 #. type: verbatim
17028 #: ../fish/guestfish-actions.pod:4593
17029 #, no-wrap
17030 msgid ""
17031 " set-selinux true|false\n"
17032 "\n"
17033 msgstr ""
17034 " set-selinux true|false\n"
17035 "\n"
17036
17037 #. type: textblock
17038 #: ../fish/guestfish-actions.pod:4595 ../src/guestfs-actions.pod:7080
17039 msgid ""
17040 "This sets the selinux flag that is passed to the appliance at boot time.  "
17041 "The default is C<selinux=0> (disabled)."
17042 msgstr ""
17043
17044 #. type: textblock
17045 #: ../fish/guestfish-actions.pod:4598 ../src/guestfs-actions.pod:7083
17046 msgid ""
17047 "Note that if SELinux is enabled, it is always in Permissive mode "
17048 "(C<enforcing=0>)."
17049 msgstr ""
17050
17051 #. type: =head2
17052 #: ../fish/guestfish-actions.pod:4604
17053 msgid "set-smp"
17054 msgstr ""
17055
17056 #. type: =head2
17057 #: ../fish/guestfish-actions.pod:4606
17058 msgid "smp"
17059 msgstr ""
17060
17061 #. type: verbatim
17062 #: ../fish/guestfish-actions.pod:4608
17063 #, no-wrap
17064 msgid ""
17065 " set-smp smp\n"
17066 "\n"
17067 msgstr ""
17068
17069 #. type: textblock
17070 #: ../fish/guestfish-actions.pod:4610 ../src/guestfs-actions.pod:7099
17071 msgid ""
17072 "Change the number of virtual CPUs assigned to the appliance.  The default is "
17073 "C<1>.  Increasing this may improve performance, though often it has no "
17074 "effect."
17075 msgstr ""
17076
17077 #. type: textblock
17078 #: ../fish/guestfish-actions.pod:4614
17079 msgid "This function must be called before L</launch>."
17080 msgstr ""
17081
17082 #. type: =head2
17083 #: ../fish/guestfish-actions.pod:4616
17084 msgid "set-trace"
17085 msgstr "set-trace"
17086
17087 #. type: =head2
17088 #: ../fish/guestfish-actions.pod:4618
17089 msgid "trace"
17090 msgstr "trace"
17091
17092 #. type: verbatim
17093 #: ../fish/guestfish-actions.pod:4620
17094 #, no-wrap
17095 msgid ""
17096 " set-trace true|false\n"
17097 "\n"
17098 msgstr ""
17099 " set-trace true|false\n"
17100 "\n"
17101
17102 #. type: textblock
17103 #: ../fish/guestfish-actions.pod:4622 ../src/guestfs-actions.pod:7115
17104 msgid ""
17105 "If the command trace flag is set to 1, then libguestfs calls, parameters and "
17106 "return values are traced."
17107 msgstr ""
17108
17109 #. type: textblock
17110 #: ../fish/guestfish-actions.pod:4625 ../src/guestfs-actions.pod:7118
17111 msgid ""
17112 "If you want to trace C API calls into libguestfs (and other libraries) then "
17113 "possibly a better way is to use the external ltrace(1) command."
17114 msgstr ""
17115
17116 #. type: textblock
17117 #: ../fish/guestfish-actions.pod:4629 ../src/guestfs-actions.pod:7122
17118 msgid ""
17119 "Command traces are disabled unless the environment variable "
17120 "C<LIBGUESTFS_TRACE> is defined and set to C<1>."
17121 msgstr ""
17122
17123 #. type: textblock
17124 #: ../fish/guestfish-actions.pod:4632
17125 msgid ""
17126 "Trace messages are normally sent to C<stderr>, unless you register a "
17127 "callback to send them somewhere else (see L</set-event-callback>)."
17128 msgstr ""
17129
17130 #. type: =head2
17131 #: ../fish/guestfish-actions.pod:4636
17132 msgid "set-verbose"
17133 msgstr "set-verbose"
17134
17135 #. type: =head2
17136 #: ../fish/guestfish-actions.pod:4638
17137 msgid "verbose"
17138 msgstr "verbose"
17139
17140 #. type: verbatim
17141 #: ../fish/guestfish-actions.pod:4640
17142 #, no-wrap
17143 msgid ""
17144 " set-verbose true|false\n"
17145 "\n"
17146 msgstr ""
17147 " set-verbose true|false\n"
17148 "\n"
17149
17150 #. type: textblock
17151 #: ../fish/guestfish-actions.pod:4642 ../src/guestfs-actions.pod:7139
17152 msgid "If C<verbose> is true, this turns on verbose messages."
17153 msgstr ""
17154
17155 #. type: textblock
17156 #: ../fish/guestfish-actions.pod:4644 ../src/guestfs-actions.pod:7141
17157 msgid ""
17158 "Verbose messages are disabled unless the environment variable "
17159 "C<LIBGUESTFS_DEBUG> is defined and set to C<1>."
17160 msgstr ""
17161
17162 #. type: textblock
17163 #: ../fish/guestfish-actions.pod:4647
17164 msgid ""
17165 "Verbose messages are normally sent to C<stderr>, unless you register a "
17166 "callback to send them somewhere else (see L</set-event-callback>)."
17167 msgstr ""
17168
17169 #. type: =head2
17170 #: ../fish/guestfish-actions.pod:4651
17171 msgid "setcon"
17172 msgstr "setcon"
17173
17174 #. type: verbatim
17175 #: ../fish/guestfish-actions.pod:4653
17176 #, no-wrap
17177 msgid ""
17178 " setcon context\n"
17179 "\n"
17180 msgstr ""
17181 " setcon контекст\n"
17182 "\n"
17183
17184 #. type: textblock
17185 #: ../fish/guestfish-actions.pod:4655 ../src/guestfs-actions.pod:7158
17186 msgid ""
17187 "This sets the SELinux security context of the daemon to the string "
17188 "C<context>."
17189 msgstr ""
17190
17191 #. type: textblock
17192 #: ../fish/guestfish-actions.pod:4658 ../src/guestfs-actions.pod:7161
17193 msgid "See the documentation about SELINUX in L<guestfs(3)>."
17194 msgstr ""
17195
17196 #. type: =head2
17197 #: ../fish/guestfish-actions.pod:4660
17198 msgid "setxattr"
17199 msgstr "setxattr"
17200
17201 #. type: verbatim
17202 #: ../fish/guestfish-actions.pod:4662
17203 #, no-wrap
17204 msgid ""
17205 " setxattr xattr val vallen path\n"
17206 "\n"
17207 msgstr ""
17208
17209 #. type: textblock
17210 #: ../fish/guestfish-actions.pod:4664 ../src/guestfs-actions.pod:7176
17211 msgid ""
17212 "This call sets the extended attribute named C<xattr> of the file C<path> to "
17213 "the value C<val> (of length C<vallen>).  The value is arbitrary 8 bit data."
17214 msgstr ""
17215
17216 #. type: textblock
17217 #: ../fish/guestfish-actions.pod:4668
17218 msgid "See also: L</lsetxattr>, L<attr(5)>."
17219 msgstr "Див. також L</lsetxattr>, L<attr(5)>."
17220
17221 #. type: =head2
17222 #: ../fish/guestfish-actions.pod:4670
17223 msgid "sfdisk"
17224 msgstr "sfdisk"
17225
17226 #. type: verbatim
17227 #: ../fish/guestfish-actions.pod:4672
17228 #, no-wrap
17229 msgid ""
17230 " sfdisk device cyls heads sectors 'lines ...'\n"
17231 "\n"
17232 msgstr ""
17233
17234 #. type: textblock
17235 #: ../fish/guestfish-actions.pod:4674 ../src/guestfs-actions.pod:7203
17236 msgid ""
17237 "This is a direct interface to the L<sfdisk(8)> program for creating "
17238 "partitions on block devices."
17239 msgstr ""
17240
17241 #. type: textblock
17242 #: ../fish/guestfish-actions.pod:4677 ../src/guestfs-actions.pod:7206
17243 msgid "C<device> should be a block device, for example C</dev/sda>."
17244 msgstr ""
17245
17246 #. type: textblock
17247 #: ../fish/guestfish-actions.pod:4679 ../src/guestfs-actions.pod:7208
17248 msgid ""
17249 "C<cyls>, C<heads> and C<sectors> are the number of cylinders, heads and "
17250 "sectors on the device, which are passed directly to sfdisk as the I<-C>, I<-"
17251 "H> and I<-S> parameters.  If you pass C<0> for any of these, then the "
17252 "corresponding parameter is omitted.  Usually for 'large' disks, you can just "
17253 "pass C<0> for these, but for small (floppy-sized) disks, sfdisk (or rather, "
17254 "the kernel) cannot work out the right geometry and you will need to tell it."
17255 msgstr ""
17256
17257 #. type: textblock
17258 #: ../fish/guestfish-actions.pod:4687 ../src/guestfs-actions.pod:7216
17259 msgid ""
17260 "C<lines> is a list of lines that we feed to C<sfdisk>.  For more information "
17261 "refer to the L<sfdisk(8)> manpage."
17262 msgstr ""
17263
17264 #. type: textblock
17265 #: ../fish/guestfish-actions.pod:4690 ../src/guestfs-actions.pod:7219
17266 msgid ""
17267 "To create a single partition occupying the whole disk, you would pass "
17268 "C<lines> as a single element list, when the single element being the string "
17269 "C<,> (comma)."
17270 msgstr ""
17271
17272 #. type: textblock
17273 #: ../fish/guestfish-actions.pod:4694
17274 msgid "See also: L</sfdisk-l>, L</sfdisk-N>, L</part-init>"
17275 msgstr "Див. також L</sfdisk-l>, L</sfdisk-N>, L</part-init>"
17276
17277 #. type: textblock
17278 #: ../fish/guestfish-actions.pod:4697 ../fish/guestfish-actions.pod:4717
17279 #: ../fish/guestfish-actions.pod:4736
17280 msgid ""
17281 "I<This function is deprecated.> In new code, use the L</part_add> call "
17282 "instead."
17283 msgstr ""
17284
17285 #. type: =head2
17286 #: ../fish/guestfish-actions.pod:4704
17287 msgid "sfdiskM"
17288 msgstr "sfdiskM"
17289
17290 #. type: verbatim
17291 #: ../fish/guestfish-actions.pod:4706
17292 #, no-wrap
17293 msgid ""
17294 " sfdiskM device 'lines ...'\n"
17295 "\n"
17296 msgstr ""
17297
17298 #. type: textblock
17299 #: ../fish/guestfish-actions.pod:4708
17300 msgid ""
17301 "This is a simplified interface to the L</sfdisk> command, where partition "
17302 "sizes are specified in megabytes only (rounded to the nearest cylinder) and "
17303 "you don't need to specify the cyls, heads and sectors parameters which were "
17304 "rarely if ever used anyway."
17305 msgstr ""
17306
17307 #. type: textblock
17308 #: ../fish/guestfish-actions.pod:4714
17309 msgid "See also: L</sfdisk>, the L<sfdisk(8)> manpage and L</part-disk>"
17310 msgstr ""
17311 "Див також L</sfdisk>, сторінку довідки (man) L<sfdisk(8)> та L</part-disk>"
17312
17313 #. type: =head2
17314 #: ../fish/guestfish-actions.pod:4724
17315 msgid "sfdisk-N"
17316 msgstr "sfdisk-N"
17317
17318 #. type: verbatim
17319 #: ../fish/guestfish-actions.pod:4726
17320 #, no-wrap
17321 msgid ""
17322 " sfdisk-N device partnum cyls heads sectors line\n"
17323 "\n"
17324 msgstr ""
17325
17326 #. type: textblock
17327 #: ../fish/guestfish-actions.pod:4728 ../src/guestfs-actions.pod:7275
17328 msgid ""
17329 "This runs L<sfdisk(8)> option to modify just the single partition C<n> "
17330 "(note: C<n> counts from 1)."
17331 msgstr ""
17332
17333 #. type: textblock
17334 #: ../fish/guestfish-actions.pod:4731
17335 msgid ""
17336 "For other parameters, see L</sfdisk>.  You should usually pass C<0> for the "
17337 "cyls/heads/sectors parameters."
17338 msgstr ""
17339
17340 #. type: textblock
17341 #: ../fish/guestfish-actions.pod:4734
17342 msgid "See also: L</part-add>"
17343 msgstr "Див. також L</part-add>"
17344
17345 #. type: =head2
17346 #: ../fish/guestfish-actions.pod:4743
17347 msgid "sfdisk-disk-geometry"
17348 msgstr "sfdisk-disk-geometry"
17349
17350 #. type: verbatim
17351 #: ../fish/guestfish-actions.pod:4745
17352 #, no-wrap
17353 msgid ""
17354 " sfdisk-disk-geometry device\n"
17355 "\n"
17356 msgstr ""
17357 " sfdisk-disk-geometry пристрій\n"
17358 "\n"
17359
17360 #. type: textblock
17361 #: ../fish/guestfish-actions.pod:4747
17362 msgid ""
17363 "This displays the disk geometry of C<device> read from the partition table.  "
17364 "Especially in the case where the underlying block device has been resized, "
17365 "this can be different from the kernel's idea of the geometry (see L</sfdisk-"
17366 "kernel-geometry>)."
17367 msgstr ""
17368
17369 #. type: textblock
17370 #: ../fish/guestfish-actions.pod:4752 ../fish/guestfish-actions.pod:4761
17371 #: ../src/guestfs-actions.pod:7298 ../src/guestfs-actions.pod:7314
17372 msgid "The result is in human-readable format, and not designed to be parsed."
17373 msgstr ""
17374
17375 #. type: =head2
17376 #: ../fish/guestfish-actions.pod:4755
17377 msgid "sfdisk-kernel-geometry"
17378 msgstr "sfdisk-kernel-geometry"
17379
17380 #. type: verbatim
17381 #: ../fish/guestfish-actions.pod:4757
17382 #, no-wrap
17383 msgid ""
17384 " sfdisk-kernel-geometry device\n"
17385 "\n"
17386 msgstr ""
17387 " sfdisk-kernel-geometry пристрій\n"
17388 "\n"
17389
17390 #. type: textblock
17391 #: ../fish/guestfish-actions.pod:4759 ../src/guestfs-actions.pod:7312
17392 msgid "This displays the kernel's idea of the geometry of C<device>."
17393 msgstr ""
17394
17395 #. type: =head2
17396 #: ../fish/guestfish-actions.pod:4764
17397 msgid "sfdisk-l"
17398 msgstr "sfdisk-l"
17399
17400 #. type: verbatim
17401 #: ../fish/guestfish-actions.pod:4766
17402 #, no-wrap
17403 msgid ""
17404 " sfdisk-l device\n"
17405 "\n"
17406 msgstr ""
17407 " sfdisk-l пристрій\n"
17408 "\n"
17409
17410 #. type: textblock
17411 #: ../fish/guestfish-actions.pod:4768 ../src/guestfs-actions.pod:7335
17412 msgid ""
17413 "This displays the partition table on C<device>, in the human-readable output "
17414 "of the L<sfdisk(8)> command.  It is not intended to be parsed."
17415 msgstr ""
17416
17417 #. type: textblock
17418 #: ../fish/guestfish-actions.pod:4772
17419 msgid "See also: L</part-list>"
17420 msgstr "Див. також L</part-list>"
17421
17422 #. type: textblock
17423 #: ../fish/guestfish-actions.pod:4774
17424 msgid ""
17425 "I<This function is deprecated.> In new code, use the L</part_list> call "
17426 "instead."
17427 msgstr ""
17428
17429 #. type: =head2
17430 #: ../fish/guestfish-actions.pod:4781
17431 msgid "sh"
17432 msgstr "sh"
17433
17434 #. type: verbatim
17435 #: ../fish/guestfish-actions.pod:4783
17436 #, no-wrap
17437 msgid ""
17438 " sh command\n"
17439 "\n"
17440 msgstr ""
17441 " sh команда\n"
17442 "\n"
17443
17444 #. type: textblock
17445 #: ../fish/guestfish-actions.pod:4785 ../src/guestfs-actions.pod:7352
17446 msgid ""
17447 "This call runs a command from the guest filesystem via the guest's C</bin/"
17448 "sh>."
17449 msgstr ""
17450
17451 #. type: textblock
17452 #: ../fish/guestfish-actions.pod:4788
17453 msgid "This is like L</command>, but passes the command to:"
17454 msgstr ""
17455
17456 #. type: verbatim
17457 #: ../fish/guestfish-actions.pod:4790 ../src/guestfs-actions.pod:7357
17458 #, no-wrap
17459 msgid ""
17460 " /bin/sh -c \"command\"\n"
17461 "\n"
17462 msgstr ""
17463
17464 #. type: textblock
17465 #: ../fish/guestfish-actions.pod:4792 ../src/guestfs-actions.pod:7359
17466 msgid ""
17467 "Depending on the guest's shell, this usually results in wildcards being "
17468 "expanded, shell expressions being interpolated and so on."
17469 msgstr ""
17470
17471 #. type: textblock
17472 #: ../fish/guestfish-actions.pod:4796
17473 msgid "All the provisos about L</command> apply to this call."
17474 msgstr ""
17475
17476 #. type: =head2
17477 #: ../fish/guestfish-actions.pod:4798
17478 msgid "sh-lines"
17479 msgstr "sh-lines"
17480
17481 #. type: verbatim
17482 #: ../fish/guestfish-actions.pod:4800
17483 #, no-wrap
17484 msgid ""
17485 " sh-lines command\n"
17486 "\n"
17487 msgstr ""
17488 " sh-lines команда\n"
17489 "\n"
17490
17491 #. type: textblock
17492 #: ../fish/guestfish-actions.pod:4802
17493 msgid "This is the same as L</sh>, but splits the result into a list of lines."
17494 msgstr ""
17495
17496 #. type: textblock
17497 #: ../fish/guestfish-actions.pod:4805
17498 msgid "See also: L</command-lines>"
17499 msgstr "Див. також L</command-lines>"
17500
17501 #. type: =head2
17502 #: ../fish/guestfish-actions.pod:4807
17503 msgid "sleep"
17504 msgstr "sleep"
17505
17506 #. type: verbatim
17507 #: ../fish/guestfish-actions.pod:4809
17508 #, no-wrap
17509 msgid ""
17510 " sleep secs\n"
17511 "\n"
17512 msgstr ""
17513 " sleep час_у_секундах\n"
17514 "\n"
17515
17516 #. type: textblock
17517 #: ../fish/guestfish-actions.pod:4811 ../src/guestfs-actions.pod:7393
17518 msgid "Sleep for C<secs> seconds."
17519 msgstr ""
17520
17521 #. type: =head2
17522 #: ../fish/guestfish-actions.pod:4813
17523 msgid "stat"
17524 msgstr "stat"
17525
17526 #. type: verbatim
17527 #: ../fish/guestfish-actions.pod:4815
17528 #, no-wrap
17529 msgid ""
17530 " stat path\n"
17531 "\n"
17532 msgstr ""
17533 " stat шлях\n"
17534 "\n"
17535
17536 #. type: textblock
17537 #: ../fish/guestfish-actions.pod:4819 ../src/guestfs-actions.pod:7407
17538 msgid "This is the same as the C<stat(2)> system call."
17539 msgstr ""
17540
17541 #. type: =head2
17542 #: ../fish/guestfish-actions.pod:4821
17543 msgid "statvfs"
17544 msgstr "statvfs"
17545
17546 #. type: verbatim
17547 #: ../fish/guestfish-actions.pod:4823
17548 #, no-wrap
17549 msgid ""
17550 " statvfs path\n"
17551 "\n"
17552 msgstr ""
17553 " statvfs шлях\n"
17554 "\n"
17555
17556 #. type: textblock
17557 #: ../fish/guestfish-actions.pod:4825 ../src/guestfs-actions.pod:7421
17558 msgid ""
17559 "Returns file system statistics for any mounted file system.  C<path> should "
17560 "be a file or directory in the mounted file system (typically it is the mount "
17561 "point itself, but it doesn't need to be)."
17562 msgstr ""
17563
17564 #. type: textblock
17565 #: ../fish/guestfish-actions.pod:4829 ../src/guestfs-actions.pod:7425
17566 msgid "This is the same as the C<statvfs(2)> system call."
17567 msgstr ""
17568
17569 #. type: =head2
17570 #: ../fish/guestfish-actions.pod:4831
17571 msgid "strings"
17572 msgstr "strings"
17573
17574 #. type: verbatim
17575 #: ../fish/guestfish-actions.pod:4833
17576 #, no-wrap
17577 msgid ""
17578 " strings path\n"
17579 "\n"
17580 msgstr ""
17581 " strings шлях\n"
17582 "\n"
17583
17584 #. type: textblock
17585 #: ../fish/guestfish-actions.pod:4835 ../src/guestfs-actions.pod:7439
17586 msgid ""
17587 "This runs the L<strings(1)> command on a file and returns the list of "
17588 "printable strings found."
17589 msgstr ""
17590
17591 #. type: =head2
17592 #: ../fish/guestfish-actions.pod:4841
17593 msgid "strings-e"
17594 msgstr "strings-e"
17595
17596 #. type: verbatim
17597 #: ../fish/guestfish-actions.pod:4843
17598 #, no-wrap
17599 msgid ""
17600 " strings-e encoding path\n"
17601 "\n"
17602 msgstr ""
17603 " strings-e кодування шлях\n"
17604 "\n"
17605
17606 #. type: textblock
17607 #: ../fish/guestfish-actions.pod:4845
17608 msgid ""
17609 "This is like the L</strings> command, but allows you to specify the encoding "
17610 "of strings that are looked for in the source file C<path>."
17611 msgstr ""
17612
17613 #. type: textblock
17614 #: ../fish/guestfish-actions.pod:4849 ../src/guestfs-actions.pod:7462
17615 msgid "Allowed encodings are:"
17616 msgstr "Можливими кодуваннями є:"
17617
17618 #. type: =item
17619 #: ../fish/guestfish-actions.pod:4853 ../src/guestfs-actions.pod:7466
17620 msgid "s"
17621 msgstr "s"
17622
17623 #. type: textblock
17624 #: ../fish/guestfish-actions.pod:4855
17625 msgid ""
17626 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
17627 "ISO-8859-X (this is what L</strings> uses)."
17628 msgstr ""
17629
17630 #. type: =item
17631 #: ../fish/guestfish-actions.pod:4858 ../src/guestfs-actions.pod:7471
17632 msgid "S"
17633 msgstr "S"
17634
17635 #. type: textblock
17636 #: ../fish/guestfish-actions.pod:4860 ../src/guestfs-actions.pod:7473
17637 msgid "Single 8-bit-byte characters."
17638 msgstr "Окремі 8-бітові-байтові символи."
17639
17640 #. type: =item
17641 #: ../fish/guestfish-actions.pod:4862 ../src/guestfs-actions.pod:7475
17642 msgid "b"
17643 msgstr "b"
17644
17645 #. type: textblock
17646 #: ../fish/guestfish-actions.pod:4864 ../src/guestfs-actions.pod:7477
17647 msgid "16-bit big endian strings such as those encoded in UTF-16BE or UCS-2BE."
17648 msgstr ""
17649
17650 #. type: =item
17651 #: ../fish/guestfish-actions.pod:4867 ../src/guestfs-actions.pod:7480
17652 msgid "l (lower case letter L)"
17653 msgstr ""
17654
17655 #. type: textblock
17656 #: ../fish/guestfish-actions.pod:4869 ../src/guestfs-actions.pod:7482
17657 msgid ""
17658 "16-bit little endian such as UTF-16LE and UCS-2LE.  This is useful for "
17659 "examining binaries in Windows guests."
17660 msgstr ""
17661
17662 #. type: =item
17663 #: ../fish/guestfish-actions.pod:4872 ../src/guestfs-actions.pod:7485
17664 msgid "B"
17665 msgstr "B"
17666
17667 #. type: textblock
17668 #: ../fish/guestfish-actions.pod:4874 ../src/guestfs-actions.pod:7487
17669 msgid "32-bit big endian such as UCS-4BE."
17670 msgstr ""
17671
17672 #. type: =item
17673 #: ../fish/guestfish-actions.pod:4876 ../src/guestfs-actions.pod:7489
17674 msgid "L"
17675 msgstr "L"
17676
17677 #. type: textblock
17678 #: ../fish/guestfish-actions.pod:4878 ../src/guestfs-actions.pod:7491
17679 msgid "32-bit little endian such as UCS-4LE."
17680 msgstr ""
17681
17682 #. type: textblock
17683 #: ../fish/guestfish-actions.pod:4882 ../src/guestfs-actions.pod:7495
17684 msgid "The returned strings are transcoded to UTF-8."
17685 msgstr ""
17686
17687 #. type: =head2
17688 #: ../fish/guestfish-actions.pod:4887
17689 msgid "swapoff-device"
17690 msgstr "swapoff-device"
17691
17692 #. type: verbatim
17693 #: ../fish/guestfish-actions.pod:4889
17694 #, no-wrap
17695 msgid ""
17696 " swapoff-device device\n"
17697 "\n"
17698 msgstr ""
17699 " swapoff-device пристрій\n"
17700 "\n"
17701
17702 #. type: textblock
17703 #: ../fish/guestfish-actions.pod:4891
17704 msgid ""
17705 "This command disables the libguestfs appliance swap device or partition "
17706 "named C<device>.  See L</swapon-device>."
17707 msgstr ""
17708
17709 #. type: =head2
17710 #: ../fish/guestfish-actions.pod:4895
17711 msgid "swapoff-file"
17712 msgstr "swapoff-file"
17713
17714 #. type: verbatim
17715 #: ../fish/guestfish-actions.pod:4897
17716 #, no-wrap
17717 msgid ""
17718 " swapoff-file file\n"
17719 "\n"
17720 msgstr ""
17721 " swapoff-file файл\n"
17722 "\n"
17723
17724 #. type: textblock
17725 #: ../fish/guestfish-actions.pod:4899 ../src/guestfs-actions.pod:7526
17726 msgid "This command disables the libguestfs appliance swap on file."
17727 msgstr ""
17728
17729 #. type: =head2
17730 #: ../fish/guestfish-actions.pod:4901
17731 msgid "swapoff-label"
17732 msgstr "swapoff-label"
17733
17734 #. type: verbatim
17735 #: ../fish/guestfish-actions.pod:4903
17736 #, no-wrap
17737 msgid ""
17738 " swapoff-label label\n"
17739 "\n"
17740 msgstr ""
17741 " swapoff-label мітка\n"
17742 "\n"
17743
17744 #. type: textblock
17745 #: ../fish/guestfish-actions.pod:4905 ../src/guestfs-actions.pod:7538
17746 msgid ""
17747 "This command disables the libguestfs appliance swap on labeled swap "
17748 "partition."
17749 msgstr ""
17750
17751 #. type: =head2
17752 #: ../fish/guestfish-actions.pod:4908
17753 msgid "swapoff-uuid"
17754 msgstr "swapoff-uuid"
17755
17756 #. type: verbatim
17757 #: ../fish/guestfish-actions.pod:4910
17758 #, no-wrap
17759 msgid ""
17760 " swapoff-uuid uuid\n"
17761 "\n"
17762 msgstr ""
17763 " swapoff-uuid uuid\n"
17764 "\n"
17765
17766 #. type: textblock
17767 #: ../fish/guestfish-actions.pod:4912 ../src/guestfs-actions.pod:7551
17768 msgid ""
17769 "This command disables the libguestfs appliance swap partition with the given "
17770 "UUID."
17771 msgstr ""
17772
17773 #. type: =head2
17774 #: ../fish/guestfish-actions.pod:4915
17775 msgid "swapon-device"
17776 msgstr "swapon-device"
17777
17778 #. type: verbatim
17779 #: ../fish/guestfish-actions.pod:4917
17780 #, no-wrap
17781 msgid ""
17782 " swapon-device device\n"
17783 "\n"
17784 msgstr ""
17785 " swapon-device пристрій\n"
17786 "\n"
17787
17788 #. type: textblock
17789 #: ../fish/guestfish-actions.pod:4919
17790 msgid ""
17791 "This command enables the libguestfs appliance to use the swap device or "
17792 "partition named C<device>.  The increased memory is made available for all "
17793 "commands, for example those run using L</command> or L</sh>."
17794 msgstr ""
17795
17796 #. type: textblock
17797 #: ../fish/guestfish-actions.pod:4924 ../src/guestfs-actions.pod:7569
17798 msgid ""
17799 "Note that you should not swap to existing guest swap partitions unless you "
17800 "know what you are doing.  They may contain hibernation information, or other "
17801 "information that the guest doesn't want you to trash.  You also risk leaking "
17802 "information about the host to the guest this way.  Instead, attach a new "
17803 "host device to the guest and swap on that."
17804 msgstr ""
17805
17806 #. type: =head2
17807 #: ../fish/guestfish-actions.pod:4931
17808 msgid "swapon-file"
17809 msgstr "swapon-file"
17810
17811 #. type: verbatim
17812 #: ../fish/guestfish-actions.pod:4933
17813 #, no-wrap
17814 msgid ""
17815 " swapon-file file\n"
17816 "\n"
17817 msgstr ""
17818 " swapon-file файл\n"
17819 "\n"
17820
17821 #. type: textblock
17822 #: ../fish/guestfish-actions.pod:4935
17823 msgid ""
17824 "This command enables swap to a file.  See L</swapon-device> for other notes."
17825 msgstr ""
17826
17827 #. type: =head2
17828 #: ../fish/guestfish-actions.pod:4938
17829 msgid "swapon-label"
17830 msgstr "swapon-label"
17831
17832 #. type: verbatim
17833 #: ../fish/guestfish-actions.pod:4940
17834 #, no-wrap
17835 msgid ""
17836 " swapon-label label\n"
17837 "\n"
17838 msgstr ""
17839 " swapon-label мітка\n"
17840 "\n"
17841
17842 #. type: textblock
17843 #: ../fish/guestfish-actions.pod:4942
17844 msgid ""
17845 "This command enables swap to a labeled swap partition.  See L</swapon-"
17846 "device> for other notes."
17847 msgstr ""
17848
17849 #. type: =head2
17850 #: ../fish/guestfish-actions.pod:4945
17851 msgid "swapon-uuid"
17852 msgstr "swapon-uuid"
17853
17854 #. type: verbatim
17855 #: ../fish/guestfish-actions.pod:4947
17856 #, no-wrap
17857 msgid ""
17858 " swapon-uuid uuid\n"
17859 "\n"
17860 msgstr ""
17861 " swapon-uuid uuid\n"
17862 "\n"
17863
17864 #. type: textblock
17865 #: ../fish/guestfish-actions.pod:4949
17866 msgid ""
17867 "This command enables swap to a swap partition with the given UUID.  See L</"
17868 "swapon-device> for other notes."
17869 msgstr ""
17870
17871 #. type: =head2
17872 #: ../fish/guestfish-actions.pod:4952
17873 msgid "sync"
17874 msgstr "sync"
17875
17876 #. type: verbatim
17877 #: ../fish/guestfish-actions.pod:4954
17878 #, no-wrap
17879 msgid ""
17880 " sync\n"
17881 "\n"
17882 msgstr ""
17883 " sync\n"
17884 "\n"
17885
17886 #. type: textblock
17887 #: ../fish/guestfish-actions.pod:4956 ../src/guestfs-actions.pod:7624
17888 msgid ""
17889 "This syncs the disk, so that any writes are flushed through to the "
17890 "underlying disk image."
17891 msgstr ""
17892
17893 #. type: textblock
17894 #: ../fish/guestfish-actions.pod:4959 ../src/guestfs-actions.pod:7627
17895 msgid ""
17896 "You should always call this if you have modified a disk image, before "
17897 "closing the handle."
17898 msgstr ""
17899
17900 #. type: =head2
17901 #: ../fish/guestfish-actions.pod:4962
17902 msgid "tail"
17903 msgstr "tail"
17904
17905 #. type: verbatim
17906 #: ../fish/guestfish-actions.pod:4964
17907 #, no-wrap
17908 msgid ""
17909 " tail path\n"
17910 "\n"
17911 msgstr ""
17912 " tail шлях\n"
17913 "\n"
17914
17915 #. type: textblock
17916 #: ../fish/guestfish-actions.pod:4966 ../src/guestfs-actions.pod:7640
17917 msgid ""
17918 "This command returns up to the last 10 lines of a file as a list of strings."
17919 msgstr ""
17920
17921 #. type: =head2
17922 #: ../fish/guestfish-actions.pod:4972
17923 msgid "tail-n"
17924 msgstr "tail-n"
17925
17926 #. type: verbatim
17927 #: ../fish/guestfish-actions.pod:4974
17928 #, no-wrap
17929 msgid ""
17930 " tail-n nrlines path\n"
17931 "\n"
17932 msgstr ""
17933
17934 #. type: textblock
17935 #: ../fish/guestfish-actions.pod:4976 ../src/guestfs-actions.pod:7659
17936 msgid ""
17937 "If the parameter C<nrlines> is a positive number, this returns the last "
17938 "C<nrlines> lines of the file C<path>."
17939 msgstr ""
17940
17941 #. type: textblock
17942 #: ../fish/guestfish-actions.pod:4979 ../src/guestfs-actions.pod:7662
17943 msgid ""
17944 "If the parameter C<nrlines> is a negative number, this returns lines from "
17945 "the file C<path>, starting with the C<-nrlines>th line."
17946 msgstr ""
17947
17948 #. type: =head2
17949 #: ../fish/guestfish-actions.pod:4987
17950 msgid "tar-in"
17951 msgstr "tar-in"
17952
17953 #. type: verbatim
17954 #: ../fish/guestfish-actions.pod:4989
17955 #, no-wrap
17956 msgid ""
17957 " tar-in (tarfile|-) directory\n"
17958 "\n"
17959 msgstr ""
17960 " tar-in (файл_tar|-) каталог\n"
17961 "\n"
17962
17963 #. type: textblock
17964 #: ../fish/guestfish-actions.pod:4991 ../src/guestfs-actions.pod:7683
17965 msgid ""
17966 "This command uploads and unpacks local file C<tarfile> (an I<uncompressed> "
17967 "tar file) into C<directory>."
17968 msgstr ""
17969
17970 #. type: textblock
17971 #: ../fish/guestfish-actions.pod:4994
17972 msgid "To upload a compressed tarball, use L</tgz-in> or L</txz-in>."
17973 msgstr ""
17974
17975 #. type: =head2
17976 #: ../fish/guestfish-actions.pod:4999
17977 msgid "tar-out"
17978 msgstr "tar-out"
17979
17980 #. type: verbatim
17981 #: ../fish/guestfish-actions.pod:5001
17982 #, no-wrap
17983 msgid ""
17984 " tar-out directory (tarfile|-)\n"
17985 "\n"
17986 msgstr ""
17987 " tar-out каталог (файл tar|-)\n"
17988 "\n"
17989
17990 #. type: textblock
17991 #: ../fish/guestfish-actions.pod:5003 ../src/guestfs-actions.pod:7700
17992 msgid ""
17993 "This command packs the contents of C<directory> and downloads it to local "
17994 "file C<tarfile>."
17995 msgstr ""
17996
17997 #. type: textblock
17998 #: ../fish/guestfish-actions.pod:5006
17999 msgid "To download a compressed tarball, use L</tgz-out> or L</txz-out>."
18000 msgstr ""
18001
18002 #. type: =head2
18003 #: ../fish/guestfish-actions.pod:5011
18004 msgid "tgz-in"
18005 msgstr "tgz-in"
18006
18007 #. type: verbatim
18008 #: ../fish/guestfish-actions.pod:5013
18009 #, no-wrap
18010 msgid ""
18011 " tgz-in (tarball|-) directory\n"
18012 "\n"
18013 msgstr ""
18014 " tgz-in (архів tar|-) каталог\n"
18015 "\n"
18016
18017 #. type: textblock
18018 #: ../fish/guestfish-actions.pod:5015 ../src/guestfs-actions.pod:7717
18019 msgid ""
18020 "This command uploads and unpacks local file C<tarball> (a I<gzip compressed> "
18021 "tar file) into C<directory>."
18022 msgstr ""
18023
18024 #. type: textblock
18025 #: ../fish/guestfish-actions.pod:5018
18026 msgid "To upload an uncompressed tarball, use L</tar-in>."
18027 msgstr ""
18028
18029 #. type: =head2
18030 #: ../fish/guestfish-actions.pod:5022
18031 msgid "tgz-out"
18032 msgstr "tgz-out"
18033
18034 #. type: verbatim
18035 #: ../fish/guestfish-actions.pod:5024
18036 #, no-wrap
18037 msgid ""
18038 " tgz-out directory (tarball|-)\n"
18039 "\n"
18040 msgstr ""
18041 " tgz-out каталог (архів tar|-)\n"
18042 "\n"
18043
18044 #. type: textblock
18045 #: ../fish/guestfish-actions.pod:5026 ../src/guestfs-actions.pod:7733
18046 msgid ""
18047 "This command packs the contents of C<directory> and downloads it to local "
18048 "file C<tarball>."
18049 msgstr ""
18050
18051 #. type: textblock
18052 #: ../fish/guestfish-actions.pod:5029
18053 msgid "To download an uncompressed tarball, use L</tar-out>."
18054 msgstr ""
18055
18056 #. type: =head2
18057 #: ../fish/guestfish-actions.pod:5033
18058 msgid "touch"
18059 msgstr "touch"
18060
18061 #. type: verbatim
18062 #: ../fish/guestfish-actions.pod:5035
18063 #, no-wrap
18064 msgid ""
18065 " touch path\n"
18066 "\n"
18067 msgstr ""
18068 " touch шлях\n"
18069 "\n"
18070
18071 #. type: textblock
18072 #: ../fish/guestfish-actions.pod:5037 ../src/guestfs-actions.pod:7748
18073 msgid ""
18074 "Touch acts like the L<touch(1)> command.  It can be used to update the "
18075 "timestamps on a file, or, if the file does not exist, to create a new zero-"
18076 "length file."
18077 msgstr ""
18078
18079 #. type: textblock
18080 #: ../fish/guestfish-actions.pod:5041 ../src/guestfs-actions.pod:7752
18081 msgid ""
18082 "This command only works on regular files, and will fail on other file types "
18083 "such as directories, symbolic links, block special etc."
18084 msgstr ""
18085
18086 #. type: =head2
18087 #: ../fish/guestfish-actions.pod:5044
18088 msgid "truncate"
18089 msgstr "truncate"
18090
18091 #. type: verbatim
18092 #: ../fish/guestfish-actions.pod:5046
18093 #, no-wrap
18094 msgid ""
18095 " truncate path\n"
18096 "\n"
18097 msgstr ""
18098 " truncate шлях\n"
18099 "\n"
18100
18101 #. type: textblock
18102 #: ../fish/guestfish-actions.pod:5048 ../src/guestfs-actions.pod:7765
18103 msgid ""
18104 "This command truncates C<path> to a zero-length file.  The file must exist "
18105 "already."
18106 msgstr ""
18107
18108 #. type: =head2
18109 #: ../fish/guestfish-actions.pod:5051
18110 msgid "truncate-size"
18111 msgstr "truncate-size"
18112
18113 #. type: verbatim
18114 #: ../fish/guestfish-actions.pod:5053
18115 #, no-wrap
18116 msgid ""
18117 " truncate-size path size\n"
18118 "\n"
18119 msgstr ""
18120 " truncate-size шлях розмір\n"
18121 "\n"
18122
18123 #. type: textblock
18124 #: ../fish/guestfish-actions.pod:5055 ../src/guestfs-actions.pod:7779
18125 msgid ""
18126 "This command truncates C<path> to size C<size> bytes.  The file must exist "
18127 "already."
18128 msgstr ""
18129
18130 #. type: textblock
18131 #: ../fish/guestfish-actions.pod:5058
18132 msgid ""
18133 "If the current file size is less than C<size> then the file is extended to "
18134 "the required size with zero bytes.  This creates a sparse file (ie. disk "
18135 "blocks are not allocated for the file until you write to it).  To create a "
18136 "non-sparse file of zeroes, use L</fallocate64> instead."
18137 msgstr ""
18138
18139 #. type: =head2
18140 #: ../fish/guestfish-actions.pod:5064
18141 #, fuzzy
18142 #| msgid "tune2fs-l"
18143 msgid "tune2fs"
18144 msgstr "tune2fs-l"
18145
18146 #. type: verbatim
18147 #: ../fish/guestfish-actions.pod:5066
18148 #, no-wrap
18149 msgid ""
18150 " tune2fs device [force:true|false] [maxmountcount:N] [mountcount:N] [errorbehavior:..] [group:N] [intervalbetweenchecks:N] [reservedblockspercentage:N] [lastmounteddirectory:..] [reservedblockscount:N] [user:N]\n"
18151 "\n"
18152 msgstr ""
18153
18154 #. type: textblock
18155 #: ../fish/guestfish-actions.pod:5068 ../src/guestfs-actions.pod:7815
18156 msgid ""
18157 "This call allows you to adjust various filesystem parameters of an ext2/ext3/"
18158 "ext4 filesystem called C<device>."
18159 msgstr ""
18160
18161 #. type: textblock
18162 #: ../fish/guestfish-actions.pod:5077 ../src/guestfs-actions.pod:7824
18163 msgid ""
18164 "Force tune2fs to complete the operation even in the face of errors.  This is "
18165 "the same as the tune2fs C<-f> option."
18166 msgstr ""
18167
18168 #. type: =item
18169 #: ../fish/guestfish-actions.pod:5080 ../src/guestfs-actions.pod:7827
18170 #, fuzzy
18171 #| msgid "mkmountpoint"
18172 msgid "C<maxmountcount>"
18173 msgstr "mkmountpoint"
18174
18175 #. type: textblock
18176 #: ../fish/guestfish-actions.pod:5082 ../src/guestfs-actions.pod:7829
18177 msgid ""
18178 "Set the number of mounts after which the filesystem is checked by L<e2fsck(8)"
18179 ">.  If this is C<0> then the number of mounts is disregarded.  This is the "
18180 "same as the tune2fs C<-c> option."
18181 msgstr ""
18182
18183 #. type: =item
18184 #: ../fish/guestfish-actions.pod:5086 ../src/guestfs-actions.pod:7833
18185 #, fuzzy
18186 #| msgid "mountpoints"
18187 msgid "C<mountcount>"
18188 msgstr "mountpoints"
18189
18190 #. type: textblock
18191 #: ../fish/guestfish-actions.pod:5088 ../src/guestfs-actions.pod:7835
18192 msgid ""
18193 "Set the number of times the filesystem has been mounted.  This is the same "
18194 "as the tune2fs C<-C> option."
18195 msgstr ""
18196
18197 #. type: =item
18198 #: ../fish/guestfish-actions.pod:5091 ../src/guestfs-actions.pod:7838
18199 msgid "C<errorbehavior>"
18200 msgstr ""
18201
18202 #. type: textblock
18203 #: ../fish/guestfish-actions.pod:5093 ../src/guestfs-actions.pod:7840
18204 msgid ""
18205 "Change the behavior of the kernel code when errors are detected.  Possible "
18206 "values currently are: C<continue>, C<remount-ro>, C<panic>.  In practice "
18207 "these options don't really make any difference, particularly for write "
18208 "errors."
18209 msgstr ""
18210
18211 #. type: textblock
18212 #: ../fish/guestfish-actions.pod:5098 ../src/guestfs-actions.pod:7845
18213 msgid "This is the same as the tune2fs C<-e> option."
18214 msgstr ""
18215
18216 #. type: =item
18217 #: ../fish/guestfish-actions.pod:5100 ../src/guestfs-actions.pod:7847
18218 #, fuzzy
18219 #| msgid "B<--volgroups>"
18220 msgid "C<group>"
18221 msgstr "B<--volgroups>"
18222
18223 #. type: textblock
18224 #: ../fish/guestfish-actions.pod:5102 ../src/guestfs-actions.pod:7849
18225 msgid ""
18226 "Set the group which can use reserved filesystem blocks.  This is the same as "
18227 "the tune2fs C<-g> option except that it can only be specified as a number."
18228 msgstr ""
18229
18230 #. type: =item
18231 #: ../fish/guestfish-actions.pod:5106 ../src/guestfs-actions.pod:7853
18232 msgid "C<intervalbetweenchecks>"
18233 msgstr ""
18234
18235 #. type: textblock
18236 #: ../fish/guestfish-actions.pod:5108 ../src/guestfs-actions.pod:7855
18237 msgid ""
18238 "Adjust the maximal time between two filesystem checks (in seconds).  If the "
18239 "option is passed as C<0> then time-dependent checking is disabled."
18240 msgstr ""
18241
18242 #. type: textblock
18243 #: ../fish/guestfish-actions.pod:5112 ../src/guestfs-actions.pod:7859
18244 msgid "This is the same as the tune2fs C<-i> option."
18245 msgstr ""
18246
18247 #. type: =item
18248 #: ../fish/guestfish-actions.pod:5114 ../src/guestfs-actions.pod:7861
18249 msgid "C<reservedblockspercentage>"
18250 msgstr ""
18251
18252 #. type: textblock
18253 #: ../fish/guestfish-actions.pod:5116 ../src/guestfs-actions.pod:7863
18254 msgid ""
18255 "Set the percentage of the filesystem which may only be allocated by "
18256 "privileged processes.  This is the same as the tune2fs C<-m> option."
18257 msgstr ""
18258
18259 #. type: =item
18260 #: ../fish/guestfish-actions.pod:5120 ../src/guestfs-actions.pod:7867
18261 msgid "C<lastmounteddirectory>"
18262 msgstr ""
18263
18264 #. type: textblock
18265 #: ../fish/guestfish-actions.pod:5122 ../src/guestfs-actions.pod:7869
18266 msgid ""
18267 "Set the last mounted directory.  This is the same as the tune2fs C<-M> "
18268 "option."
18269 msgstr ""
18270
18271 #. type: =item
18272 #: ../fish/guestfish-actions.pod:5125 ../src/guestfs-actions.pod:7872
18273 msgid ""
18274 "C<reservedblockscount> Set the number of reserved filesystem blocks.  This "
18275 "is the same as the tune2fs C<-r> option."
18276 msgstr ""
18277
18278 #. type: =item
18279 #: ../fish/guestfish-actions.pod:5129 ../src/guestfs-actions.pod:7876
18280 msgid "C<user>"
18281 msgstr ""
18282
18283 #. type: textblock
18284 #: ../fish/guestfish-actions.pod:5131 ../src/guestfs-actions.pod:7878
18285 msgid ""
18286 "Set the user who can use the reserved filesystem blocks.  This is the same "
18287 "as the tune2fs C<-u> option except that it can only be specified as a number."
18288 msgstr ""
18289
18290 #. type: textblock
18291 #: ../fish/guestfish-actions.pod:5137
18292 msgid ""
18293 "To get the current values of filesystem parameters, see L</tune2fs-l>.  For "
18294 "precise details of how tune2fs works, see the L<tune2fs(8)> man page."
18295 msgstr ""
18296
18297 #. type: =head2
18298 #: ../fish/guestfish-actions.pod:5143
18299 msgid "tune2fs-l"
18300 msgstr "tune2fs-l"
18301
18302 #. type: verbatim
18303 #: ../fish/guestfish-actions.pod:5145
18304 #, no-wrap
18305 msgid ""
18306 " tune2fs-l device\n"
18307 "\n"
18308 msgstr ""
18309 " tune2fs-l пристрій\n"
18310 "\n"
18311
18312 #. type: textblock
18313 #: ../fish/guestfish-actions.pod:5147 ../src/guestfs-actions.pod:7920
18314 msgid ""
18315 "This returns the contents of the ext2, ext3 or ext4 filesystem superblock on "
18316 "C<device>."
18317 msgstr ""
18318
18319 #. type: textblock
18320 #: ../fish/guestfish-actions.pod:5150 ../src/guestfs-actions.pod:7923
18321 msgid ""
18322 "It is the same as running C<tune2fs -l device>.  See L<tune2fs(8)> manpage "
18323 "for more details.  The list of fields returned isn't clearly defined, and "
18324 "depends on both the version of C<tune2fs> that libguestfs was built against, "
18325 "and the filesystem itself."
18326 msgstr ""
18327
18328 #. type: =head2
18329 #: ../fish/guestfish-actions.pod:5155
18330 msgid "txz-in"
18331 msgstr "txz-in"
18332
18333 #. type: verbatim
18334 #: ../fish/guestfish-actions.pod:5157
18335 #, no-wrap
18336 msgid ""
18337 " txz-in (tarball|-) directory\n"
18338 "\n"
18339 msgstr ""
18340 " txz-in (архів tar|-) каталог\n"
18341 "\n"
18342
18343 #. type: textblock
18344 #: ../fish/guestfish-actions.pod:5159 ../src/guestfs-actions.pod:7943
18345 msgid ""
18346 "This command uploads and unpacks local file C<tarball> (an I<xz compressed> "
18347 "tar file) into C<directory>."
18348 msgstr ""
18349
18350 #. type: =head2
18351 #: ../fish/guestfish-actions.pod:5164
18352 msgid "txz-out"
18353 msgstr "txz-out"
18354
18355 #. type: verbatim
18356 #: ../fish/guestfish-actions.pod:5166
18357 #, no-wrap
18358 msgid ""
18359 " txz-out directory (tarball|-)\n"
18360 "\n"
18361 msgstr ""
18362 " txz-out каталог (архів tar|-)\n"
18363 "\n"
18364
18365 #. type: textblock
18366 #: ../fish/guestfish-actions.pod:5168 ../src/guestfs-actions.pod:7957
18367 msgid ""
18368 "This command packs the contents of C<directory> and downloads it to local "
18369 "file C<tarball> (as an xz compressed tar archive)."
18370 msgstr ""
18371
18372 #. type: =head2
18373 #: ../fish/guestfish-actions.pod:5173
18374 msgid "umask"
18375 msgstr "umask"
18376
18377 #. type: verbatim
18378 #: ../fish/guestfish-actions.pod:5175
18379 #, no-wrap
18380 msgid ""
18381 " umask mask\n"
18382 "\n"
18383 msgstr ""
18384 " umask маска\n"
18385 "\n"
18386
18387 #. type: textblock
18388 #: ../fish/guestfish-actions.pod:5177 ../src/guestfs-actions.pod:7970
18389 msgid ""
18390 "This function sets the mask used for creating new files and device nodes to "
18391 "C<mask & 0777>."
18392 msgstr ""
18393
18394 #. type: textblock
18395 #: ../fish/guestfish-actions.pod:5180 ../src/guestfs-actions.pod:7973
18396 msgid ""
18397 "Typical umask values would be C<022> which creates new files with "
18398 "permissions like \"-rw-r--r--\" or \"-rwxr-xr-x\", and C<002> which creates "
18399 "new files with permissions like \"-rw-rw-r--\" or \"-rwxrwxr-x\"."
18400 msgstr ""
18401
18402 #. type: textblock
18403 #: ../fish/guestfish-actions.pod:5185 ../src/guestfs-actions.pod:7978
18404 msgid ""
18405 "The default umask is C<022>.  This is important because it means that "
18406 "directories and device nodes will be created with C<0644> or C<0755> mode "
18407 "even if you specify C<0777>."
18408 msgstr ""
18409
18410 #. type: textblock
18411 #: ../fish/guestfish-actions.pod:5189
18412 msgid "See also L</get-umask>, L<umask(2)>, L</mknod>, L</mkdir>."
18413 msgstr "Див. також L</get-umask>, L<umask(2)>, L</mknod>, L</mkdir>."
18414
18415 #. type: textblock
18416 #: ../fish/guestfish-actions.pod:5192 ../src/guestfs-actions.pod:7985
18417 msgid "This call returns the previous umask."
18418 msgstr ""
18419
18420 #. type: =head2
18421 #: ../fish/guestfish-actions.pod:5194
18422 msgid "umount"
18423 msgstr "umount"
18424
18425 #. type: =head2
18426 #: ../fish/guestfish-actions.pod:5196
18427 msgid "unmount"
18428 msgstr "unmount"
18429
18430 #. type: verbatim
18431 #: ../fish/guestfish-actions.pod:5198
18432 #, no-wrap
18433 msgid ""
18434 " umount pathordevice\n"
18435 "\n"
18436 msgstr ""
18437 " umount шлях_або_пристрій\n"
18438 "\n"
18439
18440 #. type: textblock
18441 #: ../fish/guestfish-actions.pod:5200 ../src/guestfs-actions.pod:7997
18442 msgid ""
18443 "This unmounts the given filesystem.  The filesystem may be specified either "
18444 "by its mountpoint (path) or the device which contains the filesystem."
18445 msgstr ""
18446
18447 #. type: =head2
18448 #: ../fish/guestfish-actions.pod:5204
18449 msgid "umount-all"
18450 msgstr "umount-all"
18451
18452 #. type: =head2
18453 #: ../fish/guestfish-actions.pod:5206
18454 msgid "unmount-all"
18455 msgstr "unmount-all"
18456
18457 #. type: verbatim
18458 #: ../fish/guestfish-actions.pod:5208
18459 #, no-wrap
18460 msgid ""
18461 " umount-all\n"
18462 "\n"
18463 msgstr ""
18464 " umount-all\n"
18465 "\n"
18466
18467 #. type: textblock
18468 #: ../fish/guestfish-actions.pod:5210 ../src/guestfs-actions.pod:8010
18469 msgid "This unmounts all mounted filesystems."
18470 msgstr ""
18471
18472 #. type: textblock
18473 #: ../fish/guestfish-actions.pod:5212 ../src/guestfs-actions.pod:8012
18474 msgid "Some internal mounts are not unmounted by this call."
18475 msgstr ""
18476
18477 #. type: =head2
18478 #: ../fish/guestfish-actions.pod:5214
18479 msgid "upload"
18480 msgstr "upload"
18481
18482 #. type: verbatim
18483 #: ../fish/guestfish-actions.pod:5216
18484 #, no-wrap
18485 msgid ""
18486 " upload (filename|-) remotefilename\n"
18487 "\n"
18488 msgstr ""
18489 " upload (назва_файла|-) назва_віддаленого_файла\n"
18490 "\n"
18491
18492 #. type: textblock
18493 #: ../fish/guestfish-actions.pod:5218 ../fish/guestfish-actions.pod:5231
18494 #: ../src/guestfs-actions.pod:8025 ../src/guestfs-actions.pod:8049
18495 msgid "Upload local file C<filename> to C<remotefilename> on the filesystem."
18496 msgstr ""
18497
18498 #. type: textblock
18499 #: ../fish/guestfish-actions.pod:5223
18500 msgid "See also L</download>."
18501 msgstr "Див. також L</download>."
18502
18503 #. type: =head2
18504 #: ../fish/guestfish-actions.pod:5227
18505 msgid "upload-offset"
18506 msgstr "upload-offset"
18507
18508 #. type: verbatim
18509 #: ../fish/guestfish-actions.pod:5229
18510 #, no-wrap
18511 msgid ""
18512 " upload-offset (filename|-) remotefilename offset\n"
18513 "\n"
18514 msgstr ""
18515 " upload-offset (назва_файла|-) назва_віддаленого_файла відступ\n"
18516 "\n"
18517
18518 #. type: textblock
18519 #: ../fish/guestfish-actions.pod:5234 ../src/guestfs-actions.pod:8052
18520 msgid ""
18521 "C<remotefilename> is overwritten starting at the byte C<offset> specified.  "
18522 "The intention is to overwrite parts of existing files or devices, although "
18523 "if a non-existant file is specified then it is created with a \"hole\" "
18524 "before C<offset>.  The size of the data written is implicit in the size of "
18525 "the source C<filename>."
18526 msgstr ""
18527
18528 #. type: textblock
18529 #: ../fish/guestfish-actions.pod:5241
18530 msgid ""
18531 "Note that there is no limit on the amount of data that can be uploaded with "
18532 "this call, unlike with L</pwrite>, and this call always writes the full "
18533 "amount unless an error occurs."
18534 msgstr ""
18535
18536 #. type: textblock
18537 #: ../fish/guestfish-actions.pod:5246
18538 msgid "See also L</upload>, L</pwrite>."
18539 msgstr "Див. також L</upload>, L</pwrite>."
18540
18541 #. type: =head2
18542 #: ../fish/guestfish-actions.pod:5250
18543 msgid "utimens"
18544 msgstr "utimens"
18545
18546 #. type: verbatim
18547 #: ../fish/guestfish-actions.pod:5252
18548 #, no-wrap
18549 msgid ""
18550 " utimens path atsecs atnsecs mtsecs mtnsecs\n"
18551 "\n"
18552 msgstr ""
18553
18554 #. type: textblock
18555 #: ../fish/guestfish-actions.pod:5254 ../src/guestfs-actions.pod:8085
18556 msgid "This command sets the timestamps of a file with nanosecond precision."
18557 msgstr ""
18558
18559 #. type: textblock
18560 #: ../fish/guestfish-actions.pod:5257 ../src/guestfs-actions.pod:8088
18561 msgid ""
18562 "C<atsecs, atnsecs> are the last access time (atime) in secs and nanoseconds "
18563 "from the epoch."
18564 msgstr ""
18565
18566 #. type: textblock
18567 #: ../fish/guestfish-actions.pod:5260 ../src/guestfs-actions.pod:8091
18568 msgid ""
18569 "C<mtsecs, mtnsecs> are the last modification time (mtime) in secs and "
18570 "nanoseconds from the epoch."
18571 msgstr ""
18572
18573 #. type: textblock
18574 #: ../fish/guestfish-actions.pod:5263 ../src/guestfs-actions.pod:8094
18575 msgid ""
18576 "If the C<*nsecs> field contains the special value C<-1> then the "
18577 "corresponding timestamp is set to the current time.  (The C<*secs> field is "
18578 "ignored in this case)."
18579 msgstr ""
18580
18581 #. type: textblock
18582 #: ../fish/guestfish-actions.pod:5267 ../src/guestfs-actions.pod:8098
18583 msgid ""
18584 "If the C<*nsecs> field contains the special value C<-2> then the "
18585 "corresponding timestamp is left unchanged.  (The C<*secs> field is ignored "
18586 "in this case)."
18587 msgstr ""
18588
18589 #. type: =head2
18590 #: ../fish/guestfish-actions.pod:5271
18591 msgid "version"
18592 msgstr "version"
18593
18594 #. type: verbatim
18595 #: ../fish/guestfish-actions.pod:5273
18596 #, no-wrap
18597 msgid ""
18598 " version\n"
18599 "\n"
18600 msgstr ""
18601 " version\n"
18602 "\n"
18603
18604 #. type: textblock
18605 #: ../fish/guestfish-actions.pod:5275 ../src/guestfs-actions.pod:8111
18606 msgid ""
18607 "Return the libguestfs version number that the program is linked against."
18608 msgstr ""
18609
18610 #. type: textblock
18611 #: ../fish/guestfish-actions.pod:5278 ../src/guestfs-actions.pod:8114
18612 msgid ""
18613 "Note that because of dynamic linking this is not necessarily the version of "
18614 "libguestfs that you compiled against.  You can compile the program, and then "
18615 "at runtime dynamically link against a completely different C<libguestfs.so> "
18616 "library."
18617 msgstr ""
18618
18619 #. type: textblock
18620 #: ../fish/guestfish-actions.pod:5283 ../src/guestfs-actions.pod:8119
18621 msgid ""
18622 "This call was added in version C<1.0.58>.  In previous versions of "
18623 "libguestfs there was no way to get the version number.  From C code you can "
18624 "use dynamic linker functions to find out if this symbol exists (if it "
18625 "doesn't, then it's an earlier version)."
18626 msgstr ""
18627
18628 #. type: textblock
18629 #: ../fish/guestfish-actions.pod:5289 ../src/guestfs-actions.pod:8125
18630 msgid ""
18631 "The call returns a structure with four elements.  The first three (C<major>, "
18632 "C<minor> and C<release>) are numbers and correspond to the usual version "
18633 "triplet.  The fourth element (C<extra>) is a string and is normally empty, "
18634 "but may be used for distro-specific information."
18635 msgstr ""
18636
18637 #. type: textblock
18638 #: ../fish/guestfish-actions.pod:5295 ../src/guestfs-actions.pod:8131
18639 msgid ""
18640 "To construct the original version string: C<$major.$minor.$release$extra>"
18641 msgstr ""
18642
18643 #. type: textblock
18644 #: ../fish/guestfish-actions.pod:5298 ../src/guestfs-actions.pod:8134
18645 msgid "See also: L<guestfs(3)/LIBGUESTFS VERSION NUMBERS>."
18646 msgstr "Див також: L<guestfs(3)/LIBGUESTFS VERSION NUMBERS>."
18647
18648 #. type: textblock
18649 #: ../fish/guestfish-actions.pod:5300
18650 msgid ""
18651 "I<Note:> Don't use this call to test for availability of features.  In "
18652 "enterprise distributions we backport features from later versions into "
18653 "earlier versions, making this an unreliable way to test for features.  Use "
18654 "L</available> instead."
18655 msgstr ""
18656
18657 #. type: =head2
18658 #: ../fish/guestfish-actions.pod:5306
18659 msgid "vfs-label"
18660 msgstr "vfs-label"
18661
18662 #. type: verbatim
18663 #: ../fish/guestfish-actions.pod:5308
18664 #, no-wrap
18665 msgid ""
18666 " vfs-label device\n"
18667 "\n"
18668 msgstr ""
18669 " vfs-label пристрій\n"
18670 "\n"
18671
18672 #. type: textblock
18673 #: ../fish/guestfish-actions.pod:5310 ../src/guestfs-actions.pod:8154
18674 msgid "This returns the filesystem label of the filesystem on C<device>."
18675 msgstr ""
18676
18677 #. type: textblock
18678 #: ../fish/guestfish-actions.pod:5313 ../src/guestfs-actions.pod:8157
18679 msgid "If the filesystem is unlabeled, this returns the empty string."
18680 msgstr ""
18681
18682 #. type: textblock
18683 #: ../fish/guestfish-actions.pod:5315
18684 msgid "To find a filesystem from the label, use L</findfs-label>."
18685 msgstr ""
18686
18687 #. type: =head2
18688 #: ../fish/guestfish-actions.pod:5317
18689 msgid "vfs-type"
18690 msgstr "vfs-type"
18691
18692 #. type: verbatim
18693 #: ../fish/guestfish-actions.pod:5319
18694 #, no-wrap
18695 msgid ""
18696 " vfs-type device\n"
18697 "\n"
18698 msgstr ""
18699 " vfs-type пристрій\n"
18700 "\n"
18701
18702 #. type: textblock
18703 #: ../fish/guestfish-actions.pod:5321 ../src/guestfs-actions.pod:8172
18704 msgid ""
18705 "This command gets the filesystem type corresponding to the filesystem on "
18706 "C<device>."
18707 msgstr ""
18708
18709 #. type: textblock
18710 #: ../fish/guestfish-actions.pod:5324 ../src/guestfs-actions.pod:8175
18711 msgid ""
18712 "For most filesystems, the result is the name of the Linux VFS module which "
18713 "would be used to mount this filesystem if you mounted it without specifying "
18714 "the filesystem type.  For example a string such as C<ext3> or C<ntfs>."
18715 msgstr ""
18716
18717 #. type: =head2
18718 #: ../fish/guestfish-actions.pod:5329
18719 msgid "vfs-uuid"
18720 msgstr "vfs-uuid"
18721
18722 #. type: verbatim
18723 #: ../fish/guestfish-actions.pod:5331
18724 #, no-wrap
18725 msgid ""
18726 " vfs-uuid device\n"
18727 "\n"
18728 msgstr ""
18729 " vfs-uuid пристрій\n"
18730 "\n"
18731
18732 #. type: textblock
18733 #: ../fish/guestfish-actions.pod:5333 ../src/guestfs-actions.pod:8191
18734 msgid "This returns the filesystem UUID of the filesystem on C<device>."
18735 msgstr ""
18736
18737 #. type: textblock
18738 #: ../fish/guestfish-actions.pod:5336 ../src/guestfs-actions.pod:8194
18739 msgid "If the filesystem does not have a UUID, this returns the empty string."
18740 msgstr ""
18741
18742 #. type: textblock
18743 #: ../fish/guestfish-actions.pod:5338
18744 msgid "To find a filesystem from the UUID, use L</findfs-uuid>."
18745 msgstr ""
18746
18747 #. type: =head2
18748 #: ../fish/guestfish-actions.pod:5340
18749 msgid "vg-activate"
18750 msgstr "vg-activate"
18751
18752 #. type: verbatim
18753 #: ../fish/guestfish-actions.pod:5342
18754 #, no-wrap
18755 msgid ""
18756 " vg-activate true|false 'volgroups ...'\n"
18757 "\n"
18758 msgstr ""
18759
18760 #. type: textblock
18761 #: ../fish/guestfish-actions.pod:5344 ../src/guestfs-actions.pod:8210
18762 msgid ""
18763 "This command activates or (if C<activate> is false) deactivates all logical "
18764 "volumes in the listed volume groups C<volgroups>."
18765 msgstr ""
18766
18767 #. type: textblock
18768 #: ../fish/guestfish-actions.pod:5347 ../src/guestfs-actions.pod:8213
18769 msgid "This command is the same as running C<vgchange -a y|n volgroups...>"
18770 msgstr ""
18771
18772 #. type: textblock
18773 #: ../fish/guestfish-actions.pod:5349 ../src/guestfs-actions.pod:8215
18774 msgid ""
18775 "Note that if C<volgroups> is an empty list then B<all> volume groups are "
18776 "activated or deactivated."
18777 msgstr ""
18778
18779 #. type: =head2
18780 #: ../fish/guestfish-actions.pod:5352
18781 msgid "vg-activate-all"
18782 msgstr "vg-activate-all"
18783
18784 #. type: verbatim
18785 #: ../fish/guestfish-actions.pod:5354
18786 #, no-wrap
18787 msgid ""
18788 " vg-activate-all true|false\n"
18789 "\n"
18790 msgstr ""
18791 " vg-activate-all true|false\n"
18792 "\n"
18793
18794 #. type: textblock
18795 #: ../fish/guestfish-actions.pod:5356 ../src/guestfs-actions.pod:8228
18796 msgid ""
18797 "This command activates or (if C<activate> is false) deactivates all logical "
18798 "volumes in all volume groups."
18799 msgstr ""
18800
18801 #. type: textblock
18802 #: ../fish/guestfish-actions.pod:5359 ../src/guestfs-actions.pod:8231
18803 msgid "This command is the same as running C<vgchange -a y|n>"
18804 msgstr ""
18805
18806 #. type: =head2
18807 #: ../fish/guestfish-actions.pod:5361
18808 msgid "vgcreate"
18809 msgstr "vgcreate"
18810
18811 #. type: verbatim
18812 #: ../fish/guestfish-actions.pod:5363
18813 #, no-wrap
18814 msgid ""
18815 " vgcreate volgroup 'physvols ...'\n"
18816 "\n"
18817 msgstr ""
18818
18819 #. type: textblock
18820 #: ../fish/guestfish-actions.pod:5365 ../src/guestfs-actions.pod:8244
18821 msgid ""
18822 "This creates an LVM volume group called C<volgroup> from the non-empty list "
18823 "of physical volumes C<physvols>."
18824 msgstr ""
18825
18826 #. type: =head2
18827 #: ../fish/guestfish-actions.pod:5368
18828 msgid "vglvuuids"
18829 msgstr "vglvuuids"
18830
18831 #. type: verbatim
18832 #: ../fish/guestfish-actions.pod:5370
18833 #, no-wrap
18834 msgid ""
18835 " vglvuuids vgname\n"
18836 "\n"
18837 msgstr ""
18838
18839 #. type: textblock
18840 #: ../fish/guestfish-actions.pod:5372 ../src/guestfs-actions.pod:8257
18841 msgid ""
18842 "Given a VG called C<vgname>, this returns the UUIDs of all the logical "
18843 "volumes created in this volume group."
18844 msgstr ""
18845
18846 #. type: textblock
18847 #: ../fish/guestfish-actions.pod:5375
18848 msgid ""
18849 "You can use this along with L</lvs> and L</lvuuid> calls to associate "
18850 "logical volumes and volume groups."
18851 msgstr ""
18852
18853 #. type: textblock
18854 #: ../fish/guestfish-actions.pod:5378
18855 msgid "See also L</vgpvuuids>."
18856 msgstr "Див. також L</vgpvuuids>."
18857
18858 #. type: =head2
18859 #: ../fish/guestfish-actions.pod:5380
18860 msgid "vgpvuuids"
18861 msgstr "vgpvuuids"
18862
18863 #. type: verbatim
18864 #: ../fish/guestfish-actions.pod:5382
18865 #, no-wrap
18866 msgid ""
18867 " vgpvuuids vgname\n"
18868 "\n"
18869 msgstr ""
18870
18871 #. type: textblock
18872 #: ../fish/guestfish-actions.pod:5384 ../src/guestfs-actions.pod:8277
18873 msgid ""
18874 "Given a VG called C<vgname>, this returns the UUIDs of all the physical "
18875 "volumes that this volume group resides on."
18876 msgstr ""
18877
18878 #. type: textblock
18879 #: ../fish/guestfish-actions.pod:5387
18880 msgid ""
18881 "You can use this along with L</pvs> and L</pvuuid> calls to associate "
18882 "physical volumes and volume groups."
18883 msgstr ""
18884
18885 #. type: textblock
18886 #: ../fish/guestfish-actions.pod:5390
18887 msgid "See also L</vglvuuids>."
18888 msgstr "Див. також L</vglvuuids>."
18889
18890 #. type: =head2
18891 #: ../fish/guestfish-actions.pod:5392
18892 msgid "vgremove"
18893 msgstr "vgremove"
18894
18895 #. type: verbatim
18896 #: ../fish/guestfish-actions.pod:5394
18897 #, no-wrap
18898 msgid ""
18899 " vgremove vgname\n"
18900 "\n"
18901 msgstr ""
18902
18903 #. type: textblock
18904 #: ../fish/guestfish-actions.pod:5396 ../src/guestfs-actions.pod:8297
18905 msgid "Remove an LVM volume group C<vgname>, (for example C<VG>)."
18906 msgstr ""
18907
18908 #. type: textblock
18909 #: ../fish/guestfish-actions.pod:5398 ../src/guestfs-actions.pod:8299
18910 msgid ""
18911 "This also forcibly removes all logical volumes in the volume group (if any)."
18912 msgstr ""
18913
18914 #. type: =head2
18915 #: ../fish/guestfish-actions.pod:5401
18916 msgid "vgrename"
18917 msgstr "vgrename"
18918
18919 #. type: verbatim
18920 #: ../fish/guestfish-actions.pod:5403
18921 #, no-wrap
18922 msgid ""
18923 " vgrename volgroup newvolgroup\n"
18924 "\n"
18925 msgstr ""
18926
18927 #. type: textblock
18928 #: ../fish/guestfish-actions.pod:5405 ../src/guestfs-actions.pod:8313
18929 msgid "Rename a volume group C<volgroup> with the new name C<newvolgroup>."
18930 msgstr ""
18931
18932 #. type: =head2
18933 #: ../fish/guestfish-actions.pod:5407
18934 msgid "vgs"
18935 msgstr "vgs"
18936
18937 #. type: verbatim
18938 #: ../fish/guestfish-actions.pod:5409
18939 #, no-wrap
18940 msgid ""
18941 " vgs\n"
18942 "\n"
18943 msgstr ""
18944 " vgs\n"
18945 "\n"
18946
18947 #. type: textblock
18948 #: ../fish/guestfish-actions.pod:5411 ../src/guestfs-actions.pod:8324
18949 msgid ""
18950 "List all the volumes groups detected.  This is the equivalent of the L<vgs(8)"
18951 "> command."
18952 msgstr ""
18953
18954 #. type: textblock
18955 #: ../fish/guestfish-actions.pod:5414 ../src/guestfs-actions.pod:8327
18956 msgid ""
18957 "This returns a list of just the volume group names that were detected (eg. "
18958 "C<VolGroup00>)."
18959 msgstr ""
18960
18961 #. type: textblock
18962 #: ../fish/guestfish-actions.pod:5417
18963 msgid "See also L</vgs-full>."
18964 msgstr "Див. також L</vgs-full>."
18965
18966 #. type: =head2
18967 #: ../fish/guestfish-actions.pod:5419
18968 msgid "vgs-full"
18969 msgstr "vgs-full"
18970
18971 #. type: verbatim
18972 #: ../fish/guestfish-actions.pod:5421
18973 #, no-wrap
18974 msgid ""
18975 " vgs-full\n"
18976 "\n"
18977 msgstr ""
18978 " vgs-full\n"
18979 "\n"
18980
18981 #. type: textblock
18982 #: ../fish/guestfish-actions.pod:5423 ../src/guestfs-actions.pod:8343
18983 msgid ""
18984 "List all the volumes groups detected.  This is the equivalent of the L<vgs(8)"
18985 "> command.  The \"full\" version includes all fields."
18986 msgstr ""
18987
18988 #. type: =head2
18989 #: ../fish/guestfish-actions.pod:5426
18990 msgid "vgscan"
18991 msgstr "vgscan"
18992
18993 #. type: verbatim
18994 #: ../fish/guestfish-actions.pod:5428
18995 #, no-wrap
18996 msgid ""
18997 " vgscan\n"
18998 "\n"
18999 msgstr ""
19000 " vgscan\n"
19001 "\n"
19002
19003 #. type: textblock
19004 #: ../fish/guestfish-actions.pod:5430 ../src/guestfs-actions.pod:8357
19005 msgid ""
19006 "This rescans all block devices and rebuilds the list of LVM physical "
19007 "volumes, volume groups and logical volumes."
19008 msgstr ""
19009
19010 #. type: =head2
19011 #: ../fish/guestfish-actions.pod:5433
19012 msgid "vguuid"
19013 msgstr "vguuid"
19014
19015 #. type: verbatim
19016 #: ../fish/guestfish-actions.pod:5435
19017 #, no-wrap
19018 msgid ""
19019 " vguuid vgname\n"
19020 "\n"
19021 msgstr ""
19022
19023 #. type: textblock
19024 #: ../fish/guestfish-actions.pod:5437 ../src/guestfs-actions.pod:8370
19025 msgid "This command returns the UUID of the LVM VG named C<vgname>."
19026 msgstr ""
19027
19028 #. type: =head2
19029 #: ../fish/guestfish-actions.pod:5439
19030 msgid "wc-c"
19031 msgstr "wc-c"
19032
19033 #. type: verbatim
19034 #: ../fish/guestfish-actions.pod:5441
19035 #, no-wrap
19036 msgid ""
19037 " wc-c path\n"
19038 "\n"
19039 msgstr ""
19040 " wc-c шлях\n"
19041 "\n"
19042
19043 #. type: textblock
19044 #: ../fish/guestfish-actions.pod:5443 ../src/guestfs-actions.pod:8410
19045 msgid ""
19046 "This command counts the characters in a file, using the C<wc -c> external "
19047 "command."
19048 msgstr ""
19049
19050 #. type: =head2
19051 #: ../fish/guestfish-actions.pod:5446
19052 msgid "wc-l"
19053 msgstr "wc-l"
19054
19055 #. type: verbatim
19056 #: ../fish/guestfish-actions.pod:5448
19057 #, no-wrap
19058 msgid ""
19059 " wc-l path\n"
19060 "\n"
19061 msgstr ""
19062 " wc-l шлях\n"
19063 "\n"
19064
19065 #. type: textblock
19066 #: ../fish/guestfish-actions.pod:5450 ../src/guestfs-actions.pod:8423
19067 msgid ""
19068 "This command counts the lines in a file, using the C<wc -l> external command."
19069 msgstr ""
19070
19071 #. type: =head2
19072 #: ../fish/guestfish-actions.pod:5453
19073 msgid "wc-w"
19074 msgstr "wc-w"
19075
19076 #. type: verbatim
19077 #: ../fish/guestfish-actions.pod:5455
19078 #, no-wrap
19079 msgid ""
19080 " wc-w path\n"
19081 "\n"
19082 msgstr ""
19083 " wc-w шлях\n"
19084 "\n"
19085
19086 #. type: textblock
19087 #: ../fish/guestfish-actions.pod:5457 ../src/guestfs-actions.pod:8436
19088 msgid ""
19089 "This command counts the words in a file, using the C<wc -w> external command."
19090 msgstr ""
19091
19092 #. type: =head2
19093 #: ../fish/guestfish-actions.pod:5460
19094 msgid "write"
19095 msgstr "write"
19096
19097 #. type: verbatim
19098 #: ../fish/guestfish-actions.pod:5462
19099 #, no-wrap
19100 msgid ""
19101 " write path content\n"
19102 "\n"
19103 msgstr ""
19104 " write шлях дані\n"
19105 "\n"
19106
19107 #. type: textblock
19108 #: ../fish/guestfish-actions.pod:5464 ../src/guestfs-actions.pod:8451
19109 msgid ""
19110 "This call creates a file called C<path>.  The content of the file is the "
19111 "string C<content> (which can contain any 8 bit data)."
19112 msgstr ""
19113
19114 #. type: textblock
19115 #: ../fish/guestfish-actions.pod:5467
19116 msgid "See also L</write-append>."
19117 msgstr "Див. також L</write-append>."
19118
19119 #. type: =head2
19120 #: ../fish/guestfish-actions.pod:5472
19121 msgid "write-append"
19122 msgstr ""
19123
19124 #. type: verbatim
19125 #: ../fish/guestfish-actions.pod:5474
19126 #, no-wrap
19127 msgid ""
19128 " write-append path content\n"
19129 "\n"
19130 msgstr ""
19131
19132 #. type: textblock
19133 #: ../fish/guestfish-actions.pod:5476 ../src/guestfs-actions.pod:8471
19134 msgid ""
19135 "This call appends C<content> to the end of file C<path>.  If C<path> does "
19136 "not exist, then a new file is created."
19137 msgstr ""
19138
19139 #. type: textblock
19140 #: ../fish/guestfish-actions.pod:5479
19141 msgid "See also L</write>."
19142 msgstr "Див. також L</write>."
19143
19144 #. type: =head2
19145 #: ../fish/guestfish-actions.pod:5484
19146 msgid "write-file"
19147 msgstr "write-file"
19148
19149 #. type: verbatim
19150 #: ../fish/guestfish-actions.pod:5486
19151 #, no-wrap
19152 msgid ""
19153 " write-file path content size\n"
19154 "\n"
19155 msgstr ""
19156
19157 #. type: textblock
19158 #: ../fish/guestfish-actions.pod:5488 ../src/guestfs-actions.pod:8498
19159 msgid ""
19160 "This call creates a file called C<path>.  The contents of the file is the "
19161 "string C<content> (which can contain any 8 bit data), with length C<size>."
19162 msgstr ""
19163
19164 #. type: textblock
19165 #: ../fish/guestfish-actions.pod:5492 ../src/guestfs-actions.pod:8502
19166 msgid ""
19167 "As a special case, if C<size> is C<0> then the length is calculated using "
19168 "C<strlen> (so in this case the content cannot contain embedded ASCII NULs)."
19169 msgstr ""
19170
19171 #. type: textblock
19172 #: ../fish/guestfish-actions.pod:5496 ../src/guestfs-actions.pod:8506
19173 msgid ""
19174 "I<NB.> Owing to a bug, writing content containing ASCII NUL characters does "
19175 "I<not> work, even if the length is specified."
19176 msgstr ""
19177
19178 #. type: textblock
19179 #: ../fish/guestfish-actions.pod:5502
19180 msgid ""
19181 "I<This function is deprecated.> In new code, use the L</write> call instead."
19182 msgstr ""
19183
19184 #. type: =head2
19185 #: ../fish/guestfish-actions.pod:5509
19186 msgid "zegrep"
19187 msgstr "zegrep"
19188
19189 #. type: verbatim
19190 #: ../fish/guestfish-actions.pod:5511
19191 #, no-wrap
19192 msgid ""
19193 " zegrep regex path\n"
19194 "\n"
19195 msgstr ""
19196 " zegrep формальний_вираз шлях\n"
19197 "\n"
19198
19199 #. type: textblock
19200 #: ../fish/guestfish-actions.pod:5513 ../src/guestfs-actions.pod:8523
19201 msgid ""
19202 "This calls the external C<zegrep> program and returns the matching lines."
19203 msgstr ""
19204
19205 #. type: =head2
19206 #: ../fish/guestfish-actions.pod:5519
19207 msgid "zegrepi"
19208 msgstr "zegrepi"
19209
19210 #. type: verbatim
19211 #: ../fish/guestfish-actions.pod:5521
19212 #, no-wrap
19213 msgid ""
19214 " zegrepi regex path\n"
19215 "\n"
19216 msgstr ""
19217
19218 #. type: textblock
19219 #: ../fish/guestfish-actions.pod:5523 ../src/guestfs-actions.pod:8542
19220 msgid ""
19221 "This calls the external C<zegrep -i> program and returns the matching lines."
19222 msgstr ""
19223
19224 #. type: =head2
19225 #: ../fish/guestfish-actions.pod:5529
19226 msgid "zero"
19227 msgstr "zero"
19228
19229 #. type: verbatim
19230 #: ../fish/guestfish-actions.pod:5531
19231 #, no-wrap
19232 msgid ""
19233 " zero device\n"
19234 "\n"
19235 msgstr ""
19236 " zero пристрій\n"
19237 "\n"
19238
19239 #. type: textblock
19240 #: ../fish/guestfish-actions.pod:5533 ../src/guestfs-actions.pod:8560
19241 msgid "This command writes zeroes over the first few blocks of C<device>."
19242 msgstr ""
19243
19244 #. type: textblock
19245 #: ../fish/guestfish-actions.pod:5535 ../src/guestfs-actions.pod:8562
19246 msgid ""
19247 "How many blocks are zeroed isn't specified (but it's I<not> enough to "
19248 "securely wipe the device).  It should be sufficient to remove any partition "
19249 "tables, filesystem superblocks and so on."
19250 msgstr ""
19251
19252 #. type: textblock
19253 #: ../fish/guestfish-actions.pod:5539 ../fish/guestfish-actions.pod:5554
19254 #: ../src/guestfs-actions.pod:8566 ../src/guestfs-actions.pod:8592
19255 msgid ""
19256 "If blocks are already zero, then this command avoids writing zeroes.  This "
19257 "prevents the underlying device from becoming non-sparse or growing "
19258 "unnecessarily."
19259 msgstr ""
19260
19261 #. type: textblock
19262 #: ../fish/guestfish-actions.pod:5543
19263 msgid "See also: L</zero-device>, L</scrub-device>, L</is-zero-device>"
19264 msgstr ""
19265
19266 #. type: =head2
19267 #: ../fish/guestfish-actions.pod:5546
19268 msgid "zero-device"
19269 msgstr "zero-device"
19270
19271 #. type: verbatim
19272 #: ../fish/guestfish-actions.pod:5548
19273 #, no-wrap
19274 msgid ""
19275 " zero-device device\n"
19276 "\n"
19277 msgstr ""
19278 " zero-device пристрій\n"
19279 "\n"
19280
19281 #. type: textblock
19282 #: ../fish/guestfish-actions.pod:5550
19283 msgid ""
19284 "This command writes zeroes over the entire C<device>.  Compare with L</zero> "
19285 "which just zeroes the first few blocks of a device."
19286 msgstr ""
19287
19288 #. type: =head2
19289 #: ../fish/guestfish-actions.pod:5558
19290 msgid "zerofree"
19291 msgstr "zerofree"
19292
19293 #. type: verbatim
19294 #: ../fish/guestfish-actions.pod:5560
19295 #, no-wrap
19296 msgid ""
19297 " zerofree device\n"
19298 "\n"
19299 msgstr ""
19300 " zerofree пристрій\n"
19301 "\n"
19302
19303 #. type: textblock
19304 #: ../fish/guestfish-actions.pod:5562 ../src/guestfs-actions.pod:8611
19305 msgid ""
19306 "This runs the I<zerofree> program on C<device>.  This program claims to zero "
19307 "unused inodes and disk blocks on an ext2/3 filesystem, thus making it "
19308 "possible to compress the filesystem more effectively."
19309 msgstr ""
19310
19311 #. type: textblock
19312 #: ../fish/guestfish-actions.pod:5567 ../src/guestfs-actions.pod:8616
19313 msgid "You should B<not> run this program if the filesystem is mounted."
19314 msgstr ""
19315
19316 #. type: textblock
19317 #: ../fish/guestfish-actions.pod:5570 ../src/guestfs-actions.pod:8619
19318 msgid ""
19319 "It is possible that using this program can damage the filesystem or data on "
19320 "the filesystem."
19321 msgstr ""
19322
19323 #. type: =head2
19324 #: ../fish/guestfish-actions.pod:5573
19325 msgid "zfgrep"
19326 msgstr "zfgrep"
19327
19328 #. type: verbatim
19329 #: ../fish/guestfish-actions.pod:5575
19330 #, no-wrap
19331 msgid ""
19332 " zfgrep pattern path\n"
19333 "\n"
19334 msgstr ""
19335 " zfgrep шаблон шлях\n"
19336 "\n"
19337
19338 #. type: textblock
19339 #: ../fish/guestfish-actions.pod:5577 ../src/guestfs-actions.pod:8633
19340 msgid ""
19341 "This calls the external C<zfgrep> program and returns the matching lines."
19342 msgstr ""
19343
19344 #. type: =head2
19345 #: ../fish/guestfish-actions.pod:5583
19346 msgid "zfgrepi"
19347 msgstr "zfgrepi"
19348
19349 #. type: verbatim
19350 #: ../fish/guestfish-actions.pod:5585
19351 #, no-wrap
19352 msgid ""
19353 " zfgrepi pattern path\n"
19354 "\n"
19355 msgstr ""
19356 " zfgrepi шаблон шлях\n"
19357 "\n"
19358
19359 #. type: textblock
19360 #: ../fish/guestfish-actions.pod:5587 ../src/guestfs-actions.pod:8652
19361 msgid ""
19362 "This calls the external C<zfgrep -i> program and returns the matching lines."
19363 msgstr ""
19364
19365 #. type: =head2
19366 #: ../fish/guestfish-actions.pod:5593
19367 msgid "zfile"
19368 msgstr "zfile"
19369
19370 #. type: verbatim
19371 #: ../fish/guestfish-actions.pod:5595
19372 #, no-wrap
19373 msgid ""
19374 " zfile meth path\n"
19375 "\n"
19376 msgstr ""
19377 " zfile метод шлях\n"
19378 "\n"
19379
19380 #. type: textblock
19381 #: ../fish/guestfish-actions.pod:5597 ../src/guestfs-actions.pod:8678
19382 msgid ""
19383 "This command runs C<file> after first decompressing C<path> using C<method>."
19384 msgstr ""
19385
19386 #. type: textblock
19387 #: ../fish/guestfish-actions.pod:5600 ../src/guestfs-actions.pod:8681
19388 msgid "C<method> must be one of C<gzip>, C<compress> or C<bzip2>."
19389 msgstr ""
19390
19391 #. type: textblock
19392 #: ../fish/guestfish-actions.pod:5602
19393 msgid ""
19394 "Since 1.0.63, use L</file> instead which can now process compressed files."
19395 msgstr ""
19396
19397 #. type: textblock
19398 #: ../fish/guestfish-actions.pod:5605
19399 msgid ""
19400 "I<This function is deprecated.> In new code, use the L</file> call instead."
19401 msgstr ""
19402
19403 #. type: =head2
19404 #: ../fish/guestfish-actions.pod:5612
19405 msgid "zgrep"
19406 msgstr "zgrep"
19407
19408 #. type: verbatim
19409 #: ../fish/guestfish-actions.pod:5614
19410 #, no-wrap
19411 msgid ""
19412 " zgrep regex path\n"
19413 "\n"
19414 msgstr ""
19415 " zgrep формальний_вираз шлях\n"
19416 "\n"
19417
19418 #. type: textblock
19419 #: ../fish/guestfish-actions.pod:5616 ../src/guestfs-actions.pod:8698
19420 msgid ""
19421 "This calls the external C<zgrep> program and returns the matching lines."
19422 msgstr ""
19423
19424 #. type: =head2
19425 #: ../fish/guestfish-actions.pod:5622
19426 msgid "zgrepi"
19427 msgstr "zgrepi"
19428
19429 #. type: verbatim
19430 #: ../fish/guestfish-actions.pod:5624
19431 #, no-wrap
19432 msgid ""
19433 " zgrepi regex path\n"
19434 "\n"
19435 msgstr ""
19436 " zgrepi формальний_вираз шлях\n"
19437 "\n"
19438
19439 #. type: textblock
19440 #: ../fish/guestfish-actions.pod:5626 ../src/guestfs-actions.pod:8717
19441 msgid ""
19442 "This calls the external C<zgrep -i> program and returns the matching lines."
19443 msgstr ""
19444
19445 #. type: =head2
19446 #: ../fish/guestfish-commands.pod:1
19447 msgid "alloc"
19448 msgstr "alloc"
19449
19450 #. type: =head2
19451 #: ../fish/guestfish-commands.pod:3
19452 msgid "allocate"
19453 msgstr ""
19454
19455 #. type: verbatim
19456 #: ../fish/guestfish-commands.pod:5
19457 #, no-wrap
19458 msgid ""
19459 " alloc filename size\n"
19460 "\n"
19461 msgstr ""
19462
19463 #. type: textblock
19464 #: ../fish/guestfish-commands.pod:7
19465 msgid ""
19466 "This creates an empty (zeroed) file of the given size, and then adds so it "
19467 "can be further examined."
19468 msgstr ""
19469
19470 #. type: textblock
19471 #: ../fish/guestfish-commands.pod:10 ../fish/guestfish-commands.pod:193
19472 msgid "For more advanced image creation, see L<qemu-img(1)> utility."
19473 msgstr ""
19474
19475 #. type: textblock
19476 #: ../fish/guestfish-commands.pod:12 ../fish/guestfish-commands.pod:195
19477 msgid "Size can be specified using standard suffixes, eg. C<1M>."
19478 msgstr ""
19479
19480 #. type: textblock
19481 #: ../fish/guestfish-commands.pod:14
19482 msgid ""
19483 "To create a sparse file, use L</sparse> instead.  To create a prepared disk "
19484 "image, see L</PREPARED DISK IMAGES>."
19485 msgstr ""
19486
19487 #. type: =head2
19488 #: ../fish/guestfish-commands.pod:17
19489 msgid "copy-in"
19490 msgstr "copy-in"
19491
19492 #. type: verbatim
19493 #: ../fish/guestfish-commands.pod:19
19494 #, no-wrap
19495 msgid ""
19496 " copy-in local [local ...] /remotedir\n"
19497 "\n"
19498 msgstr ""
19499
19500 #. type: textblock
19501 #: ../fish/guestfish-commands.pod:21
19502 msgid ""
19503 "C<copy-in> copies local files or directories recursively into the disk "
19504 "image, placing them in the directory called C</remotedir> (which must "
19505 "exist).  This guestfish meta-command turns into a sequence of L</tar-in> and "
19506 "other commands as necessary."
19507 msgstr ""
19508
19509 #. type: textblock
19510 #: ../fish/guestfish-commands.pod:26
19511 msgid ""
19512 "Multiple local files and directories can be specified, but the last "
19513 "parameter must always be a remote directory.  Wildcards cannot be used."
19514 msgstr ""
19515
19516 #. type: =head2
19517 #: ../fish/guestfish-commands.pod:30
19518 msgid "copy-out"
19519 msgstr "copy-out"
19520
19521 #. type: verbatim
19522 #: ../fish/guestfish-commands.pod:32
19523 #, no-wrap
19524 msgid ""
19525 " copy-out remote [remote ...] localdir\n"
19526 "\n"
19527 msgstr ""
19528
19529 #. type: textblock
19530 #: ../fish/guestfish-commands.pod:34
19531 msgid ""
19532 "C<copy-out> copies remote files or directories recursively out of the disk "
19533 "image, placing them on the host disk in a local directory called C<localdir> "
19534 "(which must exist).  This guestfish meta-command turns into a sequence of L</"
19535 "download>, L</tar-out> and other commands as necessary."
19536 msgstr ""
19537
19538 #. type: textblock
19539 #: ../fish/guestfish-commands.pod:40
19540 msgid ""
19541 "Multiple remote files and directories can be specified, but the last "
19542 "parameter must always be a local directory.  To download to the current "
19543 "directory, use C<.> as in:"
19544 msgstr ""
19545
19546 #. type: verbatim
19547 #: ../fish/guestfish-commands.pod:44
19548 #, no-wrap
19549 msgid ""
19550 " copy-out /home .\n"
19551 "\n"
19552 msgstr ""
19553 " copy-out /home .\n"
19554 "\n"
19555
19556 #. type: textblock
19557 #: ../fish/guestfish-commands.pod:46
19558 msgid ""
19559 "Wildcards cannot be used in the ordinary command, but you can use them with "
19560 "the help of L</glob> like this:"
19561 msgstr ""
19562
19563 #. type: verbatim
19564 #: ../fish/guestfish-commands.pod:49
19565 #, no-wrap
19566 msgid ""
19567 " glob copy-out /home/* .\n"
19568 "\n"
19569 msgstr ""
19570 " glob copy-out /home/* .\n"
19571 "\n"
19572
19573 #. type: =head2
19574 #: ../fish/guestfish-commands.pod:51
19575 msgid "display"
19576 msgstr ""
19577
19578 #. type: verbatim
19579 #: ../fish/guestfish-commands.pod:53
19580 #, no-wrap
19581 msgid ""
19582 " display filename\n"
19583 "\n"
19584 msgstr ""
19585
19586 #. type: textblock
19587 #: ../fish/guestfish-commands.pod:55
19588 msgid ""
19589 "Use C<display> (a graphical display program) to display an image file.  It "
19590 "downloads the file, and runs C<display> on it."
19591 msgstr ""
19592
19593 #. type: textblock
19594 #: ../fish/guestfish-commands.pod:58
19595 msgid ""
19596 "To use an alternative program, set the C<GUESTFISH_DISPLAY_IMAGE> "
19597 "environment variable.  For example to use the GNOME display program:"
19598 msgstr ""
19599
19600 #. type: verbatim
19601 #: ../fish/guestfish-commands.pod:61
19602 #, no-wrap
19603 msgid ""
19604 " export GUESTFISH_DISPLAY_IMAGE=eog\n"
19605 "\n"
19606 msgstr ""
19607
19608 #. type: textblock
19609 #: ../fish/guestfish-commands.pod:63
19610 msgid "See also L<display(1)>."
19611 msgstr "Див. також L<display(1)>."
19612
19613 #. type: =head2
19614 #: ../fish/guestfish-commands.pod:65
19615 msgid "echo"
19616 msgstr "echo"
19617
19618 #. type: verbatim
19619 #: ../fish/guestfish-commands.pod:67
19620 #, no-wrap
19621 msgid ""
19622 " echo [params ...]\n"
19623 "\n"
19624 msgstr ""
19625 " echo [параметри...]\n"
19626 "\n"
19627
19628 #. type: textblock
19629 #: ../fish/guestfish-commands.pod:69
19630 msgid "This echos the parameters to the terminal."
19631 msgstr ""
19632
19633 #. type: =head2
19634 #: ../fish/guestfish-commands.pod:71
19635 msgid "edit"
19636 msgstr "edit"
19637
19638 #. type: =head2
19639 #: ../fish/guestfish-commands.pod:73
19640 msgid "vi"
19641 msgstr "vi"
19642
19643 #. type: =head2
19644 #: ../fish/guestfish-commands.pod:75
19645 msgid "emacs"
19646 msgstr "emacs"
19647
19648 #. type: verbatim
19649 #: ../fish/guestfish-commands.pod:77
19650 #, no-wrap
19651 msgid ""
19652 " edit filename\n"
19653 "\n"
19654 msgstr ""
19655 " edit назва_файла\n"
19656 "\n"
19657
19658 #. type: textblock
19659 #: ../fish/guestfish-commands.pod:79
19660 msgid ""
19661 "This is used to edit a file.  It downloads the file, edits it locally using "
19662 "your editor, then uploads the result."
19663 msgstr ""
19664
19665 #. type: textblock
19666 #: ../fish/guestfish-commands.pod:82
19667 msgid ""
19668 "The editor is C<$EDITOR>.  However if you use the alternate commands C<vi> "
19669 "or C<emacs> you will get those corresponding editors."
19670 msgstr ""
19671
19672 #. type: =head2
19673 #: ../fish/guestfish-commands.pod:86
19674 msgid "glob"
19675 msgstr "glob"
19676
19677 #. type: verbatim
19678 #: ../fish/guestfish-commands.pod:88
19679 #, no-wrap
19680 msgid ""
19681 " glob command args...\n"
19682 "\n"
19683 msgstr ""
19684 " glob команда параметри...\n"
19685 "\n"
19686
19687 #. type: textblock
19688 #: ../fish/guestfish-commands.pod:90
19689 msgid ""
19690 "Expand wildcards in any paths in the args list, and run C<command> "
19691 "repeatedly on each matching path."
19692 msgstr ""
19693
19694 #. type: textblock
19695 #: ../fish/guestfish-commands.pod:93
19696 msgid "See L</WILDCARDS AND GLOBBING>."
19697 msgstr "Див. L</WILDCARDS AND GLOBBING>."
19698
19699 #. type: =head2
19700 #: ../fish/guestfish-commands.pod:95
19701 msgid "hexedit"
19702 msgstr "hexedit"
19703
19704 #. type: verbatim
19705 #: ../fish/guestfish-commands.pod:97
19706 #, no-wrap
19707 msgid ""
19708 " hexedit <filename|device>\n"
19709 " hexedit <filename|device> <max>\n"
19710 " hexedit <filename|device> <start> <max>\n"
19711 "\n"
19712 msgstr ""
19713
19714 #. type: textblock
19715 #: ../fish/guestfish-commands.pod:101
19716 msgid ""
19717 "Use hexedit (a hex editor) to edit all or part of a binary file or block "
19718 "device."
19719 msgstr ""
19720
19721 #. type: textblock
19722 #: ../fish/guestfish-commands.pod:104
19723 msgid ""
19724 "This command works by downloading potentially the whole file or device, "
19725 "editing it locally, then uploading it.  If the file or device is large, you "
19726 "have to specify which part you wish to edit by using C<max> and/or C<start> "
19727 "C<max> parameters.  C<start> and C<max> are specified in bytes, with the "
19728 "usual modifiers allowed such as C<1M> (1 megabyte)."
19729 msgstr ""
19730
19731 #. type: textblock
19732 #: ../fish/guestfish-commands.pod:111
19733 msgid "For example to edit the first few sectors of a disk you might do:"
19734 msgstr ""
19735
19736 #. type: verbatim
19737 #: ../fish/guestfish-commands.pod:114
19738 #, no-wrap
19739 msgid ""
19740 " hexedit /dev/sda 1M\n"
19741 "\n"
19742 msgstr ""
19743 " hexedit /dev/sda 1M\n"
19744 "\n"
19745
19746 #. type: textblock
19747 #: ../fish/guestfish-commands.pod:116
19748 msgid ""
19749 "which would allow you to edit anywhere within the first megabyte of the disk."
19750 msgstr ""
19751
19752 #. type: textblock
19753 #: ../fish/guestfish-commands.pod:119
19754 msgid "To edit the superblock of an ext2 filesystem on C</dev/sda1>, do:"
19755 msgstr ""
19756
19757 #. type: verbatim
19758 #: ../fish/guestfish-commands.pod:121
19759 #, no-wrap
19760 msgid ""
19761 " hexedit /dev/sda1 0x400 0x400\n"
19762 "\n"
19763 msgstr ""
19764 " hexedit /dev/sda1 0x400 0x400\n"
19765 "\n"
19766
19767 #. type: textblock
19768 #: ../fish/guestfish-commands.pod:123
19769 msgid "(assuming the superblock is in the standard location)."
19770 msgstr ""
19771
19772 #. type: textblock
19773 #: ../fish/guestfish-commands.pod:125
19774 msgid ""
19775 "This command requires the external L<hexedit(1)> program.  You can specify "
19776 "another program to use by setting the C<HEXEDITOR> environment variable."
19777 msgstr ""
19778
19779 #. type: textblock
19780 #: ../fish/guestfish-commands.pod:129
19781 msgid "See also L</hexdump>."
19782 msgstr "Див. також L</hexdump>."
19783
19784 #. type: =head2
19785 #: ../fish/guestfish-commands.pod:131
19786 msgid "lcd"
19787 msgstr "lcd"
19788
19789 #. type: verbatim
19790 #: ../fish/guestfish-commands.pod:133
19791 #, no-wrap
19792 msgid ""
19793 " lcd directory\n"
19794 "\n"
19795 msgstr ""
19796
19797 #. type: textblock
19798 #: ../fish/guestfish-commands.pod:135
19799 msgid ""
19800 "Change the local directory, ie. the current directory of guestfish itself."
19801 msgstr ""
19802
19803 #. type: textblock
19804 #: ../fish/guestfish-commands.pod:138
19805 msgid "Note that C<!cd> won't do what you might expect."
19806 msgstr ""
19807
19808 #. type: =head2
19809 #: ../fish/guestfish-commands.pod:140
19810 msgid "man"
19811 msgstr "man"
19812
19813 #. type: =head2
19814 #: ../fish/guestfish-commands.pod:142
19815 msgid "manual"
19816 msgstr "підручник"
19817
19818 #. type: verbatim
19819 #: ../fish/guestfish-commands.pod:144
19820 #, no-wrap
19821 msgid ""
19822 "  man\n"
19823 "\n"
19824 msgstr ""
19825 "  man\n"
19826 "\n"
19827
19828 #. type: textblock
19829 #: ../fish/guestfish-commands.pod:146
19830 msgid "Opens the manual page for guestfish."
19831 msgstr ""
19832
19833 #. type: =head2
19834 #: ../fish/guestfish-commands.pod:148
19835 msgid "more"
19836 msgstr "more"
19837
19838 #. type: =head2
19839 #: ../fish/guestfish-commands.pod:150
19840 msgid "less"
19841 msgstr "less"
19842
19843 #. type: verbatim
19844 #: ../fish/guestfish-commands.pod:152
19845 #, no-wrap
19846 msgid ""
19847 " more filename\n"
19848 "\n"
19849 msgstr ""
19850
19851 #. type: verbatim
19852 #: ../fish/guestfish-commands.pod:154
19853 #, no-wrap
19854 msgid ""
19855 " less filename\n"
19856 "\n"
19857 msgstr ""
19858
19859 #. type: textblock
19860 #: ../fish/guestfish-commands.pod:156
19861 msgid "This is used to view a file."
19862 msgstr ""
19863
19864 #. type: textblock
19865 #: ../fish/guestfish-commands.pod:158
19866 msgid ""
19867 "The default viewer is C<$PAGER>.  However if you use the alternate command "
19868 "C<less> you will get the C<less> command specifically."
19869 msgstr ""
19870
19871 #. type: =head2
19872 #: ../fish/guestfish-commands.pod:161
19873 msgid "reopen"
19874 msgstr "reopen"
19875
19876 #. type: verbatim
19877 #: ../fish/guestfish-commands.pod:163
19878 #, no-wrap
19879 msgid ""
19880 "  reopen\n"
19881 "\n"
19882 msgstr ""
19883
19884 #. type: textblock
19885 #: ../fish/guestfish-commands.pod:165
19886 msgid ""
19887 "Close and reopen the libguestfs handle.  It is not necessary to use this "
19888 "normally, because the handle is closed properly when guestfish exits.  "
19889 "However this is occasionally useful for testing."
19890 msgstr ""
19891
19892 #. type: =head2
19893 #: ../fish/guestfish-commands.pod:169
19894 msgid "setenv"
19895 msgstr ""
19896
19897 #. type: verbatim
19898 #: ../fish/guestfish-commands.pod:171
19899 #, no-wrap
19900 msgid ""
19901 "  setenv VAR value\n"
19902 "\n"
19903 msgstr ""
19904
19905 #. type: textblock
19906 #: ../fish/guestfish-commands.pod:173
19907 msgid "Set the environment variable C<VAR> to the string C<value>."
19908 msgstr ""
19909
19910 #. type: textblock
19911 #: ../fish/guestfish-commands.pod:175
19912 msgid ""
19913 "To print the value of an environment variable use a shell command such as:"
19914 msgstr ""
19915
19916 #. type: verbatim
19917 #: ../fish/guestfish-commands.pod:178
19918 #, no-wrap
19919 msgid ""
19920 " !echo $VAR\n"
19921 "\n"
19922 msgstr ""
19923
19924 #. type: =head2
19925 #: ../fish/guestfish-commands.pod:180
19926 msgid "sparse"
19927 msgstr "sparse"
19928
19929 #. type: verbatim
19930 #: ../fish/guestfish-commands.pod:182
19931 #, no-wrap
19932 msgid ""
19933 " sparse filename size\n"
19934 "\n"
19935 msgstr ""
19936
19937 #. type: textblock
19938 #: ../fish/guestfish-commands.pod:184
19939 msgid ""
19940 "This creates an empty sparse file of the given size, and then adds so it can "
19941 "be further examined."
19942 msgstr ""
19943
19944 #. type: textblock
19945 #: ../fish/guestfish-commands.pod:187
19946 msgid ""
19947 "In all respects it works the same as the L</alloc> command, except that the "
19948 "image file is allocated sparsely, which means that disk blocks are not "
19949 "assigned to the file until they are needed.  Sparse disk files only use "
19950 "space when written to, but they are slower and there is a danger you could "
19951 "run out of real disk space during a write operation."
19952 msgstr ""
19953
19954 #. type: =head2
19955 #: ../fish/guestfish-commands.pod:197
19956 msgid "supported"
19957 msgstr "supported"
19958
19959 #. type: verbatim
19960 #: ../fish/guestfish-commands.pod:199
19961 #, no-wrap
19962 msgid ""
19963 " supported\n"
19964 "\n"
19965 msgstr ""
19966 " supported\n"
19967 "\n"
19968
19969 #. type: textblock
19970 #: ../fish/guestfish-commands.pod:201
19971 msgid ""
19972 "This command returns a list of the optional groups known to the daemon, and "
19973 "indicates which ones are supported by this build of the libguestfs appliance."
19974 msgstr ""
19975
19976 #. type: textblock
19977 #: ../fish/guestfish-commands.pod:205
19978 msgid "See also L<guestfs(3)/AVAILABILITY>."
19979 msgstr "Див. також L<guestfs(3)/AVAILABILITY>."
19980
19981 #. type: =head2
19982 #: ../fish/guestfish-commands.pod:207
19983 msgid "time"
19984 msgstr "time"
19985
19986 #. type: verbatim
19987 #: ../fish/guestfish-commands.pod:209
19988 #, no-wrap
19989 msgid ""
19990 " time command args...\n"
19991 "\n"
19992 msgstr ""
19993
19994 #. type: textblock
19995 #: ../fish/guestfish-commands.pod:211
19996 msgid ""
19997 "Run the command as usual, but print the elapsed time afterwards.  This can "
19998 "be useful for benchmarking operations."
19999 msgstr ""
20000
20001 #. type: =head2
20002 #: ../fish/guestfish-commands.pod:214
20003 msgid "unsetenv"
20004 msgstr ""
20005
20006 #. type: verbatim
20007 #: ../fish/guestfish-commands.pod:216
20008 #, no-wrap
20009 msgid ""
20010 "  unsetenv VAR\n"
20011 "\n"
20012 msgstr ""
20013
20014 #. type: textblock
20015 #: ../fish/guestfish-commands.pod:218
20016 msgid "Remove C<VAR> from the environment."
20017 msgstr ""
20018
20019 #. type: textblock
20020 #: ../fish/guestfish.pod:5
20021 msgid "guestfish - the libguestfs Filesystem Interactive SHell"
20022 msgstr ""
20023
20024 #. type: verbatim
20025 #: ../fish/guestfish.pod:9
20026 #, no-wrap
20027 msgid ""
20028 " guestfish [--options] [commands]\n"
20029 "\n"
20030 msgstr ""
20031
20032 #. type: verbatim
20033 #: ../fish/guestfish.pod:11
20034 #, no-wrap
20035 msgid ""
20036 " guestfish\n"
20037 "\n"
20038 msgstr ""
20039
20040 #. type: verbatim
20041 #: ../fish/guestfish.pod:13
20042 #, no-wrap
20043 msgid ""
20044 " guestfish [--ro|--rw] -a disk.img\n"
20045 "\n"
20046 msgstr ""
20047
20048 #. type: verbatim
20049 #: ../fish/guestfish.pod:15
20050 #, no-wrap
20051 msgid ""
20052 " guestfish [--ro|--rw] -a disk.img -m dev[:mountpoint]\n"
20053 "\n"
20054 msgstr ""
20055
20056 #. type: verbatim
20057 #: ../fish/guestfish.pod:17
20058 #, no-wrap
20059 msgid ""
20060 " guestfish -d libvirt-domain\n"
20061 "\n"
20062 msgstr ""
20063
20064 #. type: verbatim
20065 #: ../fish/guestfish.pod:19
20066 #, no-wrap
20067 msgid ""
20068 " guestfish [--ro|--rw] -a disk.img -i\n"
20069 "\n"
20070 msgstr ""
20071
20072 #. type: verbatim
20073 #: ../fish/guestfish.pod:21
20074 #, no-wrap
20075 msgid ""
20076 " guestfish -d libvirt-domain -i\n"
20077 "\n"
20078 msgstr ""
20079
20080 #. type: textblock
20081 #: ../fish/guestfish.pod:25
20082 msgid ""
20083 "Using guestfish in read/write mode on live virtual machines can be "
20084 "dangerous, potentially causing disk corruption.  Use the I<--ro> (read-only) "
20085 "option to use guestfish safely if the disk image or virtual machine might be "
20086 "live."
20087 msgstr ""
20088
20089 #. type: textblock
20090 #: ../fish/guestfish.pod:32
20091 msgid ""
20092 "Guestfish is a shell and command-line tool for examining and modifying "
20093 "virtual machine filesystems.  It uses libguestfs and exposes all of the "
20094 "functionality of the guestfs API, see L<guestfs(3)>."
20095 msgstr ""
20096
20097 #. type: textblock
20098 #: ../fish/guestfish.pod:36
20099 msgid ""
20100 "Guestfish gives you structured access to the libguestfs API, from shell "
20101 "scripts or the command line or interactively.  If you want to rescue a "
20102 "broken virtual machine image, you should look at the L<virt-rescue(1)> "
20103 "command."
20104 msgstr ""
20105
20106 #. type: =head2
20107 #: ../fish/guestfish.pod:43
20108 msgid "As an interactive shell"
20109 msgstr ""
20110
20111 #. type: verbatim
20112 #: ../fish/guestfish.pod:45
20113 #, no-wrap
20114 msgid ""
20115 " $ guestfish\n"
20116 " \n"
20117 msgstr ""
20118
20119 #. type: verbatim
20120 #: ../fish/guestfish.pod:47
20121 #, no-wrap
20122 msgid ""
20123 " Welcome to guestfish, the libguestfs filesystem interactive shell for\n"
20124 " editing virtual machine filesystems.\n"
20125 " \n"
20126 msgstr ""
20127
20128 #. type: verbatim
20129 #: ../fish/guestfish.pod:50
20130 #, no-wrap
20131 msgid ""
20132 " Type: 'help' for a list of commands\n"
20133 "       'man' to read the manual\n"
20134 "       'quit' to quit the shell\n"
20135 " \n"
20136 msgstr ""
20137
20138 #. type: verbatim
20139 #: ../fish/guestfish.pod:54
20140 #, no-wrap
20141 msgid ""
20142 " ><fs> add-ro disk.img\n"
20143 " ><fs> run\n"
20144 " ><fs> list-filesystems\n"
20145 " /dev/sda1: ext4\n"
20146 " /dev/vg_guest/lv_root: ext4\n"
20147 " /dev/vg_guest/lv_swap: swap\n"
20148 " ><fs> mount /dev/vg_guest/lv_root /\n"
20149 " ><fs> cat /etc/fstab\n"
20150 " # /etc/fstab\n"
20151 " # Created by anaconda\n"
20152 " [...]\n"
20153 " ><fs> exit\n"
20154 "\n"
20155 msgstr ""
20156
20157 #. type: =head2
20158 #: ../fish/guestfish.pod:67
20159 msgid "From shell scripts"
20160 msgstr ""
20161
20162 #. type: textblock
20163 #: ../fish/guestfish.pod:69
20164 msgid "Create a new C</etc/motd> file in a guest or disk image:"
20165 msgstr ""
20166
20167 #. type: verbatim
20168 #: ../fish/guestfish.pod:71
20169 #, no-wrap
20170 msgid ""
20171 " guestfish <<_EOF_\n"
20172 " add disk.img\n"
20173 " run\n"
20174 " mount /dev/vg_guest/lv_root /\n"
20175 " write /etc/motd \"Welcome, new users\"\n"
20176 " _EOF_\n"
20177 "\n"
20178 msgstr ""
20179
20180 #. type: textblock
20181 #: ../fish/guestfish.pod:78
20182 msgid "List the LVM logical volumes in a disk image:"
20183 msgstr ""
20184
20185 #. type: verbatim
20186 #: ../fish/guestfish.pod:80
20187 #, no-wrap
20188 msgid ""
20189 " guestfish -a disk.img --ro <<_EOF_\n"
20190 " run\n"
20191 " lvs\n"
20192 " _EOF_\n"
20193 "\n"
20194 msgstr ""
20195
20196 #. type: textblock
20197 #: ../fish/guestfish.pod:85
20198 msgid "List all the filesystems in a disk image:"
20199 msgstr ""
20200
20201 #. type: verbatim
20202 #: ../fish/guestfish.pod:87
20203 #, no-wrap
20204 msgid ""
20205 " guestfish -a disk.img --ro <<_EOF_\n"
20206 " run\n"
20207 " list-filesystems\n"
20208 " _EOF_\n"
20209 "\n"
20210 msgstr ""
20211
20212 #. type: =head2
20213 #: ../fish/guestfish.pod:92
20214 msgid "On one command line"
20215 msgstr ""
20216
20217 #. type: textblock
20218 #: ../fish/guestfish.pod:94 ../fish/virt-copy-in.pod:31
20219 msgid "Update C</etc/resolv.conf> in a guest:"
20220 msgstr ""
20221
20222 #. type: verbatim
20223 #: ../fish/guestfish.pod:96
20224 #, no-wrap
20225 msgid ""
20226 " guestfish \\\n"
20227 "   add disk.img : run : mount /dev/vg_guest/lv_root / : \\\n"
20228 "   write /etc/resolv.conf \"nameserver 1.2.3.4\"\n"
20229 "\n"
20230 msgstr ""
20231
20232 #. type: textblock
20233 #: ../fish/guestfish.pod:100
20234 msgid "Edit C</boot/grub/grub.conf> interactively:"
20235 msgstr ""
20236
20237 #. type: verbatim
20238 #: ../fish/guestfish.pod:102
20239 #, no-wrap
20240 msgid ""
20241 " guestfish --rw --add disk.img \\\n"
20242 "   --mount /dev/vg_guest/lv_root \\\n"
20243 "   --mount /dev/sda1:/boot \\\n"
20244 "   edit /boot/grub/grub.conf\n"
20245 "\n"
20246 msgstr ""
20247
20248 #. type: =head2
20249 #: ../fish/guestfish.pod:107
20250 msgid "Mount disks automatically"
20251 msgstr ""
20252
20253 #. type: textblock
20254 #: ../fish/guestfish.pod:109
20255 msgid ""
20256 "Use the I<-i> option to automatically mount the disks from a virtual machine:"
20257 msgstr ""
20258
20259 #. type: verbatim
20260 #: ../fish/guestfish.pod:112
20261 #, no-wrap
20262 msgid ""
20263 " guestfish --ro -a disk.img -i cat /etc/group\n"
20264 "\n"
20265 msgstr ""
20266
20267 #. type: verbatim
20268 #: ../fish/guestfish.pod:114
20269 #, no-wrap
20270 msgid ""
20271 " guestfish --ro -d libvirt-domain -i cat /etc/group\n"
20272 "\n"
20273 msgstr ""
20274
20275 #. type: textblock
20276 #: ../fish/guestfish.pod:116
20277 msgid "Another way to edit C</boot/grub/grub.conf> interactively is:"
20278 msgstr ""
20279
20280 #. type: verbatim
20281 #: ../fish/guestfish.pod:118
20282 #, no-wrap
20283 msgid ""
20284 " guestfish --rw -a disk.img -i edit /boot/grub/grub.conf\n"
20285 "\n"
20286 msgstr ""
20287
20288 #. type: =head2
20289 #: ../fish/guestfish.pod:120
20290 msgid "As a script interpreter"
20291 msgstr ""
20292
20293 #. type: textblock
20294 #: ../fish/guestfish.pod:122
20295 msgid "Create a 100MB disk containing an ext2-formatted partition:"
20296 msgstr ""
20297
20298 #. type: verbatim
20299 #: ../fish/guestfish.pod:124
20300 #, no-wrap
20301 msgid ""
20302 " #!/usr/bin/guestfish -f\n"
20303 " sparse test1.img 100M\n"
20304 " run\n"
20305 " part-disk /dev/sda mbr\n"
20306 " mkfs ext2 /dev/sda1\n"
20307 "\n"
20308 msgstr ""
20309
20310 #. type: =head2
20311 #: ../fish/guestfish.pod:130
20312 msgid "Start with a prepared disk"
20313 msgstr ""
20314
20315 #. type: textblock
20316 #: ../fish/guestfish.pod:132
20317 msgid ""
20318 "An alternate way to create a 100MB disk called C<test1.img> containing a "
20319 "single ext2-formatted partition:"
20320 msgstr ""
20321
20322 #. type: verbatim
20323 #: ../fish/guestfish.pod:135 ../src/guestfs.pod:2243
20324 #, no-wrap
20325 msgid ""
20326 " guestfish -N fs\n"
20327 "\n"
20328 msgstr ""
20329
20330 #. type: textblock
20331 #: ../fish/guestfish.pod:137
20332 msgid "To list what is available do:"
20333 msgstr ""
20334
20335 #. type: verbatim
20336 #: ../fish/guestfish.pod:139 ../fish/guestfish.pod:1042
20337 #, no-wrap
20338 msgid ""
20339 " guestfish -N help | less\n"
20340 "\n"
20341 msgstr ""
20342
20343 #. type: =head2
20344 #: ../fish/guestfish.pod:141
20345 msgid "Remote control"
20346 msgstr "Дистанційне керування"
20347
20348 #. type: verbatim
20349 #: ../fish/guestfish.pod:143
20350 #, no-wrap
20351 msgid ""
20352 " eval \"`guestfish --listen`\"\n"
20353 " guestfish --remote add-ro disk.img\n"
20354 " guestfish --remote run\n"
20355 " guestfish --remote lvs\n"
20356 "\n"
20357 msgstr ""
20358 " eval \"`guestfish --listen`\"\n"
20359 " guestfish --remote add-ro disk.img\n"
20360 " guestfish --remote run\n"
20361 " guestfish --remote lvs\n"
20362 "\n"
20363
20364 #. type: textblock
20365 #: ../fish/guestfish.pod:154
20366 msgid "Displays general help on options."
20367 msgstr ""
20368
20369 #. type: =item
20370 #: ../fish/guestfish.pod:158
20371 msgid "B<--cmd-help>"
20372 msgstr "B<--cmd-help>"
20373
20374 #. type: textblock
20375 #: ../fish/guestfish.pod:160
20376 msgid "Lists all available guestfish commands."
20377 msgstr ""
20378
20379 #. type: =item
20380 #: ../fish/guestfish.pod:162
20381 msgid "B<-h cmd>"
20382 msgstr "B<-h команда>"
20383
20384 #. type: =item
20385 #: ../fish/guestfish.pod:164
20386 msgid "B<--cmd-help cmd>"
20387 msgstr "B<--cmd-help команда>"
20388
20389 #. type: textblock
20390 #: ../fish/guestfish.pod:166
20391 msgid "Displays detailed help on a single command C<cmd>."
20392 msgstr ""
20393
20394 #. type: =item
20395 #: ../fish/guestfish.pod:168 ../fuse/guestmount.pod:96
20396 msgid "B<-a image>"
20397 msgstr "B<-a образ>"
20398
20399 #. type: =item
20400 #: ../fish/guestfish.pod:170 ../fuse/guestmount.pod:98
20401 msgid "B<--add image>"
20402 msgstr "B<--add образ>"
20403
20404 #. type: textblock
20405 #: ../fish/guestfish.pod:172
20406 msgid "Add a block device or virtual machine image to the shell."
20407 msgstr ""
20408
20409 #. type: textblock
20410 #: ../fish/guestfish.pod:177
20411 msgid ""
20412 "Using this flag is mostly equivalent to using the C<add> command, with "
20413 "C<readonly:true> if the I<--ro> flag was given, and with C<format:...> if "
20414 "the I<--format=...> flag was given."
20415 msgstr ""
20416
20417 #. type: textblock
20418 #: ../fish/guestfish.pod:185 ../fuse/guestmount.pod:109
20419 msgid ""
20420 "When used in conjunction with the I<-d> option, this specifies the libvirt "
20421 "URI to use.  The default is to use the default libvirt connection."
20422 msgstr ""
20423
20424 #. type: =item
20425 #: ../fish/guestfish.pod:189
20426 msgid "B<--csh>"
20427 msgstr "B<--csh>"
20428
20429 #. type: textblock
20430 #: ../fish/guestfish.pod:191
20431 msgid ""
20432 "If using the I<--listen> option and a csh-like shell, use this option.  See "
20433 "section L</REMOTE CONTROL AND CSH> below."
20434 msgstr ""
20435
20436 #. type: =item
20437 #: ../fish/guestfish.pod:194 ../fuse/guestmount.pod:113
20438 msgid "B<-d libvirt-domain>"
20439 msgstr "B<-d домен-libvirt>"
20440
20441 #. type: =item
20442 #: ../fish/guestfish.pod:196 ../fuse/guestmount.pod:115
20443 msgid "B<--domain libvirt-domain>"
20444 msgstr "B<--domain домен-libvirt>"
20445
20446 #. type: textblock
20447 #: ../fish/guestfish.pod:198 ../fuse/guestmount.pod:117
20448 msgid ""
20449 "Add disks from the named libvirt domain.  If the I<--ro> option is also "
20450 "used, then any libvirt domain can be used.  However in write mode, only "
20451 "libvirt domains which are shut down can be named here."
20452 msgstr ""
20453
20454 #. type: textblock
20455 #: ../fish/guestfish.pod:202 ../fuse/guestmount.pod:121
20456 msgid "Domain UUIDs can be used instead of names."
20457 msgstr ""
20458
20459 #. type: textblock
20460 #: ../fish/guestfish.pod:204
20461 msgid ""
20462 "Using this flag is mostly equivalent to using the C<add-domain> command, "
20463 "with C<readonly:true> if the I<--ro> flag was given, and with C<format:...> "
20464 "if the I<--format:...> flag was given."
20465 msgstr ""
20466
20467 #. type: =item
20468 #: ../fish/guestfish.pod:208
20469 msgid "B<-D>"
20470 msgstr "B<-D>"
20471
20472 #. type: =item
20473 #: ../fish/guestfish.pod:210
20474 msgid "B<--no-dest-paths>"
20475 msgstr "B<--no-dest-paths>"
20476
20477 #. type: textblock
20478 #: ../fish/guestfish.pod:212
20479 msgid ""
20480 "Don't tab-complete paths on the guest filesystem.  It is useful to be able "
20481 "to hit the tab key to complete paths on the guest filesystem, but this "
20482 "causes extra \"hidden\" guestfs calls to be made, so this option is here to "
20483 "allow this feature to be disabled."
20484 msgstr ""
20485
20486 #. type: textblock
20487 #: ../fish/guestfish.pod:219 ../fuse/guestmount.pod:137
20488 msgid ""
20489 "When prompting for keys and passphrases, guestfish normally turns echoing "
20490 "off so you cannot see what you are typing.  If you are not worried about "
20491 "Tempest attacks and there is no one else in the room you can specify this "
20492 "flag to see what you are typing."
20493 msgstr ""
20494
20495 #. type: =item
20496 #: ../fish/guestfish.pod:224
20497 msgid "B<-f file>"
20498 msgstr "B<-f файл>"
20499
20500 #. type: =item
20501 #: ../fish/guestfish.pod:226
20502 msgid "B<--file file>"
20503 msgstr "B<--file файл>"
20504
20505 #. type: textblock
20506 #: ../fish/guestfish.pod:228
20507 msgid "Read commands from C<file>.  To write pure guestfish scripts, use:"
20508 msgstr ""
20509
20510 #. type: verbatim
20511 #: ../fish/guestfish.pod:231
20512 #, no-wrap
20513 msgid ""
20514 " #!/usr/bin/guestfish -f\n"
20515 "\n"
20516 msgstr ""
20517 " #!/usr/bin/guestfish -f\n"
20518 "\n"
20519
20520 #. type: verbatim
20521 #: ../fish/guestfish.pod:244
20522 #, no-wrap
20523 msgid ""
20524 " guestfish --format=raw -a disk.img\n"
20525 "\n"
20526 msgstr ""
20527 " guestfish --format=raw -a disk.img\n"
20528 "\n"
20529
20530 #. type: verbatim
20531 #: ../fish/guestfish.pod:248
20532 #, no-wrap
20533 msgid ""
20534 " guestfish --format=raw -a disk.img --format -a another.img\n"
20535 "\n"
20536 msgstr ""
20537 " guestfish --format=raw -a disk.img --format -a another.img\n"
20538 "\n"
20539
20540 #. type: textblock
20541 #: ../fish/guestfish.pod:253
20542 msgid ""
20543 "If you have untrusted raw-format guest disk images, you should use this "
20544 "option to specify the disk format.  This avoids a possible security problem "
20545 "with malicious guests (CVE-2010-3851).  See also L</add-drive-opts>."
20546 msgstr ""
20547
20548 #. type: =item
20549 #: ../fish/guestfish.pod:260 ../fuse/guestmount.pod:166
20550 msgid "B<--inspector>"
20551 msgstr "B<--inspector>"
20552
20553 #. type: textblock
20554 #: ../fish/guestfish.pod:262 ../fuse/guestmount.pod:168
20555 msgid ""
20556 "Using L<virt-inspector(1)> code, inspect the disks looking for an operating "
20557 "system and mount filesystems as they would be mounted on the real virtual "
20558 "machine."
20559 msgstr ""
20560
20561 #. type: textblock
20562 #: ../fish/guestfish.pod:266
20563 msgid "Typical usage is either:"
20564 msgstr ""
20565
20566 #. type: verbatim
20567 #: ../fish/guestfish.pod:268
20568 #, no-wrap
20569 msgid ""
20570 " guestfish -d myguest -i\n"
20571 "\n"
20572 msgstr ""
20573 " guestfish -d myguest -i\n"
20574 "\n"
20575
20576 #. type: textblock
20577 #: ../fish/guestfish.pod:270
20578 msgid "(for an inactive libvirt domain called I<myguest>), or:"
20579 msgstr ""
20580
20581 #. type: verbatim
20582 #: ../fish/guestfish.pod:272
20583 #, no-wrap
20584 msgid ""
20585 " guestfish --ro -d myguest -i\n"
20586 "\n"
20587 msgstr ""
20588 " guestfish --ro -d myguest -i\n"
20589 "\n"
20590
20591 #. type: textblock
20592 #: ../fish/guestfish.pod:274
20593 msgid "(for active domains, readonly), or specify the block device directly:"
20594 msgstr ""
20595
20596 #. type: verbatim
20597 #: ../fish/guestfish.pod:276
20598 #, no-wrap
20599 msgid ""
20600 " guestfish --rw -a /dev/Guests/MyGuest -i\n"
20601 "\n"
20602 msgstr ""
20603 " guestfish --rw -a /dev/Guests/MyGuest -i\n"
20604 "\n"
20605
20606 #. type: textblock
20607 #: ../fish/guestfish.pod:278
20608 msgid ""
20609 "Note that the command line syntax changed slightly over older versions of "
20610 "guestfish.  You can still use the old syntax:"
20611 msgstr ""
20612
20613 #. type: verbatim
20614 #: ../fish/guestfish.pod:281
20615 #, no-wrap
20616 msgid ""
20617 " guestfish [--ro] -i disk.img\n"
20618 "\n"
20619 msgstr ""
20620 " guestfish [--ro] -i disk.img\n"
20621 "\n"
20622
20623 #. type: verbatim
20624 #: ../fish/guestfish.pod:283
20625 #, no-wrap
20626 msgid ""
20627 " guestfish [--ro] -i libvirt-domain\n"
20628 "\n"
20629 msgstr ""
20630
20631 #. type: textblock
20632 #: ../fish/guestfish.pod:285
20633 msgid ""
20634 "Using this flag is mostly equivalent to using the C<inspect-os> command and "
20635 "then using other commands to mount the filesystems that were found."
20636 msgstr ""
20637
20638 #. type: =item
20639 #: ../fish/guestfish.pod:294
20640 msgid "B<--listen>"
20641 msgstr "B<--listen>"
20642
20643 #. type: textblock
20644 #: ../fish/guestfish.pod:296
20645 msgid ""
20646 "Fork into the background and listen for remote commands.  See section L</"
20647 "REMOTE CONTROL GUESTFISH OVER A SOCKET> below."
20648 msgstr ""
20649
20650 #. type: =item
20651 #: ../fish/guestfish.pod:299 ../fuse/guestmount.pod:177
20652 msgid "B<--live>"
20653 msgstr "B<--live>"
20654
20655 #. type: textblock
20656 #: ../fish/guestfish.pod:301 ../fuse/guestmount.pod:179
20657 msgid ""
20658 "Connect to a live virtual machine.  (Experimental, see L<guestfs(3)/"
20659 "ATTACHING TO RUNNING DAEMONS>)."
20660 msgstr ""
20661
20662 #. type: =item
20663 #: ../fish/guestfish.pod:304 ../fuse/guestmount.pod:182
20664 msgid "B<-m dev[:mountpoint[:options]]>"
20665 msgstr "B<-m пристрій[:точка_монтування[:параметри]]>"
20666
20667 #. type: =item
20668 #: ../fish/guestfish.pod:306 ../fuse/guestmount.pod:184
20669 msgid "B<--mount dev[:mountpoint[:options]]>"
20670 msgstr "B<--mount пристрій[:точка_монтування[:параметри]]>"
20671
20672 #. type: textblock
20673 #: ../fish/guestfish.pod:308
20674 msgid "Mount the named partition or logical volume on the given mountpoint."
20675 msgstr ""
20676
20677 #. type: textblock
20678 #: ../fish/guestfish.pod:310
20679 msgid "If the mountpoint is omitted, it defaults to C</>."
20680 msgstr ""
20681
20682 #. type: textblock
20683 #: ../fish/guestfish.pod:312
20684 msgid "You have to mount something on C</> before most commands will work."
20685 msgstr ""
20686
20687 #. type: textblock
20688 #: ../fish/guestfish.pod:314
20689 msgid ""
20690 "If any I<-m> or I<--mount> options are given, the guest is automatically "
20691 "launched."
20692 msgstr ""
20693
20694 #. type: textblock
20695 #: ../fish/guestfish.pod:317
20696 msgid ""
20697 "If you don't know what filesystems a disk image contains, you can either run "
20698 "guestfish without this option, then list the partitions, filesystems and LVs "
20699 "available (see L</list-partitions>, L</list-filesystems> and L</lvs> "
20700 "commands), or you can use the L<virt-filesystems(1)> program."
20701 msgstr ""
20702
20703 #. type: textblock
20704 #: ../fish/guestfish.pod:323 ../fuse/guestmount.pod:192
20705 msgid ""
20706 "The third (and rarely used) part of the mount parameter is the list of mount "
20707 "options used to mount the underlying filesystem.  If this is not given, then "
20708 "the mount options are either the empty string or C<ro> (the latter if the "
20709 "I<--ro> flag is used).  By specifying the mount options, you override this "
20710 "default choice.  Probably the only time you would use this is to enable ACLs "
20711 "and/or extended attributes if the filesystem can support them:"
20712 msgstr ""
20713
20714 #. type: verbatim
20715 #: ../fish/guestfish.pod:331 ../fuse/guestmount.pod:200
20716 #, no-wrap
20717 msgid ""
20718 " -m /dev/sda1:/:acl,user_xattr\n"
20719 "\n"
20720 msgstr ""
20721
20722 #. type: textblock
20723 #: ../fish/guestfish.pod:333
20724 msgid "Using this flag is equivalent to using the C<mount-options> command."
20725 msgstr ""
20726
20727 #. type: =item
20728 #: ../fish/guestfish.pod:335 ../fuse/guestmount.pod:202
20729 #: ../resize/virt-resize.pod:441
20730 msgid "B<-n>"
20731 msgstr "B<-n>"
20732
20733 #. type: =item
20734 #: ../fish/guestfish.pod:337 ../fuse/guestmount.pod:204
20735 msgid "B<--no-sync>"
20736 msgstr "B<--no-sync>"
20737
20738 #. type: textblock
20739 #: ../fish/guestfish.pod:339
20740 msgid ""
20741 "Disable autosync.  This is enabled by default.  See the discussion of "
20742 "autosync in the L<guestfs(3)> manpage."
20743 msgstr ""
20744
20745 #. type: =item
20746 #: ../fish/guestfish.pod:342
20747 msgid "B<-N type>"
20748 msgstr "B<-N тип>"
20749
20750 #. type: =item
20751 #: ../fish/guestfish.pod:344
20752 msgid "B<--new type>"
20753 msgstr "B<--new тип>"
20754
20755 #. type: =item
20756 #: ../fish/guestfish.pod:346
20757 msgid "B<-N help>"
20758 msgstr "B<-N help>"
20759
20760 #. type: textblock
20761 #: ../fish/guestfish.pod:348
20762 msgid ""
20763 "Prepare a fresh disk image formatted as \"type\".  This is an alternative to "
20764 "the I<-a> option: whereas I<-a> adds an existing disk, I<-N> creates a "
20765 "preformatted disk with a filesystem and adds it.  See L</PREPARED DISK "
20766 "IMAGES> below."
20767 msgstr ""
20768
20769 #. type: =item
20770 #: ../fish/guestfish.pod:353
20771 msgid "B<--progress-bars>"
20772 msgstr "B<--progress-bars>"
20773
20774 #. type: textblock
20775 #: ../fish/guestfish.pod:355
20776 msgid "Enable progress bars, even when guestfish is used non-interactively."
20777 msgstr ""
20778
20779 #. type: textblock
20780 #: ../fish/guestfish.pod:357
20781 msgid ""
20782 "Progress bars are enabled by default when guestfish is used as an "
20783 "interactive shell."
20784 msgstr ""
20785
20786 #. type: =item
20787 #: ../fish/guestfish.pod:360
20788 msgid "B<--no-progress-bars>"
20789 msgstr "B<--no-progress-bars>"
20790
20791 #. type: textblock
20792 #: ../fish/guestfish.pod:362
20793 msgid "Disable progress bars."
20794 msgstr ""
20795
20796 #. type: =item
20797 #: ../fish/guestfish.pod:364
20798 msgid "B<--remote[=pid]>"
20799 msgstr "B<--remote[=pid]>"
20800
20801 #. type: textblock
20802 #: ../fish/guestfish.pod:366
20803 msgid ""
20804 "Send remote commands to C<$GUESTFISH_PID> or C<pid>.  See section L</REMOTE "
20805 "CONTROL GUESTFISH OVER A SOCKET> below."
20806 msgstr ""
20807
20808 #. type: =item
20809 #: ../fish/guestfish.pod:369 ../fuse/guestmount.pod:248
20810 #: ../rescue/virt-rescue.pod:189
20811 msgid "B<-r>"
20812 msgstr "B<-r>"
20813
20814 #. type: =item
20815 #: ../fish/guestfish.pod:371 ../fuse/guestmount.pod:250
20816 #: ../rescue/virt-rescue.pod:191
20817 msgid "B<--ro>"
20818 msgstr "B<--ro>"
20819
20820 #. type: textblock
20821 #: ../fish/guestfish.pod:373
20822 msgid ""
20823 "This changes the I<-a>, I<-d> and I<-m> options so that disks are added and "
20824 "mounts are done read-only."
20825 msgstr ""
20826
20827 #. type: textblock
20828 #: ../fish/guestfish.pod:376 ../rescue/virt-rescue.pod:195
20829 msgid ""
20830 "The option must always be used if the disk image or virtual machine might be "
20831 "running, and is generally recommended in cases where you don't need write "
20832 "access to the disk."
20833 msgstr ""
20834
20835 #. type: textblock
20836 #: ../fish/guestfish.pod:380
20837 msgid ""
20838 "Note that prepared disk images created with I<-N> are not affected by this "
20839 "option.  Also commands like C<add> are not affected - you have to specify "
20840 "the C<readonly:true> option explicitly if you need it."
20841 msgstr ""
20842
20843 #. type: textblock
20844 #: ../fish/guestfish.pod:384
20845 msgid "See also L</OPENING DISKS FOR READ AND WRITE> below."
20846 msgstr ""
20847
20848 #. type: =item
20849 #: ../fish/guestfish.pod:386 ../fuse/guestmount.pod:262
20850 #: ../rescue/virt-rescue.pod:201
20851 msgid "B<--selinux>"
20852 msgstr "B<--selinux>"
20853
20854 #. type: textblock
20855 #: ../fish/guestfish.pod:388
20856 msgid "Enable SELinux support for the guest.  See L<guestfs(3)/SELINUX>."
20857 msgstr ""
20858
20859 #. type: textblock
20860 #: ../fish/guestfish.pod:394
20861 msgid ""
20862 "Enable very verbose messages.  This is particularly useful if you find a bug."
20863 msgstr ""
20864
20865 #. type: textblock
20866 #: ../fish/guestfish.pod:401
20867 msgid "Display the guestfish / libguestfs version number and exit."
20868 msgstr ""
20869
20870 #. type: =item
20871 #: ../fish/guestfish.pod:403 ../fuse/guestmount.pod:278
20872 #: ../rescue/virt-rescue.pod:231
20873 msgid "B<-w>"
20874 msgstr "B<-w>"
20875
20876 #. type: =item
20877 #: ../fish/guestfish.pod:405 ../fuse/guestmount.pod:280
20878 #: ../rescue/virt-rescue.pod:233
20879 msgid "B<--rw>"
20880 msgstr "B<--rw>"
20881
20882 #. type: textblock
20883 #: ../fish/guestfish.pod:407 ../fuse/guestmount.pod:282
20884 msgid ""
20885 "This changes the I<-a>, I<-d> and I<-m> options so that disks are added and "
20886 "mounts are done read-write."
20887 msgstr ""
20888
20889 #. type: textblock
20890 #: ../fish/guestfish.pod:410
20891 msgid "See L</OPENING DISKS FOR READ AND WRITE> below."
20892 msgstr ""
20893
20894 #. type: textblock
20895 #: ../fish/guestfish.pod:414
20896 msgid "Echo each command before executing it."
20897 msgstr ""
20898
20899 #. type: =head1
20900 #: ../fish/guestfish.pod:418
20901 msgid "COMMANDS ON COMMAND LINE"
20902 msgstr ""
20903
20904 #. type: textblock
20905 #: ../fish/guestfish.pod:420
20906 msgid ""
20907 "Any additional (non-option) arguments are treated as commands to execute."
20908 msgstr ""
20909
20910 #. type: textblock
20911 #: ../fish/guestfish.pod:423
20912 msgid ""
20913 "Commands to execute should be separated by a colon (C<:>), where the colon "
20914 "is a separate parameter.  Thus:"
20915 msgstr ""
20916
20917 #. type: verbatim
20918 #: ../fish/guestfish.pod:426
20919 #, no-wrap
20920 msgid ""
20921 " guestfish cmd [args...] : cmd [args...] : cmd [args...] ...\n"
20922 "\n"
20923 msgstr ""
20924
20925 #. type: textblock
20926 #: ../fish/guestfish.pod:428
20927 msgid ""
20928 "If there are no additional arguments, then we enter a shell, either an "
20929 "interactive shell with a prompt (if the input is a terminal) or a non-"
20930 "interactive shell."
20931 msgstr ""
20932
20933 #. type: textblock
20934 #: ../fish/guestfish.pod:432
20935 msgid ""
20936 "In either command line mode or non-interactive shell, the first command that "
20937 "gives an error causes the whole shell to exit.  In interactive mode (with a "
20938 "prompt) if a command fails, you can continue to enter commands."
20939 msgstr ""
20940
20941 #. type: =head1
20942 #: ../fish/guestfish.pod:437
20943 msgid "USING launch (OR run)"
20944 msgstr ""
20945
20946 #. type: textblock
20947 #: ../fish/guestfish.pod:439
20948 msgid ""
20949 "As with L<guestfs(3)>, you must first configure your guest by adding disks, "
20950 "then launch it, then mount any disks you need, and finally issue actions/"
20951 "commands.  So the general order of the day is:"
20952 msgstr ""
20953
20954 #. type: textblock
20955 #: ../fish/guestfish.pod:447
20956 msgid "add or -a/--add"
20957 msgstr ""
20958
20959 #. type: textblock
20960 #: ../fish/guestfish.pod:451
20961 msgid "launch (aka run)"
20962 msgstr ""
20963
20964 #. type: textblock
20965 #: ../fish/guestfish.pod:455
20966 msgid "mount or -m/--mount"
20967 msgstr ""
20968
20969 #. type: textblock
20970 #: ../fish/guestfish.pod:459
20971 msgid "any other commands"
20972 msgstr ""
20973
20974 #. type: textblock
20975 #: ../fish/guestfish.pod:463
20976 msgid ""
20977 "C<run> is a synonym for C<launch>.  You must C<launch> (or C<run>)  your "
20978 "guest before mounting or performing any other commands."
20979 msgstr ""
20980
20981 #. type: textblock
20982 #: ../fish/guestfish.pod:466
20983 msgid ""
20984 "The only exception is that if any of the I<-i>, I<-m>, I<--mount>, I<-N> or "
20985 "I<--new> options were given then C<run> is done automatically, simply "
20986 "because guestfish can't perform the action you asked for without doing this."
20987 msgstr ""
20988
20989 #. type: =head1
20990 #: ../fish/guestfish.pod:471
20991 msgid "OPENING DISKS FOR READ AND WRITE"
20992 msgstr ""
20993
20994 #. type: textblock
20995 #: ../fish/guestfish.pod:473
20996 msgid ""
20997 "The guestfish, L<guestmount(1)> and L<virt-rescue(1)> options I<--ro> and "
20998 "I<--rw> affect whether the other command line options I<-a>, I<-c>, I<-d>, "
20999 "I<-i> and I<-m> open disk images read-only or for writing."
21000 msgstr ""
21001
21002 #. type: textblock
21003 #: ../fish/guestfish.pod:478
21004 msgid ""
21005 "In libguestfs E<le> 1.10, guestfish, guestmount and virt-rescue defaulted to "
21006 "opening disk images supplied on the command line for write.  To open a disk "
21007 "image read-only you have to do I<-a image --ro>."
21008 msgstr ""
21009
21010 #. type: textblock
21011 #: ../fish/guestfish.pod:482
21012 msgid ""
21013 "This matters: If you accidentally open a live VM disk image writable then "
21014 "you will cause irreversible disk corruption."
21015 msgstr ""
21016
21017 #. type: textblock
21018 #: ../fish/guestfish.pod:485
21019 msgid ""
21020 "In a future libguestfs we intend to change the default the other way.  Disk "
21021 "images will be opened read-only.  You will have to either specify "
21022 "I<guestfish --rw>, I<guestmount --rw>, I<virt-rescue --rw>, or change the "
21023 "configuration file C</etc/libguestfs-tools.conf> in order to get write "
21024 "access for disk images specified by those other command line options."
21025 msgstr ""
21026
21027 #. type: textblock
21028 #: ../fish/guestfish.pod:492
21029 msgid ""
21030 "This version of guestfish, guestmount and virt-rescue has a I<--rw> option "
21031 "which does nothing (it is already the default).  However it is highly "
21032 "recommended that you use this option to indicate that you need write access, "
21033 "and prepare your scripts for the day when this option will be required for "
21034 "write access."
21035 msgstr ""
21036
21037 #. type: textblock
21038 #: ../fish/guestfish.pod:498
21039 msgid ""
21040 "B<Note:> This does I<not> affect commands like L</add> and L</mount>, or any "
21041 "other libguestfs program apart from guestfish and guestmount."
21042 msgstr ""
21043
21044 #. type: =head1
21045 #: ../fish/guestfish.pod:501
21046 msgid "QUOTING"
21047 msgstr ""
21048
21049 #. type: textblock
21050 #: ../fish/guestfish.pod:503
21051 msgid ""
21052 "You can quote ordinary parameters using either single or double quotes.  For "
21053 "example:"
21054 msgstr ""
21055
21056 #. type: verbatim
21057 #: ../fish/guestfish.pod:506
21058 #, no-wrap
21059 msgid ""
21060 " add \"file with a space.img\"\n"
21061 "\n"
21062 msgstr ""
21063
21064 #. type: verbatim
21065 #: ../fish/guestfish.pod:508
21066 #, no-wrap
21067 msgid ""
21068 " rm '/file name'\n"
21069 "\n"
21070 msgstr ""
21071
21072 #. type: verbatim
21073 #: ../fish/guestfish.pod:510
21074 #, no-wrap
21075 msgid ""
21076 " rm '/\"'\n"
21077 "\n"
21078 msgstr ""
21079
21080 #. type: textblock
21081 #: ../fish/guestfish.pod:512
21082 msgid ""
21083 "A few commands require a list of strings to be passed.  For these, use a "
21084 "whitespace-separated list, enclosed in quotes.  Strings containing "
21085 "whitespace to be passed through must be enclosed in single quotes.  A "
21086 "literal single quote must be escaped with a backslash."
21087 msgstr ""
21088
21089 #. type: verbatim
21090 #: ../fish/guestfish.pod:517
21091 #, no-wrap
21092 msgid ""
21093 " vgcreate VG \"/dev/sda1 /dev/sdb1\"\n"
21094 " command \"/bin/echo 'foo      bar'\"\n"
21095 " command \"/bin/echo \\'foo\\'\"\n"
21096 "\n"
21097 msgstr ""
21098
21099 #. type: =head2
21100 #: ../fish/guestfish.pod:521
21101 msgid "ESCAPE SEQUENCES IN DOUBLE QUOTED ARGUMENTS"
21102 msgstr ""
21103
21104 #. type: textblock
21105 #: ../fish/guestfish.pod:523
21106 msgid ""
21107 "In double-quoted arguments (only) use backslash to insert special characters:"
21108 msgstr ""
21109
21110 #. type: =item
21111 #: ../fish/guestfish.pod:528
21112 msgid "C<\\a>"
21113 msgstr "C<\\a>"
21114
21115 #. type: textblock
21116 #: ../fish/guestfish.pod:530
21117 msgid "Alert (bell) character."
21118 msgstr "Символ гудка (дзвінка)."
21119
21120 #. type: =item
21121 #: ../fish/guestfish.pod:532
21122 msgid "C<\\b>"
21123 msgstr "C<\\b>"
21124
21125 #. type: textblock
21126 #: ../fish/guestfish.pod:534
21127 msgid "Backspace character."
21128 msgstr ""
21129
21130 #. type: =item
21131 #: ../fish/guestfish.pod:536
21132 msgid "C<\\f>"
21133 msgstr "C<\\f>"
21134
21135 #. type: textblock
21136 #: ../fish/guestfish.pod:538
21137 msgid "Form feed character."
21138 msgstr ""
21139
21140 #. type: =item
21141 #: ../fish/guestfish.pod:540
21142 msgid "C<\\n>"
21143 msgstr "C<\\n>"
21144
21145 #. type: textblock
21146 #: ../fish/guestfish.pod:542
21147 msgid "Newline character."
21148 msgstr ""
21149
21150 #. type: =item
21151 #: ../fish/guestfish.pod:544
21152 msgid "C<\\r>"
21153 msgstr "C<\\r>"
21154
21155 #. type: textblock
21156 #: ../fish/guestfish.pod:546
21157 msgid "Carriage return character."
21158 msgstr "Символ повернення каретки."
21159
21160 #. type: =item
21161 #: ../fish/guestfish.pod:548
21162 msgid "C<\\t>"
21163 msgstr "C<\\t>"
21164
21165 #. type: textblock
21166 #: ../fish/guestfish.pod:550
21167 msgid "Horizontal tab character."
21168 msgstr "Символ горизонтальної табуляції"
21169
21170 #. type: =item
21171 #: ../fish/guestfish.pod:552
21172 msgid "C<\\v>"
21173 msgstr "C<\\v>"
21174
21175 #. type: textblock
21176 #: ../fish/guestfish.pod:554
21177 msgid "Vertical tab character."
21178 msgstr "Символ вертикальної табуляції."
21179
21180 #. type: =item
21181 #: ../fish/guestfish.pod:556
21182 msgid "C<\\\">"
21183 msgstr "C<\\\">"
21184
21185 #. type: textblock
21186 #: ../fish/guestfish.pod:558
21187 msgid "A literal double quote character."
21188 msgstr ""
21189
21190 #. type: =item
21191 #: ../fish/guestfish.pod:560
21192 msgid "C<\\ooo>"
21193 msgstr "C<\\ooo>"
21194
21195 #. type: textblock
21196 #: ../fish/guestfish.pod:562
21197 msgid ""
21198 "A character with octal value I<ooo>.  There must be precisely 3 octal digits "
21199 "(unlike C)."
21200 msgstr ""
21201
21202 #. type: =item
21203 #: ../fish/guestfish.pod:565
21204 msgid "C<\\xhh>"
21205 msgstr "C<\\xhh>"
21206
21207 #. type: textblock
21208 #: ../fish/guestfish.pod:567
21209 msgid ""
21210 "A character with hex value I<hh>.  There must be precisely 2 hex digits."
21211 msgstr ""
21212
21213 #. type: textblock
21214 #: ../fish/guestfish.pod:570
21215 msgid ""
21216 "In the current implementation C<\\000> and C<\\x00> cannot be used in "
21217 "strings."
21218 msgstr ""
21219
21220 #. type: =item
21221 #: ../fish/guestfish.pod:573
21222 msgid "C<\\\\>"
21223 msgstr "C<\\\\>"
21224
21225 #. type: textblock
21226 #: ../fish/guestfish.pod:575
21227 msgid "A literal backslash character."
21228 msgstr ""
21229
21230 #. type: =head1
21231 #: ../fish/guestfish.pod:579
21232 msgid "OPTIONAL ARGUMENTS"
21233 msgstr ""
21234
21235 #. type: textblock
21236 #: ../fish/guestfish.pod:581
21237 msgid ""
21238 "Some commands take optional arguments.  These arguments appear in this "
21239 "documentation as C<[argname:..]>.  You can use them as in these examples:"
21240 msgstr ""
21241
21242 #. type: verbatim
21243 #: ../fish/guestfish.pod:585
21244 #, no-wrap
21245 msgid ""
21246 " add-drive-opts filename\n"
21247 "\n"
21248 msgstr ""
21249
21250 #. type: verbatim
21251 #: ../fish/guestfish.pod:587
21252 #, no-wrap
21253 msgid ""
21254 " add-drive-opts filename readonly:true\n"
21255 "\n"
21256 msgstr ""
21257
21258 #. type: verbatim
21259 #: ../fish/guestfish.pod:589
21260 #, no-wrap
21261 msgid ""
21262 " add-drive-opts filename format:qcow2 readonly:false\n"
21263 "\n"
21264 msgstr ""
21265
21266 #. type: textblock
21267 #: ../fish/guestfish.pod:591
21268 msgid ""
21269 "Each optional argument can appear at most once.  All optional arguments must "
21270 "appear after the required ones."
21271 msgstr ""
21272
21273 #. type: =head1
21274 #: ../fish/guestfish.pod:594
21275 msgid "NUMBERS"
21276 msgstr "ЧИСЛА"
21277
21278 #. type: textblock
21279 #: ../fish/guestfish.pod:596
21280 msgid ""
21281 "This section applies to all commands which can take integers as parameters."
21282 msgstr ""
21283
21284 #. type: =head2
21285 #: ../fish/guestfish.pod:599
21286 msgid "SIZE SUFFIX"
21287 msgstr ""
21288
21289 #. type: textblock
21290 #: ../fish/guestfish.pod:601
21291 msgid ""
21292 "When the command takes a parameter measured in bytes, you can use one of the "
21293 "following suffixes to specify kilobytes, megabytes and larger sizes:"
21294 msgstr ""
21295
21296 #. type: =item
21297 #: ../fish/guestfish.pod:607
21298 msgid "B<k> or B<K> or B<KiB>"
21299 msgstr "B<k>, B<K> або B<KiB>"
21300
21301 #. type: textblock
21302 #: ../fish/guestfish.pod:609
21303 msgid "The size in kilobytes (multiplied by 1024)."
21304 msgstr "Розмір у кілобайтах (у одному кілобайті 1024 байтів)."
21305
21306 #. type: =item
21307 #: ../fish/guestfish.pod:611
21308 msgid "B<KB>"
21309 msgstr "B<KB>"
21310
21311 #. type: textblock
21312 #: ../fish/guestfish.pod:613
21313 msgid "The size in SI 1000 byte units."
21314 msgstr "Розмір у одиницях СІ: 1000 байтів."
21315
21316 #. type: =item
21317 #: ../fish/guestfish.pod:615
21318 msgid "B<M> or B<MiB>"
21319 msgstr "B<M> або B<MiB>"
21320
21321 #. type: textblock
21322 #: ../fish/guestfish.pod:617
21323 msgid "The size in megabytes (multiplied by 1048576)."
21324 msgstr "Розмір у мегабайтах (у одному мегабайті 1048576 байтів)."
21325
21326 #. type: =item
21327 #: ../fish/guestfish.pod:619
21328 msgid "B<MB>"
21329 msgstr "B<MB>"
21330
21331 #. type: textblock
21332 #: ../fish/guestfish.pod:621
21333 msgid "The size in SI 1000000 byte units."
21334 msgstr "Розмір у одиницях СІ: 1000000 байтів."
21335
21336 #. type: =item
21337 #: ../fish/guestfish.pod:623
21338 msgid "B<G> or B<GiB>"
21339 msgstr "B<G> або B<GiB>"
21340
21341 #. type: textblock
21342 #: ../fish/guestfish.pod:625
21343 msgid "The size in gigabytes (multiplied by 2**30)."
21344 msgstr "Розмір у гігабайтах (з множником 2**30)."
21345
21346 #. type: =item
21347 #: ../fish/guestfish.pod:627
21348 msgid "B<GB>"
21349 msgstr "B<GB>"
21350
21351 #. type: textblock
21352 #: ../fish/guestfish.pod:629
21353 msgid "The size in SI 10**9 byte units."
21354 msgstr "Розмір у одиницях СІ: 10**9 байтів."
21355
21356 #. type: =item
21357 #: ../fish/guestfish.pod:631
21358 msgid "B<T> or B<TiB>"
21359 msgstr "B<T> або B<TiB>"
21360
21361 #. type: textblock
21362 #: ../fish/guestfish.pod:633
21363 msgid "The size in terabytes (multiplied by 2**40)."
21364 msgstr "Розмір у терабайтах (з множником 2**40)."
21365
21366 #. type: =item
21367 #: ../fish/guestfish.pod:635
21368 msgid "B<TB>"
21369 msgstr "B<TB>"
21370
21371 #. type: textblock
21372 #: ../fish/guestfish.pod:637
21373 msgid "The size in SI 10**12 byte units."
21374 msgstr "Розмір у одиницях СІ: 10**12 байтів."
21375
21376 #. type: =item
21377 #: ../fish/guestfish.pod:639
21378 msgid "B<P> or B<PiB>"
21379 msgstr "B<P> або B<PiB>"
21380
21381 #. type: textblock
21382 #: ../fish/guestfish.pod:641
21383 msgid "The size in petabytes (multiplied by 2**50)."
21384 msgstr "Розмір у петабайтах (у одному петабайті 2**50 байтів)."
21385
21386 #. type: =item
21387 #: ../fish/guestfish.pod:643
21388 msgid "B<PB>"
21389 msgstr "B<PB>"
21390
21391 #. type: textblock
21392 #: ../fish/guestfish.pod:645
21393 msgid "The size in SI 10**15 byte units."
21394 msgstr "Розмір у одиницях СІ: 10**15 байтів."
21395
21396 #. type: =item
21397 #: ../fish/guestfish.pod:647
21398 msgid "B<E> or B<EiB>"
21399 msgstr "B<E> або B<EiB>"
21400
21401 #. type: textblock
21402 #: ../fish/guestfish.pod:649
21403 msgid "The size in exabytes (multiplied by 2**60)."
21404 msgstr "Розмір у ексабайтах (у одному ексабайті 2**60 байтів)."
21405
21406 #. type: =item
21407 #: ../fish/guestfish.pod:651
21408 msgid "B<EB>"
21409 msgstr "B<EB>"
21410
21411 #. type: textblock
21412 #: ../fish/guestfish.pod:653
21413 msgid "The size in SI 10**18 byte units."
21414 msgstr "Розмір у одиницях СІ: 10**18 байтів."
21415
21416 #. type: =item
21417 #: ../fish/guestfish.pod:655
21418 msgid "B<Z> or B<ZiB>"
21419 msgstr "B<Z> або B<ZiB>"
21420
21421 #. type: textblock
21422 #: ../fish/guestfish.pod:657
21423 msgid "The size in zettabytes (multiplied by 2**70)."
21424 msgstr "Розмір у зетабайтах (у одному зетабайті 2**70 байтів)."
21425
21426 #. type: =item
21427 #: ../fish/guestfish.pod:659
21428 msgid "B<ZB>"
21429 msgstr "B<ZB>"
21430
21431 #. type: textblock
21432 #: ../fish/guestfish.pod:661
21433 msgid "The size in SI 10**21 byte units."
21434 msgstr "Розмір у одиницях СІ: 10**21 байтів."
21435
21436 #. type: =item
21437 #: ../fish/guestfish.pod:663
21438 msgid "B<Y> or B<YiB>"
21439 msgstr "B<Y> або B<YiB>"
21440
21441 #. type: textblock
21442 #: ../fish/guestfish.pod:665
21443 msgid "The size in yottabytes (multiplied by 2**80)."
21444 msgstr "Розмір у йотабайтах (у одному йотабайті 2**80 байтів)."
21445
21446 #. type: =item
21447 #: ../fish/guestfish.pod:667
21448 msgid "B<YB>"
21449 msgstr "B<YB>"
21450
21451 #. type: textblock
21452 #: ../fish/guestfish.pod:669
21453 msgid "The size in SI 10**24 byte units."
21454 msgstr "Розмір у одиницях СІ: 10**24 байтів."
21455
21456 #. type: verbatim
21457 #: ../fish/guestfish.pod:675
21458 #, no-wrap
21459 msgid ""
21460 " truncate-size /file 1G\n"
21461 "\n"
21462 msgstr ""
21463
21464 #. type: textblock
21465 #: ../fish/guestfish.pod:677
21466 msgid "would truncate the file to 1 gigabyte."
21467 msgstr ""
21468
21469 #. type: textblock
21470 #: ../fish/guestfish.pod:679
21471 msgid ""
21472 "Be careful because a few commands take sizes in kilobytes or megabytes (eg. "
21473 "the parameter to L</memsize> is specified in megabytes already).  Adding a "
21474 "suffix will probably not do what you expect."
21475 msgstr ""
21476
21477 #. type: =head2
21478 #: ../fish/guestfish.pod:683
21479 msgid "OCTAL AND HEXADECIMAL NUMBERS"
21480 msgstr ""
21481
21482 #. type: textblock
21483 #: ../fish/guestfish.pod:685
21484 msgid ""
21485 "For specifying the radix (base) use the C convention: C<0> to prefix an "
21486 "octal number or C<0x> to prefix a hexadecimal number.  For example:"
21487 msgstr ""
21488
21489 #. type: verbatim
21490 #: ../fish/guestfish.pod:688
21491 #, no-wrap
21492 msgid ""
21493 " 1234      decimal number 1234\n"
21494 " 02322     octal number, equivalent to decimal 1234\n"
21495 " 0x4d2     hexadecimal number, equivalent to decimal 1234\n"
21496 "\n"
21497 msgstr ""
21498
21499 #. type: textblock
21500 #: ../fish/guestfish.pod:692
21501 msgid ""
21502 "When using the C<chmod> command, you almost always want to specify an octal "
21503 "number for the mode, and you must prefix it with C<0> (unlike the Unix "
21504 "L<chmod(1)> program):"
21505 msgstr ""
21506
21507 #. type: verbatim
21508 #: ../fish/guestfish.pod:696
21509 #, no-wrap
21510 msgid ""
21511 " chmod 0777 /public  # OK\n"
21512 " chmod 777 /public   # WRONG! This is mode 777 decimal = 01411 octal.\n"
21513 "\n"
21514 msgstr ""
21515
21516 #. type: textblock
21517 #: ../fish/guestfish.pod:699
21518 msgid ""
21519 "Commands that return numbers usually print them in decimal, but some "
21520 "commands print numbers in other radices (eg. C<umask> prints the mode in "
21521 "octal, preceeded by C<0>)."
21522 msgstr ""
21523
21524 #. type: =head1
21525 #: ../fish/guestfish.pod:703
21526 msgid "WILDCARDS AND GLOBBING"
21527 msgstr ""
21528
21529 #. type: textblock
21530 #: ../fish/guestfish.pod:705
21531 msgid ""
21532 "Neither guestfish nor the underlying guestfs API performs wildcard expansion "
21533 "(globbing) by default.  So for example the following will not do what you "
21534 "expect:"
21535 msgstr ""
21536
21537 #. type: verbatim
21538 #: ../fish/guestfish.pod:709
21539 #, no-wrap
21540 msgid ""
21541 " rm-rf /home/*\n"
21542 "\n"
21543 msgstr ""
21544
21545 #. type: textblock
21546 #: ../fish/guestfish.pod:711
21547 msgid ""
21548 "Assuming you don't have a directory called literally C</home/*> then the "
21549 "above command will return an error."
21550 msgstr ""
21551
21552 #. type: textblock
21553 #: ../fish/guestfish.pod:714
21554 msgid "To perform wildcard expansion, use the C<glob> command."
21555 msgstr ""
21556
21557 #. type: verbatim
21558 #: ../fish/guestfish.pod:716
21559 #, no-wrap
21560 msgid ""
21561 " glob rm-rf /home/*\n"
21562 "\n"
21563 msgstr ""
21564
21565 #. type: textblock
21566 #: ../fish/guestfish.pod:718
21567 msgid ""
21568 "runs C<rm-rf> on each path that matches (ie. potentially running the command "
21569 "many times), equivalent to:"
21570 msgstr ""
21571
21572 #. type: verbatim
21573 #: ../fish/guestfish.pod:721
21574 #, no-wrap
21575 msgid ""
21576 " rm-rf /home/jim\n"
21577 " rm-rf /home/joe\n"
21578 " rm-rf /home/mary\n"
21579 "\n"
21580 msgstr ""
21581
21582 #. type: textblock
21583 #: ../fish/guestfish.pod:725
21584 msgid "C<glob> only works on simple guest paths and not on device names."
21585 msgstr ""
21586
21587 #. type: textblock
21588 #: ../fish/guestfish.pod:727
21589 msgid ""
21590 "If you have several parameters, each containing a wildcard, then glob will "
21591 "perform a Cartesian product."
21592 msgstr ""
21593
21594 #. type: =head1
21595 #: ../fish/guestfish.pod:730
21596 msgid "COMMENTS"
21597 msgstr "КОМЕНТАРІ"
21598
21599 #. type: textblock
21600 #: ../fish/guestfish.pod:732
21601 msgid ""
21602 "Any line which starts with a I<#> character is treated as a comment and "
21603 "ignored.  The I<#> can optionally be preceeded by whitespace, but B<not> by "
21604 "a command.  For example:"
21605 msgstr ""
21606
21607 #. type: verbatim
21608 #: ../fish/guestfish.pod:736
21609 #, no-wrap
21610 msgid ""
21611 " # this is a comment\n"
21612 "         # this is a comment\n"
21613 " foo # NOT a comment\n"
21614 "\n"
21615 msgstr ""
21616
21617 #. type: textblock
21618 #: ../fish/guestfish.pod:740
21619 msgid "Blank lines are also ignored."
21620 msgstr ""
21621
21622 #. type: =head1
21623 #: ../fish/guestfish.pod:742
21624 msgid "RUNNING COMMANDS LOCALLY"
21625 msgstr ""
21626
21627 #. type: textblock
21628 #: ../fish/guestfish.pod:744
21629 msgid ""
21630 "Any line which starts with a I<!> character is treated as a command sent to "
21631 "the local shell (C</bin/sh> or whatever L<system(3)> uses).  For example:"
21632 msgstr ""
21633
21634 #. type: verbatim
21635 #: ../fish/guestfish.pod:748
21636 #, no-wrap
21637 msgid ""
21638 " !mkdir local\n"
21639 " tgz-out /remote local/remote-data.tar.gz\n"
21640 "\n"
21641 msgstr ""
21642
21643 #. type: textblock
21644 #: ../fish/guestfish.pod:751
21645 msgid ""
21646 "will create a directory C<local> on the host, and then export the contents "
21647 "of C</remote> on the mounted filesystem to C<local/remote-data.tar.gz>.  "
21648 "(See C<tgz-out>)."
21649 msgstr ""
21650
21651 #. type: textblock
21652 #: ../fish/guestfish.pod:755
21653 msgid ""
21654 "To change the local directory, use the C<lcd> command.  C<!cd> will have no "
21655 "effect, due to the way that subprocesses work in Unix."
21656 msgstr ""
21657
21658 #. type: =head2
21659 #: ../fish/guestfish.pod:758
21660 msgid "LOCAL COMMANDS WITH INLINE EXECUTION"
21661 msgstr ""
21662
21663 #. type: textblock
21664 #: ../fish/guestfish.pod:760
21665 msgid ""
21666 "If a line starts with I<E<lt>!> then the shell command is executed (as for "
21667 "I<!>), but subsequently any output (stdout) of the shell command is parsed "
21668 "and executed as guestfish commands."
21669 msgstr ""
21670
21671 #. type: textblock
21672 #: ../fish/guestfish.pod:764
21673 msgid ""
21674 "Thus you can use shell script to construct arbitrary guestfish commands "
21675 "which are then parsed by guestfish."
21676 msgstr ""
21677
21678 #. type: textblock
21679 #: ../fish/guestfish.pod:767
21680 msgid ""
21681 "For example it is tedious to create a sequence of files (eg. C</foo.1> "
21682 "through C</foo.100>) using guestfish commands alone.  However this is simple "
21683 "if we use a shell script to create the guestfish commands for us:"
21684 msgstr ""
21685
21686 #. type: verbatim
21687 #: ../fish/guestfish.pod:772
21688 #, no-wrap
21689 msgid ""
21690 " <! for n in `seq 1 100`; do echo write /foo.$n $n; done\n"
21691 "\n"
21692 msgstr ""
21693
21694 #. type: textblock
21695 #: ../fish/guestfish.pod:774
21696 msgid "or with names like C</foo.001>:"
21697 msgstr ""
21698
21699 #. type: verbatim
21700 #: ../fish/guestfish.pod:776
21701 #, no-wrap
21702 msgid ""
21703 " <! for n in `seq 1 100`; do printf \"write /foo.%03d %d\\n\" $n $n; done\n"
21704 "\n"
21705 msgstr ""
21706
21707 #. type: textblock
21708 #: ../fish/guestfish.pod:778
21709 msgid ""
21710 "When using guestfish interactively it can be helpful to just run the shell "
21711 "script first (ie. remove the initial C<E<lt>> character so it is just an "
21712 "ordinary I<!> local command), see what guestfish commands it would run, and "
21713 "when you are happy with those prepend the C<E<lt>> character to run the "
21714 "guestfish commands for real."
21715 msgstr ""
21716
21717 #. type: =head1
21718 #: ../fish/guestfish.pod:784
21719 msgid "PIPES"
21720 msgstr "КАНАЛИ"
21721
21722 #. type: textblock
21723 #: ../fish/guestfish.pod:786
21724 msgid ""
21725 "Use C<command E<lt>spaceE<gt> | command> to pipe the output of the first "
21726 "command (a guestfish command) to the second command (any host command).  For "
21727 "example:"
21728 msgstr ""
21729
21730 #. type: verbatim
21731 #: ../fish/guestfish.pod:790
21732 #, no-wrap
21733 msgid ""
21734 " cat /etc/passwd | awk -F: '$3 == 0 { print }'\n"
21735 "\n"
21736 msgstr ""
21737
21738 #. type: textblock
21739 #: ../fish/guestfish.pod:792
21740 msgid ""
21741 "(where C<cat> is the guestfish cat command, but C<awk> is the host awk "
21742 "program).  The above command would list all accounts in the guest filesystem "
21743 "which have UID 0, ie. root accounts including backdoors.  Other examples:"
21744 msgstr ""
21745
21746 #. type: verbatim
21747 #: ../fish/guestfish.pod:797
21748 #, no-wrap
21749 msgid ""
21750 " hexdump /bin/ls | head\n"
21751 " list-devices | tail -1\n"
21752 " tgz-out / - | tar ztf -\n"
21753 "\n"
21754 msgstr ""
21755
21756 #. type: textblock
21757 #: ../fish/guestfish.pod:801
21758 msgid ""
21759 "The space before the pipe symbol is required, any space after the pipe "
21760 "symbol is optional.  Everything after the pipe symbol is just passed "
21761 "straight to the host shell, so it can contain redirections, globs and "
21762 "anything else that makes sense on the host side."
21763 msgstr ""
21764
21765 #. type: textblock
21766 #: ../fish/guestfish.pod:806
21767 msgid ""
21768 "To use a literal argument which begins with a pipe symbol, you have to quote "
21769 "it, eg:"
21770 msgstr ""
21771
21772 #. type: verbatim
21773 #: ../fish/guestfish.pod:809
21774 #, no-wrap
21775 msgid ""
21776 " echo \"|\"\n"
21777 "\n"
21778 msgstr ""
21779
21780 #. type: =head1
21781 #: ../fish/guestfish.pod:811
21782 msgid "HOME DIRECTORIES"
21783 msgstr ""
21784
21785 #. type: textblock
21786 #: ../fish/guestfish.pod:813
21787 msgid ""
21788 "If a parameter starts with the character C<~> then the tilde may be expanded "
21789 "as a home directory path (either C<~> for the current user's home directory, "
21790 "or C<~user> for another user)."
21791 msgstr ""
21792
21793 #. type: textblock
21794 #: ../fish/guestfish.pod:817
21795 msgid ""
21796 "Note that home directory expansion happens for users known I<on the host>, "
21797 "not in the guest filesystem."
21798 msgstr ""
21799
21800 #. type: textblock
21801 #: ../fish/guestfish.pod:820
21802 msgid ""
21803 "To use a literal argument which begins with a tilde, you have to quote it, "
21804 "eg:"
21805 msgstr ""
21806
21807 #. type: verbatim
21808 #: ../fish/guestfish.pod:823
21809 #, no-wrap
21810 msgid ""
21811 " echo \"~\"\n"
21812 "\n"
21813 msgstr ""
21814
21815 #. type: =head2
21816 #: ../fish/guestfish.pod:825 ../src/guestfs.pod:534
21817 msgid "ENCRYPTED DISKS"
21818 msgstr "ЗАШИФРОВАНІ ДИСКИ"
21819
21820 #. type: textblock
21821 #: ../fish/guestfish.pod:827
21822 msgid ""
21823 "Libguestfs has some support for Linux guests encrypted according to the "
21824 "Linux Unified Key Setup (LUKS) standard, which includes nearly all whole "
21825 "disk encryption systems used by modern Linux guests.  Currently only LVM-on-"
21826 "LUKS is supported."
21827 msgstr ""
21828
21829 #. type: textblock
21830 #: ../fish/guestfish.pod:832
21831 msgid "Identify encrypted block devices and partitions using L</vfs-type>:"
21832 msgstr ""
21833
21834 #. type: verbatim
21835 #: ../fish/guestfish.pod:834
21836 #, no-wrap
21837 msgid ""
21838 " ><fs> vfs-type /dev/sda2\n"
21839 " crypto_LUKS\n"
21840 "\n"
21841 msgstr ""
21842
21843 #. type: textblock
21844 #: ../fish/guestfish.pod:837
21845 msgid ""
21846 "Then open those devices using L</luks-open>.  This creates a device-mapper "
21847 "device called C</dev/mapper/luksdev>."
21848 msgstr ""
21849
21850 #. type: verbatim
21851 #: ../fish/guestfish.pod:840
21852 #, no-wrap
21853 msgid ""
21854 " ><fs> luks-open /dev/sda2 luksdev\n"
21855 " Enter key or passphrase (\"key\"): <enter the passphrase>\n"
21856 "\n"
21857 msgstr ""
21858
21859 #. type: textblock
21860 #: ../fish/guestfish.pod:843
21861 msgid ""
21862 "Finally you have to tell LVM to scan for volume groups on the newly created "
21863 "mapper device:"
21864 msgstr ""
21865
21866 #. type: verbatim
21867 #: ../fish/guestfish.pod:846
21868 #, no-wrap
21869 msgid ""
21870 " vgscan\n"
21871 " vg-activate-all true\n"
21872 "\n"
21873 msgstr ""
21874
21875 #. type: textblock
21876 #: ../fish/guestfish.pod:849
21877 msgid "The logical volume(s) can now be mounted in the usual way."
21878 msgstr ""
21879
21880 #. type: textblock
21881 #: ../fish/guestfish.pod:851
21882 msgid ""
21883 "Before closing a LUKS device you must unmount any logical volumes on it and "
21884 "deactivate the volume groups by calling C<vg-activate false VG> on each "
21885 "one.  Then you can close the mapper device:"
21886 msgstr ""
21887
21888 #. type: verbatim
21889 #: ../fish/guestfish.pod:855
21890 #, no-wrap
21891 msgid ""
21892 " vg-activate false /dev/VG\n"
21893 " luks-close /dev/mapper/luksdev\n"
21894 "\n"
21895 msgstr ""
21896
21897 #. type: textblock
21898 #: ../fish/guestfish.pod:860
21899 msgid ""
21900 "If a path is prefixed with C<win:> then you can use Windows-style drive "
21901 "letters and paths (with some limitations).  The following commands are "
21902 "equivalent:"
21903 msgstr ""
21904
21905 #. type: verbatim
21906 #: ../fish/guestfish.pod:864
21907 #, no-wrap
21908 msgid ""
21909 " file /WINDOWS/system32/config/system.LOG\n"
21910 "\n"
21911 msgstr ""
21912
21913 #. type: verbatim
21914 #: ../fish/guestfish.pod:866
21915 #, no-wrap
21916 msgid ""
21917 " file win:\\windows\\system32\\config\\system.log\n"
21918 "\n"
21919 msgstr ""
21920
21921 #. type: verbatim
21922 #: ../fish/guestfish.pod:868
21923 #, no-wrap
21924 msgid ""
21925 " file WIN:C:\\Windows\\SYSTEM32\\CONFIG\\SYSTEM.LOG\n"
21926 "\n"
21927 msgstr ""
21928
21929 #. type: textblock
21930 #: ../fish/guestfish.pod:870
21931 msgid ""
21932 "The parameter is rewritten \"behind the scenes\" by looking up the position "
21933 "where the drive is mounted, prepending that to the path, changing all "
21934 "backslash characters to forward slash, then resolving the result using L</"
21935 "case-sensitive-path>.  For example if the E: drive was mounted on C</e> then "
21936 "the parameter might be rewritten like this:"
21937 msgstr ""
21938
21939 #. type: verbatim
21940 #: ../fish/guestfish.pod:876
21941 #, no-wrap
21942 msgid ""
21943 " win:e:\\foo\\bar => /e/FOO/bar\n"
21944 "\n"
21945 msgstr ""
21946
21947 #. type: textblock
21948 #: ../fish/guestfish.pod:878
21949 msgid "This only works in argument positions that expect a path."
21950 msgstr ""
21951
21952 #. type: =head1
21953 #: ../fish/guestfish.pod:880
21954 msgid "UPLOADING AND DOWNLOADING FILES"
21955 msgstr ""
21956
21957 #. type: textblock
21958 #: ../fish/guestfish.pod:882
21959 msgid ""
21960 "For commands such as C<upload>, C<download>, C<tar-in>, C<tar-out> and "
21961 "others which upload from or download to a local file, you can use the "
21962 "special filename C<-> to mean \"from stdin\" or \"to stdout\".  For example:"
21963 msgstr ""
21964
21965 #. type: verbatim
21966 #: ../fish/guestfish.pod:886
21967 #, no-wrap
21968 msgid ""
21969 " upload - /foo\n"
21970 "\n"
21971 msgstr ""
21972
21973 #. type: textblock
21974 #: ../fish/guestfish.pod:888
21975 msgid ""
21976 "reads stdin and creates from that a file C</foo> in the disk image, and:"
21977 msgstr ""
21978
21979 #. type: verbatim
21980 #: ../fish/guestfish.pod:891
21981 #, no-wrap
21982 msgid ""
21983 " tar-out /etc - | tar tf -\n"
21984 "\n"
21985 msgstr ""
21986
21987 #. type: textblock
21988 #: ../fish/guestfish.pod:893
21989 msgid ""
21990 "writes the tarball to stdout and then pipes that into the external \"tar\" "
21991 "command (see L</PIPES>)."
21992 msgstr ""
21993
21994 #. type: textblock
21995 #: ../fish/guestfish.pod:896
21996 msgid ""
21997 "When using C<-> to read from stdin, the input is read up to the end of "
21998 "stdin.  You can also use a special \"heredoc\"-like syntax to read up to "
21999 "some arbitrary end marker:"
22000 msgstr ""
22001
22002 #. type: verbatim
22003 #: ../fish/guestfish.pod:900
22004 #, no-wrap
22005 msgid ""
22006 " upload -<<END /foo\n"
22007 " input line 1\n"
22008 " input line 2\n"
22009 " input line 3\n"
22010 " END\n"
22011 "\n"
22012 msgstr ""
22013
22014 #. type: textblock
22015 #: ../fish/guestfish.pod:906
22016 msgid ""
22017 "Any string of characters can be used instead of C<END>.  The end marker must "
22018 "appear on a line of its own, without any preceeding or following characters "
22019 "(not even spaces)."
22020 msgstr ""
22021
22022 #. type: textblock
22023 #: ../fish/guestfish.pod:910
22024 msgid ""
22025 "Note that the C<-E<lt>E<lt>> syntax only applies to parameters used to "
22026 "upload local files (so-called \"FileIn\" parameters in the generator)."
22027 msgstr ""
22028
22029 #. type: =head1
22030 #: ../fish/guestfish.pod:913
22031 msgid "EXIT ON ERROR BEHAVIOUR"
22032 msgstr ""
22033
22034 #. type: textblock
22035 #: ../fish/guestfish.pod:915
22036 msgid ""
22037 "By default, guestfish will ignore any errors when in interactive mode (ie. "
22038 "taking commands from a human over a tty), and will exit on the first error "
22039 "in non-interactive mode (scripts, commands given on the command line)."
22040 msgstr ""
22041
22042 #. type: textblock
22043 #: ../fish/guestfish.pod:920
22044 msgid ""
22045 "If you prefix a command with a I<-> character, then that command will not "
22046 "cause guestfish to exit, even if that (one) command returns an error."
22047 msgstr ""
22048
22049 #. type: =head1
22050 #: ../fish/guestfish.pod:924
22051 msgid "REMOTE CONTROL GUESTFISH OVER A SOCKET"
22052 msgstr ""
22053
22054 #. type: textblock
22055 #: ../fish/guestfish.pod:926
22056 msgid ""
22057 "Guestfish can be remote-controlled over a socket.  This is useful "
22058 "particularly in shell scripts where you want to make several different "
22059 "changes to a filesystem, but you don't want the overhead of starting up a "
22060 "guestfish process each time."
22061 msgstr ""
22062
22063 #. type: textblock
22064 #: ../fish/guestfish.pod:931
22065 msgid "Start a guestfish server process using:"
22066 msgstr ""
22067
22068 #. type: verbatim
22069 #: ../fish/guestfish.pod:933
22070 #, no-wrap
22071 msgid ""
22072 " eval \"`guestfish --listen`\"\n"
22073 "\n"
22074 msgstr ""
22075
22076 #. type: textblock
22077 #: ../fish/guestfish.pod:935
22078 msgid "and then send it commands by doing:"
22079 msgstr ""
22080
22081 #. type: verbatim
22082 #: ../fish/guestfish.pod:937
22083 #, no-wrap
22084 msgid ""
22085 " guestfish --remote cmd [...]\n"
22086 "\n"
22087 msgstr ""
22088
22089 #. type: textblock
22090 #: ../fish/guestfish.pod:939
22091 msgid "To cause the server to exit, send it the exit command:"
22092 msgstr ""
22093
22094 #. type: textblock
22095 #: ../fish/guestfish.pod:943
22096 msgid ""
22097 "Note that the server will normally exit if there is an error in a command.  "
22098 "You can change this in the usual way.  See section L</EXIT ON ERROR "
22099 "BEHAVIOUR>."
22100 msgstr ""
22101
22102 #. type: =head2
22103 #: ../fish/guestfish.pod:947
22104 msgid "CONTROLLING MULTIPLE GUESTFISH PROCESSES"
22105 msgstr ""
22106
22107 #. type: textblock
22108 #: ../fish/guestfish.pod:949
22109 msgid ""
22110 "The C<eval> statement sets the environment variable C<$GUESTFISH_PID>, which "
22111 "is how the I<--remote> option knows where to send the commands.  You can "
22112 "have several guestfish listener processes running using:"
22113 msgstr ""
22114
22115 #. type: verbatim
22116 #: ../fish/guestfish.pod:953
22117 #, no-wrap
22118 msgid ""
22119 " eval \"`guestfish --listen`\"\n"
22120 " pid1=$GUESTFISH_PID\n"
22121 " eval \"`guestfish --listen`\"\n"
22122 " pid2=$GUESTFISH_PID\n"
22123 " ...\n"
22124 " guestfish --remote=$pid1 cmd\n"
22125 " guestfish --remote=$pid2 cmd\n"
22126 "\n"
22127 msgstr ""
22128
22129 #. type: =head2
22130 #: ../fish/guestfish.pod:961
22131 msgid "REMOTE CONTROL AND CSH"
22132 msgstr ""
22133
22134 #. type: textblock
22135 #: ../fish/guestfish.pod:963
22136 msgid ""
22137 "When using csh-like shells (csh, tcsh etc) you have to add the I<--csh> "
22138 "option:"
22139 msgstr ""
22140
22141 #. type: verbatim
22142 #: ../fish/guestfish.pod:966
22143 #, no-wrap
22144 msgid ""
22145 " eval \"`guestfish --listen --csh`\"\n"
22146 "\n"
22147 msgstr ""
22148
22149 #. type: =head2
22150 #: ../fish/guestfish.pod:968
22151 msgid "REMOTE CONTROL DETAILS"
22152 msgstr ""
22153
22154 #. type: textblock
22155 #: ../fish/guestfish.pod:970
22156 msgid ""
22157 "Remote control happens over a Unix domain socket called C</tmp/.guestfish-"
22158 "$UID/socket-$PID>, where C<$UID> is the effective user ID of the process, "
22159 "and C<$PID> is the process ID of the server."
22160 msgstr ""
22161
22162 #. type: textblock
22163 #: ../fish/guestfish.pod:974
22164 msgid "Guestfish client and server versions must match exactly."
22165 msgstr ""
22166
22167 #. type: =head2
22168 #: ../fish/guestfish.pod:976
22169 msgid "USING REMOTE CONTROL ROBUSTLY FROM SHELL SCRIPTS"
22170 msgstr ""
22171
22172 #. type: textblock
22173 #: ../fish/guestfish.pod:978
22174 msgid ""
22175 "From Bash, you can use the following code which creates a guestfish "
22176 "instance, correctly quotes the command line, handles failure to start, and "
22177 "cleans up guestfish when the script exits:"
22178 msgstr ""
22179
22180 #. type: verbatim
22181 #: ../fish/guestfish.pod:982 ../src/guestfs.pod:980
22182 #, no-wrap
22183 msgid ""
22184 " #!/bin/bash -\n"
22185 " \n"
22186 msgstr ""
22187
22188 #. type: verbatim
22189 #: ../fish/guestfish.pod:986
22190 #, no-wrap
22191 msgid ""
22192 " guestfish[0]=\"guestfish\"\n"
22193 " guestfish[1]=\"--listen\"\n"
22194 " guestfish[2]=\"--ro\"\n"
22195 " guestfish[3]=\"-a\"\n"
22196 " guestfish[4]=\"disk.img\"\n"
22197 " \n"
22198 msgstr ""
22199
22200 #. type: verbatim
22201 #: ../fish/guestfish.pod:992
22202 #, no-wrap
22203 msgid ""
22204 " GUESTFISH_PID=\n"
22205 " eval $(\"${guestfish[@]}\")\n"
22206 " if [ -z \"$GUESTFISH_PID\" ]; then\n"
22207 "     echo \"error: guestfish didn't start up, see error messages above\"\n"
22208 "     exit 1\n"
22209 " fi\n"
22210 " \n"
22211 msgstr ""
22212
22213 #. type: verbatim
22214 #: ../fish/guestfish.pod:999
22215 #, no-wrap
22216 msgid ""
22217 " cleanup_guestfish ()\n"
22218 " {\n"
22219 "     guestfish --remote -- exit >/dev/null 2>&1 ||:\n"
22220 " }\n"
22221 " trap cleanup_guestfish EXIT ERR\n"
22222 " \n"
22223 msgstr ""
22224
22225 #. type: verbatim
22226 #: ../fish/guestfish.pod:1005
22227 #, no-wrap
22228 msgid ""
22229 " guestfish --remote -- run\n"
22230 " \n"
22231 msgstr ""
22232
22233 #. type: verbatim
22234 #: ../fish/guestfish.pod:1007
22235 #, no-wrap
22236 msgid ""
22237 " # ...\n"
22238 "\n"
22239 msgstr ""
22240
22241 #. type: =head2
22242 #: ../fish/guestfish.pod:1009
22243 msgid "REMOTE CONTROL RUN COMMAND HANGING"
22244 msgstr ""
22245
22246 #. type: textblock
22247 #: ../fish/guestfish.pod:1011
22248 msgid ""
22249 "Using the C<run> (or C<launch>) command remotely in a command substitution "
22250 "context hangs, ie. don't do (note the backquotes):"
22251 msgstr ""
22252
22253 #. type: verbatim
22254 #: ../fish/guestfish.pod:1014
22255 #, no-wrap
22256 msgid ""
22257 " a=`guestfish --remote run`\n"
22258 "\n"
22259 msgstr ""
22260
22261 #. type: textblock
22262 #: ../fish/guestfish.pod:1016
22263 msgid ""
22264 "Since the C<run> command produces no output on stdout, this is not useful "
22265 "anyway.  For further information see L<https://bugzilla.redhat.com/show_bug."
22266 "cgi?id=592910>."
22267 msgstr ""
22268
22269 #. type: =head1
22270 #: ../fish/guestfish.pod:1020
22271 msgid "PREPARED DISK IMAGES"
22272 msgstr ""
22273
22274 #. type: textblock
22275 #: ../fish/guestfish.pod:1022
22276 msgid ""
22277 "Use the I<-N type> or I<--new type> parameter to select one of a set of "
22278 "preformatted disk images that guestfish can make for you to save typing.  "
22279 "This is particularly useful for testing purposes.  This option is used "
22280 "instead of the I<-a> option, and like I<-a> can appear multiple times (and "
22281 "can be mixed with I<-a>)."
22282 msgstr ""
22283
22284 #. type: textblock
22285 #: ../fish/guestfish.pod:1028
22286 msgid ""
22287 "The new disk is called C<test1.img> for the first I<-N>, C<test2.img> for "
22288 "the second and so on.  Existing files in the current directory are "
22289 "I<overwritten>."
22290 msgstr ""
22291
22292 #. type: textblock
22293 #: ../fish/guestfish.pod:1032
22294 msgid ""
22295 "The type briefly describes how the disk should be sized, partitioned, how "
22296 "filesystem(s) should be created, and how content should be added.  "
22297 "Optionally the type can be followed by extra parameters, separated by C<:> "
22298 "(colon) characters.  For example, I<-N fs> creates a default 100MB, sparsely-"
22299 "allocated disk, containing a single partition, with the partition formatted "
22300 "as ext2.  I<-N fs:ext4:1G> is the same, but for an ext4 filesystem on a 1GB "
22301 "disk instead."
22302 msgstr ""
22303
22304 #. type: textblock
22305 #: ../fish/guestfish.pod:1040
22306 msgid "To list the available types and any extra parameters they take, run:"
22307 msgstr ""
22308
22309 #. type: textblock
22310 #: ../fish/guestfish.pod:1044
22311 msgid ""
22312 "Note that the prepared filesystem is not mounted.  You would usually have to "
22313 "use the C<mount /dev/sda1 /> command or add the I<-m /dev/sda1> option."
22314 msgstr ""
22315
22316 #. type: textblock
22317 #: ../fish/guestfish.pod:1048
22318 msgid ""
22319 "If any I<-N> or I<--new> options are given, the guest is automatically "
22320 "launched."
22321 msgstr ""
22322
22323 #. type: textblock
22324 #: ../fish/guestfish.pod:1053
22325 msgid "Create a 100MB disk with an ext4-formatted partition:"
22326 msgstr ""
22327
22328 #. type: verbatim
22329 #: ../fish/guestfish.pod:1055
22330 #, no-wrap
22331 msgid ""
22332 " guestfish -N fs:ext4\n"
22333 "\n"
22334 msgstr ""
22335
22336 #. type: textblock
22337 #: ../fish/guestfish.pod:1057
22338 msgid "Create a 32MB disk with a VFAT-formatted partition, and mount it:"
22339 msgstr ""
22340
22341 #. type: verbatim
22342 #: ../fish/guestfish.pod:1059
22343 #, no-wrap
22344 msgid ""
22345 " guestfish -N fs:vfat:32M -m /dev/sda1\n"
22346 "\n"
22347 msgstr ""
22348
22349 #. type: textblock
22350 #: ../fish/guestfish.pod:1061
22351 msgid "Create a blank 200MB disk:"
22352 msgstr ""
22353
22354 #. type: verbatim
22355 #: ../fish/guestfish.pod:1063
22356 #, no-wrap
22357 msgid ""
22358 " guestfish -N disk:200M\n"
22359 "\n"
22360 msgstr ""
22361
22362 #. type: =head1
22363 #: ../fish/guestfish.pod:1065
22364 msgid "PROGRESS BARS"
22365 msgstr ""
22366
22367 #. type: textblock
22368 #: ../fish/guestfish.pod:1067
22369 msgid ""
22370 "Some (not all) long-running commands send progress notification messages as "
22371 "they are running.  Guestfish turns these messages into progress bars."
22372 msgstr ""
22373
22374 #. type: textblock
22375 #: ../fish/guestfish.pod:1071
22376 msgid ""
22377 "When a command that supports progress bars takes longer than two seconds to "
22378 "run, and if progress bars are enabled, then you will see one appearing below "
22379 "the command:"
22380 msgstr ""
22381
22382 #. type: verbatim
22383 #: ../fish/guestfish.pod:1075
22384 #, no-wrap
22385 msgid ""
22386 " ><fs> copy-size /large-file /another-file 2048M\n"
22387 " / 10% [#####-----------------------------------------] 00:30\n"
22388 "\n"
22389 msgstr ""
22390
22391 #. type: textblock
22392 #: ../fish/guestfish.pod:1078
22393 msgid ""
22394 "The spinner on the left hand side moves round once for every progress "
22395 "notification received from the backend.  This is a (reasonably) golden "
22396 "assurance that the command is \"doing something\" even if the progress bar "
22397 "is not moving, because the command is able to send the progress "
22398 "notifications.  When the bar reaches 100% and the command finishes, the "
22399 "spinner disappears."
22400 msgstr ""
22401
22402 #. type: textblock
22403 #: ../fish/guestfish.pod:1085
22404 msgid ""
22405 "Progress bars are enabled by default when guestfish is used interactively.  "
22406 "You can enable them even for non-interactive modes using I<--progress-bars>, "
22407 "and you can disable them completely using I<--no-progress-bars>."
22408 msgstr ""
22409
22410 #. type: =head1
22411 #: ../fish/guestfish.pod:1090
22412 msgid "GUESTFISH COMMANDS"
22413 msgstr ""
22414
22415 #. type: textblock
22416 #: ../fish/guestfish.pod:1092
22417 msgid ""
22418 "The commands in this section are guestfish convenience commands, in other "
22419 "words, they are not part of the L<guestfs(3)> API."
22420 msgstr ""
22421
22422 #. type: =head2
22423 #: ../fish/guestfish.pod:1095
22424 msgid "help"
22425 msgstr "help"
22426
22427 #. type: verbatim
22428 #: ../fish/guestfish.pod:1097
22429 #, no-wrap
22430 msgid ""
22431 " help\n"
22432 " help cmd\n"
22433 "\n"
22434 msgstr ""
22435 " help\n"
22436 " help команда\n"
22437 "\n"
22438
22439 #. type: textblock
22440 #: ../fish/guestfish.pod:1100
22441 msgid "Without any parameter, this provides general help."
22442 msgstr "Без параметра показує загальну довідкову інформацію."
22443
22444 #. type: textblock
22445 #: ../fish/guestfish.pod:1102
22446 msgid "With a C<cmd> parameter, this displays detailed help for that command."
22447 msgstr ""
22448
22449 #. type: =head2
22450 #: ../fish/guestfish.pod:1104
22451 msgid "quit | exit"
22452 msgstr ""
22453
22454 #. type: textblock
22455 #: ../fish/guestfish.pod:1106
22456 msgid "This exits guestfish.  You can also use C<^D> key."
22457 msgstr ""
22458
22459 #. type: textblock
22460 #: ../fish/guestfish.pod:1108
22461 msgid "@FISH_COMMANDS@"
22462 msgstr ""
22463
22464 #. type: =head1
22465 #: ../fish/guestfish.pod:1110
22466 msgid "COMMANDS"
22467 msgstr "КОМАНДИ"
22468
22469 #. type: textblock
22470 #: ../fish/guestfish.pod:1112 ../src/guestfs.pod:1520
22471 msgid "@ACTIONS@"
22472 msgstr "@ACTIONS@"
22473
22474 #. type: textblock
22475 #: ../fish/guestfish.pod:1116
22476 msgid ""
22477 "guestfish returns 0 if the commands completed without error, or 1 if there "
22478 "was an error."
22479 msgstr ""
22480
22481 #. type: =item
22482 #: ../fish/guestfish.pod:1123
22483 msgid "EDITOR"
22484 msgstr "РЕДАКТОР"
22485
22486 #. type: textblock
22487 #: ../fish/guestfish.pod:1125
22488 msgid ""
22489 "The C<edit> command uses C<$EDITOR> as the editor.  If not set, it uses "
22490 "C<vi>."
22491 msgstr ""
22492
22493 #. type: =item
22494 #: ../fish/guestfish.pod:1128 ../src/guestfs.pod:3218
22495 msgid "FEBOOTSTRAP_KERNEL"
22496 msgstr ""
22497
22498 #. type: =item
22499 #: ../fish/guestfish.pod:1130 ../src/guestfs.pod:3220
22500 msgid "FEBOOTSTRAP_MODULES"
22501 msgstr ""
22502
22503 #. type: textblock
22504 #: ../fish/guestfish.pod:1132 ../src/guestfs.pod:3222
22505 msgid ""
22506 "These two environment variables allow the kernel that libguestfs uses in the "
22507 "appliance to be selected.  If C<$FEBOOTSTRAP_KERNEL> is not set, then the "
22508 "most recent host kernel is chosen.  For more information about kernel "
22509 "selection, see L<febootstrap-supermin-helper(8)>.  This feature is only "
22510 "available in febootstrap E<ge> 3.8."
22511 msgstr ""
22512
22513 #. type: =item
22514 #: ../fish/guestfish.pod:1138
22515 msgid "GUESTFISH_DISPLAY_IMAGE"
22516 msgstr ""
22517
22518 #. type: textblock
22519 #: ../fish/guestfish.pod:1140
22520 msgid ""
22521 "The C<display> command uses C<$GUESTFISH_DISPLAY_IMAGE> to display images.  "
22522 "If not set, it uses L<display(1)>."
22523 msgstr ""
22524
22525 #. type: =item
22526 #: ../fish/guestfish.pod:1143
22527 msgid "GUESTFISH_PID"
22528 msgstr ""
22529
22530 #. type: textblock
22531 #: ../fish/guestfish.pod:1145
22532 msgid ""
22533 "Used with the I<--remote> option to specify the remote guestfish process to "
22534 "control.  See section L</REMOTE CONTROL GUESTFISH OVER A SOCKET>."
22535 msgstr ""
22536
22537 #. type: =item
22538 #: ../fish/guestfish.pod:1149
22539 msgid "HEXEDITOR"
22540 msgstr ""
22541
22542 #. type: textblock
22543 #: ../fish/guestfish.pod:1151
22544 msgid ""
22545 "The L</hexedit> command uses C<$HEXEDITOR> as the external hex editor.  If "
22546 "not specified, the external L<hexedit(1)> program is used."
22547 msgstr ""
22548
22549 #. type: =item
22550 #: ../fish/guestfish.pod:1155
22551 msgid "HOME"
22552 msgstr "ДОМІВКА"
22553
22554 #. type: textblock
22555 #: ../fish/guestfish.pod:1157
22556 msgid ""
22557 "If compiled with GNU readline support, various files in the home directory "
22558 "can be used.  See L</FILES>."
22559 msgstr ""
22560
22561 #. type: =item
22562 #: ../fish/guestfish.pod:1160 ../src/guestfs.pod:3228
22563 msgid "LIBGUESTFS_APPEND"
22564 msgstr ""
22565
22566 #. type: textblock
22567 #: ../fish/guestfish.pod:1162 ../src/guestfs.pod:3230
22568 msgid "Pass additional options to the guest kernel."
22569 msgstr ""
22570
22571 #. type: =item
22572 #: ../fish/guestfish.pod:1164 ../src/guestfs.pod:3232
22573 msgid "LIBGUESTFS_DEBUG"
22574 msgstr "LIBGUESTFS_DEBUG"
22575
22576 #. type: textblock
22577 #: ../fish/guestfish.pod:1166
22578 msgid ""
22579 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages.  This has the same "
22580 "effect as using the B<-v> option."
22581 msgstr ""
22582
22583 #. type: =item
22584 #: ../fish/guestfish.pod:1169 ../src/guestfs.pod:3237
22585 msgid "LIBGUESTFS_MEMSIZE"
22586 msgstr "LIBGUESTFS_MEMSIZE"
22587
22588 #. type: textblock
22589 #: ../fish/guestfish.pod:1171 ../src/guestfs.pod:3239
22590 msgid ""
22591 "Set the memory allocated to the qemu process, in megabytes.  For example:"
22592 msgstr ""
22593
22594 #. type: verbatim
22595 #: ../fish/guestfish.pod:1174 ../src/guestfs.pod:3242
22596 #, no-wrap
22597 msgid ""
22598 " LIBGUESTFS_MEMSIZE=700\n"
22599 "\n"
22600 msgstr ""
22601 " LIBGUESTFS_MEMSIZE=700\n"
22602 "\n"
22603
22604 #. type: =item
22605 #: ../fish/guestfish.pod:1176 ../src/guestfs.pod:3244
22606 msgid "LIBGUESTFS_PATH"
22607 msgstr ""
22608
22609 #. type: textblock
22610 #: ../fish/guestfish.pod:1178
22611 msgid ""
22612 "Set the path that guestfish uses to search for kernel and initrd.img.  See "
22613 "the discussion of paths in L<guestfs(3)>."
22614 msgstr ""
22615
22616 #. type: =item
22617 #: ../fish/guestfish.pod:1181 ../src/guestfs.pod:3249
22618 msgid "LIBGUESTFS_QEMU"
22619 msgstr ""
22620
22621 #. type: textblock
22622 #: ../fish/guestfish.pod:1183 ../src/guestfs.pod:3251
22623 msgid ""
22624 "Set the default qemu binary that libguestfs uses.  If not set, then the qemu "
22625 "which was found at compile time by the configure script is used."
22626 msgstr ""
22627
22628 #. type: =item
22629 #: ../fish/guestfish.pod:1187 ../src/guestfs.pod:3257
22630 msgid "LIBGUESTFS_TRACE"
22631 msgstr ""
22632
22633 #. type: textblock
22634 #: ../fish/guestfish.pod:1189
22635 msgid "Set C<LIBGUESTFS_TRACE=1> to enable command traces."
22636 msgstr ""
22637
22638 #. type: =item
22639 #: ../fish/guestfish.pod:1191
22640 msgid "PAGER"
22641 msgstr "РОЗБИТТЯ НА СТОРІНКИ"
22642
22643 #. type: textblock
22644 #: ../fish/guestfish.pod:1193
22645 msgid ""
22646 "The C<more> command uses C<$PAGER> as the pager.  If not set, it uses "
22647 "C<more>."
22648 msgstr ""
22649
22650 #. type: =item
22651 #: ../fish/guestfish.pod:1196 ../sparsify/virt-sparsify.pod:260
22652 #: ../src/guestfs.pod:3262
22653 msgid "TMPDIR"
22654 msgstr ""
22655
22656 #. type: textblock
22657 #: ../fish/guestfish.pod:1198 ../src/guestfs.pod:3264
22658 msgid ""
22659 "Location of temporary directory, defaults to C</tmp> except for the cached "
22660 "supermin appliance which defaults to C</var/tmp>."
22661 msgstr ""
22662
22663 #. type: textblock
22664 #: ../fish/guestfish.pod:1201 ../src/guestfs.pod:3267
22665 msgid ""
22666 "If libguestfs was compiled to use the supermin appliance then the real "
22667 "appliance is cached in this directory, shared between all handles belonging "
22668 "to the same EUID.  You can use C<$TMPDIR> to configure another directory to "
22669 "use in case C</var/tmp> is not large enough."
22670 msgstr ""
22671
22672 #. type: =head1
22673 #: ../fish/guestfish.pod:1209 ../fuse/guestmount.pod:297
22674 #: ../rescue/virt-rescue.pod:310
22675 msgid "FILES"
22676 msgstr "ФАЙЛИ"
22677
22678 #. type: =item
22679 #: ../fish/guestfish.pod:1213 ../fuse/guestmount.pod:301
22680 #: ../rescue/virt-rescue.pod:314
22681 msgid "$HOME/.libguestfs-tools.rc"
22682 msgstr ""
22683
22684 #. type: =item
22685 #: ../fish/guestfish.pod:1215 ../fuse/guestmount.pod:303
22686 #: ../rescue/virt-rescue.pod:316
22687 msgid "/etc/libguestfs-tools.conf"
22688 msgstr ""
22689
22690 #. type: textblock
22691 #: ../fish/guestfish.pod:1217 ../fuse/guestmount.pod:305
22692 #: ../rescue/virt-rescue.pod:318
22693 msgid ""
22694 "This configuration file controls the default read-only or read-write mode "
22695 "(I<--ro> or I<--rw>)."
22696 msgstr ""
22697
22698 #. type: textblock
22699 #: ../fish/guestfish.pod:1220
22700 msgid "See L</OPENING DISKS FOR READ AND WRITE>."
22701 msgstr "Див. L</OPENING DISKS FOR READ AND WRITE>."
22702
22703 #. type: =item
22704 #: ../fish/guestfish.pod:1222
22705 msgid "$HOME/.guestfish"
22706 msgstr ""
22707
22708 #. type: textblock
22709 #: ../fish/guestfish.pod:1224
22710 msgid ""
22711 "If compiled with GNU readline support, then the command history is saved in "
22712 "this file."
22713 msgstr ""
22714
22715 #. type: =item
22716 #: ../fish/guestfish.pod:1227
22717 msgid "$HOME/.inputrc"
22718 msgstr ""
22719
22720 #. type: =item
22721 #: ../fish/guestfish.pod:1229
22722 msgid "/etc/inputrc"
22723 msgstr ""
22724
22725 #. type: textblock
22726 #: ../fish/guestfish.pod:1231
22727 msgid ""
22728 "If compiled with GNU readline support, then these files can be used to "
22729 "configure readline.  For further information, please see L<readline(3)/"
22730 "INITIALIZATION FILE>."
22731 msgstr ""
22732
22733 #. type: textblock
22734 #: ../fish/guestfish.pod:1235
22735 msgid "To write rules which only apply to guestfish, use:"
22736 msgstr ""
22737
22738 #. type: verbatim
22739 #: ../fish/guestfish.pod:1237
22740 #, no-wrap
22741 msgid ""
22742 " $if guestfish\n"
22743 " ...\n"
22744 " $endif\n"
22745 "\n"
22746 msgstr ""
22747
22748 #. type: textblock
22749 #: ../fish/guestfish.pod:1241
22750 msgid ""
22751 "Variables that you can set in inputrc that change the behaviour of guestfish "
22752 "in useful ways include:"
22753 msgstr ""
22754
22755 #. type: =item
22756 #: ../fish/guestfish.pod:1246
22757 msgid "completion-ignore-case (default: on)"
22758 msgstr ""
22759
22760 #. type: textblock
22761 #: ../fish/guestfish.pod:1248
22762 msgid ""
22763 "By default, guestfish will ignore case when tab-completing paths on the "
22764 "disk.  Use:"
22765 msgstr ""
22766
22767 #. type: verbatim
22768 #: ../fish/guestfish.pod:1251
22769 #, no-wrap
22770 msgid ""
22771 " set completion-ignore-case off\n"
22772 "\n"
22773 msgstr ""
22774
22775 #. type: textblock
22776 #: ../fish/guestfish.pod:1253
22777 msgid "to make guestfish case sensitive."
22778 msgstr ""
22779
22780 #. type: =item
22781 #: ../fish/guestfish.pod:1257
22782 msgid "test1.img"
22783 msgstr ""
22784
22785 #. type: =item
22786 #: ../fish/guestfish.pod:1259
22787 msgid "test2.img (etc)"
22788 msgstr ""
22789
22790 #. type: textblock
22791 #: ../fish/guestfish.pod:1261
22792 msgid ""
22793 "When using the I<-N> or I<--new> option, the prepared disk or filesystem "
22794 "will be created in the file C<test1.img> in the current directory.  The "
22795 "second use of I<-N> will use C<test2.img> and so on.  Any existing file with "
22796 "the same name will be overwritten."
22797 msgstr ""
22798
22799 #. type: textblock
22800 #: ../fish/guestfish.pod:1270
22801 msgid ""
22802 "L<guestfs(3)>, L<http://libguestfs.org/>, L<virt-alignment-scan(1)>, L<virt-"
22803 "cat(1)>, L<virt-copy-in(1)>, L<virt-copy-out(1)>, L<virt-df(1)>, L<virt-edit"
22804 "(1)>, L<virt-filesystems(1)>, L<virt-inspector(1)>, L<virt-list-filesystems"
22805 "(1)>, L<virt-list-partitions(1)>, L<virt-ls(1)>, L<virt-make-fs(1)>, L<virt-"
22806 "rescue(1)>, L<virt-resize(1)>, L<virt-sparsify(1)>, L<virt-sysprep(1)>, "
22807 "L<virt-tar(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<virt-win-reg(1)>, "
22808 "L<display(1)>, L<hexedit(1)>, L<febootstrap-supermin-helper(8)>."
22809 msgstr ""
22810
22811 #. type: textblock
22812 #: ../fish/guestfish.pod:1302 ../src/guestfs.pod:3360
22813 #: ../test-tool/libguestfs-test-tool.pod:112
22814 msgid "Copyright (C) 2009-2011 Red Hat Inc.  L<http://libguestfs.org/>"
22815 msgstr ""
22816
22817 #. type: textblock
22818 #: ../fish/virt-copy-in.pod:5
22819 msgid ""
22820 "virt-copy-in - Copy files and directories into a virtual machine disk image."
22821 msgstr ""
22822
22823 #. type: verbatim
22824 #: ../fish/virt-copy-in.pod:9
22825 #, no-wrap
22826 msgid ""
22827 " virt-copy-in -a disk.img file|dir [file|dir ...] /destination\n"
22828 "\n"
22829 msgstr ""
22830
22831 #. type: verbatim
22832 #: ../fish/virt-copy-in.pod:11
22833 #, no-wrap
22834 msgid ""
22835 " virt-copy-in -d domain file|dir [file|dir ...] /destination\n"
22836 "\n"
22837 msgstr ""
22838
22839 #. type: textblock
22840 #: ../fish/virt-copy-in.pod:15
22841 msgid ""
22842 "Using C<virt-copy-in> on live virtual machines can be dangerous, potentially "
22843 "causing disk corruption.  The virtual machine must be shut down before you "
22844 "use this command."
22845 msgstr ""
22846
22847 #. type: textblock
22848 #: ../fish/virt-copy-in.pod:21
22849 msgid ""
22850 "C<virt-copy-in> copies files and directories from the local disk into a "
22851 "virtual machine disk image or named libvirt domain."
22852 msgstr ""
22853
22854 #. type: textblock
22855 #: ../fish/virt-copy-in.pod:24
22856 msgid ""
22857 "You can give one of more filenames and directories on the command line.  "
22858 "Directories are copied in recursively.  The final parameter must be the "
22859 "destination directory in the disk image which must be an absolute path "
22860 "starting with a C</> character."
22861 msgstr ""
22862
22863 #. type: verbatim
22864 #: ../fish/virt-copy-in.pod:33
22865 #, no-wrap
22866 msgid ""
22867 " virt-copy-in -d MyGuest resolv.conf /etc\n"
22868 "\n"
22869 msgstr ""
22870
22871 #. type: textblock
22872 #: ../fish/virt-copy-in.pod:35 ../fish/virt-tar-in.pod:32
22873 msgid "Upload a home directory to a guest:"
22874 msgstr ""
22875
22876 #. type: verbatim
22877 #: ../fish/virt-copy-in.pod:37
22878 #, no-wrap
22879 msgid ""
22880 " virt-copy-in -d MyGuest skel /home\n"
22881 "\n"
22882 msgstr ""
22883
22884 #. type: =head1
22885 #: ../fish/virt-copy-in.pod:39 ../fish/virt-copy-out.pod:28
22886 #: ../fish/virt-tar-in.pod:36 ../fish/virt-tar-out.pod:30
22887 msgid "JUST A SHELL SCRIPT WRAPPER AROUND GUESTFISH"
22888 msgstr ""
22889
22890 #. type: textblock
22891 #: ../fish/virt-copy-in.pod:41
22892 msgid ""
22893 "This command is just a simple shell script wrapper around the L<guestfish(1)"
22894 "> C<copy-in> command.  For anything more complex than a trivial copy, you "
22895 "are probably better off using guestfish directly."
22896 msgstr ""
22897
22898 #. type: textblock
22899 #: ../fish/virt-copy-in.pod:47 ../fish/virt-copy-out.pod:36
22900 #: ../fish/virt-tar-in.pod:44 ../fish/virt-tar-out.pod:38
22901 msgid ""
22902 "Since the shell script just passes options straight to guestfish, read "
22903 "L<guestfish(1)> to see the full list of options."
22904 msgstr ""
22905
22906 #. type: textblock
22907 #: ../fish/virt-copy-in.pod:52
22908 msgid ""
22909 "L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-out(1)>, L<virt-edit(1)>, "
22910 "L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<http://libguestfs.org/>."
22911 msgstr ""
22912
22913 #. type: textblock
22914 #: ../fish/virt-copy-in.pod:66 ../fish/virt-copy-out.pod:55
22915 #: ../fish/virt-tar-in.pod:64 ../fish/virt-tar-out.pod:57
22916 msgid "Copyright (C) 2011 Red Hat Inc.  L<http://libguestfs.org/>"
22917 msgstr ""
22918
22919 #. type: textblock
22920 #: ../fish/virt-copy-out.pod:5
22921 msgid ""
22922 "virt-copy-out - Copy files and directories out of a virtual machine disk "
22923 "image."
22924 msgstr ""
22925
22926 #. type: verbatim
22927 #: ../fish/virt-copy-out.pod:9
22928 #, no-wrap
22929 msgid ""
22930 " virt-copy-out -a disk.img /file|dir [/file|dir ...] localdir\n"
22931 "\n"
22932 msgstr ""
22933
22934 #. type: verbatim
22935 #: ../fish/virt-copy-out.pod:11
22936 #, no-wrap
22937 msgid ""
22938 " virt-copy-out -d domain /file|dir [/file|dir ...] localdir\n"
22939 "\n"
22940 msgstr ""
22941
22942 #. type: textblock
22943 #: ../fish/virt-copy-out.pod:15
22944 msgid ""
22945 "C<virt-copy-out> copies files and directories out of a virtual machine disk "
22946 "image or named libvirt domain."
22947 msgstr ""
22948
22949 #. type: textblock
22950 #: ../fish/virt-copy-out.pod:18
22951 msgid ""
22952 "You can give one of more filenames and directories on the command line.  "
22953 "Directories are copied out recursively."
22954 msgstr ""
22955
22956 #. type: textblock
22957 #: ../fish/virt-copy-out.pod:23
22958 msgid "Download the home directories from a virtual machine:"
22959 msgstr ""
22960
22961 #. type: verbatim
22962 #: ../fish/virt-copy-out.pod:25
22963 #, no-wrap
22964 msgid ""
22965 " mkdir homes\n"
22966 " virt-copy-out -d MyGuest /home homes\n"
22967 "\n"
22968 msgstr ""
22969
22970 #. type: textblock
22971 #: ../fish/virt-copy-out.pod:30
22972 msgid ""
22973 "This command is just a simple shell script wrapper around the L<guestfish(1)"
22974 "> C<copy-out> command.  For anything more complex than a trivial copy, you "
22975 "are probably better off using guestfish directly."
22976 msgstr ""
22977
22978 #. type: textblock
22979 #: ../fish/virt-copy-out.pod:41
22980 msgid ""
22981 "L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-edit(1)>, L<virt-"
22982 "tar-in(1)>, L<virt-tar-out(1)>, L<http://libguestfs.org/>."
22983 msgstr ""
22984
22985 #. type: textblock
22986 #: ../fish/virt-tar-in.pod:5
22987 msgid "virt-tar-in - Unpack a tarball into a virtual machine disk image."
22988 msgstr ""
22989
22990 #. type: verbatim
22991 #: ../fish/virt-tar-in.pod:9
22992 #, no-wrap
22993 msgid ""
22994 " virt-tar-in -a disk.img data.tar /destination\n"
22995 "\n"
22996 msgstr ""
22997
22998 #. type: verbatim
22999 #: ../fish/virt-tar-in.pod:11
23000 #, no-wrap
23001 msgid ""
23002 " virt-tar-in -d domain data.tar /destination\n"
23003 "\n"
23004 msgstr ""
23005
23006 #. type: verbatim
23007 #: ../fish/virt-tar-in.pod:13
23008 #, no-wrap
23009 msgid ""
23010 " zcat data.tar.gz | virt-tar-in -d domain - /destination\n"
23011 "\n"
23012 msgstr ""
23013
23014 #. type: textblock
23015 #: ../fish/virt-tar-in.pod:17
23016 msgid ""
23017 "Using C<virt-tar-in> on live virtual machines can be dangerous, potentially "
23018 "causing disk corruption.  The virtual machine must be shut down before you "
23019 "use this command."
23020 msgstr ""
23021
23022 #. type: textblock
23023 #: ../fish/virt-tar-in.pod:23
23024 msgid ""
23025 "C<virt-tar-in> unpacks an uncompressed tarball into a virtual machine disk "
23026 "image or named libvirt domain."
23027 msgstr ""
23028
23029 #. type: textblock
23030 #: ../fish/virt-tar-in.pod:26
23031 msgid ""
23032 "The first parameter is the tar file.  Use C<-> to read the tar file from "
23033 "standard input.  The second parameter is the absolute target directory to "
23034 "unpack into."
23035 msgstr ""
23036
23037 #. type: verbatim
23038 #: ../fish/virt-tar-in.pod:34
23039 #, no-wrap
23040 msgid ""
23041 " virt-tar-in -d MyGuest homes.tar /home\n"
23042 "\n"
23043 msgstr ""
23044
23045 #. type: textblock
23046 #: ../fish/virt-tar-in.pod:38
23047 msgid ""
23048 "This command is just a simple shell script wrapper around the L<guestfish(1)"
23049 "> C<tar-in> command.  For anything more complex than a trivial copy, you are "
23050 "probably better off using guestfish directly."
23051 msgstr ""
23052
23053 #. type: textblock
23054 #: ../fish/virt-tar-in.pod:49
23055 msgid ""
23056 "L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-copy-out(1)>, "
23057 "L<virt-edit(1)>, L<virt-make-fs(1)>, L<virt-tar-out(1)>, L<http://libguestfs."
23058 "org/>."
23059 msgstr ""
23060
23061 #. type: textblock
23062 #: ../fish/virt-tar-out.pod:5
23063 msgid ""
23064 "virt-tar-out - Pack a virtual machine disk image directory into a tarball."
23065 msgstr ""
23066
23067 #. type: verbatim
23068 #: ../fish/virt-tar-out.pod:9
23069 #, no-wrap
23070 msgid ""
23071 " virt-tar-out -a disk.img /dir files.tar\n"
23072 "\n"
23073 msgstr ""
23074
23075 #. type: verbatim
23076 #: ../fish/virt-tar-out.pod:11
23077 #, no-wrap
23078 msgid ""
23079 " virt-tar-out -d domain /dir files.tar\n"
23080 "\n"
23081 msgstr ""
23082
23083 #. type: verbatim
23084 #: ../fish/virt-tar-out.pod:13
23085 #, no-wrap
23086 msgid ""
23087 " virt-tar-out -d domain /dir - | gzip --best > files.tar.gz\n"
23088 "\n"
23089 msgstr ""
23090
23091 #. type: textblock
23092 #: ../fish/virt-tar-out.pod:17
23093 msgid ""
23094 "C<virt-tar-out> packs a virtual machine disk image directory into a tarball."
23095 msgstr ""
23096
23097 #. type: textblock
23098 #: ../fish/virt-tar-out.pod:20
23099 msgid ""
23100 "The first parameter is the absolute path of the virtual machine directory.  "
23101 "The second parameter is the tar file to write.  Use C<-> to write to "
23102 "standard output."
23103 msgstr ""
23104
23105 #. type: textblock
23106 #: ../fish/virt-tar-out.pod:26
23107 msgid "Download the home directories from a guest:"
23108 msgstr ""
23109
23110 #. type: verbatim
23111 #: ../fish/virt-tar-out.pod:28
23112 #, no-wrap
23113 msgid ""
23114 " virt-tar-out -d MyGuest /home - | gzip --best > homes.tar.gz\n"
23115 "\n"
23116 msgstr ""
23117
23118 #. type: textblock
23119 #: ../fish/virt-tar-out.pod:32
23120 msgid ""
23121 "This command is just a simple shell script wrapper around the L<guestfish(1)"
23122 "> C<tar-out> command.  For anything more complex than a trivial copy, you "
23123 "are probably better off using guestfish directly."
23124 msgstr ""
23125
23126 #. type: textblock
23127 #: ../fish/virt-tar-out.pod:43
23128 msgid ""
23129 "L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-copy-out(1)>, "
23130 "L<virt-edit(1)>, L<virt-tar-in(1)>, L<http://libguestfs.org/>."
23131 msgstr ""
23132
23133 #. type: textblock
23134 #: ../fuse/guestmount.pod:5
23135 msgid ""
23136 "guestmount - Mount a guest filesystem on the host using FUSE and libguestfs"
23137 msgstr ""
23138
23139 #. type: verbatim
23140 #: ../fuse/guestmount.pod:9
23141 #, no-wrap
23142 msgid ""
23143 " guestmount [--options] -a disk.img -m device [--ro] mountpoint\n"
23144 "\n"
23145 msgstr ""
23146
23147 #. type: verbatim
23148 #: ../fuse/guestmount.pod:11
23149 #, no-wrap
23150 msgid ""
23151 " guestmount [--options] -a disk.img -i [--ro] mountpoint\n"
23152 "\n"
23153 msgstr ""
23154
23155 #. type: verbatim
23156 #: ../fuse/guestmount.pod:13
23157 #, no-wrap
23158 msgid ""
23159 " guestmount [--options] -d Guest -i [--ro] mountpoint\n"
23160 "\n"
23161 msgstr ""
23162
23163 #. type: textblock
23164 #: ../fuse/guestmount.pod:17
23165 msgid ""
23166 "You must I<not> use C<guestmount> in read-write mode on live virtual "
23167 "machines.  If you do this, you risk disk corruption in the VM."
23168 msgstr ""
23169
23170 #. type: textblock
23171 #: ../fuse/guestmount.pod:22
23172 msgid ""
23173 "The guestmount program can be used to mount virtual machine filesystems and "
23174 "other disk images on the host.  It uses libguestfs for access to the guest "
23175 "filesystem, and FUSE (the \"filesystem in userspace\") to make it appear as "
23176 "a mountable device."
23177 msgstr ""
23178
23179 #. type: textblock
23180 #: ../fuse/guestmount.pod:27
23181 msgid ""
23182 "Along with other options, you have to give at least one device (I<-a> "
23183 "option) or libvirt domain (I<-d> option), and at least one mountpoint (I<-m> "
23184 "option) or use the I<-i> inspection option or the I<--live> option.  How "
23185 "this works is better explained in the L<guestfish(1)> manual page, or by "
23186 "looking at the examples below."
23187 msgstr ""
23188
23189 #. type: textblock
23190 #: ../fuse/guestmount.pod:33
23191 msgid ""
23192 "FUSE lets you mount filesystems as non-root.  The mountpoint must be owned "
23193 "by you, and the filesystem will not be visible to any other users unless you "
23194 "make certain global configuration changes to C</etc/fuse.conf>.  To unmount "
23195 "the filesystem, use the C<fusermount -u> command."
23196 msgstr ""
23197
23198 #. type: textblock
23199 #: ../fuse/guestmount.pod:41
23200 msgid ""
23201 "For a typical Windows guest which has its main filesystem on the first "
23202 "partition:"
23203 msgstr ""
23204
23205 #. type: verbatim
23206 #: ../fuse/guestmount.pod:44
23207 #, no-wrap
23208 msgid ""
23209 " guestmount -a windows.img -m /dev/sda1 --ro /mnt\n"
23210 "\n"
23211 msgstr ""
23212
23213 #. type: textblock
23214 #: ../fuse/guestmount.pod:46
23215 msgid ""
23216 "For a typical Linux guest which has a /boot filesystem on the first "
23217 "partition, and the root filesystem on a logical volume:"
23218 msgstr ""
23219
23220 #. type: verbatim
23221 #: ../fuse/guestmount.pod:49
23222 #, no-wrap
23223 msgid ""
23224 " guestmount -a linux.img -m /dev/VG/LV -m /dev/sda1:/boot --ro /mnt\n"
23225 "\n"
23226 msgstr ""
23227
23228 #. type: textblock
23229 #: ../fuse/guestmount.pod:51
23230 msgid "To get libguestfs to detect guest mountpoints for you:"
23231 msgstr ""
23232
23233 #. type: verbatim
23234 #: ../fuse/guestmount.pod:53
23235 #, no-wrap
23236 msgid ""
23237 " guestmount -a guest.img -i --ro /mnt\n"
23238 "\n"
23239 msgstr ""
23240
23241 #. type: textblock
23242 #: ../fuse/guestmount.pod:55
23243 msgid "For a libvirt guest called \"Guest\" you could do:"
23244 msgstr ""
23245
23246 #. type: verbatim
23247 #: ../fuse/guestmount.pod:57
23248 #, no-wrap
23249 msgid ""
23250 " guestmount -d Guest -i --ro /mnt\n"
23251 "\n"
23252 msgstr ""
23253
23254 #. type: textblock
23255 #: ../fuse/guestmount.pod:59
23256 msgid ""
23257 "If you don't know what filesystems are contained in a guest or disk image, "
23258 "use L<virt-filesystems(1)> first:"
23259 msgstr ""
23260
23261 #. type: verbatim
23262 #: ../fuse/guestmount.pod:62
23263 #, no-wrap
23264 msgid ""
23265 " virt-filesystems MyGuest\n"
23266 "\n"
23267 msgstr ""
23268
23269 #. type: textblock
23270 #: ../fuse/guestmount.pod:64
23271 msgid ""
23272 "If you want to trace the libguestfs calls but without excessive debugging "
23273 "information, we recommend:"
23274 msgstr ""
23275
23276 #. type: verbatim
23277 #: ../fuse/guestmount.pod:67
23278 #, no-wrap
23279 msgid ""
23280 " guestmount [...] --trace /mnt\n"
23281 "\n"
23282 msgstr ""
23283
23284 #. type: textblock
23285 #: ../fuse/guestmount.pod:69
23286 msgid "If you want to debug the program, we recommend:"
23287 msgstr ""
23288
23289 #. type: verbatim
23290 #: ../fuse/guestmount.pod:71
23291 #, no-wrap
23292 msgid ""
23293 " guestmount [...] --trace --verbose /mnt\n"
23294 "\n"
23295 msgstr ""
23296
23297 #. type: =head1
23298 #: ../fuse/guestmount.pod:73 ../rescue/virt-rescue.pod:96
23299 #: ../resize/virt-resize.pod:627
23300 msgid "NOTES"
23301 msgstr "ПРИМІТКИ"
23302
23303 #. type: =head2
23304 #: ../fuse/guestmount.pod:75
23305 msgid "Other users cannot see the filesystem by default"
23306 msgstr ""
23307
23308 #. type: textblock
23309 #: ../fuse/guestmount.pod:77
23310 msgid ""
23311 "If you mount a filesystem as one user (eg. root), then other users will not "
23312 "be able to see it by default.  The fix is to add the FUSE C<allow_other> "
23313 "option when mounting:"
23314 msgstr ""
23315
23316 #. type: verbatim
23317 #: ../fuse/guestmount.pod:81
23318 #, no-wrap
23319 msgid ""
23320 " sudo guestmount [...] -o allow_other /mnt\n"
23321 "\n"
23322 msgstr ""
23323
23324 #. type: =head2
23325 #: ../fuse/guestmount.pod:83
23326 msgid "Enabling FUSE"
23327 msgstr ""
23328
23329 #. type: textblock
23330 #: ../fuse/guestmount.pod:85
23331 msgid ""
23332 "On some distros, you may need to add yourself to a special group (eg. "
23333 "C<fuse>) before you can use any FUSE filesystem.  This is necessary on "
23334 "Debian and derivatives."
23335 msgstr ""
23336
23337 #. type: textblock
23338 #: ../fuse/guestmount.pod:89
23339 msgid ""
23340 "On other distros, no special group is required.  It is not necessary on "
23341 "Fedora or Red Hat Enterprise Linux."
23342 msgstr ""
23343
23344 #. type: textblock
23345 #: ../fuse/guestmount.pod:100
23346 msgid "Add a block device or virtual machine image."
23347 msgstr ""
23348
23349 #. type: =item
23350 #: ../fuse/guestmount.pod:123
23351 msgid "B<--dir-cache-timeout N>"
23352 msgstr "B<--dir-cache-timeout N>"
23353
23354 #. type: textblock
23355 #: ../fuse/guestmount.pod:125
23356 msgid ""
23357 "Set the readdir cache timeout to I<N> seconds, the default being 60 "
23358 "seconds.  The readdir cache [actually, there are several semi-independent "
23359 "caches] is populated after a readdir(2) call with the stat and extended "
23360 "attributes of the files in the directory, in anticipation that they will be "
23361 "requested soon after."
23362 msgstr ""
23363
23364 #. type: textblock
23365 #: ../fuse/guestmount.pod:131
23366 msgid ""
23367 "There is also a different attribute cache implemented by FUSE (see the FUSE "
23368 "option I<-o attr_timeout>), but the FUSE cache does not anticipate future "
23369 "requests, only cache existing ones."
23370 msgstr ""
23371
23372 #. type: textblock
23373 #: ../fuse/guestmount.pod:151
23374 msgid ""
23375 "If you have untrusted raw-format guest disk images, you should use this "
23376 "option to specify the disk format.  This avoids a possible security problem "
23377 "with malicious guests (CVE-2010-3851).  See also L<guestfs(3)/"
23378 "guestfs_add_drive_opts>."
23379 msgstr ""
23380
23381 #. type: =item
23382 #: ../fuse/guestmount.pod:156
23383 msgid "B<--fuse-help>"
23384 msgstr "B<--fuse-help>"
23385
23386 #. type: textblock
23387 #: ../fuse/guestmount.pod:158
23388 msgid "Display help on special FUSE options (see I<-o> below)."
23389 msgstr ""
23390
23391 #. type: textblock
23392 #: ../fuse/guestmount.pod:162
23393 msgid "Display brief help and exit."
23394 msgstr ""
23395
23396 #. type: textblock
23397 #: ../fuse/guestmount.pod:186
23398 msgid ""
23399 "Mount the named partition or logical volume on the given mountpoint B<in the "
23400 "guest> (this has nothing to do with mountpoints in the host)."
23401 msgstr ""
23402
23403 #. type: textblock
23404 #: ../fuse/guestmount.pod:189
23405 msgid ""
23406 "If the mountpoint is omitted, it defaults to C</>.  You have to mount "
23407 "something on C</>."
23408 msgstr ""
23409
23410 #. type: textblock
23411 #: ../fuse/guestmount.pod:206
23412 msgid ""
23413 "By default, we attempt to sync the guest disk when the FUSE mountpoint is "
23414 "unmounted.  If you specify this option, then we don't attempt to sync the "
23415 "disk.  See the discussion of autosync in the L<guestfs(3)> manpage."
23416 msgstr ""
23417
23418 #. type: =item
23419 #: ../fuse/guestmount.pod:211
23420 msgid "B<-o option>"
23421 msgstr "B<-o параметр>"
23422
23423 #. type: =item
23424 #: ../fuse/guestmount.pod:213
23425 msgid "B<--option option>"
23426 msgstr "B<--option параметр>"
23427
23428 #. type: textblock
23429 #: ../fuse/guestmount.pod:215
23430 msgid "Pass extra options to FUSE."
23431 msgstr ""
23432
23433 #. type: textblock
23434 #: ../fuse/guestmount.pod:217
23435 msgid ""
23436 "To get a list of all the extra options supported by FUSE, use the command "
23437 "below.  Note that only the FUSE I<-o> options can be passed, and only some "
23438 "of them are a good idea."
23439 msgstr ""
23440
23441 #. type: verbatim
23442 #: ../fuse/guestmount.pod:221
23443 #, no-wrap
23444 msgid ""
23445 " guestmount --fuse-help\n"
23446 "\n"
23447 msgstr ""
23448
23449 #. type: textblock
23450 #: ../fuse/guestmount.pod:223
23451 msgid "Some potentially useful FUSE options:"
23452 msgstr ""
23453
23454 #. type: =item
23455 #: ../fuse/guestmount.pod:227
23456 msgid "B<-o allow_other>"
23457 msgstr ""
23458
23459 #. type: textblock
23460 #: ../fuse/guestmount.pod:229
23461 msgid "Allow other users to see the filesystem."
23462 msgstr ""
23463
23464 #. type: =item
23465 #: ../fuse/guestmount.pod:231
23466 msgid "B<-o attr_timeout=N>"
23467 msgstr "B<-o attr_timeout=N>"
23468
23469 #. type: textblock
23470 #: ../fuse/guestmount.pod:233
23471 msgid "Enable attribute caching by FUSE, and set the timeout to I<N> seconds."
23472 msgstr ""
23473
23474 #. type: =item
23475 #: ../fuse/guestmount.pod:235
23476 msgid "B<-o kernel_cache>"
23477 msgstr ""
23478
23479 #. type: textblock
23480 #: ../fuse/guestmount.pod:237
23481 msgid ""
23482 "Allow the kernel to cache files (reduces the number of reads that have to go "
23483 "through the L<guestfs(3)> API).  This is generally a good idea if you can "
23484 "afford the extra memory usage."
23485 msgstr ""
23486
23487 #. type: =item
23488 #: ../fuse/guestmount.pod:241
23489 msgid "B<-o uid=N> B<-o gid=N>"
23490 msgstr "B<-o uid=N> B<-o gid=N>"
23491
23492 #. type: textblock
23493 #: ../fuse/guestmount.pod:243
23494 msgid ""
23495 "Use these options to map all UIDs and GIDs inside the guest filesystem to "
23496 "the chosen values."
23497 msgstr ""
23498
23499 #. type: textblock
23500 #: ../fuse/guestmount.pod:252
23501 msgid ""
23502 "Add devices and mount everything read-only.  Also disallow writes and make "
23503 "the disk appear read-only to FUSE."
23504 msgstr ""
23505
23506 #. type: textblock
23507 #: ../fuse/guestmount.pod:255
23508 msgid ""
23509 "This is highly recommended if you are not going to edit the guest disk.  If "
23510 "the guest is running and this option is I<not> supplied, then there is a "
23511 "strong risk of disk corruption in the guest.  We try to prevent this from "
23512 "happening, but it is not always possible."
23513 msgstr ""
23514
23515 #. type: textblock
23516 #: ../fuse/guestmount.pod:260 ../rescue/virt-rescue.pod:199
23517 msgid "See also L<guestfish(1)/OPENING DISKS FOR READ AND WRITE>."
23518 msgstr "Див. також L<guestfish(1)/OPENING DISKS FOR READ AND WRITE>."
23519
23520 #. type: textblock
23521 #: ../fuse/guestmount.pod:264
23522 msgid "Enable SELinux support for the guest."
23523 msgstr ""
23524
23525 #. type: textblock
23526 #: ../fuse/guestmount.pod:270
23527 msgid "Enable verbose messages from underlying libguestfs."
23528 msgstr ""
23529
23530 #. type: textblock
23531 #: ../fuse/guestmount.pod:276
23532 msgid "Display the program version and exit."
23533 msgstr ""
23534
23535 #. type: textblock
23536 #: ../fuse/guestmount.pod:285 ../fuse/guestmount.pod:308
23537 #: ../rescue/virt-rescue.pod:238 ../rescue/virt-rescue.pod:321
23538 msgid "See L<guestfish(1)/OPENING DISKS FOR READ AND WRITE>."
23539 msgstr "Див. L<guestfish(1)/OPENING DISKS FOR READ AND WRITE>."
23540
23541 #. type: =item
23542 #: ../fuse/guestmount.pod:289
23543 msgid "B<--trace>"
23544 msgstr "B<--trace>"
23545
23546 #. type: textblock
23547 #: ../fuse/guestmount.pod:291
23548 msgid "Trace libguestfs calls and entry into each FUSE function."
23549 msgstr ""
23550
23551 #. type: textblock
23552 #: ../fuse/guestmount.pod:293
23553 msgid "This also stops the daemon from forking into the background."
23554 msgstr ""
23555
23556 #. type: textblock
23557 #: ../fuse/guestmount.pod:319
23558 msgid ""
23559 "L<guestfish(1)>, L<virt-inspector(1)>, L<virt-cat(1)>, L<virt-edit(1)>, "
23560 "L<virt-tar(1)>, L<guestfs(3)>, L<http://libguestfs.org/>, L<http://fuse.sf."
23561 "net/>."
23562 msgstr ""
23563 "L<guestfish(1)>, L<virt-inspector(1)>, L<virt-cat(1)>, L<virt-edit(1)>, "
23564 "L<virt-tar(1)>, L<guestfs(3)>, L<http://libguestfs.org/>, L<http://fuse.sf."
23565 "net/>."
23566
23567 #. type: textblock
23568 #: ../fuse/guestmount.pod:334
23569 msgid "Copyright (C) 2009-2010 Red Hat Inc.  L<http://libguestfs.org/>"
23570 msgstr ""
23571
23572 #. type: textblock
23573 #: ../inspector/virt-inspector.pod:5
23574 msgid ""
23575 "virt-inspector - Display operating system version and other information "
23576 "about a virtual machine"
23577 msgstr ""
23578
23579 #. type: verbatim
23580 #: ../inspector/virt-inspector.pod:9
23581 #, no-wrap
23582 msgid ""
23583 " virt-inspector [--options] -d domname\n"
23584 "\n"
23585 msgstr ""
23586
23587 #. type: verbatim
23588 #: ../inspector/virt-inspector.pod:11
23589 #, no-wrap
23590 msgid ""
23591 " virt-inspector [--options] -a disk.img [-a disk.img ...]\n"
23592 "\n"
23593 msgstr ""
23594
23595 #. type: verbatim
23596 #: ../inspector/virt-inspector.pod:15
23597 #, no-wrap
23598 msgid ""
23599 " virt-inspector domname\n"
23600 "\n"
23601 msgstr ""
23602
23603 #. type: verbatim
23604 #: ../inspector/virt-inspector.pod:17 ../inspector/virt-inspector.pod:148
23605 #, no-wrap
23606 msgid ""
23607 " virt-inspector disk.img [disk.img ...]\n"
23608 "\n"
23609 msgstr ""
23610
23611 #. type: textblock
23612 #: ../inspector/virt-inspector.pod:21
23613 msgid ""
23614 "B<virt-inspector> examines a virtual machine or disk image and tries to "
23615 "determine the version of the operating system and other information about "
23616 "the virtual machine."
23617 msgstr ""
23618
23619 #. type: textblock
23620 #: ../inspector/virt-inspector.pod:25
23621 msgid "Virt-inspector produces XML output for feeding into other programs."
23622 msgstr ""
23623
23624 #. type: textblock
23625 #: ../inspector/virt-inspector.pod:27
23626 msgid ""
23627 "In the normal usage, use C<virt-inspector -d domname> where C<domname> is "
23628 "the libvirt domain (see: C<virsh list --all>)."
23629 msgstr ""
23630
23631 #. type: textblock
23632 #: ../inspector/virt-inspector.pod:30
23633 msgid ""
23634 "You can also run virt-inspector directly on disk images from a single "
23635 "virtual machine.  Use C<virt-inspector -a disk.img>.  In rare cases a domain "
23636 "has several block devices, in which case you should list several I<-a> "
23637 "options one after another, with the first corresponding to the guest's C</"
23638 "dev/sda>, the second to the guest's C</dev/sdb> and so on."
23639 msgstr ""
23640
23641 #. type: textblock
23642 #: ../inspector/virt-inspector.pod:37
23643 msgid ""
23644 "You can also run virt-inspector on install disks, live CDs, bootable USB "
23645 "keys and similar."
23646 msgstr ""
23647
23648 #. type: textblock
23649 #: ../inspector/virt-inspector.pod:40
23650 msgid ""
23651 "Virt-inspector can only inspect and report upon I<one domain at a time>.  To "
23652 "inspect several virtual machines, you have to run virt-inspector several "
23653 "times (for example, from a shell script for-loop)."
23654 msgstr ""
23655
23656 #. type: textblock
23657 #: ../inspector/virt-inspector.pod:45
23658 msgid ""
23659 "Because virt-inspector needs direct access to guest images, it won't "
23660 "normally work over remote libvirt connections."
23661 msgstr ""
23662
23663 #. type: textblock
23664 #: ../inspector/virt-inspector.pod:48
23665 msgid ""
23666 "All of the information available from virt-inspector is also available "
23667 "through the core libguestfs inspection API (see L<guestfs(3)/INSPECTION>).  "
23668 "The same information can also be fetched using guestfish or via libguestfs "
23669 "bindings in many programming languages (see L<guestfs(3)/USING LIBGUESTFS "
23670 "WITH OTHER PROGRAMMING LANGUAGES>)."
23671 msgstr ""
23672
23673 #. type: textblock
23674 #: ../inspector/virt-inspector.pod:81
23675 msgid ""
23676 "Libvirt is only used if you specify a C<domname> on the command line.  If "
23677 "you specify guest block devices directly (I<-a>), then libvirt is not used "
23678 "at all."
23679 msgstr ""
23680
23681 #. type: textblock
23682 #: ../inspector/virt-inspector.pod:94
23683 msgid ""
23684 "When prompting for keys and passphrases, virt-inspector normally turns "
23685 "echoing off so you cannot see what you are typing.  If you are not worried "
23686 "about Tempest attacks and there is no one else in the room you can specify "
23687 "this flag to see what you are typing."
23688 msgstr ""
23689
23690 #. type: textblock
23691 #: ../inspector/virt-inspector.pod:103 ../tools/virt-list-filesystems.pl:93
23692 #: ../tools/virt-list-partitions.pl:94 ../tools/virt-tar.pl:143
23693 #: ../tools/virt-win-reg.pl:144
23694 msgid ""
23695 "Specify the format of disk images given on the command line.  If this is "
23696 "omitted then the format is autodetected from the content of the disk image."
23697 msgstr ""
23698
23699 #. type: textblock
23700 #: ../inspector/virt-inspector.pod:107 ../tools/virt-list-filesystems.pl:97
23701 #: ../tools/virt-list-partitions.pl:98 ../tools/virt-tar.pl:147
23702 #: ../tools/virt-win-reg.pl:148
23703 msgid ""
23704 "If disk images are requested from libvirt, then this program asks libvirt "
23705 "for this information.  In this case, the value of the format parameter is "
23706 "ignored."
23707 msgstr ""
23708
23709 #. type: textblock
23710 #: ../inspector/virt-inspector.pod:111 ../resize/virt-resize.pod:397
23711 #: ../resize/virt-resize.pod:489 ../sparsify/virt-sparsify.pod:144
23712 #: ../tools/virt-list-filesystems.pl:101 ../tools/virt-list-partitions.pl:102
23713 #: ../tools/virt-tar.pl:151 ../tools/virt-win-reg.pl:152
23714 msgid ""
23715 "If working with untrusted raw-format guest disk images, you should ensure "
23716 "the format is always specified."
23717 msgstr ""
23718
23719 #. type: =item
23720 #: ../inspector/virt-inspector.pod:135
23721 #, fuzzy
23722 #| msgid "B<--parts>"
23723 msgid "B<--xpath> query"
23724 msgstr "B<--parts>"
23725
23726 #. type: textblock
23727 #: ../inspector/virt-inspector.pod:137
23728 msgid ""
23729 "Perform an XPath query on the XML on stdin, and print the result on stdout.  "
23730 "In this mode virt-inspector simply runs an XPath query; all other inspection "
23731 "functions are disabled.  See L</XPATH QUERIES> below for some examples."
23732 msgstr ""
23733
23734 #. type: textblock
23735 #: ../inspector/virt-inspector.pod:146
23736 msgid "Previous versions of virt-inspector allowed you to write either:"
23737 msgstr ""
23738
23739 #. type: verbatim
23740 #: ../inspector/virt-inspector.pod:152
23741 #, no-wrap
23742 msgid ""
23743 " virt-inspector guestname\n"
23744 "\n"
23745 msgstr ""
23746
23747 #. type: =head1
23748 #: ../inspector/virt-inspector.pod:160
23749 msgid "XML FORMAT"
23750 msgstr ""
23751
23752 #. type: textblock
23753 #: ../inspector/virt-inspector.pod:162
23754 msgid ""
23755 "The virt-inspector XML is described precisely in a RELAX NG schema file "
23756 "C<virt-inspector.rng> which is supplied with libguestfs.  This section is "
23757 "just an overview."
23758 msgstr ""
23759
23760 #. type: textblock
23761 #: ../inspector/virt-inspector.pod:166
23762 msgid ""
23763 "The top-level element is E<lt>operatingsystemsE<gt>, and it contains one or "
23764 "more E<lt>operatingsystemE<gt> elements.  You would only see more than one "
23765 "E<lt>operatingsystemE<gt> element if the virtual machine is multi-boot, "
23766 "which is vanishingly rare in real world VMs."
23767 msgstr ""
23768
23769 #. type: =head2
23770 #: ../inspector/virt-inspector.pod:171
23771 msgid "E<lt>operatingsystemE<gt>"
23772 msgstr ""
23773
23774 #. type: textblock
23775 #: ../inspector/virt-inspector.pod:173
23776 msgid ""
23777 "In the E<lt>operatingsystemE<gt> tag are various optional fields that "
23778 "describe the operating system, its architecture, the descriptive \"product "
23779 "name\" string, the type of OS and so on, as in this example:"
23780 msgstr ""
23781
23782 #. type: verbatim
23783 #: ../inspector/virt-inspector.pod:177
23784 #, no-wrap
23785 msgid ""
23786 " <operatingsystems>\n"
23787 "   <operatingsystem>\n"
23788 "     <root>/dev/sda2</root>\n"
23789 "     <name>windows</name>\n"
23790 "     <arch>i386</arch>\n"
23791 "     <distro>windows</distro>\n"
23792 "     <product_name>Windows 7 Enterprise</product_name>\n"
23793 "     <product_variant>Client</product_variant>\n"
23794 "     <major_version>6</major_version>\n"
23795 "     <minor_version>1</minor_version>\n"
23796 "     <windows_systemroot>/Windows</windows_systemroot>\n"
23797 "     <format>installed</format>\n"
23798 "\n"
23799 msgstr ""
23800
23801 #. type: textblock
23802 #: ../inspector/virt-inspector.pod:190
23803 msgid ""
23804 "In brief, E<lt>nameE<gt> is the class of operating system (something like "
23805 "C<linux> or C<windows>), E<lt>distroE<gt> is the distribution (eg. C<fedora> "
23806 "but many other distros are recognized) and E<lt>archE<gt> is the guest "
23807 "architecture.  The other fields are fairly self-explanatory, but because "
23808 "these fields are taken directly from the libguestfs inspection API you can "
23809 "find precise information from L<guestfs(3)/INSPECTION>."
23810 msgstr ""
23811
23812 #. type: textblock
23813 #: ../inspector/virt-inspector.pod:198
23814 msgid ""
23815 "The E<lt>rootE<gt> element is the root filesystem device, but from the point "
23816 "of view of libguestfs (block devices may have completely different names "
23817 "inside the VM itself)."
23818 msgstr ""
23819
23820 #. type: =head2
23821 #: ../inspector/virt-inspector.pod:202
23822 msgid "E<lt>mountpointsE<gt>"
23823 msgstr ""
23824
23825 #. type: textblock
23826 #: ../inspector/virt-inspector.pod:204
23827 msgid ""
23828 "Un*x-like guests typically have multiple filesystems which are mounted at "
23829 "various mountpoints, and these are described in the E<lt>mountpointsE<gt> "
23830 "element which looks like this:"
23831 msgstr ""
23832
23833 #. type: verbatim
23834 #: ../inspector/virt-inspector.pod:208
23835 #, no-wrap
23836 msgid ""
23837 " <operatingsystems>\n"
23838 "   <operatingsystem>\n"
23839 "     ...\n"
23840 "     <mountpoints>\n"
23841 "       <mountpoint dev=\"/dev/vg_f13x64/lv_root\">/</mountpoint>\n"
23842 "       <mountpoint dev=\"/dev/sda1\">/boot</mountpoint>\n"
23843 "     </mountpoints>\n"
23844 "\n"
23845 msgstr ""
23846
23847 #. type: textblock
23848 #: ../inspector/virt-inspector.pod:216
23849 msgid ""
23850 "As with E<lt>rootE<gt>, devices are from the point of view of libguestfs, "
23851 "and may have completely different names inside the guest.  Only mountable "
23852 "filesystems appear in this list, not things like swap devices."
23853 msgstr ""
23854
23855 #. type: =head2
23856 #: ../inspector/virt-inspector.pod:221
23857 msgid "E<lt>filesystemsE<gt>"
23858 msgstr ""
23859
23860 #. type: textblock
23861 #: ../inspector/virt-inspector.pod:223
23862 msgid ""
23863 "E<lt>filesystemsE<gt> is like E<lt>mountpointsE<gt> but covers I<all> "
23864 "filesystems belonging to the guest, including swap and empty partitions.  "
23865 "(In the rare case of a multi-boot guest, it covers filesystems belonging to "
23866 "this OS or shared with this OS and other OSes)."
23867 msgstr ""
23868
23869 #. type: textblock
23870 #: ../inspector/virt-inspector.pod:229
23871 msgid "You might see something like this:"
23872 msgstr ""
23873
23874 #. type: verbatim
23875 #: ../inspector/virt-inspector.pod:231
23876 #, no-wrap
23877 msgid ""
23878 " <operatingsystems>\n"
23879 "   <operatingsystem>\n"
23880 "     ...\n"
23881 "     <filesystems>\n"
23882 "       <filesystem dev=\"/dev/vg_f13x64/lv_root\">\n"
23883 "         <type>ext4</type>\n"
23884 "         <label>Fedora-13-x86_64</label>\n"
23885 "         <uuid>e6a4db1e-15c2-477b-ac2a-699181c396aa</uuid>\n"
23886 "       </filesystem>\n"
23887 "\n"
23888 msgstr ""
23889
23890 #. type: textblock
23891 #: ../inspector/virt-inspector.pod:241
23892 msgid ""
23893 "The optional elements within E<lt>filesystemE<gt> are the filesystem type, "
23894 "the label, and the UUID."
23895 msgstr ""
23896
23897 #. type: =head2
23898 #: ../inspector/virt-inspector.pod:244
23899 msgid "E<lt>applicationsE<gt>"
23900 msgstr ""
23901
23902 #. type: textblock
23903 #: ../inspector/virt-inspector.pod:246
23904 msgid ""
23905 "The related elements E<lt>package_formatE<gt>, E<lt>package_managementE<gt> "
23906 "and E<lt>applicationsE<gt> describe applications installed in the virtual "
23907 "machine."
23908 msgstr ""
23909
23910 #. type: textblock
23911 #: ../inspector/virt-inspector.pod:250
23912 msgid ""
23913 "E<lt>package_formatE<gt>, if present, describes the packaging system used.  "
23914 "Typical values would be C<rpm> and C<deb>."
23915 msgstr ""
23916
23917 #. type: textblock
23918 #: ../inspector/virt-inspector.pod:253
23919 msgid ""
23920 "E<lt>package_managementE<gt>, if present, describes the package manager.  "
23921 "Typical values include C<yum>, C<up2date> and C<apt>"
23922 msgstr ""
23923
23924 #. type: textblock
23925 #: ../inspector/virt-inspector.pod:256
23926 msgid "E<lt>applicationsE<gt> lists the packages or applications installed."
23927 msgstr ""
23928
23929 #. type: verbatim
23930 #: ../inspector/virt-inspector.pod:259
23931 #, no-wrap
23932 msgid ""
23933 " <operatingsystems>\n"
23934 "   <operatingsystem>\n"
23935 "     ...\n"
23936 "     <applications>\n"
23937 "       <application>\n"
23938 "         <name>coreutils</name>\n"
23939 "         <version>8.5</version>\n"
23940 "         <release>1</release>\n"
23941 "       </application>\n"
23942 "\n"
23943 msgstr ""
23944
23945 #. type: textblock
23946 #: ../inspector/virt-inspector.pod:269
23947 msgid ""
23948 "The version and release fields may not be available for some types guests.  "
23949 "Other fields are possible, see L<guestfs(3)/"
23950 "guestfs_inspect_list_applications>."
23951 msgstr ""
23952
23953 #. type: =head2
23954 #: ../inspector/virt-inspector.pod:273
23955 msgid "E<lt>drive_mappingsE<gt>"
23956 msgstr ""
23957
23958 #. type: textblock
23959 #: ../inspector/virt-inspector.pod:275
23960 msgid ""
23961 "For operating systems like Windows which use drive letters, virt-inspector "
23962 "is able to find out how drive letters map to filesystems."
23963 msgstr ""
23964
23965 #. type: verbatim
23966 #: ../inspector/virt-inspector.pod:279
23967 #, no-wrap
23968 msgid ""
23969 " <operatingsystems>\n"
23970 "   <operatingsystem>\n"
23971 "     ...\n"
23972 "     <drive_mappings>\n"
23973 "       <drive_mapping name=\"C\">/dev/sda2</drive_mapping>\n"
23974 "       <drive_mapping name=\"E\">/dev/sdb1</drive_mapping>\n"
23975 "     </drive_mappings>\n"
23976 "\n"
23977 msgstr ""
23978
23979 #. type: textblock
23980 #: ../inspector/virt-inspector.pod:287
23981 msgid ""
23982 "In the example above, drive C maps to the filesystem on the second partition "
23983 "on the first disk, and drive E maps to the filesystem on the first partition "
23984 "on the second disk."
23985 msgstr ""
23986
23987 #. type: textblock
23988 #: ../inspector/virt-inspector.pod:291
23989 msgid ""
23990 "Note that this only covers permanent local filesystem mappings, not things "
23991 "like network shares.  Furthermore NTFS volume mount points may not be listed "
23992 "here."
23993 msgstr ""
23994
23995 #. type: =head2
23996 #: ../inspector/virt-inspector.pod:295
23997 msgid "E<lt>iconE<gt>"
23998 msgstr ""
23999
24000 #. type: textblock
24001 #: ../inspector/virt-inspector.pod:297
24002 msgid ""
24003 "Virt-inspector is sometimes able to extract an icon or logo for the guest.  "
24004 "The icon is returned as base64-encoded PNG data.  Note that the icon can be "
24005 "very large and high quality."
24006 msgstr ""
24007
24008 #. type: verbatim
24009 #: ../inspector/virt-inspector.pod:301
24010 #, no-wrap
24011 msgid ""
24012 " <operatingsystems>\n"
24013 "   <operatingsystem>\n"
24014 "     ...\n"
24015 "     <icon>\n"
24016 "       iVBORw0KGgoAAAANSUhEUgAAAGAAAABg[.......]\n"
24017 "       [... many lines of base64 data ...]\n"
24018 "     </icon>\n"
24019 "\n"
24020 msgstr ""
24021
24022 #. type: textblock
24023 #: ../inspector/virt-inspector.pod:309
24024 msgid ""
24025 "To display the icon, you have to extract it and convert the base64 data back "
24026 "to a binary file.  Use an XPath query or simply an editor to extract the "
24027 "data, then use the coreutils L<base64(1)> program to do the conversion back "
24028 "to a PNG file:"
24029 msgstr ""
24030
24031 #. type: verbatim
24032 #: ../inspector/virt-inspector.pod:314
24033 #, no-wrap
24034 msgid ""
24035 " base64 -i -d < icon.data > icon.png\n"
24036 "\n"
24037 msgstr ""
24038
24039 #. type: =head2
24040 #: ../inspector/virt-inspector.pod:316
24041 msgid "INSPECTING INSTALL DISKS, LIVE CDs"
24042 msgstr ""
24043
24044 #. type: textblock
24045 #: ../inspector/virt-inspector.pod:318
24046 msgid ""
24047 "Virt-inspector can detect some operating system installers on install disks, "
24048 "live CDs, bootable USB keys and more."
24049 msgstr ""
24050
24051 #. type: textblock
24052 #: ../inspector/virt-inspector.pod:321
24053 msgid ""
24054 "In this case the E<lt>formatE<gt> tag will contain C<installer> and other "
24055 "fields may be present to indicate a live CD, network installer, or one part "
24056 "of a multipart CD.  For example:"
24057 msgstr ""
24058
24059 #. type: verbatim
24060 #: ../inspector/virt-inspector.pod:325
24061 #, no-wrap
24062 msgid ""
24063 " <operatingsystems>\n"
24064 "   <operatingsystem>\n"
24065 "     <root>/dev/sda</root>\n"
24066 "     <name>linux</name>\n"
24067 "     <arch>i386</arch>\n"
24068 "     <distro>ubuntu</distro>\n"
24069 "     <product_name>Ubuntu 10.10 &quot;Maverick Meerkat&quot;</product_name>\n"
24070 "     <major_version>10</major_version>\n"
24071 "     <minor_version>10</minor_version>\n"
24072 "     <format>installer</format>\n"
24073 "     <live/>\n"
24074 "\n"
24075 msgstr ""
24076
24077 #. type: =head1
24078 #: ../inspector/virt-inspector.pod:337
24079 msgid "XPATH QUERIES"
24080 msgstr ""
24081
24082 #. type: textblock
24083 #: ../inspector/virt-inspector.pod:339
24084 msgid ""
24085 "Virt-inspector includes built in support for running XPath queries.  The "
24086 "reason for including XPath support directly in virt-inspector is simply that "
24087 "there are no good and widely available command line programs that can do "
24088 "XPath queries.  The only good one is L<xmlstarlet(1)> and that is not "
24089 "available on Red Hat Enterprise Linux."
24090 msgstr ""
24091
24092 #. type: textblock
24093 #: ../inspector/virt-inspector.pod:346
24094 msgid ""
24095 "To perform an XPath query, use the I<--xpath> option.  Note that in this "
24096 "mode, virt-inspector simply reads XML from stdin and outputs the query "
24097 "result on stdout.  All other inspection features are disabled in this mode."
24098 msgstr ""
24099
24100 #. type: verbatim
24101 #: ../inspector/virt-inspector.pod:353
24102 #, no-wrap
24103 msgid ""
24104 " $ virt-inspector -d Guest | virt-inspector --xpath '//filesystems'\n"
24105 " <filesystems>\n"
24106 "      <filesystem dev=\"/dev/vg_f13x64/lv_root\">\n"
24107 "        <type>ext4</type>\n"
24108 " [...]\n"
24109 "\n"
24110 msgstr ""
24111
24112 #. type: verbatim
24113 #: ../inspector/virt-inspector.pod:359
24114 #, no-wrap
24115 msgid ""
24116 " $ virt-inspector -d Guest | \\\n"
24117 "     virt-inspector --xpath \"string(//filesystem[@dev='/dev/sda1']/type)\"\n"
24118 " ext4\n"
24119 "\n"
24120 msgstr ""
24121
24122 #. type: verbatim
24123 #: ../inspector/virt-inspector.pod:363
24124 #, no-wrap
24125 msgid ""
24126 " $ virt-inspector -d Guest | \\\n"
24127 "     virt-inspector --xpath 'string(//icon)' | base64 -i -d | display -\n"
24128 " [displays the guest icon, if there is one]\n"
24129 "\n"
24130 msgstr ""
24131
24132 #. type: =head1
24133 #: ../inspector/virt-inspector.pod:374
24134 msgid "OLD VERSIONS OF VIRT-INSPECTOR"
24135 msgstr ""
24136
24137 #. type: textblock
24138 #: ../inspector/virt-inspector.pod:376
24139 msgid ""
24140 "Early versions of libguestfs shipped with a different virt-inspector program "
24141 "written in Perl (the current version is written in C).  The XML output of "
24142 "the Perl virt-inspector was different and it could also output in other "
24143 "formats like text."
24144 msgstr ""
24145
24146 #. type: textblock
24147 #: ../inspector/virt-inspector.pod:381
24148 msgid ""
24149 "The old virt-inspector is no longer supported or shipped with libguestfs."
24150 msgstr ""
24151
24152 #. type: textblock
24153 #: ../inspector/virt-inspector.pod:384
24154 msgid ""
24155 "To confuse matters further, in Red Hat Enterprise Linux 6 we ship two "
24156 "versions of virt-inspector with different names:"
24157 msgstr ""
24158
24159 #. type: verbatim
24160 #: ../inspector/virt-inspector.pod:387
24161 #, no-wrap
24162 msgid ""
24163 " virt-inspector     Old Perl version.\n"
24164 " virt-inspector2    New C version.\n"
24165 "\n"
24166 msgstr ""
24167
24168 #. type: textblock
24169 #: ../inspector/virt-inspector.pod:397
24170 msgid ""
24171 "L<guestfs(3)>, L<guestfish(1)>, L<http://www.w3.org/TR/xpath/>, L<base64(1)"
24172 ">, L<xmlstarlet(1)>, L<http://libguestfs.org/>."
24173 msgstr ""
24174
24175 #. type: textblock
24176 #: ../inspector/virt-inspector.pod:414
24177 msgid "Matthew Booth L<mbooth@redhat.com>"
24178 msgstr ""
24179
24180 #. type: textblock
24181 #: ../java/examples/guestfs-java.pod:5
24182 msgid "guestfs-java - How to use libguestfs from Java"
24183 msgstr ""
24184
24185 #. type: verbatim
24186 #: ../java/examples/guestfs-java.pod:9
24187 #, no-wrap
24188 msgid ""
24189 " import com.redhat.et.libguestfs.*;\n"
24190 " \n"
24191 msgstr ""
24192
24193 #. type: verbatim
24194 #: ../java/examples/guestfs-java.pod:11
24195 #, no-wrap
24196 msgid ""
24197 " GuestFS g = new GuestFS ();\n"
24198 " g.add_drive_opts (\"disk.img\", null);\n"
24199 " g.launch ();\n"
24200 "\n"
24201 msgstr ""
24202
24203 #. type: textblock
24204 #: ../java/examples/guestfs-java.pod:17
24205 msgid ""
24206 "This manual page documents how to call libguestfs from the Java programming "
24207 "language.  This page just documents the differences from the C API and gives "
24208 "some examples.  If you are not familiar with using libguestfs, you also need "
24209 "to read L<guestfs(3)>."
24210 msgstr ""
24211
24212 #. type: =head2
24213 #: ../java/examples/guestfs-java.pod:22 ../ocaml/examples/guestfs-ocaml.pod:53
24214 msgid "CLOSING THE HANDLE"
24215 msgstr ""
24216
24217 #. type: textblock
24218 #: ../java/examples/guestfs-java.pod:24
24219 msgid ""
24220 "The handle is closed when it is reaped by the garbage collector.  Because "
24221 "libguestfs handles include a lot of state, it is also possible to close (and "
24222 "hence free) them explicitly by calling the C<close> method."
24223 msgstr ""
24224
24225 #. type: =head2
24226 #: ../java/examples/guestfs-java.pod:29 ../ocaml/examples/guestfs-ocaml.pod:60
24227 #: ../python/examples/guestfs-python.pod:21
24228 #: ../ruby/examples/guestfs-ruby.pod:22
24229 msgid "EXCEPTIONS"
24230 msgstr "ВИНЯТКИ"
24231
24232 #. type: textblock
24233 #: ../java/examples/guestfs-java.pod:31
24234 msgid ""
24235 "Errors from libguestfs functions are mapped into the C<LibGuestFSException> "
24236 "exception.  This has a single parameter which is the error message (a "
24237 "C<String>)."
24238 msgstr ""
24239
24240 #. type: textblock
24241 #: ../java/examples/guestfs-java.pod:35
24242 msgid "Calling any method on a closed handle raises the same exception."
24243 msgstr ""
24244
24245 #. type: textblock
24246 #: ../java/examples/guestfs-java.pod:47
24247 msgid ""
24248 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-erlang(3)>, L<guestfs-ocaml"
24249 "(3)>, L<guestfs-perl(3)>, L<guestfs-python(3)>, L<guestfs-recipes(1)>, "
24250 "L<guestfs-ruby(3)>, L<http://libguestfs.org/>, L<http://caml.inria.fr/>."
24251 msgstr ""
24252
24253 #. type: textblock
24254 #: ../ocaml/examples/guestfs-ocaml.pod:5
24255 msgid "guestfs-ocaml - How to use libguestfs from OCaml"
24256 msgstr ""
24257
24258 #. type: textblock
24259 #: ../ocaml/examples/guestfs-ocaml.pod:9
24260 msgid "Module style:"
24261 msgstr ""
24262
24263 #. type: verbatim
24264 #: ../ocaml/examples/guestfs-ocaml.pod:11
24265 #, no-wrap
24266 msgid ""
24267 " let g = Guestfs.create () in\n"
24268 " Guestfs.add_drive_opts g ~format:\"raw\" ~readonly:true \"disk.img\";\n"
24269 " Guestfs.launch g;\n"
24270 "\n"
24271 msgstr ""
24272
24273 #. type: textblock
24274 #: ../ocaml/examples/guestfs-ocaml.pod:15
24275 msgid "Object-oriented style:"
24276 msgstr ""
24277
24278 #. type: verbatim
24279 #: ../ocaml/examples/guestfs-ocaml.pod:17
24280 #, no-wrap
24281 msgid ""
24282 " let g = new Guestfs.guestfs () in\n"
24283 " g#add_drive_opts ~format:\"raw\" ~readonly:true \"disk.img\";\n"
24284 " g#launch ();\n"
24285 "\n"
24286 msgstr ""
24287
24288 #. type: verbatim
24289 #: ../ocaml/examples/guestfs-ocaml.pod:21
24290 #, no-wrap
24291 msgid ""
24292 " ocamlfind opt prog.ml -package guestfs -linkpkg -o prog\n"
24293 "or:\n"
24294 " ocamlopt -I +guestfs mlguestfs.cmxa prog.ml -o prog\n"
24295 "\n"
24296 msgstr ""
24297
24298 #. type: textblock
24299 #: ../ocaml/examples/guestfs-ocaml.pod:27
24300 msgid ""
24301 "This manual page documents how to call libguestfs from the OCaml programming "
24302 "language.  This page just documents the differences from the C API and gives "
24303 "some examples.  If you are not familiar with using libguestfs, you also need "
24304 "to read L<guestfs(3)>."
24305 msgstr ""
24306
24307 #. type: =head2
24308 #: ../ocaml/examples/guestfs-ocaml.pod:32
24309 msgid "PROGRAMMING STYLES"
24310 msgstr ""
24311
24312 #. type: textblock
24313 #: ../ocaml/examples/guestfs-ocaml.pod:34
24314 msgid ""
24315 "There are two different programming styles supported by the OCaml bindings.  "
24316 "You can use a module style, with each C function mapped to an OCaml function:"
24317 msgstr ""
24318
24319 #. type: verbatim
24320 #: ../ocaml/examples/guestfs-ocaml.pod:38
24321 #, no-wrap
24322 msgid ""
24323 " int guestfs_set_verbose (guestfs_h *g, int flag);\n"
24324 "\n"
24325 msgstr ""
24326
24327 #. type: textblock
24328 #: ../ocaml/examples/guestfs-ocaml.pod:40
24329 msgid "becomes:"
24330 msgstr ""
24331
24332 #. type: verbatim
24333 #: ../ocaml/examples/guestfs-ocaml.pod:42
24334 #, no-wrap
24335 msgid ""
24336 " val Guestfs.set_verbose : Guestfs.t -> bool -> unit\n"
24337 "\n"
24338 msgstr ""
24339
24340 #. type: textblock
24341 #: ../ocaml/examples/guestfs-ocaml.pod:44
24342 msgid ""
24343 "Alternately you can use an object-oriented style, calling methods on the "
24344 "class C<Guestfs.guestfs>:"
24345 msgstr ""
24346
24347 #. type: verbatim
24348 #: ../ocaml/examples/guestfs-ocaml.pod:47
24349 #, no-wrap
24350 msgid ""
24351 " method set_verbose : bool -> unit\n"
24352 "\n"
24353 msgstr ""
24354
24355 #. type: textblock
24356 #: ../ocaml/examples/guestfs-ocaml.pod:49
24357 msgid ""
24358 "The object-oriented style is usually briefer, and the minor performance "
24359 "penalty isn't noticable in the general overhead of performing libguestfs "
24360 "functions."
24361 msgstr ""
24362
24363 #. type: textblock
24364 #: ../ocaml/examples/guestfs-ocaml.pod:55
24365 msgid ""
24366 "The handle is closed when it is reaped by the garbage collector.  Because "
24367 "libguestfs handles include a lot of state, it is also possible to close (and "
24368 "hence free) them explicitly by calling C<Guestfs.close> or the C<#close> "
24369 "method."
24370 msgstr ""
24371
24372 #. type: textblock
24373 #: ../ocaml/examples/guestfs-ocaml.pod:62
24374 msgid ""
24375 "Errors from libguestfs functions are mapped into the C<Guestfs.Error> "
24376 "exception.  This has a single parameter which is the error message (a "
24377 "string)."
24378 msgstr ""
24379
24380 #. type: textblock
24381 #: ../ocaml/examples/guestfs-ocaml.pod:66
24382 msgid ""
24383 "Calling any function/method on a closed handle raises C<Guestfs."
24384 "Handle_closed>.  The single parameter is the name of the function that you "
24385 "called."
24386 msgstr ""
24387
24388 #. type: textblock
24389 #: ../ocaml/examples/guestfs-ocaml.pod:80
24390 msgid ""
24391 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-erlang(3)>, L<guestfs-java"
24392 "(3)>, L<guestfs-perl(3)>, L<guestfs-python(3)>, L<guestfs-recipes(1)>, "
24393 "L<guestfs-ruby(3)>, L<http://libguestfs.org/>, L<http://caml.inria.fr/>."
24394 msgstr ""
24395
24396 #. type: textblock
24397 #: ../perl/examples/guestfs-perl.pod:5
24398 msgid "guestfs-perl - How to use libguestfs from Perl"
24399 msgstr ""
24400
24401 #. type: verbatim
24402 #: ../perl/examples/guestfs-perl.pod:9
24403 #, no-wrap
24404 msgid ""
24405 " use Sys::Guestfs;\n"
24406 " \n"
24407 msgstr ""
24408
24409 #. type: verbatim
24410 #: ../perl/examples/guestfs-perl.pod:11
24411 #, no-wrap
24412 msgid ""
24413 " my $h = Sys::Guestfs->new ();\n"
24414 " $h->add_drive_opts ('guest.img', format => 'raw');\n"
24415 " $h->launch ();\n"
24416 " $h->mount_options ('', '/dev/sda1', '/');\n"
24417 " $h->touch ('/hello');\n"
24418 " $h->sync ();\n"
24419 "\n"
24420 msgstr ""
24421
24422 #. type: textblock
24423 #: ../perl/examples/guestfs-perl.pod:20
24424 msgid ""
24425 "This manual page documents how to call libguestfs from the Perl programming "
24426 "language.  This page just documents the differences from the C API and gives "
24427 "some examples.  If you are not familiar with using libguestfs, you also need "
24428 "to read L<guestfs(3)>.  To read the full Perl API, see L<Sys::Guestfs(3)>."
24429 msgstr ""
24430
24431 #. type: =head2
24432 #: ../perl/examples/guestfs-perl.pod:26
24433 msgid "ERRORS"
24434 msgstr "ПОМИЛКИ"
24435
24436 #. type: textblock
24437 #: ../perl/examples/guestfs-perl.pod:28
24438 msgid ""
24439 "Errors from libguestfs functions turn into calls to C<croak> (see L<Carp(3)"
24440 ">)."
24441 msgstr ""
24442
24443 #. type: textblock
24444 #: ../perl/examples/guestfs-perl.pod:41
24445 msgid ""
24446 "L<Sys::Guestfs(3)>, L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-erlang"
24447 "(3)>, L<guestfs-java(3)>, L<guestfs-ocaml(3)>, L<guestfs-python(3)>, "
24448 "L<guestfs-recipes(1)>, L<guestfs-ruby(3)>, L<http://libguestfs.org/>."
24449 msgstr ""
24450
24451 #. type: textblock
24452 #: ../python/examples/guestfs-python.pod:5
24453 msgid "guestfs-python - How to use libguestfs from Python"
24454 msgstr ""
24455
24456 #. type: verbatim
24457 #: ../python/examples/guestfs-python.pod:9
24458 #, no-wrap
24459 msgid ""
24460 " import guestfs\n"
24461 " g = guestfs.GuestFS ()\n"
24462 " g.add_drive_opts (\"disk.img\", format=\"raw\", readonly=1)\n"
24463 " g.launch\n"
24464 "\n"
24465 msgstr ""
24466
24467 #. type: textblock
24468 #: ../python/examples/guestfs-python.pod:16
24469 msgid ""
24470 "This manual page documents how to call libguestfs from the Python "
24471 "programming language.  This page just documents the differences from the C "
24472 "API and gives some examples.  If you are not familiar with using libguestfs, "
24473 "you also need to read L<guestfs(3)>."
24474 msgstr ""
24475
24476 #. type: textblock
24477 #: ../python/examples/guestfs-python.pod:23
24478 msgid ""
24479 "Errors from libguestfs functions are mapped into C<RuntimeException> with a "
24480 "single string argument which is the error message."
24481 msgstr ""
24482
24483 #. type: =head2
24484 #: ../python/examples/guestfs-python.pod:26
24485 msgid "MORE DOCUMENTATION"
24486 msgstr ""
24487
24488 #. type: textblock
24489 #: ../python/examples/guestfs-python.pod:28
24490 msgid "Type:"
24491 msgstr "Тип:"
24492
24493 #. type: verbatim
24494 #: ../python/examples/guestfs-python.pod:30
24495 #, no-wrap
24496 msgid ""
24497 " $ python\n"
24498 " >>> import guestfs\n"
24499 " >>> help (guestfs)\n"
24500 "\n"
24501 msgstr ""
24502
24503 #. type: textblock
24504 #: ../python/examples/guestfs-python.pod:44
24505 msgid ""
24506 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-erlang(3)>, L<guestfs-java"
24507 "(3)>, L<guestfs-ocaml(3)>, L<guestfs-perl(3)>, L<guestfs-recipes(1)>, "
24508 "L<guestfs-ruby(3)>, L<http://libguestfs.org/>."
24509 msgstr ""
24510
24511 #. type: textblock
24512 #: ../rescue/virt-rescue.pod:5
24513 msgid "virt-rescue - Run a rescue shell on a virtual machine"
24514 msgstr ""
24515
24516 #. type: verbatim
24517 #: ../rescue/virt-rescue.pod:9
24518 #, no-wrap
24519 msgid ""
24520 " virt-rescue [--options] -d domname\n"
24521 "\n"
24522 msgstr ""
24523
24524 #. type: verbatim
24525 #: ../rescue/virt-rescue.pod:11
24526 #, no-wrap
24527 msgid ""
24528 " virt-rescue [--options] -a disk.img [-a disk.img ...]\n"
24529 "\n"
24530 msgstr ""
24531
24532 #. type: verbatim
24533 #: ../rescue/virt-rescue.pod:13
24534 #, fuzzy, no-wrap
24535 #| msgid ""
24536 #| " virt-filesystems --format=raw -a disk.img\n"
24537 #| "\n"
24538 msgid ""
24539 " virt-rescue --suggest (-d domname | -a disk.img ...)\n"
24540 "\n"
24541 msgstr ""
24542 " virt-filesystems --format=raw -a диск.img\n"
24543 "\n"
24544
24545 #. type: verbatim
24546 #: ../rescue/virt-rescue.pod:17
24547 #, no-wrap
24548 msgid ""
24549 " virt-rescue [--options] domname\n"
24550 "\n"
24551 msgstr ""
24552
24553 #. type: verbatim
24554 #: ../rescue/virt-rescue.pod:19
24555 #, no-wrap
24556 msgid ""
24557 " virt-rescue [--options] disk.img [disk.img ...]\n"
24558 "\n"
24559 msgstr ""
24560
24561 #. type: textblock
24562 #: ../rescue/virt-rescue.pod:23
24563 msgid ""
24564 "You must I<not> use C<virt-rescue> on live virtual machines.  Doing so will "
24565 "probably result in disk corruption in the VM.  C<virt-rescue> tries to stop "
24566 "you from doing this, but doesn't catch all cases."
24567 msgstr ""
24568
24569 #. type: textblock
24570 #: ../rescue/virt-rescue.pod:27
24571 msgid ""
24572 "However if you use the I<--ro> (read only) option, then you can attach a "
24573 "shell to a live virtual machine.  The results might be strange or "
24574 "inconsistent at times but you won't get disk corruption."
24575 msgstr ""
24576
24577 #. type: textblock
24578 #: ../rescue/virt-rescue.pod:33
24579 msgid ""
24580 "virt-rescue is like a Rescue CD, but for virtual machines, and without the "
24581 "need for a CD.  virt-rescue gives you a rescue shell and some simple "
24582 "recovery tools which you can use to examine or rescue a virtual machine or "
24583 "disk image."
24584 msgstr ""
24585
24586 #. type: textblock
24587 #: ../rescue/virt-rescue.pod:38
24588 msgid ""
24589 "You can run virt-rescue on any virtual machine known to libvirt, or directly "
24590 "on disk image(s):"
24591 msgstr ""
24592
24593 #. type: verbatim
24594 #: ../rescue/virt-rescue.pod:41
24595 #, no-wrap
24596 msgid ""
24597 " virt-rescue -d GuestName\n"
24598 "\n"
24599 msgstr ""
24600
24601 #. type: verbatim
24602 #: ../rescue/virt-rescue.pod:43
24603 #, no-wrap
24604 msgid ""
24605 " virt-rescue --ro -a /path/to/disk.img\n"
24606 "\n"
24607 msgstr ""
24608
24609 #. type: verbatim
24610 #: ../rescue/virt-rescue.pod:45
24611 #, no-wrap
24612 msgid ""
24613 " virt-rescue -a /dev/sdc\n"
24614 "\n"
24615 msgstr ""
24616
24617 #. type: textblock
24618 #: ../rescue/virt-rescue.pod:47
24619 msgid "For live VMs you I<must> use the --ro option."
24620 msgstr ""
24621
24622 #. type: textblock
24623 #: ../rescue/virt-rescue.pod:49
24624 msgid ""
24625 "When you run virt-rescue on a virtual machine or disk image, you are placed "
24626 "in an interactive bash shell where you can use many ordinary Linux "
24627 "commands.  What you see in C</> (C</bin>, C</lib> etc) is the rescue "
24628 "appliance.  You must mount the virtual machine's filesystems by hand.  There "
24629 "is an empty directory called C</sysroot> where you can mount filesystems."
24630 msgstr ""
24631
24632 #. type: textblock
24633 #: ../rescue/virt-rescue.pod:56
24634 msgid ""
24635 "You can get virt-rescue to suggest mount commands for you by using the I<--"
24636 "suggest> option (in another terminal):"
24637 msgstr ""
24638
24639 #. type: verbatim
24640 #: ../rescue/virt-rescue.pod:59
24641 #, no-wrap
24642 msgid ""
24643 " $ virt-rescue --suggest -d Fedora15\n"
24644 " Inspecting the virtual machine or disk image ...\n"
24645 " \n"
24646 msgstr ""
24647
24648 #. type: verbatim
24649 #: ../rescue/virt-rescue.pod:62
24650 #, no-wrap
24651 msgid ""
24652 " This disk contains one or more operating systems.  You can use these\n"
24653 " mount commands in virt-rescue (at the ><rescue> prompt) to mount the\n"
24654 " filesystems.\n"
24655 " \n"
24656 msgstr ""
24657
24658 #. type: verbatim
24659 #: ../rescue/virt-rescue.pod:66
24660 #, no-wrap
24661 msgid ""
24662 " # /dev/vg_f15x32/lv_root is the root of a linux operating system\n"
24663 " # type: linux, distro: fedora, version: 15.0\n"
24664 " # Fedora release 15 (Lovelock)\n"
24665 " \n"
24666 msgstr ""
24667
24668 #. type: verbatim
24669 #: ../rescue/virt-rescue.pod:70
24670 #, no-wrap
24671 msgid ""
24672 " mount /dev/vg_f15x32/lv_root /sysroot/\n"
24673 " mount /dev/vda1 /sysroot/boot\n"
24674 " mount --bind /dev /sysroot/dev\n"
24675 " mount --bind /dev/pts /sysroot/dev/pts\n"
24676 " mount --bind /proc /sysroot/proc\n"
24677 " mount --bind /sys /sysroot/sys\n"
24678 "\n"
24679 msgstr ""
24680
24681 #. type: textblock
24682 #: ../rescue/virt-rescue.pod:77
24683 msgid ""
24684 "Another way is to list the logical volumes (with L<lvs(8)>) and partitions "
24685 "(with L<parted(8)>) and mount them by hand:"
24686 msgstr ""
24687
24688 #. type: verbatim
24689 #: ../rescue/virt-rescue.pod:80
24690 #, no-wrap
24691 msgid ""
24692 " ><rescue> lvs\n"
24693 " LV      VG        Attr   LSize   Origin Snap%  Move Log Copy%  Convert\n"
24694 " lv_root vg_f15x32 -wi-a-   8.83G\n"
24695 " lv_swap vg_f15x32 -wi-a- 992.00M\n"
24696 " ><rescue> mount /dev/vg_f15x32/lv_root /sysroot\n"
24697 " ><rescue> mount /dev/vda1 /sysroot/boot\n"
24698 " ><rescue> ls /sysroot\n"
24699 "\n"
24700 msgstr ""
24701
24702 #. type: textblock
24703 #: ../rescue/virt-rescue.pod:88
24704 msgid ""
24705 "Another command to list available filesystems is L<virt-filesystems(1)>."
24706 msgstr ""
24707
24708 #. type: textblock
24709 #: ../rescue/virt-rescue.pod:91
24710 msgid ""
24711 "To run commands in a Linux guest (for example, grub), you should chroot into "
24712 "the /sysroot directory first:"
24713 msgstr ""
24714
24715 #. type: verbatim
24716 #: ../rescue/virt-rescue.pod:94
24717 #, no-wrap
24718 msgid ""
24719 " ><rescue> chroot /sysroot\n"
24720 "\n"
24721 msgstr ""
24722
24723 #. type: textblock
24724 #: ../rescue/virt-rescue.pod:98
24725 msgid ""
24726 "Virt-rescue can be used on I<any> disk image file or device, not just a "
24727 "virtual machine.  For example you can use it on a blank file if you want to "
24728 "partition that file (although we would recommend using L<guestfish(1)> "
24729 "instead as it is more suitable for this purpose).  You can even use virt-"
24730 "rescue on things like SD cards."
24731 msgstr ""
24732
24733 #. type: textblock
24734 #: ../rescue/virt-rescue.pod:104
24735 msgid ""
24736 "Virt-rescue does not require root.  You only need to run it as root if you "
24737 "need root to open the disk image."
24738 msgstr ""
24739
24740 #. type: textblock
24741 #: ../rescue/virt-rescue.pod:107
24742 msgid ""
24743 "This tool is just designed for quick interactive hacking on a virtual "
24744 "machine.  For more structured access to a virtual machine disk image, you "
24745 "should use L<guestfs(3)>.  To get a structured shell that you can use to "
24746 "make scripted changes to guests, use L<guestfish(1)>."
24747 msgstr ""
24748
24749 #. type: =item
24750 #: ../rescue/virt-rescue.pod:131
24751 msgid "B<--append kernelopts>"
24752 msgstr "B<--append параметри_ядра>"
24753
24754 #. type: textblock
24755 #: ../rescue/virt-rescue.pod:133
24756 msgid "Pass additional options to the rescue kernel."
24757 msgstr ""
24758
24759 #. type: verbatim
24760 #: ../rescue/virt-rescue.pod:163
24761 #, no-wrap
24762 msgid ""
24763 " virt-rescue --format=raw -a disk.img\n"
24764 "\n"
24765 msgstr ""
24766
24767 #. type: verbatim
24768 #: ../rescue/virt-rescue.pod:167
24769 #, no-wrap
24770 msgid ""
24771 " virt-rescue --format=raw -a disk.img --format -a another.img\n"
24772 "\n"
24773 msgstr ""
24774
24775 #. type: =item
24776 #: ../rescue/virt-rescue.pod:176
24777 msgid "B<-m MB>"
24778 msgstr "B<-m МБ>"
24779
24780 #. type: =item
24781 #: ../rescue/virt-rescue.pod:178
24782 msgid "B<--memsize MB>"
24783 msgstr "B<--memsize МБ>"
24784
24785 #. type: textblock
24786 #: ../rescue/virt-rescue.pod:180
24787 msgid ""
24788 "Change the amount of memory allocated to the rescue system.  The default is "
24789 "set by libguestfs and is small but adequate for running system tools.  The "
24790 "occasional program might need more memory.  The parameter is specified in "
24791 "megabytes."
24792 msgstr ""
24793
24794 #. type: =item
24795 #: ../rescue/virt-rescue.pod:185
24796 msgid "B<--network>"
24797 msgstr "B<--network>"
24798
24799 #. type: textblock
24800 #: ../rescue/virt-rescue.pod:187
24801 msgid "Enable QEMU user networking in the guest.  See L</NETWORK>."
24802 msgstr ""
24803
24804 #. type: textblock
24805 #: ../rescue/virt-rescue.pod:193
24806 msgid "Open the image read-only."
24807 msgstr ""
24808
24809 #. type: textblock
24810 #: ../rescue/virt-rescue.pod:203
24811 msgid ""
24812 "Enable SELinux in the rescue appliance.  You should read L<guestfs(3)/"
24813 "SELINUX> before using this option."
24814 msgstr ""
24815
24816 #. type: =item
24817 #: ../rescue/virt-rescue.pod:206
24818 msgid "B<--smp> N"
24819 msgstr ""
24820
24821 #. type: textblock
24822 #: ../rescue/virt-rescue.pod:208
24823 msgid "Enable N E<ge> 2 virtual CPUs in the rescue appliance."
24824 msgstr ""
24825
24826 #. type: =item
24827 #: ../rescue/virt-rescue.pod:210
24828 #, fuzzy
24829 #| msgid "B<--quiet>"
24830 msgid "B<--suggest>"
24831 msgstr "B<--quiet>"
24832
24833 #. type: textblock
24834 #: ../rescue/virt-rescue.pod:212
24835 msgid ""
24836 "Inspect the disk image and suggest what mount commands should be used to "
24837 "mount the disks.  You should use the I<--suggest> option in a second "
24838 "terminal, then paste the commands into another virt-rescue."
24839 msgstr ""
24840
24841 #. type: textblock
24842 #: ../rescue/virt-rescue.pod:216
24843 msgid ""
24844 "This option implies I<--ro> and is safe to use even if the guest is up or if "
24845 "another virt-rescue is running."
24846 msgstr ""
24847
24848 #. type: textblock
24849 #: ../rescue/virt-rescue.pod:235
24850 msgid ""
24851 "This changes the I<-a> and I<-d> options so that disks are added and mounts "
24852 "are done read-write."
24853 msgstr ""
24854
24855 #. type: textblock
24856 #: ../rescue/virt-rescue.pod:248
24857 msgid "Previous versions of virt-rescue allowed you to write either:"
24858 msgstr ""
24859
24860 #. type: verbatim
24861 #: ../rescue/virt-rescue.pod:250
24862 #, no-wrap
24863 msgid ""
24864 " virt-rescue disk.img [disk.img ...]\n"
24865 "\n"
24866 msgstr ""
24867
24868 #. type: verbatim
24869 #: ../rescue/virt-rescue.pod:254
24870 #, no-wrap
24871 msgid ""
24872 " virt-rescue guestname\n"
24873 "\n"
24874 msgstr ""
24875
24876 #. type: =head1
24877 #: ../rescue/virt-rescue.pod:262
24878 msgid "NETWORK"
24879 msgstr "МЕРЕЖА"
24880
24881 #. type: textblock
24882 #: ../rescue/virt-rescue.pod:264
24883 msgid ""
24884 "Adding the I<--network> option enables QEMU user networking in the rescue "
24885 "appliance.  There are some differences between user networking and ordinary "
24886 "networking:"
24887 msgstr ""
24888
24889 #. type: =item
24890 #: ../rescue/virt-rescue.pod:270
24891 msgid "ping does not work"
24892 msgstr ""
24893
24894 #. type: textblock
24895 #: ../rescue/virt-rescue.pod:272
24896 msgid ""
24897 "Because the ICMP ECHO_REQUEST protocol generally requires root in order to "
24898 "send the ping packets, and because virt-rescue must be able to run as non-"
24899 "root, QEMU user networking is not able to emulate the L<ping(8)> command.  "
24900 "The ping command will appear to resolve addresses but will not be able to "
24901 "send or receive any packets.  This does not mean that the network is not "
24902 "working."
24903 msgstr ""
24904
24905 #. type: =item
24906 #: ../rescue/virt-rescue.pod:279
24907 msgid "cannot receive connections"
24908 msgstr ""
24909
24910 #. type: textblock
24911 #: ../rescue/virt-rescue.pod:281
24912 msgid "QEMU user networking cannot receive incoming connections."
24913 msgstr ""
24914
24915 #. type: =item
24916 #: ../rescue/virt-rescue.pod:283
24917 msgid "making TCP connections"
24918 msgstr ""
24919
24920 #. type: textblock
24921 #: ../rescue/virt-rescue.pod:285
24922 msgid ""
24923 "The virt-rescue appliance needs to be small and so does not include many "
24924 "network tools.  In particular there is no L<telnet(1)> command.  You can "
24925 "make TCP connections from the shell using the magical C</dev/tcp/"
24926 "E<lt>hostnameE<gt>/E<lt>portE<gt>> syntax:"
24927 msgstr ""
24928
24929 #. type: verbatim
24930 #: ../rescue/virt-rescue.pod:290
24931 #, no-wrap
24932 msgid ""
24933 " exec 3<>/dev/tcp/redhat.com/80\n"
24934 " echo \"GET /\" >&3\n"
24935 " cat <&3\n"
24936 "\n"
24937 msgstr ""
24938
24939 #. type: textblock
24940 #: ../rescue/virt-rescue.pod:294
24941 msgid "See L<bash(1)> for more details."
24942 msgstr ""
24943
24944 #. type: textblock
24945 #: ../rescue/virt-rescue.pod:300
24946 msgid ""
24947 "Several environment variables affect virt-rescue.  See L<guestfs(3)/"
24948 "ENVIRONMENT VARIABLES> for the complete list."
24949 msgstr ""
24950
24951 #. type: textblock
24952 #: ../rescue/virt-rescue.pod:327
24953 #, fuzzy
24954 #| msgid ""
24955 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-copy-out(1)>, L<virt-edit(1)>, "
24956 #| "L<virt-tar-out(1)>, L<http://libguestfs.org/>."
24957 msgid ""
24958 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-"
24959 "filesystems(1)>, L<http://libguestfs.org/>."
24960 msgstr ""
24961 "L<guestfs(3)>, L<guestfish(1)>, L<virt-copy-out(1)>, L<virt-edit(1)>, L<virt-"
24962 "tar-out(1)>, L<http://libguestfs.org/>."
24963
24964 #. type: textblock
24965 #: ../resize/virt-resize.pod:5
24966 msgid "virt-resize - Resize a virtual machine disk"
24967 msgstr ""
24968
24969 #. type: verbatim
24970 #: ../resize/virt-resize.pod:9
24971 #, no-wrap
24972 msgid ""
24973 " virt-resize [--resize /dev/sdaN=[+/-]<size>[%]]\n"
24974 "   [--expand /dev/sdaN] [--shrink /dev/sdaN]\n"
24975 "   [--ignore /dev/sdaN] [--delete /dev/sdaN] [...] indisk outdisk\n"
24976 "\n"
24977 msgstr ""
24978
24979 #. type: textblock
24980 #: ../resize/virt-resize.pod:15
24981 msgid ""
24982 "Virt-resize is a tool which can resize a virtual machine disk, making it "
24983 "larger or smaller overall, and resizing or deleting any partitions contained "
24984 "within."
24985 msgstr ""
24986
24987 #. type: textblock
24988 #: ../resize/virt-resize.pod:19
24989 msgid ""
24990 "Virt-resize B<cannot> resize disk images in-place.  Virt-resize B<should "
24991 "not> be used on live virtual machines - for consistent results, shut the "
24992 "virtual machine down before resizing it."
24993 msgstr ""
24994
24995 #. type: textblock
24996 #: ../resize/virt-resize.pod:23
24997 msgid ""
24998 "If you are not familiar with the associated tools: L<virt-filesystems(1)> "
24999 "and L<virt-df(1)>, we recommend you go and read those manual pages first."
25000 msgstr ""
25001
25002 #. type: =item
25003 #: ../resize/virt-resize.pod:31 ../resize/virt-resize.pod:603
25004 #: ../sparsify/virt-sparsify.pod:227 ../src/guestfs.pod:484
25005 #: ../src/guestfs.pod:1302 ../src/guestfs.pod:1441 ../src/guestfs.pod:2690
25006 msgid "1."
25007 msgstr "1."
25008
25009 #. type: textblock
25010 #: ../resize/virt-resize.pod:33
25011 msgid ""
25012 "Copy C<olddisk> to C<newdisk>, extending one of the guest's partitions to "
25013 "fill the extra 5GB of space."
25014 msgstr ""
25015
25016 #. type: verbatim
25017 #: ../resize/virt-resize.pod:36
25018 #, no-wrap
25019 msgid ""
25020 " virt-filesystems --long -h --all -a olddisk\n"
25021 " \n"
25022 msgstr ""
25023
25024 #. type: verbatim
25025 #: ../resize/virt-resize.pod:38
25026 #, no-wrap
25027 msgid ""
25028 " truncate -r olddisk newdisk\n"
25029 " truncate -s +5G newdisk\n"
25030 " \n"
25031 msgstr ""
25032
25033 #. type: verbatim
25034 #: ../resize/virt-resize.pod:41
25035 #, no-wrap
25036 msgid ""
25037 " # Note \"/dev/sda2\" is a partition inside the \"olddisk\" file.\n"
25038 " virt-resize --expand /dev/sda2 olddisk newdisk\n"
25039 "\n"
25040 msgstr ""
25041
25042 #. type: =item
25043 #: ../resize/virt-resize.pod:44 ../resize/virt-resize.pod:610
25044 #: ../sparsify/virt-sparsify.pod:234 ../src/guestfs.pod:490
25045 #: ../src/guestfs.pod:1306 ../src/guestfs.pod:1445 ../src/guestfs.pod:2715
25046 msgid "2."
25047 msgstr "2."
25048
25049 #. type: textblock
25050 #: ../resize/virt-resize.pod:46
25051 msgid ""
25052 "As above, but make the /boot partition 200MB bigger, while giving the "
25053 "remaining space to /dev/sda2:"
25054 msgstr ""
25055
25056 #. type: verbatim
25057 #: ../resize/virt-resize.pod:49
25058 #, no-wrap
25059 msgid ""
25060 " virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 \\\n"
25061 "   olddisk newdisk\n"
25062 "\n"
25063 msgstr ""
25064
25065 #. type: =item
25066 #: ../resize/virt-resize.pod:52 ../resize/virt-resize.pod:616
25067 #: ../sparsify/virt-sparsify.pod:240 ../src/guestfs.pod:501
25068 #: ../src/guestfs.pod:1451
25069 msgid "3."
25070 msgstr "3."
25071
25072 #. type: textblock
25073 #: ../resize/virt-resize.pod:54
25074 msgid ""
25075 "As in the first example, but expand a logical volume as the final step.  "
25076 "This is what you would typically use for Linux guests that use LVM:"
25077 msgstr ""
25078
25079 #. type: verbatim
25080 #: ../resize/virt-resize.pod:58
25081 #, no-wrap
25082 msgid ""
25083 " virt-resize --expand /dev/sda2 --LV-expand /dev/vg_guest/lv_root \\\n"
25084 "   olddisk newdisk\n"
25085 "\n"
25086 msgstr ""
25087
25088 #. type: =item
25089 #: ../resize/virt-resize.pod:61
25090 msgid "4."
25091 msgstr ""
25092
25093 #. type: textblock
25094 #: ../resize/virt-resize.pod:63
25095 msgid ""
25096 "As in the first example, but the output format will be qcow2 instead of a "
25097 "raw disk:"
25098 msgstr ""
25099
25100 #. type: verbatim
25101 #: ../resize/virt-resize.pod:66
25102 #, no-wrap
25103 msgid ""
25104 " qemu-img create -f qcow2 newdisk.qcow2 15G\n"
25105 " virt-resize --expand /dev/sda2 olddisk newdisk.qcow2\n"
25106 "\n"
25107 msgstr ""
25108
25109 #. type: =head1
25110 #: ../resize/virt-resize.pod:71
25111 msgid "DETAILED USAGE"
25112 msgstr "ДОКЛАДНІШЕ ЩОДО ВИКОРИСТАННЯ"
25113
25114 #. type: =head2
25115 #: ../resize/virt-resize.pod:73
25116 msgid "EXPANDING A VIRTUAL MACHINE DISK"
25117 msgstr "РОЗШИРЕННЯ ДИСКА ВІРТУАЛЬНОЇ МАШИНИ"
25118
25119 #. type: =item
25120 #: ../resize/virt-resize.pod:77
25121 msgid "1. Shut down the virtual machine"
25122 msgstr ""
25123
25124 #. type: =item
25125 #: ../resize/virt-resize.pod:79
25126 msgid "2. Locate input disk image"
25127 msgstr ""
25128
25129 #. type: textblock
25130 #: ../resize/virt-resize.pod:81
25131 msgid ""
25132 "Locate the input disk image (ie. the file or device on the host containing "
25133 "the guest's disk).  If the guest is managed by libvirt, you can use C<virsh "
25134 "dumpxml> like this to find the disk image name:"
25135 msgstr ""
25136
25137 #. type: verbatim
25138 #: ../resize/virt-resize.pod:85
25139 #, no-wrap
25140 msgid ""
25141 " # virsh dumpxml guestname | xpath /domain/devices/disk/source\n"
25142 " Found 1 nodes:\n"
25143 " -- NODE --\n"
25144 " <source dev=\"/dev/vg/lv_guest\" />\n"
25145 "\n"
25146 msgstr ""
25147
25148 #. type: =item
25149 #: ../resize/virt-resize.pod:90
25150 msgid "3. Look at current sizing"
25151 msgstr ""
25152
25153 #. type: textblock
25154 #: ../resize/virt-resize.pod:92
25155 msgid "Use L<virt-filesystems(1)> to display the current partitions and sizes:"
25156 msgstr ""
25157
25158 #. type: verbatim
25159 #: ../resize/virt-resize.pod:95
25160 #, no-wrap
25161 msgid ""
25162 " # virt-filesystems --long --parts --blkdevs -h -a /dev/vg/lv_guest\n"
25163 " Name       Type       Size  Parent\n"
25164 " /dev/sda1  partition  101M  /dev/sda\n"
25165 " /dev/sda2  partition  7.9G  /dev/sda\n"
25166 " /dev/sda   device     8.0G  -\n"
25167 "\n"
25168 msgstr ""
25169
25170 #. type: textblock
25171 #: ../resize/virt-resize.pod:101
25172 msgid ""
25173 "(This example is a virtual machine with an 8 GB disk which we would like to "
25174 "expand up to 10 GB)."
25175 msgstr ""
25176
25177 #. type: =item
25178 #: ../resize/virt-resize.pod:104
25179 msgid "4. Create output disk"
25180 msgstr ""
25181
25182 #. type: textblock
25183 #: ../resize/virt-resize.pod:106
25184 msgid ""
25185 "Virt-resize cannot do in-place disk modifications.  You have to have space "
25186 "to store the resized output disk."
25187 msgstr ""
25188
25189 #. type: textblock
25190 #: ../resize/virt-resize.pod:109
25191 msgid ""
25192 "To store the resized disk image in a file, create a file of a suitable size:"
25193 msgstr ""
25194
25195 #. type: verbatim
25196 #: ../resize/virt-resize.pod:112
25197 #, no-wrap
25198 msgid ""
25199 " # rm -f outdisk\n"
25200 " # truncate -s 10G outdisk\n"
25201 "\n"
25202 msgstr ""
25203
25204 #. type: textblock
25205 #: ../resize/virt-resize.pod:115
25206 msgid "Or use L<lvcreate(1)> to create a logical volume:"
25207 msgstr ""
25208
25209 #. type: verbatim
25210 #: ../resize/virt-resize.pod:117
25211 #, no-wrap
25212 msgid ""
25213 " # lvcreate -L 10G -n lv_name vg_name\n"
25214 "\n"
25215 msgstr ""
25216
25217 #. type: textblock
25218 #: ../resize/virt-resize.pod:119
25219 msgid "Or use L<virsh(1)> vol-create-as to create a libvirt storage volume:"
25220 msgstr ""
25221
25222 #. type: verbatim
25223 #: ../resize/virt-resize.pod:121
25224 #, no-wrap
25225 msgid ""
25226 " # virsh pool-list\n"
25227 " # virsh vol-create-as poolname newvol 10G\n"
25228 "\n"
25229 msgstr ""
25230
25231 #. type: =item
25232 #: ../resize/virt-resize.pod:124
25233 msgid "5. Resize"
25234 msgstr "5. Зміна розміру"
25235
25236 #. type: textblock
25237 #: ../resize/virt-resize.pod:126
25238 msgid ""
25239 "virt-resize takes two mandatory parameters, the input disk (eg. device or "
25240 "file) and the output disk.  The output disk is the one created in the "
25241 "previous step."
25242 msgstr ""
25243
25244 #. type: verbatim
25245 #: ../resize/virt-resize.pod:130
25246 #, no-wrap
25247 msgid ""
25248 " # virt-resize indisk outdisk\n"
25249 "\n"
25250 msgstr ""
25251
25252 #. type: textblock
25253 #: ../resize/virt-resize.pod:132
25254 msgid ""
25255 "This command just copies disk image C<indisk> to disk image C<outdisk> "
25256 "I<without> resizing or changing any existing partitions.  If C<outdisk> is "
25257 "larger, then an extra, empty partition is created at the end of the disk "
25258 "covering the extra space.  If C<outdisk> is smaller, then it will give an "
25259 "error."
25260 msgstr ""
25261
25262 #. type: textblock
25263 #: ../resize/virt-resize.pod:138
25264 msgid ""
25265 "More realistically you'd want to expand existing partitions in the disk "
25266 "image by passing extra options (for the full list see the L</OPTIONS> "
25267 "section below)."
25268 msgstr ""
25269
25270 #. type: textblock
25271 #: ../resize/virt-resize.pod:142
25272 msgid ""
25273 "L</--expand> is the most useful option.  It expands the named partition "
25274 "within the disk to fill any extra space:"
25275 msgstr ""
25276
25277 #. type: verbatim
25278 #: ../resize/virt-resize.pod:145
25279 #, no-wrap
25280 msgid ""
25281 " # virt-resize --expand /dev/sda2 indisk outdisk\n"
25282 "\n"
25283 msgstr ""
25284
25285 #. type: textblock
25286 #: ../resize/virt-resize.pod:147
25287 msgid ""
25288 "(In this case, an extra partition is I<not> created at the end of the disk, "
25289 "because there will be no unused space)."
25290 msgstr ""
25291
25292 #. type: textblock
25293 #: ../resize/virt-resize.pod:150
25294 msgid ""
25295 "L</--resize> is the other commonly used option.  The following would "
25296 "increase the size of /dev/sda1 by 200M, and expand /dev/sda2 to fill the "
25297 "rest of the available space:"
25298 msgstr ""
25299
25300 #. type: verbatim
25301 #: ../resize/virt-resize.pod:154
25302 #, no-wrap
25303 msgid ""
25304 " # virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 \\\n"
25305 "     indisk outdisk\n"
25306 "\n"
25307 msgstr ""
25308
25309 #. type: textblock
25310 #: ../resize/virt-resize.pod:157
25311 msgid ""
25312 "If the expanded partition in the image contains a filesystem or LVM PV, then "
25313 "if virt-resize knows how, it will resize the contents, the equivalent of "
25314 "calling a command such as L<pvresize(8)>, L<resize2fs(8)>, L<ntfsresize(8)> "
25315 "or L<btrfs(8)>.  However virt-resize does not know how to resize some "
25316 "filesystems, so you would have to online resize them after booting the guest."
25317 msgstr ""
25318
25319 #. type: textblock
25320 #: ../resize/virt-resize.pod:164
25321 msgid "Other options are covered below."
25322 msgstr ""
25323
25324 #. type: =item
25325 #: ../resize/virt-resize.pod:166
25326 msgid "6. Test"
25327 msgstr "6. Перевірка"
25328
25329 #. type: textblock
25330 #: ../resize/virt-resize.pod:168
25331 msgid "Thoroughly test the new disk image I<before> discarding the old one."
25332 msgstr ""
25333
25334 #. type: textblock
25335 #: ../resize/virt-resize.pod:170
25336 msgid "If you are using libvirt, edit the XML to point at the new disk:"
25337 msgstr ""
25338
25339 #. type: verbatim
25340 #: ../resize/virt-resize.pod:172
25341 #, no-wrap
25342 msgid ""
25343 " # virsh edit guestname\n"
25344 "\n"
25345 msgstr ""
25346
25347 #. type: textblock
25348 #: ../resize/virt-resize.pod:174
25349 msgid ""
25350 "Change E<lt>source ...E<gt>, see L<http://libvirt.org/formatdomain."
25351 "html#elementsDisks>"
25352 msgstr ""
25353
25354 #. type: textblock
25355 #: ../resize/virt-resize.pod:177
25356 msgid "Then start up the domain with the new, resized disk:"
25357 msgstr ""
25358
25359 #. type: verbatim
25360 #: ../resize/virt-resize.pod:179
25361 #, no-wrap
25362 msgid ""
25363 " # virsh start guestname\n"
25364 "\n"
25365 msgstr ""
25366
25367 #. type: textblock
25368 #: ../resize/virt-resize.pod:181
25369 msgid ""
25370 "and check that it still works.  See also the L</NOTES> section below for "
25371 "additional information."
25372 msgstr ""
25373
25374 #. type: =item
25375 #: ../resize/virt-resize.pod:184
25376 msgid "7. Resize LVs etc inside the guest"
25377 msgstr ""
25378
25379 #. type: textblock
25380 #: ../resize/virt-resize.pod:186
25381 msgid "(This can also be done offline using L<guestfish(1)>)"
25382 msgstr ""
25383
25384 #. type: textblock
25385 #: ../resize/virt-resize.pod:188
25386 msgid ""
25387 "Once the guest has booted you should see the new space available, at least "
25388 "for filesystems that virt-resize knows how to resize, and for PVs.  The user "
25389 "may need to resize LVs inside PVs, and also resize filesystem types that "
25390 "virt-resize does not know how to expand."
25391 msgstr ""
25392
25393 #. type: =head2
25394 #: ../resize/virt-resize.pod:195
25395 msgid "SHRINKING A VIRTUAL MACHINE DISK"
25396 msgstr ""
25397
25398 #. type: textblock
25399 #: ../resize/virt-resize.pod:197
25400 msgid ""
25401 "Shrinking is somewhat more complex than expanding, and only an overview is "
25402 "given here."
25403 msgstr ""
25404
25405 #. type: textblock
25406 #: ../resize/virt-resize.pod:200
25407 msgid ""
25408 "Firstly virt-resize will not attempt to shrink any partition content (PVs, "
25409 "filesystems).  The user has to shrink content before passing the disk image "
25410 "to virt-resize, and virt-resize will check that the content has been shrunk "
25411 "properly."
25412 msgstr ""
25413
25414 #. type: textblock
25415 #: ../resize/virt-resize.pod:205
25416 msgid "(Shrinking can also be done offline using L<guestfish(1)>)"
25417 msgstr ""
25418
25419 #. type: textblock
25420 #: ../resize/virt-resize.pod:207
25421 msgid ""
25422 "After shrinking PVs and filesystems, shut down the guest, and proceed with "
25423 "steps 3 and 4 above to allocate a new disk image."
25424 msgstr ""
25425
25426 #. type: textblock
25427 #: ../resize/virt-resize.pod:210
25428 msgid ""
25429 "Then run virt-resize with any of the I<--shrink> and/or I<--resize> options."
25430 msgstr ""
25431
25432 #. type: =head2
25433 #: ../resize/virt-resize.pod:213
25434 msgid "IGNORING OR DELETING PARTITIONS"
25435 msgstr ""
25436
25437 #. type: textblock
25438 #: ../resize/virt-resize.pod:215
25439 msgid ""
25440 "virt-resize also gives a convenient way to ignore or delete partitions when "
25441 "copying from the input disk to the output disk.  Ignoring a partition speeds "
25442 "up the copy where you don't care about the existing contents of a "
25443 "partition.  Deleting a partition removes it completely, but note that it "
25444 "also renumbers any partitions after the one which is deleted, which can "
25445 "leave some guests unbootable."
25446 msgstr ""
25447
25448 #. type: =head2
25449 #: ../resize/virt-resize.pod:222
25450 msgid "QCOW2 AND NON-SPARSE RAW FORMATS"
25451 msgstr ""
25452
25453 #. type: textblock
25454 #: ../resize/virt-resize.pod:224
25455 msgid ""
25456 "If the input disk is in qcow2 format, then you may prefer that the output is "
25457 "in qcow2 format as well.  Alternately, virt-resize can convert the format on "
25458 "the fly.  The output format is simply determined by the format of the empty "
25459 "output container that you provide.  Thus to create qcow2 output, use:"
25460 msgstr ""
25461
25462 #. type: verbatim
25463 #: ../resize/virt-resize.pod:230
25464 #, no-wrap
25465 msgid ""
25466 " qemu-img create [-c] -f qcow2 outdisk [size]\n"
25467 "\n"
25468 msgstr ""
25469
25470 #. type: textblock
25471 #: ../resize/virt-resize.pod:232
25472 msgid "instead of the truncate command (use I<-c> for a compressed disk)."
25473 msgstr ""
25474
25475 #. type: textblock
25476 #: ../resize/virt-resize.pod:234
25477 msgid "Similarly, to get non-sparse raw output use:"
25478 msgstr ""
25479
25480 #. type: verbatim
25481 #: ../resize/virt-resize.pod:236
25482 #, no-wrap
25483 msgid ""
25484 " fallocate -l size outdisk\n"
25485 "\n"
25486 msgstr ""
25487
25488 #. type: textblock
25489 #: ../resize/virt-resize.pod:238
25490 msgid ""
25491 "(on older systems that don't have the L<fallocate(1)> command use C<dd if=/"
25492 "dev/zero of=outdisk bs=1M count=..>)"
25493 msgstr ""
25494
25495 #. type: =head2
25496 #: ../resize/virt-resize.pod:241
25497 msgid "LOGICAL PARTITIONS"
25498 msgstr ""
25499
25500 #. type: textblock
25501 #: ../resize/virt-resize.pod:243
25502 msgid ""
25503 "Logical partitions (a.k.a. C</dev/sda5+> on disks using DOS partition "
25504 "tables) cannot be resized."
25505 msgstr ""
25506
25507 #. type: textblock
25508 #: ../resize/virt-resize.pod:246
25509 msgid ""
25510 "To understand what is going on, firstly one of the four partitions C</dev/"
25511 "sda1-4> will have MBR partition type C<05> or C<0f>.  This is called the "
25512 "B<extended partition>.  Use L<virt-filesystems(1)> to see the MBR partition "
25513 "type."
25514 msgstr ""
25515
25516 #. type: textblock
25517 #: ../resize/virt-resize.pod:251
25518 msgid "Logical partitions live inside the extended partition."
25519 msgstr ""
25520
25521 #. type: textblock
25522 #: ../resize/virt-resize.pod:253
25523 msgid ""
25524 "The extended partition can be expanded, but not shrunk (unless you force it, "
25525 "which is not advisable).  When the extended partition is copied across, all "
25526 "the logical partitions contained inside are copied over implicitly.  Virt-"
25527 "resize does not look inside the extended partition, so it copies the logical "
25528 "partitions blindly."
25529 msgstr ""
25530
25531 #. type: textblock
25532 #: ../resize/virt-resize.pod:259
25533 msgid ""
25534 "You cannot specify a logical partition (C</dev/sda5+>) at all on the command "
25535 "line.  Doing so will give an error."
25536 msgstr ""
25537
25538 #. type: textblock
25539 #: ../resize/virt-resize.pod:268 ../sparsify/virt-sparsify.pod:105
25540 msgid "Display help."
25541 msgstr ""
25542
25543 #. type: =item
25544 #: ../resize/virt-resize.pod:270
25545 msgid "B<--align-first auto>"
25546 msgstr ""
25547
25548 #. type: =item
25549 #: ../resize/virt-resize.pod:272
25550 msgid "B<--align-first never>"
25551 msgstr ""
25552
25553 #. type: =item
25554 #: ../resize/virt-resize.pod:274
25555 msgid "B<--align-first always>"
25556 msgstr ""
25557
25558 #. type: textblock
25559 #: ../resize/virt-resize.pod:276
25560 msgid ""
25561 "Align the first partition for improved performance (see also the I<--"
25562 "alignment> option)."
25563 msgstr ""
25564
25565 #. type: textblock
25566 #: ../resize/virt-resize.pod:279
25567 msgid ""
25568 "The default is I<--align-first auto> which only aligns the first partition "
25569 "if it is safe to do so.  That is, only when we know how to fix the "
25570 "bootloader automatically, and at the moment that can only be done for "
25571 "Windows guests."
25572 msgstr ""
25573
25574 #. type: textblock
25575 #: ../resize/virt-resize.pod:284
25576 msgid ""
25577 "I<--align-first never> means we never move the first partition.  This is the "
25578 "safest option.  Try this if the guest does not boot after resizing."
25579 msgstr ""
25580
25581 #. type: textblock
25582 #: ../resize/virt-resize.pod:288
25583 msgid ""
25584 "I<--align-first always> means we always align the first partition (if it "
25585 "needs to be aligned).  For some guests this will break the bootloader, "
25586 "making the guest unbootable."
25587 msgstr ""
25588
25589 #. type: =item
25590 #: ../resize/virt-resize.pod:292
25591 msgid "B<--alignment N>"
25592 msgstr ""
25593
25594 #. type: textblock
25595 #: ../resize/virt-resize.pod:294
25596 msgid ""
25597 "Set the alignment of partitions to C<N> sectors.  The default in virt-resize "
25598 "E<lt> 1.13.19 was 64 sectors, and after that is 128 sectors."
25599 msgstr ""
25600
25601 #. type: textblock
25602 #: ../resize/virt-resize.pod:298
25603 msgid ""
25604 "Assuming 512 byte sector size inside the guest, here are some suitable "
25605 "values for this:"
25606 msgstr ""
25607
25608 #. type: =item
25609 #: ../resize/virt-resize.pod:303
25610 msgid "I<--alignment 1> (512 bytes)"
25611 msgstr ""
25612
25613 #. type: textblock
25614 #: ../resize/virt-resize.pod:305
25615 msgid ""
25616 "The partitions would be packed together as closely as possible, but would be "
25617 "completely unaligned.  In some cases this can cause very poor performance.  "
25618 "See L<virt-alignment-scan(1)> for further details."
25619 msgstr ""
25620
25621 #. type: =item
25622 #: ../resize/virt-resize.pod:309
25623 msgid "I<--alignment 8> (4K)"
25624 msgstr ""
25625
25626 #. type: textblock
25627 #: ../resize/virt-resize.pod:311
25628 msgid ""
25629 "This would be the minimum acceptable alignment for reasonable performance on "
25630 "modern hosts."
25631 msgstr ""
25632
25633 #. type: =item
25634 #: ../resize/virt-resize.pod:314
25635 msgid "I<--alignment 128> (64K)"
25636 msgstr ""
25637
25638 #. type: textblock
25639 #: ../resize/virt-resize.pod:316
25640 msgid ""
25641 "This alignment provides good performance when the host is using high end "
25642 "network storage."
25643 msgstr ""
25644
25645 #. type: =item
25646 #: ../resize/virt-resize.pod:319
25647 msgid "I<--alignment 2048> (1M)"
25648 msgstr ""
25649
25650 #. type: textblock
25651 #: ../resize/virt-resize.pod:321
25652 msgid ""
25653 "This is the standard alignment used by all newly installed guests since "
25654 "around 2008."
25655 msgstr ""
25656
25657 #. type: =item
25658 #: ../resize/virt-resize.pod:326
25659 msgid "B<-d>"
25660 msgstr "B<-d>"
25661
25662 #. type: =item
25663 #: ../resize/virt-resize.pod:328 ../tools/virt-make-fs.pl:177
25664 #: ../tools/virt-win-reg.pl:120
25665 msgid "B<--debug>"
25666 msgstr "B<--debug>"
25667
25668 #. type: textblock
25669 #: ../resize/virt-resize.pod:330 ../tools/virt-win-reg.pl:122
25670 msgid "Enable debugging messages."
25671 msgstr ""
25672
25673 #. type: =item
25674 #: ../resize/virt-resize.pod:332 ../sparsify/virt-sparsify.pod:131
25675 #, fuzzy
25676 #| msgid "B<--debug>"
25677 msgid "B<--debug-gc>"
25678 msgstr "B<--debug>"
25679
25680 #. type: textblock
25681 #: ../resize/virt-resize.pod:334
25682 msgid ""
25683 "Debug garbage collection and memory allocation.  This is only useful when "
25684 "debugging memory problems in virt-resize or the OCaml libguestfs bindings."
25685 msgstr ""
25686
25687 #. type: =item
25688 #: ../resize/virt-resize.pod:338
25689 msgid "B<--delete part>"
25690 msgstr "B<--delete розділ>"
25691
25692 #. type: textblock
25693 #: ../resize/virt-resize.pod:340
25694 msgid ""
25695 "Delete the named partition.  It would be more accurate to describe this as "
25696 "\"don't copy it over\", since virt-resize doesn't do in-place changes and "
25697 "the original disk image is left intact."
25698 msgstr ""
25699
25700 #. type: textblock
25701 #: ../resize/virt-resize.pod:344
25702 msgid ""
25703 "Note that when you delete a partition, then anything contained in the "
25704 "partition is also deleted.  Furthermore, this causes any partitions that "
25705 "come after to be I<renumbered>, which can easily make your guest unbootable."
25706 msgstr ""
25707
25708 #. type: textblock
25709 #: ../resize/virt-resize.pod:349 ../resize/virt-resize.pod:410
25710 #: ../resize/virt-resize.pod:537 ../sparsify/virt-sparsify.pod:157
25711 msgid "You can give this option multiple times."
25712 msgstr ""
25713
25714 #. type: =item
25715 #: ../resize/virt-resize.pod:351
25716 msgid "B<--expand part>"
25717 msgstr "B<--expand розділ>"
25718
25719 #. type: textblock
25720 #: ../resize/virt-resize.pod:353
25721 msgid ""
25722 "Expand the named partition so it uses up all extra space (space left over "
25723 "after any other resize changes that you request have been done)."
25724 msgstr ""
25725
25726 #. type: textblock
25727 #: ../resize/virt-resize.pod:356
25728 msgid ""
25729 "If virt-resize knows how, it will expand the direct content of the "
25730 "partition.  For example, if the partition is an LVM PV, it will expand the "
25731 "PV to fit (like calling L<pvresize(8)>).  Virt-resize leaves any other "
25732 "content it doesn't know about alone."
25733 msgstr ""
25734
25735 #. type: textblock
25736 #: ../resize/virt-resize.pod:361
25737 msgid "Currently virt-resize can resize:"
25738 msgstr ""
25739
25740 #. type: textblock
25741 #: ../resize/virt-resize.pod:367
25742 msgid "ext2, ext3 and ext4 filesystems."
25743 msgstr ""
25744
25745 #. type: textblock
25746 #: ../resize/virt-resize.pod:371
25747 msgid "NTFS filesystems, if libguestfs was compiled with support for NTFS."
25748 msgstr ""
25749
25750 #. type: textblock
25751 #: ../resize/virt-resize.pod:373
25752 msgid ""
25753 "The filesystem must have been shut down consistently last time it was used.  "
25754 "Additionally, L<ntfsresize(8)> marks the resized filesystem as requiring a "
25755 "consistency check, so at the first boot after resizing Windows will check "
25756 "the disk."
25757 msgstr ""
25758
25759 #. type: textblock
25760 #: ../resize/virt-resize.pod:380
25761 msgid ""
25762 "LVM PVs (physical volumes).  virt-resize does not usually resize anything "
25763 "inside the PV, but see the I<--LV-expand> option.  The user could also "
25764 "resize LVs as desired after boot."
25765 msgstr ""
25766
25767 #. type: textblock
25768 #: ../resize/virt-resize.pod:386
25769 msgid "Btrfs filesystems, if libguestfs was compiled with support for btrfs."
25770 msgstr ""
25771
25772 #. type: textblock
25773 #: ../resize/virt-resize.pod:390 ../resize/virt-resize.pod:565
25774 msgid "Note that you cannot use I<--expand> and I<--shrink> together."
25775 msgstr ""
25776
25777 #. type: =item
25778 #: ../resize/virt-resize.pod:392 ../sparsify/virt-sparsify.pod:137
25779 #: ../tools/virt-list-filesystems.pl:91 ../tools/virt-list-partitions.pl:92
25780 #: ../tools/virt-tar.pl:141 ../tools/virt-win-reg.pl:142
25781 msgid "B<--format> raw"
25782 msgstr "B<--format> raw"
25783
25784 #. type: textblock
25785 #: ../resize/virt-resize.pod:394 ../sparsify/virt-sparsify.pod:141
25786 msgid ""
25787 "Specify the format of the input disk image.  If this flag is not given then "
25788 "it is auto-detected from the image itself."
25789 msgstr ""
25790
25791 #. type: textblock
25792 #: ../resize/virt-resize.pod:400
25793 msgid ""
25794 "Note that this option I<does not> affect the output format.  See L</QCOW2 "
25795 "AND NON-SPARSE RAW FORMATS>."
25796 msgstr ""
25797
25798 #. type: =item
25799 #: ../resize/virt-resize.pod:403
25800 msgid "B<--ignore part>"
25801 msgstr "B<--ignore розділ>"
25802
25803 #. type: textblock
25804 #: ../resize/virt-resize.pod:405
25805 msgid ""
25806 "Ignore the named partition.  Effectively this means the partition is "
25807 "allocated on the destination disk, but the content is not copied across from "
25808 "the source disk.  The content of the partition will be blank (all zero "
25809 "bytes)."
25810 msgstr ""
25811
25812 #. type: =item
25813 #: ../resize/virt-resize.pod:412
25814 msgid "B<--LV-expand logvol>"
25815 msgstr "B<--LV-expand логічний_том>"
25816
25817 #. type: textblock
25818 #: ../resize/virt-resize.pod:414
25819 msgid ""
25820 "This takes the logical volume and, as a final step, expands it to fill all "
25821 "the space available in its volume group.  A typical usage, assuming a Linux "
25822 "guest with a single PV C</dev/sda2> and a root device called C</dev/vg_guest/"
25823 "lv_root> would be:"
25824 msgstr ""
25825
25826 #. type: verbatim
25827 #: ../resize/virt-resize.pod:419
25828 #, no-wrap
25829 msgid ""
25830 " virt-resize indisk outdisk \\\n"
25831 "   --expand /dev/sda2 --LV-expand /dev/vg_guest/lv_root\n"
25832 "\n"
25833 msgstr ""
25834
25835 #. type: textblock
25836 #: ../resize/virt-resize.pod:422
25837 msgid ""
25838 "This would first expand the partition (and PV), and then expand the root "
25839 "device to fill the extra space in the PV."
25840 msgstr ""
25841
25842 #. type: textblock
25843 #: ../resize/virt-resize.pod:425
25844 msgid ""
25845 "The contents of the LV are also resized if virt-resize knows how to do "
25846 "that.  You can stop virt-resize from trying to expand the content by using "
25847 "the option I<--no-expand-content>."
25848 msgstr ""
25849
25850 #. type: textblock
25851 #: ../resize/virt-resize.pod:429
25852 msgid "Use L<virt-filesystems(1)> to list the filesystems in the guest."
25853 msgstr ""
25854
25855 #. type: textblock
25856 #: ../resize/virt-resize.pod:431
25857 msgid ""
25858 "You can give this option multiple times, I<but> it doesn't make sense to do "
25859 "this unless the logical volumes you specify are all in different volume "
25860 "groups."
25861 msgstr ""
25862
25863 #. type: =item
25864 #: ../resize/virt-resize.pod:435 ../sparsify/virt-sparsify.pod:159
25865 msgid "B<--machine-readable>"
25866 msgstr ""
25867
25868 #. type: textblock
25869 #: ../resize/virt-resize.pod:437 ../sparsify/virt-sparsify.pod:161
25870 msgid ""
25871 "This option is used to make the output more machine friendly when being "
25872 "parsed by other programs.  See L</MACHINE READABLE OUTPUT> below."
25873 msgstr ""
25874
25875 #. type: =item
25876 #: ../resize/virt-resize.pod:443
25877 msgid "B<--dryrun>"
25878 msgstr "B<--dryrun>"
25879
25880 #. type: textblock
25881 #: ../resize/virt-resize.pod:445
25882 msgid "Print a summary of what would be done, but don't do anything."
25883 msgstr ""
25884
25885 #. type: =item
25886 #: ../resize/virt-resize.pod:447
25887 msgid "B<--no-copy-boot-loader>"
25888 msgstr "B<--no-copy-boot-loader>"
25889
25890 #. type: textblock
25891 #: ../resize/virt-resize.pod:449
25892 msgid ""
25893 "By default, virt-resize copies over some sectors at the start of the disk "
25894 "(up to the beginning of the first partition).  Commonly these sectors "
25895 "contain the Master Boot Record (MBR) and the boot loader, and are required "
25896 "in order for the guest to boot correctly."
25897 msgstr ""
25898
25899 #. type: textblock
25900 #: ../resize/virt-resize.pod:454
25901 msgid ""
25902 "If you specify this flag, then this initial copy is not done.  You may need "
25903 "to reinstall the boot loader in this case."
25904 msgstr ""
25905
25906 #. type: =item
25907 #: ../resize/virt-resize.pod:457
25908 msgid "B<--no-extra-partition>"
25909 msgstr "B<--no-extra-partition>"
25910
25911 #. type: textblock
25912 #: ../resize/virt-resize.pod:459
25913 msgid ""
25914 "By default, virt-resize creates an extra partition if there is any extra, "
25915 "unused space after all resizing has happened.  Use this option to prevent "
25916 "the extra partition from being created.  If you do this then the extra space "
25917 "will be inaccessible until you run fdisk, parted, or some other partitioning "
25918 "tool in the guest."
25919 msgstr ""
25920
25921 #. type: textblock
25922 #: ../resize/virt-resize.pod:465
25923 msgid ""
25924 "Note that if the surplus space is smaller than 10 MB, no extra partition "
25925 "will be created."
25926 msgstr ""
25927
25928 #. type: =item
25929 #: ../resize/virt-resize.pod:468
25930 msgid "B<--no-expand-content>"
25931 msgstr "B<--no-expand-content>"
25932
25933 #. type: textblock
25934 #: ../resize/virt-resize.pod:470
25935 msgid ""
25936 "By default, virt-resize will try to expand the direct contents of "
25937 "partitions, if it knows how (see I<--expand> option above)."
25938 msgstr ""
25939
25940 #. type: textblock
25941 #: ../resize/virt-resize.pod:473
25942 msgid ""
25943 "If you give the I<--no-expand-content> option then virt-resize will not "
25944 "attempt this."
25945 msgstr ""
25946
25947 #. type: =item
25948 #: ../resize/virt-resize.pod:476
25949 msgid "B<--ntfsresize-force>"
25950 msgstr "B<--ntfsresize-force>"
25951
25952 #. type: textblock
25953 #: ../resize/virt-resize.pod:478
25954 msgid ""
25955 "Pass the I<--force> option to L<ntfsresize(8)>, allowing resizing even if "
25956 "the NTFS disk is marked as needing a consistency check.  You have to use "
25957 "this option if you want to resize a Windows guest multiple times without "
25958 "booting into Windows between each resize."
25959 msgstr ""
25960
25961 #. type: =item
25962 #: ../resize/virt-resize.pod:484
25963 msgid "B<--output-format> raw"
25964 msgstr "B<--output-format> raw"
25965
25966 #. type: textblock
25967 #: ../resize/virt-resize.pod:486
25968 msgid ""
25969 "Specify the format of the output disk image.  If this flag is not given then "
25970 "it is auto-detected from the image itself."
25971 msgstr ""
25972
25973 #. type: textblock
25974 #: ../resize/virt-resize.pod:492
25975 msgid ""
25976 "Note that this option I<does not create> the output format.  This option "
25977 "just tells libguestfs what it is so it doesn't try to guess it.  You still "
25978 "need to create the output disk with the right format.  See L</QCOW2 AND NON-"
25979 "SPARSE RAW FORMATS>."
25980 msgstr ""
25981
25982 #. type: textblock
25983 #: ../resize/virt-resize.pod:501
25984 msgid "Don't print the summary."
25985 msgstr ""
25986
25987 #. type: =item
25988 #: ../resize/virt-resize.pod:503
25989 msgid "B<--resize part=size>"
25990 msgstr "B<--resize розділ=розмір>"
25991
25992 #. type: textblock
25993 #: ../resize/virt-resize.pod:505
25994 msgid ""
25995 "Resize the named partition (expanding or shrinking it) so that it has the "
25996 "given size."
25997 msgstr ""
25998
25999 #. type: textblock
26000 #: ../resize/virt-resize.pod:508
26001 msgid ""
26002 "C<size> can be expressed as an absolute number followed by b/K/M/G to mean "
26003 "bytes, Kilobytes, Megabytes, or Gigabytes; or as a percentage of the current "
26004 "size; or as a relative number or percentage.  For example:"
26005 msgstr ""
26006
26007 #. type: verbatim
26008 #: ../resize/virt-resize.pod:514
26009 #, no-wrap
26010 msgid ""
26011 " --resize /dev/sda2=10G\n"
26012 "\n"
26013 msgstr ""
26014
26015 #. type: verbatim
26016 #: ../resize/virt-resize.pod:516
26017 #, no-wrap
26018 msgid ""
26019 " --resize /dev/sda4=90%\n"
26020 "\n"
26021 msgstr ""
26022
26023 #. type: verbatim
26024 #: ../resize/virt-resize.pod:518
26025 #, no-wrap
26026 msgid ""
26027 " --resize /dev/sda2=+1G\n"
26028 "\n"
26029 msgstr ""
26030
26031 #. type: verbatim
26032 #: ../resize/virt-resize.pod:520
26033 #, no-wrap
26034 msgid ""
26035 " --resize /dev/sda2=-200M\n"
26036 "\n"
26037 msgstr ""
26038
26039 #. type: verbatim
26040 #: ../resize/virt-resize.pod:522
26041 #, no-wrap
26042 msgid ""
26043 " --resize /dev/sda1=+128K\n"
26044 "\n"
26045 msgstr ""
26046
26047 #. type: verbatim
26048 #: ../resize/virt-resize.pod:524
26049 #, no-wrap
26050 msgid ""
26051 " --resize /dev/sda1=+10%\n"
26052 "\n"
26053 msgstr ""
26054
26055 #. type: verbatim
26056 #: ../resize/virt-resize.pod:526
26057 #, no-wrap
26058 msgid ""
26059 " --resize /dev/sda1=-10%\n"
26060 "\n"
26061 msgstr ""
26062
26063 #. type: textblock
26064 #: ../resize/virt-resize.pod:528
26065 msgid ""
26066 "You can increase the size of any partition.  Virt-resize will expand the "
26067 "direct content of the partition if it knows how (see I<--expand> below)."
26068 msgstr ""
26069
26070 #. type: textblock
26071 #: ../resize/virt-resize.pod:532
26072 msgid ""
26073 "You can only I<decrease> the size of partitions that contain filesystems or "
26074 "PVs which have already been shrunk.  Virt-resize will check this has been "
26075 "done before proceeding, or else will print an error (see also I<--resize-"
26076 "force>)."
26077 msgstr ""
26078
26079 #. type: =item
26080 #: ../resize/virt-resize.pod:539
26081 msgid "B<--resize-force part=size>"
26082 msgstr "B<--resize-force розділ=розмір>"
26083
26084 #. type: textblock
26085 #: ../resize/virt-resize.pod:541
26086 msgid ""
26087 "This is the same as I<--resize> except that it will let you decrease the "
26088 "size of any partition.  Generally this means you will lose any data which "
26089 "was at the end of the partition you shrink, but you may not care about that "
26090 "(eg. if shrinking an unused partition, or if you can easily recreate it such "
26091 "as a swap partition)."
26092 msgstr ""
26093
26094 #. type: textblock
26095 #: ../resize/virt-resize.pod:547
26096 msgid "See also the I<--ignore> option."
26097 msgstr ""
26098
26099 #. type: =item
26100 #: ../resize/virt-resize.pod:549
26101 msgid "B<--shrink part>"
26102 msgstr "B<--shrink розділ>"
26103
26104 #. type: textblock
26105 #: ../resize/virt-resize.pod:551
26106 msgid ""
26107 "Shrink the named partition until the overall disk image fits in the "
26108 "destination.  The named partition B<must> contain a filesystem or PV which "
26109 "has already been shrunk using another tool (eg. L<guestfish(1)> or other "
26110 "online tools).  Virt-resize will check this and give an error if it has not "
26111 "been done."
26112 msgstr ""
26113
26114 #. type: textblock
26115 #: ../resize/virt-resize.pod:557
26116 msgid ""
26117 "The amount by which the overall disk must be shrunk (after carrying out all "
26118 "other operations requested by the user) is called the \"deficit\".  For "
26119 "example, a straight copy (assume no other operations)  from a 5GB disk image "
26120 "to a 4GB disk image results in a 1GB deficit.  In this case, virt-resize "
26121 "would give an error unless the user specified a partition to shrink and that "
26122 "partition had more than a gigabyte of free space."
26123 msgstr ""
26124
26125 #. type: =head1
26126 #: ../resize/virt-resize.pod:575 ../sparsify/virt-sparsify.pod:201
26127 msgid "MACHINE READABLE OUTPUT"
26128 msgstr ""
26129
26130 #. type: textblock
26131 #: ../resize/virt-resize.pod:577
26132 msgid ""
26133 "The I<--machine-readable> option can be used to make the output more machine "
26134 "friendly, which is useful when calling virt-resize from other programs, GUIs "
26135 "etc."
26136 msgstr ""
26137
26138 #. type: textblock
26139 #: ../resize/virt-resize.pod:581 ../sparsify/virt-sparsify.pod:207
26140 msgid "There are two ways to use this option."
26141 msgstr ""
26142
26143 #. type: textblock
26144 #: ../resize/virt-resize.pod:583
26145 msgid ""
26146 "Firstly use the option on its own to query the capabilities of the virt-"
26147 "resize binary.  Typical output looks like this:"
26148 msgstr ""
26149
26150 #. type: verbatim
26151 #: ../resize/virt-resize.pod:586
26152 #, no-wrap
26153 msgid ""
26154 " $ virt-resize --machine-readable\n"
26155 " virt-resize\n"
26156 " ntfsresize-force\n"
26157 " 32bitok\n"
26158 " ntfs\n"
26159 " btrfs\n"
26160 "\n"
26161 msgstr ""
26162
26163 #. type: textblock
26164 #: ../resize/virt-resize.pod:593 ../sparsify/virt-sparsify.pod:217
26165 msgid ""
26166 "A list of features is printed, one per line, and the program exits with "
26167 "status 0."
26168 msgstr ""
26169
26170 #. type: textblock
26171 #: ../resize/virt-resize.pod:596 ../sparsify/virt-sparsify.pod:220
26172 msgid ""
26173 "Secondly use the option in conjunction with other options to make the "
26174 "regular program output more machine friendly."
26175 msgstr ""
26176
26177 #. type: textblock
26178 #: ../resize/virt-resize.pod:599 ../sparsify/virt-sparsify.pod:223
26179 msgid "At the moment this means:"
26180 msgstr ""
26181
26182 #. type: textblock
26183 #: ../resize/virt-resize.pod:605 ../sparsify/virt-sparsify.pod:229
26184 msgid ""
26185 "Progress bar messages can be parsed from stdout by looking for this regular "
26186 "expression:"
26187 msgstr ""
26188
26189 #. type: verbatim
26190 #: ../resize/virt-resize.pod:608 ../sparsify/virt-sparsify.pod:232
26191 #, no-wrap
26192 msgid ""
26193 " ^[0-9]+/[0-9]+$\n"
26194 "\n"
26195 msgstr ""
26196
26197 #. type: textblock
26198 #: ../resize/virt-resize.pod:612 ../sparsify/virt-sparsify.pod:236
26199 msgid ""
26200 "The calling program should treat messages sent to stdout (except for "
26201 "progress bar messages) as status messages.  They can be logged and/or "
26202 "displayed to the user."
26203 msgstr ""
26204
26205 #. type: textblock
26206 #: ../resize/virt-resize.pod:618
26207 msgid ""
26208 "The calling program should treat messages sent to stderr as error messages.  "
26209 "In addition, virt-resize exits with a non-zero status code if there was a "
26210 "fatal error."
26211 msgstr ""
26212
26213 #. type: textblock
26214 #: ../resize/virt-resize.pod:624
26215 msgid ""
26216 "Versions of the program prior to 1.13.9 did not support the I<--machine-"
26217 "readable> option and will return an error."
26218 msgstr ""
26219
26220 #. type: =head2
26221 #: ../resize/virt-resize.pod:629
26222 msgid "\"Partition 1 does not end on cylinder boundary.\""
26223 msgstr ""
26224
26225 #. type: textblock
26226 #: ../resize/virt-resize.pod:631
26227 msgid ""
26228 "Virt-resize aligns partitions to multiples of 128 sectors (see the I<--"
26229 "alignment> parameter).  Usually this means the partitions will not be "
26230 "aligned to the ancient CHS geometry.  However CHS geometry is meaningless "
26231 "for disks manufactured since the early 1990s, and doubly so for virtual hard "
26232 "drives.  Alignment of partitions to cylinders is not required by any modern "
26233 "operating system."
26234 msgstr ""
26235
26236 #. type: =head2
26237 #: ../resize/virt-resize.pod:638
26238 msgid "RESIZING WINDOWS VIRTUAL MACHINES"
26239 msgstr ""
26240
26241 #. type: textblock
26242 #: ../resize/virt-resize.pod:640
26243 msgid ""
26244 "In Windows Vista and later versions, Microsoft switched to using a separate "
26245 "boot partition.  In these VMs, typically C</dev/sda1> is the boot partition "
26246 "and C</dev/sda2> is the main (C:) drive.  Resizing the first (boot) "
26247 "partition causes the bootloader to fail with C<0xC0000225> error.  Resizing "
26248 "the second partition (ie. C: drive)  should work."
26249 msgstr ""
26250
26251 #. type: textblock
26252 #: ../resize/virt-resize.pod:647
26253 msgid ""
26254 "Windows may initiate a lengthy \"chkdsk\" on first boot after a resize, if "
26255 "NTFS partitions have been expanded.  This is just a safety check and (unless "
26256 "it find errors) is nothing to worry about."
26257 msgstr ""
26258
26259 #. type: =head2
26260 #: ../resize/virt-resize.pod:651
26261 msgid "GUEST BOOT STUCK AT \"GRUB\""
26262 msgstr ""
26263
26264 #. type: textblock
26265 #: ../resize/virt-resize.pod:653
26266 msgid ""
26267 "If a Linux guest does not boot after resizing, and the boot is stuck after "
26268 "printing C<GRUB> on the console, try reinstalling grub."
26269 msgstr ""
26270
26271 #. type: verbatim
26272 #: ../resize/virt-resize.pod:656
26273 #, no-wrap
26274 msgid ""
26275 " guestfish -i -a newdisk\n"
26276 " ><fs> cat /boot/grub/device.map\n"
26277 " # check the contents of this file are sensible or\n"
26278 " # edit the file if necessary\n"
26279 " ><fs> grub-install / /dev/vda\n"
26280 " ><fs> exit\n"
26281 "\n"
26282 msgstr ""
26283
26284 #. type: textblock
26285 #: ../resize/virt-resize.pod:663
26286 msgid ""
26287 "For more flexible guest reconfiguration, including if you need to specify "
26288 "other parameters to grub-install, use L<virt-rescue(1)>."
26289 msgstr ""
26290
26291 #. type: =head1
26292 #: ../resize/virt-resize.pod:666
26293 msgid "ALTERNATIVE TOOLS"
26294 msgstr ""
26295
26296 #. type: textblock
26297 #: ../resize/virt-resize.pod:668
26298 msgid ""
26299 "There are several proprietary tools for resizing partitions.  We won't "
26300 "mention any here."
26301 msgstr ""
26302
26303 #. type: textblock
26304 #: ../resize/virt-resize.pod:671
26305 msgid ""
26306 "L<parted(8)> and its graphical shell gparted can do some types of resizing "
26307 "operations on disk images.  They can resize and move partitions, but I don't "
26308 "think they can do anything with the contents, and they certainly don't "
26309 "understand LVM."
26310 msgstr ""
26311
26312 #. type: textblock
26313 #: ../resize/virt-resize.pod:676
26314 msgid ""
26315 "L<guestfish(1)> can do everything that virt-resize can do and a lot more, "
26316 "but at a much lower level.  You will probably end up hand-calculating sector "
26317 "offsets, which is something that virt-resize was designed to avoid.  If you "
26318 "want to see the guestfish-equivalent commands that virt-resize runs, use the "
26319 "I<--debug> flag."
26320 msgstr ""
26321
26322 #. type: textblock
26323 #: ../resize/virt-resize.pod:696
26324 msgid ""
26325 "L<virt-filesystems(1)>, L<virt-df(1)>, L<guestfs(3)>, L<guestfish(1)>, L<lvm"
26326 "(8)>, L<pvresize(8)>, L<lvresize(8)>, L<resize2fs(8)>, L<ntfsresize(8)>, "
26327 "L<btrfs(8)>, L<virsh(1)>, L<parted(8)>, L<truncate(1)>, L<fallocate(1)>, "
26328 "L<grub(8)>, L<grub-install(8)>, L<virt-rescue(1)>, L<virt-sparsify(1)>, "
26329 "L<virt-alignment-scan(1)>, L<http://libguestfs.org/>."
26330 msgstr ""
26331
26332 #. type: textblock
26333 #: ../ruby/examples/guestfs-ruby.pod:5
26334 msgid "guestfs-ruby - How to use libguestfs from Ruby"
26335 msgstr ""
26336
26337 #. type: verbatim
26338 #: ../ruby/examples/guestfs-ruby.pod:9
26339 #, no-wrap
26340 msgid ""
26341 " require 'guestfs'\n"
26342 " g = Guestfs::Guestfs.new()\n"
26343 " g.add_drive_opts(\"disk.img\",\n"
26344 "                  :readonly => 1, :format => \"raw\")\n"
26345 " g.launch()\n"
26346 "\n"
26347 msgstr ""
26348
26349 #. type: textblock
26350 #: ../ruby/examples/guestfs-ruby.pod:17
26351 msgid ""
26352 "This manual page documents how to call libguestfs from the Ruby programming "
26353 "language.  This page just documents the differences from the C API and gives "
26354 "some examples.  If you are not familiar with using libguestfs, you also need "
26355 "to read L<guestfs(3)>."
26356 msgstr ""
26357
26358 #. type: textblock
26359 #: ../ruby/examples/guestfs-ruby.pod:24
26360 msgid ""
26361 "Errors from libguestfs functions are mapped into the C<Error> exception.  "
26362 "This has a single parameter which is the error message (a string)."
26363 msgstr ""
26364
26365 #. type: textblock
26366 #: ../ruby/examples/guestfs-ruby.pod:38
26367 msgid ""
26368 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-erlang(3)>, L<guestfs-java"
26369 "(3)>, L<guestfs-ocaml(3)>, L<guestfs-perl(3)>, L<guestfs-python(3)>, "
26370 "L<guestfs-recipes(1)>, L<http://libguestfs.org/>."
26371 msgstr ""
26372
26373 #. type: textblock
26374 #: ../sparsify/virt-sparsify.pod:5
26375 msgid "virt-sparsify - Make a virtual machine disk sparse"
26376 msgstr ""
26377
26378 #. type: verbatim
26379 #: ../sparsify/virt-sparsify.pod:9
26380 #, no-wrap
26381 msgid ""
26382 " virt-sparsify [--options] indisk outdisk\n"
26383 "\n"
26384 msgstr ""
26385
26386 #. type: textblock
26387 #: ../sparsify/virt-sparsify.pod:13
26388 msgid ""
26389 "Virt-sparsify is a tool which can make a virtual machine disk (or any disk "
26390 "image) sparse a.k.a. thin-provisioned.  This means that free space within "
26391 "the disk image can be converted back to free space on the host."
26392 msgstr ""
26393
26394 #. type: textblock
26395 #: ../sparsify/virt-sparsify.pod:18
26396 msgid ""
26397 "Virt-sparsify can locate and sparsify free space in most filesystems (eg. "
26398 "ext2/3/4, btrfs, NTFS, etc.), and also in LVM physical volumes."
26399 msgstr ""
26400
26401 #. type: textblock
26402 #: ../sparsify/virt-sparsify.pod:21
26403 msgid ""
26404 "Virt-sparsify can also convert between some disk formats, for example "
26405 "converting a raw disk image to a thin-provisioned qcow2 image."
26406 msgstr ""
26407
26408 #. type: textblock
26409 #: ../sparsify/virt-sparsify.pod:24
26410 msgid ""
26411 "Virt-sparsify can operate on any disk image, not just ones from virtual "
26412 "machines.  If a virtual machine has more than one attached disk, you must "
26413 "sparsify each one separately."
26414 msgstr ""
26415
26416 #. type: =head2
26417 #: ../sparsify/virt-sparsify.pod:28
26418 msgid "IMPORTANT LIMITATIONS"
26419 msgstr ""
26420
26421 #. type: textblock
26422 #: ../sparsify/virt-sparsify.pod:34
26423 msgid ""
26424 "Virt-sparsify does not do in-place modifications.  It copies from a source "
26425 "image to a destination image, leaving the source unchanged.  I<Check that "
26426 "the sparsification was successful before deleting the source image>."
26427 msgstr ""
26428
26429 #. type: textblock
26430 #: ../sparsify/virt-sparsify.pod:41
26431 msgid "The virtual machine I<must be shut down> before using this tool."
26432 msgstr ""
26433
26434 #. type: textblock
26435 #: ../sparsify/virt-sparsify.pod:45
26436 msgid ""
26437 "Virt-sparsify may require up to 2x the virtual size of the source disk image "
26438 "(1 temporary copy + 1 destination image).  This is in the worst case and "
26439 "usually much less space is required."
26440 msgstr ""
26441
26442 #. type: textblock
26443 #: ../sparsify/virt-sparsify.pod:51
26444 msgid ""
26445 "Virt-sparsify cannot resize disk images.  To do that, use L<virt-resize(1)>."
26446 msgstr ""
26447
26448 #. type: textblock
26449 #: ../sparsify/virt-sparsify.pod:56
26450 msgid "Virt-sparsify cannot handle encrypted disks."
26451 msgstr ""
26452
26453 #. type: textblock
26454 #: ../sparsify/virt-sparsify.pod:60
26455 msgid ""
26456 "Virt-sparsify cannot yet sparsify the space between partitions.  Note that "
26457 "this space is often used for critical items like bootloaders so it's not "
26458 "really unused."
26459 msgstr ""
26460
26461 #. type: textblock
26462 #: ../sparsify/virt-sparsify.pod:66
26463 msgid ""
26464 "Virt-sparsify does not yet know how to sparsify swapspace.  It is not safe "
26465 "to do this unless we can be sure there is no hibernation data, so at the "
26466 "moment swap partitions are ignored."
26467 msgstr ""
26468
26469 #. type: textblock
26470 #: ../sparsify/virt-sparsify.pod:72
26471 msgid ""
26472 "You may also want to read the manual pages for the associated tools L<virt-"
26473 "filesystems(1)> and L<virt-df(1)> before starting."
26474 msgstr ""
26475
26476 #. type: textblock
26477 #: ../sparsify/virt-sparsify.pod:77
26478 msgid "Typical usage is:"
26479 msgstr ""
26480
26481 #. type: verbatim
26482 #: ../sparsify/virt-sparsify.pod:79
26483 #, no-wrap
26484 msgid ""
26485 " virt-sparsify indisk outdisk\n"
26486 "\n"
26487 msgstr ""
26488
26489 #. type: textblock
26490 #: ../sparsify/virt-sparsify.pod:81
26491 msgid ""
26492 "which copies C<indisk> to C<outdisk>, making the output sparse.  C<outdisk> "
26493 "is created, or overwritten if it already exists.  The format of the input "
26494 "disk is detected (eg. qcow2) and the same format is used for the output disk."
26495 msgstr ""
26496
26497 #. type: textblock
26498 #: ../sparsify/virt-sparsify.pod:86
26499 msgid "To convert between formats, use the I<--convert> option:"
26500 msgstr ""
26501
26502 #. type: verbatim
26503 #: ../sparsify/virt-sparsify.pod:88
26504 #, no-wrap
26505 msgid ""
26506 " virt-sparsify disk.raw --convert qcow2 disk.qcow2\n"
26507 "\n"
26508 msgstr ""
26509
26510 #. type: textblock
26511 #: ../sparsify/virt-sparsify.pod:90
26512 msgid ""
26513 "Virt-sparsify tries to zero and sparsify free space on every filesystem it "
26514 "can find within the source disk image.  You can get it to ignore (don't zero "
26515 "free space on) certain filesystems by doing:"
26516 msgstr ""
26517
26518 #. type: verbatim
26519 #: ../sparsify/virt-sparsify.pod:94
26520 #, no-wrap
26521 msgid ""
26522 " virt-sparsify --ignore /dev/sda1 indisk outdisk\n"
26523 "\n"
26524 msgstr ""
26525
26526 #. type: textblock
26527 #: ../sparsify/virt-sparsify.pod:96
26528 msgid ""
26529 "See L<virt-filesystems(1)> to get a list of filesystems within a disk image."
26530 msgstr ""
26531
26532 #. type: =item
26533 #: ../sparsify/virt-sparsify.pod:107
26534 #, fuzzy
26535 #| msgid "B<--parts>"
26536 msgid "B<--compress>"
26537 msgstr "B<--parts>"
26538
26539 #. type: textblock
26540 #: ../sparsify/virt-sparsify.pod:109
26541 msgid ""
26542 "Compress the output file.  This I<only> works if the output format is "
26543 "C<qcow2>."
26544 msgstr ""
26545
26546 #. type: =item
26547 #: ../sparsify/virt-sparsify.pod:112
26548 msgid "B<--convert> raw"
26549 msgstr ""
26550
26551 #. type: =item
26552 #: ../sparsify/virt-sparsify.pod:114
26553 msgid "B<--convert> qcow2"
26554 msgstr ""
26555
26556 #. type: =item
26557 #: ../sparsify/virt-sparsify.pod:116
26558 msgid "B<--convert> [other formats]"
26559 msgstr ""
26560
26561 #. type: textblock
26562 #: ../sparsify/virt-sparsify.pod:118
26563 msgid ""
26564 "Use C<output-format> as the format for the destination image.  If this is "
26565 "not specified, then the input format is used."
26566 msgstr ""
26567
26568 #. type: textblock
26569 #: ../sparsify/virt-sparsify.pod:121
26570 msgid ""
26571 "Supported and known-working output formats are: C<raw>, C<qcow2>, C<vdi>."
26572 msgstr ""
26573
26574 #. type: textblock
26575 #: ../sparsify/virt-sparsify.pod:123
26576 msgid ""
26577 "You can also use any format supported by the L<qemu-img(1)> program, eg. "
26578 "C<vmdk>, but support for other formats is reliant on qemu."
26579 msgstr ""
26580
26581 #. type: textblock
26582 #: ../sparsify/virt-sparsify.pod:126
26583 msgid ""
26584 "Specifying the I<--convert> option is usually a good idea, because then virt-"
26585 "sparsify doesn't need to try to guess the input format."
26586 msgstr ""
26587
26588 #. type: textblock
26589 #: ../sparsify/virt-sparsify.pod:129
26590 msgid "For fine-tuning the output format, see: I<--compress>, I<-o>."
26591 msgstr ""
26592
26593 #. type: textblock
26594 #: ../sparsify/virt-sparsify.pod:133
26595 msgid ""
26596 "Debug garbage collection and memory allocation.  This is only useful when "
26597 "debugging memory problems in virt-sparsify or the OCaml libguestfs bindings."
26598 msgstr ""
26599
26600 #. type: =item
26601 #: ../sparsify/virt-sparsify.pod:139
26602 msgid "B<--format> qcow2"
26603 msgstr ""
26604
26605 #. type: =item
26606 #: ../sparsify/virt-sparsify.pod:147
26607 msgid "B<--ignore> filesystem"
26608 msgstr ""
26609
26610 #. type: =item
26611 #: ../sparsify/virt-sparsify.pod:149
26612 msgid "B<--ignore> volgroup"
26613 msgstr ""
26614
26615 #. type: textblock
26616 #: ../sparsify/virt-sparsify.pod:151
26617 msgid ""
26618 "Ignore the named filesystem.  Free space on the filesystem will not be "
26619 "zeroed, but existing blocks of zeroes will still be sparsified."
26620 msgstr ""
26621
26622 #. type: textblock
26623 #: ../sparsify/virt-sparsify.pod:154
26624 msgid ""
26625 "In the second form, this ignores the named volume group.  Use the volume "
26626 "group name without the C</dev/> prefix, eg. I<--ignore vg_foo>"
26627 msgstr ""
26628
26629 #. type: =item
26630 #: ../sparsify/virt-sparsify.pod:165
26631 #, fuzzy
26632 #| msgid "B<--option option>"
26633 msgid "B<-o> option[,option,...]"
26634 msgstr "B<--option параметр>"
26635
26636 #. type: textblock
26637 #: ../sparsify/virt-sparsify.pod:167
26638 msgid ""
26639 "Pass I<-o> option(s) to the L<qemu-img(1)> command to fine-tune the output "
26640 "format.  Options available depend on the output format (see I<--convert>) "
26641 "and the installed version of the qemu-img program."
26642 msgstr ""
26643
26644 #. type: textblock
26645 #: ../sparsify/virt-sparsify.pod:171
26646 msgid ""
26647 "You should use I<-o> at most once.  To pass multiple options, separate them "
26648 "with commas, eg:"
26649 msgstr ""
26650
26651 #. type: verbatim
26652 #: ../sparsify/virt-sparsify.pod:174
26653 #, no-wrap
26654 msgid ""
26655 " virt-sparsify --convert qcow2 \\\n"
26656 "   -o cluster_size=512,preallocation=metadata ...\n"
26657 "\n"
26658 msgstr ""
26659
26660 #. type: textblock
26661 #: ../sparsify/virt-sparsify.pod:181
26662 msgid "This disables progress bars and other unnecessary output."
26663 msgstr ""
26664
26665 #. type: textblock
26666 #: ../sparsify/virt-sparsify.pod:203
26667 msgid ""
26668 "The I<--machine-readable> option can be used to make the output more machine "
26669 "friendly, which is useful when calling virt-sparsify from other programs, "
26670 "GUIs etc."
26671 msgstr ""
26672
26673 #. type: textblock
26674 #: ../sparsify/virt-sparsify.pod:209
26675 msgid ""
26676 "Firstly use the option on its own to query the capabilities of the virt-"
26677 "sparsify binary.  Typical output looks like this:"
26678 msgstr ""
26679
26680 #. type: verbatim
26681 #: ../sparsify/virt-sparsify.pod:212
26682 #, no-wrap
26683 msgid ""
26684 " $ virt-sparsify --machine-readable\n"
26685 " virt-sparsify\n"
26686 " ntfs\n"
26687 " btrfs\n"
26688 "\n"
26689 msgstr ""
26690
26691 #. type: textblock
26692 #: ../sparsify/virt-sparsify.pod:242
26693 msgid ""
26694 "The calling program should treat messages sent to stderr as error messages.  "
26695 "In addition, virt-sparsify exits with a non-zero status code if there was a "
26696 "fatal error."
26697 msgstr ""
26698
26699 #. type: textblock
26700 #: ../sparsify/virt-sparsify.pod:248
26701 msgid ""
26702 "All versions of virt-sparsify have supported the I<--machine-readable> "
26703 "option."
26704 msgstr ""
26705
26706 #. type: textblock
26707 #: ../sparsify/virt-sparsify.pod:262
26708 msgid ""
26709 "Location of the temporary directory used for the potentially large temporary "
26710 "overlay file."
26711 msgstr ""
26712
26713 #. type: textblock
26714 #: ../sparsify/virt-sparsify.pod:265
26715 msgid ""
26716 "You should ensure there is enough free space in the worst case for a full "
26717 "copy of the source disk (I<virtual> size), or else set C<$TMPDIR> to point "
26718 "to another directory that has enough space."
26719 msgstr ""
26720
26721 #. type: textblock
26722 #: ../sparsify/virt-sparsify.pod:269
26723 msgid "This defaults to C</tmp>."
26724 msgstr ""
26725
26726 #. type: textblock
26727 #: ../sparsify/virt-sparsify.pod:273
26728 msgid ""
26729 "For other environment variables, see L<guestfs(3)/ENVIRONMENT VARIABLES>."
26730 msgstr ""
26731
26732 #. type: textblock
26733 #: ../sparsify/virt-sparsify.pod:277
26734 msgid ""
26735 "L<virt-filesystems(1)>, L<virt-df(1)>, L<virt-resize(1)>, L<virt-rescue(1)>, "
26736 "L<guestfs(3)>, L<guestfish(1)>, L<truncate(1)>, L<fallocate(1)>, L<qemu-img"
26737 "(1)>, L<http://libguestfs.org/>."
26738 msgstr ""
26739
26740 #. type: =head2
26741 #: ../src/guestfs-actions.pod:1
26742 msgid "guestfs_add_cdrom"
26743 msgstr ""
26744
26745 #. type: verbatim
26746 #: ../src/guestfs-actions.pod:3
26747 #, no-wrap
26748 msgid ""
26749 " int\n"
26750 " guestfs_add_cdrom (guestfs_h *g,\n"
26751 "                    const char *filename);\n"
26752 "\n"
26753 msgstr ""
26754
26755 #. type: textblock
26756 #: ../src/guestfs-actions.pod:7 ../src/guestfs-actions.pod:302
26757 #: ../src/guestfs-actions.pod:323
26758 msgid ""
26759 "I<This function is deprecated.> In new code, use the L</"
26760 "guestfs_add_drive_opts> call instead."
26761 msgstr ""
26762
26763 #. type: textblock
26764 #: ../src/guestfs-actions.pod:24
26765 msgid ""
26766 "This call checks for the existence of C<filename>.  This stops you from "
26767 "specifying other types of drive which are supported by qemu such as C<nbd:> "
26768 "and C<http:> URLs.  To specify those, use the general C<guestfs_config> call "
26769 "instead."
26770 msgstr ""
26771
26772 #. type: textblock
26773 #: ../src/guestfs-actions.pod:31
26774 msgid ""
26775 "If you just want to add an ISO file (often you use this as an efficient way "
26776 "to transfer large files into the guest), then you should probably use "
26777 "C<guestfs_add_drive_ro> instead."
26778 msgstr ""
26779
26780 #. type: textblock
26781 #: ../src/guestfs-actions.pod:37 ../src/guestfs-actions.pod:187
26782 #: ../src/guestfs-actions.pod:254 ../src/guestfs-actions.pod:291
26783 #: ../src/guestfs-actions.pod:312 ../src/guestfs-actions.pod:333
26784 #: ../src/guestfs-actions.pod:346 ../src/guestfs-actions.pod:360
26785 #: ../src/guestfs-actions.pod:480 ../src/guestfs-actions.pod:500
26786 #: ../src/guestfs-actions.pod:514 ../src/guestfs-actions.pod:559
26787 #: ../src/guestfs-actions.pod:587 ../src/guestfs-actions.pod:605
26788 #: ../src/guestfs-actions.pod:672 ../src/guestfs-actions.pod:705
26789 #: ../src/guestfs-actions.pod:719 ../src/guestfs-actions.pod:773
26790 #: ../src/guestfs-actions.pod:872 ../src/guestfs-actions.pod:890
26791 #: ../src/guestfs-actions.pod:904 ../src/guestfs-actions.pod:918
26792 #: ../src/guestfs-actions.pod:955 ../src/guestfs-actions.pod:1138
26793 #: ../src/guestfs-actions.pod:1158 ../src/guestfs-actions.pod:1176
26794 #: ../src/guestfs-actions.pod:1266 ../src/guestfs-actions.pod:1325
26795 #: ../src/guestfs-actions.pod:1371 ../src/guestfs-actions.pod:1411
26796 #: ../src/guestfs-actions.pod:1464 ../src/guestfs-actions.pod:1517
26797 #: ../src/guestfs-actions.pod:1575 ../src/guestfs-actions.pod:1629
26798 #: ../src/guestfs-actions.pod:1648 ../src/guestfs-actions.pod:1662
26799 #: ../src/guestfs-actions.pod:1690 ../src/guestfs-actions.pod:1760
26800 #: ../src/guestfs-actions.pod:1791 ../src/guestfs-actions.pod:1816
26801 #: ../src/guestfs-actions.pod:1858 ../src/guestfs-actions.pod:1971
26802 #: ../src/guestfs-actions.pod:1998 ../src/guestfs-actions.pod:2213
26803 #: ../src/guestfs-actions.pod:2235 ../src/guestfs-actions.pod:2322
26804 #: ../src/guestfs-actions.pod:2830 ../src/guestfs-actions.pod:2974
26805 #: ../src/guestfs-actions.pod:3035 ../src/guestfs-actions.pod:3070
26806 #: ../src/guestfs-actions.pod:4131 ../src/guestfs-actions.pod:4146
26807 #: ../src/guestfs-actions.pod:4171 ../src/guestfs-actions.pod:4373
26808 #: ../src/guestfs-actions.pod:4387 ../src/guestfs-actions.pod:4400
26809 #: ../src/guestfs-actions.pod:4414 ../src/guestfs-actions.pod:4429
26810 #: ../src/guestfs-actions.pod:4465 ../src/guestfs-actions.pod:4537
26811 #: ../src/guestfs-actions.pod:4557 ../src/guestfs-actions.pod:4574
26812 #: ../src/guestfs-actions.pod:4594 ../src/guestfs-actions.pod:4614
26813 #: ../src/guestfs-actions.pod:4649 ../src/guestfs-actions.pod:4668
26814 #: ../src/guestfs-actions.pod:4687 ../src/guestfs-actions.pod:4722
26815 #: ../src/guestfs-actions.pod:4734 ../src/guestfs-actions.pod:4767
26816 #: ../src/guestfs-actions.pod:4783 ../src/guestfs-actions.pod:4796
26817 #: ../src/guestfs-actions.pod:4811 ../src/guestfs-actions.pod:4828
26818 #: ../src/guestfs-actions.pod:4986 ../src/guestfs-actions.pod:5060
26819 #: ../src/guestfs-actions.pod:5070 ../src/guestfs-actions.pod:5090
26820 #: ../src/guestfs-actions.pod:5103 ../src/guestfs-actions.pod:5154
26821 #: ../src/guestfs-actions.pod:5172 ../src/guestfs-actions.pod:5190
26822 #: ../src/guestfs-actions.pod:5206 ../src/guestfs-actions.pod:5220
26823 #: ../src/guestfs-actions.pod:5234 ../src/guestfs-actions.pod:5251
26824 #: ../src/guestfs-actions.pod:5266 ../src/guestfs-actions.pod:5293
26825 #: ../src/guestfs-actions.pod:5356 ../src/guestfs-actions.pod:5429
26826 #: ../src/guestfs-actions.pod:5460 ../src/guestfs-actions.pod:5479
26827 #: ../src/guestfs-actions.pod:5498 ../src/guestfs-actions.pod:5510
26828 #: ../src/guestfs-actions.pod:5527 ../src/guestfs-actions.pod:5540
26829 #: ../src/guestfs-actions.pod:5555 ../src/guestfs-actions.pod:5570
26830 #: ../src/guestfs-actions.pod:5602 ../src/guestfs-actions.pod:5628
26831 #: ../src/guestfs-actions.pod:5667 ../src/guestfs-actions.pod:5687
26832 #: ../src/guestfs-actions.pod:5701 ../src/guestfs-actions.pod:5718
26833 #: ../src/guestfs-actions.pod:5767 ../src/guestfs-actions.pod:5820
26834 #: ../src/guestfs-actions.pod:5867 ../src/guestfs-actions.pod:5910
26835 #: ../src/guestfs-actions.pod:5938 ../src/guestfs-actions.pod:5955
26836 #: ../src/guestfs-actions.pod:5973 ../src/guestfs-actions.pod:6110
26837 #: ../src/guestfs-actions.pod:6167 ../src/guestfs-actions.pod:6189
26838 #: ../src/guestfs-actions.pod:6207 ../src/guestfs-actions.pod:6259
26839 #: ../src/guestfs-actions.pod:6325 ../src/guestfs-actions.pod:6342
26840 #: ../src/guestfs-actions.pod:6355 ../src/guestfs-actions.pod:6369
26841 #: ../src/guestfs-actions.pod:6658 ../src/guestfs-actions.pod:6677
26842 #: ../src/guestfs-actions.pod:6696 ../src/guestfs-actions.pod:6710
26843 #: ../src/guestfs-actions.pod:6722 ../src/guestfs-actions.pod:6736
26844 #: ../src/guestfs-actions.pod:6748 ../src/guestfs-actions.pod:6762
26845 #: ../src/guestfs-actions.pod:6778 ../src/guestfs-actions.pod:6796
26846 #: ../src/guestfs-actions.pod:6815 ../src/guestfs-actions.pod:6834
26847 #: ../src/guestfs-actions.pod:6864 ../src/guestfs-actions.pod:6882
26848 #: ../src/guestfs-actions.pod:6905 ../src/guestfs-actions.pod:6923
26849 #: ../src/guestfs-actions.pod:6942 ../src/guestfs-actions.pod:6963
26850 #: ../src/guestfs-actions.pod:6982 ../src/guestfs-actions.pod:6999
26851 #: ../src/guestfs-actions.pod:7018 ../src/guestfs-actions.pod:7046
26852 #: ../src/guestfs-actions.pod:7070 ../src/guestfs-actions.pod:7089
26853 #: ../src/guestfs-actions.pod:7105 ../src/guestfs-actions.pod:7129
26854 #: ../src/guestfs-actions.pod:7148 ../src/guestfs-actions.pod:7163
26855 #: ../src/guestfs-actions.pod:7182 ../src/guestfs-actions.pod:7226
26856 #: ../src/guestfs-actions.pod:7253 ../src/guestfs-actions.pod:7283
26857 #: ../src/guestfs-actions.pod:7395 ../src/guestfs-actions.pod:7516
26858 #: ../src/guestfs-actions.pod:7528 ../src/guestfs-actions.pod:7541
26859 #: ../src/guestfs-actions.pod:7554 ../src/guestfs-actions.pod:7576
26860 #: ../src/guestfs-actions.pod:7589 ../src/guestfs-actions.pod:7602
26861 #: ../src/guestfs-actions.pod:7615 ../src/guestfs-actions.pod:7630
26862 #: ../src/guestfs-actions.pod:7689 ../src/guestfs-actions.pod:7706
26863 #: ../src/guestfs-actions.pod:7722 ../src/guestfs-actions.pod:7738
26864 #: ../src/guestfs-actions.pod:7755 ../src/guestfs-actions.pod:7768
26865 #: ../src/guestfs-actions.pod:7788 ../src/guestfs-actions.pod:7888
26866 #: ../src/guestfs-actions.pod:7946 ../src/guestfs-actions.pod:7960
26867 #: ../src/guestfs-actions.pod:8001 ../src/guestfs-actions.pod:8014
26868 #: ../src/guestfs-actions.pod:8032 ../src/guestfs-actions.pod:8066
26869 #: ../src/guestfs-actions.pod:8102 ../src/guestfs-actions.pod:8218
26870 #: ../src/guestfs-actions.pod:8233 ../src/guestfs-actions.pod:8247
26871 #: ../src/guestfs-actions.pod:8302 ../src/guestfs-actions.pod:8315
26872 #: ../src/guestfs-actions.pod:8360 ../src/guestfs-actions.pod:8400
26873 #: ../src/guestfs-actions.pod:8456 ../src/guestfs-actions.pod:8476
26874 #: ../src/guestfs-actions.pod:8509 ../src/guestfs-actions.pod:8573
26875 #: ../src/guestfs-actions.pod:8596 ../src/guestfs-actions.pod:8622
26876 msgid "This function returns 0 on success or -1 on error."
26877 msgstr ""
26878
26879 #. type: textblock
26880 #: ../src/guestfs-actions.pod:39 ../src/guestfs-actions.pod:189
26881 #: ../src/guestfs-actions.pod:1373 ../src/guestfs-actions.pod:2436
26882 #: ../src/guestfs-actions.pod:2534 ../src/guestfs-actions.pod:2659
26883 #: ../src/guestfs-actions.pod:4133 ../src/guestfs-actions.pod:4153
26884 #: ../src/guestfs-actions.pod:5604 ../src/guestfs-actions.pod:6884
26885 #: ../src/guestfs-actions.pod:7001 ../src/guestfs-actions.pod:7150
26886 #: ../src/guestfs-actions.pod:7632 ../src/guestfs-actions.pod:7757
26887 #: ../src/guestfs-actions.pod:8402
26888 msgid "(Added in 0.3)"
26889 msgstr "(Додано у 0.3)"
26890
26891 #. type: =head2
26892 #: ../src/guestfs-actions.pod:41
26893 msgid "guestfs_add_domain"
26894 msgstr ""
26895
26896 #. type: verbatim
26897 #: ../src/guestfs-actions.pod:43
26898 #, no-wrap
26899 msgid ""
26900 " int\n"
26901 " guestfs_add_domain (guestfs_h *g,\n"
26902 "                     const char *dom,\n"
26903 "                     ...);\n"
26904 "\n"
26905 msgstr ""
26906
26907 #. type: textblock
26908 #: ../src/guestfs-actions.pod:48 ../src/guestfs-actions.pod:198
26909 #: ../src/guestfs-actions.pod:929 ../src/guestfs-actions.pod:1253
26910 #: ../src/guestfs-actions.pod:1305 ../src/guestfs-actions.pod:1383
26911 #: ../src/guestfs-actions.pod:1452 ../src/guestfs-actions.pod:1505
26912 #: ../src/guestfs-actions.pod:1558 ../src/guestfs-actions.pod:3327
26913 #: ../src/guestfs-actions.pod:4921 ../src/guestfs-actions.pod:5305
26914 #: ../src/guestfs-actions.pod:5614 ../src/guestfs-actions.pod:5831
26915 #: ../src/guestfs-actions.pod:7799
26916 msgid ""
26917 "You may supply a list of optional arguments to this call.  Use zero or more "
26918 "of the following pairs of parameters, and terminate the list with C<-1> on "
26919 "its own.  See L</CALLS WITH OPTIONAL ARGUMENTS>."
26920 msgstr ""
26921
26922 #. type: verbatim
26923 #: ../src/guestfs-actions.pod:53
26924 #, no-wrap
26925 msgid ""
26926 " GUESTFS_ADD_DOMAIN_LIBVIRTURI, const char *libvirturi,\n"
26927 " GUESTFS_ADD_DOMAIN_READONLY, int readonly,\n"
26928 " GUESTFS_ADD_DOMAIN_IFACE, const char *iface,\n"
26929 " GUESTFS_ADD_DOMAIN_LIVE, int live,\n"
26930 " GUESTFS_ADD_DOMAIN_ALLOWUUID, int allowuuid,\n"
26931 " GUESTFS_ADD_DOMAIN_READONLYDISK, const char *readonlydisk,\n"
26932 "\n"
26933 msgstr ""
26934
26935 #. type: textblock
26936 #: ../src/guestfs-actions.pod:60
26937 msgid ""
26938 "This function adds the disk(s) attached to the named libvirt domain C<dom>.  "
26939 "It works by connecting to libvirt, requesting the domain and domain XML from "
26940 "libvirt, parsing it for disks, and calling C<guestfs_add_drive_opts> on each "
26941 "one."
26942 msgstr ""
26943
26944 #. type: textblock
26945 #: ../src/guestfs-actions.pod:141
26946 msgid ""
26947 "The other optional parameters are passed directly through to "
26948 "C<guestfs_add_drive_opts>."
26949 msgstr ""
26950
26951 #. type: textblock
26952 #: ../src/guestfs-actions.pod:144 ../src/guestfs-actions.pod:403
26953 #: ../src/guestfs-actions.pod:573 ../src/guestfs-actions.pod:790
26954 #: ../src/guestfs-actions.pod:821 ../src/guestfs-actions.pod:839
26955 #: ../src/guestfs-actions.pod:858 ../src/guestfs-actions.pod:1836
26956 #: ../src/guestfs-actions.pod:2192 ../src/guestfs-actions.pod:2395
26957 #: ../src/guestfs-actions.pod:2506 ../src/guestfs-actions.pod:2557
26958 #: ../src/guestfs-actions.pod:2609 ../src/guestfs-actions.pod:2623
26959 #: ../src/guestfs-actions.pod:2646 ../src/guestfs-actions.pod:2961
26960 #: ../src/guestfs-actions.pod:3445 ../src/guestfs-actions.pod:3463
26961 #: ../src/guestfs-actions.pod:5790 ../src/guestfs-actions.pod:6007
26962 #: ../src/guestfs-actions.pod:6245 ../src/guestfs-actions.pod:6439
26963 #: ../src/guestfs-actions.pod:6465 ../src/guestfs-actions.pod:7987
26964 #: ../src/guestfs-actions.pod:8413 ../src/guestfs-actions.pod:8426
26965 #: ../src/guestfs-actions.pod:8439
26966 msgid "On error this function returns -1."
26967 msgstr ""
26968
26969 #. type: textblock
26970 #: ../src/guestfs-actions.pod:146
26971 msgid "(Added in 1.7.4)"
26972 msgstr "(Додано у 1.7.4)"
26973
26974 #. type: =head2
26975 #: ../src/guestfs-actions.pod:148
26976 msgid "guestfs_add_domain_va"
26977 msgstr ""
26978
26979 #. type: verbatim
26980 #: ../src/guestfs-actions.pod:150
26981 #, no-wrap
26982 msgid ""
26983 " int\n"
26984 " guestfs_add_domain_va (guestfs_h *g,\n"
26985 "                        const char *dom,\n"
26986 "                        va_list args);\n"
26987 "\n"
26988 msgstr ""
26989
26990 #. type: textblock
26991 #: ../src/guestfs-actions.pod:155
26992 msgid "This is the \"va_list variant\" of L</guestfs_add_domain>."
26993 msgstr ""
26994
26995 #. type: textblock
26996 #: ../src/guestfs-actions.pod:157 ../src/guestfs-actions.pod:168
26997 #: ../src/guestfs-actions.pod:267 ../src/guestfs-actions.pod:278
26998 #: ../src/guestfs-actions.pod:968 ../src/guestfs-actions.pod:979
26999 #: ../src/guestfs-actions.pod:1281 ../src/guestfs-actions.pod:1294
27000 #: ../src/guestfs-actions.pod:1340 ../src/guestfs-actions.pod:1353
27001 #: ../src/guestfs-actions.pod:1430 ../src/guestfs-actions.pod:1442
27002 #: ../src/guestfs-actions.pod:1483 ../src/guestfs-actions.pod:1495
27003 #: ../src/guestfs-actions.pod:1536 ../src/guestfs-actions.pod:1548
27004 #: ../src/guestfs-actions.pod:1594 ../src/guestfs-actions.pod:1606
27005 #: ../src/guestfs-actions.pod:3411 ../src/guestfs-actions.pod:3423
27006 #: ../src/guestfs-actions.pod:4998 ../src/guestfs-actions.pod:5010
27007 #: ../src/guestfs-actions.pod:5370 ../src/guestfs-actions.pod:5382
27008 #: ../src/guestfs-actions.pod:5642 ../src/guestfs-actions.pod:5654
27009 #: ../src/guestfs-actions.pod:5880 ../src/guestfs-actions.pod:5891
27010 #: ../src/guestfs-actions.pod:7901 ../src/guestfs-actions.pod:7912
27011 msgid "See L</CALLS WITH OPTIONAL ARGUMENTS>."
27012 msgstr "Див. L</CALLS WITH OPTIONAL ARGUMENTS>."
27013
27014 #. type: =head2
27015 #: ../src/guestfs-actions.pod:159
27016 msgid "guestfs_add_domain_argv"
27017 msgstr "guestfs_add_domain_argv"
27018
27019 #. type: verbatim
27020 #: ../src/guestfs-actions.pod:161
27021 #, no-wrap
27022 msgid ""
27023 " int\n"
27024 " guestfs_add_domain_argv (guestfs_h *g,\n"
27025 "                          const char *dom,\n"
27026 "                          const struct guestfs_add_domain_argv *optargs);\n"
27027 "\n"
27028 msgstr ""
27029
27030 #. type: textblock
27031 #: ../src/guestfs-actions.pod:166
27032 msgid "This is the \"argv variant\" of L</guestfs_add_domain>."
27033 msgstr ""
27034
27035 #. type: =head2
27036 #: ../src/guestfs-actions.pod:170
27037 msgid "guestfs_add_drive"
27038 msgstr ""
27039
27040 #. type: verbatim
27041 #: ../src/guestfs-actions.pod:172
27042 #, no-wrap
27043 msgid ""
27044 " int\n"
27045 " guestfs_add_drive (guestfs_h *g,\n"
27046 "                    const char *filename);\n"
27047 "\n"
27048 msgstr ""
27049
27050 #. type: textblock
27051 #: ../src/guestfs-actions.pod:176
27052 msgid ""
27053 "This function is the equivalent of calling C<guestfs_add_drive_opts> with no "
27054 "optional parameters, so the disk is added writable, with the format being "
27055 "detected automatically."
27056 msgstr ""
27057
27058 #. type: textblock
27059 #: ../src/guestfs-actions.pod:180
27060 msgid ""
27061 "Automatic detection of the format opens you up to a potential security hole "
27062 "when dealing with untrusted raw-format images.  See CVE-2010-3851 and "
27063 "RHBZ#642934.  Specifying the format closes this security hole.  Therefore "
27064 "you should think about replacing calls to this function with calls to "
27065 "C<guestfs_add_drive_opts>, and specifying the format."
27066 msgstr ""
27067
27068 #. type: =head2
27069 #: ../src/guestfs-actions.pod:191
27070 msgid "guestfs_add_drive_opts"
27071 msgstr ""
27072
27073 #. type: verbatim
27074 #: ../src/guestfs-actions.pod:193
27075 #, no-wrap
27076 msgid ""
27077 " int\n"
27078 " guestfs_add_drive_opts (guestfs_h *g,\n"
27079 "                         const char *filename,\n"
27080 "                         ...);\n"
27081 "\n"
27082 msgstr ""
27083
27084 #. type: verbatim
27085 #: ../src/guestfs-actions.pod:203
27086 #, no-wrap
27087 msgid ""
27088 " GUESTFS_ADD_DRIVE_OPTS_READONLY, int readonly,\n"
27089 " GUESTFS_ADD_DRIVE_OPTS_FORMAT, const char *format,\n"
27090 " GUESTFS_ADD_DRIVE_OPTS_IFACE, const char *iface,\n"
27091 " GUESTFS_ADD_DRIVE_OPTS_NAME, const char *name,\n"
27092 "\n"
27093 msgstr ""
27094
27095 #. type: textblock
27096 #: ../src/guestfs-actions.pod:233
27097 msgid ""
27098 "This forces the image format.  If you omit this (or use C<guestfs_add_drive> "
27099 "or C<guestfs_add_drive_ro>) then the format is automatically detected.  "
27100 "Possible formats include C<raw> and C<qcow2>."
27101 msgstr ""
27102
27103 #. type: textblock
27104 #: ../src/guestfs-actions.pod:244
27105 msgid ""
27106 "This rarely-used option lets you emulate the behaviour of the deprecated "
27107 "C<guestfs_add_drive_with_if> call (q.v.)"
27108 msgstr ""
27109
27110 #. type: textblock
27111 #: ../src/guestfs-actions.pod:256
27112 msgid "(Added in 1.5.23)"
27113 msgstr "(Додано у 1.5.23)"
27114
27115 #. type: =head2
27116 #: ../src/guestfs-actions.pod:258
27117 msgid "guestfs_add_drive_opts_va"
27118 msgstr ""
27119
27120 #. type: verbatim
27121 #: ../src/guestfs-actions.pod:260
27122 #, no-wrap
27123 msgid ""
27124 " int\n"
27125 " guestfs_add_drive_opts_va (guestfs_h *g,\n"
27126 "                            const char *filename,\n"
27127 "                            va_list args);\n"
27128 "\n"
27129 msgstr ""
27130
27131 #. type: textblock
27132 #: ../src/guestfs-actions.pod:265
27133 msgid "This is the \"va_list variant\" of L</guestfs_add_drive_opts>."
27134 msgstr ""
27135
27136 #. type: =head2
27137 #: ../src/guestfs-actions.pod:269
27138 msgid "guestfs_add_drive_opts_argv"
27139 msgstr ""
27140
27141 #. type: verbatim
27142 #: ../src/guestfs-actions.pod:271
27143 #, no-wrap
27144 msgid ""
27145 " int\n"
27146 " guestfs_add_drive_opts_argv (guestfs_h *g,\n"
27147 "                              const char *filename,\n"
27148 "                              const struct guestfs_add_drive_opts_argv *optargs);\n"
27149 "\n"
27150 msgstr ""
27151
27152 #. type: textblock
27153 #: ../src/guestfs-actions.pod:276
27154 msgid "This is the \"argv variant\" of L</guestfs_add_drive_opts>."
27155 msgstr ""
27156
27157 #. type: =head2
27158 #: ../src/guestfs-actions.pod:280
27159 msgid "guestfs_add_drive_ro"
27160 msgstr ""
27161
27162 #. type: verbatim
27163 #: ../src/guestfs-actions.pod:282
27164 #, no-wrap
27165 msgid ""
27166 " int\n"
27167 " guestfs_add_drive_ro (guestfs_h *g,\n"
27168 "                       const char *filename);\n"
27169 "\n"
27170 msgstr ""
27171
27172 #. type: textblock
27173 #: ../src/guestfs-actions.pod:286
27174 msgid ""
27175 "This function is the equivalent of calling C<guestfs_add_drive_opts> with "
27176 "the optional parameter C<GUESTFS_ADD_DRIVE_OPTS_READONLY> set to 1, so the "
27177 "disk is added read-only, with the format being detected automatically."
27178 msgstr ""
27179
27180 #. type: textblock
27181 #: ../src/guestfs-actions.pod:293
27182 msgid "(Added in 1.0.38)"
27183 msgstr "(Додано у 1.0.38)"
27184
27185 #. type: =head2
27186 #: ../src/guestfs-actions.pod:295
27187 msgid "guestfs_add_drive_ro_with_if"
27188 msgstr ""
27189
27190 #. type: verbatim
27191 #: ../src/guestfs-actions.pod:297
27192 #, no-wrap
27193 msgid ""
27194 " int\n"
27195 " guestfs_add_drive_ro_with_if (guestfs_h *g,\n"
27196 "                               const char *filename,\n"
27197 "                               const char *iface);\n"
27198 "\n"
27199 msgstr ""
27200
27201 #. type: textblock
27202 #: ../src/guestfs-actions.pod:309
27203 msgid ""
27204 "This is the same as C<guestfs_add_drive_ro> but it allows you to specify the "
27205 "QEMU interface emulation to use at run time."
27206 msgstr ""
27207
27208 #. type: textblock
27209 #: ../src/guestfs-actions.pod:314 ../src/guestfs-actions.pod:335
27210 #: ../src/guestfs-actions.pod:2920
27211 msgid "(Added in 1.0.84)"
27212 msgstr "(Додано у 1.0.84)"
27213
27214 #. type: =head2
27215 #: ../src/guestfs-actions.pod:316
27216 msgid "guestfs_add_drive_with_if"
27217 msgstr ""
27218
27219 #. type: verbatim
27220 #: ../src/guestfs-actions.pod:318
27221 #, no-wrap
27222 msgid ""
27223 " int\n"
27224 " guestfs_add_drive_with_if (guestfs_h *g,\n"
27225 "                            const char *filename,\n"
27226 "                            const char *iface);\n"
27227 "\n"
27228 msgstr ""
27229
27230 #. type: textblock
27231 #: ../src/guestfs-actions.pod:330
27232 msgid ""
27233 "This is the same as C<guestfs_add_drive> but it allows you to specify the "
27234 "QEMU interface emulation to use at run time."
27235 msgstr ""
27236
27237 #. type: =head2
27238 #: ../src/guestfs-actions.pod:337
27239 msgid "guestfs_aug_clear"
27240 msgstr ""
27241
27242 #. type: verbatim
27243 #: ../src/guestfs-actions.pod:339
27244 #, no-wrap
27245 msgid ""
27246 " int\n"
27247 " guestfs_aug_clear (guestfs_h *g,\n"
27248 "                    const char *augpath);\n"
27249 "\n"
27250 msgstr ""
27251
27252 #. type: textblock
27253 #: ../src/guestfs-actions.pod:348 ../src/guestfs-actions.pod:2648
27254 msgid "(Added in 1.3.4)"
27255 msgstr "(Додано у 1.3.4)"
27256
27257 #. type: =head2
27258 #: ../src/guestfs-actions.pod:350
27259 msgid "guestfs_aug_close"
27260 msgstr ""
27261
27262 #. type: verbatim
27263 #: ../src/guestfs-actions.pod:352
27264 #, no-wrap
27265 msgid ""
27266 " int\n"
27267 " guestfs_aug_close (guestfs_h *g);\n"
27268 "\n"
27269 msgstr ""
27270
27271 #. type: textblock
27272 #: ../src/guestfs-actions.pod:355
27273 msgid ""
27274 "Close the current Augeas handle and free up any resources used by it.  After "
27275 "calling this, you have to call C<guestfs_aug_init> again before you can use "
27276 "any other Augeas functions."
27277 msgstr ""
27278
27279 #. type: textblock
27280 #: ../src/guestfs-actions.pod:362 ../src/guestfs-actions.pod:387
27281 #: ../src/guestfs-actions.pod:405 ../src/guestfs-actions.pod:419
27282 #: ../src/guestfs-actions.pod:482 ../src/guestfs-actions.pod:502
27283 #: ../src/guestfs-actions.pod:516 ../src/guestfs-actions.pod:547
27284 #: ../src/guestfs-actions.pod:561 ../src/guestfs-actions.pod:575
27285 #: ../src/guestfs-actions.pod:589 ../src/guestfs-actions.pod:607
27286 #: ../src/guestfs-actions.pod:6516
27287 msgid "(Added in 0.7)"
27288 msgstr "(Додано у 0.7)"
27289
27290 #. type: =head2
27291 #: ../src/guestfs-actions.pod:364
27292 msgid "guestfs_aug_defnode"
27293 msgstr ""
27294
27295 #. type: verbatim
27296 #: ../src/guestfs-actions.pod:366
27297 #, no-wrap
27298 msgid ""
27299 " struct guestfs_int_bool *\n"
27300 " guestfs_aug_defnode (guestfs_h *g,\n"
27301 "                      const char *name,\n"
27302 "                      const char *expr,\n"
27303 "                      const char *val);\n"
27304 "\n"
27305 msgstr ""
27306
27307 #. type: textblock
27308 #: ../src/guestfs-actions.pod:375
27309 msgid ""
27310 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
27311 "calling C<guestfs_aug_set> C<expr>, C<value>.  C<name> will be the nodeset "
27312 "containing that single node."
27313 msgstr ""
27314
27315 #. type: textblock
27316 #: ../src/guestfs-actions.pod:383
27317 msgid ""
27318 "This function returns a C<struct guestfs_int_bool *>, or NULL if there was "
27319 "an error.  I<The caller must call C<guestfs_free_int_bool> after use>."
27320 msgstr ""
27321
27322 #. type: =head2
27323 #: ../src/guestfs-actions.pod:389
27324 msgid "guestfs_aug_defvar"
27325 msgstr ""
27326
27327 #. type: verbatim
27328 #: ../src/guestfs-actions.pod:391
27329 #, no-wrap
27330 msgid ""
27331 " int\n"
27332 " guestfs_aug_defvar (guestfs_h *g,\n"
27333 "                     const char *name,\n"
27334 "                     const char *expr);\n"
27335 "\n"
27336 msgstr ""
27337
27338 #. type: =head2
27339 #: ../src/guestfs-actions.pod:407
27340 msgid "guestfs_aug_get"
27341 msgstr "guestfs_aug_get"
27342
27343 #. type: verbatim
27344 #: ../src/guestfs-actions.pod:409
27345 #, no-wrap
27346 msgid ""
27347 " char *\n"
27348 " guestfs_aug_get (guestfs_h *g,\n"
27349 "                  const char *augpath);\n"
27350 "\n"
27351 msgstr ""
27352 " char *\n"
27353 " guestfs_aug_get (guestfs_h *g,\n"
27354 "                  const char *augpath);\n"
27355 "\n"
27356
27357 #. type: textblock
27358 #: ../src/guestfs-actions.pod:416 ../src/guestfs-actions.pod:1019
27359 #: ../src/guestfs-actions.pod:1037 ../src/guestfs-actions.pod:1097
27360 #: ../src/guestfs-actions.pod:1113 ../src/guestfs-actions.pod:1216
27361 #: ../src/guestfs-actions.pod:1705 ../src/guestfs-actions.pod:1722
27362 #: ../src/guestfs-actions.pod:1741 ../src/guestfs-actions.pod:1875
27363 #: ../src/guestfs-actions.pod:2063 ../src/guestfs-actions.pod:2175
27364 #: ../src/guestfs-actions.pod:2338 ../src/guestfs-actions.pod:2355
27365 #: ../src/guestfs-actions.pod:2422 ../src/guestfs-actions.pod:2465
27366 #: ../src/guestfs-actions.pod:2486 ../src/guestfs-actions.pod:2671
27367 #: ../src/guestfs-actions.pod:2885 ../src/guestfs-actions.pod:3089
27368 #: ../src/guestfs-actions.pod:3191 ../src/guestfs-actions.pod:3295
27369 #: ../src/guestfs-actions.pod:3314 ../src/guestfs-actions.pod:3529
27370 #: ../src/guestfs-actions.pod:3557 ../src/guestfs-actions.pod:3578
27371 #: ../src/guestfs-actions.pod:3612 ../src/guestfs-actions.pod:3679
27372 #: ../src/guestfs-actions.pod:3699 ../src/guestfs-actions.pod:3719
27373 #: ../src/guestfs-actions.pod:4359 ../src/guestfs-actions.pod:4706
27374 #: ../src/guestfs-actions.pod:4873 ../src/guestfs-actions.pod:5132
27375 #: ../src/guestfs-actions.pod:6025 ../src/guestfs-actions.pod:6226
27376 #: ../src/guestfs-actions.pod:6414 ../src/guestfs-actions.pod:6592
27377 #: ../src/guestfs-actions.pod:6641 ../src/guestfs-actions.pod:7301
27378 #: ../src/guestfs-actions.pod:7317 ../src/guestfs-actions.pod:7341
27379 #: ../src/guestfs-actions.pod:7365 ../src/guestfs-actions.pod:8161
27380 #: ../src/guestfs-actions.pod:8180 ../src/guestfs-actions.pod:8198
27381 #: ../src/guestfs-actions.pod:8372 ../src/guestfs-actions.pod:8686
27382 msgid ""
27383 "This function returns a string, or NULL on error.  I<The caller must free "
27384 "the returned string after use>."
27385 msgstr ""
27386
27387 #. type: =head2
27388 #: ../src/guestfs-actions.pod:421
27389 msgid "guestfs_aug_init"
27390 msgstr "guestfs_aug_init"
27391
27392 #. type: verbatim
27393 #: ../src/guestfs-actions.pod:423
27394 #, no-wrap
27395 msgid ""
27396 " int\n"
27397 " guestfs_aug_init (guestfs_h *g,\n"
27398 "                   const char *root,\n"
27399 "                   int flags);\n"
27400 "\n"
27401 msgstr ""
27402 " int\n"
27403 " guestfs_aug_init (guestfs_h *g,\n"
27404 "                   const char *root,\n"
27405 "                   int flags);\n"
27406 "\n"
27407
27408 #. type: textblock
27409 #: ../src/guestfs-actions.pod:432
27410 msgid "You must call this before using any other C<guestfs_aug_*> commands."
27411 msgstr ""
27412
27413 #. type: textblock
27414 #: ../src/guestfs-actions.pod:457
27415 msgid ""
27416 "This option is only useful when debugging Augeas lenses.  Use of this option "
27417 "may require additional memory for the libguestfs appliance.  You may need to "
27418 "set the C<LIBGUESTFS_MEMSIZE> environment variable or call "
27419 "C<guestfs_set_memsize>."
27420 msgstr ""
27421
27422 #. type: textblock
27423 #: ../src/guestfs-actions.pod:472
27424 msgid "Do not load the tree in C<guestfs_aug_init>."
27425 msgstr ""
27426
27427 #. type: textblock
27428 #: ../src/guestfs-actions.pod:476
27429 msgid "To close the handle, you can call C<guestfs_aug_close>."
27430 msgstr ""
27431
27432 #. type: =head2
27433 #: ../src/guestfs-actions.pod:484
27434 msgid "guestfs_aug_insert"
27435 msgstr "guestfs_aug_insert"
27436
27437 #. type: verbatim
27438 #: ../src/guestfs-actions.pod:486
27439 #, no-wrap
27440 msgid ""
27441 " int\n"
27442 " guestfs_aug_insert (guestfs_h *g,\n"
27443 "                     const char *augpath,\n"
27444 "                     const char *label,\n"
27445 "                     int before);\n"
27446 "\n"
27447 msgstr ""
27448 " int\n"
27449 " guestfs_aug_insert (guestfs_h *g,\n"
27450 "                     const char *augpath,\n"
27451 "                     const char *label,\n"
27452 "                     int before);\n"
27453 "\n"
27454
27455 #. type: =head2
27456 #: ../src/guestfs-actions.pod:504
27457 msgid "guestfs_aug_load"
27458 msgstr "guestfs_aug_load"
27459
27460 #. type: verbatim
27461 #: ../src/guestfs-actions.pod:506
27462 #, no-wrap
27463 msgid ""
27464 " int\n"
27465 " guestfs_aug_load (guestfs_h *g);\n"
27466 "\n"
27467 msgstr ""
27468 " int\n"
27469 " guestfs_aug_load (guestfs_h *g);\n"
27470 "\n"
27471
27472 #. type: =head2
27473 #: ../src/guestfs-actions.pod:518
27474 msgid "guestfs_aug_ls"
27475 msgstr "guestfs_aug_ls"
27476
27477 #. type: verbatim
27478 #: ../src/guestfs-actions.pod:520
27479 #, no-wrap
27480 msgid ""
27481 " char **\n"
27482 " guestfs_aug_ls (guestfs_h *g,\n"
27483 "                 const char *augpath);\n"
27484 "\n"
27485 msgstr ""
27486 " char **\n"
27487 " guestfs_aug_ls (guestfs_h *g,\n"
27488 "                 const char *augpath);\n"
27489 "\n"
27490
27491 #. type: textblock
27492 #: ../src/guestfs-actions.pod:524
27493 msgid ""
27494 "This is just a shortcut for listing C<guestfs_aug_match> C<path/*> and "
27495 "sorting the resulting nodes into alphabetical order."
27496 msgstr ""
27497
27498 #. type: textblock
27499 #: ../src/guestfs-actions.pod:527 ../src/guestfs-actions.pod:543
27500 #: ../src/guestfs-actions.pod:689 ../src/guestfs-actions.pod:1235
27501 #: ../src/guestfs-actions.pod:1890 ../src/guestfs-actions.pod:1909
27502 #: ../src/guestfs-actions.pod:2012 ../src/guestfs-actions.pod:2031
27503 #: ../src/guestfs-actions.pod:2277 ../src/guestfs-actions.pod:2743
27504 #: ../src/guestfs-actions.pod:2759 ../src/guestfs-actions.pod:2778
27505 #: ../src/guestfs-actions.pod:2843 ../src/guestfs-actions.pod:2867
27506 #: ../src/guestfs-actions.pod:2938 ../src/guestfs-actions.pod:2987
27507 #: ../src/guestfs-actions.pod:3256 ../src/guestfs-actions.pod:3631
27508 #: ../src/guestfs-actions.pod:3915 ../src/guestfs-actions.pod:4229
27509 #: ../src/guestfs-actions.pod:4246 ../src/guestfs-actions.pod:4266
27510 #: ../src/guestfs-actions.pod:4321 ../src/guestfs-actions.pod:4341
27511 #: ../src/guestfs-actions.pod:4446 ../src/guestfs-actions.pod:4845
27512 #: ../src/guestfs-actions.pod:5751 ../src/guestfs-actions.pod:6386
27513 #: ../src/guestfs-actions.pod:6512 ../src/guestfs-actions.pod:6626
27514 #: ../src/guestfs-actions.pod:7381 ../src/guestfs-actions.pod:7442
27515 #: ../src/guestfs-actions.pod:7497 ../src/guestfs-actions.pod:7643
27516 #: ../src/guestfs-actions.pod:7667 ../src/guestfs-actions.pod:8265
27517 #: ../src/guestfs-actions.pod:8285 ../src/guestfs-actions.pod:8332
27518 #: ../src/guestfs-actions.pod:8526 ../src/guestfs-actions.pod:8545
27519 #: ../src/guestfs-actions.pod:8636 ../src/guestfs-actions.pod:8655
27520 #: ../src/guestfs-actions.pod:8701 ../src/guestfs-actions.pod:8720
27521 msgid ""
27522 "This function returns a NULL-terminated array of strings (like L<environ(3)"
27523 ">), or NULL if there was an error.  I<The caller must free the strings and "
27524 "the array after use>."
27525 msgstr ""
27526
27527 #. type: textblock
27528 #: ../src/guestfs-actions.pod:531 ../src/guestfs-actions.pod:1160
27529 #: ../src/guestfs-actions.pod:1178 ../src/guestfs-actions.pod:1947
27530 #: ../src/guestfs-actions.pod:3993 ../src/guestfs-actions.pod:4024
27531 #: ../src/guestfs-actions.pod:4689 ../src/guestfs-actions.pod:4736
27532 #: ../src/guestfs-actions.pod:5072 ../src/guestfs-actions.pod:5105
27533 #: ../src/guestfs-actions.pod:5268 ../src/guestfs-actions.pod:5755
27534 #: ../src/guestfs-actions.pod:6327 ../src/guestfs-actions.pod:6724
27535 #: ../src/guestfs-actions.pod:6738 ../src/guestfs-actions.pod:6750
27536 #: ../src/guestfs-actions.pod:7228 ../src/guestfs-actions.pod:8003
27537 #: ../src/guestfs-actions.pod:8016 ../src/guestfs-actions.pod:8249
27538 #: ../src/guestfs-actions.pod:8514
27539 msgid "(Added in 0.8)"
27540 msgstr "(Додано у 0.8)"
27541
27542 #. type: =head2
27543 #: ../src/guestfs-actions.pod:533
27544 msgid "guestfs_aug_match"
27545 msgstr "guestfs_aug_match"
27546
27547 #. type: verbatim
27548 #: ../src/guestfs-actions.pod:535
27549 #, no-wrap
27550 msgid ""
27551 " char **\n"
27552 " guestfs_aug_match (guestfs_h *g,\n"
27553 "                    const char *augpath);\n"
27554 "\n"
27555 msgstr ""
27556 " char **\n"
27557 " guestfs_aug_match (guestfs_h *g,\n"
27558 "                    const char *augpath);\n"
27559 "\n"
27560
27561 #. type: =head2
27562 #: ../src/guestfs-actions.pod:549
27563 msgid "guestfs_aug_mv"
27564 msgstr "guestfs_aug_mv"
27565
27566 #. type: verbatim
27567 #: ../src/guestfs-actions.pod:551
27568 #, no-wrap
27569 msgid ""
27570 " int\n"
27571 " guestfs_aug_mv (guestfs_h *g,\n"
27572 "                 const char *src,\n"
27573 "                 const char *dest);\n"
27574 "\n"
27575 msgstr ""
27576 " int\n"
27577 " guestfs_aug_mv (guestfs_h *g,\n"
27578 "                 const char *src,\n"
27579 "                 const char *dest);\n"
27580 "\n"
27581
27582 #. type: =head2
27583 #: ../src/guestfs-actions.pod:563
27584 msgid "guestfs_aug_rm"
27585 msgstr "guestfs_aug_rm"
27586
27587 #. type: verbatim
27588 #: ../src/guestfs-actions.pod:565
27589 #, no-wrap
27590 msgid ""
27591 " int\n"
27592 " guestfs_aug_rm (guestfs_h *g,\n"
27593 "                 const char *augpath);\n"
27594 "\n"
27595 msgstr ""
27596 " int\n"
27597 " guestfs_aug_rm (guestfs_h *g,\n"
27598 "                 const char *augpath);\n"
27599 "\n"
27600
27601 #. type: =head2
27602 #: ../src/guestfs-actions.pod:577
27603 msgid "guestfs_aug_save"
27604 msgstr "guestfs_aug_save"
27605
27606 #. type: verbatim
27607 #: ../src/guestfs-actions.pod:579
27608 #, no-wrap
27609 msgid ""
27610 " int\n"
27611 " guestfs_aug_save (guestfs_h *g);\n"
27612 "\n"
27613 msgstr ""
27614 " int\n"
27615 " guestfs_aug_save (guestfs_h *g);\n"
27616 "\n"
27617
27618 #. type: textblock
27619 #: ../src/guestfs-actions.pod:584
27620 msgid ""
27621 "The flags which were passed to C<guestfs_aug_init> affect exactly how files "
27622 "are saved."
27623 msgstr ""
27624
27625 #. type: =head2
27626 #: ../src/guestfs-actions.pod:591
27627 msgid "guestfs_aug_set"
27628 msgstr "guestfs_aug_set"
27629
27630 #. type: verbatim
27631 #: ../src/guestfs-actions.pod:593
27632 #, no-wrap
27633 msgid ""
27634 " int\n"
27635 " guestfs_aug_set (guestfs_h *g,\n"
27636 "                  const char *augpath,\n"
27637 "                  const char *val);\n"
27638 "\n"
27639 msgstr ""
27640 " int\n"
27641 " guestfs_aug_set (guestfs_h *g,\n"
27642 "                  const char *augpath,\n"
27643 "                  const char *val);\n"
27644 "\n"
27645
27646 #. type: textblock
27647 #: ../src/guestfs-actions.pod:600
27648 msgid ""
27649 "In the Augeas API, it is possible to clear a node by setting the value to "
27650 "NULL.  Due to an oversight in the libguestfs API you cannot do that with "
27651 "this call.  Instead you must use the C<guestfs_aug_clear> call."
27652 msgstr ""
27653
27654 #. type: =head2
27655 #: ../src/guestfs-actions.pod:609
27656 msgid "guestfs_available"
27657 msgstr "guestfs_available"
27658
27659 #. type: verbatim
27660 #: ../src/guestfs-actions.pod:611
27661 #, no-wrap
27662 msgid ""
27663 " int\n"
27664 " guestfs_available (guestfs_h *g,\n"
27665 "                    char *const *groups);\n"
27666 "\n"
27667 msgstr ""
27668 " int\n"
27669 " guestfs_available (guestfs_h *g,\n"
27670 "                    char *const *groups);\n"
27671 "\n"
27672
27673 #. type: textblock
27674 #: ../src/guestfs-actions.pod:619
27675 msgid ""
27676 "The libguestfs groups, and the functions that those groups correspond to, "
27677 "are listed in L<guestfs(3)/AVAILABILITY>.  You can also fetch this list at "
27678 "runtime by calling C<guestfs_available_all_groups>."
27679 msgstr ""
27680
27681 #. type: textblock
27682 #: ../src/guestfs-actions.pod:643
27683 msgid "You must call C<guestfs_launch> before calling this function."
27684 msgstr ""
27685
27686 #. type: textblock
27687 #: ../src/guestfs-actions.pod:665
27688 msgid ""
27689 "This call was added in version C<1.0.80>.  In previous versions of "
27690 "libguestfs all you could do would be to speculatively execute a command to "
27691 "find out if the daemon implemented it.  See also C<guestfs_version>."
27692 msgstr ""
27693
27694 #. type: textblock
27695 #: ../src/guestfs-actions.pod:674 ../src/guestfs-actions.pod:1692
27696 msgid "(Added in 1.0.80)"
27697 msgstr "(Додано у 1.0.80)"
27698
27699 #. type: =head2
27700 #: ../src/guestfs-actions.pod:676
27701 msgid "guestfs_available_all_groups"
27702 msgstr "guestfs_available_all_groups"
27703
27704 #. type: verbatim
27705 #: ../src/guestfs-actions.pod:678
27706 #, no-wrap
27707 msgid ""
27708 " char **\n"
27709 " guestfs_available_all_groups (guestfs_h *g);\n"
27710 "\n"
27711 msgstr ""
27712 " char **\n"
27713 " guestfs_available_all_groups (guestfs_h *g);\n"
27714 "\n"
27715
27716 #. type: textblock
27717 #: ../src/guestfs-actions.pod:681
27718 msgid ""
27719 "This command returns a list of all optional groups that this daemon knows "
27720 "about.  Note this returns both supported and unsupported groups.  To find "
27721 "out which ones the daemon can actually support you have to call "
27722 "C<guestfs_available> on each member of the returned list."
27723 msgstr ""
27724
27725 #. type: textblock
27726 #: ../src/guestfs-actions.pod:687
27727 msgid "See also C<guestfs_available> and L<guestfs(3)/AVAILABILITY>."
27728 msgstr ""
27729
27730 #. type: textblock
27731 #: ../src/guestfs-actions.pod:693
27732 msgid "(Added in 1.3.15)"
27733 msgstr "(Додано у 1.3.15)"
27734
27735 #. type: =head2
27736 #: ../src/guestfs-actions.pod:695
27737 msgid "guestfs_base64_in"
27738 msgstr "guestfs_base64_in"
27739
27740 #. type: verbatim
27741 #: ../src/guestfs-actions.pod:697
27742 #, no-wrap
27743 msgid ""
27744 " int\n"
27745 " guestfs_base64_in (guestfs_h *g,\n"
27746 "                    const char *base64file,\n"
27747 "                    const char *filename);\n"
27748 "\n"
27749 msgstr ""
27750 " int\n"
27751 " guestfs_base64_in (guestfs_h *g,\n"
27752 "                    const char *base64file,\n"
27753 "                    const char *filename);\n"
27754 "\n"
27755
27756 #. type: textblock
27757 #: ../src/guestfs-actions.pod:707 ../src/guestfs-actions.pod:721
27758 msgid "(Added in 1.3.5)"
27759 msgstr "(Додано у 1.3.5)"
27760
27761 #. type: =head2
27762 #: ../src/guestfs-actions.pod:709
27763 msgid "guestfs_base64_out"
27764 msgstr "guestfs_base64_out"
27765
27766 #. type: verbatim
27767 #: ../src/guestfs-actions.pod:711
27768 #, no-wrap
27769 msgid ""
27770 " int\n"
27771 " guestfs_base64_out (guestfs_h *g,\n"
27772 "                     const char *filename,\n"
27773 "                     const char *base64file);\n"
27774 "\n"
27775 msgstr ""
27776 " int\n"
27777 " guestfs_base64_out (guestfs_h *g,\n"
27778 "                     const char *filename,\n"
27779 "                     const char *base64file);\n"
27780 "\n"
27781
27782 #. type: =head2
27783 #: ../src/guestfs-actions.pod:723
27784 #, fuzzy
27785 #| msgid "guestfs_lvuuid"
27786 msgid "guestfs_blkid"
27787 msgstr "guestfs_lvuuid"
27788
27789 #. type: verbatim
27790 #: ../src/guestfs-actions.pod:725
27791 #, fuzzy, no-wrap
27792 #| msgid ""
27793 #| " char *\n"
27794 #| " guestfs_lvuuid (guestfs_h *g,\n"
27795 #| "                 const char *device);\n"
27796 #| "\n"
27797 msgid ""
27798 " char **\n"
27799 " guestfs_blkid (guestfs_h *g,\n"
27800 "                const char *device);\n"
27801 "\n"
27802 msgstr ""
27803 " char *\n"
27804 " guestfs_lvuuid (guestfs_h *g,\n"
27805 "                 const char *device);\n"
27806 "\n"
27807
27808 #. type: textblock
27809 #: ../src/guestfs-actions.pod:756 ../src/guestfs-actions.pod:3231
27810 #: ../src/guestfs-actions.pod:3499 ../src/guestfs-actions.pod:4306
27811 #: ../src/guestfs-actions.pod:5045 ../src/guestfs-actions.pod:5731
27812 #: ../src/guestfs-actions.pod:7928
27813 msgid ""
27814 "This function returns a NULL-terminated array of strings, or NULL if there "
27815 "was an error.  The array of strings will always have length C<2n+1>, where "
27816 "C<n> keys and values alternate, followed by the trailing NULL entry.  I<The "
27817 "caller must free the strings and the array after use>."
27818 msgstr ""
27819
27820 #. type: =head2
27821 #: ../src/guestfs-actions.pod:762
27822 msgid "guestfs_blockdev_flushbufs"
27823 msgstr "guestfs_blockdev_flushbufs"
27824
27825 #. type: verbatim
27826 #: ../src/guestfs-actions.pod:764
27827 #, no-wrap
27828 msgid ""
27829 " int\n"
27830 " guestfs_blockdev_flushbufs (guestfs_h *g,\n"
27831 "                             const char *device);\n"
27832 "\n"
27833 msgstr ""
27834 " int\n"
27835 " guestfs_blockdev_flushbufs (guestfs_h *g,\n"
27836 "                             const char *device);\n"
27837 "\n"
27838
27839 #. type: textblock
27840 #: ../src/guestfs-actions.pod:775 ../src/guestfs-actions.pod:792
27841 #: ../src/guestfs-actions.pod:807 ../src/guestfs-actions.pod:823
27842 #: ../src/guestfs-actions.pod:841 ../src/guestfs-actions.pod:860
27843 #: ../src/guestfs-actions.pod:874 ../src/guestfs-actions.pod:892
27844 #: ../src/guestfs-actions.pod:906 ../src/guestfs-actions.pod:920
27845 msgid "(Added in 0.9.3)"
27846 msgstr "(Додано у 0.9.3)"
27847
27848 #. type: =head2
27849 #: ../src/guestfs-actions.pod:777
27850 msgid "guestfs_blockdev_getbsz"
27851 msgstr "guestfs_blockdev_getbsz"
27852
27853 #. type: verbatim
27854 #: ../src/guestfs-actions.pod:779
27855 #, no-wrap
27856 msgid ""
27857 " int\n"
27858 " guestfs_blockdev_getbsz (guestfs_h *g,\n"
27859 "                          const char *device);\n"
27860 "\n"
27861 msgstr ""
27862 " int\n"
27863 " guestfs_blockdev_getbsz (guestfs_h *g,\n"
27864 "                          const char *device);\n"
27865 "\n"
27866
27867 #. type: =head2
27868 #: ../src/guestfs-actions.pod:794
27869 msgid "guestfs_blockdev_getro"
27870 msgstr "guestfs_blockdev_getro"
27871
27872 #. type: verbatim
27873 #: ../src/guestfs-actions.pod:796
27874 #, no-wrap
27875 msgid ""
27876 " int\n"
27877 " guestfs_blockdev_getro (guestfs_h *g,\n"
27878 "                         const char *device);\n"
27879 "\n"
27880 msgstr ""
27881 " int\n"
27882 " guestfs_blockdev_getro (guestfs_h *g,\n"
27883 "                         const char *device);\n"
27884 "\n"
27885
27886 #. type: textblock
27887 #: ../src/guestfs-actions.pod:805 ../src/guestfs-actions.pod:1930
27888 #: ../src/guestfs-actions.pod:1945 ../src/guestfs-actions.pod:2434
27889 #: ../src/guestfs-actions.pod:2445 ../src/guestfs-actions.pod:2517
27890 #: ../src/guestfs-actions.pod:2543 ../src/guestfs-actions.pod:2583
27891 #: ../src/guestfs-actions.pod:2598 ../src/guestfs-actions.pod:2634
27892 #: ../src/guestfs-actions.pod:2657 ../src/guestfs-actions.pod:3736
27893 #: ../src/guestfs-actions.pod:3752 ../src/guestfs-actions.pod:3770
27894 #: ../src/guestfs-actions.pod:3932 ../src/guestfs-actions.pod:3946
27895 #: ../src/guestfs-actions.pod:3961 ../src/guestfs-actions.pod:3975
27896 #: ../src/guestfs-actions.pod:3991 ../src/guestfs-actions.pod:4006
27897 #: ../src/guestfs-actions.pod:4022 ../src/guestfs-actions.pod:4036
27898 #: ../src/guestfs-actions.pod:4049 ../src/guestfs-actions.pod:4063
27899 #: ../src/guestfs-actions.pod:4078 ../src/guestfs-actions.pod:4093
27900 #: ../src/guestfs-actions.pod:4106 ../src/guestfs-actions.pod:4120
27901 #: ../src/guestfs-actions.pod:5989
27902 msgid "This function returns a C truth value on success or -1 on error."
27903 msgstr ""
27904
27905 #. type: =head2
27906 #: ../src/guestfs-actions.pod:809
27907 msgid "guestfs_blockdev_getsize64"
27908 msgstr "guestfs_blockdev_getsize64"
27909
27910 #. type: verbatim
27911 #: ../src/guestfs-actions.pod:811
27912 #, no-wrap
27913 msgid ""
27914 " int64_t\n"
27915 " guestfs_blockdev_getsize64 (guestfs_h *g,\n"
27916 "                             const char *device);\n"
27917 "\n"
27918 msgstr ""
27919 " int64_t\n"
27920 " guestfs_blockdev_getsize64 (guestfs_h *g,\n"
27921 "                             const char *device);\n"
27922 "\n"
27923
27924 #. type: textblock
27925 #: ../src/guestfs-actions.pod:817
27926 msgid "See also C<guestfs_blockdev_getsz>."
27927 msgstr ""
27928
27929 #. type: =head2
27930 #: ../src/guestfs-actions.pod:825
27931 msgid "guestfs_blockdev_getss"
27932 msgstr "guestfs_blockdev_getss"
27933
27934 #. type: verbatim
27935 #: ../src/guestfs-actions.pod:827
27936 #, no-wrap
27937 msgid ""
27938 " int\n"
27939 " guestfs_blockdev_getss (guestfs_h *g,\n"
27940 "                         const char *device);\n"
27941 "\n"
27942 msgstr ""
27943 " int\n"
27944 " guestfs_blockdev_getss (guestfs_h *g,\n"
27945 "                         const char *device);\n"
27946 "\n"
27947
27948 #. type: textblock
27949 #: ../src/guestfs-actions.pod:834
27950 msgid ""
27951 "(Note, this is not the size in sectors, use C<guestfs_blockdev_getsz> for "
27952 "that)."
27953 msgstr ""
27954
27955 #. type: =head2
27956 #: ../src/guestfs-actions.pod:843
27957 msgid "guestfs_blockdev_getsz"
27958 msgstr "guestfs_blockdev_getsz"
27959
27960 #. type: verbatim
27961 #: ../src/guestfs-actions.pod:845
27962 #, no-wrap
27963 msgid ""
27964 " int64_t\n"
27965 " guestfs_blockdev_getsz (guestfs_h *g,\n"
27966 "                         const char *device);\n"
27967 "\n"
27968 msgstr ""
27969 " int64_t\n"
27970 " guestfs_blockdev_getsz (guestfs_h *g,\n"
27971 "                         const char *device);\n"
27972 "\n"
27973
27974 #. type: textblock
27975 #: ../src/guestfs-actions.pod:852
27976 msgid ""
27977 "See also C<guestfs_blockdev_getss> for the real sector size of the device, "
27978 "and C<guestfs_blockdev_getsize64> for the more useful I<size in bytes>."
27979 msgstr ""
27980
27981 #. type: =head2
27982 #: ../src/guestfs-actions.pod:862
27983 msgid "guestfs_blockdev_rereadpt"
27984 msgstr "guestfs_blockdev_rereadpt"
27985
27986 #. type: verbatim
27987 #: ../src/guestfs-actions.pod:864
27988 #, no-wrap
27989 msgid ""
27990 " int\n"
27991 " guestfs_blockdev_rereadpt (guestfs_h *g,\n"
27992 "                            const char *device);\n"
27993 "\n"
27994 msgstr ""
27995 " int\n"
27996 " guestfs_blockdev_rereadpt (guestfs_h *g,\n"
27997 "                            const char *device);\n"
27998 "\n"
27999
28000 #. type: =head2
28001 #: ../src/guestfs-actions.pod:876
28002 msgid "guestfs_blockdev_setbsz"
28003 msgstr "guestfs_blockdev_setbsz"
28004
28005 #. type: verbatim
28006 #: ../src/guestfs-actions.pod:878
28007 #, no-wrap
28008 msgid ""
28009 " int\n"
28010 " guestfs_blockdev_setbsz (guestfs_h *g,\n"
28011 "                          const char *device,\n"
28012 "                          int blocksize);\n"
28013 "\n"
28014 msgstr ""
28015 " int\n"
28016 " guestfs_blockdev_setbsz (guestfs_h *g,\n"
28017 "                          const char *device,\n"
28018 "                          int blocksize);\n"
28019 "\n"
28020
28021 #. type: =head2
28022 #: ../src/guestfs-actions.pod:894
28023 msgid "guestfs_blockdev_setro"
28024 msgstr "guestfs_blockdev_setro"
28025
28026 #. type: verbatim
28027 #: ../src/guestfs-actions.pod:896
28028 #, no-wrap
28029 msgid ""
28030 " int\n"
28031 " guestfs_blockdev_setro (guestfs_h *g,\n"
28032 "                         const char *device);\n"
28033 "\n"
28034 msgstr ""
28035 " int\n"
28036 " guestfs_blockdev_setro (guestfs_h *g,\n"
28037 "                         const char *device);\n"
28038 "\n"
28039
28040 #. type: =head2
28041 #: ../src/guestfs-actions.pod:908
28042 msgid "guestfs_blockdev_setrw"
28043 msgstr "guestfs_blockdev_setrw"
28044
28045 #. type: verbatim
28046 #: ../src/guestfs-actions.pod:910
28047 #, no-wrap
28048 msgid ""
28049 " int\n"
28050 " guestfs_blockdev_setrw (guestfs_h *g,\n"
28051 "                         const char *device);\n"
28052 "\n"
28053 msgstr ""
28054 " int\n"
28055 " guestfs_blockdev_setrw (guestfs_h *g,\n"
28056 "                         const char *device);\n"
28057 "\n"
28058
28059 #. type: =head2
28060 #: ../src/guestfs-actions.pod:922
28061 msgid "guestfs_btrfs_filesystem_resize"
28062 msgstr "guestfs_btrfs_filesystem_resize"
28063
28064 #. type: verbatim
28065 #: ../src/guestfs-actions.pod:924
28066 #, no-wrap
28067 msgid ""
28068 " int\n"
28069 " guestfs_btrfs_filesystem_resize (guestfs_h *g,\n"
28070 "                                  const char *mountpoint,\n"
28071 "                                  ...);\n"
28072 "\n"
28073 msgstr ""
28074 " int\n"
28075 " guestfs_btrfs_filesystem_resize (guestfs_h *g,\n"
28076 "                                  const char *mountpoint,\n"
28077 "                                  ...);\n"
28078 "\n"
28079
28080 #. type: verbatim
28081 #: ../src/guestfs-actions.pod:934
28082 #, no-wrap
28083 msgid ""
28084 " GUESTFS_BTRFS_FILESYSTEM_RESIZE_SIZE, int64_t size,\n"
28085 "\n"
28086 msgstr ""
28087 " GUESTFS_BTRFS_FILESYSTEM_RESIZE_SIZE, int64_t size,\n"
28088 "\n"
28089
28090 #. type: textblock
28091 #: ../src/guestfs-actions.pod:957
28092 msgid "(Added in 1.11.17)"
28093 msgstr "(Додано у 1.11.17)"
28094
28095 #. type: =head2
28096 #: ../src/guestfs-actions.pod:959
28097 msgid "guestfs_btrfs_filesystem_resize_va"
28098 msgstr "guestfs_btrfs_filesystem_resize_va"
28099
28100 #. type: verbatim
28101 #: ../src/guestfs-actions.pod:961
28102 #, no-wrap
28103 msgid ""
28104 " int\n"
28105 " guestfs_btrfs_filesystem_resize_va (guestfs_h *g,\n"
28106 "                                     const char *mountpoint,\n"
28107 "                                     va_list args);\n"
28108 "\n"
28109 msgstr ""
28110 " int\n"
28111 " guestfs_btrfs_filesystem_resize_va (guestfs_h *g,\n"
28112 "                                     const char *mountpoint,\n"
28113 "                                     va_list args);\n"
28114 "\n"
28115
28116 #. type: textblock
28117 #: ../src/guestfs-actions.pod:966
28118 msgid "This is the \"va_list variant\" of L</guestfs_btrfs_filesystem_resize>."
28119 msgstr ""
28120
28121 #. type: =head2
28122 #: ../src/guestfs-actions.pod:970
28123 msgid "guestfs_btrfs_filesystem_resize_argv"
28124 msgstr "guestfs_btrfs_filesystem_resize_argv"
28125
28126 #. type: verbatim
28127 #: ../src/guestfs-actions.pod:972
28128 #, no-wrap
28129 msgid ""
28130 " int\n"
28131 " guestfs_btrfs_filesystem_resize_argv (guestfs_h *g,\n"
28132 "                                       const char *mountpoint,\n"
28133 "                                       const struct guestfs_btrfs_filesystem_resize_argv *optargs);\n"
28134 "\n"
28135 msgstr ""
28136 " int\n"
28137 " guestfs_btrfs_filesystem_resize_argv (guestfs_h *g,\n"
28138 "                                       const char *mountpoint,\n"
28139 "                                       const struct guestfs_btrfs_filesystem_resize_argv *optargs);\n"
28140 "\n"
28141
28142 #. type: textblock
28143 #: ../src/guestfs-actions.pod:977
28144 msgid "This is the \"argv variant\" of L</guestfs_btrfs_filesystem_resize>."
28145 msgstr ""
28146
28147 #. type: =head2
28148 #: ../src/guestfs-actions.pod:981
28149 msgid "guestfs_case_sensitive_path"
28150 msgstr ""
28151
28152 #. type: verbatim
28153 #: ../src/guestfs-actions.pod:983
28154 #, no-wrap
28155 msgid ""
28156 " char *\n"
28157 " guestfs_case_sensitive_path (guestfs_h *g,\n"
28158 "                              const char *path);\n"
28159 "\n"
28160 msgstr ""
28161
28162 #. type: textblock
28163 #: ../src/guestfs-actions.pod:1009
28164 msgid ""
28165 "Thus C<guestfs_case_sensitive_path> (\"/Windows/System32\")  might return C<"
28166 "\"/WINDOWS/system32\"> (the exact return value would depend on details of "
28167 "how the directories were originally created under Windows)."
28168 msgstr ""
28169
28170 #. type: textblock
28171 #: ../src/guestfs-actions.pod:1017
28172 msgid "See also C<guestfs_realpath>."
28173 msgstr ""
28174
28175 #. type: textblock
28176 #: ../src/guestfs-actions.pod:1022 ../src/guestfs-actions.pod:8183
28177 msgid "(Added in 1.0.75)"
28178 msgstr "(Додано у 1.0.75)"
28179
28180 #. type: =head2
28181 #: ../src/guestfs-actions.pod:1024
28182 msgid "guestfs_cat"
28183 msgstr ""
28184
28185 #. type: verbatim
28186 #: ../src/guestfs-actions.pod:1026
28187 #, no-wrap
28188 msgid ""
28189 " char *\n"
28190 " guestfs_cat (guestfs_h *g,\n"
28191 "              const char *path);\n"
28192 "\n"
28193 msgstr ""
28194
28195 #. type: textblock
28196 #: ../src/guestfs-actions.pod:1032
28197 msgid ""
28198 "Note that this function cannot correctly handle binary files (specifically, "
28199 "files containing C<\\0> character which is treated as end of string).  For "
28200 "those you need to use the C<guestfs_read_file> or C<guestfs_download> "
28201 "functions which have a more complex interface."
28202 msgstr ""
28203
28204 #. type: textblock
28205 #: ../src/guestfs-actions.pod:1043 ../src/guestfs-actions.pod:4250
28206 #: ../src/guestfs-actions.pod:4345 ../src/guestfs-actions.pod:4362
28207 #: ../src/guestfs-actions.pod:4450 ../src/guestfs-actions.pod:4849
28208 #: ../src/guestfs-actions.pod:4863 ../src/guestfs-actions.pod:6390
28209 #: ../src/guestfs-actions.pod:6404 ../src/guestfs-actions.pod:8336
28210 #: ../src/guestfs-actions.pod:8350
28211 msgid "(Added in 0.4)"
28212 msgstr "(Додано у 0.4)"
28213
28214 #. type: =head2
28215 #: ../src/guestfs-actions.pod:1045
28216 msgid "guestfs_checksum"
28217 msgstr ""
28218
28219 #. type: verbatim
28220 #: ../src/guestfs-actions.pod:1047
28221 #, no-wrap
28222 msgid ""
28223 " char *\n"
28224 " guestfs_checksum (guestfs_h *g,\n"
28225 "                   const char *csumtype,\n"
28226 "                   const char *path);\n"
28227 "\n"
28228 msgstr ""
28229
28230 #. type: textblock
28231 #: ../src/guestfs-actions.pod:1093
28232 msgid "To get the checksum for a device, use C<guestfs_checksum_device>."
28233 msgstr ""
28234
28235 #. type: textblock
28236 #: ../src/guestfs-actions.pod:1095
28237 msgid "To get the checksums for many files, use C<guestfs_checksums_out>."
28238 msgstr ""
28239
28240 #. type: textblock
28241 #: ../src/guestfs-actions.pod:1100 ../src/guestfs-actions.pod:1767
28242 #: ../src/guestfs-actions.pod:2625 ../src/guestfs-actions.pod:3948
28243 #: ../src/guestfs-actions.pod:3977 ../src/guestfs-actions.pod:4038
28244 #: ../src/guestfs-actions.pod:4065 ../src/guestfs-actions.pod:8039
28245 msgid "(Added in 1.0.2)"
28246 msgstr "(Додано у 1.0.2)"
28247
28248 #. type: =head2
28249 #: ../src/guestfs-actions.pod:1102
28250 msgid "guestfs_checksum_device"
28251 msgstr ""
28252
28253 #. type: verbatim
28254 #: ../src/guestfs-actions.pod:1104
28255 #, no-wrap
28256 msgid ""
28257 " char *\n"
28258 " guestfs_checksum_device (guestfs_h *g,\n"
28259 "                          const char *csumtype,\n"
28260 "                          const char *device);\n"
28261 "\n"
28262 msgstr ""
28263
28264 #. type: textblock
28265 #: ../src/guestfs-actions.pod:1109
28266 msgid ""
28267 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
28268 "device named C<device>.  For the types of checksums supported see the "
28269 "C<guestfs_checksum> command."
28270 msgstr ""
28271
28272 #. type: textblock
28273 #: ../src/guestfs-actions.pod:1116 ../src/guestfs-actions.pod:5822
28274 #: ../src/guestfs-actions.pod:5957 ../src/guestfs-actions.pod:5991
28275 #: ../src/guestfs-actions.pod:6009 ../src/guestfs-actions.pod:6191
28276 #: ../src/guestfs-actions.pod:7948 ../src/guestfs-actions.pod:7962
28277 #: ../src/guestfs-actions.pod:8362
28278 msgid "(Added in 1.3.2)"
28279 msgstr "(Додано у 1.3.2)"
28280
28281 #. type: =head2
28282 #: ../src/guestfs-actions.pod:1118
28283 msgid "guestfs_checksums_out"
28284 msgstr ""
28285
28286 #. type: verbatim
28287 #: ../src/guestfs-actions.pod:1120
28288 #, no-wrap
28289 msgid ""
28290 " int\n"
28291 " guestfs_checksums_out (guestfs_h *g,\n"
28292 "                        const char *csumtype,\n"
28293 "                        const char *directory,\n"
28294 "                        const char *sumsfile);\n"
28295 "\n"
28296 msgstr ""
28297
28298 #. type: textblock
28299 #: ../src/guestfs-actions.pod:1140
28300 msgid "(Added in 1.3.7)"
28301 msgstr "(Додано у 1.3.7)"
28302
28303 #. type: =head2
28304 #: ../src/guestfs-actions.pod:1142
28305 msgid "guestfs_chmod"
28306 msgstr ""
28307
28308 #. type: verbatim
28309 #: ../src/guestfs-actions.pod:1144
28310 #, no-wrap
28311 msgid ""
28312 " int\n"
28313 " guestfs_chmod (guestfs_h *g,\n"
28314 "                int mode,\n"
28315 "                const char *path);\n"
28316 "\n"
28317 msgstr ""
28318
28319 #. type: =head2
28320 #: ../src/guestfs-actions.pod:1162
28321 msgid "guestfs_chown"
28322 msgstr ""
28323
28324 #. type: verbatim
28325 #: ../src/guestfs-actions.pod:1164
28326 #, no-wrap
28327 msgid ""
28328 " int\n"
28329 " guestfs_chown (guestfs_h *g,\n"
28330 "                int owner,\n"
28331 "                int group,\n"
28332 "                const char *path);\n"
28333 "\n"
28334 msgstr ""
28335
28336 #. type: =head2
28337 #: ../src/guestfs-actions.pod:1180
28338 msgid "guestfs_command"
28339 msgstr ""
28340
28341 #. type: verbatim
28342 #: ../src/guestfs-actions.pod:1182
28343 #, no-wrap
28344 msgid ""
28345 " char *\n"
28346 " guestfs_command (guestfs_h *g,\n"
28347 "                  char *const *arguments);\n"
28348 "\n"
28349 msgstr ""
28350
28351 #. type: textblock
28352 #: ../src/guestfs-actions.pod:1191
28353 msgid ""
28354 "The single parameter is an argv-style list of arguments.  The first element "
28355 "is the name of the program to run.  Subsequent elements are parameters.  The "
28356 "list must be non-empty (ie. must contain a program name).  Note that the "
28357 "command runs directly, and is I<not> invoked via the shell (see "
28358 "C<guestfs_sh>)."
28359 msgstr ""
28360
28361 #. type: textblock
28362 #: ../src/guestfs-actions.pod:1222 ../src/guestfs-actions.pod:1242
28363 #: ../src/guestfs-actions.pod:2066
28364 msgid "(Added in 0.9.1)"
28365 msgstr "(Додано у 0.9.1)"
28366
28367 #. type: =head2
28368 #: ../src/guestfs-actions.pod:1224
28369 msgid "guestfs_command_lines"
28370 msgstr ""
28371
28372 #. type: verbatim
28373 #: ../src/guestfs-actions.pod:1226
28374 #, no-wrap
28375 msgid ""
28376 " char **\n"
28377 " guestfs_command_lines (guestfs_h *g,\n"
28378 "                        char *const *arguments);\n"
28379 "\n"
28380 msgstr ""
28381
28382 #. type: textblock
28383 #: ../src/guestfs-actions.pod:1230
28384 msgid ""
28385 "This is the same as C<guestfs_command>, but splits the result into a list of "
28386 "lines."
28387 msgstr ""
28388
28389 #. type: textblock
28390 #: ../src/guestfs-actions.pod:1233
28391 msgid "See also: C<guestfs_sh_lines>"
28392 msgstr ""
28393
28394 #. type: =head2
28395 #: ../src/guestfs-actions.pod:1244
28396 msgid "guestfs_compress_device_out"
28397 msgstr ""
28398
28399 #. type: verbatim
28400 #: ../src/guestfs-actions.pod:1246
28401 #, no-wrap
28402 msgid ""
28403 " int\n"
28404 " guestfs_compress_device_out (guestfs_h *g,\n"
28405 "                              const char *ctype,\n"
28406 "                              const char *device,\n"
28407 "                              const char *zdevice,\n"
28408 "                              ...);\n"
28409 "\n"
28410 msgstr ""
28411
28412 #. type: verbatim
28413 #: ../src/guestfs-actions.pod:1258
28414 #, no-wrap
28415 msgid ""
28416 " GUESTFS_COMPRESS_DEVICE_OUT_LEVEL, int level,\n"
28417 "\n"
28418 msgstr ""
28419
28420 #. type: textblock
28421 #: ../src/guestfs-actions.pod:1263
28422 msgid ""
28423 "The C<ctype> and optional C<level> parameters have the same meaning as in "
28424 "C<guestfs_compress_out>."
28425 msgstr ""
28426
28427 #. type: textblock
28428 #: ../src/guestfs-actions.pod:1268 ../src/guestfs-actions.pod:1327
28429 #: ../src/guestfs-actions.pod:2611 ../src/guestfs-actions.pod:7107
28430 msgid "(Added in 1.13.15)"
28431 msgstr ""
28432
28433 #. type: =head2
28434 #: ../src/guestfs-actions.pod:1270
28435 msgid "guestfs_compress_device_out_va"
28436 msgstr ""
28437
28438 #. type: verbatim
28439 #: ../src/guestfs-actions.pod:1272
28440 #, no-wrap
28441 msgid ""
28442 " int\n"
28443 " guestfs_compress_device_out_va (guestfs_h *g,\n"
28444 "                                 const char *ctype,\n"
28445 "                                 const char *device,\n"
28446 "                                 const char *zdevice,\n"
28447 "                                 va_list args);\n"
28448 "\n"
28449 msgstr ""
28450
28451 #. type: textblock
28452 #: ../src/guestfs-actions.pod:1279
28453 msgid "This is the \"va_list variant\" of L</guestfs_compress_device_out>."
28454 msgstr ""
28455
28456 #. type: =head2
28457 #: ../src/guestfs-actions.pod:1283
28458 msgid "guestfs_compress_device_out_argv"
28459 msgstr ""
28460
28461 #. type: verbatim
28462 #: ../src/guestfs-actions.pod:1285
28463 #, no-wrap
28464 msgid ""
28465 " int\n"
28466 " guestfs_compress_device_out_argv (guestfs_h *g,\n"
28467 "                                   const char *ctype,\n"
28468 "                                   const char *device,\n"
28469 "                                   const char *zdevice,\n"
28470 "                                   const struct guestfs_compress_device_out_argv *optargs);\n"
28471 "\n"
28472 msgstr ""
28473
28474 #. type: textblock
28475 #: ../src/guestfs-actions.pod:1292
28476 msgid "This is the \"argv variant\" of L</guestfs_compress_device_out>."
28477 msgstr ""
28478
28479 #. type: =head2
28480 #: ../src/guestfs-actions.pod:1296
28481 msgid "guestfs_compress_out"
28482 msgstr ""
28483
28484 #. type: verbatim
28485 #: ../src/guestfs-actions.pod:1298
28486 #, no-wrap
28487 msgid ""
28488 " int\n"
28489 " guestfs_compress_out (guestfs_h *g,\n"
28490 "                       const char *ctype,\n"
28491 "                       const char *file,\n"
28492 "                       const char *zfile,\n"
28493 "                       ...);\n"
28494 "\n"
28495 msgstr ""
28496
28497 #. type: verbatim
28498 #: ../src/guestfs-actions.pod:1310
28499 #, no-wrap
28500 msgid ""
28501 " GUESTFS_COMPRESS_OUT_LEVEL, int level,\n"
28502 "\n"
28503 msgstr ""
28504
28505 #. type: =head2
28506 #: ../src/guestfs-actions.pod:1329
28507 msgid "guestfs_compress_out_va"
28508 msgstr ""
28509
28510 #. type: verbatim
28511 #: ../src/guestfs-actions.pod:1331
28512 #, no-wrap
28513 msgid ""
28514 " int\n"
28515 " guestfs_compress_out_va (guestfs_h *g,\n"
28516 "                          const char *ctype,\n"
28517 "                          const char *file,\n"
28518 "                          const char *zfile,\n"
28519 "                          va_list args);\n"
28520 "\n"
28521 msgstr ""
28522
28523 #. type: textblock
28524 #: ../src/guestfs-actions.pod:1338
28525 msgid "This is the \"va_list variant\" of L</guestfs_compress_out>."
28526 msgstr ""
28527
28528 #. type: =head2
28529 #: ../src/guestfs-actions.pod:1342
28530 msgid "guestfs_compress_out_argv"
28531 msgstr ""
28532
28533 #. type: verbatim
28534 #: ../src/guestfs-actions.pod:1344
28535 #, no-wrap
28536 msgid ""
28537 " int\n"
28538 " guestfs_compress_out_argv (guestfs_h *g,\n"
28539 "                            const char *ctype,\n"
28540 "                            const char *file,\n"
28541 "                            const char *zfile,\n"
28542 "                            const struct guestfs_compress_out_argv *optargs);\n"
28543 "\n"
28544 msgstr ""
28545
28546 #. type: textblock
28547 #: ../src/guestfs-actions.pod:1351
28548 msgid "This is the \"argv variant\" of L</guestfs_compress_out>."
28549 msgstr ""
28550
28551 #. type: =head2
28552 #: ../src/guestfs-actions.pod:1355
28553 msgid "guestfs_config"
28554 msgstr ""
28555
28556 #. type: verbatim
28557 #: ../src/guestfs-actions.pod:1357
28558 #, no-wrap
28559 msgid ""
28560 " int\n"
28561 " guestfs_config (guestfs_h *g,\n"
28562 "                 const char *qemuparam,\n"
28563 "                 const char *qemuvalue);\n"
28564 "\n"
28565 msgstr ""
28566
28567 #. type: =head2
28568 #: ../src/guestfs-actions.pod:1375
28569 msgid "guestfs_copy_device_to_device"
28570 msgstr ""
28571
28572 #. type: verbatim
28573 #: ../src/guestfs-actions.pod:1377
28574 #, no-wrap
28575 msgid ""
28576 " int\n"
28577 " guestfs_copy_device_to_device (guestfs_h *g,\n"
28578 "                                const char *src,\n"
28579 "                                const char *dest,\n"
28580 "                                ...);\n"
28581 "\n"
28582 msgstr ""
28583
28584 #. type: verbatim
28585 #: ../src/guestfs-actions.pod:1388
28586 #, no-wrap
28587 msgid ""
28588 " GUESTFS_COPY_DEVICE_TO_DEVICE_SRCOFFSET, int64_t srcoffset,\n"
28589 " GUESTFS_COPY_DEVICE_TO_DEVICE_DESTOFFSET, int64_t destoffset,\n"
28590 " GUESTFS_COPY_DEVICE_TO_DEVICE_SIZE, int64_t size,\n"
28591 "\n"
28592 msgstr ""
28593
28594 #. type: textblock
28595 #: ../src/guestfs-actions.pod:1392
28596 msgid ""
28597 "The four calls C<guestfs_copy_device_to_device>, "
28598 "C<guestfs_copy_device_to_file>, C<guestfs_copy_file_to_device>, and "
28599 "C<guestfs_copy_file_to_file> let you copy from a source (device|file) to a "
28600 "destination (device|file)."
28601 msgstr ""
28602
28603 #. type: textblock
28604 #: ../src/guestfs-actions.pod:1413 ../src/guestfs-actions.pod:1466
28605 #: ../src/guestfs-actions.pod:1519 ../src/guestfs-actions.pod:1577
28606 #: ../src/guestfs-actions.pod:1631 ../src/guestfs-actions.pod:1762
28607 #: ../src/guestfs-actions.pod:1793 ../src/guestfs-actions.pod:1838
28608 #: ../src/guestfs-actions.pod:2215 ../src/guestfs-actions.pod:2237
28609 #: ../src/guestfs-actions.pod:4148 ../src/guestfs-actions.pod:8034
28610 #: ../src/guestfs-actions.pod:8068 ../src/guestfs-actions.pod:8575
28611 #: ../src/guestfs-actions.pod:8598
28612 msgid ""
28613 "This long-running command can generate progress notification messages so "
28614 "that the caller can display a progress bar or indicator.  To receive these "
28615 "messages, the caller must register a progress event callback.  See L<guestfs"
28616 "(3)/GUESTFS_EVENT_PROGRESS>."
28617 msgstr ""
28618
28619 #. type: textblock
28620 #: ../src/guestfs-actions.pod:1418 ../src/guestfs-actions.pod:1471
28621 #: ../src/guestfs-actions.pod:1524 ../src/guestfs-actions.pod:1582
28622 #: ../src/guestfs-actions.pod:6247
28623 #, fuzzy
28624 #| msgid "(Added in 1.3.5)"
28625 msgid "(Added in 1.13.25)"
28626 msgstr "(Додано у 1.3.5)"
28627
28628 #. type: =head2
28629 #: ../src/guestfs-actions.pod:1420
28630 msgid "guestfs_copy_device_to_device_va"
28631 msgstr ""
28632
28633 #. type: verbatim
28634 #: ../src/guestfs-actions.pod:1422
28635 #, no-wrap
28636 msgid ""
28637 " int\n"
28638 " guestfs_copy_device_to_device_va (guestfs_h *g,\n"
28639 "                                   const char *src,\n"
28640 "                                   const char *dest,\n"
28641 "                                   va_list args);\n"
28642 "\n"
28643 msgstr ""
28644
28645 #. type: textblock
28646 #: ../src/guestfs-actions.pod:1428
28647 msgid "This is the \"va_list variant\" of L</guestfs_copy_device_to_device>."
28648 msgstr ""
28649
28650 #. type: =head2
28651 #: ../src/guestfs-actions.pod:1432
28652 msgid "guestfs_copy_device_to_device_argv"
28653 msgstr ""
28654
28655 #. type: verbatim
28656 #: ../src/guestfs-actions.pod:1434
28657 #, no-wrap
28658 msgid ""
28659 " int\n"
28660 " guestfs_copy_device_to_device_argv (guestfs_h *g,\n"
28661 "                                     const char *src,\n"
28662 "                                     const char *dest,\n"
28663 "                                     const struct guestfs_copy_device_to_device_argv *optargs);\n"
28664 "\n"
28665 msgstr ""
28666
28667 #. type: textblock
28668 #: ../src/guestfs-actions.pod:1440
28669 msgid "This is the \"argv variant\" of L</guestfs_copy_device_to_device>."
28670 msgstr ""
28671
28672 #. type: =head2
28673 #: ../src/guestfs-actions.pod:1444
28674 msgid "guestfs_copy_device_to_file"
28675 msgstr ""
28676
28677 #. type: verbatim
28678 #: ../src/guestfs-actions.pod:1446
28679 #, no-wrap
28680 msgid ""
28681 " int\n"
28682 " guestfs_copy_device_to_file (guestfs_h *g,\n"
28683 "                              const char *src,\n"
28684 "                              const char *dest,\n"
28685 "                              ...);\n"
28686 "\n"
28687 msgstr ""
28688
28689 #. type: verbatim
28690 #: ../src/guestfs-actions.pod:1457
28691 #, no-wrap
28692 msgid ""
28693 " GUESTFS_COPY_DEVICE_TO_FILE_SRCOFFSET, int64_t srcoffset,\n"
28694 " GUESTFS_COPY_DEVICE_TO_FILE_DESTOFFSET, int64_t destoffset,\n"
28695 " GUESTFS_COPY_DEVICE_TO_FILE_SIZE, int64_t size,\n"
28696 "\n"
28697 msgstr ""
28698
28699 #. type: textblock
28700 #: ../src/guestfs-actions.pod:1461 ../src/guestfs-actions.pod:1514
28701 #: ../src/guestfs-actions.pod:1567
28702 msgid ""
28703 "See C<guestfs_copy_device_to_device> for a general overview of this call."
28704 msgstr ""
28705
28706 #. type: =head2
28707 #: ../src/guestfs-actions.pod:1473
28708 msgid "guestfs_copy_device_to_file_va"
28709 msgstr ""
28710
28711 #. type: verbatim
28712 #: ../src/guestfs-actions.pod:1475
28713 #, no-wrap
28714 msgid ""
28715 " int\n"
28716 " guestfs_copy_device_to_file_va (guestfs_h *g,\n"
28717 "                                 const char *src,\n"
28718 "                                 const char *dest,\n"
28719 "                                 va_list args);\n"
28720 "\n"
28721 msgstr ""
28722
28723 #. type: textblock
28724 #: ../src/guestfs-actions.pod:1481
28725 msgid "This is the \"va_list variant\" of L</guestfs_copy_device_to_file>."
28726 msgstr ""
28727
28728 #. type: =head2
28729 #: ../src/guestfs-actions.pod:1485
28730 msgid "guestfs_copy_device_to_file_argv"
28731 msgstr ""
28732
28733 #. type: verbatim
28734 #: ../src/guestfs-actions.pod:1487
28735 #, no-wrap
28736 msgid ""
28737 " int\n"
28738 " guestfs_copy_device_to_file_argv (guestfs_h *g,\n"
28739 "                                   const char *src,\n"
28740 "                                   const char *dest,\n"
28741 "                                   const struct guestfs_copy_device_to_file_argv *optargs);\n"
28742 "\n"
28743 msgstr ""
28744
28745 #. type: textblock
28746 #: ../src/guestfs-actions.pod:1493
28747 msgid "This is the \"argv variant\" of L</guestfs_copy_device_to_file>."
28748 msgstr ""
28749
28750 #. type: =head2
28751 #: ../src/guestfs-actions.pod:1497
28752 msgid "guestfs_copy_file_to_device"
28753 msgstr ""
28754
28755 #. type: verbatim
28756 #: ../src/guestfs-actions.pod:1499
28757 #, no-wrap
28758 msgid ""
28759 " int\n"
28760 " guestfs_copy_file_to_device (guestfs_h *g,\n"
28761 "                              const char *src,\n"
28762 "                              const char *dest,\n"
28763 "                              ...);\n"
28764 "\n"
28765 msgstr ""
28766
28767 #. type: verbatim
28768 #: ../src/guestfs-actions.pod:1510
28769 #, no-wrap
28770 msgid ""
28771 " GUESTFS_COPY_FILE_TO_DEVICE_SRCOFFSET, int64_t srcoffset,\n"
28772 " GUESTFS_COPY_FILE_TO_DEVICE_DESTOFFSET, int64_t destoffset,\n"
28773 " GUESTFS_COPY_FILE_TO_DEVICE_SIZE, int64_t size,\n"
28774 "\n"
28775 msgstr ""
28776
28777 #. type: =head2
28778 #: ../src/guestfs-actions.pod:1526
28779 msgid "guestfs_copy_file_to_device_va"
28780 msgstr ""
28781
28782 #. type: verbatim
28783 #: ../src/guestfs-actions.pod:1528
28784 #, no-wrap
28785 msgid ""
28786 " int\n"
28787 " guestfs_copy_file_to_device_va (guestfs_h *g,\n"
28788 "                                 const char *src,\n"
28789 "                                 const char *dest,\n"
28790 "                                 va_list args);\n"
28791 "\n"
28792 msgstr ""
28793
28794 #. type: textblock
28795 #: ../src/guestfs-actions.pod:1534
28796 msgid "This is the \"va_list variant\" of L</guestfs_copy_file_to_device>."
28797 msgstr ""
28798
28799 #. type: =head2
28800 #: ../src/guestfs-actions.pod:1538
28801 msgid "guestfs_copy_file_to_device_argv"
28802 msgstr ""
28803
28804 #. type: verbatim
28805 #: ../src/guestfs-actions.pod:1540
28806 #, no-wrap
28807 msgid ""
28808 " int\n"
28809 " guestfs_copy_file_to_device_argv (guestfs_h *g,\n"
28810 "                                   const char *src,\n"
28811 "                                   const char *dest,\n"
28812 "                                   const struct guestfs_copy_file_to_device_argv *optargs);\n"
28813 "\n"
28814 msgstr ""
28815
28816 #. type: textblock
28817 #: ../src/guestfs-actions.pod:1546
28818 msgid "This is the \"argv variant\" of L</guestfs_copy_file_to_device>."
28819 msgstr ""
28820
28821 #. type: =head2
28822 #: ../src/guestfs-actions.pod:1550
28823 msgid "guestfs_copy_file_to_file"
28824 msgstr ""
28825
28826 #. type: verbatim
28827 #: ../src/guestfs-actions.pod:1552
28828 #, no-wrap
28829 msgid ""
28830 " int\n"
28831 " guestfs_copy_file_to_file (guestfs_h *g,\n"
28832 "                            const char *src,\n"
28833 "                            const char *dest,\n"
28834 "                            ...);\n"
28835 "\n"
28836 msgstr ""
28837
28838 #. type: verbatim
28839 #: ../src/guestfs-actions.pod:1563
28840 #, no-wrap
28841 msgid ""
28842 " GUESTFS_COPY_FILE_TO_FILE_SRCOFFSET, int64_t srcoffset,\n"
28843 " GUESTFS_COPY_FILE_TO_FILE_DESTOFFSET, int64_t destoffset,\n"
28844 " GUESTFS_COPY_FILE_TO_FILE_SIZE, int64_t size,\n"
28845 "\n"
28846 msgstr ""
28847
28848 #. type: textblock
28849 #: ../src/guestfs-actions.pod:1570
28850 msgid ""
28851 "This is B<not> the function you want for copying files.  This is for copying "
28852 "blocks within existing files.  See C<guestfs_cp>, C<guestfs_cp_a> and "
28853 "C<guestfs_mv> for general file copying and moving functions."
28854 msgstr ""
28855
28856 #. type: =head2
28857 #: ../src/guestfs-actions.pod:1584
28858 msgid "guestfs_copy_file_to_file_va"
28859 msgstr ""
28860
28861 #. type: verbatim
28862 #: ../src/guestfs-actions.pod:1586
28863 #, no-wrap
28864 msgid ""
28865 " int\n"
28866 " guestfs_copy_file_to_file_va (guestfs_h *g,\n"
28867 "                               const char *src,\n"
28868 "                               const char *dest,\n"
28869 "                               va_list args);\n"
28870 "\n"
28871 msgstr ""
28872
28873 #. type: textblock
28874 #: ../src/guestfs-actions.pod:1592
28875 msgid "This is the \"va_list variant\" of L</guestfs_copy_file_to_file>."
28876 msgstr ""
28877
28878 #. type: =head2
28879 #: ../src/guestfs-actions.pod:1596
28880 msgid "guestfs_copy_file_to_file_argv"
28881 msgstr ""
28882
28883 #. type: verbatim
28884 #: ../src/guestfs-actions.pod:1598
28885 #, no-wrap
28886 msgid ""
28887 " int\n"
28888 " guestfs_copy_file_to_file_argv (guestfs_h *g,\n"
28889 "                                 const char *src,\n"
28890 "                                 const char *dest,\n"
28891 "                                 const struct guestfs_copy_file_to_file_argv *optargs);\n"
28892 "\n"
28893 msgstr ""
28894
28895 #. type: textblock
28896 #: ../src/guestfs-actions.pod:1604
28897 msgid "This is the \"argv variant\" of L</guestfs_copy_file_to_file>."
28898 msgstr ""
28899
28900 #. type: =head2
28901 #: ../src/guestfs-actions.pod:1608
28902 msgid "guestfs_copy_size"
28903 msgstr ""
28904
28905 #. type: verbatim
28906 #: ../src/guestfs-actions.pod:1610
28907 #, no-wrap
28908 msgid ""
28909 " int\n"
28910 " guestfs_copy_size (guestfs_h *g,\n"
28911 "                    const char *src,\n"
28912 "                    const char *dest,\n"
28913 "                    int64_t size);\n"
28914 "\n"
28915 msgstr ""
28916
28917 #. type: textblock
28918 #: ../src/guestfs-actions.pod:1616 ../src/guestfs-actions.pod:1673
28919 msgid ""
28920 "I<This function is deprecated.> In new code, use the L</"
28921 "guestfs_copy_device_to_device> call instead."
28922 msgstr ""
28923
28924 #. type: textblock
28925 #: ../src/guestfs-actions.pod:1636 ../src/guestfs-actions.pod:4876
28926 #: ../src/guestfs-actions.pod:6417 ../src/guestfs-actions.pod:8269
28927 #: ../src/guestfs-actions.pod:8289 ../src/guestfs-actions.pod:8375
28928 msgid "(Added in 1.0.87)"
28929 msgstr "(Додано у 1.0.87)"
28930
28931 #. type: =head2
28932 #: ../src/guestfs-actions.pod:1638
28933 msgid "guestfs_cp"
28934 msgstr ""
28935
28936 #. type: verbatim
28937 #: ../src/guestfs-actions.pod:1640
28938 #, no-wrap
28939 msgid ""
28940 " int\n"
28941 " guestfs_cp (guestfs_h *g,\n"
28942 "             const char *src,\n"
28943 "             const char *dest);\n"
28944 "\n"
28945 msgstr ""
28946
28947 #. type: textblock
28948 #: ../src/guestfs-actions.pod:1650 ../src/guestfs-actions.pod:1664
28949 #: ../src/guestfs-actions.pod:1744 ../src/guestfs-actions.pod:1818
28950 #: ../src/guestfs-actions.pod:1932 ../src/guestfs-actions.pod:5769
28951 #: ../src/guestfs-actions.pod:6261
28952 msgid "(Added in 1.0.18)"
28953 msgstr "(Додано у 1.0.18)"
28954
28955 #. type: =head2
28956 #: ../src/guestfs-actions.pod:1652
28957 msgid "guestfs_cp_a"
28958 msgstr ""
28959
28960 #. type: verbatim
28961 #: ../src/guestfs-actions.pod:1654
28962 #, no-wrap
28963 msgid ""
28964 " int\n"
28965 " guestfs_cp_a (guestfs_h *g,\n"
28966 "               const char *src,\n"
28967 "               const char *dest);\n"
28968 "\n"
28969 msgstr ""
28970
28971 #. type: =head2
28972 #: ../src/guestfs-actions.pod:1666
28973 msgid "guestfs_dd"
28974 msgstr ""
28975
28976 #. type: verbatim
28977 #: ../src/guestfs-actions.pod:1668
28978 #, no-wrap
28979 msgid ""
28980 " int\n"
28981 " guestfs_dd (guestfs_h *g,\n"
28982 "             const char *src,\n"
28983 "             const char *dest);\n"
28984 "\n"
28985 msgstr ""
28986
28987 #. type: textblock
28988 #: ../src/guestfs-actions.pod:1685
28989 msgid ""
28990 "If the destination is a device, it must be as large or larger than the "
28991 "source file or device, otherwise the copy will fail.  This command cannot do "
28992 "partial copies (see C<guestfs_copy_device_to_device>)."
28993 msgstr ""
28994
28995 #. type: =head2
28996 #: ../src/guestfs-actions.pod:1694
28997 msgid "guestfs_df"
28998 msgstr ""
28999
29000 #. type: verbatim
29001 #: ../src/guestfs-actions.pod:1696
29002 #, no-wrap
29003 msgid ""
29004 " char *\n"
29005 " guestfs_df (guestfs_h *g);\n"
29006 "\n"
29007 msgstr ""
29008
29009 #. type: textblock
29010 #: ../src/guestfs-actions.pod:1701 ../src/guestfs-actions.pod:1718
29011 msgid ""
29012 "This command is mostly useful for interactive sessions.  It is I<not> "
29013 "intended that you try to parse the output string.  Use C<guestfs_statvfs> "
29014 "from programs."
29015 msgstr ""
29016
29017 #. type: textblock
29018 #: ../src/guestfs-actions.pod:1708 ../src/guestfs-actions.pod:1725
29019 #: ../src/guestfs-actions.pod:1843 ../src/guestfs-actions.pod:2850
29020 #: ../src/guestfs-actions.pod:2874 ../src/guestfs-actions.pod:2942
29021 #: ../src/guestfs-actions.pod:5135 ../src/guestfs-actions.pod:5669
29022 #: ../src/guestfs-actions.pod:7650 ../src/guestfs-actions.pod:7674
29023 #: ../src/guestfs-actions.pod:8415 ../src/guestfs-actions.pod:8428
29024 #: ../src/guestfs-actions.pod:8441
29025 msgid "(Added in 1.0.54)"
29026 msgstr "(Додано у 1.0.54)"
29027
29028 #. type: =head2
29029 #: ../src/guestfs-actions.pod:1710
29030 msgid "guestfs_df_h"
29031 msgstr ""
29032
29033 #. type: verbatim
29034 #: ../src/guestfs-actions.pod:1712
29035 #, no-wrap
29036 msgid ""
29037 " char *\n"
29038 " guestfs_df_h (guestfs_h *g);\n"
29039 "\n"
29040 msgstr ""
29041
29042 #. type: =head2
29043 #: ../src/guestfs-actions.pod:1727
29044 msgid "guestfs_dmesg"
29045 msgstr ""
29046
29047 #. type: verbatim
29048 #: ../src/guestfs-actions.pod:1729
29049 #, no-wrap
29050 msgid ""
29051 " char *\n"
29052 " guestfs_dmesg (guestfs_h *g);\n"
29053 "\n"
29054 msgstr ""
29055
29056 #. type: textblock
29057 #: ../src/guestfs-actions.pod:1736
29058 msgid ""
29059 "Another way to get the same information is to enable verbose messages with "
29060 "C<guestfs_set_verbose> or by setting the environment variable "
29061 "C<LIBGUESTFS_DEBUG=1> before running the program."
29062 msgstr ""
29063
29064 #. type: =head2
29065 #: ../src/guestfs-actions.pod:1746
29066 msgid "guestfs_download"
29067 msgstr ""
29068
29069 #. type: verbatim
29070 #: ../src/guestfs-actions.pod:1748
29071 #, no-wrap
29072 msgid ""
29073 " int\n"
29074 " guestfs_download (guestfs_h *g,\n"
29075 "                   const char *remotefilename,\n"
29076 "                   const char *filename);\n"
29077 "\n"
29078 msgstr ""
29079
29080 #. type: textblock
29081 #: ../src/guestfs-actions.pod:1758
29082 msgid "See also C<guestfs_upload>, C<guestfs_cat>."
29083 msgstr ""
29084
29085 #. type: =head2
29086 #: ../src/guestfs-actions.pod:1769
29087 msgid "guestfs_download_offset"
29088 msgstr ""
29089
29090 #. type: verbatim
29091 #: ../src/guestfs-actions.pod:1771
29092 #, no-wrap
29093 msgid ""
29094 " int\n"
29095 " guestfs_download_offset (guestfs_h *g,\n"
29096 "                          const char *remotefilename,\n"
29097 "                          const char *filename,\n"
29098 "                          int64_t offset,\n"
29099 "                          int64_t size);\n"
29100 "\n"
29101 msgstr ""
29102
29103 #. type: textblock
29104 #: ../src/guestfs-actions.pod:1784
29105 msgid ""
29106 "Note that there is no limit on the amount of data that can be downloaded "
29107 "with this call, unlike with C<guestfs_pread>, and this call always reads the "
29108 "full amount unless an error occurs."
29109 msgstr ""
29110
29111 #. type: textblock
29112 #: ../src/guestfs-actions.pod:1789
29113 msgid "See also C<guestfs_download>, C<guestfs_pread>."
29114 msgstr ""
29115
29116 #. type: textblock
29117 #: ../src/guestfs-actions.pod:1798 ../src/guestfs-actions.pod:8073
29118 msgid "(Added in 1.5.17)"
29119 msgstr "(Додано у 1.5.17)"
29120
29121 #. type: =head2
29122 #: ../src/guestfs-actions.pod:1800
29123 msgid "guestfs_drop_caches"
29124 msgstr ""
29125
29126 #. type: verbatim
29127 #: ../src/guestfs-actions.pod:1802
29128 #, no-wrap
29129 msgid ""
29130 " int\n"
29131 " guestfs_drop_caches (guestfs_h *g,\n"
29132 "                      int whattodrop);\n"
29133 "\n"
29134 msgstr ""
29135
29136 #. type: =head2
29137 #: ../src/guestfs-actions.pod:1820
29138 msgid "guestfs_du"
29139 msgstr ""
29140
29141 #. type: verbatim
29142 #: ../src/guestfs-actions.pod:1822
29143 #, no-wrap
29144 msgid ""
29145 " int64_t\n"
29146 " guestfs_du (guestfs_h *g,\n"
29147 "             const char *path);\n"
29148 "\n"
29149 msgstr ""
29150
29151 #. type: =head2
29152 #: ../src/guestfs-actions.pod:1845
29153 msgid "guestfs_e2fsck_f"
29154 msgstr ""
29155
29156 #. type: verbatim
29157 #: ../src/guestfs-actions.pod:1847
29158 #, no-wrap
29159 msgid ""
29160 " int\n"
29161 " guestfs_e2fsck_f (guestfs_h *g,\n"
29162 "                   const char *device);\n"
29163 "\n"
29164 msgstr ""
29165
29166 #. type: textblock
29167 #: ../src/guestfs-actions.pod:1855
29168 msgid ""
29169 "This command is only needed because of C<guestfs_resize2fs> (q.v.).  "
29170 "Normally you should use C<guestfs_fsck>."
29171 msgstr ""
29172
29173 #. type: textblock
29174 #: ../src/guestfs-actions.pod:1860
29175 msgid "(Added in 1.0.29)"
29176 msgstr "(Додано у 1.0.29)"
29177
29178 #. type: =head2
29179 #: ../src/guestfs-actions.pod:1862
29180 msgid "guestfs_echo_daemon"
29181 msgstr "guestfs_echo_daemon"
29182
29183 #. type: verbatim
29184 #: ../src/guestfs-actions.pod:1864
29185 #, no-wrap
29186 msgid ""
29187 " char *\n"
29188 " guestfs_echo_daemon (guestfs_h *g,\n"
29189 "                      char *const *words);\n"
29190 "\n"
29191 msgstr ""
29192 " char *\n"
29193 " guestfs_echo_daemon (guestfs_h *g,\n"
29194 "                      char *const *words);\n"
29195 "\n"
29196
29197 #. type: textblock
29198 #: ../src/guestfs-actions.pod:1873
29199 msgid "See also C<guestfs_ping_daemon>."
29200 msgstr ""
29201
29202 #. type: textblock
29203 #: ../src/guestfs-actions.pod:1878 ../src/guestfs-actions.pod:2636
29204 #: ../src/guestfs-actions.pod:7131
29205 msgid "(Added in 1.0.69)"
29206 msgstr "(Додано у 1.0.69)"
29207
29208 #. type: =head2
29209 #: ../src/guestfs-actions.pod:1880
29210 msgid "guestfs_egrep"
29211 msgstr "guestfs_egrep"
29212
29213 #. type: verbatim
29214 #: ../src/guestfs-actions.pod:1882
29215 #, no-wrap
29216 msgid ""
29217 " char **\n"
29218 " guestfs_egrep (guestfs_h *g,\n"
29219 "                const char *regex,\n"
29220 "                const char *path);\n"
29221 "\n"
29222 msgstr ""
29223 " char **\n"
29224 " guestfs_egrep (guestfs_h *g,\n"
29225 "                const char *regex,\n"
29226 "                const char *path);\n"
29227 "\n"
29228
29229 #. type: textblock
29230 #: ../src/guestfs-actions.pod:1897 ../src/guestfs-actions.pod:1916
29231 #: ../src/guestfs-actions.pod:1973 ../src/guestfs-actions.pod:2019
29232 #: ../src/guestfs-actions.pod:2038 ../src/guestfs-actions.pod:2766
29233 #: ../src/guestfs-actions.pod:2785 ../src/guestfs-actions.pod:2963
29234 #: ../src/guestfs-actions.pod:2976 ../src/guestfs-actions.pod:2991
29235 #: ../src/guestfs-actions.pod:3037 ../src/guestfs-actions.pod:3059
29236 #: ../src/guestfs-actions.pod:3072 ../src/guestfs-actions.pod:4375
29237 #: ../src/guestfs-actions.pod:4389 ../src/guestfs-actions.pod:4402
29238 #: ../src/guestfs-actions.pod:4416 ../src/guestfs-actions.pod:5557
29239 #: ../src/guestfs-actions.pod:6595 ../src/guestfs-actions.pod:6644
29240 #: ../src/guestfs-actions.pod:7518 ../src/guestfs-actions.pod:7530
29241 #: ../src/guestfs-actions.pod:7543 ../src/guestfs-actions.pod:7556
29242 #: ../src/guestfs-actions.pod:7578 ../src/guestfs-actions.pod:7591
29243 #: ../src/guestfs-actions.pod:7604 ../src/guestfs-actions.pod:7617
29244 #: ../src/guestfs-actions.pod:8533 ../src/guestfs-actions.pod:8552
29245 #: ../src/guestfs-actions.pod:8643 ../src/guestfs-actions.pod:8662
29246 #: ../src/guestfs-actions.pod:8708 ../src/guestfs-actions.pod:8727
29247 msgid "(Added in 1.0.66)"
29248 msgstr "(Додано у 1.0.66)"
29249
29250 #. type: =head2
29251 #: ../src/guestfs-actions.pod:1899
29252 msgid "guestfs_egrepi"
29253 msgstr "guestfs_egrepi"
29254
29255 #. type: verbatim
29256 #: ../src/guestfs-actions.pod:1901
29257 #, no-wrap
29258 msgid ""
29259 " char **\n"
29260 " guestfs_egrepi (guestfs_h *g,\n"
29261 "                 const char *regex,\n"
29262 "                 const char *path);\n"
29263 "\n"
29264 msgstr ""
29265
29266 #. type: =head2
29267 #: ../src/guestfs-actions.pod:1918
29268 msgid "guestfs_equal"
29269 msgstr ""
29270
29271 #. type: verbatim
29272 #: ../src/guestfs-actions.pod:1920
29273 #, no-wrap
29274 msgid ""
29275 " int\n"
29276 " guestfs_equal (guestfs_h *g,\n"
29277 "                const char *file1,\n"
29278 "                const char *file2);\n"
29279 "\n"
29280 msgstr ""
29281
29282 #. type: =head2
29283 #: ../src/guestfs-actions.pod:1934
29284 msgid "guestfs_exists"
29285 msgstr ""
29286
29287 #. type: verbatim
29288 #: ../src/guestfs-actions.pod:1936
29289 #, no-wrap
29290 msgid ""
29291 " int\n"
29292 " guestfs_exists (guestfs_h *g,\n"
29293 "                 const char *path);\n"
29294 "\n"
29295 msgstr ""
29296
29297 #. type: textblock
29298 #: ../src/guestfs-actions.pod:1943
29299 msgid "See also C<guestfs_is_file>, C<guestfs_is_dir>, C<guestfs_stat>."
29300 msgstr ""
29301
29302 #. type: =head2
29303 #: ../src/guestfs-actions.pod:1949
29304 msgid "guestfs_fallocate"
29305 msgstr ""
29306
29307 #. type: verbatim
29308 #: ../src/guestfs-actions.pod:1951
29309 #, no-wrap
29310 msgid ""
29311 " int\n"
29312 " guestfs_fallocate (guestfs_h *g,\n"
29313 "                    const char *path,\n"
29314 "                    int len);\n"
29315 "\n"
29316 msgstr ""
29317
29318 #. type: textblock
29319 #: ../src/guestfs-actions.pod:1956
29320 msgid ""
29321 "I<This function is deprecated.> In new code, use the L</guestfs_fallocate64> "
29322 "call instead."
29323 msgstr ""
29324
29325 #. type: =head2
29326 #: ../src/guestfs-actions.pod:1975
29327 msgid "guestfs_fallocate64"
29328 msgstr ""
29329
29330 #. type: verbatim
29331 #: ../src/guestfs-actions.pod:1977
29332 #, no-wrap
29333 msgid ""
29334 " int\n"
29335 " guestfs_fallocate64 (guestfs_h *g,\n"
29336 "                      const char *path,\n"
29337 "                      int64_t len);\n"
29338 "\n"
29339 msgstr ""
29340
29341 #. type: textblock
29342 #: ../src/guestfs-actions.pod:1986
29343 msgid ""
29344 "Note that this call allocates disk blocks for the file.  To create a sparse "
29345 "file use C<guestfs_truncate_size> instead."
29346 msgstr ""
29347
29348 #. type: textblock
29349 #: ../src/guestfs-actions.pod:1989
29350 msgid ""
29351 "The deprecated call C<guestfs_fallocate> does the same, but owing to an "
29352 "oversight it only allowed 30 bit lengths to be specified, effectively "
29353 "limiting the maximum size of files created through that call to 1GB."
29354 msgstr ""
29355
29356 #. type: textblock
29357 #: ../src/guestfs-actions.pod:2000
29358 msgid "(Added in 1.3.17)"
29359 msgstr "(Додано у 1.3.17)"
29360
29361 #. type: =head2
29362 #: ../src/guestfs-actions.pod:2002
29363 msgid "guestfs_fgrep"
29364 msgstr ""
29365
29366 #. type: verbatim
29367 #: ../src/guestfs-actions.pod:2004
29368 #, no-wrap
29369 msgid ""
29370 " char **\n"
29371 " guestfs_fgrep (guestfs_h *g,\n"
29372 "                const char *pattern,\n"
29373 "                const char *path);\n"
29374 "\n"
29375 msgstr ""
29376
29377 #. type: =head2
29378 #: ../src/guestfs-actions.pod:2021
29379 msgid "guestfs_fgrepi"
29380 msgstr ""
29381
29382 #. type: verbatim
29383 #: ../src/guestfs-actions.pod:2023
29384 #, no-wrap
29385 msgid ""
29386 " char **\n"
29387 " guestfs_fgrepi (guestfs_h *g,\n"
29388 "                 const char *pattern,\n"
29389 "                 const char *path);\n"
29390 "\n"
29391 msgstr ""
29392
29393 #. type: =head2
29394 #: ../src/guestfs-actions.pod:2040
29395 msgid "guestfs_file"
29396 msgstr ""
29397
29398 #. type: verbatim
29399 #: ../src/guestfs-actions.pod:2042
29400 #, no-wrap
29401 msgid ""
29402 " char *\n"
29403 " guestfs_file (guestfs_h *g,\n"
29404 "               const char *path);\n"
29405 "\n"
29406 msgstr ""
29407
29408 #. type: textblock
29409 #: ../src/guestfs-actions.pod:2060
29410 msgid ""
29411 "See also: L<file(1)>, C<guestfs_vfs_type>, C<guestfs_lstat>, "
29412 "C<guestfs_is_file>, C<guestfs_is_blockdev> (etc), C<guestfs_is_zero>."
29413 msgstr ""
29414
29415 #. type: =head2
29416 #: ../src/guestfs-actions.pod:2068
29417 msgid "guestfs_file_architecture"
29418 msgstr ""
29419
29420 #. type: verbatim
29421 #: ../src/guestfs-actions.pod:2070
29422 #, no-wrap
29423 msgid ""
29424 " char *\n"
29425 " guestfs_file_architecture (guestfs_h *g,\n"
29426 "                            const char *filename);\n"
29427 "\n"
29428 msgstr ""
29429
29430 #. type: textblock
29431 #: ../src/guestfs-actions.pod:2178 ../src/guestfs-actions.pod:2341
29432 #: ../src/guestfs-actions.pod:2358 ../src/guestfs-actions.pod:3092
29433 #: ../src/guestfs-actions.pod:3194 ../src/guestfs-actions.pod:3260
29434 #: ../src/guestfs-actions.pod:3447 ../src/guestfs-actions.pod:3465
29435 #: ../src/guestfs-actions.pod:3505 ../src/guestfs-actions.pod:3581
29436 #: ../src/guestfs-actions.pod:3682 ../src/guestfs-actions.pod:3919
29437 #: ../src/guestfs-actions.pod:4051
29438 msgid "(Added in 1.5.3)"
29439 msgstr "(Додано у 1.5.3)"
29440
29441 #. type: =head2
29442 #: ../src/guestfs-actions.pod:2180
29443 msgid "guestfs_filesize"
29444 msgstr ""
29445
29446 #. type: verbatim
29447 #: ../src/guestfs-actions.pod:2182
29448 #, no-wrap
29449 msgid ""
29450 " int64_t\n"
29451 " guestfs_filesize (guestfs_h *g,\n"
29452 "                   const char *file);\n"
29453 "\n"
29454 msgstr ""
29455
29456 #. type: textblock
29457 #: ../src/guestfs-actions.pod:2188
29458 msgid ""
29459 "To get other stats about a file, use C<guestfs_stat>, C<guestfs_lstat>, "
29460 "C<guestfs_is_dir>, C<guestfs_is_file> etc.  To get the size of block "
29461 "devices, use C<guestfs_blockdev_getsize64>."
29462 msgstr ""
29463
29464 #. type: textblock
29465 #: ../src/guestfs-actions.pod:2194
29466 msgid "(Added in 1.0.82)"
29467 msgstr "(Додано у 1.0.82)"
29468
29469 #. type: =head2
29470 #: ../src/guestfs-actions.pod:2196
29471 msgid "guestfs_fill"
29472 msgstr ""
29473
29474 #. type: verbatim
29475 #: ../src/guestfs-actions.pod:2198
29476 #, no-wrap
29477 msgid ""
29478 " int\n"
29479 " guestfs_fill (guestfs_h *g,\n"
29480 "               int c,\n"
29481 "               int len,\n"
29482 "               const char *path);\n"
29483 "\n"
29484 msgstr ""
29485
29486 #. type: textblock
29487 #: ../src/guestfs-actions.pod:2208
29488 msgid ""
29489 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
29490 "C<guestfs_truncate_size>.  To create a file with a pattern of repeating "
29491 "bytes use C<guestfs_fill_pattern>."
29492 msgstr ""
29493
29494 #. type: textblock
29495 #: ../src/guestfs-actions.pod:2220
29496 msgid "(Added in 1.0.79)"
29497 msgstr "(Додано у 1.0.79)"
29498
29499 #. type: =head2
29500 #: ../src/guestfs-actions.pod:2222
29501 msgid "guestfs_fill_pattern"
29502 msgstr ""
29503
29504 #. type: verbatim
29505 #: ../src/guestfs-actions.pod:2224
29506 #, no-wrap
29507 msgid ""
29508 " int\n"
29509 " guestfs_fill_pattern (guestfs_h *g,\n"
29510 "                       const char *pattern,\n"
29511 "                       int len,\n"
29512 "                       const char *path);\n"
29513 "\n"
29514 msgstr ""
29515
29516 #. type: textblock
29517 #: ../src/guestfs-actions.pod:2230
29518 msgid ""
29519 "This function is like C<guestfs_fill> except that it creates a new file of "
29520 "length C<len> containing the repeating pattern of bytes in C<pattern>.  The "
29521 "pattern is truncated if necessary to ensure the length of the file is "
29522 "exactly C<len> bytes."
29523 msgstr ""
29524
29525 #. type: textblock
29526 #: ../src/guestfs-actions.pod:2242
29527 msgid "(Added in 1.3.12)"
29528 msgstr "(Додано у 1.3.12)"
29529
29530 #. type: =head2
29531 #: ../src/guestfs-actions.pod:2244
29532 msgid "guestfs_find"
29533 msgstr ""
29534
29535 #. type: verbatim
29536 #: ../src/guestfs-actions.pod:2246
29537 #, no-wrap
29538 msgid ""
29539 " char **\n"
29540 " guestfs_find (guestfs_h *g,\n"
29541 "               const char *directory);\n"
29542 "\n"
29543 msgstr ""
29544
29545 #. type: textblock
29546 #: ../src/guestfs-actions.pod:2262
29547 msgid ""
29548 "then the returned list from C<guestfs_find> C</tmp> would be 4 elements:"
29549 msgstr ""
29550
29551 #. type: textblock
29552 #: ../src/guestfs-actions.pod:2275
29553 msgid "See also C<guestfs_find0>."
29554 msgstr ""
29555
29556 #. type: textblock
29557 #: ../src/guestfs-actions.pod:2284 ../src/guestfs-actions.pod:4813
29558 #: ../src/guestfs-actions.pod:6679
29559 msgid "(Added in 1.0.27)"
29560 msgstr "(Додано у 1.0.27)"
29561
29562 #. type: =head2
29563 #: ../src/guestfs-actions.pod:2286
29564 msgid "guestfs_find0"
29565 msgstr ""
29566
29567 #. type: verbatim
29568 #: ../src/guestfs-actions.pod:2288
29569 #, no-wrap
29570 msgid ""
29571 " int\n"
29572 " guestfs_find0 (guestfs_h *g,\n"
29573 "                const char *directory,\n"
29574 "                const char *files);\n"
29575 "\n"
29576 msgstr ""
29577
29578 #. type: textblock
29579 #: ../src/guestfs-actions.pod:2297
29580 msgid ""
29581 "This command works the same way as C<guestfs_find> with the following "
29582 "exceptions:"
29583 msgstr ""
29584
29585 #. type: textblock
29586 #: ../src/guestfs-actions.pod:2324
29587 msgid "(Added in 1.0.74)"
29588 msgstr "(Додано у 1.0.74)"
29589
29590 #. type: =head2
29591 #: ../src/guestfs-actions.pod:2326
29592 msgid "guestfs_findfs_label"
29593 msgstr ""
29594
29595 #. type: verbatim
29596 #: ../src/guestfs-actions.pod:2328
29597 #, no-wrap
29598 msgid ""
29599 " char *\n"
29600 " guestfs_findfs_label (guestfs_h *g,\n"
29601 "                       const char *label);\n"
29602 "\n"
29603 msgstr ""
29604
29605 #. type: textblock
29606 #: ../src/guestfs-actions.pod:2336
29607 msgid "To find the label of a filesystem, use C<guestfs_vfs_label>."
29608 msgstr ""
29609
29610 #. type: =head2
29611 #: ../src/guestfs-actions.pod:2343
29612 msgid "guestfs_findfs_uuid"
29613 msgstr ""
29614
29615 #. type: verbatim
29616 #: ../src/guestfs-actions.pod:2345
29617 #, no-wrap
29618 msgid ""
29619 " char *\n"
29620 " guestfs_findfs_uuid (guestfs_h *g,\n"
29621 "                      const char *uuid);\n"
29622 "\n"
29623 msgstr ""
29624
29625 #. type: textblock
29626 #: ../src/guestfs-actions.pod:2353
29627 msgid "To find the UUID of a filesystem, use C<guestfs_vfs_uuid>."
29628 msgstr ""
29629
29630 #. type: =head2
29631 #: ../src/guestfs-actions.pod:2360
29632 msgid "guestfs_fsck"
29633 msgstr ""
29634
29635 #. type: verbatim
29636 #: ../src/guestfs-actions.pod:2362
29637 #, no-wrap
29638 msgid ""
29639 " int\n"
29640 " guestfs_fsck (guestfs_h *g,\n"
29641 "               const char *fstype,\n"
29642 "               const char *device);\n"
29643 "\n"
29644 msgstr ""
29645
29646 #. type: textblock
29647 #: ../src/guestfs-actions.pod:2397 ../src/guestfs-actions.pod:8580
29648 msgid "(Added in 1.0.16)"
29649 msgstr "(Додано у 1.0.16)"
29650
29651 #. type: =head2
29652 #: ../src/guestfs-actions.pod:2399
29653 msgid "guestfs_get_append"
29654 msgstr ""
29655
29656 #. type: verbatim
29657 #: ../src/guestfs-actions.pod:2401
29658 #, no-wrap
29659 msgid ""
29660 " const char *\n"
29661 " guestfs_get_append (guestfs_h *g);\n"
29662 "\n"
29663 msgstr ""
29664
29665 #. type: textblock
29666 #: ../src/guestfs-actions.pod:2409
29667 msgid ""
29668 "This function returns a string which may be NULL.  There is no way to return "
29669 "an error from this function.  The string is owned by the guest handle and "
29670 "must I<not> be freed."
29671 msgstr ""
29672
29673 #. type: textblock
29674 #: ../src/guestfs-actions.pod:2413 ../src/guestfs-actions.pod:6357
29675 #: ../src/guestfs-actions.pod:6836 ../src/guestfs-actions.pod:7285
29676 #: ../src/guestfs-actions.pod:7304 ../src/guestfs-actions.pod:7320
29677 #: ../src/guestfs-actions.pod:7344 ../src/guestfs-actions.pod:8220
29678 #: ../src/guestfs-actions.pod:8235 ../src/guestfs-actions.pod:8624
29679 msgid "(Added in 1.0.26)"
29680 msgstr "(Додано у 1.0.26)"
29681
29682 #. type: =head2
29683 #: ../src/guestfs-actions.pod:2415
29684 msgid "guestfs_get_attach_method"
29685 msgstr ""
29686
29687 #. type: verbatim
29688 #: ../src/guestfs-actions.pod:2417
29689 #, no-wrap
29690 msgid ""
29691 " char *\n"
29692 " guestfs_get_attach_method (guestfs_h *g);\n"
29693 "\n"
29694 msgstr ""
29695
29696 #. type: textblock
29697 #: ../src/guestfs-actions.pod:2420
29698 msgid "Return the current attach method.  See C<guestfs_set_attach_method>."
29699 msgstr ""
29700
29701 #. type: textblock
29702 #: ../src/guestfs-actions.pod:2425 ../src/guestfs-actions.pod:6866
29703 msgid "(Added in 1.9.8)"
29704 msgstr "(Додано у 1.9.8)"
29705
29706 #. type: =head2
29707 #: ../src/guestfs-actions.pod:2427
29708 msgid "guestfs_get_autosync"
29709 msgstr ""
29710
29711 #. type: verbatim
29712 #: ../src/guestfs-actions.pod:2429
29713 #, no-wrap
29714 msgid ""
29715 " int\n"
29716 " guestfs_get_autosync (guestfs_h *g);\n"
29717 "\n"
29718 msgstr ""
29719
29720 #. type: =head2
29721 #: ../src/guestfs-actions.pod:2438
29722 msgid "guestfs_get_direct"
29723 msgstr ""
29724
29725 #. type: verbatim
29726 #: ../src/guestfs-actions.pod:2440
29727 #, no-wrap
29728 msgid ""
29729 " int\n"
29730 " guestfs_get_direct (guestfs_h *g);\n"
29731 "\n"
29732 msgstr ""
29733
29734 #. type: textblock
29735 #: ../src/guestfs-actions.pod:2447 ../src/guestfs-actions.pod:6907
29736 msgid "(Added in 1.0.72)"
29737 msgstr "(Додано у 1.0.72)"
29738
29739 #. type: =head2
29740 #: ../src/guestfs-actions.pod:2449
29741 msgid "guestfs_get_e2label"
29742 msgstr ""
29743
29744 #. type: verbatim
29745 #: ../src/guestfs-actions.pod:2451
29746 #, no-wrap
29747 msgid ""
29748 " char *\n"
29749 " guestfs_get_e2label (guestfs_h *g,\n"
29750 "                      const char *device);\n"
29751 "\n"
29752 msgstr ""
29753
29754 #. type: textblock
29755 #: ../src/guestfs-actions.pod:2455
29756 msgid ""
29757 "I<This function is deprecated.> In new code, use the L</guestfs_vfs_label> "
29758 "call instead."
29759 msgstr ""
29760
29761 #. type: textblock
29762 #: ../src/guestfs-actions.pod:2468 ../src/guestfs-actions.pod:2489
29763 #: ../src/guestfs-actions.pod:6925 ../src/guestfs-actions.pod:6944
29764 msgid "(Added in 1.0.15)"
29765 msgstr "(Додано у 1.0.15)"
29766
29767 #. type: =head2
29768 #: ../src/guestfs-actions.pod:2470
29769 msgid "guestfs_get_e2uuid"
29770 msgstr ""
29771
29772 #. type: verbatim
29773 #: ../src/guestfs-actions.pod:2472
29774 #, no-wrap
29775 msgid ""
29776 " char *\n"
29777 " guestfs_get_e2uuid (guestfs_h *g,\n"
29778 "                     const char *device);\n"
29779 "\n"
29780 msgstr ""
29781
29782 #. type: textblock
29783 #: ../src/guestfs-actions.pod:2476
29784 msgid ""
29785 "I<This function is deprecated.> In new code, use the L</guestfs_vfs_uuid> "
29786 "call instead."
29787 msgstr ""
29788
29789 #. type: =head2
29790 #: ../src/guestfs-actions.pod:2491
29791 msgid "guestfs_get_memsize"
29792 msgstr ""
29793
29794 #. type: verbatim
29795 #: ../src/guestfs-actions.pod:2493
29796 #, no-wrap
29797 msgid ""
29798 " int\n"
29799 " guestfs_get_memsize (guestfs_h *g);\n"
29800 "\n"
29801 msgstr ""
29802
29803 #. type: textblock
29804 #: ../src/guestfs-actions.pod:2499
29805 msgid ""
29806 "If C<guestfs_set_memsize> was not called on this handle, and if "
29807 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
29808 "value for memsize."
29809 msgstr ""
29810
29811 #. type: textblock
29812 #: ../src/guestfs-actions.pod:2508 ../src/guestfs-actions.pod:5253
29813 #: ../src/guestfs-actions.pod:5462 ../src/guestfs-actions.pod:5481
29814 #: ../src/guestfs-actions.pod:5500 ../src/guestfs-actions.pod:5512
29815 #: ../src/guestfs-actions.pod:5529 ../src/guestfs-actions.pod:5542
29816 #: ../src/guestfs-actions.pod:6582 ../src/guestfs-actions.pod:6965
29817 #: ../src/guestfs-actions.pod:7255 ../src/guestfs-actions.pod:7989
29818 msgid "(Added in 1.0.55)"
29819 msgstr "(Додано у 1.0.55)"
29820
29821 #. type: =head2
29822 #: ../src/guestfs-actions.pod:2510
29823 msgid "guestfs_get_network"
29824 msgstr ""
29825
29826 #. type: verbatim
29827 #: ../src/guestfs-actions.pod:2512
29828 #, no-wrap
29829 msgid ""
29830 " int\n"
29831 " guestfs_get_network (guestfs_h *g);\n"
29832 "\n"
29833 msgstr ""
29834
29835 #. type: textblock
29836 #: ../src/guestfs-actions.pod:2519 ../src/guestfs-actions.pod:6984
29837 msgid "(Added in 1.5.4)"
29838 msgstr "(Додано у 1.5.4)"
29839
29840 #. type: =head2
29841 #: ../src/guestfs-actions.pod:2521
29842 msgid "guestfs_get_path"
29843 msgstr ""
29844
29845 #. type: verbatim
29846 #: ../src/guestfs-actions.pod:2523
29847 #, no-wrap
29848 msgid ""
29849 " const char *\n"
29850 " guestfs_get_path (guestfs_h *g);\n"
29851 "\n"
29852 msgstr ""
29853
29854 #. type: textblock
29855 #: ../src/guestfs-actions.pod:2531 ../src/guestfs-actions.pod:2571
29856 msgid ""
29857 "This function returns a string, or NULL on error.  The string is owned by "
29858 "the guest handle and must I<not> be freed."
29859 msgstr ""
29860
29861 #. type: =head2
29862 #: ../src/guestfs-actions.pod:2536
29863 msgid "guestfs_get_pgroup"
29864 msgstr ""
29865
29866 #. type: verbatim
29867 #: ../src/guestfs-actions.pod:2538
29868 #, no-wrap
29869 msgid ""
29870 " int\n"
29871 " guestfs_get_pgroup (guestfs_h *g);\n"
29872 "\n"
29873 msgstr ""
29874
29875 #. type: textblock
29876 #: ../src/guestfs-actions.pod:2545 ../src/guestfs-actions.pod:7020
29877 #: ../src/guestfs-actions.pod:8481
29878 msgid "(Added in 1.11.18)"
29879 msgstr "(Додано у 1.11.18)"
29880
29881 #. type: =head2
29882 #: ../src/guestfs-actions.pod:2547
29883 msgid "guestfs_get_pid"
29884 msgstr ""
29885
29886 #. type: verbatim
29887 #: ../src/guestfs-actions.pod:2549
29888 #, no-wrap
29889 msgid ""
29890 " int\n"
29891 " guestfs_get_pid (guestfs_h *g);\n"
29892 "\n"
29893 msgstr ""
29894
29895 #. type: textblock
29896 #: ../src/guestfs-actions.pod:2559
29897 msgid "(Added in 1.0.56)"
29898 msgstr "(Додано у 1.0.56)"
29899
29900 #. type: =head2
29901 #: ../src/guestfs-actions.pod:2561
29902 msgid "guestfs_get_qemu"
29903 msgstr ""
29904
29905 #. type: verbatim
29906 #: ../src/guestfs-actions.pod:2563
29907 #, no-wrap
29908 msgid ""
29909 " const char *\n"
29910 " guestfs_get_qemu (guestfs_h *g);\n"
29911 "\n"
29912 msgstr ""
29913
29914 #. type: textblock
29915 #: ../src/guestfs-actions.pod:2574 ../src/guestfs-actions.pod:7048
29916 msgid "(Added in 1.0.6)"
29917 msgstr "(Додано у 1.0.6)"
29918
29919 #. type: =head2
29920 #: ../src/guestfs-actions.pod:2576
29921 msgid "guestfs_get_recovery_proc"
29922 msgstr ""
29923
29924 #. type: verbatim
29925 #: ../src/guestfs-actions.pod:2578
29926 #, no-wrap
29927 msgid ""
29928 " int\n"
29929 " guestfs_get_recovery_proc (guestfs_h *g);\n"
29930 "\n"
29931 msgstr ""
29932
29933 #. type: textblock
29934 #: ../src/guestfs-actions.pod:2585 ../src/guestfs-actions.pod:4173
29935 #: ../src/guestfs-actions.pod:4517 ../src/guestfs-actions.pod:4911
29936 #: ../src/guestfs-actions.pod:5092 ../src/guestfs-actions.pod:6287
29937 #: ../src/guestfs-actions.pod:6630 ../src/guestfs-actions.pod:7072
29938 #: ../src/guestfs-actions.pod:7770 ../src/guestfs-actions.pod:7790
29939 #: ../src/guestfs-actions.pod:8104
29940 msgid "(Added in 1.0.77)"
29941 msgstr "(Додано у 1.0.77)"
29942
29943 #. type: =head2
29944 #: ../src/guestfs-actions.pod:2587
29945 msgid "guestfs_get_selinux"
29946 msgstr ""
29947
29948 #. type: verbatim
29949 #: ../src/guestfs-actions.pod:2589
29950 #, no-wrap
29951 msgid ""
29952 " int\n"
29953 " guestfs_get_selinux (guestfs_h *g);\n"
29954 "\n"
29955 msgstr ""
29956
29957 #. type: textblock
29958 #: ../src/guestfs-actions.pod:2592
29959 msgid ""
29960 "This returns the current setting of the selinux flag which is passed to the "
29961 "appliance at boot time.  See C<guestfs_set_selinux>."
29962 msgstr ""
29963
29964 #. type: textblock
29965 #: ../src/guestfs-actions.pod:2600 ../src/guestfs-actions.pod:2674
29966 #: ../src/guestfs-actions.pod:7091 ../src/guestfs-actions.pod:7165
29967 msgid "(Added in 1.0.67)"
29968 msgstr "(Додано у 1.0.67)"
29969
29970 #. type: =head2
29971 #: ../src/guestfs-actions.pod:2602
29972 msgid "guestfs_get_smp"
29973 msgstr ""
29974
29975 #. type: verbatim
29976 #: ../src/guestfs-actions.pod:2604
29977 #, no-wrap
29978 msgid ""
29979 " int\n"
29980 " guestfs_get_smp (guestfs_h *g);\n"
29981 "\n"
29982 msgstr ""
29983
29984 #. type: =head2
29985 #: ../src/guestfs-actions.pod:2613
29986 msgid "guestfs_get_state"
29987 msgstr ""
29988
29989 #. type: verbatim
29990 #: ../src/guestfs-actions.pod:2615
29991 #, no-wrap
29992 msgid ""
29993 " int\n"
29994 " guestfs_get_state (guestfs_h *g);\n"
29995 "\n"
29996 msgstr ""
29997
29998 #. type: =head2
29999 #: ../src/guestfs-actions.pod:2627
30000 msgid "guestfs_get_trace"
30001 msgstr ""
30002
30003 #. type: verbatim
30004 #: ../src/guestfs-actions.pod:2629
30005 #, no-wrap
30006 msgid ""
30007 " int\n"
30008 " guestfs_get_trace (guestfs_h *g);\n"
30009 "\n"
30010 msgstr ""
30011
30012 #. type: =head2
30013 #: ../src/guestfs-actions.pod:2638
30014 msgid "guestfs_get_umask"
30015 msgstr ""
30016
30017 #. type: verbatim
30018 #: ../src/guestfs-actions.pod:2640
30019 #, no-wrap
30020 msgid ""
30021 " int\n"
30022 " guestfs_get_umask (guestfs_h *g);\n"
30023 "\n"
30024 msgstr ""
30025
30026 #. type: textblock
30027 #: ../src/guestfs-actions.pod:2643
30028 msgid ""
30029 "Return the current umask.  By default the umask is C<022> unless it has been "
30030 "set by calling C<guestfs_umask>."
30031 msgstr ""
30032
30033 #. type: =head2
30034 #: ../src/guestfs-actions.pod:2650
30035 msgid "guestfs_get_verbose"
30036 msgstr ""
30037
30038 #. type: verbatim
30039 #: ../src/guestfs-actions.pod:2652
30040 #, no-wrap
30041 msgid ""
30042 " int\n"
30043 " guestfs_get_verbose (guestfs_h *g);\n"
30044 "\n"
30045 msgstr ""
30046
30047 #. type: =head2
30048 #: ../src/guestfs-actions.pod:2661
30049 msgid "guestfs_getcon"
30050 msgstr ""
30051
30052 #. type: verbatim
30053 #: ../src/guestfs-actions.pod:2663
30054 #, no-wrap
30055 msgid ""
30056 " char *\n"
30057 " guestfs_getcon (guestfs_h *g);\n"
30058 "\n"
30059 msgstr ""
30060
30061 #. type: textblock
30062 #: ../src/guestfs-actions.pod:2668
30063 msgid ""
30064 "See the documentation about SELINUX in L<guestfs(3)>, and C<guestfs_setcon>"
30065 msgstr ""
30066
30067 #. type: =head2
30068 #: ../src/guestfs-actions.pod:2676
30069 msgid "guestfs_getxattr"
30070 msgstr ""
30071
30072 #. type: verbatim
30073 #: ../src/guestfs-actions.pod:2678
30074 #, no-wrap
30075 msgid ""
30076 " char *\n"
30077 " guestfs_getxattr (guestfs_h *g,\n"
30078 "                   const char *path,\n"
30079 "                   const char *name,\n"
30080 "                   size_t *size_r);\n"
30081 "\n"
30082 msgstr ""
30083
30084 #. type: textblock
30085 #: ../src/guestfs-actions.pod:2684
30086 msgid ""
30087 "Get a single extended attribute from file C<path> named C<name>.  This call "
30088 "follows symlinks.  If you want to lookup an extended attribute for the "
30089 "symlink itself, use C<guestfs_lgetxattr>."
30090 msgstr ""
30091
30092 #. type: textblock
30093 #: ../src/guestfs-actions.pod:2688 ../src/guestfs-actions.pod:4187
30094 msgid ""
30095 "Normally it is better to get all extended attributes from a file in one go "
30096 "by calling C<guestfs_getxattrs>.  However some Linux filesystem "
30097 "implementations are buggy and do not provide a way to list out attributes.  "
30098 "For these filesystems (notably ntfs-3g)  you have to know the names of the "
30099 "extended attributes you want in advance and call this function."
30100 msgstr ""
30101
30102 #. type: textblock
30103 #: ../src/guestfs-actions.pod:2698
30104 msgid "See also: C<guestfs_getxattrs>, C<guestfs_lgetxattr>, L<attr(5)>."
30105 msgstr ""
30106
30107 #. type: textblock
30108 #: ../src/guestfs-actions.pod:2700 ../src/guestfs-actions.pod:2913
30109 #: ../src/guestfs-actions.pod:3395 ../src/guestfs-actions.pod:4199
30110 #: ../src/guestfs-actions.pod:6280 ../src/guestfs-actions.pod:6306
30111 #: ../src/guestfs-actions.pod:6487
30112 msgid ""
30113 "This function returns a buffer, or NULL on error.  The size of the returned "
30114 "buffer is written to C<*size_r>.  I<The caller must free the returned buffer "
30115 "after use>."
30116 msgstr ""
30117
30118 #. type: textblock
30119 #: ../src/guestfs-actions.pod:2704 ../src/guestfs-actions.pod:4203
30120 msgid "(Added in 1.7.24)"
30121 msgstr "(Додано у 1.7.24)"
30122
30123 #. type: =head2
30124 #: ../src/guestfs-actions.pod:2706
30125 msgid "guestfs_getxattrs"
30126 msgstr ""
30127
30128 #. type: verbatim
30129 #: ../src/guestfs-actions.pod:2708
30130 #, no-wrap
30131 msgid ""
30132 " struct guestfs_xattr_list *\n"
30133 " guestfs_getxattrs (guestfs_h *g,\n"
30134 "                    const char *path);\n"
30135 "\n"
30136 msgstr ""
30137
30138 #. type: textblock
30139 #: ../src/guestfs-actions.pod:2718
30140 msgid "See also: C<guestfs_lgetxattrs>, L<attr(5)>."
30141 msgstr ""
30142
30143 #. type: textblock
30144 #: ../src/guestfs-actions.pod:2720 ../src/guestfs-actions.pod:4215
30145 #: ../src/guestfs-actions.pod:4907
30146 msgid ""
30147 "This function returns a C<struct guestfs_xattr_list *>, or NULL if there was "
30148 "an error.  I<The caller must call C<guestfs_free_xattr_list> after use>."
30149 msgstr ""
30150
30151 #. type: textblock
30152 #: ../src/guestfs-actions.pod:2724 ../src/guestfs-actions.pod:4219
30153 #: ../src/guestfs-actions.pod:4431 ../src/guestfs-actions.pod:4467
30154 #: ../src/guestfs-actions.pod:6660 ../src/guestfs-actions.pod:7184
30155 #: ../src/guestfs-actions.pod:8689
30156 msgid "(Added in 1.0.59)"
30157 msgstr "(Додано у 1.0.59)"
30158
30159 #. type: =head2
30160 #: ../src/guestfs-actions.pod:2726
30161 msgid "guestfs_glob_expand"
30162 msgstr ""
30163
30164 #. type: verbatim
30165 #: ../src/guestfs-actions.pod:2728
30166 #, no-wrap
30167 msgid ""
30168 " char **\n"
30169 " guestfs_glob_expand (guestfs_h *g,\n"
30170 "                      const char *pattern);\n"
30171 "\n"
30172 msgstr ""
30173
30174 #. type: textblock
30175 #: ../src/guestfs-actions.pod:2747 ../src/guestfs-actions.pod:7368
30176 #: ../src/guestfs-actions.pod:7385
30177 msgid "(Added in 1.0.50)"
30178 msgstr "(Додано у 1.0.50)"
30179
30180 #. type: =head2
30181 #: ../src/guestfs-actions.pod:2749
30182 msgid "guestfs_grep"
30183 msgstr ""
30184
30185 #. type: verbatim
30186 #: ../src/guestfs-actions.pod:2751
30187 #, no-wrap
30188 msgid ""
30189 " char **\n"
30190 " guestfs_grep (guestfs_h *g,\n"
30191 "               const char *regex,\n"
30192 "               const char *path);\n"
30193 "\n"
30194 msgstr ""
30195
30196 #. type: =head2
30197 #: ../src/guestfs-actions.pod:2768
30198 msgid "guestfs_grepi"
30199 msgstr ""
30200
30201 #. type: verbatim
30202 #: ../src/guestfs-actions.pod:2770
30203 #, no-wrap
30204 msgid ""
30205 " char **\n"
30206 " guestfs_grepi (guestfs_h *g,\n"
30207 "                const char *regex,\n"
30208 "                const char *path);\n"
30209 "\n"
30210 msgstr ""
30211
30212 #. type: =head2
30213 #: ../src/guestfs-actions.pod:2787
30214 msgid "guestfs_grub_install"
30215 msgstr ""
30216
30217 #. type: verbatim
30218 #: ../src/guestfs-actions.pod:2789
30219 #, no-wrap
30220 msgid ""
30221 " int\n"
30222 " guestfs_grub_install (guestfs_h *g,\n"
30223 "                       const char *root,\n"
30224 "                       const char *device);\n"
30225 "\n"
30226 msgstr ""
30227
30228 #. type: textblock
30229 #: ../src/guestfs-actions.pod:2832
30230 msgid "(Added in 1.0.17)"
30231 msgstr "(Додано у 1.0.17)"
30232
30233 #. type: =head2
30234 #: ../src/guestfs-actions.pod:2834
30235 msgid "guestfs_head"
30236 msgstr ""
30237
30238 #. type: verbatim
30239 #: ../src/guestfs-actions.pod:2836
30240 #, no-wrap
30241 msgid ""
30242 " char **\n"
30243 " guestfs_head (guestfs_h *g,\n"
30244 "               const char *path);\n"
30245 "\n"
30246 msgstr ""
30247
30248 #. type: =head2
30249 #: ../src/guestfs-actions.pod:2852
30250 msgid "guestfs_head_n"
30251 msgstr ""
30252
30253 #. type: verbatim
30254 #: ../src/guestfs-actions.pod:2854
30255 #, no-wrap
30256 msgid ""
30257 " char **\n"
30258 " guestfs_head_n (guestfs_h *g,\n"
30259 "                 int nrlines,\n"
30260 "                 const char *path);\n"
30261 "\n"
30262 msgstr ""
30263
30264 #. type: =head2
30265 #: ../src/guestfs-actions.pod:2876
30266 msgid "guestfs_hexdump"
30267 msgstr ""
30268
30269 #. type: verbatim
30270 #: ../src/guestfs-actions.pod:2878
30271 #, no-wrap
30272 msgid ""
30273 " char *\n"
30274 " guestfs_hexdump (guestfs_h *g,\n"
30275 "                  const char *path);\n"
30276 "\n"
30277 msgstr ""
30278
30279 #. type: textblock
30280 #: ../src/guestfs-actions.pod:2891 ../src/guestfs-actions.pod:7449
30281 #: ../src/guestfs-actions.pod:7504
30282 msgid "(Added in 1.0.22)"
30283 msgstr "(Додано у 1.0.22)"
30284
30285 #. type: =head2
30286 #: ../src/guestfs-actions.pod:2893
30287 msgid "guestfs_initrd_cat"
30288 msgstr ""
30289
30290 #. type: verbatim
30291 #: ../src/guestfs-actions.pod:2895
30292 #, no-wrap
30293 msgid ""
30294 " char *\n"
30295 " guestfs_initrd_cat (guestfs_h *g,\n"
30296 "                     const char *initrdpath,\n"
30297 "                     const char *filename,\n"
30298 "                     size_t *size_r);\n"
30299 "\n"
30300 msgstr ""
30301
30302 #. type: textblock
30303 #: ../src/guestfs-actions.pod:2911
30304 msgid "See also C<guestfs_initrd_list>."
30305 msgstr ""
30306
30307 #. type: =head2
30308 #: ../src/guestfs-actions.pod:2922
30309 msgid "guestfs_initrd_list"
30310 msgstr ""
30311
30312 #. type: verbatim
30313 #: ../src/guestfs-actions.pod:2924
30314 #, no-wrap
30315 msgid ""
30316 " char **\n"
30317 " guestfs_initrd_list (guestfs_h *g,\n"
30318 "                      const char *path);\n"
30319 "\n"
30320 msgstr ""
30321
30322 #. type: =head2
30323 #: ../src/guestfs-actions.pod:2944
30324 msgid "guestfs_inotify_add_watch"
30325 msgstr ""
30326
30327 #. type: verbatim
30328 #: ../src/guestfs-actions.pod:2946
30329 #, no-wrap
30330 msgid ""
30331 " int64_t\n"
30332 " guestfs_inotify_add_watch (guestfs_h *g,\n"
30333 "                            const char *path,\n"
30334 "                            int mask);\n"
30335 "\n"
30336 msgstr ""
30337
30338 #. type: =head2
30339 #: ../src/guestfs-actions.pod:2965
30340 msgid "guestfs_inotify_close"
30341 msgstr ""
30342
30343 #. type: verbatim
30344 #: ../src/guestfs-actions.pod:2967
30345 #, no-wrap
30346 msgid ""
30347 " int\n"
30348 " guestfs_inotify_close (guestfs_h *g);\n"
30349 "\n"
30350 msgstr ""
30351
30352 #. type: =head2
30353 #: ../src/guestfs-actions.pod:2978
30354 msgid "guestfs_inotify_files"
30355 msgstr ""
30356
30357 #. type: verbatim
30358 #: ../src/guestfs-actions.pod:2980
30359 #, no-wrap
30360 msgid ""
30361 " char **\n"
30362 " guestfs_inotify_files (guestfs_h *g);\n"
30363 "\n"
30364 msgstr ""
30365
30366 #. type: textblock
30367 #: ../src/guestfs-actions.pod:2983
30368 msgid ""
30369 "This function is a helpful wrapper around C<guestfs_inotify_read> which just "
30370 "returns a list of pathnames of objects that were touched.  The returned "
30371 "pathnames are sorted and deduplicated."
30372 msgstr ""
30373
30374 #. type: =head2
30375 #: ../src/guestfs-actions.pod:2993
30376 msgid "guestfs_inotify_init"
30377 msgstr ""
30378
30379 #. type: verbatim
30380 #: ../src/guestfs-actions.pod:2995
30381 #, no-wrap
30382 msgid ""
30383 " int\n"
30384 " guestfs_inotify_init (guestfs_h *g,\n"
30385 "                       int maxevents);\n"
30386 "\n"
30387 msgstr ""
30388
30389 #. type: textblock
30390 #: ../src/guestfs-actions.pod:3003
30391 msgid ""
30392 "C<maxevents> is the maximum number of events which will be queued up between "
30393 "calls to C<guestfs_inotify_read> or C<guestfs_inotify_files>.  If this is "
30394 "passed as C<0>, then the kernel (or previously set)  default is used.  For "
30395 "Linux 2.6.29 the default was 16384 events.  Beyond this limit, the kernel "
30396 "throws away events, but records the fact that it threw them away by setting "
30397 "a flag C<IN_Q_OVERFLOW> in the returned structure list (see "
30398 "C<guestfs_inotify_read>)."
30399 msgstr ""
30400
30401 #. type: textblock
30402 #: ../src/guestfs-actions.pod:3013
30403 msgid ""
30404 "Before any events are generated, you have to add some watches to the "
30405 "internal watch list.  See: C<guestfs_inotify_add_watch>, "
30406 "C<guestfs_inotify_rm_watch> and C<guestfs_inotify_watch_all>."
30407 msgstr ""
30408
30409 #. type: textblock
30410 #: ../src/guestfs-actions.pod:3019
30411 msgid ""
30412 "Queued up events should be read periodically by calling "
30413 "C<guestfs_inotify_read> (or C<guestfs_inotify_files> which is just a helpful "
30414 "wrapper around C<guestfs_inotify_read>).  If you don't read the events out "
30415 "often enough then you risk the internal queue overflowing."
30416 msgstr ""
30417
30418 #. type: textblock
30419 #: ../src/guestfs-actions.pod:3026
30420 msgid ""
30421 "The handle should be closed after use by calling C<guestfs_inotify_close>.  "
30422 "This also removes any watches automatically."
30423 msgstr ""
30424
30425 #. type: =head2
30426 #: ../src/guestfs-actions.pod:3039
30427 msgid "guestfs_inotify_read"
30428 msgstr ""
30429
30430 #. type: verbatim
30431 #: ../src/guestfs-actions.pod:3041
30432 #, no-wrap
30433 msgid ""
30434 " struct guestfs_inotify_event_list *\n"
30435 " guestfs_inotify_read (guestfs_h *g);\n"
30436 "\n"
30437 msgstr ""
30438
30439 #. type: textblock
30440 #: ../src/guestfs-actions.pod:3055
30441 msgid ""
30442 "This function returns a C<struct guestfs_inotify_event_list *>, or NULL if "
30443 "there was an error.  I<The caller must call "
30444 "C<guestfs_free_inotify_event_list> after use>."
30445 msgstr ""
30446
30447 #. type: =head2
30448 #: ../src/guestfs-actions.pod:3061
30449 msgid "guestfs_inotify_rm_watch"
30450 msgstr ""
30451
30452 #. type: verbatim
30453 #: ../src/guestfs-actions.pod:3063
30454 #, no-wrap
30455 msgid ""
30456 " int\n"
30457 " guestfs_inotify_rm_watch (guestfs_h *g,\n"
30458 "                           int wd);\n"
30459 "\n"
30460 msgstr ""
30461
30462 #. type: textblock
30463 #: ../src/guestfs-actions.pod:3067
30464 msgid ""
30465 "Remove a previously defined inotify watch.  See C<guestfs_inotify_add_watch>."
30466 msgstr ""
30467
30468 #. type: =head2
30469 #: ../src/guestfs-actions.pod:3074
30470 msgid "guestfs_inspect_get_arch"
30471 msgstr ""
30472
30473 #. type: verbatim
30474 #: ../src/guestfs-actions.pod:3076
30475 #, no-wrap
30476 msgid ""
30477 " char *\n"
30478 " guestfs_inspect_get_arch (guestfs_h *g,\n"
30479 "                           const char *root);\n"
30480 "\n"
30481 msgstr ""
30482
30483 #. type: textblock
30484 #: ../src/guestfs-actions.pod:3080
30485 msgid ""
30486 "This returns the architecture of the inspected operating system.  The "
30487 "possible return values are listed under C<guestfs_file_architecture>."
30488 msgstr ""
30489
30490 #. type: =head2
30491 #: ../src/guestfs-actions.pod:3094
30492 msgid "guestfs_inspect_get_distro"
30493 msgstr ""
30494
30495 #. type: verbatim
30496 #: ../src/guestfs-actions.pod:3096
30497 #, no-wrap
30498 msgid ""
30499 " char *\n"
30500 " guestfs_inspect_get_distro (guestfs_h *g,\n"
30501 "                             const char *root);\n"
30502 "\n"
30503 msgstr ""
30504
30505 #. type: =head2
30506 #: ../src/guestfs-actions.pod:3196
30507 msgid "guestfs_inspect_get_drive_mappings"
30508 msgstr ""
30509
30510 #. type: verbatim
30511 #: ../src/guestfs-actions.pod:3198
30512 #, no-wrap
30513 msgid ""
30514 " char **\n"
30515 " guestfs_inspect_get_drive_mappings (guestfs_h *g,\n"
30516 "                                     const char *root);\n"
30517 "\n"
30518 msgstr ""
30519
30520 #. type: textblock
30521 #: ../src/guestfs-actions.pod:3227
30522 msgid ""
30523 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
30524 "C<guestfs_inspect_get_mountpoints>, C<guestfs_inspect_get_filesystems>."
30525 msgstr ""
30526
30527 #. type: textblock
30528 #: ../src/guestfs-actions.pod:3237 ../src/guestfs-actions.pod:3702
30529 msgid "(Added in 1.9.17)"
30530 msgstr "(Додано у 1.9.17)"
30531
30532 #. type: =head2
30533 #: ../src/guestfs-actions.pod:3239
30534 msgid "guestfs_inspect_get_filesystems"
30535 msgstr ""
30536
30537 #. type: verbatim
30538 #: ../src/guestfs-actions.pod:3241
30539 #, no-wrap
30540 msgid ""
30541 " char **\n"
30542 " guestfs_inspect_get_filesystems (guestfs_h *g,\n"
30543 "                                  const char *root);\n"
30544 "\n"
30545 msgstr ""
30546
30547 #. type: textblock
30548 #: ../src/guestfs-actions.pod:3253
30549 msgid ""
30550 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
30551 "C<guestfs_inspect_get_mountpoints>."
30552 msgstr ""
30553
30554 #. type: =head2
30555 #: ../src/guestfs-actions.pod:3262
30556 msgid "guestfs_inspect_get_format"
30557 msgstr ""
30558
30559 #. type: verbatim
30560 #: ../src/guestfs-actions.pod:3264
30561 #, no-wrap
30562 msgid ""
30563 " char *\n"
30564 " guestfs_inspect_get_format (guestfs_h *g,\n"
30565 "                             const char *root);\n"
30566 "\n"
30567 msgstr ""
30568
30569 #. type: textblock
30570 #: ../src/guestfs-actions.pod:3298 ../src/guestfs-actions.pod:3738
30571 #: ../src/guestfs-actions.pod:3754 ../src/guestfs-actions.pod:3772
30572 #: ../src/guestfs-actions.pod:6698
30573 msgid "(Added in 1.9.4)"
30574 msgstr "(Додано у 1.9.4)"
30575
30576 #. type: =head2
30577 #: ../src/guestfs-actions.pod:3300
30578 msgid "guestfs_inspect_get_hostname"
30579 msgstr ""
30580
30581 #. type: verbatim
30582 #: ../src/guestfs-actions.pod:3302
30583 #, no-wrap
30584 msgid ""
30585 " char *\n"
30586 " guestfs_inspect_get_hostname (guestfs_h *g,\n"
30587 "                               const char *root);\n"
30588 "\n"
30589 msgstr ""
30590
30591 #. type: textblock
30592 #: ../src/guestfs-actions.pod:3317
30593 msgid "(Added in 1.7.9)"
30594 msgstr "(Додано у 1.7.9)"
30595
30596 #. type: =head2
30597 #: ../src/guestfs-actions.pod:3319
30598 msgid "guestfs_inspect_get_icon"
30599 msgstr ""
30600
30601 #. type: verbatim
30602 #: ../src/guestfs-actions.pod:3321
30603 #, no-wrap
30604 msgid ""
30605 " char *\n"
30606 " guestfs_inspect_get_icon (guestfs_h *g,\n"
30607 "                           const char *root,\n"
30608 "                           size_t *size_r,\n"
30609 "                           ...);\n"
30610 "\n"
30611 msgstr ""
30612
30613 #. type: verbatim
30614 #: ../src/guestfs-actions.pod:3332
30615 #, no-wrap
30616 msgid ""
30617 " GUESTFS_INSPECT_GET_ICON_FAVICON, int favicon,\n"
30618 " GUESTFS_INSPECT_GET_ICON_HIGHQUALITY, int highquality,\n"
30619 "\n"
30620 msgstr ""
30621
30622 #. type: textblock
30623 #: ../src/guestfs-actions.pod:3399 ../src/guestfs-actions.pod:4233
30624 #: ../src/guestfs-actions.pod:5630
30625 msgid "(Added in 1.11.12)"
30626 msgstr "(Додано у 1.11.12)"
30627
30628 #. type: =head2
30629 #: ../src/guestfs-actions.pod:3401
30630 msgid "guestfs_inspect_get_icon_va"
30631 msgstr ""
30632
30633 #. type: verbatim
30634 #: ../src/guestfs-actions.pod:3403
30635 #, no-wrap
30636 msgid ""
30637 " char *\n"
30638 " guestfs_inspect_get_icon_va (guestfs_h *g,\n"
30639 "                              const char *root,\n"
30640 "                              size_t *size_r,\n"
30641 "                              va_list args);\n"
30642 "\n"
30643 msgstr ""
30644
30645 #. type: textblock
30646 #: ../src/guestfs-actions.pod:3409
30647 msgid "This is the \"va_list variant\" of L</guestfs_inspect_get_icon>."
30648 msgstr ""
30649
30650 #. type: =head2
30651 #: ../src/guestfs-actions.pod:3413
30652 msgid "guestfs_inspect_get_icon_argv"
30653 msgstr ""
30654
30655 #. type: verbatim
30656 #: ../src/guestfs-actions.pod:3415
30657 #, no-wrap
30658 msgid ""
30659 " char *\n"
30660 " guestfs_inspect_get_icon_argv (guestfs_h *g,\n"
30661 "                                const char *root,\n"
30662 "                                size_t *size_r,\n"
30663 "                                const struct guestfs_inspect_get_icon_argv *optargs);\n"
30664 "\n"
30665 msgstr ""
30666
30667 #. type: textblock
30668 #: ../src/guestfs-actions.pod:3421
30669 msgid "This is the \"argv variant\" of L</guestfs_inspect_get_icon>."
30670 msgstr ""
30671
30672 #. type: =head2
30673 #: ../src/guestfs-actions.pod:3425
30674 msgid "guestfs_inspect_get_major_version"
30675 msgstr ""
30676
30677 #. type: verbatim
30678 #: ../src/guestfs-actions.pod:3427
30679 #, no-wrap
30680 msgid ""
30681 " int\n"
30682 " guestfs_inspect_get_major_version (guestfs_h *g,\n"
30683 "                                    const char *root);\n"
30684 "\n"
30685 msgstr ""
30686
30687 #. type: =head2
30688 #: ../src/guestfs-actions.pod:3449
30689 msgid "guestfs_inspect_get_minor_version"
30690 msgstr ""
30691
30692 #. type: verbatim
30693 #: ../src/guestfs-actions.pod:3451
30694 #, no-wrap
30695 msgid ""
30696 " int\n"
30697 " guestfs_inspect_get_minor_version (guestfs_h *g,\n"
30698 "                                    const char *root);\n"
30699 "\n"
30700 msgstr ""
30701
30702 #. type: textblock
30703 #: ../src/guestfs-actions.pod:3460
30704 msgid ""
30705 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
30706 "C<guestfs_inspect_get_major_version>."
30707 msgstr ""
30708
30709 #. type: =head2
30710 #: ../src/guestfs-actions.pod:3467
30711 msgid "guestfs_inspect_get_mountpoints"
30712 msgstr ""
30713
30714 #. type: verbatim
30715 #: ../src/guestfs-actions.pod:3469
30716 #, no-wrap
30717 msgid ""
30718 " char **\n"
30719 " guestfs_inspect_get_mountpoints (guestfs_h *g,\n"
30720 "                                  const char *root);\n"
30721 "\n"
30722 msgstr ""
30723
30724 #. type: textblock
30725 #: ../src/guestfs-actions.pod:3490
30726 msgid ""
30727 "For operating systems like Windows which still use drive letters, this call "
30728 "will only return an entry for the first drive \"mounted on\" C</>.  For "
30729 "information about the mapping of drive letters to partitions, see "
30730 "C<guestfs_inspect_get_drive_mappings>."
30731 msgstr ""
30732
30733 #. type: textblock
30734 #: ../src/guestfs-actions.pod:3496
30735 msgid ""
30736 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
30737 "C<guestfs_inspect_get_filesystems>."
30738 msgstr ""
30739
30740 #. type: =head2
30741 #: ../src/guestfs-actions.pod:3507
30742 msgid "guestfs_inspect_get_package_format"
30743 msgstr ""
30744
30745 #. type: verbatim
30746 #: ../src/guestfs-actions.pod:3509
30747 #, no-wrap
30748 msgid ""
30749 " char *\n"
30750 " guestfs_inspect_get_package_format (guestfs_h *g,\n"
30751 "                                     const char *root);\n"
30752 "\n"
30753 msgstr ""
30754
30755 #. type: textblock
30756 #: ../src/guestfs-actions.pod:3513
30757 msgid ""
30758 "This function and C<guestfs_inspect_get_package_management> return the "
30759 "package format and package management tool used by the inspected operating "
30760 "system.  For example for Fedora these functions would return C<rpm> (package "
30761 "format) and C<yum> (package management)."
30762 msgstr ""
30763
30764 #. type: textblock
30765 #: ../src/guestfs-actions.pod:3532 ../src/guestfs-actions.pod:3560
30766 msgid "(Added in 1.7.5)"
30767 msgstr "(Додано у 1.7.5)"
30768
30769 #. type: =head2
30770 #: ../src/guestfs-actions.pod:3534
30771 msgid "guestfs_inspect_get_package_management"
30772 msgstr ""
30773
30774 #. type: verbatim
30775 #: ../src/guestfs-actions.pod:3536
30776 #, no-wrap
30777 msgid ""
30778 " char *\n"
30779 " guestfs_inspect_get_package_management (guestfs_h *g,\n"
30780 "                                         const char *root);\n"
30781 "\n"
30782 msgstr ""
30783
30784 #. type: textblock
30785 #: ../src/guestfs-actions.pod:3540
30786 msgid ""
30787 "C<guestfs_inspect_get_package_format> and this function return the package "
30788 "format and package management tool used by the inspected operating system.  "
30789 "For example for Fedora these functions would return C<rpm> (package format) "
30790 "and C<yum> (package management)."
30791 msgstr ""
30792
30793 #. type: =head2
30794 #: ../src/guestfs-actions.pod:3562
30795 msgid "guestfs_inspect_get_product_name"
30796 msgstr ""
30797
30798 #. type: verbatim
30799 #: ../src/guestfs-actions.pod:3564
30800 #, no-wrap
30801 msgid ""
30802 " char *\n"
30803 " guestfs_inspect_get_product_name (guestfs_h *g,\n"
30804 "                                   const char *root);\n"
30805 "\n"
30806 msgstr ""
30807
30808 #. type: =head2
30809 #: ../src/guestfs-actions.pod:3583
30810 msgid "guestfs_inspect_get_product_variant"
30811 msgstr ""
30812
30813 #. type: verbatim
30814 #: ../src/guestfs-actions.pod:3585
30815 #, no-wrap
30816 msgid ""
30817 " char *\n"
30818 " guestfs_inspect_get_product_variant (guestfs_h *g,\n"
30819 "                                      const char *root);\n"
30820 "\n"
30821 msgstr ""
30822
30823 #. type: textblock
30824 #: ../src/guestfs-actions.pod:3608
30825 msgid ""
30826 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
30827 "C<guestfs_inspect_get_product_name>, C<guestfs_inspect_get_major_version>."
30828 msgstr ""
30829
30830 #. type: textblock
30831 #: ../src/guestfs-actions.pod:3615
30832 msgid "(Added in 1.9.13)"
30833 msgstr "(Додано у 1.9.13)"
30834
30835 #. type: =head2
30836 #: ../src/guestfs-actions.pod:3617
30837 msgid "guestfs_inspect_get_roots"
30838 msgstr ""
30839
30840 #. type: verbatim
30841 #: ../src/guestfs-actions.pod:3619
30842 #, no-wrap
30843 msgid ""
30844 " char **\n"
30845 " guestfs_inspect_get_roots (guestfs_h *g);\n"
30846 "\n"
30847 msgstr ""
30848
30849 #. type: textblock
30850 #: ../src/guestfs-actions.pod:3622
30851 msgid ""
30852 "This function is a convenient way to get the list of root devices, as "
30853 "returned from a previous call to C<guestfs_inspect_os>, but without redoing "
30854 "the whole inspection process."
30855 msgstr ""
30856
30857 #. type: textblock
30858 #: ../src/guestfs-actions.pod:3626
30859 msgid ""
30860 "This returns an empty list if either no root devices were found or the "
30861 "caller has not called C<guestfs_inspect_os>."
30862 msgstr ""
30863
30864 #. type: textblock
30865 #: ../src/guestfs-actions.pod:3635
30866 msgid "(Added in 1.7.3)"
30867 msgstr "(Додано у 1.7.3)"
30868
30869 #. type: =head2
30870 #: ../src/guestfs-actions.pod:3637
30871 msgid "guestfs_inspect_get_type"
30872 msgstr ""
30873
30874 #. type: verbatim
30875 #: ../src/guestfs-actions.pod:3639
30876 #, no-wrap
30877 msgid ""
30878 " char *\n"
30879 " guestfs_inspect_get_type (guestfs_h *g,\n"
30880 "                           const char *root);\n"
30881 "\n"
30882 msgstr ""
30883
30884 #. type: =head2
30885 #: ../src/guestfs-actions.pod:3684
30886 msgid "guestfs_inspect_get_windows_current_control_set"
30887 msgstr ""
30888
30889 #. type: verbatim
30890 #: ../src/guestfs-actions.pod:3686
30891 #, no-wrap
30892 msgid ""
30893 " char *\n"
30894 " guestfs_inspect_get_windows_current_control_set (guestfs_h *g,\n"
30895 "                                                  const char *root);\n"
30896 "\n"
30897 msgstr ""
30898
30899 #. type: =head2
30900 #: ../src/guestfs-actions.pod:3704
30901 msgid "guestfs_inspect_get_windows_systemroot"
30902 msgstr ""
30903
30904 #. type: verbatim
30905 #: ../src/guestfs-actions.pod:3706
30906 #, no-wrap
30907 msgid ""
30908 " char *\n"
30909 " guestfs_inspect_get_windows_systemroot (guestfs_h *g,\n"
30910 "                                         const char *root);\n"
30911 "\n"
30912 msgstr ""
30913
30914 #. type: textblock
30915 #: ../src/guestfs-actions.pod:3722
30916 msgid "(Added in 1.5.25)"
30917 msgstr "(Додано у 1.5.25)"
30918
30919 #. type: =head2
30920 #: ../src/guestfs-actions.pod:3724
30921 msgid "guestfs_inspect_is_live"
30922 msgstr ""
30923
30924 #. type: verbatim
30925 #: ../src/guestfs-actions.pod:3726
30926 #, no-wrap
30927 msgid ""
30928 " int\n"
30929 " guestfs_inspect_is_live (guestfs_h *g,\n"
30930 "                          const char *root);\n"
30931 "\n"
30932 msgstr ""
30933
30934 #. type: textblock
30935 #: ../src/guestfs-actions.pod:3730
30936 msgid ""
30937 "If C<guestfs_inspect_get_format> returns C<installer> (this is an install "
30938 "disk), then this returns true if a live image was detected on the disk."
30939 msgstr ""
30940
30941 #. type: =head2
30942 #: ../src/guestfs-actions.pod:3740
30943 msgid "guestfs_inspect_is_multipart"
30944 msgstr ""
30945
30946 #. type: verbatim
30947 #: ../src/guestfs-actions.pod:3742
30948 #, no-wrap
30949 msgid ""
30950 " int\n"
30951 " guestfs_inspect_is_multipart (guestfs_h *g,\n"
30952 "                               const char *root);\n"
30953 "\n"
30954 msgstr ""
30955
30956 #. type: textblock
30957 #: ../src/guestfs-actions.pod:3746
30958 msgid ""
30959 "If C<guestfs_inspect_get_format> returns C<installer> (this is an install "
30960 "disk), then this returns true if the disk is part of a set."
30961 msgstr ""
30962
30963 #. type: =head2
30964 #: ../src/guestfs-actions.pod:3756
30965 msgid "guestfs_inspect_is_netinst"
30966 msgstr ""
30967
30968 #. type: verbatim
30969 #: ../src/guestfs-actions.pod:3758
30970 #, no-wrap
30971 msgid ""
30972 " int\n"
30973 " guestfs_inspect_is_netinst (guestfs_h *g,\n"
30974 "                             const char *root);\n"
30975 "\n"
30976 msgstr ""
30977
30978 #. type: textblock
30979 #: ../src/guestfs-actions.pod:3762
30980 msgid ""
30981 "If C<guestfs_inspect_get_format> returns C<installer> (this is an install "
30982 "disk), then this returns true if the disk is a network installer, ie. not a "
30983 "self-contained install CD but one which is likely to require network access "
30984 "to complete the install."
30985 msgstr ""
30986
30987 #. type: =head2
30988 #: ../src/guestfs-actions.pod:3774
30989 msgid "guestfs_inspect_list_applications"
30990 msgstr ""
30991
30992 #. type: verbatim
30993 #: ../src/guestfs-actions.pod:3776
30994 #, no-wrap
30995 msgid ""
30996 " struct guestfs_application_list *\n"
30997 " guestfs_inspect_list_applications (guestfs_h *g,\n"
30998 "                                    const char *root);\n"
30999 "\n"
31000 msgstr ""
31001
31002 #. type: textblock
31003 #: ../src/guestfs-actions.pod:3782
31004 msgid ""
31005 "I<Note:> This call works differently from other parts of the inspection "
31006 "API.  You have to call C<guestfs_inspect_os>, then "
31007 "C<guestfs_inspect_get_mountpoints>, then mount up the disks, before calling "
31008 "this.  Listing applications is a significantly more difficult operation "
31009 "which requires access to the full filesystem.  Also note that unlike the "
31010 "other C<guestfs_inspect_get_*> calls which are just returning data cached in "
31011 "the libguestfs handle, this call actually reads parts of the mounted "
31012 "filesystems during the call."
31013 msgstr ""
31014
31015 #. type: textblock
31016 #: ../src/guestfs-actions.pod:3872
31017 msgid ""
31018 "This function returns a C<struct guestfs_application_list *>, or NULL if "
31019 "there was an error.  I<The caller must call C<guestfs_free_application_list> "
31020 "after use>."
31021 msgstr ""
31022
31023 #. type: textblock
31024 #: ../src/guestfs-actions.pod:3876
31025 msgid "(Added in 1.7.8)"
31026 msgstr "(Додано у 1.7.8)"
31027
31028 #. type: =head2
31029 #: ../src/guestfs-actions.pod:3878
31030 msgid "guestfs_inspect_os"
31031 msgstr ""
31032
31033 #. type: verbatim
31034 #: ../src/guestfs-actions.pod:3880
31035 #, no-wrap
31036 msgid ""
31037 " char **\n"
31038 " guestfs_inspect_os (guestfs_h *g);\n"
31039 "\n"
31040 msgstr ""
31041
31042 #. type: textblock
31043 #: ../src/guestfs-actions.pod:3896
31044 msgid ""
31045 "You can pass the root string(s) returned to other C<guestfs_inspect_get_*> "
31046 "functions in order to query further information about each operating system, "
31047 "such as the name and version."
31048 msgstr ""
31049
31050 #. type: textblock
31051 #: ../src/guestfs-actions.pod:3901
31052 msgid ""
31053 "This function uses other libguestfs features such as C<guestfs_mount_ro> and "
31054 "C<guestfs_umount_all> in order to mount and unmount filesystems and look at "
31055 "the contents.  This should be called with no disks currently mounted.  The "
31056 "function may also use Augeas, so any existing Augeas handle will be closed."
31057 msgstr ""
31058
31059 #. type: textblock
31060 #: ../src/guestfs-actions.pod:3913 ../src/guestfs-actions.pod:4244
31061 #: ../src/guestfs-actions.pod:4339
31062 msgid "See also C<guestfs_list_filesystems>."
31063 msgstr ""
31064
31065 #. type: =head2
31066 #: ../src/guestfs-actions.pod:3921
31067 msgid "guestfs_is_blockdev"
31068 msgstr ""
31069
31070 #. type: verbatim
31071 #: ../src/guestfs-actions.pod:3923
31072 #, no-wrap
31073 msgid ""
31074 " int\n"
31075 " guestfs_is_blockdev (guestfs_h *g,\n"
31076 "                      const char *path);\n"
31077 "\n"
31078 msgstr ""
31079
31080 #. type: textblock
31081 #: ../src/guestfs-actions.pod:3930 ../src/guestfs-actions.pod:3959
31082 #: ../src/guestfs-actions.pod:3989 ../src/guestfs-actions.pod:4004
31083 #: ../src/guestfs-actions.pod:4020 ../src/guestfs-actions.pod:4076
31084 #: ../src/guestfs-actions.pod:4091
31085 msgid "See also C<guestfs_stat>."
31086 msgstr ""
31087
31088 #. type: textblock
31089 #: ../src/guestfs-actions.pod:3934 ../src/guestfs-actions.pod:3963
31090 #: ../src/guestfs-actions.pod:4008 ../src/guestfs-actions.pod:4080
31091 #: ../src/guestfs-actions.pod:4095
31092 msgid "(Added in 1.5.10)"
31093 msgstr "(Додано у 1.5.10)"
31094
31095 #. type: =head2
31096 #: ../src/guestfs-actions.pod:3936
31097 msgid "guestfs_is_busy"
31098 msgstr ""
31099
31100 #. type: verbatim
31101 #: ../src/guestfs-actions.pod:3938
31102 #, no-wrap
31103 msgid ""
31104 " int\n"
31105 " guestfs_is_busy (guestfs_h *g);\n"
31106 "\n"
31107 msgstr ""
31108
31109 #. type: =head2
31110 #: ../src/guestfs-actions.pod:3950
31111 msgid "guestfs_is_chardev"
31112 msgstr ""
31113
31114 #. type: verbatim
31115 #: ../src/guestfs-actions.pod:3952
31116 #, no-wrap
31117 msgid ""
31118 " int\n"
31119 " guestfs_is_chardev (guestfs_h *g,\n"
31120 "                     const char *path);\n"
31121 "\n"
31122 msgstr ""
31123
31124 #. type: =head2
31125 #: ../src/guestfs-actions.pod:3965
31126 msgid "guestfs_is_config"
31127 msgstr ""
31128
31129 #. type: verbatim
31130 #: ../src/guestfs-actions.pod:3967
31131 #, no-wrap
31132 msgid ""
31133 " int\n"
31134 " guestfs_is_config (guestfs_h *g);\n"
31135 "\n"
31136 msgstr ""
31137
31138 #. type: =head2
31139 #: ../src/guestfs-actions.pod:3979
31140 msgid "guestfs_is_dir"
31141 msgstr ""
31142
31143 #. type: verbatim
31144 #: ../src/guestfs-actions.pod:3981
31145 #, no-wrap
31146 msgid ""
31147 " int\n"
31148 " guestfs_is_dir (guestfs_h *g,\n"
31149 "                 const char *path);\n"
31150 "\n"
31151 msgstr ""
31152
31153 #. type: =head2
31154 #: ../src/guestfs-actions.pod:3995
31155 msgid "guestfs_is_fifo"
31156 msgstr ""
31157
31158 #. type: verbatim
31159 #: ../src/guestfs-actions.pod:3997
31160 #, no-wrap
31161 msgid ""
31162 " int\n"
31163 " guestfs_is_fifo (guestfs_h *g,\n"
31164 "                  const char *path);\n"
31165 "\n"
31166 msgstr ""
31167
31168 #. type: =head2
31169 #: ../src/guestfs-actions.pod:4010
31170 msgid "guestfs_is_file"
31171 msgstr ""
31172
31173 #. type: verbatim
31174 #: ../src/guestfs-actions.pod:4012
31175 #, no-wrap
31176 msgid ""
31177 " int\n"
31178 " guestfs_is_file (guestfs_h *g,\n"
31179 "                  const char *path);\n"
31180 "\n"
31181 msgstr ""
31182
31183 #. type: =head2
31184 #: ../src/guestfs-actions.pod:4026
31185 msgid "guestfs_is_launching"
31186 msgstr ""
31187
31188 #. type: verbatim
31189 #: ../src/guestfs-actions.pod:4028
31190 #, no-wrap
31191 msgid ""
31192 " int\n"
31193 " guestfs_is_launching (guestfs_h *g);\n"
31194 "\n"
31195 msgstr ""
31196
31197 #. type: =head2
31198 #: ../src/guestfs-actions.pod:4040
31199 msgid "guestfs_is_lv"
31200 msgstr ""
31201
31202 #. type: verbatim
31203 #: ../src/guestfs-actions.pod:4042
31204 #, no-wrap
31205 msgid ""
31206 " int\n"
31207 " guestfs_is_lv (guestfs_h *g,\n"
31208 "                const char *device);\n"
31209 "\n"
31210 msgstr ""
31211
31212 #. type: =head2
31213 #: ../src/guestfs-actions.pod:4053
31214 msgid "guestfs_is_ready"
31215 msgstr ""
31216
31217 #. type: verbatim
31218 #: ../src/guestfs-actions.pod:4055
31219 #, no-wrap
31220 msgid ""
31221 " int\n"
31222 " guestfs_is_ready (guestfs_h *g);\n"
31223 "\n"
31224 msgstr ""
31225
31226 #. type: =head2
31227 #: ../src/guestfs-actions.pod:4067
31228 msgid "guestfs_is_socket"
31229 msgstr ""
31230
31231 #. type: verbatim
31232 #: ../src/guestfs-actions.pod:4069
31233 #, no-wrap
31234 msgid ""
31235 " int\n"
31236 " guestfs_is_socket (guestfs_h *g,\n"
31237 "                    const char *path);\n"
31238 "\n"
31239 msgstr ""
31240
31241 #. type: =head2
31242 #: ../src/guestfs-actions.pod:4082
31243 msgid "guestfs_is_symlink"
31244 msgstr ""
31245
31246 #. type: verbatim
31247 #: ../src/guestfs-actions.pod:4084
31248 #, no-wrap
31249 msgid ""
31250 " int\n"
31251 " guestfs_is_symlink (guestfs_h *g,\n"
31252 "                     const char *path);\n"
31253 "\n"
31254 msgstr ""
31255
31256 #. type: =head2
31257 #: ../src/guestfs-actions.pod:4097
31258 msgid "guestfs_is_zero"
31259 msgstr ""
31260
31261 #. type: verbatim
31262 #: ../src/guestfs-actions.pod:4099
31263 #, no-wrap
31264 msgid ""
31265 " int\n"
31266 " guestfs_is_zero (guestfs_h *g,\n"
31267 "                  const char *path);\n"
31268 "\n"
31269 msgstr ""
31270
31271 #. type: textblock
31272 #: ../src/guestfs-actions.pod:4108 ../src/guestfs-actions.pod:4122
31273 msgid "(Added in 1.11.8)"
31274 msgstr "(Додано у 1.11.8)"
31275
31276 #. type: =head2
31277 #: ../src/guestfs-actions.pod:4110
31278 msgid "guestfs_is_zero_device"
31279 msgstr ""
31280
31281 #. type: verbatim
31282 #: ../src/guestfs-actions.pod:4112
31283 #, no-wrap
31284 msgid ""
31285 " int\n"
31286 " guestfs_is_zero_device (guestfs_h *g,\n"
31287 "                         const char *device);\n"
31288 "\n"
31289 msgstr ""
31290
31291 #. type: =head2
31292 #: ../src/guestfs-actions.pod:4124
31293 msgid "guestfs_kill_subprocess"
31294 msgstr ""
31295
31296 #. type: verbatim
31297 #: ../src/guestfs-actions.pod:4126
31298 #, no-wrap
31299 msgid ""
31300 " int\n"
31301 " guestfs_kill_subprocess (guestfs_h *g);\n"
31302 "\n"
31303 msgstr ""
31304
31305 #. type: =head2
31306 #: ../src/guestfs-actions.pod:4135
31307 msgid "guestfs_launch"
31308 msgstr ""
31309
31310 #. type: verbatim
31311 #: ../src/guestfs-actions.pod:4137
31312 #, no-wrap
31313 msgid ""
31314 " int\n"
31315 " guestfs_launch (guestfs_h *g);\n"
31316 "\n"
31317 msgstr ""
31318
31319 #. type: =head2
31320 #: ../src/guestfs-actions.pod:4155
31321 msgid "guestfs_lchown"
31322 msgstr ""
31323
31324 #. type: verbatim
31325 #: ../src/guestfs-actions.pod:4157
31326 #, no-wrap
31327 msgid ""
31328 " int\n"
31329 " guestfs_lchown (guestfs_h *g,\n"
31330 "                 int owner,\n"
31331 "                 int group,\n"
31332 "                 const char *path);\n"
31333 "\n"
31334 msgstr ""
31335
31336 #. type: textblock
31337 #: ../src/guestfs-actions.pod:4163
31338 msgid ""
31339 "Change the file owner to C<owner> and group to C<group>.  This is like "
31340 "C<guestfs_chown> but if C<path> is a symlink then the link itself is "
31341 "changed, not the target."
31342 msgstr ""
31343
31344 #. type: =head2
31345 #: ../src/guestfs-actions.pod:4175
31346 msgid "guestfs_lgetxattr"
31347 msgstr ""
31348
31349 #. type: verbatim
31350 #: ../src/guestfs-actions.pod:4177
31351 #, no-wrap
31352 msgid ""
31353 " char *\n"
31354 " guestfs_lgetxattr (guestfs_h *g,\n"
31355 "                    const char *path,\n"
31356 "                    const char *name,\n"
31357 "                    size_t *size_r);\n"
31358 "\n"
31359 msgstr ""
31360
31361 #. type: textblock
31362 #: ../src/guestfs-actions.pod:4197
31363 msgid "See also: C<guestfs_lgetxattrs>, C<guestfs_getxattr>, L<attr(5)>."
31364 msgstr ""
31365
31366 #. type: =head2
31367 #: ../src/guestfs-actions.pod:4205
31368 msgid "guestfs_lgetxattrs"
31369 msgstr ""
31370
31371 #. type: verbatim
31372 #: ../src/guestfs-actions.pod:4207
31373 #, no-wrap
31374 msgid ""
31375 " struct guestfs_xattr_list *\n"
31376 " guestfs_lgetxattrs (guestfs_h *g,\n"
31377 "                     const char *path);\n"
31378 "\n"
31379 msgstr ""
31380
31381 #. type: textblock
31382 #: ../src/guestfs-actions.pod:4211
31383 msgid ""
31384 "This is the same as C<guestfs_getxattrs>, but if C<path> is a symbolic link, "
31385 "then it returns the extended attributes of the link itself."
31386 msgstr ""
31387
31388 #. type: =head2
31389 #: ../src/guestfs-actions.pod:4221
31390 msgid "guestfs_list_9p"
31391 msgstr ""
31392
31393 #. type: verbatim
31394 #: ../src/guestfs-actions.pod:4223
31395 #, no-wrap
31396 msgid ""
31397 " char **\n"
31398 " guestfs_list_9p (guestfs_h *g);\n"
31399 "\n"
31400 msgstr ""
31401
31402 #. type: =head2
31403 #: ../src/guestfs-actions.pod:4235
31404 msgid "guestfs_list_devices"
31405 msgstr ""
31406
31407 #. type: verbatim
31408 #: ../src/guestfs-actions.pod:4237
31409 #, no-wrap
31410 msgid ""
31411 " char **\n"
31412 " guestfs_list_devices (guestfs_h *g);\n"
31413 "\n"
31414 msgstr ""
31415
31416 #. type: =head2
31417 #: ../src/guestfs-actions.pod:4252
31418 msgid "guestfs_list_dm_devices"
31419 msgstr ""
31420
31421 #. type: verbatim
31422 #: ../src/guestfs-actions.pod:4254
31423 #, no-wrap
31424 msgid ""
31425 " char **\n"
31426 " guestfs_list_dm_devices (guestfs_h *g);\n"
31427 "\n"
31428 msgstr ""
31429
31430 #. type: textblock
31431 #: ../src/guestfs-actions.pod:4259
31432 msgid ""
31433 "The returned list contains C</dev/mapper/*> devices, eg. ones created by a "
31434 "previous call to C<guestfs_luks_open>."
31435 msgstr ""
31436
31437 #. type: textblock
31438 #: ../src/guestfs-actions.pod:4262
31439 msgid ""
31440 "Device mapper devices which correspond to logical volumes are I<not> "
31441 "returned in this list.  Call C<guestfs_lvs> if you want to list logical "
31442 "volumes."
31443 msgstr ""
31444
31445 #. type: textblock
31446 #: ../src/guestfs-actions.pod:4270 ../src/guestfs-actions.pod:5869
31447 msgid "(Added in 1.11.15)"
31448 msgstr "(Додано у 1.11.15)"
31449
31450 #. type: =head2
31451 #: ../src/guestfs-actions.pod:4272
31452 msgid "guestfs_list_filesystems"
31453 msgstr ""
31454
31455 #. type: verbatim
31456 #: ../src/guestfs-actions.pod:4274
31457 #, no-wrap
31458 msgid ""
31459 " char **\n"
31460 " guestfs_list_filesystems (guestfs_h *g);\n"
31461 "\n"
31462 msgstr ""
31463
31464 #. type: textblock
31465 #: ../src/guestfs-actions.pod:4294
31466 msgid ""
31467 "This command runs other libguestfs commands, which might include "
31468 "C<guestfs_mount> and C<guestfs_umount>, and therefore you should use this "
31469 "soon after launch and only when nothing is mounted."
31470 msgstr ""
31471
31472 #. type: textblock
31473 #: ../src/guestfs-actions.pod:4298
31474 msgid ""
31475 "Not all of the filesystems returned will be mountable.  In particular, swap "
31476 "partitions are returned in the list.  Also this command does not check that "
31477 "each filesystem found is valid and mountable, and some filesystems might be "
31478 "mountable but require special options.  Filesystems may not all belong to a "
31479 "single logical operating system (use C<guestfs_inspect_os> to look for OSes)."
31480 msgstr ""
31481
31482 #. type: textblock
31483 #: ../src/guestfs-actions.pod:4312 ../src/guestfs-actions.pod:6229
31484 msgid "(Added in 1.5.15)"
31485 msgstr "(Додано у 1.5.15)"
31486
31487 #. type: =head2
31488 #: ../src/guestfs-actions.pod:4314
31489 #, fuzzy
31490 #| msgid "guestfs_zero_device"
31491 msgid "guestfs_list_md_devices"
31492 msgstr "guestfs_zero_device"
31493
31494 #. type: verbatim
31495 #: ../src/guestfs-actions.pod:4316
31496 #, fuzzy, no-wrap
31497 #| msgid ""
31498 #| " char **\n"
31499 #| " guestfs_lvs (guestfs_h *g);\n"
31500 #| "\n"
31501 msgid ""
31502 " char **\n"
31503 " guestfs_list_md_devices (guestfs_h *g);\n"
31504 "\n"
31505 msgstr ""
31506 " char **\n"
31507 " guestfs_lvs (guestfs_h *g);\n"
31508 "\n"
31509
31510 #. type: textblock
31511 #: ../src/guestfs-actions.pod:4325 ../src/guestfs-actions.pod:7890
31512 #, fuzzy
31513 #| msgid "(Added in 1.5.4)"
31514 msgid "(Added in 1.15.4)"
31515 msgstr "(Додано у 1.5.4)"
31516
31517 #. type: =head2
31518 #: ../src/guestfs-actions.pod:4327
31519 msgid "guestfs_list_partitions"
31520 msgstr "guestfs_list_partitions"
31521
31522 #. type: verbatim
31523 #: ../src/guestfs-actions.pod:4329
31524 #, no-wrap
31525 msgid ""
31526 " char **\n"
31527 " guestfs_list_partitions (guestfs_h *g);\n"
31528 "\n"
31529 msgstr ""
31530 " char **\n"
31531 " guestfs_list_partitions (guestfs_h *g);\n"
31532 "\n"
31533
31534 #. type: textblock
31535 #: ../src/guestfs-actions.pod:4336
31536 msgid ""
31537 "This does not return logical volumes.  For that you will need to call "
31538 "C<guestfs_lvs>."
31539 msgstr ""
31540
31541 #. type: =head2
31542 #: ../src/guestfs-actions.pod:4347
31543 msgid "guestfs_ll"
31544 msgstr "guestfs_ll"
31545
31546 #. type: verbatim
31547 #: ../src/guestfs-actions.pod:4349
31548 #, no-wrap
31549 msgid ""
31550 " char *\n"
31551 " guestfs_ll (guestfs_h *g,\n"
31552 "             const char *directory);\n"
31553 "\n"
31554 msgstr ""
31555 " char *\n"
31556 " guestfs_ll (guestfs_h *g,\n"
31557 "             const char *directory);\n"
31558 "\n"
31559
31560 #. type: =head2
31561 #: ../src/guestfs-actions.pod:4364
31562 msgid "guestfs_ln"
31563 msgstr "guestfs_ln"
31564
31565 #. type: verbatim
31566 #: ../src/guestfs-actions.pod:4366
31567 #, no-wrap
31568 msgid ""
31569 " int\n"
31570 " guestfs_ln (guestfs_h *g,\n"
31571 "             const char *target,\n"
31572 "             const char *linkname);\n"
31573 "\n"
31574 msgstr ""
31575 " int\n"
31576 " guestfs_ln (guestfs_h *g,\n"
31577 "             const char *target,\n"
31578 "             const char *linkname);\n"
31579 "\n"
31580
31581 #. type: =head2
31582 #: ../src/guestfs-actions.pod:4377
31583 msgid "guestfs_ln_f"
31584 msgstr "guestfs_ln_f"
31585
31586 #. type: verbatim
31587 #: ../src/guestfs-actions.pod:4379
31588 #, no-wrap
31589 msgid ""
31590 " int\n"
31591 " guestfs_ln_f (guestfs_h *g,\n"
31592 "               const char *target,\n"
31593 "               const char *linkname);\n"
31594 "\n"
31595 msgstr ""
31596 " int\n"
31597 " guestfs_ln_f (guestfs_h *g,\n"
31598 "               const char *target,\n"
31599 "               const char *linkname);\n"
31600 "\n"
31601
31602 #. type: =head2
31603 #: ../src/guestfs-actions.pod:4391
31604 msgid "guestfs_ln_s"
31605 msgstr "guestfs_ln_s"
31606
31607 #. type: verbatim
31608 #: ../src/guestfs-actions.pod:4393
31609 #, no-wrap
31610 msgid ""
31611 " int\n"
31612 " guestfs_ln_s (guestfs_h *g,\n"
31613 "               const char *target,\n"
31614 "               const char *linkname);\n"
31615 "\n"
31616 msgstr ""
31617 " int\n"
31618 " guestfs_ln_s (guestfs_h *g,\n"
31619 "               const char *target,\n"
31620 "               const char *linkname);\n"
31621 "\n"
31622
31623 #. type: =head2
31624 #: ../src/guestfs-actions.pod:4404
31625 msgid "guestfs_ln_sf"
31626 msgstr "guestfs_ln_sf"
31627
31628 #. type: verbatim
31629 #: ../src/guestfs-actions.pod:4406
31630 #, no-wrap
31631 msgid ""
31632 " int\n"
31633 " guestfs_ln_sf (guestfs_h *g,\n"
31634 "                const char *target,\n"
31635 "                const char *linkname);\n"
31636 "\n"
31637 msgstr ""
31638 " int\n"
31639 " guestfs_ln_sf (guestfs_h *g,\n"
31640 "                const char *target,\n"
31641 "                const char *linkname);\n"
31642 "\n"
31643
31644 #. type: =head2
31645 #: ../src/guestfs-actions.pod:4418
31646 msgid "guestfs_lremovexattr"
31647 msgstr "guestfs_lremovexattr"
31648
31649 #. type: verbatim
31650 #: ../src/guestfs-actions.pod:4420
31651 #, no-wrap
31652 msgid ""
31653 " int\n"
31654 " guestfs_lremovexattr (guestfs_h *g,\n"
31655 "                       const char *xattr,\n"
31656 "                       const char *path);\n"
31657 "\n"
31658 msgstr ""
31659 " int\n"
31660 " guestfs_lremovexattr (guestfs_h *g,\n"
31661 "                       const char *xattr,\n"
31662 "                       const char *path);\n"
31663 "\n"
31664
31665 #. type: textblock
31666 #: ../src/guestfs-actions.pod:4425
31667 msgid ""
31668 "This is the same as C<guestfs_removexattr>, but if C<path> is a symbolic "
31669 "link, then it removes an extended attribute of the link itself."
31670 msgstr ""
31671
31672 #. type: =head2
31673 #: ../src/guestfs-actions.pod:4433
31674 msgid "guestfs_ls"
31675 msgstr "guestfs_ls"
31676
31677 #. type: verbatim
31678 #: ../src/guestfs-actions.pod:4435
31679 #, no-wrap
31680 msgid ""
31681 " char **\n"
31682 " guestfs_ls (guestfs_h *g,\n"
31683 "             const char *directory);\n"
31684 "\n"
31685 msgstr ""
31686 " char **\n"
31687 " guestfs_ls (guestfs_h *g,\n"
31688 "             const char *directory);\n"
31689 "\n"
31690
31691 #. type: textblock
31692 #: ../src/guestfs-actions.pod:4443
31693 msgid ""
31694 "This command is mostly useful for interactive sessions.  Programs should "
31695 "probably use C<guestfs_readdir> instead."
31696 msgstr ""
31697
31698 #. type: =head2
31699 #: ../src/guestfs-actions.pod:4452
31700 msgid "guestfs_lsetxattr"
31701 msgstr "guestfs_lsetxattr"
31702
31703 #. type: verbatim
31704 #: ../src/guestfs-actions.pod:4454
31705 #, no-wrap
31706 msgid ""
31707 " int\n"
31708 " guestfs_lsetxattr (guestfs_h *g,\n"
31709 "                    const char *xattr,\n"
31710 "                    const char *val,\n"
31711 "                    int vallen,\n"
31712 "                    const char *path);\n"
31713 "\n"
31714 msgstr ""
31715 " int\n"
31716 " guestfs_lsetxattr (guestfs_h *g,\n"
31717 "                    const char *xattr,\n"
31718 "                    const char *val,\n"
31719 "                    int vallen,\n"
31720 "                    const char *path);\n"
31721 "\n"
31722
31723 #. type: textblock
31724 #: ../src/guestfs-actions.pod:4461
31725 msgid ""
31726 "This is the same as C<guestfs_setxattr>, but if C<path> is a symbolic link, "
31727 "then it sets an extended attribute of the link itself."
31728 msgstr ""
31729
31730 #. type: =head2
31731 #: ../src/guestfs-actions.pod:4469
31732 msgid "guestfs_lstat"
31733 msgstr "guestfs_lstat"
31734
31735 #. type: verbatim
31736 #: ../src/guestfs-actions.pod:4471
31737 #, no-wrap
31738 msgid ""
31739 " struct guestfs_stat *\n"
31740 " guestfs_lstat (guestfs_h *g,\n"
31741 "                const char *path);\n"
31742 "\n"
31743 msgstr ""
31744 " struct guestfs_stat *\n"
31745 " guestfs_lstat (guestfs_h *g,\n"
31746 "                const char *path);\n"
31747 "\n"
31748
31749 #. type: textblock
31750 #: ../src/guestfs-actions.pod:4477
31751 msgid ""
31752 "This is the same as C<guestfs_stat> except that if C<path> is a symbolic "
31753 "link, then the link is stat-ed, not the file it refers to."
31754 msgstr ""
31755
31756 #. type: textblock
31757 #: ../src/guestfs-actions.pod:4483 ../src/guestfs-actions.pod:7409
31758 msgid ""
31759 "This function returns a C<struct guestfs_stat *>, or NULL if there was an "
31760 "error.  I<The caller must call C<guestfs_free_stat> after use>."
31761 msgstr ""
31762
31763 #. type: textblock
31764 #: ../src/guestfs-actions.pod:4487 ../src/guestfs-actions.pod:7413
31765 #: ../src/guestfs-actions.pod:7431 ../src/guestfs-actions.pod:7934
31766 msgid "(Added in 0.9.2)"
31767 msgstr "(Додано у 0.9.2)"
31768
31769 #. type: =head2
31770 #: ../src/guestfs-actions.pod:4489
31771 msgid "guestfs_lstatlist"
31772 msgstr "guestfs_lstatlist"
31773
31774 #. type: verbatim
31775 #: ../src/guestfs-actions.pod:4491
31776 #, no-wrap
31777 msgid ""
31778 " struct guestfs_stat_list *\n"
31779 " guestfs_lstatlist (guestfs_h *g,\n"
31780 "                    const char *path,\n"
31781 "                    char *const *names);\n"
31782 "\n"
31783 msgstr ""
31784 " struct guestfs_stat_list *\n"
31785 " guestfs_lstatlist (guestfs_h *g,\n"
31786 "                    const char *path,\n"
31787 "                    char *const *names);\n"
31788 "\n"
31789
31790 #. type: textblock
31791 #: ../src/guestfs-actions.pod:4496
31792 msgid ""
31793 "This call allows you to perform the C<guestfs_lstat> operation on multiple "
31794 "files, where all files are in the directory C<path>.  C<names> is the list "
31795 "of files from this directory."
31796 msgstr ""
31797
31798 #. type: textblock
31799 #: ../src/guestfs-actions.pod:4505
31800 msgid ""
31801 "This call is intended for programs that want to efficiently list a directory "
31802 "contents without making many round-trips.  See also C<guestfs_lxattrlist> "
31803 "for a similarly efficient call for getting extended attributes.  Very long "
31804 "directory listings might cause the protocol message size to be exceeded, "
31805 "causing this call to fail.  The caller must split up such requests into "
31806 "smaller groups of names."
31807 msgstr ""
31808
31809 #. type: textblock
31810 #: ../src/guestfs-actions.pod:4513
31811 msgid ""
31812 "This function returns a C<struct guestfs_stat_list *>, or NULL if there was "
31813 "an error.  I<The caller must call C<guestfs_free_stat_list> after use>."
31814 msgstr ""
31815
31816 #. type: =head2
31817 #: ../src/guestfs-actions.pod:4519
31818 msgid "guestfs_luks_add_key"
31819 msgstr "guestfs_luks_add_key"
31820
31821 #. type: verbatim
31822 #: ../src/guestfs-actions.pod:4521
31823 #, no-wrap
31824 msgid ""
31825 " int\n"
31826 " guestfs_luks_add_key (guestfs_h *g,\n"
31827 "                       const char *device,\n"
31828 "                       const char *key,\n"
31829 "                       const char *newkey,\n"
31830 "                       int keyslot);\n"
31831 "\n"
31832 msgstr ""
31833 " int\n"
31834 " guestfs_luks_add_key (guestfs_h *g,\n"
31835 "                       const char *device,\n"
31836 "                       const char *key,\n"
31837 "                       const char *newkey,\n"
31838 "                       int keyslot);\n"
31839 "\n"
31840
31841 #. type: textblock
31842 #: ../src/guestfs-actions.pod:4533
31843 msgid ""
31844 "Note that if C<keyslot> already contains a key, then this command will "
31845 "fail.  You have to use C<guestfs_luks_kill_slot> first to remove that key."
31846 msgstr ""
31847
31848 #. type: textblock
31849 #: ../src/guestfs-actions.pod:4539 ../src/guestfs-actions.pod:4576
31850 #: ../src/guestfs-actions.pod:4596 ../src/guestfs-actions.pod:4616
31851 #: ../src/guestfs-actions.pod:4651 ../src/guestfs-actions.pod:4670
31852 msgid ""
31853 "This function takes a key or passphrase parameter which could contain "
31854 "sensitive material.  Read the section L</KEYS AND PASSPHRASES> for more "
31855 "information."
31856 msgstr ""
31857
31858 #. type: textblock
31859 #: ../src/guestfs-actions.pod:4543 ../src/guestfs-actions.pod:4580
31860 #: ../src/guestfs-actions.pod:4600 ../src/guestfs-actions.pod:4620
31861 msgid "(Added in 1.5.2)"
31862 msgstr "(Додано у 1.5.2)"
31863
31864 #. type: =head2
31865 #: ../src/guestfs-actions.pod:4545
31866 msgid "guestfs_luks_close"
31867 msgstr "guestfs_luks_close"
31868
31869 #. type: verbatim
31870 #: ../src/guestfs-actions.pod:4547
31871 #, no-wrap
31872 msgid ""
31873 " int\n"
31874 " guestfs_luks_close (guestfs_h *g,\n"
31875 "                     const char *device);\n"
31876 "\n"
31877 msgstr ""
31878 " int\n"
31879 " guestfs_luks_close (guestfs_h *g,\n"
31880 "                     const char *device);\n"
31881 "\n"
31882
31883 #. type: textblock
31884 #: ../src/guestfs-actions.pod:4551
31885 msgid ""
31886 "This closes a LUKS device that was created earlier by C<guestfs_luks_open> "
31887 "or C<guestfs_luks_open_ro>.  The C<device> parameter must be the name of the "
31888 "LUKS mapping device (ie. C</dev/mapper/mapname>) and I<not> the name of the "
31889 "underlying block device."
31890 msgstr ""
31891
31892 #. type: textblock
31893 #: ../src/guestfs-actions.pod:4559 ../src/guestfs-actions.pod:4655
31894 #: ../src/guestfs-actions.pod:4674 ../src/guestfs-actions.pod:4724
31895 #: ../src/guestfs-actions.pod:4769
31896 msgid "(Added in 1.5.1)"
31897 msgstr "(Додано у 1.5.1)"
31898
31899 #. type: =head2
31900 #: ../src/guestfs-actions.pod:4561
31901 msgid "guestfs_luks_format"
31902 msgstr "guestfs_luks_format"
31903
31904 #. type: verbatim
31905 #: ../src/guestfs-actions.pod:4563
31906 #, no-wrap
31907 msgid ""
31908 " int\n"
31909 " guestfs_luks_format (guestfs_h *g,\n"
31910 "                      const char *device,\n"
31911 "                      const char *key,\n"
31912 "                      int keyslot);\n"
31913 "\n"
31914 msgstr ""
31915 " int\n"
31916 " guestfs_luks_format (guestfs_h *g,\n"
31917 "                      const char *device,\n"
31918 "                      const char *key,\n"
31919 "                      int keyslot);\n"
31920 "\n"
31921
31922 #. type: =head2
31923 #: ../src/guestfs-actions.pod:4582
31924 msgid "guestfs_luks_format_cipher"
31925 msgstr "guestfs_luks_format_cipher"
31926
31927 #. type: verbatim
31928 #: ../src/guestfs-actions.pod:4584
31929 #, no-wrap
31930 msgid ""
31931 " int\n"
31932 " guestfs_luks_format_cipher (guestfs_h *g,\n"
31933 "                             const char *device,\n"
31934 "                             const char *key,\n"
31935 "                             int keyslot,\n"
31936 "                             const char *cipher);\n"
31937 "\n"
31938 msgstr ""
31939 " int\n"
31940 " guestfs_luks_format_cipher (guestfs_h *g,\n"
31941 "                             const char *device,\n"
31942 "                             const char *key,\n"
31943 "                             int keyslot,\n"
31944 "                             const char *cipher);\n"
31945 "\n"
31946
31947 #. type: textblock
31948 #: ../src/guestfs-actions.pod:4591
31949 msgid ""
31950 "This command is the same as C<guestfs_luks_format> but it also allows you to "
31951 "set the C<cipher> used."
31952 msgstr ""
31953
31954 #. type: =head2
31955 #: ../src/guestfs-actions.pod:4602
31956 msgid "guestfs_luks_kill_slot"
31957 msgstr "guestfs_luks_kill_slot"
31958
31959 #. type: verbatim
31960 #: ../src/guestfs-actions.pod:4604
31961 #, no-wrap
31962 msgid ""
31963 " int\n"
31964 " guestfs_luks_kill_slot (guestfs_h *g,\n"
31965 "                         const char *device,\n"
31966 "                         const char *key,\n"
31967 "                         int keyslot);\n"
31968 "\n"
31969 msgstr ""
31970 " int\n"
31971 " guestfs_luks_kill_slot (guestfs_h *g,\n"
31972 "                         const char *device,\n"
31973 "                         const char *key,\n"
31974 "                         int keyslot);\n"
31975 "\n"
31976
31977 #. type: =head2
31978 #: ../src/guestfs-actions.pod:4622
31979 msgid "guestfs_luks_open"
31980 msgstr "guestfs_luks_open"
31981
31982 #. type: verbatim
31983 #: ../src/guestfs-actions.pod:4624
31984 #, no-wrap
31985 msgid ""
31986 " int\n"
31987 " guestfs_luks_open (guestfs_h *g,\n"
31988 "                    const char *device,\n"
31989 "                    const char *key,\n"
31990 "                    const char *mapname);\n"
31991 "\n"
31992 msgstr ""
31993 " int\n"
31994 " guestfs_luks_open (guestfs_h *g,\n"
31995 "                    const char *device,\n"
31996 "                    const char *key,\n"
31997 "                    const char *mapname);\n"
31998 "\n"
31999
32000 #. type: textblock
32001 #: ../src/guestfs-actions.pod:4642
32002 msgid ""
32003 "If this block device contains LVM volume groups, then calling "
32004 "C<guestfs_vgscan> followed by C<guestfs_vg_activate_all> will make them "
32005 "visible."
32006 msgstr ""
32007
32008 #. type: textblock
32009 #: ../src/guestfs-actions.pod:4646
32010 msgid "Use C<guestfs_list_dm_devices> to list all device mapper devices."
32011 msgstr ""
32012
32013 #. type: =head2
32014 #: ../src/guestfs-actions.pod:4657
32015 msgid "guestfs_luks_open_ro"
32016 msgstr "guestfs_luks_open_ro"
32017
32018 #. type: verbatim
32019 #: ../src/guestfs-actions.pod:4659
32020 #, no-wrap
32021 msgid ""
32022 " int\n"
32023 " guestfs_luks_open_ro (guestfs_h *g,\n"
32024 "                       const char *device,\n"
32025 "                       const char *key,\n"
32026 "                       const char *mapname);\n"
32027 "\n"
32028 msgstr ""
32029 " int\n"
32030 " guestfs_luks_open_ro (guestfs_h *g,\n"
32031 "                       const char *device,\n"
32032 "                       const char *key,\n"
32033 "                       const char *mapname);\n"
32034 "\n"
32035
32036 #. type: textblock
32037 #: ../src/guestfs-actions.pod:4665
32038 msgid ""
32039 "This is the same as C<guestfs_luks_open> except that a read-only mapping is "
32040 "created."
32041 msgstr ""
32042
32043 #. type: =head2
32044 #: ../src/guestfs-actions.pod:4676
32045 msgid "guestfs_lvcreate"
32046 msgstr "guestfs_lvcreate"
32047
32048 #. type: verbatim
32049 #: ../src/guestfs-actions.pod:4678
32050 #, no-wrap
32051 msgid ""
32052 " int\n"
32053 " guestfs_lvcreate (guestfs_h *g,\n"
32054 "                   const char *logvol,\n"
32055 "                   const char *volgroup,\n"
32056 "                   int mbytes);\n"
32057 "\n"
32058 msgstr ""
32059 " int\n"
32060 " guestfs_lvcreate (guestfs_h *g,\n"
32061 "                   const char *logvol,\n"
32062 "                   const char *volgroup,\n"
32063 "                   int mbytes);\n"
32064 "\n"
32065
32066 #. type: =head2
32067 #: ../src/guestfs-actions.pod:4691
32068 msgid "guestfs_lvm_canonical_lv_name"
32069 msgstr "guestfs_lvm_canonical_lv_name"
32070
32071 #. type: verbatim
32072 #: ../src/guestfs-actions.pod:4693
32073 #, no-wrap
32074 msgid ""
32075 " char *\n"
32076 " guestfs_lvm_canonical_lv_name (guestfs_h *g,\n"
32077 "                                const char *lvname);\n"
32078 "\n"
32079 msgstr ""
32080 " char *\n"
32081 " guestfs_lvm_canonical_lv_name (guestfs_h *g,\n"
32082 "                                const char *lvname);\n"
32083 "\n"
32084
32085 #. type: textblock
32086 #: ../src/guestfs-actions.pod:4704
32087 msgid "See also C<guestfs_is_lv>."
32088 msgstr ""
32089
32090 #. type: textblock
32091 #: ../src/guestfs-actions.pod:4709
32092 msgid "(Added in 1.5.24)"
32093 msgstr "(Додано у 1.5.24)"
32094
32095 #. type: =head2
32096 #: ../src/guestfs-actions.pod:4711
32097 msgid "guestfs_lvm_clear_filter"
32098 msgstr "guestfs_lvm_clear_filter"
32099
32100 #. type: verbatim
32101 #: ../src/guestfs-actions.pod:4713
32102 #, no-wrap
32103 msgid ""
32104 " int\n"
32105 " guestfs_lvm_clear_filter (guestfs_h *g);\n"
32106 "\n"
32107 msgstr ""
32108 " int\n"
32109 " guestfs_lvm_clear_filter (guestfs_h *g);\n"
32110 "\n"
32111
32112 #. type: textblock
32113 #: ../src/guestfs-actions.pod:4716
32114 msgid ""
32115 "This undoes the effect of C<guestfs_lvm_set_filter>.  LVM will be able to "
32116 "see every block device."
32117 msgstr ""
32118
32119 #. type: =head2
32120 #: ../src/guestfs-actions.pod:4726
32121 msgid "guestfs_lvm_remove_all"
32122 msgstr "guestfs_lvm_remove_all"
32123
32124 #. type: verbatim
32125 #: ../src/guestfs-actions.pod:4728
32126 #, no-wrap
32127 msgid ""
32128 " int\n"
32129 " guestfs_lvm_remove_all (guestfs_h *g);\n"
32130 "\n"
32131 msgstr ""
32132 " int\n"
32133 " guestfs_lvm_remove_all (guestfs_h *g);\n"
32134 "\n"
32135
32136 #. type: =head2
32137 #: ../src/guestfs-actions.pod:4738
32138 msgid "guestfs_lvm_set_filter"
32139 msgstr "guestfs_lvm_set_filter"
32140
32141 #. type: verbatim
32142 #: ../src/guestfs-actions.pod:4740
32143 #, no-wrap
32144 msgid ""
32145 " int\n"
32146 " guestfs_lvm_set_filter (guestfs_h *g,\n"
32147 "                         char *const *devices);\n"
32148 "\n"
32149 msgstr ""
32150 " int\n"
32151 " guestfs_lvm_set_filter (guestfs_h *g,\n"
32152 "                         char *const *devices);\n"
32153 "\n"
32154
32155 #. type: =head2
32156 #: ../src/guestfs-actions.pod:4771
32157 msgid "guestfs_lvremove"
32158 msgstr "guestfs_lvremove"
32159
32160 #. type: verbatim
32161 #: ../src/guestfs-actions.pod:4773
32162 #, no-wrap
32163 msgid ""
32164 " int\n"
32165 " guestfs_lvremove (guestfs_h *g,\n"
32166 "                   const char *device);\n"
32167 "\n"
32168 msgstr ""
32169 " int\n"
32170 " guestfs_lvremove (guestfs_h *g,\n"
32171 "                   const char *device);\n"
32172 "\n"
32173
32174 #. type: textblock
32175 #: ../src/guestfs-actions.pod:4785 ../src/guestfs-actions.pod:6344
32176 #: ../src/guestfs-actions.pod:8304
32177 msgid "(Added in 1.0.13)"
32178 msgstr "(Додано у 1.0.13)"
32179
32180 #. type: =head2
32181 #: ../src/guestfs-actions.pod:4787
32182 msgid "guestfs_lvrename"
32183 msgstr "guestfs_lvrename"
32184
32185 #. type: verbatim
32186 #: ../src/guestfs-actions.pod:4789
32187 #, no-wrap
32188 msgid ""
32189 " int\n"
32190 " guestfs_lvrename (guestfs_h *g,\n"
32191 "                   const char *logvol,\n"
32192 "                   const char *newlogvol);\n"
32193 "\n"
32194 msgstr ""
32195 " int\n"
32196 " guestfs_lvrename (guestfs_h *g,\n"
32197 "                   const char *logvol,\n"
32198 "                   const char *newlogvol);\n"
32199 "\n"
32200
32201 #. type: textblock
32202 #: ../src/guestfs-actions.pod:4798 ../src/guestfs-actions.pod:8317
32203 msgid "(Added in 1.0.83)"
32204 msgstr "(Додано у 1.0.83)"
32205
32206 #. type: =head2
32207 #: ../src/guestfs-actions.pod:4800
32208 msgid "guestfs_lvresize"
32209 msgstr "guestfs_lvresize"
32210
32211 #. type: verbatim
32212 #: ../src/guestfs-actions.pod:4802
32213 #, no-wrap
32214 msgid ""
32215 " int\n"
32216 " guestfs_lvresize (guestfs_h *g,\n"
32217 "                   const char *device,\n"
32218 "                   int mbytes);\n"
32219 "\n"
32220 msgstr ""
32221 " int\n"
32222 " guestfs_lvresize (guestfs_h *g,\n"
32223 "                   const char *device,\n"
32224 "                   int mbytes);\n"
32225 "\n"
32226
32227 #. type: =head2
32228 #: ../src/guestfs-actions.pod:4815
32229 msgid "guestfs_lvresize_free"
32230 msgstr "guestfs_lvresize_free"
32231
32232 #. type: verbatim
32233 #: ../src/guestfs-actions.pod:4817
32234 #, no-wrap
32235 msgid ""
32236 " int\n"
32237 " guestfs_lvresize_free (guestfs_h *g,\n"
32238 "                        const char *lv,\n"
32239 "                        int percent);\n"
32240 "\n"
32241 msgstr ""
32242 " int\n"
32243 " guestfs_lvresize_free (guestfs_h *g,\n"
32244 "                        const char *lv,\n"
32245 "                        int percent);\n"
32246 "\n"
32247
32248 #. type: textblock
32249 #: ../src/guestfs-actions.pod:4830
32250 msgid "(Added in 1.3.3)"
32251 msgstr "(Додано у 1.3.3)"
32252
32253 #. type: =head2
32254 #: ../src/guestfs-actions.pod:4832
32255 msgid "guestfs_lvs"
32256 msgstr "guestfs_lvs"
32257
32258 #. type: verbatim
32259 #: ../src/guestfs-actions.pod:4834
32260 #, no-wrap
32261 msgid ""
32262 " char **\n"
32263 " guestfs_lvs (guestfs_h *g);\n"
32264 "\n"
32265 msgstr ""
32266 " char **\n"
32267 " guestfs_lvs (guestfs_h *g);\n"
32268 "\n"
32269
32270 #. type: textblock
32271 #: ../src/guestfs-actions.pod:4843
32272 msgid "See also C<guestfs_lvs_full>, C<guestfs_list_filesystems>."
32273 msgstr ""
32274
32275 #. type: =head2
32276 #: ../src/guestfs-actions.pod:4851
32277 msgid "guestfs_lvs_full"
32278 msgstr "guestfs_lvs_full"
32279
32280 #. type: verbatim
32281 #: ../src/guestfs-actions.pod:4853
32282 #, no-wrap
32283 msgid ""
32284 " struct guestfs_lvm_lv_list *\n"
32285 " guestfs_lvs_full (guestfs_h *g);\n"
32286 "\n"
32287 msgstr ""
32288 " struct guestfs_lvm_lv_list *\n"
32289 " guestfs_lvs_full (guestfs_h *g);\n"
32290 "\n"
32291
32292 #. type: textblock
32293 #: ../src/guestfs-actions.pod:4859
32294 msgid ""
32295 "This function returns a C<struct guestfs_lvm_lv_list *>, or NULL if there "
32296 "was an error.  I<The caller must call C<guestfs_free_lvm_lv_list> after use>."
32297 msgstr ""
32298
32299 #. type: =head2
32300 #: ../src/guestfs-actions.pod:4865
32301 msgid "guestfs_lvuuid"
32302 msgstr "guestfs_lvuuid"
32303
32304 #. type: verbatim
32305 #: ../src/guestfs-actions.pod:4867
32306 #, no-wrap
32307 msgid ""
32308 " char *\n"
32309 " guestfs_lvuuid (guestfs_h *g,\n"
32310 "                 const char *device);\n"
32311 "\n"
32312 msgstr ""
32313 " char *\n"
32314 " guestfs_lvuuid (guestfs_h *g,\n"
32315 "                 const char *device);\n"
32316 "\n"
32317
32318 #. type: =head2
32319 #: ../src/guestfs-actions.pod:4878
32320 msgid "guestfs_lxattrlist"
32321 msgstr "guestfs_lxattrlist"
32322
32323 #. type: verbatim
32324 #: ../src/guestfs-actions.pod:4880
32325 #, no-wrap
32326 msgid ""
32327 " struct guestfs_xattr_list *\n"
32328 " guestfs_lxattrlist (guestfs_h *g,\n"
32329 "                     const char *path,\n"
32330 "                     char *const *names);\n"
32331 "\n"
32332 msgstr ""
32333 " struct guestfs_xattr_list *\n"
32334 " guestfs_lxattrlist (guestfs_h *g,\n"
32335 "                     const char *path,\n"
32336 "                     char *const *names);\n"
32337 "\n"
32338
32339 #. type: textblock
32340 #: ../src/guestfs-actions.pod:4899
32341 msgid ""
32342 "This call is intended for programs that want to efficiently list a directory "
32343 "contents without making many round-trips.  See also C<guestfs_lstatlist> for "
32344 "a similarly efficient call for getting standard stats.  Very long directory "
32345 "listings might cause the protocol message size to be exceeded, causing this "
32346 "call to fail.  The caller must split up such requests into smaller groups of "
32347 "names."
32348 msgstr ""
32349
32350 #. type: =head2
32351 #: ../src/guestfs-actions.pod:4913
32352 #, fuzzy
32353 #| msgid "guestfs_create"
32354 msgid "guestfs_md_create"
32355 msgstr "guestfs_create"
32356
32357 #. type: verbatim
32358 #: ../src/guestfs-actions.pod:4915
32359 #, fuzzy, no-wrap
32360 #| msgid ""
32361 #| " int\n"
32362 #| " guestfs_mkfs_opts (guestfs_h *g,\n"
32363 #| "                    const char *fstype,\n"
32364 #| "                    const char *device,\n"
32365 #| "                    ...);\n"
32366 #| "\n"
32367 msgid ""
32368 " int\n"
32369 " guestfs_md_create (guestfs_h *g,\n"
32370 "                    const char *name,\n"
32371 "                    char *const *devices,\n"
32372 "                    ...);\n"
32373 "\n"
32374 msgstr ""
32375 " int\n"
32376 " guestfs_mkfs_opts (guestfs_h *g,\n"
32377 "                    const char *fstype,\n"
32378 "                    const char *device,\n"
32379 "                    ...);\n"
32380 "\n"
32381
32382 #. type: verbatim
32383 #: ../src/guestfs-actions.pod:4926
32384 #, no-wrap
32385 msgid ""
32386 " GUESTFS_MD_CREATE_MISSINGBITMAP, int64_t missingbitmap,\n"
32387 " GUESTFS_MD_CREATE_NRDEVICES, int nrdevices,\n"
32388 " GUESTFS_MD_CREATE_SPARE, int spare,\n"
32389 " GUESTFS_MD_CREATE_CHUNK, int64_t chunk,\n"
32390 " GUESTFS_MD_CREATE_LEVEL, const char *level,\n"
32391 "\n"
32392 msgstr ""
32393
32394 #. type: =head2
32395 #: ../src/guestfs-actions.pod:4988
32396 #, fuzzy
32397 #| msgid "guestfs_create"
32398 msgid "guestfs_md_create_va"
32399 msgstr "guestfs_create"
32400
32401 #. type: verbatim
32402 #: ../src/guestfs-actions.pod:4990
32403 #, fuzzy, no-wrap
32404 #| msgid ""
32405 #| " int\n"
32406 #| " guestfs_mkfs_opts_va (guestfs_h *g,\n"
32407 #| "                       const char *fstype,\n"
32408 #| "                       const char *device,\n"
32409 #| "                       va_list args);\n"
32410 #| "\n"
32411 msgid ""
32412 " int\n"
32413 " guestfs_md_create_va (guestfs_h *g,\n"
32414 "                       const char *name,\n"
32415 "                       char *const *devices,\n"
32416 "                       va_list args);\n"
32417 "\n"
32418 msgstr ""
32419 " int\n"
32420 " guestfs_mkfs_opts_va (guestfs_h *g,\n"
32421 "                       const char *fstype,\n"
32422 "                       const char *device,\n"
32423 "                       va_list args);\n"
32424 "\n"
32425
32426 #. type: textblock
32427 #: ../src/guestfs-actions.pod:4996
32428 msgid "This is the \"va_list variant\" of L</guestfs_md_create>."
32429 msgstr ""
32430
32431 #. type: =head2
32432 #: ../src/guestfs-actions.pod:5000
32433 #, fuzzy
32434 #| msgid "guestfs_create"
32435 msgid "guestfs_md_create_argv"
32436 msgstr "guestfs_create"
32437
32438 #. type: verbatim
32439 #: ../src/guestfs-actions.pod:5002
32440 #, fuzzy, no-wrap
32441 #| msgid ""
32442 #| " int\n"
32443 #| " guestfs_mkfs_opts_argv (guestfs_h *g,\n"
32444 #| "                         const char *fstype,\n"
32445 #| "                         const char *device,\n"
32446 #| "                         const struct guestfs_mkfs_opts_argv *optargs);\n"
32447 #| "\n"
32448 msgid ""
32449 " int\n"
32450 " guestfs_md_create_argv (guestfs_h *g,\n"
32451 "                         const char *name,\n"
32452 "                         char *const *devices,\n"
32453 "                         const struct guestfs_md_create_argv *optargs);\n"
32454 "\n"
32455 msgstr ""
32456 " int\n"
32457 " guestfs_mkfs_opts_argv (guestfs_h *g,\n"
32458 "                         const char *fstype,\n"
32459 "                         const char *device,\n"
32460 "                         const struct guestfs_mkfs_opts_argv *optargs);\n"
32461 "\n"
32462
32463 #. type: textblock
32464 #: ../src/guestfs-actions.pod:5008
32465 msgid "This is the \"argv variant\" of L</guestfs_md_create>."
32466 msgstr ""
32467
32468 #. type: =head2
32469 #: ../src/guestfs-actions.pod:5012
32470 #, fuzzy
32471 #| msgid "guestfs_aug_get"
32472 msgid "guestfs_md_detail"
32473 msgstr "guestfs_aug_get"
32474
32475 #. type: verbatim
32476 #: ../src/guestfs-actions.pod:5014
32477 #, fuzzy, no-wrap
32478 #| msgid ""
32479 #| " char *\n"
32480 #| " guestfs_aug_get (guestfs_h *g,\n"
32481 #| "                  const char *augpath);\n"
32482 #| "\n"
32483 msgid ""
32484 " char **\n"
32485 " guestfs_md_detail (guestfs_h *g,\n"
32486 "                    const char *md);\n"
32487 "\n"
32488 msgstr ""
32489 " char *\n"
32490 " guestfs_aug_get (guestfs_h *g,\n"
32491 "                  const char *augpath);\n"
32492 "\n"
32493
32494 #. type: =head2
32495 #: ../src/guestfs-actions.pod:5051
32496 #, fuzzy
32497 #| msgid "guestfs_mkdir_p"
32498 msgid "guestfs_md_stop"
32499 msgstr "guestfs_mkdir_p"
32500
32501 #. type: verbatim
32502 #: ../src/guestfs-actions.pod:5053
32503 #, fuzzy, no-wrap
32504 #| msgid ""
32505 #| " int\n"
32506 #| " guestfs_mkdir_p (guestfs_h *g,\n"
32507 #| "                  const char *path);\n"
32508 #| "\n"
32509 msgid ""
32510 " int\n"
32511 " guestfs_md_stop (guestfs_h *g,\n"
32512 "                  const char *md);\n"
32513 "\n"
32514 msgstr ""
32515 " int\n"
32516 " guestfs_mkdir_p (guestfs_h *g,\n"
32517 "                  const char *path);\n"
32518 "\n"
32519
32520 #. type: =head2
32521 #: ../src/guestfs-actions.pod:5062
32522 msgid "guestfs_mkdir"
32523 msgstr "guestfs_mkdir"
32524
32525 #. type: verbatim
32526 #: ../src/guestfs-actions.pod:5064
32527 #, no-wrap
32528 msgid ""
32529 " int\n"
32530 " guestfs_mkdir (guestfs_h *g,\n"
32531 "                const char *path);\n"
32532 "\n"
32533 msgstr ""
32534 " int\n"
32535 " guestfs_mkdir (guestfs_h *g,\n"
32536 "                const char *path);\n"
32537 "\n"
32538
32539 #. type: =head2
32540 #: ../src/guestfs-actions.pod:5074
32541 msgid "guestfs_mkdir_mode"
32542 msgstr "guestfs_mkdir_mode"
32543
32544 #. type: verbatim
32545 #: ../src/guestfs-actions.pod:5076
32546 #, no-wrap
32547 msgid ""
32548 " int\n"
32549 " guestfs_mkdir_mode (guestfs_h *g,\n"
32550 "                     const char *path,\n"
32551 "                     int mode);\n"
32552 "\n"
32553 msgstr ""
32554 " int\n"
32555 " guestfs_mkdir_mode (guestfs_h *g,\n"
32556 "                     const char *path,\n"
32557 "                     int mode);\n"
32558 "\n"
32559
32560 #. type: textblock
32561 #: ../src/guestfs-actions.pod:5088
32562 msgid "See also C<guestfs_mkdir>, C<guestfs_umask>"
32563 msgstr ""
32564
32565 #. type: =head2
32566 #: ../src/guestfs-actions.pod:5094
32567 msgid "guestfs_mkdir_p"
32568 msgstr "guestfs_mkdir_p"
32569
32570 #. type: verbatim
32571 #: ../src/guestfs-actions.pod:5096
32572 #, no-wrap
32573 msgid ""
32574 " int\n"
32575 " guestfs_mkdir_p (guestfs_h *g,\n"
32576 "                  const char *path);\n"
32577 "\n"
32578 msgstr ""
32579 " int\n"
32580 " guestfs_mkdir_p (guestfs_h *g,\n"
32581 "                  const char *path);\n"
32582 "\n"
32583
32584 #. type: =head2
32585 #: ../src/guestfs-actions.pod:5107
32586 msgid "guestfs_mkdtemp"
32587 msgstr "guestfs_mkdtemp"
32588
32589 #. type: verbatim
32590 #: ../src/guestfs-actions.pod:5109
32591 #, no-wrap
32592 msgid ""
32593 " char *\n"
32594 " guestfs_mkdtemp (guestfs_h *g,\n"
32595 "                  const char *template);\n"
32596 "\n"
32597 msgstr ""
32598 " char *\n"
32599 " guestfs_mkdtemp (guestfs_h *g,\n"
32600 "                  const char *template);\n"
32601 "\n"
32602
32603 #. type: =head2
32604 #: ../src/guestfs-actions.pod:5137
32605 msgid "guestfs_mke2fs_J"
32606 msgstr "guestfs_mke2fs_J"
32607
32608 #. type: verbatim
32609 #: ../src/guestfs-actions.pod:5139
32610 #, no-wrap
32611 msgid ""
32612 " int\n"
32613 " guestfs_mke2fs_J (guestfs_h *g,\n"
32614 "                   const char *fstype,\n"
32615 "                   int blocksize,\n"
32616 "                   const char *device,\n"
32617 "                   const char *journal);\n"
32618 "\n"
32619 msgstr ""
32620 " int\n"
32621 " guestfs_mke2fs_J (guestfs_h *g,\n"
32622 "                   const char *fstype,\n"
32623 "                   int blocksize,\n"
32624 "                   const char *device,\n"
32625 "                   const char *journal);\n"
32626 "\n"
32627
32628 #. type: textblock
32629 #: ../src/guestfs-actions.pod:5152
32630 msgid "See also C<guestfs_mke2journal>."
32631 msgstr ""
32632
32633 #. type: textblock
32634 #: ../src/guestfs-actions.pod:5156 ../src/guestfs-actions.pod:5174
32635 #: ../src/guestfs-actions.pod:5192 ../src/guestfs-actions.pod:5208
32636 #: ../src/guestfs-actions.pod:5222 ../src/guestfs-actions.pod:5236
32637 #: ../src/guestfs-actions.pod:5295 ../src/guestfs-actions.pod:5572
32638 msgid "(Added in 1.0.68)"
32639 msgstr "(Додано у 1.0.68)"
32640
32641 #. type: =head2
32642 #: ../src/guestfs-actions.pod:5158
32643 msgid "guestfs_mke2fs_JL"
32644 msgstr "guestfs_mke2fs_JL"
32645
32646 #. type: verbatim
32647 #: ../src/guestfs-actions.pod:5160
32648 #, no-wrap
32649 msgid ""
32650 " int\n"
32651 " guestfs_mke2fs_JL (guestfs_h *g,\n"
32652 "                    const char *fstype,\n"
32653 "                    int blocksize,\n"
32654 "                    const char *device,\n"
32655 "                    const char *label);\n"
32656 "\n"
32657 msgstr ""
32658 " int\n"
32659 " guestfs_mke2fs_JL (guestfs_h *g,\n"
32660 "                    const char *fstype,\n"
32661 "                    int blocksize,\n"
32662 "                    const char *device,\n"
32663 "                    const char *label);\n"
32664 "\n"
32665
32666 #. type: textblock
32667 #: ../src/guestfs-actions.pod:5170
32668 msgid "See also C<guestfs_mke2journal_L>."
32669 msgstr ""
32670
32671 #. type: =head2
32672 #: ../src/guestfs-actions.pod:5176
32673 msgid "guestfs_mke2fs_JU"
32674 msgstr "guestfs_mke2fs_JU"
32675
32676 #. type: verbatim
32677 #: ../src/guestfs-actions.pod:5178
32678 #, no-wrap
32679 msgid ""
32680 " int\n"
32681 " guestfs_mke2fs_JU (guestfs_h *g,\n"
32682 "                    const char *fstype,\n"
32683 "                    int blocksize,\n"
32684 "                    const char *device,\n"
32685 "                    const char *uuid);\n"
32686 "\n"
32687 msgstr ""
32688 " int\n"
32689 " guestfs_mke2fs_JU (guestfs_h *g,\n"
32690 "                    const char *fstype,\n"
32691 "                    int blocksize,\n"
32692 "                    const char *device,\n"
32693 "                    const char *uuid);\n"
32694 "\n"
32695
32696 #. type: textblock
32697 #: ../src/guestfs-actions.pod:5188
32698 msgid "See also C<guestfs_mke2journal_U>."
32699 msgstr ""
32700
32701 #. type: =head2
32702 #: ../src/guestfs-actions.pod:5194
32703 msgid "guestfs_mke2journal"
32704 msgstr "guestfs_mke2journal"
32705
32706 #. type: verbatim
32707 #: ../src/guestfs-actions.pod:5196
32708 #, no-wrap
32709 msgid ""
32710 " int\n"
32711 " guestfs_mke2journal (guestfs_h *g,\n"
32712 "                      int blocksize,\n"
32713 "                      const char *device);\n"
32714 "\n"
32715 msgstr ""
32716 " int\n"
32717 " guestfs_mke2journal (guestfs_h *g,\n"
32718 "                      int blocksize,\n"
32719 "                      const char *device);\n"
32720 "\n"
32721
32722 #. type: =head2
32723 #: ../src/guestfs-actions.pod:5210
32724 msgid "guestfs_mke2journal_L"
32725 msgstr "guestfs_mke2journal_L"
32726
32727 #. type: verbatim
32728 #: ../src/guestfs-actions.pod:5212
32729 #, no-wrap
32730 msgid ""
32731 " int\n"
32732 " guestfs_mke2journal_L (guestfs_h *g,\n"
32733 "                        int blocksize,\n"
32734 "                        const char *label,\n"
32735 "                        const char *device);\n"
32736 "\n"
32737 msgstr ""
32738 " int\n"
32739 " guestfs_mke2journal_L (guestfs_h *g,\n"
32740 "                        int blocksize,\n"
32741 "                        const char *label,\n"
32742 "                        const char *device);\n"
32743 "\n"
32744
32745 #. type: =head2
32746 #: ../src/guestfs-actions.pod:5224
32747 msgid "guestfs_mke2journal_U"
32748 msgstr "guestfs_mke2journal_U"
32749
32750 #. type: verbatim
32751 #: ../src/guestfs-actions.pod:5226
32752 #, no-wrap
32753 msgid ""
32754 " int\n"
32755 " guestfs_mke2journal_U (guestfs_h *g,\n"
32756 "                        int blocksize,\n"
32757 "                        const char *uuid,\n"
32758 "                        const char *device);\n"
32759 "\n"
32760 msgstr ""
32761 " int\n"
32762 " guestfs_mke2journal_U (guestfs_h *g,\n"
32763 "                        int blocksize,\n"
32764 "                        const char *uuid,\n"
32765 "                        const char *device);\n"
32766 "\n"
32767
32768 #. type: =head2
32769 #: ../src/guestfs-actions.pod:5238
32770 msgid "guestfs_mkfifo"
32771 msgstr "guestfs_mkfifo"
32772
32773 #. type: verbatim
32774 #: ../src/guestfs-actions.pod:5240
32775 #, no-wrap
32776 msgid ""
32777 " int\n"
32778 " guestfs_mkfifo (guestfs_h *g,\n"
32779 "                 int mode,\n"
32780 "                 const char *path);\n"
32781 "\n"
32782 msgstr ""
32783 " int\n"
32784 " guestfs_mkfifo (guestfs_h *g,\n"
32785 "                 int mode,\n"
32786 "                 const char *path);\n"
32787 "\n"
32788
32789 #. type: textblock
32790 #: ../src/guestfs-actions.pod:5245
32791 msgid ""
32792 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
32793 "is just a convenient wrapper around C<guestfs_mknod>."
32794 msgstr ""
32795
32796 #. type: =head2
32797 #: ../src/guestfs-actions.pod:5255
32798 msgid "guestfs_mkfs"
32799 msgstr "guestfs_mkfs"
32800
32801 #. type: verbatim
32802 #: ../src/guestfs-actions.pod:5257
32803 #, no-wrap
32804 msgid ""
32805 " int\n"
32806 " guestfs_mkfs (guestfs_h *g,\n"
32807 "               const char *fstype,\n"
32808 "               const char *device);\n"
32809 "\n"
32810 msgstr ""
32811 " int\n"
32812 " guestfs_mkfs (guestfs_h *g,\n"
32813 "               const char *fstype,\n"
32814 "               const char *device);\n"
32815 "\n"
32816
32817 #. type: =head2
32818 #: ../src/guestfs-actions.pod:5270
32819 msgid "guestfs_mkfs_b"
32820 msgstr "guestfs_mkfs_b"
32821
32822 #. type: verbatim
32823 #: ../src/guestfs-actions.pod:5272
32824 #, no-wrap
32825 msgid ""
32826 " int\n"
32827 " guestfs_mkfs_b (guestfs_h *g,\n"
32828 "                 const char *fstype,\n"
32829 "                 int blocksize,\n"
32830 "                 const char *device);\n"
32831 "\n"
32832 msgstr ""
32833 " int\n"
32834 " guestfs_mkfs_b (guestfs_h *g,\n"
32835 "                 const char *fstype,\n"
32836 "                 int blocksize,\n"
32837 "                 const char *device);\n"
32838 "\n"
32839
32840 #. type: textblock
32841 #: ../src/guestfs-actions.pod:5278
32842 msgid ""
32843 "I<This function is deprecated.> In new code, use the L</guestfs_mkfs_opts> "
32844 "call instead."
32845 msgstr ""
32846
32847 #. type: textblock
32848 #: ../src/guestfs-actions.pod:5285
32849 msgid ""
32850 "This call is similar to C<guestfs_mkfs>, but it allows you to control the "
32851 "block size of the resulting filesystem.  Supported block sizes depend on the "
32852 "filesystem type, but typically they are C<1024>, C<2048> or C<4096> only."
32853 msgstr ""
32854
32855 #. type: =head2
32856 #: ../src/guestfs-actions.pod:5297
32857 msgid "guestfs_mkfs_opts"
32858 msgstr "guestfs_mkfs_opts"
32859
32860 #. type: verbatim
32861 #: ../src/guestfs-actions.pod:5299
32862 #, no-wrap
32863 msgid ""
32864 " int\n"
32865 " guestfs_mkfs_opts (guestfs_h *g,\n"
32866 "                    const char *fstype,\n"
32867 "                    const char *device,\n"
32868 "                    ...);\n"
32869 "\n"
32870 msgstr ""
32871 " int\n"
32872 " guestfs_mkfs_opts (guestfs_h *g,\n"
32873 "                    const char *fstype,\n"
32874 "                    const char *device,\n"
32875 "                    ...);\n"
32876 "\n"
32877
32878 #. type: verbatim
32879 #: ../src/guestfs-actions.pod:5310
32880 #, no-wrap
32881 msgid ""
32882 " GUESTFS_MKFS_OPTS_BLOCKSIZE, int blocksize,\n"
32883 " GUESTFS_MKFS_OPTS_FEATURES, const char *features,\n"
32884 " GUESTFS_MKFS_OPTS_INODE, int inode,\n"
32885 " GUESTFS_MKFS_OPTS_SECTORSIZE, int sectorsize,\n"
32886 "\n"
32887 msgstr ""
32888
32889 #. type: textblock
32890 #: ../src/guestfs-actions.pod:5358
32891 msgid "(Added in 1.7.19)"
32892 msgstr "(Додано у 1.7.19)"
32893
32894 #. type: =head2
32895 #: ../src/guestfs-actions.pod:5360
32896 msgid "guestfs_mkfs_opts_va"
32897 msgstr "guestfs_mkfs_opts_va"
32898
32899 #. type: verbatim
32900 #: ../src/guestfs-actions.pod:5362
32901 #, no-wrap
32902 msgid ""
32903 " int\n"
32904 " guestfs_mkfs_opts_va (guestfs_h *g,\n"
32905 "                       const char *fstype,\n"
32906 "                       const char *device,\n"
32907 "                       va_list args);\n"
32908 "\n"
32909 msgstr ""
32910 " int\n"
32911 " guestfs_mkfs_opts_va (guestfs_h *g,\n"
32912 "                       const char *fstype,\n"
32913 "                       const char *device,\n"
32914 "                       va_list args);\n"
32915 "\n"
32916
32917 #. type: textblock
32918 #: ../src/guestfs-actions.pod:5368
32919 msgid "This is the \"va_list variant\" of L</guestfs_mkfs_opts>."
32920 msgstr ""
32921
32922 #. type: =head2
32923 #: ../src/guestfs-actions.pod:5372
32924 msgid "guestfs_mkfs_opts_argv"
32925 msgstr "guestfs_mkfs_opts_argv"
32926
32927 #. type: verbatim
32928 #: ../src/guestfs-actions.pod:5374
32929 #, no-wrap
32930 msgid ""
32931 " int\n"
32932 " guestfs_mkfs_opts_argv (guestfs_h *g,\n"
32933 "                         const char *fstype,\n"
32934 "                         const char *device,\n"
32935 "                         const struct guestfs_mkfs_opts_argv *optargs);\n"
32936 "\n"
32937 msgstr ""
32938 " int\n"
32939 " guestfs_mkfs_opts_argv (guestfs_h *g,\n"
32940 "                         const char *fstype,\n"
32941 "                         const char *device,\n"
32942 "                         const struct guestfs_mkfs_opts_argv *optargs);\n"
32943 "\n"
32944
32945 #. type: textblock
32946 #: ../src/guestfs-actions.pod:5380
32947 msgid "This is the \"argv variant\" of L</guestfs_mkfs_opts>."
32948 msgstr ""
32949
32950 #. type: =head2
32951 #: ../src/guestfs-actions.pod:5384
32952 msgid "guestfs_mkmountpoint"
32953 msgstr "guestfs_mkmountpoint"
32954
32955 #. type: verbatim
32956 #: ../src/guestfs-actions.pod:5386
32957 #, no-wrap
32958 msgid ""
32959 " int\n"
32960 " guestfs_mkmountpoint (guestfs_h *g,\n"
32961 "                       const char *exemptpath);\n"
32962 "\n"
32963 msgstr ""
32964 " int\n"
32965 " guestfs_mkmountpoint (guestfs_h *g,\n"
32966 "                       const char *exemptpath);\n"
32967 "\n"
32968
32969 #. type: textblock
32970 #: ../src/guestfs-actions.pod:5390
32971 msgid ""
32972 "C<guestfs_mkmountpoint> and C<guestfs_rmmountpoint> are specialized calls "
32973 "that can be used to create extra mountpoints before mounting the first "
32974 "filesystem."
32975 msgstr ""
32976
32977 #. type: textblock
32978 #: ../src/guestfs-actions.pod:5414
32979 msgid ""
32980 "C<guestfs_mkmountpoint> is not compatible with C<guestfs_umount_all>.  You "
32981 "may get unexpected errors if you try to mix these calls.  It is safest to "
32982 "manually unmount filesystems and remove mountpoints after use."
32983 msgstr ""
32984
32985 #. type: textblock
32986 #: ../src/guestfs-actions.pod:5418
32987 msgid ""
32988 "C<guestfs_umount_all> unmounts filesystems by sorting the paths longest "
32989 "first, so for this to work for manual mountpoints, you must ensure that the "
32990 "innermost mountpoints have the longest pathnames, as in the example code "
32991 "above."
32992 msgstr ""
32993
32994 #. type: textblock
32995 #: ../src/guestfs-actions.pod:5425
32996 msgid ""
32997 "Autosync [see C<guestfs_set_autosync>, this is set by default on handles] "
32998 "can cause C<guestfs_umount_all> to be called when the handle is closed which "
32999 "can also trigger these issues."
33000 msgstr ""
33001
33002 #. type: textblock
33003 #: ../src/guestfs-actions.pod:5431 ../src/guestfs-actions.pod:5737
33004 #: ../src/guestfs-actions.pod:6764
33005 msgid "(Added in 1.0.62)"
33006 msgstr "(Додано у 1.0.62)"
33007
33008 #. type: =head2
33009 #: ../src/guestfs-actions.pod:5433
33010 msgid "guestfs_mknod"
33011 msgstr ""
33012
33013 #. type: verbatim
33014 #: ../src/guestfs-actions.pod:5435
33015 #, no-wrap
33016 msgid ""
33017 " int\n"
33018 " guestfs_mknod (guestfs_h *g,\n"
33019 "                int mode,\n"
33020 "                int devmajor,\n"
33021 "                int devminor,\n"
33022 "                const char *path);\n"
33023 "\n"
33024 msgstr ""
33025
33026 #. type: textblock
33027 #: ../src/guestfs-actions.pod:5450
33028 msgid ""
33029 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
33030 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
33031 "regular file).  These constants are available in the standard Linux header "
33032 "files, or you can use C<guestfs_mknod_b>, C<guestfs_mknod_c> or "
33033 "C<guestfs_mkfifo> which are wrappers around this command which bitwise OR in "
33034 "the appropriate constant for you."
33035 msgstr ""
33036
33037 #. type: =head2
33038 #: ../src/guestfs-actions.pod:5464
33039 msgid "guestfs_mknod_b"
33040 msgstr ""
33041
33042 #. type: verbatim
33043 #: ../src/guestfs-actions.pod:5466
33044 #, no-wrap
33045 msgid ""
33046 " int\n"
33047 " guestfs_mknod_b (guestfs_h *g,\n"
33048 "                  int mode,\n"
33049 "                  int devmajor,\n"
33050 "                  int devminor,\n"
33051 "                  const char *path);\n"
33052 "\n"
33053 msgstr ""
33054
33055 #. type: textblock
33056 #: ../src/guestfs-actions.pod:5473
33057 msgid ""
33058 "This call creates a block device node called C<path> with mode C<mode> and "
33059 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
33060 "wrapper around C<guestfs_mknod>."
33061 msgstr ""
33062
33063 #. type: =head2
33064 #: ../src/guestfs-actions.pod:5483
33065 msgid "guestfs_mknod_c"
33066 msgstr ""
33067
33068 #. type: verbatim
33069 #: ../src/guestfs-actions.pod:5485
33070 #, no-wrap
33071 msgid ""
33072 " int\n"
33073 " guestfs_mknod_c (guestfs_h *g,\n"
33074 "                  int mode,\n"
33075 "                  int devmajor,\n"
33076 "                  int devminor,\n"
33077 "                  const char *path);\n"
33078 "\n"
33079 msgstr ""
33080
33081 #. type: textblock
33082 #: ../src/guestfs-actions.pod:5492
33083 msgid ""
33084 "This call creates a char device node called C<path> with mode C<mode> and "
33085 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
33086 "wrapper around C<guestfs_mknod>."
33087 msgstr ""
33088
33089 #. type: =head2
33090 #: ../src/guestfs-actions.pod:5502
33091 msgid "guestfs_mkswap"
33092 msgstr ""
33093
33094 #. type: verbatim
33095 #: ../src/guestfs-actions.pod:5504
33096 #, no-wrap
33097 msgid ""
33098 " int\n"
33099 " guestfs_mkswap (guestfs_h *g,\n"
33100 "                 const char *device);\n"
33101 "\n"
33102 msgstr ""
33103
33104 #. type: =head2
33105 #: ../src/guestfs-actions.pod:5514
33106 msgid "guestfs_mkswap_L"
33107 msgstr ""
33108
33109 #. type: verbatim
33110 #: ../src/guestfs-actions.pod:5516
33111 #, no-wrap
33112 msgid ""
33113 " int\n"
33114 " guestfs_mkswap_L (guestfs_h *g,\n"
33115 "                   const char *label,\n"
33116 "                   const char *device);\n"
33117 "\n"
33118 msgstr ""
33119
33120 #. type: =head2
33121 #: ../src/guestfs-actions.pod:5531
33122 msgid "guestfs_mkswap_U"
33123 msgstr ""
33124
33125 #. type: verbatim
33126 #: ../src/guestfs-actions.pod:5533
33127 #, no-wrap
33128 msgid ""
33129 " int\n"
33130 " guestfs_mkswap_U (guestfs_h *g,\n"
33131 "                   const char *uuid,\n"
33132 "                   const char *device);\n"
33133 "\n"
33134 msgstr ""
33135
33136 #. type: =head2
33137 #: ../src/guestfs-actions.pod:5544
33138 msgid "guestfs_mkswap_file"
33139 msgstr ""
33140
33141 #. type: verbatim
33142 #: ../src/guestfs-actions.pod:5546
33143 #, no-wrap
33144 msgid ""
33145 " int\n"
33146 " guestfs_mkswap_file (guestfs_h *g,\n"
33147 "                      const char *path);\n"
33148 "\n"
33149 msgstr ""
33150
33151 #. type: textblock
33152 #: ../src/guestfs-actions.pod:5552
33153 msgid ""
33154 "This command just writes a swap file signature to an existing file.  To "
33155 "create the file itself, use something like C<guestfs_fallocate>."
33156 msgstr ""
33157
33158 #. type: =head2
33159 #: ../src/guestfs-actions.pod:5559
33160 msgid "guestfs_modprobe"
33161 msgstr ""
33162
33163 #. type: verbatim
33164 #: ../src/guestfs-actions.pod:5561
33165 #, no-wrap
33166 msgid ""
33167 " int\n"
33168 " guestfs_modprobe (guestfs_h *g,\n"
33169 "                   const char *modulename);\n"
33170 "\n"
33171 msgstr ""
33172
33173 #. type: =head2
33174 #: ../src/guestfs-actions.pod:5574
33175 msgid "guestfs_mount"
33176 msgstr ""
33177
33178 #. type: verbatim
33179 #: ../src/guestfs-actions.pod:5576
33180 #, no-wrap
33181 msgid ""
33182 " int\n"
33183 " guestfs_mount (guestfs_h *g,\n"
33184 "                const char *device,\n"
33185 "                const char *mountpoint);\n"
33186 "\n"
33187 msgstr ""
33188
33189 #. type: textblock
33190 #: ../src/guestfs-actions.pod:5595
33191 msgid ""
33192 "Before libguestfs 1.13.16, this call implicitly added the options C<sync> "
33193 "and C<noatime>.  The C<sync> option greatly slowed writes and caused many "
33194 "problems for users.  If your program might need to work with older versions "
33195 "of libguestfs, use C<guestfs_mount_options> instead (using an empty string "
33196 "for the first parameter if you don't want any options)."
33197 msgstr ""
33198
33199 #. type: =head2
33200 #: ../src/guestfs-actions.pod:5606
33201 msgid "guestfs_mount_9p"
33202 msgstr ""
33203
33204 #. type: verbatim
33205 #: ../src/guestfs-actions.pod:5608
33206 #, no-wrap
33207 msgid ""
33208 " int\n"
33209 " guestfs_mount_9p (guestfs_h *g,\n"
33210 "                   const char *mounttag,\n"
33211 "                   const char *mountpoint,\n"
33212 "                   ...);\n"
33213 "\n"
33214 msgstr ""
33215
33216 #. type: verbatim
33217 #: ../src/guestfs-actions.pod:5619
33218 #, no-wrap
33219 msgid ""
33220 " GUESTFS_MOUNT_9P_OPTIONS, const char *options,\n"
33221 "\n"
33222 msgstr ""
33223
33224 #. type: =head2
33225 #: ../src/guestfs-actions.pod:5632
33226 msgid "guestfs_mount_9p_va"
33227 msgstr ""
33228
33229 #. type: verbatim
33230 #: ../src/guestfs-actions.pod:5634
33231 #, no-wrap
33232 msgid ""
33233 " int\n"
33234 " guestfs_mount_9p_va (guestfs_h *g,\n"
33235 "                      const char *mounttag,\n"
33236 "                      const char *mountpoint,\n"
33237 "                      va_list args);\n"
33238 "\n"
33239 msgstr ""
33240
33241 #. type: textblock
33242 #: ../src/guestfs-actions.pod:5640
33243 msgid "This is the \"va_list variant\" of L</guestfs_mount_9p>."
33244 msgstr ""
33245
33246 #. type: =head2
33247 #: ../src/guestfs-actions.pod:5644
33248 msgid "guestfs_mount_9p_argv"
33249 msgstr ""
33250
33251 #. type: verbatim
33252 #: ../src/guestfs-actions.pod:5646
33253 #, no-wrap
33254 msgid ""
33255 " int\n"
33256 " guestfs_mount_9p_argv (guestfs_h *g,\n"
33257 "                        const char *mounttag,\n"
33258 "                        const char *mountpoint,\n"
33259 "                        const struct guestfs_mount_9p_argv *optargs);\n"
33260 "\n"
33261 msgstr ""
33262
33263 #. type: textblock
33264 #: ../src/guestfs-actions.pod:5652
33265 msgid "This is the \"argv variant\" of L</guestfs_mount_9p>."
33266 msgstr ""
33267
33268 #. type: =head2
33269 #: ../src/guestfs-actions.pod:5656
33270 msgid "guestfs_mount_loop"
33271 msgstr ""
33272
33273 #. type: verbatim
33274 #: ../src/guestfs-actions.pod:5658
33275 #, no-wrap
33276 msgid ""
33277 " int\n"
33278 " guestfs_mount_loop (guestfs_h *g,\n"
33279 "                     const char *file,\n"
33280 "                     const char *mountpoint);\n"
33281 "\n"
33282 msgstr ""
33283
33284 #. type: =head2
33285 #: ../src/guestfs-actions.pod:5671
33286 msgid "guestfs_mount_options"
33287 msgstr ""
33288
33289 #. type: verbatim
33290 #: ../src/guestfs-actions.pod:5673
33291 #, no-wrap
33292 msgid ""
33293 " int\n"
33294 " guestfs_mount_options (guestfs_h *g,\n"
33295 "                        const char *options,\n"
33296 "                        const char *device,\n"
33297 "                        const char *mountpoint);\n"
33298 "\n"
33299 msgstr ""
33300
33301 #. type: textblock
33302 #: ../src/guestfs-actions.pod:5679
33303 msgid ""
33304 "This is the same as the C<guestfs_mount> command, but it allows you to set "
33305 "the mount options as for the L<mount(8)> I<-o> flag."
33306 msgstr ""
33307
33308 #. type: textblock
33309 #: ../src/guestfs-actions.pod:5689 ../src/guestfs-actions.pod:5703
33310 #: ../src/guestfs-actions.pod:5720
33311 msgid "(Added in 1.0.10)"
33312 msgstr "(Додано у 1.0.10)"
33313
33314 #. type: =head2
33315 #: ../src/guestfs-actions.pod:5691
33316 msgid "guestfs_mount_ro"
33317 msgstr ""
33318
33319 #. type: verbatim
33320 #: ../src/guestfs-actions.pod:5693
33321 #, no-wrap
33322 msgid ""
33323 " int\n"
33324 " guestfs_mount_ro (guestfs_h *g,\n"
33325 "                   const char *device,\n"
33326 "                   const char *mountpoint);\n"
33327 "\n"
33328 msgstr ""
33329
33330 #. type: textblock
33331 #: ../src/guestfs-actions.pod:5698
33332 msgid ""
33333 "This is the same as the C<guestfs_mount> command, but it mounts the "
33334 "filesystem with the read-only (I<-o ro>) flag."
33335 msgstr ""
33336
33337 #. type: =head2
33338 #: ../src/guestfs-actions.pod:5705
33339 msgid "guestfs_mount_vfs"
33340 msgstr ""
33341
33342 #. type: verbatim
33343 #: ../src/guestfs-actions.pod:5707
33344 #, no-wrap
33345 msgid ""
33346 " int\n"
33347 " guestfs_mount_vfs (guestfs_h *g,\n"
33348 "                    const char *options,\n"
33349 "                    const char *vfstype,\n"
33350 "                    const char *device,\n"
33351 "                    const char *mountpoint);\n"
33352 "\n"
33353 msgstr ""
33354
33355 #. type: textblock
33356 #: ../src/guestfs-actions.pod:5714
33357 msgid ""
33358 "This is the same as the C<guestfs_mount> command, but it allows you to set "
33359 "both the mount options and the vfstype as for the L<mount(8)> I<-o> and I<-"
33360 "t> flags."
33361 msgstr ""
33362
33363 #. type: =head2
33364 #: ../src/guestfs-actions.pod:5722
33365 msgid "guestfs_mountpoints"
33366 msgstr ""
33367
33368 #. type: verbatim
33369 #: ../src/guestfs-actions.pod:5724
33370 #, no-wrap
33371 msgid ""
33372 " char **\n"
33373 " guestfs_mountpoints (guestfs_h *g);\n"
33374 "\n"
33375 msgstr ""
33376
33377 #. type: textblock
33378 #: ../src/guestfs-actions.pod:5727
33379 msgid ""
33380 "This call is similar to C<guestfs_mounts>.  That call returns a list of "
33381 "devices.  This one returns a hash table (map) of device name to directory "
33382 "where the device is mounted."
33383 msgstr ""
33384
33385 #. type: =head2
33386 #: ../src/guestfs-actions.pod:5739
33387 msgid "guestfs_mounts"
33388 msgstr ""
33389
33390 #. type: verbatim
33391 #: ../src/guestfs-actions.pod:5741
33392 #, no-wrap
33393 msgid ""
33394 " char **\n"
33395 " guestfs_mounts (guestfs_h *g);\n"
33396 "\n"
33397 msgstr ""
33398
33399 #. type: textblock
33400 #: ../src/guestfs-actions.pod:5749
33401 msgid "See also: C<guestfs_mountpoints>"
33402 msgstr ""
33403
33404 #. type: =head2
33405 #: ../src/guestfs-actions.pod:5757
33406 msgid "guestfs_mv"
33407 msgstr ""
33408
33409 #. type: verbatim
33410 #: ../src/guestfs-actions.pod:5759
33411 #, no-wrap
33412 msgid ""
33413 " int\n"
33414 " guestfs_mv (guestfs_h *g,\n"
33415 "             const char *src,\n"
33416 "             const char *dest);\n"
33417 "\n"
33418 msgstr ""
33419
33420 #. type: =head2
33421 #: ../src/guestfs-actions.pod:5771
33422 msgid "guestfs_ntfs_3g_probe"
33423 msgstr ""
33424
33425 #. type: verbatim
33426 #: ../src/guestfs-actions.pod:5773
33427 #, no-wrap
33428 msgid ""
33429 " int\n"
33430 " guestfs_ntfs_3g_probe (guestfs_h *g,\n"
33431 "                        int rw,\n"
33432 "                        const char *device);\n"
33433 "\n"
33434 msgstr ""
33435
33436 #. type: textblock
33437 #: ../src/guestfs-actions.pod:5792
33438 msgid "(Added in 1.0.43)"
33439 msgstr "(Додано у 1.0.43)"
33440
33441 #. type: =head2
33442 #: ../src/guestfs-actions.pod:5794
33443 msgid "guestfs_ntfsresize"
33444 msgstr ""
33445
33446 #. type: verbatim
33447 #: ../src/guestfs-actions.pod:5796
33448 #, no-wrap
33449 msgid ""
33450 " int\n"
33451 " guestfs_ntfsresize (guestfs_h *g,\n"
33452 "                     const char *device);\n"
33453 "\n"
33454 msgstr ""
33455
33456 #. type: textblock
33457 #: ../src/guestfs-actions.pod:5800 ../src/guestfs-actions.pod:5900
33458 msgid ""
33459 "I<This function is deprecated.> In new code, use the L</"
33460 "guestfs_ntfsresize_opts> call instead."
33461 msgstr ""
33462
33463 #. type: =head2
33464 #: ../src/guestfs-actions.pod:5824
33465 msgid "guestfs_ntfsresize_opts"
33466 msgstr ""
33467
33468 #. type: verbatim
33469 #: ../src/guestfs-actions.pod:5826
33470 #, no-wrap
33471 msgid ""
33472 " int\n"
33473 " guestfs_ntfsresize_opts (guestfs_h *g,\n"
33474 "                          const char *device,\n"
33475 "                          ...);\n"
33476 "\n"
33477 msgstr ""
33478
33479 #. type: verbatim
33480 #: ../src/guestfs-actions.pod:5836
33481 #, no-wrap
33482 msgid ""
33483 " GUESTFS_NTFSRESIZE_OPTS_SIZE, int64_t size,\n"
33484 " GUESTFS_NTFSRESIZE_OPTS_FORCE, int force,\n"
33485 "\n"
33486 msgstr ""
33487
33488 #. type: textblock
33489 #: ../src/guestfs-actions.pod:5856
33490 msgid ""
33491 "After the resize operation, the filesystem is always marked as requiring a "
33492 "consistency check (for safety).  You have to boot into Windows to perform "
33493 "this check and clear this condition.  If you I<don't> set the C<force> "
33494 "option then it is not possible to call C<guestfs_ntfsresize_opts> multiple "
33495 "times on a single filesystem without booting into Windows between each "
33496 "resize."
33497 msgstr ""
33498
33499 #. type: =head2
33500 #: ../src/guestfs-actions.pod:5871
33501 msgid "guestfs_ntfsresize_opts_va"
33502 msgstr ""
33503
33504 #. type: verbatim
33505 #: ../src/guestfs-actions.pod:5873
33506 #, no-wrap
33507 msgid ""
33508 " int\n"
33509 " guestfs_ntfsresize_opts_va (guestfs_h *g,\n"
33510 "                             const char *device,\n"
33511 "                             va_list args);\n"
33512 "\n"
33513 msgstr ""
33514
33515 #. type: textblock
33516 #: ../src/guestfs-actions.pod:5878
33517 msgid "This is the \"va_list variant\" of L</guestfs_ntfsresize_opts>."
33518 msgstr ""
33519
33520 #. type: =head2
33521 #: ../src/guestfs-actions.pod:5882
33522 msgid "guestfs_ntfsresize_opts_argv"
33523 msgstr ""
33524
33525 #. type: verbatim
33526 #: ../src/guestfs-actions.pod:5884
33527 #, no-wrap
33528 msgid ""
33529 " int\n"
33530 " guestfs_ntfsresize_opts_argv (guestfs_h *g,\n"
33531 "                               const char *device,\n"
33532 "                               const struct guestfs_ntfsresize_opts_argv *optargs);\n"
33533 "\n"
33534 msgstr ""
33535
33536 #. type: textblock
33537 #: ../src/guestfs-actions.pod:5889
33538 msgid "This is the \"argv variant\" of L</guestfs_ntfsresize_opts>."
33539 msgstr ""
33540
33541 #. type: =head2
33542 #: ../src/guestfs-actions.pod:5893
33543 msgid "guestfs_ntfsresize_size"
33544 msgstr ""
33545
33546 #. type: verbatim
33547 #: ../src/guestfs-actions.pod:5895
33548 #, no-wrap
33549 msgid ""
33550 " int\n"
33551 " guestfs_ntfsresize_size (guestfs_h *g,\n"
33552 "                          const char *device,\n"
33553 "                          int64_t size);\n"
33554 "\n"
33555 msgstr ""
33556
33557 #. type: textblock
33558 #: ../src/guestfs-actions.pod:5907
33559 msgid ""
33560 "This command is the same as C<guestfs_ntfsresize> except that it allows you "
33561 "to specify the new size (in bytes) explicitly."
33562 msgstr ""
33563
33564 #. type: textblock
33565 #: ../src/guestfs-actions.pod:5912 ../src/guestfs-actions.pod:6371
33566 #: ../src/guestfs-actions.pod:6444 ../src/guestfs-actions.pod:6712
33567 #: ../src/guestfs-actions.pod:8461
33568 msgid "(Added in 1.3.14)"
33569 msgstr "(Додано у 1.3.14)"
33570
33571 #. type: =head2
33572 #: ../src/guestfs-actions.pod:5914
33573 msgid "guestfs_part_add"
33574 msgstr ""
33575
33576 #. type: verbatim
33577 #: ../src/guestfs-actions.pod:5916
33578 #, no-wrap
33579 msgid ""
33580 " int\n"
33581 " guestfs_part_add (guestfs_h *g,\n"
33582 "                   const char *device,\n"
33583 "                   const char *prlogex,\n"
33584 "                   int64_t startsect,\n"
33585 "                   int64_t endsect);\n"
33586 "\n"
33587 msgstr ""
33588
33589 #. type: textblock
33590 #: ../src/guestfs-actions.pod:5923
33591 msgid ""
33592 "This command adds a partition to C<device>.  If there is no partition table "
33593 "on the device, call C<guestfs_part_init> first."
33594 msgstr ""
33595
33596 #. type: textblock
33597 #: ../src/guestfs-actions.pod:5935
33598 msgid ""
33599 "Creating a partition which covers the whole disk is not so easy.  Use "
33600 "C<guestfs_part_disk> to do that."
33601 msgstr ""
33602
33603 #. type: textblock
33604 #: ../src/guestfs-actions.pod:5940 ../src/guestfs-actions.pod:5975
33605 #: ../src/guestfs-actions.pod:6028 ../src/guestfs-actions.pod:6112
33606 #: ../src/guestfs-actions.pod:6150 ../src/guestfs-actions.pod:6169
33607 #: ../src/guestfs-actions.pod:6209
33608 msgid "(Added in 1.0.78)"
33609 msgstr "(Додано у 1.0.78)"
33610
33611 #. type: =head2
33612 #: ../src/guestfs-actions.pod:5942
33613 msgid "guestfs_part_del"
33614 msgstr ""
33615
33616 #. type: verbatim
33617 #: ../src/guestfs-actions.pod:5944
33618 #, no-wrap
33619 msgid ""
33620 " int\n"
33621 " guestfs_part_del (guestfs_h *g,\n"
33622 "                   const char *device,\n"
33623 "                   int partnum);\n"
33624 "\n"
33625 msgstr ""
33626
33627 #. type: =head2
33628 #: ../src/guestfs-actions.pod:5959
33629 msgid "guestfs_part_disk"
33630 msgstr ""
33631
33632 #. type: verbatim
33633 #: ../src/guestfs-actions.pod:5961
33634 #, no-wrap
33635 msgid ""
33636 " int\n"
33637 " guestfs_part_disk (guestfs_h *g,\n"
33638 "                    const char *device,\n"
33639 "                    const char *parttype);\n"
33640 "\n"
33641 msgstr ""
33642
33643 #. type: textblock
33644 #: ../src/guestfs-actions.pod:5966
33645 msgid ""
33646 "This command is simply a combination of C<guestfs_part_init> followed by "
33647 "C<guestfs_part_add> to create a single primary partition covering the whole "
33648 "disk."
33649 msgstr ""
33650
33651 #. type: textblock
33652 #: ../src/guestfs-actions.pod:5970
33653 msgid ""
33654 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
33655 "possible values are described in C<guestfs_part_init>."
33656 msgstr ""
33657
33658 #. type: =head2
33659 #: ../src/guestfs-actions.pod:5977
33660 msgid "guestfs_part_get_bootable"
33661 msgstr ""
33662
33663 #. type: verbatim
33664 #: ../src/guestfs-actions.pod:5979
33665 #, no-wrap
33666 msgid ""
33667 " int\n"
33668 " guestfs_part_get_bootable (guestfs_h *g,\n"
33669 "                            const char *device,\n"
33670 "                            int partnum);\n"
33671 "\n"
33672 msgstr ""
33673
33674 #. type: textblock
33675 #: ../src/guestfs-actions.pod:5987
33676 msgid "See also C<guestfs_part_set_bootable>."
33677 msgstr ""
33678
33679 #. type: =head2
33680 #: ../src/guestfs-actions.pod:5993
33681 msgid "guestfs_part_get_mbr_id"
33682 msgstr ""
33683
33684 #. type: verbatim
33685 #: ../src/guestfs-actions.pod:5995
33686 #, no-wrap
33687 msgid ""
33688 " int\n"
33689 " guestfs_part_get_mbr_id (guestfs_h *g,\n"
33690 "                          const char *device,\n"
33691 "                          int partnum);\n"
33692 "\n"
33693 msgstr ""
33694
33695 #. type: textblock
33696 #: ../src/guestfs-actions.pod:6003 ../src/guestfs-actions.pod:6185
33697 msgid ""
33698 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get "
33699 "undefined results for other partition table types (see "
33700 "C<guestfs_part_get_parttype>)."
33701 msgstr ""
33702
33703 #. type: =head2
33704 #: ../src/guestfs-actions.pod:6011
33705 msgid "guestfs_part_get_parttype"
33706 msgstr ""
33707
33708 #. type: verbatim
33709 #: ../src/guestfs-actions.pod:6013
33710 #, no-wrap
33711 msgid ""
33712 " char *\n"
33713 " guestfs_part_get_parttype (guestfs_h *g,\n"
33714 "                            const char *device);\n"
33715 "\n"
33716 msgstr ""
33717
33718 #. type: textblock
33719 #: ../src/guestfs-actions.pod:6020
33720 msgid ""
33721 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
33722 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
33723 "possible, although unusual.  See C<guestfs_part_init> for a full list."
33724 msgstr ""
33725
33726 #. type: =head2
33727 #: ../src/guestfs-actions.pod:6030
33728 msgid "guestfs_part_init"
33729 msgstr ""
33730
33731 #. type: verbatim
33732 #: ../src/guestfs-actions.pod:6032
33733 #, no-wrap
33734 msgid ""
33735 " int\n"
33736 " guestfs_part_init (guestfs_h *g,\n"
33737 "                    const char *device,\n"
33738 "                    const char *parttype);\n"
33739 "\n"
33740 msgstr ""
33741
33742 #. type: textblock
33743 #: ../src/guestfs-actions.pod:6041
33744 msgid ""
33745 "Initially there are no partitions.  Following this, you should call "
33746 "C<guestfs_part_add> for each partition required."
33747 msgstr ""
33748
33749 #. type: =head2
33750 #: ../src/guestfs-actions.pod:6114
33751 msgid "guestfs_part_list"
33752 msgstr "guestfs_part_list"
33753
33754 #. type: verbatim
33755 #: ../src/guestfs-actions.pod:6116
33756 #, no-wrap
33757 msgid ""
33758 " struct guestfs_partition_list *\n"
33759 " guestfs_part_list (guestfs_h *g,\n"
33760 "                    const char *device);\n"
33761 "\n"
33762 msgstr ""
33763 " struct guestfs_partition_list *\n"
33764 " guestfs_part_list (guestfs_h *g,\n"
33765 "                    const char *device);\n"
33766 "\n"
33767
33768 #. type: textblock
33769 #: ../src/guestfs-actions.pod:6133
33770 msgid ""
33771 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
33772 "the device's sector size, see C<guestfs_blockdev_getss>."
33773 msgstr ""
33774
33775 #. type: textblock
33776 #: ../src/guestfs-actions.pod:6146
33777 msgid ""
33778 "This function returns a C<struct guestfs_partition_list *>, or NULL if there "
33779 "was an error.  I<The caller must call C<guestfs_free_partition_list> after "
33780 "use>."
33781 msgstr ""
33782
33783 #. type: =head2
33784 #: ../src/guestfs-actions.pod:6152
33785 msgid "guestfs_part_set_bootable"
33786 msgstr ""
33787
33788 #. type: verbatim
33789 #: ../src/guestfs-actions.pod:6154
33790 #, no-wrap
33791 msgid ""
33792 " int\n"
33793 " guestfs_part_set_bootable (guestfs_h *g,\n"
33794 "                            const char *device,\n"
33795 "                            int partnum,\n"
33796 "                            int bootable);\n"
33797 "\n"
33798 msgstr ""
33799
33800 #. type: =head2
33801 #: ../src/guestfs-actions.pod:6171
33802 msgid "guestfs_part_set_mbr_id"
33803 msgstr ""
33804
33805 #. type: verbatim
33806 #: ../src/guestfs-actions.pod:6173
33807 #, no-wrap
33808 msgid ""
33809 " int\n"
33810 " guestfs_part_set_mbr_id (guestfs_h *g,\n"
33811 "                          const char *device,\n"
33812 "                          int partnum,\n"
33813 "                          int idbyte);\n"
33814 "\n"
33815 msgstr ""
33816
33817 #. type: =head2
33818 #: ../src/guestfs-actions.pod:6193
33819 msgid "guestfs_part_set_name"
33820 msgstr ""
33821
33822 #. type: verbatim
33823 #: ../src/guestfs-actions.pod:6195
33824 #, no-wrap
33825 msgid ""
33826 " int\n"
33827 " guestfs_part_set_name (guestfs_h *g,\n"
33828 "                        const char *device,\n"
33829 "                        int partnum,\n"
33830 "                        const char *name);\n"
33831 "\n"
33832 msgstr ""
33833
33834 #. type: =head2
33835 #: ../src/guestfs-actions.pod:6211
33836 msgid "guestfs_part_to_dev"
33837 msgstr ""
33838
33839 #. type: verbatim
33840 #: ../src/guestfs-actions.pod:6213
33841 #, no-wrap
33842 msgid ""
33843 " char *\n"
33844 " guestfs_part_to_dev (guestfs_h *g,\n"
33845 "                      const char *partition);\n"
33846 "\n"
33847 msgstr ""
33848
33849 #. type: textblock
33850 #: ../src/guestfs-actions.pod:6221 ../src/guestfs-actions.pod:6240
33851 msgid ""
33852 "The named partition must exist, for example as a string returned from "
33853 "C<guestfs_list_partitions>."
33854 msgstr ""
33855
33856 #. type: textblock
33857 #: ../src/guestfs-actions.pod:6224
33858 msgid "See also C<guestfs_part_to_partnum>."
33859 msgstr ""
33860
33861 #. type: =head2
33862 #: ../src/guestfs-actions.pod:6231
33863 msgid "guestfs_part_to_partnum"
33864 msgstr ""
33865
33866 #. type: verbatim
33867 #: ../src/guestfs-actions.pod:6233
33868 #, no-wrap
33869 msgid ""
33870 " int\n"
33871 " guestfs_part_to_partnum (guestfs_h *g,\n"
33872 "                          const char *partition);\n"
33873 "\n"
33874 msgstr ""
33875
33876 #. type: textblock
33877 #: ../src/guestfs-actions.pod:6243
33878 msgid "See also C<guestfs_part_to_dev>."
33879 msgstr ""
33880
33881 #. type: =head2
33882 #: ../src/guestfs-actions.pod:6249
33883 msgid "guestfs_ping_daemon"
33884 msgstr ""
33885
33886 #. type: verbatim
33887 #: ../src/guestfs-actions.pod:6251
33888 #, no-wrap
33889 msgid ""
33890 " int\n"
33891 " guestfs_ping_daemon (guestfs_h *g);\n"
33892 "\n"
33893 msgstr ""
33894
33895 #. type: =head2
33896 #: ../src/guestfs-actions.pod:6263
33897 msgid "guestfs_pread"
33898 msgstr ""
33899
33900 #. type: verbatim
33901 #: ../src/guestfs-actions.pod:6265
33902 #, no-wrap
33903 msgid ""
33904 " char *\n"
33905 " guestfs_pread (guestfs_h *g,\n"
33906 "                const char *path,\n"
33907 "                int count,\n"
33908 "                int64_t offset,\n"
33909 "                size_t *size_r);\n"
33910 "\n"
33911 msgstr ""
33912
33913 #. type: textblock
33914 #: ../src/guestfs-actions.pod:6278
33915 msgid "See also C<guestfs_pwrite>, C<guestfs_pread_device>."
33916 msgstr ""
33917
33918 #. type: =head2
33919 #: ../src/guestfs-actions.pod:6289
33920 msgid "guestfs_pread_device"
33921 msgstr ""
33922
33923 #. type: verbatim
33924 #: ../src/guestfs-actions.pod:6291
33925 #, no-wrap
33926 msgid ""
33927 " char *\n"
33928 " guestfs_pread_device (guestfs_h *g,\n"
33929 "                       const char *device,\n"
33930 "                       int count,\n"
33931 "                       int64_t offset,\n"
33932 "                       size_t *size_r);\n"
33933 "\n"
33934 msgstr ""
33935
33936 #. type: textblock
33937 #: ../src/guestfs-actions.pod:6304
33938 msgid "See also C<guestfs_pread>."
33939 msgstr ""
33940
33941 #. type: textblock
33942 #: ../src/guestfs-actions.pod:6313
33943 msgid "(Added in 1.5.21)"
33944 msgstr "(Додано у 1.5.21)"
33945
33946 #. type: =head2
33947 #: ../src/guestfs-actions.pod:6315
33948 msgid "guestfs_pvcreate"
33949 msgstr ""
33950
33951 #. type: verbatim
33952 #: ../src/guestfs-actions.pod:6317
33953 #, no-wrap
33954 msgid ""
33955 " int\n"
33956 " guestfs_pvcreate (guestfs_h *g,\n"
33957 "                   const char *device);\n"
33958 "\n"
33959 msgstr ""
33960
33961 #. type: =head2
33962 #: ../src/guestfs-actions.pod:6329
33963 msgid "guestfs_pvremove"
33964 msgstr ""
33965
33966 #. type: verbatim
33967 #: ../src/guestfs-actions.pod:6331
33968 #, no-wrap
33969 msgid ""
33970 " int\n"
33971 " guestfs_pvremove (guestfs_h *g,\n"
33972 "                   const char *device);\n"
33973 "\n"
33974 msgstr ""
33975
33976 #. type: =head2
33977 #: ../src/guestfs-actions.pod:6346
33978 msgid "guestfs_pvresize"
33979 msgstr ""
33980
33981 #. type: verbatim
33982 #: ../src/guestfs-actions.pod:6348
33983 #, no-wrap
33984 msgid ""
33985 " int\n"
33986 " guestfs_pvresize (guestfs_h *g,\n"
33987 "                   const char *device);\n"
33988 "\n"
33989 msgstr ""
33990
33991 #. type: =head2
33992 #: ../src/guestfs-actions.pod:6359
33993 msgid "guestfs_pvresize_size"
33994 msgstr ""
33995
33996 #. type: verbatim
33997 #: ../src/guestfs-actions.pod:6361
33998 #, no-wrap
33999 msgid ""
34000 " int\n"
34001 " guestfs_pvresize_size (guestfs_h *g,\n"
34002 "                        const char *device,\n"
34003 "                        int64_t size);\n"
34004 "\n"
34005 msgstr ""
34006
34007 #. type: textblock
34008 #: ../src/guestfs-actions.pod:6366
34009 msgid ""
34010 "This command is the same as C<guestfs_pvresize> except that it allows you to "
34011 "specify the new size (in bytes) explicitly."
34012 msgstr ""
34013
34014 #. type: =head2
34015 #: ../src/guestfs-actions.pod:6373
34016 msgid "guestfs_pvs"
34017 msgstr ""
34018
34019 #. type: verbatim
34020 #: ../src/guestfs-actions.pod:6375
34021 #, no-wrap
34022 msgid ""
34023 " char **\n"
34024 " guestfs_pvs (guestfs_h *g);\n"
34025 "\n"
34026 msgstr ""
34027
34028 #. type: textblock
34029 #: ../src/guestfs-actions.pod:6384
34030 msgid "See also C<guestfs_pvs_full>."
34031 msgstr ""
34032
34033 #. type: =head2
34034 #: ../src/guestfs-actions.pod:6392
34035 msgid "guestfs_pvs_full"
34036 msgstr ""
34037
34038 #. type: verbatim
34039 #: ../src/guestfs-actions.pod:6394
34040 #, no-wrap
34041 msgid ""
34042 " struct guestfs_lvm_pv_list *\n"
34043 " guestfs_pvs_full (guestfs_h *g);\n"
34044 "\n"
34045 msgstr ""
34046
34047 #. type: textblock
34048 #: ../src/guestfs-actions.pod:6400
34049 msgid ""
34050 "This function returns a C<struct guestfs_lvm_pv_list *>, or NULL if there "
34051 "was an error.  I<The caller must call C<guestfs_free_lvm_pv_list> after use>."
34052 msgstr ""
34053
34054 #. type: =head2
34055 #: ../src/guestfs-actions.pod:6406
34056 msgid "guestfs_pvuuid"
34057 msgstr ""
34058
34059 #. type: verbatim
34060 #: ../src/guestfs-actions.pod:6408
34061 #, no-wrap
34062 msgid ""
34063 " char *\n"
34064 " guestfs_pvuuid (guestfs_h *g,\n"
34065 "                 const char *device);\n"
34066 "\n"
34067 msgstr ""
34068
34069 #. type: =head2
34070 #: ../src/guestfs-actions.pod:6419
34071 msgid "guestfs_pwrite"
34072 msgstr ""
34073
34074 #. type: verbatim
34075 #: ../src/guestfs-actions.pod:6421
34076 #, no-wrap
34077 msgid ""
34078 " int\n"
34079 " guestfs_pwrite (guestfs_h *g,\n"
34080 "                 const char *path,\n"
34081 "                 const char *content,\n"
34082 "                 size_t content_size,\n"
34083 "                 int64_t offset);\n"
34084 "\n"
34085 msgstr ""
34086
34087 #. type: textblock
34088 #: ../src/guestfs-actions.pod:6437
34089 msgid "See also C<guestfs_pread>, C<guestfs_pwrite_device>."
34090 msgstr ""
34091
34092 #. type: =head2
34093 #: ../src/guestfs-actions.pod:6446
34094 msgid "guestfs_pwrite_device"
34095 msgstr ""
34096
34097 #. type: verbatim
34098 #: ../src/guestfs-actions.pod:6448
34099 #, no-wrap
34100 msgid ""
34101 " int\n"
34102 " guestfs_pwrite_device (guestfs_h *g,\n"
34103 "                        const char *device,\n"
34104 "                        const char *content,\n"
34105 "                        size_t content_size,\n"
34106 "                        int64_t offset);\n"
34107 "\n"
34108 msgstr ""
34109
34110 #. type: textblock
34111 #: ../src/guestfs-actions.pod:6463
34112 msgid "See also C<guestfs_pwrite>."
34113 msgstr ""
34114
34115 #. type: textblock
34116 #: ../src/guestfs-actions.pod:6470
34117 msgid "(Added in 1.5.20)"
34118 msgstr "(Додано у 1.5.20)"
34119
34120 #. type: =head2
34121 #: ../src/guestfs-actions.pod:6472
34122 msgid "guestfs_read_file"
34123 msgstr ""
34124
34125 #. type: verbatim
34126 #: ../src/guestfs-actions.pod:6474
34127 #, no-wrap
34128 msgid ""
34129 " char *\n"
34130 " guestfs_read_file (guestfs_h *g,\n"
34131 "                    const char *path,\n"
34132 "                    size_t *size_r);\n"
34133 "\n"
34134 msgstr ""
34135
34136 #. type: textblock
34137 #: ../src/guestfs-actions.pod:6482
34138 msgid ""
34139 "Unlike C<guestfs_cat>, this function can correctly handle files that contain "
34140 "embedded ASCII NUL characters.  However unlike C<guestfs_download>, this "
34141 "function is limited in the total size of file that can be handled."
34142 msgstr ""
34143
34144 #. type: textblock
34145 #: ../src/guestfs-actions.pod:6494
34146 msgid "(Added in 1.0.63)"
34147 msgstr "(Додано у 1.0.63)"
34148
34149 #. type: =head2
34150 #: ../src/guestfs-actions.pod:6496
34151 msgid "guestfs_read_lines"
34152 msgstr ""
34153
34154 #. type: verbatim
34155 #: ../src/guestfs-actions.pod:6498
34156 #, no-wrap
34157 msgid ""
34158 " char **\n"
34159 " guestfs_read_lines (guestfs_h *g,\n"
34160 "                     const char *path);\n"
34161 "\n"
34162 msgstr ""
34163
34164 #. type: textblock
34165 #: ../src/guestfs-actions.pod:6507
34166 msgid ""
34167 "Note that this function cannot correctly handle binary files (specifically, "
34168 "files containing C<\\0> character which is treated as end of line).  For "
34169 "those you need to use the C<guestfs_read_file> function which has a more "
34170 "complex interface."
34171 msgstr ""
34172
34173 #. type: =head2
34174 #: ../src/guestfs-actions.pod:6518
34175 msgid "guestfs_readdir"
34176 msgstr ""
34177
34178 #. type: verbatim
34179 #: ../src/guestfs-actions.pod:6520
34180 #, no-wrap
34181 msgid ""
34182 " struct guestfs_dirent_list *\n"
34183 " guestfs_readdir (guestfs_h *g,\n"
34184 "                  const char *dir);\n"
34185 "\n"
34186 msgstr ""
34187
34188 #. type: textblock
34189 #: ../src/guestfs-actions.pod:6574
34190 msgid ""
34191 "This function is primarily intended for use by programs.  To get a simple "
34192 "list of names, use C<guestfs_ls>.  To get a printable directory for human "
34193 "consumption, use C<guestfs_ll>."
34194 msgstr ""
34195
34196 #. type: textblock
34197 #: ../src/guestfs-actions.pod:6578
34198 msgid ""
34199 "This function returns a C<struct guestfs_dirent_list *>, or NULL if there "
34200 "was an error.  I<The caller must call C<guestfs_free_dirent_list> after use>."
34201 msgstr ""
34202
34203 #. type: =head2
34204 #: ../src/guestfs-actions.pod:6584
34205 msgid "guestfs_readlink"
34206 msgstr ""
34207
34208 #. type: verbatim
34209 #: ../src/guestfs-actions.pod:6586
34210 #, no-wrap
34211 msgid ""
34212 " char *\n"
34213 " guestfs_readlink (guestfs_h *g,\n"
34214 "                   const char *path);\n"
34215 "\n"
34216 msgstr ""
34217
34218 #. type: =head2
34219 #: ../src/guestfs-actions.pod:6597
34220 msgid "guestfs_readlinklist"
34221 msgstr ""
34222
34223 #. type: verbatim
34224 #: ../src/guestfs-actions.pod:6599
34225 #, no-wrap
34226 msgid ""
34227 " char **\n"
34228 " guestfs_readlinklist (guestfs_h *g,\n"
34229 "                       const char *path,\n"
34230 "                       char *const *names);\n"
34231 "\n"
34232 msgstr ""
34233
34234 #. type: =head2
34235 #: ../src/guestfs-actions.pod:6632
34236 msgid "guestfs_realpath"
34237 msgstr ""
34238
34239 #. type: verbatim
34240 #: ../src/guestfs-actions.pod:6634
34241 #, no-wrap
34242 msgid ""
34243 " char *\n"
34244 " guestfs_realpath (guestfs_h *g,\n"
34245 "                   const char *path);\n"
34246 "\n"
34247 msgstr ""
34248
34249 #. type: =head2
34250 #: ../src/guestfs-actions.pod:6646
34251 msgid "guestfs_removexattr"
34252 msgstr ""
34253
34254 #. type: verbatim
34255 #: ../src/guestfs-actions.pod:6648
34256 #, no-wrap
34257 msgid ""
34258 " int\n"
34259 " guestfs_removexattr (guestfs_h *g,\n"
34260 "                      const char *xattr,\n"
34261 "                      const char *path);\n"
34262 "\n"
34263 msgstr ""
34264
34265 #. type: textblock
34266 #: ../src/guestfs-actions.pod:6656
34267 msgid "See also: C<guestfs_lremovexattr>, L<attr(5)>."
34268 msgstr ""
34269
34270 #. type: =head2
34271 #: ../src/guestfs-actions.pod:6662
34272 msgid "guestfs_resize2fs"
34273 msgstr ""
34274
34275 #. type: verbatim
34276 #: ../src/guestfs-actions.pod:6664
34277 #, no-wrap
34278 msgid ""
34279 " int\n"
34280 " guestfs_resize2fs (guestfs_h *g,\n"
34281 "                    const char *device);\n"
34282 "\n"
34283 msgstr ""
34284
34285 #. type: textblock
34286 #: ../src/guestfs-actions.pod:6671
34287 msgid ""
34288 "I<Note:> It is sometimes required that you run C<guestfs_e2fsck_f> on the "
34289 "C<device> before calling this command.  For unknown reasons C<resize2fs> "
34290 "sometimes gives an error about this and sometimes not.  In any case, it is "
34291 "always safe to call C<guestfs_e2fsck_f> before calling this function."
34292 msgstr ""
34293
34294 #. type: =head2
34295 #: ../src/guestfs-actions.pod:6681
34296 msgid "guestfs_resize2fs_M"
34297 msgstr ""
34298
34299 #. type: verbatim
34300 #: ../src/guestfs-actions.pod:6683
34301 #, no-wrap
34302 msgid ""
34303 " int\n"
34304 " guestfs_resize2fs_M (guestfs_h *g,\n"
34305 "                      const char *device);\n"
34306 "\n"
34307 msgstr ""
34308
34309 #. type: textblock
34310 #: ../src/guestfs-actions.pod:6687
34311 msgid ""
34312 "This command is the same as C<guestfs_resize2fs>, but the filesystem is "
34313 "resized to its minimum size.  This works like the I<-M> option to the "
34314 "C<resize2fs> command."
34315 msgstr ""
34316
34317 #. type: textblock
34318 #: ../src/guestfs-actions.pod:6691
34319 msgid ""
34320 "To get the resulting size of the filesystem you should call "
34321 "C<guestfs_tune2fs_l> and read the C<Block size> and C<Block count> values.  "
34322 "These two numbers, multiplied together, give the resulting size of the "
34323 "minimal filesystem in bytes."
34324 msgstr ""
34325
34326 #. type: =head2
34327 #: ../src/guestfs-actions.pod:6700
34328 msgid "guestfs_resize2fs_size"
34329 msgstr ""
34330
34331 #. type: verbatim
34332 #: ../src/guestfs-actions.pod:6702
34333 #, no-wrap
34334 msgid ""
34335 " int\n"
34336 " guestfs_resize2fs_size (guestfs_h *g,\n"
34337 "                         const char *device,\n"
34338 "                         int64_t size);\n"
34339 "\n"
34340 msgstr ""
34341
34342 #. type: textblock
34343 #: ../src/guestfs-actions.pod:6707
34344 msgid ""
34345 "This command is the same as C<guestfs_resize2fs> except that it allows you "
34346 "to specify the new size (in bytes) explicitly."
34347 msgstr ""
34348
34349 #. type: =head2
34350 #: ../src/guestfs-actions.pod:6714
34351 msgid "guestfs_rm"
34352 msgstr ""
34353
34354 #. type: verbatim
34355 #: ../src/guestfs-actions.pod:6716
34356 #, no-wrap
34357 msgid ""
34358 " int\n"
34359 " guestfs_rm (guestfs_h *g,\n"
34360 "             const char *path);\n"
34361 "\n"
34362 msgstr ""
34363
34364 #. type: =head2
34365 #: ../src/guestfs-actions.pod:6726
34366 msgid "guestfs_rm_rf"
34367 msgstr ""
34368
34369 #. type: verbatim
34370 #: ../src/guestfs-actions.pod:6728
34371 #, no-wrap
34372 msgid ""
34373 " int\n"
34374 " guestfs_rm_rf (guestfs_h *g,\n"
34375 "                const char *path);\n"
34376 "\n"
34377 msgstr ""
34378
34379 #. type: =head2
34380 #: ../src/guestfs-actions.pod:6740
34381 msgid "guestfs_rmdir"
34382 msgstr ""
34383
34384 #. type: verbatim
34385 #: ../src/guestfs-actions.pod:6742
34386 #, no-wrap
34387 msgid ""
34388 " int\n"
34389 " guestfs_rmdir (guestfs_h *g,\n"
34390 "                const char *path);\n"
34391 "\n"
34392 msgstr ""
34393
34394 #. type: =head2
34395 #: ../src/guestfs-actions.pod:6752
34396 msgid "guestfs_rmmountpoint"
34397 msgstr ""
34398
34399 #. type: verbatim
34400 #: ../src/guestfs-actions.pod:6754
34401 #, no-wrap
34402 msgid ""
34403 " int\n"
34404 " guestfs_rmmountpoint (guestfs_h *g,\n"
34405 "                       const char *exemptpath);\n"
34406 "\n"
34407 msgstr ""
34408
34409 #. type: textblock
34410 #: ../src/guestfs-actions.pod:6758
34411 msgid ""
34412 "This calls removes a mountpoint that was previously created with "
34413 "C<guestfs_mkmountpoint>.  See C<guestfs_mkmountpoint> for full details."
34414 msgstr ""
34415
34416 #. type: =head2
34417 #: ../src/guestfs-actions.pod:6766
34418 msgid "guestfs_scrub_device"
34419 msgstr ""
34420
34421 #. type: verbatim
34422 #: ../src/guestfs-actions.pod:6768
34423 #, no-wrap
34424 msgid ""
34425 " int\n"
34426 " guestfs_scrub_device (guestfs_h *g,\n"
34427 "                       const char *device);\n"
34428 "\n"
34429 msgstr ""
34430
34431 #. type: textblock
34432 #: ../src/guestfs-actions.pod:6780 ../src/guestfs-actions.pod:6798
34433 #: ../src/guestfs-actions.pod:6817
34434 msgid "(Added in 1.0.52)"
34435 msgstr "(Додано у 1.0.52)"
34436
34437 #. type: =head2
34438 #: ../src/guestfs-actions.pod:6782
34439 msgid "guestfs_scrub_file"
34440 msgstr ""
34441
34442 #. type: verbatim
34443 #: ../src/guestfs-actions.pod:6784
34444 #, no-wrap
34445 msgid ""
34446 " int\n"
34447 " guestfs_scrub_file (guestfs_h *g,\n"
34448 "                     const char *file);\n"
34449 "\n"
34450 msgstr ""
34451
34452 #. type: =head2
34453 #: ../src/guestfs-actions.pod:6800
34454 msgid "guestfs_scrub_freespace"
34455 msgstr ""
34456
34457 #. type: verbatim
34458 #: ../src/guestfs-actions.pod:6802
34459 #, no-wrap
34460 msgid ""
34461 " int\n"
34462 " guestfs_scrub_freespace (guestfs_h *g,\n"
34463 "                          const char *dir);\n"
34464 "\n"
34465 msgstr ""
34466
34467 #. type: textblock
34468 #: ../src/guestfs-actions.pod:6806
34469 msgid ""
34470 "This command creates the directory C<dir> and then fills it with files until "
34471 "the filesystem is full, and scrubs the files as for C<guestfs_scrub_file>, "
34472 "and deletes them.  The intention is to scrub any free space on the partition "
34473 "containing C<dir>."
34474 msgstr ""
34475
34476 #. type: =head2
34477 #: ../src/guestfs-actions.pod:6819
34478 msgid "guestfs_set_append"
34479 msgstr ""
34480
34481 #. type: verbatim
34482 #: ../src/guestfs-actions.pod:6821
34483 #, no-wrap
34484 msgid ""
34485 " int\n"
34486 " guestfs_set_append (guestfs_h *g,\n"
34487 "                     const char *append);\n"
34488 "\n"
34489 msgstr ""
34490
34491 #. type: =head2
34492 #: ../src/guestfs-actions.pod:6838
34493 msgid "guestfs_set_attach_method"
34494 msgstr ""
34495
34496 #. type: verbatim
34497 #: ../src/guestfs-actions.pod:6840
34498 #, no-wrap
34499 msgid ""
34500 " int\n"
34501 " guestfs_set_attach_method (guestfs_h *g,\n"
34502 "                            const char *attachmethod);\n"
34503 "\n"
34504 msgstr ""
34505
34506 #. type: =head2
34507 #: ../src/guestfs-actions.pod:6868
34508 msgid "guestfs_set_autosync"
34509 msgstr ""
34510
34511 #. type: verbatim
34512 #: ../src/guestfs-actions.pod:6870
34513 #, no-wrap
34514 msgid ""
34515 " int\n"
34516 " guestfs_set_autosync (guestfs_h *g,\n"
34517 "                       int autosync);\n"
34518 "\n"
34519 msgstr ""
34520
34521 #. type: =head2
34522 #: ../src/guestfs-actions.pod:6886
34523 msgid "guestfs_set_direct"
34524 msgstr ""
34525
34526 #. type: verbatim
34527 #: ../src/guestfs-actions.pod:6888
34528 #, no-wrap
34529 msgid ""
34530 " int\n"
34531 " guestfs_set_direct (guestfs_h *g,\n"
34532 "                     int direct);\n"
34533 "\n"
34534 msgstr ""
34535
34536 #. type: textblock
34537 #: ../src/guestfs-actions.pod:6896
34538 msgid ""
34539 "One consequence of this is that log messages aren't caught by the library "
34540 "and handled by C<guestfs_set_log_message_callback>, but go straight to "
34541 "stdout."
34542 msgstr ""
34543
34544 #. type: =head2
34545 #: ../src/guestfs-actions.pod:6909
34546 msgid "guestfs_set_e2label"
34547 msgstr ""
34548
34549 #. type: verbatim
34550 #: ../src/guestfs-actions.pod:6911
34551 #, no-wrap
34552 msgid ""
34553 " int\n"
34554 " guestfs_set_e2label (guestfs_h *g,\n"
34555 "                      const char *device,\n"
34556 "                      const char *label);\n"
34557 "\n"
34558 msgstr ""
34559
34560 #. type: textblock
34561 #: ../src/guestfs-actions.pod:6920
34562 msgid ""
34563 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2label> to return "
34564 "the existing label on a filesystem."
34565 msgstr ""
34566
34567 #. type: =head2
34568 #: ../src/guestfs-actions.pod:6927
34569 msgid "guestfs_set_e2uuid"
34570 msgstr ""
34571
34572 #. type: verbatim
34573 #: ../src/guestfs-actions.pod:6929
34574 #, no-wrap
34575 msgid ""
34576 " int\n"
34577 " guestfs_set_e2uuid (guestfs_h *g,\n"
34578 "                     const char *device,\n"
34579 "                     const char *uuid);\n"
34580 "\n"
34581 msgstr ""
34582
34583 #. type: textblock
34584 #: ../src/guestfs-actions.pod:6939
34585 msgid ""
34586 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2uuid> to return "
34587 "the existing UUID of a filesystem."
34588 msgstr ""
34589
34590 #. type: =head2
34591 #: ../src/guestfs-actions.pod:6946
34592 msgid "guestfs_set_memsize"
34593 msgstr ""
34594
34595 #. type: verbatim
34596 #: ../src/guestfs-actions.pod:6948
34597 #, no-wrap
34598 msgid ""
34599 " int\n"
34600 " guestfs_set_memsize (guestfs_h *g,\n"
34601 "                      int memsize);\n"
34602 "\n"
34603 msgstr ""
34604
34605 #. type: textblock
34606 #: ../src/guestfs-actions.pod:6952
34607 msgid ""
34608 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
34609 "This only has any effect if called before C<guestfs_launch>."
34610 msgstr ""
34611
34612 #. type: =head2
34613 #: ../src/guestfs-actions.pod:6967
34614 msgid "guestfs_set_network"
34615 msgstr ""
34616
34617 #. type: verbatim
34618 #: ../src/guestfs-actions.pod:6969
34619 #, no-wrap
34620 msgid ""
34621 " int\n"
34622 " guestfs_set_network (guestfs_h *g,\n"
34623 "                      int network);\n"
34624 "\n"
34625 msgstr ""
34626
34627 #. type: textblock
34628 #: ../src/guestfs-actions.pod:6979
34629 msgid ""
34630 "You must call this before calling C<guestfs_launch>, otherwise it has no "
34631 "effect."
34632 msgstr ""
34633
34634 #. type: =head2
34635 #: ../src/guestfs-actions.pod:6986
34636 msgid "guestfs_set_path"
34637 msgstr ""
34638
34639 #. type: verbatim
34640 #: ../src/guestfs-actions.pod:6988
34641 #, no-wrap
34642 msgid ""
34643 " int\n"
34644 " guestfs_set_path (guestfs_h *g,\n"
34645 "                   const char *searchpath);\n"
34646 "\n"
34647 msgstr ""
34648
34649 #. type: =head2
34650 #: ../src/guestfs-actions.pod:7003
34651 msgid "guestfs_set_pgroup"
34652 msgstr ""
34653
34654 #. type: verbatim
34655 #: ../src/guestfs-actions.pod:7005
34656 #, no-wrap
34657 msgid ""
34658 " int\n"
34659 " guestfs_set_pgroup (guestfs_h *g,\n"
34660 "                     int pgroup);\n"
34661 "\n"
34662 msgstr ""
34663
34664 #. type: =head2
34665 #: ../src/guestfs-actions.pod:7022
34666 msgid "guestfs_set_qemu"
34667 msgstr ""
34668
34669 #. type: verbatim
34670 #: ../src/guestfs-actions.pod:7024
34671 #, no-wrap
34672 msgid ""
34673 " int\n"
34674 " guestfs_set_qemu (guestfs_h *g,\n"
34675 "                   const char *qemu);\n"
34676 "\n"
34677 msgstr ""
34678
34679 #. type: =head2
34680 #: ../src/guestfs-actions.pod:7050
34681 msgid "guestfs_set_recovery_proc"
34682 msgstr ""
34683
34684 #. type: verbatim
34685 #: ../src/guestfs-actions.pod:7052
34686 #, no-wrap
34687 msgid ""
34688 " int\n"
34689 " guestfs_set_recovery_proc (guestfs_h *g,\n"
34690 "                            int recoveryproc);\n"
34691 "\n"
34692 msgstr ""
34693
34694 #. type: textblock
34695 #: ../src/guestfs-actions.pod:7056
34696 msgid ""
34697 "If this is called with the parameter C<false> then C<guestfs_launch> does "
34698 "not create a recovery process.  The purpose of the recovery process is to "
34699 "stop runaway qemu processes in the case where the main program aborts "
34700 "abruptly."
34701 msgstr ""
34702
34703 #. type: textblock
34704 #: ../src/guestfs-actions.pod:7061
34705 msgid ""
34706 "This only has any effect if called before C<guestfs_launch>, and the default "
34707 "is true."
34708 msgstr ""
34709
34710 #. type: =head2
34711 #: ../src/guestfs-actions.pod:7074
34712 msgid "guestfs_set_selinux"
34713 msgstr ""
34714
34715 #. type: verbatim
34716 #: ../src/guestfs-actions.pod:7076
34717 #, no-wrap
34718 msgid ""
34719 " int\n"
34720 " guestfs_set_selinux (guestfs_h *g,\n"
34721 "                      int selinux);\n"
34722 "\n"
34723 msgstr ""
34724
34725 #. type: =head2
34726 #: ../src/guestfs-actions.pod:7093
34727 msgid "guestfs_set_smp"
34728 msgstr ""
34729
34730 #. type: verbatim
34731 #: ../src/guestfs-actions.pod:7095
34732 #, no-wrap
34733 msgid ""
34734 " int\n"
34735 " guestfs_set_smp (guestfs_h *g,\n"
34736 "                  int smp);\n"
34737 "\n"
34738 msgstr ""
34739
34740 #. type: textblock
34741 #: ../src/guestfs-actions.pod:7103
34742 msgid "This function must be called before C<guestfs_launch>."
34743 msgstr ""
34744
34745 #. type: =head2
34746 #: ../src/guestfs-actions.pod:7109
34747 msgid "guestfs_set_trace"
34748 msgstr ""
34749
34750 #. type: verbatim
34751 #: ../src/guestfs-actions.pod:7111
34752 #, no-wrap
34753 msgid ""
34754 " int\n"
34755 " guestfs_set_trace (guestfs_h *g,\n"
34756 "                    int trace);\n"
34757 "\n"
34758 msgstr ""
34759
34760 #. type: textblock
34761 #: ../src/guestfs-actions.pod:7125
34762 msgid ""
34763 "Trace messages are normally sent to C<stderr>, unless you register a "
34764 "callback to send them somewhere else (see C<guestfs_set_event_callback>)."
34765 msgstr ""
34766
34767 #. type: =head2
34768 #: ../src/guestfs-actions.pod:7133
34769 msgid "guestfs_set_verbose"
34770 msgstr ""
34771
34772 #. type: verbatim
34773 #: ../src/guestfs-actions.pod:7135
34774 #, no-wrap
34775 msgid ""
34776 " int\n"
34777 " guestfs_set_verbose (guestfs_h *g,\n"
34778 "                      int verbose);\n"
34779 "\n"
34780 msgstr ""
34781
34782 #. type: textblock
34783 #: ../src/guestfs-actions.pod:7144
34784 msgid ""
34785 "Verbose messages are normally sent to C<stderr>, unless you register a "
34786 "callback to send them somewhere else (see C<guestfs_set_event_callback>)."
34787 msgstr ""
34788
34789 #. type: =head2
34790 #: ../src/guestfs-actions.pod:7152
34791 msgid "guestfs_setcon"
34792 msgstr ""
34793
34794 #. type: verbatim
34795 #: ../src/guestfs-actions.pod:7154
34796 #, no-wrap
34797 msgid ""
34798 " int\n"
34799 " guestfs_setcon (guestfs_h *g,\n"
34800 "                 const char *context);\n"
34801 "\n"
34802 msgstr ""
34803
34804 #. type: =head2
34805 #: ../src/guestfs-actions.pod:7167
34806 msgid "guestfs_setxattr"
34807 msgstr ""
34808
34809 #. type: verbatim
34810 #: ../src/guestfs-actions.pod:7169
34811 #, no-wrap
34812 msgid ""
34813 " int\n"
34814 " guestfs_setxattr (guestfs_h *g,\n"
34815 "                   const char *xattr,\n"
34816 "                   const char *val,\n"
34817 "                   int vallen,\n"
34818 "                   const char *path);\n"
34819 "\n"
34820 msgstr ""
34821
34822 #. type: textblock
34823 #: ../src/guestfs-actions.pod:7180
34824 msgid "See also: C<guestfs_lsetxattr>, L<attr(5)>."
34825 msgstr ""
34826
34827 #. type: =head2
34828 #: ../src/guestfs-actions.pod:7186
34829 msgid "guestfs_sfdisk"
34830 msgstr ""
34831
34832 #. type: verbatim
34833 #: ../src/guestfs-actions.pod:7188
34834 #, no-wrap
34835 msgid ""
34836 " int\n"
34837 " guestfs_sfdisk (guestfs_h *g,\n"
34838 "                 const char *device,\n"
34839 "                 int cyls,\n"
34840 "                 int heads,\n"
34841 "                 int sectors,\n"
34842 "                 char *const *lines);\n"
34843 "\n"
34844 msgstr ""
34845
34846 #. type: textblock
34847 #: ../src/guestfs-actions.pod:7196 ../src/guestfs-actions.pod:7237
34848 #: ../src/guestfs-actions.pod:7268
34849 msgid ""
34850 "I<This function is deprecated.> In new code, use the L</guestfs_part_add> "
34851 "call instead."
34852 msgstr ""
34853
34854 #. type: textblock
34855 #: ../src/guestfs-actions.pod:7223
34856 msgid ""
34857 "See also: C<guestfs_sfdisk_l>, C<guestfs_sfdisk_N>, C<guestfs_part_init>"
34858 msgstr ""
34859
34860 #. type: =head2
34861 #: ../src/guestfs-actions.pod:7230
34862 msgid "guestfs_sfdiskM"
34863 msgstr ""
34864
34865 #. type: verbatim
34866 #: ../src/guestfs-actions.pod:7232
34867 #, no-wrap
34868 msgid ""
34869 " int\n"
34870 " guestfs_sfdiskM (guestfs_h *g,\n"
34871 "                  const char *device,\n"
34872 "                  char *const *lines);\n"
34873 "\n"
34874 msgstr ""
34875
34876 #. type: textblock
34877 #: ../src/guestfs-actions.pod:7244
34878 msgid ""
34879 "This is a simplified interface to the C<guestfs_sfdisk> command, where "
34880 "partition sizes are specified in megabytes only (rounded to the nearest "
34881 "cylinder) and you don't need to specify the cyls, heads and sectors "
34882 "parameters which were rarely if ever used anyway."
34883 msgstr ""
34884
34885 #. type: textblock
34886 #: ../src/guestfs-actions.pod:7250
34887 msgid ""
34888 "See also: C<guestfs_sfdisk>, the L<sfdisk(8)> manpage and "
34889 "C<guestfs_part_disk>"
34890 msgstr ""
34891
34892 #. type: =head2
34893 #: ../src/guestfs-actions.pod:7257
34894 msgid "guestfs_sfdisk_N"
34895 msgstr ""
34896
34897 #. type: verbatim
34898 #: ../src/guestfs-actions.pod:7259
34899 #, no-wrap
34900 msgid ""
34901 " int\n"
34902 " guestfs_sfdisk_N (guestfs_h *g,\n"
34903 "                   const char *device,\n"
34904 "                   int partnum,\n"
34905 "                   int cyls,\n"
34906 "                   int heads,\n"
34907 "                   int sectors,\n"
34908 "                   const char *line);\n"
34909 "\n"
34910 msgstr ""
34911
34912 #. type: textblock
34913 #: ../src/guestfs-actions.pod:7278
34914 msgid ""
34915 "For other parameters, see C<guestfs_sfdisk>.  You should usually pass C<0> "
34916 "for the cyls/heads/sectors parameters."
34917 msgstr ""
34918
34919 #. type: textblock
34920 #: ../src/guestfs-actions.pod:7281
34921 msgid "See also: C<guestfs_part_add>"
34922 msgstr ""
34923
34924 #. type: =head2
34925 #: ../src/guestfs-actions.pod:7287
34926 msgid "guestfs_sfdisk_disk_geometry"
34927 msgstr ""
34928
34929 #. type: verbatim
34930 #: ../src/guestfs-actions.pod:7289
34931 #, no-wrap
34932 msgid ""
34933 " char *\n"
34934 " guestfs_sfdisk_disk_geometry (guestfs_h *g,\n"
34935 "                               const char *device);\n"
34936 "\n"
34937 msgstr ""
34938
34939 #. type: textblock
34940 #: ../src/guestfs-actions.pod:7293
34941 msgid ""
34942 "This displays the disk geometry of C<device> read from the partition table.  "
34943 "Especially in the case where the underlying block device has been resized, "
34944 "this can be different from the kernel's idea of the geometry (see "
34945 "C<guestfs_sfdisk_kernel_geometry>)."
34946 msgstr ""
34947
34948 #. type: =head2
34949 #: ../src/guestfs-actions.pod:7306
34950 msgid "guestfs_sfdisk_kernel_geometry"
34951 msgstr ""
34952
34953 #. type: verbatim
34954 #: ../src/guestfs-actions.pod:7308
34955 #, no-wrap
34956 msgid ""
34957 " char *\n"
34958 " guestfs_sfdisk_kernel_geometry (guestfs_h *g,\n"
34959 "                                 const char *device);\n"
34960 "\n"
34961 msgstr ""
34962
34963 #. type: =head2
34964 #: ../src/guestfs-actions.pod:7322
34965 msgid "guestfs_sfdisk_l"
34966 msgstr ""
34967
34968 #. type: verbatim
34969 #: ../src/guestfs-actions.pod:7324
34970 #, no-wrap
34971 msgid ""
34972 " char *\n"
34973 " guestfs_sfdisk_l (guestfs_h *g,\n"
34974 "                   const char *device);\n"
34975 "\n"
34976 msgstr ""
34977
34978 #. type: textblock
34979 #: ../src/guestfs-actions.pod:7328
34980 msgid ""
34981 "I<This function is deprecated.> In new code, use the L</guestfs_part_list> "
34982 "call instead."
34983 msgstr ""
34984
34985 #. type: textblock
34986 #: ../src/guestfs-actions.pod:7339
34987 msgid "See also: C<guestfs_part_list>"
34988 msgstr ""
34989
34990 #. type: =head2
34991 #: ../src/guestfs-actions.pod:7346
34992 msgid "guestfs_sh"
34993 msgstr ""
34994
34995 #. type: verbatim
34996 #: ../src/guestfs-actions.pod:7348
34997 #, no-wrap
34998 msgid ""
34999 " char *\n"
35000 " guestfs_sh (guestfs_h *g,\n"
35001 "             const char *command);\n"
35002 "\n"
35003 msgstr ""
35004
35005 #. type: textblock
35006 #: ../src/guestfs-actions.pod:7355
35007 msgid "This is like C<guestfs_command>, but passes the command to:"
35008 msgstr ""
35009
35010 #. type: textblock
35011 #: ../src/guestfs-actions.pod:7363
35012 msgid "All the provisos about C<guestfs_command> apply to this call."
35013 msgstr ""
35014
35015 #. type: =head2
35016 #: ../src/guestfs-actions.pod:7370
35017 msgid "guestfs_sh_lines"
35018 msgstr ""
35019
35020 #. type: verbatim
35021 #: ../src/guestfs-actions.pod:7372
35022 #, no-wrap
35023 msgid ""
35024 " char **\n"
35025 " guestfs_sh_lines (guestfs_h *g,\n"
35026 "                   const char *command);\n"
35027 "\n"
35028 msgstr ""
35029
35030 #. type: textblock
35031 #: ../src/guestfs-actions.pod:7376
35032 msgid ""
35033 "This is the same as C<guestfs_sh>, but splits the result into a list of "
35034 "lines."
35035 msgstr ""
35036
35037 #. type: textblock
35038 #: ../src/guestfs-actions.pod:7379
35039 msgid "See also: C<guestfs_command_lines>"
35040 msgstr ""
35041
35042 #. type: =head2
35043 #: ../src/guestfs-actions.pod:7387
35044 msgid "guestfs_sleep"
35045 msgstr ""
35046
35047 #. type: verbatim
35048 #: ../src/guestfs-actions.pod:7389
35049 #, no-wrap
35050 msgid ""
35051 " int\n"
35052 " guestfs_sleep (guestfs_h *g,\n"
35053 "                int secs);\n"
35054 "\n"
35055 msgstr ""
35056
35057 #. type: textblock
35058 #: ../src/guestfs-actions.pod:7397
35059 msgid "(Added in 1.0.41)"
35060 msgstr "(Додано у 1.0.41)"
35061
35062 #. type: =head2
35063 #: ../src/guestfs-actions.pod:7399 ../src/guestfs-structs.pod:109
35064 msgid "guestfs_stat"
35065 msgstr ""
35066
35067 #. type: verbatim
35068 #: ../src/guestfs-actions.pod:7401
35069 #, no-wrap
35070 msgid ""
35071 " struct guestfs_stat *\n"
35072 " guestfs_stat (guestfs_h *g,\n"
35073 "               const char *path);\n"
35074 "\n"
35075 msgstr ""
35076
35077 #. type: =head2
35078 #: ../src/guestfs-actions.pod:7415 ../src/guestfs-structs.pod:135
35079 msgid "guestfs_statvfs"
35080 msgstr ""
35081
35082 #. type: verbatim
35083 #: ../src/guestfs-actions.pod:7417
35084 #, no-wrap
35085 msgid ""
35086 " struct guestfs_statvfs *\n"
35087 " guestfs_statvfs (guestfs_h *g,\n"
35088 "                  const char *path);\n"
35089 "\n"
35090 msgstr ""
35091
35092 #. type: textblock
35093 #: ../src/guestfs-actions.pod:7427
35094 msgid ""
35095 "This function returns a C<struct guestfs_statvfs *>, or NULL if there was an "
35096 "error.  I<The caller must call C<guestfs_free_statvfs> after use>."
35097 msgstr ""
35098
35099 #. type: =head2
35100 #: ../src/guestfs-actions.pod:7433
35101 msgid "guestfs_strings"
35102 msgstr ""
35103
35104 #. type: verbatim
35105 #: ../src/guestfs-actions.pod:7435
35106 #, no-wrap
35107 msgid ""
35108 " char **\n"
35109 " guestfs_strings (guestfs_h *g,\n"
35110 "                  const char *path);\n"
35111 "\n"
35112 msgstr ""
35113
35114 #. type: =head2
35115 #: ../src/guestfs-actions.pod:7451
35116 msgid "guestfs_strings_e"
35117 msgstr ""
35118
35119 #. type: verbatim
35120 #: ../src/guestfs-actions.pod:7453
35121 #, no-wrap
35122 msgid ""
35123 " char **\n"
35124 " guestfs_strings_e (guestfs_h *g,\n"
35125 "                    const char *encoding,\n"
35126 "                    const char *path);\n"
35127 "\n"
35128 msgstr ""
35129
35130 #. type: textblock
35131 #: ../src/guestfs-actions.pod:7458
35132 msgid ""
35133 "This is like the C<guestfs_strings> command, but allows you to specify the "
35134 "encoding of strings that are looked for in the source file C<path>."
35135 msgstr ""
35136
35137 #. type: textblock
35138 #: ../src/guestfs-actions.pod:7468
35139 msgid ""
35140 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
35141 "ISO-8859-X (this is what C<guestfs_strings> uses)."
35142 msgstr ""
35143
35144 #. type: =head2
35145 #: ../src/guestfs-actions.pod:7506
35146 msgid "guestfs_swapoff_device"
35147 msgstr ""
35148
35149 #. type: verbatim
35150 #: ../src/guestfs-actions.pod:7508
35151 #, no-wrap
35152 msgid ""
35153 " int\n"
35154 " guestfs_swapoff_device (guestfs_h *g,\n"
35155 "                         const char *device);\n"
35156 "\n"
35157 msgstr ""
35158
35159 #. type: textblock
35160 #: ../src/guestfs-actions.pod:7512
35161 msgid ""
35162 "This command disables the libguestfs appliance swap device or partition "
35163 "named C<device>.  See C<guestfs_swapon_device>."
35164 msgstr ""
35165
35166 #. type: =head2
35167 #: ../src/guestfs-actions.pod:7520
35168 msgid "guestfs_swapoff_file"
35169 msgstr ""
35170
35171 #. type: verbatim
35172 #: ../src/guestfs-actions.pod:7522
35173 #, no-wrap
35174 msgid ""
35175 " int\n"
35176 " guestfs_swapoff_file (guestfs_h *g,\n"
35177 "                       const char *file);\n"
35178 "\n"
35179 msgstr ""
35180
35181 #. type: =head2
35182 #: ../src/guestfs-actions.pod:7532
35183 msgid "guestfs_swapoff_label"
35184 msgstr ""
35185
35186 #. type: verbatim
35187 #: ../src/guestfs-actions.pod:7534
35188 #, no-wrap
35189 msgid ""
35190 " int\n"
35191 " guestfs_swapoff_label (guestfs_h *g,\n"
35192 "                        const char *label);\n"
35193 "\n"
35194 msgstr ""
35195
35196 #. type: =head2
35197 #: ../src/guestfs-actions.pod:7545
35198 msgid "guestfs_swapoff_uuid"
35199 msgstr ""
35200
35201 #. type: verbatim
35202 #: ../src/guestfs-actions.pod:7547
35203 #, no-wrap
35204 msgid ""
35205 " int\n"
35206 " guestfs_swapoff_uuid (guestfs_h *g,\n"
35207 "                       const char *uuid);\n"
35208 "\n"
35209 msgstr ""
35210
35211 #. type: =head2
35212 #: ../src/guestfs-actions.pod:7558
35213 msgid "guestfs_swapon_device"
35214 msgstr ""
35215
35216 #. type: verbatim
35217 #: ../src/guestfs-actions.pod:7560
35218 #, no-wrap
35219 msgid ""
35220 " int\n"
35221 " guestfs_swapon_device (guestfs_h *g,\n"
35222 "                        const char *device);\n"
35223 "\n"
35224 msgstr ""
35225
35226 #. type: textblock
35227 #: ../src/guestfs-actions.pod:7564
35228 msgid ""
35229 "This command enables the libguestfs appliance to use the swap device or "
35230 "partition named C<device>.  The increased memory is made available for all "
35231 "commands, for example those run using C<guestfs_command> or C<guestfs_sh>."
35232 msgstr ""
35233
35234 #. type: =head2
35235 #: ../src/guestfs-actions.pod:7580
35236 msgid "guestfs_swapon_file"
35237 msgstr ""
35238
35239 #. type: verbatim
35240 #: ../src/guestfs-actions.pod:7582
35241 #, no-wrap
35242 msgid ""
35243 " int\n"
35244 " guestfs_swapon_file (guestfs_h *g,\n"
35245 "                      const char *file);\n"
35246 "\n"
35247 msgstr ""
35248
35249 #. type: textblock
35250 #: ../src/guestfs-actions.pod:7586
35251 msgid ""
35252 "This command enables swap to a file.  See C<guestfs_swapon_device> for other "
35253 "notes."
35254 msgstr ""
35255
35256 #. type: =head2
35257 #: ../src/guestfs-actions.pod:7593
35258 msgid "guestfs_swapon_label"
35259 msgstr ""
35260
35261 #. type: verbatim
35262 #: ../src/guestfs-actions.pod:7595
35263 #, no-wrap
35264 msgid ""
35265 " int\n"
35266 " guestfs_swapon_label (guestfs_h *g,\n"
35267 "                       const char *label);\n"
35268 "\n"
35269 msgstr ""
35270
35271 #. type: textblock
35272 #: ../src/guestfs-actions.pod:7599
35273 msgid ""
35274 "This command enables swap to a labeled swap partition.  See "
35275 "C<guestfs_swapon_device> for other notes."
35276 msgstr ""
35277
35278 #. type: =head2
35279 #: ../src/guestfs-actions.pod:7606
35280 msgid "guestfs_swapon_uuid"
35281 msgstr ""
35282
35283 #. type: verbatim
35284 #: ../src/guestfs-actions.pod:7608
35285 #, no-wrap
35286 msgid ""
35287 " int\n"
35288 " guestfs_swapon_uuid (guestfs_h *g,\n"
35289 "                      const char *uuid);\n"
35290 "\n"
35291 msgstr ""
35292
35293 #. type: textblock
35294 #: ../src/guestfs-actions.pod:7612
35295 msgid ""
35296 "This command enables swap to a swap partition with the given UUID.  See "
35297 "C<guestfs_swapon_device> for other notes."
35298 msgstr ""
35299
35300 #. type: =head2
35301 #: ../src/guestfs-actions.pod:7619
35302 msgid "guestfs_sync"
35303 msgstr ""
35304
35305 #. type: verbatim
35306 #: ../src/guestfs-actions.pod:7621
35307 #, no-wrap
35308 msgid ""
35309 " int\n"
35310 " guestfs_sync (guestfs_h *g);\n"
35311 "\n"
35312 msgstr ""
35313
35314 #. type: =head2
35315 #: ../src/guestfs-actions.pod:7634
35316 msgid "guestfs_tail"
35317 msgstr ""
35318
35319 #. type: verbatim
35320 #: ../src/guestfs-actions.pod:7636
35321 #, no-wrap
35322 msgid ""
35323 " char **\n"
35324 " guestfs_tail (guestfs_h *g,\n"
35325 "               const char *path);\n"
35326 "\n"
35327 msgstr ""
35328
35329 #. type: =head2
35330 #: ../src/guestfs-actions.pod:7652
35331 msgid "guestfs_tail_n"
35332 msgstr ""
35333
35334 #. type: verbatim
35335 #: ../src/guestfs-actions.pod:7654
35336 #, no-wrap
35337 msgid ""
35338 " char **\n"
35339 " guestfs_tail_n (guestfs_h *g,\n"
35340 "                 int nrlines,\n"
35341 "                 const char *path);\n"
35342 "\n"
35343 msgstr ""
35344
35345 #. type: =head2
35346 #: ../src/guestfs-actions.pod:7676
35347 msgid "guestfs_tar_in"
35348 msgstr ""
35349
35350 #. type: verbatim
35351 #: ../src/guestfs-actions.pod:7678
35352 #, no-wrap
35353 msgid ""
35354 " int\n"
35355 " guestfs_tar_in (guestfs_h *g,\n"
35356 "                 const char *tarfile,\n"
35357 "                 const char *directory);\n"
35358 "\n"
35359 msgstr ""
35360
35361 #. type: textblock
35362 #: ../src/guestfs-actions.pod:7686
35363 msgid ""
35364 "To upload a compressed tarball, use C<guestfs_tgz_in> or C<guestfs_txz_in>."
35365 msgstr ""
35366
35367 #. type: textblock
35368 #: ../src/guestfs-actions.pod:7691 ../src/guestfs-actions.pod:7708
35369 #: ../src/guestfs-actions.pod:7724 ../src/guestfs-actions.pod:7740
35370 msgid "(Added in 1.0.3)"
35371 msgstr "(Додано у 1.0.3)"
35372
35373 #. type: =head2
35374 #: ../src/guestfs-actions.pod:7693
35375 msgid "guestfs_tar_out"
35376 msgstr ""
35377
35378 #. type: verbatim
35379 #: ../src/guestfs-actions.pod:7695
35380 #, no-wrap
35381 msgid ""
35382 " int\n"
35383 " guestfs_tar_out (guestfs_h *g,\n"
35384 "                  const char *directory,\n"
35385 "                  const char *tarfile);\n"
35386 "\n"
35387 msgstr ""
35388
35389 #. type: textblock
35390 #: ../src/guestfs-actions.pod:7703
35391 msgid ""
35392 "To download a compressed tarball, use C<guestfs_tgz_out> or "
35393 "C<guestfs_txz_out>."
35394 msgstr ""
35395
35396 #. type: =head2
35397 #: ../src/guestfs-actions.pod:7710
35398 msgid "guestfs_tgz_in"
35399 msgstr ""
35400
35401 #. type: verbatim
35402 #: ../src/guestfs-actions.pod:7712
35403 #, no-wrap
35404 msgid ""
35405 " int\n"
35406 " guestfs_tgz_in (guestfs_h *g,\n"
35407 "                 const char *tarball,\n"
35408 "                 const char *directory);\n"
35409 "\n"
35410 msgstr ""
35411
35412 #. type: textblock
35413 #: ../src/guestfs-actions.pod:7720
35414 msgid "To upload an uncompressed tarball, use C<guestfs_tar_in>."
35415 msgstr ""
35416
35417 #. type: =head2
35418 #: ../src/guestfs-actions.pod:7726
35419 msgid "guestfs_tgz_out"
35420 msgstr ""
35421
35422 #. type: verbatim
35423 #: ../src/guestfs-actions.pod:7728
35424 #, no-wrap
35425 msgid ""
35426 " int\n"
35427 " guestfs_tgz_out (guestfs_h *g,\n"
35428 "                  const char *directory,\n"
35429 "                  const char *tarball);\n"
35430 "\n"
35431 msgstr ""
35432
35433 #. type: textblock
35434 #: ../src/guestfs-actions.pod:7736
35435 msgid "To download an uncompressed tarball, use C<guestfs_tar_out>."
35436 msgstr ""
35437
35438 #. type: =head2
35439 #: ../src/guestfs-actions.pod:7742
35440 msgid "guestfs_touch"
35441 msgstr ""
35442
35443 #. type: verbatim
35444 #: ../src/guestfs-actions.pod:7744
35445 #, no-wrap
35446 msgid ""
35447 " int\n"
35448 " guestfs_touch (guestfs_h *g,\n"
35449 "                const char *path);\n"
35450 "\n"
35451 msgstr ""
35452
35453 #. type: =head2
35454 #: ../src/guestfs-actions.pod:7759
35455 msgid "guestfs_truncate"
35456 msgstr ""
35457
35458 #. type: verbatim
35459 #: ../src/guestfs-actions.pod:7761
35460 #, no-wrap
35461 msgid ""
35462 " int\n"
35463 " guestfs_truncate (guestfs_h *g,\n"
35464 "                   const char *path);\n"
35465 "\n"
35466 msgstr ""
35467
35468 #. type: =head2
35469 #: ../src/guestfs-actions.pod:7772
35470 msgid "guestfs_truncate_size"
35471 msgstr ""
35472
35473 #. type: verbatim
35474 #: ../src/guestfs-actions.pod:7774
35475 #, no-wrap
35476 msgid ""
35477 " int\n"
35478 " guestfs_truncate_size (guestfs_h *g,\n"
35479 "                        const char *path,\n"
35480 "                        int64_t size);\n"
35481 "\n"
35482 msgstr ""
35483
35484 #. type: textblock
35485 #: ../src/guestfs-actions.pod:7782
35486 msgid ""
35487 "If the current file size is less than C<size> then the file is extended to "
35488 "the required size with zero bytes.  This creates a sparse file (ie. disk "
35489 "blocks are not allocated for the file until you write to it).  To create a "
35490 "non-sparse file of zeroes, use C<guestfs_fallocate64> instead."
35491 msgstr ""
35492
35493 #. type: =head2
35494 #: ../src/guestfs-actions.pod:7792
35495 #, fuzzy
35496 #| msgid "guestfs_mke2fs_J"
35497 msgid "guestfs_tune2fs"
35498 msgstr "guestfs_mke2fs_J"
35499
35500 #. type: verbatim
35501 #: ../src/guestfs-actions.pod:7794
35502 #, fuzzy, no-wrap
35503 #| msgid ""
35504 #| " int\n"
35505 #| " guestfs_lvresize (guestfs_h *g,\n"
35506 #| "                   const char *device,\n"
35507 #| "                   int mbytes);\n"
35508 #| "\n"
35509 msgid ""
35510 " int\n"
35511 " guestfs_tune2fs (guestfs_h *g,\n"
35512 "                  const char *device,\n"
35513 "                  ...);\n"
35514 "\n"
35515 msgstr ""
35516 " int\n"
35517 " guestfs_lvresize (guestfs_h *g,\n"
35518 "                   const char *device,\n"
35519 "                   int mbytes);\n"
35520 "\n"
35521
35522 #. type: verbatim
35523 #: ../src/guestfs-actions.pod:7804
35524 #, no-wrap
35525 msgid ""
35526 " GUESTFS_TUNE2FS_FORCE, int force,\n"
35527 " GUESTFS_TUNE2FS_MAXMOUNTCOUNT, int maxmountcount,\n"
35528 " GUESTFS_TUNE2FS_MOUNTCOUNT, int mountcount,\n"
35529 " GUESTFS_TUNE2FS_ERRORBEHAVIOR, const char *errorbehavior,\n"
35530 " GUESTFS_TUNE2FS_GROUP, int64_t group,\n"
35531 " GUESTFS_TUNE2FS_INTERVALBETWEENCHECKS, int intervalbetweenchecks,\n"
35532 " GUESTFS_TUNE2FS_RESERVEDBLOCKSPERCENTAGE, int reservedblockspercentage,\n"
35533 " GUESTFS_TUNE2FS_LASTMOUNTEDDIRECTORY, const char *lastmounteddirectory,\n"
35534 " GUESTFS_TUNE2FS_RESERVEDBLOCKSCOUNT, int64_t reservedblockscount,\n"
35535 " GUESTFS_TUNE2FS_USER, int64_t user,\n"
35536 "\n"
35537 msgstr ""
35538
35539 #. type: textblock
35540 #: ../src/guestfs-actions.pod:7884
35541 msgid ""
35542 "To get the current values of filesystem parameters, see "
35543 "C<guestfs_tune2fs_l>.  For precise details of how tune2fs works, see the "
35544 "L<tune2fs(8)> man page."
35545 msgstr ""
35546
35547 #. type: =head2
35548 #: ../src/guestfs-actions.pod:7892
35549 #, fuzzy
35550 #| msgid "guestfs_mke2fs_J"
35551 msgid "guestfs_tune2fs_va"
35552 msgstr "guestfs_mke2fs_J"
35553
35554 #. type: verbatim
35555 #: ../src/guestfs-actions.pod:7894
35556 #, fuzzy, no-wrap
35557 #| msgid ""
35558 #| " int\n"
35559 #| " guestfs_lvresize (guestfs_h *g,\n"
35560 #| "                   const char *device,\n"
35561 #| "                   int mbytes);\n"
35562 #| "\n"
35563 msgid ""
35564 " int\n"
35565 " guestfs_tune2fs_va (guestfs_h *g,\n"
35566 "                     const char *device,\n"
35567 "                     va_list args);\n"
35568 "\n"
35569 msgstr ""
35570 " int\n"
35571 " guestfs_lvresize (guestfs_h *g,\n"
35572 "                   const char *device,\n"
35573 "                   int mbytes);\n"
35574 "\n"
35575
35576 #. type: textblock
35577 #: ../src/guestfs-actions.pod:7899
35578 msgid "This is the \"va_list variant\" of L</guestfs_tune2fs>."
35579 msgstr ""
35580
35581 #. type: =head2
35582 #: ../src/guestfs-actions.pod:7903
35583 #, fuzzy
35584 #| msgid "guestfs_mke2fs_J"
35585 msgid "guestfs_tune2fs_argv"
35586 msgstr "guestfs_mke2fs_J"
35587
35588 #. type: verbatim
35589 #: ../src/guestfs-actions.pod:7905
35590 #, fuzzy, no-wrap
35591 #| msgid ""
35592 #| " int\n"
35593 #| " guestfs_mkfs_opts_argv (guestfs_h *g,\n"
35594 #| "                         const char *fstype,\n"
35595 #| "                         const char *device,\n"
35596 #| "                         const struct guestfs_mkfs_opts_argv *optargs);\n"
35597 #| "\n"
35598 msgid ""
35599 " int\n"
35600 " guestfs_tune2fs_argv (guestfs_h *g,\n"
35601 "                       const char *device,\n"
35602 "                       const struct guestfs_tune2fs_argv *optargs);\n"
35603 "\n"
35604 msgstr ""
35605 " int\n"
35606 " guestfs_mkfs_opts_argv (guestfs_h *g,\n"
35607 "                         const char *fstype,\n"
35608 "                         const char *device,\n"
35609 "                         const struct guestfs_mkfs_opts_argv *optargs);\n"
35610 "\n"
35611
35612 #. type: textblock
35613 #: ../src/guestfs-actions.pod:7910
35614 msgid "This is the \"argv variant\" of L</guestfs_tune2fs>."
35615 msgstr ""
35616
35617 #. type: =head2
35618 #: ../src/guestfs-actions.pod:7914
35619 msgid "guestfs_tune2fs_l"
35620 msgstr ""
35621
35622 #. type: verbatim
35623 #: ../src/guestfs-actions.pod:7916
35624 #, no-wrap
35625 msgid ""
35626 " char **\n"
35627 " guestfs_tune2fs_l (guestfs_h *g,\n"
35628 "                    const char *device);\n"
35629 "\n"
35630 msgstr ""
35631
35632 #. type: =head2
35633 #: ../src/guestfs-actions.pod:7936
35634 msgid "guestfs_txz_in"
35635 msgstr ""
35636
35637 #. type: verbatim
35638 #: ../src/guestfs-actions.pod:7938
35639 #, no-wrap
35640 msgid ""
35641 " int\n"
35642 " guestfs_txz_in (guestfs_h *g,\n"
35643 "                 const char *tarball,\n"
35644 "                 const char *directory);\n"
35645 "\n"
35646 msgstr ""
35647
35648 #. type: =head2
35649 #: ../src/guestfs-actions.pod:7950
35650 msgid "guestfs_txz_out"
35651 msgstr ""
35652
35653 #. type: verbatim
35654 #: ../src/guestfs-actions.pod:7952
35655 #, no-wrap
35656 msgid ""
35657 " int\n"
35658 " guestfs_txz_out (guestfs_h *g,\n"
35659 "                  const char *directory,\n"
35660 "                  const char *tarball);\n"
35661 "\n"
35662 msgstr ""
35663
35664 #. type: =head2
35665 #: ../src/guestfs-actions.pod:7964
35666 msgid "guestfs_umask"
35667 msgstr ""
35668
35669 #. type: verbatim
35670 #: ../src/guestfs-actions.pod:7966
35671 #, no-wrap
35672 msgid ""
35673 " int\n"
35674 " guestfs_umask (guestfs_h *g,\n"
35675 "                int mask);\n"
35676 "\n"
35677 msgstr ""
35678
35679 #. type: textblock
35680 #: ../src/guestfs-actions.pod:7982
35681 msgid ""
35682 "See also C<guestfs_get_umask>, L<umask(2)>, C<guestfs_mknod>, "
35683 "C<guestfs_mkdir>."
35684 msgstr ""
35685
35686 #. type: =head2
35687 #: ../src/guestfs-actions.pod:7991
35688 msgid "guestfs_umount"
35689 msgstr ""
35690
35691 #. type: verbatim
35692 #: ../src/guestfs-actions.pod:7993
35693 #, no-wrap
35694 msgid ""
35695 " int\n"
35696 " guestfs_umount (guestfs_h *g,\n"
35697 "                 const char *pathordevice);\n"
35698 "\n"
35699 msgstr ""
35700
35701 #. type: =head2
35702 #: ../src/guestfs-actions.pod:8005
35703 msgid "guestfs_umount_all"
35704 msgstr ""
35705
35706 #. type: verbatim
35707 #: ../src/guestfs-actions.pod:8007
35708 #, no-wrap
35709 msgid ""
35710 " int\n"
35711 " guestfs_umount_all (guestfs_h *g);\n"
35712 "\n"
35713 msgstr ""
35714
35715 #. type: =head2
35716 #: ../src/guestfs-actions.pod:8018
35717 msgid "guestfs_upload"
35718 msgstr ""
35719
35720 #. type: verbatim
35721 #: ../src/guestfs-actions.pod:8020
35722 #, no-wrap
35723 msgid ""
35724 " int\n"
35725 " guestfs_upload (guestfs_h *g,\n"
35726 "                 const char *filename,\n"
35727 "                 const char *remotefilename);\n"
35728 "\n"
35729 msgstr ""
35730
35731 #. type: textblock
35732 #: ../src/guestfs-actions.pod:8030
35733 msgid "See also C<guestfs_download>."
35734 msgstr ""
35735
35736 #. type: =head2
35737 #: ../src/guestfs-actions.pod:8041
35738 msgid "guestfs_upload_offset"
35739 msgstr ""
35740
35741 #. type: verbatim
35742 #: ../src/guestfs-actions.pod:8043
35743 #, no-wrap
35744 msgid ""
35745 " int\n"
35746 " guestfs_upload_offset (guestfs_h *g,\n"
35747 "                        const char *filename,\n"
35748 "                        const char *remotefilename,\n"
35749 "                        int64_t offset);\n"
35750 "\n"
35751 msgstr ""
35752
35753 #. type: textblock
35754 #: ../src/guestfs-actions.pod:8059
35755 msgid ""
35756 "Note that there is no limit on the amount of data that can be uploaded with "
35757 "this call, unlike with C<guestfs_pwrite>, and this call always writes the "
35758 "full amount unless an error occurs."
35759 msgstr ""
35760
35761 #. type: textblock
35762 #: ../src/guestfs-actions.pod:8064
35763 msgid "See also C<guestfs_upload>, C<guestfs_pwrite>."
35764 msgstr ""
35765
35766 #. type: =head2
35767 #: ../src/guestfs-actions.pod:8075
35768 msgid "guestfs_utimens"
35769 msgstr ""
35770
35771 #. type: verbatim
35772 #: ../src/guestfs-actions.pod:8077
35773 #, no-wrap
35774 msgid ""
35775 " int\n"
35776 " guestfs_utimens (guestfs_h *g,\n"
35777 "                  const char *path,\n"
35778 "                  int64_t atsecs,\n"
35779 "                  int64_t atnsecs,\n"
35780 "                  int64_t mtsecs,\n"
35781 "                  int64_t mtnsecs);\n"
35782 "\n"
35783 msgstr ""
35784
35785 #. type: =head2
35786 #: ../src/guestfs-actions.pod:8106 ../src/guestfs-structs.pod:175
35787 msgid "guestfs_version"
35788 msgstr ""
35789
35790 #. type: verbatim
35791 #: ../src/guestfs-actions.pod:8108
35792 #, no-wrap
35793 msgid ""
35794 " struct guestfs_version *\n"
35795 " guestfs_version (guestfs_h *g);\n"
35796 "\n"
35797 msgstr ""
35798
35799 #. type: textblock
35800 #: ../src/guestfs-actions.pod:8136
35801 msgid ""
35802 "I<Note:> Don't use this call to test for availability of features.  In "
35803 "enterprise distributions we backport features from later versions into "
35804 "earlier versions, making this an unreliable way to test for features.  Use "
35805 "C<guestfs_available> instead."
35806 msgstr ""
35807
35808 #. type: textblock
35809 #: ../src/guestfs-actions.pod:8142
35810 msgid ""
35811 "This function returns a C<struct guestfs_version *>, or NULL if there was an "
35812 "error.  I<The caller must call C<guestfs_free_version> after use>."
35813 msgstr ""
35814
35815 #. type: textblock
35816 #: ../src/guestfs-actions.pod:8146
35817 msgid "(Added in 1.0.58)"
35818 msgstr "(Додано у 1.0.58)"
35819
35820 #. type: =head2
35821 #: ../src/guestfs-actions.pod:8148
35822 msgid "guestfs_vfs_label"
35823 msgstr ""
35824
35825 #. type: verbatim
35826 #: ../src/guestfs-actions.pod:8150
35827 #, no-wrap
35828 msgid ""
35829 " char *\n"
35830 " guestfs_vfs_label (guestfs_h *g,\n"
35831 "                    const char *device);\n"
35832 "\n"
35833 msgstr ""
35834
35835 #. type: textblock
35836 #: ../src/guestfs-actions.pod:8159
35837 msgid "To find a filesystem from the label, use C<guestfs_findfs_label>."
35838 msgstr ""
35839
35840 #. type: textblock
35841 #: ../src/guestfs-actions.pod:8164 ../src/guestfs-actions.pod:8201
35842 msgid "(Added in 1.3.18)"
35843 msgstr "(Додано у 1.3.18)"
35844
35845 #. type: =head2
35846 #: ../src/guestfs-actions.pod:8166
35847 msgid "guestfs_vfs_type"
35848 msgstr ""
35849
35850 #. type: verbatim
35851 #: ../src/guestfs-actions.pod:8168
35852 #, no-wrap
35853 msgid ""
35854 " char *\n"
35855 " guestfs_vfs_type (guestfs_h *g,\n"
35856 "                   const char *device);\n"
35857 "\n"
35858 msgstr ""
35859
35860 #. type: =head2
35861 #: ../src/guestfs-actions.pod:8185
35862 msgid "guestfs_vfs_uuid"
35863 msgstr ""
35864
35865 #. type: verbatim
35866 #: ../src/guestfs-actions.pod:8187
35867 #, no-wrap
35868 msgid ""
35869 " char *\n"
35870 " guestfs_vfs_uuid (guestfs_h *g,\n"
35871 "                   const char *device);\n"
35872 "\n"
35873 msgstr ""
35874
35875 #. type: textblock
35876 #: ../src/guestfs-actions.pod:8196
35877 msgid "To find a filesystem from the UUID, use C<guestfs_findfs_uuid>."
35878 msgstr ""
35879
35880 #. type: =head2
35881 #: ../src/guestfs-actions.pod:8203
35882 msgid "guestfs_vg_activate"
35883 msgstr ""
35884
35885 #. type: verbatim
35886 #: ../src/guestfs-actions.pod:8205
35887 #, no-wrap
35888 msgid ""
35889 " int\n"
35890 " guestfs_vg_activate (guestfs_h *g,\n"
35891 "                      int activate,\n"
35892 "                      char *const *volgroups);\n"
35893 "\n"
35894 msgstr ""
35895
35896 #. type: =head2
35897 #: ../src/guestfs-actions.pod:8222
35898 msgid "guestfs_vg_activate_all"
35899 msgstr ""
35900
35901 #. type: verbatim
35902 #: ../src/guestfs-actions.pod:8224
35903 #, no-wrap
35904 msgid ""
35905 " int\n"
35906 " guestfs_vg_activate_all (guestfs_h *g,\n"
35907 "                          int activate);\n"
35908 "\n"
35909 msgstr ""
35910
35911 #. type: =head2
35912 #: ../src/guestfs-actions.pod:8237
35913 msgid "guestfs_vgcreate"
35914 msgstr ""
35915
35916 #. type: verbatim
35917 #: ../src/guestfs-actions.pod:8239
35918 #, no-wrap
35919 msgid ""
35920 " int\n"
35921 " guestfs_vgcreate (guestfs_h *g,\n"
35922 "                   const char *volgroup,\n"
35923 "                   char *const *physvols);\n"
35924 "\n"
35925 msgstr ""
35926
35927 #. type: =head2
35928 #: ../src/guestfs-actions.pod:8251
35929 msgid "guestfs_vglvuuids"
35930 msgstr ""
35931
35932 #. type: verbatim
35933 #: ../src/guestfs-actions.pod:8253
35934 #, no-wrap
35935 msgid ""
35936 " char **\n"
35937 " guestfs_vglvuuids (guestfs_h *g,\n"
35938 "                    const char *vgname);\n"
35939 "\n"
35940 msgstr ""
35941
35942 #. type: textblock
35943 #: ../src/guestfs-actions.pod:8260
35944 msgid ""
35945 "You can use this along with C<guestfs_lvs> and C<guestfs_lvuuid> calls to "
35946 "associate logical volumes and volume groups."
35947 msgstr ""
35948
35949 #. type: textblock
35950 #: ../src/guestfs-actions.pod:8263
35951 msgid "See also C<guestfs_vgpvuuids>."
35952 msgstr ""
35953
35954 #. type: =head2
35955 #: ../src/guestfs-actions.pod:8271
35956 msgid "guestfs_vgpvuuids"
35957 msgstr ""
35958
35959 #. type: verbatim
35960 #: ../src/guestfs-actions.pod:8273
35961 #, no-wrap
35962 msgid ""
35963 " char **\n"
35964 " guestfs_vgpvuuids (guestfs_h *g,\n"
35965 "                    const char *vgname);\n"
35966 "\n"
35967 msgstr ""
35968
35969 #. type: textblock
35970 #: ../src/guestfs-actions.pod:8280
35971 msgid ""
35972 "You can use this along with C<guestfs_pvs> and C<guestfs_pvuuid> calls to "
35973 "associate physical volumes and volume groups."
35974 msgstr ""
35975
35976 #. type: textblock
35977 #: ../src/guestfs-actions.pod:8283
35978 msgid "See also C<guestfs_vglvuuids>."
35979 msgstr ""
35980
35981 #. type: =head2
35982 #: ../src/guestfs-actions.pod:8291
35983 msgid "guestfs_vgremove"
35984 msgstr ""
35985
35986 #. type: verbatim
35987 #: ../src/guestfs-actions.pod:8293
35988 #, no-wrap
35989 msgid ""
35990 " int\n"
35991 " guestfs_vgremove (guestfs_h *g,\n"
35992 "                   const char *vgname);\n"
35993 "\n"
35994 msgstr ""
35995
35996 #. type: =head2
35997 #: ../src/guestfs-actions.pod:8306
35998 msgid "guestfs_vgrename"
35999 msgstr ""
36000
36001 #. type: verbatim
36002 #: ../src/guestfs-actions.pod:8308
36003 #, no-wrap
36004 msgid ""
36005 " int\n"
36006 " guestfs_vgrename (guestfs_h *g,\n"
36007 "                   const char *volgroup,\n"
36008 "                   const char *newvolgroup);\n"
36009 "\n"
36010 msgstr ""
36011
36012 #. type: =head2
36013 #: ../src/guestfs-actions.pod:8319
36014 msgid "guestfs_vgs"
36015 msgstr ""
36016
36017 #. type: verbatim
36018 #: ../src/guestfs-actions.pod:8321
36019 #, no-wrap
36020 msgid ""
36021 " char **\n"
36022 " guestfs_vgs (guestfs_h *g);\n"
36023 "\n"
36024 msgstr ""
36025
36026 #. type: textblock
36027 #: ../src/guestfs-actions.pod:8330
36028 msgid "See also C<guestfs_vgs_full>."
36029 msgstr ""
36030
36031 #. type: =head2
36032 #: ../src/guestfs-actions.pod:8338
36033 msgid "guestfs_vgs_full"
36034 msgstr ""
36035
36036 #. type: verbatim
36037 #: ../src/guestfs-actions.pod:8340
36038 #, no-wrap
36039 msgid ""
36040 " struct guestfs_lvm_vg_list *\n"
36041 " guestfs_vgs_full (guestfs_h *g);\n"
36042 "\n"
36043 msgstr ""
36044
36045 #. type: textblock
36046 #: ../src/guestfs-actions.pod:8346
36047 msgid ""
36048 "This function returns a C<struct guestfs_lvm_vg_list *>, or NULL if there "
36049 "was an error.  I<The caller must call C<guestfs_free_lvm_vg_list> after use>."
36050 msgstr ""
36051
36052 #. type: =head2
36053 #: ../src/guestfs-actions.pod:8352
36054 msgid "guestfs_vgscan"
36055 msgstr ""
36056
36057 #. type: verbatim
36058 #: ../src/guestfs-actions.pod:8354
36059 #, no-wrap
36060 msgid ""
36061 " int\n"
36062 " guestfs_vgscan (guestfs_h *g);\n"
36063 "\n"
36064 msgstr ""
36065
36066 #. type: =head2
36067 #: ../src/guestfs-actions.pod:8364
36068 msgid "guestfs_vguuid"
36069 msgstr ""
36070
36071 #. type: verbatim
36072 #: ../src/guestfs-actions.pod:8366
36073 #, no-wrap
36074 msgid ""
36075 " char *\n"
36076 " guestfs_vguuid (guestfs_h *g,\n"
36077 "                 const char *vgname);\n"
36078 "\n"
36079 msgstr ""
36080
36081 #. type: =head2
36082 #: ../src/guestfs-actions.pod:8377
36083 msgid "guestfs_wait_ready"
36084 msgstr ""
36085
36086 #. type: verbatim
36087 #: ../src/guestfs-actions.pod:8379
36088 #, no-wrap
36089 msgid ""
36090 " int\n"
36091 " guestfs_wait_ready (guestfs_h *g);\n"
36092 "\n"
36093 msgstr ""
36094
36095 #. type: textblock
36096 #: ../src/guestfs-actions.pod:8382
36097 msgid ""
36098 "I<This function is deprecated.> In new code, use the L</guestfs_launch> call "
36099 "instead."
36100 msgstr ""
36101
36102 #. type: textblock
36103 #: ../src/guestfs-actions.pod:8389
36104 msgid "This function is a no op."
36105 msgstr ""
36106
36107 #. type: textblock
36108 #: ../src/guestfs-actions.pod:8391
36109 msgid ""
36110 "In versions of the API E<lt> 1.0.71 you had to call this function just after "
36111 "calling C<guestfs_launch> to wait for the launch to complete.  However this "
36112 "is no longer necessary because C<guestfs_launch> now does the waiting."
36113 msgstr ""
36114
36115 #. type: textblock
36116 #: ../src/guestfs-actions.pod:8396
36117 msgid ""
36118 "If you see any calls to this function in code then you can just remove them, "
36119 "unless you want to retain compatibility with older versions of the API."
36120 msgstr ""
36121
36122 #. type: =head2
36123 #: ../src/guestfs-actions.pod:8404
36124 msgid "guestfs_wc_c"
36125 msgstr ""
36126
36127 #. type: verbatim
36128 #: ../src/guestfs-actions.pod:8406
36129 #, no-wrap
36130 msgid ""
36131 " int\n"
36132 " guestfs_wc_c (guestfs_h *g,\n"
36133 "               const char *path);\n"
36134 "\n"
36135 msgstr ""
36136
36137 #. type: =head2
36138 #: ../src/guestfs-actions.pod:8417
36139 msgid "guestfs_wc_l"
36140 msgstr ""
36141
36142 #. type: verbatim
36143 #: ../src/guestfs-actions.pod:8419
36144 #, no-wrap
36145 msgid ""
36146 " int\n"
36147 " guestfs_wc_l (guestfs_h *g,\n"
36148 "               const char *path);\n"
36149 "\n"
36150 msgstr ""
36151
36152 #. type: =head2
36153 #: ../src/guestfs-actions.pod:8430
36154 msgid "guestfs_wc_w"
36155 msgstr ""
36156
36157 #. type: verbatim
36158 #: ../src/guestfs-actions.pod:8432
36159 #, no-wrap
36160 msgid ""
36161 " int\n"
36162 " guestfs_wc_w (guestfs_h *g,\n"
36163 "               const char *path);\n"
36164 "\n"
36165 msgstr ""
36166
36167 #. type: =head2
36168 #: ../src/guestfs-actions.pod:8443
36169 msgid "guestfs_write"
36170 msgstr ""
36171
36172 #. type: verbatim
36173 #: ../src/guestfs-actions.pod:8445
36174 #, no-wrap
36175 msgid ""
36176 " int\n"
36177 " guestfs_write (guestfs_h *g,\n"
36178 "                const char *path,\n"
36179 "                const char *content,\n"
36180 "                size_t content_size);\n"
36181 "\n"
36182 msgstr ""
36183
36184 #. type: textblock
36185 #: ../src/guestfs-actions.pod:8454
36186 msgid "See also C<guestfs_write_append>."
36187 msgstr ""
36188
36189 #. type: =head2
36190 #: ../src/guestfs-actions.pod:8463
36191 msgid "guestfs_write_append"
36192 msgstr ""
36193
36194 #. type: verbatim
36195 #: ../src/guestfs-actions.pod:8465
36196 #, no-wrap
36197 msgid ""
36198 " int\n"
36199 " guestfs_write_append (guestfs_h *g,\n"
36200 "                       const char *path,\n"
36201 "                       const char *content,\n"
36202 "                       size_t content_size);\n"
36203 "\n"
36204 msgstr ""
36205
36206 #. type: textblock
36207 #: ../src/guestfs-actions.pod:8474
36208 msgid "See also C<guestfs_write>."
36209 msgstr ""
36210
36211 #. type: =head2
36212 #: ../src/guestfs-actions.pod:8483
36213 msgid "guestfs_write_file"
36214 msgstr "guestfs_write_file"
36215
36216 #. type: verbatim
36217 #: ../src/guestfs-actions.pod:8485
36218 #, no-wrap
36219 msgid ""
36220 " int\n"
36221 " guestfs_write_file (guestfs_h *g,\n"
36222 "                     const char *path,\n"
36223 "                     const char *content,\n"
36224 "                     int size);\n"
36225 "\n"
36226 msgstr ""
36227 " int\n"
36228 " guestfs_write_file (guestfs_h *g,\n"
36229 "                     const char *path,\n"
36230 "                     const char *content,\n"
36231 "                     int size);\n"
36232 "\n"
36233
36234 #. type: textblock
36235 #: ../src/guestfs-actions.pod:8491
36236 msgid ""
36237 "I<This function is deprecated.> In new code, use the L</guestfs_write> call "
36238 "instead."
36239 msgstr ""
36240
36241 #. type: =head2
36242 #: ../src/guestfs-actions.pod:8516
36243 msgid "guestfs_zegrep"
36244 msgstr "guestfs_zegrep"
36245
36246 #. type: verbatim
36247 #: ../src/guestfs-actions.pod:8518
36248 #, no-wrap
36249 msgid ""
36250 " char **\n"
36251 " guestfs_zegrep (guestfs_h *g,\n"
36252 "                 const char *regex,\n"
36253 "                 const char *path);\n"
36254 "\n"
36255 msgstr ""
36256 " char **\n"
36257 " guestfs_zegrep (guestfs_h *g,\n"
36258 "                 const char *regex,\n"
36259 "                 const char *path);\n"
36260 "\n"
36261
36262 #. type: =head2
36263 #: ../src/guestfs-actions.pod:8535
36264 msgid "guestfs_zegrepi"
36265 msgstr "guestfs_zegrepi"
36266
36267 #. type: verbatim
36268 #: ../src/guestfs-actions.pod:8537
36269 #, no-wrap
36270 msgid ""
36271 " char **\n"
36272 " guestfs_zegrepi (guestfs_h *g,\n"
36273 "                  const char *regex,\n"
36274 "                  const char *path);\n"
36275 "\n"
36276 msgstr ""
36277 " char **\n"
36278 " guestfs_zegrepi (guestfs_h *g,\n"
36279 "                  const char *regex,\n"
36280 "                  const char *path);\n"
36281 "\n"
36282
36283 #. type: =head2
36284 #: ../src/guestfs-actions.pod:8554
36285 msgid "guestfs_zero"
36286 msgstr "guestfs_zero"
36287
36288 #. type: verbatim
36289 #: ../src/guestfs-actions.pod:8556
36290 #, no-wrap
36291 msgid ""
36292 " int\n"
36293 " guestfs_zero (guestfs_h *g,\n"
36294 "               const char *device);\n"
36295 "\n"
36296 msgstr ""
36297 " int\n"
36298 " guestfs_zero (guestfs_h *g,\n"
36299 "               const char *device);\n"
36300 "\n"
36301
36302 #. type: textblock
36303 #: ../src/guestfs-actions.pod:8570
36304 msgid ""
36305 "See also: C<guestfs_zero_device>, C<guestfs_scrub_device>, "
36306 "C<guestfs_is_zero_device>"
36307 msgstr ""
36308
36309 #. type: =head2
36310 #: ../src/guestfs-actions.pod:8582
36311 msgid "guestfs_zero_device"
36312 msgstr "guestfs_zero_device"
36313
36314 #. type: verbatim
36315 #: ../src/guestfs-actions.pod:8584
36316 #, no-wrap
36317 msgid ""
36318 " int\n"
36319 " guestfs_zero_device (guestfs_h *g,\n"
36320 "                      const char *device);\n"
36321 "\n"
36322 msgstr ""
36323 " int\n"
36324 " guestfs_zero_device (guestfs_h *g,\n"
36325 "                      const char *device);\n"
36326 "\n"
36327
36328 #. type: textblock
36329 #: ../src/guestfs-actions.pod:8588
36330 msgid ""
36331 "This command writes zeroes over the entire C<device>.  Compare with "
36332 "C<guestfs_zero> which just zeroes the first few blocks of a device."
36333 msgstr ""
36334
36335 #. type: textblock
36336 #: ../src/guestfs-actions.pod:8603
36337 msgid "(Added in 1.3.1)"
36338 msgstr "(Додано у 1.3.1)"
36339
36340 #. type: =head2
36341 #: ../src/guestfs-actions.pod:8605
36342 msgid "guestfs_zerofree"
36343 msgstr "guestfs_zerofree"
36344
36345 #. type: verbatim
36346 #: ../src/guestfs-actions.pod:8607
36347 #, no-wrap
36348 msgid ""
36349 " int\n"
36350 " guestfs_zerofree (guestfs_h *g,\n"
36351 "                   const char *device);\n"
36352 "\n"
36353 msgstr ""
36354 " int\n"
36355 " guestfs_zerofree (guestfs_h *g,\n"
36356 "                   const char *device);\n"
36357 "\n"
36358
36359 #. type: =head2
36360 #: ../src/guestfs-actions.pod:8626
36361 msgid "guestfs_zfgrep"
36362 msgstr "guestfs_zfgrep"
36363
36364 #. type: verbatim
36365 #: ../src/guestfs-actions.pod:8628
36366 #, no-wrap
36367 msgid ""
36368 " char **\n"
36369 " guestfs_zfgrep (guestfs_h *g,\n"
36370 "                 const char *pattern,\n"
36371 "                 const char *path);\n"
36372 "\n"
36373 msgstr ""
36374 " char **\n"
36375 " guestfs_zfgrep (guestfs_h *g,\n"
36376 "                 const char *pattern,\n"
36377 "                 const char *path);\n"
36378 "\n"
36379
36380 #. type: =head2
36381 #: ../src/guestfs-actions.pod:8645
36382 msgid "guestfs_zfgrepi"
36383 msgstr "guestfs_zfgrepi"
36384
36385 #. type: verbatim
36386 #: ../src/guestfs-actions.pod:8647
36387 #, no-wrap
36388 msgid ""
36389 " char **\n"
36390 " guestfs_zfgrepi (guestfs_h *g,\n"
36391 "                  const char *pattern,\n"
36392 "                  const char *path);\n"
36393 "\n"
36394 msgstr ""
36395 " char **\n"
36396 " guestfs_zfgrepi (guestfs_h *g,\n"
36397 "                  const char *pattern,\n"
36398 "                  const char *path);\n"
36399 "\n"
36400
36401 #. type: =head2
36402 #: ../src/guestfs-actions.pod:8664
36403 msgid "guestfs_zfile"
36404 msgstr "guestfs_zfile"
36405
36406 #. type: verbatim
36407 #: ../src/guestfs-actions.pod:8666
36408 #, no-wrap
36409 msgid ""
36410 " char *\n"
36411 " guestfs_zfile (guestfs_h *g,\n"
36412 "                const char *meth,\n"
36413 "                const char *path);\n"
36414 "\n"
36415 msgstr ""
36416 " char *\n"
36417 " guestfs_zfile (guestfs_h *g,\n"
36418 "                const char *meth,\n"
36419 "                const char *path);\n"
36420 "\n"
36421
36422 #. type: textblock
36423 #: ../src/guestfs-actions.pod:8671
36424 msgid ""
36425 "I<This function is deprecated.> In new code, use the L</guestfs_file> call "
36426 "instead."
36427 msgstr ""
36428
36429 #. type: textblock
36430 #: ../src/guestfs-actions.pod:8683
36431 msgid ""
36432 "Since 1.0.63, use C<guestfs_file> instead which can now process compressed "
36433 "files."
36434 msgstr ""
36435
36436 #. type: =head2
36437 #: ../src/guestfs-actions.pod:8691
36438 msgid "guestfs_zgrep"
36439 msgstr "guestfs_zgrep"
36440
36441 #. type: verbatim
36442 #: ../src/guestfs-actions.pod:8693
36443 #, no-wrap
36444 msgid ""
36445 " char **\n"
36446 " guestfs_zgrep (guestfs_h *g,\n"
36447 "                const char *regex,\n"
36448 "                const char *path);\n"
36449 "\n"
36450 msgstr ""
36451 " char **\n"
36452 " guestfs_zgrep (guestfs_h *g,\n"
36453 "                const char *regex,\n"
36454 "                const char *path);\n"
36455 "\n"
36456
36457 #. type: =head2
36458 #: ../src/guestfs-actions.pod:8710
36459 msgid "guestfs_zgrepi"
36460 msgstr "guestfs_zgrepi"
36461
36462 #. type: verbatim
36463 #: ../src/guestfs-actions.pod:8712
36464 #, no-wrap
36465 msgid ""
36466 " char **\n"
36467 " guestfs_zgrepi (guestfs_h *g,\n"
36468 "                 const char *regex,\n"
36469 "                 const char *path);\n"
36470 "\n"
36471 msgstr ""
36472 " char **\n"
36473 " guestfs_zgrepi (guestfs_h *g,\n"
36474 "                 const char *regex,\n"
36475 "                 const char *path);\n"
36476 "\n"
36477
36478 #. type: =item
36479 #: ../src/guestfs-availability.pod:3
36480 msgid "B<augeas>"
36481 msgstr "B<augeas>"
36482
36483 #. type: textblock
36484 #: ../src/guestfs-availability.pod:5
36485 msgid ""
36486 "The following functions: L</guestfs_aug_clear> L</guestfs_aug_close> L</"
36487 "guestfs_aug_defnode> L</guestfs_aug_defvar> L</guestfs_aug_get> L</"
36488 "guestfs_aug_init> L</guestfs_aug_insert> L</guestfs_aug_load> L</"
36489 "guestfs_aug_ls> L</guestfs_aug_match> L</guestfs_aug_mv> L</guestfs_aug_rm> "
36490 "L</guestfs_aug_save> L</guestfs_aug_set>"
36491 msgstr ""
36492
36493 #. type: =item
36494 #: ../src/guestfs-availability.pod:21
36495 msgid "B<btrfs>"
36496 msgstr "B<btrfs>"
36497
36498 #. type: textblock
36499 #: ../src/guestfs-availability.pod:23
36500 msgid "The following functions: L</guestfs_btrfs_filesystem_resize>"
36501 msgstr ""
36502
36503 #. type: =item
36504 #: ../src/guestfs-availability.pod:26
36505 msgid "B<grub>"
36506 msgstr ""
36507
36508 #. type: textblock
36509 #: ../src/guestfs-availability.pod:28
36510 msgid "The following functions: L</guestfs_grub_install>"
36511 msgstr ""
36512
36513 #. type: =item
36514 #: ../src/guestfs-availability.pod:31
36515 msgid "B<inotify>"
36516 msgstr "B<inotify>"
36517
36518 #. type: textblock
36519 #: ../src/guestfs-availability.pod:33
36520 msgid ""
36521 "The following functions: L</guestfs_inotify_add_watch> L</"
36522 "guestfs_inotify_close> L</guestfs_inotify_files> L</guestfs_inotify_init> L</"
36523 "guestfs_inotify_read> L</guestfs_inotify_rm_watch>"
36524 msgstr ""
36525
36526 #. type: =item
36527 #: ../src/guestfs-availability.pod:41
36528 msgid "B<linuxfsuuid>"
36529 msgstr "B<linuxfsuuid>"
36530
36531 #. type: textblock
36532 #: ../src/guestfs-availability.pod:43
36533 msgid ""
36534 "The following functions: L</guestfs_mke2fs_JU> L</guestfs_mke2journal_U> L</"
36535 "guestfs_mkswap_U> L</guestfs_swapoff_uuid> L</guestfs_swapon_uuid>"
36536 msgstr ""
36537
36538 #. type: =item
36539 #: ../src/guestfs-availability.pod:50
36540 msgid "B<linuxmodules>"
36541 msgstr "B<linuxmodules>"
36542
36543 #. type: textblock
36544 #: ../src/guestfs-availability.pod:52
36545 msgid "The following functions: L</guestfs_modprobe>"
36546 msgstr ""
36547
36548 #. type: =item
36549 #: ../src/guestfs-availability.pod:55
36550 msgid "B<linuxxattrs>"
36551 msgstr "B<linuxxattrs>"
36552
36553 #. type: textblock
36554 #: ../src/guestfs-availability.pod:57
36555 msgid ""
36556 "The following functions: L</guestfs_getxattr> L</guestfs_getxattrs> L</"
36557 "guestfs_lgetxattr> L</guestfs_lgetxattrs> L</guestfs_lremovexattr> L</"
36558 "guestfs_lsetxattr> L</guestfs_lxattrlist> L</guestfs_removexattr> L</"
36559 "guestfs_setxattr>"
36560 msgstr ""
36561
36562 #. type: =item
36563 #: ../src/guestfs-availability.pod:68
36564 msgid "B<luks>"
36565 msgstr "B<luks>"
36566
36567 #. type: textblock
36568 #: ../src/guestfs-availability.pod:70
36569 msgid ""
36570 "The following functions: L</guestfs_luks_add_key> L</guestfs_luks_close> L</"
36571 "guestfs_luks_format> L</guestfs_luks_format_cipher> L</"
36572 "guestfs_luks_kill_slot> L</guestfs_luks_open> L</guestfs_luks_open_ro>"
36573 msgstr ""
36574
36575 #. type: =item
36576 #: ../src/guestfs-availability.pod:79
36577 msgid "B<lvm2>"
36578 msgstr "B<lvm2>"
36579
36580 #. type: textblock
36581 #: ../src/guestfs-availability.pod:81
36582 msgid ""
36583 "The following functions: L</guestfs_is_lv> L</guestfs_lvcreate> L</"
36584 "guestfs_lvm_remove_all> L</guestfs_lvm_set_filter> L</guestfs_lvremove> L</"
36585 "guestfs_lvresize> L</guestfs_lvresize_free> L</guestfs_lvs> L</"
36586 "guestfs_lvs_full> L</guestfs_pvcreate> L</guestfs_pvremove> L</"
36587 "guestfs_pvresize> L</guestfs_pvresize_size> L</guestfs_pvs> L</"
36588 "guestfs_pvs_full> L</guestfs_vg_activate> L</guestfs_vg_activate_all> L</"
36589 "guestfs_vgcreate> L</guestfs_vgremove> L</guestfs_vgs> L</guestfs_vgs_full>"
36590 msgstr ""
36591
36592 #. type: =item
36593 #: ../src/guestfs-availability.pod:104
36594 msgid "B<mdadm>"
36595 msgstr ""
36596
36597 #. type: textblock
36598 #: ../src/guestfs-availability.pod:106
36599 msgid ""
36600 "The following functions: L</guestfs_md_create> L</guestfs_md_detail> L</"
36601 "guestfs_md_stop>"
36602 msgstr ""
36603
36604 #. type: =item
36605 #: ../src/guestfs-availability.pod:111
36606 msgid "B<mknod>"
36607 msgstr "B<mknod>"
36608
36609 #. type: textblock
36610 #: ../src/guestfs-availability.pod:113
36611 msgid ""
36612 "The following functions: L</guestfs_mkfifo> L</guestfs_mknod> L</"
36613 "guestfs_mknod_b> L</guestfs_mknod_c>"
36614 msgstr ""
36615
36616 #. type: =item
36617 #: ../src/guestfs-availability.pod:119
36618 msgid "B<ntfs3g>"
36619 msgstr "B<ntfs3g>"
36620
36621 #. type: textblock
36622 #: ../src/guestfs-availability.pod:121
36623 msgid "The following functions: L</guestfs_ntfs_3g_probe>"
36624 msgstr ""
36625
36626 #. type: =item
36627 #: ../src/guestfs-availability.pod:124
36628 msgid "B<ntfsprogs>"
36629 msgstr "B<ntfsprogs>"
36630
36631 #. type: textblock
36632 #: ../src/guestfs-availability.pod:126
36633 msgid ""
36634 "The following functions: L</guestfs_ntfsresize> L</guestfs_ntfsresize_opts> "
36635 "L</guestfs_ntfsresize_size>"
36636 msgstr ""
36637
36638 #. type: =item
36639 #: ../src/guestfs-availability.pod:131
36640 msgid "B<realpath>"
36641 msgstr "B<realpath>"
36642
36643 #. type: textblock
36644 #: ../src/guestfs-availability.pod:133
36645 msgid "The following functions: L</guestfs_realpath>"
36646 msgstr ""
36647
36648 #. type: =item
36649 #: ../src/guestfs-availability.pod:136
36650 msgid "B<scrub>"
36651 msgstr "B<scrub>"
36652
36653 #. type: textblock
36654 #: ../src/guestfs-availability.pod:138
36655 msgid ""
36656 "The following functions: L</guestfs_scrub_device> L</guestfs_scrub_file> L</"
36657 "guestfs_scrub_freespace>"
36658 msgstr ""
36659
36660 #. type: =item
36661 #: ../src/guestfs-availability.pod:143
36662 msgid "B<selinux>"
36663 msgstr "B<selinux>"
36664
36665 #. type: textblock
36666 #: ../src/guestfs-availability.pod:145
36667 msgid "The following functions: L</guestfs_getcon> L</guestfs_setcon>"
36668 msgstr ""
36669
36670 #. type: =item
36671 #: ../src/guestfs-availability.pod:149
36672 msgid "B<xz>"
36673 msgstr "B<xz>"
36674
36675 #. type: textblock
36676 #: ../src/guestfs-availability.pod:151
36677 msgid "The following functions: L</guestfs_txz_in> L</guestfs_txz_out>"
36678 msgstr ""
36679
36680 #. type: =item
36681 #: ../src/guestfs-availability.pod:155
36682 msgid "B<zerofree>"
36683 msgstr "B<zerofree>"
36684
36685 #. type: textblock
36686 #: ../src/guestfs-availability.pod:157
36687 msgid "The following functions: L</guestfs_zerofree>"
36688 msgstr ""
36689
36690 #. type: =head2
36691 #: ../src/guestfs-structs.pod:1
36692 msgid "guestfs_int_bool"
36693 msgstr ""
36694
36695 #. type: verbatim
36696 #: ../src/guestfs-structs.pod:3
36697 #, no-wrap
36698 msgid ""
36699 " struct guestfs_int_bool {\n"
36700 "   int32_t i;\n"
36701 "   int32_t b;\n"
36702 " };\n"
36703 " \n"
36704 msgstr ""
36705
36706 #. type: verbatim
36707 #: ../src/guestfs-structs.pod:8
36708 #, no-wrap
36709 msgid ""
36710 " struct guestfs_int_bool_list {\n"
36711 "   uint32_t len; /* Number of elements in list. */\n"
36712 "   struct guestfs_int_bool *val; /* Elements. */\n"
36713 " };\n"
36714 " \n"
36715 msgstr ""
36716
36717 #. type: verbatim
36718 #: ../src/guestfs-structs.pod:13
36719 #, no-wrap
36720 msgid ""
36721 " void guestfs_free_int_bool (struct guestfs_free_int_bool *);\n"
36722 " void guestfs_free_int_bool_list (struct guestfs_free_int_bool_list *);\n"
36723 "\n"
36724 msgstr ""
36725
36726 #. type: =head2
36727 #: ../src/guestfs-structs.pod:16
36728 msgid "guestfs_lvm_pv"
36729 msgstr ""
36730
36731 #. type: verbatim
36732 #: ../src/guestfs-structs.pod:18
36733 #, no-wrap
36734 msgid ""
36735 " struct guestfs_lvm_pv {\n"
36736 "   char *pv_name;\n"
36737 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
36738 "   char pv_uuid[32];\n"
36739 "   char *pv_fmt;\n"
36740 "   uint64_t pv_size;\n"
36741 "   uint64_t dev_size;\n"
36742 "   uint64_t pv_free;\n"
36743 "   uint64_t pv_used;\n"
36744 "   char *pv_attr;\n"
36745 "   int64_t pv_pe_count;\n"
36746 "   int64_t pv_pe_alloc_count;\n"
36747 "   char *pv_tags;\n"
36748 "   uint64_t pe_start;\n"
36749 "   int64_t pv_mda_count;\n"
36750 "   uint64_t pv_mda_free;\n"
36751 " };\n"
36752 " \n"
36753 msgstr ""
36754
36755 #. type: verbatim
36756 #: ../src/guestfs-structs.pod:36
36757 #, no-wrap
36758 msgid ""
36759 " struct guestfs_lvm_pv_list {\n"
36760 "   uint32_t len; /* Number of elements in list. */\n"
36761 "   struct guestfs_lvm_pv *val; /* Elements. */\n"
36762 " };\n"
36763 " \n"
36764 msgstr ""
36765
36766 #. type: verbatim
36767 #: ../src/guestfs-structs.pod:41
36768 #, no-wrap
36769 msgid ""
36770 " void guestfs_free_lvm_pv (struct guestfs_free_lvm_pv *);\n"
36771 " void guestfs_free_lvm_pv_list (struct guestfs_free_lvm_pv_list *);\n"
36772 "\n"
36773 msgstr ""
36774
36775 #. type: =head2
36776 #: ../src/guestfs-structs.pod:44
36777 msgid "guestfs_lvm_vg"
36778 msgstr ""
36779
36780 #. type: verbatim
36781 #: ../src/guestfs-structs.pod:46
36782 #, no-wrap
36783 msgid ""
36784 " struct guestfs_lvm_vg {\n"
36785 "   char *vg_name;\n"
36786 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
36787 "   char vg_uuid[32];\n"
36788 "   char *vg_fmt;\n"
36789 "   char *vg_attr;\n"
36790 "   uint64_t vg_size;\n"
36791 "   uint64_t vg_free;\n"
36792 "   char *vg_sysid;\n"
36793 "   uint64_t vg_extent_size;\n"
36794 "   int64_t vg_extent_count;\n"
36795 "   int64_t vg_free_count;\n"
36796 "   int64_t max_lv;\n"
36797 "   int64_t max_pv;\n"
36798 "   int64_t pv_count;\n"
36799 "   int64_t lv_count;\n"
36800 "   int64_t snap_count;\n"
36801 "   int64_t vg_seqno;\n"
36802 "   char *vg_tags;\n"
36803 "   int64_t vg_mda_count;\n"
36804 "   uint64_t vg_mda_free;\n"
36805 " };\n"
36806 " \n"
36807 msgstr ""
36808
36809 #. type: verbatim
36810 #: ../src/guestfs-structs.pod:69
36811 #, no-wrap
36812 msgid ""
36813 " struct guestfs_lvm_vg_list {\n"
36814 "   uint32_t len; /* Number of elements in list. */\n"
36815 "   struct guestfs_lvm_vg *val; /* Elements. */\n"
36816 " };\n"
36817 " \n"
36818 msgstr ""
36819
36820 #. type: verbatim
36821 #: ../src/guestfs-structs.pod:74
36822 #, no-wrap
36823 msgid ""
36824 " void guestfs_free_lvm_vg (struct guestfs_free_lvm_vg *);\n"
36825 " void guestfs_free_lvm_vg_list (struct guestfs_free_lvm_vg_list *);\n"
36826 "\n"
36827 msgstr ""
36828
36829 #. type: =head2
36830 #: ../src/guestfs-structs.pod:77
36831 msgid "guestfs_lvm_lv"
36832 msgstr ""
36833
36834 #. type: verbatim
36835 #: ../src/guestfs-structs.pod:79
36836 #, no-wrap
36837 msgid ""
36838 " struct guestfs_lvm_lv {\n"
36839 "   char *lv_name;\n"
36840 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
36841 "   char lv_uuid[32];\n"
36842 "   char *lv_attr;\n"
36843 "   int64_t lv_major;\n"
36844 "   int64_t lv_minor;\n"
36845 "   int64_t lv_kernel_major;\n"
36846 "   int64_t lv_kernel_minor;\n"
36847 "   uint64_t lv_size;\n"
36848 "   int64_t seg_count;\n"
36849 "   char *origin;\n"
36850 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
36851 "   float snap_percent;\n"
36852 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
36853 "   float copy_percent;\n"
36854 "   char *move_pv;\n"
36855 "   char *lv_tags;\n"
36856 "   char *mirror_log;\n"
36857 "   char *modules;\n"
36858 " };\n"
36859 " \n"
36860 msgstr ""
36861
36862 #. type: verbatim
36863 #: ../src/guestfs-structs.pod:101
36864 #, no-wrap
36865 msgid ""
36866 " struct guestfs_lvm_lv_list {\n"
36867 "   uint32_t len; /* Number of elements in list. */\n"
36868 "   struct guestfs_lvm_lv *val; /* Elements. */\n"
36869 " };\n"
36870 " \n"
36871 msgstr ""
36872
36873 #. type: verbatim
36874 #: ../src/guestfs-structs.pod:106
36875 #, no-wrap
36876 msgid ""
36877 " void guestfs_free_lvm_lv (struct guestfs_free_lvm_lv *);\n"
36878 " void guestfs_free_lvm_lv_list (struct guestfs_free_lvm_lv_list *);\n"
36879 "\n"
36880 msgstr ""
36881
36882 #. type: verbatim
36883 #: ../src/guestfs-structs.pod:111
36884 #, no-wrap
36885 msgid ""
36886 " struct guestfs_stat {\n"
36887 "   int64_t dev;\n"
36888 "   int64_t ino;\n"
36889 "   int64_t mode;\n"
36890 "   int64_t nlink;\n"
36891 "   int64_t uid;\n"
36892 "   int64_t gid;\n"
36893 "   int64_t rdev;\n"
36894 "   int64_t size;\n"
36895 "   int64_t blksize;\n"
36896 "   int64_t blocks;\n"
36897 "   int64_t atime;\n"
36898 "   int64_t mtime;\n"
36899 "   int64_t ctime;\n"
36900 " };\n"
36901 " \n"
36902 msgstr ""
36903
36904 #. type: verbatim
36905 #: ../src/guestfs-structs.pod:127
36906 #, no-wrap
36907 msgid ""
36908 " struct guestfs_stat_list {\n"
36909 "   uint32_t len; /* Number of elements in list. */\n"
36910 "   struct guestfs_stat *val; /* Elements. */\n"
36911 " };\n"
36912 " \n"
36913 msgstr ""
36914
36915 #. type: verbatim
36916 #: ../src/guestfs-structs.pod:132
36917 #, no-wrap
36918 msgid ""
36919 " void guestfs_free_stat (struct guestfs_free_stat *);\n"
36920 " void guestfs_free_stat_list (struct guestfs_free_stat_list *);\n"
36921 "\n"
36922 msgstr ""
36923
36924 #. type: verbatim
36925 #: ../src/guestfs-structs.pod:137
36926 #, no-wrap
36927 msgid ""
36928 " struct guestfs_statvfs {\n"
36929 "   int64_t bsize;\n"
36930 "   int64_t frsize;\n"
36931 "   int64_t blocks;\n"
36932 "   int64_t bfree;\n"
36933 "   int64_t bavail;\n"
36934 "   int64_t files;\n"
36935 "   int64_t ffree;\n"
36936 "   int64_t favail;\n"
36937 "   int64_t fsid;\n"
36938 "   int64_t flag;\n"
36939 "   int64_t namemax;\n"
36940 " };\n"
36941 " \n"
36942 msgstr ""
36943
36944 #. type: verbatim
36945 #: ../src/guestfs-structs.pod:151
36946 #, no-wrap
36947 msgid ""
36948 " struct guestfs_statvfs_list {\n"
36949 "   uint32_t len; /* Number of elements in list. */\n"
36950 "   struct guestfs_statvfs *val; /* Elements. */\n"
36951 " };\n"
36952 " \n"
36953 msgstr ""
36954
36955 #. type: verbatim
36956 #: ../src/guestfs-structs.pod:156
36957 #, no-wrap
36958 msgid ""
36959 " void guestfs_free_statvfs (struct guestfs_free_statvfs *);\n"
36960 " void guestfs_free_statvfs_list (struct guestfs_free_statvfs_list *);\n"
36961 "\n"
36962 msgstr ""
36963
36964 #. type: =head2
36965 #: ../src/guestfs-structs.pod:159
36966 msgid "guestfs_dirent"
36967 msgstr ""
36968
36969 #. type: verbatim
36970 #: ../src/guestfs-structs.pod:161
36971 #, no-wrap
36972 msgid ""
36973 " struct guestfs_dirent {\n"
36974 "   int64_t ino;\n"
36975 "   char ftyp;\n"
36976 "   char *name;\n"
36977 " };\n"
36978 " \n"
36979 msgstr ""
36980
36981 #. type: verbatim
36982 #: ../src/guestfs-structs.pod:167
36983 #, no-wrap
36984 msgid ""
36985 " struct guestfs_dirent_list {\n"
36986 "   uint32_t len; /* Number of elements in list. */\n"
36987 "   struct guestfs_dirent *val; /* Elements. */\n"
36988 " };\n"
36989 " \n"
36990 msgstr ""
36991
36992 #. type: verbatim
36993 #: ../src/guestfs-structs.pod:172
36994 #, no-wrap
36995 msgid ""
36996 " void guestfs_free_dirent (struct guestfs_free_dirent *);\n"
36997 " void guestfs_free_dirent_list (struct guestfs_free_dirent_list *);\n"
36998 "\n"
36999 msgstr ""
37000
37001 #. type: verbatim
37002 #: ../src/guestfs-structs.pod:177
37003 #, no-wrap
37004 msgid ""
37005 " struct guestfs_version {\n"
37006 "   int64_t major;\n"
37007 "   int64_t minor;\n"
37008 "   int64_t release;\n"
37009 "   char *extra;\n"
37010 " };\n"
37011 " \n"
37012 msgstr ""
37013
37014 #. type: verbatim
37015 #: ../src/guestfs-structs.pod:184
37016 #, no-wrap
37017 msgid ""
37018 " struct guestfs_version_list {\n"
37019 "   uint32_t len; /* Number of elements in list. */\n"
37020 "   struct guestfs_version *val; /* Elements. */\n"
37021 " };\n"
37022 " \n"
37023 msgstr ""
37024
37025 #. type: verbatim
37026 #: ../src/guestfs-structs.pod:189
37027 #, no-wrap
37028 msgid ""
37029 " void guestfs_free_version (struct guestfs_free_version *);\n"
37030 " void guestfs_free_version_list (struct guestfs_free_version_list *);\n"
37031 "\n"
37032 msgstr ""
37033
37034 #. type: =head2
37035 #: ../src/guestfs-structs.pod:192
37036 msgid "guestfs_xattr"
37037 msgstr ""
37038
37039 #. type: verbatim
37040 #: ../src/guestfs-structs.pod:194
37041 #, no-wrap
37042 msgid ""
37043 " struct guestfs_xattr {\n"
37044 "   char *attrname;\n"
37045 "   /* The next two fields describe a byte array. */\n"
37046 "   uint32_t attrval_len;\n"
37047 "   char *attrval;\n"
37048 " };\n"
37049 " \n"
37050 msgstr ""
37051
37052 #. type: verbatim
37053 #: ../src/guestfs-structs.pod:201
37054 #, no-wrap
37055 msgid ""
37056 " struct guestfs_xattr_list {\n"
37057 "   uint32_t len; /* Number of elements in list. */\n"
37058 "   struct guestfs_xattr *val; /* Elements. */\n"
37059 " };\n"
37060 " \n"
37061 msgstr ""
37062
37063 #. type: verbatim
37064 #: ../src/guestfs-structs.pod:206
37065 #, no-wrap
37066 msgid ""
37067 " void guestfs_free_xattr (struct guestfs_free_xattr *);\n"
37068 " void guestfs_free_xattr_list (struct guestfs_free_xattr_list *);\n"
37069 "\n"
37070 msgstr ""
37071
37072 #. type: =head2
37073 #: ../src/guestfs-structs.pod:209
37074 msgid "guestfs_inotify_event"
37075 msgstr ""
37076
37077 #. type: verbatim
37078 #: ../src/guestfs-structs.pod:211
37079 #, no-wrap
37080 msgid ""
37081 " struct guestfs_inotify_event {\n"
37082 "   int64_t in_wd;\n"
37083 "   uint32_t in_mask;\n"
37084 "   uint32_t in_cookie;\n"
37085 "   char *in_name;\n"
37086 " };\n"
37087 " \n"
37088 msgstr ""
37089
37090 #. type: verbatim
37091 #: ../src/guestfs-structs.pod:218
37092 #, no-wrap
37093 msgid ""
37094 " struct guestfs_inotify_event_list {\n"
37095 "   uint32_t len; /* Number of elements in list. */\n"
37096 "   struct guestfs_inotify_event *val; /* Elements. */\n"
37097 " };\n"
37098 " \n"
37099 msgstr ""
37100
37101 #. type: verbatim
37102 #: ../src/guestfs-structs.pod:223
37103 #, no-wrap
37104 msgid ""
37105 " void guestfs_free_inotify_event (struct guestfs_free_inotify_event *);\n"
37106 " void guestfs_free_inotify_event_list (struct guestfs_free_inotify_event_list *);\n"
37107 "\n"
37108 msgstr ""
37109
37110 #. type: =head2
37111 #: ../src/guestfs-structs.pod:226
37112 msgid "guestfs_partition"
37113 msgstr ""
37114
37115 #. type: verbatim
37116 #: ../src/guestfs-structs.pod:228
37117 #, no-wrap
37118 msgid ""
37119 " struct guestfs_partition {\n"
37120 "   int32_t part_num;\n"
37121 "   uint64_t part_start;\n"
37122 "   uint64_t part_end;\n"
37123 "   uint64_t part_size;\n"
37124 " };\n"
37125 " \n"
37126 msgstr ""
37127
37128 #. type: verbatim
37129 #: ../src/guestfs-structs.pod:235
37130 #, no-wrap
37131 msgid ""
37132 " struct guestfs_partition_list {\n"
37133 "   uint32_t len; /* Number of elements in list. */\n"
37134 "   struct guestfs_partition *val; /* Elements. */\n"
37135 " };\n"
37136 " \n"
37137 msgstr ""
37138
37139 #. type: verbatim
37140 #: ../src/guestfs-structs.pod:240
37141 #, no-wrap
37142 msgid ""
37143 " void guestfs_free_partition (struct guestfs_free_partition *);\n"
37144 " void guestfs_free_partition_list (struct guestfs_free_partition_list *);\n"
37145 "\n"
37146 msgstr ""
37147
37148 #. type: =head2
37149 #: ../src/guestfs-structs.pod:243
37150 msgid "guestfs_application"
37151 msgstr ""
37152
37153 #. type: verbatim
37154 #: ../src/guestfs-structs.pod:245
37155 #, no-wrap
37156 msgid ""
37157 " struct guestfs_application {\n"
37158 "   char *app_name;\n"
37159 "   char *app_display_name;\n"
37160 "   int32_t app_epoch;\n"
37161 "   char *app_version;\n"
37162 "   char *app_release;\n"
37163 "   char *app_install_path;\n"
37164 "   char *app_trans_path;\n"
37165 "   char *app_publisher;\n"
37166 "   char *app_url;\n"
37167 "   char *app_source_package;\n"
37168 "   char *app_summary;\n"
37169 "   char *app_description;\n"
37170 " };\n"
37171 " \n"
37172 msgstr ""
37173
37174 #. type: verbatim
37175 #: ../src/guestfs-structs.pod:260
37176 #, no-wrap
37177 msgid ""
37178 " struct guestfs_application_list {\n"
37179 "   uint32_t len; /* Number of elements in list. */\n"
37180 "   struct guestfs_application *val; /* Elements. */\n"
37181 " };\n"
37182 " \n"
37183 msgstr ""
37184
37185 #. type: verbatim
37186 #: ../src/guestfs-structs.pod:265
37187 #, no-wrap
37188 msgid ""
37189 " void guestfs_free_application (struct guestfs_free_application *);\n"
37190 " void guestfs_free_application_list (struct guestfs_free_application_list *);\n"
37191 "\n"
37192 msgstr ""
37193
37194 #. type: textblock
37195 #: ../src/guestfs.pod:5
37196 msgid "guestfs - Library for accessing and modifying virtual machine images"
37197 msgstr ""
37198 "guestfs — бібліотека для доступу та внесення змін до образів віртуальних "
37199 "машин"
37200
37201 #. type: verbatim
37202 #: ../src/guestfs.pod:11
37203 #, no-wrap
37204 msgid ""
37205 " guestfs_h *g = guestfs_create ();\n"
37206 " guestfs_add_drive (g, \"guest.img\");\n"
37207 " guestfs_launch (g);\n"
37208 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
37209 " guestfs_touch (g, \"/hello\");\n"
37210 " guestfs_umount (g, \"/\");\n"
37211 " guestfs_close (g);\n"
37212 "\n"
37213 msgstr ""
37214 " guestfs_h *g = guestfs_create ();\n"
37215 " guestfs_add_drive (g, \"guest.img\");\n"
37216 " guestfs_launch (g);\n"
37217 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
37218 " guestfs_touch (g, \"/hello\");\n"
37219 " guestfs_umount (g, \"/\");\n"
37220 " guestfs_close (g);\n"
37221 "\n"
37222
37223 #. type: textblock
37224 #: ../src/guestfs.pod:25
37225 msgid ""
37226 "Libguestfs is a library for accessing and modifying guest disk images.  "
37227 "Amongst the things this is good for: making batch configuration changes to "
37228 "guests, getting disk used/free statistics (see also: virt-df), migrating "
37229 "between virtualization systems (see also: virt-p2v), performing partial "
37230 "backups, performing partial guest clones, cloning guests and changing "
37231 "registry/UUID/hostname info, and much else besides."
37232 msgstr ""
37233
37234 #. type: textblock
37235 #: ../src/guestfs.pod:33
37236 msgid ""
37237 "Libguestfs uses Linux kernel and qemu code, and can access any type of guest "
37238 "filesystem that Linux and qemu can, including but not limited to: ext2/3/4, "
37239 "btrfs, FAT and NTFS, LVM, many different disk partition schemes, qcow, "
37240 "qcow2, vmdk."
37241 msgstr ""
37242
37243 #. type: textblock
37244 #: ../src/guestfs.pod:38
37245 msgid ""
37246 "Libguestfs provides ways to enumerate guest storage (eg. partitions, LVs, "
37247 "what filesystem is in each LV, etc.).  It can also run commands in the "
37248 "context of the guest.  Also you can access filesystems over FUSE."
37249 msgstr ""
37250
37251 #. type: textblock
37252 #: ../src/guestfs.pod:43
37253 msgid ""
37254 "Libguestfs is a library that can be linked with C and C++ management "
37255 "programs (or management programs written in OCaml, Perl, Python, Ruby, Java, "
37256 "PHP, Erlang, Haskell or C#).  You can also use it from shell scripts or the "
37257 "command line."
37258 msgstr ""
37259
37260 #. type: textblock
37261 #: ../src/guestfs.pod:48
37262 msgid ""
37263 "You don't need to be root to use libguestfs, although obviously you do need "
37264 "enough permissions to access the disk images."
37265 msgstr ""
37266
37267 #. type: textblock
37268 #: ../src/guestfs.pod:51
37269 msgid ""
37270 "Libguestfs is a large API because it can do many things.  For a gentle "
37271 "introduction, please read the L</API OVERVIEW> section next."
37272 msgstr ""
37273
37274 #. type: textblock
37275 #: ../src/guestfs.pod:54
37276 msgid ""
37277 "There are also some example programs in the L<guestfs-examples(3)> manual "
37278 "page."
37279 msgstr ""
37280
37281 #. type: =head1
37282 #: ../src/guestfs.pod:57
37283 msgid "API OVERVIEW"
37284 msgstr "ОГЛЯД API"
37285
37286 #. type: textblock
37287 #: ../src/guestfs.pod:59
37288 msgid ""
37289 "This section provides a gentler overview of the libguestfs API.  We also try "
37290 "to group API calls together, where that may not be obvious from reading "
37291 "about the individual calls in the main section of this manual."
37292 msgstr ""
37293
37294 #. type: =head2
37295 #: ../src/guestfs.pod:64
37296 msgid "HANDLES"
37297 msgstr "ОБРОБНИКИ"
37298
37299 #. type: textblock
37300 #: ../src/guestfs.pod:66
37301 msgid ""
37302 "Before you can use libguestfs calls, you have to create a handle.  Then you "
37303 "must add at least one disk image to the handle, followed by launching the "
37304 "handle, then performing whatever operations you want, and finally closing "
37305 "the handle.  By convention we use the single letter C<g> for the name of the "
37306 "handle variable, although of course you can use any name you want."
37307 msgstr ""
37308
37309 #. type: textblock
37310 #: ../src/guestfs.pod:73
37311 msgid "The general structure of all libguestfs-using programs looks like this:"
37312 msgstr ""
37313
37314 #. type: verbatim
37315 #: ../src/guestfs.pod:76
37316 #, no-wrap
37317 msgid ""
37318 " guestfs_h *g = guestfs_create ();\n"
37319 " \n"
37320 msgstr ""
37321 " guestfs_h *g = guestfs_create ();\n"
37322 " \n"
37323
37324 #. type: verbatim
37325 #: ../src/guestfs.pod:78
37326 #, no-wrap
37327 msgid ""
37328 " /* Call guestfs_add_drive additional times if there are\n"
37329 "  * multiple disk images.\n"
37330 "  */\n"
37331 " guestfs_add_drive (g, \"guest.img\");\n"
37332 " \n"
37333 msgstr ""
37334
37335 #. type: verbatim
37336 #: ../src/guestfs.pod:83
37337 #, no-wrap
37338 msgid ""
37339 " /* Most manipulation calls won't work until you've launched\n"
37340 "  * the handle 'g'.  You have to do this _after_ adding drives\n"
37341 "  * and _before_ other commands.\n"
37342 "  */\n"
37343 " guestfs_launch (g);\n"
37344 " \n"
37345 msgstr ""
37346
37347 #. type: verbatim
37348 #: ../src/guestfs.pod:89
37349 #, no-wrap
37350 msgid ""
37351 " /* Now you can examine what partitions, LVs etc are available.\n"
37352 "  */\n"
37353 " char **partitions = guestfs_list_partitions (g);\n"
37354 " char **logvols = guestfs_lvs (g);\n"
37355 " \n"
37356 msgstr ""
37357 " /* Тепер можна перевірити, які розділи, логічні томи тощо доступні.\n"
37358 "  */\n"
37359 " char **partitions = guestfs_list_partitions (g);\n"
37360 " char **logvols = guestfs_lvs (g);\n"
37361 " \n"
37362
37363 #. type: verbatim
37364 #: ../src/guestfs.pod:94
37365 #, no-wrap
37366 msgid ""
37367 " /* To access a filesystem in the image, you must mount it.\n"
37368 "  */\n"
37369 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
37370 " \n"
37371 msgstr ""
37372 " /* Щоб отримати доступ до файлової системи на образі, вам слід його змонтувати.\n"
37373 "  */\n"
37374 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
37375 " \n"
37376
37377 #. type: verbatim
37378 #: ../src/guestfs.pod:98
37379 #, no-wrap
37380 msgid ""
37381 " /* Now you can perform filesystem actions on the guest\n"
37382 "  * disk image.\n"
37383 "  */\n"
37384 " guestfs_touch (g, \"/hello\");\n"
37385 " \n"
37386 msgstr ""
37387 " /* Тепер ви можете виконувати дії з файловою системою на\n"
37388 "  * образі диска операційної системи.\n"
37389 "  */\n"
37390 " guestfs_touch (g, \"/hello\");\n"
37391 " \n"
37392
37393 #. type: verbatim
37394 #: ../src/guestfs.pod:103
37395 #, no-wrap
37396 msgid ""
37397 " /* This is only needed for libguestfs < 1.5.24.  Since then\n"
37398 "  * it is done automatically when you close the handle.  See\n"
37399 "  * discussion of autosync in this page.\n"
37400 "  */\n"
37401 " guestfs_sync (g);\n"
37402 " \n"
37403 msgstr ""
37404
37405 #. type: verbatim
37406 #: ../src/guestfs.pod:109
37407 #, no-wrap
37408 msgid ""
37409 " /* Close the handle 'g'. */\n"
37410 " guestfs_close (g);\n"
37411 "\n"
37412 msgstr ""
37413 " /* Закрити дескриптор 'g'. */\n"
37414 " guestfs_close (g);\n"
37415 "\n"
37416
37417 #. type: textblock
37418 #: ../src/guestfs.pod:112
37419 msgid ""
37420 "The code above doesn't include any error checking.  In real code you should "
37421 "check return values carefully for errors.  In general all functions that "
37422 "return integers return C<-1> on error, and all functions that return "
37423 "pointers return C<NULL> on error.  See section L</ERROR HANDLING> below for "
37424 "how to handle errors, and consult the documentation for each function call "
37425 "below to see precisely how they return error indications.  See L<guestfs-"
37426 "examples(3)> for fully worked examples."
37427 msgstr ""
37428
37429 #. type: =head2
37430 #: ../src/guestfs.pod:121
37431 msgid "DISK IMAGES"
37432 msgstr "ОБРАЗИ ДИСКІВ"
37433
37434 #. type: textblock
37435 #: ../src/guestfs.pod:123
37436 msgid ""
37437 "The image filename (C<\"guest.img\"> in the example above) could be a disk "
37438 "image from a virtual machine, a L<dd(1)> copy of a physical hard disk, an "
37439 "actual block device, or simply an empty file of zeroes that you have created "
37440 "through L<posix_fallocate(3)>.  Libguestfs lets you do useful things to all "
37441 "of these."
37442 msgstr ""
37443
37444 #. type: textblock
37445 #: ../src/guestfs.pod:129
37446 msgid ""
37447 "The call you should use in modern code for adding drives is L</"
37448 "guestfs_add_drive_opts>.  To add a disk image, allowing writes, and "
37449 "specifying that the format is raw, do:"
37450 msgstr ""
37451
37452 #. type: verbatim
37453 #: ../src/guestfs.pod:133
37454 #, no-wrap
37455 msgid ""
37456 " guestfs_add_drive_opts (g, filename,\n"
37457 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"raw\",\n"
37458 "                         -1);\n"
37459 "\n"
37460 msgstr ""
37461 " guestfs_add_drive_opts (g, filename,\n"
37462 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"raw\",\n"
37463 "                         -1);\n"
37464 "\n"
37465
37466 #. type: textblock
37467 #: ../src/guestfs.pod:137
37468 msgid "You can add a disk read-only using:"
37469 msgstr "Ви можете додати диск у режимі лише читання:"
37470
37471 #. type: verbatim
37472 #: ../src/guestfs.pod:139
37473 #, no-wrap
37474 msgid ""
37475 " guestfs_add_drive_opts (g, filename,\n"
37476 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"raw\",\n"
37477 "                         GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
37478 "                         -1);\n"
37479 "\n"
37480 msgstr ""
37481 " guestfs_add_drive_opts (g, filename,\n"
37482 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"raw\",\n"
37483 "                         GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
37484 "                         -1);\n"
37485 "\n"
37486
37487 #. type: textblock
37488 #: ../src/guestfs.pod:144
37489 msgid ""
37490 "or by calling the older function L</guestfs_add_drive_ro>.  In either case "
37491 "libguestfs won't modify the file."
37492 msgstr ""
37493
37494 #. type: textblock
37495 #: ../src/guestfs.pod:147
37496 msgid ""
37497 "Be extremely cautious if the disk image is in use, eg. if it is being used "
37498 "by a virtual machine.  Adding it read-write will almost certainly cause disk "
37499 "corruption, but adding it read-only is safe."
37500 msgstr ""
37501
37502 #. type: textblock
37503 #: ../src/guestfs.pod:151
37504 msgid ""
37505 "You must add at least one disk image, and you may add multiple disk images.  "
37506 "In the API, the disk images are usually referred to as C</dev/sda> (for the "
37507 "first one you added), C</dev/sdb> (for the second one you added), etc."
37508 msgstr ""
37509
37510 #. type: textblock
37511 #: ../src/guestfs.pod:156
37512 msgid ""
37513 "Once L</guestfs_launch> has been called you cannot add any more images.  You "
37514 "can call L</guestfs_list_devices> to get a list of the device names, in the "
37515 "order that you added them.  See also L</BLOCK DEVICE NAMING> below."
37516 msgstr ""
37517
37518 #. type: =head2
37519 #: ../src/guestfs.pod:161
37520 msgid "MOUNTING"
37521 msgstr "МОНТУВАННЯ"
37522
37523 #. type: textblock
37524 #: ../src/guestfs.pod:163
37525 msgid ""
37526 "Before you can read or write files, create directories and so on in a disk "
37527 "image that contains filesystems, you have to mount those filesystems using "
37528 "L</guestfs_mount_options> or L</guestfs_mount_ro>.  If you already know that "
37529 "a disk image contains (for example) one partition with a filesystem on that "
37530 "partition, then you can mount it directly:"
37531 msgstr ""
37532
37533 #. type: verbatim
37534 #: ../src/guestfs.pod:170
37535 #, no-wrap
37536 msgid ""
37537 " guestfs_mount_options (g, \"\", \"/dev/sda1\", \"/\");\n"
37538 "\n"
37539 msgstr ""
37540 " guestfs_mount_options (g, \"\", \"/dev/sda1\", \"/\");\n"
37541 "\n"
37542
37543 #. type: textblock
37544 #: ../src/guestfs.pod:172
37545 msgid ""
37546 "where C</dev/sda1> means literally the first partition (C<1>) of the first "
37547 "disk image that we added (C</dev/sda>).  If the disk contains Linux LVM2 "
37548 "logical volumes you could refer to those instead (eg. C</dev/VG/LV>).  Note "
37549 "that these are libguestfs virtual devices, and are nothing to do with host "
37550 "devices."
37551 msgstr ""
37552
37553 #. type: textblock
37554 #: ../src/guestfs.pod:178
37555 msgid ""
37556 "If you are given a disk image and you don't know what it contains then you "
37557 "have to find out.  Libguestfs can do that too: use L</"
37558 "guestfs_list_partitions> and L</guestfs_lvs> to list possible partitions and "
37559 "LVs, and either try mounting each to see what is mountable, or else examine "
37560 "them with L</guestfs_vfs_type> or L</guestfs_file>.  To list just "
37561 "filesystems, use L</guestfs_list_filesystems>."
37562 msgstr ""
37563
37564 #. type: textblock
37565 #: ../src/guestfs.pod:186
37566 msgid ""
37567 "Libguestfs also has a set of APIs for inspection of unknown disk images (see "
37568 "L</INSPECTION> below).  But you might find it easier to look at higher level "
37569 "programs built on top of libguestfs, in particular L<virt-inspector(1)>."
37570 msgstr ""
37571
37572 #. type: textblock
37573 #: ../src/guestfs.pod:191
37574 msgid ""
37575 "To mount a filesystem read-only, use L</guestfs_mount_ro>.  There are "
37576 "several other variations of the C<guestfs_mount_*> call."
37577 msgstr ""
37578
37579 #. type: =head2
37580 #: ../src/guestfs.pod:194
37581 msgid "FILESYSTEM ACCESS AND MODIFICATION"
37582 msgstr "ДОСТУП ТА ВНЕСЕННЯ ЗМІН ДО ФАЙЛОВИХ СИСТЕМ"
37583
37584 #. type: textblock
37585 #: ../src/guestfs.pod:196
37586 msgid ""
37587 "The majority of the libguestfs API consists of fairly low-level calls for "
37588 "accessing and modifying the files, directories, symlinks etc on mounted "
37589 "filesystems.  There are over a hundred such calls which you can find listed "
37590 "in detail below in this man page, and we don't even pretend to cover them "
37591 "all in this overview."
37592 msgstr ""
37593
37594 #. type: textblock
37595 #: ../src/guestfs.pod:202
37596 msgid ""
37597 "Specify filenames as full paths, starting with C<\"/\"> and including the "
37598 "mount point."
37599 msgstr ""
37600 "Вказуйте адреси і назви файлів повністю, починаючи з C<\"/\">, разом з "
37601 "точкою монтування."
37602
37603 #. type: textblock
37604 #: ../src/guestfs.pod:205
37605 msgid ""
37606 "For example, if you mounted a filesystem at C<\"/\"> and you want to read "
37607 "the file called C<\"etc/passwd\"> then you could do:"
37608 msgstr ""
37609 "Наприклад, якщо вами змонтовано файлову систему до C<\"/\">, і ви бажаєте "
37610 "виконати читання файла з назвою C<\"etc/passwd\">, ви можете скористатися "
37611 "таким кодом:"
37612
37613 #. type: verbatim
37614 #: ../src/guestfs.pod:208
37615 #, no-wrap
37616 msgid ""
37617 " char *data = guestfs_cat (g, \"/etc/passwd\");\n"
37618 "\n"
37619 msgstr ""
37620 " char *data = guestfs_cat (g, \"/etc/passwd\");\n"
37621 "\n"
37622
37623 #. type: textblock
37624 #: ../src/guestfs.pod:210
37625 msgid ""
37626 "This would return C<data> as a newly allocated buffer containing the full "
37627 "content of that file (with some conditions: see also L</DOWNLOADING> below), "
37628 "or C<NULL> if there was an error."
37629 msgstr ""
37630
37631 #. type: textblock
37632 #: ../src/guestfs.pod:214
37633 msgid ""
37634 "As another example, to create a top-level directory on that filesystem "
37635 "called C<\"var\"> you would do:"
37636 msgstr ""
37637
37638 #. type: verbatim
37639 #: ../src/guestfs.pod:217
37640 #, no-wrap
37641 msgid ""
37642 " guestfs_mkdir (g, \"/var\");\n"
37643 "\n"
37644 msgstr ""
37645 " guestfs_mkdir (g, \"/var\");\n"
37646 "\n"
37647
37648 #. type: textblock
37649 #: ../src/guestfs.pod:219
37650 msgid "To create a symlink you could do:"
37651 msgstr "Щоб створити символічне посилання, ви можете скористатися таким кодом:"
37652
37653 #. type: verbatim
37654 #: ../src/guestfs.pod:221
37655 #, no-wrap
37656 msgid ""
37657 " guestfs_ln_s (g, \"/etc/init.d/portmap\",\n"
37658 "               \"/etc/rc3.d/S30portmap\");\n"
37659 "\n"
37660 msgstr ""
37661 " guestfs_ln_s (g, \"/etc/init.d/portmap\",\n"
37662 "               \"/etc/rc3.d/S30portmap\");\n"
37663 "\n"
37664
37665 #. type: textblock
37666 #: ../src/guestfs.pod:224
37667 msgid ""
37668 "Libguestfs will reject attempts to use relative paths and there is no "
37669 "concept of a current working directory."
37670 msgstr ""
37671
37672 #. type: textblock
37673 #: ../src/guestfs.pod:227
37674 msgid ""
37675 "Libguestfs can return errors in many situations: for example if the "
37676 "filesystem isn't writable, or if a file or directory that you requested "
37677 "doesn't exist.  If you are using the C API (documented here)  you have to "
37678 "check for those error conditions after each call.  (Other language bindings "
37679 "turn these errors into exceptions)."
37680 msgstr ""
37681
37682 #. type: textblock
37683 #: ../src/guestfs.pod:233
37684 msgid ""
37685 "File writes are affected by the per-handle umask, set by calling L</"
37686 "guestfs_umask> and defaulting to 022.  See L</UMASK>."
37687 msgstr ""
37688
37689 #. type: =head2
37690 #: ../src/guestfs.pod:236
37691 msgid "PARTITIONING"
37692 msgstr "ПОДІЛ НА РОЗДІЛИ"
37693
37694 #. type: textblock
37695 #: ../src/guestfs.pod:238
37696 msgid ""
37697 "Libguestfs contains API calls to read, create and modify partition tables on "
37698 "disk images."
37699 msgstr ""
37700
37701 #. type: textblock
37702 #: ../src/guestfs.pod:241
37703 msgid ""
37704 "In the common case where you want to create a single partition covering the "
37705 "whole disk, you should use the L</guestfs_part_disk> call:"
37706 msgstr ""
37707
37708 #. type: verbatim
37709 #: ../src/guestfs.pod:245
37710 #, no-wrap
37711 msgid ""
37712 " const char *parttype = \"mbr\";\n"
37713 " if (disk_is_larger_than_2TB)\n"
37714 "   parttype = \"gpt\";\n"
37715 " guestfs_part_disk (g, \"/dev/sda\", parttype);\n"
37716 "\n"
37717 msgstr ""
37718 " const char *parttype = \"mbr\";\n"
37719 " if (disk_is_larger_than_2TB)\n"
37720 "   parttype = \"gpt\";\n"
37721 " guestfs_part_disk (g, \"/dev/sda\", parttype);\n"
37722 "\n"
37723
37724 #. type: textblock
37725 #: ../src/guestfs.pod:250
37726 msgid ""
37727 "Obviously this effectively wipes anything that was on that disk image before."
37728 msgstr ""
37729
37730 #. type: =head2
37731 #: ../src/guestfs.pod:253
37732 msgid "LVM2"
37733 msgstr "LVM2"
37734
37735 #. type: textblock
37736 #: ../src/guestfs.pod:255
37737 msgid ""
37738 "Libguestfs provides access to a large part of the LVM2 API, such as L</"
37739 "guestfs_lvcreate> and L</guestfs_vgremove>.  It won't make much sense unless "
37740 "you familiarize yourself with the concepts of physical volumes, volume "
37741 "groups and logical volumes."
37742 msgstr ""
37743
37744 #. type: textblock
37745 #: ../src/guestfs.pod:260
37746 msgid ""
37747 "This author strongly recommends reading the LVM HOWTO, online at L<http://"
37748 "tldp.org/HOWTO/LVM-HOWTO/>."
37749 msgstr ""
37750
37751 #. type: =head2
37752 #: ../src/guestfs.pod:263
37753 msgid "DOWNLOADING"
37754 msgstr "ОТРИМАННЯ ДАНИХ"
37755
37756 #. type: textblock
37757 #: ../src/guestfs.pod:265
37758 msgid ""
37759 "Use L</guestfs_cat> to download small, text only files.  This call is "
37760 "limited to files which are less than 2 MB and which cannot contain any ASCII "
37761 "NUL (C<\\0>) characters.  However the API is very simple to use."
37762 msgstr ""
37763
37764 #. type: textblock
37765 #: ../src/guestfs.pod:269
37766 msgid ""
37767 "L</guestfs_read_file> can be used to read files which contain arbitrary 8 "
37768 "bit data, since it returns a (pointer, size) pair.  However it is still "
37769 "limited to \"small\" files, less than 2 MB."
37770 msgstr ""
37771
37772 #. type: textblock
37773 #: ../src/guestfs.pod:273
37774 msgid ""
37775 "L</guestfs_download> can be used to download any file, with no limits on "
37776 "content or size (even files larger than 4 GB)."
37777 msgstr ""
37778
37779 #. type: textblock
37780 #: ../src/guestfs.pod:276
37781 msgid ""
37782 "To download multiple files, see L</guestfs_tar_out> and L</guestfs_tgz_out>."
37783 msgstr ""
37784
37785 #. type: =head2
37786 #: ../src/guestfs.pod:279
37787 msgid "UPLOADING"
37788 msgstr "ВИВАНТАЖЕННЯ"
37789
37790 #. type: textblock
37791 #: ../src/guestfs.pod:281
37792 msgid ""
37793 "It's often the case that you want to write a file or files to the disk image."
37794 msgstr ""
37795
37796 #. type: textblock
37797 #: ../src/guestfs.pod:284
37798 msgid ""
37799 "To write a small file with fixed content, use L</guestfs_write>.  To create "
37800 "a file of all zeroes, use L</guestfs_truncate_size> (sparse) or L</"
37801 "guestfs_fallocate64> (with all disk blocks allocated).  There are a variety "
37802 "of other functions for creating test files, for example L</guestfs_fill> and "
37803 "L</guestfs_fill_pattern>."
37804 msgstr ""
37805
37806 #. type: textblock
37807 #: ../src/guestfs.pod:290
37808 msgid ""
37809 "To upload a single file, use L</guestfs_upload>.  This call has no limits on "
37810 "file content or size (even files larger than 4 GB)."
37811 msgstr ""
37812
37813 #. type: textblock
37814 #: ../src/guestfs.pod:293
37815 msgid ""
37816 "To upload multiple files, see L</guestfs_tar_in> and L</guestfs_tgz_in>."
37817 msgstr ""
37818
37819 #. type: textblock
37820 #: ../src/guestfs.pod:295
37821 msgid ""
37822 "However the fastest way to upload I<large numbers of arbitrary files> is to "
37823 "turn them into a squashfs or CD ISO (see L<mksquashfs(8)> and L<mkisofs(8)"
37824 ">), then attach this using L</guestfs_add_drive_ro>.  If you add the drive "
37825 "in a predictable way (eg. adding it last after all other drives) then you "
37826 "can get the device name from L</guestfs_list_devices> and mount it directly "
37827 "using L</guestfs_mount_ro>.  Note that squashfs images are sometimes non-"
37828 "portable between kernel versions, and they don't support labels or UUIDs.  "
37829 "If you want to pre-build an image or you need to mount it using a label or "
37830 "UUID, use an ISO image instead."
37831 msgstr ""
37832
37833 #. type: =head2
37834 #: ../src/guestfs.pod:306
37835 msgid "COPYING"
37836 msgstr "КОПІЮВАННЯ"
37837
37838 #. type: textblock
37839 #: ../src/guestfs.pod:308
37840 msgid ""
37841 "There are various different commands for copying between files and devices "
37842 "and in and out of the guest filesystem.  These are summarised in the table "
37843 "below."
37844 msgstr ""
37845
37846 #. type: =item
37847 #: ../src/guestfs.pod:314
37848 msgid "B<file> to B<file>"
37849 msgstr "B<файл> у B<файл>"
37850
37851 #. type: textblock
37852 #: ../src/guestfs.pod:316
37853 msgid ""
37854 "Use L</guestfs_cp> to copy a single file, or L</guestfs_cp_a> to copy "
37855 "directories recursively."
37856 msgstr ""
37857
37858 #. type: textblock
37859 #: ../src/guestfs.pod:319
37860 msgid ""
37861 "To copy part of a file (offset and size) use L</guestfs_copy_file_to_file>."
37862 msgstr ""
37863
37864 #. type: =item
37865 #: ../src/guestfs.pod:322
37866 msgid "B<file> to B<device>"
37867 msgstr ""
37868
37869 #. type: =item
37870 #: ../src/guestfs.pod:324
37871 msgid "B<device> to B<file>"
37872 msgstr ""
37873
37874 #. type: =item
37875 #: ../src/guestfs.pod:326
37876 msgid "B<device> to B<device>"
37877 msgstr ""
37878
37879 #. type: textblock
37880 #: ../src/guestfs.pod:328
37881 msgid ""
37882 "Use L</guestfs_copy_file_to_device>, L</guestfs_copy_device_to_file>, or L</"
37883 "guestfs_copy_device_to_device>."
37884 msgstr ""
37885
37886 #. type: textblock
37887 #: ../src/guestfs.pod:331
37888 msgid "Example: duplicate the contents of an LV:"
37889 msgstr ""
37890
37891 #. type: verbatim
37892 #: ../src/guestfs.pod:333
37893 #, no-wrap
37894 msgid ""
37895 " guestfs_copy_device_to_device (g,\n"
37896 "         \"/dev/VG/Original\", \"/dev/VG/Copy\",\n"
37897 "         /* -1 marks the end of the list of optional parameters */\n"
37898 "         -1);\n"
37899 "\n"
37900 msgstr ""
37901
37902 #. type: textblock
37903 #: ../src/guestfs.pod:338
37904 msgid ""
37905 "The destination (C</dev/VG/Copy>) must be at least as large as the source "
37906 "(C</dev/VG/Original>).  To copy less than the whole source device, use the "
37907 "optional C<size> parameter:"
37908 msgstr ""
37909
37910 #. type: verbatim
37911 #: ../src/guestfs.pod:342
37912 #, no-wrap
37913 msgid ""
37914 " guestfs_copy_device_to_device (g,\n"
37915 "         \"/dev/VG/Original\", \"/dev/VG/Copy\",\n"
37916 "         GUESTFS_COPY_DEVICE_TO_DEVICE_SIZE, 10000,\n"
37917 "         -1);\n"
37918 "\n"
37919 msgstr ""
37920
37921 #. type: =item
37922 #: ../src/guestfs.pod:347
37923 msgid "B<file on the host> to B<file or device>"
37924 msgstr ""
37925
37926 #. type: textblock
37927 #: ../src/guestfs.pod:349
37928 msgid "Use L</guestfs_upload>.  See L</UPLOADING> above."
37929 msgstr ""
37930
37931 #. type: =item
37932 #: ../src/guestfs.pod:351
37933 msgid "B<file or device> to B<file on the host>"
37934 msgstr ""
37935
37936 #. type: textblock
37937 #: ../src/guestfs.pod:353
37938 msgid "Use L</guestfs_download>.  See L</DOWNLOADING> above."
37939 msgstr ""
37940
37941 #. type: =head2
37942 #: ../src/guestfs.pod:357
37943 msgid "UPLOADING AND DOWNLOADING TO PIPES AND FILE DESCRIPTORS"
37944 msgstr ""
37945
37946 #. type: textblock
37947 #: ../src/guestfs.pod:359
37948 msgid ""
37949 "Calls like L</guestfs_upload>, L</guestfs_download>, L</guestfs_tar_in>, L</"
37950 "guestfs_tar_out> etc appear to only take filenames as arguments, so it "
37951 "appears you can only upload and download to files.  However many Un*x-like "
37952 "hosts let you use the special device files C</dev/stdin>, C</dev/stdout>, C</"
37953 "dev/stderr> and C</dev/fd/N> to read and write from stdin, stdout, stderr, "
37954 "and arbitrary file descriptor N."
37955 msgstr ""
37956
37957 #. type: textblock
37958 #: ../src/guestfs.pod:367
37959 msgid "For example, L<virt-cat(1)> writes its output to stdout by doing:"
37960 msgstr ""
37961
37962 #. type: verbatim
37963 #: ../src/guestfs.pod:370
37964 #, no-wrap
37965 msgid ""
37966 " guestfs_download (g, filename, \"/dev/stdout\");\n"
37967 "\n"
37968 msgstr ""
37969 " guestfs_download (g, filename, \"/dev/stdout\");\n"
37970 "\n"
37971
37972 #. type: textblock
37973 #: ../src/guestfs.pod:372
37974 msgid "and you can write tar output to a file descriptor C<fd> by doing:"
37975 msgstr ""
37976
37977 #. type: verbatim
37978 #: ../src/guestfs.pod:374
37979 #, no-wrap
37980 msgid ""
37981 " char devfd[64];\n"
37982 " snprintf (devfd, sizeof devfd, \"/dev/fd/%d\", fd);\n"
37983 " guestfs_tar_out (g, \"/\", devfd);\n"
37984 "\n"
37985 msgstr ""
37986 " char devfd[64];\n"
37987 " snprintf (devfd, sizeof devfd, \"/dev/fd/%d\", fd);\n"
37988 " guestfs_tar_out (g, \"/\", devfd);\n"
37989 "\n"
37990
37991 #. type: =head2
37992 #: ../src/guestfs.pod:378
37993 msgid "LISTING FILES"
37994 msgstr "СПИСКИ ФАЙЛІВ"
37995
37996 #. type: textblock
37997 #: ../src/guestfs.pod:380
37998 msgid ""
37999 "L</guestfs_ll> is just designed for humans to read (mainly when using the "
38000 "L<guestfish(1)>-equivalent command C<ll>)."
38001 msgstr ""
38002
38003 #. type: textblock
38004 #: ../src/guestfs.pod:383
38005 msgid ""
38006 "L</guestfs_ls> is a quick way to get a list of files in a directory from "
38007 "programs, as a flat list of strings."
38008 msgstr ""
38009
38010 #. type: textblock
38011 #: ../src/guestfs.pod:386
38012 msgid ""
38013 "L</guestfs_readdir> is a programmatic way to get a list of files in a "
38014 "directory, plus additional information about each one.  It is more "
38015 "equivalent to using the L<readdir(3)> call on a local filesystem."
38016 msgstr ""
38017
38018 #. type: textblock
38019 #: ../src/guestfs.pod:390
38020 msgid ""
38021 "L</guestfs_find> and L</guestfs_find0> can be used to recursively list files."
38022 msgstr ""
38023
38024 #. type: =head2
38025 #: ../src/guestfs.pod:393
38026 msgid "RUNNING COMMANDS"
38027 msgstr "ВИКОНАННЯ КОМАНД"
38028
38029 #. type: textblock
38030 #: ../src/guestfs.pod:395
38031 msgid ""
38032 "Although libguestfs is primarily an API for manipulating files inside guest "
38033 "images, we also provide some limited facilities for running commands inside "
38034 "guests."
38035 msgstr ""
38036
38037 #. type: textblock
38038 #: ../src/guestfs.pod:399
38039 msgid "There are many limitations to this:"
38040 msgstr ""
38041
38042 #. type: textblock
38043 #: ../src/guestfs.pod:405
38044 msgid ""
38045 "The kernel version that the command runs under will be different from what "
38046 "it expects."
38047 msgstr ""
38048
38049 #. type: textblock
38050 #: ../src/guestfs.pod:410
38051 msgid ""
38052 "If the command needs to communicate with daemons, then most likely they "
38053 "won't be running."
38054 msgstr ""
38055
38056 #. type: textblock
38057 #: ../src/guestfs.pod:415
38058 msgid "The command will be running in limited memory."
38059 msgstr ""
38060
38061 #. type: textblock
38062 #: ../src/guestfs.pod:419
38063 msgid ""
38064 "The network may not be available unless you enable it (see L</"
38065 "guestfs_set_network>)."
38066 msgstr ""
38067
38068 #. type: textblock
38069 #: ../src/guestfs.pod:424
38070 msgid "Only supports Linux guests (not Windows, BSD, etc)."
38071 msgstr ""
38072
38073 #. type: textblock
38074 #: ../src/guestfs.pod:428
38075 msgid ""
38076 "Architecture limitations (eg. won't work for a PPC guest on an X86 host)."
38077 msgstr ""
38078
38079 #. type: textblock
38080 #: ../src/guestfs.pod:433
38081 msgid ""
38082 "For SELinux guests, you may need to enable SELinux and load policy first.  "
38083 "See L</SELINUX> in this manpage."
38084 msgstr ""
38085
38086 #. type: textblock
38087 #: ../src/guestfs.pod:438
38088 msgid ""
38089 "I<Security:> It is not safe to run commands from untrusted, possibly "
38090 "malicious guests.  These commands may attempt to exploit your program by "
38091 "sending unexpected output.  They could also try to exploit the Linux kernel "
38092 "or qemu provided by the libguestfs appliance.  They could use the network "
38093 "provided by the libguestfs appliance to bypass ordinary network partitions "
38094 "and firewalls.  They could use the elevated privileges or different SELinux "
38095 "context of your program to their advantage."
38096 msgstr ""
38097
38098 #. type: textblock
38099 #: ../src/guestfs.pod:447
38100 msgid ""
38101 "A secure alternative is to use libguestfs to install a \"firstboot\" script "
38102 "(a script which runs when the guest next boots normally), and to have this "
38103 "script run the commands you want in the normal context of the running guest, "
38104 "network security and so on.  For information about other security issues, "
38105 "see L</SECURITY>."
38106 msgstr ""
38107
38108 #. type: textblock
38109 #: ../src/guestfs.pod:455
38110 msgid ""
38111 "The two main API calls to run commands are L</guestfs_command> and L</"
38112 "guestfs_sh> (there are also variations)."
38113 msgstr ""
38114
38115 #. type: textblock
38116 #: ../src/guestfs.pod:458
38117 msgid ""
38118 "The difference is that L</guestfs_sh> runs commands using the shell, so any "
38119 "shell globs, redirections, etc will work."
38120 msgstr ""
38121
38122 #. type: =head2
38123 #: ../src/guestfs.pod:461
38124 msgid "CONFIGURATION FILES"
38125 msgstr "ФАЙЛИ НАЛАШТУВАННЯ"
38126
38127 #. type: textblock
38128 #: ../src/guestfs.pod:463
38129 msgid ""
38130 "To read and write configuration files in Linux guest filesystems, we "
38131 "strongly recommend using Augeas.  For example, Augeas understands how to "
38132 "read and write, say, a Linux shadow password file or X.org configuration "
38133 "file, and so avoids you having to write that code."
38134 msgstr ""
38135
38136 #. type: textblock
38137 #: ../src/guestfs.pod:468
38138 msgid ""
38139 "The main Augeas calls are bound through the C<guestfs_aug_*> APIs.  We don't "
38140 "document Augeas itself here because there is excellent documentation on the "
38141 "L<http://augeas.net/> website."
38142 msgstr ""
38143
38144 #. type: textblock
38145 #: ../src/guestfs.pod:472
38146 msgid ""
38147 "If you don't want to use Augeas (you fool!) then try calling L</"
38148 "guestfs_read_lines> to get the file as a list of lines which you can iterate "
38149 "over."
38150 msgstr ""
38151
38152 #. type: =head2
38153 #: ../src/guestfs.pod:476
38154 msgid "SELINUX"
38155 msgstr "SELINUX"
38156
38157 #. type: textblock
38158 #: ../src/guestfs.pod:478
38159 msgid ""
38160 "We support SELinux guests.  To ensure that labeling happens correctly in "
38161 "SELinux guests, you need to enable SELinux and load the guest's policy:"
38162 msgstr ""
38163
38164 #. type: textblock
38165 #: ../src/guestfs.pod:486
38166 msgid "Before launching, do:"
38167 msgstr ""
38168
38169 #. type: verbatim
38170 #: ../src/guestfs.pod:488
38171 #, no-wrap
38172 msgid ""
38173 " guestfs_set_selinux (g, 1);\n"
38174 "\n"
38175 msgstr ""
38176 " guestfs_set_selinux (g, 1);\n"
38177 "\n"
38178
38179 #. type: textblock
38180 #: ../src/guestfs.pod:492
38181 msgid ""
38182 "After mounting the guest's filesystem(s), load the policy.  This is best "
38183 "done by running the L<load_policy(8)> command in the guest itself:"
38184 msgstr ""
38185
38186 #. type: verbatim
38187 #: ../src/guestfs.pod:496
38188 #, no-wrap
38189 msgid ""
38190 " guestfs_sh (g, \"/usr/sbin/load_policy\");\n"
38191 "\n"
38192 msgstr ""
38193 " guestfs_sh (g, \"/usr/sbin/load_policy\");\n"
38194 "\n"
38195
38196 #. type: textblock
38197 #: ../src/guestfs.pod:498
38198 msgid ""
38199 "(Older versions of C<load_policy> require you to specify the name of the "
38200 "policy file)."
38201 msgstr ""
38202
38203 #. type: textblock
38204 #: ../src/guestfs.pod:503
38205 msgid ""
38206 "Optionally, set the security context for the API.  The correct security "
38207 "context to use can only be known by inspecting the guest.  As an example:"
38208 msgstr ""
38209
38210 #. type: verbatim
38211 #: ../src/guestfs.pod:507
38212 #, no-wrap
38213 msgid ""
38214 " guestfs_setcon (g, \"unconfined_u:unconfined_r:unconfined_t:s0\");\n"
38215 "\n"
38216 msgstr ""
38217 " guestfs_setcon (g, \"unconfined_u:unconfined_r:unconfined_t:s0\");\n"
38218 "\n"
38219
38220 #. type: textblock
38221 #: ../src/guestfs.pod:511
38222 msgid "This will work for running commands and editing existing files."
38223 msgstr ""
38224
38225 #. type: textblock
38226 #: ../src/guestfs.pod:513
38227 msgid ""
38228 "When new files are created, you may need to label them explicitly, for "
38229 "example by running the external command C<restorecon pathname>."
38230 msgstr ""
38231
38232 #. type: =head2
38233 #: ../src/guestfs.pod:517
38234 msgid "UMASK"
38235 msgstr "UMASK"
38236
38237 #. type: textblock
38238 #: ../src/guestfs.pod:519
38239 msgid ""
38240 "Certain calls are affected by the current file mode creation mask (the "
38241 "\"umask\").  In particular ones which create files or directories, such as "
38242 "L</guestfs_touch>, L</guestfs_mknod> or L</guestfs_mkdir>.  This affects "
38243 "either the default mode that the file is created with or modifies the mode "
38244 "that you supply."
38245 msgstr ""
38246
38247 #. type: textblock
38248 #: ../src/guestfs.pod:525
38249 msgid ""
38250 "The default umask is C<022>, so files are created with modes such as C<0644> "
38251 "and directories with C<0755>."
38252 msgstr ""
38253
38254 #. type: textblock
38255 #: ../src/guestfs.pod:528
38256 msgid ""
38257 "There are two ways to avoid being affected by umask.  Either set umask to 0 "
38258 "(call C<guestfs_umask (g, 0)> early after launching).  Or call L</"
38259 "guestfs_chmod> after creating each file or directory."
38260 msgstr ""
38261
38262 #. type: textblock
38263 #: ../src/guestfs.pod:532
38264 msgid "For more information about umask, see L<umask(2)>."
38265 msgstr ""
38266
38267 #. type: textblock
38268 #: ../src/guestfs.pod:536
38269 msgid ""
38270 "Libguestfs allows you to access Linux guests which have been encrypted using "
38271 "whole disk encryption that conforms to the Linux Unified Key Setup (LUKS) "
38272 "standard.  This includes nearly all whole disk encryption systems used by "
38273 "modern Linux guests."
38274 msgstr ""
38275
38276 #. type: textblock
38277 #: ../src/guestfs.pod:542
38278 msgid ""
38279 "Use L</guestfs_vfs_type> to identify LUKS-encrypted block devices (it "
38280 "returns the string C<crypto_LUKS>)."
38281 msgstr ""
38282
38283 #. type: textblock
38284 #: ../src/guestfs.pod:545
38285 msgid ""
38286 "Then open these devices by calling L</guestfs_luks_open>.  Obviously you "
38287 "will require the passphrase!"
38288 msgstr ""
38289
38290 #. type: textblock
38291 #: ../src/guestfs.pod:548
38292 msgid ""
38293 "Opening a LUKS device creates a new device mapper device called C</dev/"
38294 "mapper/mapname> (where C<mapname> is the string you supply to L</"
38295 "guestfs_luks_open>).  Reads and writes to this mapper device are decrypted "
38296 "from and encrypted to the underlying block device respectively."
38297 msgstr ""
38298
38299 #. type: textblock
38300 #: ../src/guestfs.pod:554
38301 msgid ""
38302 "LVM volume groups on the device can be made visible by calling L</"
38303 "guestfs_vgscan> followed by L</guestfs_vg_activate_all>.  The logical volume"
38304 "(s) can now be mounted in the usual way."
38305 msgstr ""
38306
38307 #. type: textblock
38308 #: ../src/guestfs.pod:558
38309 msgid ""
38310 "Use the reverse process to close a LUKS device.  Unmount any logical volumes "
38311 "on it, deactivate the volume groups by caling C<guestfs_vg_activate (g, 0, "
38312 "[\"/dev/VG\"])>.  Then close the mapper device by calling L</"
38313 "guestfs_luks_close> on the C</dev/mapper/mapname> device (I<not> the "
38314 "underlying encrypted block device)."
38315 msgstr ""
38316
38317 #. type: =head2
38318 #: ../src/guestfs.pod:565
38319 msgid "INSPECTION"
38320 msgstr "ПЕРЕВІРКА"
38321
38322 #. type: textblock
38323 #: ../src/guestfs.pod:567
38324 msgid ""
38325 "Libguestfs has APIs for inspecting an unknown disk image to find out if it "
38326 "contains operating systems, an install CD or a live CD.  (These APIs used to "
38327 "be in a separate Perl-only library called L<Sys::Guestfs::Lib(3)> but since "
38328 "version 1.5.3 the most frequently used part of this library has been "
38329 "rewritten in C and moved into the core code)."
38330 msgstr ""
38331
38332 #. type: textblock
38333 #: ../src/guestfs.pod:574
38334 msgid ""
38335 "Add all disks belonging to the unknown virtual machine and call L</"
38336 "guestfs_launch> in the usual way."
38337 msgstr ""
38338
38339 #. type: textblock
38340 #: ../src/guestfs.pod:577
38341 msgid ""
38342 "Then call L</guestfs_inspect_os>.  This function uses other libguestfs calls "
38343 "and certain heuristics, and returns a list of operating systems that were "
38344 "found.  An empty list means none were found.  A single element is the root "
38345 "filesystem of the operating system.  For dual- or multi-boot guests, "
38346 "multiple roots can be returned, each one corresponding to a separate "
38347 "operating system.  (Multi-boot virtual machines are extremely rare in the "
38348 "world of virtualization, but since this scenario can happen, we have built "
38349 "libguestfs to deal with it.)"
38350 msgstr ""
38351
38352 #. type: textblock
38353 #: ../src/guestfs.pod:586
38354 msgid ""
38355 "For each root, you can then call various C<guestfs_inspect_get_*> functions "
38356 "to get additional details about that operating system.  For example, call L</"
38357 "guestfs_inspect_get_type> to return the string C<windows> or C<linux> for "
38358 "Windows and Linux-based operating systems respectively."
38359 msgstr ""
38360
38361 #. type: textblock
38362 #: ../src/guestfs.pod:592
38363 msgid ""
38364 "Un*x-like and Linux-based operating systems usually consist of several "
38365 "filesystems which are mounted at boot time (for example, a separate boot "
38366 "partition mounted on C</boot>).  The inspection rules are able to detect how "
38367 "filesystems correspond to mount points.  Call "
38368 "C<guestfs_inspect_get_mountpoints> to get this mapping.  It might return a "
38369 "hash table like this example:"
38370 msgstr ""
38371
38372 #. type: verbatim
38373 #: ../src/guestfs.pod:599
38374 #, no-wrap
38375 msgid ""
38376 " /boot => /dev/sda1\n"
38377 " /     => /dev/vg_guest/lv_root\n"
38378 " /usr  => /dev/vg_guest/lv_usr\n"
38379 "\n"
38380 msgstr ""
38381 " /boot => /dev/sda1\n"
38382 " /     => /dev/vg_guest/lv_root\n"
38383 " /usr  => /dev/vg_guest/lv_usr\n"
38384 "\n"
38385
38386 #. type: textblock
38387 #: ../src/guestfs.pod:603
38388 msgid ""
38389 "The caller can then make calls to L</guestfs_mount_options> to mount the "
38390 "filesystems as suggested."
38391 msgstr ""
38392
38393 #. type: textblock
38394 #: ../src/guestfs.pod:606
38395 msgid ""
38396 "Be careful to mount filesystems in the right order (eg. C</> before C</"
38397 "usr>).  Sorting the keys of the hash by length, shortest first, should work."
38398 msgstr ""
38399
38400 #. type: textblock
38401 #: ../src/guestfs.pod:610
38402 msgid ""
38403 "Inspection currently only works for some common operating systems.  "
38404 "Contributors are welcome to send patches for other operating systems that we "
38405 "currently cannot detect."
38406 msgstr ""
38407
38408 #. type: textblock
38409 #: ../src/guestfs.pod:614
38410 msgid ""
38411 "Encrypted disks must be opened before inspection.  See L</ENCRYPTED DISKS> "
38412 "for more details.  The L</guestfs_inspect_os> function just ignores any "
38413 "encrypted devices."
38414 msgstr ""
38415
38416 #. type: textblock
38417 #: ../src/guestfs.pod:618
38418 msgid ""
38419 "A note on the implementation: The call L</guestfs_inspect_os> performs "
38420 "inspection and caches the results in the guest handle.  Subsequent calls to "
38421 "C<guestfs_inspect_get_*> return this cached information, but I<do not> re-"
38422 "read the disks.  If you change the content of the guest disks, you can redo "
38423 "inspection by calling L</guestfs_inspect_os> again.  (L</"
38424 "guestfs_inspect_list_applications> works a little differently from the other "
38425 "calls and does read the disks.  See documentation for that function for "
38426 "details)."
38427 msgstr ""
38428
38429 #. type: =head3
38430 #: ../src/guestfs.pod:627
38431 msgid "INSPECTING INSTALL DISKS"
38432 msgstr ""
38433
38434 #. type: textblock
38435 #: ../src/guestfs.pod:629
38436 msgid ""
38437 "Libguestfs (since 1.9.4) can detect some install disks, install CDs, live "
38438 "CDs and more."
38439 msgstr ""
38440
38441 #. type: textblock
38442 #: ../src/guestfs.pod:632
38443 msgid ""
38444 "Call L</guestfs_inspect_get_format> to return the format of the operating "
38445 "system, which currently can be C<installed> (a regular operating system) or "
38446 "C<installer> (some sort of install disk)."
38447 msgstr ""
38448
38449 #. type: textblock
38450 #: ../src/guestfs.pod:636
38451 msgid ""
38452 "Further information is available about the operating system that can be "
38453 "installed using the regular inspection APIs like L</"
38454 "guestfs_inspect_get_product_name>, L</guestfs_inspect_get_major_version> etc."
38455 msgstr ""
38456
38457 #. type: textblock
38458 #: ../src/guestfs.pod:641
38459 msgid ""
38460 "Some additional information specific to installer disks is also available "
38461 "from the L</guestfs_inspect_is_live>, L</guestfs_inspect_is_netinst> and L</"
38462 "guestfs_inspect_is_multipart> calls."
38463 msgstr ""
38464
38465 #. type: =head2
38466 #: ../src/guestfs.pod:646
38467 msgid "SPECIAL CONSIDERATIONS FOR WINDOWS GUESTS"
38468 msgstr ""
38469
38470 #. type: textblock
38471 #: ../src/guestfs.pod:648
38472 msgid ""
38473 "Libguestfs can mount NTFS partitions.  It does this using the L<http://www."
38474 "ntfs-3g.org/> driver."
38475 msgstr ""
38476
38477 #. type: =head3
38478 #: ../src/guestfs.pod:651
38479 msgid "DRIVE LETTERS AND PATHS"
38480 msgstr "ЛІТЕРИ ДИСКІВ ТА ШЛЯХИ"
38481
38482 #. type: textblock
38483 #: ../src/guestfs.pod:653
38484 msgid ""
38485 "DOS and Windows still use drive letters, and the filesystems are always "
38486 "treated as case insensitive by Windows itself, and therefore you might find "
38487 "a Windows configuration file referring to a path like C<c:\\windows"
38488 "\\system32>.  When the filesystem is mounted in libguestfs, that directory "
38489 "might be referred to as C</WINDOWS/System32>."
38490 msgstr ""
38491
38492 #. type: textblock
38493 #: ../src/guestfs.pod:659
38494 msgid ""
38495 "Drive letter mappings can be found using inspection (see L</INSPECTION> and "
38496 "L</guestfs_inspect_get_drive_mappings>)"
38497 msgstr ""
38498
38499 #. type: textblock
38500 #: ../src/guestfs.pod:662
38501 msgid ""
38502 "Dealing with separator characters (backslash vs forward slash) is outside "
38503 "the scope of libguestfs, but usually a simple character replacement will "
38504 "work."
38505 msgstr ""
38506
38507 #. type: textblock
38508 #: ../src/guestfs.pod:666
38509 msgid ""
38510 "To resolve the case insensitivity of paths, call L</"
38511 "guestfs_case_sensitive_path>."
38512 msgstr ""
38513
38514 #. type: =head3
38515 #: ../src/guestfs.pod:669
38516 msgid "ACCESSING THE WINDOWS REGISTRY"
38517 msgstr "ДОСТУП ДО РЕГІСТРУ WINDOWS"
38518
38519 #. type: textblock
38520 #: ../src/guestfs.pod:671
38521 msgid ""
38522 "Libguestfs also provides some help for decoding Windows Registry \"hive\" "
38523 "files, through the library C<hivex> which is part of the libguestfs project "
38524 "although ships as a separate tarball.  You have to locate and download the "
38525 "hive file(s) yourself, and then pass them to C<hivex> functions.  See also "
38526 "the programs L<hivexml(1)>, L<hivexsh(1)>, L<hivexregedit(1)> and L<virt-win-"
38527 "reg(1)> for more help on this issue."
38528 msgstr ""
38529
38530 #. type: =head3
38531 #: ../src/guestfs.pod:679
38532 msgid "SYMLINKS ON NTFS-3G FILESYSTEMS"
38533 msgstr "СИМВОЛІЧНІ ПОСИЛАННЯ У ФАЙЛОВИХ СИСТЕМАХ NTFS-3G"
38534
38535 #. type: textblock
38536 #: ../src/guestfs.pod:681
38537 msgid ""
38538 "Ntfs-3g tries to rewrite \"Junction Points\" and NTFS \"symbolic links\" to "
38539 "provide something which looks like a Linux symlink.  The way it tries to do "
38540 "the rewriting is described here:"
38541 msgstr ""
38542
38543 #. type: textblock
38544 #: ../src/guestfs.pod:685
38545 msgid ""
38546 "L<http://www.tuxera.com/community/ntfs-3g-advanced/junction-points-and-"
38547 "symbolic-links/>"
38548 msgstr ""
38549 "L<http://www.tuxera.com/community/ntfs-3g-advanced/junction-points-and-"
38550 "symbolic-links/>"
38551
38552 #. type: textblock
38553 #: ../src/guestfs.pod:687
38554 msgid ""
38555 "The essential problem is that ntfs-3g simply does not have enough "
38556 "information to do a correct job.  NTFS links can contain drive letters and "
38557 "references to external device GUIDs that ntfs-3g has no way of resolving.  "
38558 "It is almost certainly the case that libguestfs callers should ignore what "
38559 "ntfs-3g does (ie. don't use L</guestfs_readlink> on NTFS volumes)."
38560 msgstr ""
38561
38562 #. type: textblock
38563 #: ../src/guestfs.pod:694
38564 msgid ""
38565 "Instead if you encounter a symbolic link on an ntfs-3g filesystem, use L</"
38566 "guestfs_lgetxattr> to read the C<system.ntfs_reparse_data> extended "
38567 "attribute, and read the raw reparse data from that (you can find the format "
38568 "documented in various places around the web)."
38569 msgstr ""
38570
38571 #. type: =head3
38572 #: ../src/guestfs.pod:699
38573 msgid "EXTENDED ATTRIBUTES ON NTFS-3G FILESYSTEMS"
38574 msgstr ""
38575
38576 #. type: textblock
38577 #: ../src/guestfs.pod:701
38578 msgid ""
38579 "There are other useful extended attributes that can be read from ntfs-3g "
38580 "filesystems (using L</guestfs_getxattr>).  See:"
38581 msgstr ""
38582
38583 #. type: textblock
38584 #: ../src/guestfs.pod:704
38585 msgid ""
38586 "L<http://www.tuxera.com/community/ntfs-3g-advanced/extended-attributes/>"
38587 msgstr ""
38588 "L<http://www.tuxera.com/community/ntfs-3g-advanced/extended-attributes/>"
38589
38590 #. type: =head2
38591 #: ../src/guestfs.pod:706
38592 msgid "USING LIBGUESTFS WITH OTHER PROGRAMMING LANGUAGES"
38593 msgstr "ВИКОРИСТАННЯ LIBGUESTFS ЗА ДОПОМОГОЮ ІНШИХ МОВ ПРОГРАМУВАННЯ"
38594
38595 #. type: textblock
38596 #: ../src/guestfs.pod:708
38597 msgid ""
38598 "Although we don't want to discourage you from using the C API, we will "
38599 "mention here that the same API is also available in other languages."
38600 msgstr ""
38601
38602 #. type: textblock
38603 #: ../src/guestfs.pod:711
38604 msgid ""
38605 "The API is broadly identical in all supported languages.  This means that "
38606 "the C call C<guestfs_add_drive_ro(g,file)> is C<$g-E<gt>add_drive_ro($file)> "
38607 "in Perl, C<g.add_drive_ro(file)> in Python, and C<g#add_drive_ro file> in "
38608 "OCaml.  In other words, a straightforward, predictable isomorphism between "
38609 "each language."
38610 msgstr ""
38611
38612 #. type: textblock
38613 #: ../src/guestfs.pod:717
38614 msgid ""
38615 "Error messages are automatically transformed into exceptions if the language "
38616 "supports it."
38617 msgstr ""
38618
38619 #. type: textblock
38620 #: ../src/guestfs.pod:720
38621 msgid ""
38622 "We don't try to \"object orientify\" parts of the API in OO languages, "
38623 "although contributors are welcome to write higher level APIs above what we "
38624 "provide in their favourite languages if they wish."
38625 msgstr ""
38626
38627 #. type: =item
38628 #: ../src/guestfs.pod:726
38629 msgid "B<C++>"
38630 msgstr "B<C++>"
38631
38632 #. type: textblock
38633 #: ../src/guestfs.pod:728
38634 msgid ""
38635 "You can use the I<guestfs.h> header file from C++ programs.  The C++ API is "
38636 "identical to the C API.  C++ classes and exceptions are not used."
38637 msgstr ""
38638
38639 #. type: =item
38640 #: ../src/guestfs.pod:732
38641 msgid "B<C#>"
38642 msgstr "B<C#>"
38643
38644 #. type: textblock
38645 #: ../src/guestfs.pod:734
38646 msgid ""
38647 "The C# bindings are highly experimental.  Please read the warnings at the "
38648 "top of C<csharp/Libguestfs.cs>."
38649 msgstr ""
38650
38651 #. type: =item
38652 #: ../src/guestfs.pod:737
38653 msgid "B<Erlang>"
38654 msgstr ""
38655
38656 #. type: textblock
38657 #: ../src/guestfs.pod:739
38658 msgid "See L<guestfs-erlang(3)>."
38659 msgstr ""
38660
38661 #. type: =item
38662 #: ../src/guestfs.pod:741
38663 msgid "B<Haskell>"
38664 msgstr "B<Haskell>"
38665
38666 #. type: textblock
38667 #: ../src/guestfs.pod:743
38668 msgid ""
38669 "This is the only language binding that is working but incomplete.  Only "
38670 "calls which return simple integers have been bound in Haskell, and we are "
38671 "looking for help to complete this binding."
38672 msgstr ""
38673
38674 #. type: =item
38675 #: ../src/guestfs.pod:747
38676 msgid "B<Java>"
38677 msgstr "B<Java>"
38678
38679 #. type: textblock
38680 #: ../src/guestfs.pod:749
38681 msgid ""
38682 "Full documentation is contained in the Javadoc which is distributed with "
38683 "libguestfs.  For examples, see L<guestfs-java(3)>."
38684 msgstr ""
38685
38686 #. type: =item
38687 #: ../src/guestfs.pod:752
38688 msgid "B<OCaml>"
38689 msgstr "B<OCaml>"
38690
38691 #. type: textblock
38692 #: ../src/guestfs.pod:754
38693 msgid "See L<guestfs-ocaml(3)>."
38694 msgstr "Див. L<guestfs-ocaml(3)>."
38695
38696 #. type: =item
38697 #: ../src/guestfs.pod:756
38698 msgid "B<Perl>"
38699 msgstr "B<Perl>"
38700
38701 #. type: textblock
38702 #: ../src/guestfs.pod:758
38703 msgid "See L<guestfs-perl(3)> and L<Sys::Guestfs(3)>."
38704 msgstr "Див. L<guestfs-perl(3)> та L<Sys::Guestfs(3)>."
38705
38706 #. type: =item
38707 #: ../src/guestfs.pod:760
38708 msgid "B<PHP>"
38709 msgstr "B<PHP>"
38710
38711 #. type: textblock
38712 #: ../src/guestfs.pod:762
38713 msgid ""
38714 "For documentation see C<README-PHP> supplied with libguestfs sources or in "
38715 "the php-libguestfs package for your distribution."
38716 msgstr ""
38717
38718 #. type: textblock
38719 #: ../src/guestfs.pod:765
38720 msgid "The PHP binding only works correctly on 64 bit machines."
38721 msgstr ""
38722
38723 #. type: =item
38724 #: ../src/guestfs.pod:767
38725 msgid "B<Python>"
38726 msgstr "B<Python>"
38727
38728 #. type: textblock
38729 #: ../src/guestfs.pod:769
38730 msgid "See L<guestfs-python(3)>."
38731 msgstr "Див. L<guestfs-python(3)>."
38732
38733 #. type: =item
38734 #: ../src/guestfs.pod:771
38735 msgid "B<Ruby>"
38736 msgstr "B<Ruby>"
38737
38738 #. type: textblock
38739 #: ../src/guestfs.pod:773
38740 msgid "See L<guestfs-ruby(3)>."
38741 msgstr "Див. L<guestfs-ruby(3)>."
38742
38743 #. type: =item
38744 #: ../src/guestfs.pod:775
38745 msgid "B<shell scripts>"
38746 msgstr "B<скрипти оболонки>"
38747
38748 #. type: textblock
38749 #: ../src/guestfs.pod:777
38750 msgid "See L<guestfish(1)>."
38751 msgstr "Див. L<guestfish(1)>."
38752
38753 #. type: =head2
38754 #: ../src/guestfs.pod:781
38755 msgid "LIBGUESTFS GOTCHAS"
38756 msgstr ""
38757
38758 #. type: textblock
38759 #: ../src/guestfs.pod:783
38760 msgid ""
38761 "L<http://en.wikipedia.org/wiki/Gotcha_(programming)>: \"A feature of a "
38762 "system [...] that works in the way it is documented but is counterintuitive "
38763 "and almost invites mistakes.\""
38764 msgstr ""
38765
38766 #. type: textblock
38767 #: ../src/guestfs.pod:787
38768 msgid ""
38769 "Since we developed libguestfs and the associated tools, there are several "
38770 "things we would have designed differently, but are now stuck with for "
38771 "backwards compatibility or other reasons.  If there is ever a libguestfs 2.0 "
38772 "release, you can expect these to change.  Beware of them."
38773 msgstr ""
38774
38775 #. type: =item
38776 #: ../src/guestfs.pod:795
38777 msgid "Autosync / forgetting to sync."
38778 msgstr ""
38779
38780 #. type: textblock
38781 #: ../src/guestfs.pod:797
38782 msgid ""
38783 "I<Update:> Autosync is enabled by default for all API users starting from "
38784 "libguestfs 1.5.24.  This section only applies to older versions."
38785 msgstr ""
38786
38787 #. type: textblock
38788 #: ../src/guestfs.pod:800
38789 msgid ""
38790 "When modifying a filesystem from C or another language, you B<must> unmount "
38791 "all filesystems and call L</guestfs_sync> explicitly before you close the "
38792 "libguestfs handle.  You can also call:"
38793 msgstr ""
38794
38795 #. type: verbatim
38796 #: ../src/guestfs.pod:804
38797 #, no-wrap
38798 msgid ""
38799 " guestfs_set_autosync (g, 1);\n"
38800 "\n"
38801 msgstr ""
38802 " guestfs_set_autosync (g, 1);\n"
38803 "\n"
38804
38805 #. type: textblock
38806 #: ../src/guestfs.pod:806
38807 msgid ""
38808 "to have the unmount/sync done automatically for you when the handle 'g' is "
38809 "closed.  (This feature is called \"autosync\", L</guestfs_set_autosync> q.v.)"
38810 msgstr ""
38811
38812 #. type: textblock
38813 #: ../src/guestfs.pod:810
38814 msgid ""
38815 "If you forget to do this, then it is entirely possible that your changes "
38816 "won't be written out, or will be partially written, or (very rarely) that "
38817 "you'll get disk corruption."
38818 msgstr ""
38819
38820 #. type: textblock
38821 #: ../src/guestfs.pod:814
38822 msgid ""
38823 "Note that in L<guestfish(3)> autosync is the default.  So quick and dirty "
38824 "guestfish scripts that forget to sync will work just fine, which can make "
38825 "this very puzzling if you are trying to debug a problem."
38826 msgstr ""
38827
38828 #. type: =item
38829 #: ../src/guestfs.pod:818
38830 msgid "Mount option C<-o sync> should not be the default."
38831 msgstr ""
38832
38833 #. type: textblock
38834 #: ../src/guestfs.pod:820
38835 msgid ""
38836 "I<Update:> L</guestfs_mount> no longer adds any options starting from "
38837 "libguestfs 1.13.16.  This section only applies to older versions."
38838 msgstr ""
38839
38840 #. type: textblock
38841 #: ../src/guestfs.pod:823
38842 msgid ""
38843 "If you use L</guestfs_mount>, then C<-o sync,noatime> are added implicitly.  "
38844 "However C<-o sync> does not add any reliability benefit, but does have a "
38845 "very large performance impact."
38846 msgstr ""
38847
38848 #. type: textblock
38849 #: ../src/guestfs.pod:827
38850 msgid ""
38851 "The work around is to use L</guestfs_mount_options> and set the mount "
38852 "options that you actually want to use."
38853 msgstr ""
38854
38855 #. type: =item
38856 #: ../src/guestfs.pod:830
38857 msgid "Read-only should be the default."
38858 msgstr ""
38859
38860 #. type: textblock
38861 #: ../src/guestfs.pod:832
38862 msgid ""
38863 "In L<guestfish(3)>, I<--ro> should be the default, and you should have to "
38864 "specify I<--rw> if you want to make changes to the image."
38865 msgstr ""
38866
38867 #. type: textblock
38868 #: ../src/guestfs.pod:835
38869 msgid "This would reduce the potential to corrupt live VM images."
38870 msgstr ""
38871
38872 #. type: textblock
38873 #: ../src/guestfs.pod:837
38874 msgid ""
38875 "Note that many filesystems change the disk when you just mount and unmount, "
38876 "even if you didn't perform any writes.  You need to use L</"
38877 "guestfs_add_drive_ro> to guarantee that the disk is not changed."
38878 msgstr ""
38879
38880 #. type: =item
38881 #: ../src/guestfs.pod:841
38882 msgid "guestfish command line is hard to use."
38883 msgstr ""
38884
38885 #. type: textblock
38886 #: ../src/guestfs.pod:843
38887 msgid ""
38888 "C<guestfish disk.img> doesn't do what people expect (open C<disk.img> for "
38889 "examination).  It tries to run a guestfish command C<disk.img> which doesn't "
38890 "exist, so it fails.  In earlier versions of guestfish the error message was "
38891 "also unintuitive, but we have corrected this since.  Like the Bourne shell, "
38892 "we should have used C<guestfish -c command> to run commands."
38893 msgstr ""
38894
38895 #. type: =item
38896 #: ../src/guestfs.pod:850
38897 msgid "guestfish megabyte modifiers don't work right on all commands"
38898 msgstr ""
38899
38900 #. type: textblock
38901 #: ../src/guestfs.pod:852
38902 msgid ""
38903 "In recent guestfish you can use C<1M> to mean 1 megabyte (and similarly for "
38904 "other modifiers).  What guestfish actually does is to multiply the number "
38905 "part by the modifier part and pass the result to the C API.  However this "
38906 "doesn't work for a few APIs which aren't expecting bytes, but are already "
38907 "expecting some other unit (eg. megabytes)."
38908 msgstr ""
38909
38910 #. type: textblock
38911 #: ../src/guestfs.pod:859
38912 msgid "The most common is L</guestfs_lvcreate>.  The guestfish command:"
38913 msgstr ""
38914
38915 #. type: verbatim
38916 #: ../src/guestfs.pod:861
38917 #, no-wrap
38918 msgid ""
38919 " lvcreate LV VG 100M\n"
38920 "\n"
38921 msgstr ""
38922 " lvcreate LV VG 100M\n"
38923 "\n"
38924
38925 #. type: textblock
38926 #: ../src/guestfs.pod:863
38927 msgid ""
38928 "does not do what you might expect.  Instead because L</guestfs_lvcreate> is "
38929 "already expecting megabytes, this tries to create a 100 I<terabyte> (100 "
38930 "megabytes * megabytes) logical volume.  The error message you get from this "
38931 "is also a little obscure."
38932 msgstr ""
38933
38934 #. type: textblock
38935 #: ../src/guestfs.pod:868
38936 msgid ""
38937 "This could be fixed in the generator by specially marking parameters and "
38938 "return values which take bytes or other units."
38939 msgstr ""
38940
38941 #. type: =item
38942 #: ../src/guestfs.pod:871
38943 msgid "Ambiguity between devices and paths"
38944 msgstr ""
38945
38946 #. type: textblock
38947 #: ../src/guestfs.pod:873
38948 msgid ""
38949 "There is a subtle ambiguity in the API between a device name (eg. C</dev/"
38950 "sdb2>) and a similar pathname.  A file might just happen to be called "
38951 "C<sdb2> in the directory C</dev> (consider some non-Unix VM image)."
38952 msgstr ""
38953
38954 #. type: textblock
38955 #: ../src/guestfs.pod:878
38956 msgid ""
38957 "In the current API we usually resolve this ambiguity by having two separate "
38958 "calls, for example L</guestfs_checksum> and L</guestfs_checksum_device>.  "
38959 "Some API calls are ambiguous and (incorrectly) resolve the problem by "
38960 "detecting if the path supplied begins with C</dev/>."
38961 msgstr ""
38962
38963 #. type: textblock
38964 #: ../src/guestfs.pod:884
38965 msgid ""
38966 "To avoid both the ambiguity and the need to duplicate some calls, we could "
38967 "make paths/devices into structured names.  One way to do this would be to "
38968 "use a notation like grub (C<hd(0,0)>), although nobody really likes this "
38969 "aspect of grub.  Another way would be to use a structured type, equivalent "
38970 "to this OCaml type:"
38971 msgstr ""
38972
38973 #. type: verbatim
38974 #: ../src/guestfs.pod:890
38975 #, no-wrap
38976 msgid ""
38977 " type path = Path of string | Device of int | Partition of int * int\n"
38978 "\n"
38979 msgstr ""
38980
38981 #. type: textblock
38982 #: ../src/guestfs.pod:892
38983 msgid "which would allow you to pass arguments like:"
38984 msgstr ""
38985
38986 #. type: verbatim
38987 #: ../src/guestfs.pod:894
38988 #, no-wrap
38989 msgid ""
38990 " Path \"/foo/bar\"\n"
38991 " Device 1            (* /dev/sdb, or perhaps /dev/sda *)\n"
38992 " Partition (1, 2)    (* /dev/sdb2 (or is it /dev/sda2 or /dev/sdb3?) *)\n"
38993 " Path \"/dev/sdb2\"    (* not a device *)\n"
38994 "\n"
38995 msgstr ""
38996
38997 #. type: textblock
38998 #: ../src/guestfs.pod:899
38999 msgid ""
39000 "As you can see there are still problems to resolve even with this "
39001 "representation.  Also consider how it might work in guestfish."
39002 msgstr ""
39003
39004 #. type: =head2
39005 #: ../src/guestfs.pod:904
39006 msgid "KEYS AND PASSPHRASES"
39007 msgstr "КЛЮЧІ І ПАРОЛІ"
39008
39009 #. type: textblock
39010 #: ../src/guestfs.pod:906
39011 msgid ""
39012 "Certain libguestfs calls take a parameter that contains sensitive key "
39013 "material, passed in as a C string."
39014 msgstr ""
39015
39016 #. type: textblock
39017 #: ../src/guestfs.pod:909
39018 msgid ""
39019 "In the future we would hope to change the libguestfs implementation so that "
39020 "keys are L<mlock(2)>-ed into physical RAM, and thus can never end up in "
39021 "swap.  However this is I<not> done at the moment, because of the complexity "
39022 "of such an implementation."
39023 msgstr ""
39024
39025 #. type: textblock
39026 #: ../src/guestfs.pod:914
39027 msgid ""
39028 "Therefore you should be aware that any key parameter you pass to libguestfs "
39029 "might end up being written out to the swap partition.  If this is a concern, "
39030 "scrub the swap partition or don't use libguestfs on encrypted devices."
39031 msgstr ""
39032
39033 #. type: =head2
39034 #: ../src/guestfs.pod:919
39035 msgid "MULTIPLE HANDLES AND MULTIPLE THREADS"
39036 msgstr ""
39037
39038 #. type: textblock
39039 #: ../src/guestfs.pod:921
39040 msgid ""
39041 "All high-level libguestfs actions are synchronous.  If you want to use "
39042 "libguestfs asynchronously then you must create a thread."
39043 msgstr ""
39044
39045 #. type: textblock
39046 #: ../src/guestfs.pod:924
39047 msgid ""
39048 "Only use the handle from a single thread.  Either use the handle exclusively "
39049 "from one thread, or provide your own mutex so that two threads cannot issue "
39050 "calls on the same handle at the same time."
39051 msgstr ""
39052
39053 #. type: textblock
39054 #: ../src/guestfs.pod:928
39055 msgid ""
39056 "See the graphical program guestfs-browser for one possible architecture for "
39057 "multithreaded programs using libvirt and libguestfs."
39058 msgstr ""
39059
39060 #. type: =head2
39061 #: ../src/guestfs.pod:931
39062 msgid "PATH"
39063 msgstr "ШЛЯХ"
39064
39065 #. type: textblock
39066 #: ../src/guestfs.pod:933
39067 msgid ""
39068 "Libguestfs needs a supermin appliance, which it finds by looking along an "
39069 "internal path."
39070 msgstr ""
39071
39072 #. type: textblock
39073 #: ../src/guestfs.pod:936
39074 msgid ""
39075 "By default it looks for these in the directory C<$libdir/guestfs> (eg. C</"
39076 "usr/local/lib/guestfs> or C</usr/lib64/guestfs>)."
39077 msgstr ""
39078
39079 #. type: textblock
39080 #: ../src/guestfs.pod:939
39081 msgid ""
39082 "Use L</guestfs_set_path> or set the environment variable L</LIBGUESTFS_PATH> "
39083 "to change the directories that libguestfs will search in.  The value is a "
39084 "colon-separated list of paths.  The current directory is I<not> searched "
39085 "unless the path contains an empty element or C<.>.  For example "
39086 "C<LIBGUESTFS_PATH=:/usr/lib/guestfs> would search the current directory and "
39087 "then C</usr/lib/guestfs>."
39088 msgstr ""
39089
39090 #. type: =head2
39091 #: ../src/guestfs.pod:946
39092 msgid "QEMU WRAPPERS"
39093 msgstr ""
39094
39095 #. type: textblock
39096 #: ../src/guestfs.pod:948
39097 msgid ""
39098 "If you want to compile your own qemu, run qemu from a non-standard location, "
39099 "or pass extra arguments to qemu, then you can write a shell-script wrapper "
39100 "around qemu."
39101 msgstr ""
39102
39103 #. type: textblock
39104 #: ../src/guestfs.pod:952
39105 msgid ""
39106 "There is one important rule to remember: you I<must C<exec qemu>> as the "
39107 "last command in the shell script (so that qemu replaces the shell and "
39108 "becomes the direct child of the libguestfs-using program).  If you don't do "
39109 "this, then the qemu process won't be cleaned up correctly."
39110 msgstr ""
39111
39112 #. type: textblock
39113 #: ../src/guestfs.pod:957
39114 msgid ""
39115 "Here is an example of a wrapper, where I have built my own copy of qemu from "
39116 "source:"
39117 msgstr ""
39118
39119 #. type: verbatim
39120 #: ../src/guestfs.pod:960
39121 #, no-wrap
39122 msgid ""
39123 " #!/bin/sh -\n"
39124 " qemudir=/home/rjones/d/qemu\n"
39125 " exec $qemudir/x86_64-softmmu/qemu-system-x86_64 -L $qemudir/pc-bios \"$@\"\n"
39126 "\n"
39127 msgstr ""
39128 " #!/bin/sh -\n"
39129 " qemudir=/home/rjones/d/qemu\n"
39130 " exec $qemudir/x86_64-softmmu/qemu-system-x86_64 -L $qemudir/pc-bios \"$@\"\n"
39131 "\n"
39132
39133 #. type: textblock
39134 #: ../src/guestfs.pod:964
39135 msgid ""
39136 "Save this script as C</tmp/qemu.wrapper> (or wherever), C<chmod +x>, and "
39137 "then use it by setting the LIBGUESTFS_QEMU environment variable.  For "
39138 "example:"
39139 msgstr ""
39140
39141 #. type: verbatim
39142 #: ../src/guestfs.pod:968
39143 #, no-wrap
39144 msgid ""
39145 " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n"
39146 "\n"
39147 msgstr ""
39148 " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n"
39149 "\n"
39150
39151 #. type: textblock
39152 #: ../src/guestfs.pod:970
39153 msgid ""
39154 "Note that libguestfs also calls qemu with the -help and -version options in "
39155 "order to determine features."
39156 msgstr ""
39157
39158 #. type: textblock
39159 #: ../src/guestfs.pod:973
39160 msgid ""
39161 "Wrappers can also be used to edit the options passed to qemu.  In the "
39162 "following example, the C<-machine ...> option (C<-machine> and the following "
39163 "argument) are removed from the command line and replaced with C<-machine pc,"
39164 "accel=tcg>.  The while loop iterates over the options until it finds the "
39165 "right one to remove, putting the remaining options into the C<args> array."
39166 msgstr ""
39167
39168 #. type: verbatim
39169 #: ../src/guestfs.pod:982
39170 #, no-wrap
39171 msgid ""
39172 " i=0\n"
39173 " while [ $# -gt 0 ]; do\n"
39174 "     case \"$1\" in\n"
39175 "     -machine)\n"
39176 "         shift 2;;\n"
39177 "     *)\n"
39178 "         args[i]=\"$1\"\n"
39179 "         (( i++ ))\n"
39180 "         shift ;;\n"
39181 "     esac\n"
39182 " done\n"
39183 " \n"
39184 msgstr ""
39185
39186 #. type: verbatim
39187 #: ../src/guestfs.pod:994
39188 #, no-wrap
39189 msgid ""
39190 " exec qemu-kvm -machine pc,accel=tcg \"${args[@]}\"\n"
39191 "\n"
39192 msgstr ""
39193
39194 #. type: =head2
39195 #: ../src/guestfs.pod:996
39196 msgid "ATTACHING TO RUNNING DAEMONS"
39197 msgstr "ДОЛУЧЕННЯ ДО ЗАПУЩЕНИХ ФОНОВИХ СЛУЖБ"
39198
39199 #. type: textblock
39200 #: ../src/guestfs.pod:998
39201 msgid ""
39202 "I<Note (1):> This is B<highly experimental> and has a tendency to eat "
39203 "babies.  Use with caution."
39204 msgstr ""
39205
39206 #. type: textblock
39207 #: ../src/guestfs.pod:1001
39208 msgid ""
39209 "I<Note (2):> This section explains how to attach to a running daemon from a "
39210 "low level perspective.  For most users, simply using virt tools such as "
39211 "L<guestfish(1)> with the I<--live> option will \"just work\"."
39212 msgstr ""
39213
39214 #. type: =head3
39215 #: ../src/guestfs.pod:1005
39216 msgid "Using guestfs_set_attach_method"
39217 msgstr "За допомогою guestfs_set_attach_method"
39218
39219 #. type: textblock
39220 #: ../src/guestfs.pod:1007
39221 msgid ""
39222 "By calling L</guestfs_set_attach_method> you can change how the library "
39223 "connects to the C<guestfsd> daemon in L</guestfs_launch> (read L</"
39224 "ARCHITECTURE> for some background)."
39225 msgstr ""
39226
39227 #. type: textblock
39228 #: ../src/guestfs.pod:1011
39229 msgid ""
39230 "The normal attach method is C<appliance>, where a small appliance is created "
39231 "containing the daemon, and then the library connects to this."
39232 msgstr ""
39233
39234 #. type: textblock
39235 #: ../src/guestfs.pod:1014
39236 msgid ""
39237 "Setting attach method to C<unix:I<path>> (where I<path> is the path of a "
39238 "Unix domain socket) causes L</guestfs_launch> to connect to an existing "
39239 "daemon over the Unix domain socket."
39240 msgstr ""
39241
39242 #. type: textblock
39243 #: ../src/guestfs.pod:1018
39244 msgid ""
39245 "The normal use for this is to connect to a running virtual machine that "
39246 "contains a C<guestfsd> daemon, and send commands so you can read and write "
39247 "files inside the live virtual machine."
39248 msgstr ""
39249
39250 #. type: =head3
39251 #: ../src/guestfs.pod:1022
39252 msgid "Using guestfs_add_domain with live flag"
39253 msgstr "За допомогою guestfs_add_domain з прапорцем live"
39254
39255 #. type: textblock
39256 #: ../src/guestfs.pod:1024
39257 msgid ""
39258 "L</guestfs_add_domain> provides some help for getting the correct attach "
39259 "method.  If you pass the C<live> option to this function, then (if the "
39260 "virtual machine is running) it will examine the libvirt XML looking for a "
39261 "virtio-serial channel to connect to:"
39262 msgstr ""
39263
39264 #. type: verbatim
39265 #: ../src/guestfs.pod:1030
39266 #, no-wrap
39267 msgid ""
39268 " <domain>\n"
39269 "   ...\n"
39270 "   <devices>\n"
39271 "     ...\n"
39272 "     <channel type='unix'>\n"
39273 "       <source mode='bind' path='/path/to/socket'/>\n"
39274 "       <target type='virtio' name='org.libguestfs.channel.0'/>\n"
39275 "     </channel>\n"
39276 "     ...\n"
39277 "   </devices>\n"
39278 " </domain>\n"
39279 "\n"
39280 msgstr ""
39281 " <domain>\n"
39282 "   ...\n"
39283 "   <devices>\n"
39284 "     ...\n"
39285 "     <channel type='unix'>\n"
39286 "       <source mode='bind' path='/path/to/socket'/>\n"
39287 "       <target type='virtio' name='org.libguestfs.channel.0'/>\n"
39288 "     </channel>\n"
39289 "     ...\n"
39290 "   </devices>\n"
39291 " </domain>\n"
39292 "\n"
39293
39294 #. type: textblock
39295 #: ../src/guestfs.pod:1042
39296 msgid ""
39297 "L</guestfs_add_domain> extracts C</path/to/socket> and sets the attach "
39298 "method to C<unix:/path/to/socket>."
39299 msgstr ""
39300
39301 #. type: textblock
39302 #: ../src/guestfs.pod:1045
39303 msgid ""
39304 "Some of the libguestfs tools (including guestfish) support a I<--live> "
39305 "option which is passed through to L</guestfs_add_domain> thus allowing you "
39306 "to attach to and modify live virtual machines."
39307 msgstr ""
39308
39309 #. type: textblock
39310 #: ../src/guestfs.pod:1049
39311 msgid ""
39312 "The virtual machine needs to have been set up beforehand so that it has the "
39313 "virtio-serial channel and so that guestfsd is running inside it."
39314 msgstr ""
39315
39316 #. type: =head2
39317 #: ../src/guestfs.pod:1053
39318 msgid "ABI GUARANTEE"
39319 msgstr "ГАРАНТІЯ ЩОДО ABI"
39320
39321 #. type: textblock
39322 #: ../src/guestfs.pod:1055
39323 msgid ""
39324 "We guarantee the libguestfs ABI (binary interface), for public, high-level "
39325 "actions as outlined in this section.  Although we will deprecate some "
39326 "actions, for example if they get replaced by newer calls, we will keep the "
39327 "old actions forever.  This allows you the developer to program in confidence "
39328 "against the libguestfs API."
39329 msgstr ""
39330
39331 #. type: =head2
39332 #: ../src/guestfs.pod:1061
39333 msgid "BLOCK DEVICE NAMING"
39334 msgstr "ІМЕНУВАННЯ БЛОКОВИХ ПРИСТРОЇВ"
39335
39336 #. type: textblock
39337 #: ../src/guestfs.pod:1063
39338 msgid ""
39339 "In the kernel there is now quite a profusion of schemata for naming block "
39340 "devices (in this context, by I<block device> I mean a physical or virtual "
39341 "hard drive).  The original Linux IDE driver used names starting with C</dev/"
39342 "hd*>.  SCSI devices have historically used a different naming scheme, C</dev/"
39343 "sd*>.  When the Linux kernel I<libata> driver became a popular replacement "
39344 "for the old IDE driver (particularly for SATA devices) those devices also "
39345 "used the C</dev/sd*> scheme.  Additionally we now have virtual machines with "
39346 "paravirtualized drivers.  This has created several different naming systems, "
39347 "such as C</dev/vd*> for virtio disks and C</dev/xvd*> for Xen PV disks."
39348 msgstr ""
39349
39350 #. type: textblock
39351 #: ../src/guestfs.pod:1075
39352 msgid ""
39353 "As discussed above, libguestfs uses a qemu appliance running an embedded "
39354 "Linux kernel to access block devices.  We can run a variety of appliances "
39355 "based on a variety of Linux kernels."
39356 msgstr ""
39357
39358 #. type: textblock
39359 #: ../src/guestfs.pod:1079
39360 msgid ""
39361 "This causes a problem for libguestfs because many API calls use device or "
39362 "partition names.  Working scripts and the recipe (example) scripts that we "
39363 "make available over the internet could fail if the naming scheme changes."
39364 msgstr ""
39365
39366 #. type: textblock
39367 #: ../src/guestfs.pod:1084
39368 msgid ""
39369 "Therefore libguestfs defines C</dev/sd*> as the I<standard naming scheme>.  "
39370 "Internally C</dev/sd*> names are translated, if necessary, to other names as "
39371 "required.  For example, under RHEL 5 which uses the C</dev/hd*> scheme, any "
39372 "device parameter C</dev/sda2> is translated to C</dev/hda2> transparently."
39373 msgstr ""
39374
39375 #. type: textblock
39376 #: ../src/guestfs.pod:1090
39377 msgid ""
39378 "Note that this I<only> applies to parameters.  The L</guestfs_list_devices>, "
39379 "L</guestfs_list_partitions> and similar calls return the true names of the "
39380 "devices and partitions as known to the appliance."
39381 msgstr ""
39382
39383 #. type: =head3
39384 #: ../src/guestfs.pod:1095
39385 msgid "ALGORITHM FOR BLOCK DEVICE NAME TRANSLATION"
39386 msgstr ""
39387
39388 #. type: textblock
39389 #: ../src/guestfs.pod:1097
39390 msgid ""
39391 "Usually this translation is transparent.  However in some (very rare)  cases "
39392 "you may need to know the exact algorithm.  Such cases include where you use "
39393 "L</guestfs_config> to add a mixture of virtio and IDE devices to the qemu-"
39394 "based appliance, so have a mixture of C</dev/sd*> and C</dev/vd*> devices."
39395 msgstr ""
39396
39397 #. type: textblock
39398 #: ../src/guestfs.pod:1103
39399 msgid ""
39400 "The algorithm is applied only to I<parameters> which are known to be either "
39401 "device or partition names.  Return values from functions such as L</"
39402 "guestfs_list_devices> are never changed."
39403 msgstr ""
39404
39405 #. type: textblock
39406 #: ../src/guestfs.pod:1111
39407 msgid "Is the string a parameter which is a device or partition name?"
39408 msgstr ""
39409
39410 #. type: textblock
39411 #: ../src/guestfs.pod:1115
39412 msgid "Does the string begin with C</dev/sd>?"
39413 msgstr "Чи починається рядок з C</dev/sd>?"
39414
39415 #. type: textblock
39416 #: ../src/guestfs.pod:1119
39417 msgid ""
39418 "Does the named device exist? If so, we use that device.  However if I<not> "
39419 "then we continue with this algorithm."
39420 msgstr ""
39421
39422 #. type: textblock
39423 #: ../src/guestfs.pod:1124
39424 msgid "Replace initial C</dev/sd> string with C</dev/hd>."
39425 msgstr ""
39426
39427 #. type: textblock
39428 #: ../src/guestfs.pod:1126
39429 msgid "For example, change C</dev/sda2> to C</dev/hda2>."
39430 msgstr ""
39431
39432 #. type: textblock
39433 #: ../src/guestfs.pod:1128
39434 msgid "If that named device exists, use it.  If not, continue."
39435 msgstr ""
39436
39437 #. type: textblock
39438 #: ../src/guestfs.pod:1132
39439 msgid "Replace initial C</dev/sd> string with C</dev/vd>."
39440 msgstr ""
39441
39442 #. type: textblock
39443 #: ../src/guestfs.pod:1134
39444 msgid "If that named device exists, use it.  If not, return an error."
39445 msgstr ""
39446
39447 #. type: =head3
39448 #: ../src/guestfs.pod:1138
39449 msgid "PORTABILITY CONCERNS WITH BLOCK DEVICE NAMING"
39450 msgstr ""
39451
39452 #. type: textblock
39453 #: ../src/guestfs.pod:1140
39454 msgid ""
39455 "Although the standard naming scheme and automatic translation is useful for "
39456 "simple programs and guestfish scripts, for larger programs it is best not to "
39457 "rely on this mechanism."
39458 msgstr ""
39459
39460 #. type: textblock
39461 #: ../src/guestfs.pod:1144
39462 msgid ""
39463 "Where possible for maximum future portability programs using libguestfs "
39464 "should use these future-proof techniques:"
39465 msgstr ""
39466
39467 #. type: textblock
39468 #: ../src/guestfs.pod:1151
39469 msgid ""
39470 "Use L</guestfs_list_devices> or L</guestfs_list_partitions> to list actual "
39471 "device names, and then use those names directly."
39472 msgstr ""
39473
39474 #. type: textblock
39475 #: ../src/guestfs.pod:1154
39476 msgid ""
39477 "Since those device names exist by definition, they will never be translated."
39478 msgstr ""
39479
39480 #. type: textblock
39481 #: ../src/guestfs.pod:1159
39482 msgid ""
39483 "Use higher level ways to identify filesystems, such as LVM names, UUIDs and "
39484 "filesystem labels."
39485 msgstr ""
39486
39487 #. type: textblock
39488 #: ../src/guestfs.pod:1166
39489 msgid ""
39490 "This section discusses security implications of using libguestfs, "
39491 "particularly with untrusted or malicious guests or disk images."
39492 msgstr ""
39493
39494 #. type: =head2
39495 #: ../src/guestfs.pod:1169
39496 msgid "GENERAL SECURITY CONSIDERATIONS"
39497 msgstr "ЗАГАЛЬНІ ЗАУВАЖЕННЯ ЩОДО ЗАХИСТУ"
39498
39499 #. type: textblock
39500 #: ../src/guestfs.pod:1171
39501 msgid ""
39502 "Be careful with any files or data that you download from a guest (by "
39503 "\"download\" we mean not just the L</guestfs_download> command but any "
39504 "command that reads files, filenames, directories or anything else from a "
39505 "disk image).  An attacker could manipulate the data to fool your program "
39506 "into doing the wrong thing.  Consider cases such as:"
39507 msgstr ""
39508
39509 #. type: textblock
39510 #: ../src/guestfs.pod:1181
39511 msgid "the data (file etc) not being present"
39512 msgstr ""
39513
39514 #. type: textblock
39515 #: ../src/guestfs.pod:1185
39516 msgid "being present but empty"
39517 msgstr ""
39518
39519 #. type: textblock
39520 #: ../src/guestfs.pod:1189
39521 msgid "being much larger than normal"
39522 msgstr ""
39523
39524 #. type: textblock
39525 #: ../src/guestfs.pod:1193
39526 msgid "containing arbitrary 8 bit data"
39527 msgstr ""
39528
39529 #. type: textblock
39530 #: ../src/guestfs.pod:1197
39531 msgid "being in an unexpected character encoding"
39532 msgstr ""
39533
39534 #. type: textblock
39535 #: ../src/guestfs.pod:1201
39536 msgid "containing homoglyphs."
39537 msgstr ""
39538
39539 #. type: =head2
39540 #: ../src/guestfs.pod:1205
39541 msgid "SECURITY OF MOUNTING FILESYSTEMS"
39542 msgstr "ЗАХИСТ ФАЙЛОВИХ СИСТЕМ МОНТУВАННЯ"
39543
39544 #. type: textblock
39545 #: ../src/guestfs.pod:1207
39546 msgid ""
39547 "When you mount a filesystem under Linux, mistakes in the kernel filesystem "
39548 "(VFS) module can sometimes be escalated into exploits by deliberately "
39549 "creating a malicious, malformed filesystem.  These exploits are very severe "
39550 "for two reasons.  Firstly there are very many filesystem drivers in the "
39551 "kernel, and many of them are infrequently used and not much developer "
39552 "attention has been paid to the code.  Linux userspace helps potential "
39553 "crackers by detecting the filesystem type and automatically choosing the "
39554 "right VFS driver, even if that filesystem type is obscure or unexpected for "
39555 "the administrator.  Secondly, a kernel-level exploit is like a local root "
39556 "exploit (worse in some ways), giving immediate and total access to the "
39557 "system right down to the hardware level."
39558 msgstr ""
39559
39560 #. type: textblock
39561 #: ../src/guestfs.pod:1220
39562 msgid ""
39563 "That explains why you should never mount a filesystem from an untrusted "
39564 "guest on your host kernel.  How about libguestfs? We run a Linux kernel "
39565 "inside a qemu virtual machine, usually running as a non-root user.  The "
39566 "attacker would need to write a filesystem which first exploited the kernel, "
39567 "and then exploited either qemu virtualization (eg. a faulty qemu driver) or "
39568 "the libguestfs protocol, and finally to be as serious as the host kernel "
39569 "exploit it would need to escalate its privileges to root.  This multi-step "
39570 "escalation, performed by a static piece of data, is thought to be extremely "
39571 "hard to do, although we never say 'never' about security issues."
39572 msgstr ""
39573
39574 #. type: textblock
39575 #: ../src/guestfs.pod:1231
39576 msgid ""
39577 "In any case callers can reduce the attack surface by forcing the filesystem "
39578 "type when mounting (use L</guestfs_mount_vfs>)."
39579 msgstr ""
39580
39581 #. type: =head2
39582 #: ../src/guestfs.pod:1234
39583 msgid "PROTOCOL SECURITY"
39584 msgstr "ЗАХИСТ ПРОТОКОЛУ"
39585
39586 #. type: textblock
39587 #: ../src/guestfs.pod:1236
39588 msgid ""
39589 "The protocol is designed to be secure, being based on RFC 4506 (XDR)  with a "
39590 "defined upper message size.  However a program that uses libguestfs must "
39591 "also take care - for example you can write a program that downloads a binary "
39592 "from a disk image and executes it locally, and no amount of protocol "
39593 "security will save you from the consequences."
39594 msgstr ""
39595
39596 #. type: =head2
39597 #: ../src/guestfs.pod:1242
39598 msgid "INSPECTION SECURITY"
39599 msgstr ""
39600
39601 #. type: textblock
39602 #: ../src/guestfs.pod:1244
39603 msgid ""
39604 "Parts of the inspection API (see L</INSPECTION>) return untrusted strings "
39605 "directly from the guest, and these could contain any 8 bit data.  Callers "
39606 "should be careful to escape these before printing them to a structured file "
39607 "(for example, use HTML escaping if creating a web page)."
39608 msgstr ""
39609
39610 #. type: textblock
39611 #: ../src/guestfs.pod:1250
39612 msgid ""
39613 "Guest configuration may be altered in unusual ways by the administrator of "
39614 "the virtual machine, and may not reflect reality (particularly for untrusted "
39615 "or actively malicious guests).  For example we parse the hostname from "
39616 "configuration files like C</etc/sysconfig/network> that we find in the "
39617 "guest, but the guest administrator can easily manipulate these files to "
39618 "provide the wrong hostname."
39619 msgstr ""
39620
39621 #. type: textblock
39622 #: ../src/guestfs.pod:1258
39623 msgid ""
39624 "The inspection API parses guest configuration using two external libraries: "
39625 "Augeas (Linux configuration) and hivex (Windows Registry).  Both are "
39626 "designed to be robust in the face of malicious data, although denial of "
39627 "service attacks are still possible, for example with oversized configuration "
39628 "files."
39629 msgstr ""
39630
39631 #. type: =head2
39632 #: ../src/guestfs.pod:1264
39633 msgid "RUNNING UNTRUSTED GUEST COMMANDS"
39634 msgstr "ЗАПУСК НЕЗАХИЩЕНИХ КОМАНД ГОСТЬОВОЇ СИСТЕМИ"
39635
39636 #. type: textblock
39637 #: ../src/guestfs.pod:1266
39638 msgid ""
39639 "Be very cautious about running commands from the guest.  By running a "
39640 "command in the guest, you are giving CPU time to a binary that you do not "
39641 "control, under the same user account as the library, albeit wrapped in qemu "
39642 "virtualization.  More information and alternatives can be found in the "
39643 "section L</RUNNING COMMANDS>."
39644 msgstr ""
39645
39646 #. type: =head2
39647 #: ../src/guestfs.pod:1272
39648 msgid "CVE-2010-3851"
39649 msgstr "CVE-2010-3851"
39650
39651 #. type: textblock
39652 #: ../src/guestfs.pod:1274
39653 msgid "https://bugzilla.redhat.com/642934"
39654 msgstr "https://bugzilla.redhat.com/642934"
39655
39656 #. type: textblock
39657 #: ../src/guestfs.pod:1276
39658 msgid ""
39659 "This security bug concerns the automatic disk format detection that qemu "
39660 "does on disk images."
39661 msgstr ""
39662
39663 #. type: textblock
39664 #: ../src/guestfs.pod:1279
39665 msgid ""
39666 "A raw disk image is just the raw bytes, there is no header.  Other disk "
39667 "images like qcow2 contain a special header.  Qemu deals with this by looking "
39668 "for one of the known headers, and if none is found then assuming the disk "
39669 "image must be raw."
39670 msgstr ""
39671
39672 #. type: textblock
39673 #: ../src/guestfs.pod:1284
39674 msgid ""
39675 "This allows a guest which has been given a raw disk image to write some "
39676 "other header.  At next boot (or when the disk image is accessed by "
39677 "libguestfs) qemu would do autodetection and think the disk image format was, "
39678 "say, qcow2 based on the header written by the guest."
39679 msgstr ""
39680
39681 #. type: textblock
39682 #: ../src/guestfs.pod:1289
39683 msgid ""
39684 "This in itself would not be a problem, but qcow2 offers many features, one "
39685 "of which is to allow a disk image to refer to another image (called the "
39686 "\"backing disk\").  It does this by placing the path to the backing disk "
39687 "into the qcow2 header.  This path is not validated and could point to any "
39688 "host file (eg. \"/etc/passwd\").  The backing disk is then exposed through "
39689 "\"holes\" in the qcow2 disk image, which of course is completely under the "
39690 "control of the attacker."
39691 msgstr ""
39692
39693 #. type: textblock
39694 #: ../src/guestfs.pod:1297
39695 msgid ""
39696 "In libguestfs this is rather hard to exploit except under two circumstances:"
39697 msgstr ""
39698
39699 #. type: textblock
39700 #: ../src/guestfs.pod:1304
39701 msgid "You have enabled the network or have opened the disk in write mode."
39702 msgstr ""
39703
39704 #. type: textblock
39705 #: ../src/guestfs.pod:1308
39706 msgid ""
39707 "You are also running untrusted code from the guest (see L</RUNNING "
39708 "COMMANDS>)."
39709 msgstr ""
39710
39711 #. type: textblock
39712 #: ../src/guestfs.pod:1313
39713 msgid ""
39714 "The way to avoid this is to specify the expected disk format when adding "
39715 "disks (the optional C<format> option to L</guestfs_add_drive_opts>).  You "
39716 "should always do this if the disk is raw format, and it's a good idea for "
39717 "other cases too."
39718 msgstr ""
39719
39720 #. type: textblock
39721 #: ../src/guestfs.pod:1318
39722 msgid ""
39723 "For disks added from libvirt using calls like L</guestfs_add_domain>, the "
39724 "format is fetched from libvirt and passed through."
39725 msgstr ""
39726
39727 #. type: textblock
39728 #: ../src/guestfs.pod:1321
39729 msgid ""
39730 "For libguestfs tools, use the I<--format> command line parameter as "
39731 "appropriate."
39732 msgstr ""
39733
39734 #. type: =head1
39735 #: ../src/guestfs.pod:1324
39736 msgid "CONNECTION MANAGEMENT"
39737 msgstr "КЕРУВАННЯ З’ЄДНАННЯМ"
39738
39739 #. type: =head2
39740 #: ../src/guestfs.pod:1326
39741 msgid "guestfs_h *"
39742 msgstr "guestfs_h *"
39743
39744 #. type: textblock
39745 #: ../src/guestfs.pod:1328
39746 msgid ""
39747 "C<guestfs_h> is the opaque type representing a connection handle.  Create a "
39748 "handle by calling L</guestfs_create>.  Call L</guestfs_close> to free the "
39749 "handle and release all resources used."
39750 msgstr ""
39751
39752 #. type: textblock
39753 #: ../src/guestfs.pod:1332
39754 msgid ""
39755 "For information on using multiple handles and threads, see the section L</"
39756 "MULTIPLE HANDLES AND MULTIPLE THREADS> above."
39757 msgstr ""
39758
39759 #. type: =head2
39760 #: ../src/guestfs.pod:1335
39761 msgid "guestfs_create"
39762 msgstr "guestfs_create"
39763
39764 #. type: verbatim
39765 #: ../src/guestfs.pod:1337
39766 #, no-wrap
39767 msgid ""
39768 " guestfs_h *guestfs_create (void);\n"
39769 "\n"
39770 msgstr ""
39771 " guestfs_h *guestfs_create (void);\n"
39772 "\n"
39773
39774 #. type: textblock
39775 #: ../src/guestfs.pod:1339
39776 msgid "Create a connection handle."
39777 msgstr "Створити дескриптор з’єднання."
39778
39779 #. type: textblock
39780 #: ../src/guestfs.pod:1341
39781 msgid ""
39782 "On success this returns a non-NULL pointer to a handle.  On error it returns "
39783 "NULL."
39784 msgstr ""
39785
39786 #. type: textblock
39787 #: ../src/guestfs.pod:1344
39788 msgid ""
39789 "You have to \"configure\" the handle after creating it.  This includes "
39790 "calling L</guestfs_add_drive_opts> (or one of the equivalent calls) on the "
39791 "handle at least once."
39792 msgstr ""
39793
39794 #. type: textblock
39795 #: ../src/guestfs.pod:1348
39796 msgid "After configuring the handle, you have to call L</guestfs_launch>."
39797 msgstr ""
39798
39799 #. type: textblock
39800 #: ../src/guestfs.pod:1350
39801 msgid ""
39802 "You may also want to configure error handling for the handle.  See the L</"
39803 "ERROR HANDLING> section below."
39804 msgstr ""
39805
39806 #. type: =head2
39807 #: ../src/guestfs.pod:1353
39808 msgid "guestfs_close"
39809 msgstr "guestfs_close"
39810
39811 #. type: verbatim
39812 #: ../src/guestfs.pod:1355
39813 #, no-wrap
39814 msgid ""
39815 " void guestfs_close (guestfs_h *g);\n"
39816 "\n"
39817 msgstr ""
39818 " void guestfs_close (guestfs_h *g);\n"
39819 "\n"
39820
39821 #. type: textblock
39822 #: ../src/guestfs.pod:1357
39823 msgid "This closes the connection handle and frees up all resources used."
39824 msgstr ""
39825
39826 #. type: textblock
39827 #: ../src/guestfs.pod:1359
39828 msgid ""
39829 "If autosync was set on the handle and the handle was launched, then this "
39830 "implicitly calls various functions to unmount filesystems and sync the "
39831 "disk.  See L</guestfs_set_autosync> for more details."
39832 msgstr ""
39833
39834 #. type: textblock
39835 #: ../src/guestfs.pod:1363
39836 msgid "If a close callback was set on the handle, then it is called."
39837 msgstr ""
39838
39839 #. type: =head1
39840 #: ../src/guestfs.pod:1365
39841 msgid "ERROR HANDLING"
39842 msgstr "ОБРОБКА ПОМИЛОК"
39843
39844 #. type: textblock
39845 #: ../src/guestfs.pod:1367
39846 msgid ""
39847 "API functions can return errors.  For example, almost all functions that "
39848 "return C<int> will return C<-1> to indicate an error."
39849 msgstr ""
39850
39851 #. type: textblock
39852 #: ../src/guestfs.pod:1370
39853 msgid ""
39854 "Additional information is available for errors: an error message string and "
39855 "optionally an error number (errno) if the thing that failed was a system "
39856 "call."
39857 msgstr ""
39858
39859 #. type: textblock
39860 #: ../src/guestfs.pod:1374
39861 msgid ""
39862 "You can get at the additional information about the last error on the handle "
39863 "by calling L</guestfs_last_error>, L</guestfs_last_errno>, and/or by setting "
39864 "up an error handler with L</guestfs_set_error_handler>."
39865 msgstr ""
39866
39867 #. type: textblock
39868 #: ../src/guestfs.pod:1379
39869 msgid ""
39870 "When the handle is created, a default error handler is installed which "
39871 "prints the error message string to C<stderr>.  For small short-running "
39872 "command line programs it is sufficient to do:"
39873 msgstr ""
39874
39875 #. type: verbatim
39876 #: ../src/guestfs.pod:1383
39877 #, no-wrap
39878 msgid ""
39879 " if (guestfs_launch (g) == -1)\n"
39880 "   exit (EXIT_FAILURE);\n"
39881 "\n"
39882 msgstr ""
39883 " if (guestfs_launch (g) == -1)\n"
39884 "   exit (EXIT_FAILURE);\n"
39885 "\n"
39886
39887 #. type: textblock
39888 #: ../src/guestfs.pod:1386
39889 msgid ""
39890 "since the default error handler will ensure that an error message has been "
39891 "printed to C<stderr> before the program exits."
39892 msgstr ""
39893
39894 #. type: textblock
39895 #: ../src/guestfs.pod:1389
39896 msgid ""
39897 "For other programs the caller will almost certainly want to install an "
39898 "alternate error handler or do error handling in-line like this:"
39899 msgstr ""
39900
39901 #. type: verbatim
39902 #: ../src/guestfs.pod:1392
39903 #, no-wrap
39904 msgid ""
39905 " /* This disables the default behaviour of printing errors\n"
39906 "    on stderr. */\n"
39907 " guestfs_set_error_handler (g, NULL, NULL);\n"
39908 " \n"
39909 msgstr ""
39910
39911 #. type: verbatim
39912 #: ../src/guestfs.pod:1396
39913 #, no-wrap
39914 msgid ""
39915 " if (guestfs_launch (g) == -1) {\n"
39916 "   /* Examine the error message and print it etc. */\n"
39917 "   char *msg = guestfs_last_error (g);\n"
39918 "   int errnum = guestfs_last_errno (g);\n"
39919 "   fprintf (stderr, \"%s\", msg);\n"
39920 "   if (errnum != 0)\n"
39921 "     fprintf (stderr, \": %s\", strerror (errnum));\n"
39922 "   fprintf (stderr, \"\\n\");\n"
39923 "   /* ... */\n"
39924 " }\n"
39925 "\n"
39926 msgstr ""
39927
39928 #. type: textblock
39929 #: ../src/guestfs.pod:1407
39930 msgid ""
39931 "Out of memory errors are handled differently.  The default action is to call "
39932 "L<abort(3)>.  If this is undesirable, then you can set a handler using L</"
39933 "guestfs_set_out_of_memory_handler>."
39934 msgstr ""
39935
39936 #. type: textblock
39937 #: ../src/guestfs.pod:1411
39938 msgid ""
39939 "L</guestfs_create> returns C<NULL> if the handle cannot be created, and "
39940 "because there is no handle if this happens there is no way to get additional "
39941 "error information.  However L</guestfs_create> is supposed to be a "
39942 "lightweight operation which can only fail because of insufficient memory (it "
39943 "returns NULL in this case)."
39944 msgstr ""
39945
39946 #. type: =head2
39947 #: ../src/guestfs.pod:1417
39948 msgid "guestfs_last_error"
39949 msgstr "guestfs_last_error"
39950
39951 #. type: verbatim
39952 #: ../src/guestfs.pod:1419
39953 #, no-wrap
39954 msgid ""
39955 " const char *guestfs_last_error (guestfs_h *g);\n"
39956 "\n"
39957 msgstr ""
39958 " const char *guestfs_last_error (guestfs_h *g);\n"
39959 "\n"
39960
39961 #. type: textblock
39962 #: ../src/guestfs.pod:1421
39963 msgid ""
39964 "This returns the last error message that happened on C<g>.  If there has not "
39965 "been an error since the handle was created, then this returns C<NULL>."
39966 msgstr ""
39967
39968 #. type: textblock
39969 #: ../src/guestfs.pod:1425
39970 msgid ""
39971 "The lifetime of the returned string is until the next error occurs, or L</"
39972 "guestfs_close> is called."
39973 msgstr ""
39974
39975 #. type: =head2
39976 #: ../src/guestfs.pod:1428
39977 msgid "guestfs_last_errno"
39978 msgstr "guestfs_last_errno"
39979
39980 #. type: verbatim
39981 #: ../src/guestfs.pod:1430
39982 #, no-wrap
39983 msgid ""
39984 " int guestfs_last_errno (guestfs_h *g);\n"
39985 "\n"
39986 msgstr ""
39987 " int guestfs_last_errno (guestfs_h *g);\n"
39988 "\n"
39989
39990 #. type: textblock
39991 #: ../src/guestfs.pod:1432
39992 msgid "This returns the last error number (errno) that happened on C<g>."
39993 msgstr ""
39994
39995 #. type: textblock
39996 #: ../src/guestfs.pod:1434
39997 msgid "If successful, an errno integer not equal to zero is returned."
39998 msgstr ""
39999
40000 #. type: textblock
40001 #: ../src/guestfs.pod:1436
40002 msgid ""
40003 "If no error, this returns 0.  This call can return 0 in three situations:"
40004 msgstr ""
40005
40006 #. type: textblock
40007 #: ../src/guestfs.pod:1443
40008 msgid "There has not been any error on the handle."
40009 msgstr ""
40010
40011 #. type: textblock
40012 #: ../src/guestfs.pod:1447
40013 msgid ""
40014 "There has been an error but the errno was meaningless.  This corresponds to "
40015 "the case where the error did not come from a failed system call, but for "
40016 "some other reason."
40017 msgstr ""
40018
40019 #. type: textblock
40020 #: ../src/guestfs.pod:1453
40021 msgid ""
40022 "There was an error from a failed system call, but for some reason the errno "
40023 "was not captured and returned.  This usually indicates a bug in libguestfs."
40024 msgstr ""
40025
40026 #. type: textblock
40027 #: ../src/guestfs.pod:1459
40028 msgid ""
40029 "Libguestfs tries to convert the errno from inside the applicance into a "
40030 "corresponding errno for the caller (not entirely trivial: the appliance "
40031 "might be running a completely different operating system from the library "
40032 "and error numbers are not standardized across Un*xen).  If this could not be "
40033 "done, then the error is translated to C<EINVAL>.  In practice this should "
40034 "only happen in very rare circumstances."
40035 msgstr ""
40036
40037 #. type: =head2
40038 #: ../src/guestfs.pod:1467
40039 msgid "guestfs_set_error_handler"
40040 msgstr "guestfs_set_error_handler"
40041
40042 #. type: verbatim
40043 #: ../src/guestfs.pod:1469
40044 #, no-wrap
40045 msgid ""
40046 " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n"
40047 "                                           void *opaque,\n"
40048 "                                           const char *msg);\n"
40049 " void guestfs_set_error_handler (guestfs_h *g,\n"
40050 "                                 guestfs_error_handler_cb cb,\n"
40051 "                                 void *opaque);\n"
40052 "\n"
40053 msgstr ""
40054 " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n"
40055 "                                           void *opaque,\n"
40056 "                                           const char *msg);\n"
40057 " void guestfs_set_error_handler (guestfs_h *g,\n"
40058 "                                 guestfs_error_handler_cb cb,\n"
40059 "                                 void *opaque);\n"
40060 "\n"
40061
40062 #. type: textblock
40063 #: ../src/guestfs.pod:1476
40064 msgid ""
40065 "The callback C<cb> will be called if there is an error.  The parameters "
40066 "passed to the callback are an opaque data pointer and the error message "
40067 "string."
40068 msgstr ""
40069
40070 #. type: textblock
40071 #: ../src/guestfs.pod:1480
40072 msgid ""
40073 "C<errno> is not passed to the callback.  To get that the callback must call "
40074 "L</guestfs_last_errno>."
40075 msgstr ""
40076
40077 #. type: textblock
40078 #: ../src/guestfs.pod:1483
40079 msgid ""
40080 "Note that the message string C<msg> is freed as soon as the callback "
40081 "function returns, so if you want to stash it somewhere you must make your "
40082 "own copy."
40083 msgstr ""
40084
40085 #. type: textblock
40086 #: ../src/guestfs.pod:1487
40087 msgid "The default handler prints messages on C<stderr>."
40088 msgstr ""
40089
40090 #. type: textblock
40091 #: ../src/guestfs.pod:1489
40092 msgid "If you set C<cb> to C<NULL> then I<no> handler is called."
40093 msgstr ""
40094
40095 #. type: =head2
40096 #: ../src/guestfs.pod:1491
40097 msgid "guestfs_get_error_handler"
40098 msgstr "guestfs_get_error_handler"
40099
40100 #. type: verbatim
40101 #: ../src/guestfs.pod:1493
40102 #, no-wrap
40103 msgid ""
40104 " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n"
40105 "                                                     void **opaque_rtn);\n"
40106 "\n"
40107 msgstr ""
40108 " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n"
40109 "                                                     void **opaque_rtn);\n"
40110 "\n"
40111
40112 #. type: textblock
40113 #: ../src/guestfs.pod:1496
40114 msgid "Returns the current error handler callback."
40115 msgstr ""
40116
40117 #. type: =head2
40118 #: ../src/guestfs.pod:1498
40119 msgid "guestfs_set_out_of_memory_handler"
40120 msgstr "guestfs_set_out_of_memory_handler"
40121
40122 #. type: verbatim
40123 #: ../src/guestfs.pod:1500
40124 #, no-wrap
40125 msgid ""
40126 " typedef void (*guestfs_abort_cb) (void);\n"
40127 " void guestfs_set_out_of_memory_handler (guestfs_h *g,\n"
40128 "                                         guestfs_abort_cb);\n"
40129 "\n"
40130 msgstr ""
40131
40132 #. type: textblock
40133 #: ../src/guestfs.pod:1504
40134 msgid ""
40135 "The callback C<cb> will be called if there is an out of memory situation.  "
40136 "I<Note this callback must not return>."
40137 msgstr ""
40138
40139 #. type: textblock
40140 #: ../src/guestfs.pod:1507
40141 msgid "The default is to call L<abort(3)>."
40142 msgstr ""
40143
40144 #. type: textblock
40145 #: ../src/guestfs.pod:1509
40146 msgid ""
40147 "You cannot set C<cb> to C<NULL>.  You can't ignore out of memory situations."
40148 msgstr ""
40149
40150 #. type: =head2
40151 #: ../src/guestfs.pod:1512
40152 msgid "guestfs_get_out_of_memory_handler"
40153 msgstr "guestfs_get_out_of_memory_handler"
40154
40155 #. type: verbatim
40156 #: ../src/guestfs.pod:1514
40157 #, no-wrap
40158 msgid ""
40159 " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n"
40160 "\n"
40161 msgstr ""
40162 " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n"
40163 "\n"
40164
40165 #. type: textblock
40166 #: ../src/guestfs.pod:1516
40167 msgid "This returns the current out of memory handler."
40168 msgstr ""
40169
40170 #. type: =head1
40171 #: ../src/guestfs.pod:1518
40172 msgid "API CALLS"
40173 msgstr "ВИКЛИКИ API"
40174
40175 #. type: =head1
40176 #: ../src/guestfs.pod:1522
40177 msgid "STRUCTURES"
40178 msgstr "СТРУКТУРИ"
40179
40180 #. type: textblock
40181 #: ../src/guestfs.pod:1524
40182 msgid "@STRUCTS@"
40183 msgstr "@STRUCTS@"
40184
40185 #. type: =head1
40186 #: ../src/guestfs.pod:1526
40187 msgid "AVAILABILITY"
40188 msgstr "ДОСТУПНІСТЬ"
40189
40190 #. type: =head2
40191 #: ../src/guestfs.pod:1528
40192 msgid "GROUPS OF FUNCTIONALITY IN THE APPLIANCE"
40193 msgstr "ГРУПИ ФУНКЦІОНАЛЬНИХ МОЖЛИВОСТЕЙ У ОБРАЗІ ОСНОВНОЇ СИСТЕМИ"
40194
40195 #. type: textblock
40196 #: ../src/guestfs.pod:1530
40197 msgid ""
40198 "Using L</guestfs_available> you can test availability of the following "
40199 "groups of functions.  This test queries the appliance to see if the "
40200 "appliance you are currently using supports the functionality."
40201 msgstr ""
40202
40203 #. type: textblock
40204 #: ../src/guestfs.pod:1535
40205 msgid "@AVAILABILITY@"
40206 msgstr "@AVAILABILITY@"
40207
40208 #. type: =head2
40209 #: ../src/guestfs.pod:1537
40210 msgid "GUESTFISH supported COMMAND"
40211 msgstr ""
40212
40213 #. type: textblock
40214 #: ../src/guestfs.pod:1539
40215 msgid ""
40216 "In L<guestfish(3)> there is a handy interactive command C<supported> which "
40217 "prints out the available groups and whether they are supported by this build "
40218 "of libguestfs.  Note however that you have to do C<run> first."
40219 msgstr ""
40220
40221 #. type: =head2
40222 #: ../src/guestfs.pod:1544
40223 msgid "SINGLE CALLS AT COMPILE TIME"
40224 msgstr ""
40225
40226 #. type: textblock
40227 #: ../src/guestfs.pod:1546
40228 msgid ""
40229 "Since version 1.5.8, C<E<lt>guestfs.hE<gt>> defines symbols for each C API "
40230 "function, such as:"
40231 msgstr ""
40232
40233 #. type: verbatim
40234 #: ../src/guestfs.pod:1549
40235 #, no-wrap
40236 msgid ""
40237 " #define LIBGUESTFS_HAVE_DD 1\n"
40238 "\n"
40239 msgstr ""
40240 " #define LIBGUESTFS_HAVE_DD 1\n"
40241 "\n"
40242
40243 #. type: textblock
40244 #: ../src/guestfs.pod:1551
40245 msgid "if L</guestfs_dd> is available."
40246 msgstr ""
40247
40248 #. type: textblock
40249 #: ../src/guestfs.pod:1553
40250 msgid ""
40251 "Before version 1.5.8, if you needed to test whether a single libguestfs "
40252 "function is available at compile time, we recommended using build tools such "
40253 "as autoconf or cmake.  For example in autotools you could use:"
40254 msgstr ""
40255
40256 #. type: verbatim
40257 #: ../src/guestfs.pod:1558
40258 #, no-wrap
40259 msgid ""
40260 " AC_CHECK_LIB([guestfs],[guestfs_create])\n"
40261 " AC_CHECK_FUNCS([guestfs_dd])\n"
40262 "\n"
40263 msgstr ""
40264 " AC_CHECK_LIB([guestfs],[guestfs_create])\n"
40265 " AC_CHECK_FUNCS([guestfs_dd])\n"
40266 "\n"
40267
40268 #. type: textblock
40269 #: ../src/guestfs.pod:1561
40270 msgid ""
40271 "which would result in C<HAVE_GUESTFS_DD> being either defined or not defined "
40272 "in your program."
40273 msgstr ""
40274
40275 #. type: =head2
40276 #: ../src/guestfs.pod:1564
40277 msgid "SINGLE CALLS AT RUN TIME"
40278 msgstr ""
40279
40280 #. type: textblock
40281 #: ../src/guestfs.pod:1566
40282 msgid ""
40283 "Testing at compile time doesn't guarantee that a function really exists in "
40284 "the library.  The reason is that you might be dynamically linked against a "
40285 "previous I<libguestfs.so> (dynamic library)  which doesn't have the call.  "
40286 "This situation unfortunately results in a segmentation fault, which is a "
40287 "shortcoming of the C dynamic linking system itself."
40288 msgstr ""
40289
40290 #. type: textblock
40291 #: ../src/guestfs.pod:1573
40292 msgid ""
40293 "You can use L<dlopen(3)> to test if a function is available at run time, as "
40294 "in this example program (note that you still need the compile time check as "
40295 "well):"
40296 msgstr ""
40297
40298 #. type: verbatim
40299 #: ../src/guestfs.pod:1577
40300 #, no-wrap
40301 msgid ""
40302 " #include <stdio.h>\n"
40303 " #include <stdlib.h>\n"
40304 " #include <unistd.h>\n"
40305 " #include <dlfcn.h>\n"
40306 " #include <guestfs.h>\n"
40307 " \n"
40308 msgstr ""
40309 " #include <stdio.h>\n"
40310 " #include <stdlib.h>\n"
40311 " #include <unistd.h>\n"
40312 " #include <dlfcn.h>\n"
40313 " #include <guestfs.h>\n"
40314 " \n"
40315
40316 #. type: verbatim
40317 #: ../src/guestfs.pod:1583
40318 #, no-wrap
40319 msgid ""
40320 " main ()\n"
40321 " {\n"
40322 " #ifdef LIBGUESTFS_HAVE_DD\n"
40323 "   void *dl;\n"
40324 "   int has_function;\n"
40325 " \n"
40326 msgstr ""
40327 " main ()\n"
40328 " {\n"
40329 " #ifdef LIBGUESTFS_HAVE_DD\n"
40330 "   void *dl;\n"
40331 "   int has_function;\n"
40332 " \n"
40333
40334 #. type: verbatim
40335 #: ../src/guestfs.pod:1589
40336 #, no-wrap
40337 msgid ""
40338 "   /* Test if the function guestfs_dd is really available. */\n"
40339 "   dl = dlopen (NULL, RTLD_LAZY);\n"
40340 "   if (!dl) {\n"
40341 "     fprintf (stderr, \"dlopen: %s\\n\", dlerror ());\n"
40342 "     exit (EXIT_FAILURE);\n"
40343 "   }\n"
40344 "   has_function = dlsym (dl, \"guestfs_dd\") != NULL;\n"
40345 "   dlclose (dl);\n"
40346 " \n"
40347 msgstr ""
40348
40349 #. type: verbatim
40350 #: ../src/guestfs.pod:1598
40351 #, no-wrap
40352 msgid ""
40353 "   if (!has_function)\n"
40354 "     printf (\"this libguestfs.so does NOT have guestfs_dd function\\n\");\n"
40355 "   else {\n"
40356 "     printf (\"this libguestfs.so has guestfs_dd function\\n\");\n"
40357 "     /* Now it's safe to call\n"
40358 "     guestfs_dd (g, \"foo\", \"bar\");\n"
40359 "     */\n"
40360 "   }\n"
40361 " #else\n"
40362 "   printf (\"guestfs_dd function was not found at compile time\\n\");\n"
40363 " #endif\n"
40364 "  }\n"
40365 "\n"
40366 msgstr ""
40367
40368 #. type: textblock
40369 #: ../src/guestfs.pod:1611
40370 msgid ""
40371 "You may think the above is an awful lot of hassle, and it is.  There are "
40372 "other ways outside of the C linking system to ensure that this kind of "
40373 "incompatibility never arises, such as using package versioning:"
40374 msgstr ""
40375
40376 #. type: verbatim
40377 #: ../src/guestfs.pod:1616
40378 #, no-wrap
40379 msgid ""
40380 " Requires: libguestfs >= 1.0.80\n"
40381 "\n"
40382 msgstr ""
40383
40384 #. type: =head1
40385 #: ../src/guestfs.pod:1618
40386 msgid "CALLS WITH OPTIONAL ARGUMENTS"
40387 msgstr ""
40388
40389 #. type: textblock
40390 #: ../src/guestfs.pod:1620
40391 msgid ""
40392 "A recent feature of the API is the introduction of calls which take optional "
40393 "arguments.  In C these are declared 3 ways.  The main way is as a call which "
40394 "takes variable arguments (ie. C<...>), as in this example:"
40395 msgstr ""
40396
40397 #. type: verbatim
40398 #: ../src/guestfs.pod:1625
40399 #, no-wrap
40400 msgid ""
40401 " int guestfs_add_drive_opts (guestfs_h *g, const char *filename, ...);\n"
40402 "\n"
40403 msgstr ""
40404 " int guestfs_add_drive_opts (guestfs_h *g, const char *filename, ...);\n"
40405 "\n"
40406
40407 #. type: textblock
40408 #: ../src/guestfs.pod:1627
40409 msgid ""
40410 "Call this with a list of optional arguments, terminated by C<-1>.  So to "
40411 "call with no optional arguments specified:"
40412 msgstr ""
40413
40414 #. type: verbatim
40415 #: ../src/guestfs.pod:1630
40416 #, no-wrap
40417 msgid ""
40418 " guestfs_add_drive_opts (g, filename, -1);\n"
40419 "\n"
40420 msgstr ""
40421 " guestfs_add_drive_opts (g, filename, -1);\n"
40422 "\n"
40423
40424 #. type: textblock
40425 #: ../src/guestfs.pod:1632
40426 msgid "With a single optional argument:"
40427 msgstr ""
40428
40429 #. type: verbatim
40430 #: ../src/guestfs.pod:1634
40431 #, no-wrap
40432 msgid ""
40433 " guestfs_add_drive_opts (g, filename,\n"
40434 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
40435 "                         -1);\n"
40436 "\n"
40437 msgstr ""
40438 " guestfs_add_drive_opts (g, filename,\n"
40439 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
40440 "                         -1);\n"
40441 "\n"
40442
40443 #. type: textblock
40444 #: ../src/guestfs.pod:1638
40445 msgid "With two:"
40446 msgstr ""
40447
40448 #. type: verbatim
40449 #: ../src/guestfs.pod:1640
40450 #, no-wrap
40451 msgid ""
40452 " guestfs_add_drive_opts (g, filename,\n"
40453 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
40454 "                         GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
40455 "                         -1);\n"
40456 "\n"
40457 msgstr ""
40458 " guestfs_add_drive_opts (g, filename,\n"
40459 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
40460 "                         GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
40461 "                         -1);\n"
40462 "\n"
40463
40464 #. type: textblock
40465 #: ../src/guestfs.pod:1645
40466 msgid ""
40467 "and so forth.  Don't forget the terminating C<-1> otherwise Bad Things will "
40468 "happen!"
40469 msgstr ""
40470
40471 #. type: =head2
40472 #: ../src/guestfs.pod:1648
40473 msgid "USING va_list FOR OPTIONAL ARGUMENTS"
40474 msgstr ""
40475
40476 #. type: textblock
40477 #: ../src/guestfs.pod:1650
40478 msgid ""
40479 "The second variant has the same name with the suffix C<_va>, which works the "
40480 "same way but takes a C<va_list>.  See the C manual for details.  For the "
40481 "example function, this is declared:"
40482 msgstr ""
40483
40484 #. type: verbatim
40485 #: ../src/guestfs.pod:1654
40486 #, no-wrap
40487 msgid ""
40488 " int guestfs_add_drive_opts_va (guestfs_h *g, const char *filename,\n"
40489 "                                va_list args);\n"
40490 "\n"
40491 msgstr ""
40492 " int guestfs_add_drive_opts_va (guestfs_h *g, const char *filename,\n"
40493 "                                va_list args);\n"
40494 "\n"
40495
40496 #. type: =head2
40497 #: ../src/guestfs.pod:1657
40498 msgid "CONSTRUCTING OPTIONAL ARGUMENTS"
40499 msgstr ""
40500
40501 #. type: textblock
40502 #: ../src/guestfs.pod:1659
40503 msgid ""
40504 "The third variant is useful where you need to construct these calls.  You "
40505 "pass in a structure where you fill in the optional fields.  The structure "
40506 "has a bitmask as the first element which you must set to indicate which "
40507 "fields you have filled in.  For our example function the structure and call "
40508 "are declared:"
40509 msgstr ""
40510
40511 #. type: verbatim
40512 #: ../src/guestfs.pod:1665
40513 #, no-wrap
40514 msgid ""
40515 " struct guestfs_add_drive_opts_argv {\n"
40516 "   uint64_t bitmask;\n"
40517 "   int readonly;\n"
40518 "   const char *format;\n"
40519 "   /* ... */\n"
40520 " };\n"
40521 " int guestfs_add_drive_opts_argv (guestfs_h *g, const char *filename,\n"
40522 "              const struct guestfs_add_drive_opts_argv *optargs);\n"
40523 "\n"
40524 msgstr ""
40525 " struct guestfs_add_drive_opts_argv {\n"
40526 "   uint64_t bitmask;\n"
40527 "   int readonly;\n"
40528 "   const char *format;\n"
40529 "   /* ... */\n"
40530 " };\n"
40531 " int guestfs_add_drive_opts_argv (guestfs_h *g, const char *filename,\n"
40532 "              const struct guestfs_add_drive_opts_argv *optargs);\n"
40533 "\n"
40534
40535 #. type: textblock
40536 #: ../src/guestfs.pod:1674
40537 msgid "You could call it like this:"
40538 msgstr ""
40539
40540 #. type: verbatim
40541 #: ../src/guestfs.pod:1676
40542 #, no-wrap
40543 msgid ""
40544 " struct guestfs_add_drive_opts_argv optargs = {\n"
40545 "   .bitmask = GUESTFS_ADD_DRIVE_OPTS_READONLY_BITMASK |\n"
40546 "              GUESTFS_ADD_DRIVE_OPTS_FORMAT_BITMASK,\n"
40547 "   .readonly = 1,\n"
40548 "   .format = \"qcow2\"\n"
40549 " };\n"
40550 " \n"
40551 msgstr ""
40552 " struct guestfs_add_drive_opts_argv optargs = {\n"
40553 "   .bitmask = GUESTFS_ADD_DRIVE_OPTS_READONLY_BITMASK |\n"
40554 "              GUESTFS_ADD_DRIVE_OPTS_FORMAT_BITMASK,\n"
40555 "   .readonly = 1,\n"
40556 "   .format = \"qcow2\"\n"
40557 " };\n"
40558 " \n"
40559
40560 #. type: verbatim
40561 #: ../src/guestfs.pod:1683
40562 #, no-wrap
40563 msgid ""
40564 " guestfs_add_drive_opts_argv (g, filename, &optargs);\n"
40565 "\n"
40566 msgstr ""
40567 " guestfs_add_drive_opts_argv (g, filename, &optargs);\n"
40568 "\n"
40569
40570 #. type: textblock
40571 #: ../src/guestfs.pod:1691
40572 msgid "The C<_BITMASK> suffix on each option name when specifying the bitmask."
40573 msgstr ""
40574
40575 #. type: textblock
40576 #: ../src/guestfs.pod:1696
40577 msgid "You do not need to fill in all fields of the structure."
40578 msgstr ""
40579
40580 #. type: textblock
40581 #: ../src/guestfs.pod:1700
40582 msgid ""
40583 "There must be a one-to-one correspondence between fields of the structure "
40584 "that are filled in, and bits set in the bitmask."
40585 msgstr ""
40586
40587 #. type: =head2
40588 #: ../src/guestfs.pod:1705
40589 msgid "OPTIONAL ARGUMENTS IN OTHER LANGUAGES"
40590 msgstr ""
40591
40592 #. type: textblock
40593 #: ../src/guestfs.pod:1707
40594 msgid ""
40595 "In other languages, optional arguments are expressed in the way that is "
40596 "natural for that language.  We refer you to the language-specific "
40597 "documentation for more details on that."
40598 msgstr ""
40599
40600 #. type: textblock
40601 #: ../src/guestfs.pod:1711
40602 msgid "For guestfish, see L<guestfish(1)/OPTIONAL ARGUMENTS>."
40603 msgstr ""
40604
40605 #. type: =head2
40606 #: ../src/guestfs.pod:1713
40607 msgid "SETTING CALLBACKS TO HANDLE EVENTS"
40608 msgstr ""
40609
40610 #. type: textblock
40611 #: ../src/guestfs.pod:1715
40612 msgid ""
40613 "B<Note:> This section documents the generic event mechanism introduced in "
40614 "libguestfs 1.10, which you should use in new code if possible.  The old "
40615 "functions C<guestfs_set_log_message_callback>, "
40616 "C<guestfs_set_subprocess_quit_callback>, "
40617 "C<guestfs_set_launch_done_callback>, C<guestfs_set_close_callback> and "
40618 "C<guestfs_set_progress_callback> are no longer documented in this manual "
40619 "page.  Because of the ABI guarantee, the old functions continue to work."
40620 msgstr ""
40621
40622 #. type: textblock
40623 #: ../src/guestfs.pod:1724
40624 msgid ""
40625 "Handles generate events when certain things happen, such as log messages "
40626 "being generated, progress messages during long-running operations, or the "
40627 "handle being closed.  The API calls described below let you register a "
40628 "callback to be called when events happen.  You can register multiple "
40629 "callbacks (for the same, different or overlapping sets of events), and "
40630 "individually remove callbacks.  If callbacks are not removed, then they "
40631 "remain in force until the handle is closed."
40632 msgstr ""
40633
40634 #. type: textblock
40635 #: ../src/guestfs.pod:1732
40636 msgid ""
40637 "In the current implementation, events are only generated synchronously: that "
40638 "means that events (and hence callbacks) can only happen while you are in the "
40639 "middle of making another libguestfs call.  The callback is called in the "
40640 "same thread."
40641 msgstr ""
40642
40643 #. type: textblock
40644 #: ../src/guestfs.pod:1737
40645 msgid ""
40646 "Events may contain a payload, usually nothing (void), an array of 64 bit "
40647 "unsigned integers, or a message buffer.  Payloads are discussed later on."
40648 msgstr ""
40649
40650 #. type: =head3
40651 #: ../src/guestfs.pod:1741
40652 msgid "CLASSES OF EVENTS"
40653 msgstr ""
40654
40655 #. type: =item
40656 #: ../src/guestfs.pod:1745
40657 msgid "GUESTFS_EVENT_CLOSE (payload type: void)"
40658 msgstr ""
40659
40660 #. type: textblock
40661 #: ../src/guestfs.pod:1748
40662 msgid ""
40663 "The callback function will be called while the handle is being closed "
40664 "(synchronously from L</guestfs_close>)."
40665 msgstr ""
40666
40667 #. type: textblock
40668 #: ../src/guestfs.pod:1751
40669 msgid ""
40670 "Note that libguestfs installs an L<atexit(3)> handler to try to clean up "
40671 "handles that are open when the program exits.  This means that this callback "
40672 "might be called indirectly from L<exit(3)>, which can cause unexpected "
40673 "problems in higher-level languages (eg. if your HLL interpreter has already "
40674 "been cleaned up by the time this is called, and if your callback then jumps "
40675 "into some HLL function)."
40676 msgstr ""
40677
40678 #. type: textblock
40679 #: ../src/guestfs.pod:1758
40680 msgid ""
40681 "If no callback is registered: the handle is closed without any callback "
40682 "being invoked."
40683 msgstr ""
40684
40685 #. type: =item
40686 #: ../src/guestfs.pod:1761
40687 msgid "GUESTFS_EVENT_SUBPROCESS_QUIT (payload type: void)"
40688 msgstr ""
40689
40690 #. type: textblock
40691 #: ../src/guestfs.pod:1764
40692 msgid ""
40693 "The callback function will be called when the child process quits, either "
40694 "asynchronously or if killed by L</guestfs_kill_subprocess>.  (This "
40695 "corresponds to a transition from any state to the CONFIG state)."
40696 msgstr ""
40697
40698 #. type: textblock
40699 #: ../src/guestfs.pod:1768 ../src/guestfs.pod:1777 ../src/guestfs.pod:1894
40700 msgid "If no callback is registered: the event is ignored."
40701 msgstr ""
40702
40703 #. type: =item
40704 #: ../src/guestfs.pod:1770
40705 msgid "GUESTFS_EVENT_LAUNCH_DONE (payload type: void)"
40706 msgstr ""
40707
40708 #. type: textblock
40709 #: ../src/guestfs.pod:1773
40710 msgid ""
40711 "The callback function will be called when the child process becomes ready "
40712 "first time after it has been launched.  (This corresponds to a transition "
40713 "from LAUNCHING to the READY state)."
40714 msgstr ""
40715
40716 #. type: =item
40717 #: ../src/guestfs.pod:1779
40718 msgid "GUESTFS_EVENT_PROGRESS (payload type: array of 4 x uint64_t)"
40719 msgstr ""
40720
40721 #. type: textblock
40722 #: ../src/guestfs.pod:1782
40723 msgid ""
40724 "Some long-running operations can generate progress messages.  If this "
40725 "callback is registered, then it will be called each time a progress message "
40726 "is generated (usually two seconds after the operation started, and three "
40727 "times per second thereafter until it completes, although the frequency may "
40728 "change in future versions)."
40729 msgstr ""
40730
40731 #. type: textblock
40732 #: ../src/guestfs.pod:1788
40733 msgid ""
40734 "The callback receives in the payload four unsigned 64 bit numbers which are "
40735 "(in order): C<proc_nr>, C<serial>, C<position>, C<total>."
40736 msgstr ""
40737
40738 #. type: textblock
40739 #: ../src/guestfs.pod:1791
40740 msgid ""
40741 "The units of C<total> are not defined, although for some operations C<total> "
40742 "may relate in some way to the amount of data to be transferred (eg. in bytes "
40743 "or megabytes), and C<position> may be the portion which has been transferred."
40744 msgstr ""
40745
40746 #. type: textblock
40747 #: ../src/guestfs.pod:1796
40748 msgid "The only defined and stable parts of the API are:"
40749 msgstr ""
40750
40751 #. type: textblock
40752 #: ../src/guestfs.pod:1802
40753 msgid ""
40754 "The callback can display to the user some type of progress bar or indicator "
40755 "which shows the ratio of C<position>:C<total>."
40756 msgstr ""
40757
40758 #. type: textblock
40759 #: ../src/guestfs.pod:1807
40760 msgid "0 E<lt>= C<position> E<lt>= C<total>"
40761 msgstr ""
40762
40763 #. type: textblock
40764 #: ../src/guestfs.pod:1811
40765 msgid ""
40766 "If any progress notification is sent during a call, then a final progress "
40767 "notification is always sent when C<position> = C<total> (I<unless> the call "
40768 "fails with an error)."
40769 msgstr ""
40770
40771 #. type: textblock
40772 #: ../src/guestfs.pod:1815
40773 msgid ""
40774 "This is to simplify caller code, so callers can easily set the progress "
40775 "indicator to \"100%\" at the end of the operation, without requiring special "
40776 "code to detect this case."
40777 msgstr ""
40778
40779 #. type: textblock
40780 #: ../src/guestfs.pod:1821
40781 msgid ""
40782 "For some calls we are unable to estimate the progress of the call, but we "
40783 "can still generate progress messages to indicate activity.  This is known as "
40784 "\"pulse mode\", and is directly supported by certain progress bar "
40785 "implementations (eg. GtkProgressBar)."
40786 msgstr ""
40787
40788 #. type: textblock
40789 #: ../src/guestfs.pod:1826
40790 msgid ""
40791 "For these calls, zero or more progress messages are generated with "
40792 "C<position = 0> and C<total = 1>, followed by a final message with "
40793 "C<position = total = 1>."
40794 msgstr ""
40795
40796 #. type: textblock
40797 #: ../src/guestfs.pod:1830
40798 msgid ""
40799 "As noted above, if the call fails with an error then the final message may "
40800 "not be generated."
40801 msgstr ""
40802
40803 #. type: textblock
40804 #: ../src/guestfs.pod:1835
40805 msgid ""
40806 "The callback also receives the procedure number (C<proc_nr>) and serial "
40807 "number (C<serial>) of the call.  These are only useful for debugging "
40808 "protocol issues, and the callback can normally ignore them.  The callback "
40809 "may want to print these numbers in error messages or debugging messages."
40810 msgstr ""
40811
40812 #. type: textblock
40813 #: ../src/guestfs.pod:1841
40814 msgid "If no callback is registered: progress messages are discarded."
40815 msgstr ""
40816
40817 #. type: =item
40818 #: ../src/guestfs.pod:1843
40819 msgid "GUESTFS_EVENT_APPLIANCE (payload type: message buffer)"
40820 msgstr ""
40821
40822 #. type: textblock
40823 #: ../src/guestfs.pod:1846
40824 msgid ""
40825 "The callback function is called whenever a log message is generated by qemu, "
40826 "the appliance kernel, guestfsd (daemon), or utility programs."
40827 msgstr ""
40828
40829 #. type: textblock
40830 #: ../src/guestfs.pod:1849
40831 msgid ""
40832 "If the verbose flag (L</guestfs_set_verbose>) is set before launch (L</"
40833 "guestfs_launch>) then additional debug messages are generated."
40834 msgstr ""
40835
40836 #. type: textblock
40837 #: ../src/guestfs.pod:1852 ../src/guestfs.pod:1866
40838 msgid ""
40839 "If no callback is registered: the messages are discarded unless the verbose "
40840 "flag is set in which case they are sent to stderr.  You can override the "
40841 "printing of verbose messages to stderr by setting up a callback."
40842 msgstr ""
40843
40844 #. type: =item
40845 #: ../src/guestfs.pod:1857
40846 msgid "GUESTFS_EVENT_LIBRARY (payload type: message buffer)"
40847 msgstr ""
40848
40849 #. type: textblock
40850 #: ../src/guestfs.pod:1860
40851 msgid ""
40852 "The callback function is called whenever a log message is generated by the "
40853 "library part of libguestfs."
40854 msgstr ""
40855
40856 #. type: textblock
40857 #: ../src/guestfs.pod:1863
40858 msgid ""
40859 "If the verbose flag (L</guestfs_set_verbose>) is set then additional debug "
40860 "messages are generated."
40861 msgstr ""
40862
40863 #. type: =item
40864 #: ../src/guestfs.pod:1871
40865 msgid "GUESTFS_EVENT_TRACE (payload type: message buffer)"
40866 msgstr ""
40867
40868 #. type: textblock
40869 #: ../src/guestfs.pod:1874
40870 msgid ""
40871 "The callback function is called whenever a trace message is generated.  This "
40872 "only applies if the trace flag (L</guestfs_set_trace>) is set."
40873 msgstr ""
40874
40875 #. type: textblock
40876 #: ../src/guestfs.pod:1877
40877 msgid ""
40878 "If no callback is registered: the messages are sent to stderr.  You can "
40879 "override the printing of trace messages to stderr by setting up a callback."
40880 msgstr ""
40881
40882 #. type: =item
40883 #: ../src/guestfs.pod:1881
40884 msgid "GUESTFS_EVENT_ENTER (payload type: function name)"
40885 msgstr ""
40886
40887 #. type: textblock
40888 #: ../src/guestfs.pod:1884
40889 msgid ""
40890 "The callback function is called whenever a libguestfs function is entered."
40891 msgstr ""
40892
40893 #. type: textblock
40894 #: ../src/guestfs.pod:1887
40895 msgid ""
40896 "The payload is a string which contains the name of the function that we are "
40897 "entering (not including C<guestfs_> prefix)."
40898 msgstr ""
40899
40900 #. type: textblock
40901 #: ../src/guestfs.pod:1890
40902 msgid ""
40903 "Note that libguestfs functions can call themselves, so you may see many "
40904 "events from a single call.  A few libguestfs functions do not generate this "
40905 "event."
40906 msgstr ""
40907
40908 #. type: =head3
40909 #: ../src/guestfs.pod:1898
40910 msgid "guestfs_set_event_callback"
40911 msgstr ""
40912
40913 #. type: verbatim
40914 #: ../src/guestfs.pod:1900
40915 #, no-wrap
40916 msgid ""
40917 " int guestfs_set_event_callback (guestfs_h *g,\n"
40918 "                                 guestfs_event_callback cb,\n"
40919 "                                 uint64_t event_bitmask,\n"
40920 "                                 int flags,\n"
40921 "                                 void *opaque);\n"
40922 "\n"
40923 msgstr ""
40924
40925 #. type: textblock
40926 #: ../src/guestfs.pod:1906
40927 msgid ""
40928 "This function registers a callback (C<cb>) for all event classes in the "
40929 "C<event_bitmask>."
40930 msgstr ""
40931
40932 #. type: textblock
40933 #: ../src/guestfs.pod:1909
40934 msgid ""
40935 "For example, to register for all log message events, you could call this "
40936 "function with the bitmask C<GUESTFS_EVENT_APPLIANCE|GUESTFS_EVENT_LIBRARY>.  "
40937 "To register a single callback for all possible classes of events, use "
40938 "C<GUESTFS_EVENT_ALL>."
40939 msgstr ""
40940
40941 #. type: textblock
40942 #: ../src/guestfs.pod:1915
40943 msgid "C<flags> should always be passed as 0."
40944 msgstr ""
40945
40946 #. type: textblock
40947 #: ../src/guestfs.pod:1917
40948 msgid ""
40949 "C<opaque> is an opaque pointer which is passed to the callback.  You can use "
40950 "it for any purpose."
40951 msgstr ""
40952
40953 #. type: textblock
40954 #: ../src/guestfs.pod:1920
40955 msgid ""
40956 "The return value is the event handle (an integer) which you can use to "
40957 "delete the callback (see below)."
40958 msgstr ""
40959
40960 #. type: textblock
40961 #: ../src/guestfs.pod:1923
40962 msgid ""
40963 "If there is an error, this function returns C<-1>, and sets the error in the "
40964 "handle in the usual way (see L</guestfs_last_error> etc.)"
40965 msgstr ""
40966
40967 #. type: textblock
40968 #: ../src/guestfs.pod:1926
40969 msgid ""
40970 "Callbacks remain in effect until they are deleted, or until the handle is "
40971 "closed."
40972 msgstr ""
40973
40974 #. type: textblock
40975 #: ../src/guestfs.pod:1929
40976 msgid ""
40977 "In the case where multiple callbacks are registered for a particular event "
40978 "class, all of the callbacks are called.  The order in which multiple "
40979 "callbacks are called is not defined."
40980 msgstr ""
40981
40982 #. type: =head3
40983 #: ../src/guestfs.pod:1933
40984 msgid "guestfs_delete_event_callback"
40985 msgstr ""
40986
40987 #. type: verbatim
40988 #: ../src/guestfs.pod:1935
40989 #, no-wrap
40990 msgid ""
40991 " void guestfs_delete_event_callback (guestfs_h *g, int event_handle);\n"
40992 "\n"
40993 msgstr ""
40994
40995 #. type: textblock
40996 #: ../src/guestfs.pod:1937
40997 msgid ""
40998 "Delete a callback that was previously registered.  C<event_handle> should be "
40999 "the integer that was returned by a previous call to "
41000 "C<guestfs_set_event_callback> on the same handle."
41001 msgstr ""
41002
41003 #. type: =head3
41004 #: ../src/guestfs.pod:1941
41005 msgid "guestfs_event_callback"
41006 msgstr ""
41007
41008 #. type: verbatim
41009 #: ../src/guestfs.pod:1943
41010 #, no-wrap
41011 msgid ""
41012 " typedef void (*guestfs_event_callback) (\n"
41013 "                  guestfs_h *g,\n"
41014 "                  void *opaque,\n"
41015 "                  uint64_t event,\n"
41016 "                  int event_handle,\n"
41017 "                  int flags,\n"
41018 "                  const char *buf, size_t buf_len,\n"
41019 "                  const uint64_t *array, size_t array_len);\n"
41020 "\n"
41021 msgstr ""
41022
41023 #. type: textblock
41024 #: ../src/guestfs.pod:1952
41025 msgid ""
41026 "This is the type of the event callback function that you have to provide."
41027 msgstr ""
41028
41029 #. type: textblock
41030 #: ../src/guestfs.pod:1955
41031 msgid ""
41032 "The basic parameters are: the handle (C<g>), the opaque user pointer "
41033 "(C<opaque>), the event class (eg. C<GUESTFS_EVENT_PROGRESS>), the event "
41034 "handle, and C<flags> which in the current API you should ignore."
41035 msgstr ""
41036
41037 #. type: textblock
41038 #: ../src/guestfs.pod:1959
41039 msgid ""
41040 "The remaining parameters contain the event payload (if any).  Each event may "
41041 "contain a payload, which usually relates to the event class, but for future "
41042 "proofing your code should be written to handle any payload for any event "
41043 "class."
41044 msgstr ""
41045
41046 #. type: textblock
41047 #: ../src/guestfs.pod:1964
41048 msgid ""
41049 "C<buf> and C<buf_len> contain a message buffer (if C<buf_len == 0>, then "
41050 "there is no message buffer).  Note that this message buffer can contain "
41051 "arbitrary 8 bit data, including NUL bytes."
41052 msgstr ""
41053
41054 #. type: textblock
41055 #: ../src/guestfs.pod:1968
41056 msgid ""
41057 "C<array> and C<array_len> is an array of 64 bit unsigned integers.  At the "
41058 "moment this is only used for progress messages."
41059 msgstr ""
41060
41061 #. type: =head3
41062 #: ../src/guestfs.pod:1971
41063 msgid "EXAMPLE: CAPTURING LOG MESSAGES"
41064 msgstr ""
41065
41066 #. type: textblock
41067 #: ../src/guestfs.pod:1973
41068 msgid ""
41069 "One motivation for the generic event API was to allow GUI programs to "
41070 "capture debug and other messages.  In libguestfs E<le> 1.8 these were sent "
41071 "unconditionally to C<stderr>."
41072 msgstr ""
41073
41074 #. type: textblock
41075 #: ../src/guestfs.pod:1977
41076 msgid ""
41077 "Events associated with log messages are: C<GUESTFS_EVENT_LIBRARY>, "
41078 "C<GUESTFS_EVENT_APPLIANCE> and C<GUESTFS_EVENT_TRACE>.  (Note that error "
41079 "messages are not events; you must capture error messages separately)."
41080 msgstr ""
41081
41082 #. type: textblock
41083 #: ../src/guestfs.pod:1982
41084 msgid ""
41085 "Programs have to set up a callback to capture the classes of events of "
41086 "interest:"
41087 msgstr ""
41088
41089 #. type: verbatim
41090 #: ../src/guestfs.pod:1985
41091 #, no-wrap
41092 msgid ""
41093 " int eh =\n"
41094 "   guestfs_set_event_callback\n"
41095 "     (g, message_callback,\n"
41096 "      GUESTFS_EVENT_LIBRARY|GUESTFS_EVENT_APPLIANCE|\n"
41097 "      GUESTFS_EVENT_TRACE,\n"
41098 "      0, NULL) == -1)\n"
41099 " if (eh == -1) {\n"
41100 "   // handle error in the usual way\n"
41101 " }\n"
41102 "\n"
41103 msgstr ""
41104
41105 #. type: textblock
41106 #: ../src/guestfs.pod:1995
41107 msgid ""
41108 "The callback can then direct messages to the appropriate place.  In this "
41109 "example, messages are directed to syslog:"
41110 msgstr ""
41111
41112 #. type: verbatim
41113 #: ../src/guestfs.pod:1998
41114 #, no-wrap
41115 msgid ""
41116 " static void\n"
41117 " message_callback (\n"
41118 "         guestfs_h *g,\n"
41119 "         void *opaque,\n"
41120 "         uint64_t event,\n"
41121 "         int event_handle,\n"
41122 "         int flags,\n"
41123 "         const char *buf, size_t buf_len,\n"
41124 "         const uint64_t *array, size_t array_len)\n"
41125 " {\n"
41126 "   const int priority = LOG_USER|LOG_INFO;\n"
41127 "   if (buf_len > 0)\n"
41128 "     syslog (priority, \"event 0x%lx: %s\", event, buf);\n"
41129 " }\n"
41130 "\n"
41131 msgstr ""
41132
41133 #. type: =head1
41134 #: ../src/guestfs.pod:2013
41135 msgid "CANCELLING LONG TRANSFERS"
41136 msgstr ""
41137
41138 #. type: textblock
41139 #: ../src/guestfs.pod:2015
41140 msgid ""
41141 "Some operations can be cancelled by the caller while they are in progress.  "
41142 "Currently only operations that involve uploading or downloading data can be "
41143 "cancelled (technically: operations that have C<FileIn> or C<FileOut> "
41144 "parameters in the generator)."
41145 msgstr ""
41146
41147 #. type: =head2
41148 #: ../src/guestfs.pod:2020
41149 msgid "guestfs_user_cancel"
41150 msgstr ""
41151
41152 #. type: verbatim
41153 #: ../src/guestfs.pod:2022
41154 #, no-wrap
41155 msgid ""
41156 " void guestfs_user_cancel (guestfs_h *g);\n"
41157 "\n"
41158 msgstr ""
41159
41160 #. type: textblock
41161 #: ../src/guestfs.pod:2024
41162 msgid ""
41163 "C<guestfs_user_cancel> cancels the current upload or download operation."
41164 msgstr ""
41165
41166 #. type: textblock
41167 #: ../src/guestfs.pod:2027
41168 msgid ""
41169 "Unlike most other libguestfs calls, this function is signal safe and thread "
41170 "safe.  You can call it from a signal handler or from another thread, without "
41171 "needing to do any locking."
41172 msgstr ""
41173
41174 #. type: textblock
41175 #: ../src/guestfs.pod:2031
41176 msgid ""
41177 "The transfer that was in progress (if there is one) will stop shortly "
41178 "afterwards, and will return an error.  The errno (see L</"
41179 "guestfs_last_errno>) is set to C<EINTR>, so you can test for this to find "
41180 "out if the operation was cancelled or failed because of another error."
41181 msgstr ""
41182
41183 #. type: textblock
41184 #: ../src/guestfs.pod:2037
41185 msgid ""
41186 "No cleanup is performed: for example, if a file was being uploaded then "
41187 "after cancellation there may be a partially uploaded file.  It is the "
41188 "caller's responsibility to clean up if necessary."
41189 msgstr ""
41190
41191 #. type: textblock
41192 #: ../src/guestfs.pod:2041
41193 msgid "There are two common places that you might call C<guestfs_user_cancel>."
41194 msgstr ""
41195
41196 #. type: textblock
41197 #: ../src/guestfs.pod:2043
41198 msgid ""
41199 "In an interactive text-based program, you might call it from a C<SIGINT> "
41200 "signal handler so that pressing C<^C> cancels the current operation.  (You "
41201 "also need to call L</guestfs_set_pgroup> so that child processes don't "
41202 "receive the C<^C> signal)."
41203 msgstr ""
41204
41205 #. type: textblock
41206 #: ../src/guestfs.pod:2048
41207 msgid ""
41208 "In a graphical program, when the main thread is displaying a progress bar "
41209 "with a cancel button, wire up the cancel button to call this function."
41210 msgstr ""
41211
41212 #. type: =head1
41213 #: ../src/guestfs.pod:2052
41214 msgid "PRIVATE DATA AREA"
41215 msgstr ""
41216
41217 #. type: textblock
41218 #: ../src/guestfs.pod:2054
41219 msgid ""
41220 "You can attach named pieces of private data to the libguestfs handle, fetch "
41221 "them by name, and walk over them, for the lifetime of the handle.  This is "
41222 "called the private data area and is only available from the C API."
41223 msgstr ""
41224
41225 #. type: textblock
41226 #: ../src/guestfs.pod:2059
41227 msgid "To attach a named piece of data, use the following call:"
41228 msgstr ""
41229
41230 #. type: verbatim
41231 #: ../src/guestfs.pod:2061
41232 #, no-wrap
41233 msgid ""
41234 " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n"
41235 "\n"
41236 msgstr ""
41237 " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n"
41238 "\n"
41239
41240 #. type: textblock
41241 #: ../src/guestfs.pod:2063
41242 msgid ""
41243 "C<key> is the name to associate with this data, and C<data> is an arbitrary "
41244 "pointer (which can be C<NULL>).  Any previous item with the same key is "
41245 "overwritten."
41246 msgstr ""
41247
41248 #. type: textblock
41249 #: ../src/guestfs.pod:2067
41250 msgid ""
41251 "You can use any C<key> you want, but your key should I<not> start with an "
41252 "underscore character.  Keys beginning with an underscore character are "
41253 "reserved for internal libguestfs purposes (eg. for implementing language "
41254 "bindings).  It is recommended that you prefix the key with some unique "
41255 "string to avoid collisions with other users."
41256 msgstr ""
41257
41258 #. type: textblock
41259 #: ../src/guestfs.pod:2073
41260 msgid "To retrieve the pointer, use:"
41261 msgstr ""
41262
41263 #. type: verbatim
41264 #: ../src/guestfs.pod:2075
41265 #, no-wrap
41266 msgid ""
41267 " void *guestfs_get_private (guestfs_h *g, const char *key);\n"
41268 "\n"
41269 msgstr ""
41270 " void *guestfs_get_private (guestfs_h *g, const char *key);\n"
41271 "\n"
41272
41273 #. type: textblock
41274 #: ../src/guestfs.pod:2077
41275 msgid ""
41276 "This function returns C<NULL> if either no data is found associated with "
41277 "C<key>, or if the user previously set the C<key>'s C<data> pointer to "
41278 "C<NULL>."
41279 msgstr ""
41280
41281 #. type: textblock
41282 #: ../src/guestfs.pod:2081
41283 msgid ""
41284 "Libguestfs does not try to look at or interpret the C<data> pointer in any "
41285 "way.  As far as libguestfs is concerned, it need not be a valid pointer at "
41286 "all.  In particular, libguestfs does I<not> try to free the data when the "
41287 "handle is closed.  If the data must be freed, then the caller must either "
41288 "free it before calling L</guestfs_close> or must set up a close callback to "
41289 "do it (see L</GUESTFS_EVENT_CLOSE>)."
41290 msgstr ""
41291
41292 #. type: textblock
41293 #: ../src/guestfs.pod:2088
41294 msgid "To walk over all entries, use these two functions:"
41295 msgstr ""
41296
41297 #. type: verbatim
41298 #: ../src/guestfs.pod:2090
41299 #, no-wrap
41300 msgid ""
41301 " void *guestfs_first_private (guestfs_h *g, const char **key_rtn);\n"
41302 "\n"
41303 msgstr ""
41304
41305 #. type: verbatim
41306 #: ../src/guestfs.pod:2092
41307 #, no-wrap
41308 msgid ""
41309 " void *guestfs_next_private (guestfs_h *g, const char **key_rtn);\n"
41310 "\n"
41311 msgstr ""
41312
41313 #. type: textblock
41314 #: ../src/guestfs.pod:2094
41315 msgid ""
41316 "C<guestfs_first_private> returns the first key, pointer pair (\"first\" does "
41317 "not have any particular meaning -- keys are not returned in any defined "
41318 "order).  A pointer to the key is returned in C<*key_rtn> and the "
41319 "corresponding data pointer is returned from the function.  C<NULL> is "
41320 "returned if there are no keys stored in the handle."
41321 msgstr ""
41322
41323 #. type: textblock
41324 #: ../src/guestfs.pod:2100
41325 msgid ""
41326 "C<guestfs_next_private> returns the next key, pointer pair.  The return "
41327 "value of this function is also C<NULL> is there are no further entries to "
41328 "return."
41329 msgstr ""
41330
41331 #. type: textblock
41332 #: ../src/guestfs.pod:2104
41333 msgid "Notes about walking over entries:"
41334 msgstr ""
41335
41336 #. type: textblock
41337 #: ../src/guestfs.pod:2110
41338 msgid ""
41339 "You must not call C<guestfs_set_private> while walking over the entries."
41340 msgstr ""
41341
41342 #. type: textblock
41343 #: ../src/guestfs.pod:2115
41344 msgid ""
41345 "The handle maintains an internal iterator which is reset when you call "
41346 "C<guestfs_first_private>.  This internal iterator is invalidated when you "
41347 "call C<guestfs_set_private>."
41348 msgstr ""
41349
41350 #. type: textblock
41351 #: ../src/guestfs.pod:2121
41352 msgid "If you have set the data pointer associated with a key to C<NULL>, ie:"
41353 msgstr ""
41354
41355 #. type: verbatim
41356 #: ../src/guestfs.pod:2123
41357 #, no-wrap
41358 msgid ""
41359 " guestfs_set_private (g, key, NULL);\n"
41360 "\n"
41361 msgstr ""
41362
41363 #. type: textblock
41364 #: ../src/guestfs.pod:2125
41365 msgid "then that C<key> is not returned when walking."
41366 msgstr ""
41367
41368 #. type: textblock
41369 #: ../src/guestfs.pod:2129
41370 msgid ""
41371 "C<*key_rtn> is only valid until the next call to C<guestfs_first_private>, "
41372 "C<guestfs_next_private> or C<guestfs_set_private>."
41373 msgstr ""
41374
41375 #. type: textblock
41376 #: ../src/guestfs.pod:2135
41377 msgid ""
41378 "The following example code shows how to print all keys and data pointers "
41379 "that are associated with the handle C<g>:"
41380 msgstr ""
41381
41382 #. type: verbatim
41383 #: ../src/guestfs.pod:2138
41384 #, no-wrap
41385 msgid ""
41386 " const char *key;\n"
41387 " void *data = guestfs_first_private (g, &key);\n"
41388 " while (data != NULL)\n"
41389 "   {\n"
41390 "     printf (\"key = %s, data = %p\\n\", key, data);\n"
41391 "     data = guestfs_next_private (g, &key);\n"
41392 "   }\n"
41393 "\n"
41394 msgstr ""
41395
41396 #. type: textblock
41397 #: ../src/guestfs.pod:2146
41398 msgid ""
41399 "More commonly you are only interested in keys that begin with an application-"
41400 "specific prefix C<foo_>.  Modify the loop like so:"
41401 msgstr ""
41402
41403 #. type: verbatim
41404 #: ../src/guestfs.pod:2149
41405 #, no-wrap
41406 msgid ""
41407 " const char *key;\n"
41408 " void *data = guestfs_first_private (g, &key);\n"
41409 " while (data != NULL)\n"
41410 "   {\n"
41411 "     if (strncmp (key, \"foo_\", strlen (\"foo_\")) == 0)\n"
41412 "       printf (\"key = %s, data = %p\\n\", key, data);\n"
41413 "     data = guestfs_next_private (g, &key);\n"
41414 "   }\n"
41415 "\n"
41416 msgstr ""
41417
41418 #. type: textblock
41419 #: ../src/guestfs.pod:2158
41420 msgid ""
41421 "If you need to modify keys while walking, then you have to jump back to the "
41422 "beginning of the loop.  For example, to delete all keys prefixed with "
41423 "C<foo_>:"
41424 msgstr ""
41425
41426 #. type: verbatim
41427 #: ../src/guestfs.pod:2162
41428 #, no-wrap
41429 msgid ""
41430 "  const char *key;\n"
41431 "  void *data;\n"
41432 " again:\n"
41433 "  data = guestfs_first_private (g, &key);\n"
41434 "  while (data != NULL)\n"
41435 "    {\n"
41436 "      if (strncmp (key, \"foo_\", strlen (\"foo_\")) == 0)\n"
41437 "        {\n"
41438 "          guestfs_set_private (g, key, NULL);\n"
41439 "          /* note that 'key' pointer is now invalid, and so is\n"
41440 "             the internal iterator */\n"
41441 "          goto again;\n"
41442 "        }\n"
41443 "      data = guestfs_next_private (g, &key);\n"
41444 "    }\n"
41445 "\n"
41446 msgstr ""
41447
41448 #. type: textblock
41449 #: ../src/guestfs.pod:2178
41450 msgid ""
41451 "Note that the above loop is guaranteed to terminate because the keys are "
41452 "being deleted, but other manipulations of keys within the loop might not "
41453 "terminate unless you also maintain an indication of which keys have been "
41454 "visited."
41455 msgstr ""
41456
41457 #. type: =head1
41458 #: ../src/guestfs.pod:2183
41459 msgid "SYSTEMTAP"
41460 msgstr ""
41461
41462 #. type: textblock
41463 #: ../src/guestfs.pod:2185
41464 msgid ""
41465 "The libguestfs C library can be probed using systemtap or DTrace.  This is "
41466 "true of any library, not just libguestfs.  However libguestfs also contains "
41467 "static markers to help in probing internal operations."
41468 msgstr ""
41469
41470 #. type: textblock
41471 #: ../src/guestfs.pod:2189
41472 msgid "You can list all the static markers by doing:"
41473 msgstr ""
41474
41475 #. type: verbatim
41476 #: ../src/guestfs.pod:2191
41477 #, no-wrap
41478 msgid ""
41479 " stap -l 'process(\"/usr/lib*/libguestfs.so.0\")\n"
41480 "              .provider(\"guestfs\").mark(\"*\")'\n"
41481 "\n"
41482 msgstr ""
41483
41484 #. type: textblock
41485 #: ../src/guestfs.pod:2194
41486 msgid ""
41487 "B<Note:> These static markers are I<not> part of the stable API and may "
41488 "change in future versions."
41489 msgstr ""
41490
41491 #. type: =head2
41492 #: ../src/guestfs.pod:2197
41493 msgid "SYSTEMTAP SCRIPT EXAMPLE"
41494 msgstr ""
41495
41496 #. type: textblock
41497 #: ../src/guestfs.pod:2199
41498 msgid ""
41499 "This script contains examples of displaying both the static markers and some "
41500 "ordinary C entry points:"
41501 msgstr ""
41502
41503 #. type: verbatim
41504 #: ../src/guestfs.pod:2202
41505 #, no-wrap
41506 msgid ""
41507 " global last;\n"
41508 " \n"
41509 msgstr ""
41510
41511 #. type: verbatim
41512 #: ../src/guestfs.pod:2204
41513 #, no-wrap
41514 msgid ""
41515 " function display_time () {\n"
41516 "       now = gettimeofday_us ();\n"
41517 "       delta = 0;\n"
41518 "       if (last > 0)\n"
41519 "             delta = now - last;\n"
41520 "       last = now;\n"
41521 " \n"
41522 msgstr ""
41523
41524 #. type: verbatim
41525 #: ../src/guestfs.pod:2211
41526 #, no-wrap
41527 msgid ""
41528 "       printf (\"%d (+%d):\", now, delta);\n"
41529 " }\n"
41530 " \n"
41531 msgstr ""
41532
41533 #. type: verbatim
41534 #: ../src/guestfs.pod:2214
41535 #, no-wrap
41536 msgid ""
41537 " probe begin {\n"
41538 "       last = 0;\n"
41539 "       printf (\"ready\\n\");\n"
41540 " }\n"
41541 " \n"
41542 msgstr ""
41543
41544 #. type: verbatim
41545 #: ../src/guestfs.pod:2219
41546 #, no-wrap
41547 msgid ""
41548 " /* Display all calls to static markers. */\n"
41549 " probe process(\"/usr/lib*/libguestfs.so.0\")\n"
41550 "           .provider(\"guestfs\").mark(\"*\") ? {\n"
41551 "       display_time();\n"
41552 "       printf (\"\\t%s %s\\n\", $$name, $$parms);\n"
41553 " }\n"
41554 " \n"
41555 msgstr ""
41556
41557 #. type: verbatim
41558 #: ../src/guestfs.pod:2226
41559 #, no-wrap
41560 msgid ""
41561 " /* Display all calls to guestfs_mkfs* functions. */\n"
41562 " probe process(\"/usr/lib*/libguestfs.so.0\")\n"
41563 "           .function(\"guestfs_mkfs*\") ? {\n"
41564 "       display_time();\n"
41565 "       printf (\"\\t%s %s\\n\", probefunc(), $$parms);\n"
41566 " }\n"
41567 "\n"
41568 msgstr ""
41569
41570 #. type: textblock
41571 #: ../src/guestfs.pod:2233
41572 msgid ""
41573 "The script above can be saved to C<test.stap> and run using the L<stap(1)> "
41574 "program.  Note that you either have to be root, or you have to add yourself "
41575 "to several special stap groups.  Consult the systemtap documentation for "
41576 "more information."
41577 msgstr ""
41578
41579 #. type: verbatim
41580 #: ../src/guestfs.pod:2238
41581 #, no-wrap
41582 msgid ""
41583 " # stap /tmp/test.stap\n"
41584 " ready\n"
41585 "\n"
41586 msgstr ""
41587
41588 #. type: textblock
41589 #: ../src/guestfs.pod:2241
41590 msgid "In another terminal, run a guestfish command such as this:"
41591 msgstr ""
41592
41593 #. type: textblock
41594 #: ../src/guestfs.pod:2245
41595 msgid "In the first terminal, stap trace output similar to this is shown:"
41596 msgstr ""
41597
41598 #. type: verbatim
41599 #: ../src/guestfs.pod:2247
41600 #, no-wrap
41601 msgid ""
41602 " 1318248056692655 (+0):\tlaunch_start\n"
41603 " 1318248056692850 (+195):       launch_build_appliance_start\n"
41604 " 1318248056818285 (+125435):    launch_build_appliance_end\n"
41605 " 1318248056838059 (+19774):     launch_run_qemu\n"
41606 " 1318248061071167 (+4233108):   launch_end\n"
41607 " 1318248061280324 (+209157):    guestfs_mkfs g=0x1024ab0 fstype=0x46116f device=0x1024e60\n"
41608 "\n"
41609 msgstr ""
41610
41611 #. type: =end
41612 #: ../src/guestfs.pod:2254 ../src/guestfs.pod:2259
41613 msgid "html"
41614 msgstr "html"
41615
41616 #. type: textblock
41617 #: ../src/guestfs.pod:2256
41618 msgid ""
41619 "<!-- old anchor for the next section --> <a name="
41620 "\"state_machine_and_low_level_event_api\"/>"
41621 msgstr ""
41622 "<!-- old anchor for the next section --> <a name="
41623 "\"state_machine_and_low_level_event_api\"/>"
41624
41625 #. type: =head1
41626 #: ../src/guestfs.pod:2261
41627 msgid "ARCHITECTURE"
41628 msgstr "АРХІТЕКТУРА"
41629
41630 #. type: textblock
41631 #: ../src/guestfs.pod:2263
41632 msgid ""
41633 "Internally, libguestfs is implemented by running an appliance (a special "
41634 "type of small virtual machine) using L<qemu(1)>.  Qemu runs as a child "
41635 "process of the main program."
41636 msgstr ""
41637
41638 #. type: verbatim
41639 #: ../src/guestfs.pod:2267
41640 #, no-wrap
41641 msgid ""
41642 "  ___________________\n"
41643 " /                   \\\n"
41644 " | main program      |\n"
41645 " |                   |\n"
41646 " |                   |           child process / appliance\n"
41647 " |                   |           __________________________\n"
41648 " |                   |          / qemu                     \\\n"
41649 " +-------------------+   RPC    |      +-----------------+ |\n"
41650 " | libguestfs     <--------------------> guestfsd        | |\n"
41651 " |                   |          |      +-----------------+ |\n"
41652 " \\___________________/          |      | Linux kernel    | |\n"
41653 "                                |      +--^--------------+ |\n"
41654 "                                \\_________|________________/\n"
41655 "                                          |\n"
41656 "                                   _______v______\n"
41657 "                                  /              \\\n"
41658 "                                  | Device or    |\n"
41659 "                                  | disk image   |\n"
41660 "                                  \\______________/\n"
41661 "\n"
41662 msgstr ""
41663
41664 #. type: textblock
41665 #: ../src/guestfs.pod:2287
41666 msgid ""
41667 "The library, linked to the main program, creates the child process and hence "
41668 "the appliance in the L</guestfs_launch> function."
41669 msgstr ""
41670
41671 #. type: textblock
41672 #: ../src/guestfs.pod:2290
41673 msgid ""
41674 "Inside the appliance is a Linux kernel and a complete stack of userspace "
41675 "tools (such as LVM and ext2 programs) and a small controlling daemon called "
41676 "L</guestfsd>.  The library talks to L</guestfsd> using remote procedure "
41677 "calls (RPC).  There is a mostly one-to-one correspondence between libguestfs "
41678 "API calls and RPC calls to the daemon.  Lastly the disk image(s) are "
41679 "attached to the qemu process which translates device access by the "
41680 "appliance's Linux kernel into accesses to the image."
41681 msgstr ""
41682
41683 #. type: textblock
41684 #: ../src/guestfs.pod:2299
41685 msgid ""
41686 "A common misunderstanding is that the appliance \"is\" the virtual machine.  "
41687 "Although the disk image you are attached to might also be used by some "
41688 "virtual machine, libguestfs doesn't know or care about this.  (But you will "
41689 "care if both libguestfs's qemu process and your virtual machine are trying "
41690 "to update the disk image at the same time, since these usually results in "
41691 "massive disk corruption)."
41692 msgstr ""
41693
41694 #. type: =head1
41695 #: ../src/guestfs.pod:2306
41696 msgid "STATE MACHINE"
41697 msgstr "СКІНЧЕННИЙ АВТОМАТ"
41698
41699 #. type: textblock
41700 #: ../src/guestfs.pod:2308
41701 msgid "libguestfs uses a state machine to model the child process:"
41702 msgstr ""
41703
41704 #. type: verbatim
41705 #: ../src/guestfs.pod:2310
41706 #, no-wrap
41707 msgid ""
41708 "                         |\n"
41709 "                    guestfs_create\n"
41710 "                         |\n"
41711 "                         |\n"
41712 "                     ____V_____\n"
41713 "                    /          \\\n"
41714 "                    |  CONFIG  |\n"
41715 "                    \\__________/\n"
41716 "                     ^ ^   ^  \\\n"
41717 "                    /  |    \\  \\ guestfs_launch\n"
41718 "                   /   |    _\\__V______\n"
41719 "                  /    |   /           \\\n"
41720 "                 /     |   | LAUNCHING |\n"
41721 "                /      |   \\___________/\n"
41722 "               /       |       /\n"
41723 "              /        |  guestfs_launch\n"
41724 "             /         |     /\n"
41725 "    ______  /        __|____V\n"
41726 "   /      \\ ------> /        \\\n"
41727 "   | BUSY |         | READY  |\n"
41728 "   \\______/ <------ \\________/\n"
41729 "\n"
41730 msgstr ""
41731
41732 #. type: textblock
41733 #: ../src/guestfs.pod:2332
41734 msgid ""
41735 "The normal transitions are (1) CONFIG (when the handle is created, but there "
41736 "is no child process), (2) LAUNCHING (when the child process is booting up), "
41737 "(3) alternating between READY and BUSY as commands are issued to, and "
41738 "carried out by, the child process."
41739 msgstr ""
41740
41741 #. type: textblock
41742 #: ../src/guestfs.pod:2337
41743 msgid ""
41744 "The guest may be killed by L</guestfs_kill_subprocess>, or may die "
41745 "asynchronously at any time (eg. due to some internal error), and that causes "
41746 "the state to transition back to CONFIG."
41747 msgstr ""
41748
41749 #. type: textblock
41750 #: ../src/guestfs.pod:2341
41751 msgid ""
41752 "Configuration commands for qemu such as L</guestfs_add_drive> can only be "
41753 "issued when in the CONFIG state."
41754 msgstr ""
41755
41756 #. type: textblock
41757 #: ../src/guestfs.pod:2344
41758 msgid ""
41759 "The API offers one call that goes from CONFIG through LAUNCHING to READY.  "
41760 "L</guestfs_launch> blocks until the child process is READY to accept "
41761 "commands (or until some failure or timeout).  L</guestfs_launch> internally "
41762 "moves the state from CONFIG to LAUNCHING while it is running."
41763 msgstr ""
41764
41765 #. type: textblock
41766 #: ../src/guestfs.pod:2350
41767 msgid ""
41768 "API actions such as L</guestfs_mount> can only be issued when in the READY "
41769 "state.  These API calls block waiting for the command to be carried out (ie. "
41770 "the state to transition to BUSY and then back to READY).  There are no non-"
41771 "blocking versions, and no way to issue more than one command per handle at "
41772 "the same time."
41773 msgstr ""
41774
41775 #. type: textblock
41776 #: ../src/guestfs.pod:2356
41777 msgid ""
41778 "Finally, the child process sends asynchronous messages back to the main "
41779 "program, such as kernel log messages.  You can register a callback to "
41780 "receive these messages."
41781 msgstr ""
41782
41783 #. type: =head1
41784 #: ../src/guestfs.pod:2360
41785 msgid "INTERNALS"
41786 msgstr ""
41787
41788 #. type: =head2
41789 #: ../src/guestfs.pod:2362
41790 msgid "APPLIANCE BOOT PROCESS"
41791 msgstr ""
41792
41793 #. type: textblock
41794 #: ../src/guestfs.pod:2364
41795 msgid ""
41796 "This process has evolved and continues to evolve.  The description here "
41797 "corresponds only to the current version of libguestfs and is provided for "
41798 "information only."
41799 msgstr ""
41800
41801 #. type: textblock
41802 #: ../src/guestfs.pod:2368
41803 msgid ""
41804 "In order to follow the stages involved below, enable libguestfs debugging "
41805 "(set the environment variable C<LIBGUESTFS_DEBUG=1>)."
41806 msgstr ""
41807
41808 #. type: =item
41809 #: ../src/guestfs.pod:2373
41810 msgid "Create the appliance"
41811 msgstr ""
41812
41813 #. type: textblock
41814 #: ../src/guestfs.pod:2375
41815 msgid ""
41816 "C<febootstrap-supermin-helper> is invoked to create the kernel, a small "
41817 "initrd and the appliance."
41818 msgstr ""
41819
41820 #. type: textblock
41821 #: ../src/guestfs.pod:2378
41822 msgid ""
41823 "The appliance is cached in C</var/tmp/.guestfs-E<lt>UIDE<gt>> (or in another "
41824 "directory if C<TMPDIR> is set)."
41825 msgstr ""
41826
41827 #. type: textblock
41828 #: ../src/guestfs.pod:2381
41829 msgid ""
41830 "For a complete description of how the appliance is created and cached, read "
41831 "the L<febootstrap(8)> and L<febootstrap-supermin-helper(8)> man pages."
41832 msgstr ""
41833
41834 #. type: =item
41835 #: ../src/guestfs.pod:2385
41836 msgid "Start qemu and boot the kernel"
41837 msgstr ""
41838
41839 #. type: textblock
41840 #: ../src/guestfs.pod:2387
41841 msgid "qemu is invoked to boot the kernel."
41842 msgstr ""
41843
41844 #. type: =item
41845 #: ../src/guestfs.pod:2389
41846 msgid "Run the initrd"
41847 msgstr ""
41848
41849 #. type: textblock
41850 #: ../src/guestfs.pod:2391
41851 msgid ""
41852 "C<febootstrap-supermin-helper> builds a small initrd.  The initrd is not the "
41853 "appliance.  The purpose of the initrd is to load enough kernel modules in "
41854 "order that the appliance itself can be mounted and started."
41855 msgstr ""
41856
41857 #. type: textblock
41858 #: ../src/guestfs.pod:2395
41859 msgid ""
41860 "The initrd is a cpio archive called C</var/tmp/.guestfs-E<lt>UIDE<gt>/"
41861 "initrd>."
41862 msgstr ""
41863
41864 #. type: textblock
41865 #: ../src/guestfs.pod:2398
41866 msgid ""
41867 "When the initrd has started you will see messages showing that kernel "
41868 "modules are being loaded, similar to this:"
41869 msgstr ""
41870
41871 #. type: verbatim
41872 #: ../src/guestfs.pod:2401
41873 #, no-wrap
41874 msgid ""
41875 " febootstrap: ext2 mini initrd starting up\n"
41876 " febootstrap: mounting /sys\n"
41877 " febootstrap: internal insmod libcrc32c.ko\n"
41878 " febootstrap: internal insmod crc32c-intel.ko\n"
41879 "\n"
41880 msgstr ""
41881
41882 #. type: =item
41883 #: ../src/guestfs.pod:2406
41884 msgid "Find and mount the appliance device"
41885 msgstr ""
41886
41887 #. type: textblock
41888 #: ../src/guestfs.pod:2408
41889 msgid ""
41890 "The appliance is a sparse file containing an ext2 filesystem which contains "
41891 "a familiar (although reduced in size) Linux operating system.  It would "
41892 "normally be called C</var/tmp/.guestfs-E<lt>UIDE<gt>/root>."
41893 msgstr ""
41894
41895 #. type: textblock
41896 #: ../src/guestfs.pod:2412
41897 msgid ""
41898 "The regular disks being inspected by libguestfs are the first devices "
41899 "exposed by qemu (eg. as C</dev/vda>)."
41900 msgstr ""
41901
41902 #. type: textblock
41903 #: ../src/guestfs.pod:2415
41904 msgid ""
41905 "The last disk added to qemu is the appliance itself (eg. C</dev/vdb> if "
41906 "there was only one regular disk)."
41907 msgstr ""
41908
41909 #. type: textblock
41910 #: ../src/guestfs.pod:2418
41911 msgid ""
41912 "Thus the final job of the initrd is to locate the appliance disk, mount it, "
41913 "and switch root into the appliance, and run C</init> from the appliance."
41914 msgstr ""
41915
41916 #. type: textblock
41917 #: ../src/guestfs.pod:2422
41918 msgid "If this works successfully you will see messages such as:"
41919 msgstr ""
41920
41921 #. type: verbatim
41922 #: ../src/guestfs.pod:2424
41923 #, no-wrap
41924 msgid ""
41925 " febootstrap: picked /sys/block/vdb/dev as root device\n"
41926 " febootstrap: creating /dev/root as block special 252:16\n"
41927 " febootstrap: mounting new root on /root\n"
41928 " febootstrap: chroot\n"
41929 " Starting /init script ...\n"
41930 "\n"
41931 msgstr ""
41932
41933 #. type: textblock
41934 #: ../src/guestfs.pod:2430
41935 msgid ""
41936 "Note that C<Starting /init script ...> indicates that the appliance's init "
41937 "script is now running."
41938 msgstr ""
41939
41940 #. type: =item
41941 #: ../src/guestfs.pod:2433
41942 msgid "Initialize the appliance"
41943 msgstr ""
41944
41945 #. type: textblock
41946 #: ../src/guestfs.pod:2435
41947 msgid ""
41948 "The appliance itself now initializes itself.  This involves starting certain "
41949 "processes like C<udev>, possibly printing some debug information, and "
41950 "finally running the daemon (C<guestfsd>)."
41951 msgstr ""
41952
41953 #. type: =item
41954 #: ../src/guestfs.pod:2439
41955 msgid "The daemon"
41956 msgstr ""
41957
41958 #. type: textblock
41959 #: ../src/guestfs.pod:2441
41960 msgid ""
41961 "Finally the daemon (C<guestfsd>) runs inside the appliance.  If it runs you "
41962 "should see:"
41963 msgstr ""
41964
41965 #. type: verbatim
41966 #: ../src/guestfs.pod:2444
41967 #, no-wrap
41968 msgid ""
41969 " verbose daemon enabled\n"
41970 "\n"
41971 msgstr ""
41972
41973 #. type: textblock
41974 #: ../src/guestfs.pod:2446
41975 msgid ""
41976 "The daemon expects to see a named virtio-serial port exposed by qemu and "
41977 "connected on the other end to the library."
41978 msgstr ""
41979
41980 #. type: textblock
41981 #: ../src/guestfs.pod:2449
41982 msgid ""
41983 "The daemon connects to this port (and hence to the library) and sends a four "
41984 "byte message C<GUESTFS_LAUNCH_FLAG>, which initiates the communication "
41985 "protocol (see below)."
41986 msgstr ""
41987
41988 #. type: =head2
41989 #: ../src/guestfs.pod:2455
41990 msgid "COMMUNICATION PROTOCOL"
41991 msgstr ""
41992
41993 #. type: textblock
41994 #: ../src/guestfs.pod:2457
41995 msgid ""
41996 "Don't rely on using this protocol directly.  This section documents how it "
41997 "currently works, but it may change at any time."
41998 msgstr ""
41999
42000 #. type: textblock
42001 #: ../src/guestfs.pod:2460
42002 msgid ""
42003 "The protocol used to talk between the library and the daemon running inside "
42004 "the qemu virtual machine is a simple RPC mechanism built on top of XDR (RFC "
42005 "1014, RFC 1832, RFC 4506)."
42006 msgstr ""
42007
42008 #. type: textblock
42009 #: ../src/guestfs.pod:2464
42010 msgid ""
42011 "The detailed format of structures is in C<src/guestfs_protocol.x> (note: "
42012 "this file is automatically generated)."
42013 msgstr ""
42014
42015 #. type: textblock
42016 #: ../src/guestfs.pod:2467
42017 msgid ""
42018 "There are two broad cases, ordinary functions that don't have any C<FileIn> "
42019 "and C<FileOut> parameters, which are handled with very simple request/reply "
42020 "messages.  Then there are functions that have any C<FileIn> or C<FileOut> "
42021 "parameters, which use the same request and reply messages, but they may also "
42022 "be followed by files sent using a chunked encoding."
42023 msgstr ""
42024
42025 #. type: =head3
42026 #: ../src/guestfs.pod:2474
42027 msgid "ORDINARY FUNCTIONS (NO FILEIN/FILEOUT PARAMS)"
42028 msgstr ""
42029
42030 #. type: textblock
42031 #: ../src/guestfs.pod:2476
42032 msgid "For ordinary functions, the request message is:"
42033 msgstr ""
42034
42035 #. type: verbatim
42036 #: ../src/guestfs.pod:2478
42037 #, no-wrap
42038 msgid ""
42039 " total length (header + arguments,\n"
42040 "      but not including the length word itself)\n"
42041 " struct guestfs_message_header (encoded as XDR)\n"
42042 " struct guestfs_<foo>_args (encoded as XDR)\n"
42043 "\n"
42044 msgstr ""
42045
42046 #. type: textblock
42047 #: ../src/guestfs.pod:2483
42048 msgid ""
42049 "The total length field allows the daemon to allocate a fixed size buffer "
42050 "into which it slurps the rest of the message.  As a result, the total length "
42051 "is limited to C<GUESTFS_MESSAGE_MAX> bytes (currently 4MB), which means the "
42052 "effective size of any request is limited to somewhere under this size."
42053 msgstr ""
42054
42055 #. type: textblock
42056 #: ../src/guestfs.pod:2489
42057 msgid ""
42058 "Note also that many functions don't take any arguments, in which case the "
42059 "C<guestfs_I<foo>_args> is completely omitted."
42060 msgstr ""
42061
42062 #. type: textblock
42063 #: ../src/guestfs.pod:2492
42064 msgid ""
42065 "The header contains the procedure number (C<guestfs_proc>) which is how the "
42066 "receiver knows what type of args structure to expect, or none at all."
42067 msgstr ""
42068
42069 #. type: textblock
42070 #: ../src/guestfs.pod:2496
42071 msgid ""
42072 "For functions that take optional arguments, the optional arguments are "
42073 "encoded in the C<guestfs_I<foo>_args> structure in the same way as ordinary "
42074 "arguments.  A bitmask in the header indicates which optional arguments are "
42075 "meaningful.  The bitmask is also checked to see if it contains bits set "
42076 "which the daemon does not know about (eg. if more optional arguments were "
42077 "added in a later version of the library), and this causes the call to be "
42078 "rejected."
42079 msgstr ""
42080
42081 #. type: textblock
42082 #: ../src/guestfs.pod:2504
42083 msgid "The reply message for ordinary functions is:"
42084 msgstr ""
42085
42086 #. type: verbatim
42087 #: ../src/guestfs.pod:2506
42088 #, no-wrap
42089 msgid ""
42090 " total length (header + ret,\n"
42091 "      but not including the length word itself)\n"
42092 " struct guestfs_message_header (encoded as XDR)\n"
42093 " struct guestfs_<foo>_ret (encoded as XDR)\n"
42094 "\n"
42095 msgstr ""
42096
42097 #. type: textblock
42098 #: ../src/guestfs.pod:2511
42099 msgid ""
42100 "As above the C<guestfs_I<foo>_ret> structure may be completely omitted for "
42101 "functions that return no formal return values."
42102 msgstr ""
42103
42104 #. type: textblock
42105 #: ../src/guestfs.pod:2514
42106 msgid ""
42107 "As above the total length of the reply is limited to C<GUESTFS_MESSAGE_MAX>."
42108 msgstr ""
42109
42110 #. type: textblock
42111 #: ../src/guestfs.pod:2517
42112 msgid ""
42113 "In the case of an error, a flag is set in the header, and the reply message "
42114 "is slightly changed:"
42115 msgstr ""
42116
42117 #. type: verbatim
42118 #: ../src/guestfs.pod:2520
42119 #, no-wrap
42120 msgid ""
42121 " total length (header + error,\n"
42122 "      but not including the length word itself)\n"
42123 " struct guestfs_message_header (encoded as XDR)\n"
42124 " struct guestfs_message_error (encoded as XDR)\n"
42125 "\n"
42126 msgstr ""
42127
42128 #. type: textblock
42129 #: ../src/guestfs.pod:2525
42130 msgid ""
42131 "The C<guestfs_message_error> structure contains the error message as a "
42132 "string."
42133 msgstr ""
42134
42135 #. type: =head3
42136 #: ../src/guestfs.pod:2528
42137 msgid "FUNCTIONS THAT HAVE FILEIN PARAMETERS"
42138 msgstr ""
42139
42140 #. type: textblock
42141 #: ../src/guestfs.pod:2530
42142 msgid ""
42143 "A C<FileIn> parameter indicates that we transfer a file I<into> the guest.  "
42144 "The normal request message is sent (see above).  However this is followed by "
42145 "a sequence of file chunks."
42146 msgstr ""
42147
42148 #. type: verbatim
42149 #: ../src/guestfs.pod:2534
42150 #, no-wrap
42151 msgid ""
42152 " total length (header + arguments,\n"
42153 "      but not including the length word itself,\n"
42154 "      and not including the chunks)\n"
42155 " struct guestfs_message_header (encoded as XDR)\n"
42156 " struct guestfs_<foo>_args (encoded as XDR)\n"
42157 " sequence of chunks for FileIn param #0\n"
42158 " sequence of chunks for FileIn param #1 etc.\n"
42159 "\n"
42160 msgstr ""
42161
42162 #. type: textblock
42163 #: ../src/guestfs.pod:2542
42164 msgid "The \"sequence of chunks\" is:"
42165 msgstr ""
42166
42167 #. type: verbatim
42168 #: ../src/guestfs.pod:2544
42169 #, no-wrap
42170 msgid ""
42171 " length of chunk (not including length word itself)\n"
42172 " struct guestfs_chunk (encoded as XDR)\n"
42173 " length of chunk\n"
42174 " struct guestfs_chunk (encoded as XDR)\n"
42175 "   ...\n"
42176 " length of chunk\n"
42177 " struct guestfs_chunk (with data.data_len == 0)\n"
42178 "\n"
42179 msgstr ""
42180
42181 #. type: textblock
42182 #: ../src/guestfs.pod:2552
42183 msgid ""
42184 "The final chunk has the C<data_len> field set to zero.  Additionally a flag "
42185 "is set in the final chunk to indicate either successful completion or early "
42186 "cancellation."
42187 msgstr ""
42188
42189 #. type: textblock
42190 #: ../src/guestfs.pod:2556
42191 msgid ""
42192 "At time of writing there are no functions that have more than one FileIn "
42193 "parameter.  However this is (theoretically) supported, by sending the "
42194 "sequence of chunks for each FileIn parameter one after another (from left to "
42195 "right)."
42196 msgstr ""
42197
42198 #. type: textblock
42199 #: ../src/guestfs.pod:2561
42200 msgid ""
42201 "Both the library (sender) I<and> the daemon (receiver) may cancel the "
42202 "transfer.  The library does this by sending a chunk with a special flag set "
42203 "to indicate cancellation.  When the daemon sees this, it cancels the whole "
42204 "RPC, does I<not> send any reply, and goes back to reading the next request."
42205 msgstr ""
42206
42207 #. type: textblock
42208 #: ../src/guestfs.pod:2567
42209 msgid ""
42210 "The daemon may also cancel.  It does this by writing a special word "
42211 "C<GUESTFS_CANCEL_FLAG> to the socket.  The library listens for this during "
42212 "the transfer, and if it gets it, it will cancel the transfer (it sends a "
42213 "cancel chunk).  The special word is chosen so that even if cancellation "
42214 "happens right at the end of the transfer (after the library has finished "
42215 "writing and has started listening for the reply), the \"spurious\" cancel "
42216 "flag will not be confused with the reply message."
42217 msgstr ""
42218
42219 #. type: textblock
42220 #: ../src/guestfs.pod:2576
42221 msgid ""
42222 "This protocol allows the transfer of arbitrary sized files (no 32 bit "
42223 "limit), and also files where the size is not known in advance (eg. from "
42224 "pipes or sockets).  However the chunks are rather small "
42225 "(C<GUESTFS_MAX_CHUNK_SIZE>), so that neither the library nor the daemon need "
42226 "to keep much in memory."
42227 msgstr ""
42228
42229 #. type: =head3
42230 #: ../src/guestfs.pod:2582
42231 msgid "FUNCTIONS THAT HAVE FILEOUT PARAMETERS"
42232 msgstr ""
42233
42234 #. type: textblock
42235 #: ../src/guestfs.pod:2584
42236 msgid ""
42237 "The protocol for FileOut parameters is exactly the same as for FileIn "
42238 "parameters, but with the roles of daemon and library reversed."
42239 msgstr ""
42240
42241 #. type: verbatim
42242 #: ../src/guestfs.pod:2587
42243 #, no-wrap
42244 msgid ""
42245 " total length (header + ret,\n"
42246 "      but not including the length word itself,\n"
42247 "      and not including the chunks)\n"
42248 " struct guestfs_message_header (encoded as XDR)\n"
42249 " struct guestfs_<foo>_ret (encoded as XDR)\n"
42250 " sequence of chunks for FileOut param #0\n"
42251 " sequence of chunks for FileOut param #1 etc.\n"
42252 "\n"
42253 msgstr ""
42254
42255 #. type: =head3
42256 #: ../src/guestfs.pod:2595
42257 msgid "INITIAL MESSAGE"
42258 msgstr ""
42259
42260 #. type: textblock
42261 #: ../src/guestfs.pod:2597
42262 msgid ""
42263 "When the daemon launches it sends an initial word (C<GUESTFS_LAUNCH_FLAG>) "
42264 "which indicates that the guest and daemon is alive.  This is what L</"
42265 "guestfs_launch> waits for."
42266 msgstr ""
42267
42268 #. type: =head3
42269 #: ../src/guestfs.pod:2601
42270 msgid "PROGRESS NOTIFICATION MESSAGES"
42271 msgstr ""
42272
42273 #. type: textblock
42274 #: ../src/guestfs.pod:2603
42275 msgid ""
42276 "The daemon may send progress notification messages at any time.  These are "
42277 "distinguished by the normal length word being replaced by "
42278 "C<GUESTFS_PROGRESS_FLAG>, followed by a fixed size progress message."
42279 msgstr ""
42280
42281 #. type: textblock
42282 #: ../src/guestfs.pod:2607
42283 msgid ""
42284 "The library turns them into progress callbacks (see L</"
42285 "GUESTFS_EVENT_PROGRESS>) if there is a callback registered, or discards them "
42286 "if not."
42287 msgstr ""
42288
42289 #. type: textblock
42290 #: ../src/guestfs.pod:2611
42291 msgid ""
42292 "The daemon self-limits the frequency of progress messages it sends (see "
42293 "C<daemon/proto.c:notify_progress>).  Not all calls generate progress "
42294 "messages."
42295 msgstr ""
42296
42297 #. type: =head1
42298 #: ../src/guestfs.pod:2615
42299 msgid "LIBGUESTFS VERSION NUMBERS"
42300 msgstr ""
42301
42302 #. type: textblock
42303 #: ../src/guestfs.pod:2617
42304 msgid ""
42305 "Since April 2010, libguestfs has started to make separate development and "
42306 "stable releases, along with corresponding branches in our git repository.  "
42307 "These separate releases can be identified by version number:"
42308 msgstr ""
42309
42310 #. type: verbatim
42311 #: ../src/guestfs.pod:2622
42312 #, no-wrap
42313 msgid ""
42314 "                 even numbers for stable: 1.2.x, 1.4.x, ...\n"
42315 "       .-------- odd numbers for development: 1.3.x, 1.5.x, ...\n"
42316 "       |\n"
42317 "       v\n"
42318 " 1  .  3  .  5\n"
42319 " ^           ^\n"
42320 " |           |\n"
42321 " |           `-------- sub-version\n"
42322 " |\n"
42323 " `------ always '1' because we don't change the ABI\n"
42324 "\n"
42325 msgstr ""
42326
42327 #. type: textblock
42328 #: ../src/guestfs.pod:2633
42329 msgid "Thus \"1.3.5\" is the 5th update to the development branch \"1.3\"."
42330 msgstr ""
42331
42332 #. type: textblock
42333 #: ../src/guestfs.pod:2635
42334 msgid ""
42335 "As time passes we cherry pick fixes from the development branch and backport "
42336 "those into the stable branch, the effect being that the stable branch should "
42337 "get more stable and less buggy over time.  So the stable releases are ideal "
42338 "for people who don't need new features but would just like the software to "
42339 "work."
42340 msgstr ""
42341
42342 #. type: textblock
42343 #: ../src/guestfs.pod:2641
42344 msgid "Our criteria for backporting changes are:"
42345 msgstr ""
42346
42347 #. type: textblock
42348 #: ../src/guestfs.pod:2647
42349 msgid ""
42350 "Documentation changes which don't affect any code are backported unless the "
42351 "documentation refers to a future feature which is not in stable."
42352 msgstr ""
42353
42354 #. type: textblock
42355 #: ../src/guestfs.pod:2653
42356 msgid ""
42357 "Bug fixes which are not controversial, fix obvious problems, and have been "
42358 "well tested are backported."
42359 msgstr ""
42360
42361 #. type: textblock
42362 #: ../src/guestfs.pod:2658
42363 msgid ""
42364 "Simple rearrangements of code which shouldn't affect how it works get "
42365 "backported.  This is so that the code in the two branches doesn't get too "
42366 "far out of step, allowing us to backport future fixes more easily."
42367 msgstr ""
42368
42369 #. type: textblock
42370 #: ../src/guestfs.pod:2664
42371 msgid ""
42372 "We I<don't> backport new features, new APIs, new tools etc, except in one "
42373 "exceptional case: the new feature is required in order to implement an "
42374 "important bug fix."
42375 msgstr ""
42376
42377 #. type: textblock
42378 #: ../src/guestfs.pod:2670
42379 msgid ""
42380 "A new stable branch starts when we think the new features in development are "
42381 "substantial and compelling enough over the current stable branch to warrant "
42382 "it.  When that happens we create new stable and development versions 1.N.0 "
42383 "and 1.(N+1).0 [N is even].  The new dot-oh release won't necessarily be so "
42384 "stable at this point, but by backporting fixes from development, that branch "
42385 "will stabilize over time."
42386 msgstr ""
42387
42388 #. type: =head1
42389 #: ../src/guestfs.pod:2678
42390 msgid "EXTENDING LIBGUESTFS"
42391 msgstr ""
42392
42393 #. type: =head2
42394 #: ../src/guestfs.pod:2680
42395 msgid "ADDING A NEW API ACTION"
42396 msgstr ""
42397
42398 #. type: textblock
42399 #: ../src/guestfs.pod:2682
42400 msgid ""
42401 "Large amounts of boilerplate code in libguestfs (RPC, bindings, "
42402 "documentation) are generated, and this makes it easy to extend the "
42403 "libguestfs API."
42404 msgstr ""
42405
42406 #. type: textblock
42407 #: ../src/guestfs.pod:2686
42408 msgid "To add a new API action there are two changes:"
42409 msgstr ""
42410
42411 #. type: textblock
42412 #: ../src/guestfs.pod:2692
42413 msgid ""
42414 "You need to add a description of the call (name, parameters, return type, "
42415 "tests, documentation) to C<generator/generator_actions.ml>."
42416 msgstr ""
42417
42418 #. type: textblock
42419 #: ../src/guestfs.pod:2695
42420 msgid ""
42421 "There are two sorts of API action, depending on whether the call goes "
42422 "through to the daemon in the appliance, or is serviced entirely by the "
42423 "library (see L</ARCHITECTURE> above).  L</guestfs_sync> is an example of the "
42424 "former, since the sync is done in the appliance.  L</guestfs_set_trace> is "
42425 "an example of the latter, since a trace flag is maintained in the handle and "
42426 "all tracing is done on the library side."
42427 msgstr ""
42428
42429 #. type: textblock
42430 #: ../src/guestfs.pod:2703
42431 msgid ""
42432 "Most new actions are of the first type, and get added to the "
42433 "C<daemon_functions> list.  Each function has a unique procedure number used "
42434 "in the RPC protocol which is assigned to that action when we publish "
42435 "libguestfs and cannot be reused.  Take the latest procedure number and "
42436 "increment it."
42437 msgstr ""
42438
42439 #. type: textblock
42440 #: ../src/guestfs.pod:2709
42441 msgid ""
42442 "For library-only actions of the second type, add to the "
42443 "C<non_daemon_functions> list.  Since these functions are serviced by the "
42444 "library and do not travel over the RPC mechanism to the daemon, these "
42445 "functions do not need a procedure number, and so the procedure number is set "
42446 "to C<-1>."
42447 msgstr ""
42448
42449 #. type: textblock
42450 #: ../src/guestfs.pod:2717
42451 msgid "Implement the action (in C):"
42452 msgstr ""
42453
42454 #. type: textblock
42455 #: ../src/guestfs.pod:2719
42456 msgid ""
42457 "For daemon actions, implement the function C<do_E<lt>nameE<gt>> in the "
42458 "C<daemon/> directory."
42459 msgstr ""
42460
42461 #. type: textblock
42462 #: ../src/guestfs.pod:2722
42463 msgid ""
42464 "For library actions, implement the function C<guestfs__E<lt>nameE<gt>> "
42465 "(note: double underscore) in the C<src/> directory."
42466 msgstr ""
42467
42468 #. type: textblock
42469 #: ../src/guestfs.pod:2725
42470 msgid "In either case, use another function as an example of what to do."
42471 msgstr ""
42472
42473 #. type: textblock
42474 #: ../src/guestfs.pod:2729
42475 msgid "After making these changes, use C<make> to compile."
42476 msgstr ""
42477
42478 #. type: textblock
42479 #: ../src/guestfs.pod:2731
42480 msgid ""
42481 "Note that you don't need to implement the RPC, language bindings, manual "
42482 "pages or anything else.  It's all automatically generated from the OCaml "
42483 "description."
42484 msgstr ""
42485
42486 #. type: =head2
42487 #: ../src/guestfs.pod:2735
42488 msgid "ADDING TESTS FOR AN API ACTION"
42489 msgstr ""
42490
42491 #. type: textblock
42492 #: ../src/guestfs.pod:2737
42493 msgid ""
42494 "You can supply zero or as many tests as you want per API call.  The tests "
42495 "can either be added as part of the API description (C<generator/"
42496 "generator_actions.ml>), or in some rarer cases you may want to drop a script "
42497 "into C<regressions/>.  Note that adding a script to C<regressions/> is "
42498 "slower, so if possible use the first method."
42499 msgstr ""
42500
42501 #. type: textblock
42502 #: ../src/guestfs.pod:2743
42503 msgid ""
42504 "The following describes the test environment used when you add an API test "
42505 "in C<generator_actions.ml>."
42506 msgstr ""
42507
42508 #. type: textblock
42509 #: ../src/guestfs.pod:2746
42510 msgid "The test environment has 4 block devices:"
42511 msgstr ""
42512
42513 #. type: =item
42514 #: ../src/guestfs.pod:2750
42515 msgid "C</dev/sda> 500MB"
42516 msgstr "C</dev/sda> 500 МБ"
42517
42518 #. type: textblock
42519 #: ../src/guestfs.pod:2752
42520 msgid "General block device for testing."
42521 msgstr ""
42522
42523 #. type: =item
42524 #: ../src/guestfs.pod:2754
42525 msgid "C</dev/sdb> 50MB"
42526 msgstr "C</dev/sdb> 50 МБ"
42527
42528 #. type: textblock
42529 #: ../src/guestfs.pod:2756
42530 msgid ""
42531 "C</dev/sdb1> is an ext2 filesystem used for testing filesystem write "
42532 "operations."
42533 msgstr ""
42534
42535 #. type: =item
42536 #: ../src/guestfs.pod:2759
42537 msgid "C</dev/sdc> 10MB"
42538 msgstr "C</dev/sdc> 10 МБ"
42539
42540 #. type: textblock
42541 #: ../src/guestfs.pod:2761
42542 msgid "Used in a few tests where two block devices are needed."
42543 msgstr ""
42544
42545 #. type: =item
42546 #: ../src/guestfs.pod:2763
42547 msgid "C</dev/sdd>"
42548 msgstr "C</dev/sdd>"
42549
42550 #. type: textblock
42551 #: ../src/guestfs.pod:2765
42552 msgid "ISO with fixed content (see C<images/test.iso>)."
42553 msgstr ""
42554
42555 #. type: textblock
42556 #: ../src/guestfs.pod:2769
42557 msgid ""
42558 "To be able to run the tests in a reasonable amount of time, the libguestfs "
42559 "appliance and block devices are reused between tests.  So don't try testing "
42560 "L</guestfs_kill_subprocess> :-x"
42561 msgstr ""
42562
42563 #. type: textblock
42564 #: ../src/guestfs.pod:2773
42565 msgid ""
42566 "Each test starts with an initial scenario, selected using one of the "
42567 "C<Init*> expressions, described in C<generator/generator_types.ml>.  These "
42568 "initialize the disks mentioned above in a particular way as documented in "
42569 "C<generator_types.ml>.  You should not assume anything about the previous "
42570 "contents of other disks that are not initialized."
42571 msgstr ""
42572
42573 #. type: textblock
42574 #: ../src/guestfs.pod:2779
42575 msgid ""
42576 "You can add a prerequisite clause to any individual test.  This is a run-"
42577 "time check, which, if it fails, causes the test to be skipped.  Useful if "
42578 "testing a command which might not work on all variations of libguestfs "
42579 "builds.  A test that has prerequisite of C<Always> means to run "
42580 "unconditionally."
42581 msgstr ""
42582
42583 #. type: textblock
42584 #: ../src/guestfs.pod:2785
42585 msgid ""
42586 "In addition, packagers can skip individual tests by setting environment "
42587 "variables before running C<make check>."
42588 msgstr ""
42589
42590 #. type: verbatim
42591 #: ../src/guestfs.pod:2788
42592 #, no-wrap
42593 msgid ""
42594 " SKIP_TEST_<CMD>_<NUM>=1\n"
42595 "\n"
42596 msgstr ""
42597
42598 #. type: textblock
42599 #: ../src/guestfs.pod:2790
42600 msgid "eg: C<SKIP_TEST_COMMAND_3=1> skips test #3 of L</guestfs_command>."
42601 msgstr ""
42602
42603 #. type: verbatim
42604 #: ../src/guestfs.pod:2794
42605 #, no-wrap
42606 msgid ""
42607 " SKIP_TEST_<CMD>=1\n"
42608 "\n"
42609 msgstr ""
42610
42611 #. type: textblock
42612 #: ../src/guestfs.pod:2796
42613 msgid "eg: C<SKIP_TEST_ZEROFREE=1> skips all L</guestfs_zerofree> tests."
42614 msgstr ""
42615
42616 #. type: textblock
42617 #: ../src/guestfs.pod:2798
42618 msgid "Packagers can run only certain tests by setting for example:"
42619 msgstr ""
42620
42621 #. type: verbatim
42622 #: ../src/guestfs.pod:2800
42623 #, no-wrap
42624 msgid ""
42625 " TEST_ONLY=\"vfs_type zerofree\"\n"
42626 "\n"
42627 msgstr ""
42628
42629 #. type: textblock
42630 #: ../src/guestfs.pod:2802
42631 msgid ""
42632 "See C<capitests/tests.c> for more details of how these environment variables "
42633 "work."
42634 msgstr ""
42635
42636 #. type: =head2
42637 #: ../src/guestfs.pod:2805
42638 msgid "DEBUGGING NEW API ACTIONS"
42639 msgstr ""
42640
42641 #. type: textblock
42642 #: ../src/guestfs.pod:2807
42643 msgid "Test new actions work before submitting them."
42644 msgstr ""
42645
42646 #. type: textblock
42647 #: ../src/guestfs.pod:2809
42648 msgid "You can use guestfish to try out new commands."
42649 msgstr ""
42650
42651 #. type: textblock
42652 #: ../src/guestfs.pod:2811
42653 msgid ""
42654 "Debugging the daemon is a problem because it runs inside a minimal "
42655 "environment.  However you can fprintf messages in the daemon to stderr, and "
42656 "they will show up if you use C<guestfish -v>."
42657 msgstr ""
42658
42659 #. type: =head2
42660 #: ../src/guestfs.pod:2815
42661 msgid "FORMATTING CODE AND OTHER CONVENTIONS"
42662 msgstr ""
42663
42664 #. type: textblock
42665 #: ../src/guestfs.pod:2817
42666 msgid ""
42667 "Our C source code generally adheres to some basic code-formatting "
42668 "conventions.  The existing code base is not totally consistent on this "
42669 "front, but we do prefer that contributed code be formatted similarly.  In "
42670 "short, use spaces-not-TABs for indentation, use 2 spaces for each "
42671 "indentation level, and other than that, follow the K&R style."
42672 msgstr ""
42673
42674 #. type: textblock
42675 #: ../src/guestfs.pod:2823
42676 msgid ""
42677 "If you use Emacs, add the following to one of one of your start-up files (e."
42678 "g., ~/.emacs), to help ensure that you get indentation right:"
42679 msgstr ""
42680
42681 #. type: verbatim
42682 #: ../src/guestfs.pod:2826
42683 #, no-wrap
42684 msgid ""
42685 " ;;; In libguestfs, indent with spaces everywhere (not TABs).\n"
42686 " ;;; Exceptions: Makefile and ChangeLog modes.\n"
42687 " (add-hook 'find-file-hook\n"
42688 "     '(lambda () (if (and buffer-file-name\n"
42689 "                          (string-match \"/libguestfs\\\\>\"\n"
42690 "                              (buffer-file-name))\n"
42691 "                          (not (string-equal mode-name \"Change Log\"))\n"
42692 "                          (not (string-equal mode-name \"Makefile\")))\n"
42693 "                     (setq indent-tabs-mode nil))))\n"
42694 " \n"
42695 msgstr ""
42696
42697 #. type: verbatim
42698 #: ../src/guestfs.pod:2836
42699 #, no-wrap
42700 msgid ""
42701 " ;;; When editing C sources in libguestfs, use this style.\n"
42702 " (defun libguestfs-c-mode ()\n"
42703 "   \"C mode with adjusted defaults for use with libguestfs.\"\n"
42704 "   (interactive)\n"
42705 "   (c-set-style \"K&R\")\n"
42706 "   (setq c-indent-level 2)\n"
42707 "   (setq c-basic-offset 2))\n"
42708 " (add-hook 'c-mode-hook\n"
42709 "           '(lambda () (if (string-match \"/libguestfs\\\\>\"\n"
42710 "                               (buffer-file-name))\n"
42711 "                           (libguestfs-c-mode))))\n"
42712 "\n"
42713 msgstr ""
42714
42715 #. type: textblock
42716 #: ../src/guestfs.pod:2848
42717 msgid "Enable warnings when compiling (and fix any problems this finds):"
42718 msgstr ""
42719
42720 #. type: verbatim
42721 #: ../src/guestfs.pod:2851
42722 #, no-wrap
42723 msgid ""
42724 " ./configure --enable-gcc-warnings\n"
42725 "\n"
42726 msgstr ""
42727 " ./configure --enable-gcc-warnings\n"
42728 "\n"
42729
42730 #. type: textblock
42731 #: ../src/guestfs.pod:2853
42732 msgid "Useful targets are:"
42733 msgstr ""
42734
42735 #. type: verbatim
42736 #: ../src/guestfs.pod:2855
42737 #, no-wrap
42738 msgid ""
42739 " make syntax-check  # checks the syntax of the C code\n"
42740 " make check         # runs the test suite\n"
42741 "\n"
42742 msgstr ""
42743
42744 #. type: =head2
42745 #: ../src/guestfs.pod:2858
42746 msgid "DAEMON CUSTOM PRINTF FORMATTERS"
42747 msgstr ""
42748
42749 #. type: textblock
42750 #: ../src/guestfs.pod:2860
42751 msgid ""
42752 "In the daemon code we have created custom printf formatters C<%Q> and C<%R>, "
42753 "which are used to do shell quoting."
42754 msgstr ""
42755
42756 #. type: =item
42757 #: ../src/guestfs.pod:2865
42758 msgid "%Q"
42759 msgstr "%Q"
42760
42761 #. type: textblock
42762 #: ../src/guestfs.pod:2867
42763 msgid ""
42764 "Simple shell quoted string.  Any spaces or other shell characters are "
42765 "escaped for you."
42766 msgstr ""
42767
42768 #. type: =item
42769 #: ../src/guestfs.pod:2870
42770 msgid "%R"
42771 msgstr "%R"
42772
42773 #. type: textblock
42774 #: ../src/guestfs.pod:2872
42775 msgid ""
42776 "Same as C<%Q> except the string is treated as a path which is prefixed by "
42777 "the sysroot."
42778 msgstr ""
42779
42780 #. type: verbatim
42781 #: ../src/guestfs.pod:2879
42782 #, no-wrap
42783 msgid ""
42784 " asprintf (&cmd, \"cat %R\", path);\n"
42785 "\n"
42786 msgstr ""
42787 " asprintf (&cmd, \"cat %R\", path);\n"
42788 "\n"
42789
42790 #. type: textblock
42791 #: ../src/guestfs.pod:2881
42792 msgid "would produce C<cat /sysroot/some\\ path\\ with\\ spaces>"
42793 msgstr ""
42794
42795 #. type: textblock
42796 #: ../src/guestfs.pod:2883
42797 msgid ""
42798 "I<Note:> Do I<not> use these when you are passing parameters to the C<command"
42799 "{,r,v,rv}()> functions.  These parameters do NOT need to be quoted because "
42800 "they are not passed via the shell (instead, straight to exec).  You probably "
42801 "want to use the C<sysroot_path()> function however."
42802 msgstr ""
42803
42804 #. type: =head2
42805 #: ../src/guestfs.pod:2889
42806 msgid "SUBMITTING YOUR NEW API ACTIONS"
42807 msgstr ""
42808
42809 #. type: textblock
42810 #: ../src/guestfs.pod:2891
42811 msgid ""
42812 "Submit patches to the mailing list: L<http://www.redhat.com/mailman/listinfo/"
42813 "libguestfs> and CC to L<rjones@redhat.com>."
42814 msgstr ""
42815
42816 #. type: =head2
42817 #: ../src/guestfs.pod:2895
42818 msgid "INTERNATIONALIZATION (I18N) SUPPORT"
42819 msgstr ""
42820
42821 #. type: textblock
42822 #: ../src/guestfs.pod:2897
42823 msgid "We support i18n (gettext anyhow) in the library."
42824 msgstr ""
42825
42826 #. type: textblock
42827 #: ../src/guestfs.pod:2899
42828 msgid ""
42829 "However many messages come from the daemon, and we don't translate those at "
42830 "the moment.  One reason is that the appliance generally has all locale files "
42831 "removed from it, because they take up a lot of space.  So we'd have to readd "
42832 "some of those, as well as copying our PO files into the appliance."
42833 msgstr ""
42834
42835 #. type: textblock
42836 #: ../src/guestfs.pod:2905
42837 msgid ""
42838 "Debugging messages are never translated, since they are intended for the "
42839 "programmers."
42840 msgstr ""
42841
42842 #. type: =head2
42843 #: ../src/guestfs.pod:2908
42844 msgid "SOURCE CODE SUBDIRECTORIES"
42845 msgstr ""
42846
42847 #. type: =item
42848 #: ../src/guestfs.pod:2912
42849 msgid "C<align>"
42850 msgstr ""
42851
42852 #. type: textblock
42853 #: ../src/guestfs.pod:2914
42854 msgid "L<virt-alignment-scan(1)> command and documentation."
42855 msgstr ""
42856
42857 #. type: textblock
42858 #: ../src/guestfs.pod:2918
42859 msgid "The libguestfs appliance, build scripts and so on."
42860 msgstr ""
42861
42862 #. type: =item
42863 #: ../src/guestfs.pod:2920
42864 msgid "C<capitests>"
42865 msgstr "C<capitests>"
42866
42867 #. type: textblock
42868 #: ../src/guestfs.pod:2922
42869 msgid "Automated tests of the C API."
42870 msgstr ""
42871
42872 #. type: =item
42873 #: ../src/guestfs.pod:2924
42874 msgid "C<cat>"
42875 msgstr "C<cat>"
42876
42877 #. type: textblock
42878 #: ../src/guestfs.pod:2926
42879 msgid ""
42880 "The L<virt-cat(1)>, L<virt-filesystems(1)> and L<virt-ls(1)> commands and "
42881 "documentation."
42882 msgstr ""
42883
42884 #. type: =item
42885 #: ../src/guestfs.pod:2929
42886 msgid "C<caution>"
42887 msgstr "C<caution>"
42888
42889 #. type: textblock
42890 #: ../src/guestfs.pod:2931
42891 msgid ""
42892 "Safety and liveness tests of components that libguestfs depends upon (not of "
42893 "libguestfs itself).  Mainly this is for qemu and the kernel."
42894 msgstr ""
42895
42896 #. type: =item
42897 #: ../src/guestfs.pod:2934
42898 msgid "C<clone>"
42899 msgstr ""
42900
42901 #. type: textblock
42902 #: ../src/guestfs.pod:2936
42903 msgid ""
42904 "Tools for cloning virtual machines.  Currently contains L<virt-sysprep(1)> "
42905 "command and documentation."
42906 msgstr ""
42907
42908 #. type: =item
42909 #: ../src/guestfs.pod:2939
42910 msgid "C<contrib>"
42911 msgstr "C<contrib>"
42912
42913 #. type: textblock
42914 #: ../src/guestfs.pod:2941
42915 msgid "Outside contributions, experimental parts."
42916 msgstr ""
42917
42918 #. type: =item
42919 #: ../src/guestfs.pod:2943
42920 msgid "C<daemon>"
42921 msgstr "C<daemon>"
42922
42923 #. type: textblock
42924 #: ../src/guestfs.pod:2945
42925 msgid ""
42926 "The daemon that runs inside the libguestfs appliance and carries out actions."
42927 msgstr ""
42928
42929 #. type: =item
42930 #: ../src/guestfs.pod:2948
42931 msgid "C<df>"
42932 msgstr "C<df>"
42933
42934 #. type: textblock
42935 #: ../src/guestfs.pod:2950
42936 msgid "L<virt-df(1)> command and documentation."
42937 msgstr ""
42938
42939 #. type: =item
42940 #: ../src/guestfs.pod:2952
42941 msgid "C<edit>"
42942 msgstr "C<edit>"
42943
42944 #. type: textblock
42945 #: ../src/guestfs.pod:2954
42946 msgid "L<virt-edit(1)> command and documentation."
42947 msgstr ""
42948
42949 #. type: =item
42950 #: ../src/guestfs.pod:2956
42951 msgid "C<examples>"
42952 msgstr "C<examples>"
42953
42954 #. type: textblock
42955 #: ../src/guestfs.pod:2958
42956 msgid "C API example code."
42957 msgstr "Код прикладів використання програмного інтерфейсу мовою C."
42958
42959 #. type: =item
42960 #: ../src/guestfs.pod:2960
42961 #, fuzzy
42962 #| msgid "C<capitests>"
42963 msgid "C<extratests>"
42964 msgstr "C<capitests>"
42965
42966 #. type: textblock
42967 #: ../src/guestfs.pod:2962
42968 msgid ""
42969 "Extra tests.  These are not run by default because they require special "
42970 "tools or configuration."
42971 msgstr ""
42972
42973 #. type: =item
42974 #: ../src/guestfs.pod:2965
42975 msgid "C<fish>"
42976 msgstr "C<fish>"
42977
42978 #. type: textblock
42979 #: ../src/guestfs.pod:2967
42980 msgid ""
42981 "L<guestfish(1)>, the command-line shell, and various shell scripts built on "
42982 "top such as L<virt-copy-in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, "
42983 "L<virt-tar-out(1)>."
42984 msgstr ""
42985
42986 #. type: =item
42987 #: ../src/guestfs.pod:2971
42988 msgid "C<fuse>"
42989 msgstr "C<fuse>"
42990
42991 #. type: textblock
42992 #: ../src/guestfs.pod:2973
42993 msgid ""
42994 "L<guestmount(1)>, FUSE (userspace filesystem) built on top of libguestfs."
42995 msgstr ""
42996
42997 #. type: =item
42998 #: ../src/guestfs.pod:2975
42999 msgid "C<generator>"
43000 msgstr "C<generator>"
43001
43002 #. type: textblock
43003 #: ../src/guestfs.pod:2977
43004 msgid ""
43005 "The crucially important generator, used to automatically generate large "
43006 "amounts of boilerplate C code for things like RPC and bindings."
43007 msgstr ""
43008
43009 #. type: =item
43010 #: ../src/guestfs.pod:2980
43011 msgid "C<images>"
43012 msgstr "C<images>"
43013
43014 #. type: textblock
43015 #: ../src/guestfs.pod:2982
43016 msgid "Files used by the test suite."
43017 msgstr ""
43018
43019 #. type: textblock
43020 #: ../src/guestfs.pod:2984
43021 msgid "Some \"phony\" guest images which we test against."
43022 msgstr ""
43023
43024 #. type: =item
43025 #: ../src/guestfs.pod:2986
43026 msgid "C<inspector>"
43027 msgstr "C<inspector>"
43028
43029 #. type: textblock
43030 #: ../src/guestfs.pod:2988
43031 msgid "L<virt-inspector(1)>, the virtual machine image inspector."
43032 msgstr ""
43033
43034 #. type: =item
43035 #: ../src/guestfs.pod:2990
43036 msgid "C<logo>"
43037 msgstr "C<logo>"
43038
43039 #. type: textblock
43040 #: ../src/guestfs.pod:2992
43041 msgid "Logo used on the website.  The fish is called Arthur by the way."
43042 msgstr ""
43043
43044 #. type: =item
43045 #: ../src/guestfs.pod:2994
43046 msgid "C<m4>"
43047 msgstr "C<m4>"
43048
43049 #. type: textblock
43050 #: ../src/guestfs.pod:2996
43051 msgid "M4 macros used by autoconf."
43052 msgstr ""
43053
43054 #. type: =item
43055 #: ../src/guestfs.pod:2998
43056 msgid "C<po>"
43057 msgstr "C<po>"
43058
43059 #. type: textblock
43060 #: ../src/guestfs.pod:3000
43061 msgid "Translations of simple gettext strings."
43062 msgstr "Переклади простих рядків gettext."
43063
43064 #. type: =item
43065 #: ../src/guestfs.pod:3002
43066 msgid "C<po-docs>"
43067 msgstr "C<po-docs>"
43068
43069 #. type: textblock
43070 #: ../src/guestfs.pod:3004
43071 msgid ""
43072 "The build infrastructure and PO files for translations of manpages and POD "
43073 "files.  Eventually this will be combined with the C<po> directory, but that "
43074 "is rather complicated."
43075 msgstr ""
43076
43077 #. type: =item
43078 #: ../src/guestfs.pod:3008
43079 msgid "C<regressions>"
43080 msgstr "C<regressions>"
43081
43082 #. type: textblock
43083 #: ../src/guestfs.pod:3010
43084 msgid "Regression tests."
43085 msgstr "Тести на регресії."
43086
43087 #. type: =item
43088 #: ../src/guestfs.pod:3012
43089 msgid "C<rescue>"
43090 msgstr "C<rescue>"
43091
43092 #. type: textblock
43093 #: ../src/guestfs.pod:3014
43094 msgid "L<virt-rescue(1)> command and documentation."
43095 msgstr ""
43096
43097 #. type: =item
43098 #: ../src/guestfs.pod:3016
43099 msgid "C<resize>"
43100 msgstr ""
43101
43102 #. type: textblock
43103 #: ../src/guestfs.pod:3018
43104 msgid "L<virt-resize(1)> command and documentation."
43105 msgstr ""
43106
43107 #. type: =item
43108 #: ../src/guestfs.pod:3020
43109 msgid "C<sparsify>"
43110 msgstr ""
43111
43112 #. type: textblock
43113 #: ../src/guestfs.pod:3022
43114 msgid "L<virt-sparsify(1)> command and documentation."
43115 msgstr ""
43116
43117 #. type: =item
43118 #: ../src/guestfs.pod:3024
43119 msgid "C<src>"
43120 msgstr "C<src>"
43121
43122 #. type: textblock
43123 #: ../src/guestfs.pod:3026
43124 msgid "Source code to the C library."
43125 msgstr ""
43126
43127 #. type: =item
43128 #: ../src/guestfs.pod:3028
43129 msgid "C<tools>"
43130 msgstr "C<tools>"
43131
43132 #. type: textblock
43133 #: ../src/guestfs.pod:3030
43134 msgid ""
43135 "Command line tools written in Perl (L<virt-win-reg(1)> and many others)."
43136 msgstr ""
43137
43138 #. type: =item
43139 #: ../src/guestfs.pod:3032
43140 msgid "C<test-tool>"
43141 msgstr "C<test-tool>"
43142
43143 #. type: textblock
43144 #: ../src/guestfs.pod:3034
43145 msgid ""
43146 "Test tool for end users to test if their qemu/kernel combination will work "
43147 "with libguestfs."
43148 msgstr ""
43149
43150 #. type: =item
43151 #: ../src/guestfs.pod:3037
43152 msgid "C<csharp>"
43153 msgstr "C<csharp>"
43154
43155 #. type: =item
43156 #: ../src/guestfs.pod:3039
43157 msgid "C<erlang>"
43158 msgstr ""
43159
43160 #. type: =item
43161 #: ../src/guestfs.pod:3041
43162 msgid "C<haskell>"
43163 msgstr "C<haskell>"
43164
43165 #. type: =item
43166 #: ../src/guestfs.pod:3043
43167 msgid "C<java>"
43168 msgstr "C<java>"
43169
43170 #. type: =item
43171 #: ../src/guestfs.pod:3045
43172 msgid "C<ocaml>"
43173 msgstr "C<ocaml>"
43174
43175 #. type: =item
43176 #: ../src/guestfs.pod:3047
43177 msgid "C<php>"
43178 msgstr "C<php>"
43179
43180 #. type: =item
43181 #: ../src/guestfs.pod:3049
43182 msgid "C<perl>"
43183 msgstr "C<perl>"
43184
43185 #. type: =item
43186 #: ../src/guestfs.pod:3051
43187 msgid "C<python>"
43188 msgstr "C<python>"
43189
43190 #. type: =item
43191 #: ../src/guestfs.pod:3053
43192 msgid "C<ruby>"
43193 msgstr "C<ruby>"
43194
43195 #. type: textblock
43196 #: ../src/guestfs.pod:3055
43197 msgid "Language bindings."
43198 msgstr "Прив’язки до мов програмування."
43199
43200 #. type: =head2
43201 #: ../src/guestfs.pod:3059
43202 msgid "MAKING A STABLE RELEASE"
43203 msgstr ""
43204
43205 #. type: textblock
43206 #: ../src/guestfs.pod:3061
43207 msgid ""
43208 "When we make a stable release, there are several steps documented here.  See "
43209 "L</LIBGUESTFS VERSION NUMBERS> for general information about the stable "
43210 "branch policy."
43211 msgstr ""
43212
43213 #. type: textblock
43214 #: ../src/guestfs.pod:3069
43215 msgid ""
43216 "Check C<make && make check> works on at least Fedora, Debian and Ubuntu."
43217 msgstr ""
43218
43219 #. type: textblock
43220 #: ../src/guestfs.pod:3074
43221 msgid "Finalize RELEASE-NOTES."
43222 msgstr ""
43223
43224 #. type: textblock
43225 #: ../src/guestfs.pod:3078
43226 msgid "Update ROADMAP."
43227 msgstr ""
43228
43229 #. type: textblock
43230 #: ../src/guestfs.pod:3082
43231 msgid "Run C<src/api-support/update-from-tarballs.sh>."
43232 msgstr ""
43233
43234 #. type: textblock
43235 #: ../src/guestfs.pod:3086
43236 msgid "Push and pull from Transifex."
43237 msgstr ""
43238
43239 #. type: verbatim
43240 #: ../src/guestfs.pod:3090
43241 #, no-wrap
43242 msgid ""
43243 " tx push -s\n"
43244 "\n"
43245 msgstr ""
43246
43247 #. type: textblock
43248 #: ../src/guestfs.pod:3092
43249 msgid "to push the latest POT files to Transifex.  Then run:"
43250 msgstr ""
43251
43252 #. type: verbatim
43253 #: ../src/guestfs.pod:3094
43254 #, no-wrap
43255 msgid ""
43256 " ./tx-pull.sh\n"
43257 "\n"
43258 msgstr ""
43259
43260 #. type: textblock
43261 #: ../src/guestfs.pod:3096
43262 msgid "which is a wrapper to pull the latest translated C<*.po> files."
43263 msgstr ""
43264
43265 #. type: textblock
43266 #: ../src/guestfs.pod:3100
43267 msgid ""
43268 "Create new stable and development directories under L<http://libguestfs.org/"
43269 "download>."
43270 msgstr ""
43271
43272 #. type: textblock
43273 #: ../src/guestfs.pod:3105
43274 msgid "Create the branch in git:"
43275 msgstr ""
43276
43277 #. type: verbatim
43278 #: ../src/guestfs.pod:3107
43279 #, no-wrap
43280 msgid ""
43281 " git tag -a 1.XX.0 -m \"Version 1.XX.0 (stable)\"\n"
43282 " git tag -a 1.YY.0 -m \"Version 1.YY.0 (development)\"\n"
43283 " git branch stable-1.XX\n"
43284 " git push origin tag 1.XX.0 1.YY.0 stable-1.XX\n"
43285 "\n"
43286 msgstr ""
43287
43288 #. type: =head1
43289 #: ../src/guestfs.pod:3114
43290 msgid "LIMITS"
43291 msgstr "ОБМЕЖЕННЯ"
43292
43293 #. type: =head2
43294 #: ../src/guestfs.pod:3116
43295 msgid "PROTOCOL LIMITS"
43296 msgstr "ОБМЕЖЕННЯ ПРОТОКОЛУ"
43297
43298 #. type: textblock
43299 #: ../src/guestfs.pod:3118
43300 msgid ""
43301 "Internally libguestfs uses a message-based protocol to pass API calls and "
43302 "their responses to and from a small \"appliance\" (see L</INTERNALS> for "
43303 "plenty more detail about this).  The maximum message size used by the "
43304 "protocol is slightly less than 4 MB.  For some API calls you may need to be "
43305 "aware of this limit.  The API calls which may be affected are individually "
43306 "documented, with a link back to this section of the documentation."
43307 msgstr ""
43308
43309 #. type: textblock
43310 #: ../src/guestfs.pod:3126
43311 msgid ""
43312 "A simple call such as L</guestfs_cat> returns its result (the file data) in "
43313 "a simple string.  Because this string is at some point internally encoded as "
43314 "a message, the maximum size that it can return is slightly under 4 MB.  If "
43315 "the requested file is larger than this then you will get an error."
43316 msgstr ""
43317
43318 #. type: textblock
43319 #: ../src/guestfs.pod:3132
43320 msgid ""
43321 "In order to transfer large files into and out of the guest filesystem, you "
43322 "need to use particular calls that support this.  The sections L</UPLOADING> "
43323 "and L</DOWNLOADING> document how to do this."
43324 msgstr ""
43325
43326 #. type: textblock
43327 #: ../src/guestfs.pod:3136
43328 msgid ""
43329 "You might also consider mounting the disk image using our FUSE filesystem "
43330 "support (L<guestmount(1)>)."
43331 msgstr ""
43332
43333 #. type: =head2
43334 #: ../src/guestfs.pod:3139
43335 msgid "MAXIMUM NUMBER OF DISKS"
43336 msgstr ""
43337
43338 #. type: textblock
43339 #: ../src/guestfs.pod:3141
43340 msgid "When using virtio disks (the default) the current limit is B<25> disks."
43341 msgstr ""
43342
43343 #. type: textblock
43344 #: ../src/guestfs.pod:3144
43345 msgid ""
43346 "Virtio itself consumes 1 virtual PCI slot per disk, and PCI is limited to 31 "
43347 "slots.  However febootstrap only understands disks with names C</dev/vda> "
43348 "through C</dev/vdz> (26 letters) and it reserves one disk for its own "
43349 "purposes."
43350 msgstr ""
43351
43352 #. type: textblock
43353 #: ../src/guestfs.pod:3149
43354 msgid ""
43355 "We are working to substantially raise this limit in future versions but it "
43356 "requires complex changes to qemu."
43357 msgstr ""
43358
43359 #. type: textblock
43360 #: ../src/guestfs.pod:3152
43361 msgid ""
43362 "In future versions of libguestfs it should also be possible to \"hot plug\" "
43363 "disks (add and remove disks after calling L</guestfs_launch>).  This also "
43364 "requires changes to qemu."
43365 msgstr ""
43366
43367 #. type: =head2
43368 #: ../src/guestfs.pod:3156
43369 msgid "MAXIMUM NUMBER OF PARTITIONS PER DISK"
43370 msgstr ""
43371
43372 #. type: textblock
43373 #: ../src/guestfs.pod:3158
43374 msgid "Virtio limits the maximum number of partitions per disk to B<15>."
43375 msgstr ""
43376
43377 #. type: textblock
43378 #: ../src/guestfs.pod:3160
43379 msgid ""
43380 "This is because it reserves 4 bits for the minor device number (thus C</dev/"
43381 "vda>, and C</dev/vda1> through C</dev/vda15>)."
43382 msgstr ""
43383
43384 #. type: textblock
43385 #: ../src/guestfs.pod:3163
43386 msgid ""
43387 "If you attach a disk with more than 15 partitions, the extra partitions are "
43388 "ignored by libguestfs."
43389 msgstr ""
43390
43391 #. type: =head2
43392 #: ../src/guestfs.pod:3166
43393 msgid "MAXIMUM SIZE OF A DISK"
43394 msgstr ""
43395
43396 #. type: textblock
43397 #: ../src/guestfs.pod:3168
43398 msgid "Probably the limit is between 2**63-1 and 2**64-1 bytes."
43399 msgstr ""
43400
43401 #. type: textblock
43402 #: ../src/guestfs.pod:3170
43403 msgid ""
43404 "We have tested block devices up to 1 exabyte (2**60 or "
43405 "1,152,921,504,606,846,976 bytes) using sparse files backed by an XFS host "
43406 "filesystem."
43407 msgstr ""
43408
43409 #. type: textblock
43410 #: ../src/guestfs.pod:3174
43411 msgid ""
43412 "Although libguestfs probably does not impose any limit, the underlying host "
43413 "storage will.  If you store disk images on a host ext4 filesystem, then the "
43414 "maximum size will be limited by the maximum ext4 file size (currently 16 "
43415 "TB).  If you store disk images as host logical volumes then you are limited "
43416 "by the maximum size of an LV."
43417 msgstr ""
43418
43419 #. type: textblock
43420 #: ../src/guestfs.pod:3180
43421 msgid ""
43422 "For the hugest disk image files, we recommend using XFS on the host for "
43423 "storage."
43424 msgstr ""
43425
43426 #. type: =head2
43427 #: ../src/guestfs.pod:3183
43428 msgid "MAXIMUM SIZE OF A PARTITION"
43429 msgstr ""
43430
43431 #. type: textblock
43432 #: ../src/guestfs.pod:3185
43433 msgid ""
43434 "The MBR (ie. classic MS-DOS) partitioning scheme uses 32 bit sector "
43435 "numbers.  Assuming a 512 byte sector size, this means that MBR cannot "
43436 "address a partition located beyond 2 TB on the disk."
43437 msgstr ""
43438
43439 #. type: textblock
43440 #: ../src/guestfs.pod:3189
43441 msgid ""
43442 "It is recommended that you use GPT partitions on disks which are larger than "
43443 "this size.  GPT uses 64 bit sector numbers and so can address partitions "
43444 "which are theoretically larger than the largest disk we could support."
43445 msgstr ""
43446
43447 #. type: =head2
43448 #: ../src/guestfs.pod:3194
43449 msgid "MAXIMUM SIZE OF A FILESYSTEM, FILES, DIRECTORIES"
43450 msgstr ""
43451
43452 #. type: textblock
43453 #: ../src/guestfs.pod:3196
43454 msgid ""
43455 "This depends on the filesystem type.  libguestfs itself does not impose any "
43456 "known limit.  Consult Wikipedia or the filesystem documentation to find out "
43457 "what these limits are."
43458 msgstr ""
43459
43460 #. type: =head2
43461 #: ../src/guestfs.pod:3200
43462 msgid "MAXIMUM UPLOAD AND DOWNLOAD"
43463 msgstr ""
43464
43465 #. type: textblock
43466 #: ../src/guestfs.pod:3202
43467 msgid ""
43468 "The API functions L</guestfs_upload>, L</guestfs_download>, L</"
43469 "guestfs_tar_in>, L</guestfs_tar_out> and the like allow unlimited sized "
43470 "uploads and downloads."
43471 msgstr ""
43472
43473 #. type: =head2
43474 #: ../src/guestfs.pod:3206
43475 msgid "INSPECTION LIMITS"
43476 msgstr ""
43477
43478 #. type: textblock
43479 #: ../src/guestfs.pod:3208
43480 msgid ""
43481 "The inspection code has several arbitrary limits on things like the size of "
43482 "Windows Registry hive it will read, and the length of product name.  These "
43483 "are intended to stop a malicious guest from consuming arbitrary amounts of "
43484 "memory and disk space on the host, and should not be reached in practice.  "
43485 "See the source code for more information."
43486 msgstr ""
43487
43488 #. type: textblock
43489 #: ../src/guestfs.pod:3234
43490 msgid ""
43491 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages.  This has the same "
43492 "effect as calling C<guestfs_set_verbose (g, 1)>."
43493 msgstr ""
43494
43495 #. type: textblock
43496 #: ../src/guestfs.pod:3246
43497 msgid ""
43498 "Set the path that libguestfs uses to search for a supermin appliance.  See "
43499 "the discussion of paths in section L</PATH> above."
43500 msgstr ""
43501
43502 #. type: textblock
43503 #: ../src/guestfs.pod:3255
43504 msgid "See also L</QEMU WRAPPERS> above."
43505 msgstr ""
43506
43507 #. type: textblock
43508 #: ../src/guestfs.pod:3259
43509 msgid ""
43510 "Set C<LIBGUESTFS_TRACE=1> to enable command traces.  This has the same "
43511 "effect as calling C<guestfs_set_trace (g, 1)>."
43512 msgstr ""
43513
43514 #. type: textblock
43515 #: ../src/guestfs.pod:3277
43516 msgid ""
43517 "L<guestfs-examples(3)>, L<guestfs-erlang(3)>, L<guestfs-java(3)>, L<guestfs-"
43518 "ocaml(3)>, L<guestfs-perl(3)>, L<guestfs-python(3)>, L<guestfs-ruby(3)>, "
43519 "L<guestfish(1)>, L<guestmount(1)>, L<virt-alignment-scan(1)>, L<virt-cat(1)"
43520 ">, L<virt-copy-in(1)>, L<virt-copy-out(1)>, L<virt-df(1)>, L<virt-edit(1)>, "
43521 "L<virt-filesystems(1)>, L<virt-inspector(1)>, L<virt-list-filesystems(1)>, "
43522 "L<virt-list-partitions(1)>, L<virt-ls(1)>, L<virt-make-fs(1)>, L<virt-rescue"
43523 "(1)>, L<virt-resize(1)>, L<virt-sparsify(1)>, L<virt-sysprep(1)>, L<virt-tar"
43524 "(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<virt-win-reg(1)>, L<guestfs-"
43525 "testing(1)>, L<qemu(1)>, L<febootstrap(1)>, L<febootstrap-supermin-helper(8)"
43526 ">, L<hivex(3)>, L<stap(1)>, L<http://libguestfs.org/>."
43527 msgstr ""
43528
43529 #. type: textblock
43530 #: ../src/guestfs.pod:3314
43531 msgid ""
43532 "Tools with a similar purpose: L<fdisk(8)>, L<parted(8)>, L<kpartx(8)>, L<lvm"
43533 "(8)>, L<disktype(1)>."
43534 msgstr ""
43535
43536 #. type: =head1
43537 #: ../src/guestfs.pod:3321 ../tools/virt-make-fs.pl:571
43538 #: ../tools/virt-win-reg.pl:772
43539 msgid "BUGS"
43540 msgstr "ВАДИ"
43541
43542 #. type: textblock
43543 #: ../src/guestfs.pod:3323
43544 msgid "To get a list of bugs against libguestfs use this link:"
43545 msgstr ""
43546 "Щоб переглянути список відомих вад у libguestfs, скористайтеся таким "
43547 "посиланням:"
43548
43549 #. type: textblock
43550 #: ../src/guestfs.pod:3325
43551 msgid ""
43552 "L<https://bugzilla.redhat.com/buglist.cgi?"
43553 "component=libguestfs&product=Virtualization+Tools>"
43554 msgstr ""
43555 "L<https://bugzilla.redhat.com/buglist.cgi?"
43556 "component=libguestfs&product=Virtualization+Tools>"
43557
43558 #. type: textblock
43559 #: ../src/guestfs.pod:3327
43560 msgid "To report a new bug against libguestfs use this link:"
43561 msgstr "Для звітування щодо вад у libguestfs скористайтеся цим посиланням:"
43562
43563 #. type: textblock
43564 #: ../src/guestfs.pod:3329
43565 msgid ""
43566 "L<https://bugzilla.redhat.com/enter_bug.cgi?"
43567 "component=libguestfs&product=Virtualization+Tools>"
43568 msgstr ""
43569 "L<https://bugzilla.redhat.com/enter_bug.cgi?"
43570 "component=libguestfs&product=Virtualization+Tools>"
43571
43572 #. type: textblock
43573 #: ../src/guestfs.pod:3331
43574 msgid "When reporting a bug, please check:"
43575 msgstr ""
43576
43577 #. type: textblock
43578 #: ../src/guestfs.pod:3337
43579 msgid "That the bug hasn't been reported already."
43580 msgstr ""
43581
43582 #. type: textblock
43583 #: ../src/guestfs.pod:3341
43584 msgid "That you are testing a recent version."
43585 msgstr ""
43586
43587 #. type: textblock
43588 #: ../src/guestfs.pod:3345
43589 msgid "Describe the bug accurately, and give a way to reproduce it."
43590 msgstr ""
43591
43592 #. type: textblock
43593 #: ../src/guestfs.pod:3349
43594 msgid ""
43595 "Run libguestfs-test-tool and paste the B<complete, unedited> output into the "
43596 "bug report."
43597 msgstr ""
43598
43599 #. type: textblock
43600 #: ../test-tool/libguestfs-test-tool.pod:5
43601 msgid "libguestfs-test-tool - Diagnostics for libguestfs"
43602 msgstr ""
43603
43604 #. type: verbatim
43605 #: ../test-tool/libguestfs-test-tool.pod:9
43606 #, no-wrap
43607 msgid ""
43608 " libguestfs-test-tool [--options]\n"
43609 "\n"
43610 msgstr ""
43611
43612 #. type: textblock
43613 #: ../test-tool/libguestfs-test-tool.pod:13
43614 msgid ""
43615 "libguestfs-test-tool is a test program shipped with libguestfs to allow you "
43616 "to check basic libguestfs functionality is working.  This is needed because "
43617 "libguestfs occasionally breaks for reasons beyond our control: usually "
43618 "because of changes in the underlying qemu or kernel packages, or the host "
43619 "environment."
43620 msgstr ""
43621
43622 #. type: textblock
43623 #: ../test-tool/libguestfs-test-tool.pod:19
43624 msgid "If you suspect a problem in libguestfs, then just run:"
43625 msgstr ""
43626
43627 #. type: verbatim
43628 #: ../test-tool/libguestfs-test-tool.pod:21
43629 #, no-wrap
43630 msgid ""
43631 " libguestfs-test-tool\n"
43632 "\n"
43633 msgstr ""
43634
43635 #. type: textblock
43636 #: ../test-tool/libguestfs-test-tool.pod:23
43637 msgid "It will print lots of diagnostic messages."
43638 msgstr ""
43639
43640 #. type: textblock
43641 #: ../test-tool/libguestfs-test-tool.pod:25
43642 msgid "If it runs to completion successfully, you will see this near the end:"
43643 msgstr ""
43644
43645 #. type: verbatim
43646 #: ../test-tool/libguestfs-test-tool.pod:27
43647 #, no-wrap
43648 msgid ""
43649 " ===== TEST FINISHED OK =====\n"
43650 "\n"
43651 msgstr ""
43652
43653 #. type: textblock
43654 #: ../test-tool/libguestfs-test-tool.pod:29
43655 msgid "and the test tool will exit with code 0."
43656 msgstr ""
43657
43658 #. type: textblock
43659 #: ../test-tool/libguestfs-test-tool.pod:31
43660 msgid ""
43661 "If it fails (and/or exits with non-zero error code), please paste the "
43662 "I<complete, unedited> output of the test tool into a bug report.  More "
43663 "information about reporting bugs can be found on the L<http://libguestfs.org/"
43664 "> website."
43665 msgstr ""
43666
43667 #. type: textblock
43668 #: ../test-tool/libguestfs-test-tool.pod:42
43669 msgid "Display short usage information and exit."
43670 msgstr ""
43671
43672 #. type: =item
43673 #: ../test-tool/libguestfs-test-tool.pod:44
43674 msgid "B<--qemu qemu_binary>"
43675 msgstr ""
43676
43677 #. type: textblock
43678 #: ../test-tool/libguestfs-test-tool.pod:46
43679 msgid ""
43680 "If you have downloaded another qemu binary, point this option at the full "
43681 "path of the binary to try it."
43682 msgstr ""
43683
43684 #. type: =item
43685 #: ../test-tool/libguestfs-test-tool.pod:49
43686 msgid "B<--qemudir qemu_source_dir>"
43687 msgstr ""
43688
43689 #. type: textblock
43690 #: ../test-tool/libguestfs-test-tool.pod:51
43691 msgid ""
43692 "If you have compiled qemu from source, point this option at the source "
43693 "directory to try it."
43694 msgstr ""
43695
43696 #. type: =item
43697 #: ../test-tool/libguestfs-test-tool.pod:54
43698 msgid "B<-t N>"
43699 msgstr ""
43700
43701 #. type: =item
43702 #: ../test-tool/libguestfs-test-tool.pod:56
43703 msgid "B<--timeout N>"
43704 msgstr ""
43705
43706 #. type: textblock
43707 #: ../test-tool/libguestfs-test-tool.pod:58
43708 msgid ""
43709 "Set the launch timeout to C<N> seconds.  The default is 600 seconds (10 "
43710 "minutes) which does not usually need to be adjusted."
43711 msgstr ""
43712
43713 #. type: =head1
43714 #: ../test-tool/libguestfs-test-tool.pod:63
43715 msgid "TRYING OUT A DIFFERENT VERSION OF QEMU"
43716 msgstr ""
43717
43718 #. type: textblock
43719 #: ../test-tool/libguestfs-test-tool.pod:65
43720 msgid ""
43721 "If you have compiled another version of qemu from source and would like to "
43722 "try that, then you can use the I<--qemudir> option to point to the qemu "
43723 "source directory."
43724 msgstr ""
43725
43726 #. type: textblock
43727 #: ../test-tool/libguestfs-test-tool.pod:69
43728 msgid ""
43729 "If you have downloaded a qemu binary from somewhere, use the I<--qemu> "
43730 "option to point to the binary."
43731 msgstr ""
43732
43733 #. type: textblock
43734 #: ../test-tool/libguestfs-test-tool.pod:72
43735 msgid ""
43736 "Note when using these options, you can ignore the business of qemu wrapper "
43737 "scripts (L<guestfs(3)/QEMU WRAPPERS>), since libguestfs-test-tool writes a "
43738 "wrapper script for you if one is needed."
43739 msgstr ""
43740
43741 #. type: =head1
43742 #: ../test-tool/libguestfs-test-tool.pod:76
43743 msgid "TRYING OUT A DIFFERENT KERNEL"
43744 msgstr ""
43745
43746 #. type: textblock
43747 #: ../test-tool/libguestfs-test-tool.pod:78
43748 msgid ""
43749 "If you are using febootstrap E<ge> 3.8 then you can select which kernel "
43750 "libguestfs tries.  You do this by setting the environment variables "
43751 "C<FEBOOTSTRAP_KERNEL> and/or C<FEBOOTSTRAP_MODULES>."
43752 msgstr ""
43753
43754 #. type: textblock
43755 #: ../test-tool/libguestfs-test-tool.pod:82
43756 msgid ""
43757 "Refer to L<febootstrap-supermin-helper(8)/ENVIRONMENT VARIABLES> for further "
43758 "information."
43759 msgstr ""
43760
43761 #. type: =head1
43762 #: ../test-tool/libguestfs-test-tool.pod:85
43763 msgid "SELF-DIAGNOSIS"
43764 msgstr ""
43765
43766 #. type: textblock
43767 #: ../test-tool/libguestfs-test-tool.pod:87
43768 msgid ""
43769 "Refer to L<guestfs(3)/APPLIANCE BOOT PROCESS> to understand the messages "
43770 "produced by libguestfs-test-tool and/or possible errors."
43771 msgstr ""
43772
43773 #. type: textblock
43774 #: ../test-tool/libguestfs-test-tool.pod:92
43775 msgid ""
43776 "libguestfs-test-tool returns I<0> if the tests completed without error, or "
43777 "I<1> if there was an error."
43778 msgstr ""
43779
43780 #. type: textblock
43781 #: ../test-tool/libguestfs-test-tool.pod:97
43782 msgid ""
43783 "For the full list of environment variables which may affect libguestfs, "
43784 "please see the L<guestfs(3)> manual page."
43785 msgstr ""
43786
43787 #. type: textblock
43788 #: ../test-tool/libguestfs-test-tool.pod:102
43789 msgid "L<guestfs(3)>, L<http://libguestfs.org/>, L<http://qemu.org/>."
43790 msgstr ""
43791
43792 #. type: textblock
43793 #: ../tools/virt-list-filesystems.pl:32
43794 msgid ""
43795 "virt-list-filesystems - List filesystems in a virtual machine or disk image"
43796 msgstr ""
43797
43798 #. type: verbatim
43799 #: ../tools/virt-list-filesystems.pl:36
43800 #, no-wrap
43801 msgid ""
43802 " virt-list-filesystems [--options] domname\n"
43803 "\n"
43804 msgstr ""
43805
43806 #. type: verbatim
43807 #: ../tools/virt-list-filesystems.pl:38
43808 #, no-wrap
43809 msgid ""
43810 " virt-list-filesystems [--options] disk.img [disk.img ...]\n"
43811 "\n"
43812 msgstr ""
43813
43814 #. type: textblock
43815 #: ../tools/virt-list-filesystems.pl:42 ../tools/virt-list-partitions.pl:42
43816 msgid ""
43817 "This tool is obsolete.  Use L<virt-filesystems(1)> as a more flexible "
43818 "replacement."
43819 msgstr ""
43820
43821 #. type: textblock
43822 #: ../tools/virt-list-filesystems.pl:45
43823 msgid ""
43824 "C<virt-list-filesystems> is a command line tool to list the filesystems that "
43825 "are contained in a virtual machine or disk image."
43826 msgstr ""
43827
43828 #. type: textblock
43829 #: ../tools/virt-list-filesystems.pl:49
43830 msgid ""
43831 "C<virt-list-filesystems> is just a simple wrapper around L<libguestfs(3)> "
43832 "functionality.  For more complex cases you should look at the L<guestfish(1)"
43833 "> tool."
43834 msgstr ""
43835
43836 #. type: textblock
43837 #: ../tools/virt-list-filesystems.pl:112
43838 msgid ""
43839 "With this option, C<virt-list-filesystems> displays the type of each "
43840 "filesystem too (where \"type\" means C<ext3>, C<xfs> etc.)"
43841 msgstr ""
43842
43843 #. type: =item
43844 #: ../tools/virt-list-filesystems.pl:119
43845 msgid "B<-a>"
43846 msgstr "B<-a>"
43847
43848 #. type: textblock
43849 #: ../tools/virt-list-filesystems.pl:123
43850 msgid ""
43851 "Normally we only show mountable filesystems.  If this option is given then "
43852 "swap devices are shown too."
43853 msgstr ""
43854
43855 #. type: textblock
43856 #: ../tools/virt-list-filesystems.pl:197
43857 msgid ""
43858 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<virt-"
43859 "filesystems(1)>, L<virt-list-partitions(1)>, L<Sys::Guestfs(3)>, L<Sys::"
43860 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
43861 msgstr ""
43862 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<virt-"
43863 "filesystems(1)>, L<virt-list-partitions(1)>, L<Sys::Guestfs(3)>, L<Sys::"
43864 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
43865
43866 #. type: textblock
43867 #: ../tools/virt-list-filesystems.pl:214 ../tools/virt-tar.pl:317
43868 msgid "Copyright (C) 2009 Red Hat Inc."
43869 msgstr "© Red Hat Inc., 2009"
43870
43871 #. type: textblock
43872 #: ../tools/virt-list-partitions.pl:32
43873 msgid ""
43874 "virt-list-partitions - List partitions in a virtual machine or disk image"
43875 msgstr ""
43876
43877 #. type: verbatim
43878 #: ../tools/virt-list-partitions.pl:36
43879 #, no-wrap
43880 msgid ""
43881 " virt-list-partitions [--options] domname\n"
43882 "\n"
43883 msgstr ""
43884 " virt-list-partitions [--параметри] назва_домену\n"
43885 "\n"
43886
43887 #. type: verbatim
43888 #: ../tools/virt-list-partitions.pl:38
43889 #, no-wrap
43890 msgid ""
43891 " virt-list-partitions [--options] disk.img [disk.img ...]\n"
43892 "\n"
43893 msgstr ""
43894 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
43895 "\n"
43896
43897 #. type: textblock
43898 #: ../tools/virt-list-partitions.pl:45
43899 msgid ""
43900 "C<virt-list-partitions> is a command line tool to list the partitions that "
43901 "are contained in a virtual machine or disk image.  It is mainly useful as a "
43902 "first step to using L<virt-resize(1)>."
43903 msgstr ""
43904
43905 #. type: textblock
43906 #: ../tools/virt-list-partitions.pl:50
43907 msgid ""
43908 "C<virt-list-partitions> is just a simple wrapper around L<libguestfs(3)> "
43909 "functionality.  For more complex cases you should look at the L<guestfish(1)"
43910 "> tool."
43911 msgstr ""
43912
43913 #. type: textblock
43914 #: ../tools/virt-list-partitions.pl:113
43915 msgid "Show sizes in human-readable form (eg. \"1G\")."
43916 msgstr ""
43917
43918 #. type: textblock
43919 #: ../tools/virt-list-partitions.pl:123
43920 msgid ""
43921 "With this option, C<virt-list-partitions> displays the type and size of each "
43922 "partition too (where \"type\" means C<ext3>, C<pv> etc.)"
43923 msgstr ""
43924
43925 #. type: =item
43926 #: ../tools/virt-list-partitions.pl:130
43927 msgid "B<-t>"
43928 msgstr "B<-t>"
43929
43930 #. type: =item
43931 #: ../tools/virt-list-partitions.pl:132
43932 msgid "B<--total>"
43933 msgstr "B<--total>"
43934
43935 #. type: textblock
43936 #: ../tools/virt-list-partitions.pl:134
43937 msgid ""
43938 "Display the total size of each block device (as a separate row or rows)."
43939 msgstr ""
43940
43941 #. type: textblock
43942 #: ../tools/virt-list-partitions.pl:267
43943 msgid ""
43944 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
43945 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
43946 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
43947 msgstr ""
43948 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
43949 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
43950 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
43951
43952 #. type: textblock
43953 #: ../tools/virt-list-partitions.pl:283
43954 msgid "Copyright (C) 2009-2010 Red Hat Inc."
43955 msgstr "© Red Hat Inc., 2009–2010"
43956
43957 #. type: textblock
43958 #: ../tools/virt-make-fs.pl:37
43959 msgid "virt-make-fs - Make a filesystem from a tar archive or files"
43960 msgstr ""
43961
43962 #. type: verbatim
43963 #: ../tools/virt-make-fs.pl:41
43964 #, no-wrap
43965 msgid ""
43966 " virt-make-fs [--options] input.tar output.img\n"
43967 "\n"
43968 msgstr ""
43969
43970 #. type: verbatim
43971 #: ../tools/virt-make-fs.pl:43
43972 #, no-wrap
43973 msgid ""
43974 " virt-make-fs [--options] input.tar.gz output.img\n"
43975 "\n"
43976 msgstr ""
43977
43978 #. type: verbatim
43979 #: ../tools/virt-make-fs.pl:45
43980 #, no-wrap
43981 msgid ""
43982 " virt-make-fs [--options] directory output.img\n"
43983 "\n"
43984 msgstr ""
43985
43986 #. type: textblock
43987 #: ../tools/virt-make-fs.pl:49
43988 msgid ""
43989 "Virt-make-fs is a command line tool for creating a filesystem from a tar "
43990 "archive or some files in a directory.  It is similar to tools like L<mkisofs"
43991 "(1)>, L<genisoimage(1)> and L<mksquashfs(1)>.  Unlike those tools, it can "
43992 "create common filesystem types like ext2/3 or NTFS, which can be useful if "
43993 "you want to attach these filesystems to existing virtual machines (eg. to "
43994 "import large amounts of read-only data to a VM)."
43995 msgstr ""
43996
43997 #. type: textblock
43998 #: ../tools/virt-make-fs.pl:57
43999 msgid "Basic usage is:"
44000 msgstr ""
44001
44002 #. type: verbatim
44003 #: ../tools/virt-make-fs.pl:59
44004 #, no-wrap
44005 msgid ""
44006 " virt-make-fs input output.img\n"
44007 "\n"
44008 msgstr ""
44009
44010 #. type: textblock
44011 #: ../tools/virt-make-fs.pl:61
44012 msgid ""
44013 "where C<input> is either a directory containing files that you want to add, "
44014 "or a tar archive (either uncompressed tar or gzip-compressed tar); and "
44015 "C<output.img> is a disk image.  The input type is detected automatically.  "
44016 "The output disk image defaults to a raw ext2 sparse image unless you specify "
44017 "extra flags (see L</OPTIONS> below)."
44018 msgstr ""
44019
44020 #. type: =head2
44021 #: ../tools/virt-make-fs.pl:67
44022 msgid "FILESYSTEM TYPE"
44023 msgstr "ТИП ФАЙЛОВОЇ СИСТЕМИ"
44024
44025 #. type: textblock
44026 #: ../tools/virt-make-fs.pl:69
44027 msgid ""
44028 "The default filesystem type is C<ext2>.  Just about any filesystem type that "
44029 "libguestfs supports can be used (but I<not> read-only formats like "
44030 "ISO9660).  Here are some of the more common choices:"
44031 msgstr ""
44032
44033 #. type: =item
44034 #: ../tools/virt-make-fs.pl:75
44035 msgid "I<ext3>"
44036 msgstr "I<ext3>"
44037
44038 #. type: textblock
44039 #: ../tools/virt-make-fs.pl:77
44040 msgid ""
44041 "Note that ext3 filesystems contain a journal, typically 1-32 MB in size.  If "
44042 "you are not going to use the filesystem in a way that requires the journal, "
44043 "then this is just wasted overhead."
44044 msgstr ""
44045
44046 #. type: =item
44047 #: ../tools/virt-make-fs.pl:81
44048 msgid "I<ntfs> or I<vfat>"
44049 msgstr "I<ntfs> або I<vfat>"
44050
44051 #. type: textblock
44052 #: ../tools/virt-make-fs.pl:83
44053 msgid "Useful if exporting data to a Windows guest."
44054 msgstr ""
44055
44056 #. type: textblock
44057 #: ../tools/virt-make-fs.pl:85
44058 msgid ""
44059 "I<Note for vfat>: The tar archive or local directory must only contain files "
44060 "which are owned by root (ie. UID:GID = 0:0).  The reason is that the tar "
44061 "program running within libguestfs is unable to change the ownership of non-"
44062 "root files, since vfat itself does not support this."
44063 msgstr ""
44064
44065 #. type: =item
44066 #: ../tools/virt-make-fs.pl:90
44067 msgid "I<minix>"
44068 msgstr "I<minix>"
44069
44070 #. type: textblock
44071 #: ../tools/virt-make-fs.pl:92
44072 msgid ""
44073 "Lower overhead than C<ext2>, but certain limitations on filename length and "
44074 "total filesystem size."
44075 msgstr ""
44076
44077 #. type: =head3
44078 #: ../tools/virt-make-fs.pl:97 ../tools/virt-make-fs.pl:116
44079 #: ../tools/virt-make-fs.pl:149
44080 msgid "EXAMPLE"
44081 msgstr "ПРИКЛАД"
44082
44083 #. type: verbatim
44084 #: ../tools/virt-make-fs.pl:99
44085 #, no-wrap
44086 msgid ""
44087 " virt-make-fs --type=minix input minixfs.img\n"
44088 "\n"
44089 msgstr ""
44090
44091 #. type: =head2
44092 #: ../tools/virt-make-fs.pl:101
44093 msgid "TO PARTITION OR NOT TO PARTITION"
44094 msgstr ""
44095
44096 #. type: textblock
44097 #: ../tools/virt-make-fs.pl:103
44098 msgid "Optionally virt-make-fs can add a partition table to the output disk."
44099 msgstr ""
44100
44101 #. type: textblock
44102 #: ../tools/virt-make-fs.pl:105
44103 msgid ""
44104 "Adding a partition can make the disk image more compatible with certain "
44105 "virtualized operating systems which don't expect to see a filesystem "
44106 "directly located on a block device (Linux doesn't care and will happily "
44107 "handle both types)."
44108 msgstr ""
44109
44110 #. type: textblock
44111 #: ../tools/virt-make-fs.pl:110
44112 msgid ""
44113 "On the other hand, if you have a partition table then the output image is no "
44114 "longer a straight filesystem.  For example you cannot run L<fsck(8)> "
44115 "directly on a partitioned disk image.  (However libguestfs tools such as "
44116 "L<guestfish(1)> and L<virt-resize(1)> can still be used)."
44117 msgstr ""
44118
44119 #. type: textblock
44120 #: ../tools/virt-make-fs.pl:118
44121 msgid "Add an MBR partition:"
44122 msgstr ""
44123
44124 #. type: verbatim
44125 #: ../tools/virt-make-fs.pl:120
44126 #, no-wrap
44127 msgid ""
44128 " virt-make-fs --partition -- input disk.img\n"
44129 "\n"
44130 msgstr ""
44131
44132 #. type: textblock
44133 #: ../tools/virt-make-fs.pl:122
44134 msgid ""
44135 "If the output disk image could be terabyte-sized or larger, it's better to "
44136 "use an EFI/GPT-compatible partition table:"
44137 msgstr ""
44138
44139 #. type: verbatim
44140 #: ../tools/virt-make-fs.pl:125
44141 #, no-wrap
44142 msgid ""
44143 " virt-make-fs --partition=gpt --size=+4T --format=qcow2 input disk.img\n"
44144 "\n"
44145 msgstr ""
44146
44147 #. type: =head2
44148 #: ../tools/virt-make-fs.pl:127
44149 msgid "EXTRA SPACE"
44150 msgstr ""
44151
44152 #. type: textblock
44153 #: ../tools/virt-make-fs.pl:129
44154 msgid ""
44155 "Unlike formats such as tar and squashfs, a filesystem does not \"just fit\" "
44156 "the files that it contains, but might have extra space.  Depending on how "
44157 "you are going to use the output, you might think this extra space is wasted "
44158 "and want to minimize it, or you might want to leave space so that more files "
44159 "can be added later.  Virt-make-fs defaults to minimizing the extra space, "
44160 "but you can use the I<--size> flag to leave space in the filesystem if you "
44161 "want it."
44162 msgstr ""
44163
44164 #. type: textblock
44165 #: ../tools/virt-make-fs.pl:137
44166 msgid ""
44167 "An alternative way to leave extra space but not make the output image any "
44168 "bigger is to use an alternative disk image format (instead of the default "
44169 "\"raw\" format).  Using I<--format=qcow2> will use the native QEmu/KVM qcow2 "
44170 "image format (check your hypervisor supports this before using it).  This "
44171 "allows you to choose a large I<--size> but the extra space won't actually be "
44172 "allocated in the image until you try to store something in it."
44173 msgstr ""
44174
44175 #. type: textblock
44176 #: ../tools/virt-make-fs.pl:145
44177 msgid ""
44178 "Don't forget that you can also use local commands including L<resize2fs(8)> "
44179 "and L<virt-resize(1)> to resize existing filesystems, or rerun virt-make-fs "
44180 "to build another image from scratch."
44181 msgstr ""
44182
44183 #. type: verbatim
44184 #: ../tools/virt-make-fs.pl:151
44185 #, no-wrap
44186 msgid ""
44187 " virt-make-fs --format=qcow2 --size=+200M input output.img\n"
44188 "\n"
44189 msgstr ""
44190 " virt-make-fs --format=qcow2 --size=+200M input output.img\n"
44191 "\n"
44192
44193 #. type: textblock
44194 #: ../tools/virt-make-fs.pl:179
44195 msgid "Enable debugging information."
44196 msgstr "Увімкнути виведення діагностичних даних."
44197
44198 #. type: =item
44199 #: ../tools/virt-make-fs.pl:185
44200 msgid "B<--size=E<lt>NE<gt>>"
44201 msgstr "B<--size=E<lt>NE<gt>>"
44202
44203 #. type: =item
44204 #: ../tools/virt-make-fs.pl:187
44205 msgid "B<--size=+E<lt>NE<gt>>"
44206 msgstr "B<--size=+E<lt>NE<gt>>"
44207
44208 #. type: =item
44209 #: ../tools/virt-make-fs.pl:189
44210 msgid "B<-s E<lt>NE<gt>>"
44211 msgstr "B<-s E<lt>NE<gt>>"
44212
44213 #. type: =item
44214 #: ../tools/virt-make-fs.pl:191
44215 msgid "B<-s +E<lt>NE<gt>>"
44216 msgstr "B<-s +E<lt>NE<gt>>"
44217
44218 #. type: textblock
44219 #: ../tools/virt-make-fs.pl:193
44220 msgid ""
44221 "Use the I<--size> (or I<-s>) option to choose the size of the output image."
44222 msgstr ""
44223
44224 #. type: textblock
44225 #: ../tools/virt-make-fs.pl:196
44226 msgid ""
44227 "If this option is I<not> given, then the output image will be just large "
44228 "enough to contain all the files, with not much wasted space."
44229 msgstr ""
44230
44231 #. type: textblock
44232 #: ../tools/virt-make-fs.pl:199
44233 msgid ""
44234 "To choose a fixed size output disk, specify an absolute number followed by b/"
44235 "K/M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
44236 "Petabytes or Exabytes.  This must be large enough to contain all the input "
44237 "files, else you will get an error."
44238 msgstr ""
44239
44240 #. type: textblock
44241 #: ../tools/virt-make-fs.pl:204
44242 msgid ""
44243 "To leave extra space, specify C<+> (plus sign) and a number followed by b/K/"
44244 "M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
44245 "Petabytes or Exabytes.  For example: I<--size=+200M> means enough space for "
44246 "the input files, and (approximately) an extra 200 MB free space."
44247 msgstr ""
44248
44249 #. type: textblock
44250 #: ../tools/virt-make-fs.pl:210
44251 msgid ""
44252 "Note that virt-make-fs estimates free space, and therefore will not produce "
44253 "filesystems containing precisely the free space requested.  (It is much more "
44254 "expensive and time-consuming to produce a filesystem which has precisely the "
44255 "desired free space)."
44256 msgstr ""
44257
44258 #. type: =item
44259 #: ../tools/virt-make-fs.pl:219
44260 msgid "B<--format=E<lt>fmtE<gt>>"
44261 msgstr ""
44262
44263 #. type: =item
44264 #: ../tools/virt-make-fs.pl:221
44265 msgid "B<-F E<lt>fmtE<gt>>"
44266 msgstr ""
44267
44268 #. type: textblock
44269 #: ../tools/virt-make-fs.pl:223
44270 msgid "Choose the output disk image format."
44271 msgstr ""
44272
44273 #. type: textblock
44274 #: ../tools/virt-make-fs.pl:225
44275 msgid "The default is C<raw> (raw sparse disk image)."
44276 msgstr ""
44277
44278 #. type: textblock
44279 #: ../tools/virt-make-fs.pl:227
44280 msgid ""
44281 "For other choices, see the L<qemu-img(1)> manpage.  The only other choice "
44282 "that would really make sense here is C<qcow2>."
44283 msgstr ""
44284
44285 #. type: =item
44286 #: ../tools/virt-make-fs.pl:234
44287 msgid "B<--type=E<lt>fsE<gt>>"
44288 msgstr ""
44289
44290 #. type: =item
44291 #: ../tools/virt-make-fs.pl:236
44292 msgid "B<-t E<lt>fsE<gt>>"
44293 msgstr ""
44294
44295 #. type: textblock
44296 #: ../tools/virt-make-fs.pl:238
44297 msgid "Choose the output filesystem type."
44298 msgstr ""
44299
44300 #. type: textblock
44301 #: ../tools/virt-make-fs.pl:240
44302 msgid "The default is C<ext2>."
44303 msgstr "Типовим значенням є C<ext2>."
44304
44305 #. type: textblock
44306 #: ../tools/virt-make-fs.pl:242
44307 msgid ""
44308 "Any filesystem which is supported read-write by libguestfs can be used here."
44309 msgstr ""
44310
44311 #. type: =item
44312 #: ../tools/virt-make-fs.pl:249
44313 msgid "B<--partition>"
44314 msgstr "B<--partition>"
44315
44316 #. type: =item
44317 #: ../tools/virt-make-fs.pl:251
44318 msgid "B<--partition=E<lt>parttypeE<gt>>"
44319 msgstr ""
44320
44321 #. type: textblock
44322 #: ../tools/virt-make-fs.pl:253
44323 msgid ""
44324 "If specified, this flag adds an MBR partition table to the output disk image."
44325 msgstr ""
44326
44327 #. type: textblock
44328 #: ../tools/virt-make-fs.pl:256
44329 msgid ""
44330 "You can change the partition table type, eg. I<--partition=gpt> for large "
44331 "disks."
44332 msgstr ""
44333
44334 #. type: textblock
44335 #: ../tools/virt-make-fs.pl:259
44336 msgid ""
44337 "Note that if you just use a lonesome I<--partition>, the Perl option parser "
44338 "might consider the next parameter to be the partition type.  For example:"
44339 msgstr ""
44340
44341 #. type: verbatim
44342 #: ../tools/virt-make-fs.pl:263
44343 #, no-wrap
44344 msgid ""
44345 " virt-make-fs --partition input.tar output.img\n"
44346 "\n"
44347 msgstr ""
44348
44349 #. type: textblock
44350 #: ../tools/virt-make-fs.pl:265
44351 msgid ""
44352 "would cause virt-make-fs to think you wanted to use a partition type of "
44353 "C<input.tar> which is completely wrong.  To avoid this, use I<--> (a double "
44354 "dash) between options and the input and output arguments:"
44355 msgstr ""
44356
44357 #. type: verbatim
44358 #: ../tools/virt-make-fs.pl:269
44359 #, no-wrap
44360 msgid ""
44361 " virt-make-fs --partition -- input.tar output.img\n"
44362 "\n"
44363 msgstr ""
44364
44365 #. type: textblock
44366 #: ../tools/virt-make-fs.pl:271
44367 msgid "For MBR, virt-make-fs sets the partition type byte automatically."
44368 msgstr ""
44369
44370 #. type: textblock
44371 #: ../tools/virt-make-fs.pl:559
44372 msgid ""
44373 "L<guestfish(1)>, L<virt-resize(1)>, L<virt-tar-in(1)>, L<mkisofs(1)>, "
44374 "L<genisoimage(1)>, L<mksquashfs(1)>, L<mke2fs(8)>, L<resize2fs(8)>, L<guestfs"
44375 "(3)>, L<Sys::Guestfs(3)>, L<http://libguestfs.org/>."
44376 msgstr ""
44377 "L<guestfish(1)>, L<virt-resize(1)>, L<virt-tar-in(1)>, L<mkisofs(1)>, "
44378 "L<genisoimage(1)>, L<mksquashfs(1)>, L<mke2fs(8)>, L<resize2fs(8)>, L<guestfs"
44379 "(3)>, L<Sys::Guestfs(3)>, L<http://libguestfs.org/>."
44380
44381 #. type: textblock
44382 #: ../tools/virt-make-fs.pl:573 ../tools/virt-win-reg.pl:774
44383 msgid ""
44384 "When reporting bugs, please enable debugging and capture the I<complete> "
44385 "output:"
44386 msgstr ""
44387
44388 #. type: verbatim
44389 #: ../tools/virt-make-fs.pl:576
44390 #, no-wrap
44391 msgid ""
44392 " export LIBGUESTFS_DEBUG=1\n"
44393 " virt-make-fs --debug [...] > /tmp/virt-make-fs.log 2>&1\n"
44394 "\n"
44395 msgstr ""
44396 " export LIBGUESTFS_DEBUG=1\n"
44397 " virt-make-fs --debug [...] > /tmp/virt-make-fs.log 2>&1\n"
44398 "\n"
44399
44400 #. type: textblock
44401 #: ../tools/virt-make-fs.pl:579
44402 msgid ""
44403 "Attach /tmp/virt-make-fs.log to a new bug report at L<https://bugzilla."
44404 "redhat.com/>"
44405 msgstr ""
44406
44407 #. type: textblock
44408 #: ../tools/virt-tar.pl:33
44409 msgid "virt-tar - Extract or upload files to a virtual machine"
44410 msgstr ""
44411
44412 #. type: verbatim
44413 #: ../tools/virt-tar.pl:37
44414 #, no-wrap
44415 msgid ""
44416 " virt-tar [--options] -x domname directory tarball\n"
44417 "\n"
44418 msgstr ""
44419
44420 #. type: verbatim
44421 #: ../tools/virt-tar.pl:39
44422 #, no-wrap
44423 msgid ""
44424 " virt-tar [--options] -u domname tarball directory\n"
44425 "\n"
44426 msgstr ""
44427
44428 #. type: verbatim
44429 #: ../tools/virt-tar.pl:41
44430 #, no-wrap
44431 msgid ""
44432 " virt-tar [--options] disk.img [disk.img ...] -x directory tarball\n"
44433 "\n"
44434 msgstr ""
44435
44436 #. type: verbatim
44437 #: ../tools/virt-tar.pl:43
44438 #, no-wrap
44439 msgid ""
44440 " virt-tar [--options] disk.img [disk.img ...] -u tarball directory\n"
44441 "\n"
44442 msgstr ""
44443
44444 #. type: =head2
44445 #: ../tools/virt-tar.pl:45 ../tools/virt-win-reg.pl:88
44446 msgid "NOTE"
44447 msgstr "ПРИМІТКА"
44448
44449 #. type: textblock
44450 #: ../tools/virt-tar.pl:47
44451 msgid ""
44452 "This tool is obsolete.  Use L<virt-copy-in(1)>, L<virt-copy-out(1)>, L<virt-"
44453 "tar-in(1)>, L<virt-tar-out(1)> as replacements."
44454 msgstr ""
44455
44456 #. type: textblock
44457 #: ../tools/virt-tar.pl:52
44458 msgid "Download C</home> from the VM into a local tarball:"
44459 msgstr ""
44460
44461 #. type: verbatim
44462 #: ../tools/virt-tar.pl:54
44463 #, no-wrap
44464 msgid ""
44465 " virt-tar -x domname /home home.tar\n"
44466 "\n"
44467 msgstr ""
44468
44469 #. type: verbatim
44470 #: ../tools/virt-tar.pl:56
44471 #, no-wrap
44472 msgid ""
44473 " virt-tar -zx domname /home home.tar.gz\n"
44474 "\n"
44475 msgstr ""
44476
44477 #. type: textblock
44478 #: ../tools/virt-tar.pl:58
44479 msgid "Upload a local tarball and unpack it inside C</tmp> in the VM:"
44480 msgstr ""
44481
44482 #. type: verbatim
44483 #: ../tools/virt-tar.pl:60
44484 #, no-wrap
44485 msgid ""
44486 " virt-tar -u domname uploadstuff.tar /tmp\n"
44487 "\n"
44488 msgstr ""
44489
44490 #. type: verbatim
44491 #: ../tools/virt-tar.pl:62
44492 #, no-wrap
44493 msgid ""
44494 " virt-tar -zu domname uploadstuff.tar.gz /tmp\n"
44495 "\n"
44496 msgstr ""
44497
44498 #. type: textblock
44499 #: ../tools/virt-tar.pl:66
44500 msgid ""
44501 "You must I<not> use C<virt-tar> with the I<-u> option (upload) on live "
44502 "virtual machines.  If you do this, you risk disk corruption in the VM.  "
44503 "C<virt-tar> tries to stop you from doing this, but doesn't catch all cases."
44504 msgstr ""
44505
44506 #. type: textblock
44507 #: ../tools/virt-tar.pl:71
44508 msgid ""
44509 "You can use I<-x> (extract) on live virtual machines, but you might get "
44510 "inconsistent results or errors if there is filesystem activity inside the "
44511 "VM.  If the live VM is synched and quiescent, then C<virt-tar> will usually "
44512 "work, but the only way to guarantee consistent results is if the virtual "
44513 "machine is shut down."
44514 msgstr ""
44515
44516 #. type: textblock
44517 #: ../tools/virt-tar.pl:79
44518 msgid ""
44519 "C<virt-tar> is a general purpose archive tool for downloading and uploading "
44520 "parts of a guest filesystem.  There are many possibilities: making backups, "
44521 "uploading data files, snooping on guest activity, fixing or customizing "
44522 "guests, etc."
44523 msgstr ""
44524
44525 #. type: textblock
44526 #: ../tools/virt-tar.pl:84
44527 msgid ""
44528 "If you want to just view a single file, use L<virt-cat(1)>.  If you just "
44529 "want to edit a single file, use L<virt-edit(1)>.  For more complex cases you "
44530 "should look at the L<guestfish(1)> tool."
44531 msgstr ""
44532
44533 #. type: textblock
44534 #: ../tools/virt-tar.pl:88
44535 msgid ""
44536 "There are two modes of operation: I<-x> (eXtract) downloads a directory and "
44537 "its contents (recursively) from the virtual machine into a local tarball.  "
44538 "I<-u> uploads from a local tarball, unpacking it into a directory inside the "
44539 "virtual machine.  You cannot use these two options together."
44540 msgstr ""
44541
44542 #. type: textblock
44543 #: ../tools/virt-tar.pl:94
44544 msgid ""
44545 "In addition, you may need to use the I<-z> (gZip) option to enable "
44546 "compression.  When uploading, you have to specify I<-z> if the upload file "
44547 "is compressed because virt-tar won't detect this on its own."
44548 msgstr ""
44549
44550 #. type: textblock
44551 #: ../tools/virt-tar.pl:98
44552 msgid ""
44553 "C<virt-tar> can only handle tar (optionally gzipped) format tarballs.  For "
44554 "example it cannot do PKZip files or bzip2 compression.  If you want that "
44555 "then you'll have to rebuild the tarballs yourself.  (This is a limitation of "
44556 "the L<libguestfs(3)> API)."
44557 msgstr ""
44558
44559 #. type: =item
44560 #: ../tools/virt-tar.pl:160
44561 msgid "B<--extract>"
44562 msgstr "B<--extract>"
44563
44564 #. type: =item
44565 #: ../tools/virt-tar.pl:162
44566 msgid "B<--download>"
44567 msgstr "B<--download>"
44568
44569 #. type: =item
44570 #: ../tools/virt-tar.pl:164
44571 msgid "B<-u>"
44572 msgstr "B<-u>"
44573
44574 #. type: =item
44575 #: ../tools/virt-tar.pl:166
44576 msgid "B<--upload>"
44577 msgstr "B<--upload>"
44578
44579 #. type: textblock
44580 #: ../tools/virt-tar.pl:168
44581 msgid ""
44582 "Use I<-x> to extract (download) a directory from a virtual machine to a "
44583 "local tarball."
44584 msgstr ""
44585
44586 #. type: textblock
44587 #: ../tools/virt-tar.pl:171
44588 msgid ""
44589 "Use I<-u> to upload and unpack from a local tarball into a virtual machine.  "
44590 "Please read the L</WARNING> section above before using this option."
44591 msgstr ""
44592
44593 #. type: textblock
44594 #: ../tools/virt-tar.pl:175
44595 msgid "You must specify exactly one of these options."
44596 msgstr ""
44597
44598 #. type: =item
44599 #: ../tools/virt-tar.pl:181
44600 msgid "B<-z>"
44601 msgstr "B<-z>"
44602
44603 #. type: =item
44604 #: ../tools/virt-tar.pl:183
44605 msgid "B<--gzip>"
44606 msgstr "B<--gzip>"
44607
44608 #. type: textblock
44609 #: ../tools/virt-tar.pl:185
44610 msgid "Specify that the input or output tarball is gzip-compressed."
44611 msgstr ""
44612
44613 #. type: textblock
44614 #: ../tools/virt-tar.pl:298
44615 msgid ""
44616 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-copy-"
44617 "in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<Sys::"
44618 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
44619 "org/>."
44620 msgstr ""
44621 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-copy-"
44622 "in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<Sys::"
44623 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
44624 "org/>."
44625
44626 #. type: textblock
44627 #: ../tools/virt-win-reg.pl:37
44628 msgid ""
44629 "virt-win-reg - Export and merge Windows Registry entries from a Windows guest"
44630 msgstr ""
44631
44632 #. type: verbatim
44633 #: ../tools/virt-win-reg.pl:41
44634 #, no-wrap
44635 msgid ""
44636 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey'\n"
44637 "\n"
44638 msgstr ""
44639
44640 #. type: verbatim
44641 #: ../tools/virt-win-reg.pl:43
44642 #, no-wrap
44643 msgid ""
44644 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' name\n"
44645 "\n"
44646 msgstr ""
44647
44648 #. type: verbatim
44649 #: ../tools/virt-win-reg.pl:45
44650 #, no-wrap
44651 msgid ""
44652 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' @\n"
44653 "\n"
44654 msgstr ""
44655
44656 #. type: verbatim
44657 #: ../tools/virt-win-reg.pl:47
44658 #, no-wrap
44659 msgid ""
44660 " virt-win-reg --merge domname [input.reg ...]\n"
44661 "\n"
44662 msgstr ""
44663
44664 #. type: verbatim
44665 #: ../tools/virt-win-reg.pl:49
44666 #, no-wrap
44667 msgid ""
44668 " virt-win-reg [--options] disk.img ... # instead of domname\n"
44669 "\n"
44670 msgstr ""
44671
44672 #. type: textblock
44673 #: ../tools/virt-win-reg.pl:53
44674 msgid ""
44675 "You must I<not> use C<virt-win-reg> with the I<--merge> option on live "
44676 "virtual machines.  If you do this, you I<will> get irreversible disk "
44677 "corruption in the VM.  C<virt-win-reg> tries to stop you from doing this, "
44678 "but doesn't catch all cases."
44679 msgstr ""
44680
44681 #. type: textblock
44682 #: ../tools/virt-win-reg.pl:58
44683 msgid ""
44684 "Modifying the Windows Registry is an inherently risky operation.  The format "
44685 "is deliberately obscure and undocumented, and Registry changes can leave the "
44686 "system unbootable.  Therefore when using the I<--merge> option, make sure "
44687 "you have a reliable backup first."
44688 msgstr ""
44689
44690 #. type: textblock
44691 #: ../tools/virt-win-reg.pl:65
44692 msgid ""
44693 "This program can export and merge Windows Registry entries from a Windows "
44694 "guest."
44695 msgstr ""
44696
44697 #. type: textblock
44698 #: ../tools/virt-win-reg.pl:68
44699 msgid ""
44700 "The first parameter is the libvirt guest name or the raw disk image of a "
44701 "Windows guest."
44702 msgstr ""
44703
44704 #. type: textblock
44705 #: ../tools/virt-win-reg.pl:71
44706 msgid ""
44707 "If I<--merge> is I<not> specified, then the chosen registry key is displayed/"
44708 "exported (recursively).  For example:"
44709 msgstr ""
44710
44711 #. type: verbatim
44712 #: ../tools/virt-win-reg.pl:74
44713 #, no-wrap
44714 msgid ""
44715 " $ virt-win-reg Windows7 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft'\n"
44716 "\n"
44717 msgstr ""
44718 " $ virt-win-reg Windows7 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft'\n"
44719 "\n"
44720
44721 #. type: textblock
44722 #: ../tools/virt-win-reg.pl:76
44723 msgid ""
44724 "You can also display single values from within registry keys, for example:"
44725 msgstr ""
44726
44727 #. type: verbatim
44728 #: ../tools/virt-win-reg.pl:79
44729 #, no-wrap
44730 msgid ""
44731 " $ cvkey='HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion'\n"
44732 " $ virt-win-reg Windows7 $cvkey ProductName\n"
44733 " Windows 7 Enterprise\n"
44734 "\n"
44735 msgstr ""
44736 " $ cvkey='HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion'\n"
44737 " $ virt-win-reg Windows7 $cvkey ProductName\n"
44738 " Windows 7 Enterprise\n"
44739 "\n"
44740
44741 #. type: textblock
44742 #: ../tools/virt-win-reg.pl:83
44743 msgid ""
44744 "With I<--merge>, you can merge a textual regedit file into the Windows "
44745 "Registry:"
44746 msgstr ""
44747
44748 #. type: verbatim
44749 #: ../tools/virt-win-reg.pl:86
44750 #, no-wrap
44751 msgid ""
44752 " $ virt-win-reg --merge Windows7 changes.reg\n"
44753 "\n"
44754 msgstr ""
44755 " $ virt-win-reg --merge Windows7 changes.reg\n"
44756 "\n"
44757
44758 #. type: textblock
44759 #: ../tools/virt-win-reg.pl:90
44760 msgid ""
44761 "This program is only meant for simple access to the registry.  If you want "
44762 "to do complicated things with the registry, we suggest you download the "
44763 "Registry hive files from the guest using L<libguestfs(3)> or L<guestfish(1)> "
44764 "and access them locally, eg. using L<hivex(3)>, L<hivexsh(1)> or "
44765 "L<hivexregedit(1)>."
44766 msgstr ""
44767
44768 #. type: =item
44769 #: ../tools/virt-win-reg.pl:159
44770 msgid "B<--merge>"
44771 msgstr "B<--merge>"
44772
44773 #. type: textblock
44774 #: ../tools/virt-win-reg.pl:161
44775 msgid ""
44776 "In merge mode, this merges a textual regedit file into the Windows Registry "
44777 "of the virtual machine.  If this flag is I<not> given then virt-win-reg "
44778 "displays or exports Registry entries instead."
44779 msgstr ""
44780
44781 #. type: textblock
44782 #: ../tools/virt-win-reg.pl:165
44783 msgid ""
44784 "Note that I<--merge> is I<unsafe> to use on live virtual machines, and will "
44785 "result in disk corruption.  However exporting (without this flag)  is always "
44786 "safe."
44787 msgstr ""
44788
44789 #. type: =item
44790 #: ../tools/virt-win-reg.pl:173
44791 msgid "B<--encoding> UTF-16LE|ASCII"
44792 msgstr "B<--encoding> UTF-16LE|ASCII"
44793
44794 #. type: textblock
44795 #: ../tools/virt-win-reg.pl:175
44796 msgid ""
44797 "When merging (only), you may need to specify the encoding for strings to be "
44798 "used in the hive file.  This is explained in detail in L<Win::Hivex::Regedit"
44799 "(3)/ENCODING STRINGS>."
44800 msgstr ""
44801
44802 #. type: textblock
44803 #: ../tools/virt-win-reg.pl:179
44804 msgid ""
44805 "The default is to use UTF-16LE, which should work with recent versions of "
44806 "Windows."
44807 msgstr ""
44808
44809 #. type: =item
44810 #: ../tools/virt-win-reg.pl:186
44811 msgid "B<--unsafe-printable-strings>"
44812 msgstr "B<--unsafe-printable-strings>"
44813
44814 #. type: textblock
44815 #: ../tools/virt-win-reg.pl:188
44816 msgid ""
44817 "When exporting (only), assume strings are UTF-16LE and print them as strings "
44818 "instead of hex sequences.  Remove the final zero codepoint from strings if "
44819 "present."
44820 msgstr ""
44821
44822 #. type: textblock
44823 #: ../tools/virt-win-reg.pl:192
44824 msgid ""
44825 "This is unsafe and does not preserve the fidelity of strings in the original "
44826 "Registry for various reasons:"
44827 msgstr ""
44828
44829 #. type: textblock
44830 #: ../tools/virt-win-reg.pl:199
44831 msgid ""
44832 "Assumes the original encoding is UTF-16LE.  ASCII strings and strings in "
44833 "other encodings will be corrupted by this transformation."
44834 msgstr ""
44835
44836 #. type: textblock
44837 #: ../tools/virt-win-reg.pl:204
44838 msgid ""
44839 "Assumes that everything which has type 1 or 2 is really a string and that "
44840 "everything else is not a string, but the type field in real Registries is "
44841 "not reliable."
44842 msgstr ""
44843
44844 #. type: textblock
44845 #: ../tools/virt-win-reg.pl:210
44846 msgid ""
44847 "Loses information about whether a zero codepoint followed the string in the "
44848 "Registry or not."
44849 msgstr ""
44850
44851 #. type: textblock
44852 #: ../tools/virt-win-reg.pl:215
44853 msgid ""
44854 "This all happens because the Registry itself contains no information about "
44855 "how strings are encoded (see L<Win::Hivex::Regedit(3)/ENCODING STRINGS>)."
44856 msgstr ""
44857
44858 #. type: textblock
44859 #: ../tools/virt-win-reg.pl:219
44860 msgid ""
44861 "You should only use this option for quick hacking and debugging of the "
44862 "Registry contents, and I<never> use it if the output is going to be passed "
44863 "into another program or stored in another Registry."
44864 msgstr ""
44865
44866 #. type: =head1
44867 #: ../tools/virt-win-reg.pl:556
44868 msgid "SUPPORTED SYSTEMS"
44869 msgstr "ПІДТРИМУВАНІ СИСТЕМИ"
44870
44871 #. type: textblock
44872 #: ../tools/virt-win-reg.pl:558
44873 msgid ""
44874 "The program currently supports Windows NT-derived guests starting with "
44875 "Windows XP through to at least Windows 7."
44876 msgstr ""
44877
44878 #. type: textblock
44879 #: ../tools/virt-win-reg.pl:561
44880 msgid "The following Registry keys are supported:"
44881 msgstr ""
44882
44883 #. type: =item
44884 #: ../tools/virt-win-reg.pl:565
44885 msgid "C<HKEY_LOCAL_MACHINE\\SAM>"
44886 msgstr "C<HKEY_LOCAL_MACHINE\\SAM>"
44887
44888 #. type: =item
44889 #: ../tools/virt-win-reg.pl:567
44890 msgid "C<HKEY_LOCAL_MACHINE\\SECURITY>"
44891 msgstr "C<HKEY_LOCAL_MACHINE\\SECURITY>"
44892
44893 #. type: =item
44894 #: ../tools/virt-win-reg.pl:569
44895 msgid "C<HKEY_LOCAL_MACHINE\\SOFTWARE>"
44896 msgstr "C<HKEY_LOCAL_MACHINE\\SOFTWARE>"
44897
44898 #. type: =item
44899 #: ../tools/virt-win-reg.pl:571
44900 msgid "C<HKEY_LOCAL_MACHINE\\SYSTEM>"
44901 msgstr "C<HKEY_LOCAL_MACHINE\\SYSTEM>"
44902
44903 #. type: =item
44904 #: ../tools/virt-win-reg.pl:573
44905 msgid "C<HKEY_USERS\\.DEFAULT>"
44906 msgstr "C<HKEY_USERS\\.DEFAULT>"
44907
44908 #. type: =item
44909 #: ../tools/virt-win-reg.pl:575
44910 msgid "C<HKEY_USERS\\I<SID>>"
44911 msgstr "C<HKEY_USERS\\I<SID>>"
44912
44913 #. type: textblock
44914 #: ../tools/virt-win-reg.pl:577
44915 msgid "where I<SID> is a Windows User SID (eg. C<S-1-5-18>)."
44916 msgstr ""
44917
44918 #. type: =item
44919 #: ../tools/virt-win-reg.pl:579
44920 msgid "C<HKEY_USERS\\I<username>>"
44921 msgstr "C<HKEY_USERS\\I<користувач>>"
44922
44923 #. type: textblock
44924 #: ../tools/virt-win-reg.pl:581
44925 msgid ""
44926 "where I<username> is a local user name (this is a libguestfs extension)."
44927 msgstr ""
44928
44929 #. type: textblock
44930 #: ../tools/virt-win-reg.pl:585
44931 msgid ""
44932 "You can use C<HKLM> as a shorthand for C<HKEY_LOCAL_MACHINE>, and C<HKU> for "
44933 "C<HKEY_USERS>."
44934 msgstr ""
44935
44936 #. type: textblock
44937 #: ../tools/virt-win-reg.pl:588
44938 msgid ""
44939 "The literal keys C<HKEY_USERS\\$SID> and C<HKEY_CURRENT_USER> are not "
44940 "supported (there is no \"current user\")."
44941 msgstr ""
44942
44943 #. type: =head1
44944 #: ../tools/virt-win-reg.pl:591
44945 msgid "ENCODING"
44946 msgstr "КОДУВАННЯ"
44947
44948 #. type: textblock
44949 #: ../tools/virt-win-reg.pl:593
44950 msgid ""
44951 "C<virt-win-reg> expects that regedit files have already been reencoded in "
44952 "the local encoding.  Usually on Linux hosts, this means UTF-8 with Unix-"
44953 "style line endings.  Since Windows regedit files are often in UTF-16LE with "
44954 "Windows-style line endings, you may need to reencode the whole file before "
44955 "or after processing."
44956 msgstr ""
44957
44958 #. type: textblock
44959 #: ../tools/virt-win-reg.pl:599
44960 msgid ""
44961 "To reencode a file from Windows format to Linux (before processing it with "
44962 "the I<--merge> option), you would do something like this:"
44963 msgstr ""
44964
44965 #. type: verbatim
44966 #: ../tools/virt-win-reg.pl:602
44967 #, no-wrap
44968 msgid ""
44969 " iconv -f utf-16le -t utf-8 < win.reg | dos2unix > linux.reg\n"
44970 "\n"
44971 msgstr ""
44972 " iconv -f utf-16le -t utf-8 < win.reg | dos2unix > linux.reg\n"
44973 "\n"
44974
44975 #. type: textblock
44976 #: ../tools/virt-win-reg.pl:604
44977 msgid ""
44978 "To go in the opposite direction, after exporting and before sending the file "
44979 "to a Windows user, do something like this:"
44980 msgstr ""
44981
44982 #. type: verbatim
44983 #: ../tools/virt-win-reg.pl:607
44984 #, no-wrap
44985 msgid ""
44986 " unix2dos linux.reg | iconv -f utf-8 -t utf-16le > win.reg\n"
44987 "\n"
44988 msgstr ""
44989 " unix2dos linux.reg | iconv -f utf-8 -t utf-16le > win.reg\n"
44990 "\n"
44991
44992 #. type: textblock
44993 #: ../tools/virt-win-reg.pl:609
44994 msgid "For more information about encoding, see L<Win::Hivex::Regedit(3)>."
44995 msgstr ""
44996
44997 #. type: textblock
44998 #: ../tools/virt-win-reg.pl:611
44999 msgid ""
45000 "If you are unsure about the current encoding, use the L<file(1)> command.  "
45001 "Recent versions of Windows regedit.exe produce a UTF-16LE file with Windows-"
45002 "style (CRLF) line endings, like this:"
45003 msgstr ""
45004
45005 #. type: verbatim
45006 #: ../tools/virt-win-reg.pl:615
45007 #, no-wrap
45008 msgid ""
45009 " $ file software.reg\n"
45010 " software.reg: Little-endian UTF-16 Unicode text, with very long lines,\n"
45011 " with CRLF line terminators\n"
45012 "\n"
45013 msgstr ""
45014
45015 #. type: textblock
45016 #: ../tools/virt-win-reg.pl:619
45017 msgid "This file would need conversion before you could I<--merge> it."
45018 msgstr ""
45019
45020 #. type: =head1
45021 #: ../tools/virt-win-reg.pl:621
45022 msgid "CurrentControlSet etc."
45023 msgstr ""
45024
45025 #. type: textblock
45026 #: ../tools/virt-win-reg.pl:623
45027 msgid ""
45028 "Registry keys like C<CurrentControlSet> don't really exist in the Windows "
45029 "Registry at the level of the hive file, and therefore you cannot modify "
45030 "these."
45031 msgstr ""
45032
45033 #. type: textblock
45034 #: ../tools/virt-win-reg.pl:627
45035 msgid ""
45036 "C<CurrentControlSet> is usually an alias for C<ControlSet001>.  In some "
45037 "circumstances it might refer to another control set.  The way to find out is "
45038 "to look at the C<HKLM\\SYSTEM\\Select> key:"
45039 msgstr ""
45040
45041 #. type: verbatim
45042 #: ../tools/virt-win-reg.pl:631
45043 #, no-wrap
45044 msgid ""
45045 " # virt-win-reg WindowsGuest 'HKLM\\SYSTEM\\Select'\n"
45046 " [HKEY_LOCAL_MACHINE\\SYSTEM\\Select]\n"
45047 " \"Current\"=dword:00000001\n"
45048 " \"Default\"=dword:00000001\n"
45049 " \"Failed\"=dword:00000000\n"
45050 " \"LastKnownGood\"=dword:00000002\n"
45051 "\n"
45052 msgstr ""
45053 " # virt-win-reg WindowsGuest 'HKLM\\SYSTEM\\Select'\n"
45054 " [HKEY_LOCAL_MACHINE\\SYSTEM\\Select]\n"
45055 " \"Current\"=dword:00000001\n"
45056 " \"Default\"=dword:00000001\n"
45057 " \"Failed\"=dword:00000000\n"
45058 " \"LastKnownGood\"=dword:00000002\n"
45059 "\n"
45060
45061 #. type: textblock
45062 #: ../tools/virt-win-reg.pl:638
45063 msgid "\"Current\" is the one which Windows will choose when it boots."
45064 msgstr ""
45065
45066 #. type: textblock
45067 #: ../tools/virt-win-reg.pl:640
45068 msgid ""
45069 "Similarly, other C<Current...> keys in the path may need to be replaced."
45070 msgstr ""
45071
45072 #. type: =head1
45073 #: ../tools/virt-win-reg.pl:643
45074 msgid "DELETING REGISTRY KEYS AND VALUES"
45075 msgstr ""
45076
45077 #. type: textblock
45078 #: ../tools/virt-win-reg.pl:645
45079 msgid "To delete a whole registry key, use the syntax:"
45080 msgstr ""
45081
45082 #. type: verbatim
45083 #: ../tools/virt-win-reg.pl:647
45084 #, no-wrap
45085 msgid ""
45086 " [-HKEY_LOCAL_MACHINE\\Foo]\n"
45087 "\n"
45088 msgstr ""
45089
45090 #. type: textblock
45091 #: ../tools/virt-win-reg.pl:649
45092 msgid "To delete a single value within a key, use the syntax:"
45093 msgstr ""
45094
45095 #. type: verbatim
45096 #: ../tools/virt-win-reg.pl:651
45097 #, no-wrap
45098 msgid ""
45099 " [HKEY_LOCAL_MACHINE\\Foo]\n"
45100 " \"Value\"=-\n"
45101 "\n"
45102 msgstr ""
45103
45104 #. type: =head1
45105 #: ../tools/virt-win-reg.pl:654
45106 msgid "WINDOWS TIPS"
45107 msgstr ""
45108
45109 #. type: textblock
45110 #: ../tools/virt-win-reg.pl:656
45111 msgid ""
45112 "Note that some of these tips modify the guest disk image.  The guest I<must> "
45113 "be shut off, else you will get disk corruption."
45114 msgstr ""
45115
45116 #. type: =head2
45117 #: ../tools/virt-win-reg.pl:659
45118 msgid "RUNNING A BATCH SCRIPT WHEN A USER LOGS IN"
45119 msgstr ""
45120
45121 #. type: textblock
45122 #: ../tools/virt-win-reg.pl:661
45123 msgid ""
45124 "Prepare a DOS batch script, VBScript or executable.  Upload this using "
45125 "L<guestfish(1)>.  For this example the script is called C<test.bat> and it "
45126 "is uploaded into C<C:\\>:"
45127 msgstr ""
45128
45129 #. type: verbatim
45130 #: ../tools/virt-win-reg.pl:665
45131 #, no-wrap
45132 msgid ""
45133 " guestfish -i -d WindowsGuest upload test.bat /test.bat\n"
45134 "\n"
45135 msgstr ""
45136 " guestfish -i -d WindowsGuest upload test.bat /test.bat\n"
45137 "\n"
45138
45139 #. type: textblock
45140 #: ../tools/virt-win-reg.pl:667
45141 msgid "Prepare a regedit file containing the registry change:"
45142 msgstr ""
45143
45144 #. type: verbatim
45145 #: ../tools/virt-win-reg.pl:669
45146 #, no-wrap
45147 msgid ""
45148 " cat > test.reg <<'EOF'\n"
45149 " [HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnce]\n"
45150 " \"Test\"=\"c:\\\\test.bat\"\n"
45151 " EOF\n"
45152 "\n"
45153 msgstr ""
45154 " cat > test.reg <<'EOF'\n"
45155 " [HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnce]\n"
45156 " \"Test\"=\"c:\\\\test.bat\"\n"
45157 " EOF\n"
45158 "\n"
45159
45160 #. type: textblock
45161 #: ../tools/virt-win-reg.pl:674
45162 msgid ""
45163 "In this example we use the key C<RunOnce> which means that the script will "
45164 "run precisely once when the first user logs in.  If you want it to run every "
45165 "time a user logs in, replace C<RunOnce> with C<Run>."
45166 msgstr ""
45167
45168 #. type: textblock
45169 #: ../tools/virt-win-reg.pl:678
45170 msgid "Now update the registry:"
45171 msgstr "Оновіть регістр:"
45172
45173 #. type: verbatim
45174 #: ../tools/virt-win-reg.pl:680
45175 #, no-wrap
45176 msgid ""
45177 " virt-win-reg --merge WindowsGuest test.reg\n"
45178 "\n"
45179 msgstr ""
45180
45181 #. type: =head2
45182 #: ../tools/virt-win-reg.pl:682
45183 msgid "INSTALLING A SERVICE"
45184 msgstr ""
45185
45186 #. type: textblock
45187 #: ../tools/virt-win-reg.pl:684
45188 msgid ""
45189 "This section assumes you are familiar with Windows services, and you either "
45190 "have a program which handles the Windows Service Control Protocol directly "
45191 "or you want to run any program using a service wrapper like SrvAny or the "
45192 "free RHSrvAny."
45193 msgstr ""
45194
45195 #. type: textblock
45196 #: ../tools/virt-win-reg.pl:689
45197 msgid ""
45198 "First upload the program and optionally the service wrapper.  In this case "
45199 "the test program is called C<test.exe> and we are using the RHSrvAny wrapper:"
45200 msgstr ""
45201
45202 #. type: verbatim
45203 #: ../tools/virt-win-reg.pl:693
45204 #, no-wrap
45205 msgid ""
45206 " guestfish -i -d WindowsGuest <<EOF\n"
45207 "   upload rhsrvany.exe /rhsrvany.exe\n"
45208 "   upload test.exe /test.exe\n"
45209 " EOF\n"
45210 "\n"
45211 msgstr ""
45212 " guestfish -i -d WindowsGuest <<EOF\n"
45213 "   upload rhsrvany.exe /rhsrvany.exe\n"
45214 "   upload test.exe /test.exe\n"
45215 " EOF\n"
45216 "\n"
45217
45218 #. type: textblock
45219 #: ../tools/virt-win-reg.pl:698
45220 msgid ""
45221 "Prepare a regedit file containing the registry changes.  In this example, "
45222 "the first registry change is needed for the service itself or the service "
45223 "wrapper (if used).  The second registry change is only needed because I am "
45224 "using the RHSrvAny service wrapper."
45225 msgstr ""
45226
45227 #. type: verbatim
45228 #: ../tools/virt-win-reg.pl:703
45229 #, no-wrap
45230 msgid ""
45231 " cat > service.reg <<'EOF'\n"
45232 " [HKLM\\SYSTEM\\ControlSet001\\services\\RHSrvAny]\n"
45233 " \"Type\"=dword:00000010\n"
45234 " \"Start\"=dword:00000002\n"
45235 " \"ErrorControl\"=dword:00000001\n"
45236 " \"ImagePath\"=\"c:\\\\rhsrvany.exe\"\n"
45237 " \"DisplayName\"=\"RHSrvAny\"\n"
45238 " \"ObjectName\"=\"NetworkService\"\n"
45239 " \n"
45240 msgstr ""
45241 " cat > service.reg <<'EOF'\n"
45242 " [HKLM\\SYSTEM\\ControlSet001\\services\\RHSrvAny]\n"
45243 " \"Type\"=dword:00000010\n"
45244 " \"Start\"=dword:00000002\n"
45245 " \"ErrorControl\"=dword:00000001\n"
45246 " \"ImagePath\"=\"c:\\\\rhsrvany.exe\"\n"
45247 " \"DisplayName\"=\"RHSrvAny\"\n"
45248 " \"ObjectName\"=\"NetworkService\"\n"
45249 " \n"
45250
45251 #. type: verbatim
45252 #: ../tools/virt-win-reg.pl:712
45253 #, no-wrap
45254 msgid ""
45255 " [HKLM\\SYSTEM\\ControlSet001\\services\\RHSrvAny\\Parameters]\n"
45256 " \"CommandLine\"=\"c:\\\\test.exe\"\n"
45257 " \"PWD\"=\"c:\\\\Temp\"\n"
45258 " EOF\n"
45259 "\n"
45260 msgstr ""
45261 " [HKLM\\SYSTEM\\ControlSet001\\services\\RHSrvAny\\Parameters]\n"
45262 " \"CommandLine\"=\"c:\\\\test.exe\"\n"
45263 " \"PWD\"=\"c:\\\\Temp\"\n"
45264 " EOF\n"
45265 "\n"
45266
45267 #. type: textblock
45268 #: ../tools/virt-win-reg.pl:723
45269 msgid ""
45270 "For use of C<ControlSet001> see the section above in this manual page.  You "
45271 "may need to adjust this according to the control set that is in use by the "
45272 "guest."
45273 msgstr ""
45274
45275 #. type: textblock
45276 #: ../tools/virt-win-reg.pl:729
45277 msgid ""
45278 "C<\"ObjectName\"> controls the privileges that the service will have.  An "
45279 "alternative is C<\"ObjectName\"=\"LocalSystem\"> which would be the most "
45280 "privileged account."
45281 msgstr ""
45282
45283 #. type: textblock
45284 #: ../tools/virt-win-reg.pl:735
45285 msgid ""
45286 "For the meaning of the magic numbers, see this Microsoft KB article: "
45287 "L<http://support.microsoft.com/kb/103000>."
45288 msgstr ""
45289
45290 #. type: textblock
45291 #: ../tools/virt-win-reg.pl:740
45292 msgid "Update the registry:"
45293 msgstr "Оновіть регістр:"
45294
45295 #. type: verbatim
45296 #: ../tools/virt-win-reg.pl:742
45297 #, no-wrap
45298 msgid ""
45299 " virt-win-reg --merge WindowsGuest service.reg\n"
45300 "\n"
45301 msgstr ""
45302
45303 #. type: textblock
45304 #: ../tools/virt-win-reg.pl:746
45305 msgid ""
45306 "Be careful when passing parameters containing C<\\> (backslash) in the "
45307 "shell.  Usually you will have to use 'single quotes' or double backslashes "
45308 "(but not both) to protect them from the shell."
45309 msgstr ""
45310
45311 #. type: textblock
45312 #: ../tools/virt-win-reg.pl:750
45313 msgid "Paths and value names are case-insensitive."
45314 msgstr ""
45315
45316 #. type: textblock
45317 #: ../tools/virt-win-reg.pl:759
45318 msgid ""
45319 "L<hivex(3)>, L<hivexsh(1)>, L<hivexregedit(1)>, L<guestfs(3)>, L<guestfish(1)"
45320 ">, L<virt-cat(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Win::Hivex"
45321 "(3)>, L<Win::Hivex::Regedit(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
45322 msgstr ""
45323 "L<hivex(3)>, L<hivexsh(1)>, L<hivexregedit(1)>, L<guestfs(3)>, L<guestfish(1)"
45324 ">, L<virt-cat(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Win::Hivex"
45325 "(3)>, L<Win::Hivex::Regedit(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
45326
45327 #. type: verbatim
45328 #: ../tools/virt-win-reg.pl:777
45329 #, no-wrap
45330 msgid ""
45331 " export LIBGUESTFS_DEBUG=1\n"
45332 " virt-win-reg --debug [... rest ...] > /tmp/virt-win-reg.log 2>&1\n"
45333 "\n"
45334 msgstr ""
45335
45336 #. type: textblock
45337 #: ../tools/virt-win-reg.pl:780
45338 msgid ""
45339 "Attach /tmp/virt-win-reg.log to a new bug report at L<https://bugzilla."
45340 "redhat.com/>"
45341 msgstr ""
45342
45343 #, fuzzy
45344 #~| msgid "C<md5>"
45345 #~ msgid "C<md>"
45346 #~ msgstr "C<md5>"