summaryrefslogtreecommitdiffstats
path: root/po-docs/uk.po
diff options
context:
space:
mode:
Diffstat (limited to 'po-docs/uk.po')
-rw-r--r--po-docs/uk.po2636
1 files changed, 1401 insertions, 1235 deletions
diff --git a/po-docs/uk.po b/po-docs/uk.po
index 487f2cd6..931522a7 100644
--- a/po-docs/uk.po
+++ b/po-docs/uk.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libguestfs\n"
"Report-Msgid-Bugs-To: libguestfs@redhat.com\n"
-"POT-Creation-Date: 2012-09-19 15:19+0200\n"
+"POT-Creation-Date: 2012-10-01 16:29+0200\n"
"PO-Revision-Date: 2012-01-23 13:10+0000\n"
"Last-Translator: rjones <rjones@redhat.com>\n"
"Language-Team: Ukrainian <trans-uk@lists.fedoraproject.org>\n"
@@ -464,7 +464,7 @@ msgstr ""
#: ../edit/virt-edit.pod:141 ../fish/guestfish.pod:242
#: ../fish/guestfish.pod:673 ../format/virt-format.pod:96
#: ../inspector/virt-inspector.pod:350 ../rescue/virt-rescue.pod:161
-#: ../src/guestfs.pod:2977
+#: ../src/guestfs.pod:2983
msgid "For example:"
msgstr "Приклад:"
@@ -916,7 +916,7 @@ msgstr ""
#: ../rescue/virt-rescue.pod:303 ../resize/virt-resize.pod:690
#: ../tools/virt-list-filesystems.pl:190 ../tools/virt-list-partitions.pl:260
#: ../tools/virt-make-fs.pl:572 ../tools/virt-tar.pl:287
-#: ../tools/virt-win-reg.pl:744
+#: ../tools/virt-win-reg.pl:734
msgid "SHELL QUOTING"
msgstr ""
@@ -928,7 +928,7 @@ msgstr ""
#: ../rescue/virt-rescue.pod:305 ../resize/virt-resize.pod:692
#: ../tools/virt-list-filesystems.pl:192 ../tools/virt-list-partitions.pl:262
#: ../tools/virt-make-fs.pl:574 ../tools/virt-tar.pl:289
-#: ../tools/virt-win-reg.pl:752
+#: ../tools/virt-win-reg.pl:742
msgid ""
"Libvirt guest names can contain arbitrary characters, some of which have "
"meaning to the shell such as C<#> and space. You may need to quote or "
@@ -966,13 +966,13 @@ msgstr "Ця програма повертає:"
#: ../df/virt-df.pod:148 ../df/virt-df.pod:154 ../edit/virt-edit.pod:266
#: ../edit/virt-edit.pod:271 ../edit/virt-edit.pod:276
#: ../edit/virt-edit.pod:287 ../edit/virt-edit.pod:291
-#: ../examples/guestfs-recipes.pod:131 ../examples/guestfs-recipes.pod:135
-#: ../examples/guestfs-recipes.pod:139 ../examples/guestfs-recipes.pod:165
-#: ../examples/guestfs-recipes.pod:170 ../examples/guestfs-recipes.pod:260
-#: ../examples/guestfs-recipes.pod:264 ../examples/guestfs-recipes.pod:268
-#: ../examples/guestfs-recipes.pod:272 ../examples/guestfs-recipes.pod:276
-#: ../examples/guestfs-testing.pod:110 ../examples/guestfs-testing.pod:114
-#: ../examples/guestfs-testing.pod:118 ../fish/guestfish-actions.pod:13
+#: ../examples/guestfs-recipes.pod:133 ../examples/guestfs-recipes.pod:137
+#: ../examples/guestfs-recipes.pod:141 ../examples/guestfs-recipes.pod:167
+#: ../examples/guestfs-recipes.pod:172 ../examples/guestfs-recipes.pod:262
+#: ../examples/guestfs-recipes.pod:266 ../examples/guestfs-recipes.pod:270
+#: ../examples/guestfs-recipes.pod:274 ../examples/guestfs-recipes.pod:278
+#: ../examples/guestfs-testing.pod:124 ../examples/guestfs-testing.pod:128
+#: ../examples/guestfs-testing.pod:132 ../fish/guestfish-actions.pod:13
#: ../fish/guestfish-actions.pod:20 ../fish/guestfish-actions.pod:444
#: ../fish/guestfish-actions.pod:452 ../fish/guestfish-actions.pod:459
#: ../fish/guestfish-actions.pod:466 ../fish/guestfish-actions.pod:1336
@@ -1012,25 +1012,25 @@ msgstr "Ця програма повертає:"
#: ../src/guestfs-actions.pod:2899 ../src/guestfs-actions.pod:3442
#: ../src/guestfs-actions.pod:3448 ../src/guestfs-actions.pod:3456
#: ../src/guestfs-actions.pod:3463 ../src/guestfs-actions.pod:3470
-#: ../src/guestfs.pod:382 ../src/guestfs.pod:387 ../src/guestfs.pod:392
-#: ../src/guestfs.pod:396 ../src/guestfs.pod:401 ../src/guestfs.pod:405
-#: ../src/guestfs.pod:410 ../src/guestfs.pod:415 ../src/guestfs.pod:1117
-#: ../src/guestfs.pod:1121 ../src/guestfs.pod:1125 ../src/guestfs.pod:1130
-#: ../src/guestfs.pod:1138 ../src/guestfs.pod:1157 ../src/guestfs.pod:1165
-#: ../src/guestfs.pod:1182 ../src/guestfs.pod:1187 ../src/guestfs.pod:1191
-#: ../src/guestfs.pod:1248 ../src/guestfs.pod:1252 ../src/guestfs.pod:1256
-#: ../src/guestfs.pod:1260 ../src/guestfs.pod:1264 ../src/guestfs.pod:1268
-#: ../src/guestfs.pod:1783 ../src/guestfs.pod:1788 ../src/guestfs.pod:1792
-#: ../src/guestfs.pod:1894 ../src/guestfs.pod:1899 ../src/guestfs.pod:1903
-#: ../src/guestfs.pod:1913 ../src/guestfs.pod:2202 ../src/guestfs.pod:2207
-#: ../src/guestfs.pod:2213 ../src/guestfs.pod:2221 ../src/guestfs.pod:2739
-#: ../src/guestfs.pod:2745 ../src/guestfs.pod:2750 ../src/guestfs.pod:2756
-#: ../src/guestfs.pod:3153 ../src/guestfs.pod:3158 ../src/guestfs.pod:3162
-#: ../src/guestfs.pod:3166 ../src/guestfs.pod:3170 ../src/guestfs.pod:3184
-#: ../src/guestfs.pod:3189 ../tools/virt-win-reg.pl:197
+#: ../src/guestfs.pod:388 ../src/guestfs.pod:393 ../src/guestfs.pod:398
+#: ../src/guestfs.pod:402 ../src/guestfs.pod:407 ../src/guestfs.pod:411
+#: ../src/guestfs.pod:416 ../src/guestfs.pod:421 ../src/guestfs.pod:1123
+#: ../src/guestfs.pod:1127 ../src/guestfs.pod:1131 ../src/guestfs.pod:1136
+#: ../src/guestfs.pod:1144 ../src/guestfs.pod:1163 ../src/guestfs.pod:1171
+#: ../src/guestfs.pod:1188 ../src/guestfs.pod:1193 ../src/guestfs.pod:1197
+#: ../src/guestfs.pod:1254 ../src/guestfs.pod:1258 ../src/guestfs.pod:1262
+#: ../src/guestfs.pod:1266 ../src/guestfs.pod:1270 ../src/guestfs.pod:1274
+#: ../src/guestfs.pod:1789 ../src/guestfs.pod:1794 ../src/guestfs.pod:1798
+#: ../src/guestfs.pod:1900 ../src/guestfs.pod:1905 ../src/guestfs.pod:1909
+#: ../src/guestfs.pod:1919 ../src/guestfs.pod:2208 ../src/guestfs.pod:2213
+#: ../src/guestfs.pod:2219 ../src/guestfs.pod:2227 ../src/guestfs.pod:2745
+#: ../src/guestfs.pod:2751 ../src/guestfs.pod:2756 ../src/guestfs.pod:2762
+#: ../src/guestfs.pod:3159 ../src/guestfs.pod:3164 ../src/guestfs.pod:3168
+#: ../src/guestfs.pod:3172 ../src/guestfs.pod:3176 ../src/guestfs.pod:3190
+#: ../src/guestfs.pod:3195 ../tools/virt-win-reg.pl:197
#: ../tools/virt-win-reg.pl:202 ../tools/virt-win-reg.pl:208
-#: ../tools/virt-win-reg.pl:721 ../tools/virt-win-reg.pl:727
-#: ../tools/virt-win-reg.pl:733
+#: ../tools/virt-win-reg.pl:711 ../tools/virt-win-reg.pl:717
+#: ../tools/virt-win-reg.pl:723
msgid "*"
msgstr "*"
@@ -1046,7 +1046,7 @@ msgid ""
msgstr ""
#. type: =item
-#: ../align/virt-alignment-scan.pod:332 ../src/guestfs.pod:1440
+#: ../align/virt-alignment-scan.pod:332 ../src/guestfs.pod:1446
msgid "1"
msgstr "1"
@@ -1056,7 +1056,7 @@ msgid "an error scanning the disk image or guest"
msgstr ""
#. type: =item
-#: ../align/virt-alignment-scan.pod:338 ../src/guestfs.pod:1444
+#: ../align/virt-alignment-scan.pod:338 ../src/guestfs.pod:1450
msgid "2"
msgstr "2"
@@ -1068,7 +1068,7 @@ msgid ""
msgstr ""
#. type: =item
-#: ../align/virt-alignment-scan.pod:345 ../src/guestfs.pod:1448
+#: ../align/virt-alignment-scan.pod:345 ../src/guestfs.pod:1454
msgid "3"
msgstr "3"
@@ -1084,8 +1084,8 @@ msgstr ""
#: ../cat/virt-filesystems.pod:385 ../cat/virt-ls.pod:495
#: ../clone/virt-sysprep.pod:486 ../df/virt-df.pod:253
#: ../edit/virt-edit.pod:368 ../erlang/examples/guestfs-erlang.pod:97
-#: ../examples/guestfs-examples.pod:33 ../examples/guestfs-recipes.pod:422
-#: ../examples/guestfs-testing.pod:291 ../fish/guestfish.pod:1268
+#: ../examples/guestfs-examples.pod:33 ../examples/guestfs-recipes.pod:475
+#: ../examples/guestfs-testing.pod:305 ../fish/guestfish.pod:1268
#: ../fish/virt-copy-in.pod:50 ../fish/virt-copy-out.pod:39
#: ../fish/virt-tar-in.pod:47 ../fish/virt-tar-out.pod:41
#: ../format/virt-format.pod:177 ../fuse/guestmount.pod:396
@@ -1093,11 +1093,11 @@ msgstr ""
#: ../ocaml/examples/guestfs-ocaml.pod:78 ../perl/examples/guestfs-perl.pod:40
#: ../python/examples/guestfs-python.pod:42 ../rescue/virt-rescue.pod:325
#: ../resize/virt-resize.pod:702 ../ruby/examples/guestfs-ruby.pod:36
-#: ../sparsify/virt-sparsify.pod:284 ../src/guestfs.pod:3361
+#: ../sparsify/virt-sparsify.pod:284 ../src/guestfs.pod:3367
#: ../test-tool/libguestfs-test-tool.pod:106
#: ../tools/virt-list-filesystems.pl:197 ../tools/virt-list-partitions.pl:267
#: ../tools/virt-make-fs.pl:579 ../tools/virt-tar.pl:294
-#: ../tools/virt-win-reg.pl:757
+#: ../tools/virt-win-reg.pl:747
msgid "SEE ALSO"
msgstr "ТАКОЖ ПЕРЕГЛЯНЬТЕ"
@@ -1118,7 +1118,7 @@ msgstr ""
#: ../rescue/virt-rescue.pod:334 ../resize/virt-resize.pod:725
#: ../sparsify/virt-sparsify.pod:297 ../tools/virt-list-filesystems.pl:210
#: ../tools/virt-list-partitions.pl:279 ../tools/virt-make-fs.pl:594
-#: ../tools/virt-tar.pl:309 ../tools/virt-win-reg.pl:772
+#: ../tools/virt-tar.pl:309 ../tools/virt-win-reg.pl:762
msgid "AUTHOR"
msgstr "АВТОР"
@@ -1131,7 +1131,7 @@ msgstr "АВТОР"
#: ../resize/virt-resize.pod:727 ../sparsify/virt-sparsify.pod:299
#: ../tools/virt-list-filesystems.pl:212 ../tools/virt-list-partitions.pl:281
#: ../tools/virt-make-fs.pl:596 ../tools/virt-tar.pl:311
-#: ../tools/virt-win-reg.pl:774
+#: ../tools/virt-win-reg.pl:764
msgid "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
msgstr "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
@@ -1140,8 +1140,8 @@ msgstr "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
#: ../cat/virt-filesystems.pod:400 ../cat/virt-ls.pod:511
#: ../clone/virt-sysprep.pod:505 ../df/virt-df.pod:265
#: ../edit/virt-edit.pod:386 ../erlang/examples/guestfs-erlang.pod:114
-#: ../examples/guestfs-examples.pod:49 ../examples/guestfs-recipes.pod:439
-#: ../examples/guestfs-testing.pod:302 ../fish/guestfish.pod:1300
+#: ../examples/guestfs-examples.pod:49 ../examples/guestfs-recipes.pod:492
+#: ../examples/guestfs-testing.pod:316 ../fish/guestfish.pod:1300
#: ../fish/virt-copy-in.pod:64 ../fish/virt-copy-out.pod:53
#: ../fish/virt-tar-in.pod:62 ../fish/virt-tar-out.pod:55
#: ../format/virt-format.pod:191 ../fuse/guestmount.pod:411
@@ -1149,11 +1149,11 @@ msgstr "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
#: ../ocaml/examples/guestfs-ocaml.pod:95 ../perl/examples/guestfs-perl.pod:57
#: ../python/examples/guestfs-python.pod:58 ../rescue/virt-rescue.pod:338
#: ../resize/virt-resize.pod:729 ../ruby/examples/guestfs-ruby.pod:52
-#: ../sparsify/virt-sparsify.pod:301 ../src/guestfs.pod:3413
+#: ../sparsify/virt-sparsify.pod:301 ../src/guestfs.pod:3419
#: ../test-tool/libguestfs-test-tool.pod:116
#: ../tools/virt-list-filesystems.pl:214 ../tools/virt-list-partitions.pl:283
#: ../tools/virt-make-fs.pl:598 ../tools/virt-tar.pl:313
-#: ../tools/virt-win-reg.pl:776
+#: ../tools/virt-win-reg.pl:766
msgid "COPYRIGHT"
msgstr "АВТОРСЬКІ ПРАВА"
@@ -2386,7 +2386,7 @@ msgstr ""
"\n"
#. type: textblock
-#: ../cat/virt-ls.pod:41 ../examples/guestfs-testing.pod:182
+#: ../cat/virt-ls.pod:41 ../examples/guestfs-testing.pod:196
msgid "List all setuid or setgid programs in a Linux virtual machine:"
msgstr ""
@@ -2401,7 +2401,7 @@ msgstr ""
"\n"
#. type: textblock
-#: ../cat/virt-ls.pod:45 ../examples/guestfs-testing.pod:186
+#: ../cat/virt-ls.pod:45 ../examples/guestfs-testing.pod:200
msgid "List all public-writable directories in a Linux virtual machine:"
msgstr ""
@@ -2416,7 +2416,7 @@ msgstr ""
"\n"
#. type: textblock
-#: ../cat/virt-ls.pod:49 ../examples/guestfs-testing.pod:190
+#: ../cat/virt-ls.pod:49 ../examples/guestfs-testing.pod:204
msgid "List all Unix domain sockets in a Linux virtual machine:"
msgstr ""
@@ -2431,7 +2431,7 @@ msgstr ""
"\n"
#. type: textblock
-#: ../cat/virt-ls.pod:53 ../examples/guestfs-testing.pod:194
+#: ../cat/virt-ls.pod:53 ../examples/guestfs-testing.pod:208
msgid "List all regular files with filenames ending in '.png':"
msgstr ""
@@ -2461,7 +2461,7 @@ msgstr ""
"\n"
#. type: textblock
-#: ../cat/virt-ls.pod:61 ../examples/guestfs-testing.pod:202
+#: ../cat/virt-ls.pod:61 ../examples/guestfs-testing.pod:216
msgid "Find everything modified in the last 7 days:"
msgstr ""
@@ -2476,7 +2476,7 @@ msgstr ""
"\n"
#. type: textblock
-#: ../cat/virt-ls.pod:65 ../examples/guestfs-testing.pod:206
+#: ../cat/virt-ls.pod:65 ../examples/guestfs-testing.pod:220
msgid "Find regular files modified in the last 24 hours:"
msgstr ""
@@ -3093,9 +3093,9 @@ msgstr ""
#. type: textblock
#: ../cat/virt-ls.pod:513 ../df/virt-df.pod:267 ../edit/virt-edit.pod:388
-#: ../examples/guestfs-recipes.pod:441 ../fish/guestfish.pod:1302
+#: ../examples/guestfs-recipes.pod:494 ../fish/guestfish.pod:1302
#: ../fuse/guestmount.pod:413 ../rescue/virt-rescue.pod:340
-#: ../src/guestfs.pod:3415 ../test-tool/libguestfs-test-tool.pod:118
+#: ../src/guestfs.pod:3421 ../test-tool/libguestfs-test-tool.pod:118
#: ../tools/virt-list-partitions.pl:285
msgid "Copyright (C) 2009-2012 Red Hat Inc."
msgstr ""
@@ -3794,7 +3794,7 @@ msgid ""
msgstr ""
#. type: =head1
-#: ../clone/virt-sysprep.pod:429 ../src/guestfs.pod:1233
+#: ../clone/virt-sysprep.pod:429 ../src/guestfs.pod:1239
msgid "SECURITY"
msgstr "БЕЗПЕКА"
@@ -4723,7 +4723,7 @@ msgstr ""
#. type: =head1
#: ../edit/virt-edit.pod:343 ../fish/guestfish.pod:1119
#: ../rescue/virt-rescue.pod:298 ../sparsify/virt-sparsify.pod:257
-#: ../src/guestfs.pod:3300 ../test-tool/libguestfs-test-tool.pod:101
+#: ../src/guestfs.pod:3306 ../test-tool/libguestfs-test-tool.pod:101
msgid "ENVIRONMENT VARIABLES"
msgstr "ЗМІННІ СЕРЕДОВИЩА"
@@ -4985,36 +4985,36 @@ msgstr ""
#. type: =head1
#: ../erlang/examples/guestfs-erlang.pod:110
-#: ../examples/guestfs-examples.pod:45 ../examples/guestfs-recipes.pod:435
-#: ../examples/guestfs-testing.pod:298 ../fish/guestfish.pod:1296
+#: ../examples/guestfs-examples.pod:45 ../examples/guestfs-recipes.pod:488
+#: ../examples/guestfs-testing.pod:312 ../fish/guestfish.pod:1296
#: ../fish/virt-copy-in.pod:60 ../fish/virt-copy-out.pod:49
#: ../fish/virt-tar-in.pod:58 ../fish/virt-tar-out.pod:51
#: ../fuse/guestmount.pod:407 ../inspector/virt-inspector.pod:510
#: ../java/examples/guestfs-java.pod:58 ../ocaml/examples/guestfs-ocaml.pod:91
#: ../perl/examples/guestfs-perl.pod:53
#: ../python/examples/guestfs-python.pod:54
-#: ../ruby/examples/guestfs-ruby.pod:48 ../src/guestfs.pod:3409
+#: ../ruby/examples/guestfs-ruby.pod:48 ../src/guestfs.pod:3415
#: ../test-tool/libguestfs-test-tool.pod:112
msgid "AUTHORS"
msgstr "АВТОРИ"
#. type: textblock
#: ../erlang/examples/guestfs-erlang.pod:112
-#: ../examples/guestfs-examples.pod:47 ../examples/guestfs-recipes.pod:437
-#: ../examples/guestfs-testing.pod:300 ../fish/guestfish.pod:1298
+#: ../examples/guestfs-examples.pod:47 ../examples/guestfs-recipes.pod:490
+#: ../examples/guestfs-testing.pod:314 ../fish/guestfish.pod:1298
#: ../fish/virt-copy-in.pod:62 ../fish/virt-copy-out.pod:51
#: ../fish/virt-tar-in.pod:60 ../fish/virt-tar-out.pod:53
#: ../fuse/guestmount.pod:409 ../java/examples/guestfs-java.pod:60
#: ../ocaml/examples/guestfs-ocaml.pod:93 ../perl/examples/guestfs-perl.pod:55
#: ../python/examples/guestfs-python.pod:56
-#: ../ruby/examples/guestfs-ruby.pod:50 ../src/guestfs.pod:3411
+#: ../ruby/examples/guestfs-ruby.pod:50 ../src/guestfs.pod:3417
#: ../test-tool/libguestfs-test-tool.pod:114
msgid "Richard W.M. Jones (C<rjones at redhat dot com>)"
msgstr "Richard W.M. Jones (C<rjones at redhat dot com>)"
#. type: textblock
#: ../erlang/examples/guestfs-erlang.pod:116
-#: ../examples/guestfs-testing.pod:304 ../fish/virt-copy-in.pod:66
+#: ../examples/guestfs-testing.pod:318 ../fish/virt-copy-in.pod:66
#: ../fish/virt-copy-out.pod:55 ../fish/virt-tar-in.pod:64
#: ../fish/virt-tar-out.pod:57 ../java/examples/guestfs-java.pod:64
#: ../perl/examples/guestfs-perl.pod:59 ../sparsify/virt-sparsify.pod:303
@@ -5411,38 +5411,45 @@ msgstr ""
msgid "To list the filesystems in a disk image, use L<virt-filesystems(1)>."
msgstr ""
-#. type: =head1
+#. type: textblock
#: ../examples/guestfs-recipes.pod:125
+#, fuzzy
+#| msgid "See also L</list-filesystems>."
+msgid "See also L</Uploading raw filesystem content>."
+msgstr "Див. також L</list-filesystems>."
+
+#. type: =head1
+#: ../examples/guestfs-recipes.pod:127
msgid "Edit grub configuration in a VM"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:127
+#: ../examples/guestfs-recipes.pod:129
msgid "You can use this to:"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:133
+#: ../examples/guestfs-recipes.pod:135
msgid "Fix a virtual machine that does not boot."
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:137
+#: ../examples/guestfs-recipes.pod:139
msgid "Change which kernel is used to boot the VM."
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:141
+#: ../examples/guestfs-recipes.pod:143
msgid "Change kernel command line options."
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:145
+#: ../examples/guestfs-recipes.pod:147
msgid "Use L<virt-edit(1)> to edit the grub configuration:"
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-recipes.pod:147
+#: ../examples/guestfs-recipes.pod:149
#, no-wrap
msgid ""
" virt-edit -d BrokenGuest /boot/grub/grub.conf\n"
@@ -5450,14 +5457,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:149
+#: ../examples/guestfs-recipes.pod:151
msgid ""
"or for general tinkering inside an unbootable VM use L<virt-rescue(1)> like "
"this:"
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-recipes.pod:152
+#: ../examples/guestfs-recipes.pod:154
#, no-wrap
msgid ""
" virt-rescue -d BrokenGuest\n"
@@ -5465,18 +5472,18 @@ msgid ""
msgstr ""
#. type: =head1
-#: ../examples/guestfs-recipes.pod:154
+#: ../examples/guestfs-recipes.pod:156
msgid "Export any directory from a VM"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:156
+#: ../examples/guestfs-recipes.pod:158
msgid ""
"To export C</home> from a VM into a local directory use L<virt-copy-out(1)>:"
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-recipes.pod:159 ../examples/guestfs-testing.pod:93
+#: ../examples/guestfs-recipes.pod:161 ../examples/guestfs-testing.pod:107
#, no-wrap
msgid ""
" virt-copy-out -d Guest /home .\n"
@@ -5484,29 +5491,29 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:161 ../fish/guestfish-actions.pod:9
+#: ../examples/guestfs-recipes.pod:163 ../fish/guestfish-actions.pod:9
#: ../fish/guestfish-actions.pod:1524 ../fish/guestfish-actions.pod:1789
#: ../fish/guestfish-actions.pod:2204 ../src/guestfs-actions.pod:18
#: ../src/guestfs-actions.pod:2457 ../src/guestfs-actions.pod:2881
-#: ../src/guestfs-actions.pod:3438 ../src/guestfs.pod:1779
-#: ../tools/virt-win-reg.pl:717
+#: ../src/guestfs-actions.pod:3438 ../src/guestfs.pod:1785
+#: ../tools/virt-win-reg.pl:707
msgid "Notes:"
msgstr "Нотатки:"
#. type: textblock
-#: ../examples/guestfs-recipes.pod:167
+#: ../examples/guestfs-recipes.pod:169
msgid ""
"The final dot of the command is not a printing error. It means we want to "
"copy out to the current directory."
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:172
+#: ../examples/guestfs-recipes.pod:174
msgid "This creates a directory called C<home> under the current directory."
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:176
+#: ../examples/guestfs-recipes.pod:178
msgid ""
"If the guest is a Windows guest then you can use drive letters and "
"backslashes, but you must prefix the path with C<win:> and quote it to "
@@ -5514,7 +5521,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-recipes.pod:180
+#: ../examples/guestfs-recipes.pod:182
#, no-wrap
msgid ""
" virt-copy-out -d WinGuest 'win:c:\\windows\\system32\\config' .\n"
@@ -5522,12 +5529,12 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:182
+#: ../examples/guestfs-recipes.pod:184
msgid "To get the output as a compressed tarball, do:"
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-recipes.pod:184
+#: ../examples/guestfs-recipes.pod:186
#, no-wrap
msgid ""
" virt-tar-out -d Guest /home - | gzip --best > home.tar.gz\n"
@@ -5535,7 +5542,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:186
+#: ../examples/guestfs-recipes.pod:188
msgid ""
"Although it sounds tempting, this is usually not a reliable way to get a "
"backup from a running guest. See the entry in the FAQ: L<http://libguestfs."
@@ -5543,19 +5550,19 @@ msgid ""
msgstr ""
#. type: =head1
-#: ../examples/guestfs-recipes.pod:190
+#: ../examples/guestfs-recipes.pod:192
msgid "Find out which user is using the most space"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:192
+#: ../examples/guestfs-recipes.pod:194
msgid ""
"This simple script examines a Linux guest to find out which user is using "
"the most space in their home directory:"
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-recipes.pod:195
+#: ../examples/guestfs-recipes.pod:197
#, no-wrap
msgid ""
" #!/bin/sh -\n"
@@ -5563,7 +5570,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-recipes.pod:197 ../fish/guestfish.pod:984
+#: ../examples/guestfs-recipes.pod:199 ../fish/guestfish.pod:984
#, no-wrap
msgid ""
" set -e\n"
@@ -5571,7 +5578,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-recipes.pod:199
+#: ../examples/guestfs-recipes.pod:201
#, no-wrap
msgid ""
" vm=\"$1\"\n"
@@ -5580,7 +5587,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-recipes.pod:202
+#: ../examples/guestfs-recipes.pod:204
#, no-wrap
msgid ""
" eval $(guestfish --ro -d \"$vm\" -i --listen)\n"
@@ -5588,7 +5595,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-recipes.pod:204
+#: ../examples/guestfs-recipes.pod:206
#, no-wrap
msgid ""
" for d in $(guestfish --remote ls \"$dir\"); do\n"
@@ -5600,7 +5607,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-recipes.pod:210 ../fish/guestfish.pod:941
+#: ../examples/guestfs-recipes.pod:212 ../fish/guestfish.pod:941
#, no-wrap
msgid ""
" guestfish --remote exit\n"
@@ -5608,43 +5615,43 @@ msgid ""
msgstr ""
#. type: =head1
-#: ../examples/guestfs-recipes.pod:212
+#: ../examples/guestfs-recipes.pod:214
msgid "Get DHCP address from a VM"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:214
+#: ../examples/guestfs-recipes.pod:216
msgid ""
"The link below explains the many different possible techniques for getting "
"the last assigned DHCP address of a virtual machine."
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:217
+#: ../examples/guestfs-recipes.pod:219
msgid ""
"L<https://rwmj.wordpress.com/2011/03/31/tip-code-for-getting-dhcp-address-"
"from-a-virtual-machine-disk-image/#content>"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:219
+#: ../examples/guestfs-recipes.pod:221
msgid ""
"In the libguestfs source examples directory you will find the latest version "
"of the C<virt-dhcp-address.c> program."
msgstr ""
#. type: =head1
-#: ../examples/guestfs-recipes.pod:222
+#: ../examples/guestfs-recipes.pod:224
msgid "Get the operating system product name string"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:224
+#: ../examples/guestfs-recipes.pod:226
msgid "Save the following script into a file called C<product-name.sh>:"
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-recipes.pod:226
+#: ../examples/guestfs-recipes.pod:228
#, no-wrap
msgid ""
" #!/bin/sh -\n"
@@ -5657,12 +5664,12 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:233
+#: ../examples/guestfs-recipes.pod:235
msgid "Make the script executable and run it on a named guest:"
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-recipes.pod:235
+#: ../examples/guestfs-recipes.pod:237
#, no-wrap
msgid ""
" # product-name.sh RHEL60x64\n"
@@ -5671,14 +5678,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:238
+#: ../examples/guestfs-recipes.pod:240
msgid ""
"You can also use an XPath query on the L<virt-inspector(1)> XML using the "
"C<xpath> command line tool or from your favourite programming language:"
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-recipes.pod:242
+#: ../examples/guestfs-recipes.pod:244
#, no-wrap
msgid ""
" # virt-inspector RHEL60x64 > xml\n"
@@ -5690,68 +5697,150 @@ msgid ""
msgstr ""
#. type: =head1
-#: ../examples/guestfs-recipes.pod:248
+#: ../examples/guestfs-recipes.pod:250
msgid "Get the default boot kernel for a Linux VM"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:250
+#: ../examples/guestfs-recipes.pod:252
msgid ""
"The link below contains a program to print the default boot kernel for a "
"Linux VM."
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:253
+#: ../examples/guestfs-recipes.pod:255
msgid ""
"L<https://rwmj.wordpress.com/2010/10/30/tip-use-augeas-to-get-the-default-"
"boot-kernel-for-a-vm/#content>"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:255
+#: ../examples/guestfs-recipes.pod:257
msgid ""
"It uses Augeas, and the technique is generally applicable for many different "
"tasks, such as:"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:262
+#: ../examples/guestfs-recipes.pod:264
msgid "listing the user accounts in the guest"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:266
+#: ../examples/guestfs-recipes.pod:268
msgid "what repositories is it configured to use"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:270
+#: ../examples/guestfs-recipes.pod:272
msgid "what NTP servers does it connect to"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:274
+#: ../examples/guestfs-recipes.pod:276
msgid "what were the boot messages last time it booted"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:278
+#: ../examples/guestfs-recipes.pod:280
msgid "listing who was logged in recently"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:282
+#: ../examples/guestfs-recipes.pod:284
msgid "L<http://augeas.net/>"
msgstr ""
#. type: =head1
-#: ../examples/guestfs-recipes.pod:284
+#: ../examples/guestfs-recipes.pod:286
+msgid "Hanging guests"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:288
+msgid ""
+"There are various ways to use libguestfs to find out why a guest is hanging "
+"or unresponsive:"
+msgstr ""
+
+#. type: =item
+#: ../examples/guestfs-recipes.pod:293 ../resize/virt-resize.pod:31
+#: ../resize/virt-resize.pod:603 ../sparsify/virt-sparsify.pod:228
+#: ../src/guestfs.pod:469 ../src/guestfs.pod:1208 ../src/guestfs.pod:1377
+#: ../src/guestfs.pod:1541 ../src/guestfs.pod:2790
+msgid "1."
+msgstr "1."
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:295
+msgid "Read the log files using virt-cat:"
+msgstr ""
+
+#. type: verbatim
+#: ../examples/guestfs-recipes.pod:297
+#, fuzzy, no-wrap
+#| msgid ""
+#| " virt-cat -a disk.img /var/log/messages | tail\n"
+#| "\n"
+msgid ""
+" virt-cat Guest /var/log/messages | less\n"
+"\n"
+msgstr ""
+" virt-cat -a disk.img /var/log/messages | tail\n"
+"\n"
+
+#. type: =item
+#: ../examples/guestfs-recipes.pod:299 ../resize/virt-resize.pod:44
+#: ../resize/virt-resize.pod:610 ../sparsify/virt-sparsify.pod:235
+#: ../src/guestfs.pod:475 ../src/guestfs.pod:1212 ../src/guestfs.pod:1381
+#: ../src/guestfs.pod:1545 ../src/guestfs.pod:2815
+msgid "2."
+msgstr "2."
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:301
+msgid "Read the Windows Event Log (Windows Vista or later only):"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:303 ../examples/guestfs-recipes.pod:402
+msgid ""
+"L<https://rwmj.wordpress.com/2011/04/17/decoding-the-windows-event-log-using-"
+"guestfish/#content>"
+msgstr ""
+
+#. type: =item
+#: ../examples/guestfs-recipes.pod:305 ../resize/virt-resize.pod:52
+#: ../resize/virt-resize.pod:616 ../sparsify/virt-sparsify.pod:241
+#: ../src/guestfs.pod:486 ../src/guestfs.pod:1216 ../src/guestfs.pod:1551
+msgid "3."
+msgstr "3."
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:307
+msgid "Find out which files were last updated in a guest:"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:309
+msgid ""
+"L<https://rwmj.wordpress.com/2012/02/27/using-libguestfs-to-find-out-why-a-"
+"windows-guest-was-hanging/#content>"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:311
+msgid "This might give you a clue as to what program is running."
+msgstr ""
+
+#. type: =head1
+#: ../examples/guestfs-recipes.pod:315
msgid "Install RPMs in a guest"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:286
+#: ../examples/guestfs-recipes.pod:317
msgid ""
"The link below contains a method to install RPMs in a guest. In fact the "
"RPMs are just uploaded to the guest along with a \"firstboot\" script that "
@@ -5760,23 +5849,23 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:292
+#: ../examples/guestfs-recipes.pod:323
msgid ""
"L<https://rwmj.wordpress.com/2010/12/01/tip-install-rpms-in-a-guest/#content>"
msgstr ""
#. type: =head1
-#: ../examples/guestfs-recipes.pod:294
+#: ../examples/guestfs-recipes.pod:325
msgid "List applications installed in a VM"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:296
+#: ../examples/guestfs-recipes.pod:327
msgid "Save the following to a file C<list-apps.sh>:"
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-recipes.pod:298
+#: ../examples/guestfs-recipes.pod:329
#, no-wrap
msgid ""
" #!/bin/sh -\n"
@@ -5789,14 +5878,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:305
+#: ../examples/guestfs-recipes.pod:336
msgid ""
"Make the file executable and then you can run it on any named virtual "
"machine:"
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-recipes.pod:308
+#: ../examples/guestfs-recipes.pod:339
#, no-wrap
msgid ""
" # list-apps.sh WinGuest\n"
@@ -5832,7 +5921,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:338
+#: ../examples/guestfs-recipes.pod:369
msgid ""
"If you want to run the script on disk images (instead of libvirt virtual "
"machines), change C<-d \"$1\"> to C<-a \"$1\">. See also L<virt-inspector(1)"
@@ -5840,22 +5929,22 @@ msgid ""
msgstr ""
#. type: =head1
-#: ../examples/guestfs-recipes.pod:342
+#: ../examples/guestfs-recipes.pod:373
msgid "List files and directories in a VM"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:344
+#: ../examples/guestfs-recipes.pod:375
msgid "Use L<virt-ls(1)>."
msgstr ""
#. type: =head1
-#: ../examples/guestfs-recipes.pod:346
+#: ../examples/guestfs-recipes.pod:377
msgid "List services in a Windows VM"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:348
+#: ../examples/guestfs-recipes.pod:379
msgid ""
"The link below contains a script that can be used to list out the services "
"from a Windows VM, and whether those services run at boot time or are loaded "
@@ -5863,73 +5952,66 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:352
+#: ../examples/guestfs-recipes.pod:383
msgid ""
"L<https://rwmj.wordpress.com/2010/12/10/tip-list-services-in-a-windows-guest/"
"#content>"
msgstr ""
#. type: =head1
-#: ../examples/guestfs-recipes.pod:354
+#: ../examples/guestfs-recipes.pod:385
msgid "Make a disk image sparse"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:356
+#: ../examples/guestfs-recipes.pod:387
msgid "Use L<virt-sparsify(1)>."
msgstr ""
#. type: =head1
-#: ../examples/guestfs-recipes.pod:358
+#: ../examples/guestfs-recipes.pod:389
msgid "Monitor disk usage over time"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:360
+#: ../examples/guestfs-recipes.pod:391
msgid ""
"You can use L<virt-df(1)> to monitor disk usage of your guests over time. "
"The link below contains a guide."
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:363
+#: ../examples/guestfs-recipes.pod:394
msgid "L<http://virt-tools.org/learning/advanced-virt-df/>"
msgstr ""
#. type: =head1
-#: ../examples/guestfs-recipes.pod:365
+#: ../examples/guestfs-recipes.pod:396
msgid "Reading the Windows Event Log from Windows Vista (or later)"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:367
+#: ../examples/guestfs-recipes.pod:398
msgid ""
"L<guestfish(1)> plus the tools described in the link below can be used to "
"read out the Windows Event Log from any virtual machine running Windows "
"Vista or a later version."
msgstr ""
-#. type: textblock
-#: ../examples/guestfs-recipes.pod:371
-msgid ""
-"L<https://rwmj.wordpress.com/2011/04/17/decoding-the-windows-event-log-using-"
-"guestfish/#content>"
-msgstr ""
-
#. type: =head1
-#: ../examples/guestfs-recipes.pod:373
+#: ../examples/guestfs-recipes.pod:404
msgid "Remove root password (Linux)"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:375
+#: ../examples/guestfs-recipes.pod:406
msgid ""
"Using the L<virt-edit(1)> I<-e> option you can do simple replacements on "
"files. One use is to remove the root password from a Linux guest:"
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-recipes.pod:378
+#: ../examples/guestfs-recipes.pod:409
#, no-wrap
msgid ""
" virt-edit domname /etc/passwd -e 's/^root:.*?:/root::/'\n"
@@ -5937,12 +6019,12 @@ msgid ""
msgstr ""
#. type: =head1
-#: ../examples/guestfs-recipes.pod:380
+#: ../examples/guestfs-recipes.pod:411
msgid "Remove Administrator password (Windows)"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:382
+#: ../examples/guestfs-recipes.pod:413
msgid ""
"The link below contains one technique for removing the Administrator "
"password from a Windows VM, or to be more precise, it gives you a command "
@@ -5950,19 +6032,19 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:387
+#: ../examples/guestfs-recipes.pod:418
msgid ""
"L<https://mdbooth.wordpress.com/2010/10/18/resetting-a-windows-guests-"
"administrator-password-with-guestfish/>"
msgstr ""
#. type: =head1
-#: ../examples/guestfs-recipes.pod:389
+#: ../examples/guestfs-recipes.pod:420
msgid "Sysprepping a virtual machine (Windows)"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:391
+#: ../examples/guestfs-recipes.pod:422
msgid ""
"It is possible to do a \"sysprep\" using libguestfs alone, although not "
"straightforward. Currently there is code in the Aeolus Oz project which "
@@ -5971,19 +6053,19 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:396
+#: ../examples/guestfs-recipes.pod:427
msgid ""
"L<https://github.com/clalancette/oz> L<https://www.redhat.com/archives/virt-"
"tools-list/2011-May/msg00019.html>"
msgstr ""
#. type: =head1
-#: ../examples/guestfs-recipes.pod:399
+#: ../examples/guestfs-recipes.pod:430
msgid "Unpack a live CD"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:401
+#: ../examples/guestfs-recipes.pod:432
msgid ""
"Linux live CDs often contain multiple layers of disk images wrapped like a "
"Russian doll. You can use L<guestfish(1)> to look inside these multiple "
@@ -5991,52 +6073,124 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:405
+#: ../examples/guestfs-recipes.pod:436
msgid ""
"L<https://rwmj.wordpress.com/2009/07/15/unpack-the-russian-doll-of-a-f11-"
"live-cd/#content>"
msgstr ""
#. type: =head1
-#: ../examples/guestfs-recipes.pod:407
+#: ../examples/guestfs-recipes.pod:438
msgid "Uploading and downloading files"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:409
+#: ../examples/guestfs-recipes.pod:440
msgid ""
"The link below contains general tips on uploading (copying in) and "
"downloading (copying out) files from VMs."
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:412
+#: ../examples/guestfs-recipes.pod:443
msgid ""
"L<https://rwmj.wordpress.com/2010/12/02/tip-uploading-and-downloading/"
"#content>"
msgstr ""
#. type: =head1
-#: ../examples/guestfs-recipes.pod:414
+#: ../examples/guestfs-recipes.pod:445
+msgid "Uploading raw filesystem content"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:447
+msgid ""
+"You can use L<guestfish(1)> to upload whole filesystems into a VM, even into "
+"a filesystem which is encrypted or buried inside an LV or RAID device:"
+msgstr ""
+
+#. type: verbatim
+#: ../examples/guestfs-recipes.pod:451
+#, fuzzy, no-wrap
+#| msgid ""
+#| " guestfish [--ro] -i disk.img\n"
+#| "\n"
+msgid ""
+" guestfish --rw -a disk.img run : upload sda1.img /dev/sda1\n"
+"\n"
+msgstr ""
+" guestfish [--ro] -i disk.img\n"
+"\n"
+
+#. type: verbatim
+#: ../examples/guestfs-recipes.pod:453
+#, fuzzy, no-wrap
+#| msgid ""
+#| " guestfish -i -d WindowsGuest upload test.bat /test.bat\n"
+#| "\n"
+msgid ""
+" guestfish --rw -d Guest run : upload lv.img /dev/vg_guest/lv_root\n"
+"\n"
+msgstr ""
+" guestfish -i -d WindowsGuest upload test.bat /test.bat\n"
+"\n"
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:455
+msgid ""
+"One common problem is that the filesystem isn't the right size for the "
+"target. If it is too large, there's not much you can do with libguestfs - "
+"you have to prepare the filesystem differently. But if the filesystem needs "
+"to expand into the target, you can use guestfish to resize it to the right "
+"size:"
+msgstr ""
+
+#. type: verbatim
+#: ../examples/guestfs-recipes.pod:461
+#, fuzzy, no-wrap
+#| msgid ""
+#| " /boot => /dev/sda1\n"
+#| " / => /dev/vg_guest/lv_root\n"
+#| " /usr => /dev/vg_guest/lv_usr\n"
+#| "\n"
+msgid ""
+" guestfish --rw -d Guest run : \\\n"
+" upload lv.img /dev/vg_guest/lv_root : \\\n"
+" resize2fs /dev/vg_guest/lv_root\n"
+"\n"
+msgstr ""
+" /boot => /dev/sda1\n"
+" / => /dev/vg_guest/lv_root\n"
+" /usr => /dev/vg_guest/lv_usr\n"
+"\n"
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:465
+msgid "(or use C<ntfsresize> if the filesystem is NTFS)."
+msgstr ""
+
+#. type: =head1
+#: ../examples/guestfs-recipes.pod:467
msgid "Use libguestfs tools on VMware ESX guests"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:416
+#: ../examples/guestfs-recipes.pod:469
msgid ""
"The link below explains how to use libguestfs, L<guestfish(1)> and the virt "
"tools on any VMware ESX guests, by first sharing the VMware VMFS over sshfs."
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:420
+#: ../examples/guestfs-recipes.pod:473
msgid ""
"L<https://rwmj.wordpress.com/2011/05/10/tip-use-libguestfs-on-vmware-esx-"
"guests/#content>"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-recipes.pod:424
+#: ../examples/guestfs-recipes.pod:477
msgid ""
"L<guestfs(3)>, L<guestfish(1)>, L<guestfs-examples(3)>, L<guestfs-erlang(3)"
">, L<guestfs-java(3)>, L<guestfs-ocaml(3)>, L<guestfs-perl(3)>, L<guestfs-"
@@ -6100,11 +6254,46 @@ msgstr ""
#. type: =head2
#: ../examples/guestfs-testing.pod:30
+msgid "Run libguestfs-test-tool"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-testing.pod:32 ../examples/guestfs-testing.pod:145
+#: ../src/guestfs.pod:3180
+msgid "Run:"
+msgstr "Віддайте команду:"
+
+#. type: verbatim
+#: ../examples/guestfs-testing.pod:34 ../test-tool/libguestfs-test-tool.pod:21
+#, no-wrap
+msgid ""
+" libguestfs-test-tool\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-testing.pod:36
+msgid ""
+"This command does a very simple, non-destructive test that basic libguestfs "
+"is functioning. You don't need to run it as root."
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-testing.pod:39
+msgid ""
+"If it I<doesn't> print C<===== TEST FINISHED OK =====>, report it as a bug. "
+"It is very important that you include the B<complete, unedited> output of "
+"C<libguestfs-test-tool> in your bug report. See the L</BUGS> section at the "
+"end of this page."
+msgstr ""
+
+#. type: =head2
+#: ../examples/guestfs-testing.pod:44
msgid "Check KVM acceleration is being used."
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:32
+#: ../examples/guestfs-testing.pod:46
msgid ""
"If your host has hardware virt acceleration, then with a hot cache "
"libguestfs should be able to start up in a few seconds. Run the following "
@@ -6112,7 +6301,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-testing.pod:36
+#: ../examples/guestfs-testing.pod:50
#, no-wrap
msgid ""
" time guestfish -a /dev/null run\n"
@@ -6120,40 +6309,40 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:38
+#: ../examples/guestfs-testing.pod:52
msgid ""
"After a few runs, the time should settle down to a few seconds (under 5 "
"seconds on fast 64 bit hardware)."
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:41
+#: ../examples/guestfs-testing.pod:55
msgid "How to check for hardware virt:"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:43
+#: ../examples/guestfs-testing.pod:57
msgid "L<http://virt-tools.org/learning/check-hardware-virt/>"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:45
+#: ../examples/guestfs-testing.pod:59
msgid ""
"If the command above does not work at all, use L<libguestfs-test-tool(1)>."
msgstr ""
#. type: =head2
-#: ../examples/guestfs-testing.pod:48
+#: ../examples/guestfs-testing.pod:62
msgid "Run virt-alignment-scan on all your guests."
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:50
+#: ../examples/guestfs-testing.pod:64
msgid "Run L<virt-alignment-scan(1)> on guests or disk images:"
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-testing.pod:52
+#: ../examples/guestfs-testing.pod:66
#, no-wrap
msgid ""
" virt-alignment-scan -a /path/to/disk.img\n"
@@ -6161,14 +6350,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:54 ../examples/guestfs-testing.pod:161
-#: ../examples/guestfs-testing.pod:174 ../examples/guestfs-testing.pod:234
-#: ../src/guestfs.pod:2887
+#: ../examples/guestfs-testing.pod:68 ../examples/guestfs-testing.pod:175
+#: ../examples/guestfs-testing.pod:188 ../examples/guestfs-testing.pod:248
+#: ../src/guestfs.pod:2893
msgid "or:"
msgstr "або:"
#. type: verbatim
-#: ../examples/guestfs-testing.pod:56
+#: ../examples/guestfs-testing.pod:70
#, no-wrap
msgid ""
" virt-alignment-scan -d Guest\n"
@@ -6176,22 +6365,22 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:58
+#: ../examples/guestfs-testing.pod:72
msgid "Does the alignment report match how the guest partitions are aligned?"
msgstr ""
#. type: =head2
-#: ../examples/guestfs-testing.pod:60
+#: ../examples/guestfs-testing.pod:74
msgid "Run virt-cat on some files in guests."
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:62
+#: ../examples/guestfs-testing.pod:76
msgid "L<virt-cat(1)> can display files from guests. For a Linux guest, try:"
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-testing.pod:64
+#: ../examples/guestfs-testing.pod:78
#, no-wrap
msgid ""
" virt-cat LinuxGuest /etc/passwd\n"
@@ -6199,12 +6388,12 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:66
+#: ../examples/guestfs-testing.pod:80
msgid "A recent feature is support for Windows paths, for example:"
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-testing.pod:68
+#: ../examples/guestfs-testing.pod:82
#, no-wrap
msgid ""
" virt-cat WindowsGuest 'c:\\windows\\win.ini'\n"
@@ -6212,26 +6401,26 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:70
+#: ../examples/guestfs-testing.pod:84
msgid ""
"An even better test is if you have a Windows guest with multiple drives. Do "
"C<D:>, C<E:> etc paths work correctly?"
msgstr ""
#. type: =head2
-#: ../examples/guestfs-testing.pod:73
+#: ../examples/guestfs-testing.pod:87
msgid "B<*> Copy some files into a B<shut off> guest."
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:75
+#: ../examples/guestfs-testing.pod:89
msgid ""
"L<virt-copy-in(1)> can recursively copy files and directories into a guest "
"or disk image."
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-testing.pod:78
+#: ../examples/guestfs-testing.pod:92
#, no-wrap
msgid ""
" virt-copy-in -d Guest /etc /tmp\n"
@@ -6239,7 +6428,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:80
+#: ../examples/guestfs-testing.pod:94
msgid ""
"This should copy local directory C</etc> to C</tmp/etc> in the guest "
"(recursively). If you boot the guest, can you see all of the copied files "
@@ -6247,12 +6436,12 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:84
+#: ../examples/guestfs-testing.pod:98
msgid "Shut the guest down and try copying multiple files and directories:"
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-testing.pod:86
+#: ../examples/guestfs-testing.pod:100
#, no-wrap
msgid ""
" virt-copy-in -d Guest /home /etc/issue /tmp\n"
@@ -6260,39 +6449,39 @@ msgid ""
msgstr ""
#. type: =head2
-#: ../examples/guestfs-testing.pod:88
+#: ../examples/guestfs-testing.pod:102
msgid "Copy some files out of a guest."
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:90
+#: ../examples/guestfs-testing.pod:104
msgid ""
"L<virt-copy-out(1)> can recursively copy files and directories out of a "
"guest or disk image."
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:95
+#: ../examples/guestfs-testing.pod:109
msgid "Note the final space and period in the command is not a typo."
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:97
+#: ../examples/guestfs-testing.pod:111
msgid "This should copy C</home> from the guest into the current directory."
msgstr ""
#. type: =head2
-#: ../examples/guestfs-testing.pod:99
+#: ../examples/guestfs-testing.pod:113
msgid "Run virt-df."
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:101
+#: ../examples/guestfs-testing.pod:115
msgid "L<virt-df(1)> lists disk space. Run:"
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-testing.pod:103
+#: ../examples/guestfs-testing.pod:117
#, no-wrap
msgid ""
" virt-df\n"
@@ -6300,31 +6489,31 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:105
+#: ../examples/guestfs-testing.pod:119
msgid ""
"You can try comparing this to the results from L<df(1)> inside the guest, "
"but there are some provisos:"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:112
+#: ../examples/guestfs-testing.pod:126
msgid "The guest must be idle."
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:116
+#: ../examples/guestfs-testing.pod:130
msgid "The guest disks must be synched using L<sync(1)>."
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:120
+#: ../examples/guestfs-testing.pod:134
msgid ""
"Any action such as booting the guest will write log files causing the "
"numbers to change."
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:125
+#: ../examples/guestfs-testing.pod:139
msgid ""
"We don't guarantee that the numbers will be identical even under these "
"circumstances. They should be similar. It would indicate a bug if you saw "
@@ -6332,17 +6521,12 @@ msgid ""
msgstr ""
#. type: =head2
-#: ../examples/guestfs-testing.pod:129
+#: ../examples/guestfs-testing.pod:143
msgid "Try importing virt-df CSV output into a spreadsheet or database."
msgstr ""
-#. type: textblock
-#: ../examples/guestfs-testing.pod:131 ../src/guestfs.pod:3174
-msgid "Run:"
-msgstr "Віддайте команду:"
-
#. type: verbatim
-#: ../examples/guestfs-testing.pod:133
+#: ../examples/guestfs-testing.pod:147
#, no-wrap
msgid ""
" virt-df --csv > /tmp/report.csv\n"
@@ -6350,33 +6534,33 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:135
+#: ../examples/guestfs-testing.pod:149
msgid ""
"Now try to load this into your favorite spreadsheet or database. Are the "
"results reproduced faithfully in the spreadsheet/database?"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:138
+#: ../examples/guestfs-testing.pod:152
msgid ""
"L<http://www.postgresql.org/docs/8.1/static/sql-copy.html> L<http://dev."
"mysql.com/doc/refman/5.1/en/load-data.html>"
msgstr ""
#. type: =head2
-#: ../examples/guestfs-testing.pod:141
+#: ../examples/guestfs-testing.pod:155
msgid "B<*> Edit a file in a B<shut off> guest."
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:143
+#: ../examples/guestfs-testing.pod:157
msgid ""
"L<virt-edit(1)> can edit files in guests. Try this command on a RHEL or "
"Fedora guest:"
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-testing.pod:146
+#: ../examples/guestfs-testing.pod:160
#, no-wrap
msgid ""
" virt-edit LinuxGuest /etc/sysconfig/network\n"
@@ -6384,12 +6568,12 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:148
+#: ../examples/guestfs-testing.pod:162
msgid "On other Linux guests try editing other files such as:"
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-testing.pod:150
+#: ../examples/guestfs-testing.pod:164
#, no-wrap
msgid ""
" virt-edit LinuxGuest /etc/motd\n"
@@ -6397,24 +6581,24 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:152
+#: ../examples/guestfs-testing.pod:166
msgid "Are the changes seen inside the guest when it is booted?"
msgstr ""
#. type: =head2
-#: ../examples/guestfs-testing.pod:154
+#: ../examples/guestfs-testing.pod:168
msgid "Display the filesystems / partitions / LVs in a guest."
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:156
+#: ../examples/guestfs-testing.pod:170
msgid ""
"L<virt-filesystems(1)> can be used to display filesystems in a guest. Try "
"this command on any disk image or guest:"
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-testing.pod:159
+#: ../examples/guestfs-testing.pod:173
#, no-wrap
msgid ""
" virt-filesystems -a /path/to/disk.img --all --long -h\n"
@@ -6422,7 +6606,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-testing.pod:163
+#: ../examples/guestfs-testing.pod:177
#, no-wrap
msgid ""
" virt-filesystems -d Guest --all --long -h\n"
@@ -6430,24 +6614,24 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:165
+#: ../examples/guestfs-testing.pod:179
msgid "Do the results match what is seen in the guest?"
msgstr ""
#. type: =head2
-#: ../examples/guestfs-testing.pod:167
+#: ../examples/guestfs-testing.pod:181
msgid "Run virt-inspector on all your guests."
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:169
+#: ../examples/guestfs-testing.pod:183
msgid ""
"Use L<virt-inspector(1)> to get a report on all of your guests or disk "
"images:"
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-testing.pod:172
+#: ../examples/guestfs-testing.pod:186
#, no-wrap
msgid ""
" virt-inspector -a /path/to/disk.img | less\n"
@@ -6455,7 +6639,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-testing.pod:176
+#: ../examples/guestfs-testing.pod:190
#, no-wrap
msgid ""
" virt-inspector -d Guest | less\n"
@@ -6463,17 +6647,17 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:178
+#: ../examples/guestfs-testing.pod:192
msgid "Do the results match what is actually in the guest?"
msgstr ""
#. type: =head2
-#: ../examples/guestfs-testing.pod:180
+#: ../examples/guestfs-testing.pod:194
msgid "Try the auditing features of virt-ls on all your guests."
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-testing.pod:184
+#: ../examples/guestfs-testing.pod:198
#, no-wrap
msgid ""
" virt-ls -lR -d Guest / | grep '^- [42]'\n"
@@ -6481,7 +6665,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-testing.pod:188
+#: ../examples/guestfs-testing.pod:202
#, no-wrap
msgid ""
" virt-ls -lR -d Guest / | grep '^d ...7'\n"
@@ -6489,7 +6673,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-testing.pod:192
+#: ../examples/guestfs-testing.pod:206
#, no-wrap
msgid ""
" virt-ls -lR -d Guest / | grep '^s'\n"
@@ -6497,7 +6681,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-testing.pod:196
+#: ../examples/guestfs-testing.pod:210
#, no-wrap
msgid ""
" virt-ls -lR -d Guest / | grep -i '^-.*\\.png$'\n"
@@ -6505,12 +6689,12 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:198
+#: ../examples/guestfs-testing.pod:212
msgid "Display files larger than 10MB in home directories:"
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-testing.pod:200
+#: ../examples/guestfs-testing.pod:214
#, no-wrap
msgid ""
" virt-ls -lR -d Guest /home | awk '$3 > 10*1024*1024'\n"
@@ -6518,7 +6702,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-testing.pod:204
+#: ../examples/guestfs-testing.pod:218
#, no-wrap
msgid ""
" virt-ls -lR -d Guest --time-days / | awk '$6 <= 7'\n"
@@ -6526,7 +6710,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-testing.pod:208
+#: ../examples/guestfs-testing.pod:222
#, no-wrap
msgid ""
" virt-ls -lR -d Guest --time-days / | grep '^-' | awk '$6 < 1'\n"
@@ -6534,24 +6718,24 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:210
+#: ../examples/guestfs-testing.pod:224
msgid "Do the results match what is in the guest?"
msgstr ""
#. type: =head2
-#: ../examples/guestfs-testing.pod:212
+#: ../examples/guestfs-testing.pod:226
msgid "Create a disk image from a tarball."
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:214
+#: ../examples/guestfs-testing.pod:228
msgid ""
"Use L<virt-make-fs(1)> to create a disk image from any tarball that you "
"happen to have:"
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-testing.pod:217
+#: ../examples/guestfs-testing.pod:231
#, no-wrap
msgid ""
" virt-make-fs --partition=mbr --type=vfat /any/tarball.tar.gz output.img\n"
@@ -6559,7 +6743,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:219
+#: ../examples/guestfs-testing.pod:233
msgid ""
"Add 'output.img' as a raw disk to an existing guest. Check the guest can "
"see the files. This test is particularly useful if you try it with a "
@@ -6567,29 +6751,29 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:223
+#: ../examples/guestfs-testing.pod:237
msgid "Try other partitioning schemes, eg. I<--partition=gpt>."
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:225
+#: ../examples/guestfs-testing.pod:239
msgid "Try other filesystem formats, eg. I<--type=ntfs>, I<--type=ext2>."
msgstr ""
#. type: =head2
-#: ../examples/guestfs-testing.pod:227
+#: ../examples/guestfs-testing.pod:241
msgid "B<*> Run virt-rescue on a B<shut off> disk image or guest."
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:229
+#: ../examples/guestfs-testing.pod:243
msgid ""
"Use L<virt-rescue(1)> to examine, rescue or repair a B<shut off> guest or "
"disk image:"
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-testing.pod:232
+#: ../examples/guestfs-testing.pod:246
#, no-wrap
msgid ""
" virt-rescue -a /path/to/disk.img\n"
@@ -6597,7 +6781,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-testing.pod:236
+#: ../examples/guestfs-testing.pod:250
#, no-wrap
msgid ""
" virt-rescue -d Guest\n"
@@ -6605,24 +6789,24 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:238
+#: ../examples/guestfs-testing.pod:252
msgid "Can you use ordinary shell commands to examine the guest?"
msgstr ""
#. type: =head2
-#: ../examples/guestfs-testing.pod:240
+#: ../examples/guestfs-testing.pod:254
msgid "B<*> Resize your guests."
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:242
+#: ../examples/guestfs-testing.pod:256
msgid ""
"Use L<virt-resize(1)> to give a guest some more disk space. For example, if "
"you have a disk image that is smaller than 30G, increase it to 30G by doing:"
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-testing.pod:246
+#: ../examples/guestfs-testing.pod:260
#, no-wrap
msgid ""
" truncate -s 30G newdisk.img\n"
@@ -6633,22 +6817,22 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:251
+#: ../examples/guestfs-testing.pod:265
msgid "Does the guest still boot? Try expanding other partitions."
msgstr ""
#. type: =head2
-#: ../examples/guestfs-testing.pod:253
+#: ../examples/guestfs-testing.pod:267
msgid "B<*> Sparsify a guest disk."
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:255
+#: ../examples/guestfs-testing.pod:269
msgid "Using L<virt-sparsify(1)>, make a disk image more sparse:"
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-testing.pod:257
+#: ../examples/guestfs-testing.pod:271
#, no-wrap
msgid ""
" virt-sparsify /path/to/olddisk.img newdisk.img\n"
@@ -6656,26 +6840,26 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:259
+#: ../examples/guestfs-testing.pod:273
msgid ""
"Is C<newdisk.img> still bootable after sparsifying? Is the resulting disk "
"image smaller (use C<du> to check)?"
msgstr ""
#. type: =head2
-#: ../examples/guestfs-testing.pod:262
+#: ../examples/guestfs-testing.pod:276
msgid "B<*> \"sysprep\" a B<shut off> Linux guest."
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:264
+#: ../examples/guestfs-testing.pod:278
msgid ""
"Note that this really will mess up an existing guest, so it's better to "
"clone the guest before trying this."
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-testing.pod:267
+#: ../examples/guestfs-testing.pod:281
#, no-wrap
msgid ""
" virt-sysprep --hostname newhost.example.com -a /path/to/disk.img\n"
@@ -6683,26 +6867,26 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:269
+#: ../examples/guestfs-testing.pod:283
msgid ""
"Was the sysprep successful? After booting, what changes were made and were "
"they successful?"
msgstr ""
#. type: =head2
-#: ../examples/guestfs-testing.pod:272
+#: ../examples/guestfs-testing.pod:286
msgid "Dump the Windows Registry from your Windows guests."
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:274
+#: ../examples/guestfs-testing.pod:288
msgid ""
"Use L<virt-win-reg(1)> to dump out the Windows Registry from any Windows "
"guests that you have."
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-testing.pod:277
+#: ../examples/guestfs-testing.pod:291
#, no-wrap
msgid ""
" virt-win-reg --unsafe-printable-strings WindowsGuest 'HKLM\\Software' |\n"
@@ -6711,7 +6895,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-testing.pod:280
+#: ../examples/guestfs-testing.pod:294
#, no-wrap
msgid ""
" virt-win-reg --unsafe-printable-strings WindowsGuest 'HKLM\\System' |\n"
@@ -6720,19 +6904,19 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:283
+#: ../examples/guestfs-testing.pod:297
msgid "Does the output match running C<regedit> inside the guest?"
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:285
+#: ../examples/guestfs-testing.pod:299
msgid ""
"A recent feature is the ability to dump user registries, so try this, "
"replacing I<username> with the name of a local user in the guest:"
msgstr ""
#. type: verbatim
-#: ../examples/guestfs-testing.pod:288
+#: ../examples/guestfs-testing.pod:302
#, no-wrap
msgid ""
" virt-win-reg --unsafe-printable-strings WindowsGuest 'HKEY_USERS\\username' |\n"
@@ -6741,7 +6925,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../examples/guestfs-testing.pod:293
+#: ../examples/guestfs-testing.pod:307
msgid ""
"L<guestfs(3)>, L<guestfish(1)>, L<guestfs-examples(3)>, L<http://libguestfs."
"org/>."
@@ -7096,7 +7280,7 @@ msgstr ""
#. type: =item
#: ../fish/guestfish-actions.pod:174 ../src/guestfs-actions.pod:234
-#: ../src/guestfs.pod:3057
+#: ../src/guestfs.pod:3063
msgid "C<format>"
msgstr "C<format>"
@@ -16751,7 +16935,7 @@ msgstr ""
#. type: =item
#: ../fish/guestfish-actions.pod:4476 ../src/guestfs-actions.pod:6961
-#: ../src/guestfs.pod:3016
+#: ../src/guestfs.pod:3022
msgid "C<appliance>"
msgstr "C<appliance>"
@@ -20618,7 +20802,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../fish/guestfish.pod:135 ../src/guestfs.pod:2337
+#: ../fish/guestfish.pod:135 ../src/guestfs.pod:2343
#, no-wrap
msgid ""
" guestfish -N fs\n"
@@ -22111,7 +22295,7 @@ msgid ""
msgstr ""
#. type: =head2
-#: ../fish/guestfish.pod:825 ../src/guestfs.pod:513
+#: ../fish/guestfish.pod:825 ../src/guestfs.pod:519
msgid "ENCRYPTED DISKS"
msgstr "ЗАШИФРОВАНІ ДИСКИ"
@@ -22476,7 +22660,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../fish/guestfish.pod:982 ../src/guestfs.pod:988
+#: ../fish/guestfish.pod:982 ../src/guestfs.pod:994
#, no-wrap
msgid ""
" #!/bin/bash -\n"
@@ -22767,7 +22951,7 @@ msgid "COMMANDS"
msgstr "КОМАНДИ"
#. type: textblock
-#: ../fish/guestfish.pod:1112 ../src/guestfs.pod:1614
+#: ../fish/guestfish.pod:1112 ../src/guestfs.pod:1620
msgid "@ACTIONS@"
msgstr "@ACTIONS@"
@@ -22791,17 +22975,17 @@ msgid ""
msgstr ""
#. type: =item
-#: ../fish/guestfish.pod:1128 ../src/guestfs.pod:3304
+#: ../fish/guestfish.pod:1128 ../src/guestfs.pod:3310
msgid "FEBOOTSTRAP_KERNEL"
msgstr ""
#. type: =item
-#: ../fish/guestfish.pod:1130 ../src/guestfs.pod:3306
+#: ../fish/guestfish.pod:1130 ../src/guestfs.pod:3312
msgid "FEBOOTSTRAP_MODULES"
msgstr ""
#. type: textblock
-#: ../fish/guestfish.pod:1132 ../src/guestfs.pod:3308
+#: ../fish/guestfish.pod:1132 ../src/guestfs.pod:3314
msgid ""
"These two environment variables allow the kernel that libguestfs uses in the "
"appliance to be selected. If C<$FEBOOTSTRAP_KERNEL> is not set, then the "
@@ -22859,17 +23043,17 @@ msgid ""
msgstr ""
#. type: =item
-#: ../fish/guestfish.pod:1160 ../src/guestfs.pod:3314
+#: ../fish/guestfish.pod:1160 ../src/guestfs.pod:3320
msgid "LIBGUESTFS_APPEND"
msgstr ""
#. type: textblock
-#: ../fish/guestfish.pod:1162 ../src/guestfs.pod:3316
+#: ../fish/guestfish.pod:1162 ../src/guestfs.pod:3322
msgid "Pass additional options to the guest kernel."
msgstr ""
#. type: =item
-#: ../fish/guestfish.pod:1164 ../src/guestfs.pod:3318
+#: ../fish/guestfish.pod:1164 ../src/guestfs.pod:3324
msgid "LIBGUESTFS_DEBUG"
msgstr "LIBGUESTFS_DEBUG"
@@ -22881,18 +23065,18 @@ msgid ""
msgstr ""
#. type: =item
-#: ../fish/guestfish.pod:1169 ../src/guestfs.pod:3323
+#: ../fish/guestfish.pod:1169 ../src/guestfs.pod:3329
msgid "LIBGUESTFS_MEMSIZE"
msgstr "LIBGUESTFS_MEMSIZE"
#. type: textblock
-#: ../fish/guestfish.pod:1171 ../src/guestfs.pod:3325
+#: ../fish/guestfish.pod:1171 ../src/guestfs.pod:3331
msgid ""
"Set the memory allocated to the qemu process, in megabytes. For example:"
msgstr ""
#. type: verbatim
-#: ../fish/guestfish.pod:1174 ../src/guestfs.pod:3328
+#: ../fish/guestfish.pod:1174 ../src/guestfs.pod:3334
#, no-wrap
msgid ""
" LIBGUESTFS_MEMSIZE=700\n"
@@ -22902,7 +23086,7 @@ msgstr ""
"\n"
#. type: =item
-#: ../fish/guestfish.pod:1176 ../src/guestfs.pod:3330
+#: ../fish/guestfish.pod:1176 ../src/guestfs.pod:3336
msgid "LIBGUESTFS_PATH"
msgstr ""
@@ -22914,19 +23098,19 @@ msgid ""
msgstr ""
#. type: =item
-#: ../fish/guestfish.pod:1181 ../src/guestfs.pod:3335
+#: ../fish/guestfish.pod:1181 ../src/guestfs.pod:3341
msgid "LIBGUESTFS_QEMU"
msgstr ""
#. type: textblock
-#: ../fish/guestfish.pod:1183 ../src/guestfs.pod:3337
+#: ../fish/guestfish.pod:1183 ../src/guestfs.pod:3343
msgid ""
"Set the default qemu binary that libguestfs uses. If not set, then the qemu "
"which was found at compile time by the configure script is used."
msgstr ""
#. type: =item
-#: ../fish/guestfish.pod:1187 ../src/guestfs.pod:3343
+#: ../fish/guestfish.pod:1187 ../src/guestfs.pod:3349
msgid "LIBGUESTFS_TRACE"
msgstr ""
@@ -22949,19 +23133,19 @@ msgstr ""
#. type: =item
#: ../fish/guestfish.pod:1196 ../sparsify/virt-sparsify.pod:261
-#: ../src/guestfs.pod:3348
+#: ../src/guestfs.pod:3354
msgid "TMPDIR"
msgstr ""
#. type: textblock
-#: ../fish/guestfish.pod:1198 ../src/guestfs.pod:3350
+#: ../fish/guestfish.pod:1198 ../src/guestfs.pod:3356
msgid ""
"Location of temporary directory, defaults to C</tmp> except for the cached "
"supermin appliance which defaults to C</var/tmp>."
msgstr ""
#. type: textblock
-#: ../fish/guestfish.pod:1201 ../src/guestfs.pod:3353
+#: ../fish/guestfish.pod:1201 ../src/guestfs.pod:3359
msgid ""
"If libguestfs was compiled to use the supermin appliance then the real "
"appliance is cached in this directory, shared between all handles belonging "
@@ -25919,14 +26103,6 @@ msgid ""
"and L<virt-df(1)>, we recommend you go and read those manual pages first."
msgstr ""
-#. type: =item
-#: ../resize/virt-resize.pod:31 ../resize/virt-resize.pod:603
-#: ../sparsify/virt-sparsify.pod:228 ../src/guestfs.pod:463
-#: ../src/guestfs.pod:1202 ../src/guestfs.pod:1371 ../src/guestfs.pod:1535
-#: ../src/guestfs.pod:2784
-msgid "1."
-msgstr "1."
-
#. type: textblock
#: ../resize/virt-resize.pod:33
msgid ""
@@ -25960,14 +26136,6 @@ msgid ""
"\n"
msgstr ""
-#. type: =item
-#: ../resize/virt-resize.pod:44 ../resize/virt-resize.pod:610
-#: ../sparsify/virt-sparsify.pod:235 ../src/guestfs.pod:469
-#: ../src/guestfs.pod:1206 ../src/guestfs.pod:1375 ../src/guestfs.pod:1539
-#: ../src/guestfs.pod:2809
-msgid "2."
-msgstr "2."
-
#. type: textblock
#: ../resize/virt-resize.pod:46
msgid ""
@@ -25984,13 +26152,6 @@ msgid ""
"\n"
msgstr ""
-#. type: =item
-#: ../resize/virt-resize.pod:52 ../resize/virt-resize.pod:616
-#: ../sparsify/virt-sparsify.pod:241 ../src/guestfs.pod:480
-#: ../src/guestfs.pod:1210 ../src/guestfs.pod:1545
-msgid "3."
-msgstr "3."
-
#. type: textblock
#: ../resize/virt-resize.pod:54
msgid ""
@@ -38505,13 +38666,26 @@ msgid ""
"LANGUAGES> below."
msgstr ""
-#. type: =head1
+#. type: textblock
#: ../src/guestfs.pod:39
+msgid "For tips and recipes, see L<guestfs-recipes(1)>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs.pod:41
+msgid ""
+"If you are having performance problems, read L<guestfs-performance(1)>. To "
+"help test libguestfs, read L<libguestfs-test-tool(1)> and L<guestfs-testing"
+"(1)>."
+msgstr ""
+
+#. type: =head1
+#: ../src/guestfs.pod:45
msgid "API OVERVIEW"
msgstr "ОГЛЯД API"
#. type: textblock
-#: ../src/guestfs.pod:41
+#: ../src/guestfs.pod:47
msgid ""
"This section provides a gentler overview of the libguestfs API. We also try "
"to group API calls together, where that may not be obvious from reading "
@@ -38519,12 +38693,12 @@ msgid ""
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:46
+#: ../src/guestfs.pod:52
msgid "HANDLES"
msgstr "ОБРОБНИКИ"
#. type: textblock
-#: ../src/guestfs.pod:48
+#: ../src/guestfs.pod:54
msgid ""
"Before you can use libguestfs calls, you have to create a handle. Then you "
"must add at least one disk image to the handle, followed by launching the "
@@ -38534,12 +38708,12 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:55
+#: ../src/guestfs.pod:61
msgid "The general structure of all libguestfs-using programs looks like this:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:58
+#: ../src/guestfs.pod:64
#, no-wrap
msgid ""
" guestfs_h *g = guestfs_create ();\n"
@@ -38549,7 +38723,7 @@ msgstr ""
" \n"
#. type: verbatim
-#: ../src/guestfs.pod:60
+#: ../src/guestfs.pod:66
#, no-wrap
msgid ""
" /* Call guestfs_add_drive additional times if there are\n"
@@ -38560,7 +38734,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:65
+#: ../src/guestfs.pod:71
#, no-wrap
msgid ""
" /* Most manipulation calls won't work until you've launched\n"
@@ -38572,7 +38746,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:71
+#: ../src/guestfs.pod:77
#, no-wrap
msgid ""
" /* Now you can examine what partitions, LVs etc are available.\n"
@@ -38588,7 +38762,7 @@ msgstr ""
" \n"
#. type: verbatim
-#: ../src/guestfs.pod:76
+#: ../src/guestfs.pod:82
#, no-wrap
msgid ""
" /* To access a filesystem in the image, you must mount it.\n"
@@ -38602,7 +38776,7 @@ msgstr ""
" \n"
#. type: verbatim
-#: ../src/guestfs.pod:80
+#: ../src/guestfs.pod:86
#, no-wrap
msgid ""
" /* Now you can perform filesystem actions on the guest\n"
@@ -38618,7 +38792,7 @@ msgstr ""
" \n"
#. type: verbatim
-#: ../src/guestfs.pod:85
+#: ../src/guestfs.pod:91
#, no-wrap
msgid ""
" /* Synchronize the disk. This is the opposite of guestfs_launch. */\n"
@@ -38627,7 +38801,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:88
+#: ../src/guestfs.pod:94
#, fuzzy, no-wrap
#| msgid ""
#| " /* Close the handle 'g'. */\n"
@@ -38643,7 +38817,7 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:91
+#: ../src/guestfs.pod:97
msgid ""
"The code above doesn't include any error checking. In real code you should "
"check return values carefully for errors. In general all functions that "
@@ -38655,12 +38829,12 @@ msgid ""
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:100
+#: ../src/guestfs.pod:106
msgid "DISK IMAGES"
msgstr "ОБРАЗИ ДИСКІВ"
#. type: textblock
-#: ../src/guestfs.pod:102
+#: ../src/guestfs.pod:108
msgid ""
"The image filename (C<\"guest.img\"> in the example above) could be a disk "
"image from a virtual machine, a L<dd(1)> copy of a physical hard disk, an "
@@ -38670,7 +38844,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:108
+#: ../src/guestfs.pod:114
msgid ""
"The call you should use in modern code for adding drives is L</"
"guestfs_add_drive_opts>. To add a disk image, allowing writes, and "
@@ -38678,7 +38852,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:112
+#: ../src/guestfs.pod:118
#, no-wrap
msgid ""
" guestfs_add_drive_opts (g, filename,\n"
@@ -38692,12 +38866,12 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:116
+#: ../src/guestfs.pod:122
msgid "You can add a disk read-only using:"
msgstr "Ви можете додати диск у режимі лише читання:"
#. type: verbatim
-#: ../src/guestfs.pod:118
+#: ../src/guestfs.pod:124
#, no-wrap
msgid ""
" guestfs_add_drive_opts (g, filename,\n"
@@ -38713,14 +38887,14 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:123
+#: ../src/guestfs.pod:129
msgid ""
"or by calling the older function L</guestfs_add_drive_ro>. In either case "
"libguestfs won't modify the file."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:126
+#: ../src/guestfs.pod:132
msgid ""
"Be extremely cautious if the disk image is in use, eg. if it is being used "
"by a virtual machine. Adding it read-write will almost certainly cause disk "
@@ -38728,7 +38902,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:130
+#: ../src/guestfs.pod:136
msgid ""
"You must add at least one disk image, and you may add multiple disk images. "
"In the API, the disk images are usually referred to as C</dev/sda> (for the "
@@ -38736,7 +38910,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:135
+#: ../src/guestfs.pod:141
msgid ""
"Once L</guestfs_launch> has been called you cannot add any more images. You "
"can call L</guestfs_list_devices> to get a list of the device names, in the "
@@ -38744,12 +38918,12 @@ msgid ""
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:140
+#: ../src/guestfs.pod:146
msgid "MOUNTING"
msgstr "МОНТУВАННЯ"
#. type: textblock
-#: ../src/guestfs.pod:142
+#: ../src/guestfs.pod:148
msgid ""
"Before you can read or write files, create directories and so on in a disk "
"image that contains filesystems, you have to mount those filesystems using "
@@ -38759,7 +38933,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:149
+#: ../src/guestfs.pod:155
#, no-wrap
msgid ""
" guestfs_mount_options (g, \"\", \"/dev/sda1\", \"/\");\n"
@@ -38769,7 +38943,7 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:151
+#: ../src/guestfs.pod:157
msgid ""
"where C</dev/sda1> means literally the first partition (C<1>) of the first "
"disk image that we added (C</dev/sda>). If the disk contains Linux LVM2 "
@@ -38779,7 +38953,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:157
+#: ../src/guestfs.pod:163
msgid ""
"If you are given a disk image and you don't know what it contains then you "
"have to find out. Libguestfs can do that too: use L</"
@@ -38790,7 +38964,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:165
+#: ../src/guestfs.pod:171
msgid ""
"Libguestfs also has a set of APIs for inspection of unknown disk images (see "
"L</INSPECTION> below). But you might find it easier to look at higher level "
@@ -38798,19 +38972,19 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:170
+#: ../src/guestfs.pod:176
msgid ""
"To mount a filesystem read-only, use L</guestfs_mount_ro>. There are "
"several other variations of the C<guestfs_mount_*> call."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:173
+#: ../src/guestfs.pod:179
msgid "FILESYSTEM ACCESS AND MODIFICATION"
msgstr "ДОСТУП ТА ВНЕСЕННЯ ЗМІН ДО ФАЙЛОВИХ СИСТЕМ"
#. type: textblock
-#: ../src/guestfs.pod:175
+#: ../src/guestfs.pod:181
msgid ""
"The majority of the libguestfs API consists of fairly low-level calls for "
"accessing and modifying the files, directories, symlinks etc on mounted "
@@ -38820,7 +38994,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:181
+#: ../src/guestfs.pod:187
msgid ""
"Specify filenames as full paths, starting with C<\"/\"> and including the "
"mount point."
@@ -38829,7 +39003,7 @@ msgstr ""
"точкою монтування."
#. type: textblock
-#: ../src/guestfs.pod:184
+#: ../src/guestfs.pod:190
msgid ""
"For example, if you mounted a filesystem at C<\"/\"> and you want to read "
"the file called C<\"etc/passwd\"> then you could do:"
@@ -38839,7 +39013,7 @@ msgstr ""
"таким кодом:"
#. type: verbatim
-#: ../src/guestfs.pod:187
+#: ../src/guestfs.pod:193
#, no-wrap
msgid ""
" char *data = guestfs_cat (g, \"/etc/passwd\");\n"
@@ -38849,7 +39023,7 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:189
+#: ../src/guestfs.pod:195
msgid ""
"This would return C<data> as a newly allocated buffer containing the full "
"content of that file (with some conditions: see also L</DOWNLOADING> below), "
@@ -38857,14 +39031,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:193
+#: ../src/guestfs.pod:199
msgid ""
"As another example, to create a top-level directory on that filesystem "
"called C<\"var\"> you would do:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:196
+#: ../src/guestfs.pod:202
#, no-wrap
msgid ""
" guestfs_mkdir (g, \"/var\");\n"
@@ -38874,12 +39048,12 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:198
+#: ../src/guestfs.pod:204
msgid "To create a symlink you could do:"
msgstr "Щоб створити символічне посилання, ви можете скористатися таким кодом:"
#. type: verbatim
-#: ../src/guestfs.pod:200
+#: ../src/guestfs.pod:206
#, no-wrap
msgid ""
" guestfs_ln_s (g, \"/etc/init.d/portmap\",\n"
@@ -38891,14 +39065,14 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:203
+#: ../src/guestfs.pod:209
msgid ""
"Libguestfs will reject attempts to use relative paths and there is no "
"concept of a current working directory."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:206
+#: ../src/guestfs.pod:212
msgid ""
"Libguestfs can return errors in many situations: for example if the "
"filesystem isn't writable, or if a file or directory that you requested "
@@ -38908,33 +39082,33 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:212
+#: ../src/guestfs.pod:218
msgid ""
"File writes are affected by the per-handle umask, set by calling L</"
"guestfs_umask> and defaulting to 022. See L</UMASK>."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:215
+#: ../src/guestfs.pod:221
msgid "PARTITIONING"
msgstr "ПОДІЛ НА РОЗДІЛИ"
#. type: textblock
-#: ../src/guestfs.pod:217
+#: ../src/guestfs.pod:223
msgid ""
"Libguestfs contains API calls to read, create and modify partition tables on "
"disk images."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:220
+#: ../src/guestfs.pod:226
msgid ""
"In the common case where you want to create a single partition covering the "
"whole disk, you should use the L</guestfs_part_disk> call:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:224
+#: ../src/guestfs.pod:230
#, no-wrap
msgid ""
" const char *parttype = \"mbr\";\n"
@@ -38950,18 +39124,18 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:229
+#: ../src/guestfs.pod:235
msgid ""
"Obviously this effectively wipes anything that was on that disk image before."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:232
+#: ../src/guestfs.pod:238
msgid "LVM2"
msgstr "LVM2"
#. type: textblock
-#: ../src/guestfs.pod:234
+#: ../src/guestfs.pod:240
msgid ""
"Libguestfs provides access to a large part of the LVM2 API, such as L</"
"guestfs_lvcreate> and L</guestfs_vgremove>. It won't make much sense unless "
@@ -38970,19 +39144,19 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:239
+#: ../src/guestfs.pod:245
msgid ""
"This author strongly recommends reading the LVM HOWTO, online at L<http://"
"tldp.org/HOWTO/LVM-HOWTO/>."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:242
+#: ../src/guestfs.pod:248
msgid "DOWNLOADING"
msgstr "ОТРИМАННЯ ДАНИХ"
#. type: textblock
-#: ../src/guestfs.pod:244
+#: ../src/guestfs.pod:250
msgid ""
"Use L</guestfs_cat> to download small, text only files. This call is "
"limited to files which are less than 2 MB and which cannot contain any ASCII "
@@ -38990,7 +39164,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:248
+#: ../src/guestfs.pod:254
msgid ""
"L</guestfs_read_file> can be used to read files which contain arbitrary 8 "
"bit data, since it returns a (pointer, size) pair. However it is still "
@@ -38998,31 +39172,31 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:252
+#: ../src/guestfs.pod:258
msgid ""
"L</guestfs_download> can be used to download any file, with no limits on "
"content or size (even files larger than 4 GB)."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:255
+#: ../src/guestfs.pod:261
msgid ""
"To download multiple files, see L</guestfs_tar_out> and L</guestfs_tgz_out>."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:258
+#: ../src/guestfs.pod:264
msgid "UPLOADING"
msgstr "ВИВАНТАЖЕННЯ"
#. type: textblock
-#: ../src/guestfs.pod:260
+#: ../src/guestfs.pod:266
msgid ""
"It's often the case that you want to write a file or files to the disk image."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:263
+#: ../src/guestfs.pod:269
msgid ""
"To write a small file with fixed content, use L</guestfs_write>. To create "
"a file of all zeroes, use L</guestfs_truncate_size> (sparse) or L</"
@@ -39032,20 +39206,20 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:269
+#: ../src/guestfs.pod:275
msgid ""
"To upload a single file, use L</guestfs_upload>. This call has no limits on "
"file content or size (even files larger than 4 GB)."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:272
+#: ../src/guestfs.pod:278
msgid ""
"To upload multiple files, see L</guestfs_tar_in> and L</guestfs_tgz_in>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:274
+#: ../src/guestfs.pod:280
msgid ""
"However the fastest way to upload I<large numbers of arbitrary files> is to "
"turn them into a squashfs or CD ISO (see L<mksquashfs(8)> and L<mkisofs(8)"
@@ -39059,12 +39233,12 @@ msgid ""
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:285
+#: ../src/guestfs.pod:291
msgid "COPYING"
msgstr "КОПІЮВАННЯ"
#. type: textblock
-#: ../src/guestfs.pod:287
+#: ../src/guestfs.pod:293
msgid ""
"There are various different commands for copying between files and devices "
"and in and out of the guest filesystem. These are summarised in the table "
@@ -39072,52 +39246,52 @@ msgid ""
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:293
+#: ../src/guestfs.pod:299
msgid "B<file> to B<file>"
msgstr "B<файл> у B<файл>"
#. type: textblock
-#: ../src/guestfs.pod:295
+#: ../src/guestfs.pod:301
msgid ""
"Use L</guestfs_cp> to copy a single file, or L</guestfs_cp_a> to copy "
"directories recursively."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:298
+#: ../src/guestfs.pod:304
msgid ""
"To copy part of a file (offset and size) use L</guestfs_copy_file_to_file>."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:301
+#: ../src/guestfs.pod:307
msgid "B<file> to B<device>"
msgstr "B<файл> на B<пристрій>"
#. type: =item
-#: ../src/guestfs.pod:303
+#: ../src/guestfs.pod:309
msgid "B<device> to B<file>"
msgstr "B<пристрій> до B<файла>"
#. type: =item
-#: ../src/guestfs.pod:305
+#: ../src/guestfs.pod:311
msgid "B<device> to B<device>"
msgstr "B<пристрій> на B<пристрій>"
#. type: textblock
-#: ../src/guestfs.pod:307
+#: ../src/guestfs.pod:313
msgid ""
"Use L</guestfs_copy_file_to_device>, L</guestfs_copy_device_to_file>, or L</"
"guestfs_copy_device_to_device>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:310
+#: ../src/guestfs.pod:316
msgid "Example: duplicate the contents of an LV:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:312
+#: ../src/guestfs.pod:318
#, no-wrap
msgid ""
" guestfs_copy_device_to_device (g,\n"
@@ -39128,7 +39302,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:317
+#: ../src/guestfs.pod:323
msgid ""
"The destination (C</dev/VG/Copy>) must be at least as large as the source "
"(C</dev/VG/Original>). To copy less than the whole source device, use the "
@@ -39136,7 +39310,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:321
+#: ../src/guestfs.pod:327
#, no-wrap
msgid ""
" guestfs_copy_device_to_device (g,\n"
@@ -39147,32 +39321,32 @@ msgid ""
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:326
+#: ../src/guestfs.pod:332
msgid "B<file on the host> to B<file or device>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:328
+#: ../src/guestfs.pod:334
msgid "Use L</guestfs_upload>. See L</UPLOADING> above."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:330
+#: ../src/guestfs.pod:336
msgid "B<file or device> to B<file on the host>"
msgstr "B<файл або пристрій> у B<файл на вузлі>"
#. type: textblock
-#: ../src/guestfs.pod:332
+#: ../src/guestfs.pod:338
msgid "Use L</guestfs_download>. See L</DOWNLOADING> above."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:336
+#: ../src/guestfs.pod:342
msgid "UPLOADING AND DOWNLOADING TO PIPES AND FILE DESCRIPTORS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:338
+#: ../src/guestfs.pod:344
msgid ""
"Calls like L</guestfs_upload>, L</guestfs_download>, L</guestfs_tar_in>, L</"
"guestfs_tar_out> etc appear to only take filenames as arguments, so it "
@@ -39183,12 +39357,12 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:346
+#: ../src/guestfs.pod:352
msgid "For example, L<virt-cat(1)> writes its output to stdout by doing:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:349
+#: ../src/guestfs.pod:355
#, no-wrap
msgid ""
" guestfs_download (g, filename, \"/dev/stdout\");\n"
@@ -39198,12 +39372,12 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:351
+#: ../src/guestfs.pod:357
msgid "and you can write tar output to a file descriptor C<fd> by doing:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:353
+#: ../src/guestfs.pod:359
#, no-wrap
msgid ""
" char devfd[64];\n"
@@ -39217,26 +39391,26 @@ msgstr ""
"\n"
#. type: =head2
-#: ../src/guestfs.pod:357
+#: ../src/guestfs.pod:363
msgid "LISTING FILES"
msgstr "СПИСКИ ФАЙЛІВ"
#. type: textblock
-#: ../src/guestfs.pod:359
+#: ../src/guestfs.pod:365
msgid ""
"L</guestfs_ll> is just designed for humans to read (mainly when using the "
"L<guestfish(1)>-equivalent command C<ll>)."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:362
+#: ../src/guestfs.pod:368
msgid ""
"L</guestfs_ls> is a quick way to get a list of files in a directory from "
"programs, as a flat list of strings."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:365
+#: ../src/guestfs.pod:371
msgid ""
"L</guestfs_readdir> is a programmatic way to get a list of files in a "
"directory, plus additional information about each one. It is more "
@@ -39244,18 +39418,18 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:369
+#: ../src/guestfs.pod:375
msgid ""
"L</guestfs_find> and L</guestfs_find0> can be used to recursively list files."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:372
+#: ../src/guestfs.pod:378
msgid "RUNNING COMMANDS"
msgstr "ВИКОНАННЯ КОМАНД"
#. type: textblock
-#: ../src/guestfs.pod:374
+#: ../src/guestfs.pod:380
msgid ""
"Although libguestfs is primarily an API for manipulating files inside guest "
"images, we also provide some limited facilities for running commands inside "
@@ -39263,56 +39437,56 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:378
+#: ../src/guestfs.pod:384
msgid "There are many limitations to this:"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:384
+#: ../src/guestfs.pod:390
msgid ""
"The kernel version that the command runs under will be different from what "
"it expects."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:389
+#: ../src/guestfs.pod:395
msgid ""
"If the command needs to communicate with daemons, then most likely they "
"won't be running."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:394
+#: ../src/guestfs.pod:400
msgid "The command will be running in limited memory."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:398
+#: ../src/guestfs.pod:404
msgid ""
"The network may not be available unless you enable it (see L</"
"guestfs_set_network>)."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:403
+#: ../src/guestfs.pod:409
msgid "Only supports Linux guests (not Windows, BSD, etc)."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:407
+#: ../src/guestfs.pod:413
msgid ""
"Architecture limitations (eg. won't work for a PPC guest on an X86 host)."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:412
+#: ../src/guestfs.pod:418
msgid ""
"For SELinux guests, you may need to enable SELinux and load policy first. "
"See L</SELINUX> in this manpage."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:417
+#: ../src/guestfs.pod:423
msgid ""
"I<Security:> It is not safe to run commands from untrusted, possibly "
"malicious guests. These commands may attempt to exploit your program by "
@@ -39324,7 +39498,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:426
+#: ../src/guestfs.pod:432
msgid ""
"A secure alternative is to use libguestfs to install a \"firstboot\" script "
"(a script which runs when the guest next boots normally), and to have this "
@@ -39334,26 +39508,26 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:434
+#: ../src/guestfs.pod:440
msgid ""
"The two main API calls to run commands are L</guestfs_command> and L</"
"guestfs_sh> (there are also variations)."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:437
+#: ../src/guestfs.pod:443
msgid ""
"The difference is that L</guestfs_sh> runs commands using the shell, so any "
"shell globs, redirections, etc will work."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:440
+#: ../src/guestfs.pod:446
msgid "CONFIGURATION FILES"
msgstr "ФАЙЛИ НАЛАШТУВАННЯ"
#. type: textblock
-#: ../src/guestfs.pod:442
+#: ../src/guestfs.pod:448
msgid ""
"To read and write configuration files in Linux guest filesystems, we "
"strongly recommend using Augeas. For example, Augeas understands how to "
@@ -39362,7 +39536,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:447
+#: ../src/guestfs.pod:453
msgid ""
"The main Augeas calls are bound through the C<guestfs_aug_*> APIs. We don't "
"document Augeas itself here because there is excellent documentation on the "
@@ -39370,7 +39544,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:451
+#: ../src/guestfs.pod:457
msgid ""
"If you don't want to use Augeas (you fool!) then try calling L</"
"guestfs_read_lines> to get the file as a list of lines which you can iterate "
@@ -39378,24 +39552,24 @@ msgid ""
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:455
+#: ../src/guestfs.pod:461
msgid "SELINUX"
msgstr "SELINUX"
#. type: textblock
-#: ../src/guestfs.pod:457
+#: ../src/guestfs.pod:463
msgid ""
"We support SELinux guests. To ensure that labeling happens correctly in "
"SELinux guests, you need to enable SELinux and load the guest's policy:"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:465
+#: ../src/guestfs.pod:471
msgid "Before launching, do:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:467
+#: ../src/guestfs.pod:473
#, no-wrap
msgid ""
" guestfs_set_selinux (g, 1);\n"
@@ -39405,14 +39579,14 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:471
+#: ../src/guestfs.pod:477
msgid ""
"After mounting the guest's filesystem(s), load the policy. This is best "
"done by running the L<load_policy(8)> command in the guest itself:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:475
+#: ../src/guestfs.pod:481
#, no-wrap
msgid ""
" guestfs_sh (g, \"/usr/sbin/load_policy\");\n"
@@ -39422,21 +39596,21 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:477
+#: ../src/guestfs.pod:483
msgid ""
"(Older versions of C<load_policy> require you to specify the name of the "
"policy file)."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:482
+#: ../src/guestfs.pod:488
msgid ""
"Optionally, set the security context for the API. The correct security "
"context to use can only be known by inspecting the guest. As an example:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:486
+#: ../src/guestfs.pod:492
#, no-wrap
msgid ""
" guestfs_setcon (g, \"unconfined_u:unconfined_r:unconfined_t:s0\");\n"
@@ -39446,24 +39620,24 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:490
+#: ../src/guestfs.pod:496
msgid "This will work for running commands and editing existing files."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:492
+#: ../src/guestfs.pod:498
msgid ""
"When new files are created, you may need to label them explicitly, for "
"example by running the external command C<restorecon pathname>."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:496
+#: ../src/guestfs.pod:502
msgid "UMASK"
msgstr "UMASK"
#. type: textblock
-#: ../src/guestfs.pod:498
+#: ../src/guestfs.pod:504
msgid ""
"Certain calls are affected by the current file mode creation mask (the "
"\"umask\"). In particular ones which create files or directories, such as "
@@ -39473,14 +39647,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:504
+#: ../src/guestfs.pod:510
msgid ""
"The default umask is C<022>, so files are created with modes such as C<0644> "
"and directories with C<0755>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:507
+#: ../src/guestfs.pod:513
msgid ""
"There are two ways to avoid being affected by umask. Either set umask to 0 "
"(call C<guestfs_umask (g, 0)> early after launching). Or call L</"
@@ -39488,12 +39662,12 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:511
+#: ../src/guestfs.pod:517
msgid "For more information about umask, see L<umask(2)>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:515
+#: ../src/guestfs.pod:521
msgid ""
"Libguestfs allows you to access Linux guests which have been encrypted using "
"whole disk encryption that conforms to the Linux Unified Key Setup (LUKS) "
@@ -39502,21 +39676,21 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:521
+#: ../src/guestfs.pod:527
msgid ""
"Use L</guestfs_vfs_type> to identify LUKS-encrypted block devices (it "
"returns the string C<crypto_LUKS>)."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:524
+#: ../src/guestfs.pod:530
msgid ""
"Then open these devices by calling L</guestfs_luks_open>. Obviously you "
"will require the passphrase!"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:527
+#: ../src/guestfs.pod:533
msgid ""
"Opening a LUKS device creates a new device mapper device called C</dev/"
"mapper/mapname> (where C<mapname> is the string you supply to L</"
@@ -39525,7 +39699,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:533
+#: ../src/guestfs.pod:539
msgid ""
"LVM volume groups on the device can be made visible by calling L</"
"guestfs_vgscan> followed by L</guestfs_vg_activate_all>. The logical volume"
@@ -39533,7 +39707,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:537
+#: ../src/guestfs.pod:543
msgid ""
"Use the reverse process to close a LUKS device. Unmount any logical volumes "
"on it, deactivate the volume groups by caling C<guestfs_vg_activate (g, 0, "
@@ -39543,12 +39717,12 @@ msgid ""
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:544
+#: ../src/guestfs.pod:550
msgid "INSPECTION"
msgstr "ПЕРЕВІРКА"
#. type: textblock
-#: ../src/guestfs.pod:546
+#: ../src/guestfs.pod:552
msgid ""
"Libguestfs has APIs for inspecting an unknown disk image to find out if it "
"contains operating systems, an install CD or a live CD. (These APIs used to "
@@ -39558,14 +39732,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:553
+#: ../src/guestfs.pod:559
msgid ""
"Add all disks belonging to the unknown virtual machine and call L</"
"guestfs_launch> in the usual way."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:556
+#: ../src/guestfs.pod:562
msgid ""
"Then call L</guestfs_inspect_os>. This function uses other libguestfs calls "
"and certain heuristics, and returns a list of operating systems that were "
@@ -39578,7 +39752,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:565
+#: ../src/guestfs.pod:571
msgid ""
"For each root, you can then call various C<guestfs_inspect_get_*> functions "
"to get additional details about that operating system. For example, call L</"
@@ -39587,7 +39761,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:571
+#: ../src/guestfs.pod:577
msgid ""
"Un*x-like and Linux-based operating systems usually consist of several "
"filesystems which are mounted at boot time (for example, a separate boot "
@@ -39598,7 +39772,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:578
+#: ../src/guestfs.pod:584
#, no-wrap
msgid ""
" /boot => /dev/sda1\n"
@@ -39612,21 +39786,21 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:582
+#: ../src/guestfs.pod:588
msgid ""
"The caller can then make calls to L</guestfs_mount_options> to mount the "
"filesystems as suggested."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:585
+#: ../src/guestfs.pod:591
msgid ""
"Be careful to mount filesystems in the right order (eg. C</> before C</"
"usr>). Sorting the keys of the hash by length, shortest first, should work."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:589
+#: ../src/guestfs.pod:595
msgid ""
"Inspection currently only works for some common operating systems. "
"Contributors are welcome to send patches for other operating systems that we "
@@ -39634,7 +39808,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:593
+#: ../src/guestfs.pod:599
msgid ""
"Encrypted disks must be opened before inspection. See L</ENCRYPTED DISKS> "
"for more details. The L</guestfs_inspect_os> function just ignores any "
@@ -39642,7 +39816,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:597
+#: ../src/guestfs.pod:603
msgid ""
"A note on the implementation: The call L</guestfs_inspect_os> performs "
"inspection and caches the results in the guest handle. Subsequent calls to "
@@ -39655,19 +39829,19 @@ msgid ""
msgstr ""
#. type: =head3
-#: ../src/guestfs.pod:606
+#: ../src/guestfs.pod:612
msgid "INSPECTING INSTALL DISKS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:608
+#: ../src/guestfs.pod:614
msgid ""
"Libguestfs (since 1.9.4) can detect some install disks, install CDs, live "
"CDs and more."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:611
+#: ../src/guestfs.pod:617
msgid ""
"Call L</guestfs_inspect_get_format> to return the format of the operating "
"system, which currently can be C<installed> (a regular operating system) or "
@@ -39675,7 +39849,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:615
+#: ../src/guestfs.pod:621
msgid ""
"Further information is available about the operating system that can be "
"installed using the regular inspection APIs like L</"
@@ -39683,7 +39857,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:620
+#: ../src/guestfs.pod:626
msgid ""
"Some additional information specific to installer disks is also available "
"from the L</guestfs_inspect_is_live>, L</guestfs_inspect_is_netinst> and L</"
@@ -39691,24 +39865,24 @@ msgid ""
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:625
+#: ../src/guestfs.pod:631
msgid "SPECIAL CONSIDERATIONS FOR WINDOWS GUESTS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:627
+#: ../src/guestfs.pod:633
msgid ""
"Libguestfs can mount NTFS partitions. It does this using the L<http://www."
"ntfs-3g.org/> driver."
msgstr ""
#. type: =head3
-#: ../src/guestfs.pod:630
+#: ../src/guestfs.pod:636
msgid "DRIVE LETTERS AND PATHS"
msgstr "ЛІТЕРИ ДИСКІВ ТА ШЛЯХИ"
#. type: textblock
-#: ../src/guestfs.pod:632
+#: ../src/guestfs.pod:638
msgid ""
"DOS and Windows still use drive letters, and the filesystems are always "
"treated as case insensitive by Windows itself, and therefore you might find "
@@ -39718,14 +39892,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:638
+#: ../src/guestfs.pod:644
msgid ""
"Drive letter mappings can be found using inspection (see L</INSPECTION> and "
"L</guestfs_inspect_get_drive_mappings>)"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:641
+#: ../src/guestfs.pod:647
msgid ""
"Dealing with separator characters (backslash vs forward slash) is outside "
"the scope of libguestfs, but usually a simple character replacement will "
@@ -39733,33 +39907,33 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:645
+#: ../src/guestfs.pod:651
msgid ""
"To resolve the case insensitivity of paths, call L</"
"guestfs_case_sensitive_path>."
msgstr ""
#. type: =head3
-#: ../src/guestfs.pod:648
+#: ../src/guestfs.pod:654
msgid "LONG FILENAMES ON NTFS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:650
+#: ../src/guestfs.pod:656
msgid ""
"NTFS supports filenames up to 255 characters long. \"Character\" means a 2 "
"byte UTF-16 codepoint which can encode the most common Unicode codepoints."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:654
+#: ../src/guestfs.pod:660
msgid ""
"Most Linux filesystems support filenames up to 255 I<bytes>. This means you "
"may get an error:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:657
+#: ../src/guestfs.pod:663
#, no-wrap
msgid ""
" File name too long\n"
@@ -39767,14 +39941,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:659
+#: ../src/guestfs.pod:665
msgid ""
"when you copy a file from NTFS to a Linux filesystem if the name, when "
"reencoded as UTF-8, would exceed 255 bytes in length."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:662
+#: ../src/guestfs.pod:668
msgid ""
"This will most often happen when using non-ASCII names that are longer than "
"~127 characters (eg. Greek, Cyrillic) or longer than ~85 characters (Asian "
@@ -39782,7 +39956,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:666
+#: ../src/guestfs.pod:672
msgid ""
"A workaround is not to try to store such long filenames on Linux native "
"filesystems. Since the L<tar(1)> format can store unlimited length "
@@ -39790,12 +39964,12 @@ msgid ""
msgstr ""
#. type: =head3
-#: ../src/guestfs.pod:670
+#: ../src/guestfs.pod:676
msgid "ACCESSING THE WINDOWS REGISTRY"
msgstr "ДОСТУП ДО РЕГІСТРУ WINDOWS"
#. type: textblock
-#: ../src/guestfs.pod:672
+#: ../src/guestfs.pod:678
msgid ""
"Libguestfs also provides some help for decoding Windows Registry \"hive\" "
"files, through the library C<hivex> which is part of the libguestfs project "
@@ -39806,12 +39980,12 @@ msgid ""
msgstr ""
#. type: =head3
-#: ../src/guestfs.pod:680
+#: ../src/guestfs.pod:686
msgid "SYMLINKS ON NTFS-3G FILESYSTEMS"
msgstr "СИМВОЛІЧНІ ПОСИЛАННЯ У ФАЙЛОВИХ СИСТЕМАХ NTFS-3G"
#. type: textblock
-#: ../src/guestfs.pod:682
+#: ../src/guestfs.pod:688
msgid ""
"Ntfs-3g tries to rewrite \"Junction Points\" and NTFS \"symbolic links\" to "
"provide something which looks like a Linux symlink. The way it tries to do "
@@ -39819,7 +39993,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:686
+#: ../src/guestfs.pod:692
msgid ""
"L<http://www.tuxera.com/community/ntfs-3g-advanced/junction-points-and-"
"symbolic-links/>"
@@ -39828,7 +40002,7 @@ msgstr ""
"symbolic-links/>"
#. type: textblock
-#: ../src/guestfs.pod:688
+#: ../src/guestfs.pod:694
msgid ""
"The essential problem is that ntfs-3g simply does not have enough "
"information to do a correct job. NTFS links can contain drive letters and "
@@ -39838,7 +40012,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:695
+#: ../src/guestfs.pod:701
msgid ""
"Instead if you encounter a symbolic link on an ntfs-3g filesystem, use L</"
"guestfs_lgetxattr> to read the C<system.ntfs_reparse_data> extended "
@@ -39847,38 +40021,38 @@ msgid ""
msgstr ""
#. type: =head3
-#: ../src/guestfs.pod:700
+#: ../src/guestfs.pod:706
msgid "EXTENDED ATTRIBUTES ON NTFS-3G FILESYSTEMS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:702
+#: ../src/guestfs.pod:708
msgid ""
"There are other useful extended attributes that can be read from ntfs-3g "
"filesystems (using L</guestfs_getxattr>). See:"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:705
+#: ../src/guestfs.pod:711
msgid ""
"L<http://www.tuxera.com/community/ntfs-3g-advanced/extended-attributes/>"
msgstr ""
"L<http://www.tuxera.com/community/ntfs-3g-advanced/extended-attributes/>"
#. type: =head2
-#: ../src/guestfs.pod:707
+#: ../src/guestfs.pod:713
msgid "USING LIBGUESTFS WITH OTHER PROGRAMMING LANGUAGES"
msgstr "ВИКОРИСТАННЯ LIBGUESTFS ЗА ДОПОМОГОЮ ІНШИХ МОВ ПРОГРАМУВАННЯ"
#. type: textblock
-#: ../src/guestfs.pod:709
+#: ../src/guestfs.pod:715
msgid ""
"Although we don't want to discourage you from using the C API, we will "
"mention here that the same API is also available in other languages."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:712
+#: ../src/guestfs.pod:718
msgid ""
"The API is broadly identical in all supported languages. This means that "
"the C call C<guestfs_add_drive_ro(g,file)> is C<$g-E<gt>add_drive_ro($file)> "
@@ -39888,14 +40062,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:718
+#: ../src/guestfs.pod:724
msgid ""
"Error messages are automatically transformed into exceptions if the language "
"supports it."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:721
+#: ../src/guestfs.pod:727
msgid ""
"We don't try to \"object orientify\" parts of the API in OO languages, "
"although contributors are welcome to write higher level APIs above what we "
@@ -39903,58 +40077,58 @@ msgid ""
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:727
+#: ../src/guestfs.pod:733
msgid "B<C++>"
msgstr "B<C++>"
#. type: textblock
-#: ../src/guestfs.pod:729
+#: ../src/guestfs.pod:735
msgid ""
"You can use the I<guestfs.h> header file from C++ programs. The C++ API is "
"identical to the C API. C++ classes and exceptions are not used."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:733
+#: ../src/guestfs.pod:739
msgid "B<C#>"
msgstr "B<C#>"
#. type: textblock
-#: ../src/guestfs.pod:735
+#: ../src/guestfs.pod:741
msgid ""
"The C# bindings are highly experimental. Please read the warnings at the "
"top of C<csharp/Libguestfs.cs>."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:738
+#: ../src/guestfs.pod:744
msgid "B<Erlang>"
msgstr "B<Erlang>"
#. type: textblock
-#: ../src/guestfs.pod:740
+#: ../src/guestfs.pod:746
msgid "See L<guestfs-erlang(3)>."
msgstr "Див. L<guestfs-erlang(3)>."
#. type: =item
-#: ../src/guestfs.pod:742
+#: ../src/guestfs.pod:748
msgid "B<GObject>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:744
+#: ../src/guestfs.pod:750
msgid ""
"Experimental GObject bindings (with GObject Introspection support) are "
"available. See the C<gobject> directory in the source."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:747
+#: ../src/guestfs.pod:753
msgid "B<Haskell>"
msgstr "B<Haskell>"
#. type: textblock
-#: ../src/guestfs.pod:749
+#: ../src/guestfs.pod:755
msgid ""
"This is the only language binding that is working but incomplete. Only "
"calls which return simple integers have been bound in Haskell, and we are "
@@ -39962,96 +40136,96 @@ msgid ""
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:753
+#: ../src/guestfs.pod:759
msgid "B<Java>"
msgstr "B<Java>"
#. type: textblock
-#: ../src/guestfs.pod:755
+#: ../src/guestfs.pod:761
msgid ""
"Full documentation is contained in the Javadoc which is distributed with "
"libguestfs. For examples, see L<guestfs-java(3)>."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:758
+#: ../src/guestfs.pod:764
msgid "B<OCaml>"
msgstr "B<OCaml>"
#. type: textblock
-#: ../src/guestfs.pod:760
+#: ../src/guestfs.pod:766
msgid "See L<guestfs-ocaml(3)>."
msgstr "Див. L<guestfs-ocaml(3)>."
#. type: =item
-#: ../src/guestfs.pod:762
+#: ../src/guestfs.pod:768
msgid "B<Perl>"
msgstr "B<Perl>"
#. type: textblock
-#: ../src/guestfs.pod:764
+#: ../src/guestfs.pod:770
msgid "See L<guestfs-perl(3)> and L<Sys::Guestfs(3)>."
msgstr "Див. L<guestfs-perl(3)> та L<Sys::Guestfs(3)>."
#. type: =item
-#: ../src/guestfs.pod:766
+#: ../src/guestfs.pod:772
msgid "B<PHP>"
msgstr "B<PHP>"
#. type: textblock
-#: ../src/guestfs.pod:768
+#: ../src/guestfs.pod:774
msgid ""
"For documentation see C<README-PHP> supplied with libguestfs sources or in "
"the php-libguestfs package for your distribution."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:771
+#: ../src/guestfs.pod:777
msgid "The PHP binding only works correctly on 64 bit machines."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:773
+#: ../src/guestfs.pod:779
msgid "B<Python>"
msgstr "B<Python>"
#. type: textblock
-#: ../src/guestfs.pod:775
+#: ../src/guestfs.pod:781
msgid "See L<guestfs-python(3)>."
msgstr "Див. L<guestfs-python(3)>."
#. type: =item
-#: ../src/guestfs.pod:777
+#: ../src/guestfs.pod:783
msgid "B<Ruby>"
msgstr "B<Ruby>"
#. type: textblock
-#: ../src/guestfs.pod:779
+#: ../src/guestfs.pod:785
msgid "See L<guestfs-ruby(3)>."
msgstr "Див. L<guestfs-ruby(3)>."
#. type: textblock
-#: ../src/guestfs.pod:781
+#: ../src/guestfs.pod:787
msgid "For JRuby, use the Java bindings."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:783
+#: ../src/guestfs.pod:789
msgid "B<shell scripts>"
msgstr "B<скрипти оболонки>"
#. type: textblock
-#: ../src/guestfs.pod:785
+#: ../src/guestfs.pod:791
msgid "See L<guestfish(1)>."
msgstr "Див. L<guestfish(1)>."
#. type: =head2
-#: ../src/guestfs.pod:789
+#: ../src/guestfs.pod:795
msgid "LIBGUESTFS GOTCHAS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:791
+#: ../src/guestfs.pod:797
msgid ""
"L<http://en.wikipedia.org/wiki/Gotcha_(programming)>: \"A feature of a "
"system [...] that works in the way it is documented but is counterintuitive "
@@ -40059,7 +40233,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:795
+#: ../src/guestfs.pod:801
msgid ""
"Since we developed libguestfs and the associated tools, there are several "
"things we would have designed differently, but are now stuck with for "
@@ -40068,19 +40242,19 @@ msgid ""
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:803
+#: ../src/guestfs.pod:809
msgid "Autosync / forgetting to sync."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:805
+#: ../src/guestfs.pod:811
msgid ""
"I<Update:> Autosync is enabled by default for all API users starting from "
"libguestfs 1.5.24. This section only applies to older versions."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:808
+#: ../src/guestfs.pod:814
msgid ""
"When modifying a filesystem from C or another language, you B<must> unmount "
"all filesystems and call L</guestfs_sync> explicitly before you close the "
@@ -40088,7 +40262,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:812
+#: ../src/guestfs.pod:818
#, no-wrap
msgid ""
" guestfs_set_autosync (g, 1);\n"
@@ -40098,14 +40272,14 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:814
+#: ../src/guestfs.pod:820
msgid ""
"to have the unmount/sync done automatically for you when the handle 'g' is "
"closed. (This feature is called \"autosync\", L</guestfs_set_autosync> q.v.)"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:818
+#: ../src/guestfs.pod:824
msgid ""
"If you forget to do this, then it is entirely possible that your changes "
"won't be written out, or will be partially written, or (very rarely) that "
@@ -40113,7 +40287,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:822
+#: ../src/guestfs.pod:828
msgid ""
"Note that in L<guestfish(3)> autosync is the default. So quick and dirty "
"guestfish scripts that forget to sync will work just fine, which can make "
@@ -40121,19 +40295,19 @@ msgid ""
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:826
+#: ../src/guestfs.pod:832
msgid "Mount option C<-o sync> should not be the default."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:828
+#: ../src/guestfs.pod:834
msgid ""
"I<Update:> L</guestfs_mount> no longer adds any options starting from "
"libguestfs 1.13.16. This section only applies to older versions."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:831
+#: ../src/guestfs.pod:837
msgid ""
"If you use L</guestfs_mount>, then C<-o sync,noatime> are added implicitly. "
"However C<-o sync> does not add any reliability benefit, but does have a "
@@ -40141,31 +40315,31 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:835
+#: ../src/guestfs.pod:841
msgid ""
"The work around is to use L</guestfs_mount_options> and set the mount "
"options that you actually want to use."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:838
+#: ../src/guestfs.pod:844
msgid "Read-only should be the default."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:840
+#: ../src/guestfs.pod:846
msgid ""
"In L<guestfish(3)>, I<--ro> should be the default, and you should have to "
"specify I<--rw> if you want to make changes to the image."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:843
+#: ../src/guestfs.pod:849
msgid "This would reduce the potential to corrupt live VM images."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:845
+#: ../src/guestfs.pod:851
msgid ""
"Note that many filesystems change the disk when you just mount and unmount, "
"even if you didn't perform any writes. You need to use L</"
@@ -40173,12 +40347,12 @@ msgid ""
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:849
+#: ../src/guestfs.pod:855
msgid "guestfish command line is hard to use."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:851
+#: ../src/guestfs.pod:857
msgid ""
"C<guestfish disk.img> doesn't do what people expect (open C<disk.img> for "
"examination). It tries to run a guestfish command C<disk.img> which doesn't "
@@ -40188,12 +40362,12 @@ msgid ""
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:858
+#: ../src/guestfs.pod:864
msgid "guestfish megabyte modifiers don't work right on all commands"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:860
+#: ../src/guestfs.pod:866
msgid ""
"In recent guestfish you can use C<1M> to mean 1 megabyte (and similarly for "
"other modifiers). What guestfish actually does is to multiply the number "
@@ -40203,12 +40377,12 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:867
+#: ../src/guestfs.pod:873
msgid "The most common is L</guestfs_lvcreate>. The guestfish command:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:869
+#: ../src/guestfs.pod:875
#, no-wrap
msgid ""
" lvcreate LV VG 100M\n"
@@ -40218,7 +40392,7 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:871
+#: ../src/guestfs.pod:877
msgid ""
"does not do what you might expect. Instead because L</guestfs_lvcreate> is "
"already expecting megabytes, this tries to create a 100 I<terabyte> (100 "
@@ -40227,19 +40401,19 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:876
+#: ../src/guestfs.pod:882
msgid ""
"This could be fixed in the generator by specially marking parameters and "
"return values which take bytes or other units."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:879
+#: ../src/guestfs.pod:885
msgid "Ambiguity between devices and paths"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:881
+#: ../src/guestfs.pod:887
msgid ""
"There is a subtle ambiguity in the API between a device name (eg. C</dev/"
"sdb2>) and a similar pathname. A file might just happen to be called "
@@ -40247,7 +40421,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:886
+#: ../src/guestfs.pod:892
msgid ""
"In the current API we usually resolve this ambiguity by having two separate "
"calls, for example L</guestfs_checksum> and L</guestfs_checksum_device>. "
@@ -40256,7 +40430,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:892
+#: ../src/guestfs.pod:898
msgid ""
"To avoid both the ambiguity and the need to duplicate some calls, we could "
"make paths/devices into structured names. One way to do this would be to "
@@ -40266,7 +40440,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:898
+#: ../src/guestfs.pod:904
#, no-wrap
msgid ""
" type path = Path of string | Device of int | Partition of int * int\n"
@@ -40274,12 +40448,12 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:900
+#: ../src/guestfs.pod:906
msgid "which would allow you to pass arguments like:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:902
+#: ../src/guestfs.pod:908
#, no-wrap
msgid ""
" Path \"/foo/bar\"\n"
@@ -40290,26 +40464,26 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:907
+#: ../src/guestfs.pod:913
msgid ""
"As you can see there are still problems to resolve even with this "
"representation. Also consider how it might work in guestfish."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:912
+#: ../src/guestfs.pod:918
msgid "KEYS AND PASSPHRASES"
msgstr "КЛЮЧІ І ПАРОЛІ"
#. type: textblock
-#: ../src/guestfs.pod:914
+#: ../src/guestfs.pod:920
msgid ""
"Certain libguestfs calls take a parameter that contains sensitive key "
"material, passed in as a C string."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:917
+#: ../src/guestfs.pod:923
msgid ""
"In the future we would hope to change the libguestfs implementation so that "
"keys are L<mlock(2)>-ed into physical RAM, and thus can never end up in "
@@ -40318,7 +40492,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:922
+#: ../src/guestfs.pod:928
msgid ""
"Therefore you should be aware that any key parameter you pass to libguestfs "
"might end up being written out to the swap partition. If this is a concern, "
@@ -40326,19 +40500,19 @@ msgid ""
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:927
+#: ../src/guestfs.pod:933
msgid "MULTIPLE HANDLES AND MULTIPLE THREADS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:929
+#: ../src/guestfs.pod:935
msgid ""
"All high-level libguestfs actions are synchronous. If you want to use "
"libguestfs asynchronously then you must create a thread."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:932
+#: ../src/guestfs.pod:938
msgid ""
"Only use the handle from a single thread. Either use the handle exclusively "
"from one thread, or provide your own mutex so that two threads cannot issue "
@@ -40346,33 +40520,33 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:936
+#: ../src/guestfs.pod:942
msgid ""
"See the graphical program guestfs-browser for one possible architecture for "
"multithreaded programs using libvirt and libguestfs."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:939
+#: ../src/guestfs.pod:945
msgid "PATH"
msgstr "ШЛЯХ"
#. type: textblock
-#: ../src/guestfs.pod:941
+#: ../src/guestfs.pod:947
msgid ""
"Libguestfs needs a supermin appliance, which it finds by looking along an "
"internal path."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:944
+#: ../src/guestfs.pod:950
msgid ""
"By default it looks for these in the directory C<$libdir/guestfs> (eg. C</"
"usr/local/lib/guestfs> or C</usr/lib64/guestfs>)."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:947
+#: ../src/guestfs.pod:953
msgid ""
"Use L</guestfs_set_path> or set the environment variable L</LIBGUESTFS_PATH> "
"to change the directories that libguestfs will search in. The value is a "
@@ -40383,12 +40557,12 @@ msgid ""
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:954
+#: ../src/guestfs.pod:960
msgid "QEMU WRAPPERS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:956
+#: ../src/guestfs.pod:962
msgid ""
"If you want to compile your own qemu, run qemu from a non-standard location, "
"or pass extra arguments to qemu, then you can write a shell-script wrapper "
@@ -40396,7 +40570,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:960
+#: ../src/guestfs.pod:966
msgid ""
"There is one important rule to remember: you I<must C<exec qemu>> as the "
"last command in the shell script (so that qemu replaces the shell and "
@@ -40405,14 +40579,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:965
+#: ../src/guestfs.pod:971
msgid ""
"Here is an example of a wrapper, where I have built my own copy of qemu from "
"source:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:968
+#: ../src/guestfs.pod:974
#, no-wrap
msgid ""
" #!/bin/sh -\n"
@@ -40426,7 +40600,7 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:972
+#: ../src/guestfs.pod:978
msgid ""
"Save this script as C</tmp/qemu.wrapper> (or wherever), C<chmod +x>, and "
"then use it by setting the LIBGUESTFS_QEMU environment variable. For "
@@ -40434,7 +40608,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:976
+#: ../src/guestfs.pod:982
#, no-wrap
msgid ""
" LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n"
@@ -40444,14 +40618,14 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:978
+#: ../src/guestfs.pod:984
msgid ""
"Note that libguestfs also calls qemu with the -help and -version options in "
"order to determine features."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:981
+#: ../src/guestfs.pod:987
msgid ""
"Wrappers can also be used to edit the options passed to qemu. In the "
"following example, the C<-machine ...> option (C<-machine> and the following "
@@ -40461,7 +40635,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:990
+#: ../src/guestfs.pod:996
#, no-wrap
msgid ""
" i=0\n"
@@ -40479,7 +40653,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:1002
+#: ../src/guestfs.pod:1008
#, no-wrap
msgid ""
" exec qemu-kvm -machine pc,accel=tcg \"${args[@]}\"\n"
@@ -40487,19 +40661,19 @@ msgid ""
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:1004
+#: ../src/guestfs.pod:1010
msgid "ATTACHING TO RUNNING DAEMONS"
msgstr "ДОЛУЧЕННЯ ДО ЗАПУЩЕНИХ ФОНОВИХ СЛУЖБ"
#. type: textblock
-#: ../src/guestfs.pod:1006
+#: ../src/guestfs.pod:1012
msgid ""
"I<Note (1):> This is B<highly experimental> and has a tendency to eat "
"babies. Use with caution."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1009
+#: ../src/guestfs.pod:1015
msgid ""
"I<Note (2):> This section explains how to attach to a running daemon from a "
"low level perspective. For most users, simply using virt tools such as "
@@ -40507,12 +40681,12 @@ msgid ""
msgstr ""
#. type: =head3
-#: ../src/guestfs.pod:1013
+#: ../src/guestfs.pod:1019
msgid "Using guestfs_set_attach_method"
msgstr "За допомогою guestfs_set_attach_method"
#. type: textblock
-#: ../src/guestfs.pod:1015
+#: ../src/guestfs.pod:1021
msgid ""
"By calling L</guestfs_set_attach_method> you can change how the library "
"connects to the C<guestfsd> daemon in L</guestfs_launch> (read L</"
@@ -40520,14 +40694,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1019
+#: ../src/guestfs.pod:1025
msgid ""
"The normal attach method is C<appliance>, where a small appliance is created "
"containing the daemon, and then the library connects to this."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1022
+#: ../src/guestfs.pod:1028
msgid ""
"Setting attach method to C<unix:I<path>> (where I<path> is the path of a "
"Unix domain socket) causes L</guestfs_launch> to connect to an existing "
@@ -40535,7 +40709,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1026
+#: ../src/guestfs.pod:1032
msgid ""
"The normal use for this is to connect to a running virtual machine that "
"contains a C<guestfsd> daemon, and send commands so you can read and write "
@@ -40543,12 +40717,12 @@ msgid ""
msgstr ""
#. type: =head3
-#: ../src/guestfs.pod:1030
+#: ../src/guestfs.pod:1036
msgid "Using guestfs_add_domain with live flag"
msgstr "За допомогою guestfs_add_domain з прапорцем live"
#. type: textblock
-#: ../src/guestfs.pod:1032
+#: ../src/guestfs.pod:1038
msgid ""
"L</guestfs_add_domain> provides some help for getting the correct attach "
"method. If you pass the C<live> option to this function, then (if the "
@@ -40557,7 +40731,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:1038
+#: ../src/guestfs.pod:1044
#, no-wrap
msgid ""
" <domain>\n"
@@ -40587,14 +40761,14 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:1050
+#: ../src/guestfs.pod:1056
msgid ""
"L</guestfs_add_domain> extracts C</path/to/socket> and sets the attach "
"method to C<unix:/path/to/socket>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1053
+#: ../src/guestfs.pod:1059
msgid ""
"Some of the libguestfs tools (including guestfish) support a I<--live> "
"option which is passed through to L</guestfs_add_domain> thus allowing you "
@@ -40602,19 +40776,19 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1057
+#: ../src/guestfs.pod:1063
msgid ""
"The virtual machine needs to have been set up beforehand so that it has the "
"virtio-serial channel and so that guestfsd is running inside it."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:1061
+#: ../src/guestfs.pod:1067
msgid "ABI GUARANTEE"
msgstr "ГАРАНТІЯ ЩОДО ABI"
#. type: textblock
-#: ../src/guestfs.pod:1063
+#: ../src/guestfs.pod:1069
msgid ""
"We guarantee the libguestfs ABI (binary interface), for public, high-level "
"actions as outlined in this section. Although we will deprecate some "
@@ -40624,12 +40798,12 @@ msgid ""
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:1069
+#: ../src/guestfs.pod:1075
msgid "BLOCK DEVICE NAMING"
msgstr "ІМЕНУВАННЯ БЛОКОВИХ ПРИСТРОЇВ"
#. type: textblock
-#: ../src/guestfs.pod:1071
+#: ../src/guestfs.pod:1077
msgid ""
"In the kernel there is now quite a profusion of schemata for naming block "
"devices (in this context, by I<block device> I mean a physical or virtual "
@@ -40643,7 +40817,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1083
+#: ../src/guestfs.pod:1089
msgid ""
"As discussed above, libguestfs uses a qemu appliance running an embedded "
"Linux kernel to access block devices. We can run a variety of appliances "
@@ -40651,7 +40825,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1087
+#: ../src/guestfs.pod:1093
msgid ""
"This causes a problem for libguestfs because many API calls use device or "
"partition names. Working scripts and the recipe (example) scripts that we "
@@ -40659,7 +40833,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1092
+#: ../src/guestfs.pod:1098
msgid ""
"Therefore libguestfs defines C</dev/sd*> as the I<standard naming scheme>. "
"Internally C</dev/sd*> names are translated, if necessary, to other names as "
@@ -40668,7 +40842,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1098
+#: ../src/guestfs.pod:1104
msgid ""
"Note that this I<only> applies to parameters. The L</guestfs_list_devices>, "
"L</guestfs_list_partitions> and similar calls return the true names of the "
@@ -40676,12 +40850,12 @@ msgid ""
msgstr ""
#. type: =head3
-#: ../src/guestfs.pod:1103
+#: ../src/guestfs.pod:1109
msgid "ALGORITHM FOR BLOCK DEVICE NAME TRANSLATION"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1105
+#: ../src/guestfs.pod:1111
msgid ""
"Usually this translation is transparent. However in some (very rare) cases "
"you may need to know the exact algorithm. Such cases include where you use "
@@ -40690,7 +40864,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1111
+#: ../src/guestfs.pod:1117
msgid ""
"The algorithm is applied only to I<parameters> which are known to be either "
"device or partition names. Return values from functions such as L</"
@@ -40698,54 +40872,54 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1119
+#: ../src/guestfs.pod:1125
msgid "Is the string a parameter which is a device or partition name?"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1123
+#: ../src/guestfs.pod:1129
msgid "Does the string begin with C</dev/sd>?"
msgstr "Чи починається рядок з C</dev/sd>?"
#. type: textblock
-#: ../src/guestfs.pod:1127
+#: ../src/guestfs.pod:1133
msgid ""
"Does the named device exist? If so, we use that device. However if I<not> "
"then we continue with this algorithm."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1132
+#: ../src/guestfs.pod:1138
msgid "Replace initial C</dev/sd> string with C</dev/hd>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1134
+#: ../src/guestfs.pod:1140
msgid "For example, change C</dev/sda2> to C</dev/hda2>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1136
+#: ../src/guestfs.pod:1142
msgid "If that named device exists, use it. If not, continue."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1140
+#: ../src/guestfs.pod:1146
msgid "Replace initial C</dev/sd> string with C</dev/vd>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1142
+#: ../src/guestfs.pod:1148
msgid "If that named device exists, use it. If not, return an error."
msgstr ""
#. type: =head3
-#: ../src/guestfs.pod:1146
+#: ../src/guestfs.pod:1152
msgid "PORTABILITY CONCERNS WITH BLOCK DEVICE NAMING"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1148
+#: ../src/guestfs.pod:1154
msgid ""
"Although the standard naming scheme and automatic translation is useful for "
"simple programs and guestfish scripts, for larger programs it is best not to "
@@ -40753,39 +40927,39 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1152
+#: ../src/guestfs.pod:1158
msgid ""
"Where possible for maximum future portability programs using libguestfs "
"should use these future-proof techniques:"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1159
+#: ../src/guestfs.pod:1165
msgid ""
"Use L</guestfs_list_devices> or L</guestfs_list_partitions> to list actual "
"device names, and then use those names directly."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1162
+#: ../src/guestfs.pod:1168
msgid ""
"Since those device names exist by definition, they will never be translated."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1167
+#: ../src/guestfs.pod:1173
msgid ""
"Use higher level ways to identify filesystems, such as LVM names, UUIDs and "
"filesystem labels."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:1172
+#: ../src/guestfs.pod:1178
msgid "NULL DISKS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1174
+#: ../src/guestfs.pod:1180
msgid ""
"When adding a disk using, eg., L</guestfs_add_drive>, you can set the "
"filename to C<\"/dev/null\">. This string is treated specially by "
@@ -40793,46 +40967,46 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1178
+#: ../src/guestfs.pod:1184
msgid "A null disk has the following properties:"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1184
+#: ../src/guestfs.pod:1190
msgid ""
"A null disk will appear as a normal device, eg. in calls to L</"
"guestfs_list_devices>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1189
+#: ../src/guestfs.pod:1195
msgid "You may add C<\"/dev/null\"> multiple times."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1193
+#: ../src/guestfs.pod:1199
msgid ""
"You should not try to access a null disk in any way. For example, you "
"shouldn't try to read it or mount it."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1198
+#: ../src/guestfs.pod:1204
msgid "Null disks are used for three main purposes:"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1204
+#: ../src/guestfs.pod:1210
msgid "Performance testing of libguestfs (see L<guestfs-performance(1)>)."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1208
+#: ../src/guestfs.pod:1214
msgid "The internal test suite."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1212
+#: ../src/guestfs.pod:1218
msgid ""
"If you want to use libguestfs APIs that don't refer to disks, since "
"libguestfs requires that at least one disk is added, you should add a null "
@@ -40840,12 +41014,12 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1216
+#: ../src/guestfs.pod:1222
msgid "For example, to test if a feature is available, use code like this:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:1218
+#: ../src/guestfs.pod:1224
#, no-wrap
msgid ""
" guestfs_h *g;\n"
@@ -40854,7 +41028,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:1221
+#: ../src/guestfs.pod:1227
#, fuzzy, no-wrap
#| msgid ""
#| " guestfs_h *g = guestfs_create ();\n"
@@ -40887,19 +41061,19 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:1235
+#: ../src/guestfs.pod:1241
msgid ""
"This section discusses security implications of using libguestfs, "
"particularly with untrusted or malicious guests or disk images."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:1238
+#: ../src/guestfs.pod:1244
msgid "GENERAL SECURITY CONSIDERATIONS"
msgstr "ЗАГАЛЬНІ ЗАУВАЖЕННЯ ЩОДО ЗАХИСТУ"
#. type: textblock
-#: ../src/guestfs.pod:1240
+#: ../src/guestfs.pod:1246
msgid ""
"Be careful with any files or data that you download from a guest (by "
"\"download\" we mean not just the L</guestfs_download> command but any "
@@ -40909,42 +41083,42 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1250
+#: ../src/guestfs.pod:1256
msgid "the data (file etc) not being present"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1254
+#: ../src/guestfs.pod:1260
msgid "being present but empty"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1258
+#: ../src/guestfs.pod:1264
msgid "being much larger than normal"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1262
+#: ../src/guestfs.pod:1268
msgid "containing arbitrary 8 bit data"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1266
+#: ../src/guestfs.pod:1272
msgid "being in an unexpected character encoding"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1270
+#: ../src/guestfs.pod:1276
msgid "containing homoglyphs."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:1274
+#: ../src/guestfs.pod:1280
msgid "SECURITY OF MOUNTING FILESYSTEMS"
msgstr "ЗАХИСТ ФАЙЛОВИХ СИСТЕМ МОНТУВАННЯ"
#. type: textblock
-#: ../src/guestfs.pod:1276
+#: ../src/guestfs.pod:1282
msgid ""
"When you mount a filesystem under Linux, mistakes in the kernel filesystem "
"(VFS) module can sometimes be escalated into exploits by deliberately "
@@ -40960,7 +41134,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1289
+#: ../src/guestfs.pod:1295
msgid ""
"That explains why you should never mount a filesystem from an untrusted "
"guest on your host kernel. How about libguestfs? We run a Linux kernel "
@@ -40974,19 +41148,19 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1300
+#: ../src/guestfs.pod:1306
msgid ""
"In any case callers can reduce the attack surface by forcing the filesystem "
"type when mounting (use L</guestfs_mount_vfs>)."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:1303
+#: ../src/guestfs.pod:1309
msgid "PROTOCOL SECURITY"
msgstr "ЗАХИСТ ПРОТОКОЛУ"
#. type: textblock
-#: ../src/guestfs.pod:1305
+#: ../src/guestfs.pod:1311
msgid ""
"The protocol is designed to be secure, being based on RFC 4506 (XDR) with a "
"defined upper message size. However a program that uses libguestfs must "
@@ -40996,12 +41170,12 @@ msgid ""
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:1311
+#: ../src/guestfs.pod:1317
msgid "INSPECTION SECURITY"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1313
+#: ../src/guestfs.pod:1319
msgid ""
"Parts of the inspection API (see L</INSPECTION>) return untrusted strings "
"directly from the guest, and these could contain any 8 bit data. Callers "
@@ -41010,7 +41184,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1319
+#: ../src/guestfs.pod:1325
msgid ""
"Guest configuration may be altered in unusual ways by the administrator of "
"the virtual machine, and may not reflect reality (particularly for untrusted "
@@ -41021,7 +41195,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1327
+#: ../src/guestfs.pod:1333
msgid ""
"The inspection API parses guest configuration using two external libraries: "
"Augeas (Linux configuration) and hivex (Windows Registry). Both are "
@@ -41031,12 +41205,12 @@ msgid ""
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:1333
+#: ../src/guestfs.pod:1339
msgid "RUNNING UNTRUSTED GUEST COMMANDS"
msgstr "ЗАПУСК НЕЗАХИЩЕНИХ КОМАНД ГОСТЬОВОЇ СИСТЕМИ"
#. type: textblock
-#: ../src/guestfs.pod:1335
+#: ../src/guestfs.pod:1341
msgid ""
"Be very cautious about running commands from the guest. By running a "
"command in the guest, you are giving CPU time to a binary that you do not "
@@ -41046,26 +41220,26 @@ msgid ""
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:1341
+#: ../src/guestfs.pod:1347
msgid "CVE-2010-3851"
msgstr "CVE-2010-3851"
#. type: textblock
-#: ../src/guestfs.pod:1343
+#: ../src/guestfs.pod:1349
#, fuzzy
#| msgid "https://bugzilla.redhat.com/642934"
msgid "L<https://bugzilla.redhat.com/642934>"
msgstr "https://bugzilla.redhat.com/642934"
#. type: textblock
-#: ../src/guestfs.pod:1345
+#: ../src/guestfs.pod:1351
msgid ""
"This security bug concerns the automatic disk format detection that qemu "
"does on disk images."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1348
+#: ../src/guestfs.pod:1354
msgid ""
"A raw disk image is just the raw bytes, there is no header. Other disk "
"images like qcow2 contain a special header. Qemu deals with this by looking "
@@ -41074,7 +41248,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1353
+#: ../src/guestfs.pod:1359
msgid ""
"This allows a guest which has been given a raw disk image to write some "
"other header. At next boot (or when the disk image is accessed by "
@@ -41083,7 +41257,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1358
+#: ../src/guestfs.pod:1364
msgid ""
"This in itself would not be a problem, but qcow2 offers many features, one "
"of which is to allow a disk image to refer to another image (called the "
@@ -41095,25 +41269,25 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1366
+#: ../src/guestfs.pod:1372
msgid ""
"In libguestfs this is rather hard to exploit except under two circumstances:"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1373
+#: ../src/guestfs.pod:1379
msgid "You have enabled the network or have opened the disk in write mode."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1377
+#: ../src/guestfs.pod:1383
msgid ""
"You are also running untrusted code from the guest (see L</RUNNING "
"COMMANDS>)."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1382
+#: ../src/guestfs.pod:1388
msgid ""
"The way to avoid this is to specify the expected disk format when adding "
"disks (the optional C<format> option to L</guestfs_add_drive_opts>). You "
@@ -41122,31 +41296,31 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1387
+#: ../src/guestfs.pod:1393
msgid ""
"For disks added from libvirt using calls like L</guestfs_add_domain>, the "
"format is fetched from libvirt and passed through."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1390
+#: ../src/guestfs.pod:1396
msgid ""
"For libguestfs tools, use the I<--format> command line parameter as "
"appropriate."
msgstr ""
#. type: =head1
-#: ../src/guestfs.pod:1393
+#: ../src/guestfs.pod:1399
msgid "CONNECTION MANAGEMENT"
msgstr "КЕРУВАННЯ З’ЄДНАННЯМ"
#. type: =head2
-#: ../src/guestfs.pod:1395
+#: ../src/guestfs.pod:1401
msgid "guestfs_h *"
msgstr "guestfs_h *"
#. type: textblock
-#: ../src/guestfs.pod:1397
+#: ../src/guestfs.pod:1403
msgid ""
"C<guestfs_h> is the opaque type representing a connection handle. Create a "
"handle by calling L</guestfs_create>. Call L</guestfs_close> to free the "
@@ -41154,19 +41328,19 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1401
+#: ../src/guestfs.pod:1407
msgid ""
"For information on using multiple handles and threads, see the section L</"
"MULTIPLE HANDLES AND MULTIPLE THREADS> above."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:1404
+#: ../src/guestfs.pod:1410
msgid "guestfs_create"
msgstr "guestfs_create"
#. type: verbatim
-#: ../src/guestfs.pod:1406
+#: ../src/guestfs.pod:1412
#, no-wrap
msgid ""
" guestfs_h *guestfs_create (void);\n"
@@ -41176,19 +41350,19 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:1408
+#: ../src/guestfs.pod:1414
msgid "Create a connection handle."
msgstr "Створити дескриптор з’єднання."
#. type: textblock
-#: ../src/guestfs.pod:1410
+#: ../src/guestfs.pod:1416
msgid ""
"On success this returns a non-NULL pointer to a handle. On error it returns "
"NULL."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1413
+#: ../src/guestfs.pod:1419
msgid ""
"You have to \"configure\" the handle after creating it. This includes "
"calling L</guestfs_add_drive_opts> (or one of the equivalent calls) on the "
@@ -41196,24 +41370,24 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1417
+#: ../src/guestfs.pod:1423
msgid "After configuring the handle, you have to call L</guestfs_launch>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1419
+#: ../src/guestfs.pod:1425
msgid ""
"You may also want to configure error handling for the handle. See the L</"
"ERROR HANDLING> section below."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:1422
+#: ../src/guestfs.pod:1428
msgid "guestfs_close"
msgstr "guestfs_close"
#. type: verbatim
-#: ../src/guestfs.pod:1424
+#: ../src/guestfs.pod:1430
#, no-wrap
msgid ""
" void guestfs_close (guestfs_h *g);\n"
@@ -41223,19 +41397,19 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:1426
+#: ../src/guestfs.pod:1432
msgid ""
"This closes the connection handle and frees up all resources used. If a "
"close callback was set on the handle, then it is called."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1429
+#: ../src/guestfs.pod:1435
msgid "The correct way to close the handle is:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:1431
+#: ../src/guestfs.pod:1437
#, no-wrap
msgid ""
" if (guestfs_shutdown (g) == -1) {\n"
@@ -41246,52 +41420,52 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1436
+#: ../src/guestfs.pod:1442
msgid ""
"L</guestfs_shutdown> is only needed if B<all> of the following are true:"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1442
+#: ../src/guestfs.pod:1448
msgid "one or more disks were added in read-write mode, I<and>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1446
+#: ../src/guestfs.pod:1452
msgid "guestfs_launch was called, I<and>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1450
+#: ../src/guestfs.pod:1456
msgid "you made some changes, I<and>"
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:1452
+#: ../src/guestfs.pod:1458
msgid "4"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1454
+#: ../src/guestfs.pod:1460
msgid ""
"you have a way to handle write errors (eg. by exiting with an error code or "
"reporting something to the user)."
msgstr ""
#. type: =head1
-#: ../src/guestfs.pod:1459
+#: ../src/guestfs.pod:1465
msgid "ERROR HANDLING"
msgstr "ОБРОБКА ПОМИЛОК"
#. type: textblock
-#: ../src/guestfs.pod:1461
+#: ../src/guestfs.pod:1467
msgid ""
"API functions can return errors. For example, almost all functions that "
"return C<int> will return C<-1> to indicate an error."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1464
+#: ../src/guestfs.pod:1470
msgid ""
"Additional information is available for errors: an error message string and "
"optionally an error number (errno) if the thing that failed was a system "
@@ -41299,7 +41473,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1468
+#: ../src/guestfs.pod:1474
msgid ""
"You can get at the additional information about the last error on the handle "
"by calling L</guestfs_last_error>, L</guestfs_last_errno>, and/or by setting "
@@ -41307,7 +41481,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1473
+#: ../src/guestfs.pod:1479
msgid ""
"When the handle is created, a default error handler is installed which "
"prints the error message string to C<stderr>. For small short-running "
@@ -41315,7 +41489,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:1477
+#: ../src/guestfs.pod:1483
#, no-wrap
msgid ""
" if (guestfs_launch (g) == -1)\n"
@@ -41327,21 +41501,21 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:1480
+#: ../src/guestfs.pod:1486
msgid ""
"since the default error handler will ensure that an error message has been "
"printed to C<stderr> before the program exits."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1483
+#: ../src/guestfs.pod:1489
msgid ""
"For other programs the caller will almost certainly want to install an "
"alternate error handler or do error handling in-line like this:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:1486
+#: ../src/guestfs.pod:1492
#, no-wrap
msgid ""
" /* This disables the default behaviour of printing errors\n"
@@ -41351,7 +41525,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:1490
+#: ../src/guestfs.pod:1496
#, no-wrap
msgid ""
" if (guestfs_launch (g) == -1) {\n"
@@ -41368,7 +41542,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1501
+#: ../src/guestfs.pod:1507
msgid ""
"Out of memory errors are handled differently. The default action is to call "
"L<abort(3)>. If this is undesirable, then you can set a handler using L</"
@@ -41376,7 +41550,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1505
+#: ../src/guestfs.pod:1511
msgid ""
"L</guestfs_create> returns C<NULL> if the handle cannot be created, and "
"because there is no handle if this happens there is no way to get additional "
@@ -41386,12 +41560,12 @@ msgid ""
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:1511
+#: ../src/guestfs.pod:1517
msgid "guestfs_last_error"
msgstr "guestfs_last_error"
#. type: verbatim
-#: ../src/guestfs.pod:1513
+#: ../src/guestfs.pod:1519
#, no-wrap
msgid ""
" const char *guestfs_last_error (guestfs_h *g);\n"
@@ -41401,26 +41575,26 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:1515
+#: ../src/guestfs.pod:1521
msgid ""
"This returns the last error message that happened on C<g>. If there has not "
"been an error since the handle was created, then this returns C<NULL>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1519
+#: ../src/guestfs.pod:1525
msgid ""
"The lifetime of the returned string is until the next error occurs, or L</"
"guestfs_close> is called."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:1522
+#: ../src/guestfs.pod:1528
msgid "guestfs_last_errno"
msgstr "guestfs_last_errno"
#. type: verbatim
-#: ../src/guestfs.pod:1524
+#: ../src/guestfs.pod:1530
#, no-wrap
msgid ""
" int guestfs_last_errno (guestfs_h *g);\n"
@@ -41430,28 +41604,28 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:1526
+#: ../src/guestfs.pod:1532
msgid "This returns the last error number (errno) that happened on C<g>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1528
+#: ../src/guestfs.pod:1534
msgid "If successful, an errno integer not equal to zero is returned."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1530
+#: ../src/guestfs.pod:1536
msgid ""
"If no error, this returns 0. This call can return 0 in three situations:"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1537
+#: ../src/guestfs.pod:1543
msgid "There has not been any error on the handle."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1541
+#: ../src/guestfs.pod:1547
msgid ""
"There has been an error but the errno was meaningless. This corresponds to "
"the case where the error did not come from a failed system call, but for "
@@ -41459,14 +41633,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1547
+#: ../src/guestfs.pod:1553
msgid ""
"There was an error from a failed system call, but for some reason the errno "
"was not captured and returned. This usually indicates a bug in libguestfs."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1553
+#: ../src/guestfs.pod:1559
msgid ""
"Libguestfs tries to convert the errno from inside the applicance into a "
"corresponding errno for the caller (not entirely trivial: the appliance "
@@ -41477,12 +41651,12 @@ msgid ""
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:1561
+#: ../src/guestfs.pod:1567
msgid "guestfs_set_error_handler"
msgstr "guestfs_set_error_handler"
#. type: verbatim
-#: ../src/guestfs.pod:1563
+#: ../src/guestfs.pod:1569
#, no-wrap
msgid ""
" typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n"
@@ -41502,7 +41676,7 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:1570
+#: ../src/guestfs.pod:1576
msgid ""
"The callback C<cb> will be called if there is an error. The parameters "
"passed to the callback are an opaque data pointer and the error message "
@@ -41510,14 +41684,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1574
+#: ../src/guestfs.pod:1580
msgid ""
"C<errno> is not passed to the callback. To get that the callback must call "
"L</guestfs_last_errno>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1577
+#: ../src/guestfs.pod:1583
msgid ""
"Note that the message string C<msg> is freed as soon as the callback "
"function returns, so if you want to stash it somewhere you must make your "
@@ -41525,22 +41699,22 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1581
+#: ../src/guestfs.pod:1587
msgid "The default handler prints messages on C<stderr>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1583
+#: ../src/guestfs.pod:1589
msgid "If you set C<cb> to C<NULL> then I<no> handler is called."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:1585
+#: ../src/guestfs.pod:1591
msgid "guestfs_get_error_handler"
msgstr "guestfs_get_error_handler"
#. type: verbatim
-#: ../src/guestfs.pod:1587
+#: ../src/guestfs.pod:1593
#, no-wrap
msgid ""
" guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n"
@@ -41552,17 +41726,17 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:1590
+#: ../src/guestfs.pod:1596
msgid "Returns the current error handler callback."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:1592
+#: ../src/guestfs.pod:1598
msgid "guestfs_set_out_of_memory_handler"
msgstr "guestfs_set_out_of_memory_handler"
#. type: verbatim
-#: ../src/guestfs.pod:1594
+#: ../src/guestfs.pod:1600
#, no-wrap
msgid ""
" typedef void (*guestfs_abort_cb) (void);\n"
@@ -41572,30 +41746,30 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1598
+#: ../src/guestfs.pod:1604
msgid ""
"The callback C<cb> will be called if there is an out of memory situation. "
"I<Note this callback must not return>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1601
+#: ../src/guestfs.pod:1607
msgid "The default is to call L<abort(3)>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1603
+#: ../src/guestfs.pod:1609
msgid ""
"You cannot set C<cb> to C<NULL>. You can't ignore out of memory situations."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:1606
+#: ../src/guestfs.pod:1612
msgid "guestfs_get_out_of_memory_handler"
msgstr "guestfs_get_out_of_memory_handler"
#. type: verbatim
-#: ../src/guestfs.pod:1608
+#: ../src/guestfs.pod:1614
#, no-wrap
msgid ""
" guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n"
@@ -41605,37 +41779,37 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:1610
+#: ../src/guestfs.pod:1616
msgid "This returns the current out of memory handler."
msgstr ""
#. type: =head1
-#: ../src/guestfs.pod:1612
+#: ../src/guestfs.pod:1618
msgid "API CALLS"
msgstr "ВИКЛИКИ API"
#. type: =head1
-#: ../src/guestfs.pod:1616
+#: ../src/guestfs.pod:1622
msgid "STRUCTURES"
msgstr "СТРУКТУРИ"
#. type: textblock
-#: ../src/guestfs.pod:1618
+#: ../src/guestfs.pod:1624
msgid "@STRUCTS@"
msgstr "@STRUCTS@"
#. type: =head1
-#: ../src/guestfs.pod:1620
+#: ../src/guestfs.pod:1626
msgid "AVAILABILITY"
msgstr "ДОСТУПНІСТЬ"
#. type: =head2
-#: ../src/guestfs.pod:1622
+#: ../src/guestfs.pod:1628
msgid "GROUPS OF FUNCTIONALITY IN THE APPLIANCE"
msgstr "ГРУПИ ФУНКЦІОНАЛЬНИХ МОЖЛИВОСТЕЙ У ОБРАЗІ ОСНОВНОЇ СИСТЕМИ"
#. type: textblock
-#: ../src/guestfs.pod:1624
+#: ../src/guestfs.pod:1630
msgid ""
"Using L</guestfs_available> you can test availability of the following "
"groups of functions. This test queries the appliance to see if the "
@@ -41643,17 +41817,17 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1629
+#: ../src/guestfs.pod:1635
msgid "@AVAILABILITY@"
msgstr "@AVAILABILITY@"
#. type: =head2
-#: ../src/guestfs.pod:1631
+#: ../src/guestfs.pod:1637
msgid "GUESTFISH supported COMMAND"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1633
+#: ../src/guestfs.pod:1639
msgid ""
"In L<guestfish(3)> there is a handy interactive command C<supported> which "
"prints out the available groups and whether they are supported by this build "
@@ -41661,19 +41835,19 @@ msgid ""
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:1638
+#: ../src/guestfs.pod:1644
msgid "SINGLE CALLS AT COMPILE TIME"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1640
+#: ../src/guestfs.pod:1646
msgid ""
"Since version 1.5.8, C<E<lt>guestfs.hE<gt>> defines symbols for each C API "
"function, such as:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:1643
+#: ../src/guestfs.pod:1649
#, no-wrap
msgid ""
" #define LIBGUESTFS_HAVE_DD 1\n"
@@ -41683,12 +41857,12 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:1645
+#: ../src/guestfs.pod:1651
msgid "if L</guestfs_dd> is available."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1647
+#: ../src/guestfs.pod:1653
msgid ""
"Before version 1.5.8, if you needed to test whether a single libguestfs "
"function is available at compile time, we recommended using build tools such "
@@ -41696,7 +41870,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:1652
+#: ../src/guestfs.pod:1658
#, no-wrap
msgid ""
" AC_CHECK_LIB([guestfs],[guestfs_create])\n"
@@ -41708,19 +41882,19 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:1655
+#: ../src/guestfs.pod:1661
msgid ""
"which would result in C<HAVE_GUESTFS_DD> being either defined or not defined "
"in your program."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:1658
+#: ../src/guestfs.pod:1664
msgid "SINGLE CALLS AT RUN TIME"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1660
+#: ../src/guestfs.pod:1666
msgid ""
"Testing at compile time doesn't guarantee that a function really exists in "
"the library. The reason is that you might be dynamically linked against a "
@@ -41730,7 +41904,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1667
+#: ../src/guestfs.pod:1673
msgid ""
"You can use L<dlopen(3)> to test if a function is available at run time, as "
"in this example program (note that you still need the compile time check as "
@@ -41738,7 +41912,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:1671
+#: ../src/guestfs.pod:1677
#, no-wrap
msgid ""
" #include <stdio.h>\n"
@@ -41756,7 +41930,7 @@ msgstr ""
" \n"
#. type: verbatim
-#: ../src/guestfs.pod:1677
+#: ../src/guestfs.pod:1683
#, no-wrap
msgid ""
" main ()\n"
@@ -41774,7 +41948,7 @@ msgstr ""
" \n"
#. type: verbatim
-#: ../src/guestfs.pod:1683
+#: ../src/guestfs.pod:1689
#, no-wrap
msgid ""
" /* Test if the function guestfs_dd is really available. */\n"
@@ -41789,7 +41963,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:1692
+#: ../src/guestfs.pod:1698
#, no-wrap
msgid ""
" if (!has_function)\n"
@@ -41808,7 +41982,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1705
+#: ../src/guestfs.pod:1711
msgid ""
"You may think the above is an awful lot of hassle, and it is. There are "
"other ways outside of the C linking system to ensure that this kind of "
@@ -41816,7 +41990,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:1710
+#: ../src/guestfs.pod:1716
#, no-wrap
msgid ""
" Requires: libguestfs >= 1.0.80\n"
@@ -41824,12 +41998,12 @@ msgid ""
msgstr ""
#. type: =head1
-#: ../src/guestfs.pod:1712
+#: ../src/guestfs.pod:1718
msgid "CALLS WITH OPTIONAL ARGUMENTS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1714
+#: ../src/guestfs.pod:1720
msgid ""
"A recent feature of the API is the introduction of calls which take optional "
"arguments. In C these are declared 3 ways. The main way is as a call which "
@@ -41837,7 +42011,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:1719
+#: ../src/guestfs.pod:1725
#, no-wrap
msgid ""
" int guestfs_add_drive_opts (guestfs_h *g, const char *filename, ...);\n"
@@ -41847,14 +42021,14 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:1721
+#: ../src/guestfs.pod:1727
msgid ""
"Call this with a list of optional arguments, terminated by C<-1>. So to "
"call with no optional arguments specified:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:1724
+#: ../src/guestfs.pod:1730
#, no-wrap
msgid ""
" guestfs_add_drive_opts (g, filename, -1);\n"
@@ -41864,12 +42038,12 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:1726
+#: ../src/guestfs.pod:1732
msgid "With a single optional argument:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:1728
+#: ../src/guestfs.pod:1734
#, no-wrap
msgid ""
" guestfs_add_drive_opts (g, filename,\n"
@@ -41883,12 +42057,12 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:1732
+#: ../src/guestfs.pod:1738
msgid "With two:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:1734
+#: ../src/guestfs.pod:1740
#, no-wrap
msgid ""
" guestfs_add_drive_opts (g, filename,\n"
@@ -41904,19 +42078,19 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:1739
+#: ../src/guestfs.pod:1745
msgid ""
"and so forth. Don't forget the terminating C<-1> otherwise Bad Things will "
"happen!"
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:1742
+#: ../src/guestfs.pod:1748
msgid "USING va_list FOR OPTIONAL ARGUMENTS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1744
+#: ../src/guestfs.pod:1750
msgid ""
"The second variant has the same name with the suffix C<_va>, which works the "
"same way but takes a C<va_list>. See the C manual for details. For the "
@@ -41924,7 +42098,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:1748
+#: ../src/guestfs.pod:1754
#, no-wrap
msgid ""
" int guestfs_add_drive_opts_va (guestfs_h *g, const char *filename,\n"
@@ -41936,12 +42110,12 @@ msgstr ""
"\n"
#. type: =head2
-#: ../src/guestfs.pod:1751
+#: ../src/guestfs.pod:1757
msgid "CONSTRUCTING OPTIONAL ARGUMENTS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1753
+#: ../src/guestfs.pod:1759
msgid ""
"The third variant is useful where you need to construct these calls. You "
"pass in a structure where you fill in the optional fields. The structure "
@@ -41951,7 +42125,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:1759
+#: ../src/guestfs.pod:1765
#, no-wrap
msgid ""
" struct guestfs_add_drive_opts_argv {\n"
@@ -41975,12 +42149,12 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:1768
+#: ../src/guestfs.pod:1774
msgid "You could call it like this:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:1770
+#: ../src/guestfs.pod:1776
#, no-wrap
msgid ""
" struct guestfs_add_drive_opts_argv optargs = {\n"
@@ -42000,7 +42174,7 @@ msgstr ""
" \n"
#. type: verbatim
-#: ../src/guestfs.pod:1777
+#: ../src/guestfs.pod:1783
#, no-wrap
msgid ""
" guestfs_add_drive_opts_argv (g, filename, &optargs);\n"
@@ -42010,29 +42184,29 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:1785
+#: ../src/guestfs.pod:1791
msgid "The C<_BITMASK> suffix on each option name when specifying the bitmask."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1790
+#: ../src/guestfs.pod:1796
msgid "You do not need to fill in all fields of the structure."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1794
+#: ../src/guestfs.pod:1800
msgid ""
"There must be a one-to-one correspondence between fields of the structure "
"that are filled in, and bits set in the bitmask."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:1799
+#: ../src/guestfs.pod:1805
msgid "OPTIONAL ARGUMENTS IN OTHER LANGUAGES"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1801
+#: ../src/guestfs.pod:1807
msgid ""
"In other languages, optional arguments are expressed in the way that is "
"natural for that language. We refer you to the language-specific "
@@ -42040,17 +42214,17 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1805
+#: ../src/guestfs.pod:1811
msgid "For guestfish, see L<guestfish(1)/OPTIONAL ARGUMENTS>."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:1807
+#: ../src/guestfs.pod:1813
msgid "SETTING CALLBACKS TO HANDLE EVENTS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1809
+#: ../src/guestfs.pod:1815
msgid ""
"B<Note:> This section documents the generic event mechanism introduced in "
"libguestfs 1.10, which you should use in new code if possible. The old "
@@ -42062,7 +42236,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1818
+#: ../src/guestfs.pod:1824
msgid ""
"Handles generate events when certain things happen, such as log messages "
"being generated, progress messages during long-running operations, or the "
@@ -42074,7 +42248,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1826
+#: ../src/guestfs.pod:1832
msgid ""
"In the current implementation, events are only generated synchronously: that "
"means that events (and hence callbacks) can only happen while you are in the "
@@ -42083,31 +42257,31 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1831
+#: ../src/guestfs.pod:1837
msgid ""
"Events may contain a payload, usually nothing (void), an array of 64 bit "
"unsigned integers, or a message buffer. Payloads are discussed later on."
msgstr ""
#. type: =head3
-#: ../src/guestfs.pod:1835
+#: ../src/guestfs.pod:1841
msgid "CLASSES OF EVENTS"
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:1839
+#: ../src/guestfs.pod:1845
msgid "GUESTFS_EVENT_CLOSE (payload type: void)"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1842
+#: ../src/guestfs.pod:1848
msgid ""
"The callback function will be called while the handle is being closed "
"(synchronously from L</guestfs_close>)."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1845
+#: ../src/guestfs.pod:1851
msgid ""
"Note that libguestfs installs an L<atexit(3)> handler to try to clean up "
"handles that are open when the program exits. This means that this callback "
@@ -42118,19 +42292,19 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1852
+#: ../src/guestfs.pod:1858
msgid ""
"If no callback is registered: the handle is closed without any callback "
"being invoked."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:1855
+#: ../src/guestfs.pod:1861
msgid "GUESTFS_EVENT_SUBPROCESS_QUIT (payload type: void)"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1858
+#: ../src/guestfs.pod:1864
msgid ""
"The callback function will be called when the child process quits, either "
"asynchronously or if killed by L</guestfs_kill_subprocess>. (This "
@@ -42138,17 +42312,17 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1862 ../src/guestfs.pod:1871 ../src/guestfs.pod:1988
+#: ../src/guestfs.pod:1868 ../src/guestfs.pod:1877 ../src/guestfs.pod:1994
msgid "If no callback is registered: the event is ignored."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:1864
+#: ../src/guestfs.pod:1870
msgid "GUESTFS_EVENT_LAUNCH_DONE (payload type: void)"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1867
+#: ../src/guestfs.pod:1873
msgid ""
"The callback function will be called when the child process becomes ready "
"first time after it has been launched. (This corresponds to a transition "
@@ -42156,12 +42330,12 @@ msgid ""
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:1873
+#: ../src/guestfs.pod:1879
msgid "GUESTFS_EVENT_PROGRESS (payload type: array of 4 x uint64_t)"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1876
+#: ../src/guestfs.pod:1882
msgid ""
"Some long-running operations can generate progress messages. If this "
"callback is registered, then it will be called each time a progress message "
@@ -42171,14 +42345,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1882
+#: ../src/guestfs.pod:1888
msgid ""
"The callback receives in the payload four unsigned 64 bit numbers which are "
"(in order): C<proc_nr>, C<serial>, C<position>, C<total>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1885
+#: ../src/guestfs.pod:1891
msgid ""
"The units of C<total> are not defined, although for some operations C<total> "
"may relate in some way to the amount of data to be transferred (eg. in bytes "
@@ -42186,24 +42360,24 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1890
+#: ../src/guestfs.pod:1896
msgid "The only defined and stable parts of the API are:"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1896
+#: ../src/guestfs.pod:1902
msgid ""
"The callback can display to the user some type of progress bar or indicator "
"which shows the ratio of C<position>:C<total>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1901
+#: ../src/guestfs.pod:1907
msgid "0 E<lt>= C<position> E<lt>= C<total>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1905
+#: ../src/guestfs.pod:1911
msgid ""
"If any progress notification is sent during a call, then a final progress "
"notification is always sent when C<position> = C<total> (I<unless> the call "
@@ -42211,7 +42385,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1909
+#: ../src/guestfs.pod:1915
msgid ""
"This is to simplify caller code, so callers can easily set the progress "
"indicator to \"100%\" at the end of the operation, without requiring special "
@@ -42219,7 +42393,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1915
+#: ../src/guestfs.pod:1921
msgid ""
"For some calls we are unable to estimate the progress of the call, but we "
"can still generate progress messages to indicate activity. This is known as "
@@ -42228,7 +42402,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1920
+#: ../src/guestfs.pod:1926
msgid ""
"For these calls, zero or more progress messages are generated with "
"C<position = 0> and C<total = 1>, followed by a final message with "
@@ -42236,14 +42410,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1924
+#: ../src/guestfs.pod:1930
msgid ""
"As noted above, if the call fails with an error then the final message may "
"not be generated."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1929
+#: ../src/guestfs.pod:1935
msgid ""
"The callback also receives the procedure number (C<proc_nr>) and serial "
"number (C<serial>) of the call. These are only useful for debugging "
@@ -42252,31 +42426,31 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1935
+#: ../src/guestfs.pod:1941
msgid "If no callback is registered: progress messages are discarded."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:1937
+#: ../src/guestfs.pod:1943
msgid "GUESTFS_EVENT_APPLIANCE (payload type: message buffer)"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1940
+#: ../src/guestfs.pod:1946
msgid ""
"The callback function is called whenever a log message is generated by qemu, "
"the appliance kernel, guestfsd (daemon), or utility programs."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1943
+#: ../src/guestfs.pod:1949
msgid ""
"If the verbose flag (L</guestfs_set_verbose>) is set before launch (L</"
"guestfs_launch>) then additional debug messages are generated."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1946 ../src/guestfs.pod:1960
+#: ../src/guestfs.pod:1952 ../src/guestfs.pod:1966
msgid ""
"If no callback is registered: the messages are discarded unless the verbose "
"flag is set in which case they are sent to stderr. You can override the "
@@ -42284,63 +42458,63 @@ msgid ""
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:1951
+#: ../src/guestfs.pod:1957
msgid "GUESTFS_EVENT_LIBRARY (payload type: message buffer)"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1954
+#: ../src/guestfs.pod:1960
msgid ""
"The callback function is called whenever a log message is generated by the "
"library part of libguestfs."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1957
+#: ../src/guestfs.pod:1963
msgid ""
"If the verbose flag (L</guestfs_set_verbose>) is set then additional debug "
"messages are generated."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:1965
+#: ../src/guestfs.pod:1971
msgid "GUESTFS_EVENT_TRACE (payload type: message buffer)"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1968
+#: ../src/guestfs.pod:1974
msgid ""
"The callback function is called whenever a trace message is generated. This "
"only applies if the trace flag (L</guestfs_set_trace>) is set."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1971
+#: ../src/guestfs.pod:1977
msgid ""
"If no callback is registered: the messages are sent to stderr. You can "
"override the printing of trace messages to stderr by setting up a callback."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:1975
+#: ../src/guestfs.pod:1981
msgid "GUESTFS_EVENT_ENTER (payload type: function name)"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1978
+#: ../src/guestfs.pod:1984
msgid ""
"The callback function is called whenever a libguestfs function is entered."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1981
+#: ../src/guestfs.pod:1987
msgid ""
"The payload is a string which contains the name of the function that we are "
"entering (not including C<guestfs_> prefix)."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1984
+#: ../src/guestfs.pod:1990
msgid ""
"Note that libguestfs functions can call themselves, so you may see many "
"events from a single call. A few libguestfs functions do not generate this "
@@ -42348,12 +42522,12 @@ msgid ""
msgstr ""
#. type: =head3
-#: ../src/guestfs.pod:1992
+#: ../src/guestfs.pod:1998
msgid "guestfs_set_event_callback"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:1994
+#: ../src/guestfs.pod:2000
#, no-wrap
msgid ""
" int guestfs_set_event_callback (guestfs_h *g,\n"
@@ -42365,14 +42539,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2000
+#: ../src/guestfs.pod:2006
msgid ""
"This function registers a callback (C<cb>) for all event classes in the "
"C<event_bitmask>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2003
+#: ../src/guestfs.pod:2009
msgid ""
"For example, to register for all log message events, you could call this "
"function with the bitmask C<GUESTFS_EVENT_APPLIANCE|GUESTFS_EVENT_LIBRARY>. "
@@ -42381,40 +42555,40 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2009
+#: ../src/guestfs.pod:2015
msgid "C<flags> should always be passed as 0."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2011
+#: ../src/guestfs.pod:2017
msgid ""
"C<opaque> is an opaque pointer which is passed to the callback. You can use "
"it for any purpose."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2014
+#: ../src/guestfs.pod:2020
msgid ""
"The return value is the event handle (an integer) which you can use to "
"delete the callback (see below)."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2017
+#: ../src/guestfs.pod:2023
msgid ""
"If there is an error, this function returns C<-1>, and sets the error in the "
"handle in the usual way (see L</guestfs_last_error> etc.)"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2020
+#: ../src/guestfs.pod:2026
msgid ""
"Callbacks remain in effect until they are deleted, or until the handle is "
"closed."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2023
+#: ../src/guestfs.pod:2029
msgid ""
"In the case where multiple callbacks are registered for a particular event "
"class, all of the callbacks are called. The order in which multiple "
@@ -42422,12 +42596,12 @@ msgid ""
msgstr ""
#. type: =head3
-#: ../src/guestfs.pod:2027
+#: ../src/guestfs.pod:2033
msgid "guestfs_delete_event_callback"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2029
+#: ../src/guestfs.pod:2035
#, no-wrap
msgid ""
" void guestfs_delete_event_callback (guestfs_h *g, int event_handle);\n"
@@ -42435,7 +42609,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2031
+#: ../src/guestfs.pod:2037
msgid ""
"Delete a callback that was previously registered. C<event_handle> should be "
"the integer that was returned by a previous call to "
@@ -42443,12 +42617,12 @@ msgid ""
msgstr ""
#. type: =head3
-#: ../src/guestfs.pod:2035
+#: ../src/guestfs.pod:2041
msgid "guestfs_event_callback"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2037
+#: ../src/guestfs.pod:2043
#, no-wrap
msgid ""
" typedef void (*guestfs_event_callback) (\n"
@@ -42463,13 +42637,13 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2046
+#: ../src/guestfs.pod:2052
msgid ""
"This is the type of the event callback function that you have to provide."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2049
+#: ../src/guestfs.pod:2055
msgid ""
"The basic parameters are: the handle (C<g>), the opaque user pointer "
"(C<opaque>), the event class (eg. C<GUESTFS_EVENT_PROGRESS>), the event "
@@ -42477,7 +42651,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2053
+#: ../src/guestfs.pod:2059
msgid ""
"The remaining parameters contain the event payload (if any). Each event may "
"contain a payload, which usually relates to the event class, but for future "
@@ -42486,7 +42660,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2058
+#: ../src/guestfs.pod:2064
msgid ""
"C<buf> and C<buf_len> contain a message buffer (if C<buf_len == 0>, then "
"there is no message buffer). Note that this message buffer can contain "
@@ -42494,19 +42668,19 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2062
+#: ../src/guestfs.pod:2068
msgid ""
"C<array> and C<array_len> is an array of 64 bit unsigned integers. At the "
"moment this is only used for progress messages."
msgstr ""
#. type: =head3
-#: ../src/guestfs.pod:2065
+#: ../src/guestfs.pod:2071
msgid "EXAMPLE: CAPTURING LOG MESSAGES"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2067
+#: ../src/guestfs.pod:2073
msgid ""
"One motivation for the generic event API was to allow GUI programs to "
"capture debug and other messages. In libguestfs E<le> 1.8 these were sent "
@@ -42514,7 +42688,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2071
+#: ../src/guestfs.pod:2077
msgid ""
"Events associated with log messages are: C<GUESTFS_EVENT_LIBRARY>, "
"C<GUESTFS_EVENT_APPLIANCE> and C<GUESTFS_EVENT_TRACE>. (Note that error "
@@ -42522,14 +42696,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2076
+#: ../src/guestfs.pod:2082
msgid ""
"Programs have to set up a callback to capture the classes of events of "
"interest:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2079
+#: ../src/guestfs.pod:2085
#, no-wrap
msgid ""
" int eh =\n"
@@ -42545,14 +42719,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2089
+#: ../src/guestfs.pod:2095
msgid ""
"The callback can then direct messages to the appropriate place. In this "
"example, messages are directed to syslog:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2092
+#: ../src/guestfs.pod:2098
#, no-wrap
msgid ""
" static void\n"
@@ -42573,12 +42747,12 @@ msgid ""
msgstr ""
#. type: =head1
-#: ../src/guestfs.pod:2107
+#: ../src/guestfs.pod:2113
msgid "CANCELLING LONG TRANSFERS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2109
+#: ../src/guestfs.pod:2115
msgid ""
"Some operations can be cancelled by the caller while they are in progress. "
"Currently only operations that involve uploading or downloading data can be "
@@ -42587,12 +42761,12 @@ msgid ""
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:2114
+#: ../src/guestfs.pod:2120
msgid "guestfs_user_cancel"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2116
+#: ../src/guestfs.pod:2122
#, no-wrap
msgid ""
" void guestfs_user_cancel (guestfs_h *g);\n"
@@ -42600,13 +42774,13 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2118
+#: ../src/guestfs.pod:2124
msgid ""
"C<guestfs_user_cancel> cancels the current upload or download operation."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2121
+#: ../src/guestfs.pod:2127
msgid ""
"Unlike most other libguestfs calls, this function is signal safe and thread "
"safe. You can call it from a signal handler or from another thread, without "
@@ -42614,7 +42788,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2125
+#: ../src/guestfs.pod:2131
msgid ""
"The transfer that was in progress (if there is one) will stop shortly "
"afterwards, and will return an error. The errno (see L</"
@@ -42623,7 +42797,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2131
+#: ../src/guestfs.pod:2137
msgid ""
"No cleanup is performed: for example, if a file was being uploaded then "
"after cancellation there may be a partially uploaded file. It is the "
@@ -42631,12 +42805,12 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2135
+#: ../src/guestfs.pod:2141
msgid "There are two common places that you might call C<guestfs_user_cancel>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2137
+#: ../src/guestfs.pod:2143
msgid ""
"In an interactive text-based program, you might call it from a C<SIGINT> "
"signal handler so that pressing C<^C> cancels the current operation. (You "
@@ -42645,19 +42819,19 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2142
+#: ../src/guestfs.pod:2148
msgid ""
"In a graphical program, when the main thread is displaying a progress bar "
"with a cancel button, wire up the cancel button to call this function."
msgstr ""
#. type: =head1
-#: ../src/guestfs.pod:2146
+#: ../src/guestfs.pod:2152
msgid "PRIVATE DATA AREA"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2148
+#: ../src/guestfs.pod:2154
msgid ""
"You can attach named pieces of private data to the libguestfs handle, fetch "
"them by name, and walk over them, for the lifetime of the handle. This is "
@@ -42665,12 +42839,12 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2153
+#: ../src/guestfs.pod:2159
msgid "To attach a named piece of data, use the following call:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2155
+#: ../src/guestfs.pod:2161
#, no-wrap
msgid ""
" void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n"
@@ -42680,7 +42854,7 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:2157
+#: ../src/guestfs.pod:2163
msgid ""
"C<key> is the name to associate with this data, and C<data> is an arbitrary "
"pointer (which can be C<NULL>). Any previous item with the same key is "
@@ -42688,7 +42862,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2161
+#: ../src/guestfs.pod:2167
msgid ""
"You can use any C<key> you want, but your key should I<not> start with an "
"underscore character. Keys beginning with an underscore character are "
@@ -42698,12 +42872,12 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2167
+#: ../src/guestfs.pod:2173
msgid "To retrieve the pointer, use:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2169
+#: ../src/guestfs.pod:2175
#, no-wrap
msgid ""
" void *guestfs_get_private (guestfs_h *g, const char *key);\n"
@@ -42713,7 +42887,7 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:2171
+#: ../src/guestfs.pod:2177
msgid ""
"This function returns C<NULL> if either no data is found associated with "
"C<key>, or if the user previously set the C<key>'s C<data> pointer to "
@@ -42721,7 +42895,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2175
+#: ../src/guestfs.pod:2181
msgid ""
"Libguestfs does not try to look at or interpret the C<data> pointer in any "
"way. As far as libguestfs is concerned, it need not be a valid pointer at "
@@ -42732,12 +42906,12 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2182
+#: ../src/guestfs.pod:2188
msgid "To walk over all entries, use these two functions:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2184
+#: ../src/guestfs.pod:2190
#, no-wrap
msgid ""
" void *guestfs_first_private (guestfs_h *g, const char **key_rtn);\n"
@@ -42745,7 +42919,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2186
+#: ../src/guestfs.pod:2192
#, no-wrap
msgid ""
" void *guestfs_next_private (guestfs_h *g, const char **key_rtn);\n"
@@ -42753,7 +42927,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2188
+#: ../src/guestfs.pod:2194
msgid ""
"C<guestfs_first_private> returns the first key, pointer pair (\"first\" does "
"not have any particular meaning -- keys are not returned in any defined "
@@ -42763,7 +42937,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2194
+#: ../src/guestfs.pod:2200
msgid ""
"C<guestfs_next_private> returns the next key, pointer pair. The return "
"value of this function is also C<NULL> is there are no further entries to "
@@ -42771,18 +42945,18 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2198
+#: ../src/guestfs.pod:2204
msgid "Notes about walking over entries:"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2204
+#: ../src/guestfs.pod:2210
msgid ""
"You must not call C<guestfs_set_private> while walking over the entries."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2209
+#: ../src/guestfs.pod:2215
msgid ""
"The handle maintains an internal iterator which is reset when you call "
"C<guestfs_first_private>. This internal iterator is invalidated when you "
@@ -42790,12 +42964,12 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2215
+#: ../src/guestfs.pod:2221
msgid "If you have set the data pointer associated with a key to C<NULL>, ie:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2217
+#: ../src/guestfs.pod:2223
#, no-wrap
msgid ""
" guestfs_set_private (g, key, NULL);\n"
@@ -42803,26 +42977,26 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2219
+#: ../src/guestfs.pod:2225
msgid "then that C<key> is not returned when walking."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2223
+#: ../src/guestfs.pod:2229
msgid ""
"C<*key_rtn> is only valid until the next call to C<guestfs_first_private>, "
"C<guestfs_next_private> or C<guestfs_set_private>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2229
+#: ../src/guestfs.pod:2235
msgid ""
"The following example code shows how to print all keys and data pointers "
"that are associated with the handle C<g>:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2232
+#: ../src/guestfs.pod:2238
#, no-wrap
msgid ""
" const char *key;\n"
@@ -42836,14 +43010,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2240
+#: ../src/guestfs.pod:2246
msgid ""
"More commonly you are only interested in keys that begin with an application-"
"specific prefix C<foo_>. Modify the loop like so:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2243
+#: ../src/guestfs.pod:2249
#, no-wrap
msgid ""
" const char *key;\n"
@@ -42858,7 +43032,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2252
+#: ../src/guestfs.pod:2258
msgid ""
"If you need to modify keys while walking, then you have to jump back to the "
"beginning of the loop. For example, to delete all keys prefixed with "
@@ -42866,7 +43040,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2256
+#: ../src/guestfs.pod:2262
#, no-wrap
msgid ""
" const char *key;\n"
@@ -42888,7 +43062,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2272
+#: ../src/guestfs.pod:2278
msgid ""
"Note that the above loop is guaranteed to terminate because the keys are "
"being deleted, but other manipulations of keys within the loop might not "
@@ -42897,12 +43071,12 @@ msgid ""
msgstr ""
#. type: =head1
-#: ../src/guestfs.pod:2277
+#: ../src/guestfs.pod:2283
msgid "SYSTEMTAP"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2279
+#: ../src/guestfs.pod:2285
msgid ""
"The libguestfs C library can be probed using systemtap or DTrace. This is "
"true of any library, not just libguestfs. However libguestfs also contains "
@@ -42910,12 +43084,12 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2283
+#: ../src/guestfs.pod:2289
msgid "You can list all the static markers by doing:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2285
+#: ../src/guestfs.pod:2291
#, no-wrap
msgid ""
" stap -l 'process(\"/usr/lib*/libguestfs.so.0\")\n"
@@ -42924,26 +43098,26 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2288
+#: ../src/guestfs.pod:2294
msgid ""
"B<Note:> These static markers are I<not> part of the stable API and may "
"change in future versions."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:2291
+#: ../src/guestfs.pod:2297
msgid "SYSTEMTAP SCRIPT EXAMPLE"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2293
+#: ../src/guestfs.pod:2299
msgid ""
"This script contains examples of displaying both the static markers and some "
"ordinary C entry points:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2296
+#: ../src/guestfs.pod:2302
#, no-wrap
msgid ""
" global last;\n"
@@ -42951,7 +43125,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2298
+#: ../src/guestfs.pod:2304
#, no-wrap
msgid ""
" function display_time () {\n"
@@ -42964,7 +43138,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2305
+#: ../src/guestfs.pod:2311
#, no-wrap
msgid ""
" printf (\"%d (+%d):\", now, delta);\n"
@@ -42973,7 +43147,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2308
+#: ../src/guestfs.pod:2314
#, no-wrap
msgid ""
" probe begin {\n"
@@ -42984,7 +43158,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2313
+#: ../src/guestfs.pod:2319
#, no-wrap
msgid ""
" /* Display all calls to static markers. */\n"
@@ -42997,7 +43171,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2320
+#: ../src/guestfs.pod:2326
#, no-wrap
msgid ""
" /* Display all calls to guestfs_mkfs* functions. */\n"
@@ -43010,7 +43184,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2327
+#: ../src/guestfs.pod:2333
msgid ""
"The script above can be saved to C<test.stap> and run using the L<stap(1)> "
"program. Note that you either have to be root, or you have to add yourself "
@@ -43019,7 +43193,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2332
+#: ../src/guestfs.pod:2338
#, no-wrap
msgid ""
" # stap /tmp/test.stap\n"
@@ -43028,17 +43202,17 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2335
+#: ../src/guestfs.pod:2341
msgid "In another terminal, run a guestfish command such as this:"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2339
+#: ../src/guestfs.pod:2345
msgid "In the first terminal, stap trace output similar to this is shown:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2341
+#: ../src/guestfs.pod:2347
#, no-wrap
msgid ""
" 1318248056692655 (+0):\tlaunch_start\n"
@@ -43051,12 +43225,12 @@ msgid ""
msgstr ""
#. type: =end
-#: ../src/guestfs.pod:2348 ../src/guestfs.pod:2353
+#: ../src/guestfs.pod:2354 ../src/guestfs.pod:2359
msgid "html"
msgstr "html"
#. type: textblock
-#: ../src/guestfs.pod:2350
+#: ../src/guestfs.pod:2356
msgid ""
"<!-- old anchor for the next section --> <a name="
"\"state_machine_and_low_level_event_api\"/>"
@@ -43065,12 +43239,12 @@ msgstr ""
"\"state_machine_and_low_level_event_api\"/>"
#. type: =head1
-#: ../src/guestfs.pod:2355
+#: ../src/guestfs.pod:2361
msgid "ARCHITECTURE"
msgstr "АРХІТЕКТУРА"
#. type: textblock
-#: ../src/guestfs.pod:2357
+#: ../src/guestfs.pod:2363
msgid ""
"Internally, libguestfs is implemented by running an appliance (a special "
"type of small virtual machine) using L<qemu(1)>. Qemu runs as a child "
@@ -43078,7 +43252,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2361
+#: ../src/guestfs.pod:2367
#, no-wrap
msgid ""
" ___________________\n"
@@ -43104,14 +43278,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2381
+#: ../src/guestfs.pod:2387
msgid ""
"The library, linked to the main program, creates the child process and hence "
"the appliance in the L</guestfs_launch> function."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2384
+#: ../src/guestfs.pod:2390
msgid ""
"Inside the appliance is a Linux kernel and a complete stack of userspace "
"tools (such as LVM and ext2 programs) and a small controlling daemon called "
@@ -43123,7 +43297,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2393
+#: ../src/guestfs.pod:2399
msgid ""
"A common misunderstanding is that the appliance \"is\" the virtual machine. "
"Although the disk image you are attached to might also be used by some "
@@ -43134,17 +43308,17 @@ msgid ""
msgstr ""
#. type: =head1
-#: ../src/guestfs.pod:2400
+#: ../src/guestfs.pod:2406
msgid "STATE MACHINE"
msgstr "СКІНЧЕННИЙ АВТОМАТ"
#. type: textblock
-#: ../src/guestfs.pod:2402
+#: ../src/guestfs.pod:2408
msgid "libguestfs uses a state machine to model the child process:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2404
+#: ../src/guestfs.pod:2410
#, no-wrap
msgid ""
" |\n"
@@ -43172,7 +43346,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2426
+#: ../src/guestfs.pod:2432
msgid ""
"The normal transitions are (1) CONFIG (when the handle is created, but there "
"is no child process), (2) LAUNCHING (when the child process is booting up), "
@@ -43181,7 +43355,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2431
+#: ../src/guestfs.pod:2437
msgid ""
"The guest may be killed by L</guestfs_kill_subprocess>, or may die "
"asynchronously at any time (eg. due to some internal error), and that causes "
@@ -43189,14 +43363,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2435
+#: ../src/guestfs.pod:2441
msgid ""
"Configuration commands for qemu such as L</guestfs_add_drive> can only be "
"issued when in the CONFIG state."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2438
+#: ../src/guestfs.pod:2444
msgid ""
"The API offers one call that goes from CONFIG through LAUNCHING to READY. "
"L</guestfs_launch> blocks until the child process is READY to accept "
@@ -43205,7 +43379,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2444
+#: ../src/guestfs.pod:2450
msgid ""
"API actions such as L</guestfs_mount> can only be issued when in the READY "
"state. These API calls block waiting for the command to be carried out (ie. "
@@ -43215,7 +43389,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2450
+#: ../src/guestfs.pod:2456
msgid ""
"Finally, the child process sends asynchronous messages back to the main "
"program, such as kernel log messages. You can register a callback to "
@@ -43223,17 +43397,17 @@ msgid ""
msgstr ""
#. type: =head1
-#: ../src/guestfs.pod:2454
+#: ../src/guestfs.pod:2460
msgid "INTERNALS"
msgstr "ВНУТРІШНІ ПРИНЦИПИ РОБОТИ"
#. type: =head2
-#: ../src/guestfs.pod:2456
+#: ../src/guestfs.pod:2462
msgid "APPLIANCE BOOT PROCESS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2458
+#: ../src/guestfs.pod:2464
msgid ""
"This process has evolved and continues to evolve. The description here "
"corresponds only to the current version of libguestfs and is provided for "
@@ -43241,55 +43415,55 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2462
+#: ../src/guestfs.pod:2468
msgid ""
"In order to follow the stages involved below, enable libguestfs debugging "
"(set the environment variable C<LIBGUESTFS_DEBUG=1>)."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2467
+#: ../src/guestfs.pod:2473
msgid "Create the appliance"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2469
+#: ../src/guestfs.pod:2475
msgid ""
"C<febootstrap-supermin-helper> is invoked to create the kernel, a small "
"initrd and the appliance."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2472
+#: ../src/guestfs.pod:2478
msgid ""
"The appliance is cached in C</var/tmp/.guestfs-E<lt>UIDE<gt>> (or in another "
"directory if C<TMPDIR> is set)."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2475
+#: ../src/guestfs.pod:2481
msgid ""
"For a complete description of how the appliance is created and cached, read "
"the L<febootstrap(8)> and L<febootstrap-supermin-helper(8)> man pages."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2479
+#: ../src/guestfs.pod:2485
msgid "Start qemu and boot the kernel"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2481
+#: ../src/guestfs.pod:2487
msgid "qemu is invoked to boot the kernel."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2483
+#: ../src/guestfs.pod:2489
msgid "Run the initrd"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2485
+#: ../src/guestfs.pod:2491
msgid ""
"C<febootstrap-supermin-helper> builds a small initrd. The initrd is not the "
"appliance. The purpose of the initrd is to load enough kernel modules in "
@@ -43297,21 +43471,21 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2489
+#: ../src/guestfs.pod:2495
msgid ""
"The initrd is a cpio archive called C</var/tmp/.guestfs-E<lt>UIDE<gt>/"
"initrd>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2492
+#: ../src/guestfs.pod:2498
msgid ""
"When the initrd has started you will see messages showing that kernel "
"modules are being loaded, similar to this:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2495
+#: ../src/guestfs.pod:2501
#, no-wrap
msgid ""
" febootstrap: ext2 mini initrd starting up\n"
@@ -43322,12 +43496,12 @@ msgid ""
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2500
+#: ../src/guestfs.pod:2506
msgid "Find and mount the appliance device"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2502
+#: ../src/guestfs.pod:2508
msgid ""
"The appliance is a sparse file containing an ext2 filesystem which contains "
"a familiar (although reduced in size) Linux operating system. It would "
@@ -43335,33 +43509,33 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2506
+#: ../src/guestfs.pod:2512
msgid ""
"The regular disks being inspected by libguestfs are the first devices "
"exposed by qemu (eg. as C</dev/vda>)."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2509
+#: ../src/guestfs.pod:2515
msgid ""
"The last disk added to qemu is the appliance itself (eg. C</dev/vdb> if "
"there was only one regular disk)."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2512
+#: ../src/guestfs.pod:2518
msgid ""
"Thus the final job of the initrd is to locate the appliance disk, mount it, "
"and switch root into the appliance, and run C</init> from the appliance."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2516
+#: ../src/guestfs.pod:2522
msgid "If this works successfully you will see messages such as:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2518
+#: ../src/guestfs.pod:2524
#, no-wrap
msgid ""
" febootstrap: picked /sys/block/vdb/dev as root device\n"
@@ -43373,19 +43547,19 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2524
+#: ../src/guestfs.pod:2530
msgid ""
"Note that C<Starting /init script ...> indicates that the appliance's init "
"script is now running."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2527
+#: ../src/guestfs.pod:2533
msgid "Initialize the appliance"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2529
+#: ../src/guestfs.pod:2535
msgid ""
"The appliance itself now initializes itself. This involves starting certain "
"processes like C<udev>, possibly printing some debug information, and "
@@ -43393,19 +43567,19 @@ msgid ""
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2533
+#: ../src/guestfs.pod:2539
msgid "The daemon"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2535
+#: ../src/guestfs.pod:2541
msgid ""
"Finally the daemon (C<guestfsd>) runs inside the appliance. If it runs you "
"should see:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2538
+#: ../src/guestfs.pod:2544
#, no-wrap
msgid ""
" verbose daemon enabled\n"
@@ -43413,14 +43587,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2540
+#: ../src/guestfs.pod:2546
msgid ""
"The daemon expects to see a named virtio-serial port exposed by qemu and "
"connected on the other end to the library."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2543
+#: ../src/guestfs.pod:2549
msgid ""
"The daemon connects to this port (and hence to the library) and sends a four "
"byte message C<GUESTFS_LAUNCH_FLAG>, which initiates the communication "
@@ -43428,19 +43602,19 @@ msgid ""
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:2549
+#: ../src/guestfs.pod:2555
msgid "COMMUNICATION PROTOCOL"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2551
+#: ../src/guestfs.pod:2557
msgid ""
"Don't rely on using this protocol directly. This section documents how it "
"currently works, but it may change at any time."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2554
+#: ../src/guestfs.pod:2560
msgid ""
"The protocol used to talk between the library and the daemon running inside "
"the qemu virtual machine is a simple RPC mechanism built on top of XDR (RFC "
@@ -43448,14 +43622,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2558
+#: ../src/guestfs.pod:2564
msgid ""
"The detailed format of structures is in C<src/guestfs_protocol.x> (note: "
"this file is automatically generated)."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2561
+#: ../src/guestfs.pod:2567
msgid ""
"There are two broad cases, ordinary functions that don't have any C<FileIn> "
"and C<FileOut> parameters, which are handled with very simple request/reply "
@@ -43465,17 +43639,17 @@ msgid ""
msgstr ""
#. type: =head3
-#: ../src/guestfs.pod:2568
+#: ../src/guestfs.pod:2574
msgid "ORDINARY FUNCTIONS (NO FILEIN/FILEOUT PARAMS)"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2570
+#: ../src/guestfs.pod:2576
msgid "For ordinary functions, the request message is:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2572
+#: ../src/guestfs.pod:2578
#, no-wrap
msgid ""
" total length (header + arguments,\n"
@@ -43486,7 +43660,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2577
+#: ../src/guestfs.pod:2583
msgid ""
"The total length field allows the daemon to allocate a fixed size buffer "
"into which it slurps the rest of the message. As a result, the total length "
@@ -43495,21 +43669,21 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2583
+#: ../src/guestfs.pod:2589
msgid ""
"Note also that many functions don't take any arguments, in which case the "
"C<guestfs_I<foo>_args> is completely omitted."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2586
+#: ../src/guestfs.pod:2592
msgid ""
"The header contains the procedure number (C<guestfs_proc>) which is how the "
"receiver knows what type of args structure to expect, or none at all."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2590
+#: ../src/guestfs.pod:2596
msgid ""
"For functions that take optional arguments, the optional arguments are "
"encoded in the C<guestfs_I<foo>_args> structure in the same way as ordinary "
@@ -43521,12 +43695,12 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2598
+#: ../src/guestfs.pod:2604
msgid "The reply message for ordinary functions is:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2600
+#: ../src/guestfs.pod:2606
#, no-wrap
msgid ""
" total length (header + ret,\n"
@@ -43537,27 +43711,27 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2605
+#: ../src/guestfs.pod:2611
msgid ""
"As above the C<guestfs_I<foo>_ret> structure may be completely omitted for "
"functions that return no formal return values."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2608
+#: ../src/guestfs.pod:2614
msgid ""
"As above the total length of the reply is limited to C<GUESTFS_MESSAGE_MAX>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2611
+#: ../src/guestfs.pod:2617
msgid ""
"In the case of an error, a flag is set in the header, and the reply message "
"is slightly changed:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2614
+#: ../src/guestfs.pod:2620
#, no-wrap
msgid ""
" total length (header + error,\n"
@@ -43568,19 +43742,19 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2619
+#: ../src/guestfs.pod:2625
msgid ""
"The C<guestfs_message_error> structure contains the error message as a "
"string."
msgstr ""
#. type: =head3
-#: ../src/guestfs.pod:2622
+#: ../src/guestfs.pod:2628
msgid "FUNCTIONS THAT HAVE FILEIN PARAMETERS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2624
+#: ../src/guestfs.pod:2630
msgid ""
"A C<FileIn> parameter indicates that we transfer a file I<into> the guest. "
"The normal request message is sent (see above). However this is followed by "
@@ -43588,7 +43762,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2628
+#: ../src/guestfs.pod:2634
#, no-wrap
msgid ""
" total length (header + arguments,\n"
@@ -43602,12 +43776,12 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2636
+#: ../src/guestfs.pod:2642
msgid "The \"sequence of chunks\" is:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2638
+#: ../src/guestfs.pod:2644
#, no-wrap
msgid ""
" length of chunk (not including length word itself)\n"
@@ -43621,7 +43795,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2646
+#: ../src/guestfs.pod:2652
msgid ""
"The final chunk has the C<data_len> field set to zero. Additionally a flag "
"is set in the final chunk to indicate either successful completion or early "
@@ -43629,7 +43803,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2650
+#: ../src/guestfs.pod:2656
msgid ""
"At time of writing there are no functions that have more than one FileIn "
"parameter. However this is (theoretically) supported, by sending the "
@@ -43638,7 +43812,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2655
+#: ../src/guestfs.pod:2661
msgid ""
"Both the library (sender) I<and> the daemon (receiver) may cancel the "
"transfer. The library does this by sending a chunk with a special flag set "
@@ -43647,7 +43821,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2661
+#: ../src/guestfs.pod:2667
msgid ""
"The daemon may also cancel. It does this by writing a special word "
"C<GUESTFS_CANCEL_FLAG> to the socket. The library listens for this during "
@@ -43659,7 +43833,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2670
+#: ../src/guestfs.pod:2676
msgid ""
"This protocol allows the transfer of arbitrary sized files (no 32 bit "
"limit), and also files where the size is not known in advance (eg. from "
@@ -43669,19 +43843,19 @@ msgid ""
msgstr ""
#. type: =head3
-#: ../src/guestfs.pod:2676
+#: ../src/guestfs.pod:2682
msgid "FUNCTIONS THAT HAVE FILEOUT PARAMETERS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2678
+#: ../src/guestfs.pod:2684
msgid ""
"The protocol for FileOut parameters is exactly the same as for FileIn "
"parameters, but with the roles of daemon and library reversed."
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2681
+#: ../src/guestfs.pod:2687
#, no-wrap
msgid ""
" total length (header + ret,\n"
@@ -43695,12 +43869,12 @@ msgid ""
msgstr ""
#. type: =head3
-#: ../src/guestfs.pod:2689
+#: ../src/guestfs.pod:2695
msgid "INITIAL MESSAGE"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2691
+#: ../src/guestfs.pod:2697
msgid ""
"When the daemon launches it sends an initial word (C<GUESTFS_LAUNCH_FLAG>) "
"which indicates that the guest and daemon is alive. This is what L</"
@@ -43708,12 +43882,12 @@ msgid ""
msgstr ""
#. type: =head3
-#: ../src/guestfs.pod:2695
+#: ../src/guestfs.pod:2701
msgid "PROGRESS NOTIFICATION MESSAGES"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2697
+#: ../src/guestfs.pod:2703
msgid ""
"The daemon may send progress notification messages at any time. These are "
"distinguished by the normal length word being replaced by "
@@ -43721,7 +43895,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2701
+#: ../src/guestfs.pod:2707
msgid ""
"The library turns them into progress callbacks (see L</"
"GUESTFS_EVENT_PROGRESS>) if there is a callback registered, or discards them "
@@ -43729,7 +43903,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2705
+#: ../src/guestfs.pod:2711
msgid ""
"The daemon self-limits the frequency of progress messages it sends (see "
"C<daemon/proto.c:notify_progress>). Not all calls generate progress "
@@ -43737,12 +43911,12 @@ msgid ""
msgstr ""
#. type: =head1
-#: ../src/guestfs.pod:2709
+#: ../src/guestfs.pod:2715
msgid "LIBGUESTFS VERSION NUMBERS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2711
+#: ../src/guestfs.pod:2717
msgid ""
"Since April 2010, libguestfs has started to make separate development and "
"stable releases, along with corresponding branches in our git repository. "
@@ -43750,7 +43924,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2716
+#: ../src/guestfs.pod:2722
#, no-wrap
msgid ""
" even numbers for stable: 1.2.x, 1.4.x, ...\n"
@@ -43767,12 +43941,12 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2727
+#: ../src/guestfs.pod:2733
msgid "Thus \"1.3.5\" is the 5th update to the development branch \"1.3\"."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2729
+#: ../src/guestfs.pod:2735
msgid ""
"As time passes we cherry pick fixes from the development branch and backport "
"those into the stable branch, the effect being that the stable branch should "
@@ -43782,26 +43956,26 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2735
+#: ../src/guestfs.pod:2741
msgid "Our criteria for backporting changes are:"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2741
+#: ../src/guestfs.pod:2747
msgid ""
"Documentation changes which don't affect any code are backported unless the "
"documentation refers to a future feature which is not in stable."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2747
+#: ../src/guestfs.pod:2753
msgid ""
"Bug fixes which are not controversial, fix obvious problems, and have been "
"well tested are backported."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2752
+#: ../src/guestfs.pod:2758
msgid ""
"Simple rearrangements of code which shouldn't affect how it works get "
"backported. This is so that the code in the two branches doesn't get too "
@@ -43809,7 +43983,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2758
+#: ../src/guestfs.pod:2764
msgid ""
"We I<don't> backport new features, new APIs, new tools etc, except in one "
"exceptional case: the new feature is required in order to implement an "
@@ -43817,7 +43991,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2764
+#: ../src/guestfs.pod:2770
msgid ""
"A new stable branch starts when we think the new features in development are "
"substantial and compelling enough over the current stable branch to warrant "
@@ -43828,17 +44002,17 @@ msgid ""
msgstr ""
#. type: =head1
-#: ../src/guestfs.pod:2772
+#: ../src/guestfs.pod:2778
msgid "EXTENDING LIBGUESTFS"
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:2774
+#: ../src/guestfs.pod:2780
msgid "ADDING A NEW API ACTION"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2776
+#: ../src/guestfs.pod:2782
msgid ""
"Large amounts of boilerplate code in libguestfs (RPC, bindings, "
"documentation) are generated, and this makes it easy to extend the "
@@ -43846,19 +44020,19 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2780
+#: ../src/guestfs.pod:2786
msgid "To add a new API action there are two changes:"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2786
+#: ../src/guestfs.pod:2792
msgid ""
"You need to add a description of the call (name, parameters, return type, "
"tests, documentation) to C<generator/generator_actions.ml>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2789
+#: ../src/guestfs.pod:2795
msgid ""
"There are two sorts of API action, depending on whether the call goes "
"through to the daemon in the appliance, or is serviced entirely by the "
@@ -43869,7 +44043,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2797
+#: ../src/guestfs.pod:2803
msgid ""
"Most new actions are of the first type, and get added to the "
"C<daemon_functions> list. Each function has a unique procedure number used "
@@ -43879,7 +44053,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2803
+#: ../src/guestfs.pod:2809
msgid ""
"For library-only actions of the second type, add to the "
"C<non_daemon_functions> list. Since these functions are serviced by the "
@@ -43889,36 +44063,36 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2811
+#: ../src/guestfs.pod:2817
msgid "Implement the action (in C):"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2813
+#: ../src/guestfs.pod:2819
msgid ""
"For daemon actions, implement the function C<do_E<lt>nameE<gt>> in the "
"C<daemon/> directory."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2816
+#: ../src/guestfs.pod:2822
msgid ""
"For library actions, implement the function C<guestfs__E<lt>nameE<gt>> "
"(note: double underscore) in the C<src/> directory."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2819
+#: ../src/guestfs.pod:2825
msgid "In either case, use another function as an example of what to do."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2823
+#: ../src/guestfs.pod:2829
msgid "After making these changes, use C<make> to compile."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2825
+#: ../src/guestfs.pod:2831
msgid ""
"Note that you don't need to implement the RPC, language bindings, manual "
"pages or anything else. It's all automatically generated from the OCaml "
@@ -43926,12 +44100,12 @@ msgid ""
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:2829
+#: ../src/guestfs.pod:2835
msgid "ADDING TESTS FOR AN API ACTION"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2831
+#: ../src/guestfs.pod:2837
msgid ""
"You can supply zero or as many tests as you want per API call. The tests "
"can either be added as part of the API description (C<generator/"
@@ -43941,61 +44115,61 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2838
+#: ../src/guestfs.pod:2844
msgid ""
"The following describes the test environment used when you add an API test "
"in C<generator_actions.ml>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2841
+#: ../src/guestfs.pod:2847
msgid "The test environment has 4 block devices:"
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2845
+#: ../src/guestfs.pod:2851
msgid "C</dev/sda> 500MB"
msgstr "C</dev/sda> 500 МБ"
#. type: textblock
-#: ../src/guestfs.pod:2847
+#: ../src/guestfs.pod:2853
msgid "General block device for testing."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2849
+#: ../src/guestfs.pod:2855
msgid "C</dev/sdb> 50MB"
msgstr "C</dev/sdb> 50 МБ"
#. type: textblock
-#: ../src/guestfs.pod:2851
+#: ../src/guestfs.pod:2857
msgid ""
"C</dev/sdb1> is an ext2 filesystem used for testing filesystem write "
"operations."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2854
+#: ../src/guestfs.pod:2860
msgid "C</dev/sdc> 10MB"
msgstr "C</dev/sdc> 10 МБ"
#. type: textblock
-#: ../src/guestfs.pod:2856
+#: ../src/guestfs.pod:2862
msgid "Used in a few tests where two block devices are needed."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2858
+#: ../src/guestfs.pod:2864
msgid "C</dev/sdd>"
msgstr "C</dev/sdd>"
#. type: textblock
-#: ../src/guestfs.pod:2860
+#: ../src/guestfs.pod:2866
msgid "ISO with fixed content (see C<images/test.iso>)."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2864
+#: ../src/guestfs.pod:2870
msgid ""
"To be able to run the tests in a reasonable amount of time, the libguestfs "
"appliance and block devices are reused between tests. So don't try testing "
@@ -44003,7 +44177,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2868
+#: ../src/guestfs.pod:2874
msgid ""
"Each test starts with an initial scenario, selected using one of the "
"C<Init*> expressions, described in C<generator/generator_types.ml>. These "
@@ -44013,7 +44187,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2874
+#: ../src/guestfs.pod:2880
msgid ""
"You can add a prerequisite clause to any individual test. This is a run-"
"time check, which, if it fails, causes the test to be skipped. Useful if "
@@ -44023,14 +44197,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2880
+#: ../src/guestfs.pod:2886
msgid ""
"In addition, packagers can skip individual tests by setting environment "
"variables before running C<make check>."
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2883
+#: ../src/guestfs.pod:2889
#, no-wrap
msgid ""
" SKIP_TEST_<CMD>_<NUM>=1\n"
@@ -44038,12 +44212,12 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2885
+#: ../src/guestfs.pod:2891
msgid "eg: C<SKIP_TEST_COMMAND_3=1> skips test #3 of L</guestfs_command>."
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2889
+#: ../src/guestfs.pod:2895
#, no-wrap
msgid ""
" SKIP_TEST_<CMD>=1\n"
@@ -44051,17 +44225,17 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2891
+#: ../src/guestfs.pod:2897
msgid "eg: C<SKIP_TEST_ZEROFREE=1> skips all L</guestfs_zerofree> tests."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2893
+#: ../src/guestfs.pod:2899
msgid "Packagers can run only certain tests by setting for example:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2895
+#: ../src/guestfs.pod:2901
#, no-wrap
msgid ""
" TEST_ONLY=\"vfs_type zerofree\"\n"
@@ -44069,29 +44243,29 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2897
+#: ../src/guestfs.pod:2903
msgid ""
"See C<tests/c-api/tests.c> for more details of how these environment "
"variables work."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:2900
+#: ../src/guestfs.pod:2906
msgid "DEBUGGING NEW API ACTIONS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2902
+#: ../src/guestfs.pod:2908
msgid "Test new actions work before submitting them."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2904
+#: ../src/guestfs.pod:2910
msgid "You can use guestfish to try out new commands."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2906
+#: ../src/guestfs.pod:2912
msgid ""
"Debugging the daemon is a problem because it runs inside a minimal "
"environment. However you can fprintf messages in the daemon to stderr, and "
@@ -44099,12 +44273,12 @@ msgid ""
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:2910
+#: ../src/guestfs.pod:2916
msgid "FORMATTING CODE AND OTHER CONVENTIONS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2912
+#: ../src/guestfs.pod:2918
msgid ""
"Our C source code generally adheres to some basic code-formatting "
"conventions. The existing code base is not totally consistent on this "
@@ -44114,14 +44288,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2918
+#: ../src/guestfs.pod:2924
msgid ""
"If you use Emacs, add the following to one of one of your start-up files (e."
"g., ~/.emacs), to help ensure that you get indentation right:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2921
+#: ../src/guestfs.pod:2927
#, no-wrap
msgid ""
" ;;; In libguestfs, indent with spaces everywhere (not TABs).\n"
@@ -44137,7 +44311,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2931
+#: ../src/guestfs.pod:2937
#, no-wrap
msgid ""
" ;;; When editing C sources in libguestfs, use this style.\n"
@@ -44155,12 +44329,12 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2943
+#: ../src/guestfs.pod:2949
msgid "Enable warnings when compiling (and fix any problems this finds):"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2946
+#: ../src/guestfs.pod:2952
#, no-wrap
msgid ""
" ./configure --enable-gcc-warnings\n"
@@ -44170,12 +44344,12 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:2948
+#: ../src/guestfs.pod:2954
msgid "Useful targets are:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2950
+#: ../src/guestfs.pod:2956
#, no-wrap
msgid ""
" make syntax-check -j1 -k # checks for various syntax and\n"
@@ -44184,7 +44358,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2953
+#: ../src/guestfs.pod:2959
#, no-wrap
msgid ""
" make check # runs the test suite\n"
@@ -44192,7 +44366,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2955
+#: ../src/guestfs.pod:2961
#, no-wrap
msgid ""
" make extra-tests # in-depth testing using valgrind\n"
@@ -44201,43 +44375,43 @@ msgid ""
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:2958
+#: ../src/guestfs.pod:2964
msgid "DAEMON CUSTOM PRINTF FORMATTERS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2960
+#: ../src/guestfs.pod:2966
msgid ""
"In the daemon code we have created custom printf formatters C<%Q> and C<%R>, "
"which are used to do shell quoting."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2965
+#: ../src/guestfs.pod:2971
msgid "%Q"
msgstr "%Q"
#. type: textblock
-#: ../src/guestfs.pod:2967
+#: ../src/guestfs.pod:2973
msgid ""
"Simple shell quoted string. Any spaces or other shell characters are "
"escaped for you."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2970
+#: ../src/guestfs.pod:2976
msgid "%R"
msgstr "%R"
#. type: textblock
-#: ../src/guestfs.pod:2972
+#: ../src/guestfs.pod:2978
msgid ""
"Same as C<%Q> except the string is treated as a path which is prefixed by "
"the sysroot."
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2979
+#: ../src/guestfs.pod:2985
#, no-wrap
msgid ""
" asprintf (&cmd, \"cat %R\", path);\n"
@@ -44247,12 +44421,12 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:2981
+#: ../src/guestfs.pod:2987
msgid "would produce C<cat /sysroot/some\\ path\\ with\\ spaces>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2983
+#: ../src/guestfs.pod:2989
msgid ""
"I<Note:> Do I<not> use these when you are passing parameters to the C<command"
"{,r,v,rv}()> functions. These parameters do NOT need to be quoted because "
@@ -44261,29 +44435,29 @@ msgid ""
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:2989
+#: ../src/guestfs.pod:2995
msgid "SUBMITTING YOUR NEW API ACTIONS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2991
+#: ../src/guestfs.pod:2997
msgid ""
"Submit patches to the mailing list: L<http://www.redhat.com/mailman/listinfo/"
"libguestfs> and CC to L<rjones@redhat.com>."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:2995
+#: ../src/guestfs.pod:3001
msgid "INTERNATIONALIZATION (I18N) SUPPORT"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2997
+#: ../src/guestfs.pod:3003
msgid "We support i18n (gettext anyhow) in the library."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2999
+#: ../src/guestfs.pod:3005
msgid ""
"However many messages come from the daemon, and we don't translate those at "
"the moment. One reason is that the appliance generally has all locale files "
@@ -44292,114 +44466,114 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3005
+#: ../src/guestfs.pod:3011
msgid ""
"Debugging messages are never translated, since they are intended for the "
"programmers."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:3008
+#: ../src/guestfs.pod:3014
msgid "SOURCE CODE SUBDIRECTORIES"
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:3012
+#: ../src/guestfs.pod:3018
msgid "C<align>"
msgstr "C<align>"
#. type: textblock
-#: ../src/guestfs.pod:3014
+#: ../src/guestfs.pod:3020
msgid "L<virt-alignment-scan(1)> command and documentation."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3018
+#: ../src/guestfs.pod:3024
msgid "The libguestfs appliance, build scripts and so on."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:3020
+#: ../src/guestfs.pod:3026
msgid "C<cat>"
msgstr "C<cat>"
#. type: textblock
-#: ../src/guestfs.pod:3022
+#: ../src/guestfs.pod:3028
msgid ""
"The L<virt-cat(1)>, L<virt-filesystems(1)> and L<virt-ls(1)> commands and "
"documentation."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:3025
+#: ../src/guestfs.pod:3031
msgid "C<clone>"
msgstr "C<clone>"
#. type: textblock
-#: ../src/guestfs.pod:3027
+#: ../src/guestfs.pod:3033
msgid ""
"Tools for cloning virtual machines. Currently contains L<virt-sysprep(1)> "
"command and documentation."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:3030
+#: ../src/guestfs.pod:3036
msgid "C<contrib>"
msgstr "C<contrib>"
#. type: textblock
-#: ../src/guestfs.pod:3032
+#: ../src/guestfs.pod:3038
msgid "Outside contributions, experimental parts."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:3034
+#: ../src/guestfs.pod:3040
msgid "C<daemon>"
msgstr "C<daemon>"
#. type: textblock
-#: ../src/guestfs.pod:3036
+#: ../src/guestfs.pod:3042
msgid ""
"The daemon that runs inside the libguestfs appliance and carries out actions."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:3039
+#: ../src/guestfs.pod:3045
msgid "C<df>"
msgstr "C<df>"
#. type: textblock
-#: ../src/guestfs.pod:3041
+#: ../src/guestfs.pod:3047
msgid "L<virt-df(1)> command and documentation."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:3043
+#: ../src/guestfs.pod:3049
msgid "C<edit>"
msgstr "C<edit>"
#. type: textblock
-#: ../src/guestfs.pod:3045
+#: ../src/guestfs.pod:3051
msgid "L<virt-edit(1)> command and documentation."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:3047
+#: ../src/guestfs.pod:3053
msgid "C<examples>"
msgstr "C<examples>"
#. type: textblock
-#: ../src/guestfs.pod:3049
+#: ../src/guestfs.pod:3055
msgid "C API example code."
msgstr "Код прикладів використання програмного інтерфейсу мовою C."
#. type: =item
-#: ../src/guestfs.pod:3051
+#: ../src/guestfs.pod:3057
msgid "C<fish>"
msgstr "C<fish>"
#. type: textblock
-#: ../src/guestfs.pod:3053
+#: ../src/guestfs.pod:3059
msgid ""
"L<guestfish(1)>, the command-line shell, and various shell scripts built on "
"top such as L<virt-copy-in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, "
@@ -44407,80 +44581,80 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3059
+#: ../src/guestfs.pod:3065
msgid "L<virt-format(1)> command and documentation."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:3061
+#: ../src/guestfs.pod:3067
msgid "C<fuse>"
msgstr "C<fuse>"
#. type: textblock
-#: ../src/guestfs.pod:3063
+#: ../src/guestfs.pod:3069
msgid ""
"L<guestmount(1)>, FUSE (userspace filesystem) built on top of libguestfs."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:3065
+#: ../src/guestfs.pod:3071
msgid "C<generator>"
msgstr "C<generator>"
#. type: textblock
-#: ../src/guestfs.pod:3067
+#: ../src/guestfs.pod:3073
msgid ""
"The crucially important generator, used to automatically generate large "
"amounts of boilerplate C code for things like RPC and bindings."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:3070
+#: ../src/guestfs.pod:3076
msgid "C<inspector>"
msgstr "C<inspector>"
#. type: textblock
-#: ../src/guestfs.pod:3072
+#: ../src/guestfs.pod:3078
msgid "L<virt-inspector(1)>, the virtual machine image inspector."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:3074
+#: ../src/guestfs.pod:3080
msgid "C<logo>"
msgstr "C<logo>"
#. type: textblock
-#: ../src/guestfs.pod:3076
+#: ../src/guestfs.pod:3082
msgid "Logo used on the website. The fish is called Arthur by the way."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:3078
+#: ../src/guestfs.pod:3084
msgid "C<m4>"
msgstr "C<m4>"
#. type: textblock
-#: ../src/guestfs.pod:3080
+#: ../src/guestfs.pod:3086
msgid "M4 macros used by autoconf."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:3082
+#: ../src/guestfs.pod:3088
msgid "C<po>"
msgstr "C<po>"
#. type: textblock
-#: ../src/guestfs.pod:3084
+#: ../src/guestfs.pod:3090
msgid "Translations of simple gettext strings."
msgstr "Переклади простих рядків gettext."
#. type: =item
-#: ../src/guestfs.pod:3086
+#: ../src/guestfs.pod:3092
msgid "C<po-docs>"
msgstr "C<po-docs>"
#. type: textblock
-#: ../src/guestfs.pod:3088
+#: ../src/guestfs.pod:3094
msgid ""
"The build infrastructure and PO files for translations of manpages and POD "
"files. Eventually this will be combined with the C<po> directory, but that "
@@ -44488,140 +44662,140 @@ msgid ""
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:3092
+#: ../src/guestfs.pod:3098
msgid "C<rescue>"
msgstr "C<rescue>"
#. type: textblock
-#: ../src/guestfs.pod:3094
+#: ../src/guestfs.pod:3100
msgid "L<virt-rescue(1)> command and documentation."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:3096
+#: ../src/guestfs.pod:3102
msgid "C<resize>"
msgstr "C<resize>"
#. type: textblock
-#: ../src/guestfs.pod:3098
+#: ../src/guestfs.pod:3104
msgid "L<virt-resize(1)> command and documentation."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:3100
+#: ../src/guestfs.pod:3106
msgid "C<sparsify>"
msgstr "C<sparsify>"
#. type: textblock
-#: ../src/guestfs.pod:3102
+#: ../src/guestfs.pod:3108
msgid "L<virt-sparsify(1)> command and documentation."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:3104
+#: ../src/guestfs.pod:3110
msgid "C<src>"
msgstr "C<src>"
#. type: textblock
-#: ../src/guestfs.pod:3106
+#: ../src/guestfs.pod:3112
msgid "Source code to the C library."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:3108
+#: ../src/guestfs.pod:3114
msgid "C<test-tool>"
msgstr "C<test-tool>"
#. type: textblock
-#: ../src/guestfs.pod:3110
+#: ../src/guestfs.pod:3116
msgid ""
"Test tool for end users to test if their qemu/kernel combination will work "
"with libguestfs."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:3113
+#: ../src/guestfs.pod:3119
msgid "C<tests>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3115
+#: ../src/guestfs.pod:3121
msgid "Tests."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:3117
+#: ../src/guestfs.pod:3123
msgid "C<tools>"
msgstr "C<tools>"
#. type: textblock
-#: ../src/guestfs.pod:3119
+#: ../src/guestfs.pod:3125
msgid ""
"Command line tools written in Perl (L<virt-win-reg(1)> and many others)."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:3121
+#: ../src/guestfs.pod:3127
msgid "C<csharp>"
msgstr "C<csharp>"
#. type: =item
-#: ../src/guestfs.pod:3123
+#: ../src/guestfs.pod:3129
msgid "C<erlang>"
msgstr "C<erlang>"
#. type: =item
-#: ../src/guestfs.pod:3125
+#: ../src/guestfs.pod:3131
msgid "C<gobject>"
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:3127
+#: ../src/guestfs.pod:3133
msgid "C<haskell>"
msgstr "C<haskell>"
#. type: =item
-#: ../src/guestfs.pod:3129
+#: ../src/guestfs.pod:3135
msgid "C<java>"
msgstr "C<java>"
#. type: =item
-#: ../src/guestfs.pod:3131
+#: ../src/guestfs.pod:3137
msgid "C<ocaml>"
msgstr "C<ocaml>"
#. type: =item
-#: ../src/guestfs.pod:3133
+#: ../src/guestfs.pod:3139
msgid "C<php>"
msgstr "C<php>"
#. type: =item
-#: ../src/guestfs.pod:3135
+#: ../src/guestfs.pod:3141
msgid "C<perl>"
msgstr "C<perl>"
#. type: =item
-#: ../src/guestfs.pod:3137
+#: ../src/guestfs.pod:3143
msgid "C<python>"
msgstr "C<python>"
#. type: =item
-#: ../src/guestfs.pod:3139
+#: ../src/guestfs.pod:3145
msgid "C<ruby>"
msgstr "C<ruby>"
#. type: textblock
-#: ../src/guestfs.pod:3141
+#: ../src/guestfs.pod:3147
msgid "Language bindings."
msgstr "Прив’язки до мов програмування."
#. type: =head2
-#: ../src/guestfs.pod:3145
+#: ../src/guestfs.pod:3151
msgid "MAKING A STABLE RELEASE"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3147
+#: ../src/guestfs.pod:3153
msgid ""
"When we make a stable release, there are several steps documented here. See "
"L</LIBGUESTFS VERSION NUMBERS> for general information about the stable "
@@ -44629,33 +44803,33 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3155
+#: ../src/guestfs.pod:3161
msgid ""
"Check C<make && make check> works on at least Fedora, Debian and Ubuntu."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3160
+#: ../src/guestfs.pod:3166
msgid "Finalize RELEASE-NOTES."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3164
+#: ../src/guestfs.pod:3170
msgid "Update ROADMAP."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3168
+#: ../src/guestfs.pod:3174
msgid "Run C<src/api-support/update-from-tarballs.sh>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3172
+#: ../src/guestfs.pod:3178
msgid "Push and pull from Transifex."
msgstr "Передавання даних на Transifex та отримання даних з Transifex."
#. type: verbatim
-#: ../src/guestfs.pod:3176
+#: ../src/guestfs.pod:3182
#, no-wrap
msgid ""
" tx push -s\n"
@@ -44665,13 +44839,13 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:3178
+#: ../src/guestfs.pod:3184
msgid "to push the latest POT files to Transifex. Then run:"
msgstr ""
"щоб надіслати найсвіжіші файли POT на Transifex. Потім віддайте команду:"
#. type: verbatim
-#: ../src/guestfs.pod:3180
+#: ../src/guestfs.pod:3186
#, no-wrap
msgid ""
" ./tx-pull.sh\n"
@@ -44681,24 +44855,24 @@ msgstr ""
"\n"
#. type: textblock
-#: ../src/guestfs.pod:3182
+#: ../src/guestfs.pod:3188
msgid "which is a wrapper to pull the latest translated C<*.po> files."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3186
+#: ../src/guestfs.pod:3192
msgid ""
"Create new stable and development directories under L<http://libguestfs.org/"
"download>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3191
+#: ../src/guestfs.pod:3197
msgid "Create the branch in git:"
msgstr "Створення гілки у git:"
#. type: verbatim
-#: ../src/guestfs.pod:3193
+#: ../src/guestfs.pod:3199
#, no-wrap
msgid ""
" git tag -a 1.XX.0 -m \"Version 1.XX.0 (stable)\"\n"
@@ -44714,17 +44888,17 @@ msgstr ""
"\n"
#. type: =head1
-#: ../src/guestfs.pod:3200
+#: ../src/guestfs.pod:3206
msgid "LIMITS"
msgstr "ОБМЕЖЕННЯ"
#. type: =head2
-#: ../src/guestfs.pod:3202
+#: ../src/guestfs.pod:3208
msgid "PROTOCOL LIMITS"
msgstr "ОБМЕЖЕННЯ ПРОТОКОЛУ"
#. type: textblock
-#: ../src/guestfs.pod:3204
+#: ../src/guestfs.pod:3210
msgid ""
"Internally libguestfs uses a message-based protocol to pass API calls and "
"their responses to and from a small \"appliance\" (see L</INTERNALS> for "
@@ -44735,7 +44909,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3212
+#: ../src/guestfs.pod:3218
msgid ""
"A simple call such as L</guestfs_cat> returns its result (the file data) in "
"a simple string. Because this string is at some point internally encoded as "
@@ -44744,7 +44918,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3218
+#: ../src/guestfs.pod:3224
msgid ""
"In order to transfer large files into and out of the guest filesystem, you "
"need to use particular calls that support this. The sections L</UPLOADING> "
@@ -44752,24 +44926,24 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3222
+#: ../src/guestfs.pod:3228
msgid ""
"You might also consider mounting the disk image using our FUSE filesystem "
"support (L<guestmount(1)>)."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:3225
+#: ../src/guestfs.pod:3231
msgid "MAXIMUM NUMBER OF DISKS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3227
+#: ../src/guestfs.pod:3233
msgid "When using virtio disks (the default) the current limit is B<25> disks."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3230
+#: ../src/guestfs.pod:3236
msgid ""
"Virtio itself consumes 1 virtual PCI slot per disk, and PCI is limited to 31 "
"slots. However febootstrap only understands disks with names C</dev/vda> "
@@ -44778,14 +44952,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3235
+#: ../src/guestfs.pod:3241
msgid ""
"We are working to substantially raise this limit in future versions but it "
"requires complex changes to qemu."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3238
+#: ../src/guestfs.pod:3244
msgid ""
"In future versions of libguestfs it should also be possible to \"hot plug\" "
"disks (add and remove disks after calling L</guestfs_launch>). This also "
@@ -44793,41 +44967,41 @@ msgid ""
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:3242
+#: ../src/guestfs.pod:3248
msgid "MAXIMUM NUMBER OF PARTITIONS PER DISK"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3244
+#: ../src/guestfs.pod:3250
msgid "Virtio limits the maximum number of partitions per disk to B<15>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3246
+#: ../src/guestfs.pod:3252
msgid ""
"This is because it reserves 4 bits for the minor device number (thus C</dev/"
"vda>, and C</dev/vda1> through C</dev/vda15>)."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3249
+#: ../src/guestfs.pod:3255
msgid ""
"If you attach a disk with more than 15 partitions, the extra partitions are "
"ignored by libguestfs."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:3252
+#: ../src/guestfs.pod:3258
msgid "MAXIMUM SIZE OF A DISK"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3254
+#: ../src/guestfs.pod:3260
msgid "Probably the limit is between 2**63-1 and 2**64-1 bytes."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3256
+#: ../src/guestfs.pod:3262
msgid ""
"We have tested block devices up to 1 exabyte (2**60 or "
"1,152,921,504,606,846,976 bytes) using sparse files backed by an XFS host "
@@ -44835,7 +45009,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3260
+#: ../src/guestfs.pod:3266
msgid ""
"Although libguestfs probably does not impose any limit, the underlying host "
"storage will. If you store disk images on a host ext4 filesystem, then the "
@@ -44845,19 +45019,19 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3266
+#: ../src/guestfs.pod:3272
msgid ""
"For the hugest disk image files, we recommend using XFS on the host for "
"storage."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:3269
+#: ../src/guestfs.pod:3275
msgid "MAXIMUM SIZE OF A PARTITION"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3271
+#: ../src/guestfs.pod:3277
msgid ""
"The MBR (ie. classic MS-DOS) partitioning scheme uses 32 bit sector "
"numbers. Assuming a 512 byte sector size, this means that MBR cannot "
@@ -44865,7 +45039,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3275
+#: ../src/guestfs.pod:3281
msgid ""
"It is recommended that you use GPT partitions on disks which are larger than "
"this size. GPT uses 64 bit sector numbers and so can address partitions "
@@ -44873,12 +45047,12 @@ msgid ""
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:3280
+#: ../src/guestfs.pod:3286
msgid "MAXIMUM SIZE OF A FILESYSTEM, FILES, DIRECTORIES"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3282
+#: ../src/guestfs.pod:3288
msgid ""
"This depends on the filesystem type. libguestfs itself does not impose any "
"known limit. Consult Wikipedia or the filesystem documentation to find out "
@@ -44886,12 +45060,12 @@ msgid ""
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:3286
+#: ../src/guestfs.pod:3292
msgid "MAXIMUM UPLOAD AND DOWNLOAD"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3288
+#: ../src/guestfs.pod:3294
msgid ""
"The API functions L</guestfs_upload>, L</guestfs_download>, L</"
"guestfs_tar_in>, L</guestfs_tar_out> and the like allow unlimited sized "
@@ -44899,12 +45073,12 @@ msgid ""
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:3292
+#: ../src/guestfs.pod:3298
msgid "INSPECTION LIMITS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3294
+#: ../src/guestfs.pod:3300
msgid ""
"The inspection code has several arbitrary limits on things like the size of "
"Windows Registry hive it will read, and the length of product name. These "
@@ -44914,33 +45088,33 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3320
+#: ../src/guestfs.pod:3326
msgid ""
"Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages. This has the same "
"effect as calling C<guestfs_set_verbose (g, 1)>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3332
+#: ../src/guestfs.pod:3338
msgid ""
"Set the path that libguestfs uses to search for a supermin appliance. See "
"the discussion of paths in section L</PATH> above."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3341
+#: ../src/guestfs.pod:3347
msgid "See also L</QEMU WRAPPERS> above."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3345
+#: ../src/guestfs.pod:3351
msgid ""
"Set C<LIBGUESTFS_TRACE=1> to enable command traces. This has the same "
"effect as calling C<guestfs_set_trace (g, 1)>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3363
+#: ../src/guestfs.pod:3369
msgid ""
"L<guestfs-examples(3)>, L<guestfs-erlang(3)>, L<guestfs-java(3)>, L<guestfs-"
"ocaml(3)>, L<guestfs-perl(3)>, L<guestfs-python(3)>, L<guestfs-ruby(3)>, "
@@ -44956,7 +45130,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:3402
+#: ../src/guestfs.pod:3408
msgid ""
"Tools with a similar purpose: L<fdisk(8)>, L<parted(8)>, L<kpartx(8)>, L<lvm"
"(8)>, L<disktype(1)>."
@@ -44990,14 +45164,6 @@ msgstr ""
msgid "If you suspect a problem in libguestfs, then just run:"
msgstr ""
-#. type: verbatim
-#: ../test-tool/libguestfs-test-tool.pod:21
-#, no-wrap
-msgid ""
-" libguestfs-test-tool\n"
-"\n"
-msgstr ""
-
#. type: textblock
#: ../test-tool/libguestfs-test-tool.pod:23
msgid "It will print lots of diagnostic messages."
@@ -46204,89 +46370,89 @@ msgid ""
msgstr ""
#. type: =head1
-#: ../tools/virt-win-reg.pl:556
+#: ../tools/virt-win-reg.pl:546
msgid "SUPPORTED SYSTEMS"
msgstr "ПІДТРИМУВАНІ СИСТЕМИ"
#. type: textblock
-#: ../tools/virt-win-reg.pl:558
+#: ../tools/virt-win-reg.pl:548
msgid ""
"The program currently supports Windows NT-derived guests starting with "
"Windows XP through to at least Windows 7."
msgstr ""
#. type: textblock
-#: ../tools/virt-win-reg.pl:561
+#: ../tools/virt-win-reg.pl:551
msgid "The following Registry keys are supported:"
msgstr ""
#. type: =item
-#: ../tools/virt-win-reg.pl:565
+#: ../tools/virt-win-reg.pl:555
msgid "C<HKEY_LOCAL_MACHINE\\SAM>"
msgstr "C<HKEY_LOCAL_MACHINE\\SAM>"
#. type: =item
-#: ../tools/virt-win-reg.pl:567
+#: ../tools/virt-win-reg.pl:557
msgid "C<HKEY_LOCAL_MACHINE\\SECURITY>"
msgstr "C<HKEY_LOCAL_MACHINE\\SECURITY>"
#. type: =item
-#: ../tools/virt-win-reg.pl:569
+#: ../tools/virt-win-reg.pl:559
msgid "C<HKEY_LOCAL_MACHINE\\SOFTWARE>"
msgstr "C<HKEY_LOCAL_MACHINE\\SOFTWARE>"
#. type: =item
-#: ../tools/virt-win-reg.pl:571
+#: ../tools/virt-win-reg.pl:561
msgid "C<HKEY_LOCAL_MACHINE\\SYSTEM>"
msgstr "C<HKEY_LOCAL_MACHINE\\SYSTEM>"
#. type: =item
-#: ../tools/virt-win-reg.pl:573
+#: ../tools/virt-win-reg.pl:563
msgid "C<HKEY_USERS\\.DEFAULT>"
msgstr "C<HKEY_USERS\\.DEFAULT>"
#. type: =item
-#: ../tools/virt-win-reg.pl:575
+#: ../tools/virt-win-reg.pl:565
msgid "C<HKEY_USERS\\I<SID>>"
msgstr "C<HKEY_USERS\\I<SID>>"
#. type: textblock
-#: ../tools/virt-win-reg.pl:577
+#: ../tools/virt-win-reg.pl:567
msgid "where I<SID> is a Windows User SID (eg. C<S-1-5-18>)."
msgstr ""
#. type: =item
-#: ../tools/virt-win-reg.pl:579
+#: ../tools/virt-win-reg.pl:569
msgid "C<HKEY_USERS\\I<username>>"
msgstr "C<HKEY_USERS\\I<користувач>>"
#. type: textblock
-#: ../tools/virt-win-reg.pl:581
+#: ../tools/virt-win-reg.pl:571
msgid ""
"where I<username> is a local user name (this is a libguestfs extension)."
msgstr ""
#. type: textblock
-#: ../tools/virt-win-reg.pl:585
+#: ../tools/virt-win-reg.pl:575
msgid ""
"You can use C<HKLM> as a shorthand for C<HKEY_LOCAL_MACHINE>, and C<HKU> for "
"C<HKEY_USERS>."
msgstr ""
#. type: textblock
-#: ../tools/virt-win-reg.pl:588
+#: ../tools/virt-win-reg.pl:578
msgid ""
"The literal keys C<HKEY_USERS\\$SID> and C<HKEY_CURRENT_USER> are not "
"supported (there is no \"current user\")."
msgstr ""
#. type: =head1
-#: ../tools/virt-win-reg.pl:591
+#: ../tools/virt-win-reg.pl:581
msgid "ENCODING"
msgstr "КОДУВАННЯ"
#. type: textblock
-#: ../tools/virt-win-reg.pl:593
+#: ../tools/virt-win-reg.pl:583
msgid ""
"C<virt-win-reg> expects that regedit files have already been reencoded in "
"the local encoding. Usually on Linux hosts, this means UTF-8 with Unix-"
@@ -46296,14 +46462,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../tools/virt-win-reg.pl:599
+#: ../tools/virt-win-reg.pl:589
msgid ""
"To reencode a file from Windows format to Linux (before processing it with "
"the I<--merge> option), you would do something like this:"
msgstr ""
#. type: verbatim
-#: ../tools/virt-win-reg.pl:602
+#: ../tools/virt-win-reg.pl:592
#, no-wrap
msgid ""
" iconv -f utf-16le -t utf-8 < win.reg | dos2unix > linux.reg\n"
@@ -46313,14 +46479,14 @@ msgstr ""
"\n"
#. type: textblock
-#: ../tools/virt-win-reg.pl:604
+#: ../tools/virt-win-reg.pl:594
msgid ""
"To go in the opposite direction, after exporting and before sending the file "
"to a Windows user, do something like this:"
msgstr ""
#. type: verbatim
-#: ../tools/virt-win-reg.pl:607
+#: ../tools/virt-win-reg.pl:597
#, no-wrap
msgid ""
" unix2dos linux.reg | iconv -f utf-8 -t utf-16le > win.reg\n"
@@ -46330,12 +46496,12 @@ msgstr ""
"\n"
#. type: textblock
-#: ../tools/virt-win-reg.pl:609
+#: ../tools/virt-win-reg.pl:599
msgid "For more information about encoding, see L<Win::Hivex::Regedit(3)>."
msgstr ""
#. type: textblock
-#: ../tools/virt-win-reg.pl:611
+#: ../tools/virt-win-reg.pl:601
msgid ""
"If you are unsure about the current encoding, use the L<file(1)> command. "
"Recent versions of Windows regedit.exe produce a UTF-16LE file with Windows-"
@@ -46343,7 +46509,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../tools/virt-win-reg.pl:615
+#: ../tools/virt-win-reg.pl:605
#, no-wrap
msgid ""
" $ file software.reg\n"
@@ -46353,17 +46519,17 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../tools/virt-win-reg.pl:619
+#: ../tools/virt-win-reg.pl:609
msgid "This file would need conversion before you could I<--merge> it."
msgstr ""
#. type: =head1
-#: ../tools/virt-win-reg.pl:621
+#: ../tools/virt-win-reg.pl:611
msgid "CurrentControlSet etc."
msgstr ""
#. type: textblock
-#: ../tools/virt-win-reg.pl:623
+#: ../tools/virt-win-reg.pl:613
msgid ""
"Registry keys like C<CurrentControlSet> don't really exist in the Windows "
"Registry at the level of the hive file, and therefore you cannot modify "
@@ -46371,7 +46537,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../tools/virt-win-reg.pl:627
+#: ../tools/virt-win-reg.pl:617
msgid ""
"C<CurrentControlSet> is usually an alias for C<ControlSet001>. In some "
"circumstances it might refer to another control set. The way to find out is "
@@ -46379,7 +46545,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../tools/virt-win-reg.pl:631
+#: ../tools/virt-win-reg.pl:621
#, no-wrap
msgid ""
" # virt-win-reg WindowsGuest 'HKLM\\SYSTEM\\Select'\n"
@@ -46399,28 +46565,28 @@ msgstr ""
"\n"
#. type: textblock
-#: ../tools/virt-win-reg.pl:638
+#: ../tools/virt-win-reg.pl:628
msgid "\"Current\" is the one which Windows will choose when it boots."
msgstr ""
#. type: textblock
-#: ../tools/virt-win-reg.pl:640
+#: ../tools/virt-win-reg.pl:630
msgid ""
"Similarly, other C<Current...> keys in the path may need to be replaced."
msgstr ""
#. type: =head1
-#: ../tools/virt-win-reg.pl:643
+#: ../tools/virt-win-reg.pl:633
msgid "DELETING REGISTRY KEYS AND VALUES"
msgstr ""
#. type: textblock
-#: ../tools/virt-win-reg.pl:645
+#: ../tools/virt-win-reg.pl:635
msgid "To delete a whole registry key, use the syntax:"
msgstr ""
#. type: verbatim
-#: ../tools/virt-win-reg.pl:647
+#: ../tools/virt-win-reg.pl:637
#, no-wrap
msgid ""
" [-HKEY_LOCAL_MACHINE\\Foo]\n"
@@ -46428,12 +46594,12 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../tools/virt-win-reg.pl:649
+#: ../tools/virt-win-reg.pl:639
msgid "To delete a single value within a key, use the syntax:"
msgstr ""
#. type: verbatim
-#: ../tools/virt-win-reg.pl:651
+#: ../tools/virt-win-reg.pl:641
#, no-wrap
msgid ""
" [HKEY_LOCAL_MACHINE\\Foo]\n"
@@ -46442,24 +46608,24 @@ msgid ""
msgstr ""
#. type: =head1
-#: ../tools/virt-win-reg.pl:654
+#: ../tools/virt-win-reg.pl:644
msgid "WINDOWS TIPS"
msgstr ""
#. type: textblock
-#: ../tools/virt-win-reg.pl:656
+#: ../tools/virt-win-reg.pl:646
msgid ""
"Note that some of these tips modify the guest disk image. The guest I<must> "
"be shut off, else you will get disk corruption."
msgstr ""
#. type: =head2
-#: ../tools/virt-win-reg.pl:659
+#: ../tools/virt-win-reg.pl:649
msgid "RUNNING A BATCH SCRIPT WHEN A USER LOGS IN"
msgstr ""
#. type: textblock
-#: ../tools/virt-win-reg.pl:661
+#: ../tools/virt-win-reg.pl:651
msgid ""
"Prepare a DOS batch script, VBScript or executable. Upload this using "
"L<guestfish(1)>. For this example the script is called C<test.bat> and it "
@@ -46467,7 +46633,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../tools/virt-win-reg.pl:665
+#: ../tools/virt-win-reg.pl:655
#, no-wrap
msgid ""
" guestfish -i -d WindowsGuest upload test.bat /test.bat\n"
@@ -46477,12 +46643,12 @@ msgstr ""
"\n"
#. type: textblock
-#: ../tools/virt-win-reg.pl:667
+#: ../tools/virt-win-reg.pl:657
msgid "Prepare a regedit file containing the registry change:"
msgstr ""
#. type: verbatim
-#: ../tools/virt-win-reg.pl:669
+#: ../tools/virt-win-reg.pl:659
#, no-wrap
msgid ""
" cat > test.reg <<'EOF'\n"
@@ -46498,7 +46664,7 @@ msgstr ""
"\n"
#. type: textblock
-#: ../tools/virt-win-reg.pl:674
+#: ../tools/virt-win-reg.pl:664
msgid ""
"In this example we use the key C<RunOnce> which means that the script will "
"run precisely once when the first user logs in. If you want it to run every "
@@ -46506,12 +46672,12 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../tools/virt-win-reg.pl:678
+#: ../tools/virt-win-reg.pl:668
msgid "Now update the registry:"
msgstr "Оновіть регістр:"
#. type: verbatim
-#: ../tools/virt-win-reg.pl:680
+#: ../tools/virt-win-reg.pl:670
#, no-wrap
msgid ""
" virt-win-reg --merge WindowsGuest test.reg\n"
@@ -46519,12 +46685,12 @@ msgid ""
msgstr ""
#. type: =head2
-#: ../tools/virt-win-reg.pl:682
+#: ../tools/virt-win-reg.pl:672
msgid "INSTALLING A SERVICE"
msgstr ""
#. type: textblock
-#: ../tools/virt-win-reg.pl:684
+#: ../tools/virt-win-reg.pl:674
msgid ""
"This section assumes you are familiar with Windows services, and you either "
"have a program which handles the Windows Service Control Protocol directly "
@@ -46533,14 +46699,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../tools/virt-win-reg.pl:689
+#: ../tools/virt-win-reg.pl:679
msgid ""
"First upload the program and optionally the service wrapper. In this case "
"the test program is called C<test.exe> and we are using the RHSrvAny wrapper:"
msgstr ""
#. type: verbatim
-#: ../tools/virt-win-reg.pl:693
+#: ../tools/virt-win-reg.pl:683
#, no-wrap
msgid ""
" guestfish -i -d WindowsGuest <<EOF\n"
@@ -46556,7 +46722,7 @@ msgstr ""
"\n"
#. type: textblock
-#: ../tools/virt-win-reg.pl:698
+#: ../tools/virt-win-reg.pl:688
msgid ""
"Prepare a regedit file containing the registry changes. In this example, "
"the first registry change is needed for the service itself or the service "
@@ -46565,7 +46731,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: ../tools/virt-win-reg.pl:703
+#: ../tools/virt-win-reg.pl:693
#, no-wrap
msgid ""
" cat > service.reg <<'EOF'\n"
@@ -46589,7 +46755,7 @@ msgstr ""
" \n"
#. type: verbatim
-#: ../tools/virt-win-reg.pl:712
+#: ../tools/virt-win-reg.pl:702
#, no-wrap
msgid ""
" [HKLM\\SYSTEM\\ControlSet001\\services\\RHSrvAny\\Parameters]\n"
@@ -46605,7 +46771,7 @@ msgstr ""
"\n"
#. type: textblock
-#: ../tools/virt-win-reg.pl:723
+#: ../tools/virt-win-reg.pl:713
msgid ""
"For use of C<ControlSet001> see the section above in this manual page. You "
"may need to adjust this according to the control set that is in use by the "
@@ -46613,7 +46779,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../tools/virt-win-reg.pl:729
+#: ../tools/virt-win-reg.pl:719
msgid ""
"C<\"ObjectName\"> controls the privileges that the service will have. An "
"alternative is C<\"ObjectName\"=\"LocalSystem\"> which would be the most "
@@ -46621,19 +46787,19 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../tools/virt-win-reg.pl:735
+#: ../tools/virt-win-reg.pl:725
msgid ""
"For the meaning of the magic numbers, see this Microsoft KB article: "
"L<http://support.microsoft.com/kb/103000>."
msgstr ""
#. type: textblock
-#: ../tools/virt-win-reg.pl:740
+#: ../tools/virt-win-reg.pl:730
msgid "Update the registry:"
msgstr "Оновіть регістр:"
#. type: verbatim
-#: ../tools/virt-win-reg.pl:742
+#: ../tools/virt-win-reg.pl:732
#, no-wrap
msgid ""
" virt-win-reg --merge WindowsGuest service.reg\n"
@@ -46641,7 +46807,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../tools/virt-win-reg.pl:746
+#: ../tools/virt-win-reg.pl:736
msgid ""
"Be careful when passing parameters containing C<\\> (backslash) in the "
"shell. Usually you will have to use 'single quotes' or double backslashes "
@@ -46649,12 +46815,12 @@ msgid ""
msgstr ""
#. type: textblock
-#: ../tools/virt-win-reg.pl:750
+#: ../tools/virt-win-reg.pl:740
msgid "Paths and value names are case-insensitive."
msgstr ""
#. type: textblock
-#: ../tools/virt-win-reg.pl:759
+#: ../tools/virt-win-reg.pl:749
msgid ""
"L<hivex(3)>, L<hivexsh(1)>, L<hivexregedit(1)>, L<guestfs(3)>, L<guestfish(1)"
">, L<virt-cat(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Win::Hivex"
@@ -46665,7 +46831,7 @@ msgstr ""
"(3)>, L<Win::Hivex::Regedit(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
#. type: textblock
-#: ../tools/virt-win-reg.pl:778
+#: ../tools/virt-win-reg.pl:768
msgid "Copyright (C) 2010 Red Hat Inc."
msgstr "©Red Hat Inc., 2010"