diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-10-01 16:30:08 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-10-01 16:30:08 +0100 |
commit | fd4f05d176c804ba9dd1bda5f84f87d4e2bfbcc4 (patch) | |
tree | 185bbd1c6e8fcaeedb28464d1bcfcf153544a831 | |
parent | 750188d87ad8a437d4fa72184ec6cc737cc3fd1d (diff) | |
download | libguestfs-1.18.9.tar.gz libguestfs-1.18.9.tar.xz libguestfs-1.18.9.zip |
Version 1.18.9.1.18.9
-rw-r--r-- | BUGS | 67 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | po-docs/ja.po | 3261 | ||||
-rw-r--r-- | po-docs/libguestfs-docs.pot | 3072 | ||||
-rw-r--r-- | po-docs/uk.po | 3256 | ||||
-rw-r--r-- | po/en_GB.po | 147 | ||||
-rw-r--r-- | po/es.po | 155 | ||||
-rw-r--r-- | po/gu.po | 147 | ||||
-rw-r--r-- | po/hi.po | 147 | ||||
-rw-r--r-- | po/kn.po | 147 | ||||
-rw-r--r-- | po/libguestfs.pot | 149 | ||||
-rw-r--r-- | po/ml.po | 147 | ||||
-rw-r--r-- | po/mr.po | 153 | ||||
-rw-r--r-- | po/nl.po | 153 | ||||
-rw-r--r-- | po/or.po | 147 | ||||
-rw-r--r-- | po/pa.po | 153 | ||||
-rw-r--r-- | po/pl.po | 157 | ||||
-rw-r--r-- | po/ta.po | 147 | ||||
-rw-r--r-- | po/te.po | 147 | ||||
-rw-r--r-- | po/uk.po | 157 |
20 files changed, 6367 insertions, 5544 deletions
@@ -1,5 +1,5 @@ NOTE: This file is automatically generated from "update-bugs.sh". -Last updated: 2012-09-19 +Last updated: 2012-10-01 This contains a local list of the bugs that are open against libguestfs. Bugs are tracked in the Red Hat Bugzilla database @@ -119,15 +119,6 @@ Bugs in NEW or ASSIGNED state are open and waiting for someone to fix. 801117 NEW https://bugzilla.redhat.com/show_bug.cgi?id=801117 libguestfs cannot get icon for Windows 8 preview -801640 NEW https://bugzilla.redhat.com/show_bug.cgi?id=801640 - [RFE] the error reported by resize2fs-M need to be more clear - -802389 NEW https://bugzilla.redhat.com/show_bug.cgi?id=802389 - event handlers for 'close' event doesn't work in remote mode - -803643 NEW https://bugzilla.redhat.com/show_bug.cgi?id=803643 - inspect-is-multipart return false when inspection results should be true - 803650 NEW https://bugzilla.redhat.com/show_bug.cgi?id=803650 inspect-is-live return false when inspection results should be true @@ -176,9 +167,6 @@ Bugs in NEW or ASSIGNED state are open and waiting for someone to fix. 824782 NEW https://bugzilla.redhat.com/show_bug.cgi?id=824782 virt-resize cannot resize PowerPC guests -830135 NEW https://bugzilla.redhat.com/show_bug.cgi?id=830135 - libguestfs should support mount-local APIs in RHEL 6 (for OpenStack) - 832602 NEW https://bugzilla.redhat.com/show_bug.cgi?id=832602 "error in chunked encoding" when trying to extract (tar-out) a truncated ISO image @@ -191,9 +179,6 @@ Bugs in NEW or ASSIGNED state are open and waiting for someone to fix. 835622 NEW https://bugzilla.redhat.com/show_bug.cgi?id=835622 virt-sparsify to LVM thin raw volume isn't sparse -836501 NEW https://bugzilla.redhat.com/show_bug.cgi?id=836501 - dependency on fuse suggested - 837941 NEW https://bugzilla.redhat.com/show_bug.cgi?id=837941 Data loss when writing to qcow2-format disk files @@ -209,9 +194,6 @@ Bugs in NEW or ASSIGNED state are open and waiting for someone to fix. 843188 NEW https://bugzilla.redhat.com/show_bug.cgi?id=843188 Ruby bindings segfault in event callbacks when the Ruby GC is invoked. -843199 NEW https://bugzilla.redhat.com/show_bug.cgi?id=843199 - Ruby bindings segfault in event callbacks when the Ruby GC is invoked. - 845234 NEW https://bugzilla.redhat.com/show_bug.cgi?id=845234 RFE: virt-ls on Windows guest doesn't support drive letters @@ -224,23 +206,20 @@ Bugs in NEW or ASSIGNED state are open and waiting for someone to fix. 852194 NEW https://bugzilla.redhat.com/show_bug.cgi?id=852194 virt-sparsify --compress fails if output is raw format -853763 NEW https://bugzilla.redhat.com/show_bug.cgi?id=853763 - virt-sparsify should use a more robust method to detect the input format - 857763 NEW https://bugzilla.redhat.com/show_bug.cgi?id=857763 libguestfs 'file-architecture' returns 'ARM' for arm binaries -858126 NEW https://bugzilla.redhat.com/show_bug.cgi?id=858126 - virt-inspector fail to work with some windows guests +859875 NEW https://bugzilla.redhat.com/show_bug.cgi?id=859875 + Progress bar output should go to tty(?) stderr(?) -858128 NEW https://bugzilla.redhat.com/show_bug.cgi?id=858128 - libguestfs fail to list devices added by add-drive-ro-with-if twice +859876 NEW https://bugzilla.redhat.com/show_bug.cgi?id=859876 + guestfish printed paths are not canonicalized -858648 NEW https://bugzilla.redhat.com/show_bug.cgi?id=858648 - libguestfs can not be installed with recent iptables +859885 NEW https://bugzilla.redhat.com/show_bug.cgi?id=859885 + inspect-list-applications does not list all installed RPM packages with same name and different versions -858696 NEW https://bugzilla.redhat.com/show_bug.cgi?id=858696 - virt-sysprep reports Guestfs.Error("read_lines: fopen: /etc/sysconfig/network: No such file or directory") on some Fedora guests +859949 NEW https://bugzilla.redhat.com/show_bug.cgi?id=859949 + RFE: inspect-list-applications does not return the architecture of RPM packages 503134 ASSIGNED https://bugzilla.redhat.com/show_bug.cgi?id=503134 guestfish's list splitting does not recognize internal quoting @@ -260,24 +239,48 @@ Bugs in NEW or ASSIGNED state are open and waiting for someone to fix. 713678 ASSIGNED https://bugzilla.redhat.com/show_bug.cgi?id=713678 Not all febootstrap messages are redirected to log callbacks -(80 bugs) +(73 bugs) -------------------------------------------------- Bugs in MODIFIED, POST or ON_QA state are fixed. You can help by testing the fixes. +801640 ON_QA https://bugzilla.redhat.com/show_bug.cgi?id=801640 + [RFE] the error reported by resize2fs-M need to be more clear + +803643 ON_QA https://bugzilla.redhat.com/show_bug.cgi?id=803643 + inspect-is-multipart return false when inspection results should be true + 816839 ON_QA https://bugzilla.redhat.com/show_bug.cgi?id=816839 data overflow error when debug progress -1 822626 ON_QA https://bugzilla.redhat.com/show_bug.cgi?id=822626 virt-ls error: "libguestfs: error: checksum: path: parameter cannot be NULL" +830135 ON_QA https://bugzilla.redhat.com/show_bug.cgi?id=830135 + libguestfs should support mount-local APIs in RHEL 6 (for OpenStack) + +836501 ON_QA https://bugzilla.redhat.com/show_bug.cgi?id=836501 + dependency on fuse suggested + 837691 ON_QA https://bugzilla.redhat.com/show_bug.cgi?id=837691 Data loss when writing to qcow2-format disk files 838609 ON_QA https://bugzilla.redhat.com/show_bug.cgi?id=838609 guestmount + fusermount allows a race condition when unmounting and immediately using the disk image -(4 bugs) +853763 ON_QA https://bugzilla.redhat.com/show_bug.cgi?id=853763 + virt-sparsify should use a more robust method to detect the input format + +858126 ON_QA https://bugzilla.redhat.com/show_bug.cgi?id=858126 + virt-inspector fail to work with some windows guests + +858128 ON_QA https://bugzilla.redhat.com/show_bug.cgi?id=858128 + libguestfs fail to list devices added by add-drive-ro-with-if twice + +858648 ON_QA https://bugzilla.redhat.com/show_bug.cgi?id=858648 + libguestfs can not be installed with recent iptables + +(12 bugs) End of BUGS file. diff --git a/configure.ac b/configure.ac index c22025d8..1deab7d5 100644 --- a/configure.ac +++ b/configure.ac @@ -20,7 +20,7 @@ # freeform string. m4_define([libguestfs_major], [1]) m4_define([libguestfs_minor], [18]) -m4_define([libguestfs_release], [8]) +m4_define([libguestfs_release], [9]) AC_INIT([libguestfs],libguestfs_major.libguestfs_minor.libguestfs_release) AC_CONFIG_AUX_DIR([build-aux]) diff --git a/po-docs/ja.po b/po-docs/ja.po index 620eeab2..83836802 100644 --- a/po-docs/ja.po +++ b/po-docs/ja.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: libguestfs\n" "Report-Msgid-Bugs-To: libguestfs@redhat.com\n" -"POT-Creation-Date: 2012-09-19 13:50+0200\n" +"POT-Creation-Date: 2012-10-01 16:29+0200\n" "PO-Revision-Date: 2012-07-10 17:15+0000\n" "Last-Translator: rjones <rjones@redhat.com>\n" "Language-Team: Japanese <trans-ja@lists.fedoraproject.org>\n" @@ -528,7 +528,7 @@ msgstr "" #: ../df/virt-df.pod:110 ../edit/virt-edit.pod:141 ../fish/guestfish.pod:242 #: ../fish/guestfish.pod:685 ../format/virt-format.pod:96 #: ../inspector/virt-inspector.pod:350 ../rescue/virt-rescue.pod:164 -#: ../src/guestfs.pod:3056 ../sysprep/virt-sysprep.pod:111 +#: ../src/guestfs.pod:3062 ../sysprep/virt-sysprep.pod:111 msgid "For example:" msgstr "例:" @@ -1074,7 +1074,7 @@ msgstr "" #: ../resize/virt-resize.pod:690 ../sysprep/virt-sysprep.pod:431 #: ../tools/virt-list-filesystems.pl:190 ../tools/virt-list-partitions.pl:260 #: ../tools/virt-make-fs.pl:583 ../tools/virt-tar.pl:287 -#: ../tools/virt-win-reg.pl:744 +#: ../tools/virt-win-reg.pl:734 msgid "SHELL QUOTING" msgstr "" @@ -1086,7 +1086,7 @@ msgstr "" #: ../resize/virt-resize.pod:692 ../sysprep/virt-sysprep.pod:433 #: ../tools/virt-list-filesystems.pl:192 ../tools/virt-list-partitions.pl:262 #: ../tools/virt-make-fs.pl:585 ../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 " @@ -1120,20 +1120,20 @@ msgstr "このプログラムは以下を返します:" #: ../cat/virt-cat.pod:202 ../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-faq.pod:150 -#: ../examples/guestfs-faq.pod:156 ../examples/guestfs-faq.pod:195 -#: ../examples/guestfs-faq.pod:201 ../examples/guestfs-performance.pod:107 +#: ../edit/virt-edit.pod:291 ../examples/guestfs-faq.pod:149 +#: ../examples/guestfs-faq.pod:155 ../examples/guestfs-faq.pod:194 +#: ../examples/guestfs-faq.pod:200 ../examples/guestfs-performance.pod:107 #: ../examples/guestfs-performance.pod:113 #: ../examples/guestfs-performance.pod:118 #: ../examples/guestfs-performance.pod:253 #: ../examples/guestfs-performance.pod:258 -#: ../examples/guestfs-performance.pod:263 ../examples/guestfs-recipes.pod:126 -#: ../examples/guestfs-recipes.pod:130 ../examples/guestfs-recipes.pod:134 -#: ../examples/guestfs-recipes.pod:160 ../examples/guestfs-recipes.pod:165 -#: ../examples/guestfs-recipes.pod:255 ../examples/guestfs-recipes.pod:259 -#: ../examples/guestfs-recipes.pod:263 ../examples/guestfs-recipes.pod:267 -#: ../examples/guestfs-recipes.pod:271 ../examples/guestfs-testing.pod:110 -#: ../examples/guestfs-testing.pod:114 ../examples/guestfs-testing.pod:118 +#: ../examples/guestfs-performance.pod:263 ../examples/guestfs-recipes.pod:128 +#: ../examples/guestfs-recipes.pod:132 ../examples/guestfs-recipes.pod:136 +#: ../examples/guestfs-recipes.pod:162 ../examples/guestfs-recipes.pod:167 +#: ../examples/guestfs-recipes.pod:257 ../examples/guestfs-recipes.pod:261 +#: ../examples/guestfs-recipes.pod:265 ../examples/guestfs-recipes.pod:269 +#: ../examples/guestfs-recipes.pod:273 ../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 @@ -1173,22 +1173,22 @@ msgstr "このプログラムは以下を返します:" #: ../src/guestfs-actions.pod:3227 ../src/guestfs-actions.pod:3782 #: ../src/guestfs-actions.pod:3788 ../src/guestfs-actions.pod:3796 #: ../src/guestfs-actions.pod:3803 ../src/guestfs-actions.pod:3810 -#: ../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:1197 -#: ../src/guestfs.pod:1201 ../src/guestfs.pod:1205 ../src/guestfs.pod:1210 -#: ../src/guestfs.pod:1218 ../src/guestfs.pod:1237 ../src/guestfs.pod:1245 -#: ../src/guestfs.pod:1262 ../src/guestfs.pod:1267 ../src/guestfs.pod:1271 -#: ../src/guestfs.pod:1328 ../src/guestfs.pod:1332 ../src/guestfs.pod:1336 -#: ../src/guestfs.pod:1340 ../src/guestfs.pod:1344 ../src/guestfs.pod:1348 -#: ../src/guestfs.pod:1863 ../src/guestfs.pod:1868 ../src/guestfs.pod:1872 -#: ../src/guestfs.pod:1974 ../src/guestfs.pod:1979 ../src/guestfs.pod:1983 -#: ../src/guestfs.pod:1993 ../src/guestfs.pod:2282 ../src/guestfs.pod:2287 -#: ../src/guestfs.pod:2293 ../src/guestfs.pod:2301 ../src/guestfs.pod:2818 -#: ../src/guestfs.pod:2824 ../src/guestfs.pod:2829 ../src/guestfs.pod:2835 -#: ../src/guestfs.pod:3231 ../src/guestfs.pod:3236 ../src/guestfs.pod:3240 -#: ../src/guestfs.pod:3244 ../src/guestfs.pod:3248 ../src/guestfs.pod:3262 -#: ../src/guestfs.pod:3267 ../sysprep/virt-sysprep.pod:230 +#: ../src/guestfs.pod:394 ../src/guestfs.pod:399 ../src/guestfs.pod:404 +#: ../src/guestfs.pod:408 ../src/guestfs.pod:413 ../src/guestfs.pod:417 +#: ../src/guestfs.pod:422 ../src/guestfs.pod:427 ../src/guestfs.pod:1203 +#: ../src/guestfs.pod:1207 ../src/guestfs.pod:1211 ../src/guestfs.pod:1216 +#: ../src/guestfs.pod:1224 ../src/guestfs.pod:1243 ../src/guestfs.pod:1251 +#: ../src/guestfs.pod:1268 ../src/guestfs.pod:1273 ../src/guestfs.pod:1277 +#: ../src/guestfs.pod:1334 ../src/guestfs.pod:1338 ../src/guestfs.pod:1342 +#: ../src/guestfs.pod:1346 ../src/guestfs.pod:1350 ../src/guestfs.pod:1354 +#: ../src/guestfs.pod:1869 ../src/guestfs.pod:1874 ../src/guestfs.pod:1878 +#: ../src/guestfs.pod:1980 ../src/guestfs.pod:1985 ../src/guestfs.pod:1989 +#: ../src/guestfs.pod:1999 ../src/guestfs.pod:2288 ../src/guestfs.pod:2293 +#: ../src/guestfs.pod:2299 ../src/guestfs.pod:2307 ../src/guestfs.pod:2824 +#: ../src/guestfs.pod:2830 ../src/guestfs.pod:2835 ../src/guestfs.pod:2841 +#: ../src/guestfs.pod:3237 ../src/guestfs.pod:3242 ../src/guestfs.pod:3246 +#: ../src/guestfs.pod:3250 ../src/guestfs.pod:3254 ../src/guestfs.pod:3268 +#: ../src/guestfs.pod:3273 ../sysprep/virt-sysprep.pod:230 #: ../sysprep/virt-sysprep.pod:234 ../sysprep/virt-sysprep.pod:238 #: ../sysprep/virt-sysprep.pod:242 ../sysprep/virt-sysprep.pod:257 #: ../sysprep/virt-sysprep.pod:261 ../sysprep/virt-sysprep.pod:265 @@ -1197,8 +1197,8 @@ msgstr "このプログラムは以下を返します:" #: ../sysprep/virt-sysprep.pod:331 ../sysprep/virt-sysprep.pod:339 #: ../sysprep/virt-sysprep.pod:345 ../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 "*" @@ -1216,7 +1216,7 @@ msgstr "" "置されています" #. type: =item -#: ../align/virt-alignment-scan.pod:355 ../src/guestfs.pod:1520 +#: ../align/virt-alignment-scan.pod:355 ../src/guestfs.pod:1526 msgid "1" msgstr "1" @@ -1226,7 +1226,7 @@ msgid "an error scanning the disk image or guest" msgstr "ディスクイメージまたは仮想マシンのスキャン中にエラーが発生しました" #. type: =item -#: ../align/virt-alignment-scan.pod:361 ../src/guestfs.pod:1524 +#: ../align/virt-alignment-scan.pod:361 ../src/guestfs.pod:1530 msgid "2" msgstr "2" @@ -1240,7 +1240,7 @@ msgstr "" "てパフォーマンスの悪い E<lt> 64K のアライメントを持ちます" #. type: =item -#: ../align/virt-alignment-scan.pod:368 ../src/guestfs.pod:1528 +#: ../align/virt-alignment-scan.pod:368 ../src/guestfs.pod:1534 msgid "3" msgstr "3" @@ -1259,9 +1259,9 @@ msgstr "" #: ../cat/virt-cat.pod:243 ../cat/virt-filesystems.pod:389 #: ../cat/virt-ls.pod:495 ../df/virt-df.pod:253 ../edit/virt-edit.pod:368 #: ../erlang/examples/guestfs-erlang.pod:97 -#: ../examples/guestfs-examples.pod:33 ../examples/guestfs-faq.pod:723 -#: ../examples/guestfs-performance.pod:429 ../examples/guestfs-recipes.pod:417 -#: ../examples/guestfs-testing.pod:291 ../fish/guestfish.pod:1280 +#: ../examples/guestfs-examples.pod:33 ../examples/guestfs-faq.pod:779 +#: ../examples/guestfs-performance.pod:429 ../examples/guestfs-recipes.pod:470 +#: ../examples/guestfs-testing.pod:305 ../fish/guestfish.pod:1280 #: ../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:398 @@ -1269,11 +1269,11 @@ msgstr "" #: ../ocaml/examples/guestfs-ocaml.pod:78 ../perl/examples/guestfs-perl.pod:40 #: ../python/examples/guestfs-python.pod:42 ../rescue/virt-rescue.pod:340 #: ../resize/virt-resize.pod:702 ../ruby/examples/guestfs-ruby.pod:36 -#: ../sparsify/virt-sparsify.pod:299 ../src/guestfs.pod:3439 +#: ../sparsify/virt-sparsify.pod:299 ../src/guestfs.pod:3445 #: ../sysprep/virt-sysprep.pod:442 ../test-tool/libguestfs-test-tool.pod:106 #: ../tools/virt-list-filesystems.pl:197 ../tools/virt-list-partitions.pl:267 #: ../tools/virt-make-fs.pl:590 ../tools/virt-tar.pl:294 -#: ../tools/virt-win-reg.pl:757 +#: ../tools/virt-win-reg.pl:747 msgid "SEE ALSO" msgstr "関連項目" @@ -1294,7 +1294,7 @@ msgstr "" #: ../resize/virt-resize.pod:725 ../sparsify/virt-sparsify.pod:312 #: ../tools/virt-list-filesystems.pl:210 ../tools/virt-list-partitions.pl:279 #: ../tools/virt-make-fs.pl:605 ../tools/virt-tar.pl:309 -#: ../tools/virt-win-reg.pl:772 +#: ../tools/virt-win-reg.pl:762 msgid "AUTHOR" msgstr "著者" @@ -1307,7 +1307,7 @@ msgstr "著者" #: ../sparsify/virt-sparsify.pod:314 ../sysprep/virt-sysprep.pod:459 #: ../tools/virt-list-filesystems.pl:212 ../tools/virt-list-partitions.pl:281 #: ../tools/virt-make-fs.pl:607 ../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/>" @@ -1317,9 +1317,9 @@ msgstr "Richard W.M. Jones L<http://people.redhat.com/~rjones/>" #: ../cat/virt-cat.pod:256 ../cat/virt-filesystems.pod:404 #: ../cat/virt-ls.pod:511 ../df/virt-df.pod:265 ../edit/virt-edit.pod:386 #: ../erlang/examples/guestfs-erlang.pod:114 -#: ../examples/guestfs-examples.pod:49 ../examples/guestfs-faq.pod:733 -#: ../examples/guestfs-performance.pod:446 ../examples/guestfs-recipes.pod:434 -#: ../examples/guestfs-testing.pod:302 ../fish/guestfish.pod:1312 +#: ../examples/guestfs-examples.pod:49 ../examples/guestfs-faq.pod:789 +#: ../examples/guestfs-performance.pod:446 ../examples/guestfs-recipes.pod:487 +#: ../examples/guestfs-testing.pod:316 ../fish/guestfish.pod:1312 #: ../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:413 @@ -1327,11 +1327,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:353 #: ../resize/virt-resize.pod:729 ../ruby/examples/guestfs-ruby.pod:52 -#: ../sparsify/virt-sparsify.pod:316 ../src/guestfs.pod:3494 +#: ../sparsify/virt-sparsify.pod:316 ../src/guestfs.pod:3500 #: ../sysprep/virt-sysprep.pod:463 ../test-tool/libguestfs-test-tool.pod:116 #: ../tools/virt-list-filesystems.pl:214 ../tools/virt-list-partitions.pl:283 #: ../tools/virt-make-fs.pl:609 ../tools/virt-tar.pl:313 -#: ../tools/virt-win-reg.pl:776 +#: ../tools/virt-win-reg.pl:766 msgid "COPYRIGHT" msgstr "COPYRIGHT" @@ -1615,7 +1615,7 @@ msgstr "" #: ../appliance/libguestfs-make-fixed-appliance.pod:139 #: ../edit/virt-edit.pod:343 ../fish/guestfish.pod:1131 #: ../rescue/virt-rescue.pod:313 ../sparsify/virt-sparsify.pod:272 -#: ../src/guestfs.pod:3378 ../test-tool/libguestfs-test-tool.pod:101 +#: ../src/guestfs.pod:3384 ../test-tool/libguestfs-test-tool.pod:101 msgid "ENVIRONMENT VARIABLES" msgstr "環境変数" @@ -1639,16 +1639,16 @@ msgstr "" #. type: =head1 #: ../appliance/libguestfs-make-fixed-appliance.pod:153 #: ../erlang/examples/guestfs-erlang.pod:110 -#: ../examples/guestfs-examples.pod:45 ../examples/guestfs-faq.pod:729 -#: ../examples/guestfs-performance.pod:442 ../examples/guestfs-recipes.pod:430 -#: ../examples/guestfs-testing.pod:298 ../fish/guestfish.pod:1308 +#: ../examples/guestfs-examples.pod:45 ../examples/guestfs-faq.pod:785 +#: ../examples/guestfs-performance.pod:442 ../examples/guestfs-recipes.pod:483 +#: ../examples/guestfs-testing.pod:312 ../fish/guestfish.pod:1308 #: ../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:409 ../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:3490 +#: ../ruby/examples/guestfs-ruby.pod:48 ../src/guestfs.pod:3496 #: ../sysprep/virt-sysprep.pod:457 ../test-tool/libguestfs-test-tool.pod:112 msgid "AUTHORS" msgstr "著者" @@ -1656,15 +1656,15 @@ msgstr "著者" #. type: textblock #: ../appliance/libguestfs-make-fixed-appliance.pod:155 #: ../erlang/examples/guestfs-erlang.pod:112 -#: ../examples/guestfs-examples.pod:47 ../examples/guestfs-faq.pod:731 -#: ../examples/guestfs-performance.pod:444 ../examples/guestfs-recipes.pod:432 -#: ../examples/guestfs-testing.pod:300 ../fish/guestfish.pod:1310 +#: ../examples/guestfs-examples.pod:47 ../examples/guestfs-faq.pod:787 +#: ../examples/guestfs-performance.pod:444 ../examples/guestfs-recipes.pod:485 +#: ../examples/guestfs-testing.pod:314 ../fish/guestfish.pod:1310 #: ../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:411 ../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:3492 +#: ../ruby/examples/guestfs-ruby.pod:50 ../src/guestfs.pod:3498 #: ../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>)" @@ -1672,9 +1672,9 @@ msgstr "Richard W.M. Jones (C<rjones at redhat dot com>)" #. type: textblock #: ../appliance/libguestfs-make-fixed-appliance.pod:159 ../cat/virt-ls.pod:513 #: ../df/virt-df.pod:267 ../edit/virt-edit.pod:388 -#: ../examples/guestfs-recipes.pod:436 ../fish/guestfish.pod:1314 +#: ../examples/guestfs-recipes.pod:489 ../fish/guestfish.pod:1314 #: ../fuse/guestmount.pod:415 ../rescue/virt-rescue.pod:355 -#: ../src/guestfs.pod:3496 ../test-tool/libguestfs-test-tool.pod:118 +#: ../src/guestfs.pod:3502 ../test-tool/libguestfs-test-tool.pod:118 #: ../tools/virt-list-partitions.pl:285 msgid "Copyright (C) 2009-2012 Red Hat Inc." msgstr "Copyright (C) 2009-2012 Red Hat Inc." @@ -2980,7 +2980,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 "" "Linux 仮想マシンにある setuid または setgid プログラムを一覧表示します:" @@ -2996,7 +2996,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 "" "Linux 仮想マシンにあるすべての全体書き込み可能なディレクトリーを一覧表示しま" @@ -3013,7 +3013,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 "Linux 仮想マシンにあるすべての Unix ドメインソケットを一覧表示します:" @@ -3028,7 +3028,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 "'.png' で終わるファイル名を持つすべての通常ファイルを表示するには:" @@ -3058,7 +3058,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 "7日以内に変更されたものをすべて検索します:" @@ -3073,7 +3073,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 "24時間以内に変更された通常のファイルを検索します:" @@ -4934,7 +4934,7 @@ msgstr "" #. 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:318 @@ -5035,16 +5035,21 @@ msgstr "" #. type: textblock #: ../examples/guestfs-faq.pod:16 +#, fuzzy +#| msgid "" +#| "libguestfs is a C library (hence \"lib-\"), and a set of tools built on " +#| "this library, and a set of bindings in many different programming " +#| "languages." msgid "" "libguestfs is a C library (hence \"lib-\"), and a set of tools built on this " -"library, and a set of bindings in many different programming languages." +"library, and bindings for many common programming languages." msgstr "" "libguestfs は C ライブラリ (つまり \"lib-\")、このライブラリに構築された一組" "のツール、およびさまざまな種類のプログラミング言語における一組のバインドで" "す。" #. type: textblock -#: ../examples/guestfs-faq.pod:20 +#: ../examples/guestfs-faq.pod:19 msgid "" "For more information about what libguestfs can do read the introduction on " "the home page (L<http://libguestfs.org>)." @@ -5053,12 +5058,12 @@ msgstr "" "ある紹介を参照できます。" #. type: =head2 -#: ../examples/guestfs-faq.pod:23 +#: ../examples/guestfs-faq.pod:22 msgid "What are the virt tools?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:25 +#: ../examples/guestfs-faq.pod:24 msgid "" "Virt tools (website: L<http://virt-tools.org>) are a whole set of " "virtualization management tools aimed at system administrators. Some of " @@ -5069,22 +5074,22 @@ msgid "" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:32 +#: ../examples/guestfs-faq.pod:31 msgid "Does libguestfs need { libvirt / KVM / Red Hat / Fedora }?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:34 +#: ../examples/guestfs-faq.pod:33 msgid "No!" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:36 +#: ../examples/guestfs-faq.pod:35 msgid "libvirt is not a requirement for libguestfs." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:38 +#: ../examples/guestfs-faq.pod:37 msgid "" "libguestfs works with any disk image, including ones created in VMware, KVM, " "qemu, VirtualBox, Xen, and many other hypervisors, and ones which you have " @@ -5092,26 +5097,26 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:42 +#: ../examples/guestfs-faq.pod:41 msgid "" -"Red Hat sponsors (ie. pays for) development of libguestfs and a huge number " -"of other open source projects. But you can run libguestfs and the virt " -"tools on many different Linux distros and Mac OS X. Some virt tools have " -"been ported to Windows." +"S<Red Hat> sponsors (ie. pays for) development of libguestfs and a huge " +"number of other open source projects. But you can run libguestfs and the " +"virt tools on many different Linux distros and Mac OS X. Some virt tools " +"have been ported to Windows." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:47 +#: ../examples/guestfs-faq.pod:46 msgid "How does libguestfs compare to other tools?" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:51 +#: ../examples/guestfs-faq.pod:50 msgid "I<vs. kpartx>" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:53 +#: ../examples/guestfs-faq.pod:52 msgid "" "Libguestfs takes a different approach from kpartx. kpartx needs root, and " "mounts filesystems on the host kernel (which can be insecure - see L<guestfs" @@ -5122,12 +5127,12 @@ msgid "" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:61 +#: ../examples/guestfs-faq.pod:60 msgid "I<vs. vdfuse>" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:63 +#: ../examples/guestfs-faq.pod:62 msgid "" "vdfuse is like kpartx but for VirtualBox images. See the kpartx comparison " "above. You can use libguestfs on the partition files exposed by vdfuse, " @@ -5136,12 +5141,12 @@ msgid "" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:68 +#: ../examples/guestfs-faq.pod:67 msgid "I<vs. qemu-nbd>" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:70 +#: ../examples/guestfs-faq.pod:69 msgid "" "nbd is like kpartx but for qcow2 images. See the kpartx comparison above. " "You can use libguestfs and qemu-nbd together for access to block devices " @@ -5149,12 +5154,12 @@ msgid "" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:74 +#: ../examples/guestfs-faq.pod:73 msgid "I<vs. mounting filesystems in the host>" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:76 +#: ../examples/guestfs-faq.pod:75 msgid "" "Mounting guest filesystems in the host is insecure and should be avoided " "completely for untrusted guests. Use libguestfs to provide a layer of " @@ -5162,34 +5167,34 @@ msgid "" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:81 +#: ../examples/guestfs-faq.pod:80 msgid "I<vs. parted>" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:83 +#: ../examples/guestfs-faq.pod:82 msgid "" "Libguestfs supports LVM. Libguestfs uses parted and provides most parted " "features through the libguestfs API." msgstr "" #. type: =head1 -#: ../examples/guestfs-faq.pod:88 +#: ../examples/guestfs-faq.pod:87 msgid "GETTING HELP AND REPORTING BUGS" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:90 +#: ../examples/guestfs-faq.pod:89 msgid "How do I know what version I'm using?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:92 +#: ../examples/guestfs-faq.pod:91 msgid "The simplest method is:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:94 +#: ../examples/guestfs-faq.pod:93 #, no-wrap msgid "" " guestfish --version\n" @@ -5197,7 +5202,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:96 +#: ../examples/guestfs-faq.pod:95 msgid "" "Libguestfs development happens along an unstable branch and we periodically " "create a stable branch which we backport stable patches to. To find out " @@ -5205,24 +5210,24 @@ msgid "" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:100 +#: ../examples/guestfs-faq.pod:99 msgid "How can I get help?" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:102 +#: ../examples/guestfs-faq.pod:101 msgid "What mailing lists or chat rooms are available?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:104 +#: ../examples/guestfs-faq.pod:103 msgid "" -"If you are a Red Hat customer using Red Hat Enterprise Linux, please contact " -"Red Hat Support: L<http://redhat.com/support>" +"If you are a S<Red Hat> customer using Red Hat Enterprise Linux, please " +"contact S<Red Hat Support>: L<http://redhat.com/support>" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:107 +#: ../examples/guestfs-faq.pod:106 msgid "" "There is a mailing list, mainly for development, but users are also welcome " "to ask questions about libguestfs and the virt tools: L<https://www.redhat." @@ -5230,7 +5235,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:111 +#: ../examples/guestfs-faq.pod:110 msgid "" "You can also talk to us on IRC channel C<#libguestfs> on FreeNode. We're " "not always around, so please stay in the channel after asking your question " @@ -5238,7 +5243,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:115 +#: ../examples/guestfs-faq.pod:114 msgid "" "For other virt tools (not ones supplied with libguestfs) there is a general " "virt tools mailing list: L<https://www.redhat.com/mailman/listinfo/virt-" @@ -5246,17 +5251,17 @@ msgid "" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:119 +#: ../examples/guestfs-faq.pod:118 msgid "How do I report bugs?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:121 +#: ../examples/guestfs-faq.pod:120 msgid "Please use the following link to enter a bug in Bugzilla:" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:123 +#: ../examples/guestfs-faq.pod:122 msgid "" "L<https://bugzilla.redhat.com/enter_bug.cgi?" "component=libguestfs&product=Virtualization+Tools>" @@ -5265,41 +5270,42 @@ msgstr "" "component=libguestfs&product=Virtualization+Tools>" #. type: textblock -#: ../examples/guestfs-faq.pod:125 +#: ../examples/guestfs-faq.pod:124 msgid "Include as much detail as you can and a way to reproduce the problem." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:127 +#: ../examples/guestfs-faq.pod:126 msgid "Include the full output of L<libguestfs-test-tool(1)>." msgstr "" #. type: =head1 -#: ../examples/guestfs-faq.pod:129 +#: ../examples/guestfs-faq.pod:128 msgid "COMMON PROBLEMS" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:131 +#: ../examples/guestfs-faq.pod:130 msgid "" "See also L<guestfs(3)/LIBGUESTFS GOTCHAS> for some \"gotchas\" with using " "the libguestfs API." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:134 +#: ../examples/guestfs-faq.pod:133 msgid "\"child process died unexpectedly\"" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:136 +#: ../examples/guestfs-faq.pod:135 msgid "" "This error indicates that qemu failed or the host kernel could not boot. To " "get further information about the failure, you have to run:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:139 ../test-tool/libguestfs-test-tool.pod:21 +#: ../examples/guestfs-faq.pod:138 ../examples/guestfs-testing.pod:34 +#: ../test-tool/libguestfs-test-tool.pod:21 #, no-wrap msgid "" " libguestfs-test-tool\n" @@ -5309,24 +5315,24 @@ msgstr "" "\n" #. type: textblock -#: ../examples/guestfs-faq.pod:141 +#: ../examples/guestfs-faq.pod:140 msgid "" "If, after using this, you still don't understand the failure, contact us " "(see previous section)." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:144 +#: ../examples/guestfs-faq.pod:143 msgid "Non-ASCII characters don't appear on VFAT filesystems." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:146 +#: ../examples/guestfs-faq.pod:145 msgid "Typical symptoms of this problem:" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:152 +#: ../examples/guestfs-faq.pod:151 msgid "" "You get an error when you create a file where the filename contains non-" "ASCII characters, particularly non 8-bit characters from Asian languages " @@ -5334,19 +5340,19 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:158 +#: ../examples/guestfs-faq.pod:157 msgid "" "When you list a directory from a VFAT filesystem, filenames appear as " "question marks." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:163 +#: ../examples/guestfs-faq.pod:162 msgid "This is a design flaw of the GNU/Linux system." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:165 +#: ../examples/guestfs-faq.pod:164 msgid "" "VFAT stores long filenames as UTF-16 characters. When opening or returning " "filenames, the Linux kernel has to translate these to some form of 8 bit " @@ -5356,7 +5362,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:171 +#: ../examples/guestfs-faq.pod:170 msgid "" "Therefore you have to tell the kernel what translation you want done when " "you mount the filesystem. The two methods are the C<iocharset> parameter " @@ -5364,14 +5370,14 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:175 +#: ../examples/guestfs-faq.pod:174 msgid "" "So to use a VFAT filesystem you must add the C<utf8> flag when mounting. " "From guestfish, use:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:178 +#: ../examples/guestfs-faq.pod:177 #, no-wrap msgid "" " ><fs> mount-options utf8 /dev/sda1 /\n" @@ -5379,12 +5385,12 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:180 +#: ../examples/guestfs-faq.pod:179 msgid "or on the guestfish command line:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:182 +#: ../examples/guestfs-faq.pod:181 #, no-wrap msgid "" " guestfish [...] -m /dev/sda1:/:utf8\n" @@ -5392,12 +5398,12 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:184 +#: ../examples/guestfs-faq.pod:183 msgid "or from the API:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:186 +#: ../examples/guestfs-faq.pod:185 #, no-wrap msgid "" " guestfs_mount_options (g, \"utf8\", \"/dev/sda1\", \"/\");\n" @@ -5405,19 +5411,19 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:188 +#: ../examples/guestfs-faq.pod:187 msgid "The kernel will then translate filenames to and from UTF-8 strings." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:190 +#: ../examples/guestfs-faq.pod:189 msgid "" "We considered adding this mount option transparently, but unfortunately " "there are several problems with doing that:" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:197 +#: ../examples/guestfs-faq.pod:196 msgid "" "On some Linux systems, the C<utf8> mount option doesn't work. We don't " "precisely understand what systems or why, but this was reliably reported by " @@ -5425,7 +5431,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:203 +#: ../examples/guestfs-faq.pod:202 msgid "" "It would prevent you from using the C<iocharset> parameter because it is " "incompatible with C<utf8>. It is probably not a good idea to use this " @@ -5433,12 +5439,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:209 +#: ../examples/guestfs-faq.pod:208 msgid "Non-ASCII characters appear as underscore (_) on ISO9660 filesystems." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:211 +#: ../examples/guestfs-faq.pod:210 msgid "" "The filesystem was not prepared correctly with mkisofs or genisoimage. Make " "sure the filesystem was created using Joliet and/or Rock Ridge extensions. " @@ -5447,40 +5453,40 @@ msgid "" msgstr "" #. type: =head1 -#: ../examples/guestfs-faq.pod:216 +#: ../examples/guestfs-faq.pod:215 msgid "DOWNLOADING, INSTALLING, COMPILING LIBGUESTFS" msgstr "" #. type: =end -#: ../examples/guestfs-faq.pod:218 ../examples/guestfs-faq.pod:223 -#: ../examples/guestfs-faq.pod:448 ../examples/guestfs-faq.pod:453 -#: ../examples/guestfs-faq.pod:574 ../examples/guestfs-faq.pod:579 -#: ../src/guestfs.pod:2428 ../src/guestfs.pod:2433 +#: ../examples/guestfs-faq.pod:217 ../examples/guestfs-faq.pod:222 +#: ../examples/guestfs-faq.pod:504 ../examples/guestfs-faq.pod:509 +#: ../examples/guestfs-faq.pod:630 ../examples/guestfs-faq.pod:635 +#: ../src/guestfs.pod:2434 ../src/guestfs.pod:2439 msgid "html" msgstr "HTML" #. type: textblock -#: ../examples/guestfs-faq.pod:220 +#: ../examples/guestfs-faq.pod:219 msgid "<!-- old anchor for the next section --> <a name=\"binaries\"/>" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:225 +#: ../examples/guestfs-faq.pod:224 msgid "Where can I get the latest binaries for ...?" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:229 -msgid "Fedora E<ge> 11, RHEL E<ge> 5.3, EPEL 5" +#: ../examples/guestfs-faq.pod:228 +msgid "Fedora E<ge> 11" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:231 +#: ../examples/guestfs-faq.pod:230 msgid "Use:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:233 +#: ../examples/guestfs-faq.pod:232 #, no-wrap msgid "" " yum install '*guestf*'\n" @@ -5488,73 +5494,109 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:235 +#: ../examples/guestfs-faq.pod:234 msgid "" "For the latest builds, see: L<http://koji.fedoraproject.org/koji/packageinfo?" "packageID=8391>" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:238 -msgid "Red Hat Enterprise Linux 6" +#: ../examples/guestfs-faq.pod:237 +#, fuzzy +#| msgid "Red Hat Enterprise Linux." +msgid "Red Hat Enterprise Linux" +msgstr "Red Hat Enterprise Linux." + +#. type: =item +#: ../examples/guestfs-faq.pod:241 +msgid "RHEL 5" +msgstr "" + +#. type: textblock +#: ../examples/guestfs-faq.pod:243 +msgid "Use the package from EPEL 5: L<https://fedoraproject.org/wiki/EPEL>" +msgstr "" + +#. type: =item +#: ../examples/guestfs-faq.pod:246 +msgid "RHEL 6.2-6.3" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:240 +#: ../examples/guestfs-faq.pod:248 msgid "" "It is part of the default install. On RHEL 6 (only) you have to install " "C<libguestfs-winsupport> to get Windows guest support." msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:243 +#: ../examples/guestfs-faq.pod:251 msgid "RHEL 6.4" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:245 -msgid "A preview repository will be announced at a later date." +#: ../examples/guestfs-faq.pod:253 +msgid "" +"A preview repository is available. See the announcement here: L<https://www." +"redhat.com/archives/libguestfs/2012-September/msg00074.html>" +msgstr "" + +#. type: =item +#: ../examples/guestfs-faq.pod:256 +msgid "RHEL 7" +msgstr "" + +#. type: textblock +#: ../examples/guestfs-faq.pod:258 +msgid "" +"It will be part of the default install, and based on libguestfs 1.20. As " +"with RHEL 6 you will need to install C<libguestfs-winsupport> separately to " +"get Windows guest support." +msgstr "" + +#. type: =item +#: ../examples/guestfs-faq.pod:264 +msgid "Debian and Ubuntu" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:247 +#: ../examples/guestfs-faq.pod:268 msgid "Debian Squeeze (6)" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:249 +#: ../examples/guestfs-faq.pod:270 msgid "" "Use Hilko Bengen's backport repository: L<http://people.debian.org/~bengen/" "libguestfs/>" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:252 +#: ../examples/guestfs-faq.pod:273 msgid "Debian Wheezy and later (7+)" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:254 +#: ../examples/guestfs-faq.pod:275 msgid "" "Official Debian packages are available: L<http://packages.debian.org/search?" "keywords=libguestfs> (thanks Hilko Bengen)." msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:258 +#: ../examples/guestfs-faq.pod:279 msgid "Ubuntu" msgstr "Ubuntu" #. type: textblock -#: ../examples/guestfs-faq.pod:260 +#: ../examples/guestfs-faq.pod:281 msgid "" -"We don't have an Ubuntu maintainer, and the packages supplied by Canonical " -"(which are outside our control) are often broken. Try compiling from source " -"(next section)." +"We don't have a full time Ubuntu maintainer, and the packages supplied by " +"Canonical (which are outside our control) are sometimes broken." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:264 +#: ../examples/guestfs-faq.pod:284 msgid "" "Canonical decided to change the permissions on the kernel so that it's not " "readable except by root. This is completely stupid, but they won't change " @@ -5563,7 +5605,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:270 ../examples/guestfs-faq.pod:296 +#: ../examples/guestfs-faq.pod:290 ../examples/guestfs-faq.pod:316 #, no-wrap msgid "" " sudo chmod 0644 /boot/vmlinuz*\n" @@ -5571,41 +5613,41 @@ msgid "" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:272 +#: ../examples/guestfs-faq.pod:292 msgid "Ubuntu 10.04" msgstr "Ubuntu 10.04" #. type: textblock -#: ../examples/guestfs-faq.pod:274 +#: ../examples/guestfs-faq.pod:294 msgid "See: L<http://libguestfs.org/download/binaries/ubuntu1004-packages/>" msgstr "参照: L<http://libguestfs.org/download/binaries/ubuntu1004-packages/>" #. type: =item -#: ../examples/guestfs-faq.pod:277 +#: ../examples/guestfs-faq.pod:297 msgid "Ubuntu 12.04" msgstr "Ubuntu 12.04" #. type: textblock -#: ../examples/guestfs-faq.pod:279 +#: ../examples/guestfs-faq.pod:299 msgid "" "libguestfs in this version of Ubuntu works, but you need to update " "febootstrap and seabios to the latest versions." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:282 +#: ../examples/guestfs-faq.pod:302 msgid "" "You need febootstrap E<ge> 3.14-2 from: L<http://packages.ubuntu.com/precise/" "febootstrap>" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:285 +#: ../examples/guestfs-faq.pod:305 msgid "After installing or updating febootstrap, rebuild the appliance:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:287 +#: ../examples/guestfs-faq.pod:307 #, no-wrap msgid "" " sudo update-guestfs-appliance\n" @@ -5613,7 +5655,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:289 +#: ../examples/guestfs-faq.pod:309 msgid "" "You need seabios E<ge> 0.6.2-0ubuntu2.1 or E<ge> 0.6.2-0ubuntu3 from: " "L<http://packages.ubuntu.com/precise-updates/seabios> or L<http://packages." @@ -5621,22 +5663,22 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:294 +#: ../examples/guestfs-faq.pod:314 msgid "Also you need to do (see above):" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:298 +#: ../examples/guestfs-faq.pod:320 msgid "Gentoo" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:300 +#: ../examples/guestfs-faq.pod:322 msgid "Libguestfs was added to Gentoo in 2012-07. Do:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:302 +#: ../examples/guestfs-faq.pod:324 #, no-wrap msgid "" " emerge libguestfs\n" @@ -5644,68 +5686,68 @@ msgid "" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:304 +#: ../examples/guestfs-faq.pod:326 msgid "Other Linux distro" msgstr "他の Linux ディストリビューション" #. type: textblock -#: ../examples/guestfs-faq.pod:306 +#: ../examples/guestfs-faq.pod:328 msgid "Compile from source (next section)." msgstr "ソースからコンパイルします (次のセクション)。" #. type: =item -#: ../examples/guestfs-faq.pod:308 +#: ../examples/guestfs-faq.pod:330 msgid "Other non-Linux distro" msgstr "他の非 Linux ディストリビューション" #. type: textblock -#: ../examples/guestfs-faq.pod:310 +#: ../examples/guestfs-faq.pod:332 msgid "You'll have to compile from source, and port it." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:314 +#: ../examples/guestfs-faq.pod:336 msgid "How can I compile and install libguestfs from source?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:316 +#: ../examples/guestfs-faq.pod:338 msgid "" -"If your Linux distro has a working port of febootstrap (that is, Fedora, Red " -"Hat Enterprise Linux >= 6.3, Debian, Ubuntu and ArchLinux) then you should " -"just be able to compile from source in the usual way. Download the latest " -"tarball from L<http://libguestfs.org/download>, unpack it, and start by " -"reading the README file." +"If your Linux distro has a working port of febootstrap (that is, Fedora, " +"S<Red Hat Enterprise Linux E<ge> 6.3>, Debian, Ubuntu and ArchLinux) then " +"you should just be able to compile from source in the usual way. Download " +"the latest tarball from L<http://libguestfs.org/download>, unpack it, and " +"start by reading the README file." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:322 +#: ../examples/guestfs-faq.pod:344 msgid "" "If you I<don't> have febootstrap, you will need to use the \"fixed appliance " "method\". See: L<http://libguestfs.org/download/binaries/appliance/>" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:326 +#: ../examples/guestfs-faq.pod:348 msgid "Patches to port febootstrap to more Linux distros are welcome." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:328 +#: ../examples/guestfs-faq.pod:350 msgid "" "Why do I get an error when I try to rebuild from the source RPMs supplied by " "Red Hat / Fedora?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:331 +#: ../examples/guestfs-faq.pod:353 msgid "" "Because of the complexity of building the libguestfs appliance, the source " "RPMs provided cannot be rebuilt directly using C<rpmbuild> or C<mock>." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:335 +#: ../examples/guestfs-faq.pod:357 msgid "" "If you use Koji (which is open source software and may be installed " "locally), then the SRPMs can be rebuilt in Koji. L<https://fedoraproject." @@ -5713,7 +5755,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:339 +#: ../examples/guestfs-faq.pod:361 msgid "" "If you don't have or want to use Koji, then you have to give libguestfs " "access to the network so it can download the RPMs for building the " @@ -5722,7 +5764,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:345 +#: ../examples/guestfs-faq.pod:367 #, no-wrap msgid "" " %libguestfs_buildnet 1\n" @@ -5730,12 +5772,12 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:347 +#: ../examples/guestfs-faq.pod:369 msgid "If you are using mock, do:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:349 +#: ../examples/guestfs-faq.pod:371 #, no-wrap msgid "" " mock -D '%libguestfs_buildnet 1' [etc]\n" @@ -5743,22 +5785,89 @@ msgid "" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:351 +#: ../examples/guestfs-faq.pod:373 +msgid "How can I add support for sVirt?" +msgstr "" + +#. type: textblock +#: ../examples/guestfs-faq.pod:375 +msgid "" +"Note: We are planning to make this configuration the default in S<Fedora " +"18>. If you find any problems, please let us know or file a bug." +msgstr "" + +#. type: textblock +#: ../examples/guestfs-faq.pod:378 +msgid "" +"L<SVirt|http://selinuxproject.org/page/SVirt> provides a hardened appliance " +"using SELinux, making it very hard for a rogue disk image to \"escape\" from " +"the confinement of libguestfs and damage the host (it's fair to say that " +"even in standard libguestfs this would be hard, but sVirt provides an extra " +"layer of protection for the host and more importantly protects virtual " +"machines on the same host from each other)." +msgstr "" + +#. type: textblock +#: ../examples/guestfs-faq.pod:386 +msgid "" +"Currently to enable sVirt you will need the very latest libvirt (from git), " +"libguestfs and SELinux policies. If you are not running S<Fedora 18+>, you " +"will need to make changes to your SELinux policy - contact us on the mailing " +"list." +msgstr "" + +#. type: textblock +#: ../examples/guestfs-faq.pod:391 +msgid "Once you have the requirements, do:" +msgstr "" + +#. type: verbatim +#: ../examples/guestfs-faq.pod:393 +#, no-wrap +msgid "" +" ./configure --with-default-attach-method=libvirt\n" +" make\n" +"\n" +msgstr "" + +#. type: textblock +#: ../examples/guestfs-faq.pod:396 +msgid "Enable SELinux, and sVirt should be used automatically." +msgstr "" + +#. type: textblock +#: ../examples/guestfs-faq.pod:398 +msgid "" +"All, or almost all, features of libguestfs should work under sVirt. There " +"is one known shortcoming: L<virt-rescue(1)> will not use libvirt (hence " +"sVirt), but falls back to direct launch of qemu. So you won't currently get " +"the benefit of sVirt protection when using virt-rescue." +msgstr "" + +#. type: textblock +#: ../examples/guestfs-faq.pod:403 +msgid "" +"In theory sVirt should support AppArmor, but we have not tried it. It will " +"almost certainly require patching libvirt and writing an AppArmor policy." +msgstr "" + +#. type: =head2 +#: ../examples/guestfs-faq.pod:407 msgid "Libguestfs has a really long list of dependencies!" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:353 +#: ../examples/guestfs-faq.pod:409 msgid "That's because it does a lot of things." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:355 +#: ../examples/guestfs-faq.pod:411 msgid "How can I speed up libguestfs builds?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:357 +#: ../examples/guestfs-faq.pod:413 msgid "" "By far the most important thing you can do is to install and properly " "configure Squid. Note that the default configuration that ships with Squid " @@ -5766,7 +5875,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:361 +#: ../examples/guestfs-faq.pod:417 msgid "" "A very good place to start with Squid configuration is here: L<https://" "fedoraproject.org/wiki/Extras/" @@ -5774,38 +5883,38 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:364 +#: ../examples/guestfs-faq.pod:420 msgid "" "Make sure Squid is running, and that the environment variables C<" "$http_proxy> and C<$ftp_proxy> are pointing to it." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:367 +#: ../examples/guestfs-faq.pod:423 msgid "" "With Squid running and correctly configured, appliance builds should be " "reduced to a few minutes." msgstr "" #. type: =head1 -#: ../examples/guestfs-faq.pod:370 +#: ../examples/guestfs-faq.pod:426 msgid "SPEED, DISK SPACE USED BY LIBGUESTFS" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:372 +#: ../examples/guestfs-faq.pod:428 msgid "" "Note: Most of the information in this section has moved: L<guestfs-" "performance(1)>." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:375 +#: ../examples/guestfs-faq.pod:431 msgid "Upload or write seem very slow." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:377 +#: ../examples/guestfs-faq.pod:433 msgid "" "In libguestfs E<lt> 1.13.16, the mount command (L<guestfs(3)/guestfs_mount>) " "enabled option C<-o sync> implicitly. This causes very poor write " @@ -5813,14 +5922,14 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:382 +#: ../examples/guestfs-faq.pod:438 msgid "" "For libguestfs E<lt> 1.13.16, replace mount with C<mount-options>, leaving " "the first parameter as an empty string." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:385 +#: ../examples/guestfs-faq.pod:441 msgid "" "You can also do this with more recent versions of libguestfs, but if you " "know that you are using libguestfs ≥ 1.13.16 then it's safe to use plain " @@ -5828,7 +5937,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:389 +#: ../examples/guestfs-faq.pod:445 msgid "" "If the underlying disk is not fully allocated (eg. sparse raw or qcow2) then " "writes can be slow because the host operating system has to do costly disk " @@ -5838,17 +5947,17 @@ msgid "" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:395 +#: ../examples/guestfs-faq.pod:451 msgid "Libguestfs uses too much disk space!" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:397 +#: ../examples/guestfs-faq.pod:453 msgid "libguestfs caches a large-ish appliance in:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:399 +#: ../examples/guestfs-faq.pod:455 #, no-wrap msgid "" " /var/tmp/.guestfs-<UID>\n" @@ -5856,26 +5965,26 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:401 +#: ../examples/guestfs-faq.pod:457 msgid "" "If the environment variable C<TMPDIR> is defined, then C<$TMPDIR/.guestfs-" "E<lt>UIDE<gt>> is used instead." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:404 +#: ../examples/guestfs-faq.pod:460 msgid "It is safe to delete this directory when you are not using libguestfs." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:406 +#: ../examples/guestfs-faq.pod:462 msgid "" "virt-sparsify seems to make the image grow to the full size of the virtual " "disk" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:409 +#: ../examples/guestfs-faq.pod:465 msgid "" "If the input to L<virt-sparsify(1)> is raw, then the output will be raw " "sparse. Make sure you are measuring the output with a tool which " @@ -5883,7 +5992,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:413 ../sparsify/virt-sparsify.pod:34 +#: ../examples/guestfs-faq.pod:469 ../sparsify/virt-sparsify.pod:34 #, no-wrap msgid "" " $ ls -lh test1.img\n" @@ -5894,19 +6003,19 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:418 ../sparsify/virt-sparsify.pod:39 +#: ../examples/guestfs-faq.pod:474 ../sparsify/virt-sparsify.pod:39 msgid "(Compare the apparent size B<100M> vs the actual size B<3.6M>)" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:420 +#: ../examples/guestfs-faq.pod:476 msgid "" "If all this confuses you, use a non-sparse output by specifying the I<--" "convert> option, eg:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:423 +#: ../examples/guestfs-faq.pod:479 #, fuzzy, no-wrap #| msgid "" #| " virt-sparsify disk.raw --convert qcow2 disk.qcow2\n" @@ -5919,24 +6028,24 @@ msgstr "" "\n" #. type: =head1 -#: ../examples/guestfs-faq.pod:425 +#: ../examples/guestfs-faq.pod:481 msgid "USING LIBGUESTFS IN YOUR OWN PROGRAMS" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:427 +#: ../examples/guestfs-faq.pod:483 msgid "The API has hundreds of methods, where do I start?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:429 +#: ../examples/guestfs-faq.pod:485 msgid "" "We recommend you start by reading the API overview: L<guestfs(3)/API " "OVERVIEW>." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:432 +#: ../examples/guestfs-faq.pod:488 msgid "" "Although the API overview covers the C API, it is still worth reading even " "if you are going to use another programming language, because the API is the " @@ -5944,7 +6053,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:437 +#: ../examples/guestfs-faq.pod:493 #, no-wrap msgid "" " C guestfs_ln_sf (g, target, linkname);\n" @@ -5964,7 +6073,7 @@ msgstr "" "\n" #. type: textblock -#: ../examples/guestfs-faq.pod:444 +#: ../examples/guestfs-faq.pod:500 msgid "" "Once you're familiar with the API overview, you should look at this list of " "starting points for other language bindings: L<guestfs(3)/USING LIBGUESTFS " @@ -5972,25 +6081,25 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:450 +#: ../examples/guestfs-faq.pod:506 msgid "<!-- old anchor for the next section --> <a name=\"debug\"/>" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:455 +#: ../examples/guestfs-faq.pod:511 msgid "" "Can I use libguestfs in my proprietary / closed source / commercial program?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:458 +#: ../examples/guestfs-faq.pod:514 msgid "" "In general, yes. However this is not legal advice - read the license that " "comes with libguestfs, and if you have specific questions contact a lawyer." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:462 +#: ../examples/guestfs-faq.pod:518 msgid "" "In the source tree the license is in the file C<COPYING.LIB> (LGPLv2+ for " "the library and bindings) and C<COPYING> (GPLv2+ for the standalone " @@ -5998,43 +6107,43 @@ msgid "" msgstr "" #. type: =head1 -#: ../examples/guestfs-faq.pod:466 +#: ../examples/guestfs-faq.pod:522 msgid "DEBUGGING LIBGUESTFS" msgstr "libguestfs のデバッグ" #. type: =head2 -#: ../examples/guestfs-faq.pod:468 +#: ../examples/guestfs-faq.pod:524 msgid "" "How do I debug when using any libguestfs program or tool (eg. virt-v2v or " "virt-df)?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:471 +#: ../examples/guestfs-faq.pod:527 msgid "" "There are two C<LIBGUESTFS_*> environment variables you can set in order to " "get more information from libguestfs." msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:476 +#: ../examples/guestfs-faq.pod:532 msgid "C<LIBGUESTFS_TRACE>" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:478 +#: ../examples/guestfs-faq.pod:534 msgid "" "Set this to 1 and libguestfs will print out each command / API call in a " "format which is similar to guestfish commands." msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:481 +#: ../examples/guestfs-faq.pod:537 msgid "C<LIBGUESTFS_DEBUG>" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:483 +#: ../examples/guestfs-faq.pod:539 msgid "" "Set this to 1 in order to enable massive amounts of debug messages. If you " "think there is some problem inside the libguestfs appliance, then you should " @@ -6042,12 +6151,12 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:489 +#: ../examples/guestfs-faq.pod:545 msgid "To set these from the shell, do this before running the program:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:491 +#: ../examples/guestfs-faq.pod:547 #, no-wrap msgid "" " export LIBGUESTFS_TRACE=1\n" @@ -6056,12 +6165,12 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:494 +#: ../examples/guestfs-faq.pod:550 msgid "For csh/tcsh the equivalent commands would be:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:496 +#: ../examples/guestfs-faq.pod:552 #, no-wrap msgid "" " setenv LIBGUESTFS_TRACE 1\n" @@ -6073,17 +6182,17 @@ msgstr "" "\n" #. type: textblock -#: ../examples/guestfs-faq.pod:499 +#: ../examples/guestfs-faq.pod:555 msgid "For further information, see: L<guestfs(3)/ENVIRONMENT VARIABLES>." msgstr "詳細は L<guestfs(3)/ENVIRONMENT VARIABLES> 参照。" #. type: =head2 -#: ../examples/guestfs-faq.pod:501 +#: ../examples/guestfs-faq.pod:557 msgid "How do I debug when using guestfish?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:503 +#: ../examples/guestfs-faq.pod:559 msgid "" "You can use the same environment variables above. Alternatively use the " "guestfish options -x (to trace commands) or -v (to get the full debug " @@ -6091,60 +6200,60 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:507 +#: ../examples/guestfs-faq.pod:563 msgid "For further information, see: L<guestfish(1)>." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:509 +#: ../examples/guestfs-faq.pod:565 msgid "How do I debug when using the API?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:511 +#: ../examples/guestfs-faq.pod:567 msgid "" "Call L<guestfs(3)/guestfs_set_trace> to enable command traces, and/or " "L<guestfs(3)/guestfs_set_verbose> to enable debug messages." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:514 +#: ../examples/guestfs-faq.pod:570 msgid "" "For best results, call these functions as early as possible, just after " "creating the guestfs handle if you can, and definitely before calling launch." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:518 +#: ../examples/guestfs-faq.pod:574 msgid "How do I capture debug output and put it into my logging system?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:520 +#: ../examples/guestfs-faq.pod:576 msgid "" "Use the event API. For examples, see: L<guestfs(3)/SETTING CALLBACKS TO " "HANDLE EVENTS>." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:523 +#: ../examples/guestfs-faq.pod:579 msgid "Digging deeper into the appliance boot process." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:525 +#: ../examples/guestfs-faq.pod:581 msgid "" "Enable debugging and then read this documentation on the appliance boot " "process: L<guestfs(3)/INTERNALS>." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:528 +#: ../examples/guestfs-faq.pod:584 msgid "libguestfs hangs or fails during run/launch." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:530 +#: ../examples/guestfs-faq.pod:586 msgid "" "Enable debugging and look at the full output. If you cannot work out what " "is going on, file a bug report, including the I<complete> output of " @@ -6152,17 +6261,17 @@ msgid "" msgstr "" #. type: =head1 -#: ../examples/guestfs-faq.pod:534 +#: ../examples/guestfs-faq.pod:590 msgid "DESIGN/INTERNALS OF LIBGUESTFS" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:536 +#: ../examples/guestfs-faq.pod:592 msgid "Why don't you do everything through the FUSE / filesystem interface?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:539 +#: ../examples/guestfs-faq.pod:595 msgid "" "We offer a command called L<guestmount(1)> which lets you mount guest " "filesystems on the host. This is implemented as a FUSE module. Why don't " @@ -6171,7 +6280,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:544 +#: ../examples/guestfs-faq.pod:600 msgid "" "The reasons are twofold. Firstly, libguestfs offers API calls for doing " "things like creating and deleting partitions and logical volumes, which " @@ -6185,7 +6294,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:554 +#: ../examples/guestfs-faq.pod:610 msgid "" "The second reason is for efficiency. FUSE itself is reasonably efficient, " "but it does make lots of small, independent calls into the FUSE module. In " @@ -6198,17 +6307,17 @@ msgid "" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:564 +#: ../examples/guestfs-faq.pod:620 msgid "Why don't you do everything through GVFS?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:566 +#: ../examples/guestfs-faq.pod:622 msgid "The problems are similar to the problems with FUSE." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:568 +#: ../examples/guestfs-faq.pod:624 msgid "" "GVFS is a better abstraction than POSIX/FUSE. There is an FTP backend for " "GVFS, which is encouraging because FTP is conceptually similar to the " @@ -6218,7 +6327,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:576 +#: ../examples/guestfs-faq.pod:632 #, fuzzy #| msgid "" #| "<!-- old anchor for the next section --> <a name=" @@ -6229,12 +6338,12 @@ msgstr "" "\"state_machine_and_low_level_event_api\"/>" #. type: =head2 -#: ../examples/guestfs-faq.pod:581 +#: ../examples/guestfs-faq.pod:637 msgid "Can I use C<guestfish --ro> as a way to backup my virtual machines?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:583 +#: ../examples/guestfs-faq.pod:639 msgid "" "Usually this is not a good idea. The question is answered in more detail in " "this mailing list posting: L<https://www.redhat.com/archives/libguestfs/2010-" @@ -6242,17 +6351,17 @@ msgid "" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:587 +#: ../examples/guestfs-faq.pod:643 msgid "Why can I write to the disk, even though I added it read-only?" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:589 +#: ../examples/guestfs-faq.pod:645 msgid "Why does C<--ro> appear to have no effect?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:591 +#: ../examples/guestfs-faq.pod:647 msgid "" "When you add a disk read-only, libguestfs places a writable overlay on top " "of the underlying disk. Writes go into this overlay, and are discarded when " @@ -6260,7 +6369,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:595 +#: ../examples/guestfs-faq.pod:651 msgid "" "There are two reasons for doing it this way: Firstly read-only disks aren't " "possible in many cases (eg. IDE simply doesn't support them, so you couldn't " @@ -6269,7 +6378,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:600 +#: ../examples/guestfs-faq.pod:656 msgid "" "Secondly and more importantly, even if read-only disks were possible, you " "wouldn't want them. Mounting any filesystem that has a journal, even " @@ -6279,7 +6388,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:606 +#: ../examples/guestfs-faq.pod:662 msgid "" "To make it usable, we create the overlay as a place to temporarily store " "these writes, and then we discard it afterwards. This ensures that the " @@ -6287,7 +6396,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:610 +#: ../examples/guestfs-faq.pod:666 msgid "" "Note also that there is a regression test for this when building libguestfs " "(in C<tests/qemu>). This is one reason why it's important for packagers to " @@ -6295,38 +6404,38 @@ msgid "" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:614 +#: ../examples/guestfs-faq.pod:670 msgid "Does C<--ro> make all disks read-only?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:616 +#: ../examples/guestfs-faq.pod:672 msgid "" "I<No!> The C<--ro> option only affects disks added on the command line, ie. " "using C<-a> and C<-d> options." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:619 +#: ../examples/guestfs-faq.pod:675 msgid "" "In guestfish, if you use the C<add> command, then disk is added read-write " "(unless you specify the C<readonly:true> flag explicitly with the command)." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:623 +#: ../examples/guestfs-faq.pod:679 msgid "What's the difference between guestfish and virt-rescue?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:625 +#: ../examples/guestfs-faq.pod:681 msgid "" "A lot of people are confused by the two superficially similar tools we " "provide:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:628 +#: ../examples/guestfs-faq.pod:684 #, no-wrap msgid "" " $ guestfish --ro -a guest.img\n" @@ -6336,7 +6445,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:632 +#: ../examples/guestfs-faq.pod:688 #, no-wrap msgid "" " $ virt-rescue --ro guest.img\n" @@ -6345,7 +6454,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:635 +#: ../examples/guestfs-faq.pod:691 msgid "" "And the related question which then arises is why you can't type in full " "shell commands with all the --options in guestfish (but you can in L<virt-" @@ -6353,7 +6462,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:639 +#: ../examples/guestfs-faq.pod:695 msgid "" "L<guestfish(1)> is a program providing structured access to the L<guestfs(3)" "> API. It happens to be a nice interactive shell too, but its primary " @@ -6364,7 +6473,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:646 +#: ../examples/guestfs-faq.pod:702 msgid "" "L<virt-rescue(1)> is a free-for-all freeform way to boot the libguestfs " "appliance and make arbitrary changes to your VM. It's not structured, you " @@ -6373,7 +6482,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:651 +#: ../examples/guestfs-faq.pod:707 msgid "" "But, libguestfs also has a \"backdoor\" into the appliance allowing you to " "send arbitrary shell commands. It's not as flexible as virt-rescue, because " @@ -6381,7 +6490,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:656 +#: ../examples/guestfs-faq.pod:712 #, no-wrap msgid "" " ><fs> debug sh \"cmd arg1 arg2 ...\"\n" @@ -6389,7 +6498,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:658 +#: ../examples/guestfs-faq.pod:714 msgid "" "Note that you should B<not> rely on this. It could be removed or changed in " "future. If your program needs some operation, please add it to the " @@ -6397,45 +6506,45 @@ msgid "" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:662 +#: ../examples/guestfs-faq.pod:718 msgid "What's the deal with C<guestfish -i>?" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:664 +#: ../examples/guestfs-faq.pod:720 msgid "" "Why does virt-cat only work on a real VM image, but virt-df works on any " "disk image?" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:667 +#: ../examples/guestfs-faq.pod:723 msgid "What does \"no root device found in this operating system image\" mean?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:670 +#: ../examples/guestfs-faq.pod:726 msgid "" "These questions are all related at a fundamental level which may not be " "immediately obvious." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:673 +#: ../examples/guestfs-faq.pod:729 msgid "" "At the L<guestfs(3)> API level, a \"disk image\" is just a pile of " "partitions and filesystems." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:676 +#: ../examples/guestfs-faq.pod:732 msgid "" "In contrast, when the virtual machine boots, it mounts those filesystems " "into a consistent hierarchy such as:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:679 +#: ../examples/guestfs-faq.pod:735 #, no-wrap msgid "" " / (/dev/sda2)\n" @@ -6461,12 +6570,12 @@ msgstr "" "\n" #. type: textblock -#: ../examples/guestfs-faq.pod:689 +#: ../examples/guestfs-faq.pod:745 msgid "(or drive letters on Windows)." msgstr "(または Windows におけるドライブレター)。" #. type: textblock -#: ../examples/guestfs-faq.pod:691 +#: ../examples/guestfs-faq.pod:747 msgid "" "The API first of all sees the disk image at the \"pile of filesystems\" " "level. But it also has a way to inspect the disk image to see if it " @@ -6475,12 +6584,12 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:696 +#: ../examples/guestfs-faq.pod:752 msgid "Users expect some tools (like L<virt-cat(1)>) to work with VM paths:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:698 +#: ../examples/guestfs-faq.pod:754 #, no-wrap msgid "" " virt-cat fedora.img /var/log/messages\n" @@ -6488,7 +6597,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:700 +#: ../examples/guestfs-faq.pod:756 msgid "" "How does virt-cat know that C</var> is a separate partition? The trick is " "that virt-cat performs inspection on the disk image, and uses that to " @@ -6496,7 +6605,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:704 +#: ../examples/guestfs-faq.pod:760 msgid "" "Some tools (including L<virt-cat(1)>, L<virt-edit(1)>, L<virt-ls(1)>) use " "inspection to map VM paths. Other tools, such as L<virt-df(1)> and L<virt-" @@ -6505,7 +6614,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:709 +#: ../examples/guestfs-faq.pod:765 msgid "" "L<guestfish(1)> is in an interesting middle ground. If you use the I<-a> " "and I<-m> command line options, then you have to tell guestfish exactly how " @@ -6513,14 +6622,14 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:714 +#: ../examples/guestfs-faq.pod:770 msgid "" "If you use the I<-i> option, libguestfs performs inspection and mounts the " "filesystems for you." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:717 +#: ../examples/guestfs-faq.pod:773 msgid "" "The error C<no root device found in this operating system image> is related " "to this. It means inspection was unable to locate an operating system " @@ -6530,12 +6639,12 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:725 +#: ../examples/guestfs-faq.pod:781 msgid "L<guestfish(1)>, L<guestfs(3)>, L<http://libguestfs.org/>." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:735 ../examples/guestfs-performance.pod:448 +#: ../examples/guestfs-faq.pod:791 ../examples/guestfs-performance.pod:448 #: ../format/virt-format.pod:193 msgid "Copyright (C) 2012 Red Hat Inc." msgstr "Copyright (C) 2012 Red Hat Inc." @@ -6587,7 +6696,7 @@ msgstr "" #. type: verbatim #: ../examples/guestfs-performance.pod:29 -#: ../examples/guestfs-performance.pod:180 ../examples/guestfs-testing.pod:36 +#: ../examples/guestfs-performance.pod:180 ../examples/guestfs-testing.pod:50 #, no-wrap msgid "" " time guestfish -a /dev/null run\n" @@ -6841,10 +6950,11 @@ msgstr "" #. type: =item #: ../examples/guestfs-performance.pod:162 -#: ../examples/guestfs-performance.pod:211 ../resize/virt-resize.pod:31 -#: ../resize/virt-resize.pod:603 ../sparsify/virt-sparsify.pod:243 -#: ../src/guestfs.pod:469 ../src/guestfs.pod:1282 ../src/guestfs.pod:1451 -#: ../src/guestfs.pod:1615 ../src/guestfs.pod:2863 +#: ../examples/guestfs-performance.pod:211 ../examples/guestfs-recipes.pod:288 +#: ../resize/virt-resize.pod:31 ../resize/virt-resize.pod:603 +#: ../sparsify/virt-sparsify.pod:243 ../src/guestfs.pod:475 +#: ../src/guestfs.pod:1288 ../src/guestfs.pod:1457 ../src/guestfs.pod:1621 +#: ../src/guestfs.pod:2869 msgid "1." msgstr "1." @@ -6857,10 +6967,11 @@ msgstr "" #. type: =item #: ../examples/guestfs-performance.pod:168 -#: ../examples/guestfs-performance.pod:218 ../resize/virt-resize.pod:44 -#: ../resize/virt-resize.pod:610 ../sparsify/virt-sparsify.pod:250 -#: ../src/guestfs.pod:475 ../src/guestfs.pod:1286 ../src/guestfs.pod:1455 -#: ../src/guestfs.pod:1619 ../src/guestfs.pod:2888 +#: ../examples/guestfs-performance.pod:218 ../examples/guestfs-recipes.pod:294 +#: ../resize/virt-resize.pod:44 ../resize/virt-resize.pod:610 +#: ../sparsify/virt-sparsify.pod:250 ../src/guestfs.pod:481 +#: ../src/guestfs.pod:1292 ../src/guestfs.pod:1461 ../src/guestfs.pod:1625 +#: ../src/guestfs.pod:2894 msgid "2." msgstr "2." @@ -6876,9 +6987,10 @@ msgstr "" #. type: =item #: ../examples/guestfs-performance.pod:176 -#: ../examples/guestfs-performance.pod:224 ../resize/virt-resize.pod:52 -#: ../resize/virt-resize.pod:616 ../sparsify/virt-sparsify.pod:256 -#: ../src/guestfs.pod:486 ../src/guestfs.pod:1290 ../src/guestfs.pod:1625 +#: ../examples/guestfs-performance.pod:224 ../examples/guestfs-recipes.pod:300 +#: ../resize/virt-resize.pod:52 ../resize/virt-resize.pod:616 +#: ../sparsify/virt-sparsify.pod:256 ../src/guestfs.pod:492 +#: ../src/guestfs.pod:1296 ../src/guestfs.pod:1631 msgid "3." msgstr "3." @@ -7144,7 +7256,7 @@ msgid "Save the following script as C<time.stap>:" msgstr "" #. type: verbatim -#: ../examples/guestfs-performance.pod:322 ../src/guestfs.pod:2376 +#: ../examples/guestfs-performance.pod:322 ../src/guestfs.pod:2382 #, no-wrap msgid "" " global last;\n" @@ -7154,7 +7266,7 @@ msgstr "" " \n" #. type: verbatim -#: ../examples/guestfs-performance.pod:324 ../src/guestfs.pod:2378 +#: ../examples/guestfs-performance.pod:324 ../src/guestfs.pod:2384 #, no-wrap msgid "" " function display_time () {\n" @@ -7174,7 +7286,7 @@ msgstr "" " \n" #. type: verbatim -#: ../examples/guestfs-performance.pod:331 ../src/guestfs.pod:2385 +#: ../examples/guestfs-performance.pod:331 ../src/guestfs.pod:2391 #, no-wrap msgid "" " printf (\"%d (+%d):\", now, delta);\n" @@ -7186,7 +7298,7 @@ msgstr "" " \n" #. type: verbatim -#: ../examples/guestfs-performance.pod:334 ../src/guestfs.pod:2388 +#: ../examples/guestfs-performance.pod:334 ../src/guestfs.pod:2394 #, no-wrap msgid "" " probe begin {\n" @@ -7202,7 +7314,7 @@ msgstr "" " \n" #. type: verbatim -#: ../examples/guestfs-performance.pod:339 ../src/guestfs.pod:2393 +#: ../examples/guestfs-performance.pod:339 ../src/guestfs.pod:2399 #, no-wrap msgid "" " /* Display all calls to static markers. */\n" @@ -7331,7 +7443,7 @@ msgstr "" #. type: verbatim #: ../examples/guestfs-performance.pod:394 ../fish/guestfish.pod:994 -#: ../src/guestfs.pod:1068 +#: ../src/guestfs.pod:1074 #, no-wrap msgid "" " #!/bin/bash -\n" @@ -7807,38 +7919,45 @@ msgstr "" "ディスクイメージにあるファイルシステムを一覧表示するには L<virt-filesystems" "(1)> を使用します。" -#. type: =head1 +#. type: textblock #: ../examples/guestfs-recipes.pod:120 +#, 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:122 msgid "Edit grub configuration in a VM" msgstr "仮想マシンの GRUB 設定を編集します" #. type: textblock -#: ../examples/guestfs-recipes.pod:122 +#: ../examples/guestfs-recipes.pod:124 msgid "You can use this to:" msgstr "次の目的のために実行できます:" #. type: textblock -#: ../examples/guestfs-recipes.pod:128 +#: ../examples/guestfs-recipes.pod:130 msgid "Fix a virtual machine that does not boot." msgstr "起動しない仮想マシンを修正します。" #. type: textblock -#: ../examples/guestfs-recipes.pod:132 +#: ../examples/guestfs-recipes.pod:134 msgid "Change which kernel is used to boot the VM." msgstr "仮想マシンの起動時に使用するカーネルを変更します。" #. type: textblock -#: ../examples/guestfs-recipes.pod:136 +#: ../examples/guestfs-recipes.pod:138 msgid "Change kernel command line options." msgstr "カーネルのコマンドラインオプションを変更します。" #. type: textblock -#: ../examples/guestfs-recipes.pod:140 +#: ../examples/guestfs-recipes.pod:142 msgid "Use L<virt-edit(1)> to edit the grub configuration:" msgstr "GRUB 設定を編集するには L<virt-edit(1)> を使用します:" #. type: verbatim -#: ../examples/guestfs-recipes.pod:142 +#: ../examples/guestfs-recipes.pod:144 #, fuzzy, no-wrap #| msgid "" #| " virt-edit -d BrokenGuest /boot/grub/grub.conf\n" @@ -7851,7 +7970,7 @@ msgstr "" "\n" #. type: textblock -#: ../examples/guestfs-recipes.pod:144 +#: ../examples/guestfs-recipes.pod:146 msgid "" "or for general tinkering inside an unbootable VM use L<virt-rescue(1)> like " "this:" @@ -7860,7 +7979,7 @@ msgstr "" "L<virt-rescue(1)> を使用します:" #. type: verbatim -#: ../examples/guestfs-recipes.pod:147 +#: ../examples/guestfs-recipes.pod:149 #, no-wrap msgid "" " virt-rescue -d BrokenGuest\n" @@ -7870,12 +7989,12 @@ msgstr "" "\n" #. type: =head1 -#: ../examples/guestfs-recipes.pod:149 +#: ../examples/guestfs-recipes.pod:151 msgid "Export any directory from a VM" msgstr "仮想マシンから任意のディレクトリをエクスポートします" #. type: textblock -#: ../examples/guestfs-recipes.pod:151 +#: ../examples/guestfs-recipes.pod:153 msgid "" "To export C</home> from a VM into a local directory use L<virt-copy-out(1)>:" msgstr "" @@ -7883,7 +8002,7 @@ msgstr "" "copy-out(1)> を使用します:" #. type: verbatim -#: ../examples/guestfs-recipes.pod:154 ../examples/guestfs-testing.pod:93 +#: ../examples/guestfs-recipes.pod:156 ../examples/guestfs-testing.pod:107 #, no-wrap msgid "" " virt-copy-out -d Guest /home .\n" @@ -7893,17 +8012,17 @@ msgstr "" "\n" #. type: textblock -#: ../examples/guestfs-recipes.pod:156 ../fish/guestfish-actions.pod:9 +#: ../examples/guestfs-recipes.pod:158 ../fish/guestfish-actions.pod:9 #: ../fish/guestfish-actions.pod:1607 ../fish/guestfish-actions.pod:2002 #: ../fish/guestfish-actions.pod:2429 ../src/guestfs-actions.pod:18 #: ../src/guestfs-actions.pod:2642 ../src/guestfs-actions.pod:3209 -#: ../src/guestfs-actions.pod:3778 ../src/guestfs.pod:1859 -#: ../tools/virt-win-reg.pl:717 +#: ../src/guestfs-actions.pod:3778 ../src/guestfs.pod:1865 +#: ../tools/virt-win-reg.pl:707 msgid "Notes:" msgstr "注:" #. type: textblock -#: ../examples/guestfs-recipes.pod:162 +#: ../examples/guestfs-recipes.pod:164 msgid "" "The final dot of the command is not a printing error. It means we want to " "copy out to the current directory." @@ -7912,13 +8031,13 @@ msgstr "" "ピーしたいことを意味します。" #. type: textblock -#: ../examples/guestfs-recipes.pod:167 +#: ../examples/guestfs-recipes.pod:169 msgid "This creates a directory called C<home> under the current directory." msgstr "" "これは現在のディレクトリーに C<home> というディレクトリーを作成します。" #. type: textblock -#: ../examples/guestfs-recipes.pod:171 +#: ../examples/guestfs-recipes.pod:173 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 " @@ -7929,7 +8048,7 @@ msgstr "" "くる必要があります。このようにします:" #. type: verbatim -#: ../examples/guestfs-recipes.pod:175 +#: ../examples/guestfs-recipes.pod:177 #, no-wrap msgid "" " virt-copy-out -d WinGuest 'win:c:\\windows\\system32\\config' .\n" @@ -7939,12 +8058,12 @@ msgstr "" "\n" #. type: textblock -#: ../examples/guestfs-recipes.pod:177 +#: ../examples/guestfs-recipes.pod:179 msgid "To get the output as a compressed tarball, do:" msgstr "圧縮された tar ファイルとして出力を取得するには:" #. type: verbatim -#: ../examples/guestfs-recipes.pod:179 +#: ../examples/guestfs-recipes.pod:181 #, no-wrap msgid "" " virt-tar-out -d Guest /home - | gzip --best > home.tar.gz\n" @@ -7954,7 +8073,7 @@ msgstr "" "\n" #. type: textblock -#: ../examples/guestfs-recipes.pod:181 +#: ../examples/guestfs-recipes.pod:183 #, fuzzy #| msgid "" #| "Although it sounds tempting, this is usually not a reliable way to get a " @@ -7970,12 +8089,12 @@ msgstr "" "さい: http://libguestfs.org/FAQ.html#backup" #. type: =head1 -#: ../examples/guestfs-recipes.pod:185 +#: ../examples/guestfs-recipes.pod:187 msgid "Find out which user is using the most space" msgstr "もっとも領域を使用しているユーザーを検索します" #. type: textblock -#: ../examples/guestfs-recipes.pod:187 +#: ../examples/guestfs-recipes.pod:189 msgid "" "This simple script examines a Linux guest to find out which user is using " "the most space in their home directory:" @@ -7984,7 +8103,7 @@ msgstr "" "るユーザーを検索するために、Linux 仮想マシンを検査します。" #. type: verbatim -#: ../examples/guestfs-recipes.pod:190 +#: ../examples/guestfs-recipes.pod:192 #, no-wrap msgid "" " #!/bin/sh -\n" @@ -7994,7 +8113,7 @@ msgstr "" " \n" #. type: verbatim -#: ../examples/guestfs-recipes.pod:192 ../fish/guestfish.pod:996 +#: ../examples/guestfs-recipes.pod:194 ../fish/guestfish.pod:996 #, no-wrap msgid "" " set -e\n" @@ -8004,7 +8123,7 @@ msgstr "" " \n" #. type: verbatim -#: ../examples/guestfs-recipes.pod:194 +#: ../examples/guestfs-recipes.pod:196 #, no-wrap msgid "" " vm=\"$1\"\n" @@ -8016,7 +8135,7 @@ msgstr "" " \n" #. type: verbatim -#: ../examples/guestfs-recipes.pod:197 +#: ../examples/guestfs-recipes.pod:199 #, no-wrap msgid "" " eval $(guestfish --ro -d \"$vm\" -i --listen)\n" @@ -8026,7 +8145,7 @@ msgstr "" " \n" #. type: verbatim -#: ../examples/guestfs-recipes.pod:199 +#: ../examples/guestfs-recipes.pod:201 #, no-wrap msgid "" " for d in $(guestfish --remote ls \"$dir\"); do\n" @@ -8044,7 +8163,7 @@ msgstr "" " \n" #. type: verbatim -#: ../examples/guestfs-recipes.pod:205 ../fish/guestfish.pod:953 +#: ../examples/guestfs-recipes.pod:207 ../fish/guestfish.pod:953 #, no-wrap msgid "" " guestfish --remote exit\n" @@ -8054,12 +8173,12 @@ msgstr "" "\n" #. type: =head1 -#: ../examples/guestfs-recipes.pod:207 +#: ../examples/guestfs-recipes.pod:209 msgid "Get DHCP address from a VM" msgstr "仮想マシンから DHCP アドレスを取得します" #. type: textblock -#: ../examples/guestfs-recipes.pod:209 +#: ../examples/guestfs-recipes.pod:211 msgid "" "The link below explains the many different possible techniques for getting " "the last assigned DHCP address of a virtual machine." @@ -8068,7 +8187,7 @@ msgstr "" "るために、多くの異なる利用可能なテクニックを説明しています。" #. type: textblock -#: ../examples/guestfs-recipes.pod:212 +#: ../examples/guestfs-recipes.pod:214 #, fuzzy #| msgid "" #| "https://rwmj.wordpress.com/2011/03/31/tip-code-for-getting-dhcp-address-" @@ -8081,7 +8200,7 @@ msgstr "" "a-virtual-machine-disk-image/#content" #. type: textblock -#: ../examples/guestfs-recipes.pod:214 +#: ../examples/guestfs-recipes.pod:216 msgid "" "In the libguestfs source examples directory you will find the latest version " "of the C<virt-dhcp-address.c> program." @@ -8090,17 +8209,17 @@ msgstr "" "ラムの最新バージョンがあります。" #. type: =head1 -#: ../examples/guestfs-recipes.pod:217 +#: ../examples/guestfs-recipes.pod:219 msgid "Get the operating system product name string" msgstr "オペレーティングシステムの製品名を取得します" #. type: textblock -#: ../examples/guestfs-recipes.pod:219 +#: ../examples/guestfs-recipes.pod:221 msgid "Save the following script into a file called C<product-name.sh>:" msgstr "以下のスクリプトを C<product-name.sh> というファイルの中に保存します:" #. type: verbatim -#: ../examples/guestfs-recipes.pod:221 +#: ../examples/guestfs-recipes.pod:223 #, no-wrap msgid "" " #!/bin/sh -\n" @@ -8120,12 +8239,12 @@ msgstr "" "\n" #. type: textblock -#: ../examples/guestfs-recipes.pod:228 +#: ../examples/guestfs-recipes.pod:230 msgid "Make the script executable and run it on a named guest:" msgstr "スクリプトを実行可能にして、名前付き仮想マシンにおいて実行します:" #. type: verbatim -#: ../examples/guestfs-recipes.pod:230 +#: ../examples/guestfs-recipes.pod:232 #, no-wrap msgid "" " # product-name.sh RHEL60x64\n" @@ -8137,7 +8256,7 @@ msgstr "" "\n" #. type: textblock -#: ../examples/guestfs-recipes.pod:233 +#: ../examples/guestfs-recipes.pod:235 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:" @@ -8147,7 +8266,7 @@ msgstr "" "す:" #. type: verbatim -#: ../examples/guestfs-recipes.pod:237 +#: ../examples/guestfs-recipes.pod:239 #, no-wrap msgid "" " # virt-inspector RHEL60x64 > xml\n" @@ -8165,12 +8284,12 @@ msgstr "" "\n" #. type: =head1 -#: ../examples/guestfs-recipes.pod:243 +#: ../examples/guestfs-recipes.pod:245 msgid "Get the default boot kernel for a Linux VM" msgstr "Linux 仮想マシンのデフォルトの起動カーネルを取得します" #. type: textblock -#: ../examples/guestfs-recipes.pod:245 +#: ../examples/guestfs-recipes.pod:247 msgid "" "The link below contains a program to print the default boot kernel for a " "Linux VM." @@ -8179,7 +8298,7 @@ msgstr "" "グラムがあります。" #. type: textblock -#: ../examples/guestfs-recipes.pod:248 +#: ../examples/guestfs-recipes.pod:250 #, fuzzy #| msgid "" #| "https://rwmj.wordpress.com/2010/10/30/tip-use-augeas-to-get-the-default-" @@ -8192,7 +8311,7 @@ msgstr "" "kernel-for-a-vm/#content" #. type: textblock -#: ../examples/guestfs-recipes.pod:250 +#: ../examples/guestfs-recipes.pod:252 msgid "" "It uses Augeas, and the technique is generally applicable for many different " "tasks, such as:" @@ -8201,44 +8320,120 @@ msgstr "" "な一般的なテクニックがあります:" #. type: textblock -#: ../examples/guestfs-recipes.pod:257 +#: ../examples/guestfs-recipes.pod:259 msgid "listing the user accounts in the guest" msgstr "仮想マシンのユーザーアカウントの一覧" #. type: textblock -#: ../examples/guestfs-recipes.pod:261 +#: ../examples/guestfs-recipes.pod:263 msgid "what repositories is it configured to use" msgstr "使用するよう設定されたリポジトリー" #. type: textblock -#: ../examples/guestfs-recipes.pod:265 +#: ../examples/guestfs-recipes.pod:267 msgid "what NTP servers does it connect to" msgstr "接続する NTP サーバー" #. type: textblock -#: ../examples/guestfs-recipes.pod:269 +#: ../examples/guestfs-recipes.pod:271 msgid "what were the boot messages last time it booted" msgstr "前回起動時の起動メッセージ" #. type: textblock -#: ../examples/guestfs-recipes.pod:273 +#: ../examples/guestfs-recipes.pod:275 msgid "listing who was logged in recently" msgstr "最近ログインしたユーザーの一覧" #. type: textblock -#: ../examples/guestfs-recipes.pod:277 +#: ../examples/guestfs-recipes.pod:279 #, fuzzy #| msgid "http://augeas.net/" msgid "L<http://augeas.net/>" msgstr "http://augeas.net/" #. type: =head1 -#: ../examples/guestfs-recipes.pod:279 +#: ../examples/guestfs-recipes.pod:281 +msgid "Hanging guests" +msgstr "" + +#. type: textblock +#: ../examples/guestfs-recipes.pod:283 +msgid "" +"There are various ways to use libguestfs to find out why a guest is hanging " +"or unresponsive:" +msgstr "" + +#. type: textblock +#: ../examples/guestfs-recipes.pod:290 +msgid "Read the log files using virt-cat:" +msgstr "" + +#. type: verbatim +#: ../examples/guestfs-recipes.pod:292 +#, 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: textblock +#: ../examples/guestfs-recipes.pod:296 +#, fuzzy +#| msgid "Reading the Windows Event Log from Windows Vista (or later)" +msgid "Read the Windows Event Log (Windows Vista or later only):" +msgstr "" +"Windows Vista (またそれ以降)から Windows のイベントログを読み出します" + +#. type: textblock +#: ../examples/guestfs-recipes.pod:298 ../examples/guestfs-recipes.pod:397 +#, fuzzy +#| msgid "" +#| "https://rwmj.wordpress.com/2011/04/17/decoding-the-windows-event-log-" +#| "using-guestfish/#content" +msgid "" +"L<https://rwmj.wordpress.com/2011/04/17/decoding-the-windows-event-log-using-" +"guestfish/#content>" +msgstr "" +"https://rwmj.wordpress.com/2011/04/17/decoding-the-windows-event-log-using-" +"guestfish/#content" + +#. type: textblock +#: ../examples/guestfs-recipes.pod:302 +#, fuzzy +#| msgid "Find out which user is using the most space" +msgid "Find out which files were last updated in a guest:" +msgstr "もっとも領域を使用しているユーザーを検索します" + +#. type: textblock +#: ../examples/guestfs-recipes.pod:304 +#, fuzzy +#| msgid "" +#| "https://rwmj.wordpress.com/2011/05/10/tip-use-libguestfs-on-vmware-esx-" +#| "guests/#content" +msgid "" +"L<https://rwmj.wordpress.com/2012/02/27/using-libguestfs-to-find-out-why-a-" +"windows-guest-was-hanging/#content>" +msgstr "" +"https://rwmj.wordpress.com/2011/05/10/tip-use-libguestfs-on-vmware-esx-" +"guests/#content" + +#. type: textblock +#: ../examples/guestfs-recipes.pod:306 +msgid "This might give you a clue as to what program is running." +msgstr "" + +#. type: =head1 +#: ../examples/guestfs-recipes.pod:310 msgid "Install RPMs in a guest" msgstr "仮想マシンに RPM をインストールします" #. type: textblock -#: ../examples/guestfs-recipes.pod:281 +#: ../examples/guestfs-recipes.pod:312 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 " @@ -8251,7 +8446,7 @@ msgstr "" "セキュリティ更新をインストールするためにこのテクニックを使用できます。" #. type: textblock -#: ../examples/guestfs-recipes.pod:287 +#: ../examples/guestfs-recipes.pod:318 #, fuzzy #| msgid "" #| "https://rwmj.wordpress.com/2010/12/01/tip-install-rpms-in-a-guest/#content" @@ -8261,17 +8456,17 @@ msgstr "" "https://rwmj.wordpress.com/2010/12/01/tip-install-rpms-in-a-guest/#content" #. type: =head1 -#: ../examples/guestfs-recipes.pod:289 +#: ../examples/guestfs-recipes.pod:320 msgid "List applications installed in a VM" msgstr "仮想マシンにインストールされているアプリケーションを一覧表示します" #. type: textblock -#: ../examples/guestfs-recipes.pod:291 +#: ../examples/guestfs-recipes.pod:322 msgid "Save the following to a file C<list-apps.sh>:" msgstr "以下をファイル C<list-apps.sh> に保存します:" #. type: verbatim -#: ../examples/guestfs-recipes.pod:293 +#: ../examples/guestfs-recipes.pod:324 #, no-wrap msgid "" " #!/bin/sh -\n" @@ -8291,7 +8486,7 @@ msgstr "" "\n" #. type: textblock -#: ../examples/guestfs-recipes.pod:300 +#: ../examples/guestfs-recipes.pod:331 msgid "" "Make the file executable and then you can run it on any named virtual " "machine:" @@ -8299,7 +8494,7 @@ msgstr "" "ファイルを実行可能にして、あらゆる名前付き仮想マシンにおいて実行できます:" #. type: verbatim -#: ../examples/guestfs-recipes.pod:303 +#: ../examples/guestfs-recipes.pod:334 #, no-wrap msgid "" " # list-apps.sh WinGuest\n" @@ -8365,7 +8560,7 @@ msgstr "" "\n" #. type: textblock -#: ../examples/guestfs-recipes.pod:333 +#: ../examples/guestfs-recipes.pod:364 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)" @@ -8376,22 +8571,22 @@ msgstr "" "照。" #. type: =head1 -#: ../examples/guestfs-recipes.pod:337 +#: ../examples/guestfs-recipes.pod:368 msgid "List files and directories in a VM" msgstr "仮想マシンのファイルおよびディレクトリを一覧表示します" #. type: textblock -#: ../examples/guestfs-recipes.pod:339 +#: ../examples/guestfs-recipes.pod:370 msgid "Use L<virt-ls(1)>." msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:341 +#: ../examples/guestfs-recipes.pod:372 msgid "List services in a Windows VM" msgstr "Windows 仮想マシンのサービスを一覧表示します" #. type: textblock -#: ../examples/guestfs-recipes.pod:343 +#: ../examples/guestfs-recipes.pod:374 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 " @@ -8402,7 +8597,7 @@ msgstr "" "リプトがあります。" #. type: textblock -#: ../examples/guestfs-recipes.pod:347 +#: ../examples/guestfs-recipes.pod:378 #, fuzzy #| msgid "" #| "https://rwmj.wordpress.com/2010/12/10/tip-list-services-in-a-windows-" @@ -8415,22 +8610,22 @@ msgstr "" "#content" #. type: =head1 -#: ../examples/guestfs-recipes.pod:349 +#: ../examples/guestfs-recipes.pod:380 msgid "Make a disk image sparse" msgstr "ディスクイメージをスパースにします" #. type: textblock -#: ../examples/guestfs-recipes.pod:351 +#: ../examples/guestfs-recipes.pod:382 msgid "Use L<virt-sparsify(1)>." msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:353 +#: ../examples/guestfs-recipes.pod:384 msgid "Monitor disk usage over time" msgstr "ディスク使用量を時系列に監視します" #. type: textblock -#: ../examples/guestfs-recipes.pod:355 +#: ../examples/guestfs-recipes.pod:386 msgid "" "You can use L<virt-df(1)> to monitor disk usage of your guests over time. " "The link below contains a guide." @@ -8439,20 +8634,20 @@ msgstr "" "す。以下のリンクは仮想マシンを含みます。" #. type: textblock -#: ../examples/guestfs-recipes.pod:358 +#: ../examples/guestfs-recipes.pod:389 #, fuzzy #| msgid "http://virt-tools.org/learning/advanced-virt-df/" msgid "L<http://virt-tools.org/learning/advanced-virt-df/>" msgstr "http://virt-tools.org/learning/advanced-virt-df/" #. type: =head1 -#: ../examples/guestfs-recipes.pod:360 +#: ../examples/guestfs-recipes.pod:391 msgid "Reading the Windows Event Log from Windows Vista (or later)" msgstr "" "Windows Vista (またそれ以降)から Windows のイベントログを読み出します" #. type: textblock -#: ../examples/guestfs-recipes.pod:362 +#: ../examples/guestfs-recipes.pod:393 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 " @@ -8462,26 +8657,13 @@ msgstr "" "Vista およびそれ以降のあらゆる仮想マシンから Windows イベントログを読み出すた" "めに使用できます。" -#. type: textblock -#: ../examples/guestfs-recipes.pod:366 -#, fuzzy -#| msgid "" -#| "https://rwmj.wordpress.com/2011/04/17/decoding-the-windows-event-log-" -#| "using-guestfish/#content" -msgid "" -"L<https://rwmj.wordpress.com/2011/04/17/decoding-the-windows-event-log-using-" -"guestfish/#content>" -msgstr "" -"https://rwmj.wordpress.com/2011/04/17/decoding-the-windows-event-log-using-" -"guestfish/#content" - #. type: =head1 -#: ../examples/guestfs-recipes.pod:368 +#: ../examples/guestfs-recipes.pod:399 msgid "Remove root password (Linux)" msgstr "root のパスワードを削除します (Linux)" #. type: textblock -#: ../examples/guestfs-recipes.pod:370 +#: ../examples/guestfs-recipes.pod:401 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:" @@ -8491,7 +8673,7 @@ msgstr "" "ることです。" #. type: verbatim -#: ../examples/guestfs-recipes.pod:373 +#: ../examples/guestfs-recipes.pod:404 #, no-wrap msgid "" " virt-edit domname /etc/passwd -e 's/^root:.*?:/root::/'\n" @@ -8501,12 +8683,12 @@ msgstr "" "\n" #. type: =head1 -#: ../examples/guestfs-recipes.pod:375 +#: ../examples/guestfs-recipes.pod:406 msgid "Remove Administrator password (Windows)" msgstr "Administrator のパスワードを削除します (Windows)" #. type: textblock -#: ../examples/guestfs-recipes.pod:377 +#: ../examples/guestfs-recipes.pod:408 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 " @@ -8517,7 +8699,7 @@ msgstr "" "使用でき、次回ログイン時にコマンドプロンプトを出します:" #. type: textblock -#: ../examples/guestfs-recipes.pod:382 +#: ../examples/guestfs-recipes.pod:413 #, fuzzy #| msgid "" #| "https://mdbooth.wordpress.com/2010/10/18/resetting-a-windows-guests-" @@ -8530,14 +8712,14 @@ msgstr "" "administrator-password-with-guestfish/" #. type: =head1 -#: ../examples/guestfs-recipes.pod:384 +#: ../examples/guestfs-recipes.pod:415 #, fuzzy #| msgid "Cloning a virtual machine (Windows)" msgid "Sysprepping a virtual machine (Windows)" msgstr "仮想マシンのクローン方法 (Windows)" #. type: textblock -#: ../examples/guestfs-recipes.pod:386 +#: ../examples/guestfs-recipes.pod:417 #, fuzzy #| msgid "" #| "It is possible to do a \"sysprep\" using libguestfs alone, although not " @@ -8556,7 +8738,7 @@ msgstr "" "加するかもしれません。" #. type: textblock -#: ../examples/guestfs-recipes.pod:391 +#: ../examples/guestfs-recipes.pod:422 #, fuzzy #| msgid "" #| "https://github.com/clalancette/oz https://www.redhat.com/archives/virt-" @@ -8569,12 +8751,12 @@ msgstr "" "list/2011-May/msg00019.html" #. type: =head1 -#: ../examples/guestfs-recipes.pod:394 +#: ../examples/guestfs-recipes.pod:425 msgid "Unpack a live CD" msgstr "Live CD を展開します" #. type: textblock -#: ../examples/guestfs-recipes.pod:396 +#: ../examples/guestfs-recipes.pod:427 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 " @@ -8585,7 +8767,7 @@ msgstr "" "L<guestfish(1)> を使用できます。" #. type: textblock -#: ../examples/guestfs-recipes.pod:400 +#: ../examples/guestfs-recipes.pod:431 #, fuzzy #| msgid "" #| "https://rwmj.wordpress.com/2009/07/15/unpack-the-russian-doll-of-a-f11-" @@ -8598,12 +8780,12 @@ msgstr "" "cd/#content" #. type: =head1 -#: ../examples/guestfs-recipes.pod:402 +#: ../examples/guestfs-recipes.pod:433 msgid "Uploading and downloading files" msgstr "ファイルのアップロード方法およびダウンロード方法" #. type: textblock -#: ../examples/guestfs-recipes.pod:404 +#: ../examples/guestfs-recipes.pod:435 msgid "" "The link below contains general tips on uploading (copying in) and " "downloading (copying out) files from VMs." @@ -8612,7 +8794,7 @@ msgstr "" "イルをダウンロードすることに関する、一般的なヒントがあります。" #. type: textblock -#: ../examples/guestfs-recipes.pod:407 +#: ../examples/guestfs-recipes.pod:438 #, fuzzy #| msgid "" #| "https://rwmj.wordpress.com/2010/12/02/tip-uploading-and-downloading/" @@ -8624,12 +8806,88 @@ msgstr "" "https://rwmj.wordpress.com/2010/12/02/tip-uploading-and-downloading/#content" #. type: =head1 -#: ../examples/guestfs-recipes.pod:409 +#: ../examples/guestfs-recipes.pod:440 +msgid "Uploading raw filesystem content" +msgstr "" + +#. type: textblock +#: ../examples/guestfs-recipes.pod:442 +#, fuzzy +#| msgid "" +#| "You can use the L<guestfish(1)> C<download> command to extract the raw " +#| "filesystem content from any filesystem in a disk image or a VM (even one " +#| "which is encrypted or buried inside an LV):" +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 "" +"ディスクイメージまたは仮想マシン(暗号化されていたり、論理ボリュームの中に" +"あったりしても)にある、あらゆるファイルシステムから生のファイルシステムの内" +"容を抽出するために L<guestfish(1)> C<download> コマンドを使用できます。" + +#. type: verbatim +#: ../examples/guestfs-recipes.pod:446 +#, fuzzy, no-wrap +#| msgid "" +#| " guestfish --ro -a disk.img run : download /dev/sda1 sda1.img\n" +#| "\n" +msgid "" +" guestfish --rw -a disk.img run : upload sda1.img /dev/sda1\n" +"\n" +msgstr "" +" guestfish --ro -a disk.img run : download /dev/sda1 sda1.img\n" +"\n" + +#. type: verbatim +#: ../examples/guestfs-recipes.pod:448 +#, fuzzy, no-wrap +#| msgid "" +#| " guestfish --ro -d Guest run : download /dev/vg_guest/lv_root lv.img\n" +#| "\n" +msgid "" +" guestfish --rw -d Guest run : upload lv.img /dev/vg_guest/lv_root\n" +"\n" +msgstr "" +" guestfish --ro -d Guest run : download /dev/vg_guest/lv_root lv.img\n" +"\n" + +#. type: textblock +#: ../examples/guestfs-recipes.pod:450 +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:456 +#, fuzzy, no-wrap +#| msgid "" +#| " guestfish --ro -d Guest run : download /dev/vg_guest/lv_root lv.img\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 "" +" guestfish --ro -d Guest run : download /dev/vg_guest/lv_root lv.img\n" +"\n" + +#. type: textblock +#: ../examples/guestfs-recipes.pod:460 +msgid "(or use C<ntfsresize> if the filesystem is NTFS)." +msgstr "" + +#. type: =head1 +#: ../examples/guestfs-recipes.pod:462 msgid "Use libguestfs tools on VMware ESX guests" msgstr "VMware ESX 仮想マシンにおいて libguestfs ツールを使用します" #. type: textblock -#: ../examples/guestfs-recipes.pod:411 +#: ../examples/guestfs-recipes.pod:464 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." @@ -8639,7 +8897,7 @@ msgstr "" "を使用する方法を説明しています。" #. type: textblock -#: ../examples/guestfs-recipes.pod:415 +#: ../examples/guestfs-recipes.pod:468 #, fuzzy #| msgid "" #| "https://rwmj.wordpress.com/2011/05/10/tip-use-libguestfs-on-vmware-esx-" @@ -8652,7 +8910,7 @@ msgstr "" "guests/#content" #. type: textblock -#: ../examples/guestfs-recipes.pod:419 +#: ../examples/guestfs-recipes.pod:472 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-" @@ -8721,11 +8979,44 @@ msgstr "テスト" #. type: =head2 #: ../examples/guestfs-testing.pod:30 +#, fuzzy +#| msgid "" +#| " libguestfs-test-tool\n" +#| "\n" +msgid "Run libguestfs-test-tool" +msgstr "" +" libguestfs-test-tool\n" +"\n" + +#. type: textblock +#: ../examples/guestfs-testing.pod:32 ../examples/guestfs-testing.pod:145 +#: ../src/guestfs.pod:3258 +msgid "Run:" +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 "KVM アクセラレーションが使用されていることを確認します。" #. 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 " @@ -8733,26 +9024,26 @@ 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 #, fuzzy #| msgid "http://virt-tools.org/learning/check-hardware-virt/" msgid "L<http://virt-tools.org/learning/check-hardware-virt/>" msgstr "http://virt-tools.org/learning/check-hardware-virt/" #. 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 "" @@ -8760,19 +9051,19 @@ msgstr "" "す。" #. type: =head2 -#: ../examples/guestfs-testing.pod:48 +#: ../examples/guestfs-testing.pod:62 msgid "Run virt-alignment-scan on all your guests." msgstr "すべての仮想マシンにおいて virt-alignment-scan を実行します。" #. 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 "" "仮想マシンまたはディスクイメージにおいて L<virt-alignment-scan(1)> を実行しま" "す:" #. type: verbatim -#: ../examples/guestfs-testing.pod:52 +#: ../examples/guestfs-testing.pod:66 #, no-wrap msgid "" " virt-alignment-scan -a /path/to/disk.img\n" @@ -8782,14 +9073,14 @@ msgstr "" "\n" #. 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:2966 +#: ../examples/guestfs-testing.pod:68 ../examples/guestfs-testing.pod:175 +#: ../examples/guestfs-testing.pod:188 ../examples/guestfs-testing.pod:248 +#: ../src/guestfs.pod:2972 msgid "or:" msgstr "または:" #. type: verbatim -#: ../examples/guestfs-testing.pod:56 +#: ../examples/guestfs-testing.pod:70 #, no-wrap msgid "" " virt-alignment-scan -d Guest\n" @@ -8799,24 +9090,24 @@ msgstr "" "\n" #. 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 "仮想マシンにあるいくつかのファイルにおいて virt-cat を実行します。" #. 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 "" "L<virt-cat(1)> は仮想マシンからファイルを表示できます。 Linux 仮想マシンに対" "しては、次を試します:" #. type: verbatim -#: ../examples/guestfs-testing.pod:64 +#: ../examples/guestfs-testing.pod:78 #, no-wrap msgid "" " virt-cat LinuxGuest /etc/passwd\n" @@ -8826,12 +9117,12 @@ msgstr "" "\n" #. type: textblock -#: ../examples/guestfs-testing.pod:66 +#: ../examples/guestfs-testing.pod:80 msgid "A recent feature is support for Windows paths, for example:" msgstr "最近の機能は Windows のパスをサポートします、たとえば:" #. type: verbatim -#: ../examples/guestfs-testing.pod:68 +#: ../examples/guestfs-testing.pod:82 #, no-wrap msgid "" " virt-cat WindowsGuest 'c:\\windows\\win.ini'\n" @@ -8841,26 +9132,26 @@ msgstr "" "\n" #. 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" @@ -8870,7 +9161,7 @@ msgstr "" "\n" #. 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 " @@ -8878,12 +9169,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" @@ -8893,39 +9184,39 @@ msgstr "" "\n" #. 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 "virt-df を実行します。" #. type: textblock -#: ../examples/guestfs-testing.pod:101 +#: ../examples/guestfs-testing.pod:115 msgid "L<virt-df(1)> lists disk space. Run:" msgstr "L<virt-df(1)> はディスク領域を一覧表示します。次を実行します:" #. type: verbatim -#: ../examples/guestfs-testing.pod:103 +#: ../examples/guestfs-testing.pod:117 #, no-wrap msgid "" " virt-df\n" @@ -8935,31 +9226,31 @@ msgstr "" "\n" #. 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 " @@ -8967,17 +9258,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:3252 -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" @@ -8987,14 +9273,14 @@ msgstr "" "\n" #. 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 #, fuzzy #| msgid "" #| "http://www.postgresql.org/docs/8.1/static/sql-copy.html http://dev.mysql." @@ -9007,12 +9293,12 @@ msgstr "" "doc/refman/5.1/en/load-data.html" #. type: =head2 -#: ../examples/guestfs-testing.pod:141 +#: ../examples/guestfs-testing.pod:155 msgid "B<*> Edit a file in a B<shut off> guest." msgstr "B<*> B<シャットオフ>している仮想マシンにあるファイルを編集します。" #. 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:" @@ -9021,7 +9307,7 @@ msgstr "" "仮想マシンにおいてこのコマンドを試します:" #. type: verbatim -#: ../examples/guestfs-testing.pod:146 +#: ../examples/guestfs-testing.pod:160 #, no-wrap msgid "" " virt-edit LinuxGuest /etc/sysconfig/network\n" @@ -9031,12 +9317,12 @@ msgstr "" "\n" #. type: textblock -#: ../examples/guestfs-testing.pod:148 +#: ../examples/guestfs-testing.pod:162 msgid "On other Linux guests try editing other files such as:" msgstr "他の Linux 仮想マシンにおいて、次のように他のファイルの編集を試します:" #. type: verbatim -#: ../examples/guestfs-testing.pod:150 +#: ../examples/guestfs-testing.pod:164 #, no-wrap msgid "" " virt-edit LinuxGuest /etc/motd\n" @@ -9046,26 +9332,26 @@ msgstr "" "\n" #. 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" @@ -9075,7 +9361,7 @@ msgstr "" "\n" #. type: verbatim -#: ../examples/guestfs-testing.pod:163 +#: ../examples/guestfs-testing.pod:177 #, no-wrap msgid "" " virt-filesystems -d Guest --all --long -h\n" @@ -9085,24 +9371,24 @@ msgstr "" "\n" #. 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 "すべての仮想マシンにおいて virt-inspector を実行します。" #. 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" @@ -9112,7 +9398,7 @@ msgstr "" "\n" #. type: verbatim -#: ../examples/guestfs-testing.pod:176 +#: ../examples/guestfs-testing.pod:190 #, no-wrap msgid "" " virt-inspector -d Guest | less\n" @@ -9122,17 +9408,17 @@ msgstr "" "\n" #. 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 "すべての仮想マシンにおいて virt-ls の監査機能を試します。" #. type: verbatim -#: ../examples/guestfs-testing.pod:184 +#: ../examples/guestfs-testing.pod:198 #, no-wrap msgid "" " virt-ls -lR -d Guest / | grep '^- [42]'\n" @@ -9142,7 +9428,7 @@ msgstr "" "\n" #. type: verbatim -#: ../examples/guestfs-testing.pod:188 +#: ../examples/guestfs-testing.pod:202 #, no-wrap msgid "" " virt-ls -lR -d Guest / | grep '^d ...7'\n" @@ -9152,7 +9438,7 @@ msgstr "" "\n" #. type: verbatim -#: ../examples/guestfs-testing.pod:192 +#: ../examples/guestfs-testing.pod:206 #, no-wrap msgid "" " virt-ls -lR -d Guest / | grep '^s'\n" @@ -9162,7 +9448,7 @@ msgstr "" "\n" #. type: verbatim -#: ../examples/guestfs-testing.pod:196 +#: ../examples/guestfs-testing.pod:210 #, no-wrap msgid "" " virt-ls -lR -d Guest / | grep -i '^-.*\\.png$'\n" @@ -9172,12 +9458,12 @@ msgstr "" "\n" #. type: textblock -#: ../examples/guestfs-testing.pod:198 +#: ../examples/guestfs-testing.pod:212 msgid "Display files larger than 10MB in home directories:" msgstr "ホームディレクトリーにある 10MB より大きなファイルを表示します:" #. 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" @@ -9187,7 +9473,7 @@ msgstr "" "\n" #. 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" @@ -9197,7 +9483,7 @@ msgstr "" "\n" #. 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" @@ -9207,24 +9493,24 @@ msgstr "" "\n" #. 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 "tar ファイルからディスクイメージを作成します。" #. 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" @@ -9234,7 +9520,7 @@ msgstr "" "\n" #. 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 " @@ -9245,25 +9531,25 @@ msgstr "" "ストがとくに有用です。" #. type: textblock -#: ../examples/guestfs-testing.pod:223 +#: ../examples/guestfs-testing.pod:237 msgid "Try other partitioning schemes, eg. I<--partition=gpt>." msgstr "他のパーティションスキーマを試してください。例: I<--partition=gpt>" #. 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 "" "他のファイルシステム形式を試してください。例: I<--type=ntfs>, I<--type=ext2>" #. 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 "" "B<*> B<停止状態>のディスクイメージまたは仮想マシンにおいて virt-rescue を実行" "します。" #. 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:" @@ -9272,7 +9558,7 @@ msgstr "" "は L<virt-rescue(1)> を使用します:" #. type: verbatim -#: ../examples/guestfs-testing.pod:232 +#: ../examples/guestfs-testing.pod:246 #, no-wrap msgid "" " virt-rescue -a /path/to/disk.img\n" @@ -9282,7 +9568,7 @@ msgstr "" "\n" #. type: verbatim -#: ../examples/guestfs-testing.pod:236 +#: ../examples/guestfs-testing.pod:250 #, no-wrap msgid "" " virt-rescue -d Guest\n" @@ -9292,17 +9578,17 @@ msgstr "" "\n" #. 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 "B<*> 仮想マシンの容量を変更します。" #. 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:" @@ -9311,7 +9597,7 @@ msgstr "" "とえば、ディスクイメージが 30G より小さければ、次を実行して 30G に増やします:" #. type: verbatim -#: ../examples/guestfs-testing.pod:246 +#: ../examples/guestfs-testing.pod:260 #, no-wrap msgid "" " truncate -s 30G newdisk.img\n" @@ -9327,23 +9613,23 @@ msgstr "" "\n" #. 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 "B<*> 仮想マシンのディスクをスパースにします。" #. 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 "" "L<virt-sparsify(1)> を使用して、ディスクイメージをよりスパースにします:" #. type: verbatim -#: ../examples/guestfs-testing.pod:257 +#: ../examples/guestfs-testing.pod:271 #, no-wrap msgid "" " virt-sparsify /path/to/olddisk.img newdisk.img\n" @@ -9353,26 +9639,26 @@ msgstr "" "\n" #. 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 "B<*> B<停止状態>の Linux 仮想マシンを \"sysprep\" します。" #. 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" @@ -9382,7 +9668,7 @@ msgstr "" "\n" #. 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?" @@ -9391,12 +9677,12 @@ msgstr "" "か?" #. type: =head2 -#: ../examples/guestfs-testing.pod:272 +#: ../examples/guestfs-testing.pod:286 msgid "Dump the Windows Registry from your Windows guests." msgstr "Windows ゲストから Windows レジストリをダンプします。" #. 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." @@ -9405,7 +9691,7 @@ msgstr "" "(1)> を使用します。" #. 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" @@ -9417,7 +9703,7 @@ msgstr "" "\n" #. 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" @@ -9429,19 +9715,19 @@ msgstr "" "\n" #. 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" @@ -9453,7 +9739,7 @@ msgstr "" "\n" #. 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/>." @@ -9839,7 +10125,7 @@ msgstr "" #. type: =item #: ../fish/guestfish-actions.pod:174 ../src/guestfs-actions.pod:234 -#: ../src/guestfs.pod:3131 +#: ../src/guestfs.pod:3137 msgid "C<format>" msgstr "C<format>" @@ -20929,7 +21215,7 @@ msgstr "libguestfs がカーネルおよび initrd.img を検索するパスを #. type: =item #: ../fish/guestfish-actions.pod:4903 ../src/guestfs-actions.pod:7698 -#: ../src/guestfs.pod:3095 +#: ../src/guestfs.pod:3101 msgid "C<appliance>" msgstr "C<appliance>" @@ -25290,7 +25576,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../fish/guestfish.pod:135 ../src/guestfs.pod:2417 +#: ../fish/guestfish.pod:135 ../src/guestfs.pod:2423 #, no-wrap msgid "" " guestfish -N fs\n" @@ -26913,7 +27199,7 @@ msgstr "" "\n" #. type: =head2 -#: ../fish/guestfish.pod:837 ../src/guestfs.pod:519 +#: ../fish/guestfish.pod:837 ../src/guestfs.pod:525 msgid "ENCRYPTED DISKS" msgstr "暗号化ディスク" @@ -27643,7 +27929,7 @@ msgid "COMMANDS" msgstr "コマンド" #. type: textblock -#: ../fish/guestfish.pod:1124 ../src/guestfs.pod:1694 +#: ../fish/guestfish.pod:1124 ../src/guestfs.pod:1700 msgid "@ACTIONS@" msgstr "@ACTIONS@" @@ -27671,17 +27957,17 @@ msgstr "" "と、C<vi> を使用します。" #. type: =item -#: ../fish/guestfish.pod:1140 ../src/guestfs.pod:3382 +#: ../fish/guestfish.pod:1140 ../src/guestfs.pod:3388 msgid "FEBOOTSTRAP_KERNEL" msgstr "FEBOOTSTRAP_KERNEL" #. type: =item -#: ../fish/guestfish.pod:1142 ../src/guestfs.pod:3384 +#: ../fish/guestfish.pod:1142 ../src/guestfs.pod:3390 msgid "FEBOOTSTRAP_MODULES" msgstr "FEBOOTSTRAP_MODULES" #. type: textblock -#: ../fish/guestfish.pod:1144 ../src/guestfs.pod:3386 +#: ../fish/guestfish.pod:1144 ../src/guestfs.pod:3392 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 " @@ -27741,17 +28027,17 @@ msgstr "" "さまざまなファイルを使用できます。 L</ファイル> 参照。" #. type: =item -#: ../fish/guestfish.pod:1172 ../src/guestfs.pod:3392 +#: ../fish/guestfish.pod:1172 ../src/guestfs.pod:3398 msgid "LIBGUESTFS_APPEND" msgstr "LIBGUESTFS_APPEND" #. type: textblock -#: ../fish/guestfish.pod:1174 ../src/guestfs.pod:3394 +#: ../fish/guestfish.pod:1174 ../src/guestfs.pod:3400 msgid "Pass additional options to the guest kernel." msgstr "仮想マシンのカーネルに追加のオプションを渡します。" #. type: =item -#: ../fish/guestfish.pod:1176 ../src/guestfs.pod:3396 +#: ../fish/guestfish.pod:1176 ../src/guestfs.pod:3402 msgid "LIBGUESTFS_DEBUG" msgstr "LIBGUESTFS_DEBUG" @@ -27763,18 +28049,18 @@ msgid "" msgstr "" #. type: =item -#: ../fish/guestfish.pod:1181 ../src/guestfs.pod:3401 +#: ../fish/guestfish.pod:1181 ../src/guestfs.pod:3407 msgid "LIBGUESTFS_MEMSIZE" msgstr "LIBGUESTFS_MEMSIZE" #. type: textblock -#: ../fish/guestfish.pod:1183 ../src/guestfs.pod:3403 +#: ../fish/guestfish.pod:1183 ../src/guestfs.pod:3409 msgid "" "Set the memory allocated to the qemu process, in megabytes. For example:" msgstr "" #. type: verbatim -#: ../fish/guestfish.pod:1186 ../src/guestfs.pod:3406 +#: ../fish/guestfish.pod:1186 ../src/guestfs.pod:3412 #, no-wrap msgid "" " LIBGUESTFS_MEMSIZE=700\n" @@ -27784,7 +28070,7 @@ msgstr "" "\n" #. type: =item -#: ../fish/guestfish.pod:1188 ../src/guestfs.pod:3408 +#: ../fish/guestfish.pod:1188 ../src/guestfs.pod:3414 msgid "LIBGUESTFS_PATH" msgstr "LIBGUESTFS_PATH" @@ -27796,19 +28082,19 @@ msgid "" msgstr "" #. type: =item -#: ../fish/guestfish.pod:1193 ../src/guestfs.pod:3413 +#: ../fish/guestfish.pod:1193 ../src/guestfs.pod:3419 msgid "LIBGUESTFS_QEMU" msgstr "LIBGUESTFS_QEMU" #. type: textblock -#: ../fish/guestfish.pod:1195 ../src/guestfs.pod:3415 +#: ../fish/guestfish.pod:1195 ../src/guestfs.pod:3421 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:1199 ../src/guestfs.pod:3421 +#: ../fish/guestfish.pod:1199 ../src/guestfs.pod:3427 msgid "LIBGUESTFS_TRACE" msgstr "LIBGUESTFS_TRACE" @@ -27832,12 +28118,12 @@ msgstr "" #. type: =item #: ../fish/guestfish.pod:1208 ../sparsify/virt-sparsify.pod:276 -#: ../src/guestfs.pod:3426 +#: ../src/guestfs.pod:3432 msgid "TMPDIR" msgstr "TMPDIR" #. type: textblock -#: ../fish/guestfish.pod:1210 ../src/guestfs.pod:3428 +#: ../fish/guestfish.pod:1210 ../src/guestfs.pod:3434 msgid "" "Location of temporary directory, defaults to C</tmp> except for the cached " "supermin appliance which defaults to C</var/tmp>." @@ -27846,7 +28132,7 @@ msgstr "" "あるキャッシュされた supermin アプライアンスは除きます。" #. type: textblock -#: ../fish/guestfish.pod:1213 ../src/guestfs.pod:3431 +#: ../fish/guestfish.pod:1213 ../src/guestfs.pod:3437 msgid "" "If libguestfs was compiled to use the supermin appliance then the real " "appliance is cached in this directory, shared between all handles belonging " @@ -47190,13 +47476,26 @@ msgid "" "LANGUAGES> below." msgstr "" -#. type: =head1 +#. type: textblock #: ../src/guestfs.pod:41 +msgid "For tips and recipes, see L<guestfs-recipes(1)>." +msgstr "" + +#. type: textblock +#: ../src/guestfs.pod:43 +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:47 msgid "API OVERVIEW" msgstr "API 概要" #. type: textblock -#: ../src/guestfs.pod:43 +#: ../src/guestfs.pod:49 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 " @@ -47207,12 +47506,12 @@ msgstr "" "呼び出しに関して読む必要が無くなります。" #. type: =head2 -#: ../src/guestfs.pod:48 +#: ../src/guestfs.pod:54 msgid "HANDLES" msgstr "ハンドル" #. type: textblock -#: ../src/guestfs.pod:50 +#: ../src/guestfs.pod:56 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 " @@ -47227,14 +47526,14 @@ msgstr "" "前を使うことができます。" #. type: textblock -#: ../src/guestfs.pod:57 +#: ../src/guestfs.pod:63 msgid "The general structure of all libguestfs-using programs looks like this:" msgstr "" "libguestfs を使用しているすべてのプログラムの一般的な構造はこのようなもので" "す:" #. type: verbatim -#: ../src/guestfs.pod:60 +#: ../src/guestfs.pod:66 #, no-wrap msgid "" " guestfs_h *g = guestfs_create ();\n" @@ -47244,7 +47543,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:62 +#: ../src/guestfs.pod:68 #, no-wrap msgid "" " /* Call guestfs_add_drive additional times if there are\n" @@ -47260,7 +47559,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:67 +#: ../src/guestfs.pod:73 #, no-wrap msgid "" " /* Most manipulation calls won't work until you've launched\n" @@ -47278,7 +47577,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:73 +#: ../src/guestfs.pod:79 #, no-wrap msgid "" " /* Now you can examine what partitions, LVs etc are available.\n" @@ -47294,7 +47593,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:78 +#: ../src/guestfs.pod:84 #, no-wrap msgid "" " /* To access a filesystem in the image, you must mount it.\n" @@ -47309,7 +47608,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:82 +#: ../src/guestfs.pod:88 #, no-wrap msgid "" " /* Now you can perform filesystem actions on the guest\n" @@ -47325,7 +47624,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:87 +#: ../src/guestfs.pod:93 #, no-wrap msgid "" " /* Synchronize the disk. This is the opposite of guestfs_launch. */\n" @@ -47334,7 +47633,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:90 +#: ../src/guestfs.pod:96 #, no-wrap msgid "" " /* Close and free the handle 'g'. */\n" @@ -47343,7 +47642,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:93 +#: ../src/guestfs.pod:99 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 " @@ -47362,12 +47661,12 @@ msgstr "" "動作する例は L<guestfs-examples(3)> を参照してください。" #. type: =head2 -#: ../src/guestfs.pod:102 +#: ../src/guestfs.pod:108 msgid "DISK IMAGES" msgstr "ディスクイメージ" #. type: textblock -#: ../src/guestfs.pod:104 +#: ../src/guestfs.pod:110 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 " @@ -47381,7 +47680,7 @@ msgstr "" "これらすべてに役に立つことをさせます。" #. type: textblock -#: ../src/guestfs.pod:110 +#: ../src/guestfs.pod:116 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 " @@ -47392,7 +47691,7 @@ msgstr "" "ジを追加するには、次を実行します:" #. type: verbatim -#: ../src/guestfs.pod:114 +#: ../src/guestfs.pod:120 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename,\n" @@ -47406,12 +47705,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:118 +#: ../src/guestfs.pod:124 msgid "You can add a disk read-only using:" msgstr "以下を使用して、読み込み専用のディスクを追加できます:" #. type: verbatim -#: ../src/guestfs.pod:120 +#: ../src/guestfs.pod:126 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename,\n" @@ -47427,7 +47726,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:125 +#: ../src/guestfs.pod:131 msgid "" "or by calling the older function L</guestfs_add_drive_ro>. In either case " "libguestfs won't modify the file." @@ -47436,7 +47735,7 @@ msgstr "" "らの場合も libguestfs はファイルを変更できません。" #. type: textblock -#: ../src/guestfs.pod:128 +#: ../src/guestfs.pod:134 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 " @@ -47447,7 +47746,7 @@ msgstr "" "ク破損を引き起こします。一方、読み込み専用で追加することは安全です。" #. type: textblock -#: ../src/guestfs.pod:132 +#: ../src/guestfs.pod:138 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 " @@ -47459,7 +47758,7 @@ msgstr "" "参照されます。" #. type: textblock -#: ../src/guestfs.pod:137 +#: ../src/guestfs.pod:143 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 " @@ -47471,12 +47770,12 @@ msgstr "" "照してください。" #. type: =head2 -#: ../src/guestfs.pod:142 +#: ../src/guestfs.pod:148 msgid "MOUNTING" msgstr "マウント" #. type: textblock -#: ../src/guestfs.pod:144 +#: ../src/guestfs.pod:150 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 " @@ -47492,7 +47791,7 @@ msgstr "" "それを直接マウントできます:" #. type: verbatim -#: ../src/guestfs.pod:151 +#: ../src/guestfs.pod:157 #, no-wrap msgid "" " guestfs_mount_options (g, \"\", \"/dev/sda1\", \"/\");\n" @@ -47502,7 +47801,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:153 +#: ../src/guestfs.pod:159 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 " @@ -47517,7 +47816,7 @@ msgstr "" "してください。" #. type: textblock -#: ../src/guestfs.pod:159 +#: ../src/guestfs.pod:165 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</" @@ -47535,7 +47834,7 @@ msgstr "" "guestfs_list_filesystems> を使用します。" #. type: textblock -#: ../src/guestfs.pod:167 +#: ../src/guestfs.pod:173 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 " @@ -47546,7 +47845,7 @@ msgstr "" "くに L<virt-inspector(1)> は、より簡単に見ることができます。" #. type: textblock -#: ../src/guestfs.pod:172 +#: ../src/guestfs.pod:178 msgid "" "To mount a filesystem read-only, use L</guestfs_mount_ro>. There are " "several other variations of the C<guestfs_mount_*> call." @@ -47555,12 +47854,12 @@ msgstr "" "します。いくつかの他の変種 C<guestfs_mount_*> 呼び出しがあります。" #. type: =head2 -#: ../src/guestfs.pod:175 +#: ../src/guestfs.pod:181 msgid "FILESYSTEM ACCESS AND MODIFICATION" msgstr "ファイルシステムのアクセスおよび変更" #. type: textblock -#: ../src/guestfs.pod:177 +#: ../src/guestfs.pod:183 msgid "" "The majority of the libguestfs API consists of fairly low-level calls for " "accessing and modifying the files, directories, symlinks etc on mounted " @@ -47575,7 +47874,7 @@ msgstr "" "扱うことは考えていません。" #. type: textblock -#: ../src/guestfs.pod:183 +#: ../src/guestfs.pod:189 msgid "" "Specify filenames as full paths, starting with C<\"/\"> and including the " "mount point." @@ -47584,7 +47883,7 @@ msgstr "" "す。" #. type: textblock -#: ../src/guestfs.pod:186 +#: ../src/guestfs.pod:192 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:" @@ -47593,7 +47892,7 @@ msgstr "" "ファイルを読み込みたければ、次のようにできます:" #. type: verbatim -#: ../src/guestfs.pod:189 +#: ../src/guestfs.pod:195 #, no-wrap msgid "" " char *data = guestfs_cat (g, \"/etc/passwd\");\n" @@ -47603,7 +47902,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:191 +#: ../src/guestfs.pod:197 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), " @@ -47614,7 +47913,7 @@ msgstr "" "は、エラーがあれば C<NULL> を返します。" #. type: textblock -#: ../src/guestfs.pod:195 +#: ../src/guestfs.pod:201 msgid "" "As another example, to create a top-level directory on that filesystem " "called C<\"var\"> you would do:" @@ -47623,7 +47922,7 @@ msgstr "" "トリーを作成するには、次のようにします:" #. type: verbatim -#: ../src/guestfs.pod:198 +#: ../src/guestfs.pod:204 #, no-wrap msgid "" " guestfs_mkdir (g, \"/var\");\n" @@ -47633,12 +47932,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:200 +#: ../src/guestfs.pod:206 msgid "To create a symlink you could do:" msgstr "シンボリックリンクを作成するには次のようにできます:" #. type: verbatim -#: ../src/guestfs.pod:202 +#: ../src/guestfs.pod:208 #, no-wrap msgid "" " guestfs_ln_s (g, \"/etc/init.d/portmap\",\n" @@ -47650,7 +47949,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:205 +#: ../src/guestfs.pod:211 msgid "" "Libguestfs will reject attempts to use relative paths and there is no " "concept of a current working directory." @@ -47659,7 +47958,7 @@ msgstr "" "ありません。" #. type: textblock -#: ../src/guestfs.pod:208 +#: ../src/guestfs.pod:214 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 " @@ -47674,7 +47973,7 @@ msgstr "" "ドは、これらのエラーを例外の中に含めてください。)" #. type: textblock -#: ../src/guestfs.pod:214 +#: ../src/guestfs.pod:220 msgid "" "File writes are affected by the per-handle umask, set by calling L</" "guestfs_umask> and defaulting to 022. See L</UMASK>." @@ -47684,19 +47983,19 @@ msgstr "" "照。" #. type: textblock -#: ../src/guestfs.pod:217 +#: ../src/guestfs.pod:223 msgid "" "Since libguestfs 1.18, it is possible to mount the libguestfs filesystem on " "a local directory, subject to some restrictions. See L</MOUNT LOCAL> below." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:221 +#: ../src/guestfs.pod:227 msgid "PARTITIONING" msgstr "パーティション" #. type: textblock -#: ../src/guestfs.pod:223 +#: ../src/guestfs.pod:229 msgid "" "Libguestfs contains API calls to read, create and modify partition tables on " "disk images." @@ -47705,7 +48004,7 @@ msgstr "" "更するための API 呼び出しがあります。" #. type: textblock -#: ../src/guestfs.pod:226 +#: ../src/guestfs.pod:232 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:" @@ -47714,7 +48013,7 @@ msgstr "" "guestfs_part_disk> 呼び出しを使用できます:" #. type: verbatim -#: ../src/guestfs.pod:230 +#: ../src/guestfs.pod:236 #, no-wrap msgid "" " const char *parttype = \"mbr\";\n" @@ -47730,19 +48029,19 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:235 +#: ../src/guestfs.pod:241 msgid "" "Obviously this effectively wipes anything that was on that disk image before." msgstr "" "以前ディスクイメージにあったものを明示的にすべて効果的に完全消去します。" #. type: =head2 -#: ../src/guestfs.pod:238 +#: ../src/guestfs.pod:244 msgid "LVM2" msgstr "LVM2" #. type: textblock -#: ../src/guestfs.pod:240 +#: ../src/guestfs.pod:246 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 " @@ -47754,7 +48053,7 @@ msgstr "" "リュームの概念になじみがなければ、役に立たないかもしれません。" #. type: textblock -#: ../src/guestfs.pod:245 +#: ../src/guestfs.pod:251 msgid "" "This author strongly recommends reading the LVM HOWTO, online at L<http://" "tldp.org/HOWTO/LVM-HOWTO/>." @@ -47763,12 +48062,12 @@ msgstr "" "を読むことを強く推奨します。" #. type: =head2 -#: ../src/guestfs.pod:248 +#: ../src/guestfs.pod:254 msgid "DOWNLOADING" msgstr "ダウンロード" #. type: textblock -#: ../src/guestfs.pod:250 +#: ../src/guestfs.pod:256 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 " @@ -47779,7 +48078,7 @@ msgstr "" "制限されます。しかしながら、API は非常に簡単に使用できます。" #. type: textblock -#: ../src/guestfs.pod:254 +#: ../src/guestfs.pod:260 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 " @@ -47790,7 +48089,7 @@ msgstr "" "MB 未満の「小さな」ファイルに制限されています。" #. type: textblock -#: ../src/guestfs.pod:258 +#: ../src/guestfs.pod:264 msgid "" "L</guestfs_download> can be used to download any file, with no limits on " "content or size (even files larger than 4 GB)." @@ -47800,7 +48099,7 @@ msgstr "" "きます。" #. type: textblock -#: ../src/guestfs.pod:261 +#: ../src/guestfs.pod:267 msgid "" "To download multiple files, see L</guestfs_tar_out> and L</guestfs_tgz_out>." msgstr "" @@ -47808,18 +48107,18 @@ msgstr "" "guestfs_tgz_out> を参照してください。" #. type: =head2 -#: ../src/guestfs.pod:264 +#: ../src/guestfs.pod:270 msgid "UPLOADING" msgstr "アップロード方法" #. type: textblock -#: ../src/guestfs.pod:266 +#: ../src/guestfs.pod:272 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:269 +#: ../src/guestfs.pod:275 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</" @@ -47834,7 +48133,7 @@ msgstr "" "L</guestfs_fill> や L</guestfs_fill_pattern> があります。" #. type: textblock -#: ../src/guestfs.pod:275 +#: ../src/guestfs.pod:281 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)." @@ -47844,7 +48143,7 @@ msgstr "" "りません。" #. type: textblock -#: ../src/guestfs.pod:278 +#: ../src/guestfs.pod:284 msgid "" "To upload multiple files, see L</guestfs_tar_in> and L</guestfs_tgz_in>." msgstr "" @@ -47852,7 +48151,7 @@ msgstr "" "guestfs_tgz_in> を参照してください。" #. type: textblock -#: ../src/guestfs.pod:280 +#: ../src/guestfs.pod:286 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)" @@ -47866,12 +48165,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:291 +#: ../src/guestfs.pod:297 msgid "COPYING" msgstr "コピー方法" #. type: textblock -#: ../src/guestfs.pod:293 +#: ../src/guestfs.pod:299 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 " @@ -47881,12 +48180,12 @@ msgstr "" "ための、さまざまなコマンドがあります。以下の表はその概要です。" #. type: =item -#: ../src/guestfs.pod:299 +#: ../src/guestfs.pod:305 msgid "B<file> to B<file>" msgstr "B<ファイル>からB<ファイル>" #. type: textblock -#: ../src/guestfs.pod:301 +#: ../src/guestfs.pod:307 msgid "" "Use L</guestfs_cp> to copy a single file, or L</guestfs_cp_a> to copy " "directories recursively." @@ -47895,28 +48194,28 @@ msgstr "" "リーを再帰的にコピーするには L</guestfs_cp_a> を使用します。" #. type: textblock -#: ../src/guestfs.pod:304 +#: ../src/guestfs.pod:310 msgid "" "To copy part of a file (offset and size) use L</guestfs_copy_file_to_file>." msgstr "" #. type: =item -#: ../src/guestfs.pod:307 +#: ../src/guestfs.pod:313 msgid "B<file> to B<device>" msgstr "B<ファイル>からB<デバイス>" #. type: =item -#: ../src/guestfs.pod:309 +#: ../src/guestfs.pod:315 msgid "B<device> to B<file>" msgstr "B<デバイス>からB<ファイル>" #. type: =item -#: ../src/guestfs.pod:311 +#: ../src/guestfs.pod:317 msgid "B<device> to B<device>" msgstr "B<デバイス>からB<デバイス>" #. type: textblock -#: ../src/guestfs.pod:313 +#: ../src/guestfs.pod:319 msgid "" "Use L</guestfs_copy_file_to_device>, L</guestfs_copy_device_to_file>, or L</" "guestfs_copy_device_to_device>." @@ -47925,12 +48224,12 @@ msgstr "" "guestfs_copy_device_to_device> を使用してください。" #. type: textblock -#: ../src/guestfs.pod:316 +#: ../src/guestfs.pod:322 msgid "Example: duplicate the contents of an LV:" msgstr "例: 論理ボリュームの内容の複製:" #. type: verbatim -#: ../src/guestfs.pod:318 +#: ../src/guestfs.pod:324 #, no-wrap msgid "" " guestfs_copy_device_to_device (g,\n" @@ -47946,7 +48245,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:323 +#: ../src/guestfs.pod:329 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 " @@ -47957,7 +48256,7 @@ msgstr "" "optional C<size> parameter:" #. type: verbatim -#: ../src/guestfs.pod:327 +#: ../src/guestfs.pod:333 #, no-wrap msgid "" " guestfs_copy_device_to_device (g,\n" @@ -47973,32 +48272,32 @@ msgstr "" "\n" #. type: =item -#: ../src/guestfs.pod:332 +#: ../src/guestfs.pod:338 msgid "B<file on the host> to B<file or device>" msgstr "B<ホストのファイル>からB<ファイルまたはデバイス>" #. type: textblock -#: ../src/guestfs.pod:334 +#: ../src/guestfs.pod:340 msgid "Use L</guestfs_upload>. See L</UPLOADING> above." msgstr "L</guestfs_upload> を使用します。上の L</アップロード方法> 参照。" #. type: =item -#: ../src/guestfs.pod:336 +#: ../src/guestfs.pod:342 msgid "B<file or device> to B<file on the host>" msgstr "B<ファイルまたはデバイス>からB<ホストのファイル>" #. type: textblock -#: ../src/guestfs.pod:338 +#: ../src/guestfs.pod:344 msgid "Use L</guestfs_download>. See L</DOWNLOADING> above." msgstr "L</guestfs_download> を使用します。上の L</ダウンロード方法> 参照。" #. type: =head2 -#: ../src/guestfs.pod:342 +#: ../src/guestfs.pod:348 msgid "UPLOADING AND DOWNLOADING TO PIPES AND FILE DESCRIPTORS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:344 +#: ../src/guestfs.pod:350 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 " @@ -48009,14 +48308,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:352 +#: ../src/guestfs.pod:358 msgid "For example, L<virt-cat(1)> writes its output to stdout by doing:" msgstr "" "たとえば、L<virt-cat(1)> は次のようにすることにより、出力を標準出力に書き込み" "ます:" #. type: verbatim -#: ../src/guestfs.pod:355 +#: ../src/guestfs.pod:361 #, no-wrap msgid "" " guestfs_download (g, filename, \"/dev/stdout\");\n" @@ -48026,12 +48325,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:357 +#: ../src/guestfs.pod:363 msgid "and you can write tar output to a file descriptor C<fd> by doing:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:359 +#: ../src/guestfs.pod:365 #, no-wrap msgid "" " char devfd[64];\n" @@ -48045,12 +48344,12 @@ msgstr "" "\n" #. type: =head2 -#: ../src/guestfs.pod:363 +#: ../src/guestfs.pod:369 msgid "LISTING FILES" msgstr "ファイルの一覧表示方法" #. type: textblock -#: ../src/guestfs.pod:365 +#: ../src/guestfs.pod:371 msgid "" "L</guestfs_ll> is just designed for humans to read (mainly when using the " "L<guestfish(1)>-equivalent command C<ll>)." @@ -48059,7 +48358,7 @@ msgstr "" "> の同等なコマンド C<ll> を使用するとき)。" #. type: textblock -#: ../src/guestfs.pod:368 +#: ../src/guestfs.pod:374 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." @@ -48068,7 +48367,7 @@ msgstr "" "覧をプログラムから取得する素早い方法です。" #. type: textblock -#: ../src/guestfs.pod:371 +#: ../src/guestfs.pod:377 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 " @@ -48079,7 +48378,7 @@ msgstr "" "る L<readdir(3)> 呼び出しを使用することとほぼ同様です。" #. type: textblock -#: ../src/guestfs.pod:375 +#: ../src/guestfs.pod:381 msgid "" "L</guestfs_find> and L</guestfs_find0> can be used to recursively list files." msgstr "" @@ -48087,12 +48386,12 @@ msgstr "" "使用できます。" #. type: =head2 -#: ../src/guestfs.pod:378 +#: ../src/guestfs.pod:384 msgid "RUNNING COMMANDS" msgstr "コマンドの実行法" #. type: textblock -#: ../src/guestfs.pod:380 +#: ../src/guestfs.pod:386 msgid "" "Although libguestfs is primarily an API for manipulating files inside guest " "images, we also provide some limited facilities for running commands inside " @@ -48103,12 +48402,12 @@ msgstr "" "あります。" #. type: textblock -#: ../src/guestfs.pod:384 +#: ../src/guestfs.pod:390 msgid "There are many limitations to this:" msgstr "これには多くの制限があります:" #. type: textblock -#: ../src/guestfs.pod:390 +#: ../src/guestfs.pod:396 msgid "" "The kernel version that the command runs under will be different from what " "it expects." @@ -48116,19 +48415,19 @@ msgstr "" "コマンドを実行するカーネルのバージョンは、期待するものにより異なります。" #. type: textblock -#: ../src/guestfs.pod:395 +#: ../src/guestfs.pod:401 msgid "" "If the command needs to communicate with daemons, then most likely they " "won't be running." msgstr "コマンドがデーモンと通信する必要があれば、ほとんど動作しないでしょう。" #. type: textblock -#: ../src/guestfs.pod:400 +#: ../src/guestfs.pod:406 msgid "The command will be running in limited memory." msgstr "コマンドは制限されたメモリーにおいて実行されます。" #. type: textblock -#: ../src/guestfs.pod:404 +#: ../src/guestfs.pod:410 msgid "" "The network may not be available unless you enable it (see L</" "guestfs_set_network>)." @@ -48137,19 +48436,19 @@ msgstr "" "照)。" #. type: textblock -#: ../src/guestfs.pod:409 +#: ../src/guestfs.pod:415 msgid "Only supports Linux guests (not Windows, BSD, etc)." msgstr "Linux ゲストのみがサポートされます(Windows, BSD など)。" #. type: textblock -#: ../src/guestfs.pod:413 +#: ../src/guestfs.pod:419 msgid "" "Architecture limitations (eg. won't work for a PPC guest on an X86 host)." msgstr "" "アーキテクチャーの制限(例: x86 ホストにおいて PPC ゲストは動作しません)。" #. type: textblock -#: ../src/guestfs.pod:418 +#: ../src/guestfs.pod:424 msgid "" "For SELinux guests, you may need to enable SELinux and load policy first. " "See L</SELINUX> in this manpage." @@ -48158,7 +48457,7 @@ msgstr "" "要があります。このマニュアルページにおいて L</SELinux> を参照してください。" #. type: textblock -#: ../src/guestfs.pod:423 +#: ../src/guestfs.pod:429 msgid "" "I<Security:> It is not safe to run commands from untrusted, possibly " "malicious guests. These commands may attempt to exploit your program by " @@ -48170,7 +48469,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:432 +#: ../src/guestfs.pod:438 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 " @@ -48180,26 +48479,26 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:440 +#: ../src/guestfs.pod:446 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:443 +#: ../src/guestfs.pod:449 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:446 +#: ../src/guestfs.pod:452 msgid "CONFIGURATION FILES" msgstr "設定ファイル" #. type: textblock -#: ../src/guestfs.pod:448 +#: ../src/guestfs.pod:454 msgid "" "To read and write configuration files in Linux guest filesystems, we " "strongly recommend using Augeas. For example, Augeas understands how to " @@ -48208,7 +48507,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:453 +#: ../src/guestfs.pod:459 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 " @@ -48216,7 +48515,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:457 +#: ../src/guestfs.pod:463 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 " @@ -48224,12 +48523,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:461 +#: ../src/guestfs.pod:467 msgid "SELINUX" msgstr "SELinux" #. type: textblock -#: ../src/guestfs.pod:463 +#: ../src/guestfs.pod:469 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:" @@ -48239,12 +48538,12 @@ msgstr "" "要があります:" #. type: textblock -#: ../src/guestfs.pod:471 +#: ../src/guestfs.pod:477 msgid "Before launching, do:" msgstr "起動前に次を実行します:" #. type: verbatim -#: ../src/guestfs.pod:473 +#: ../src/guestfs.pod:479 #, no-wrap msgid "" " guestfs_set_selinux (g, 1);\n" @@ -48254,7 +48553,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:477 +#: ../src/guestfs.pod:483 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:" @@ -48263,7 +48562,7 @@ msgstr "" "自身において L<load_policy(8)> コマンドを実行することが一番です:" #. type: verbatim -#: ../src/guestfs.pod:481 +#: ../src/guestfs.pod:487 #, no-wrap msgid "" " guestfs_sh (g, \"/usr/sbin/load_policy\");\n" @@ -48273,7 +48572,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:483 +#: ../src/guestfs.pod:489 msgid "" "(Older versions of C<load_policy> require you to specify the name of the " "policy file)." @@ -48282,7 +48581,7 @@ msgstr "" "ります)。" #. type: textblock -#: ../src/guestfs.pod:488 +#: ../src/guestfs.pod:494 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:" @@ -48292,7 +48591,7 @@ msgstr "" "ます。 以下の例のようです:" #. type: verbatim -#: ../src/guestfs.pod:492 +#: ../src/guestfs.pod:498 #, no-wrap msgid "" " guestfs_setcon (g, \"unconfined_u:unconfined_r:unconfined_t:s0\");\n" @@ -48302,24 +48601,24 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:496 +#: ../src/guestfs.pod:502 msgid "This will work for running commands and editing existing files." msgstr "コマンドを実行し、既存のファイルを編集するために機能します。" #. type: textblock -#: ../src/guestfs.pod:498 +#: ../src/guestfs.pod:504 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:502 +#: ../src/guestfs.pod:508 msgid "UMASK" msgstr "umask" #. type: textblock -#: ../src/guestfs.pod:504 +#: ../src/guestfs.pod:510 msgid "" "Certain calls are affected by the current file mode creation mask (the " "\"umask\"). In particular ones which create files or directories, such as " @@ -48329,7 +48628,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:510 +#: ../src/guestfs.pod:516 msgid "" "The default umask is C<022>, so files are created with modes such as C<0644> " "and directories with C<0755>." @@ -48338,7 +48637,7 @@ msgstr "" "され、ディレクトリーは C<0755> です。" #. type: textblock -#: ../src/guestfs.pod:513 +#: ../src/guestfs.pod:519 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</" @@ -48350,12 +48649,12 @@ msgstr "" "び出すことです。" #. type: textblock -#: ../src/guestfs.pod:517 +#: ../src/guestfs.pod:523 msgid "For more information about umask, see L<umask(2)>." msgstr "umask に関する詳細は L<umask(2)> を参照してください。" #. type: textblock -#: ../src/guestfs.pod:521 +#: ../src/guestfs.pod:527 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) " @@ -48364,7 +48663,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:527 +#: ../src/guestfs.pod:533 msgid "" "Use L</guestfs_vfs_type> to identify LUKS-encrypted block devices (it " "returns the string C<crypto_LUKS>)." @@ -48373,7 +48672,7 @@ msgstr "" "るには L</guestfs_vfs_type> を使用します。" #. type: textblock -#: ../src/guestfs.pod:530 +#: ../src/guestfs.pod:536 msgid "" "Then open these devices by calling L</guestfs_luks_open>. Obviously you " "will require the passphrase!" @@ -48382,7 +48681,7 @@ msgstr "" "す。明示的にパスフレーズが必要です。" #. type: textblock -#: ../src/guestfs.pod:533 +#: ../src/guestfs.pod:539 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</" @@ -48391,7 +48690,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:539 +#: ../src/guestfs.pod:545 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" @@ -48399,7 +48698,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:543 +#: ../src/guestfs.pod:549 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, " @@ -48409,19 +48708,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:550 +#: ../src/guestfs.pod:556 msgid "MOUNT LOCAL" msgstr "" #. type: textblock -#: ../src/guestfs.pod:552 +#: ../src/guestfs.pod:558 msgid "" "In libguestfs E<ge> 1.18, it is possible to mount the libguestfs filesystem " "on a local directory and access it using ordinary POSIX calls and programs." msgstr "" #. type: textblock -#: ../src/guestfs.pod:556 +#: ../src/guestfs.pod:562 msgid "" "Availability of this is subject to a number of restrictions: it requires " "FUSE (the Filesystem in USErspace), and libfuse must also have been " @@ -48432,7 +48731,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:563 +#: ../src/guestfs.pod:569 msgid "" "The call to mount the libguestfs filesystem on a local directory is L</" "guestfs_mount_local> (q.v.) followed by L</guestfs_mount_local_run>. The " @@ -48445,7 +48744,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:573 +#: ../src/guestfs.pod:579 msgid "" "L</guestfs_mount_local> needs a certain amount of time to set up the " "mountpoint. The mountpoint is not ready to use until the call returns. At " @@ -48456,12 +48755,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:581 +#: ../src/guestfs.pod:587 msgid "MOUNT LOCAL COMPATIBILITY" msgstr "" #. type: textblock -#: ../src/guestfs.pod:583 +#: ../src/guestfs.pod:589 msgid "" "Since local mounting was only added in libguestfs 1.18, and may not be " "available even in these builds, you should consider writing code so that it " @@ -48470,7 +48769,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:588 +#: ../src/guestfs.pod:594 msgid "" "If libguestfs was compiled without support for L</guestfs_mount_local> then " "calling it will return an error with errno set to C<ENOTSUP> (see L</" @@ -48478,12 +48777,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:592 +#: ../src/guestfs.pod:598 msgid "MOUNT LOCAL PERFORMANCE" msgstr "" #. type: textblock -#: ../src/guestfs.pod:594 +#: ../src/guestfs.pod:600 msgid "" "Libguestfs on top of FUSE performs quite poorly. For best performance do " "not use it. Use ordinary libguestfs filesystem calls, upload, download etc. " @@ -48491,12 +48790,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:598 +#: ../src/guestfs.pod:604 msgid "INSPECTION" msgstr "" #. type: textblock -#: ../src/guestfs.pod:600 +#: ../src/guestfs.pod:606 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 " @@ -48506,14 +48805,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:607 +#: ../src/guestfs.pod:613 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:610 +#: ../src/guestfs.pod:616 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 " @@ -48526,7 +48825,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:619 +#: ../src/guestfs.pod:625 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</" @@ -48535,7 +48834,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:625 +#: ../src/guestfs.pod:631 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 " @@ -48546,7 +48845,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:632 +#: ../src/guestfs.pod:638 #, no-wrap msgid "" " /boot => /dev/sda1\n" @@ -48560,21 +48859,21 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:636 +#: ../src/guestfs.pod:642 msgid "" "The caller can then make calls to L</guestfs_mount_options> to mount the " "filesystems as suggested." msgstr "" #. type: textblock -#: ../src/guestfs.pod:639 +#: ../src/guestfs.pod:645 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:643 +#: ../src/guestfs.pod:649 msgid "" "Inspection currently only works for some common operating systems. " "Contributors are welcome to send patches for other operating systems that we " @@ -48582,7 +48881,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:647 +#: ../src/guestfs.pod:653 msgid "" "Encrypted disks must be opened before inspection. See L</ENCRYPTED DISKS> " "for more details. The L</guestfs_inspect_os> function just ignores any " @@ -48593,7 +48892,7 @@ msgstr "" "ます。" #. type: textblock -#: ../src/guestfs.pod:651 +#: ../src/guestfs.pod:657 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 " @@ -48608,12 +48907,12 @@ msgstr "" "を使用してください。" #. type: =head3 -#: ../src/guestfs.pod:660 +#: ../src/guestfs.pod:666 msgid "INSPECTING INSTALL DISKS" msgstr "インストールディスクの検査方法" #. type: textblock -#: ../src/guestfs.pod:662 +#: ../src/guestfs.pod:668 msgid "" "Libguestfs (since 1.9.4) can detect some install disks, install CDs, live " "CDs and more." @@ -48622,7 +48921,7 @@ msgstr "" "live CD などを検知できます。" #. type: textblock -#: ../src/guestfs.pod:665 +#: ../src/guestfs.pod:671 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 " @@ -48630,7 +48929,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:669 +#: ../src/guestfs.pod:675 msgid "" "Further information is available about the operating system that can be " "installed using the regular inspection APIs like L</" @@ -48638,7 +48937,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:674 +#: ../src/guestfs.pod:680 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</" @@ -48649,12 +48948,12 @@ msgstr "" "guestfs_inspect_is_multipart> 呼び出しからも取得可能です。" #. type: =head2 -#: ../src/guestfs.pod:679 +#: ../src/guestfs.pod:685 msgid "SPECIAL CONSIDERATIONS FOR WINDOWS GUESTS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:681 +#: ../src/guestfs.pod:687 msgid "" "Libguestfs can mount NTFS partitions. It does this using the L<http://www." "ntfs-3g.org/> driver." @@ -48663,12 +48962,12 @@ msgstr "" "www.ntfs-3g.org/> ドライバーを使用します。" #. type: =head3 -#: ../src/guestfs.pod:684 +#: ../src/guestfs.pod:690 msgid "DRIVE LETTERS AND PATHS" msgstr "ドライブレターとパス" #. type: textblock -#: ../src/guestfs.pod:686 +#: ../src/guestfs.pod:692 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 " @@ -48678,14 +48977,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:692 +#: ../src/guestfs.pod:698 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:695 +#: ../src/guestfs.pod:701 msgid "" "Dealing with separator characters (backslash vs forward slash) is outside " "the scope of libguestfs, but usually a simple character replacement will " @@ -48693,33 +48992,33 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:699 +#: ../src/guestfs.pod:705 msgid "" "To resolve the case insensitivity of paths, call L</" "guestfs_case_sensitive_path>." msgstr "" #. type: =head3 -#: ../src/guestfs.pod:702 +#: ../src/guestfs.pod:708 msgid "LONG FILENAMES ON NTFS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:704 +#: ../src/guestfs.pod:710 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:708 +#: ../src/guestfs.pod:714 msgid "" "Most Linux filesystems support filenames up to 255 I<bytes>. This means you " "may get an error:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:711 +#: ../src/guestfs.pod:717 #, fuzzy, no-wrap #| msgid "" #| " lvrename logvol newlogvol\n" @@ -48732,14 +49031,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:713 +#: ../src/guestfs.pod:719 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:716 +#: ../src/guestfs.pod:722 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 " @@ -48747,7 +49046,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:720 +#: ../src/guestfs.pod:726 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 " @@ -48755,12 +49054,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:724 +#: ../src/guestfs.pod:730 msgid "ACCESSING THE WINDOWS REGISTRY" msgstr "Windows レジストリのアクセス方法" #. type: textblock -#: ../src/guestfs.pod:726 +#: ../src/guestfs.pod:732 msgid "" "Libguestfs also provides some help for decoding Windows Registry \"hive\" " "files, through the library C<hivex> which is part of the libguestfs project " @@ -48773,12 +49072,12 @@ msgstr "" "してください。" #. type: =head3 -#: ../src/guestfs.pod:734 +#: ../src/guestfs.pod:740 msgid "SYMLINKS ON NTFS-3G FILESYSTEMS" msgstr "NTFS-3G ファイルシステムにおけるシンボリックリンク" #. type: textblock -#: ../src/guestfs.pod:736 +#: ../src/guestfs.pod:742 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 " @@ -48786,7 +49085,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:740 +#: ../src/guestfs.pod:746 msgid "" "L<http://www.tuxera.com/community/ntfs-3g-advanced/junction-points-and-" "symbolic-links/>" @@ -48795,7 +49094,7 @@ msgstr "" "symbolic-links/>" #. type: textblock -#: ../src/guestfs.pod:742 +#: ../src/guestfs.pod:748 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 " @@ -48805,7 +49104,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:749 +#: ../src/guestfs.pod:755 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 " @@ -48814,38 +49113,38 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:754 +#: ../src/guestfs.pod:760 msgid "EXTENDED ATTRIBUTES ON NTFS-3G FILESYSTEMS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:756 +#: ../src/guestfs.pod:762 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:759 +#: ../src/guestfs.pod:765 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:761 +#: ../src/guestfs.pod:767 msgid "RESIZE2FS ERRORS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:763 +#: ../src/guestfs.pod:769 msgid "" "The L</guestfs_resize2fs>, L</guestfs_resize2fs_size> and L</" "guestfs_resize2fs_M> calls are used to resize ext2/3/4 filesystems." msgstr "" #. type: textblock -#: ../src/guestfs.pod:766 +#: ../src/guestfs.pod:772 msgid "" "The underlying program (L<resize2fs(8)>) requires that the filesystem is " "clean and recently fsck'd before you can resize it. Also, if the resize " @@ -48854,7 +49153,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:771 +#: ../src/guestfs.pod:777 msgid "" "In libguestfs C<lt> 1.17.14, you usually had to call L</guestfs_e2fsck_f> " "before the resize. However, in C<ge> 1.17.14, L<e2fsck(8)> is called " @@ -48862,14 +49161,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:776 +#: ../src/guestfs.pod:782 msgid "" "The L<resize2fs(8)> program can still fail, in which case it prints an error " "message similar to:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:779 +#: ../src/guestfs.pod:785 #, no-wrap msgid "" " Please run 'e2fsck -fy <device>' to fix the filesystem\n" @@ -48881,7 +49180,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:782 +#: ../src/guestfs.pod:788 msgid "" "You can do this by calling L</guestfs_e2fsck> with the C<forceall> option. " "However in the context of disk images, it is usually better to avoid this " @@ -48890,19 +49189,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:787 +#: ../src/guestfs.pod:793 msgid "USING LIBGUESTFS WITH OTHER PROGRAMMING LANGUAGES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:789 +#: ../src/guestfs.pod:795 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:792 +#: ../src/guestfs.pod:798 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)> " @@ -48912,14 +49211,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:798 +#: ../src/guestfs.pod:804 msgid "" "Error messages are automatically transformed into exceptions if the language " "supports it." msgstr "" #. type: textblock -#: ../src/guestfs.pod:801 +#: ../src/guestfs.pod:807 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 " @@ -48927,12 +49226,12 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:807 +#: ../src/guestfs.pod:813 msgid "B<C++>" msgstr "B<C++>" #. type: textblock -#: ../src/guestfs.pod:809 +#: ../src/guestfs.pod:815 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." @@ -48941,12 +49240,12 @@ msgstr "" "C API と同一です。 C++ のクラスと例外は使用されません。" #. type: =item -#: ../src/guestfs.pod:813 +#: ../src/guestfs.pod:819 msgid "B<C#>" msgstr "B<C#>" #. type: textblock -#: ../src/guestfs.pod:815 +#: ../src/guestfs.pod:821 msgid "" "The C# bindings are highly experimental. Please read the warnings at the " "top of C<csharp/Libguestfs.cs>." @@ -48955,34 +49254,34 @@ msgstr "" "る警告を参照してください。" #. type: =item -#: ../src/guestfs.pod:818 +#: ../src/guestfs.pod:824 msgid "B<Erlang>" msgstr "B<Erlang>" #. type: textblock -#: ../src/guestfs.pod:820 +#: ../src/guestfs.pod:826 msgid "See L<guestfs-erlang(3)>." msgstr "L<guestfs-erlang(3)> 参照。" #. type: =item -#: ../src/guestfs.pod:822 +#: ../src/guestfs.pod:828 msgid "B<GObject>" msgstr "B<GObject>" #. type: textblock -#: ../src/guestfs.pod:824 +#: ../src/guestfs.pod:830 msgid "" "Experimental GObject bindings (with GObject Introspection support) are " "available. See the C<gobject> directory in the source." msgstr "" #. type: =item -#: ../src/guestfs.pod:827 +#: ../src/guestfs.pod:833 msgid "B<Haskell>" msgstr "B<Haskell>" #. type: textblock -#: ../src/guestfs.pod:829 +#: ../src/guestfs.pod:835 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 " @@ -48990,96 +49289,96 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:833 +#: ../src/guestfs.pod:839 msgid "B<Java>" msgstr "B<Java>" #. type: textblock -#: ../src/guestfs.pod:835 +#: ../src/guestfs.pod:841 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:838 +#: ../src/guestfs.pod:844 msgid "B<OCaml>" msgstr "B<OCaml>" #. type: textblock -#: ../src/guestfs.pod:840 +#: ../src/guestfs.pod:846 msgid "See L<guestfs-ocaml(3)>." msgstr "L<guestfs-ocaml(3)> 参照。" #. type: =item -#: ../src/guestfs.pod:842 +#: ../src/guestfs.pod:848 msgid "B<Perl>" msgstr "B<Perl>" #. type: textblock -#: ../src/guestfs.pod:844 +#: ../src/guestfs.pod:850 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:846 +#: ../src/guestfs.pod:852 msgid "B<PHP>" msgstr "B<PHP>" #. type: textblock -#: ../src/guestfs.pod:848 +#: ../src/guestfs.pod:854 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:851 +#: ../src/guestfs.pod:857 msgid "The PHP binding only works correctly on 64 bit machines." msgstr "PHP バインドは 64 ビットマシンにおいてのみ正しく動作します。" #. type: =item -#: ../src/guestfs.pod:853 +#: ../src/guestfs.pod:859 msgid "B<Python>" msgstr "B<Python>" #. type: textblock -#: ../src/guestfs.pod:855 +#: ../src/guestfs.pod:861 msgid "See L<guestfs-python(3)>." msgstr "L<guestfs-python(3)> 参照。" #. type: =item -#: ../src/guestfs.pod:857 +#: ../src/guestfs.pod:863 msgid "B<Ruby>" msgstr "B<Ruby>" #. type: textblock -#: ../src/guestfs.pod:859 +#: ../src/guestfs.pod:865 msgid "See L<guestfs-ruby(3)>." msgstr "L<guestfs-ruby(3)> 参照。" #. type: textblock -#: ../src/guestfs.pod:861 +#: ../src/guestfs.pod:867 msgid "For JRuby, use the Java bindings." msgstr "JRuby に対しては Java バインドを使用します。" #. type: =item -#: ../src/guestfs.pod:863 +#: ../src/guestfs.pod:869 msgid "B<shell scripts>" msgstr "B<シェルスクリプト>" #. type: textblock -#: ../src/guestfs.pod:865 +#: ../src/guestfs.pod:871 msgid "See L<guestfish(1)>." msgstr "L<guestfish(1)> 参照。" #. type: =head2 -#: ../src/guestfs.pod:869 +#: ../src/guestfs.pod:875 msgid "LIBGUESTFS GOTCHAS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:871 +#: ../src/guestfs.pod:877 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 " @@ -49087,7 +49386,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:875 +#: ../src/guestfs.pod:881 msgid "" "Since we developed libguestfs and the associated tools, there are several " "things we would have designed differently, but are now stuck with for " @@ -49096,19 +49395,19 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:883 +#: ../src/guestfs.pod:889 msgid "Autosync / forgetting to sync." msgstr "" #. type: textblock -#: ../src/guestfs.pod:885 +#: ../src/guestfs.pod:891 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:888 +#: ../src/guestfs.pod:894 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 " @@ -49116,7 +49415,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:892 +#: ../src/guestfs.pod:898 #, no-wrap msgid "" " guestfs_set_autosync (g, 1);\n" @@ -49126,14 +49425,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:894 +#: ../src/guestfs.pod:900 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:898 +#: ../src/guestfs.pod:904 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 " @@ -49141,7 +49440,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:902 +#: ../src/guestfs.pod:908 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 " @@ -49149,19 +49448,19 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:906 +#: ../src/guestfs.pod:912 msgid "Mount option C<-o sync> should not be the default." msgstr "マウントオプション C<-o sync> をデフォルトにすべきではありません。" #. type: textblock -#: ../src/guestfs.pod:908 +#: ../src/guestfs.pod:914 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:911 +#: ../src/guestfs.pod:917 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 " @@ -49169,19 +49468,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:915 +#: ../src/guestfs.pod:921 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:918 +#: ../src/guestfs.pod:924 msgid "Read-only should be the default." msgstr "初期値は読み込み専用です。" #. type: textblock -#: ../src/guestfs.pod:920 +#: ../src/guestfs.pod:926 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." @@ -49190,12 +49489,12 @@ msgstr "" "rw> を指定する必要があります。" #. type: textblock -#: ../src/guestfs.pod:923 +#: ../src/guestfs.pod:929 msgid "This would reduce the potential to corrupt live VM images." msgstr "これにより、動作中の仮想マシンのイメージを破壊する可能性を減らします。" #. type: textblock -#: ../src/guestfs.pod:925 +#: ../src/guestfs.pod:931 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</" @@ -49203,12 +49502,12 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:929 +#: ../src/guestfs.pod:935 msgid "guestfish command line is hard to use." msgstr "guestfish コマンドラインは使うのが難しいです。" #. type: textblock -#: ../src/guestfs.pod:931 +#: ../src/guestfs.pod:937 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 " @@ -49218,12 +49517,12 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:938 +#: ../src/guestfs.pod:944 msgid "guestfish megabyte modifiers don't work right on all commands" msgstr "" #. type: textblock -#: ../src/guestfs.pod:940 +#: ../src/guestfs.pod:946 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 " @@ -49233,12 +49532,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:947 +#: ../src/guestfs.pod:953 msgid "The most common is L</guestfs_lvcreate>. The guestfish command:" msgstr "最も一般的な L</guestfs_lvcreate> です。 guestfish コマンド:" #. type: verbatim -#: ../src/guestfs.pod:949 +#: ../src/guestfs.pod:955 #, no-wrap msgid "" " lvcreate LV VG 100M\n" @@ -49248,7 +49547,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:951 +#: ../src/guestfs.pod:957 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 " @@ -49257,19 +49556,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:956 +#: ../src/guestfs.pod:962 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:959 +#: ../src/guestfs.pod:965 msgid "Ambiguity between devices and paths" msgstr "" #. type: textblock -#: ../src/guestfs.pod:961 +#: ../src/guestfs.pod:967 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 " @@ -49277,7 +49576,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:966 +#: ../src/guestfs.pod:972 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>. " @@ -49286,7 +49585,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:972 +#: ../src/guestfs.pod:978 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 " @@ -49296,7 +49595,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:978 +#: ../src/guestfs.pod:984 #, no-wrap msgid "" " type path = Path of string | Device of int | Partition of int * int\n" @@ -49306,12 +49605,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:980 +#: ../src/guestfs.pod:986 msgid "which would allow you to pass arguments like:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:982 +#: ../src/guestfs.pod:988 #, no-wrap msgid "" " Path \"/foo/bar\"\n" @@ -49327,19 +49626,19 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:987 +#: ../src/guestfs.pod:993 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:992 +#: ../src/guestfs.pod:998 msgid "KEYS AND PASSPHRASES" msgstr "キーとパスフレーズ" #. type: textblock -#: ../src/guestfs.pod:994 +#: ../src/guestfs.pod:1000 msgid "" "Certain libguestfs calls take a parameter that contains sensitive key " "material, passed in as a C string." @@ -49348,7 +49647,7 @@ msgstr "" "を含むパラメーターをとります。" #. type: textblock -#: ../src/guestfs.pod:997 +#: ../src/guestfs.pod:1003 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 " @@ -49357,7 +49656,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1002 +#: ../src/guestfs.pod:1008 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, " @@ -49365,19 +49664,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1007 +#: ../src/guestfs.pod:1013 msgid "MULTIPLE HANDLES AND MULTIPLE THREADS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1009 +#: ../src/guestfs.pod:1015 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:1012 +#: ../src/guestfs.pod:1018 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 " @@ -49385,26 +49684,26 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1016 +#: ../src/guestfs.pod:1022 msgid "" "See the graphical program guestfs-browser for one possible architecture for " "multithreaded programs using libvirt and libguestfs." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1019 +#: ../src/guestfs.pod:1025 msgid "PATH" msgstr "パス" #. type: textblock -#: ../src/guestfs.pod:1021 +#: ../src/guestfs.pod:1027 msgid "" "Libguestfs needs a supermin appliance, which it finds by looking along an " "internal path." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1024 +#: ../src/guestfs.pod:1030 msgid "" "By default it looks for these in the directory C<$libdir/guestfs> (eg. C</" "usr/local/lib/guestfs> or C</usr/lib64/guestfs>)." @@ -49413,7 +49712,7 @@ msgstr "" "(例: C</usr/local/lib/guestfs> または C</usr/lib64/guestfs>)。" #. type: textblock -#: ../src/guestfs.pod:1027 +#: ../src/guestfs.pod:1033 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 " @@ -49424,12 +49723,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1034 +#: ../src/guestfs.pod:1040 msgid "QEMU WRAPPERS" msgstr "QEMU ラッパー" #. type: textblock -#: ../src/guestfs.pod:1036 +#: ../src/guestfs.pod:1042 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 " @@ -49440,7 +49739,7 @@ msgstr "" "す。" #. type: textblock -#: ../src/guestfs.pod:1040 +#: ../src/guestfs.pod:1046 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 " @@ -49449,14 +49748,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1045 +#: ../src/guestfs.pod:1051 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:1048 +#: ../src/guestfs.pod:1054 #, no-wrap msgid "" " #!/bin/sh -\n" @@ -49470,7 +49769,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1052 +#: ../src/guestfs.pod:1058 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 " @@ -49478,7 +49777,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1056 +#: ../src/guestfs.pod:1062 #, no-wrap msgid "" " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n" @@ -49488,14 +49787,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1058 +#: ../src/guestfs.pod:1064 msgid "" "Note that libguestfs also calls qemu with the -help and -version options in " "order to determine features." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1061 +#: ../src/guestfs.pod:1067 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 " @@ -49505,7 +49804,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1070 +#: ../src/guestfs.pod:1076 #, no-wrap msgid "" " i=0\n" @@ -49535,7 +49834,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:1082 +#: ../src/guestfs.pod:1088 #, no-wrap msgid "" " exec qemu-kvm -machine pc,accel=tcg \"${args[@]}\"\n" @@ -49545,19 +49844,19 @@ msgstr "" "\n" #. type: =head2 -#: ../src/guestfs.pod:1084 +#: ../src/guestfs.pod:1090 msgid "ATTACHING TO RUNNING DAEMONS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1086 +#: ../src/guestfs.pod:1092 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:1089 +#: ../src/guestfs.pod:1095 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 " @@ -49565,12 +49864,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:1093 +#: ../src/guestfs.pod:1099 msgid "Using guestfs_set_attach_method" msgstr "guestfs_set_attach_method の使用法" #. type: textblock -#: ../src/guestfs.pod:1095 +#: ../src/guestfs.pod:1101 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</" @@ -49578,14 +49877,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1099 +#: ../src/guestfs.pod:1105 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:1102 +#: ../src/guestfs.pod:1108 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 " @@ -49593,7 +49892,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1106 +#: ../src/guestfs.pod:1112 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 " @@ -49601,12 +49900,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:1110 +#: ../src/guestfs.pod:1116 msgid "Using guestfs_add_domain with live flag" msgstr "live フラグを用いた guestfs_add_domain の使用方法" #. type: textblock -#: ../src/guestfs.pod:1112 +#: ../src/guestfs.pod:1118 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 " @@ -49617,7 +49916,7 @@ msgstr "" "を使用してください。" #. type: verbatim -#: ../src/guestfs.pod:1118 +#: ../src/guestfs.pod:1124 #, no-wrap msgid "" " <domain>\n" @@ -49647,7 +49946,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1130 +#: ../src/guestfs.pod:1136 msgid "" "L</guestfs_add_domain> extracts C</path/to/socket> and sets the attach " "method to C<unix:/path/to/socket>." @@ -49656,7 +49955,7 @@ msgstr "" "path/to/socket> に設定します。" #. type: textblock -#: ../src/guestfs.pod:1133 +#: ../src/guestfs.pod:1139 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 " @@ -49664,19 +49963,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1137 +#: ../src/guestfs.pod:1143 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:1141 +#: ../src/guestfs.pod:1147 msgid "ABI GUARANTEE" msgstr "ABI 保証" #. type: textblock -#: ../src/guestfs.pod:1143 +#: ../src/guestfs.pod:1149 msgid "" "We guarantee the libguestfs ABI (binary interface), for public, high-level " "actions as outlined in this section. Although we will deprecate some " @@ -49686,12 +49985,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1149 +#: ../src/guestfs.pod:1155 msgid "BLOCK DEVICE NAMING" msgstr "ブロックデバイスの命名法" #. type: textblock -#: ../src/guestfs.pod:1151 +#: ../src/guestfs.pod:1157 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 " @@ -49705,7 +50004,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1163 +#: ../src/guestfs.pod:1169 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 " @@ -49713,7 +50012,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1167 +#: ../src/guestfs.pod:1173 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 " @@ -49721,7 +50020,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1172 +#: ../src/guestfs.pod:1178 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 " @@ -49730,7 +50029,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1178 +#: ../src/guestfs.pod:1184 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 " @@ -49738,12 +50037,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:1183 +#: ../src/guestfs.pod:1189 msgid "ALGORITHM FOR BLOCK DEVICE NAME TRANSLATION" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1185 +#: ../src/guestfs.pod:1191 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 " @@ -49752,7 +50051,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1191 +#: ../src/guestfs.pod:1197 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</" @@ -49760,17 +50059,17 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1199 +#: ../src/guestfs.pod:1205 msgid "Is the string a parameter which is a device or partition name?" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1203 +#: ../src/guestfs.pod:1209 msgid "Does the string begin with C</dev/sd>?" msgstr "文字列が C</dev/sd> で始まっていますか?" #. type: textblock -#: ../src/guestfs.pod:1207 +#: ../src/guestfs.pod:1213 msgid "" "Does the named device exist? If so, we use that device. However if I<not> " "then we continue with this algorithm." @@ -49779,38 +50078,38 @@ msgstr "" "し、そうで I<なければ> 、この手順を続けます。" #. type: textblock -#: ../src/guestfs.pod:1212 +#: ../src/guestfs.pod:1218 msgid "Replace initial C</dev/sd> string with C</dev/hd>." msgstr "最初の C</dev/sd> 文字列を C</dev/hd> で置き換えます。" #. type: textblock -#: ../src/guestfs.pod:1214 +#: ../src/guestfs.pod:1220 msgid "For example, change C</dev/sda2> to C</dev/hda2>." msgstr "たとえば、 C</dev/sda2> を C</dev/hda2> に変更します。" #. type: textblock -#: ../src/guestfs.pod:1216 +#: ../src/guestfs.pod:1222 msgid "If that named device exists, use it. If not, continue." msgstr "名前付きデバイスが存在すれば、それを使用します。なければ、続けます。" #. type: textblock -#: ../src/guestfs.pod:1220 +#: ../src/guestfs.pod:1226 msgid "Replace initial C</dev/sd> string with C</dev/vd>." msgstr "最初の C</dev/sd> 文字列を C</dev/vd> で置き換えます。" #. type: textblock -#: ../src/guestfs.pod:1222 +#: ../src/guestfs.pod:1228 msgid "If that named device exists, use it. If not, return an error." msgstr "" "名前付きデバイスが存在すれば、それを使用します。なければ、エラーを返します。" #. type: =head3 -#: ../src/guestfs.pod:1226 +#: ../src/guestfs.pod:1232 msgid "PORTABILITY CONCERNS WITH BLOCK DEVICE NAMING" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1228 +#: ../src/guestfs.pod:1234 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 " @@ -49818,14 +50117,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1232 +#: ../src/guestfs.pod:1238 msgid "" "Where possible for maximum future portability programs using libguestfs " "should use these future-proof techniques:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1239 +#: ../src/guestfs.pod:1245 msgid "" "Use L</guestfs_list_devices> or L</guestfs_list_partitions> to list actual " "device names, and then use those names directly." @@ -49834,14 +50133,14 @@ msgstr "" "guestfs_list_partitions> を使用します。そして、それらの名前を直接使用します。" #. type: textblock -#: ../src/guestfs.pod:1242 +#: ../src/guestfs.pod:1248 msgid "" "Since those device names exist by definition, they will never be translated." msgstr "" "それらのデバイス名が定義により存在しているので、それらは変換されません。" #. type: textblock -#: ../src/guestfs.pod:1247 +#: ../src/guestfs.pod:1253 msgid "" "Use higher level ways to identify filesystems, such as LVM names, UUIDs and " "filesystem labels." @@ -49850,12 +50149,12 @@ msgstr "" "るための高レベルの方法を使用します。" #. type: =head2 -#: ../src/guestfs.pod:1252 +#: ../src/guestfs.pod:1258 msgid "NULL DISKS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1254 +#: ../src/guestfs.pod:1260 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 " @@ -49863,36 +50162,36 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1258 +#: ../src/guestfs.pod:1264 msgid "A null disk has the following properties:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1264 +#: ../src/guestfs.pod:1270 msgid "" "A null disk will appear as a normal device, eg. in calls to L</" "guestfs_list_devices>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1269 +#: ../src/guestfs.pod:1275 msgid "You may add C<\"/dev/null\"> multiple times." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1273 +#: ../src/guestfs.pod:1279 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:1278 +#: ../src/guestfs.pod:1284 msgid "Null disks are used for three main purposes:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1284 +#: ../src/guestfs.pod:1290 #, fuzzy #| msgid "" #| "For more information on the architecture of libguestfs, see L<guestfs(3)>." @@ -49901,12 +50200,12 @@ msgstr "" "libguestfs のアーキテクチャーの詳細は L<guestfs(3)> を参照してください。" #. type: textblock -#: ../src/guestfs.pod:1288 +#: ../src/guestfs.pod:1294 msgid "The internal test suite." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1292 +#: ../src/guestfs.pod:1298 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 " @@ -49914,12 +50213,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1296 +#: ../src/guestfs.pod:1302 msgid "For example, to test if a feature is available, use code like this:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1298 +#: ../src/guestfs.pod:1304 #, no-wrap msgid "" " guestfs_h *g;\n" @@ -49928,7 +50227,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1301 +#: ../src/guestfs.pod:1307 #, no-wrap msgid "" " g = guestfs_create ();\n" @@ -49944,12 +50243,12 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:1313 ../sysprep/virt-sysprep.pod:386 +#: ../src/guestfs.pod:1319 ../sysprep/virt-sysprep.pod:386 msgid "SECURITY" msgstr "セキュリティ" #. type: textblock -#: ../src/guestfs.pod:1315 +#: ../src/guestfs.pod:1321 msgid "" "This section discusses security implications of using libguestfs, " "particularly with untrusted or malicious guests or disk images." @@ -49959,12 +50258,12 @@ msgstr "" "ます。" #. type: =head2 -#: ../src/guestfs.pod:1318 +#: ../src/guestfs.pod:1324 msgid "GENERAL SECURITY CONSIDERATIONS" msgstr "一般的なセキュリティ考慮事項" #. type: textblock -#: ../src/guestfs.pod:1320 +#: ../src/guestfs.pod:1326 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 " @@ -49974,42 +50273,42 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1330 +#: ../src/guestfs.pod:1336 msgid "the data (file etc) not being present" msgstr "データ(ファイルなど)が存在しない場合" #. type: textblock -#: ../src/guestfs.pod:1334 +#: ../src/guestfs.pod:1340 msgid "being present but empty" msgstr "存在するが空の場合" #. type: textblock -#: ../src/guestfs.pod:1338 +#: ../src/guestfs.pod:1344 msgid "being much larger than normal" msgstr "通常よりもかなり大きい場合" #. type: textblock -#: ../src/guestfs.pod:1342 +#: ../src/guestfs.pod:1348 msgid "containing arbitrary 8 bit data" msgstr "任意の 8 ビットのデータを含む場合" #. type: textblock -#: ../src/guestfs.pod:1346 +#: ../src/guestfs.pod:1352 msgid "being in an unexpected character encoding" msgstr "予期しない文字エンコードを使用している場合" #. type: textblock -#: ../src/guestfs.pod:1350 +#: ../src/guestfs.pod:1356 msgid "containing homoglyphs." msgstr "同型異義語を含む場合" #. type: =head2 -#: ../src/guestfs.pod:1354 +#: ../src/guestfs.pod:1360 msgid "SECURITY OF MOUNTING FILESYSTEMS" msgstr "ファイルシステムのマウントに関するセキュリティ" #. type: textblock -#: ../src/guestfs.pod:1356 +#: ../src/guestfs.pod:1362 msgid "" "When you mount a filesystem under Linux, mistakes in the kernel filesystem " "(VFS) module can sometimes be escalated into exploits by deliberately " @@ -50025,7 +50324,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1369 +#: ../src/guestfs.pod:1375 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 " @@ -50039,19 +50338,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1380 +#: ../src/guestfs.pod:1386 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:1383 +#: ../src/guestfs.pod:1389 msgid "PROTOCOL SECURITY" msgstr "プロトコルセキュリティ" #. type: textblock -#: ../src/guestfs.pod:1385 +#: ../src/guestfs.pod:1391 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 " @@ -50066,12 +50365,12 @@ msgstr "" "くのプロトコルセキュリティは結果からあなたを保護しません。" #. type: =head2 -#: ../src/guestfs.pod:1391 +#: ../src/guestfs.pod:1397 msgid "INSPECTION SECURITY" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1393 +#: ../src/guestfs.pod:1399 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 " @@ -50080,7 +50379,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1399 +#: ../src/guestfs.pod:1405 msgid "" "Guest configuration may be altered in unusual ways by the administrator of " "the virtual machine, and may not reflect reality (particularly for untrusted " @@ -50091,7 +50390,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1407 +#: ../src/guestfs.pod:1413 msgid "" "The inspection API parses guest configuration using two external libraries: " "Augeas (Linux configuration) and hivex (Windows Registry). Both are " @@ -50101,12 +50400,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1413 +#: ../src/guestfs.pod:1419 msgid "RUNNING UNTRUSTED GUEST COMMANDS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1415 +#: ../src/guestfs.pod:1421 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 " @@ -50116,19 +50415,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1421 +#: ../src/guestfs.pod:1427 msgid "CVE-2010-3851" msgstr "CVE-2010-3851" #. type: textblock -#: ../src/guestfs.pod:1423 +#: ../src/guestfs.pod:1429 #, 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:1425 +#: ../src/guestfs.pod:1431 msgid "" "This security bug concerns the automatic disk format detection that qemu " "does on disk images." @@ -50137,7 +50436,7 @@ msgstr "" "フォーマット検出に関するものです。" #. type: textblock -#: ../src/guestfs.pod:1428 +#: ../src/guestfs.pod:1434 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 " @@ -50146,7 +50445,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1433 +#: ../src/guestfs.pod:1439 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 " @@ -50155,7 +50454,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1438 +#: ../src/guestfs.pod:1444 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 " @@ -50167,27 +50466,27 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1446 +#: ../src/guestfs.pod:1452 msgid "" "In libguestfs this is rather hard to exploit except under two circumstances:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1453 +#: ../src/guestfs.pod:1459 msgid "You have enabled the network or have opened the disk in write mode." msgstr "" "ネットワークを有効化しているか、もしくは書き込みモードでディスクを開いていま" "す。" #. type: textblock -#: ../src/guestfs.pod:1457 +#: ../src/guestfs.pod:1463 msgid "" "You are also running untrusted code from the guest (see L</RUNNING " "COMMANDS>)." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1462 +#: ../src/guestfs.pod:1468 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 " @@ -50196,31 +50495,31 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1467 +#: ../src/guestfs.pod:1473 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:1470 +#: ../src/guestfs.pod:1476 msgid "" "For libguestfs tools, use the I<--format> command line parameter as " "appropriate." msgstr "" #. type: =head1 -#: ../src/guestfs.pod:1473 +#: ../src/guestfs.pod:1479 msgid "CONNECTION MANAGEMENT" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1475 +#: ../src/guestfs.pod:1481 msgid "guestfs_h *" msgstr "guestfs_h *" #. type: textblock -#: ../src/guestfs.pod:1477 +#: ../src/guestfs.pod:1483 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 " @@ -50228,19 +50527,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1481 +#: ../src/guestfs.pod:1487 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:1484 +#: ../src/guestfs.pod:1490 msgid "guestfs_create" msgstr "guestfs_create" #. type: verbatim -#: ../src/guestfs.pod:1486 +#: ../src/guestfs.pod:1492 #, no-wrap msgid "" " guestfs_h *guestfs_create (void);\n" @@ -50250,19 +50549,19 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1488 +#: ../src/guestfs.pod:1494 msgid "Create a connection handle." msgstr "接続ハンドルを作成します。" #. type: textblock -#: ../src/guestfs.pod:1490 +#: ../src/guestfs.pod:1496 msgid "" "On success this returns a non-NULL pointer to a handle. On error it returns " "NULL." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1493 +#: ../src/guestfs.pod:1499 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 " @@ -50270,24 +50569,24 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1497 +#: ../src/guestfs.pod:1503 msgid "After configuring the handle, you have to call L</guestfs_launch>." msgstr "ハンドルを設定後、 L</guestfs_launch> を呼び出す必要があります。" #. type: textblock -#: ../src/guestfs.pod:1499 +#: ../src/guestfs.pod:1505 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:1502 +#: ../src/guestfs.pod:1508 msgid "guestfs_close" msgstr "guestfs_close" #. type: verbatim -#: ../src/guestfs.pod:1504 +#: ../src/guestfs.pod:1510 #, no-wrap msgid "" " void guestfs_close (guestfs_h *g);\n" @@ -50297,19 +50596,19 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1506 +#: ../src/guestfs.pod:1512 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:1509 +#: ../src/guestfs.pod:1515 msgid "The correct way to close the handle is:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1511 +#: ../src/guestfs.pod:1517 #, no-wrap msgid "" " if (guestfs_shutdown (g) == -1) {\n" @@ -50320,45 +50619,45 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1516 +#: ../src/guestfs.pod:1522 msgid "" "L</guestfs_shutdown> is only needed if B<all> of the following are true:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1522 +#: ../src/guestfs.pod:1528 msgid "one or more disks were added in read-write mode, I<and>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1526 +#: ../src/guestfs.pod:1532 msgid "guestfs_launch was called, I<and>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1530 +#: ../src/guestfs.pod:1536 msgid "you made some changes, I<and>" msgstr "" #. type: =item -#: ../src/guestfs.pod:1532 +#: ../src/guestfs.pod:1538 msgid "4" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1534 +#: ../src/guestfs.pod:1540 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:1539 +#: ../src/guestfs.pod:1545 msgid "ERROR HANDLING" msgstr "エラー処理" #. type: textblock -#: ../src/guestfs.pod:1541 +#: ../src/guestfs.pod:1547 msgid "" "API functions can return errors. For example, almost all functions that " "return C<int> will return C<-1> to indicate an error." @@ -50367,7 +50666,7 @@ msgstr "" "ラーを意味するために C<-1> を返します。" #. type: textblock -#: ../src/guestfs.pod:1544 +#: ../src/guestfs.pod:1550 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 " @@ -50377,7 +50676,7 @@ msgstr "" "エラーメッセージ文字列およびオプションのエラー番号(errno)です。" #. type: textblock -#: ../src/guestfs.pod:1548 +#: ../src/guestfs.pod:1554 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 " @@ -50385,7 +50684,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1553 +#: ../src/guestfs.pod:1559 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 " @@ -50393,7 +50692,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1557 +#: ../src/guestfs.pod:1563 #, no-wrap msgid "" " if (guestfs_launch (g) == -1)\n" @@ -50405,21 +50704,21 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1560 +#: ../src/guestfs.pod:1566 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:1563 +#: ../src/guestfs.pod:1569 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:1566 +#: ../src/guestfs.pod:1572 #, no-wrap msgid "" " /* This disables the default behaviour of printing errors\n" @@ -50433,7 +50732,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:1570 +#: ../src/guestfs.pod:1576 #, no-wrap msgid "" " if (guestfs_launch (g) == -1) {\n" @@ -50461,7 +50760,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1581 +#: ../src/guestfs.pod:1587 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</" @@ -50469,7 +50768,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1585 +#: ../src/guestfs.pod:1591 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 " @@ -50479,12 +50778,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1591 +#: ../src/guestfs.pod:1597 msgid "guestfs_last_error" msgstr "guestfs_last_error" #. type: verbatim -#: ../src/guestfs.pod:1593 +#: ../src/guestfs.pod:1599 #, no-wrap msgid "" " const char *guestfs_last_error (guestfs_h *g);\n" @@ -50494,14 +50793,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1595 +#: ../src/guestfs.pod:1601 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:1599 +#: ../src/guestfs.pod:1605 msgid "" "The lifetime of the returned string is until the next error occurs, or L</" "guestfs_close> is called." @@ -50510,12 +50809,12 @@ msgstr "" "guestfs_close> が呼び出されるまでです。" #. type: =head2 -#: ../src/guestfs.pod:1602 +#: ../src/guestfs.pod:1608 msgid "guestfs_last_errno" msgstr "guestfs_last_errno" #. type: verbatim -#: ../src/guestfs.pod:1604 +#: ../src/guestfs.pod:1610 #, no-wrap msgid "" " int guestfs_last_errno (guestfs_h *g);\n" @@ -50525,17 +50824,17 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1606 +#: ../src/guestfs.pod:1612 msgid "This returns the last error number (errno) that happened on C<g>." msgstr "これは C<g> において発生した最後のエラー番号(errno)を返します。" #. type: textblock -#: ../src/guestfs.pod:1608 +#: ../src/guestfs.pod:1614 msgid "If successful, an errno integer not equal to zero is returned." msgstr "もし成功すると、0 以外のエラー番号の整数が返されます。" #. type: textblock -#: ../src/guestfs.pod:1610 +#: ../src/guestfs.pod:1616 msgid "" "If no error, this returns 0. This call can return 0 in three situations:" msgstr "" @@ -50543,12 +50842,12 @@ msgstr "" "0 を返す可能性があります:" #. type: textblock -#: ../src/guestfs.pod:1617 +#: ../src/guestfs.pod:1623 msgid "There has not been any error on the handle." msgstr "ハンドルにおいて何もエラーがありませんでした。" #. type: textblock -#: ../src/guestfs.pod:1621 +#: ../src/guestfs.pod:1627 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 " @@ -50558,7 +50857,7 @@ msgstr "" "コールの失敗により発生しましたが、何か他の理由による場合に対応します。" #. type: textblock -#: ../src/guestfs.pod:1627 +#: ../src/guestfs.pod:1633 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." @@ -50567,7 +50866,7 @@ msgstr "" "より捕捉されず返されました。これは通常 libguestfs のバグを意味します。" #. type: textblock -#: ../src/guestfs.pod:1633 +#: ../src/guestfs.pod:1639 msgid "" "Libguestfs tries to convert the errno from inside the applicance into a " "corresponding errno for the caller (not entirely trivial: the appliance " @@ -50578,12 +50877,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1641 +#: ../src/guestfs.pod:1647 msgid "guestfs_set_error_handler" msgstr "guestfs_set_error_handler" #. type: verbatim -#: ../src/guestfs.pod:1643 +#: ../src/guestfs.pod:1649 #, no-wrap msgid "" " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n" @@ -50603,7 +50902,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1650 +#: ../src/guestfs.pod:1656 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 " @@ -50611,14 +50910,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1654 +#: ../src/guestfs.pod:1660 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:1657 +#: ../src/guestfs.pod:1663 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 " @@ -50626,22 +50925,22 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1661 +#: ../src/guestfs.pod:1667 msgid "The default handler prints messages on C<stderr>." msgstr "標準のハンドラーは C<stderr> にメッセージを表示します。" #. type: textblock -#: ../src/guestfs.pod:1663 +#: ../src/guestfs.pod:1669 msgid "If you set C<cb> to C<NULL> then I<no> handler is called." msgstr "C<cb> を C<NULL> に設定すると、 I<no> ハンドラーが呼び出されます。" #. type: =head2 -#: ../src/guestfs.pod:1665 +#: ../src/guestfs.pod:1671 msgid "guestfs_get_error_handler" msgstr "guestfs_get_error_handler" #. type: verbatim -#: ../src/guestfs.pod:1667 +#: ../src/guestfs.pod:1673 #, no-wrap msgid "" " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n" @@ -50653,17 +50952,17 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1670 +#: ../src/guestfs.pod:1676 msgid "Returns the current error handler callback." msgstr "現在のエラーハンドラのコールバックを返します。" #. type: =head2 -#: ../src/guestfs.pod:1672 +#: ../src/guestfs.pod:1678 msgid "guestfs_set_out_of_memory_handler" msgstr "guestfs_set_out_of_memory_handler" #. type: verbatim -#: ../src/guestfs.pod:1674 +#: ../src/guestfs.pod:1680 #, no-wrap msgid "" " typedef void (*guestfs_abort_cb) (void);\n" @@ -50677,7 +50976,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1678 +#: ../src/guestfs.pod:1684 msgid "" "The callback C<cb> will be called if there is an out of memory situation. " "I<Note this callback must not return>." @@ -50686,24 +50985,24 @@ msgstr "" "クは戻ってこない可能性があることに注意してください>。" #. type: textblock -#: ../src/guestfs.pod:1681 +#: ../src/guestfs.pod:1687 msgid "The default is to call L<abort(3)>." msgstr "デフォルトでは L<abort(3)> を呼び出します。" #. type: textblock -#: ../src/guestfs.pod:1683 +#: ../src/guestfs.pod:1689 msgid "" "You cannot set C<cb> to C<NULL>. You can't ignore out of memory situations." msgstr "" "C<cb> を C<NULL> に設定できません。メモリー不足の状況を無視できません。" #. type: =head2 -#: ../src/guestfs.pod:1686 +#: ../src/guestfs.pod:1692 msgid "guestfs_get_out_of_memory_handler" msgstr "guestfs_get_out_of_memory_handler" #. type: verbatim -#: ../src/guestfs.pod:1688 +#: ../src/guestfs.pod:1694 #, no-wrap msgid "" " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n" @@ -50713,37 +51012,37 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1690 +#: ../src/guestfs.pod:1696 msgid "This returns the current out of memory handler." msgstr "アウトオブメモリーハンドラーを返します。" #. type: =head1 -#: ../src/guestfs.pod:1692 +#: ../src/guestfs.pod:1698 msgid "API CALLS" msgstr "API 呼び出し" #. type: =head1 -#: ../src/guestfs.pod:1696 +#: ../src/guestfs.pod:1702 msgid "STRUCTURES" msgstr "構造" #. type: textblock -#: ../src/guestfs.pod:1698 +#: ../src/guestfs.pod:1704 msgid "@STRUCTS@" msgstr "@STRUCTS@" #. type: =head1 -#: ../src/guestfs.pod:1700 +#: ../src/guestfs.pod:1706 msgid "AVAILABILITY" msgstr "可用性" #. type: =head2 -#: ../src/guestfs.pod:1702 +#: ../src/guestfs.pod:1708 msgid "GROUPS OF FUNCTIONALITY IN THE APPLIANCE" msgstr "アプライアンスの機能のグループ" #. type: textblock -#: ../src/guestfs.pod:1704 +#: ../src/guestfs.pod:1710 msgid "" "Using L</guestfs_available> you can test availability of the following " "groups of functions. This test queries the appliance to see if the " @@ -50753,17 +51052,17 @@ msgstr "" "してください。" #. type: textblock -#: ../src/guestfs.pod:1709 +#: ../src/guestfs.pod:1715 msgid "@AVAILABILITY@" msgstr "@AVAILABILITY@" #. type: =head2 -#: ../src/guestfs.pod:1711 +#: ../src/guestfs.pod:1717 msgid "GUESTFISH supported COMMAND" msgstr "guestfish がサポートするコマンド" #. type: textblock -#: ../src/guestfs.pod:1713 +#: ../src/guestfs.pod:1719 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 " @@ -50771,12 +51070,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1718 +#: ../src/guestfs.pod:1724 msgid "SINGLE CALLS AT COMPILE TIME" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1720 +#: ../src/guestfs.pod:1726 msgid "" "Since version 1.5.8, C<E<lt>guestfs.hE<gt>> defines symbols for each C API " "function, such as:" @@ -50785,7 +51084,7 @@ msgstr "" "数があります。次のようなものがあります:" #. type: verbatim -#: ../src/guestfs.pod:1723 +#: ../src/guestfs.pod:1729 #, no-wrap msgid "" " #define LIBGUESTFS_HAVE_DD 1\n" @@ -50795,12 +51094,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1725 +#: ../src/guestfs.pod:1731 msgid "if L</guestfs_dd> is available." msgstr "L</guestfs_dd> が利用可能な場合。" #. type: textblock -#: ../src/guestfs.pod:1727 +#: ../src/guestfs.pod:1733 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 " @@ -50808,7 +51107,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1732 +#: ../src/guestfs.pod:1738 #, no-wrap msgid "" " AC_CHECK_LIB([guestfs],[guestfs_create])\n" @@ -50820,19 +51119,19 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1735 +#: ../src/guestfs.pod:1741 msgid "" "which would result in C<HAVE_GUESTFS_DD> being either defined or not defined " "in your program." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1738 +#: ../src/guestfs.pod:1744 msgid "SINGLE CALLS AT RUN TIME" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1740 +#: ../src/guestfs.pod:1746 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 " @@ -50844,7 +51143,7 @@ msgstr "" "してください。" #. type: textblock -#: ../src/guestfs.pod:1747 +#: ../src/guestfs.pod:1753 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 " @@ -50854,7 +51153,7 @@ msgstr "" "ください。" #. type: verbatim -#: ../src/guestfs.pod:1751 +#: ../src/guestfs.pod:1757 #, no-wrap msgid "" " #include <stdio.h>\n" @@ -50872,7 +51171,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:1757 +#: ../src/guestfs.pod:1763 #, no-wrap msgid "" " main ()\n" @@ -50890,7 +51189,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:1763 +#: ../src/guestfs.pod:1769 #, no-wrap msgid "" " /* Test if the function guestfs_dd is really available. */\n" @@ -50914,7 +51213,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:1772 +#: ../src/guestfs.pod:1778 #, no-wrap msgid "" " if (!has_function)\n" @@ -50946,7 +51245,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1785 +#: ../src/guestfs.pod:1791 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 " @@ -50954,7 +51253,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1790 +#: ../src/guestfs.pod:1796 #, no-wrap msgid "" " Requires: libguestfs >= 1.0.80\n" @@ -50964,12 +51263,12 @@ msgstr "" "\n" #. type: =head1 -#: ../src/guestfs.pod:1792 +#: ../src/guestfs.pod:1798 msgid "CALLS WITH OPTIONAL ARGUMENTS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1794 +#: ../src/guestfs.pod:1800 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 " @@ -50977,7 +51276,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1799 +#: ../src/guestfs.pod:1805 #, no-wrap msgid "" " int guestfs_add_drive_opts (guestfs_h *g, const char *filename, ...);\n" @@ -50987,14 +51286,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1801 +#: ../src/guestfs.pod:1807 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:1804 +#: ../src/guestfs.pod:1810 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename, -1);\n" @@ -51004,12 +51303,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1806 +#: ../src/guestfs.pod:1812 msgid "With a single optional argument:" msgstr "単一の引数の場合:" #. type: verbatim -#: ../src/guestfs.pod:1808 +#: ../src/guestfs.pod:1814 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename,\n" @@ -51023,12 +51322,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1812 +#: ../src/guestfs.pod:1818 msgid "With two:" msgstr "2つの引数の場合:" #. type: verbatim -#: ../src/guestfs.pod:1814 +#: ../src/guestfs.pod:1820 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename,\n" @@ -51044,19 +51343,19 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1819 +#: ../src/guestfs.pod:1825 msgid "" "and so forth. Don't forget the terminating C<-1> otherwise Bad Things will " "happen!" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1822 +#: ../src/guestfs.pod:1828 msgid "USING va_list FOR OPTIONAL ARGUMENTS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1824 +#: ../src/guestfs.pod:1830 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 " @@ -51066,7 +51365,7 @@ msgstr "" "guestfs_add_drive_opts> を使用してください。" #. type: verbatim -#: ../src/guestfs.pod:1828 +#: ../src/guestfs.pod:1834 #, no-wrap msgid "" " int guestfs_add_drive_opts_va (guestfs_h *g, const char *filename,\n" @@ -51078,12 +51377,12 @@ msgstr "" "\n" #. type: =head2 -#: ../src/guestfs.pod:1831 +#: ../src/guestfs.pod:1837 msgid "CONSTRUCTING OPTIONAL ARGUMENTS" msgstr "オプション引数の構築" #. type: textblock -#: ../src/guestfs.pod:1833 +#: ../src/guestfs.pod:1839 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 " @@ -51093,7 +51392,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1839 +#: ../src/guestfs.pod:1845 #, no-wrap msgid "" " struct guestfs_add_drive_opts_argv {\n" @@ -51117,12 +51416,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1848 +#: ../src/guestfs.pod:1854 msgid "You could call it like this:" msgstr "次のように呼び出すことができます。" #. type: verbatim -#: ../src/guestfs.pod:1850 +#: ../src/guestfs.pod:1856 #, no-wrap msgid "" " struct guestfs_add_drive_opts_argv optargs = {\n" @@ -51142,7 +51441,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:1857 +#: ../src/guestfs.pod:1863 #, no-wrap msgid "" " guestfs_add_drive_opts_argv (g, filename, &optargs);\n" @@ -51152,29 +51451,29 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1865 +#: ../src/guestfs.pod:1871 msgid "The C<_BITMASK> suffix on each option name when specifying the bitmask." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1870 +#: ../src/guestfs.pod:1876 msgid "You do not need to fill in all fields of the structure." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1874 +#: ../src/guestfs.pod:1880 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:1879 +#: ../src/guestfs.pod:1885 msgid "OPTIONAL ARGUMENTS IN OTHER LANGUAGES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1881 +#: ../src/guestfs.pod:1887 msgid "" "In other languages, optional arguments are expressed in the way that is " "natural for that language. We refer you to the language-specific " @@ -51182,17 +51481,17 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1885 +#: ../src/guestfs.pod:1891 msgid "For guestfish, see L<guestfish(1)/OPTIONAL ARGUMENTS>." msgstr "guestfish は L<guestfish(1)/OPTIONAL ARGUMENTS> を参照してください。" #. type: =head2 -#: ../src/guestfs.pod:1887 +#: ../src/guestfs.pod:1893 msgid "SETTING CALLBACKS TO HANDLE EVENTS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1889 +#: ../src/guestfs.pod:1895 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 " @@ -51204,7 +51503,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1898 +#: ../src/guestfs.pod:1904 msgid "" "Handles generate events when certain things happen, such as log messages " "being generated, progress messages during long-running operations, or the " @@ -51216,7 +51515,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1906 +#: ../src/guestfs.pod:1912 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 " @@ -51225,31 +51524,31 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1911 +#: ../src/guestfs.pod:1917 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:1915 +#: ../src/guestfs.pod:1921 msgid "CLASSES OF EVENTS" msgstr "イベントのクラス" #. type: =item -#: ../src/guestfs.pod:1919 +#: ../src/guestfs.pod:1925 msgid "GUESTFS_EVENT_CLOSE (payload type: void)" msgstr "GUESTFS_EVENT_CLOSE (ペイロード形式: void)" #. type: textblock -#: ../src/guestfs.pod:1922 +#: ../src/guestfs.pod:1928 msgid "" "The callback function will be called while the handle is being closed " "(synchronously from L</guestfs_close>)." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1925 +#: ../src/guestfs.pod:1931 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 " @@ -51262,19 +51561,19 @@ msgstr "" "guestfs_fallocate64> を使用してください。" #. type: textblock -#: ../src/guestfs.pod:1932 +#: ../src/guestfs.pod:1938 msgid "" "If no callback is registered: the handle is closed without any callback " "being invoked." msgstr "" #. type: =item -#: ../src/guestfs.pod:1935 +#: ../src/guestfs.pod:1941 msgid "GUESTFS_EVENT_SUBPROCESS_QUIT (payload type: void)" msgstr "GUESTFS_EVENT_SUBPROCESS_QUIT (ペイロード形式: void)" #. type: textblock -#: ../src/guestfs.pod:1938 +#: ../src/guestfs.pod:1944 msgid "" "The callback function will be called when the child process quits, either " "asynchronously or if killed by L</guestfs_kill_subprocess>. (This " @@ -51282,17 +51581,17 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1942 ../src/guestfs.pod:1951 ../src/guestfs.pod:2068 +#: ../src/guestfs.pod:1948 ../src/guestfs.pod:1957 ../src/guestfs.pod:2074 msgid "If no callback is registered: the event is ignored." msgstr "" #. type: =item -#: ../src/guestfs.pod:1944 +#: ../src/guestfs.pod:1950 msgid "GUESTFS_EVENT_LAUNCH_DONE (payload type: void)" msgstr "GUESTFS_EVENT_LAUNCH_DONE (ペイロード形式: void)" #. type: textblock -#: ../src/guestfs.pod:1947 +#: ../src/guestfs.pod:1953 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 " @@ -51300,12 +51599,12 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:1953 +#: ../src/guestfs.pod:1959 msgid "GUESTFS_EVENT_PROGRESS (payload type: array of 4 x uint64_t)" msgstr "GUESTFS_EVENT_PROGRESS (ペイロード形式: 4 x uint64_t の配列)" #. type: textblock -#: ../src/guestfs.pod:1956 +#: ../src/guestfs.pod:1962 msgid "" "Some long-running operations can generate progress messages. If this " "callback is registered, then it will be called each time a progress message " @@ -51315,14 +51614,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1962 +#: ../src/guestfs.pod:1968 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:1965 +#: ../src/guestfs.pod:1971 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 " @@ -51330,24 +51629,24 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1970 +#: ../src/guestfs.pod:1976 msgid "The only defined and stable parts of the API are:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1976 +#: ../src/guestfs.pod:1982 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:1981 +#: ../src/guestfs.pod:1987 msgid "0 E<lt>= C<position> E<lt>= C<total>" msgstr "0 E<lt>= C<position> E<lt>= C<total>" #. type: textblock -#: ../src/guestfs.pod:1985 +#: ../src/guestfs.pod:1991 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 " @@ -51355,7 +51654,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1989 +#: ../src/guestfs.pod:1995 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 " @@ -51363,7 +51662,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1995 +#: ../src/guestfs.pod:2001 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 " @@ -51372,7 +51671,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2000 +#: ../src/guestfs.pod:2006 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 " @@ -51380,14 +51679,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2004 +#: ../src/guestfs.pod:2010 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:2009 +#: ../src/guestfs.pod:2015 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 " @@ -51396,31 +51695,31 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2015 +#: ../src/guestfs.pod:2021 msgid "If no callback is registered: progress messages are discarded." msgstr "" #. type: =item -#: ../src/guestfs.pod:2017 +#: ../src/guestfs.pod:2023 msgid "GUESTFS_EVENT_APPLIANCE (payload type: message buffer)" msgstr "GUESTFS_EVENT_APPLIANCE (ペイロード形式: メッセージバッファー)" #. type: textblock -#: ../src/guestfs.pod:2020 +#: ../src/guestfs.pod:2026 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:2023 +#: ../src/guestfs.pod:2029 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:2026 ../src/guestfs.pod:2040 +#: ../src/guestfs.pod:2032 ../src/guestfs.pod:2046 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 " @@ -51428,63 +51727,63 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:2031 +#: ../src/guestfs.pod:2037 msgid "GUESTFS_EVENT_LIBRARY (payload type: message buffer)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2034 +#: ../src/guestfs.pod:2040 msgid "" "The callback function is called whenever a log message is generated by the " "library part of libguestfs." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2037 +#: ../src/guestfs.pod:2043 msgid "" "If the verbose flag (L</guestfs_set_verbose>) is set then additional debug " "messages are generated." msgstr "" #. type: =item -#: ../src/guestfs.pod:2045 +#: ../src/guestfs.pod:2051 msgid "GUESTFS_EVENT_TRACE (payload type: message buffer)" msgstr "GUESTFS_EVENT_TRACE (ペイロード形式: メッセージバッファー)" #. type: textblock -#: ../src/guestfs.pod:2048 +#: ../src/guestfs.pod:2054 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:2051 +#: ../src/guestfs.pod:2057 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:2055 +#: ../src/guestfs.pod:2061 msgid "GUESTFS_EVENT_ENTER (payload type: function name)" msgstr "GUESTFS_EVENT_ENTER (payload type: function name)" #. type: textblock -#: ../src/guestfs.pod:2058 +#: ../src/guestfs.pod:2064 msgid "" "The callback function is called whenever a libguestfs function is entered." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2061 +#: ../src/guestfs.pod:2067 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:2064 +#: ../src/guestfs.pod:2070 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 " @@ -51492,12 +51791,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2072 +#: ../src/guestfs.pod:2078 msgid "guestfs_set_event_callback" msgstr "guestfs_set_event_callback" #. type: verbatim -#: ../src/guestfs.pod:2074 +#: ../src/guestfs.pod:2080 #, no-wrap msgid "" " int guestfs_set_event_callback (guestfs_h *g,\n" @@ -51515,14 +51814,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2080 +#: ../src/guestfs.pod:2086 msgid "" "This function registers a callback (C<cb>) for all event classes in the " "C<event_bitmask>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2083 +#: ../src/guestfs.pod:2089 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>. " @@ -51531,40 +51830,40 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2089 +#: ../src/guestfs.pod:2095 msgid "C<flags> should always be passed as 0." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2091 +#: ../src/guestfs.pod:2097 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:2094 +#: ../src/guestfs.pod:2100 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:2097 +#: ../src/guestfs.pod:2103 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:2100 +#: ../src/guestfs.pod:2106 msgid "" "Callbacks remain in effect until they are deleted, or until the handle is " "closed." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2103 +#: ../src/guestfs.pod:2109 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 " @@ -51572,12 +51871,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2107 +#: ../src/guestfs.pod:2113 msgid "guestfs_delete_event_callback" msgstr "guestfs_delete_event_callback" #. type: verbatim -#: ../src/guestfs.pod:2109 +#: ../src/guestfs.pod:2115 #, no-wrap msgid "" " void guestfs_delete_event_callback (guestfs_h *g, int event_handle);\n" @@ -51587,7 +51886,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2111 +#: ../src/guestfs.pod:2117 msgid "" "Delete a callback that was previously registered. C<event_handle> should be " "the integer that was returned by a previous call to " @@ -51595,12 +51894,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2115 +#: ../src/guestfs.pod:2121 msgid "guestfs_event_callback" msgstr "guestfs_event_callback" #. type: verbatim -#: ../src/guestfs.pod:2117 +#: ../src/guestfs.pod:2123 #, no-wrap msgid "" " typedef void (*guestfs_event_callback) (\n" @@ -51624,13 +51923,13 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2126 +#: ../src/guestfs.pod:2132 msgid "" "This is the type of the event callback function that you have to provide." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2129 +#: ../src/guestfs.pod:2135 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 " @@ -51638,7 +51937,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2133 +#: ../src/guestfs.pod:2139 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 " @@ -51647,7 +51946,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2138 +#: ../src/guestfs.pod:2144 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 " @@ -51655,19 +51954,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2142 +#: ../src/guestfs.pod:2148 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:2145 +#: ../src/guestfs.pod:2151 msgid "EXAMPLE: CAPTURING LOG MESSAGES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2147 +#: ../src/guestfs.pod:2153 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 " @@ -51675,7 +51974,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2151 +#: ../src/guestfs.pod:2157 msgid "" "Events associated with log messages are: C<GUESTFS_EVENT_LIBRARY>, " "C<GUESTFS_EVENT_APPLIANCE> and C<GUESTFS_EVENT_TRACE>. (Note that error " @@ -51683,14 +51982,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2156 +#: ../src/guestfs.pod:2162 msgid "" "Programs have to set up a callback to capture the classes of events of " "interest:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2159 +#: ../src/guestfs.pod:2165 #, no-wrap msgid "" " int eh =\n" @@ -51716,14 +52015,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2169 +#: ../src/guestfs.pod:2175 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:2172 +#: ../src/guestfs.pod:2178 #, no-wrap msgid "" " static void\n" @@ -51759,12 +52058,12 @@ msgstr "" "\n" #. type: =head1 -#: ../src/guestfs.pod:2187 +#: ../src/guestfs.pod:2193 msgid "CANCELLING LONG TRANSFERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2189 +#: ../src/guestfs.pod:2195 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 " @@ -51773,12 +52072,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:2194 +#: ../src/guestfs.pod:2200 msgid "guestfs_user_cancel" msgstr "guestfs_user_cancel" #. type: verbatim -#: ../src/guestfs.pod:2196 +#: ../src/guestfs.pod:2202 #, no-wrap msgid "" " void guestfs_user_cancel (guestfs_h *g);\n" @@ -51788,13 +52087,13 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2198 +#: ../src/guestfs.pod:2204 msgid "" "C<guestfs_user_cancel> cancels the current upload or download operation." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2201 +#: ../src/guestfs.pod:2207 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 " @@ -51802,7 +52101,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2205 +#: ../src/guestfs.pod:2211 msgid "" "The transfer that was in progress (if there is one) will stop shortly " "afterwards, and will return an error. The errno (see L</" @@ -51811,7 +52110,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2211 +#: ../src/guestfs.pod:2217 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 " @@ -51819,12 +52118,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2215 +#: ../src/guestfs.pod:2221 msgid "There are two common places that you might call C<guestfs_user_cancel>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2217 +#: ../src/guestfs.pod:2223 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 " @@ -51833,19 +52132,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2222 +#: ../src/guestfs.pod:2228 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:2226 +#: ../src/guestfs.pod:2232 msgid "PRIVATE DATA AREA" msgstr "プライベートデータ領域" #. type: textblock -#: ../src/guestfs.pod:2228 +#: ../src/guestfs.pod:2234 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 " @@ -51853,12 +52152,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2233 +#: ../src/guestfs.pod:2239 msgid "To attach a named piece of data, use the following call:" msgstr "データの名前付き部分を接続するには、以下の呼び出しを使用します:" #. type: verbatim -#: ../src/guestfs.pod:2235 +#: ../src/guestfs.pod:2241 #, no-wrap msgid "" " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n" @@ -51868,7 +52167,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2237 +#: ../src/guestfs.pod:2243 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 " @@ -51876,7 +52175,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2241 +#: ../src/guestfs.pod:2247 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 " @@ -51886,12 +52185,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2247 +#: ../src/guestfs.pod:2253 msgid "To retrieve the pointer, use:" msgstr "ポインターを取り出すには、次を使用します:" #. type: verbatim -#: ../src/guestfs.pod:2249 +#: ../src/guestfs.pod:2255 #, no-wrap msgid "" " void *guestfs_get_private (guestfs_h *g, const char *key);\n" @@ -51901,7 +52200,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2251 +#: ../src/guestfs.pod:2257 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 " @@ -51911,7 +52210,7 @@ msgstr "" "guestfs_vfs_label> を使用してください。" #. type: textblock -#: ../src/guestfs.pod:2255 +#: ../src/guestfs.pod:2261 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 " @@ -51922,12 +52221,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2262 +#: ../src/guestfs.pod:2268 msgid "To walk over all entries, use these two functions:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2264 +#: ../src/guestfs.pod:2270 #, no-wrap msgid "" " void *guestfs_first_private (guestfs_h *g, const char **key_rtn);\n" @@ -51937,7 +52236,7 @@ msgstr "" "\n" #. type: verbatim -#: ../src/guestfs.pod:2266 +#: ../src/guestfs.pod:2272 #, no-wrap msgid "" " void *guestfs_next_private (guestfs_h *g, const char **key_rtn);\n" @@ -51947,7 +52246,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2268 +#: ../src/guestfs.pod:2274 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 " @@ -51957,7 +52256,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2274 +#: ../src/guestfs.pod:2280 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 " @@ -51965,18 +52264,18 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2278 +#: ../src/guestfs.pod:2284 msgid "Notes about walking over entries:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2284 +#: ../src/guestfs.pod:2290 msgid "" "You must not call C<guestfs_set_private> while walking over the entries." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2289 +#: ../src/guestfs.pod:2295 msgid "" "The handle maintains an internal iterator which is reset when you call " "C<guestfs_first_private>. This internal iterator is invalidated when you " @@ -51984,12 +52283,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2295 +#: ../src/guestfs.pod:2301 msgid "If you have set the data pointer associated with a key to C<NULL>, ie:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2297 +#: ../src/guestfs.pod:2303 #, no-wrap msgid "" " guestfs_set_private (g, key, NULL);\n" @@ -51999,26 +52298,26 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2299 +#: ../src/guestfs.pod:2305 msgid "then that C<key> is not returned when walking." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2303 +#: ../src/guestfs.pod:2309 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:2309 +#: ../src/guestfs.pod:2315 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:2312 +#: ../src/guestfs.pod:2318 #, no-wrap msgid "" " const char *key;\n" @@ -52040,14 +52339,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2320 +#: ../src/guestfs.pod:2326 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:2323 +#: ../src/guestfs.pod:2329 #, no-wrap msgid "" " const char *key;\n" @@ -52071,7 +52370,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2332 +#: ../src/guestfs.pod:2338 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 " @@ -52079,7 +52378,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2336 +#: ../src/guestfs.pod:2342 #, no-wrap msgid "" " const char *key;\n" @@ -52117,7 +52416,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2352 +#: ../src/guestfs.pod:2358 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 " @@ -52126,12 +52425,12 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2357 +#: ../src/guestfs.pod:2363 msgid "SYSTEMTAP" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2359 +#: ../src/guestfs.pod:2365 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 " @@ -52139,12 +52438,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2363 +#: ../src/guestfs.pod:2369 msgid "You can list all the static markers by doing:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2365 +#: ../src/guestfs.pod:2371 #, no-wrap msgid "" " stap -l 'process(\"/usr/lib*/libguestfs.so.0\")\n" @@ -52156,26 +52455,26 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2368 +#: ../src/guestfs.pod:2374 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:2371 +#: ../src/guestfs.pod:2377 msgid "SYSTEMTAP SCRIPT EXAMPLE" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2373 +#: ../src/guestfs.pod:2379 msgid "" "This script contains examples of displaying both the static markers and some " "ordinary C entry points:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2400 +#: ../src/guestfs.pod:2406 #, no-wrap msgid "" " /* Display all calls to guestfs_mkfs* functions. */\n" @@ -52195,7 +52494,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2407 +#: ../src/guestfs.pod:2413 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 " @@ -52204,7 +52503,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2412 +#: ../src/guestfs.pod:2418 #, no-wrap msgid "" " # stap /tmp/test.stap\n" @@ -52216,17 +52515,17 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2415 +#: ../src/guestfs.pod:2421 msgid "In another terminal, run a guestfish command such as this:" msgstr "他の端末において、このように guestfish コマンドを実行します:" #. type: textblock -#: ../src/guestfs.pod:2419 +#: ../src/guestfs.pod:2425 msgid "In the first terminal, stap trace output similar to this is shown:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2421 +#: ../src/guestfs.pod:2427 #, no-wrap msgid "" " 1318248056692655 (+0):\tlaunch_start\n" @@ -52246,7 +52545,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2430 +#: ../src/guestfs.pod:2436 msgid "" "<!-- old anchor for the next section --> <a name=" "\"state_machine_and_low_level_event_api\"/>" @@ -52255,12 +52554,12 @@ msgstr "" "\"state_machine_and_low_level_event_api\"/>" #. type: =head1 -#: ../src/guestfs.pod:2435 +#: ../src/guestfs.pod:2441 msgid "ARCHITECTURE" msgstr "アーキテクチャー" #. type: textblock -#: ../src/guestfs.pod:2437 +#: ../src/guestfs.pod:2443 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 " @@ -52271,7 +52570,7 @@ msgstr "" "ロセスとして実行します。" #. type: verbatim -#: ../src/guestfs.pod:2441 +#: ../src/guestfs.pod:2447 #, no-wrap msgid "" " ___________________\n" @@ -52317,14 +52616,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2461 +#: ../src/guestfs.pod:2467 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:2464 +#: ../src/guestfs.pod:2470 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 " @@ -52336,7 +52635,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2473 +#: ../src/guestfs.pod:2479 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 " @@ -52347,17 +52646,17 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2480 +#: ../src/guestfs.pod:2486 msgid "STATE MACHINE" msgstr "状態マシン" #. type: textblock -#: ../src/guestfs.pod:2482 +#: ../src/guestfs.pod:2488 msgid "libguestfs uses a state machine to model the child process:" msgstr "libguestfs は子プロセスをモデル化するために状態マシンを使用します:" #. type: verbatim -#: ../src/guestfs.pod:2484 +#: ../src/guestfs.pod:2490 #, no-wrap msgid "" " |\n" @@ -52385,7 +52684,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2506 +#: ../src/guestfs.pod:2512 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), " @@ -52394,7 +52693,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2511 +#: ../src/guestfs.pod:2517 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 " @@ -52405,7 +52704,7 @@ msgstr "" "ため)、状態を設定 (CONFIG) に切り戻します。" #. type: textblock -#: ../src/guestfs.pod:2515 +#: ../src/guestfs.pod:2521 msgid "" "Configuration commands for qemu such as L</guestfs_add_drive> can only be " "issued when in the CONFIG state." @@ -52414,7 +52713,7 @@ msgstr "" "態にあるときのみ発行できます。" #. type: textblock -#: ../src/guestfs.pod:2518 +#: ../src/guestfs.pod:2524 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 " @@ -52423,7 +52722,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2524 +#: ../src/guestfs.pod:2530 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. " @@ -52432,7 +52731,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2529 +#: ../src/guestfs.pod:2535 msgid "" "Finally, the child process sends asynchronous messages back to the main " "program, such as kernel log messages. You can register a callback to " @@ -52440,17 +52739,17 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2533 +#: ../src/guestfs.pod:2539 msgid "INTERNALS" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:2535 +#: ../src/guestfs.pod:2541 msgid "APPLIANCE BOOT PROCESS" msgstr "アプライアンスの起動プロセス" #. type: textblock -#: ../src/guestfs.pod:2537 +#: ../src/guestfs.pod:2543 msgid "" "This process has evolved and continues to evolve. The description here " "corresponds only to the current version of libguestfs and is provided for " @@ -52460,7 +52759,7 @@ msgstr "" "バージョンの libguestfs にのみ対応していて、参考情報としてのみ提供されます。" #. type: textblock -#: ../src/guestfs.pod:2541 +#: ../src/guestfs.pod:2547 msgid "" "In order to follow the stages involved below, enable libguestfs debugging " "(set the environment variable C<LIBGUESTFS_DEBUG=1>)." @@ -52469,12 +52768,12 @@ msgstr "" "C<LIBGUESTFS_DEBUG=1> を設定します)。" #. type: =item -#: ../src/guestfs.pod:2546 +#: ../src/guestfs.pod:2552 msgid "Create the appliance" msgstr "アプライアンスを作成します" #. type: textblock -#: ../src/guestfs.pod:2548 +#: ../src/guestfs.pod:2554 msgid "" "C<febootstrap-supermin-helper> is invoked to create the kernel, a small " "initrd and the appliance." @@ -52483,7 +52782,7 @@ msgstr "" "を作成するために呼び出されます。" #. type: textblock -#: ../src/guestfs.pod:2551 +#: ../src/guestfs.pod:2557 msgid "" "The appliance is cached in C</var/tmp/.guestfs-E<lt>UIDE<gt>> (or in another " "directory if C<TMPDIR> is set)." @@ -52492,7 +52791,7 @@ msgstr "" "たは C<TMPDIR> を設定していると他の場所です)。" #. type: textblock -#: ../src/guestfs.pod:2554 +#: ../src/guestfs.pod:2560 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." @@ -52502,22 +52801,22 @@ msgstr "" "参照してください。" #. type: =item -#: ../src/guestfs.pod:2558 +#: ../src/guestfs.pod:2564 msgid "Start qemu and boot the kernel" msgstr "QEMU を開始してカーネルを起動します" #. type: textblock -#: ../src/guestfs.pod:2560 +#: ../src/guestfs.pod:2566 msgid "qemu is invoked to boot the kernel." msgstr "カーネルを起動するために QEMU が呼び出されます。" #. type: =item -#: ../src/guestfs.pod:2562 +#: ../src/guestfs.pod:2568 msgid "Run the initrd" msgstr "initrd を実行します" #. type: textblock -#: ../src/guestfs.pod:2564 +#: ../src/guestfs.pod:2570 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 " @@ -52528,7 +52827,7 @@ msgstr "" "始できるために、十分なカーネルモジュールを読み込むことです。" #. type: textblock -#: ../src/guestfs.pod:2568 +#: ../src/guestfs.pod:2574 msgid "" "The initrd is a cpio archive called C</var/tmp/.guestfs-E<lt>UIDE<gt>/" "initrd>." @@ -52537,7 +52836,7 @@ msgstr "" "す。" #. type: textblock -#: ../src/guestfs.pod:2571 +#: ../src/guestfs.pod:2577 msgid "" "When the initrd has started you will see messages showing that kernel " "modules are being loaded, similar to this:" @@ -52546,7 +52845,7 @@ msgstr "" "メッセージが表示されます:" #. type: verbatim -#: ../src/guestfs.pod:2574 +#: ../src/guestfs.pod:2580 #, no-wrap msgid "" " febootstrap: ext2 mini initrd starting up\n" @@ -52562,12 +52861,12 @@ msgstr "" "\n" #. type: =item -#: ../src/guestfs.pod:2579 +#: ../src/guestfs.pod:2585 msgid "Find and mount the appliance device" msgstr "アプライアンスデバイスを検索およびマウントします" #. type: textblock -#: ../src/guestfs.pod:2581 +#: ../src/guestfs.pod:2587 msgid "" "The appliance is a sparse file containing an ext2 filesystem which contains " "a familiar (although reduced in size) Linux operating system. It would " @@ -52575,33 +52874,33 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2585 +#: ../src/guestfs.pod:2591 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:2588 +#: ../src/guestfs.pod:2594 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:2591 +#: ../src/guestfs.pod:2597 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:2595 +#: ../src/guestfs.pod:2601 msgid "If this works successfully you will see messages such as:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2597 +#: ../src/guestfs.pod:2603 #, no-wrap msgid "" " febootstrap: picked /sys/block/vdb/dev as root device\n" @@ -52619,19 +52918,19 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2603 +#: ../src/guestfs.pod:2609 msgid "" "Note that C<Starting /init script ...> indicates that the appliance's init " "script is now running." msgstr "" #. type: =item -#: ../src/guestfs.pod:2606 +#: ../src/guestfs.pod:2612 msgid "Initialize the appliance" msgstr "アプライアンスを初期化します" #. type: textblock -#: ../src/guestfs.pod:2608 +#: ../src/guestfs.pod:2614 msgid "" "The appliance itself now initializes itself. This involves starting certain " "processes like C<udev>, possibly printing some debug information, and " @@ -52639,19 +52938,19 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:2612 +#: ../src/guestfs.pod:2618 msgid "The daemon" msgstr "デーモン" #. type: textblock -#: ../src/guestfs.pod:2614 +#: ../src/guestfs.pod:2620 msgid "" "Finally the daemon (C<guestfsd>) runs inside the appliance. If it runs you " "should see:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2617 +#: ../src/guestfs.pod:2623 #, no-wrap msgid "" " verbose daemon enabled\n" @@ -52661,14 +52960,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2619 +#: ../src/guestfs.pod:2625 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:2622 +#: ../src/guestfs.pod:2628 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 " @@ -52676,19 +52975,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:2628 +#: ../src/guestfs.pod:2634 msgid "COMMUNICATION PROTOCOL" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2630 +#: ../src/guestfs.pod:2636 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:2633 +#: ../src/guestfs.pod:2639 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 " @@ -52696,14 +52995,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2637 +#: ../src/guestfs.pod:2643 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:2640 +#: ../src/guestfs.pod:2646 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 " @@ -52713,17 +53012,17 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2647 +#: ../src/guestfs.pod:2653 msgid "ORDINARY FUNCTIONS (NO FILEIN/FILEOUT PARAMS)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2649 +#: ../src/guestfs.pod:2655 msgid "For ordinary functions, the request message is:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2651 +#: ../src/guestfs.pod:2657 #, no-wrap msgid "" " total length (header + arguments,\n" @@ -52734,7 +53033,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2656 +#: ../src/guestfs.pod:2662 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 " @@ -52743,21 +53042,21 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2662 +#: ../src/guestfs.pod:2668 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:2665 +#: ../src/guestfs.pod:2671 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:2669 +#: ../src/guestfs.pod:2675 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 " @@ -52769,12 +53068,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2677 +#: ../src/guestfs.pod:2683 msgid "The reply message for ordinary functions is:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2679 +#: ../src/guestfs.pod:2685 #, no-wrap msgid "" " total length (header + ret,\n" @@ -52790,27 +53089,27 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2684 +#: ../src/guestfs.pod:2690 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:2687 +#: ../src/guestfs.pod:2693 msgid "" "As above the total length of the reply is limited to C<GUESTFS_MESSAGE_MAX>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2690 +#: ../src/guestfs.pod:2696 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:2693 +#: ../src/guestfs.pod:2699 #, no-wrap msgid "" " total length (header + error,\n" @@ -52821,7 +53120,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2698 +#: ../src/guestfs.pod:2704 msgid "" "The C<guestfs_message_error> structure contains the error message as a " "string." @@ -52829,12 +53128,12 @@ msgstr "" "C<guestfs_message_error> の構造は、文字列としてエラーメッセージを含みます。" #. type: =head3 -#: ../src/guestfs.pod:2701 +#: ../src/guestfs.pod:2707 msgid "FUNCTIONS THAT HAVE FILEIN PARAMETERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2703 +#: ../src/guestfs.pod:2709 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 " @@ -52842,7 +53141,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2707 +#: ../src/guestfs.pod:2713 #, no-wrap msgid "" " total length (header + arguments,\n" @@ -52864,12 +53163,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2715 +#: ../src/guestfs.pod:2721 msgid "The \"sequence of chunks\" is:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2717 +#: ../src/guestfs.pod:2723 #, no-wrap msgid "" " length of chunk (not including length word itself)\n" @@ -52891,7 +53190,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2725 +#: ../src/guestfs.pod:2731 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 " @@ -52899,7 +53198,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2729 +#: ../src/guestfs.pod:2735 msgid "" "At time of writing there are no functions that have more than one FileIn " "parameter. However this is (theoretically) supported, by sending the " @@ -52908,7 +53207,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2734 +#: ../src/guestfs.pod:2740 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 " @@ -52917,7 +53216,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2740 +#: ../src/guestfs.pod:2746 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 " @@ -52929,7 +53228,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2749 +#: ../src/guestfs.pod:2755 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 " @@ -52939,19 +53238,19 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2755 +#: ../src/guestfs.pod:2761 msgid "FUNCTIONS THAT HAVE FILEOUT PARAMETERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2757 +#: ../src/guestfs.pod:2763 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:2760 +#: ../src/guestfs.pod:2766 #, no-wrap msgid "" " total length (header + ret,\n" @@ -52965,12 +53264,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2768 +#: ../src/guestfs.pod:2774 msgid "INITIAL MESSAGE" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2770 +#: ../src/guestfs.pod:2776 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</" @@ -52978,12 +53277,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2774 +#: ../src/guestfs.pod:2780 msgid "PROGRESS NOTIFICATION MESSAGES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2776 +#: ../src/guestfs.pod:2782 msgid "" "The daemon may send progress notification messages at any time. These are " "distinguished by the normal length word being replaced by " @@ -52991,7 +53290,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2780 +#: ../src/guestfs.pod:2786 msgid "" "The library turns them into progress callbacks (see L</" "GUESTFS_EVENT_PROGRESS>) if there is a callback registered, or discards them " @@ -52999,7 +53298,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2784 +#: ../src/guestfs.pod:2790 msgid "" "The daemon self-limits the frequency of progress messages it sends (see " "C<daemon/proto.c:notify_progress>). Not all calls generate progress " @@ -53007,12 +53306,12 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2788 +#: ../src/guestfs.pod:2794 msgid "LIBGUESTFS VERSION NUMBERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2790 +#: ../src/guestfs.pod:2796 msgid "" "Since April 2010, libguestfs has started to make separate development and " "stable releases, along with corresponding branches in our git repository. " @@ -53020,7 +53319,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2795 +#: ../src/guestfs.pod:2801 #, no-wrap msgid "" " even numbers for stable: 1.2.x, 1.4.x, ...\n" @@ -53048,13 +53347,13 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2806 +#: ../src/guestfs.pod:2812 msgid "Thus \"1.3.5\" is the 5th update to the development branch \"1.3\"." msgstr "" "このように \"1.3.5\" は開発ブランチ \"1.3\" の 5 番目のアップデートです。" #. type: textblock -#: ../src/guestfs.pod:2808 +#: ../src/guestfs.pod:2814 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 " @@ -53064,12 +53363,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2814 +#: ../src/guestfs.pod:2820 msgid "Our criteria for backporting changes are:" msgstr "バックポートする変更に対する私たちの基準は次のとおりです:" #. type: textblock -#: ../src/guestfs.pod:2820 +#: ../src/guestfs.pod:2826 msgid "" "Documentation changes which don't affect any code are backported unless the " "documentation refers to a future feature which is not in stable." @@ -53078,7 +53377,7 @@ msgstr "" "機能を参照していなければ、バックポートされます。" #. type: textblock -#: ../src/guestfs.pod:2826 +#: ../src/guestfs.pod:2832 msgid "" "Bug fixes which are not controversial, fix obvious problems, and have been " "well tested are backported." @@ -53087,7 +53386,7 @@ msgstr "" "ポートされます。" #. type: textblock -#: ../src/guestfs.pod:2831 +#: ../src/guestfs.pod:2837 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 " @@ -53095,7 +53394,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2837 +#: ../src/guestfs.pod:2843 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 " @@ -53103,7 +53402,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2843 +#: ../src/guestfs.pod:2849 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 " @@ -53114,17 +53413,17 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2851 +#: ../src/guestfs.pod:2857 msgid "EXTENDING LIBGUESTFS" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:2853 +#: ../src/guestfs.pod:2859 msgid "ADDING A NEW API ACTION" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2855 +#: ../src/guestfs.pod:2861 msgid "" "Large amounts of boilerplate code in libguestfs (RPC, bindings, " "documentation) are generated, and this makes it easy to extend the " @@ -53132,19 +53431,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2859 +#: ../src/guestfs.pod:2865 msgid "To add a new API action there are two changes:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2865 +#: ../src/guestfs.pod:2871 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:2868 +#: ../src/guestfs.pod:2874 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 " @@ -53155,7 +53454,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2876 +#: ../src/guestfs.pod:2882 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 " @@ -53165,7 +53464,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2882 +#: ../src/guestfs.pod:2888 msgid "" "For library-only actions of the second type, add to the " "C<non_daemon_functions> list. Since these functions are serviced by the " @@ -53175,36 +53474,36 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2890 +#: ../src/guestfs.pod:2896 msgid "Implement the action (in C):" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2892 +#: ../src/guestfs.pod:2898 msgid "" "For daemon actions, implement the function C<do_E<lt>nameE<gt>> in the " "C<daemon/> directory." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2895 +#: ../src/guestfs.pod:2901 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:2898 +#: ../src/guestfs.pod:2904 msgid "In either case, use another function as an example of what to do." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2902 +#: ../src/guestfs.pod:2908 msgid "After making these changes, use C<make> to compile." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2904 +#: ../src/guestfs.pod:2910 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 " @@ -53212,12 +53511,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:2908 +#: ../src/guestfs.pod:2914 msgid "ADDING TESTS FOR AN API ACTION" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2910 +#: ../src/guestfs.pod:2916 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/" @@ -53227,34 +53526,34 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2917 +#: ../src/guestfs.pod:2923 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:2920 +#: ../src/guestfs.pod:2926 msgid "The test environment has 4 block devices:" msgstr "テスト環境は 4 個のブロックデバイスを持ちます:" #. type: =item -#: ../src/guestfs.pod:2924 +#: ../src/guestfs.pod:2930 msgid "C</dev/sda> 500MB" msgstr "C</dev/sda> 500MB" #. type: textblock -#: ../src/guestfs.pod:2926 +#: ../src/guestfs.pod:2932 msgid "General block device for testing." msgstr "テスト用の一般的なブロックデバイス。" #. type: =item -#: ../src/guestfs.pod:2928 +#: ../src/guestfs.pod:2934 msgid "C</dev/sdb> 50MB" msgstr "C</dev/sdb> 50MB" #. type: textblock -#: ../src/guestfs.pod:2930 +#: ../src/guestfs.pod:2936 msgid "" "C</dev/sdb1> is an ext2 filesystem used for testing filesystem write " "operations." @@ -53263,28 +53562,28 @@ msgstr "" "ext2 ファイルシステムです。" #. type: =item -#: ../src/guestfs.pod:2933 +#: ../src/guestfs.pod:2939 msgid "C</dev/sdc> 10MB" msgstr "C</dev/sdc> 10MB" #. type: textblock -#: ../src/guestfs.pod:2935 +#: ../src/guestfs.pod:2941 msgid "Used in a few tests where two block devices are needed." msgstr "" "2 つのブロックデバイスが必要となるいくつかのテストにおいて使用されます。" #. type: =item -#: ../src/guestfs.pod:2937 +#: ../src/guestfs.pod:2943 msgid "C</dev/sdd>" msgstr "C</dev/sdd>" #. type: textblock -#: ../src/guestfs.pod:2939 +#: ../src/guestfs.pod:2945 msgid "ISO with fixed content (see C<images/test.iso>)." msgstr "固定的な内容を持つ ISO (C<images/test.iso> 参照)。" #. type: textblock -#: ../src/guestfs.pod:2943 +#: ../src/guestfs.pod:2949 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 " @@ -53292,7 +53591,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2947 +#: ../src/guestfs.pod:2953 msgid "" "Each test starts with an initial scenario, selected using one of the " "C<Init*> expressions, described in C<generator/generator_types.ml>. These " @@ -53302,7 +53601,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2953 +#: ../src/guestfs.pod:2959 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 " @@ -53312,14 +53611,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2959 +#: ../src/guestfs.pod:2965 msgid "" "In addition, packagers can skip individual tests by setting environment " "variables before running C<make check>." msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2962 +#: ../src/guestfs.pod:2968 #, no-wrap msgid "" " SKIP_TEST_<CMD>_<NUM>=1\n" @@ -53329,14 +53628,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2964 +#: ../src/guestfs.pod:2970 msgid "eg: C<SKIP_TEST_COMMAND_3=1> skips test #3 of L</guestfs_command>." msgstr "" "例: C<SKIP_TEST_COMMAND_3=1> は L</guestfs_command> のテスト #3 をスキップし" "ます。" #. type: verbatim -#: ../src/guestfs.pod:2968 +#: ../src/guestfs.pod:2974 #, no-wrap msgid "" " SKIP_TEST_<CMD>=1\n" @@ -53346,19 +53645,19 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2970 +#: ../src/guestfs.pod:2976 msgid "eg: C<SKIP_TEST_ZEROFREE=1> skips all L</guestfs_zerofree> tests." msgstr "" "例: C<SKIP_TEST_ZEROFREE=1> はすべての L</guestfs_zerofree> テストをスキップ" "します。" #. type: textblock -#: ../src/guestfs.pod:2972 +#: ../src/guestfs.pod:2978 msgid "Packagers can run only certain tests by setting for example:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2974 +#: ../src/guestfs.pod:2980 #, no-wrap msgid "" " TEST_ONLY=\"vfs_type zerofree\"\n" @@ -53368,7 +53667,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2976 +#: ../src/guestfs.pod:2982 msgid "" "See C<tests/c-api/tests.c> for more details of how these environment " "variables work." @@ -53377,22 +53676,22 @@ msgstr "" "を参照してください。" #. type: =head2 -#: ../src/guestfs.pod:2979 +#: ../src/guestfs.pod:2985 msgid "DEBUGGING NEW API ACTIONS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2981 +#: ../src/guestfs.pod:2987 msgid "Test new actions work before submitting them." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2983 +#: ../src/guestfs.pod:2989 msgid "You can use guestfish to try out new commands." msgstr "新しいコマンドを試すために guestfish を使うことができます。" #. type: textblock -#: ../src/guestfs.pod:2985 +#: ../src/guestfs.pod:2991 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 " @@ -53400,12 +53699,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:2989 +#: ../src/guestfs.pod:2995 msgid "FORMATTING CODE AND OTHER CONVENTIONS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2991 +#: ../src/guestfs.pod:2997 msgid "" "Our C source code generally adheres to some basic code-formatting " "conventions. The existing code base is not totally consistent on this " @@ -53415,14 +53714,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2997 +#: ../src/guestfs.pod:3003 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:3000 +#: ../src/guestfs.pod:3006 #, no-wrap msgid "" " ;;; In libguestfs, indent with spaces everywhere (not TABs).\n" @@ -53448,7 +53747,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:3010 +#: ../src/guestfs.pod:3016 #, no-wrap msgid "" " ;;; When editing C sources in libguestfs, use this style.\n" @@ -53478,14 +53777,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:3022 +#: ../src/guestfs.pod:3028 msgid "Enable warnings when compiling (and fix any problems this finds):" msgstr "" "コンパイル時に警告を有効にします(そして、これは見つけた問題をすべて修正しま" "す):" #. type: verbatim -#: ../src/guestfs.pod:3025 +#: ../src/guestfs.pod:3031 #, no-wrap msgid "" " ./configure --enable-gcc-warnings\n" @@ -53495,12 +53794,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:3027 +#: ../src/guestfs.pod:3033 msgid "Useful targets are:" msgstr "有用なターゲットは次のとおりです:" #. type: verbatim -#: ../src/guestfs.pod:3029 +#: ../src/guestfs.pod:3035 #, fuzzy, no-wrap #| msgid "" #| " make syntax-check # checks the syntax of the C code\n" @@ -53516,7 +53815,7 @@ msgstr "" "\n" #. type: verbatim -#: ../src/guestfs.pod:3032 +#: ../src/guestfs.pod:3038 #, fuzzy, no-wrap #| msgid "" #| " make syntax-check # checks the syntax of the C code\n" @@ -53531,7 +53830,7 @@ msgstr "" "\n" #. type: verbatim -#: ../src/guestfs.pod:3034 +#: ../src/guestfs.pod:3040 #, no-wrap msgid "" " make extra-tests # in-depth testing using valgrind\n" @@ -53540,24 +53839,24 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3037 +#: ../src/guestfs.pod:3043 msgid "DAEMON CUSTOM PRINTF FORMATTERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3039 +#: ../src/guestfs.pod:3045 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:3044 +#: ../src/guestfs.pod:3050 msgid "%Q" msgstr "%Q" #. type: textblock -#: ../src/guestfs.pod:3046 +#: ../src/guestfs.pod:3052 msgid "" "Simple shell quoted string. Any spaces or other shell characters are " "escaped for you." @@ -53566,19 +53865,19 @@ msgstr "" "ます。" #. type: =item -#: ../src/guestfs.pod:3049 +#: ../src/guestfs.pod:3055 msgid "%R" msgstr "%R" #. type: textblock -#: ../src/guestfs.pod:3051 +#: ../src/guestfs.pod:3057 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:3058 +#: ../src/guestfs.pod:3064 #, no-wrap msgid "" " asprintf (&cmd, \"cat %R\", path);\n" @@ -53588,12 +53887,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:3060 +#: ../src/guestfs.pod:3066 msgid "would produce C<cat /sysroot/some\\ path\\ with\\ spaces>" msgstr "C<cat /sysroot/some\\ path\\ with\\ spaces> を生成します" #. type: textblock -#: ../src/guestfs.pod:3062 +#: ../src/guestfs.pod:3068 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 " @@ -53602,12 +53901,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3068 +#: ../src/guestfs.pod:3074 msgid "SUBMITTING YOUR NEW API ACTIONS" msgstr "新しい API アクションの提出方法" #. type: textblock -#: ../src/guestfs.pod:3070 +#: ../src/guestfs.pod:3076 msgid "" "Submit patches to the mailing list: L<http://www.redhat.com/mailman/listinfo/" "libguestfs> and CC to L<rjones@redhat.com>." @@ -53616,17 +53915,17 @@ msgstr "" "listinfo/libguestfs> および L<rjones@redhat.com> (Cc)。" #. type: =head2 -#: ../src/guestfs.pod:3074 +#: ../src/guestfs.pod:3080 msgid "INTERNATIONALIZATION (I18N) SUPPORT" msgstr "国際化 (i18n) サポート" #. type: textblock -#: ../src/guestfs.pod:3076 +#: ../src/guestfs.pod:3082 msgid "We support i18n (gettext anyhow) in the library." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3078 +#: ../src/guestfs.pod:3084 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 " @@ -53635,39 +53934,39 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3084 +#: ../src/guestfs.pod:3090 msgid "" "Debugging messages are never translated, since they are intended for the " "programmers." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3087 +#: ../src/guestfs.pod:3093 msgid "SOURCE CODE SUBDIRECTORIES" msgstr "ソースコードのサブディレクトリー" #. type: =item -#: ../src/guestfs.pod:3091 +#: ../src/guestfs.pod:3097 msgid "C<align>" msgstr "C<align>" #. type: textblock -#: ../src/guestfs.pod:3093 +#: ../src/guestfs.pod:3099 msgid "L<virt-alignment-scan(1)> command and documentation." msgstr "L<virt-alignment-scan(1)> のコマンドおよびドキュメント。" #. type: textblock -#: ../src/guestfs.pod:3097 +#: ../src/guestfs.pod:3103 msgid "The libguestfs appliance, build scripts and so on." msgstr "libguestfs アプライアンス、スクリプトなどを構築します。" #. type: =item -#: ../src/guestfs.pod:3099 +#: ../src/guestfs.pod:3105 msgid "C<cat>" msgstr "C<cat>" #. type: textblock -#: ../src/guestfs.pod:3101 +#: ../src/guestfs.pod:3107 msgid "" "The L<virt-cat(1)>, L<virt-filesystems(1)> and L<virt-ls(1)> commands and " "documentation." @@ -53676,63 +53975,63 @@ msgstr "" "ドキュメント。" #. type: =item -#: ../src/guestfs.pod:3104 +#: ../src/guestfs.pod:3110 msgid "C<contrib>" msgstr "C<contrib>" #. type: textblock -#: ../src/guestfs.pod:3106 +#: ../src/guestfs.pod:3112 msgid "Outside contributions, experimental parts." msgstr "外部の貢献、実験的な部分です。" #. type: =item -#: ../src/guestfs.pod:3108 +#: ../src/guestfs.pod:3114 msgid "C<daemon>" msgstr "C<daemon>" #. type: textblock -#: ../src/guestfs.pod:3110 +#: ../src/guestfs.pod:3116 msgid "" "The daemon that runs inside the libguestfs appliance and carries out actions." msgstr "" #. type: =item -#: ../src/guestfs.pod:3113 +#: ../src/guestfs.pod:3119 msgid "C<df>" msgstr "C<df>" #. type: textblock -#: ../src/guestfs.pod:3115 +#: ../src/guestfs.pod:3121 msgid "L<virt-df(1)> command and documentation." msgstr "L<virt-df(1)> のコマンドおよびドキュメント。" #. type: =item -#: ../src/guestfs.pod:3117 +#: ../src/guestfs.pod:3123 msgid "C<edit>" msgstr "C<edit>" #. type: textblock -#: ../src/guestfs.pod:3119 +#: ../src/guestfs.pod:3125 msgid "L<virt-edit(1)> command and documentation." msgstr "L<virt-edit(1)> のコマンドおよびドキュメント。" #. type: =item -#: ../src/guestfs.pod:3121 +#: ../src/guestfs.pod:3127 msgid "C<examples>" msgstr "C<examples>" #. type: textblock -#: ../src/guestfs.pod:3123 +#: ../src/guestfs.pod:3129 msgid "C API example code." msgstr "C API のコード例。" #. type: =item -#: ../src/guestfs.pod:3125 +#: ../src/guestfs.pod:3131 msgid "C<fish>" msgstr "C<fish>" #. type: textblock -#: ../src/guestfs.pod:3127 +#: ../src/guestfs.pod:3133 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)>, " @@ -53740,80 +54039,80 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3133 +#: ../src/guestfs.pod:3139 msgid "L<virt-format(1)> command and documentation." msgstr "L<virt-format(1)> のコマンドおよびドキュメント。" #. type: =item -#: ../src/guestfs.pod:3135 +#: ../src/guestfs.pod:3141 msgid "C<fuse>" msgstr "C<fuse>" #. type: textblock -#: ../src/guestfs.pod:3137 +#: ../src/guestfs.pod:3143 msgid "" "L<guestmount(1)>, FUSE (userspace filesystem) built on top of libguestfs." msgstr "" #. type: =item -#: ../src/guestfs.pod:3139 +#: ../src/guestfs.pod:3145 msgid "C<generator>" msgstr "C<generator>" #. type: textblock -#: ../src/guestfs.pod:3141 +#: ../src/guestfs.pod:3147 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:3144 +#: ../src/guestfs.pod:3150 msgid "C<inspector>" msgstr "C<inspector>" #. type: textblock -#: ../src/guestfs.pod:3146 +#: ../src/guestfs.pod:3152 msgid "L<virt-inspector(1)>, the virtual machine image inspector." msgstr "L<virt-inspector(1)>, 仮想マシンイメージ検査ツール。" #. type: =item -#: ../src/guestfs.pod:3148 +#: ../src/guestfs.pod:3154 msgid "C<logo>" msgstr "C<logo>" #. type: textblock -#: ../src/guestfs.pod:3150 +#: ../src/guestfs.pod:3156 msgid "Logo used on the website. The fish is called Arthur by the way." msgstr "" #. type: =item -#: ../src/guestfs.pod:3152 +#: ../src/guestfs.pod:3158 msgid "C<m4>" msgstr "C<m4>" #. type: textblock -#: ../src/guestfs.pod:3154 +#: ../src/guestfs.pod:3160 msgid "M4 macros used by autoconf." msgstr "autoconf により使用される M4 マクロ。" #. type: =item -#: ../src/guestfs.pod:3156 +#: ../src/guestfs.pod:3162 msgid "C<po>" msgstr "C<po>" #. type: textblock -#: ../src/guestfs.pod:3158 +#: ../src/guestfs.pod:3164 msgid "Translations of simple gettext strings." msgstr "" #. type: =item -#: ../src/guestfs.pod:3160 +#: ../src/guestfs.pod:3166 msgid "C<po-docs>" msgstr "C<po-docs>" #. type: textblock -#: ../src/guestfs.pod:3162 +#: ../src/guestfs.pod:3168 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 " @@ -53821,150 +54120,150 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:3166 +#: ../src/guestfs.pod:3172 msgid "C<rescue>" msgstr "C<rescue>" #. type: textblock -#: ../src/guestfs.pod:3168 +#: ../src/guestfs.pod:3174 msgid "L<virt-rescue(1)> command and documentation." msgstr "L<virt-rescue(1)> のコマンドおよびドキュメント。" #. type: =item -#: ../src/guestfs.pod:3170 +#: ../src/guestfs.pod:3176 msgid "C<resize>" msgstr "C<resize>" #. type: textblock -#: ../src/guestfs.pod:3172 +#: ../src/guestfs.pod:3178 msgid "L<virt-resize(1)> command and documentation." msgstr "L<virt-resize(1)> のコマンドおよびドキュメント。" #. type: =item -#: ../src/guestfs.pod:3174 +#: ../src/guestfs.pod:3180 msgid "C<sparsify>" msgstr "C<sparsify>" #. type: textblock -#: ../src/guestfs.pod:3176 +#: ../src/guestfs.pod:3182 msgid "L<virt-sparsify(1)> command and documentation." msgstr "L<virt-sparsify(1)> のコマンドおよびドキュメント。" #. type: =item -#: ../src/guestfs.pod:3178 +#: ../src/guestfs.pod:3184 msgid "C<src>" msgstr "C<src>" #. type: textblock -#: ../src/guestfs.pod:3180 +#: ../src/guestfs.pod:3186 msgid "Source code to the C library." msgstr "C ライブラリーのソースコード。" #. type: =item -#: ../src/guestfs.pod:3182 +#: ../src/guestfs.pod:3188 msgid "C<sysprep>" msgstr "C<sysprep>" #. type: textblock -#: ../src/guestfs.pod:3184 +#: ../src/guestfs.pod:3190 msgid "L<virt-sysprep(1)> command and documentation." msgstr "L<virt-sysprep(1)> コマンドおよびドキュメント。" #. type: =item -#: ../src/guestfs.pod:3186 +#: ../src/guestfs.pod:3192 msgid "C<test-tool>" msgstr "C<test-tool>" #. type: textblock -#: ../src/guestfs.pod:3188 +#: ../src/guestfs.pod:3194 msgid "" "Test tool for end users to test if their qemu/kernel combination will work " "with libguestfs." msgstr "" #. type: =item -#: ../src/guestfs.pod:3191 +#: ../src/guestfs.pod:3197 msgid "C<tests>" msgstr "C<tests>" #. type: textblock -#: ../src/guestfs.pod:3193 +#: ../src/guestfs.pod:3199 msgid "Tests." msgstr "テストします。" #. type: =item -#: ../src/guestfs.pod:3195 +#: ../src/guestfs.pod:3201 msgid "C<tools>" msgstr "C<tools>" #. type: textblock -#: ../src/guestfs.pod:3197 +#: ../src/guestfs.pod:3203 msgid "" "Command line tools written in Perl (L<virt-win-reg(1)> and many others)." msgstr "" #. type: =item -#: ../src/guestfs.pod:3199 +#: ../src/guestfs.pod:3205 msgid "C<csharp>" msgstr "C<csharp>" #. type: =item -#: ../src/guestfs.pod:3201 +#: ../src/guestfs.pod:3207 msgid "C<erlang>" msgstr "C<erlang>" #. type: =item -#: ../src/guestfs.pod:3203 +#: ../src/guestfs.pod:3209 msgid "C<gobject>" msgstr "C<gobject>" #. type: =item -#: ../src/guestfs.pod:3205 +#: ../src/guestfs.pod:3211 msgid "C<haskell>" msgstr "C<haskell>" #. type: =item -#: ../src/guestfs.pod:3207 +#: ../src/guestfs.pod:3213 msgid "C<java>" msgstr "C<java>" #. type: =item -#: ../src/guestfs.pod:3209 +#: ../src/guestfs.pod:3215 msgid "C<ocaml>" msgstr "C<ocaml>" #. type: =item -#: ../src/guestfs.pod:3211 +#: ../src/guestfs.pod:3217 msgid "C<php>" msgstr "C<php>" #. type: =item -#: ../src/guestfs.pod:3213 +#: ../src/guestfs.pod:3219 msgid "C<perl>" msgstr "C<perl>" #. type: =item -#: ../src/guestfs.pod:3215 +#: ../src/guestfs.pod:3221 msgid "C<python>" msgstr "C<python>" #. type: =item -#: ../src/guestfs.pod:3217 +#: ../src/guestfs.pod:3223 msgid "C<ruby>" msgstr "C<ruby>" #. type: textblock -#: ../src/guestfs.pod:3219 +#: ../src/guestfs.pod:3225 msgid "Language bindings." msgstr "言語バインディング。" #. type: =head2 -#: ../src/guestfs.pod:3223 +#: ../src/guestfs.pod:3229 msgid "MAKING A STABLE RELEASE" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3225 +#: ../src/guestfs.pod:3231 msgid "" "When we make a stable release, there are several steps documented here. See " "L</LIBGUESTFS VERSION NUMBERS> for general information about the stable " @@ -53972,33 +54271,33 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3233 +#: ../src/guestfs.pod:3239 msgid "" "Check C<make && make check> works on at least Fedora, Debian and Ubuntu." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3238 +#: ../src/guestfs.pod:3244 msgid "Finalize RELEASE-NOTES." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3242 +#: ../src/guestfs.pod:3248 msgid "Update ROADMAP." msgstr "ロードマップを更新します。" #. type: textblock -#: ../src/guestfs.pod:3246 +#: ../src/guestfs.pod:3252 msgid "Run C<src/api-support/update-from-tarballs.sh>." msgstr "C<src/api-support/update-from-tarballs.sh> を実行します。" #. type: textblock -#: ../src/guestfs.pod:3250 +#: ../src/guestfs.pod:3256 msgid "Push and pull from Transifex." msgstr "Transifex からのプッシュおよびプル。" #. type: verbatim -#: ../src/guestfs.pod:3254 +#: ../src/guestfs.pod:3260 #, no-wrap msgid "" " tx push -s\n" @@ -54008,13 +54307,13 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:3256 +#: ../src/guestfs.pod:3262 msgid "to push the latest POT files to Transifex. Then run:" msgstr "" "最新の POT ファイルを Transifex にプッシュします。そして、次を実行します:" #. type: verbatim -#: ../src/guestfs.pod:3258 +#: ../src/guestfs.pod:3264 #, no-wrap msgid "" " ./tx-pull.sh\n" @@ -54024,12 +54323,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:3260 +#: ../src/guestfs.pod:3266 msgid "which is a wrapper to pull the latest translated C<*.po> files." msgstr "これは最新の翻訳された C<*.po> ファイルを取り出すためのラッパーです。" #. type: textblock -#: ../src/guestfs.pod:3264 +#: ../src/guestfs.pod:3270 msgid "" "Create new stable and development directories under L<http://libguestfs.org/" "download>." @@ -54038,12 +54337,12 @@ msgstr "" "リーを作成します。" #. type: textblock -#: ../src/guestfs.pod:3269 +#: ../src/guestfs.pod:3275 msgid "Create the branch in git:" msgstr "git に分岐を作成します:" #. type: verbatim -#: ../src/guestfs.pod:3271 +#: ../src/guestfs.pod:3277 #, no-wrap msgid "" " git tag -a 1.XX.0 -m \"Version 1.XX.0 (stable)\"\n" @@ -54059,17 +54358,17 @@ msgstr "" "\n" #. type: =head1 -#: ../src/guestfs.pod:3278 +#: ../src/guestfs.pod:3284 msgid "LIMITS" msgstr "制限" #. type: =head2 -#: ../src/guestfs.pod:3280 +#: ../src/guestfs.pod:3286 msgid "PROTOCOL LIMITS" msgstr "プロトコル制限" #. type: textblock -#: ../src/guestfs.pod:3282 +#: ../src/guestfs.pod:3288 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 " @@ -54080,7 +54379,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3290 +#: ../src/guestfs.pod:3296 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 " @@ -54089,7 +54388,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3296 +#: ../src/guestfs.pod:3302 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> " @@ -54097,7 +54396,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3300 +#: ../src/guestfs.pod:3306 msgid "" "You might also consider mounting the disk image using our FUSE filesystem " "support (L<guestmount(1)>)." @@ -54106,17 +54405,17 @@ msgstr "" "マウントすることも検討できます。" #. type: =head2 -#: ../src/guestfs.pod:3303 +#: ../src/guestfs.pod:3309 msgid "MAXIMUM NUMBER OF DISKS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3305 +#: ../src/guestfs.pod:3311 msgid "When using virtio disks (the default) the current limit is B<25> disks." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3308 +#: ../src/guestfs.pod:3314 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> " @@ -54125,14 +54424,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3313 +#: ../src/guestfs.pod:3319 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:3316 +#: ../src/guestfs.pod:3322 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 " @@ -54140,17 +54439,17 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3320 +#: ../src/guestfs.pod:3326 msgid "MAXIMUM NUMBER OF PARTITIONS PER DISK" msgstr "ディスクあたりの最大パーティション数" #. type: textblock -#: ../src/guestfs.pod:3322 +#: ../src/guestfs.pod:3328 msgid "Virtio limits the maximum number of partitions per disk to B<15>." msgstr "virtio はディスクあたりの最大パーティション数を B<15> に制限します。" #. type: textblock -#: ../src/guestfs.pod:3324 +#: ../src/guestfs.pod:3330 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>)." @@ -54159,7 +54458,7 @@ msgstr "" "dev/vda>、および C</dev/vda1> から C</dev/vda15> まで)。" #. type: textblock -#: ../src/guestfs.pod:3327 +#: ../src/guestfs.pod:3333 msgid "" "If you attach a disk with more than 15 partitions, the extra partitions are " "ignored by libguestfs." @@ -54168,17 +54467,17 @@ msgstr "" "は libguestfs により無視されます。" #. type: =head2 -#: ../src/guestfs.pod:3330 +#: ../src/guestfs.pod:3336 msgid "MAXIMUM SIZE OF A DISK" msgstr "ディスクの最大容量" #. type: textblock -#: ../src/guestfs.pod:3332 +#: ../src/guestfs.pod:3338 msgid "Probably the limit is between 2**63-1 and 2**64-1 bytes." msgstr "制限はおそらく 2**63-1 から 2**64-1 バイトの間です。" #. type: textblock -#: ../src/guestfs.pod:3334 +#: ../src/guestfs.pod:3340 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 " @@ -54186,7 +54485,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3338 +#: ../src/guestfs.pod:3344 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 " @@ -54196,19 +54495,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3344 +#: ../src/guestfs.pod:3350 msgid "" "For the hugest disk image files, we recommend using XFS on the host for " "storage." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3347 +#: ../src/guestfs.pod:3353 msgid "MAXIMUM SIZE OF A PARTITION" msgstr "パーティションの最大容量" #. type: textblock -#: ../src/guestfs.pod:3349 +#: ../src/guestfs.pod:3355 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 " @@ -54216,7 +54515,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3353 +#: ../src/guestfs.pod:3359 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 " @@ -54224,12 +54523,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3358 +#: ../src/guestfs.pod:3364 msgid "MAXIMUM SIZE OF A FILESYSTEM, FILES, DIRECTORIES" msgstr "ファイルシステム、ファイル、ディレクトリーの最大容量" #. type: textblock -#: ../src/guestfs.pod:3360 +#: ../src/guestfs.pod:3366 msgid "" "This depends on the filesystem type. libguestfs itself does not impose any " "known limit. Consult Wikipedia or the filesystem documentation to find out " @@ -54237,12 +54536,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3364 +#: ../src/guestfs.pod:3370 msgid "MAXIMUM UPLOAD AND DOWNLOAD" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3366 +#: ../src/guestfs.pod:3372 msgid "" "The API functions L</guestfs_upload>, L</guestfs_download>, L</" "guestfs_tar_in>, L</guestfs_tar_out> and the like allow unlimited sized " @@ -54250,12 +54549,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3370 +#: ../src/guestfs.pod:3376 msgid "INSPECTION LIMITS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3372 +#: ../src/guestfs.pod:3378 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 " @@ -54265,26 +54564,26 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3398 +#: ../src/guestfs.pod:3404 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:3410 +#: ../src/guestfs.pod:3416 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:3419 +#: ../src/guestfs.pod:3425 msgid "See also L</QEMU WRAPPERS> above." msgstr "上の L</QEMU WRAPPERS> 参照。" #. type: textblock -#: ../src/guestfs.pod:3423 +#: ../src/guestfs.pod:3429 msgid "" "Set C<LIBGUESTFS_TRACE=1> to enable command traces. This has the same " "effect as calling C<guestfs_set_trace (g, 1)>." @@ -54293,7 +54592,7 @@ msgstr "" "C<guestfs_set_trace (g, 1)> の呼び出しと同じ効果があります。" #. type: textblock -#: ../src/guestfs.pod:3441 +#: ../src/guestfs.pod:3447 #, fuzzy #| msgid "" #| "L<guestfs(3)>, L<http://libguestfs.org/>, L<virt-alignment-scan(1)>, " @@ -54327,7 +54626,7 @@ msgstr "" "L<display(1)>, L<hexedit(1)>, L<febootstrap-supermin-helper(8)>。" #. type: textblock -#: ../src/guestfs.pod:3483 +#: ../src/guestfs.pod:3489 msgid "" "Tools with a similar purpose: L<fdisk(8)>, L<parted(8)>, L<kpartx(8)>, L<lvm" "(8)>, L<disktype(1)>." @@ -56996,90 +57295,90 @@ 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 "ここで I<SID> は Windows User SID です (例: C<S-1-5-18>)。" #. 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<username>>" #. 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 "" "ここで I<username> はローカルユーザー名です (これは libguestfs の拡張です)。" #. 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-" @@ -57089,14 +57388,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" @@ -57106,14 +57405,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" @@ -57123,13 +57422,13 @@ 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 "" "エンコーディングの詳細は L<Win::Hivex::Regedit(3)> を参照してください。" #. 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-" @@ -57137,7 +57436,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../tools/virt-win-reg.pl:615 +#: ../tools/virt-win-reg.pl:605 #, no-wrap msgid "" " $ file software.reg\n" @@ -57151,17 +57450,17 @@ msgstr "" "\n" #. 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 " @@ -57169,7 +57468,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 " @@ -57177,7 +57476,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" @@ -57197,28 +57496,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" @@ -57228,12 +57527,12 @@ msgstr "" "\n" #. 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" @@ -57245,24 +57544,24 @@ msgstr "" "\n" #. type: =head1 -#: ../tools/virt-win-reg.pl:654 +#: ../tools/virt-win-reg.pl:644 msgid "WINDOWS TIPS" msgstr "Windows のヒント" #. 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 " @@ -57270,7 +57569,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" @@ -57280,12 +57579,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" @@ -57301,7 +57600,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 " @@ -57309,12 +57608,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" @@ -57324,12 +57623,12 @@ msgstr "" "\n" #. 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 " @@ -57338,14 +57637,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" @@ -57361,7 +57660,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 " @@ -57370,7 +57669,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" @@ -57394,7 +57693,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" @@ -57410,7 +57709,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 " @@ -57418,7 +57717,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 " @@ -57426,19 +57725,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" @@ -57448,7 +57747,7 @@ msgstr "" "\n" #. 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 " @@ -57456,12 +57755,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" @@ -57472,7 +57771,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 "Copyright (C) 2010 Red Hat Inc." diff --git a/po-docs/libguestfs-docs.pot b/po-docs/libguestfs-docs.pot index de232972..91f79ebc 100644 --- a/po-docs/libguestfs-docs.pot +++ b/po-docs/libguestfs-docs.pot @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: libguestfs 1.18.8\n" +"Project-Id-Version: libguestfs 1.18.9\n" "Report-Msgid-Bugs-To: libguestfs@redhat.com\n" -"POT-Creation-Date: 2012-09-19 13:50+0200\n" +"POT-Creation-Date: 2012-10-01 16:29+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -343,7 +343,7 @@ msgid "" msgstr "" #. type: textblock -#: ../align/virt-alignment-scan.pod:146 ../cat/virt-cat.pod:114 ../cat/virt-filesystems.pod:179 ../cat/virt-ls.pod:337 ../df/virt-df.pod:110 ../edit/virt-edit.pod:141 ../fish/guestfish.pod:242 ../fish/guestfish.pod:685 ../format/virt-format.pod:96 ../inspector/virt-inspector.pod:350 ../rescue/virt-rescue.pod:164 ../src/guestfs.pod:3056 ../sysprep/virt-sysprep.pod:111 +#: ../align/virt-alignment-scan.pod:146 ../cat/virt-cat.pod:114 ../cat/virt-filesystems.pod:179 ../cat/virt-ls.pod:337 ../df/virt-df.pod:110 ../edit/virt-edit.pod:141 ../fish/guestfish.pod:242 ../fish/guestfish.pod:685 ../format/virt-format.pod:96 ../inspector/virt-inspector.pod:350 ../rescue/virt-rescue.pod:164 ../src/guestfs.pod:3062 ../sysprep/virt-sysprep.pod:111 msgid "For example:" msgstr "" @@ -727,12 +727,12 @@ msgid "" msgstr "" #. type: =head1 -#: ../align/virt-alignment-scan.pod:334 ../cat/virt-cat.pod:231 ../cat/virt-filesystems.pod:377 ../cat/virt-ls.pod:483 ../df/virt-df.pod:241 ../edit/virt-edit.pod:356 ../inspector/virt-inspector.pod:366 ../rescue/virt-rescue.pod:318 ../resize/virt-resize.pod:690 ../sysprep/virt-sysprep.pod:431 ../tools/virt-list-filesystems.pl:190 ../tools/virt-list-partitions.pl:260 ../tools/virt-make-fs.pl:583 ../tools/virt-tar.pl:287 ../tools/virt-win-reg.pl:744 +#: ../align/virt-alignment-scan.pod:334 ../cat/virt-cat.pod:231 ../cat/virt-filesystems.pod:377 ../cat/virt-ls.pod:483 ../df/virt-df.pod:241 ../edit/virt-edit.pod:356 ../inspector/virt-inspector.pod:366 ../rescue/virt-rescue.pod:318 ../resize/virt-resize.pod:690 ../sysprep/virt-sysprep.pod:431 ../tools/virt-list-filesystems.pl:190 ../tools/virt-list-partitions.pl:260 ../tools/virt-make-fs.pl:583 ../tools/virt-tar.pl:287 ../tools/virt-win-reg.pl:734 msgid "SHELL QUOTING" msgstr "" #. type: textblock -#: ../align/virt-alignment-scan.pod:336 ../cat/virt-cat.pod:233 ../cat/virt-filesystems.pod:379 ../cat/virt-ls.pod:485 ../df/virt-df.pod:243 ../edit/virt-edit.pod:358 ../inspector/virt-inspector.pod:368 ../rescue/virt-rescue.pod:320 ../resize/virt-resize.pod:692 ../sysprep/virt-sysprep.pod:433 ../tools/virt-list-filesystems.pl:192 ../tools/virt-list-partitions.pl:262 ../tools/virt-make-fs.pl:585 ../tools/virt-tar.pl:289 ../tools/virt-win-reg.pl:752 +#: ../align/virt-alignment-scan.pod:336 ../cat/virt-cat.pod:233 ../cat/virt-filesystems.pod:379 ../cat/virt-ls.pod:485 ../df/virt-df.pod:243 ../edit/virt-edit.pod:358 ../inspector/virt-inspector.pod:368 ../rescue/virt-rescue.pod:320 ../resize/virt-resize.pod:692 ../sysprep/virt-sysprep.pod:433 ../tools/virt-list-filesystems.pl:192 ../tools/virt-list-partitions.pl:262 ../tools/virt-make-fs.pl:585 ../tools/virt-tar.pl:289 ../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 " @@ -751,7 +751,7 @@ msgid "This program returns:" msgstr "" #. type: =item -#: ../align/virt-alignment-scan.pod:347 ../align/virt-alignment-scan.pod:353 ../align/virt-alignment-scan.pod:359 ../align/virt-alignment-scan.pod:366 ../appliance/libguestfs-make-fixed-appliance.pod:32 ../appliance/libguestfs-make-fixed-appliance.pod:53 ../cat/virt-cat.pod:177 ../cat/virt-cat.pod:182 ../cat/virt-cat.pod:187 ../cat/virt-cat.pod:198 ../cat/virt-cat.pod:202 ../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-faq.pod:150 ../examples/guestfs-faq.pod:156 ../examples/guestfs-faq.pod:195 ../examples/guestfs-faq.pod:201 ../examples/guestfs-performance.pod:107 ../examples/guestfs-performance.pod:113 ../examples/guestfs-performance.pod:118 ../examples/guestfs-performance.pod:253 ../examples/guestfs-performance.pod:258 ../examples/guestfs-performance.pod:263 ../examples/guestfs-recipes.pod:126 ../examples/guestfs-recipes.pod:130 ../examples/guestfs-recipes.pod:134 ../examples/guestfs-recipes.pod:160 ../examples/guestfs-recipes.pod:165 ../examples/guestfs-recipes.pod:255 ../examples/guestfs-recipes.pod:259 ../examples/guestfs-recipes.pod:263 ../examples/guestfs-recipes.pod:267 ../examples/guestfs-recipes.pod:271 ../examples/guestfs-testing.pod:110 ../examples/guestfs-testing.pod:114 ../examples/guestfs-testing.pod:118 ../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:1419 ../fish/guestfish-actions.pod:1423 ../fish/guestfish-actions.pod:1427 ../fish/guestfish-actions.pod:1431 ../fish/guestfish-actions.pod:1439 ../fish/guestfish-actions.pod:1443 ../fish/guestfish-actions.pod:1447 ../fish/guestfish-actions.pod:1457 ../fish/guestfish-actions.pod:1461 ../fish/guestfish-actions.pod:1465 ../fish/guestfish-actions.pod:1555 ../fish/guestfish-actions.pod:1559 ../fish/guestfish-actions.pod:1564 ../fish/guestfish-actions.pod:1569 ../fish/guestfish-actions.pod:1611 ../fish/guestfish-actions.pod:1615 ../fish/guestfish-actions.pod:1620 ../fish/guestfish-actions.pod:2006 ../fish/guestfish-actions.pod:2013 ../fish/guestfish-actions.pod:2020 ../fish/guestfish-actions.pod:2433 ../fish/guestfish-actions.pod:2439 ../fish/guestfish-actions.pod:2447 ../fish/guestfish-actions.pod:2454 ../fish/guestfish-actions.pod:2461 ../fish/guestfish.pod:457 ../fish/guestfish.pod:461 ../fish/guestfish.pod:465 ../fish/guestfish.pod:469 ../inspector/virt-inspector.pod:514 ../inspector/virt-inspector.pod:518 ../resize/virt-resize.pod:365 ../resize/virt-resize.pod:369 ../resize/virt-resize.pod:378 ../resize/virt-resize.pod:384 ../sparsify/virt-sparsify.pod:45 ../sparsify/virt-sparsify.pod:52 ../sparsify/virt-sparsify.pod:56 ../sparsify/virt-sparsify.pod:62 ../sparsify/virt-sparsify.pod:67 ../sparsify/virt-sparsify.pod:72 ../src/guestfs-actions.pod:22 ../src/guestfs-actions.pod:29 ../src/guestfs-actions.pod:644 ../src/guestfs-actions.pod:652 ../src/guestfs-actions.pod:659 ../src/guestfs-actions.pod:666 ../src/guestfs-actions.pod:2387 ../src/guestfs-actions.pod:2391 ../src/guestfs-actions.pod:2395 ../src/guestfs-actions.pod:2399 ../src/guestfs-actions.pod:2407 ../src/guestfs-actions.pod:2411 ../src/guestfs-actions.pod:2415 ../src/guestfs-actions.pod:2425 ../src/guestfs-actions.pod:2429 ../src/guestfs-actions.pod:2433 ../src/guestfs-actions.pod:2571 ../src/guestfs-actions.pod:2575 ../src/guestfs-actions.pod:2580 ../src/guestfs-actions.pod:2585 ../src/guestfs-actions.pod:2646 ../src/guestfs-actions.pod:2650 ../src/guestfs-actions.pod:2655 ../src/guestfs-actions.pod:3213 ../src/guestfs-actions.pod:3220 ../src/guestfs-actions.pod:3227 ../src/guestfs-actions.pod:3782 ../src/guestfs-actions.pod:3788 ../src/guestfs-actions.pod:3796 ../src/guestfs-actions.pod:3803 ../src/guestfs-actions.pod:3810 ../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:1197 ../src/guestfs.pod:1201 ../src/guestfs.pod:1205 ../src/guestfs.pod:1210 ../src/guestfs.pod:1218 ../src/guestfs.pod:1237 ../src/guestfs.pod:1245 ../src/guestfs.pod:1262 ../src/guestfs.pod:1267 ../src/guestfs.pod:1271 ../src/guestfs.pod:1328 ../src/guestfs.pod:1332 ../src/guestfs.pod:1336 ../src/guestfs.pod:1340 ../src/guestfs.pod:1344 ../src/guestfs.pod:1348 ../src/guestfs.pod:1863 ../src/guestfs.pod:1868 ../src/guestfs.pod:1872 ../src/guestfs.pod:1974 ../src/guestfs.pod:1979 ../src/guestfs.pod:1983 ../src/guestfs.pod:1993 ../src/guestfs.pod:2282 ../src/guestfs.pod:2287 ../src/guestfs.pod:2293 ../src/guestfs.pod:2301 ../src/guestfs.pod:2818 ../src/guestfs.pod:2824 ../src/guestfs.pod:2829 ../src/guestfs.pod:2835 ../src/guestfs.pod:3231 ../src/guestfs.pod:3236 ../src/guestfs.pod:3240 ../src/guestfs.pod:3244 ../src/guestfs.pod:3248 ../src/guestfs.pod:3262 ../src/guestfs.pod:3267 ../sysprep/virt-sysprep.pod:230 ../sysprep/virt-sysprep.pod:234 ../sysprep/virt-sysprep.pod:238 ../sysprep/virt-sysprep.pod:242 ../sysprep/virt-sysprep.pod:257 ../sysprep/virt-sysprep.pod:261 ../sysprep/virt-sysprep.pod:265 ../sysprep/virt-sysprep.pod:269 ../sysprep/virt-sysprep.pod:273 ../sysprep/virt-sysprep.pod:315 ../sysprep/virt-sysprep.pod:327 ../sysprep/virt-sysprep.pod:331 ../sysprep/virt-sysprep.pod:339 ../sysprep/virt-sysprep.pod:345 ../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 +#: ../align/virt-alignment-scan.pod:347 ../align/virt-alignment-scan.pod:353 ../align/virt-alignment-scan.pod:359 ../align/virt-alignment-scan.pod:366 ../appliance/libguestfs-make-fixed-appliance.pod:32 ../appliance/libguestfs-make-fixed-appliance.pod:53 ../cat/virt-cat.pod:177 ../cat/virt-cat.pod:182 ../cat/virt-cat.pod:187 ../cat/virt-cat.pod:198 ../cat/virt-cat.pod:202 ../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-faq.pod:149 ../examples/guestfs-faq.pod:155 ../examples/guestfs-faq.pod:194 ../examples/guestfs-faq.pod:200 ../examples/guestfs-performance.pod:107 ../examples/guestfs-performance.pod:113 ../examples/guestfs-performance.pod:118 ../examples/guestfs-performance.pod:253 ../examples/guestfs-performance.pod:258 ../examples/guestfs-performance.pod:263 ../examples/guestfs-recipes.pod:128 ../examples/guestfs-recipes.pod:132 ../examples/guestfs-recipes.pod:136 ../examples/guestfs-recipes.pod:162 ../examples/guestfs-recipes.pod:167 ../examples/guestfs-recipes.pod:257 ../examples/guestfs-recipes.pod:261 ../examples/guestfs-recipes.pod:265 ../examples/guestfs-recipes.pod:269 ../examples/guestfs-recipes.pod:273 ../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:1419 ../fish/guestfish-actions.pod:1423 ../fish/guestfish-actions.pod:1427 ../fish/guestfish-actions.pod:1431 ../fish/guestfish-actions.pod:1439 ../fish/guestfish-actions.pod:1443 ../fish/guestfish-actions.pod:1447 ../fish/guestfish-actions.pod:1457 ../fish/guestfish-actions.pod:1461 ../fish/guestfish-actions.pod:1465 ../fish/guestfish-actions.pod:1555 ../fish/guestfish-actions.pod:1559 ../fish/guestfish-actions.pod:1564 ../fish/guestfish-actions.pod:1569 ../fish/guestfish-actions.pod:1611 ../fish/guestfish-actions.pod:1615 ../fish/guestfish-actions.pod:1620 ../fish/guestfish-actions.pod:2006 ../fish/guestfish-actions.pod:2013 ../fish/guestfish-actions.pod:2020 ../fish/guestfish-actions.pod:2433 ../fish/guestfish-actions.pod:2439 ../fish/guestfish-actions.pod:2447 ../fish/guestfish-actions.pod:2454 ../fish/guestfish-actions.pod:2461 ../fish/guestfish.pod:457 ../fish/guestfish.pod:461 ../fish/guestfish.pod:465 ../fish/guestfish.pod:469 ../inspector/virt-inspector.pod:514 ../inspector/virt-inspector.pod:518 ../resize/virt-resize.pod:365 ../resize/virt-resize.pod:369 ../resize/virt-resize.pod:378 ../resize/virt-resize.pod:384 ../sparsify/virt-sparsify.pod:45 ../sparsify/virt-sparsify.pod:52 ../sparsify/virt-sparsify.pod:56 ../sparsify/virt-sparsify.pod:62 ../sparsify/virt-sparsify.pod:67 ../sparsify/virt-sparsify.pod:72 ../src/guestfs-actions.pod:22 ../src/guestfs-actions.pod:29 ../src/guestfs-actions.pod:644 ../src/guestfs-actions.pod:652 ../src/guestfs-actions.pod:659 ../src/guestfs-actions.pod:666 ../src/guestfs-actions.pod:2387 ../src/guestfs-actions.pod:2391 ../src/guestfs-actions.pod:2395 ../src/guestfs-actions.pod:2399 ../src/guestfs-actions.pod:2407 ../src/guestfs-actions.pod:2411 ../src/guestfs-actions.pod:2415 ../src/guestfs-actions.pod:2425 ../src/guestfs-actions.pod:2429 ../src/guestfs-actions.pod:2433 ../src/guestfs-actions.pod:2571 ../src/guestfs-actions.pod:2575 ../src/guestfs-actions.pod:2580 ../src/guestfs-actions.pod:2585 ../src/guestfs-actions.pod:2646 ../src/guestfs-actions.pod:2650 ../src/guestfs-actions.pod:2655 ../src/guestfs-actions.pod:3213 ../src/guestfs-actions.pod:3220 ../src/guestfs-actions.pod:3227 ../src/guestfs-actions.pod:3782 ../src/guestfs-actions.pod:3788 ../src/guestfs-actions.pod:3796 ../src/guestfs-actions.pod:3803 ../src/guestfs-actions.pod:3810 ../src/guestfs.pod:394 ../src/guestfs.pod:399 ../src/guestfs.pod:404 ../src/guestfs.pod:408 ../src/guestfs.pod:413 ../src/guestfs.pod:417 ../src/guestfs.pod:422 ../src/guestfs.pod:427 ../src/guestfs.pod:1203 ../src/guestfs.pod:1207 ../src/guestfs.pod:1211 ../src/guestfs.pod:1216 ../src/guestfs.pod:1224 ../src/guestfs.pod:1243 ../src/guestfs.pod:1251 ../src/guestfs.pod:1268 ../src/guestfs.pod:1273 ../src/guestfs.pod:1277 ../src/guestfs.pod:1334 ../src/guestfs.pod:1338 ../src/guestfs.pod:1342 ../src/guestfs.pod:1346 ../src/guestfs.pod:1350 ../src/guestfs.pod:1354 ../src/guestfs.pod:1869 ../src/guestfs.pod:1874 ../src/guestfs.pod:1878 ../src/guestfs.pod:1980 ../src/guestfs.pod:1985 ../src/guestfs.pod:1989 ../src/guestfs.pod:1999 ../src/guestfs.pod:2288 ../src/guestfs.pod:2293 ../src/guestfs.pod:2299 ../src/guestfs.pod:2307 ../src/guestfs.pod:2824 ../src/guestfs.pod:2830 ../src/guestfs.pod:2835 ../src/guestfs.pod:2841 ../src/guestfs.pod:3237 ../src/guestfs.pod:3242 ../src/guestfs.pod:3246 ../src/guestfs.pod:3250 ../src/guestfs.pod:3254 ../src/guestfs.pod:3268 ../src/guestfs.pod:3273 ../sysprep/virt-sysprep.pod:230 ../sysprep/virt-sysprep.pod:234 ../sysprep/virt-sysprep.pod:238 ../sysprep/virt-sysprep.pod:242 ../sysprep/virt-sysprep.pod:257 ../sysprep/virt-sysprep.pod:261 ../sysprep/virt-sysprep.pod:265 ../sysprep/virt-sysprep.pod:269 ../sysprep/virt-sysprep.pod:273 ../sysprep/virt-sysprep.pod:315 ../sysprep/virt-sysprep.pod:327 ../sysprep/virt-sysprep.pod:331 ../sysprep/virt-sysprep.pod:339 ../sysprep/virt-sysprep.pod:345 ../tools/virt-win-reg.pl:197 ../tools/virt-win-reg.pl:202 ../tools/virt-win-reg.pl:208 ../tools/virt-win-reg.pl:711 ../tools/virt-win-reg.pl:717 ../tools/virt-win-reg.pl:723 msgid "*" msgstr "" @@ -766,7 +766,7 @@ msgid "successful exit, all partitions are aligned E<ge> 64K for best performanc msgstr "" #. type: =item -#: ../align/virt-alignment-scan.pod:355 ../src/guestfs.pod:1520 +#: ../align/virt-alignment-scan.pod:355 ../src/guestfs.pod:1526 msgid "1" msgstr "" @@ -776,7 +776,7 @@ msgid "an error scanning the disk image or guest" msgstr "" #. type: =item -#: ../align/virt-alignment-scan.pod:361 ../src/guestfs.pod:1524 +#: ../align/virt-alignment-scan.pod:361 ../src/guestfs.pod:1530 msgid "2" msgstr "" @@ -788,7 +788,7 @@ msgid "" msgstr "" #. type: =item -#: ../align/virt-alignment-scan.pod:368 ../src/guestfs.pod:1528 +#: ../align/virt-alignment-scan.pod:368 ../src/guestfs.pod:1534 msgid "3" msgstr "" @@ -800,7 +800,7 @@ msgid "" msgstr "" #. type: =head1 -#: ../align/virt-alignment-scan.pod:375 ../appliance/libguestfs-make-fixed-appliance.pod:144 ../cat/virt-cat.pod:243 ../cat/virt-filesystems.pod:389 ../cat/virt-ls.pod:495 ../df/virt-df.pod:253 ../edit/virt-edit.pod:368 ../erlang/examples/guestfs-erlang.pod:97 ../examples/guestfs-examples.pod:33 ../examples/guestfs-faq.pod:723 ../examples/guestfs-performance.pod:429 ../examples/guestfs-recipes.pod:417 ../examples/guestfs-testing.pod:291 ../fish/guestfish.pod:1280 ../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:398 ../inspector/virt-inspector.pod:501 ../java/examples/guestfs-java.pod:45 ../ocaml/examples/guestfs-ocaml.pod:78 ../perl/examples/guestfs-perl.pod:40 ../python/examples/guestfs-python.pod:42 ../rescue/virt-rescue.pod:340 ../resize/virt-resize.pod:702 ../ruby/examples/guestfs-ruby.pod:36 ../sparsify/virt-sparsify.pod:299 ../src/guestfs.pod:3439 ../sysprep/virt-sysprep.pod:442 ../test-tool/libguestfs-test-tool.pod:106 ../tools/virt-list-filesystems.pl:197 ../tools/virt-list-partitions.pl:267 ../tools/virt-make-fs.pl:590 ../tools/virt-tar.pl:294 ../tools/virt-win-reg.pl:757 +#: ../align/virt-alignment-scan.pod:375 ../appliance/libguestfs-make-fixed-appliance.pod:144 ../cat/virt-cat.pod:243 ../cat/virt-filesystems.pod:389 ../cat/virt-ls.pod:495 ../df/virt-df.pod:253 ../edit/virt-edit.pod:368 ../erlang/examples/guestfs-erlang.pod:97 ../examples/guestfs-examples.pod:33 ../examples/guestfs-faq.pod:779 ../examples/guestfs-performance.pod:429 ../examples/guestfs-recipes.pod:470 ../examples/guestfs-testing.pod:305 ../fish/guestfish.pod:1280 ../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:398 ../inspector/virt-inspector.pod:501 ../java/examples/guestfs-java.pod:45 ../ocaml/examples/guestfs-ocaml.pod:78 ../perl/examples/guestfs-perl.pod:40 ../python/examples/guestfs-python.pod:42 ../rescue/virt-rescue.pod:340 ../resize/virt-resize.pod:702 ../ruby/examples/guestfs-ruby.pod:36 ../sparsify/virt-sparsify.pod:299 ../src/guestfs.pod:3445 ../sysprep/virt-sysprep.pod:442 ../test-tool/libguestfs-test-tool.pod:106 ../tools/virt-list-filesystems.pl:197 ../tools/virt-list-partitions.pl:267 ../tools/virt-make-fs.pl:590 ../tools/virt-tar.pl:294 ../tools/virt-win-reg.pl:747 msgid "SEE ALSO" msgstr "" @@ -812,17 +812,17 @@ msgid "" msgstr "" #. type: =head1 -#: ../align/virt-alignment-scan.pod:384 ../cat/virt-cat.pod:252 ../cat/virt-filesystems.pod:400 ../cat/virt-ls.pod:507 ../df/virt-df.pod:261 ../edit/virt-edit.pod:382 ../format/virt-format.pod:187 ../rescue/virt-rescue.pod:349 ../resize/virt-resize.pod:725 ../sparsify/virt-sparsify.pod:312 ../tools/virt-list-filesystems.pl:210 ../tools/virt-list-partitions.pl:279 ../tools/virt-make-fs.pl:605 ../tools/virt-tar.pl:309 ../tools/virt-win-reg.pl:772 +#: ../align/virt-alignment-scan.pod:384 ../cat/virt-cat.pod:252 ../cat/virt-filesystems.pod:400 ../cat/virt-ls.pod:507 ../df/virt-df.pod:261 ../edit/virt-edit.pod:382 ../format/virt-format.pod:187 ../rescue/virt-rescue.pod:349 ../resize/virt-resize.pod:725 ../sparsify/virt-sparsify.pod:312 ../tools/virt-list-filesystems.pl:210 ../tools/virt-list-partitions.pl:279 ../tools/virt-make-fs.pl:605 ../tools/virt-tar.pl:309 ../tools/virt-win-reg.pl:762 msgid "AUTHOR" msgstr "" #. type: textblock -#: ../align/virt-alignment-scan.pod:386 ../cat/virt-cat.pod:254 ../cat/virt-filesystems.pod:402 ../cat/virt-ls.pod:509 ../df/virt-df.pod:263 ../edit/virt-edit.pod:384 ../format/virt-format.pod:189 ../inspector/virt-inspector.pod:516 ../rescue/virt-rescue.pod:351 ../resize/virt-resize.pod:727 ../sparsify/virt-sparsify.pod:314 ../sysprep/virt-sysprep.pod:459 ../tools/virt-list-filesystems.pl:212 ../tools/virt-list-partitions.pl:281 ../tools/virt-make-fs.pl:607 ../tools/virt-tar.pl:311 ../tools/virt-win-reg.pl:774 +#: ../align/virt-alignment-scan.pod:386 ../cat/virt-cat.pod:254 ../cat/virt-filesystems.pod:402 ../cat/virt-ls.pod:509 ../df/virt-df.pod:263 ../edit/virt-edit.pod:384 ../format/virt-format.pod:189 ../inspector/virt-inspector.pod:516 ../rescue/virt-rescue.pod:351 ../resize/virt-resize.pod:727 ../sparsify/virt-sparsify.pod:314 ../sysprep/virt-sysprep.pod:459 ../tools/virt-list-filesystems.pl:212 ../tools/virt-list-partitions.pl:281 ../tools/virt-make-fs.pl:607 ../tools/virt-tar.pl:311 ../tools/virt-win-reg.pl:764 msgid "Richard W.M. Jones L<http://people.redhat.com/~rjones/>" msgstr "" #. type: =head1 -#: ../align/virt-alignment-scan.pod:388 ../appliance/libguestfs-make-fixed-appliance.pod:157 ../cat/virt-cat.pod:256 ../cat/virt-filesystems.pod:404 ../cat/virt-ls.pod:511 ../df/virt-df.pod:265 ../edit/virt-edit.pod:386 ../erlang/examples/guestfs-erlang.pod:114 ../examples/guestfs-examples.pod:49 ../examples/guestfs-faq.pod:733 ../examples/guestfs-performance.pod:446 ../examples/guestfs-recipes.pod:434 ../examples/guestfs-testing.pod:302 ../fish/guestfish.pod:1312 ../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:413 ../inspector/virt-inspector.pod:524 ../java/examples/guestfs-java.pod:62 ../ocaml/examples/guestfs-ocaml.pod:95 ../perl/examples/guestfs-perl.pod:57 ../python/examples/guestfs-python.pod:58 ../rescue/virt-rescue.pod:353 ../resize/virt-resize.pod:729 ../ruby/examples/guestfs-ruby.pod:52 ../sparsify/virt-sparsify.pod:316 ../src/guestfs.pod:3494 ../sysprep/virt-sysprep.pod:463 ../test-tool/libguestfs-test-tool.pod:116 ../tools/virt-list-filesystems.pl:214 ../tools/virt-list-partitions.pl:283 ../tools/virt-make-fs.pl:609 ../tools/virt-tar.pl:313 ../tools/virt-win-reg.pl:776 +#: ../align/virt-alignment-scan.pod:388 ../appliance/libguestfs-make-fixed-appliance.pod:157 ../cat/virt-cat.pod:256 ../cat/virt-filesystems.pod:404 ../cat/virt-ls.pod:511 ../df/virt-df.pod:265 ../edit/virt-edit.pod:386 ../erlang/examples/guestfs-erlang.pod:114 ../examples/guestfs-examples.pod:49 ../examples/guestfs-faq.pod:789 ../examples/guestfs-performance.pod:446 ../examples/guestfs-recipes.pod:487 ../examples/guestfs-testing.pod:316 ../fish/guestfish.pod:1312 ../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:413 ../inspector/virt-inspector.pod:524 ../java/examples/guestfs-java.pod:62 ../ocaml/examples/guestfs-ocaml.pod:95 ../perl/examples/guestfs-perl.pod:57 ../python/examples/guestfs-python.pod:58 ../rescue/virt-rescue.pod:353 ../resize/virt-resize.pod:729 ../ruby/examples/guestfs-ruby.pod:52 ../sparsify/virt-sparsify.pod:316 ../src/guestfs.pod:3500 ../sysprep/virt-sysprep.pod:463 ../test-tool/libguestfs-test-tool.pod:116 ../tools/virt-list-filesystems.pl:214 ../tools/virt-list-partitions.pl:283 ../tools/virt-make-fs.pl:609 ../tools/virt-tar.pl:313 ../tools/virt-win-reg.pl:766 msgid "COPYRIGHT" msgstr "" @@ -1078,7 +1078,7 @@ msgid "" msgstr "" #. type: =head1 -#: ../appliance/libguestfs-make-fixed-appliance.pod:139 ../edit/virt-edit.pod:343 ../fish/guestfish.pod:1131 ../rescue/virt-rescue.pod:313 ../sparsify/virt-sparsify.pod:272 ../src/guestfs.pod:3378 ../test-tool/libguestfs-test-tool.pod:101 +#: ../appliance/libguestfs-make-fixed-appliance.pod:139 ../edit/virt-edit.pod:343 ../fish/guestfish.pod:1131 ../rescue/virt-rescue.pod:313 ../sparsify/virt-sparsify.pod:272 ../src/guestfs.pod:3384 ../test-tool/libguestfs-test-tool.pod:101 msgid "ENVIRONMENT VARIABLES" msgstr "" @@ -1097,17 +1097,17 @@ msgid "" msgstr "" #. type: =head1 -#: ../appliance/libguestfs-make-fixed-appliance.pod:153 ../erlang/examples/guestfs-erlang.pod:110 ../examples/guestfs-examples.pod:45 ../examples/guestfs-faq.pod:729 ../examples/guestfs-performance.pod:442 ../examples/guestfs-recipes.pod:430 ../examples/guestfs-testing.pod:298 ../fish/guestfish.pod:1308 ../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:409 ../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:3490 ../sysprep/virt-sysprep.pod:457 ../test-tool/libguestfs-test-tool.pod:112 +#: ../appliance/libguestfs-make-fixed-appliance.pod:153 ../erlang/examples/guestfs-erlang.pod:110 ../examples/guestfs-examples.pod:45 ../examples/guestfs-faq.pod:785 ../examples/guestfs-performance.pod:442 ../examples/guestfs-recipes.pod:483 ../examples/guestfs-testing.pod:312 ../fish/guestfish.pod:1308 ../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:409 ../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:3496 ../sysprep/virt-sysprep.pod:457 ../test-tool/libguestfs-test-tool.pod:112 msgid "AUTHORS" msgstr "" #. type: textblock -#: ../appliance/libguestfs-make-fixed-appliance.pod:155 ../erlang/examples/guestfs-erlang.pod:112 ../examples/guestfs-examples.pod:47 ../examples/guestfs-faq.pod:731 ../examples/guestfs-performance.pod:444 ../examples/guestfs-recipes.pod:432 ../examples/guestfs-testing.pod:300 ../fish/guestfish.pod:1310 ../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:411 ../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:3492 ../test-tool/libguestfs-test-tool.pod:114 +#: ../appliance/libguestfs-make-fixed-appliance.pod:155 ../erlang/examples/guestfs-erlang.pod:112 ../examples/guestfs-examples.pod:47 ../examples/guestfs-faq.pod:787 ../examples/guestfs-performance.pod:444 ../examples/guestfs-recipes.pod:485 ../examples/guestfs-testing.pod:314 ../fish/guestfish.pod:1310 ../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:411 ../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:3498 ../test-tool/libguestfs-test-tool.pod:114 msgid "Richard W.M. Jones (C<rjones at redhat dot com>)" msgstr "" #. type: textblock -#: ../appliance/libguestfs-make-fixed-appliance.pod:159 ../cat/virt-ls.pod:513 ../df/virt-df.pod:267 ../edit/virt-edit.pod:388 ../examples/guestfs-recipes.pod:436 ../fish/guestfish.pod:1314 ../fuse/guestmount.pod:415 ../rescue/virt-rescue.pod:355 ../src/guestfs.pod:3496 ../test-tool/libguestfs-test-tool.pod:118 ../tools/virt-list-partitions.pl:285 +#: ../appliance/libguestfs-make-fixed-appliance.pod:159 ../cat/virt-ls.pod:513 ../df/virt-df.pod:267 ../edit/virt-edit.pod:388 ../examples/guestfs-recipes.pod:489 ../fish/guestfish.pod:1314 ../fuse/guestmount.pod:415 ../rescue/virt-rescue.pod:355 ../src/guestfs.pod:3502 ../test-tool/libguestfs-test-tool.pod:118 ../tools/virt-list-partitions.pl:285 msgid "Copyright (C) 2009-2012 Red Hat Inc." msgstr "" @@ -2226,7 +2226,7 @@ msgid "" msgstr "" #. 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 "" @@ -2239,7 +2239,7 @@ msgid "" msgstr "" #. 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 "" @@ -2252,7 +2252,7 @@ msgid "" msgstr "" #. 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 "" @@ -2265,7 +2265,7 @@ msgid "" msgstr "" #. 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 "" @@ -2291,7 +2291,7 @@ msgid "" msgstr "" #. 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 "" @@ -2304,7 +2304,7 @@ msgid "" msgstr "" #. 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 "" @@ -3909,7 +3909,7 @@ msgid "" msgstr "" #. type: textblock -#: ../erlang/examples/guestfs-erlang.pod:116 ../examples/guestfs-testing.pod:304 ../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:318 ../sysprep/virt-sysprep.pod:465 +#: ../erlang/examples/guestfs-erlang.pod:116 ../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:318 ../sysprep/virt-sysprep.pod:465 msgid "Copyright (C) 2011-2012 Red Hat Inc." msgstr "" @@ -3990,23 +3990,23 @@ msgstr "" #: ../examples/guestfs-faq.pod:16 msgid "" "libguestfs is a C library (hence \"lib-\"), and a set of tools built on this " -"library, and a set of bindings in many different programming languages." +"library, and bindings for many common programming languages." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:20 +#: ../examples/guestfs-faq.pod:19 msgid "" "For more information about what libguestfs can do read the introduction on " "the home page (L<http://libguestfs.org>)." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:23 +#: ../examples/guestfs-faq.pod:22 msgid "What are the virt tools?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:25 +#: ../examples/guestfs-faq.pod:24 msgid "" "Virt tools (website: L<http://virt-tools.org>) are a whole set of " "virtualization management tools aimed at system administrators. Some of " @@ -4017,22 +4017,22 @@ msgid "" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:32 +#: ../examples/guestfs-faq.pod:31 msgid "Does libguestfs need { libvirt / KVM / Red Hat / Fedora }?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:34 +#: ../examples/guestfs-faq.pod:33 msgid "No!" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:36 +#: ../examples/guestfs-faq.pod:35 msgid "libvirt is not a requirement for libguestfs." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:38 +#: ../examples/guestfs-faq.pod:37 msgid "" "libguestfs works with any disk image, including ones created in VMware, KVM, " "qemu, VirtualBox, Xen, and many other hypervisors, and ones which you have " @@ -4040,26 +4040,26 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:42 +#: ../examples/guestfs-faq.pod:41 msgid "" -"Red Hat sponsors (ie. pays for) development of libguestfs and a huge number " -"of other open source projects. But you can run libguestfs and the virt " -"tools on many different Linux distros and Mac OS X. Some virt tools have " -"been ported to Windows." +"S<Red Hat> sponsors (ie. pays for) development of libguestfs and a huge " +"number of other open source projects. But you can run libguestfs and the " +"virt tools on many different Linux distros and Mac OS X. Some virt tools " +"have been ported to Windows." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:47 +#: ../examples/guestfs-faq.pod:46 msgid "How does libguestfs compare to other tools?" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:51 +#: ../examples/guestfs-faq.pod:50 msgid "I<vs. kpartx>" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:53 +#: ../examples/guestfs-faq.pod:52 msgid "" "Libguestfs takes a different approach from kpartx. kpartx needs root, and " "mounts filesystems on the host kernel (which can be insecure - see " @@ -4071,12 +4071,12 @@ msgid "" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:61 +#: ../examples/guestfs-faq.pod:60 msgid "I<vs. vdfuse>" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:63 +#: ../examples/guestfs-faq.pod:62 msgid "" "vdfuse is like kpartx but for VirtualBox images. See the kpartx comparison " "above. You can use libguestfs on the partition files exposed by vdfuse, " @@ -4085,12 +4085,12 @@ msgid "" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:68 +#: ../examples/guestfs-faq.pod:67 msgid "I<vs. qemu-nbd>" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:70 +#: ../examples/guestfs-faq.pod:69 msgid "" "nbd is like kpartx but for qcow2 images. See the kpartx comparison above. " "You can use libguestfs and qemu-nbd together for access to block devices " @@ -4098,12 +4098,12 @@ msgid "" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:74 +#: ../examples/guestfs-faq.pod:73 msgid "I<vs. mounting filesystems in the host>" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:76 +#: ../examples/guestfs-faq.pod:75 msgid "" "Mounting guest filesystems in the host is insecure and should be avoided " "completely for untrusted guests. Use libguestfs to provide a layer of " @@ -4111,34 +4111,34 @@ msgid "" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:81 +#: ../examples/guestfs-faq.pod:80 msgid "I<vs. parted>" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:83 +#: ../examples/guestfs-faq.pod:82 msgid "" "Libguestfs supports LVM. Libguestfs uses parted and provides most parted " "features through the libguestfs API." msgstr "" #. type: =head1 -#: ../examples/guestfs-faq.pod:88 +#: ../examples/guestfs-faq.pod:87 msgid "GETTING HELP AND REPORTING BUGS" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:90 +#: ../examples/guestfs-faq.pod:89 msgid "How do I know what version I'm using?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:92 +#: ../examples/guestfs-faq.pod:91 msgid "The simplest method is:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:94 +#: ../examples/guestfs-faq.pod:93 #, no-wrap msgid "" " guestfish --version\n" @@ -4146,7 +4146,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:96 +#: ../examples/guestfs-faq.pod:95 msgid "" "Libguestfs development happens along an unstable branch and we periodically " "create a stable branch which we backport stable patches to. To find out " @@ -4154,24 +4154,24 @@ msgid "" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:100 +#: ../examples/guestfs-faq.pod:99 msgid "How can I get help?" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:102 +#: ../examples/guestfs-faq.pod:101 msgid "What mailing lists or chat rooms are available?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:104 +#: ../examples/guestfs-faq.pod:103 msgid "" -"If you are a Red Hat customer using Red Hat Enterprise Linux, please contact " -"Red Hat Support: L<http://redhat.com/support>" +"If you are a S<Red Hat> customer using Red Hat Enterprise Linux, please " +"contact S<Red Hat Support>: L<http://redhat.com/support>" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:107 +#: ../examples/guestfs-faq.pod:106 msgid "" "There is a mailing list, mainly for development, but users are also welcome " "to ask questions about libguestfs and the virt tools: " @@ -4179,7 +4179,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:111 +#: ../examples/guestfs-faq.pod:110 msgid "" "You can also talk to us on IRC channel C<#libguestfs> on FreeNode. We're " "not always around, so please stay in the channel after asking your question " @@ -4187,7 +4187,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:115 +#: ../examples/guestfs-faq.pod:114 msgid "" "For other virt tools (not ones supplied with libguestfs) there is a general " "virt tools mailing list: " @@ -4195,56 +4195,56 @@ msgid "" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:119 +#: ../examples/guestfs-faq.pod:118 msgid "How do I report bugs?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:121 +#: ../examples/guestfs-faq.pod:120 msgid "Please use the following link to enter a bug in Bugzilla:" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:123 +#: ../examples/guestfs-faq.pod:122 msgid "L<https://bugzilla.redhat.com/enter_bug.cgi?component=libguestfs&product=Virtualization+Tools>" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:125 +#: ../examples/guestfs-faq.pod:124 msgid "Include as much detail as you can and a way to reproduce the problem." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:127 +#: ../examples/guestfs-faq.pod:126 msgid "Include the full output of L<libguestfs-test-tool(1)>." msgstr "" #. type: =head1 -#: ../examples/guestfs-faq.pod:129 +#: ../examples/guestfs-faq.pod:128 msgid "COMMON PROBLEMS" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:131 +#: ../examples/guestfs-faq.pod:130 msgid "" "See also L<guestfs(3)/LIBGUESTFS GOTCHAS> for some \"gotchas\" with using " "the libguestfs API." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:134 +#: ../examples/guestfs-faq.pod:133 msgid "\"child process died unexpectedly\"" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:136 +#: ../examples/guestfs-faq.pod:135 msgid "" "This error indicates that qemu failed or the host kernel could not boot. To " "get further information about the failure, you have to run:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:139 ../test-tool/libguestfs-test-tool.pod:21 +#: ../examples/guestfs-faq.pod:138 ../examples/guestfs-testing.pod:34 ../test-tool/libguestfs-test-tool.pod:21 #, no-wrap msgid "" " libguestfs-test-tool\n" @@ -4252,24 +4252,24 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:141 +#: ../examples/guestfs-faq.pod:140 msgid "" "If, after using this, you still don't understand the failure, contact us " "(see previous section)." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:144 +#: ../examples/guestfs-faq.pod:143 msgid "Non-ASCII characters don't appear on VFAT filesystems." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:146 +#: ../examples/guestfs-faq.pod:145 msgid "Typical symptoms of this problem:" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:152 +#: ../examples/guestfs-faq.pod:151 msgid "" "You get an error when you create a file where the filename contains " "non-ASCII characters, particularly non 8-bit characters from Asian languages " @@ -4277,19 +4277,19 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:158 +#: ../examples/guestfs-faq.pod:157 msgid "" "When you list a directory from a VFAT filesystem, filenames appear as " "question marks." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:163 +#: ../examples/guestfs-faq.pod:162 msgid "This is a design flaw of the GNU/Linux system." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:165 +#: ../examples/guestfs-faq.pod:164 msgid "" "VFAT stores long filenames as UTF-16 characters. When opening or returning " "filenames, the Linux kernel has to translate these to some form of 8 bit " @@ -4299,7 +4299,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:171 +#: ../examples/guestfs-faq.pod:170 msgid "" "Therefore you have to tell the kernel what translation you want done when " "you mount the filesystem. The two methods are the C<iocharset> parameter " @@ -4307,14 +4307,14 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:175 +#: ../examples/guestfs-faq.pod:174 msgid "" "So to use a VFAT filesystem you must add the C<utf8> flag when mounting. " "From guestfish, use:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:178 +#: ../examples/guestfs-faq.pod:177 #, no-wrap msgid "" " ><fs> mount-options utf8 /dev/sda1 /\n" @@ -4322,12 +4322,12 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:180 +#: ../examples/guestfs-faq.pod:179 msgid "or on the guestfish command line:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:182 +#: ../examples/guestfs-faq.pod:181 #, no-wrap msgid "" " guestfish [...] -m /dev/sda1:/:utf8\n" @@ -4335,12 +4335,12 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:184 +#: ../examples/guestfs-faq.pod:183 msgid "or from the API:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:186 +#: ../examples/guestfs-faq.pod:185 #, no-wrap msgid "" " guestfs_mount_options (g, \"utf8\", \"/dev/sda1\", \"/\");\n" @@ -4348,19 +4348,19 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:188 +#: ../examples/guestfs-faq.pod:187 msgid "The kernel will then translate filenames to and from UTF-8 strings." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:190 +#: ../examples/guestfs-faq.pod:189 msgid "" "We considered adding this mount option transparently, but unfortunately " "there are several problems with doing that:" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:197 +#: ../examples/guestfs-faq.pod:196 msgid "" "On some Linux systems, the C<utf8> mount option doesn't work. We don't " "precisely understand what systems or why, but this was reliably reported by " @@ -4368,7 +4368,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:203 +#: ../examples/guestfs-faq.pod:202 msgid "" "It would prevent you from using the C<iocharset> parameter because it is " "incompatible with C<utf8>. It is probably not a good idea to use this " @@ -4376,12 +4376,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:209 +#: ../examples/guestfs-faq.pod:208 msgid "Non-ASCII characters appear as underscore (_) on ISO9660 filesystems." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:211 +#: ../examples/guestfs-faq.pod:210 msgid "" "The filesystem was not prepared correctly with mkisofs or genisoimage. Make " "sure the filesystem was created using Joliet and/or Rock Ridge extensions. " @@ -4390,37 +4390,37 @@ msgid "" msgstr "" #. type: =head1 -#: ../examples/guestfs-faq.pod:216 +#: ../examples/guestfs-faq.pod:215 msgid "DOWNLOADING, INSTALLING, COMPILING LIBGUESTFS" msgstr "" #. type: =end -#: ../examples/guestfs-faq.pod:218 ../examples/guestfs-faq.pod:223 ../examples/guestfs-faq.pod:448 ../examples/guestfs-faq.pod:453 ../examples/guestfs-faq.pod:574 ../examples/guestfs-faq.pod:579 ../src/guestfs.pod:2428 ../src/guestfs.pod:2433 +#: ../examples/guestfs-faq.pod:217 ../examples/guestfs-faq.pod:222 ../examples/guestfs-faq.pod:504 ../examples/guestfs-faq.pod:509 ../examples/guestfs-faq.pod:630 ../examples/guestfs-faq.pod:635 ../src/guestfs.pod:2434 ../src/guestfs.pod:2439 msgid "html" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:220 +#: ../examples/guestfs-faq.pod:219 msgid "<!-- old anchor for the next section --> <a name=\"binaries\"/>" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:225 +#: ../examples/guestfs-faq.pod:224 msgid "Where can I get the latest binaries for ...?" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:229 -msgid "Fedora E<ge> 11, RHEL E<ge> 5.3, EPEL 5" +#: ../examples/guestfs-faq.pod:228 +msgid "Fedora E<ge> 11" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:231 +#: ../examples/guestfs-faq.pod:230 msgid "Use:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:233 +#: ../examples/guestfs-faq.pod:232 #, no-wrap msgid "" " yum install '*guestf*'\n" @@ -4428,53 +4428,88 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:235 +#: ../examples/guestfs-faq.pod:234 msgid "" "For the latest builds, see: " "L<http://koji.fedoraproject.org/koji/packageinfo?packageID=8391>" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:238 -msgid "Red Hat Enterprise Linux 6" +#: ../examples/guestfs-faq.pod:237 +msgid "Red Hat Enterprise Linux" +msgstr "" + +#. type: =item +#: ../examples/guestfs-faq.pod:241 +msgid "RHEL 5" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:240 +#: ../examples/guestfs-faq.pod:243 +msgid "Use the package from EPEL 5: L<https://fedoraproject.org/wiki/EPEL>" +msgstr "" + +#. type: =item +#: ../examples/guestfs-faq.pod:246 +msgid "RHEL 6.2-6.3" +msgstr "" + +#. type: textblock +#: ../examples/guestfs-faq.pod:248 msgid "" "It is part of the default install. On RHEL 6 (only) you have to install " "C<libguestfs-winsupport> to get Windows guest support." msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:243 +#: ../examples/guestfs-faq.pod:251 msgid "RHEL 6.4" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:245 -msgid "A preview repository will be announced at a later date." +#: ../examples/guestfs-faq.pod:253 +msgid "" +"A preview repository is available. See the announcement here: " +"L<https://www.redhat.com/archives/libguestfs/2012-September/msg00074.html>" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:247 +#: ../examples/guestfs-faq.pod:256 +msgid "RHEL 7" +msgstr "" + +#. type: textblock +#: ../examples/guestfs-faq.pod:258 +msgid "" +"It will be part of the default install, and based on libguestfs 1.20. As " +"with RHEL 6 you will need to install C<libguestfs-winsupport> separately to " +"get Windows guest support." +msgstr "" + +#. type: =item +#: ../examples/guestfs-faq.pod:264 +msgid "Debian and Ubuntu" +msgstr "" + +#. type: =item +#: ../examples/guestfs-faq.pod:268 msgid "Debian Squeeze (6)" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:249 +#: ../examples/guestfs-faq.pod:270 msgid "" "Use Hilko Bengen's backport repository: " "L<http://people.debian.org/~bengen/libguestfs/>" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:252 +#: ../examples/guestfs-faq.pod:273 msgid "Debian Wheezy and later (7+)" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:254 +#: ../examples/guestfs-faq.pod:275 msgid "" "Official Debian packages are available: " "L<http://packages.debian.org/search?keywords=libguestfs> (thanks Hilko " @@ -4482,20 +4517,19 @@ msgid "" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:258 +#: ../examples/guestfs-faq.pod:279 msgid "Ubuntu" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:260 +#: ../examples/guestfs-faq.pod:281 msgid "" -"We don't have an Ubuntu maintainer, and the packages supplied by Canonical " -"(which are outside our control) are often broken. Try compiling from source " -"(next section)." +"We don't have a full time Ubuntu maintainer, and the packages supplied by " +"Canonical (which are outside our control) are sometimes broken." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:264 +#: ../examples/guestfs-faq.pod:284 msgid "" "Canonical decided to change the permissions on the kernel so that it's not " "readable except by root. This is completely stupid, but they won't change " @@ -4504,7 +4538,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:270 ../examples/guestfs-faq.pod:296 +#: ../examples/guestfs-faq.pod:290 ../examples/guestfs-faq.pod:316 #, no-wrap msgid "" " sudo chmod 0644 /boot/vmlinuz*\n" @@ -4512,41 +4546,41 @@ msgid "" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:272 +#: ../examples/guestfs-faq.pod:292 msgid "Ubuntu 10.04" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:274 +#: ../examples/guestfs-faq.pod:294 msgid "See: L<http://libguestfs.org/download/binaries/ubuntu1004-packages/>" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:277 +#: ../examples/guestfs-faq.pod:297 msgid "Ubuntu 12.04" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:279 +#: ../examples/guestfs-faq.pod:299 msgid "" "libguestfs in this version of Ubuntu works, but you need to update " "febootstrap and seabios to the latest versions." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:282 +#: ../examples/guestfs-faq.pod:302 msgid "" "You need febootstrap E<ge> 3.14-2 from: " "L<http://packages.ubuntu.com/precise/febootstrap>" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:285 +#: ../examples/guestfs-faq.pod:305 msgid "After installing or updating febootstrap, rebuild the appliance:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:287 +#: ../examples/guestfs-faq.pod:307 #, no-wrap msgid "" " sudo update-guestfs-appliance\n" @@ -4554,7 +4588,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:289 +#: ../examples/guestfs-faq.pod:309 msgid "" "You need seabios E<ge> 0.6.2-0ubuntu2.1 or E<ge> 0.6.2-0ubuntu3 from: " "L<http://packages.ubuntu.com/precise-updates/seabios> or " @@ -4562,22 +4596,22 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:294 +#: ../examples/guestfs-faq.pod:314 msgid "Also you need to do (see above):" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:298 +#: ../examples/guestfs-faq.pod:320 msgid "Gentoo" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:300 +#: ../examples/guestfs-faq.pod:322 msgid "Libguestfs was added to Gentoo in 2012-07. Do:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:302 +#: ../examples/guestfs-faq.pod:324 #, no-wrap msgid "" " emerge libguestfs\n" @@ -4585,68 +4619,68 @@ msgid "" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:304 +#: ../examples/guestfs-faq.pod:326 msgid "Other Linux distro" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:306 +#: ../examples/guestfs-faq.pod:328 msgid "Compile from source (next section)." msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:308 +#: ../examples/guestfs-faq.pod:330 msgid "Other non-Linux distro" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:310 +#: ../examples/guestfs-faq.pod:332 msgid "You'll have to compile from source, and port it." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:314 +#: ../examples/guestfs-faq.pod:336 msgid "How can I compile and install libguestfs from source?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:316 +#: ../examples/guestfs-faq.pod:338 msgid "" -"If your Linux distro has a working port of febootstrap (that is, Fedora, Red " -"Hat Enterprise Linux >= 6.3, Debian, Ubuntu and ArchLinux) then you should " -"just be able to compile from source in the usual way. Download the latest " -"tarball from L<http://libguestfs.org/download>, unpack it, and start by " -"reading the README file." +"If your Linux distro has a working port of febootstrap (that is, Fedora, " +"S<Red Hat Enterprise Linux E<ge> 6.3>, Debian, Ubuntu and ArchLinux) then " +"you should just be able to compile from source in the usual way. Download " +"the latest tarball from L<http://libguestfs.org/download>, unpack it, and " +"start by reading the README file." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:322 +#: ../examples/guestfs-faq.pod:344 msgid "" "If you I<don't> have febootstrap, you will need to use the \"fixed appliance " "method\". See: L<http://libguestfs.org/download/binaries/appliance/>" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:326 +#: ../examples/guestfs-faq.pod:348 msgid "Patches to port febootstrap to more Linux distros are welcome." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:328 +#: ../examples/guestfs-faq.pod:350 msgid "" "Why do I get an error when I try to rebuild from the source RPMs supplied by " "Red Hat / Fedora?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:331 +#: ../examples/guestfs-faq.pod:353 msgid "" "Because of the complexity of building the libguestfs appliance, the source " "RPMs provided cannot be rebuilt directly using C<rpmbuild> or C<mock>." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:335 +#: ../examples/guestfs-faq.pod:357 msgid "" "If you use Koji (which is open source software and may be installed " "locally), then the SRPMs can be rebuilt in Koji. " @@ -4654,7 +4688,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:339 +#: ../examples/guestfs-faq.pod:361 msgid "" "If you don't have or want to use Koji, then you have to give libguestfs " "access to the network so it can download the RPMs for building the " @@ -4663,7 +4697,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:345 +#: ../examples/guestfs-faq.pod:367 #, no-wrap msgid "" " %libguestfs_buildnet 1\n" @@ -4671,12 +4705,12 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:347 +#: ../examples/guestfs-faq.pod:369 msgid "If you are using mock, do:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:349 +#: ../examples/guestfs-faq.pod:371 #, no-wrap msgid "" " mock -D '%libguestfs_buildnet 1' [etc]\n" @@ -4684,22 +4718,89 @@ msgid "" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:351 +#: ../examples/guestfs-faq.pod:373 +msgid "How can I add support for sVirt?" +msgstr "" + +#. type: textblock +#: ../examples/guestfs-faq.pod:375 +msgid "" +"Note: We are planning to make this configuration the default in S<Fedora " +"18>. If you find any problems, please let us know or file a bug." +msgstr "" + +#. type: textblock +#: ../examples/guestfs-faq.pod:378 +msgid "" +"L<SVirt|http://selinuxproject.org/page/SVirt> provides a hardened appliance " +"using SELinux, making it very hard for a rogue disk image to \"escape\" from " +"the confinement of libguestfs and damage the host (it's fair to say that " +"even in standard libguestfs this would be hard, but sVirt provides an extra " +"layer of protection for the host and more importantly protects virtual " +"machines on the same host from each other)." +msgstr "" + +#. type: textblock +#: ../examples/guestfs-faq.pod:386 +msgid "" +"Currently to enable sVirt you will need the very latest libvirt (from git), " +"libguestfs and SELinux policies. If you are not running S<Fedora 18+>, you " +"will need to make changes to your SELinux policy - contact us on the mailing " +"list." +msgstr "" + +#. type: textblock +#: ../examples/guestfs-faq.pod:391 +msgid "Once you have the requirements, do:" +msgstr "" + +#. type: verbatim +#: ../examples/guestfs-faq.pod:393 +#, no-wrap +msgid "" +" ./configure --with-default-attach-method=libvirt\n" +" make\n" +"\n" +msgstr "" + +#. type: textblock +#: ../examples/guestfs-faq.pod:396 +msgid "Enable SELinux, and sVirt should be used automatically." +msgstr "" + +#. type: textblock +#: ../examples/guestfs-faq.pod:398 +msgid "" +"All, or almost all, features of libguestfs should work under sVirt. There " +"is one known shortcoming: L<virt-rescue(1)> will not use libvirt (hence " +"sVirt), but falls back to direct launch of qemu. So you won't currently get " +"the benefit of sVirt protection when using virt-rescue." +msgstr "" + +#. type: textblock +#: ../examples/guestfs-faq.pod:403 +msgid "" +"In theory sVirt should support AppArmor, but we have not tried it. It will " +"almost certainly require patching libvirt and writing an AppArmor policy." +msgstr "" + +#. type: =head2 +#: ../examples/guestfs-faq.pod:407 msgid "Libguestfs has a really long list of dependencies!" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:353 +#: ../examples/guestfs-faq.pod:409 msgid "That's because it does a lot of things." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:355 +#: ../examples/guestfs-faq.pod:411 msgid "How can I speed up libguestfs builds?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:357 +#: ../examples/guestfs-faq.pod:413 msgid "" "By far the most important thing you can do is to install and properly " "configure Squid. Note that the default configuration that ships with Squid " @@ -4707,45 +4808,45 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:361 +#: ../examples/guestfs-faq.pod:417 msgid "" "A very good place to start with Squid configuration is here: " "L<https://fedoraproject.org/wiki/Extras/MockTricks#Using_Squid_to_Speed_Up_Mock_package_downloads>" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:364 +#: ../examples/guestfs-faq.pod:420 msgid "" "Make sure Squid is running, and that the environment variables " "C<$http_proxy> and C<$ftp_proxy> are pointing to it." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:367 +#: ../examples/guestfs-faq.pod:423 msgid "" "With Squid running and correctly configured, appliance builds should be " "reduced to a few minutes." msgstr "" #. type: =head1 -#: ../examples/guestfs-faq.pod:370 +#: ../examples/guestfs-faq.pod:426 msgid "SPEED, DISK SPACE USED BY LIBGUESTFS" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:372 +#: ../examples/guestfs-faq.pod:428 msgid "" "Note: Most of the information in this section has moved: " "L<guestfs-performance(1)>." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:375 +#: ../examples/guestfs-faq.pod:431 msgid "Upload or write seem very slow." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:377 +#: ../examples/guestfs-faq.pod:433 msgid "" "In libguestfs E<lt> 1.13.16, the mount command (L<guestfs(3)/guestfs_mount>) " "enabled option C<-o sync> implicitly. This causes very poor write " @@ -4753,14 +4854,14 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:382 +#: ../examples/guestfs-faq.pod:438 msgid "" "For libguestfs E<lt> 1.13.16, replace mount with C<mount-options>, leaving " "the first parameter as an empty string." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:385 +#: ../examples/guestfs-faq.pod:441 msgid "" "You can also do this with more recent versions of libguestfs, but if you " "know that you are using libguestfs ≥ 1.13.16 then it's safe to use plain " @@ -4768,7 +4869,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:389 +#: ../examples/guestfs-faq.pod:445 msgid "" "If the underlying disk is not fully allocated (eg. sparse raw or qcow2) then " "writes can be slow because the host operating system has to do costly disk " @@ -4778,17 +4879,17 @@ msgid "" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:395 +#: ../examples/guestfs-faq.pod:451 msgid "Libguestfs uses too much disk space!" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:397 +#: ../examples/guestfs-faq.pod:453 msgid "libguestfs caches a large-ish appliance in:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:399 +#: ../examples/guestfs-faq.pod:455 #, no-wrap msgid "" " /var/tmp/.guestfs-<UID>\n" @@ -4796,26 +4897,26 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:401 +#: ../examples/guestfs-faq.pod:457 msgid "" "If the environment variable C<TMPDIR> is defined, then " "C<$TMPDIR/.guestfs-E<lt>UIDE<gt>> is used instead." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:404 +#: ../examples/guestfs-faq.pod:460 msgid "It is safe to delete this directory when you are not using libguestfs." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:406 +#: ../examples/guestfs-faq.pod:462 msgid "" "virt-sparsify seems to make the image grow to the full size of the virtual " "disk" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:409 +#: ../examples/guestfs-faq.pod:465 msgid "" "If the input to L<virt-sparsify(1)> is raw, then the output will be raw " "sparse. Make sure you are measuring the output with a tool which " @@ -4823,7 +4924,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:413 ../sparsify/virt-sparsify.pod:34 +#: ../examples/guestfs-faq.pod:469 ../sparsify/virt-sparsify.pod:34 #, no-wrap msgid "" " $ ls -lh test1.img\n" @@ -4834,19 +4935,19 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:418 ../sparsify/virt-sparsify.pod:39 +#: ../examples/guestfs-faq.pod:474 ../sparsify/virt-sparsify.pod:39 msgid "(Compare the apparent size B<100M> vs the actual size B<3.6M>)" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:420 +#: ../examples/guestfs-faq.pod:476 msgid "" "If all this confuses you, use a non-sparse output by specifying the " "I<--convert> option, eg:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:423 +#: ../examples/guestfs-faq.pod:479 #, no-wrap msgid "" " virt-sparsify --convert qcow2 disk.raw disk.qcow2\n" @@ -4854,24 +4955,24 @@ msgid "" msgstr "" #. type: =head1 -#: ../examples/guestfs-faq.pod:425 +#: ../examples/guestfs-faq.pod:481 msgid "USING LIBGUESTFS IN YOUR OWN PROGRAMS" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:427 +#: ../examples/guestfs-faq.pod:483 msgid "The API has hundreds of methods, where do I start?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:429 +#: ../examples/guestfs-faq.pod:485 msgid "" "We recommend you start by reading the API overview: L<guestfs(3)/API " "OVERVIEW>." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:432 +#: ../examples/guestfs-faq.pod:488 msgid "" "Although the API overview covers the C API, it is still worth reading even " "if you are going to use another programming language, because the API is the " @@ -4879,7 +4980,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:437 +#: ../examples/guestfs-faq.pod:493 #, no-wrap msgid "" " C guestfs_ln_sf (g, target, linkname);\n" @@ -4892,7 +4993,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:444 +#: ../examples/guestfs-faq.pod:500 msgid "" "Once you're familiar with the API overview, you should look at this list of " "starting points for other language bindings: L<guestfs(3)/USING LIBGUESTFS " @@ -4900,24 +5001,24 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:450 +#: ../examples/guestfs-faq.pod:506 msgid "<!-- old anchor for the next section --> <a name=\"debug\"/>" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:455 +#: ../examples/guestfs-faq.pod:511 msgid "Can I use libguestfs in my proprietary / closed source / commercial program?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:458 +#: ../examples/guestfs-faq.pod:514 msgid "" "In general, yes. However this is not legal advice - read the license that " "comes with libguestfs, and if you have specific questions contact a lawyer." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:462 +#: ../examples/guestfs-faq.pod:518 msgid "" "In the source tree the license is in the file C<COPYING.LIB> (LGPLv2+ for " "the library and bindings) and C<COPYING> (GPLv2+ for the standalone " @@ -4925,43 +5026,43 @@ msgid "" msgstr "" #. type: =head1 -#: ../examples/guestfs-faq.pod:466 +#: ../examples/guestfs-faq.pod:522 msgid "DEBUGGING LIBGUESTFS" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:468 +#: ../examples/guestfs-faq.pod:524 msgid "" "How do I debug when using any libguestfs program or tool (eg. virt-v2v or " "virt-df)?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:471 +#: ../examples/guestfs-faq.pod:527 msgid "" "There are two C<LIBGUESTFS_*> environment variables you can set in order to " "get more information from libguestfs." msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:476 +#: ../examples/guestfs-faq.pod:532 msgid "C<LIBGUESTFS_TRACE>" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:478 +#: ../examples/guestfs-faq.pod:534 msgid "" "Set this to 1 and libguestfs will print out each command / API call in a " "format which is similar to guestfish commands." msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:481 +#: ../examples/guestfs-faq.pod:537 msgid "C<LIBGUESTFS_DEBUG>" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:483 +#: ../examples/guestfs-faq.pod:539 msgid "" "Set this to 1 in order to enable massive amounts of debug messages. If you " "think there is some problem inside the libguestfs appliance, then you should " @@ -4969,12 +5070,12 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:489 +#: ../examples/guestfs-faq.pod:545 msgid "To set these from the shell, do this before running the program:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:491 +#: ../examples/guestfs-faq.pod:547 #, no-wrap msgid "" " export LIBGUESTFS_TRACE=1\n" @@ -4983,12 +5084,12 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:494 +#: ../examples/guestfs-faq.pod:550 msgid "For csh/tcsh the equivalent commands would be:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:496 +#: ../examples/guestfs-faq.pod:552 #, no-wrap msgid "" " setenv LIBGUESTFS_TRACE 1\n" @@ -4997,17 +5098,17 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:499 +#: ../examples/guestfs-faq.pod:555 msgid "For further information, see: L<guestfs(3)/ENVIRONMENT VARIABLES>." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:501 +#: ../examples/guestfs-faq.pod:557 msgid "How do I debug when using guestfish?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:503 +#: ../examples/guestfs-faq.pod:559 msgid "" "You can use the same environment variables above. Alternatively use the " "guestfish options -x (to trace commands) or -v (to get the full debug " @@ -5015,24 +5116,24 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:507 +#: ../examples/guestfs-faq.pod:563 msgid "For further information, see: L<guestfish(1)>." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:509 +#: ../examples/guestfs-faq.pod:565 msgid "How do I debug when using the API?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:511 +#: ../examples/guestfs-faq.pod:567 msgid "" "Call L<guestfs(3)/guestfs_set_trace> to enable command traces, and/or " "L<guestfs(3)/guestfs_set_verbose> to enable debug messages." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:514 +#: ../examples/guestfs-faq.pod:570 msgid "" "For best results, call these functions as early as possible, just after " "creating the guestfs handle if you can, and definitely before calling " @@ -5040,36 +5141,36 @@ msgid "" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:518 +#: ../examples/guestfs-faq.pod:574 msgid "How do I capture debug output and put it into my logging system?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:520 +#: ../examples/guestfs-faq.pod:576 msgid "" "Use the event API. For examples, see: L<guestfs(3)/SETTING CALLBACKS TO " "HANDLE EVENTS>." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:523 +#: ../examples/guestfs-faq.pod:579 msgid "Digging deeper into the appliance boot process." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:525 +#: ../examples/guestfs-faq.pod:581 msgid "" "Enable debugging and then read this documentation on the appliance boot " "process: L<guestfs(3)/INTERNALS>." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:528 +#: ../examples/guestfs-faq.pod:584 msgid "libguestfs hangs or fails during run/launch." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:530 +#: ../examples/guestfs-faq.pod:586 msgid "" "Enable debugging and look at the full output. If you cannot work out what " "is going on, file a bug report, including the I<complete> output of " @@ -5077,17 +5178,17 @@ msgid "" msgstr "" #. type: =head1 -#: ../examples/guestfs-faq.pod:534 +#: ../examples/guestfs-faq.pod:590 msgid "DESIGN/INTERNALS OF LIBGUESTFS" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:536 +#: ../examples/guestfs-faq.pod:592 msgid "Why don't you do everything through the FUSE / filesystem interface?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:539 +#: ../examples/guestfs-faq.pod:595 msgid "" "We offer a command called L<guestmount(1)> which lets you mount guest " "filesystems on the host. This is implemented as a FUSE module. Why don't " @@ -5096,7 +5197,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:544 +#: ../examples/guestfs-faq.pod:600 msgid "" "The reasons are twofold. Firstly, libguestfs offers API calls for doing " "things like creating and deleting partitions and logical volumes, which " @@ -5110,7 +5211,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:554 +#: ../examples/guestfs-faq.pod:610 msgid "" "The second reason is for efficiency. FUSE itself is reasonably efficient, " "but it does make lots of small, independent calls into the FUSE module. In " @@ -5123,17 +5224,17 @@ msgid "" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:564 +#: ../examples/guestfs-faq.pod:620 msgid "Why don't you do everything through GVFS?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:566 +#: ../examples/guestfs-faq.pod:622 msgid "The problems are similar to the problems with FUSE." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:568 +#: ../examples/guestfs-faq.pod:624 msgid "" "GVFS is a better abstraction than POSIX/FUSE. There is an FTP backend for " "GVFS, which is encouraging because FTP is conceptually similar to the " @@ -5143,17 +5244,17 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:576 +#: ../examples/guestfs-faq.pod:632 msgid "<!-- old anchor for the next section --> <a name=\"backup\"/>" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:581 +#: ../examples/guestfs-faq.pod:637 msgid "Can I use C<guestfish --ro> as a way to backup my virtual machines?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:583 +#: ../examples/guestfs-faq.pod:639 msgid "" "Usually this is not a good idea. The question is answered in more detail in " "this mailing list posting: " @@ -5161,17 +5262,17 @@ msgid "" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:587 +#: ../examples/guestfs-faq.pod:643 msgid "Why can I write to the disk, even though I added it read-only?" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:589 +#: ../examples/guestfs-faq.pod:645 msgid "Why does C<--ro> appear to have no effect?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:591 +#: ../examples/guestfs-faq.pod:647 msgid "" "When you add a disk read-only, libguestfs places a writable overlay on top " "of the underlying disk. Writes go into this overlay, and are discarded when " @@ -5179,7 +5280,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:595 +#: ../examples/guestfs-faq.pod:651 msgid "" "There are two reasons for doing it this way: Firstly read-only disks aren't " "possible in many cases (eg. IDE simply doesn't support them, so you couldn't " @@ -5188,7 +5289,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:600 +#: ../examples/guestfs-faq.pod:656 msgid "" "Secondly and more importantly, even if read-only disks were possible, you " "wouldn't want them. Mounting any filesystem that has a journal, even " @@ -5198,7 +5299,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:606 +#: ../examples/guestfs-faq.pod:662 msgid "" "To make it usable, we create the overlay as a place to temporarily store " "these writes, and then we discard it afterwards. This ensures that the " @@ -5206,7 +5307,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:610 +#: ../examples/guestfs-faq.pod:666 msgid "" "Note also that there is a regression test for this when building libguestfs " "(in C<tests/qemu>). This is one reason why it's important for packagers to " @@ -5214,38 +5315,38 @@ msgid "" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:614 +#: ../examples/guestfs-faq.pod:670 msgid "Does C<--ro> make all disks read-only?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:616 +#: ../examples/guestfs-faq.pod:672 msgid "" "I<No!> The C<--ro> option only affects disks added on the command line, " "ie. using C<-a> and C<-d> options." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:619 +#: ../examples/guestfs-faq.pod:675 msgid "" "In guestfish, if you use the C<add> command, then disk is added read-write " "(unless you specify the C<readonly:true> flag explicitly with the command)." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:623 +#: ../examples/guestfs-faq.pod:679 msgid "What's the difference between guestfish and virt-rescue?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:625 +#: ../examples/guestfs-faq.pod:681 msgid "" "A lot of people are confused by the two superficially similar tools we " "provide:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:628 +#: ../examples/guestfs-faq.pod:684 #, no-wrap msgid "" " $ guestfish --ro -a guest.img\n" @@ -5255,7 +5356,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:632 +#: ../examples/guestfs-faq.pod:688 #, no-wrap msgid "" " $ virt-rescue --ro guest.img\n" @@ -5264,7 +5365,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:635 +#: ../examples/guestfs-faq.pod:691 msgid "" "And the related question which then arises is why you can't type in full " "shell commands with all the --options in guestfish (but you can in " @@ -5272,7 +5373,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:639 +#: ../examples/guestfs-faq.pod:695 msgid "" "L<guestfish(1)> is a program providing structured access to the " "L<guestfs(3)> API. It happens to be a nice interactive shell too, but its " @@ -5283,7 +5384,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:646 +#: ../examples/guestfs-faq.pod:702 msgid "" "L<virt-rescue(1)> is a free-for-all freeform way to boot the libguestfs " "appliance and make arbitrary changes to your VM. It's not structured, you " @@ -5292,7 +5393,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:651 +#: ../examples/guestfs-faq.pod:707 msgid "" "But, libguestfs also has a \"backdoor\" into the appliance allowing you to " "send arbitrary shell commands. It's not as flexible as virt-rescue, because " @@ -5300,7 +5401,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:656 +#: ../examples/guestfs-faq.pod:712 #, no-wrap msgid "" " ><fs> debug sh \"cmd arg1 arg2 ...\"\n" @@ -5308,7 +5409,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:658 +#: ../examples/guestfs-faq.pod:714 msgid "" "Note that you should B<not> rely on this. It could be removed or changed in " "future. If your program needs some operation, please add it to the " @@ -5316,45 +5417,45 @@ msgid "" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:662 +#: ../examples/guestfs-faq.pod:718 msgid "What's the deal with C<guestfish -i>?" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:664 +#: ../examples/guestfs-faq.pod:720 msgid "" "Why does virt-cat only work on a real VM image, but virt-df works on any " "disk image?" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:667 +#: ../examples/guestfs-faq.pod:723 msgid "What does \"no root device found in this operating system image\" mean?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:670 +#: ../examples/guestfs-faq.pod:726 msgid "" "These questions are all related at a fundamental level which may not be " "immediately obvious." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:673 +#: ../examples/guestfs-faq.pod:729 msgid "" "At the L<guestfs(3)> API level, a \"disk image\" is just a pile of " "partitions and filesystems." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:676 +#: ../examples/guestfs-faq.pod:732 msgid "" "In contrast, when the virtual machine boots, it mounts those filesystems " "into a consistent hierarchy such as:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:679 +#: ../examples/guestfs-faq.pod:735 #, no-wrap msgid "" " / (/dev/sda2)\n" @@ -5370,12 +5471,12 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:689 +#: ../examples/guestfs-faq.pod:745 msgid "(or drive letters on Windows)." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:691 +#: ../examples/guestfs-faq.pod:747 msgid "" "The API first of all sees the disk image at the \"pile of filesystems\" " "level. But it also has a way to inspect the disk image to see if it " @@ -5384,12 +5485,12 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:696 +#: ../examples/guestfs-faq.pod:752 msgid "Users expect some tools (like L<virt-cat(1)>) to work with VM paths:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:698 +#: ../examples/guestfs-faq.pod:754 #, no-wrap msgid "" " virt-cat fedora.img /var/log/messages\n" @@ -5397,7 +5498,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:700 +#: ../examples/guestfs-faq.pod:756 msgid "" "How does virt-cat know that C</var> is a separate partition? The trick is " "that virt-cat performs inspection on the disk image, and uses that to " @@ -5405,7 +5506,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:704 +#: ../examples/guestfs-faq.pod:760 msgid "" "Some tools (including L<virt-cat(1)>, L<virt-edit(1)>, L<virt-ls(1)>) use " "inspection to map VM paths. Other tools, such as L<virt-df(1)> and " @@ -5414,7 +5515,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:709 +#: ../examples/guestfs-faq.pod:765 msgid "" "L<guestfish(1)> is in an interesting middle ground. If you use the I<-a> " "and I<-m> command line options, then you have to tell guestfish exactly how " @@ -5422,14 +5523,14 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:714 +#: ../examples/guestfs-faq.pod:770 msgid "" "If you use the I<-i> option, libguestfs performs inspection and mounts the " "filesystems for you." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:717 +#: ../examples/guestfs-faq.pod:773 msgid "" "The error C<no root device found in this operating system image> is related " "to this. It means inspection was unable to locate an operating system " @@ -5439,12 +5540,12 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:725 +#: ../examples/guestfs-faq.pod:781 msgid "L<guestfish(1)>, L<guestfs(3)>, L<http://libguestfs.org/>." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:735 ../examples/guestfs-performance.pod:448 ../format/virt-format.pod:193 +#: ../examples/guestfs-faq.pod:791 ../examples/guestfs-performance.pod:448 ../format/virt-format.pod:193 msgid "Copyright (C) 2012 Red Hat Inc." msgstr "" @@ -5492,7 +5593,7 @@ msgid "On an unloaded machine, time how long it takes to start up the appliance: msgstr "" #. type: verbatim -#: ../examples/guestfs-performance.pod:29 ../examples/guestfs-performance.pod:180 ../examples/guestfs-testing.pod:36 +#: ../examples/guestfs-performance.pod:29 ../examples/guestfs-performance.pod:180 ../examples/guestfs-testing.pod:50 #, no-wrap msgid "" " time guestfish -a /dev/null run\n" @@ -5740,7 +5841,7 @@ msgid "" msgstr "" #. type: =item -#: ../examples/guestfs-performance.pod:162 ../examples/guestfs-performance.pod:211 ../resize/virt-resize.pod:31 ../resize/virt-resize.pod:603 ../sparsify/virt-sparsify.pod:243 ../src/guestfs.pod:469 ../src/guestfs.pod:1282 ../src/guestfs.pod:1451 ../src/guestfs.pod:1615 ../src/guestfs.pod:2863 +#: ../examples/guestfs-performance.pod:162 ../examples/guestfs-performance.pod:211 ../examples/guestfs-recipes.pod:288 ../resize/virt-resize.pod:31 ../resize/virt-resize.pod:603 ../sparsify/virt-sparsify.pod:243 ../src/guestfs.pod:475 ../src/guestfs.pod:1288 ../src/guestfs.pod:1457 ../src/guestfs.pod:1621 ../src/guestfs.pod:2869 msgid "1." msgstr "" @@ -5752,7 +5853,7 @@ msgid "" msgstr "" #. type: =item -#: ../examples/guestfs-performance.pod:168 ../examples/guestfs-performance.pod:218 ../resize/virt-resize.pod:44 ../resize/virt-resize.pod:610 ../sparsify/virt-sparsify.pod:250 ../src/guestfs.pod:475 ../src/guestfs.pod:1286 ../src/guestfs.pod:1455 ../src/guestfs.pod:1619 ../src/guestfs.pod:2888 +#: ../examples/guestfs-performance.pod:168 ../examples/guestfs-performance.pod:218 ../examples/guestfs-recipes.pod:294 ../resize/virt-resize.pod:44 ../resize/virt-resize.pod:610 ../sparsify/virt-sparsify.pod:250 ../src/guestfs.pod:481 ../src/guestfs.pod:1292 ../src/guestfs.pod:1461 ../src/guestfs.pod:1625 ../src/guestfs.pod:2894 msgid "2." msgstr "" @@ -5767,7 +5868,7 @@ msgid "" msgstr "" #. type: =item -#: ../examples/guestfs-performance.pod:176 ../examples/guestfs-performance.pod:224 ../resize/virt-resize.pod:52 ../resize/virt-resize.pod:616 ../sparsify/virt-sparsify.pod:256 ../src/guestfs.pod:486 ../src/guestfs.pod:1290 ../src/guestfs.pod:1625 +#: ../examples/guestfs-performance.pod:176 ../examples/guestfs-performance.pod:224 ../examples/guestfs-recipes.pod:300 ../resize/virt-resize.pod:52 ../resize/virt-resize.pod:616 ../sparsify/virt-sparsify.pod:256 ../src/guestfs.pod:492 ../src/guestfs.pod:1296 ../src/guestfs.pod:1631 msgid "3." msgstr "" @@ -6029,7 +6130,7 @@ msgid "Save the following script as C<time.stap>:" msgstr "" #. type: verbatim -#: ../examples/guestfs-performance.pod:322 ../src/guestfs.pod:2376 +#: ../examples/guestfs-performance.pod:322 ../src/guestfs.pod:2382 #, no-wrap msgid "" " global last;\n" @@ -6037,7 +6138,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-performance.pod:324 ../src/guestfs.pod:2378 +#: ../examples/guestfs-performance.pod:324 ../src/guestfs.pod:2384 #, no-wrap msgid "" " function display_time () {\n" @@ -6050,7 +6151,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-performance.pod:331 ../src/guestfs.pod:2385 +#: ../examples/guestfs-performance.pod:331 ../src/guestfs.pod:2391 #, no-wrap msgid "" " printf (\"%d (+%d):\", now, delta);\n" @@ -6059,7 +6160,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-performance.pod:334 ../src/guestfs.pod:2388 +#: ../examples/guestfs-performance.pod:334 ../src/guestfs.pod:2394 #, no-wrap msgid "" " probe begin {\n" @@ -6070,7 +6171,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-performance.pod:339 ../src/guestfs.pod:2393 +#: ../examples/guestfs-performance.pod:339 ../src/guestfs.pod:2399 #, no-wrap msgid "" " /* Display all calls to static markers. */\n" @@ -6179,7 +6280,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-performance.pod:394 ../fish/guestfish.pod:994 ../src/guestfs.pod:1068 +#: ../examples/guestfs-performance.pod:394 ../fish/guestfish.pod:994 ../src/guestfs.pod:1074 #, no-wrap msgid "" " #!/bin/bash -\n" @@ -6554,38 +6655,43 @@ msgstr "" msgid "To list the filesystems in a disk image, use L<virt-filesystems(1)>." msgstr "" -#. type: =head1 +#. type: textblock #: ../examples/guestfs-recipes.pod:120 +msgid "See also L</Uploading raw filesystem content>." +msgstr "" + +#. type: =head1 +#: ../examples/guestfs-recipes.pod:122 msgid "Edit grub configuration in a VM" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:122 +#: ../examples/guestfs-recipes.pod:124 msgid "You can use this to:" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:128 +#: ../examples/guestfs-recipes.pod:130 msgid "Fix a virtual machine that does not boot." msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:132 +#: ../examples/guestfs-recipes.pod:134 msgid "Change which kernel is used to boot the VM." msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:136 +#: ../examples/guestfs-recipes.pod:138 msgid "Change kernel command line options." msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:140 +#: ../examples/guestfs-recipes.pod:142 msgid "Use L<virt-edit(1)> to edit the grub configuration:" msgstr "" #. type: verbatim -#: ../examples/guestfs-recipes.pod:142 +#: ../examples/guestfs-recipes.pod:144 #, no-wrap msgid "" " virt-edit -d BrokenGuest /boot/grub2/grub.cfg\n" @@ -6593,14 +6699,14 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:144 +#: ../examples/guestfs-recipes.pod:146 msgid "" "or for general tinkering inside an unbootable VM use L<virt-rescue(1)> like " "this:" msgstr "" #. type: verbatim -#: ../examples/guestfs-recipes.pod:147 +#: ../examples/guestfs-recipes.pod:149 #, no-wrap msgid "" " virt-rescue -d BrokenGuest\n" @@ -6608,17 +6714,17 @@ msgid "" msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:149 +#: ../examples/guestfs-recipes.pod:151 msgid "Export any directory from a VM" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:151 +#: ../examples/guestfs-recipes.pod:153 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:154 ../examples/guestfs-testing.pod:93 +#: ../examples/guestfs-recipes.pod:156 ../examples/guestfs-testing.pod:107 #, no-wrap msgid "" " virt-copy-out -d Guest /home .\n" @@ -6626,24 +6732,24 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:156 ../fish/guestfish-actions.pod:9 ../fish/guestfish-actions.pod:1607 ../fish/guestfish-actions.pod:2002 ../fish/guestfish-actions.pod:2429 ../src/guestfs-actions.pod:18 ../src/guestfs-actions.pod:2642 ../src/guestfs-actions.pod:3209 ../src/guestfs-actions.pod:3778 ../src/guestfs.pod:1859 ../tools/virt-win-reg.pl:717 +#: ../examples/guestfs-recipes.pod:158 ../fish/guestfish-actions.pod:9 ../fish/guestfish-actions.pod:1607 ../fish/guestfish-actions.pod:2002 ../fish/guestfish-actions.pod:2429 ../src/guestfs-actions.pod:18 ../src/guestfs-actions.pod:2642 ../src/guestfs-actions.pod:3209 ../src/guestfs-actions.pod:3778 ../src/guestfs.pod:1865 ../tools/virt-win-reg.pl:707 msgid "Notes:" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:162 +#: ../examples/guestfs-recipes.pod:164 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:167 +#: ../examples/guestfs-recipes.pod:169 msgid "This creates a directory called C<home> under the current directory." msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:171 +#: ../examples/guestfs-recipes.pod:173 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 " @@ -6651,7 +6757,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-recipes.pod:175 +#: ../examples/guestfs-recipes.pod:177 #, no-wrap msgid "" " virt-copy-out -d WinGuest 'win:c:\\windows\\system32\\config' .\n" @@ -6659,12 +6765,12 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:177 +#: ../examples/guestfs-recipes.pod:179 msgid "To get the output as a compressed tarball, do:" msgstr "" #. type: verbatim -#: ../examples/guestfs-recipes.pod:179 +#: ../examples/guestfs-recipes.pod:181 #, no-wrap msgid "" " virt-tar-out -d Guest /home - | gzip --best > home.tar.gz\n" @@ -6672,7 +6778,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:181 +#: ../examples/guestfs-recipes.pod:183 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: " @@ -6680,19 +6786,19 @@ msgid "" msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:185 +#: ../examples/guestfs-recipes.pod:187 msgid "Find out which user is using the most space" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:187 +#: ../examples/guestfs-recipes.pod:189 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:190 +#: ../examples/guestfs-recipes.pod:192 #, no-wrap msgid "" " #!/bin/sh -\n" @@ -6700,7 +6806,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-recipes.pod:192 ../fish/guestfish.pod:996 +#: ../examples/guestfs-recipes.pod:194 ../fish/guestfish.pod:996 #, no-wrap msgid "" " set -e\n" @@ -6708,7 +6814,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-recipes.pod:194 +#: ../examples/guestfs-recipes.pod:196 #, no-wrap msgid "" " vm=\"$1\"\n" @@ -6717,7 +6823,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-recipes.pod:197 +#: ../examples/guestfs-recipes.pod:199 #, no-wrap msgid "" " eval $(guestfish --ro -d \"$vm\" -i --listen)\n" @@ -6725,7 +6831,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-recipes.pod:199 +#: ../examples/guestfs-recipes.pod:201 #, no-wrap msgid "" " for d in $(guestfish --remote ls \"$dir\"); do\n" @@ -6737,7 +6843,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-recipes.pod:205 ../fish/guestfish.pod:953 +#: ../examples/guestfs-recipes.pod:207 ../fish/guestfish.pod:953 #, no-wrap msgid "" " guestfish --remote exit\n" @@ -6745,41 +6851,41 @@ msgid "" msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:207 +#: ../examples/guestfs-recipes.pod:209 msgid "Get DHCP address from a VM" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:209 +#: ../examples/guestfs-recipes.pod:211 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:212 +#: ../examples/guestfs-recipes.pod:214 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:214 +#: ../examples/guestfs-recipes.pod:216 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:217 +#: ../examples/guestfs-recipes.pod:219 msgid "Get the operating system product name string" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:219 +#: ../examples/guestfs-recipes.pod:221 msgid "Save the following script into a file called C<product-name.sh>:" msgstr "" #. type: verbatim -#: ../examples/guestfs-recipes.pod:221 +#: ../examples/guestfs-recipes.pod:223 #, no-wrap msgid "" " #!/bin/sh -\n" @@ -6792,12 +6898,12 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:228 +#: ../examples/guestfs-recipes.pod:230 msgid "Make the script executable and run it on a named guest:" msgstr "" #. type: verbatim -#: ../examples/guestfs-recipes.pod:230 +#: ../examples/guestfs-recipes.pod:232 #, no-wrap msgid "" " # product-name.sh RHEL60x64\n" @@ -6806,14 +6912,14 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:233 +#: ../examples/guestfs-recipes.pod:235 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:237 +#: ../examples/guestfs-recipes.pod:239 #, no-wrap msgid "" " # virt-inspector RHEL60x64 > xml\n" @@ -6826,66 +6932,116 @@ msgid "" msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:243 +#: ../examples/guestfs-recipes.pod:245 msgid "Get the default boot kernel for a Linux VM" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:245 +#: ../examples/guestfs-recipes.pod:247 msgid "" "The link below contains a program to print the default boot kernel for a " "Linux VM." msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:248 +#: ../examples/guestfs-recipes.pod:250 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:250 +#: ../examples/guestfs-recipes.pod:252 msgid "" "It uses Augeas, and the technique is generally applicable for many different " "tasks, such as:" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:257 +#: ../examples/guestfs-recipes.pod:259 msgid "listing the user accounts in the guest" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:261 +#: ../examples/guestfs-recipes.pod:263 msgid "what repositories is it configured to use" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:265 +#: ../examples/guestfs-recipes.pod:267 msgid "what NTP servers does it connect to" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:269 +#: ../examples/guestfs-recipes.pod:271 msgid "what were the boot messages last time it booted" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:273 +#: ../examples/guestfs-recipes.pod:275 msgid "listing who was logged in recently" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:277 +#: ../examples/guestfs-recipes.pod:279 msgid "L<http://augeas.net/>" msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:279 +#: ../examples/guestfs-recipes.pod:281 +msgid "Hanging guests" +msgstr "" + +#. type: textblock +#: ../examples/guestfs-recipes.pod:283 +msgid "" +"There are various ways to use libguestfs to find out why a guest is hanging " +"or unresponsive:" +msgstr "" + +#. type: textblock +#: ../examples/guestfs-recipes.pod:290 +msgid "Read the log files using virt-cat:" +msgstr "" + +#. type: verbatim +#: ../examples/guestfs-recipes.pod:292 +#, no-wrap +msgid "" +" virt-cat Guest /var/log/messages | less\n" +"\n" +msgstr "" + +#. type: textblock +#: ../examples/guestfs-recipes.pod:296 +msgid "Read the Windows Event Log (Windows Vista or later only):" +msgstr "" + +#. type: textblock +#: ../examples/guestfs-recipes.pod:298 ../examples/guestfs-recipes.pod:397 +msgid "L<https://rwmj.wordpress.com/2011/04/17/decoding-the-windows-event-log-using-guestfish/#content>" +msgstr "" + +#. type: textblock +#: ../examples/guestfs-recipes.pod:302 +msgid "Find out which files were last updated in a guest:" +msgstr "" + +#. type: textblock +#: ../examples/guestfs-recipes.pod:304 +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:306 +msgid "This might give you a clue as to what program is running." +msgstr "" + +#. type: =head1 +#: ../examples/guestfs-recipes.pod:310 msgid "Install RPMs in a guest" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:281 +#: ../examples/guestfs-recipes.pod:312 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 " @@ -6894,22 +7050,22 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:287 +#: ../examples/guestfs-recipes.pod:318 msgid "L<https://rwmj.wordpress.com/2010/12/01/tip-install-rpms-in-a-guest/#content>" msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:289 +#: ../examples/guestfs-recipes.pod:320 msgid "List applications installed in a VM" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:291 +#: ../examples/guestfs-recipes.pod:322 msgid "Save the following to a file C<list-apps.sh>:" msgstr "" #. type: verbatim -#: ../examples/guestfs-recipes.pod:293 +#: ../examples/guestfs-recipes.pod:324 #, no-wrap msgid "" " #!/bin/sh -\n" @@ -6922,14 +7078,14 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:300 +#: ../examples/guestfs-recipes.pod:331 msgid "" "Make the file executable and then you can run it on any named virtual " "machine:" msgstr "" #. type: verbatim -#: ../examples/guestfs-recipes.pod:303 +#: ../examples/guestfs-recipes.pod:334 #, no-wrap msgid "" " # list-apps.sh WinGuest\n" @@ -6965,7 +7121,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:333 +#: ../examples/guestfs-recipes.pod:364 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 " @@ -6973,22 +7129,22 @@ msgid "" msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:337 +#: ../examples/guestfs-recipes.pod:368 msgid "List files and directories in a VM" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:339 +#: ../examples/guestfs-recipes.pod:370 msgid "Use L<virt-ls(1)>." msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:341 +#: ../examples/guestfs-recipes.pod:372 msgid "List services in a Windows VM" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:343 +#: ../examples/guestfs-recipes.pod:374 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 " @@ -6996,69 +7152,64 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:347 +#: ../examples/guestfs-recipes.pod:378 msgid "L<https://rwmj.wordpress.com/2010/12/10/tip-list-services-in-a-windows-guest/#content>" msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:349 +#: ../examples/guestfs-recipes.pod:380 msgid "Make a disk image sparse" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:351 +#: ../examples/guestfs-recipes.pod:382 msgid "Use L<virt-sparsify(1)>." msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:353 +#: ../examples/guestfs-recipes.pod:384 msgid "Monitor disk usage over time" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:355 +#: ../examples/guestfs-recipes.pod:386 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:358 +#: ../examples/guestfs-recipes.pod:389 msgid "L<http://virt-tools.org/learning/advanced-virt-df/>" msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:360 +#: ../examples/guestfs-recipes.pod:391 msgid "Reading the Windows Event Log from Windows Vista (or later)" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:362 +#: ../examples/guestfs-recipes.pod:393 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:366 -msgid "L<https://rwmj.wordpress.com/2011/04/17/decoding-the-windows-event-log-using-guestfish/#content>" -msgstr "" - #. type: =head1 -#: ../examples/guestfs-recipes.pod:368 +#: ../examples/guestfs-recipes.pod:399 msgid "Remove root password (Linux)" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:370 +#: ../examples/guestfs-recipes.pod:401 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:373 +#: ../examples/guestfs-recipes.pod:404 #, no-wrap msgid "" " virt-edit domname /etc/passwd -e 's/^root:.*?:/root::/'\n" @@ -7066,12 +7217,12 @@ msgid "" msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:375 +#: ../examples/guestfs-recipes.pod:406 msgid "Remove Administrator password (Windows)" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:377 +#: ../examples/guestfs-recipes.pod:408 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 " @@ -7079,17 +7230,17 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:382 +#: ../examples/guestfs-recipes.pod:413 msgid "L<https://mdbooth.wordpress.com/2010/10/18/resetting-a-windows-guests-administrator-password-with-guestfish/>" msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:384 +#: ../examples/guestfs-recipes.pod:415 msgid "Sysprepping a virtual machine (Windows)" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:386 +#: ../examples/guestfs-recipes.pod:417 msgid "" "It is possible to do a \"sysprep\" using libguestfs alone, although not " "straightforward. Currently there is code in the Aeolus Oz project which " @@ -7098,19 +7249,19 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:391 +#: ../examples/guestfs-recipes.pod:422 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:394 +#: ../examples/guestfs-recipes.pod:425 msgid "Unpack a live CD" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:396 +#: ../examples/guestfs-recipes.pod:427 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 " @@ -7118,46 +7269,99 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:400 +#: ../examples/guestfs-recipes.pod:431 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:402 +#: ../examples/guestfs-recipes.pod:433 msgid "Uploading and downloading files" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:404 +#: ../examples/guestfs-recipes.pod:435 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:407 +#: ../examples/guestfs-recipes.pod:438 msgid "L<https://rwmj.wordpress.com/2010/12/02/tip-uploading-and-downloading/#content>" msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:409 +#: ../examples/guestfs-recipes.pod:440 +msgid "Uploading raw filesystem content" +msgstr "" + +#. type: textblock +#: ../examples/guestfs-recipes.pod:442 +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:446 +#, no-wrap +msgid "" +" guestfish --rw -a disk.img run : upload sda1.img /dev/sda1\n" +"\n" +msgstr "" + +#. type: verbatim +#: ../examples/guestfs-recipes.pod:448 +#, no-wrap +msgid "" +" guestfish --rw -d Guest run : upload lv.img /dev/vg_guest/lv_root\n" +"\n" +msgstr "" + +#. type: textblock +#: ../examples/guestfs-recipes.pod:450 +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:456 +#, no-wrap +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 "" + +#. type: textblock +#: ../examples/guestfs-recipes.pod:460 +msgid "(or use C<ntfsresize> if the filesystem is NTFS)." +msgstr "" + +#. type: =head1 +#: ../examples/guestfs-recipes.pod:462 msgid "Use libguestfs tools on VMware ESX guests" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:411 +#: ../examples/guestfs-recipes.pod:464 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:415 +#: ../examples/guestfs-recipes.pod:468 msgid "L<https://rwmj.wordpress.com/2011/05/10/tip-use-libguestfs-on-vmware-esx-guests/#content>" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:419 +#: ../examples/guestfs-recipes.pod:472 msgid "" "L<guestfs(3)>, L<guestfish(1)>, L<guestfs-examples(3)>, " "L<guestfs-erlang(3)>, L<guestfs-java(3)>, L<guestfs-ocaml(3)>, " @@ -7220,11 +7424,37 @@ 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:3258 +msgid "Run:" +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 " @@ -7232,39 +7462,39 @@ 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" @@ -7272,12 +7502,12 @@ 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:2966 +#: ../examples/guestfs-testing.pod:68 ../examples/guestfs-testing.pod:175 ../examples/guestfs-testing.pod:188 ../examples/guestfs-testing.pod:248 ../src/guestfs.pod:2972 msgid "or:" msgstr "" #. type: verbatim -#: ../examples/guestfs-testing.pod:56 +#: ../examples/guestfs-testing.pod:70 #, no-wrap msgid "" " virt-alignment-scan -d Guest\n" @@ -7285,22 +7515,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" @@ -7308,12 +7538,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" @@ -7321,26 +7551,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" @@ -7348,7 +7578,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 " @@ -7356,12 +7586,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" @@ -7369,39 +7599,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" @@ -7409,31 +7639,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 " @@ -7441,17 +7671,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:3252 -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" @@ -7459,33 +7684,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" @@ -7493,12 +7718,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" @@ -7506,24 +7731,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" @@ -7531,7 +7756,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" @@ -7539,24 +7764,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" @@ -7564,7 +7789,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-testing.pod:176 +#: ../examples/guestfs-testing.pod:190 #, no-wrap msgid "" " virt-inspector -d Guest | less\n" @@ -7572,17 +7797,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" @@ -7590,7 +7815,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" @@ -7598,7 +7823,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" @@ -7606,7 +7831,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" @@ -7614,12 +7839,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" @@ -7627,7 +7852,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" @@ -7635,7 +7860,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" @@ -7643,24 +7868,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" @@ -7668,7 +7893,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 " @@ -7676,29 +7901,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" @@ -7706,7 +7931,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-testing.pod:236 +#: ../examples/guestfs-testing.pod:250 #, no-wrap msgid "" " virt-rescue -d Guest\n" @@ -7714,24 +7939,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" @@ -7742,22 +7967,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" @@ -7765,26 +7990,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" @@ -7792,26 +8017,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" @@ -7820,7 +8045,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" @@ -7829,19 +8054,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' " @@ -7851,7 +8076,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/>." @@ -8173,7 +8398,7 @@ msgid "" msgstr "" #. type: =item -#: ../fish/guestfish-actions.pod:174 ../src/guestfs-actions.pod:234 ../src/guestfs.pod:3131 +#: ../fish/guestfish-actions.pod:174 ../src/guestfs-actions.pod:234 ../src/guestfs.pod:3137 msgid "C<format>" msgstr "" @@ -18299,7 +18524,7 @@ msgid "" msgstr "" #. type: =item -#: ../fish/guestfish-actions.pod:4903 ../src/guestfs-actions.pod:7698 ../src/guestfs.pod:3095 +#: ../fish/guestfish-actions.pod:4903 ../src/guestfs-actions.pod:7698 ../src/guestfs.pod:3101 msgid "C<appliance>" msgstr "" @@ -22230,7 +22455,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../fish/guestfish.pod:135 ../src/guestfs.pod:2417 +#: ../fish/guestfish.pod:135 ../src/guestfs.pod:2423 #, no-wrap msgid "" " guestfish -N fs\n" @@ -23727,7 +23952,7 @@ msgid "" msgstr "" #. type: =head2 -#: ../fish/guestfish.pod:837 ../src/guestfs.pod:519 +#: ../fish/guestfish.pod:837 ../src/guestfs.pod:525 msgid "ENCRYPTED DISKS" msgstr "" @@ -24369,7 +24594,7 @@ msgid "COMMANDS" msgstr "" #. type: textblock -#: ../fish/guestfish.pod:1124 ../src/guestfs.pod:1694 +#: ../fish/guestfish.pod:1124 ../src/guestfs.pod:1700 msgid "@ACTIONS@" msgstr "" @@ -24393,17 +24618,17 @@ msgid "" msgstr "" #. type: =item -#: ../fish/guestfish.pod:1140 ../src/guestfs.pod:3382 +#: ../fish/guestfish.pod:1140 ../src/guestfs.pod:3388 msgid "FEBOOTSTRAP_KERNEL" msgstr "" #. type: =item -#: ../fish/guestfish.pod:1142 ../src/guestfs.pod:3384 +#: ../fish/guestfish.pod:1142 ../src/guestfs.pod:3390 msgid "FEBOOTSTRAP_MODULES" msgstr "" #. type: textblock -#: ../fish/guestfish.pod:1144 ../src/guestfs.pod:3386 +#: ../fish/guestfish.pod:1144 ../src/guestfs.pod:3392 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 " @@ -24461,17 +24686,17 @@ msgid "" msgstr "" #. type: =item -#: ../fish/guestfish.pod:1172 ../src/guestfs.pod:3392 +#: ../fish/guestfish.pod:1172 ../src/guestfs.pod:3398 msgid "LIBGUESTFS_APPEND" msgstr "" #. type: textblock -#: ../fish/guestfish.pod:1174 ../src/guestfs.pod:3394 +#: ../fish/guestfish.pod:1174 ../src/guestfs.pod:3400 msgid "Pass additional options to the guest kernel." msgstr "" #. type: =item -#: ../fish/guestfish.pod:1176 ../src/guestfs.pod:3396 +#: ../fish/guestfish.pod:1176 ../src/guestfs.pod:3402 msgid "LIBGUESTFS_DEBUG" msgstr "" @@ -24483,17 +24708,17 @@ msgid "" msgstr "" #. type: =item -#: ../fish/guestfish.pod:1181 ../src/guestfs.pod:3401 +#: ../fish/guestfish.pod:1181 ../src/guestfs.pod:3407 msgid "LIBGUESTFS_MEMSIZE" msgstr "" #. type: textblock -#: ../fish/guestfish.pod:1183 ../src/guestfs.pod:3403 +#: ../fish/guestfish.pod:1183 ../src/guestfs.pod:3409 msgid "Set the memory allocated to the qemu process, in megabytes. For example:" msgstr "" #. type: verbatim -#: ../fish/guestfish.pod:1186 ../src/guestfs.pod:3406 +#: ../fish/guestfish.pod:1186 ../src/guestfs.pod:3412 #, no-wrap msgid "" " LIBGUESTFS_MEMSIZE=700\n" @@ -24501,7 +24726,7 @@ msgid "" msgstr "" #. type: =item -#: ../fish/guestfish.pod:1188 ../src/guestfs.pod:3408 +#: ../fish/guestfish.pod:1188 ../src/guestfs.pod:3414 msgid "LIBGUESTFS_PATH" msgstr "" @@ -24513,19 +24738,19 @@ msgid "" msgstr "" #. type: =item -#: ../fish/guestfish.pod:1193 ../src/guestfs.pod:3413 +#: ../fish/guestfish.pod:1193 ../src/guestfs.pod:3419 msgid "LIBGUESTFS_QEMU" msgstr "" #. type: textblock -#: ../fish/guestfish.pod:1195 ../src/guestfs.pod:3415 +#: ../fish/guestfish.pod:1195 ../src/guestfs.pod:3421 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:1199 ../src/guestfs.pod:3421 +#: ../fish/guestfish.pod:1199 ../src/guestfs.pod:3427 msgid "LIBGUESTFS_TRACE" msgstr "" @@ -24547,19 +24772,19 @@ msgid "" msgstr "" #. type: =item -#: ../fish/guestfish.pod:1208 ../sparsify/virt-sparsify.pod:276 ../src/guestfs.pod:3426 +#: ../fish/guestfish.pod:1208 ../sparsify/virt-sparsify.pod:276 ../src/guestfs.pod:3432 msgid "TMPDIR" msgstr "" #. type: textblock -#: ../fish/guestfish.pod:1210 ../src/guestfs.pod:3428 +#: ../fish/guestfish.pod:1210 ../src/guestfs.pod:3434 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:1213 ../src/guestfs.pod:3431 +#: ../fish/guestfish.pod:1213 ../src/guestfs.pod:3437 msgid "" "If libguestfs was compiled to use the supermin appliance then the real " "appliance is cached in this directory, shared between all handles belonging " @@ -40265,26 +40490,39 @@ msgid "" "LANGUAGES> below." msgstr "" -#. type: =head1 +#. type: textblock #: ../src/guestfs.pod:41 -msgid "API OVERVIEW" +msgid "For tips and recipes, see L<guestfs-recipes(1)>." msgstr "" #. type: textblock #: ../src/guestfs.pod:43 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:47 +msgid "API OVERVIEW" +msgstr "" + +#. type: textblock +#: ../src/guestfs.pod:49 +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 " "about the individual calls in the main section of this manual." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:48 +#: ../src/guestfs.pod:54 msgid "HANDLES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:50 +#: ../src/guestfs.pod:56 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 " @@ -40294,12 +40532,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:57 +#: ../src/guestfs.pod:63 msgid "The general structure of all libguestfs-using programs looks like this:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:60 +#: ../src/guestfs.pod:66 #, no-wrap msgid "" " guestfs_h *g = guestfs_create ();\n" @@ -40307,7 +40545,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:62 +#: ../src/guestfs.pod:68 #, no-wrap msgid "" " /* Call guestfs_add_drive additional times if there are\n" @@ -40318,7 +40556,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:67 +#: ../src/guestfs.pod:73 #, no-wrap msgid "" " /* Most manipulation calls won't work until you've launched\n" @@ -40330,7 +40568,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:73 +#: ../src/guestfs.pod:79 #, no-wrap msgid "" " /* Now you can examine what partitions, LVs etc are available.\n" @@ -40341,7 +40579,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:78 +#: ../src/guestfs.pod:84 #, no-wrap msgid "" " /* To access a filesystem in the image, you must mount it.\n" @@ -40351,7 +40589,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:82 +#: ../src/guestfs.pod:88 #, no-wrap msgid "" " /* Now you can perform filesystem actions on the guest\n" @@ -40362,7 +40600,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:87 +#: ../src/guestfs.pod:93 #, no-wrap msgid "" " /* Synchronize the disk. This is the opposite of guestfs_launch. */\n" @@ -40371,7 +40609,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:90 +#: ../src/guestfs.pod:96 #, no-wrap msgid "" " /* Close and free the handle 'g'. */\n" @@ -40380,7 +40618,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:93 +#: ../src/guestfs.pod:99 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 " @@ -40392,12 +40630,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:102 +#: ../src/guestfs.pod:108 msgid "DISK IMAGES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:104 +#: ../src/guestfs.pod:110 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 " @@ -40407,7 +40645,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:110 +#: ../src/guestfs.pod:116 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 " @@ -40415,7 +40653,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:114 +#: ../src/guestfs.pod:120 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename,\n" @@ -40425,12 +40663,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:118 +#: ../src/guestfs.pod:124 msgid "You can add a disk read-only using:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:120 +#: ../src/guestfs.pod:126 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename,\n" @@ -40441,14 +40679,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:125 +#: ../src/guestfs.pod:131 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:128 +#: ../src/guestfs.pod:134 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 " @@ -40456,7 +40694,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:132 +#: ../src/guestfs.pod:138 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 " @@ -40464,7 +40702,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:137 +#: ../src/guestfs.pod:143 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 " @@ -40472,12 +40710,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:142 +#: ../src/guestfs.pod:148 msgid "MOUNTING" msgstr "" #. type: textblock -#: ../src/guestfs.pod:144 +#: ../src/guestfs.pod:150 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 " @@ -40487,7 +40725,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:151 +#: ../src/guestfs.pod:157 #, no-wrap msgid "" " guestfs_mount_options (g, \"\", \"/dev/sda1\", \"/\");\n" @@ -40495,7 +40733,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:153 +#: ../src/guestfs.pod:159 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 " @@ -40505,7 +40743,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:159 +#: ../src/guestfs.pod:165 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 " @@ -40516,7 +40754,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:167 +#: ../src/guestfs.pod:173 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 " @@ -40524,19 +40762,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:172 +#: ../src/guestfs.pod:178 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:175 +#: ../src/guestfs.pod:181 msgid "FILESYSTEM ACCESS AND MODIFICATION" msgstr "" #. type: textblock -#: ../src/guestfs.pod:177 +#: ../src/guestfs.pod:183 msgid "" "The majority of the libguestfs API consists of fairly low-level calls for " "accessing and modifying the files, directories, symlinks etc on mounted " @@ -40546,21 +40784,21 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:183 +#: ../src/guestfs.pod:189 msgid "" "Specify filenames as full paths, starting with C<\"/\"> and including the " "mount point." msgstr "" #. type: textblock -#: ../src/guestfs.pod:186 +#: ../src/guestfs.pod:192 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:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:189 +#: ../src/guestfs.pod:195 #, no-wrap msgid "" " char *data = guestfs_cat (g, \"/etc/passwd\");\n" @@ -40568,7 +40806,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:191 +#: ../src/guestfs.pod:197 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), " @@ -40576,14 +40814,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:195 +#: ../src/guestfs.pod:201 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:198 +#: ../src/guestfs.pod:204 #, no-wrap msgid "" " guestfs_mkdir (g, \"/var\");\n" @@ -40591,12 +40829,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:200 +#: ../src/guestfs.pod:206 msgid "To create a symlink you could do:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:202 +#: ../src/guestfs.pod:208 #, no-wrap msgid "" " guestfs_ln_s (g, \"/etc/init.d/portmap\",\n" @@ -40605,14 +40843,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:205 +#: ../src/guestfs.pod:211 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:208 +#: ../src/guestfs.pod:214 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 " @@ -40622,40 +40860,40 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:214 +#: ../src/guestfs.pod:220 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: textblock -#: ../src/guestfs.pod:217 +#: ../src/guestfs.pod:223 msgid "" "Since libguestfs 1.18, it is possible to mount the libguestfs filesystem on " "a local directory, subject to some restrictions. See L</MOUNT LOCAL> below." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:221 +#: ../src/guestfs.pod:227 msgid "PARTITIONING" msgstr "" #. type: textblock -#: ../src/guestfs.pod:223 +#: ../src/guestfs.pod:229 msgid "" "Libguestfs contains API calls to read, create and modify partition tables on " "disk images." msgstr "" #. type: textblock -#: ../src/guestfs.pod:226 +#: ../src/guestfs.pod:232 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:230 +#: ../src/guestfs.pod:236 #, no-wrap msgid "" " const char *parttype = \"mbr\";\n" @@ -40666,19 +40904,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:235 +#: ../src/guestfs.pod:241 msgid "" "Obviously this effectively wipes anything that was on that disk image " "before." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:238 +#: ../src/guestfs.pod:244 msgid "LVM2" msgstr "" #. type: textblock -#: ../src/guestfs.pod:240 +#: ../src/guestfs.pod:246 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 " @@ -40687,19 +40925,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:245 +#: ../src/guestfs.pod:251 msgid "" "This author strongly recommends reading the LVM HOWTO, online at " "L<http://tldp.org/HOWTO/LVM-HOWTO/>." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:248 +#: ../src/guestfs.pod:254 msgid "DOWNLOADING" msgstr "" #. type: textblock -#: ../src/guestfs.pod:250 +#: ../src/guestfs.pod:256 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 " @@ -40707,7 +40945,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:254 +#: ../src/guestfs.pod:260 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 " @@ -40715,31 +40953,31 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:258 +#: ../src/guestfs.pod:264 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:261 +#: ../src/guestfs.pod:267 msgid "To download multiple files, see L</guestfs_tar_out> and L</guestfs_tgz_out>." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:264 +#: ../src/guestfs.pod:270 msgid "UPLOADING" msgstr "" #. type: textblock -#: ../src/guestfs.pod:266 +#: ../src/guestfs.pod:272 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:269 +#: ../src/guestfs.pod:275 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 " @@ -40749,19 +40987,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:275 +#: ../src/guestfs.pod:281 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:278 +#: ../src/guestfs.pod:284 msgid "To upload multiple files, see L</guestfs_tar_in> and L</guestfs_tgz_in>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:280 +#: ../src/guestfs.pod:286 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 " @@ -40775,12 +41013,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:291 +#: ../src/guestfs.pod:297 msgid "COPYING" msgstr "" #. type: textblock -#: ../src/guestfs.pod:293 +#: ../src/guestfs.pod:299 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 " @@ -40788,51 +41026,51 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:299 +#: ../src/guestfs.pod:305 msgid "B<file> to B<file>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:301 +#: ../src/guestfs.pod:307 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:304 +#: ../src/guestfs.pod:310 msgid "To copy part of a file (offset and size) use L</guestfs_copy_file_to_file>." msgstr "" #. type: =item -#: ../src/guestfs.pod:307 +#: ../src/guestfs.pod:313 msgid "B<file> to B<device>" msgstr "" #. type: =item -#: ../src/guestfs.pod:309 +#: ../src/guestfs.pod:315 msgid "B<device> to B<file>" msgstr "" #. type: =item -#: ../src/guestfs.pod:311 +#: ../src/guestfs.pod:317 msgid "B<device> to B<device>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:313 +#: ../src/guestfs.pod:319 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:316 +#: ../src/guestfs.pod:322 msgid "Example: duplicate the contents of an LV:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:318 +#: ../src/guestfs.pod:324 #, no-wrap msgid "" " guestfs_copy_device_to_device (g,\n" @@ -40843,7 +41081,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:323 +#: ../src/guestfs.pod:329 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 " @@ -40851,7 +41089,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:327 +#: ../src/guestfs.pod:333 #, no-wrap msgid "" " guestfs_copy_device_to_device (g,\n" @@ -40862,32 +41100,32 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:332 +#: ../src/guestfs.pod:338 msgid "B<file on the host> to B<file or device>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:334 +#: ../src/guestfs.pod:340 msgid "Use L</guestfs_upload>. See L</UPLOADING> above." msgstr "" #. type: =item -#: ../src/guestfs.pod:336 +#: ../src/guestfs.pod:342 msgid "B<file or device> to B<file on the host>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:338 +#: ../src/guestfs.pod:344 msgid "Use L</guestfs_download>. See L</DOWNLOADING> above." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:342 +#: ../src/guestfs.pod:348 msgid "UPLOADING AND DOWNLOADING TO PIPES AND FILE DESCRIPTORS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:344 +#: ../src/guestfs.pod:350 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 " @@ -40898,12 +41136,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:352 +#: ../src/guestfs.pod:358 msgid "For example, L<virt-cat(1)> writes its output to stdout by doing:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:355 +#: ../src/guestfs.pod:361 #, no-wrap msgid "" " guestfs_download (g, filename, \"/dev/stdout\");\n" @@ -40911,12 +41149,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:357 +#: ../src/guestfs.pod:363 msgid "and you can write tar output to a file descriptor C<fd> by doing:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:359 +#: ../src/guestfs.pod:365 #, no-wrap msgid "" " char devfd[64];\n" @@ -40926,26 +41164,26 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:363 +#: ../src/guestfs.pod:369 msgid "LISTING FILES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:365 +#: ../src/guestfs.pod:371 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:368 +#: ../src/guestfs.pod:374 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:371 +#: ../src/guestfs.pod:377 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 " @@ -40953,19 +41191,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:375 +#: ../src/guestfs.pod:381 msgid "" "L</guestfs_find> and L</guestfs_find0> can be used to recursively list " "files." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:378 +#: ../src/guestfs.pod:384 msgid "RUNNING COMMANDS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:380 +#: ../src/guestfs.pod:386 msgid "" "Although libguestfs is primarily an API for manipulating files inside guest " "images, we also provide some limited facilities for running commands inside " @@ -40973,55 +41211,55 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:384 +#: ../src/guestfs.pod:390 msgid "There are many limitations to this:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:390 +#: ../src/guestfs.pod:396 msgid "" "The kernel version that the command runs under will be different from what " "it expects." msgstr "" #. type: textblock -#: ../src/guestfs.pod:395 +#: ../src/guestfs.pod:401 msgid "" "If the command needs to communicate with daemons, then most likely they " "won't be running." msgstr "" #. type: textblock -#: ../src/guestfs.pod:400 +#: ../src/guestfs.pod:406 msgid "The command will be running in limited memory." msgstr "" #. type: textblock -#: ../src/guestfs.pod:404 +#: ../src/guestfs.pod:410 msgid "" "The network may not be available unless you enable it (see " "L</guestfs_set_network>)." msgstr "" #. type: textblock -#: ../src/guestfs.pod:409 +#: ../src/guestfs.pod:415 msgid "Only supports Linux guests (not Windows, BSD, etc)." msgstr "" #. type: textblock -#: ../src/guestfs.pod:413 +#: ../src/guestfs.pod:419 msgid "Architecture limitations (eg. won't work for a PPC guest on an X86 host)." msgstr "" #. type: textblock -#: ../src/guestfs.pod:418 +#: ../src/guestfs.pod:424 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:423 +#: ../src/guestfs.pod:429 msgid "" "I<Security:> It is not safe to run commands from untrusted, possibly " "malicious guests. These commands may attempt to exploit your program by " @@ -41033,7 +41271,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:432 +#: ../src/guestfs.pod:438 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 " @@ -41043,26 +41281,26 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:440 +#: ../src/guestfs.pod:446 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:443 +#: ../src/guestfs.pod:449 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:446 +#: ../src/guestfs.pod:452 msgid "CONFIGURATION FILES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:448 +#: ../src/guestfs.pod:454 msgid "" "To read and write configuration files in Linux guest filesystems, we " "strongly recommend using Augeas. For example, Augeas understands how to " @@ -41071,7 +41309,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:453 +#: ../src/guestfs.pod:459 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 " @@ -41079,7 +41317,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:457 +#: ../src/guestfs.pod:463 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 " @@ -41087,24 +41325,24 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:461 +#: ../src/guestfs.pod:467 msgid "SELINUX" msgstr "" #. type: textblock -#: ../src/guestfs.pod:463 +#: ../src/guestfs.pod:469 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:471 +#: ../src/guestfs.pod:477 msgid "Before launching, do:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:473 +#: ../src/guestfs.pod:479 #, no-wrap msgid "" " guestfs_set_selinux (g, 1);\n" @@ -41112,14 +41350,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:477 +#: ../src/guestfs.pod:483 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:481 +#: ../src/guestfs.pod:487 #, no-wrap msgid "" " guestfs_sh (g, \"/usr/sbin/load_policy\");\n" @@ -41127,21 +41365,21 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:483 +#: ../src/guestfs.pod:489 msgid "" "(Older versions of C<load_policy> require you to specify the name of the " "policy file)." msgstr "" #. type: textblock -#: ../src/guestfs.pod:488 +#: ../src/guestfs.pod:494 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:492 +#: ../src/guestfs.pod:498 #, no-wrap msgid "" " guestfs_setcon (g, \"unconfined_u:unconfined_r:unconfined_t:s0\");\n" @@ -41149,24 +41387,24 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:496 +#: ../src/guestfs.pod:502 msgid "This will work for running commands and editing existing files." msgstr "" #. type: textblock -#: ../src/guestfs.pod:498 +#: ../src/guestfs.pod:504 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:502 +#: ../src/guestfs.pod:508 msgid "UMASK" msgstr "" #. type: textblock -#: ../src/guestfs.pod:504 +#: ../src/guestfs.pod:510 msgid "" "Certain calls are affected by the current file mode creation mask (the " "\"umask\"). In particular ones which create files or directories, such as " @@ -41176,14 +41414,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:510 +#: ../src/guestfs.pod:516 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:513 +#: ../src/guestfs.pod:519 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 " @@ -41191,12 +41429,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:517 +#: ../src/guestfs.pod:523 msgid "For more information about umask, see L<umask(2)>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:521 +#: ../src/guestfs.pod:527 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) " @@ -41205,21 +41443,21 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:527 +#: ../src/guestfs.pod:533 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:530 +#: ../src/guestfs.pod:536 msgid "" "Then open these devices by calling L</guestfs_luks_open>. Obviously you " "will require the passphrase!" msgstr "" #. type: textblock -#: ../src/guestfs.pod:533 +#: ../src/guestfs.pod:539 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 " @@ -41228,7 +41466,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:539 +#: ../src/guestfs.pod:545 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 " @@ -41236,7 +41474,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:543 +#: ../src/guestfs.pod:549 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, " @@ -41246,19 +41484,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:550 +#: ../src/guestfs.pod:556 msgid "MOUNT LOCAL" msgstr "" #. type: textblock -#: ../src/guestfs.pod:552 +#: ../src/guestfs.pod:558 msgid "" "In libguestfs E<ge> 1.18, it is possible to mount the libguestfs filesystem " "on a local directory and access it using ordinary POSIX calls and programs." msgstr "" #. type: textblock -#: ../src/guestfs.pod:556 +#: ../src/guestfs.pod:562 msgid "" "Availability of this is subject to a number of restrictions: it requires " "FUSE (the Filesystem in USErspace), and libfuse must also have been " @@ -41269,7 +41507,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:563 +#: ../src/guestfs.pod:569 msgid "" "The call to mount the libguestfs filesystem on a local directory is " "L</guestfs_mount_local> (q.v.) followed by L</guestfs_mount_local_run>. The " @@ -41282,7 +41520,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:573 +#: ../src/guestfs.pod:579 msgid "" "L</guestfs_mount_local> needs a certain amount of time to set up the " "mountpoint. The mountpoint is not ready to use until the call returns. At " @@ -41293,12 +41531,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:581 +#: ../src/guestfs.pod:587 msgid "MOUNT LOCAL COMPATIBILITY" msgstr "" #. type: textblock -#: ../src/guestfs.pod:583 +#: ../src/guestfs.pod:589 msgid "" "Since local mounting was only added in libguestfs 1.18, and may not be " "available even in these builds, you should consider writing code so that it " @@ -41307,7 +41545,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:588 +#: ../src/guestfs.pod:594 msgid "" "If libguestfs was compiled without support for L</guestfs_mount_local> then " "calling it will return an error with errno set to C<ENOTSUP> (see " @@ -41315,12 +41553,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:592 +#: ../src/guestfs.pod:598 msgid "MOUNT LOCAL PERFORMANCE" msgstr "" #. type: textblock -#: ../src/guestfs.pod:594 +#: ../src/guestfs.pod:600 msgid "" "Libguestfs on top of FUSE performs quite poorly. For best performance do " "not use it. Use ordinary libguestfs filesystem calls, upload, download " @@ -41328,12 +41566,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:598 +#: ../src/guestfs.pod:604 msgid "INSPECTION" msgstr "" #. type: textblock -#: ../src/guestfs.pod:600 +#: ../src/guestfs.pod:606 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 " @@ -41343,14 +41581,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:607 +#: ../src/guestfs.pod:613 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:610 +#: ../src/guestfs.pod:616 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 " @@ -41363,7 +41601,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:619 +#: ../src/guestfs.pod:625 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 " @@ -41372,7 +41610,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:625 +#: ../src/guestfs.pod:631 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 " @@ -41383,7 +41621,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:632 +#: ../src/guestfs.pod:638 #, no-wrap msgid "" " /boot => /dev/sda1\n" @@ -41393,14 +41631,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:636 +#: ../src/guestfs.pod:642 msgid "" "The caller can then make calls to L</guestfs_mount_options> to mount the " "filesystems as suggested." msgstr "" #. type: textblock -#: ../src/guestfs.pod:639 +#: ../src/guestfs.pod:645 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 " @@ -41408,7 +41646,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:643 +#: ../src/guestfs.pod:649 msgid "" "Inspection currently only works for some common operating systems. " "Contributors are welcome to send patches for other operating systems that we " @@ -41416,7 +41654,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:647 +#: ../src/guestfs.pod:653 msgid "" "Encrypted disks must be opened before inspection. See L</ENCRYPTED DISKS> " "for more details. The L</guestfs_inspect_os> function just ignores any " @@ -41424,7 +41662,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:651 +#: ../src/guestfs.pod:657 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 " @@ -41437,19 +41675,19 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:660 +#: ../src/guestfs.pod:666 msgid "INSPECTING INSTALL DISKS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:662 +#: ../src/guestfs.pod:668 msgid "" "Libguestfs (since 1.9.4) can detect some install disks, install CDs, live " "CDs and more." msgstr "" #. type: textblock -#: ../src/guestfs.pod:665 +#: ../src/guestfs.pod:671 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 " @@ -41457,7 +41695,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:669 +#: ../src/guestfs.pod:675 msgid "" "Further information is available about the operating system that can be " "installed using the regular inspection APIs like " @@ -41466,7 +41704,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:674 +#: ../src/guestfs.pod:680 msgid "" "Some additional information specific to installer disks is also available " "from the L</guestfs_inspect_is_live>, L</guestfs_inspect_is_netinst> and " @@ -41474,24 +41712,24 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:679 +#: ../src/guestfs.pod:685 msgid "SPECIAL CONSIDERATIONS FOR WINDOWS GUESTS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:681 +#: ../src/guestfs.pod:687 msgid "" "Libguestfs can mount NTFS partitions. It does this using the " "L<http://www.ntfs-3g.org/> driver." msgstr "" #. type: =head3 -#: ../src/guestfs.pod:684 +#: ../src/guestfs.pod:690 msgid "DRIVE LETTERS AND PATHS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:686 +#: ../src/guestfs.pod:692 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 " @@ -41501,14 +41739,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:692 +#: ../src/guestfs.pod:698 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:695 +#: ../src/guestfs.pod:701 msgid "" "Dealing with separator characters (backslash vs forward slash) is outside " "the scope of libguestfs, but usually a simple character replacement will " @@ -41516,33 +41754,33 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:699 +#: ../src/guestfs.pod:705 msgid "" "To resolve the case insensitivity of paths, call " "L</guestfs_case_sensitive_path>." msgstr "" #. type: =head3 -#: ../src/guestfs.pod:702 +#: ../src/guestfs.pod:708 msgid "LONG FILENAMES ON NTFS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:704 +#: ../src/guestfs.pod:710 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:708 +#: ../src/guestfs.pod:714 msgid "" "Most Linux filesystems support filenames up to 255 I<bytes>. This means you " "may get an error:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:711 +#: ../src/guestfs.pod:717 #, no-wrap msgid "" " File name too long\n" @@ -41550,14 +41788,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:713 +#: ../src/guestfs.pod:719 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:716 +#: ../src/guestfs.pod:722 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 " @@ -41565,7 +41803,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:720 +#: ../src/guestfs.pod:726 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 " @@ -41573,12 +41811,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:724 +#: ../src/guestfs.pod:730 msgid "ACCESSING THE WINDOWS REGISTRY" msgstr "" #. type: textblock -#: ../src/guestfs.pod:726 +#: ../src/guestfs.pod:732 msgid "" "Libguestfs also provides some help for decoding Windows Registry \"hive\" " "files, through the library C<hivex> which is part of the libguestfs project " @@ -41589,12 +41827,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:734 +#: ../src/guestfs.pod:740 msgid "SYMLINKS ON NTFS-3G FILESYSTEMS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:736 +#: ../src/guestfs.pod:742 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 " @@ -41602,12 +41840,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:740 +#: ../src/guestfs.pod:746 msgid "L<http://www.tuxera.com/community/ntfs-3g-advanced/junction-points-and-symbolic-links/>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:742 +#: ../src/guestfs.pod:748 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 " @@ -41617,7 +41855,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:749 +#: ../src/guestfs.pod:755 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 " @@ -41626,36 +41864,36 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:754 +#: ../src/guestfs.pod:760 msgid "EXTENDED ATTRIBUTES ON NTFS-3G FILESYSTEMS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:756 +#: ../src/guestfs.pod:762 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:759 +#: ../src/guestfs.pod:765 msgid "L<http://www.tuxera.com/community/ntfs-3g-advanced/extended-attributes/>" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:761 +#: ../src/guestfs.pod:767 msgid "RESIZE2FS ERRORS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:763 +#: ../src/guestfs.pod:769 msgid "" "The L</guestfs_resize2fs>, L</guestfs_resize2fs_size> and " "L</guestfs_resize2fs_M> calls are used to resize ext2/3/4 filesystems." msgstr "" #. type: textblock -#: ../src/guestfs.pod:766 +#: ../src/guestfs.pod:772 msgid "" "The underlying program (L<resize2fs(8)>) requires that the filesystem is " "clean and recently fsck'd before you can resize it. Also, if the resize " @@ -41664,7 +41902,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:771 +#: ../src/guestfs.pod:777 msgid "" "In libguestfs C<lt> 1.17.14, you usually had to call L</guestfs_e2fsck_f> " "before the resize. However, in C<ge> 1.17.14, L<e2fsck(8)> is called " @@ -41672,14 +41910,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:776 +#: ../src/guestfs.pod:782 msgid "" "The L<resize2fs(8)> program can still fail, in which case it prints an error " "message similar to:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:779 +#: ../src/guestfs.pod:785 #, no-wrap msgid "" " Please run 'e2fsck -fy <device>' to fix the filesystem\n" @@ -41688,7 +41926,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:782 +#: ../src/guestfs.pod:788 msgid "" "You can do this by calling L</guestfs_e2fsck> with the C<forceall> option. " "However in the context of disk images, it is usually better to avoid this " @@ -41697,19 +41935,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:787 +#: ../src/guestfs.pod:793 msgid "USING LIBGUESTFS WITH OTHER PROGRAMMING LANGUAGES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:789 +#: ../src/guestfs.pod:795 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:792 +#: ../src/guestfs.pod:798 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)> " @@ -41719,14 +41957,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:798 +#: ../src/guestfs.pod:804 msgid "" "Error messages are automatically transformed into exceptions if the language " "supports it." msgstr "" #. type: textblock -#: ../src/guestfs.pod:801 +#: ../src/guestfs.pod:807 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 " @@ -41734,58 +41972,58 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:807 +#: ../src/guestfs.pod:813 msgid "B<C++>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:809 +#: ../src/guestfs.pod:815 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:813 +#: ../src/guestfs.pod:819 msgid "B<C#>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:815 +#: ../src/guestfs.pod:821 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:818 +#: ../src/guestfs.pod:824 msgid "B<Erlang>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:820 +#: ../src/guestfs.pod:826 msgid "See L<guestfs-erlang(3)>." msgstr "" #. type: =item -#: ../src/guestfs.pod:822 +#: ../src/guestfs.pod:828 msgid "B<GObject>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:824 +#: ../src/guestfs.pod:830 msgid "" "Experimental GObject bindings (with GObject Introspection support) are " "available. See the C<gobject> directory in the source." msgstr "" #. type: =item -#: ../src/guestfs.pod:827 +#: ../src/guestfs.pod:833 msgid "B<Haskell>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:829 +#: ../src/guestfs.pod:835 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 " @@ -41793,96 +42031,96 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:833 +#: ../src/guestfs.pod:839 msgid "B<Java>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:835 +#: ../src/guestfs.pod:841 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:838 +#: ../src/guestfs.pod:844 msgid "B<OCaml>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:840 +#: ../src/guestfs.pod:846 msgid "See L<guestfs-ocaml(3)>." msgstr "" #. type: =item -#: ../src/guestfs.pod:842 +#: ../src/guestfs.pod:848 msgid "B<Perl>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:844 +#: ../src/guestfs.pod:850 msgid "See L<guestfs-perl(3)> and L<Sys::Guestfs(3)>." msgstr "" #. type: =item -#: ../src/guestfs.pod:846 +#: ../src/guestfs.pod:852 msgid "B<PHP>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:848 +#: ../src/guestfs.pod:854 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:851 +#: ../src/guestfs.pod:857 msgid "The PHP binding only works correctly on 64 bit machines." msgstr "" #. type: =item -#: ../src/guestfs.pod:853 +#: ../src/guestfs.pod:859 msgid "B<Python>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:855 +#: ../src/guestfs.pod:861 msgid "See L<guestfs-python(3)>." msgstr "" #. type: =item -#: ../src/guestfs.pod:857 +#: ../src/guestfs.pod:863 msgid "B<Ruby>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:859 +#: ../src/guestfs.pod:865 msgid "See L<guestfs-ruby(3)>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:861 +#: ../src/guestfs.pod:867 msgid "For JRuby, use the Java bindings." msgstr "" #. type: =item -#: ../src/guestfs.pod:863 +#: ../src/guestfs.pod:869 msgid "B<shell scripts>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:865 +#: ../src/guestfs.pod:871 msgid "See L<guestfish(1)>." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:869 +#: ../src/guestfs.pod:875 msgid "LIBGUESTFS GOTCHAS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:871 +#: ../src/guestfs.pod:877 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 " @@ -41890,7 +42128,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:875 +#: ../src/guestfs.pod:881 msgid "" "Since we developed libguestfs and the associated tools, there are several " "things we would have designed differently, but are now stuck with for " @@ -41899,19 +42137,19 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:883 +#: ../src/guestfs.pod:889 msgid "Autosync / forgetting to sync." msgstr "" #. type: textblock -#: ../src/guestfs.pod:885 +#: ../src/guestfs.pod:891 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:888 +#: ../src/guestfs.pod:894 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 " @@ -41919,7 +42157,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:892 +#: ../src/guestfs.pod:898 #, no-wrap msgid "" " guestfs_set_autosync (g, 1);\n" @@ -41927,7 +42165,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:894 +#: ../src/guestfs.pod:900 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> " @@ -41935,7 +42173,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:898 +#: ../src/guestfs.pod:904 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 " @@ -41943,7 +42181,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:902 +#: ../src/guestfs.pod:908 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 " @@ -41951,19 +42189,19 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:906 +#: ../src/guestfs.pod:912 msgid "Mount option C<-o sync> should not be the default." msgstr "" #. type: textblock -#: ../src/guestfs.pod:908 +#: ../src/guestfs.pod:914 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:911 +#: ../src/guestfs.pod:917 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 " @@ -41971,31 +42209,31 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:915 +#: ../src/guestfs.pod:921 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:918 +#: ../src/guestfs.pod:924 msgid "Read-only should be the default." msgstr "" #. type: textblock -#: ../src/guestfs.pod:920 +#: ../src/guestfs.pod:926 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:923 +#: ../src/guestfs.pod:929 msgid "This would reduce the potential to corrupt live VM images." msgstr "" #. type: textblock -#: ../src/guestfs.pod:925 +#: ../src/guestfs.pod:931 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 " @@ -42003,12 +42241,12 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:929 +#: ../src/guestfs.pod:935 msgid "guestfish command line is hard to use." msgstr "" #. type: textblock -#: ../src/guestfs.pod:931 +#: ../src/guestfs.pod:937 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 " @@ -42018,12 +42256,12 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:938 +#: ../src/guestfs.pod:944 msgid "guestfish megabyte modifiers don't work right on all commands" msgstr "" #. type: textblock -#: ../src/guestfs.pod:940 +#: ../src/guestfs.pod:946 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 " @@ -42033,12 +42271,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:947 +#: ../src/guestfs.pod:953 msgid "The most common is L</guestfs_lvcreate>. The guestfish command:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:949 +#: ../src/guestfs.pod:955 #, no-wrap msgid "" " lvcreate LV VG 100M\n" @@ -42046,7 +42284,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:951 +#: ../src/guestfs.pod:957 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 " @@ -42055,19 +42293,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:956 +#: ../src/guestfs.pod:962 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:959 +#: ../src/guestfs.pod:965 msgid "Ambiguity between devices and paths" msgstr "" #. type: textblock -#: ../src/guestfs.pod:961 +#: ../src/guestfs.pod:967 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 " @@ -42075,7 +42313,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:966 +#: ../src/guestfs.pod:972 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>. " @@ -42084,7 +42322,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:972 +#: ../src/guestfs.pod:978 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 " @@ -42094,7 +42332,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:978 +#: ../src/guestfs.pod:984 #, no-wrap msgid "" " type path = Path of string | Device of int | Partition of int * int\n" @@ -42102,12 +42340,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:980 +#: ../src/guestfs.pod:986 msgid "which would allow you to pass arguments like:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:982 +#: ../src/guestfs.pod:988 #, no-wrap msgid "" " Path \"/foo/bar\"\n" @@ -42118,26 +42356,26 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:987 +#: ../src/guestfs.pod:993 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:992 +#: ../src/guestfs.pod:998 msgid "KEYS AND PASSPHRASES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:994 +#: ../src/guestfs.pod:1000 msgid "" "Certain libguestfs calls take a parameter that contains sensitive key " "material, passed in as a C string." msgstr "" #. type: textblock -#: ../src/guestfs.pod:997 +#: ../src/guestfs.pod:1003 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 " @@ -42146,7 +42384,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1002 +#: ../src/guestfs.pod:1008 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, " @@ -42154,19 +42392,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1007 +#: ../src/guestfs.pod:1013 msgid "MULTIPLE HANDLES AND MULTIPLE THREADS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1009 +#: ../src/guestfs.pod:1015 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:1012 +#: ../src/guestfs.pod:1018 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 " @@ -42174,33 +42412,33 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1016 +#: ../src/guestfs.pod:1022 msgid "" "See the graphical program guestfs-browser for one possible architecture for " "multithreaded programs using libvirt and libguestfs." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1019 +#: ../src/guestfs.pod:1025 msgid "PATH" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1021 +#: ../src/guestfs.pod:1027 msgid "" "Libguestfs needs a supermin appliance, which it finds by looking along an " "internal path." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1024 +#: ../src/guestfs.pod:1030 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:1027 +#: ../src/guestfs.pod:1033 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 " @@ -42211,12 +42449,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1034 +#: ../src/guestfs.pod:1040 msgid "QEMU WRAPPERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1036 +#: ../src/guestfs.pod:1042 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 " @@ -42224,7 +42462,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1040 +#: ../src/guestfs.pod:1046 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 " @@ -42233,14 +42471,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1045 +#: ../src/guestfs.pod:1051 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:1048 +#: ../src/guestfs.pod:1054 #, no-wrap msgid "" " #!/bin/sh -\n" @@ -42251,7 +42489,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1052 +#: ../src/guestfs.pod:1058 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 " @@ -42259,7 +42497,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1056 +#: ../src/guestfs.pod:1062 #, no-wrap msgid "" " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n" @@ -42267,14 +42505,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1058 +#: ../src/guestfs.pod:1064 msgid "" "Note that libguestfs also calls qemu with the -help and -version options in " "order to determine features." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1061 +#: ../src/guestfs.pod:1067 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 " @@ -42284,7 +42522,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1070 +#: ../src/guestfs.pod:1076 #, no-wrap msgid "" " i=0\n" @@ -42302,7 +42540,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1082 +#: ../src/guestfs.pod:1088 #, no-wrap msgid "" " exec qemu-kvm -machine pc,accel=tcg \"${args[@]}\"\n" @@ -42310,19 +42548,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1084 +#: ../src/guestfs.pod:1090 msgid "ATTACHING TO RUNNING DAEMONS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1086 +#: ../src/guestfs.pod:1092 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:1089 +#: ../src/guestfs.pod:1095 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 " @@ -42330,12 +42568,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:1093 +#: ../src/guestfs.pod:1099 msgid "Using guestfs_set_attach_method" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1095 +#: ../src/guestfs.pod:1101 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 " @@ -42343,14 +42581,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1099 +#: ../src/guestfs.pod:1105 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:1102 +#: ../src/guestfs.pod:1108 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 " @@ -42358,7 +42596,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1106 +#: ../src/guestfs.pod:1112 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 " @@ -42366,12 +42604,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:1110 +#: ../src/guestfs.pod:1116 msgid "Using guestfs_add_domain with live flag" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1112 +#: ../src/guestfs.pod:1118 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 " @@ -42380,7 +42618,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1118 +#: ../src/guestfs.pod:1124 #, no-wrap msgid "" " <domain>\n" @@ -42398,14 +42636,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1130 +#: ../src/guestfs.pod:1136 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:1133 +#: ../src/guestfs.pod:1139 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 " @@ -42413,19 +42651,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1137 +#: ../src/guestfs.pod:1143 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:1141 +#: ../src/guestfs.pod:1147 msgid "ABI GUARANTEE" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1143 +#: ../src/guestfs.pod:1149 msgid "" "We guarantee the libguestfs ABI (binary interface), for public, high-level " "actions as outlined in this section. Although we will deprecate some " @@ -42435,12 +42673,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1149 +#: ../src/guestfs.pod:1155 msgid "BLOCK DEVICE NAMING" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1151 +#: ../src/guestfs.pod:1157 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 " @@ -42455,7 +42693,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1163 +#: ../src/guestfs.pod:1169 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 " @@ -42463,7 +42701,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1167 +#: ../src/guestfs.pod:1173 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 " @@ -42471,7 +42709,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1172 +#: ../src/guestfs.pod:1178 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 " @@ -42480,7 +42718,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1178 +#: ../src/guestfs.pod:1184 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 " @@ -42488,12 +42726,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:1183 +#: ../src/guestfs.pod:1189 msgid "ALGORITHM FOR BLOCK DEVICE NAME TRANSLATION" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1185 +#: ../src/guestfs.pod:1191 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 " @@ -42503,7 +42741,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1191 +#: ../src/guestfs.pod:1197 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 " @@ -42511,54 +42749,54 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1199 +#: ../src/guestfs.pod:1205 msgid "Is the string a parameter which is a device or partition name?" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1203 +#: ../src/guestfs.pod:1209 msgid "Does the string begin with C</dev/sd>?" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1207 +#: ../src/guestfs.pod:1213 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:1212 +#: ../src/guestfs.pod:1218 msgid "Replace initial C</dev/sd> string with C</dev/hd>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1214 +#: ../src/guestfs.pod:1220 msgid "For example, change C</dev/sda2> to C</dev/hda2>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1216 +#: ../src/guestfs.pod:1222 msgid "If that named device exists, use it. If not, continue." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1220 +#: ../src/guestfs.pod:1226 msgid "Replace initial C</dev/sd> string with C</dev/vd>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1222 +#: ../src/guestfs.pod:1228 msgid "If that named device exists, use it. If not, return an error." msgstr "" #. type: =head3 -#: ../src/guestfs.pod:1226 +#: ../src/guestfs.pod:1232 msgid "PORTABILITY CONCERNS WITH BLOCK DEVICE NAMING" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1228 +#: ../src/guestfs.pod:1234 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 " @@ -42566,38 +42804,38 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1232 +#: ../src/guestfs.pod:1238 msgid "" "Where possible for maximum future portability programs using libguestfs " "should use these future-proof techniques:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1239 +#: ../src/guestfs.pod:1245 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:1242 +#: ../src/guestfs.pod:1248 msgid "Since those device names exist by definition, they will never be translated." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1247 +#: ../src/guestfs.pod:1253 msgid "" "Use higher level ways to identify filesystems, such as LVM names, UUIDs and " "filesystem labels." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1252 +#: ../src/guestfs.pod:1258 msgid "NULL DISKS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1254 +#: ../src/guestfs.pod:1260 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 " @@ -42605,46 +42843,46 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1258 +#: ../src/guestfs.pod:1264 msgid "A null disk has the following properties:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1264 +#: ../src/guestfs.pod:1270 msgid "" "A null disk will appear as a normal device, eg. in calls to " "L</guestfs_list_devices>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1269 +#: ../src/guestfs.pod:1275 msgid "You may add C<\"/dev/null\"> multiple times." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1273 +#: ../src/guestfs.pod:1279 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:1278 +#: ../src/guestfs.pod:1284 msgid "Null disks are used for three main purposes:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1284 +#: ../src/guestfs.pod:1290 msgid "Performance testing of libguestfs (see L<guestfs-performance(1)>)." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1288 +#: ../src/guestfs.pod:1294 msgid "The internal test suite." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1292 +#: ../src/guestfs.pod:1298 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 " @@ -42652,12 +42890,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1296 +#: ../src/guestfs.pod:1302 msgid "For example, to test if a feature is available, use code like this:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1298 +#: ../src/guestfs.pod:1304 #, no-wrap msgid "" " guestfs_h *g;\n" @@ -42666,7 +42904,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1301 +#: ../src/guestfs.pod:1307 #, no-wrap msgid "" " g = guestfs_create ();\n" @@ -42682,24 +42920,24 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:1313 ../sysprep/virt-sysprep.pod:386 +#: ../src/guestfs.pod:1319 ../sysprep/virt-sysprep.pod:386 msgid "SECURITY" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1315 +#: ../src/guestfs.pod:1321 msgid "" "This section discusses security implications of using libguestfs, " "particularly with untrusted or malicious guests or disk images." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1318 +#: ../src/guestfs.pod:1324 msgid "GENERAL SECURITY CONSIDERATIONS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1320 +#: ../src/guestfs.pod:1326 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 " @@ -42709,42 +42947,42 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1330 +#: ../src/guestfs.pod:1336 msgid "the data (file etc) not being present" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1334 +#: ../src/guestfs.pod:1340 msgid "being present but empty" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1338 +#: ../src/guestfs.pod:1344 msgid "being much larger than normal" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1342 +#: ../src/guestfs.pod:1348 msgid "containing arbitrary 8 bit data" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1346 +#: ../src/guestfs.pod:1352 msgid "being in an unexpected character encoding" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1350 +#: ../src/guestfs.pod:1356 msgid "containing homoglyphs." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1354 +#: ../src/guestfs.pod:1360 msgid "SECURITY OF MOUNTING FILESYSTEMS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1356 +#: ../src/guestfs.pod:1362 msgid "" "When you mount a filesystem under Linux, mistakes in the kernel filesystem " "(VFS) module can sometimes be escalated into exploits by deliberately " @@ -42760,7 +42998,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1369 +#: ../src/guestfs.pod:1375 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 " @@ -42774,19 +43012,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1380 +#: ../src/guestfs.pod:1386 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:1383 +#: ../src/guestfs.pod:1389 msgid "PROTOCOL SECURITY" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1385 +#: ../src/guestfs.pod:1391 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 " @@ -42796,12 +43034,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1391 +#: ../src/guestfs.pod:1397 msgid "INSPECTION SECURITY" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1393 +#: ../src/guestfs.pod:1399 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 " @@ -42810,7 +43048,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1399 +#: ../src/guestfs.pod:1405 msgid "" "Guest configuration may be altered in unusual ways by the administrator of " "the virtual machine, and may not reflect reality (particularly for untrusted " @@ -42821,7 +43059,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1407 +#: ../src/guestfs.pod:1413 msgid "" "The inspection API parses guest configuration using two external libraries: " "Augeas (Linux configuration) and hivex (Windows Registry). Both are " @@ -42831,12 +43069,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1413 +#: ../src/guestfs.pod:1419 msgid "RUNNING UNTRUSTED GUEST COMMANDS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1415 +#: ../src/guestfs.pod:1421 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 " @@ -42846,24 +43084,24 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1421 +#: ../src/guestfs.pod:1427 msgid "CVE-2010-3851" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1423 +#: ../src/guestfs.pod:1429 msgid "L<https://bugzilla.redhat.com/642934>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1425 +#: ../src/guestfs.pod:1431 msgid "" "This security bug concerns the automatic disk format detection that qemu " "does on disk images." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1428 +#: ../src/guestfs.pod:1434 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 " @@ -42872,7 +43110,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1433 +#: ../src/guestfs.pod:1439 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 " @@ -42881,7 +43119,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1438 +#: ../src/guestfs.pod:1444 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 " @@ -42893,24 +43131,24 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1446 +#: ../src/guestfs.pod:1452 msgid "In libguestfs this is rather hard to exploit except under two circumstances:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1453 +#: ../src/guestfs.pod:1459 msgid "You have enabled the network or have opened the disk in write mode." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1457 +#: ../src/guestfs.pod:1463 msgid "" "You are also running untrusted code from the guest (see L</RUNNING " "COMMANDS>)." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1462 +#: ../src/guestfs.pod:1468 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 " @@ -42919,31 +43157,31 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1467 +#: ../src/guestfs.pod:1473 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:1470 +#: ../src/guestfs.pod:1476 msgid "" "For libguestfs tools, use the I<--format> command line parameter as " "appropriate." msgstr "" #. type: =head1 -#: ../src/guestfs.pod:1473 +#: ../src/guestfs.pod:1479 msgid "CONNECTION MANAGEMENT" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1475 +#: ../src/guestfs.pod:1481 msgid "guestfs_h *" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1477 +#: ../src/guestfs.pod:1483 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 " @@ -42951,19 +43189,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1481 +#: ../src/guestfs.pod:1487 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:1484 +#: ../src/guestfs.pod:1490 msgid "guestfs_create" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1486 +#: ../src/guestfs.pod:1492 #, no-wrap msgid "" " guestfs_h *guestfs_create (void);\n" @@ -42971,19 +43209,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1488 +#: ../src/guestfs.pod:1494 msgid "Create a connection handle." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1490 +#: ../src/guestfs.pod:1496 msgid "" "On success this returns a non-NULL pointer to a handle. On error it returns " "NULL." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1493 +#: ../src/guestfs.pod:1499 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 " @@ -42991,24 +43229,24 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1497 +#: ../src/guestfs.pod:1503 msgid "After configuring the handle, you have to call L</guestfs_launch>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1499 +#: ../src/guestfs.pod:1505 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:1502 +#: ../src/guestfs.pod:1508 msgid "guestfs_close" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1504 +#: ../src/guestfs.pod:1510 #, no-wrap msgid "" " void guestfs_close (guestfs_h *g);\n" @@ -43016,19 +43254,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1506 +#: ../src/guestfs.pod:1512 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:1509 +#: ../src/guestfs.pod:1515 msgid "The correct way to close the handle is:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1511 +#: ../src/guestfs.pod:1517 #, no-wrap msgid "" " if (guestfs_shutdown (g) == -1) {\n" @@ -43039,51 +43277,51 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1516 +#: ../src/guestfs.pod:1522 msgid "L</guestfs_shutdown> is only needed if B<all> of the following are true:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1522 +#: ../src/guestfs.pod:1528 msgid "one or more disks were added in read-write mode, I<and>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1526 +#: ../src/guestfs.pod:1532 msgid "guestfs_launch was called, I<and>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1530 +#: ../src/guestfs.pod:1536 msgid "you made some changes, I<and>" msgstr "" #. type: =item -#: ../src/guestfs.pod:1532 +#: ../src/guestfs.pod:1538 msgid "4" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1534 +#: ../src/guestfs.pod:1540 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:1539 +#: ../src/guestfs.pod:1545 msgid "ERROR HANDLING" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1541 +#: ../src/guestfs.pod:1547 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:1544 +#: ../src/guestfs.pod:1550 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 " @@ -43091,7 +43329,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1548 +#: ../src/guestfs.pod:1554 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 " @@ -43099,7 +43337,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1553 +#: ../src/guestfs.pod:1559 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 " @@ -43107,7 +43345,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1557 +#: ../src/guestfs.pod:1563 #, no-wrap msgid "" " if (guestfs_launch (g) == -1)\n" @@ -43116,21 +43354,21 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1560 +#: ../src/guestfs.pod:1566 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:1563 +#: ../src/guestfs.pod:1569 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:1566 +#: ../src/guestfs.pod:1572 #, no-wrap msgid "" " /* This disables the default behaviour of printing errors\n" @@ -43140,7 +43378,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1570 +#: ../src/guestfs.pod:1576 #, no-wrap msgid "" " if (guestfs_launch (g) == -1) {\n" @@ -43157,7 +43395,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1581 +#: ../src/guestfs.pod:1587 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 " @@ -43165,7 +43403,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1585 +#: ../src/guestfs.pod:1591 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 " @@ -43175,12 +43413,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1591 +#: ../src/guestfs.pod:1597 msgid "guestfs_last_error" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1593 +#: ../src/guestfs.pod:1599 #, no-wrap msgid "" " const char *guestfs_last_error (guestfs_h *g);\n" @@ -43188,26 +43426,26 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1595 +#: ../src/guestfs.pod:1601 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:1599 +#: ../src/guestfs.pod:1605 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:1602 +#: ../src/guestfs.pod:1608 msgid "guestfs_last_errno" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1604 +#: ../src/guestfs.pod:1610 #, no-wrap msgid "" " int guestfs_last_errno (guestfs_h *g);\n" @@ -43215,27 +43453,27 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1606 +#: ../src/guestfs.pod:1612 msgid "This returns the last error number (errno) that happened on C<g>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1608 +#: ../src/guestfs.pod:1614 msgid "If successful, an errno integer not equal to zero is returned." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1610 +#: ../src/guestfs.pod:1616 msgid "If no error, this returns 0. This call can return 0 in three situations:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1617 +#: ../src/guestfs.pod:1623 msgid "There has not been any error on the handle." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1621 +#: ../src/guestfs.pod:1627 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 " @@ -43243,14 +43481,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1627 +#: ../src/guestfs.pod:1633 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:1633 +#: ../src/guestfs.pod:1639 msgid "" "Libguestfs tries to convert the errno from inside the applicance into a " "corresponding errno for the caller (not entirely trivial: the appliance " @@ -43261,12 +43499,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1641 +#: ../src/guestfs.pod:1647 msgid "guestfs_set_error_handler" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1643 +#: ../src/guestfs.pod:1649 #, no-wrap msgid "" " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n" @@ -43279,7 +43517,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1650 +#: ../src/guestfs.pod:1656 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 " @@ -43287,14 +43525,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1654 +#: ../src/guestfs.pod:1660 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:1657 +#: ../src/guestfs.pod:1663 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 " @@ -43302,22 +43540,22 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1661 +#: ../src/guestfs.pod:1667 msgid "The default handler prints messages on C<stderr>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1663 +#: ../src/guestfs.pod:1669 msgid "If you set C<cb> to C<NULL> then I<no> handler is called." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1665 +#: ../src/guestfs.pod:1671 msgid "guestfs_get_error_handler" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1667 +#: ../src/guestfs.pod:1673 #, no-wrap msgid "" " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n" @@ -43326,17 +43564,17 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1670 +#: ../src/guestfs.pod:1676 msgid "Returns the current error handler callback." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1672 +#: ../src/guestfs.pod:1678 msgid "guestfs_set_out_of_memory_handler" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1674 +#: ../src/guestfs.pod:1680 #, no-wrap msgid "" " typedef void (*guestfs_abort_cb) (void);\n" @@ -43346,29 +43584,29 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1678 +#: ../src/guestfs.pod:1684 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:1681 +#: ../src/guestfs.pod:1687 msgid "The default is to call L<abort(3)>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1683 +#: ../src/guestfs.pod:1689 msgid "You cannot set C<cb> to C<NULL>. You can't ignore out of memory situations." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1686 +#: ../src/guestfs.pod:1692 msgid "guestfs_get_out_of_memory_handler" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1688 +#: ../src/guestfs.pod:1694 #, no-wrap msgid "" " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n" @@ -43376,37 +43614,37 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1690 +#: ../src/guestfs.pod:1696 msgid "This returns the current out of memory handler." msgstr "" #. type: =head1 -#: ../src/guestfs.pod:1692 +#: ../src/guestfs.pod:1698 msgid "API CALLS" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:1696 +#: ../src/guestfs.pod:1702 msgid "STRUCTURES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1698 +#: ../src/guestfs.pod:1704 msgid "@STRUCTS@" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:1700 +#: ../src/guestfs.pod:1706 msgid "AVAILABILITY" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1702 +#: ../src/guestfs.pod:1708 msgid "GROUPS OF FUNCTIONALITY IN THE APPLIANCE" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1704 +#: ../src/guestfs.pod:1710 msgid "" "Using L</guestfs_available> you can test availability of the following " "groups of functions. This test queries the appliance to see if the " @@ -43414,17 +43652,17 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1709 +#: ../src/guestfs.pod:1715 msgid "@AVAILABILITY@" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1711 +#: ../src/guestfs.pod:1717 msgid "GUESTFISH supported COMMAND" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1713 +#: ../src/guestfs.pod:1719 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 " @@ -43432,19 +43670,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1718 +#: ../src/guestfs.pod:1724 msgid "SINGLE CALLS AT COMPILE TIME" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1720 +#: ../src/guestfs.pod:1726 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:1723 +#: ../src/guestfs.pod:1729 #, no-wrap msgid "" " #define LIBGUESTFS_HAVE_DD 1\n" @@ -43452,12 +43690,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1725 +#: ../src/guestfs.pod:1731 msgid "if L</guestfs_dd> is available." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1727 +#: ../src/guestfs.pod:1733 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 " @@ -43465,7 +43703,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1732 +#: ../src/guestfs.pod:1738 #, no-wrap msgid "" " AC_CHECK_LIB([guestfs],[guestfs_create])\n" @@ -43474,19 +43712,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1735 +#: ../src/guestfs.pod:1741 msgid "" "which would result in C<HAVE_GUESTFS_DD> being either defined or not defined " "in your program." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1738 +#: ../src/guestfs.pod:1744 msgid "SINGLE CALLS AT RUN TIME" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1740 +#: ../src/guestfs.pod:1746 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 " @@ -43496,7 +43734,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1747 +#: ../src/guestfs.pod:1753 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 " @@ -43504,7 +43742,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1751 +#: ../src/guestfs.pod:1757 #, no-wrap msgid "" " #include <stdio.h>\n" @@ -43516,7 +43754,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1757 +#: ../src/guestfs.pod:1763 #, no-wrap msgid "" " main ()\n" @@ -43528,7 +43766,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1763 +#: ../src/guestfs.pod:1769 #, no-wrap msgid "" " /* Test if the function guestfs_dd is really available. */\n" @@ -43543,7 +43781,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1772 +#: ../src/guestfs.pod:1778 #, no-wrap msgid "" " if (!has_function)\n" @@ -43562,7 +43800,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1785 +#: ../src/guestfs.pod:1791 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 " @@ -43570,7 +43808,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1790 +#: ../src/guestfs.pod:1796 #, no-wrap msgid "" " Requires: libguestfs >= 1.0.80\n" @@ -43578,12 +43816,12 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:1792 +#: ../src/guestfs.pod:1798 msgid "CALLS WITH OPTIONAL ARGUMENTS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1794 +#: ../src/guestfs.pod:1800 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 " @@ -43591,7 +43829,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1799 +#: ../src/guestfs.pod:1805 #, no-wrap msgid "" " int guestfs_add_drive_opts (guestfs_h *g, const char *filename, ...);\n" @@ -43599,14 +43837,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1801 +#: ../src/guestfs.pod:1807 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:1804 +#: ../src/guestfs.pod:1810 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename, -1);\n" @@ -43614,12 +43852,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1806 +#: ../src/guestfs.pod:1812 msgid "With a single optional argument:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1808 +#: ../src/guestfs.pod:1814 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename,\n" @@ -43629,12 +43867,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1812 +#: ../src/guestfs.pod:1818 msgid "With two:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1814 +#: ../src/guestfs.pod:1820 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename,\n" @@ -43645,19 +43883,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1819 +#: ../src/guestfs.pod:1825 msgid "" "and so forth. Don't forget the terminating C<-1> otherwise Bad Things will " "happen!" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1822 +#: ../src/guestfs.pod:1828 msgid "USING va_list FOR OPTIONAL ARGUMENTS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1824 +#: ../src/guestfs.pod:1830 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 " @@ -43665,7 +43903,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1828 +#: ../src/guestfs.pod:1834 #, no-wrap msgid "" " int guestfs_add_drive_opts_va (guestfs_h *g, const char *filename,\n" @@ -43674,12 +43912,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1831 +#: ../src/guestfs.pod:1837 msgid "CONSTRUCTING OPTIONAL ARGUMENTS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1833 +#: ../src/guestfs.pod:1839 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 " @@ -43689,7 +43927,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1839 +#: ../src/guestfs.pod:1845 #, no-wrap msgid "" " struct guestfs_add_drive_opts_argv {\n" @@ -43704,12 +43942,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1848 +#: ../src/guestfs.pod:1854 msgid "You could call it like this:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1850 +#: ../src/guestfs.pod:1856 #, no-wrap msgid "" " struct guestfs_add_drive_opts_argv optargs = {\n" @@ -43722,7 +43960,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1857 +#: ../src/guestfs.pod:1863 #, no-wrap msgid "" " guestfs_add_drive_opts_argv (g, filename, &optargs);\n" @@ -43730,29 +43968,29 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1865 +#: ../src/guestfs.pod:1871 msgid "The C<_BITMASK> suffix on each option name when specifying the bitmask." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1870 +#: ../src/guestfs.pod:1876 msgid "You do not need to fill in all fields of the structure." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1874 +#: ../src/guestfs.pod:1880 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:1879 +#: ../src/guestfs.pod:1885 msgid "OPTIONAL ARGUMENTS IN OTHER LANGUAGES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1881 +#: ../src/guestfs.pod:1887 msgid "" "In other languages, optional arguments are expressed in the way that is " "natural for that language. We refer you to the language-specific " @@ -43760,17 +43998,17 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1885 +#: ../src/guestfs.pod:1891 msgid "For guestfish, see L<guestfish(1)/OPTIONAL ARGUMENTS>." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1887 +#: ../src/guestfs.pod:1893 msgid "SETTING CALLBACKS TO HANDLE EVENTS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1889 +#: ../src/guestfs.pod:1895 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 " @@ -43782,7 +44020,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1898 +#: ../src/guestfs.pod:1904 msgid "" "Handles generate events when certain things happen, such as log messages " "being generated, progress messages during long-running operations, or the " @@ -43794,7 +44032,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1906 +#: ../src/guestfs.pod:1912 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 " @@ -43803,31 +44041,31 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1911 +#: ../src/guestfs.pod:1917 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:1915 +#: ../src/guestfs.pod:1921 msgid "CLASSES OF EVENTS" msgstr "" #. type: =item -#: ../src/guestfs.pod:1919 +#: ../src/guestfs.pod:1925 msgid "GUESTFS_EVENT_CLOSE (payload type: void)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1922 +#: ../src/guestfs.pod:1928 msgid "" "The callback function will be called while the handle is being closed " "(synchronously from L</guestfs_close>)." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1925 +#: ../src/guestfs.pod:1931 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 " @@ -43838,19 +44076,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1932 +#: ../src/guestfs.pod:1938 msgid "" "If no callback is registered: the handle is closed without any callback " "being invoked." msgstr "" #. type: =item -#: ../src/guestfs.pod:1935 +#: ../src/guestfs.pod:1941 msgid "GUESTFS_EVENT_SUBPROCESS_QUIT (payload type: void)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1938 +#: ../src/guestfs.pod:1944 msgid "" "The callback function will be called when the child process quits, either " "asynchronously or if killed by L</guestfs_kill_subprocess>. (This " @@ -43858,17 +44096,17 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1942 ../src/guestfs.pod:1951 ../src/guestfs.pod:2068 +#: ../src/guestfs.pod:1948 ../src/guestfs.pod:1957 ../src/guestfs.pod:2074 msgid "If no callback is registered: the event is ignored." msgstr "" #. type: =item -#: ../src/guestfs.pod:1944 +#: ../src/guestfs.pod:1950 msgid "GUESTFS_EVENT_LAUNCH_DONE (payload type: void)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1947 +#: ../src/guestfs.pod:1953 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 " @@ -43876,12 +44114,12 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:1953 +#: ../src/guestfs.pod:1959 msgid "GUESTFS_EVENT_PROGRESS (payload type: array of 4 x uint64_t)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1956 +#: ../src/guestfs.pod:1962 msgid "" "Some long-running operations can generate progress messages. If this " "callback is registered, then it will be called each time a progress message " @@ -43891,14 +44129,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1962 +#: ../src/guestfs.pod:1968 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:1965 +#: ../src/guestfs.pod:1971 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 " @@ -43907,24 +44145,24 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1970 +#: ../src/guestfs.pod:1976 msgid "The only defined and stable parts of the API are:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1976 +#: ../src/guestfs.pod:1982 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:1981 +#: ../src/guestfs.pod:1987 msgid "0 E<lt>= C<position> E<lt>= C<total>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1985 +#: ../src/guestfs.pod:1991 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 " @@ -43932,7 +44170,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1989 +#: ../src/guestfs.pod:1995 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 " @@ -43940,7 +44178,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1995 +#: ../src/guestfs.pod:2001 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 " @@ -43949,7 +44187,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2000 +#: ../src/guestfs.pod:2006 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 " @@ -43957,14 +44195,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2004 +#: ../src/guestfs.pod:2010 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:2009 +#: ../src/guestfs.pod:2015 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 " @@ -43973,31 +44211,31 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2015 +#: ../src/guestfs.pod:2021 msgid "If no callback is registered: progress messages are discarded." msgstr "" #. type: =item -#: ../src/guestfs.pod:2017 +#: ../src/guestfs.pod:2023 msgid "GUESTFS_EVENT_APPLIANCE (payload type: message buffer)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2020 +#: ../src/guestfs.pod:2026 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:2023 +#: ../src/guestfs.pod:2029 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:2026 ../src/guestfs.pod:2040 +#: ../src/guestfs.pod:2032 ../src/guestfs.pod:2046 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 " @@ -44005,62 +44243,62 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:2031 +#: ../src/guestfs.pod:2037 msgid "GUESTFS_EVENT_LIBRARY (payload type: message buffer)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2034 +#: ../src/guestfs.pod:2040 msgid "" "The callback function is called whenever a log message is generated by the " "library part of libguestfs." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2037 +#: ../src/guestfs.pod:2043 msgid "" "If the verbose flag (L</guestfs_set_verbose>) is set then additional debug " "messages are generated." msgstr "" #. type: =item -#: ../src/guestfs.pod:2045 +#: ../src/guestfs.pod:2051 msgid "GUESTFS_EVENT_TRACE (payload type: message buffer)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2048 +#: ../src/guestfs.pod:2054 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:2051 +#: ../src/guestfs.pod:2057 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:2055 +#: ../src/guestfs.pod:2061 msgid "GUESTFS_EVENT_ENTER (payload type: function name)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2058 +#: ../src/guestfs.pod:2064 msgid "The callback function is called whenever a libguestfs function is entered." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2061 +#: ../src/guestfs.pod:2067 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:2064 +#: ../src/guestfs.pod:2070 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 " @@ -44068,12 +44306,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2072 +#: ../src/guestfs.pod:2078 msgid "guestfs_set_event_callback" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2074 +#: ../src/guestfs.pod:2080 #, no-wrap msgid "" " int guestfs_set_event_callback (guestfs_h *g,\n" @@ -44085,14 +44323,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2080 +#: ../src/guestfs.pod:2086 msgid "" "This function registers a callback (C<cb>) for all event classes in the " "C<event_bitmask>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2083 +#: ../src/guestfs.pod:2089 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>. " @@ -44101,40 +44339,40 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2089 +#: ../src/guestfs.pod:2095 msgid "C<flags> should always be passed as 0." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2091 +#: ../src/guestfs.pod:2097 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:2094 +#: ../src/guestfs.pod:2100 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:2097 +#: ../src/guestfs.pod:2103 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:2100 +#: ../src/guestfs.pod:2106 msgid "" "Callbacks remain in effect until they are deleted, or until the handle is " "closed." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2103 +#: ../src/guestfs.pod:2109 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 " @@ -44142,12 +44380,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2107 +#: ../src/guestfs.pod:2113 msgid "guestfs_delete_event_callback" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2109 +#: ../src/guestfs.pod:2115 #, no-wrap msgid "" " void guestfs_delete_event_callback (guestfs_h *g, int event_handle);\n" @@ -44155,7 +44393,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2111 +#: ../src/guestfs.pod:2117 msgid "" "Delete a callback that was previously registered. C<event_handle> should be " "the integer that was returned by a previous call to " @@ -44163,12 +44401,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2115 +#: ../src/guestfs.pod:2121 msgid "guestfs_event_callback" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2117 +#: ../src/guestfs.pod:2123 #, no-wrap msgid "" " typedef void (*guestfs_event_callback) (\n" @@ -44183,12 +44421,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2126 +#: ../src/guestfs.pod:2132 msgid "This is the type of the event callback function that you have to provide." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2129 +#: ../src/guestfs.pod:2135 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 " @@ -44196,7 +44434,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2133 +#: ../src/guestfs.pod:2139 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 " @@ -44205,7 +44443,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2138 +#: ../src/guestfs.pod:2144 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 " @@ -44213,19 +44451,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2142 +#: ../src/guestfs.pod:2148 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:2145 +#: ../src/guestfs.pod:2151 msgid "EXAMPLE: CAPTURING LOG MESSAGES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2147 +#: ../src/guestfs.pod:2153 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 " @@ -44233,7 +44471,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2151 +#: ../src/guestfs.pod:2157 msgid "" "Events associated with log messages are: C<GUESTFS_EVENT_LIBRARY>, " "C<GUESTFS_EVENT_APPLIANCE> and C<GUESTFS_EVENT_TRACE>. (Note that error " @@ -44241,14 +44479,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2156 +#: ../src/guestfs.pod:2162 msgid "" "Programs have to set up a callback to capture the classes of events of " "interest:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2159 +#: ../src/guestfs.pod:2165 #, no-wrap msgid "" " int eh =\n" @@ -44264,14 +44502,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2169 +#: ../src/guestfs.pod:2175 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:2172 +#: ../src/guestfs.pod:2178 #, no-wrap msgid "" " static void\n" @@ -44292,12 +44530,12 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2187 +#: ../src/guestfs.pod:2193 msgid "CANCELLING LONG TRANSFERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2189 +#: ../src/guestfs.pod:2195 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 " @@ -44306,12 +44544,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:2194 +#: ../src/guestfs.pod:2200 msgid "guestfs_user_cancel" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2196 +#: ../src/guestfs.pod:2202 #, no-wrap msgid "" " void guestfs_user_cancel (guestfs_h *g);\n" @@ -44319,12 +44557,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2198 +#: ../src/guestfs.pod:2204 msgid "C<guestfs_user_cancel> cancels the current upload or download operation." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2201 +#: ../src/guestfs.pod:2207 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 " @@ -44332,7 +44570,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2205 +#: ../src/guestfs.pod:2211 msgid "" "The transfer that was in progress (if there is one) will stop shortly " "afterwards, and will return an error. The errno (see " @@ -44341,7 +44579,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2211 +#: ../src/guestfs.pod:2217 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 " @@ -44349,12 +44587,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2215 +#: ../src/guestfs.pod:2221 msgid "There are two common places that you might call C<guestfs_user_cancel>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2217 +#: ../src/guestfs.pod:2223 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 " @@ -44363,19 +44601,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2222 +#: ../src/guestfs.pod:2228 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:2226 +#: ../src/guestfs.pod:2232 msgid "PRIVATE DATA AREA" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2228 +#: ../src/guestfs.pod:2234 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 " @@ -44383,12 +44621,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2233 +#: ../src/guestfs.pod:2239 msgid "To attach a named piece of data, use the following call:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2235 +#: ../src/guestfs.pod:2241 #, no-wrap msgid "" " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n" @@ -44396,7 +44634,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2237 +#: ../src/guestfs.pod:2243 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 " @@ -44404,7 +44642,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2241 +#: ../src/guestfs.pod:2247 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 " @@ -44414,12 +44652,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2247 +#: ../src/guestfs.pod:2253 msgid "To retrieve the pointer, use:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2249 +#: ../src/guestfs.pod:2255 #, no-wrap msgid "" " void *guestfs_get_private (guestfs_h *g, const char *key);\n" @@ -44427,7 +44665,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2251 +#: ../src/guestfs.pod:2257 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 " @@ -44435,7 +44673,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2255 +#: ../src/guestfs.pod:2261 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 " @@ -44446,12 +44684,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2262 +#: ../src/guestfs.pod:2268 msgid "To walk over all entries, use these two functions:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2264 +#: ../src/guestfs.pod:2270 #, no-wrap msgid "" " void *guestfs_first_private (guestfs_h *g, const char **key_rtn);\n" @@ -44459,7 +44697,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2266 +#: ../src/guestfs.pod:2272 #, no-wrap msgid "" " void *guestfs_next_private (guestfs_h *g, const char **key_rtn);\n" @@ -44467,7 +44705,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2268 +#: ../src/guestfs.pod:2274 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 " @@ -44477,7 +44715,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2274 +#: ../src/guestfs.pod:2280 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 " @@ -44485,17 +44723,17 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2278 +#: ../src/guestfs.pod:2284 msgid "Notes about walking over entries:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2284 +#: ../src/guestfs.pod:2290 msgid "You must not call C<guestfs_set_private> while walking over the entries." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2289 +#: ../src/guestfs.pod:2295 msgid "" "The handle maintains an internal iterator which is reset when you call " "C<guestfs_first_private>. This internal iterator is invalidated when you " @@ -44503,12 +44741,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2295 +#: ../src/guestfs.pod:2301 msgid "If you have set the data pointer associated with a key to C<NULL>, ie:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2297 +#: ../src/guestfs.pod:2303 #, no-wrap msgid "" " guestfs_set_private (g, key, NULL);\n" @@ -44516,26 +44754,26 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2299 +#: ../src/guestfs.pod:2305 msgid "then that C<key> is not returned when walking." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2303 +#: ../src/guestfs.pod:2309 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:2309 +#: ../src/guestfs.pod:2315 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:2312 +#: ../src/guestfs.pod:2318 #, no-wrap msgid "" " const char *key;\n" @@ -44549,14 +44787,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2320 +#: ../src/guestfs.pod:2326 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:2323 +#: ../src/guestfs.pod:2329 #, no-wrap msgid "" " const char *key;\n" @@ -44571,7 +44809,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2332 +#: ../src/guestfs.pod:2338 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 " @@ -44579,7 +44817,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2336 +#: ../src/guestfs.pod:2342 #, no-wrap msgid "" " const char *key;\n" @@ -44601,7 +44839,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2352 +#: ../src/guestfs.pod:2358 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 " @@ -44610,12 +44848,12 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2357 +#: ../src/guestfs.pod:2363 msgid "SYSTEMTAP" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2359 +#: ../src/guestfs.pod:2365 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 " @@ -44623,12 +44861,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2363 +#: ../src/guestfs.pod:2369 msgid "You can list all the static markers by doing:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2365 +#: ../src/guestfs.pod:2371 #, no-wrap msgid "" " stap -l 'process(\"/usr/lib*/libguestfs.so.0\")\n" @@ -44637,26 +44875,26 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2368 +#: ../src/guestfs.pod:2374 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:2371 +#: ../src/guestfs.pod:2377 msgid "SYSTEMTAP SCRIPT EXAMPLE" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2373 +#: ../src/guestfs.pod:2379 msgid "" "This script contains examples of displaying both the static markers and some " "ordinary C entry points:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2400 +#: ../src/guestfs.pod:2406 #, no-wrap msgid "" " /* Display all calls to guestfs_mkfs* functions. */\n" @@ -44669,7 +44907,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2407 +#: ../src/guestfs.pod:2413 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 " @@ -44678,7 +44916,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2412 +#: ../src/guestfs.pod:2418 #, no-wrap msgid "" " # stap /tmp/test.stap\n" @@ -44687,17 +44925,17 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2415 +#: ../src/guestfs.pod:2421 msgid "In another terminal, run a guestfish command such as this:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2419 +#: ../src/guestfs.pod:2425 msgid "In the first terminal, stap trace output similar to this is shown:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2421 +#: ../src/guestfs.pod:2427 #, no-wrap msgid "" " 1318248056692655 (+0):\tlaunch_start\n" @@ -44711,19 +44949,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2430 +#: ../src/guestfs.pod:2436 msgid "" "<!-- old anchor for the next section --> <a " "name=\"state_machine_and_low_level_event_api\"/>" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2435 +#: ../src/guestfs.pod:2441 msgid "ARCHITECTURE" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2437 +#: ../src/guestfs.pod:2443 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 " @@ -44731,7 +44969,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2441 +#: ../src/guestfs.pod:2447 #, no-wrap msgid "" " ___________________\n" @@ -44757,14 +44995,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2461 +#: ../src/guestfs.pod:2467 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:2464 +#: ../src/guestfs.pod:2470 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 " @@ -44776,7 +45014,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2473 +#: ../src/guestfs.pod:2479 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 " @@ -44787,17 +45025,17 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2480 +#: ../src/guestfs.pod:2486 msgid "STATE MACHINE" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2482 +#: ../src/guestfs.pod:2488 msgid "libguestfs uses a state machine to model the child process:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2484 +#: ../src/guestfs.pod:2490 #, no-wrap msgid "" " |\n" @@ -44825,7 +45063,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2506 +#: ../src/guestfs.pod:2512 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), " @@ -44834,7 +45072,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2511 +#: ../src/guestfs.pod:2517 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 " @@ -44842,14 +45080,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2515 +#: ../src/guestfs.pod:2521 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:2518 +#: ../src/guestfs.pod:2524 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 " @@ -44858,7 +45096,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2524 +#: ../src/guestfs.pod:2530 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. " @@ -44867,7 +45105,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2529 +#: ../src/guestfs.pod:2535 msgid "" "Finally, the child process sends asynchronous messages back to the main " "program, such as kernel log messages. You can register a callback to " @@ -44875,17 +45113,17 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2533 +#: ../src/guestfs.pod:2539 msgid "INTERNALS" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:2535 +#: ../src/guestfs.pod:2541 msgid "APPLIANCE BOOT PROCESS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2537 +#: ../src/guestfs.pod:2543 msgid "" "This process has evolved and continues to evolve. The description here " "corresponds only to the current version of libguestfs and is provided for " @@ -44893,55 +45131,55 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2541 +#: ../src/guestfs.pod:2547 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:2546 +#: ../src/guestfs.pod:2552 msgid "Create the appliance" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2548 +#: ../src/guestfs.pod:2554 msgid "" "C<febootstrap-supermin-helper> is invoked to create the kernel, a small " "initrd and the appliance." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2551 +#: ../src/guestfs.pod:2557 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:2554 +#: ../src/guestfs.pod:2560 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:2558 +#: ../src/guestfs.pod:2564 msgid "Start qemu and boot the kernel" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2560 +#: ../src/guestfs.pod:2566 msgid "qemu is invoked to boot the kernel." msgstr "" #. type: =item -#: ../src/guestfs.pod:2562 +#: ../src/guestfs.pod:2568 msgid "Run the initrd" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2564 +#: ../src/guestfs.pod:2570 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 " @@ -44949,21 +45187,21 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2568 +#: ../src/guestfs.pod:2574 msgid "" "The initrd is a cpio archive called " "C</var/tmp/.guestfs-E<lt>UIDE<gt>/initrd>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2571 +#: ../src/guestfs.pod:2577 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:2574 +#: ../src/guestfs.pod:2580 #, no-wrap msgid "" " febootstrap: ext2 mini initrd starting up\n" @@ -44974,12 +45212,12 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:2579 +#: ../src/guestfs.pod:2585 msgid "Find and mount the appliance device" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2581 +#: ../src/guestfs.pod:2587 msgid "" "The appliance is a sparse file containing an ext2 filesystem which contains " "a familiar (although reduced in size) Linux operating system. It would " @@ -44987,33 +45225,33 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2585 +#: ../src/guestfs.pod:2591 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:2588 +#: ../src/guestfs.pod:2594 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:2591 +#: ../src/guestfs.pod:2597 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:2595 +#: ../src/guestfs.pod:2601 msgid "If this works successfully you will see messages such as:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2597 +#: ../src/guestfs.pod:2603 #, no-wrap msgid "" " febootstrap: picked /sys/block/vdb/dev as root device\n" @@ -45025,19 +45263,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2603 +#: ../src/guestfs.pod:2609 msgid "" "Note that C<Starting /init script ...> indicates that the appliance's init " "script is now running." msgstr "" #. type: =item -#: ../src/guestfs.pod:2606 +#: ../src/guestfs.pod:2612 msgid "Initialize the appliance" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2608 +#: ../src/guestfs.pod:2614 msgid "" "The appliance itself now initializes itself. This involves starting certain " "processes like C<udev>, possibly printing some debug information, and " @@ -45045,19 +45283,19 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:2612 +#: ../src/guestfs.pod:2618 msgid "The daemon" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2614 +#: ../src/guestfs.pod:2620 msgid "" "Finally the daemon (C<guestfsd>) runs inside the appliance. If it runs you " "should see:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2617 +#: ../src/guestfs.pod:2623 #, no-wrap msgid "" " verbose daemon enabled\n" @@ -45065,14 +45303,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2619 +#: ../src/guestfs.pod:2625 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:2622 +#: ../src/guestfs.pod:2628 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 " @@ -45080,19 +45318,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:2628 +#: ../src/guestfs.pod:2634 msgid "COMMUNICATION PROTOCOL" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2630 +#: ../src/guestfs.pod:2636 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:2633 +#: ../src/guestfs.pod:2639 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 " @@ -45100,14 +45338,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2637 +#: ../src/guestfs.pod:2643 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:2640 +#: ../src/guestfs.pod:2646 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 " @@ -45117,17 +45355,17 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2647 +#: ../src/guestfs.pod:2653 msgid "ORDINARY FUNCTIONS (NO FILEIN/FILEOUT PARAMS)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2649 +#: ../src/guestfs.pod:2655 msgid "For ordinary functions, the request message is:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2651 +#: ../src/guestfs.pod:2657 #, no-wrap msgid "" " total length (header + arguments,\n" @@ -45138,7 +45376,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2656 +#: ../src/guestfs.pod:2662 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 " @@ -45147,21 +45385,21 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2662 +#: ../src/guestfs.pod:2668 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:2665 +#: ../src/guestfs.pod:2671 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:2669 +#: ../src/guestfs.pod:2675 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 " @@ -45173,12 +45411,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2677 +#: ../src/guestfs.pod:2683 msgid "The reply message for ordinary functions is:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2679 +#: ../src/guestfs.pod:2685 #, no-wrap msgid "" " total length (header + ret,\n" @@ -45189,26 +45427,26 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2684 +#: ../src/guestfs.pod:2690 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:2687 +#: ../src/guestfs.pod:2693 msgid "As above the total length of the reply is limited to C<GUESTFS_MESSAGE_MAX>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2690 +#: ../src/guestfs.pod:2696 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:2693 +#: ../src/guestfs.pod:2699 #, no-wrap msgid "" " total length (header + error,\n" @@ -45219,19 +45457,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2698 +#: ../src/guestfs.pod:2704 msgid "" "The C<guestfs_message_error> structure contains the error message as a " "string." msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2701 +#: ../src/guestfs.pod:2707 msgid "FUNCTIONS THAT HAVE FILEIN PARAMETERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2703 +#: ../src/guestfs.pod:2709 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 " @@ -45239,7 +45477,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2707 +#: ../src/guestfs.pod:2713 #, no-wrap msgid "" " total length (header + arguments,\n" @@ -45253,12 +45491,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2715 +#: ../src/guestfs.pod:2721 msgid "The \"sequence of chunks\" is:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2717 +#: ../src/guestfs.pod:2723 #, no-wrap msgid "" " length of chunk (not including length word itself)\n" @@ -45272,7 +45510,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2725 +#: ../src/guestfs.pod:2731 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 " @@ -45280,7 +45518,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2729 +#: ../src/guestfs.pod:2735 msgid "" "At time of writing there are no functions that have more than one FileIn " "parameter. However this is (theoretically) supported, by sending the " @@ -45289,7 +45527,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2734 +#: ../src/guestfs.pod:2740 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 " @@ -45298,7 +45536,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2740 +#: ../src/guestfs.pod:2746 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 " @@ -45310,7 +45548,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2749 +#: ../src/guestfs.pod:2755 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 " @@ -45320,19 +45558,19 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2755 +#: ../src/guestfs.pod:2761 msgid "FUNCTIONS THAT HAVE FILEOUT PARAMETERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2757 +#: ../src/guestfs.pod:2763 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:2760 +#: ../src/guestfs.pod:2766 #, no-wrap msgid "" " total length (header + ret,\n" @@ -45346,12 +45584,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2768 +#: ../src/guestfs.pod:2774 msgid "INITIAL MESSAGE" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2770 +#: ../src/guestfs.pod:2776 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 " @@ -45359,12 +45597,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2774 +#: ../src/guestfs.pod:2780 msgid "PROGRESS NOTIFICATION MESSAGES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2776 +#: ../src/guestfs.pod:2782 msgid "" "The daemon may send progress notification messages at any time. These are " "distinguished by the normal length word being replaced by " @@ -45372,7 +45610,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2780 +#: ../src/guestfs.pod:2786 msgid "" "The library turns them into progress callbacks (see " "L</GUESTFS_EVENT_PROGRESS>) if there is a callback registered, or discards " @@ -45380,7 +45618,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2784 +#: ../src/guestfs.pod:2790 msgid "" "The daemon self-limits the frequency of progress messages it sends (see " "C<daemon/proto.c:notify_progress>). Not all calls generate progress " @@ -45388,12 +45626,12 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2788 +#: ../src/guestfs.pod:2794 msgid "LIBGUESTFS VERSION NUMBERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2790 +#: ../src/guestfs.pod:2796 msgid "" "Since April 2010, libguestfs has started to make separate development and " "stable releases, along with corresponding branches in our git repository. " @@ -45401,7 +45639,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2795 +#: ../src/guestfs.pod:2801 #, no-wrap msgid "" " even numbers for stable: 1.2.x, 1.4.x, ...\n" @@ -45418,12 +45656,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2806 +#: ../src/guestfs.pod:2812 msgid "Thus \"1.3.5\" is the 5th update to the development branch \"1.3\"." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2808 +#: ../src/guestfs.pod:2814 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 " @@ -45433,26 +45671,26 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2814 +#: ../src/guestfs.pod:2820 msgid "Our criteria for backporting changes are:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2820 +#: ../src/guestfs.pod:2826 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:2826 +#: ../src/guestfs.pod:2832 msgid "" "Bug fixes which are not controversial, fix obvious problems, and have been " "well tested are backported." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2831 +#: ../src/guestfs.pod:2837 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 " @@ -45460,7 +45698,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2837 +#: ../src/guestfs.pod:2843 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 " @@ -45468,7 +45706,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2843 +#: ../src/guestfs.pod:2849 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 " @@ -45479,17 +45717,17 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2851 +#: ../src/guestfs.pod:2857 msgid "EXTENDING LIBGUESTFS" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:2853 +#: ../src/guestfs.pod:2859 msgid "ADDING A NEW API ACTION" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2855 +#: ../src/guestfs.pod:2861 msgid "" "Large amounts of boilerplate code in libguestfs (RPC, bindings, " "documentation) are generated, and this makes it easy to extend the " @@ -45497,19 +45735,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2859 +#: ../src/guestfs.pod:2865 msgid "To add a new API action there are two changes:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2865 +#: ../src/guestfs.pod:2871 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:2868 +#: ../src/guestfs.pod:2874 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 " @@ -45520,7 +45758,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2876 +#: ../src/guestfs.pod:2882 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 " @@ -45530,7 +45768,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2882 +#: ../src/guestfs.pod:2888 msgid "" "For library-only actions of the second type, add to the " "C<non_daemon_functions> list. Since these functions are serviced by the " @@ -45540,36 +45778,36 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2890 +#: ../src/guestfs.pod:2896 msgid "Implement the action (in C):" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2892 +#: ../src/guestfs.pod:2898 msgid "" "For daemon actions, implement the function C<do_E<lt>nameE<gt>> in the " "C<daemon/> directory." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2895 +#: ../src/guestfs.pod:2901 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:2898 +#: ../src/guestfs.pod:2904 msgid "In either case, use another function as an example of what to do." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2902 +#: ../src/guestfs.pod:2908 msgid "After making these changes, use C<make> to compile." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2904 +#: ../src/guestfs.pod:2910 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 " @@ -45577,12 +45815,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:2908 +#: ../src/guestfs.pod:2914 msgid "ADDING TESTS FOR AN API ACTION" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2910 +#: ../src/guestfs.pod:2916 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 " @@ -45592,61 +45830,61 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2917 +#: ../src/guestfs.pod:2923 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:2920 +#: ../src/guestfs.pod:2926 msgid "The test environment has 4 block devices:" msgstr "" #. type: =item -#: ../src/guestfs.pod:2924 +#: ../src/guestfs.pod:2930 msgid "C</dev/sda> 500MB" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2926 +#: ../src/guestfs.pod:2932 msgid "General block device for testing." msgstr "" #. type: =item -#: ../src/guestfs.pod:2928 +#: ../src/guestfs.pod:2934 msgid "C</dev/sdb> 50MB" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2930 +#: ../src/guestfs.pod:2936 msgid "" "C</dev/sdb1> is an ext2 filesystem used for testing filesystem write " "operations." msgstr "" #. type: =item -#: ../src/guestfs.pod:2933 +#: ../src/guestfs.pod:2939 msgid "C</dev/sdc> 10MB" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2935 +#: ../src/guestfs.pod:2941 msgid "Used in a few tests where two block devices are needed." msgstr "" #. type: =item -#: ../src/guestfs.pod:2937 +#: ../src/guestfs.pod:2943 msgid "C</dev/sdd>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2939 +#: ../src/guestfs.pod:2945 msgid "ISO with fixed content (see C<images/test.iso>)." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2943 +#: ../src/guestfs.pod:2949 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 " @@ -45654,7 +45892,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2947 +#: ../src/guestfs.pod:2953 msgid "" "Each test starts with an initial scenario, selected using one of the " "C<Init*> expressions, described in C<generator/generator_types.ml>. These " @@ -45664,7 +45902,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2953 +#: ../src/guestfs.pod:2959 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 " @@ -45674,14 +45912,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2959 +#: ../src/guestfs.pod:2965 msgid "" "In addition, packagers can skip individual tests by setting environment " "variables before running C<make check>." msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2962 +#: ../src/guestfs.pod:2968 #, no-wrap msgid "" " SKIP_TEST_<CMD>_<NUM>=1\n" @@ -45689,12 +45927,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2964 +#: ../src/guestfs.pod:2970 msgid "eg: C<SKIP_TEST_COMMAND_3=1> skips test #3 of L</guestfs_command>." msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2968 +#: ../src/guestfs.pod:2974 #, no-wrap msgid "" " SKIP_TEST_<CMD>=1\n" @@ -45702,17 +45940,17 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2970 +#: ../src/guestfs.pod:2976 msgid "eg: C<SKIP_TEST_ZEROFREE=1> skips all L</guestfs_zerofree> tests." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2972 +#: ../src/guestfs.pod:2978 msgid "Packagers can run only certain tests by setting for example:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2974 +#: ../src/guestfs.pod:2980 #, no-wrap msgid "" " TEST_ONLY=\"vfs_type zerofree\"\n" @@ -45720,29 +45958,29 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2976 +#: ../src/guestfs.pod:2982 msgid "" "See C<tests/c-api/tests.c> for more details of how these environment " "variables work." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:2979 +#: ../src/guestfs.pod:2985 msgid "DEBUGGING NEW API ACTIONS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2981 +#: ../src/guestfs.pod:2987 msgid "Test new actions work before submitting them." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2983 +#: ../src/guestfs.pod:2989 msgid "You can use guestfish to try out new commands." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2985 +#: ../src/guestfs.pod:2991 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 " @@ -45750,12 +45988,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:2989 +#: ../src/guestfs.pod:2995 msgid "FORMATTING CODE AND OTHER CONVENTIONS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2991 +#: ../src/guestfs.pod:2997 msgid "" "Our C source code generally adheres to some basic code-formatting " "conventions. The existing code base is not totally consistent on this " @@ -45765,14 +46003,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2997 +#: ../src/guestfs.pod:3003 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:3000 +#: ../src/guestfs.pod:3006 #, no-wrap msgid "" " ;;; In libguestfs, indent with spaces everywhere (not TABs).\n" @@ -45788,7 +46026,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3010 +#: ../src/guestfs.pod:3016 #, no-wrap msgid "" " ;;; When editing C sources in libguestfs, use this style.\n" @@ -45806,12 +46044,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3022 +#: ../src/guestfs.pod:3028 msgid "Enable warnings when compiling (and fix any problems this finds):" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3025 +#: ../src/guestfs.pod:3031 #, no-wrap msgid "" " ./configure --enable-gcc-warnings\n" @@ -45819,12 +46057,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3027 +#: ../src/guestfs.pod:3033 msgid "Useful targets are:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3029 +#: ../src/guestfs.pod:3035 #, no-wrap msgid "" " make syntax-check -j1 -k # checks for various syntax and\n" @@ -45833,7 +46071,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3032 +#: ../src/guestfs.pod:3038 #, no-wrap msgid "" " make check # runs the test suite\n" @@ -45841,7 +46079,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3034 +#: ../src/guestfs.pod:3040 #, no-wrap msgid "" " make extra-tests # in-depth testing using valgrind\n" @@ -45850,43 +46088,43 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3037 +#: ../src/guestfs.pod:3043 msgid "DAEMON CUSTOM PRINTF FORMATTERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3039 +#: ../src/guestfs.pod:3045 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:3044 +#: ../src/guestfs.pod:3050 msgid "%Q" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3046 +#: ../src/guestfs.pod:3052 msgid "" "Simple shell quoted string. Any spaces or other shell characters are " "escaped for you." msgstr "" #. type: =item -#: ../src/guestfs.pod:3049 +#: ../src/guestfs.pod:3055 msgid "%R" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3051 +#: ../src/guestfs.pod:3057 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:3058 +#: ../src/guestfs.pod:3064 #, no-wrap msgid "" " asprintf (&cmd, \"cat %R\", path);\n" @@ -45894,12 +46132,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3060 +#: ../src/guestfs.pod:3066 msgid "would produce C<cat /sysroot/some\\ path\\ with\\ spaces>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3062 +#: ../src/guestfs.pod:3068 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 " @@ -45908,12 +46146,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3068 +#: ../src/guestfs.pod:3074 msgid "SUBMITTING YOUR NEW API ACTIONS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3070 +#: ../src/guestfs.pod:3076 msgid "" "Submit patches to the mailing list: " "L<http://www.redhat.com/mailman/listinfo/libguestfs> and CC to " @@ -45921,17 +46159,17 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3074 +#: ../src/guestfs.pod:3080 msgid "INTERNATIONALIZATION (I18N) SUPPORT" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3076 +#: ../src/guestfs.pod:3082 msgid "We support i18n (gettext anyhow) in the library." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3078 +#: ../src/guestfs.pod:3084 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 " @@ -45940,103 +46178,103 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3084 +#: ../src/guestfs.pod:3090 msgid "" "Debugging messages are never translated, since they are intended for the " "programmers." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3087 +#: ../src/guestfs.pod:3093 msgid "SOURCE CODE SUBDIRECTORIES" msgstr "" #. type: =item -#: ../src/guestfs.pod:3091 +#: ../src/guestfs.pod:3097 msgid "C<align>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3093 +#: ../src/guestfs.pod:3099 msgid "L<virt-alignment-scan(1)> command and documentation." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3097 +#: ../src/guestfs.pod:3103 msgid "The libguestfs appliance, build scripts and so on." msgstr "" #. type: =item -#: ../src/guestfs.pod:3099 +#: ../src/guestfs.pod:3105 msgid "C<cat>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3101 +#: ../src/guestfs.pod:3107 msgid "" "The L<virt-cat(1)>, L<virt-filesystems(1)> and L<virt-ls(1)> commands and " "documentation." msgstr "" #. type: =item -#: ../src/guestfs.pod:3104 +#: ../src/guestfs.pod:3110 msgid "C<contrib>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3106 +#: ../src/guestfs.pod:3112 msgid "Outside contributions, experimental parts." msgstr "" #. type: =item -#: ../src/guestfs.pod:3108 +#: ../src/guestfs.pod:3114 msgid "C<daemon>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3110 +#: ../src/guestfs.pod:3116 msgid "" "The daemon that runs inside the libguestfs appliance and carries out " "actions." msgstr "" #. type: =item -#: ../src/guestfs.pod:3113 +#: ../src/guestfs.pod:3119 msgid "C<df>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3115 +#: ../src/guestfs.pod:3121 msgid "L<virt-df(1)> command and documentation." msgstr "" #. type: =item -#: ../src/guestfs.pod:3117 +#: ../src/guestfs.pod:3123 msgid "C<edit>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3119 +#: ../src/guestfs.pod:3125 msgid "L<virt-edit(1)> command and documentation." msgstr "" #. type: =item -#: ../src/guestfs.pod:3121 +#: ../src/guestfs.pod:3127 msgid "C<examples>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3123 +#: ../src/guestfs.pod:3129 msgid "C API example code." msgstr "" #. type: =item -#: ../src/guestfs.pod:3125 +#: ../src/guestfs.pod:3131 msgid "C<fish>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3127 +#: ../src/guestfs.pod:3133 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)>, " @@ -46044,79 +46282,79 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3133 +#: ../src/guestfs.pod:3139 msgid "L<virt-format(1)> command and documentation." msgstr "" #. type: =item -#: ../src/guestfs.pod:3135 +#: ../src/guestfs.pod:3141 msgid "C<fuse>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3137 +#: ../src/guestfs.pod:3143 msgid "L<guestmount(1)>, FUSE (userspace filesystem) built on top of libguestfs." msgstr "" #. type: =item -#: ../src/guestfs.pod:3139 +#: ../src/guestfs.pod:3145 msgid "C<generator>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3141 +#: ../src/guestfs.pod:3147 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:3144 +#: ../src/guestfs.pod:3150 msgid "C<inspector>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3146 +#: ../src/guestfs.pod:3152 msgid "L<virt-inspector(1)>, the virtual machine image inspector." msgstr "" #. type: =item -#: ../src/guestfs.pod:3148 +#: ../src/guestfs.pod:3154 msgid "C<logo>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3150 +#: ../src/guestfs.pod:3156 msgid "Logo used on the website. The fish is called Arthur by the way." msgstr "" #. type: =item -#: ../src/guestfs.pod:3152 +#: ../src/guestfs.pod:3158 msgid "C<m4>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3154 +#: ../src/guestfs.pod:3160 msgid "M4 macros used by autoconf." msgstr "" #. type: =item -#: ../src/guestfs.pod:3156 +#: ../src/guestfs.pod:3162 msgid "C<po>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3158 +#: ../src/guestfs.pod:3164 msgid "Translations of simple gettext strings." msgstr "" #. type: =item -#: ../src/guestfs.pod:3160 +#: ../src/guestfs.pod:3166 msgid "C<po-docs>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3162 +#: ../src/guestfs.pod:3168 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 " @@ -46124,149 +46362,149 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:3166 +#: ../src/guestfs.pod:3172 msgid "C<rescue>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3168 +#: ../src/guestfs.pod:3174 msgid "L<virt-rescue(1)> command and documentation." msgstr "" #. type: =item -#: ../src/guestfs.pod:3170 +#: ../src/guestfs.pod:3176 msgid "C<resize>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3172 +#: ../src/guestfs.pod:3178 msgid "L<virt-resize(1)> command and documentation." msgstr "" #. type: =item -#: ../src/guestfs.pod:3174 +#: ../src/guestfs.pod:3180 msgid "C<sparsify>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3176 +#: ../src/guestfs.pod:3182 msgid "L<virt-sparsify(1)> command and documentation." msgstr "" #. type: =item -#: ../src/guestfs.pod:3178 +#: ../src/guestfs.pod:3184 msgid "C<src>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3180 +#: ../src/guestfs.pod:3186 msgid "Source code to the C library." msgstr "" #. type: =item -#: ../src/guestfs.pod:3182 +#: ../src/guestfs.pod:3188 msgid "C<sysprep>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3184 +#: ../src/guestfs.pod:3190 msgid "L<virt-sysprep(1)> command and documentation." msgstr "" #. type: =item -#: ../src/guestfs.pod:3186 +#: ../src/guestfs.pod:3192 msgid "C<test-tool>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3188 +#: ../src/guestfs.pod:3194 msgid "" "Test tool for end users to test if their qemu/kernel combination will work " "with libguestfs." msgstr "" #. type: =item -#: ../src/guestfs.pod:3191 +#: ../src/guestfs.pod:3197 msgid "C<tests>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3193 +#: ../src/guestfs.pod:3199 msgid "Tests." msgstr "" #. type: =item -#: ../src/guestfs.pod:3195 +#: ../src/guestfs.pod:3201 msgid "C<tools>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3197 +#: ../src/guestfs.pod:3203 msgid "Command line tools written in Perl (L<virt-win-reg(1)> and many others)." msgstr "" #. type: =item -#: ../src/guestfs.pod:3199 +#: ../src/guestfs.pod:3205 msgid "C<csharp>" msgstr "" #. type: =item -#: ../src/guestfs.pod:3201 +#: ../src/guestfs.pod:3207 msgid "C<erlang>" msgstr "" #. type: =item -#: ../src/guestfs.pod:3203 +#: ../src/guestfs.pod:3209 msgid "C<gobject>" msgstr "" #. type: =item -#: ../src/guestfs.pod:3205 +#: ../src/guestfs.pod:3211 msgid "C<haskell>" msgstr "" #. type: =item -#: ../src/guestfs.pod:3207 +#: ../src/guestfs.pod:3213 msgid "C<java>" msgstr "" #. type: =item -#: ../src/guestfs.pod:3209 +#: ../src/guestfs.pod:3215 msgid "C<ocaml>" msgstr "" #. type: =item -#: ../src/guestfs.pod:3211 +#: ../src/guestfs.pod:3217 msgid "C<php>" msgstr "" #. type: =item -#: ../src/guestfs.pod:3213 +#: ../src/guestfs.pod:3219 msgid "C<perl>" msgstr "" #. type: =item -#: ../src/guestfs.pod:3215 +#: ../src/guestfs.pod:3221 msgid "C<python>" msgstr "" #. type: =item -#: ../src/guestfs.pod:3217 +#: ../src/guestfs.pod:3223 msgid "C<ruby>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3219 +#: ../src/guestfs.pod:3225 msgid "Language bindings." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3223 +#: ../src/guestfs.pod:3229 msgid "MAKING A STABLE RELEASE" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3225 +#: ../src/guestfs.pod:3231 msgid "" "When we make a stable release, there are several steps documented here. See " "L</LIBGUESTFS VERSION NUMBERS> for general information about the stable " @@ -46274,32 +46512,32 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3233 +#: ../src/guestfs.pod:3239 msgid "Check C<make && make check> works on at least Fedora, Debian and Ubuntu." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3238 +#: ../src/guestfs.pod:3244 msgid "Finalize RELEASE-NOTES." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3242 +#: ../src/guestfs.pod:3248 msgid "Update ROADMAP." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3246 +#: ../src/guestfs.pod:3252 msgid "Run C<src/api-support/update-from-tarballs.sh>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3250 +#: ../src/guestfs.pod:3256 msgid "Push and pull from Transifex." msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3254 +#: ../src/guestfs.pod:3260 #, no-wrap msgid "" " tx push -s\n" @@ -46307,12 +46545,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3256 +#: ../src/guestfs.pod:3262 msgid "to push the latest POT files to Transifex. Then run:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3258 +#: ../src/guestfs.pod:3264 #, no-wrap msgid "" " ./tx-pull.sh\n" @@ -46320,24 +46558,24 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3260 +#: ../src/guestfs.pod:3266 msgid "which is a wrapper to pull the latest translated C<*.po> files." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3264 +#: ../src/guestfs.pod:3270 msgid "" "Create new stable and development directories under " "L<http://libguestfs.org/download>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3269 +#: ../src/guestfs.pod:3275 msgid "Create the branch in git:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3271 +#: ../src/guestfs.pod:3277 #, no-wrap msgid "" " git tag -a 1.XX.0 -m \"Version 1.XX.0 (stable)\"\n" @@ -46348,17 +46586,17 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:3278 +#: ../src/guestfs.pod:3284 msgid "LIMITS" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3280 +#: ../src/guestfs.pod:3286 msgid "PROTOCOL LIMITS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3282 +#: ../src/guestfs.pod:3288 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 " @@ -46369,7 +46607,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3290 +#: ../src/guestfs.pod:3296 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 " @@ -46378,7 +46616,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3296 +#: ../src/guestfs.pod:3302 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> " @@ -46386,24 +46624,24 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3300 +#: ../src/guestfs.pod:3306 msgid "" "You might also consider mounting the disk image using our FUSE filesystem " "support (L<guestmount(1)>)." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3303 +#: ../src/guestfs.pod:3309 msgid "MAXIMUM NUMBER OF DISKS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3305 +#: ../src/guestfs.pod:3311 msgid "When using virtio disks (the default) the current limit is B<25> disks." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3308 +#: ../src/guestfs.pod:3314 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> " @@ -46412,14 +46650,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3313 +#: ../src/guestfs.pod:3319 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:3316 +#: ../src/guestfs.pod:3322 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 " @@ -46427,41 +46665,41 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3320 +#: ../src/guestfs.pod:3326 msgid "MAXIMUM NUMBER OF PARTITIONS PER DISK" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3322 +#: ../src/guestfs.pod:3328 msgid "Virtio limits the maximum number of partitions per disk to B<15>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3324 +#: ../src/guestfs.pod:3330 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:3327 +#: ../src/guestfs.pod:3333 msgid "" "If you attach a disk with more than 15 partitions, the extra partitions are " "ignored by libguestfs." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3330 +#: ../src/guestfs.pod:3336 msgid "MAXIMUM SIZE OF A DISK" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3332 +#: ../src/guestfs.pod:3338 msgid "Probably the limit is between 2**63-1 and 2**64-1 bytes." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3334 +#: ../src/guestfs.pod:3340 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 " @@ -46469,7 +46707,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3338 +#: ../src/guestfs.pod:3344 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 " @@ -46479,19 +46717,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3344 +#: ../src/guestfs.pod:3350 msgid "" "For the hugest disk image files, we recommend using XFS on the host for " "storage." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3347 +#: ../src/guestfs.pod:3353 msgid "MAXIMUM SIZE OF A PARTITION" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3349 +#: ../src/guestfs.pod:3355 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 " @@ -46499,7 +46737,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3353 +#: ../src/guestfs.pod:3359 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 " @@ -46507,12 +46745,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3358 +#: ../src/guestfs.pod:3364 msgid "MAXIMUM SIZE OF A FILESYSTEM, FILES, DIRECTORIES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3360 +#: ../src/guestfs.pod:3366 msgid "" "This depends on the filesystem type. libguestfs itself does not impose any " "known limit. Consult Wikipedia or the filesystem documentation to find out " @@ -46520,12 +46758,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3364 +#: ../src/guestfs.pod:3370 msgid "MAXIMUM UPLOAD AND DOWNLOAD" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3366 +#: ../src/guestfs.pod:3372 msgid "" "The API functions L</guestfs_upload>, L</guestfs_download>, " "L</guestfs_tar_in>, L</guestfs_tar_out> and the like allow unlimited sized " @@ -46533,12 +46771,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3370 +#: ../src/guestfs.pod:3376 msgid "INSPECTION LIMITS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3372 +#: ../src/guestfs.pod:3378 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 " @@ -46548,33 +46786,33 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3398 +#: ../src/guestfs.pod:3404 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:3410 +#: ../src/guestfs.pod:3416 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:3419 +#: ../src/guestfs.pod:3425 msgid "See also L</QEMU WRAPPERS> above." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3423 +#: ../src/guestfs.pod:3429 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:3441 +#: ../src/guestfs.pod:3447 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)>, " @@ -46593,7 +46831,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3483 +#: ../src/guestfs.pod:3489 msgid "" "Tools with a similar purpose: L<fdisk(8)>, L<parted(8)>, L<kpartx(8)>, " "L<lvm(8)>, L<disktype(1)>." @@ -49026,88 +49264,88 @@ 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 "" #. type: =item -#: ../tools/virt-win-reg.pl:567 +#: ../tools/virt-win-reg.pl:557 msgid "C<HKEY_LOCAL_MACHINE\\SECURITY>" msgstr "" #. type: =item -#: ../tools/virt-win-reg.pl:569 +#: ../tools/virt-win-reg.pl:559 msgid "C<HKEY_LOCAL_MACHINE\\SOFTWARE>" msgstr "" #. type: =item -#: ../tools/virt-win-reg.pl:571 +#: ../tools/virt-win-reg.pl:561 msgid "C<HKEY_LOCAL_MACHINE\\SYSTEM>" msgstr "" #. type: =item -#: ../tools/virt-win-reg.pl:573 +#: ../tools/virt-win-reg.pl:563 msgid "C<HKEY_USERS\\.DEFAULT>" msgstr "" #. type: =item -#: ../tools/virt-win-reg.pl:575 +#: ../tools/virt-win-reg.pl:565 msgid "C<HKEY_USERS\\I<SID>>" msgstr "" #. 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 "" #. 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 " @@ -49117,14 +49355,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" @@ -49132,14 +49370,14 @@ msgid "" msgstr "" #. 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" @@ -49147,12 +49385,12 @@ msgid "" msgstr "" #. 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 " @@ -49160,7 +49398,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../tools/virt-win-reg.pl:615 +#: ../tools/virt-win-reg.pl:605 #, no-wrap msgid "" " $ file software.reg\n" @@ -49170,17 +49408,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 " @@ -49188,7 +49426,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 " @@ -49196,7 +49434,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" @@ -49209,27 +49447,27 @@ msgid "" msgstr "" #. 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" @@ -49237,12 +49475,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" @@ -49251,24 +49489,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 " @@ -49276,7 +49514,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" @@ -49284,12 +49522,12 @@ msgid "" msgstr "" #. 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" @@ -49300,7 +49538,7 @@ msgid "" msgstr "" #. 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 " @@ -49308,12 +49546,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" @@ -49321,12 +49559,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 " @@ -49335,7 +49573,7 @@ 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 " @@ -49343,7 +49581,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../tools/virt-win-reg.pl:693 +#: ../tools/virt-win-reg.pl:683 #, no-wrap msgid "" " guestfish -i -d WindowsGuest <<EOF\n" @@ -49354,7 +49592,7 @@ msgid "" msgstr "" #. 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 " @@ -49363,7 +49601,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" @@ -49378,7 +49616,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../tools/virt-win-reg.pl:712 +#: ../tools/virt-win-reg.pl:702 #, no-wrap msgid "" " [HKLM\\SYSTEM\\ControlSet001\\services\\RHSrvAny\\Parameters]\n" @@ -49389,7 +49627,7 @@ msgid "" msgstr "" #. 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 " @@ -49397,7 +49635,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 " @@ -49405,19 +49643,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" @@ -49425,7 +49663,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 " @@ -49433,12 +49671,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)>, " @@ -49447,6 +49685,6 @@ msgid "" msgstr "" #. type: textblock -#: ../tools/virt-win-reg.pl:778 +#: ../tools/virt-win-reg.pl:768 msgid "Copyright (C) 2010 Red Hat Inc." msgstr "" diff --git a/po-docs/uk.po b/po-docs/uk.po index 12c30b8a..1f6aa5f0 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 13:50+0200\n" +"POT-Creation-Date: 2012-10-01 16:29+0200\n" "PO-Revision-Date: 2012-07-10 17:15+0000\n" "Last-Translator: rjones <rjones@redhat.com>\n" "Language-Team: Ukrainian <trans-uk@lists.fedoraproject.org>\n" @@ -537,7 +537,7 @@ msgstr "" #: ../df/virt-df.pod:110 ../edit/virt-edit.pod:141 ../fish/guestfish.pod:242 #: ../fish/guestfish.pod:685 ../format/virt-format.pod:96 #: ../inspector/virt-inspector.pod:350 ../rescue/virt-rescue.pod:164 -#: ../src/guestfs.pod:3056 ../sysprep/virt-sysprep.pod:111 +#: ../src/guestfs.pod:3062 ../sysprep/virt-sysprep.pod:111 msgid "For example:" msgstr "Приклад:" @@ -1033,7 +1033,7 @@ msgstr "" #: ../resize/virt-resize.pod:690 ../sysprep/virt-sysprep.pod:431 #: ../tools/virt-list-filesystems.pl:190 ../tools/virt-list-partitions.pl:260 #: ../tools/virt-make-fs.pl:583 ../tools/virt-tar.pl:287 -#: ../tools/virt-win-reg.pl:744 +#: ../tools/virt-win-reg.pl:734 msgid "SHELL QUOTING" msgstr "ЕКРАНУВАННЯ СИМВОЛІВ У ОБОЛОНЦІ" @@ -1045,7 +1045,7 @@ msgstr "ЕКРАНУВАННЯ СИМВОЛІВ У ОБОЛОНЦІ" #: ../resize/virt-resize.pod:692 ../sysprep/virt-sysprep.pod:433 #: ../tools/virt-list-filesystems.pl:192 ../tools/virt-list-partitions.pl:262 #: ../tools/virt-make-fs.pl:585 ../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 " @@ -1079,20 +1079,20 @@ msgstr "Ця програма повертає:" #: ../cat/virt-cat.pod:202 ../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-faq.pod:150 -#: ../examples/guestfs-faq.pod:156 ../examples/guestfs-faq.pod:195 -#: ../examples/guestfs-faq.pod:201 ../examples/guestfs-performance.pod:107 +#: ../edit/virt-edit.pod:291 ../examples/guestfs-faq.pod:149 +#: ../examples/guestfs-faq.pod:155 ../examples/guestfs-faq.pod:194 +#: ../examples/guestfs-faq.pod:200 ../examples/guestfs-performance.pod:107 #: ../examples/guestfs-performance.pod:113 #: ../examples/guestfs-performance.pod:118 #: ../examples/guestfs-performance.pod:253 #: ../examples/guestfs-performance.pod:258 -#: ../examples/guestfs-performance.pod:263 ../examples/guestfs-recipes.pod:126 -#: ../examples/guestfs-recipes.pod:130 ../examples/guestfs-recipes.pod:134 -#: ../examples/guestfs-recipes.pod:160 ../examples/guestfs-recipes.pod:165 -#: ../examples/guestfs-recipes.pod:255 ../examples/guestfs-recipes.pod:259 -#: ../examples/guestfs-recipes.pod:263 ../examples/guestfs-recipes.pod:267 -#: ../examples/guestfs-recipes.pod:271 ../examples/guestfs-testing.pod:110 -#: ../examples/guestfs-testing.pod:114 ../examples/guestfs-testing.pod:118 +#: ../examples/guestfs-performance.pod:263 ../examples/guestfs-recipes.pod:128 +#: ../examples/guestfs-recipes.pod:132 ../examples/guestfs-recipes.pod:136 +#: ../examples/guestfs-recipes.pod:162 ../examples/guestfs-recipes.pod:167 +#: ../examples/guestfs-recipes.pod:257 ../examples/guestfs-recipes.pod:261 +#: ../examples/guestfs-recipes.pod:265 ../examples/guestfs-recipes.pod:269 +#: ../examples/guestfs-recipes.pod:273 ../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 @@ -1132,22 +1132,22 @@ msgstr "Ця програма повертає:" #: ../src/guestfs-actions.pod:3227 ../src/guestfs-actions.pod:3782 #: ../src/guestfs-actions.pod:3788 ../src/guestfs-actions.pod:3796 #: ../src/guestfs-actions.pod:3803 ../src/guestfs-actions.pod:3810 -#: ../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:1197 -#: ../src/guestfs.pod:1201 ../src/guestfs.pod:1205 ../src/guestfs.pod:1210 -#: ../src/guestfs.pod:1218 ../src/guestfs.pod:1237 ../src/guestfs.pod:1245 -#: ../src/guestfs.pod:1262 ../src/guestfs.pod:1267 ../src/guestfs.pod:1271 -#: ../src/guestfs.pod:1328 ../src/guestfs.pod:1332 ../src/guestfs.pod:1336 -#: ../src/guestfs.pod:1340 ../src/guestfs.pod:1344 ../src/guestfs.pod:1348 -#: ../src/guestfs.pod:1863 ../src/guestfs.pod:1868 ../src/guestfs.pod:1872 -#: ../src/guestfs.pod:1974 ../src/guestfs.pod:1979 ../src/guestfs.pod:1983 -#: ../src/guestfs.pod:1993 ../src/guestfs.pod:2282 ../src/guestfs.pod:2287 -#: ../src/guestfs.pod:2293 ../src/guestfs.pod:2301 ../src/guestfs.pod:2818 -#: ../src/guestfs.pod:2824 ../src/guestfs.pod:2829 ../src/guestfs.pod:2835 -#: ../src/guestfs.pod:3231 ../src/guestfs.pod:3236 ../src/guestfs.pod:3240 -#: ../src/guestfs.pod:3244 ../src/guestfs.pod:3248 ../src/guestfs.pod:3262 -#: ../src/guestfs.pod:3267 ../sysprep/virt-sysprep.pod:230 +#: ../src/guestfs.pod:394 ../src/guestfs.pod:399 ../src/guestfs.pod:404 +#: ../src/guestfs.pod:408 ../src/guestfs.pod:413 ../src/guestfs.pod:417 +#: ../src/guestfs.pod:422 ../src/guestfs.pod:427 ../src/guestfs.pod:1203 +#: ../src/guestfs.pod:1207 ../src/guestfs.pod:1211 ../src/guestfs.pod:1216 +#: ../src/guestfs.pod:1224 ../src/guestfs.pod:1243 ../src/guestfs.pod:1251 +#: ../src/guestfs.pod:1268 ../src/guestfs.pod:1273 ../src/guestfs.pod:1277 +#: ../src/guestfs.pod:1334 ../src/guestfs.pod:1338 ../src/guestfs.pod:1342 +#: ../src/guestfs.pod:1346 ../src/guestfs.pod:1350 ../src/guestfs.pod:1354 +#: ../src/guestfs.pod:1869 ../src/guestfs.pod:1874 ../src/guestfs.pod:1878 +#: ../src/guestfs.pod:1980 ../src/guestfs.pod:1985 ../src/guestfs.pod:1989 +#: ../src/guestfs.pod:1999 ../src/guestfs.pod:2288 ../src/guestfs.pod:2293 +#: ../src/guestfs.pod:2299 ../src/guestfs.pod:2307 ../src/guestfs.pod:2824 +#: ../src/guestfs.pod:2830 ../src/guestfs.pod:2835 ../src/guestfs.pod:2841 +#: ../src/guestfs.pod:3237 ../src/guestfs.pod:3242 ../src/guestfs.pod:3246 +#: ../src/guestfs.pod:3250 ../src/guestfs.pod:3254 ../src/guestfs.pod:3268 +#: ../src/guestfs.pod:3273 ../sysprep/virt-sysprep.pod:230 #: ../sysprep/virt-sysprep.pod:234 ../sysprep/virt-sysprep.pod:238 #: ../sysprep/virt-sysprep.pod:242 ../sysprep/virt-sysprep.pod:257 #: ../sysprep/virt-sysprep.pod:261 ../sysprep/virt-sysprep.pod:265 @@ -1156,8 +1156,8 @@ msgstr "Ця програма повертає:" #: ../sysprep/virt-sysprep.pod:331 ../sysprep/virt-sysprep.pod:339 #: ../sysprep/virt-sysprep.pod:345 ../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 "*" @@ -1175,7 +1175,7 @@ msgstr "" "найкращої швидкодії" #. type: =item -#: ../align/virt-alignment-scan.pod:355 ../src/guestfs.pod:1520 +#: ../align/virt-alignment-scan.pod:355 ../src/guestfs.pod:1526 msgid "1" msgstr "1" @@ -1185,7 +1185,7 @@ msgid "an error scanning the disk image or guest" msgstr "під час сканування образу диска або гостьової системи сталася помилка" #. type: =item -#: ../align/virt-alignment-scan.pod:361 ../src/guestfs.pod:1524 +#: ../align/virt-alignment-scan.pod:361 ../src/guestfs.pod:1530 msgid "2" msgstr "2" @@ -1197,7 +1197,7 @@ msgid "" msgstr "" #. type: =item -#: ../align/virt-alignment-scan.pod:368 ../src/guestfs.pod:1528 +#: ../align/virt-alignment-scan.pod:368 ../src/guestfs.pod:1534 msgid "3" msgstr "3" @@ -1214,9 +1214,9 @@ msgstr "" #: ../cat/virt-cat.pod:243 ../cat/virt-filesystems.pod:389 #: ../cat/virt-ls.pod:495 ../df/virt-df.pod:253 ../edit/virt-edit.pod:368 #: ../erlang/examples/guestfs-erlang.pod:97 -#: ../examples/guestfs-examples.pod:33 ../examples/guestfs-faq.pod:723 -#: ../examples/guestfs-performance.pod:429 ../examples/guestfs-recipes.pod:417 -#: ../examples/guestfs-testing.pod:291 ../fish/guestfish.pod:1280 +#: ../examples/guestfs-examples.pod:33 ../examples/guestfs-faq.pod:779 +#: ../examples/guestfs-performance.pod:429 ../examples/guestfs-recipes.pod:470 +#: ../examples/guestfs-testing.pod:305 ../fish/guestfish.pod:1280 #: ../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:398 @@ -1224,11 +1224,11 @@ msgstr "" #: ../ocaml/examples/guestfs-ocaml.pod:78 ../perl/examples/guestfs-perl.pod:40 #: ../python/examples/guestfs-python.pod:42 ../rescue/virt-rescue.pod:340 #: ../resize/virt-resize.pod:702 ../ruby/examples/guestfs-ruby.pod:36 -#: ../sparsify/virt-sparsify.pod:299 ../src/guestfs.pod:3439 +#: ../sparsify/virt-sparsify.pod:299 ../src/guestfs.pod:3445 #: ../sysprep/virt-sysprep.pod:442 ../test-tool/libguestfs-test-tool.pod:106 #: ../tools/virt-list-filesystems.pl:197 ../tools/virt-list-partitions.pl:267 #: ../tools/virt-make-fs.pl:590 ../tools/virt-tar.pl:294 -#: ../tools/virt-win-reg.pl:757 +#: ../tools/virt-win-reg.pl:747 msgid "SEE ALSO" msgstr "ТАКОЖ ПЕРЕГЛЯНЬТЕ" @@ -1249,7 +1249,7 @@ msgstr "" #: ../resize/virt-resize.pod:725 ../sparsify/virt-sparsify.pod:312 #: ../tools/virt-list-filesystems.pl:210 ../tools/virt-list-partitions.pl:279 #: ../tools/virt-make-fs.pl:605 ../tools/virt-tar.pl:309 -#: ../tools/virt-win-reg.pl:772 +#: ../tools/virt-win-reg.pl:762 msgid "AUTHOR" msgstr "АВТОР" @@ -1262,7 +1262,7 @@ msgstr "АВТОР" #: ../sparsify/virt-sparsify.pod:314 ../sysprep/virt-sysprep.pod:459 #: ../tools/virt-list-filesystems.pl:212 ../tools/virt-list-partitions.pl:281 #: ../tools/virt-make-fs.pl:607 ../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/>" @@ -1272,9 +1272,9 @@ msgstr "Richard W.M. Jones L<http://people.redhat.com/~rjones/>" #: ../cat/virt-cat.pod:256 ../cat/virt-filesystems.pod:404 #: ../cat/virt-ls.pod:511 ../df/virt-df.pod:265 ../edit/virt-edit.pod:386 #: ../erlang/examples/guestfs-erlang.pod:114 -#: ../examples/guestfs-examples.pod:49 ../examples/guestfs-faq.pod:733 -#: ../examples/guestfs-performance.pod:446 ../examples/guestfs-recipes.pod:434 -#: ../examples/guestfs-testing.pod:302 ../fish/guestfish.pod:1312 +#: ../examples/guestfs-examples.pod:49 ../examples/guestfs-faq.pod:789 +#: ../examples/guestfs-performance.pod:446 ../examples/guestfs-recipes.pod:487 +#: ../examples/guestfs-testing.pod:316 ../fish/guestfish.pod:1312 #: ../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:413 @@ -1282,11 +1282,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:353 #: ../resize/virt-resize.pod:729 ../ruby/examples/guestfs-ruby.pod:52 -#: ../sparsify/virt-sparsify.pod:316 ../src/guestfs.pod:3494 +#: ../sparsify/virt-sparsify.pod:316 ../src/guestfs.pod:3500 #: ../sysprep/virt-sysprep.pod:463 ../test-tool/libguestfs-test-tool.pod:116 #: ../tools/virt-list-filesystems.pl:214 ../tools/virt-list-partitions.pl:283 #: ../tools/virt-make-fs.pl:609 ../tools/virt-tar.pl:313 -#: ../tools/virt-win-reg.pl:776 +#: ../tools/virt-win-reg.pl:766 msgid "COPYRIGHT" msgstr "АВТОРСЬКІ ПРАВА" @@ -1569,7 +1569,7 @@ msgstr "" #: ../appliance/libguestfs-make-fixed-appliance.pod:139 #: ../edit/virt-edit.pod:343 ../fish/guestfish.pod:1131 #: ../rescue/virt-rescue.pod:313 ../sparsify/virt-sparsify.pod:272 -#: ../src/guestfs.pod:3378 ../test-tool/libguestfs-test-tool.pod:101 +#: ../src/guestfs.pod:3384 ../test-tool/libguestfs-test-tool.pod:101 msgid "ENVIRONMENT VARIABLES" msgstr "ЗМІННІ СЕРЕДОВИЩА" @@ -1593,16 +1593,16 @@ msgstr "" #. type: =head1 #: ../appliance/libguestfs-make-fixed-appliance.pod:153 #: ../erlang/examples/guestfs-erlang.pod:110 -#: ../examples/guestfs-examples.pod:45 ../examples/guestfs-faq.pod:729 -#: ../examples/guestfs-performance.pod:442 ../examples/guestfs-recipes.pod:430 -#: ../examples/guestfs-testing.pod:298 ../fish/guestfish.pod:1308 +#: ../examples/guestfs-examples.pod:45 ../examples/guestfs-faq.pod:785 +#: ../examples/guestfs-performance.pod:442 ../examples/guestfs-recipes.pod:483 +#: ../examples/guestfs-testing.pod:312 ../fish/guestfish.pod:1308 #: ../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:409 ../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:3490 +#: ../ruby/examples/guestfs-ruby.pod:48 ../src/guestfs.pod:3496 #: ../sysprep/virt-sysprep.pod:457 ../test-tool/libguestfs-test-tool.pod:112 msgid "AUTHORS" msgstr "АВТОРИ" @@ -1610,15 +1610,15 @@ msgstr "АВТОРИ" #. type: textblock #: ../appliance/libguestfs-make-fixed-appliance.pod:155 #: ../erlang/examples/guestfs-erlang.pod:112 -#: ../examples/guestfs-examples.pod:47 ../examples/guestfs-faq.pod:731 -#: ../examples/guestfs-performance.pod:444 ../examples/guestfs-recipes.pod:432 -#: ../examples/guestfs-testing.pod:300 ../fish/guestfish.pod:1310 +#: ../examples/guestfs-examples.pod:47 ../examples/guestfs-faq.pod:787 +#: ../examples/guestfs-performance.pod:444 ../examples/guestfs-recipes.pod:485 +#: ../examples/guestfs-testing.pod:314 ../fish/guestfish.pod:1310 #: ../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:411 ../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:3492 +#: ../ruby/examples/guestfs-ruby.pod:50 ../src/guestfs.pod:3498 #: ../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>)" @@ -1626,9 +1626,9 @@ msgstr "Richard W.M. Jones (C<rjones at redhat dot com>)" #. type: textblock #: ../appliance/libguestfs-make-fixed-appliance.pod:159 ../cat/virt-ls.pod:513 #: ../df/virt-df.pod:267 ../edit/virt-edit.pod:388 -#: ../examples/guestfs-recipes.pod:436 ../fish/guestfish.pod:1314 +#: ../examples/guestfs-recipes.pod:489 ../fish/guestfish.pod:1314 #: ../fuse/guestmount.pod:415 ../rescue/virt-rescue.pod:355 -#: ../src/guestfs.pod:3496 ../test-tool/libguestfs-test-tool.pod:118 +#: ../src/guestfs.pod:3502 ../test-tool/libguestfs-test-tool.pod:118 #: ../tools/virt-list-partitions.pl:285 msgid "Copyright (C) 2009-2012 Red Hat Inc." msgstr "© Red Hat Inc., 2009–2012" @@ -2892,7 +2892,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 "" @@ -2907,7 +2907,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 "" @@ -2922,7 +2922,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 "" @@ -2937,7 +2937,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 "" @@ -2967,7 +2967,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 "" @@ -2982,7 +2982,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 "" @@ -4719,7 +4719,7 @@ msgstr "" #. 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:318 @@ -4817,23 +4817,23 @@ msgstr "" #: ../examples/guestfs-faq.pod:16 msgid "" "libguestfs is a C library (hence \"lib-\"), and a set of tools built on this " -"library, and a set of bindings in many different programming languages." +"library, and bindings for many common programming languages." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:20 +#: ../examples/guestfs-faq.pod:19 msgid "" "For more information about what libguestfs can do read the introduction on " "the home page (L<http://libguestfs.org>)." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:23 +#: ../examples/guestfs-faq.pod:22 msgid "What are the virt tools?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:25 +#: ../examples/guestfs-faq.pod:24 msgid "" "Virt tools (website: L<http://virt-tools.org>) are a whole set of " "virtualization management tools aimed at system administrators. Some of " @@ -4844,24 +4844,24 @@ msgid "" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:32 +#: ../examples/guestfs-faq.pod:31 msgid "Does libguestfs need { libvirt / KVM / Red Hat / Fedora }?" msgstr "" "Чи потрібно встановлювати пакунки { libvirt / KVM / Red Hat / Fedora } для " "роботи з libguestfs?" #. type: textblock -#: ../examples/guestfs-faq.pod:34 +#: ../examples/guestfs-faq.pod:33 msgid "No!" msgstr "Ні!" #. type: textblock -#: ../examples/guestfs-faq.pod:36 +#: ../examples/guestfs-faq.pod:35 msgid "libvirt is not a requirement for libguestfs." msgstr "libvirt не є обов’язковою частиною libguestfs." #. type: textblock -#: ../examples/guestfs-faq.pod:38 +#: ../examples/guestfs-faq.pod:37 msgid "" "libguestfs works with any disk image, including ones created in VMware, KVM, " "qemu, VirtualBox, Xen, and many other hypervisors, and ones which you have " @@ -4869,26 +4869,26 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:42 +#: ../examples/guestfs-faq.pod:41 msgid "" -"Red Hat sponsors (ie. pays for) development of libguestfs and a huge number " -"of other open source projects. But you can run libguestfs and the virt " -"tools on many different Linux distros and Mac OS X. Some virt tools have " -"been ported to Windows." +"S<Red Hat> sponsors (ie. pays for) development of libguestfs and a huge " +"number of other open source projects. But you can run libguestfs and the " +"virt tools on many different Linux distros and Mac OS X. Some virt tools " +"have been ported to Windows." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:47 +#: ../examples/guestfs-faq.pod:46 msgid "How does libguestfs compare to other tools?" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:51 +#: ../examples/guestfs-faq.pod:50 msgid "I<vs. kpartx>" msgstr "I<порівняно з kpartx>" #. type: textblock -#: ../examples/guestfs-faq.pod:53 +#: ../examples/guestfs-faq.pod:52 msgid "" "Libguestfs takes a different approach from kpartx. kpartx needs root, and " "mounts filesystems on the host kernel (which can be insecure - see L<guestfs" @@ -4899,12 +4899,12 @@ msgid "" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:61 +#: ../examples/guestfs-faq.pod:60 msgid "I<vs. vdfuse>" msgstr "I<порівняно з vdfuse>" #. type: textblock -#: ../examples/guestfs-faq.pod:63 +#: ../examples/guestfs-faq.pod:62 msgid "" "vdfuse is like kpartx but for VirtualBox images. See the kpartx comparison " "above. You can use libguestfs on the partition files exposed by vdfuse, " @@ -4913,12 +4913,12 @@ msgid "" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:68 +#: ../examples/guestfs-faq.pod:67 msgid "I<vs. qemu-nbd>" msgstr "I<порівняно з qemu-nbd>" #. type: textblock -#: ../examples/guestfs-faq.pod:70 +#: ../examples/guestfs-faq.pod:69 msgid "" "nbd is like kpartx but for qcow2 images. See the kpartx comparison above. " "You can use libguestfs and qemu-nbd together for access to block devices " @@ -4926,12 +4926,12 @@ msgid "" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:74 +#: ../examples/guestfs-faq.pod:73 msgid "I<vs. mounting filesystems in the host>" msgstr "I<порівняно з монтуванням файлових систем у основній системі>" #. type: textblock -#: ../examples/guestfs-faq.pod:76 +#: ../examples/guestfs-faq.pod:75 msgid "" "Mounting guest filesystems in the host is insecure and should be avoided " "completely for untrusted guests. Use libguestfs to provide a layer of " @@ -4939,34 +4939,34 @@ msgid "" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:81 +#: ../examples/guestfs-faq.pod:80 msgid "I<vs. parted>" msgstr "I<порівняно з parted>" #. type: textblock -#: ../examples/guestfs-faq.pod:83 +#: ../examples/guestfs-faq.pod:82 msgid "" "Libguestfs supports LVM. Libguestfs uses parted and provides most parted " "features through the libguestfs API." msgstr "" #. type: =head1 -#: ../examples/guestfs-faq.pod:88 +#: ../examples/guestfs-faq.pod:87 msgid "GETTING HELP AND REPORTING BUGS" msgstr "ОТРИМАННЯ ДОВІДКОВОЇ ІНФОРМАЦІЇ ТА ЗВІТУВАННЯ ПРО ВАДИ" #. type: =head2 -#: ../examples/guestfs-faq.pod:90 +#: ../examples/guestfs-faq.pod:89 msgid "How do I know what version I'm using?" msgstr "Як визначити версію програми, якою я користуюся?" #. type: textblock -#: ../examples/guestfs-faq.pod:92 +#: ../examples/guestfs-faq.pod:91 msgid "The simplest method is:" msgstr "Найпростіший спосіб:" #. type: verbatim -#: ../examples/guestfs-faq.pod:94 +#: ../examples/guestfs-faq.pod:93 #, no-wrap msgid "" " guestfish --version\n" @@ -4976,7 +4976,7 @@ msgstr "" "\n" #. type: textblock -#: ../examples/guestfs-faq.pod:96 +#: ../examples/guestfs-faq.pod:95 msgid "" "Libguestfs development happens along an unstable branch and we periodically " "create a stable branch which we backport stable patches to. To find out " @@ -4984,24 +4984,24 @@ msgid "" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:100 +#: ../examples/guestfs-faq.pod:99 msgid "How can I get help?" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:102 +#: ../examples/guestfs-faq.pod:101 msgid "What mailing lists or chat rooms are available?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:104 +#: ../examples/guestfs-faq.pod:103 msgid "" -"If you are a Red Hat customer using Red Hat Enterprise Linux, please contact " -"Red Hat Support: L<http://redhat.com/support>" +"If you are a S<Red Hat> customer using Red Hat Enterprise Linux, please " +"contact S<Red Hat Support>: L<http://redhat.com/support>" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:107 +#: ../examples/guestfs-faq.pod:106 msgid "" "There is a mailing list, mainly for development, but users are also welcome " "to ask questions about libguestfs and the virt tools: L<https://www.redhat." @@ -5009,7 +5009,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:111 +#: ../examples/guestfs-faq.pod:110 msgid "" "You can also talk to us on IRC channel C<#libguestfs> on FreeNode. We're " "not always around, so please stay in the channel after asking your question " @@ -5017,7 +5017,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:115 +#: ../examples/guestfs-faq.pod:114 msgid "" "For other virt tools (not ones supplied with libguestfs) there is a general " "virt tools mailing list: L<https://www.redhat.com/mailman/listinfo/virt-" @@ -5025,17 +5025,17 @@ msgid "" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:119 +#: ../examples/guestfs-faq.pod:118 msgid "How do I report bugs?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:121 +#: ../examples/guestfs-faq.pod:120 msgid "Please use the following link to enter a bug in Bugzilla:" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:123 +#: ../examples/guestfs-faq.pod:122 msgid "" "L<https://bugzilla.redhat.com/enter_bug.cgi?" "component=libguestfs&product=Virtualization+Tools>" @@ -5044,41 +5044,42 @@ msgstr "" "component=libguestfs&product=Virtualization+Tools>" #. type: textblock -#: ../examples/guestfs-faq.pod:125 +#: ../examples/guestfs-faq.pod:124 msgid "Include as much detail as you can and a way to reproduce the problem." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:127 +#: ../examples/guestfs-faq.pod:126 msgid "Include the full output of L<libguestfs-test-tool(1)>." msgstr "" #. type: =head1 -#: ../examples/guestfs-faq.pod:129 +#: ../examples/guestfs-faq.pod:128 msgid "COMMON PROBLEMS" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:131 +#: ../examples/guestfs-faq.pod:130 msgid "" "See also L<guestfs(3)/LIBGUESTFS GOTCHAS> for some \"gotchas\" with using " "the libguestfs API." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:134 +#: ../examples/guestfs-faq.pod:133 msgid "\"child process died unexpectedly\"" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:136 +#: ../examples/guestfs-faq.pod:135 msgid "" "This error indicates that qemu failed or the host kernel could not boot. To " "get further information about the failure, you have to run:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:139 ../test-tool/libguestfs-test-tool.pod:21 +#: ../examples/guestfs-faq.pod:138 ../examples/guestfs-testing.pod:34 +#: ../test-tool/libguestfs-test-tool.pod:21 #, no-wrap msgid "" " libguestfs-test-tool\n" @@ -5088,24 +5089,24 @@ msgstr "" "\n" #. type: textblock -#: ../examples/guestfs-faq.pod:141 +#: ../examples/guestfs-faq.pod:140 msgid "" "If, after using this, you still don't understand the failure, contact us " "(see previous section)." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:144 +#: ../examples/guestfs-faq.pod:143 msgid "Non-ASCII characters don't appear on VFAT filesystems." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:146 +#: ../examples/guestfs-faq.pod:145 msgid "Typical symptoms of this problem:" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:152 +#: ../examples/guestfs-faq.pod:151 msgid "" "You get an error when you create a file where the filename contains non-" "ASCII characters, particularly non 8-bit characters from Asian languages " @@ -5113,19 +5114,19 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:158 +#: ../examples/guestfs-faq.pod:157 msgid "" "When you list a directory from a VFAT filesystem, filenames appear as " "question marks." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:163 +#: ../examples/guestfs-faq.pod:162 msgid "This is a design flaw of the GNU/Linux system." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:165 +#: ../examples/guestfs-faq.pod:164 msgid "" "VFAT stores long filenames as UTF-16 characters. When opening or returning " "filenames, the Linux kernel has to translate these to some form of 8 bit " @@ -5135,7 +5136,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:171 +#: ../examples/guestfs-faq.pod:170 msgid "" "Therefore you have to tell the kernel what translation you want done when " "you mount the filesystem. The two methods are the C<iocharset> parameter " @@ -5143,14 +5144,14 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:175 +#: ../examples/guestfs-faq.pod:174 msgid "" "So to use a VFAT filesystem you must add the C<utf8> flag when mounting. " "From guestfish, use:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:178 +#: ../examples/guestfs-faq.pod:177 #, no-wrap msgid "" " ><fs> mount-options utf8 /dev/sda1 /\n" @@ -5158,12 +5159,12 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:180 +#: ../examples/guestfs-faq.pod:179 msgid "or on the guestfish command line:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:182 +#: ../examples/guestfs-faq.pod:181 #, no-wrap msgid "" " guestfish [...] -m /dev/sda1:/:utf8\n" @@ -5171,12 +5172,12 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:184 +#: ../examples/guestfs-faq.pod:183 msgid "or from the API:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:186 +#: ../examples/guestfs-faq.pod:185 #, no-wrap msgid "" " guestfs_mount_options (g, \"utf8\", \"/dev/sda1\", \"/\");\n" @@ -5184,19 +5185,19 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:188 +#: ../examples/guestfs-faq.pod:187 msgid "The kernel will then translate filenames to and from UTF-8 strings." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:190 +#: ../examples/guestfs-faq.pod:189 msgid "" "We considered adding this mount option transparently, but unfortunately " "there are several problems with doing that:" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:197 +#: ../examples/guestfs-faq.pod:196 msgid "" "On some Linux systems, the C<utf8> mount option doesn't work. We don't " "precisely understand what systems or why, but this was reliably reported by " @@ -5204,7 +5205,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:203 +#: ../examples/guestfs-faq.pod:202 msgid "" "It would prevent you from using the C<iocharset> parameter because it is " "incompatible with C<utf8>. It is probably not a good idea to use this " @@ -5212,12 +5213,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:209 +#: ../examples/guestfs-faq.pod:208 msgid "Non-ASCII characters appear as underscore (_) on ISO9660 filesystems." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:211 +#: ../examples/guestfs-faq.pod:210 msgid "" "The filesystem was not prepared correctly with mkisofs or genisoimage. Make " "sure the filesystem was created using Joliet and/or Rock Ridge extensions. " @@ -5226,40 +5227,40 @@ msgid "" msgstr "" #. type: =head1 -#: ../examples/guestfs-faq.pod:216 +#: ../examples/guestfs-faq.pod:215 msgid "DOWNLOADING, INSTALLING, COMPILING LIBGUESTFS" msgstr "" #. type: =end -#: ../examples/guestfs-faq.pod:218 ../examples/guestfs-faq.pod:223 -#: ../examples/guestfs-faq.pod:448 ../examples/guestfs-faq.pod:453 -#: ../examples/guestfs-faq.pod:574 ../examples/guestfs-faq.pod:579 -#: ../src/guestfs.pod:2428 ../src/guestfs.pod:2433 +#: ../examples/guestfs-faq.pod:217 ../examples/guestfs-faq.pod:222 +#: ../examples/guestfs-faq.pod:504 ../examples/guestfs-faq.pod:509 +#: ../examples/guestfs-faq.pod:630 ../examples/guestfs-faq.pod:635 +#: ../src/guestfs.pod:2434 ../src/guestfs.pod:2439 msgid "html" msgstr "html" #. type: textblock -#: ../examples/guestfs-faq.pod:220 +#: ../examples/guestfs-faq.pod:219 msgid "<!-- old anchor for the next section --> <a name=\"binaries\"/>" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:225 +#: ../examples/guestfs-faq.pod:224 msgid "Where can I get the latest binaries for ...?" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:229 -msgid "Fedora E<ge> 11, RHEL E<ge> 5.3, EPEL 5" +#: ../examples/guestfs-faq.pod:228 +msgid "Fedora E<ge> 11" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:231 +#: ../examples/guestfs-faq.pod:230 msgid "Use:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:233 +#: ../examples/guestfs-faq.pod:232 #, no-wrap msgid "" " yum install '*guestf*'\n" @@ -5267,43 +5268,86 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:235 +#: ../examples/guestfs-faq.pod:234 msgid "" "For the latest builds, see: L<http://koji.fedoraproject.org/koji/packageinfo?" "packageID=8391>" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:238 -msgid "Red Hat Enterprise Linux 6" -msgstr "Red Hat Enterprise Linux 6" +#: ../examples/guestfs-faq.pod:237 +#, fuzzy +#| msgid "Red Hat Enterprise Linux." +msgid "Red Hat Enterprise Linux" +msgstr "Red Hat Enterprise Linux." + +#. type: =item +#: ../examples/guestfs-faq.pod:241 +#, fuzzy +#| msgid "RHEL 6.3" +msgid "RHEL 5" +msgstr "RHEL 6.3" + +#. type: textblock +#: ../examples/guestfs-faq.pod:243 +msgid "Use the package from EPEL 5: L<https://fedoraproject.org/wiki/EPEL>" +msgstr "" + +#. type: =item +#: ../examples/guestfs-faq.pod:246 +#, fuzzy +#| msgid "RHEL 6.3" +msgid "RHEL 6.2-6.3" +msgstr "RHEL 6.3" #. type: textblock -#: ../examples/guestfs-faq.pod:240 +#: ../examples/guestfs-faq.pod:248 msgid "" "It is part of the default install. On RHEL 6 (only) you have to install " "C<libguestfs-winsupport> to get Windows guest support." msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:243 +#: ../examples/guestfs-faq.pod:251 #, fuzzy #| msgid "RHEL 6.3" msgid "RHEL 6.4" msgstr "RHEL 6.3" #. type: textblock -#: ../examples/guestfs-faq.pod:245 -msgid "A preview repository will be announced at a later date." +#: ../examples/guestfs-faq.pod:253 +msgid "" +"A preview repository is available. See the announcement here: L<https://www." +"redhat.com/archives/libguestfs/2012-September/msg00074.html>" +msgstr "" + +#. type: =item +#: ../examples/guestfs-faq.pod:256 +#, fuzzy +#| msgid "RHEL 6.3" +msgid "RHEL 7" +msgstr "RHEL 6.3" + +#. type: textblock +#: ../examples/guestfs-faq.pod:258 +msgid "" +"It will be part of the default install, and based on libguestfs 1.20. As " +"with RHEL 6 you will need to install C<libguestfs-winsupport> separately to " +"get Windows guest support." msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:247 +#: ../examples/guestfs-faq.pod:264 +msgid "Debian and Ubuntu" +msgstr "" + +#. type: =item +#: ../examples/guestfs-faq.pod:268 msgid "Debian Squeeze (6)" msgstr "Debian Squeeze (6)" #. type: textblock -#: ../examples/guestfs-faq.pod:249 +#: ../examples/guestfs-faq.pod:270 msgid "" "Use Hilko Bengen's backport repository: L<http://people.debian.org/~bengen/" "libguestfs/>" @@ -5312,12 +5356,12 @@ msgstr "" "debian.org/~bengen/libguestfs/>" #. type: =item -#: ../examples/guestfs-faq.pod:252 +#: ../examples/guestfs-faq.pod:273 msgid "Debian Wheezy and later (7+)" msgstr "Debian Wheezy та пізніші версії (7+)" #. type: textblock -#: ../examples/guestfs-faq.pod:254 +#: ../examples/guestfs-faq.pod:275 msgid "" "Official Debian packages are available: L<http://packages.debian.org/search?" "keywords=libguestfs> (thanks Hilko Bengen)." @@ -5326,20 +5370,19 @@ msgstr "" "org/search?keywords=libguestfs> (завдяки Hilko Bengen)." #. type: =item -#: ../examples/guestfs-faq.pod:258 +#: ../examples/guestfs-faq.pod:279 msgid "Ubuntu" msgstr "Ubuntu" #. type: textblock -#: ../examples/guestfs-faq.pod:260 +#: ../examples/guestfs-faq.pod:281 msgid "" -"We don't have an Ubuntu maintainer, and the packages supplied by Canonical " -"(which are outside our control) are often broken. Try compiling from source " -"(next section)." +"We don't have a full time Ubuntu maintainer, and the packages supplied by " +"Canonical (which are outside our control) are sometimes broken." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:264 +#: ../examples/guestfs-faq.pod:284 msgid "" "Canonical decided to change the permissions on the kernel so that it's not " "readable except by root. This is completely stupid, but they won't change " @@ -5348,7 +5391,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:270 ../examples/guestfs-faq.pod:296 +#: ../examples/guestfs-faq.pod:290 ../examples/guestfs-faq.pod:316 #, no-wrap msgid "" " sudo chmod 0644 /boot/vmlinuz*\n" @@ -5356,41 +5399,41 @@ msgid "" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:272 +#: ../examples/guestfs-faq.pod:292 msgid "Ubuntu 10.04" msgstr "Ubuntu 10.04" #. type: textblock -#: ../examples/guestfs-faq.pod:274 +#: ../examples/guestfs-faq.pod:294 msgid "See: L<http://libguestfs.org/download/binaries/ubuntu1004-packages/>" msgstr "Див. L<http://libguestfs.org/download/binaries/ubuntu1004-packages/>" #. type: =item -#: ../examples/guestfs-faq.pod:277 +#: ../examples/guestfs-faq.pod:297 msgid "Ubuntu 12.04" msgstr "Ubuntu 12.04" #. type: textblock -#: ../examples/guestfs-faq.pod:279 +#: ../examples/guestfs-faq.pod:299 msgid "" "libguestfs in this version of Ubuntu works, but you need to update " "febootstrap and seabios to the latest versions." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:282 +#: ../examples/guestfs-faq.pod:302 msgid "" "You need febootstrap E<ge> 3.14-2 from: L<http://packages.ubuntu.com/precise/" "febootstrap>" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:285 +#: ../examples/guestfs-faq.pod:305 msgid "After installing or updating febootstrap, rebuild the appliance:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:287 +#: ../examples/guestfs-faq.pod:307 #, no-wrap msgid "" " sudo update-guestfs-appliance\n" @@ -5398,7 +5441,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:289 +#: ../examples/guestfs-faq.pod:309 msgid "" "You need seabios E<ge> 0.6.2-0ubuntu2.1 or E<ge> 0.6.2-0ubuntu3 from: " "L<http://packages.ubuntu.com/precise-updates/seabios> or L<http://packages." @@ -5406,22 +5449,22 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:294 +#: ../examples/guestfs-faq.pod:314 msgid "Also you need to do (see above):" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:298 +#: ../examples/guestfs-faq.pod:320 msgid "Gentoo" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:300 +#: ../examples/guestfs-faq.pod:322 msgid "Libguestfs was added to Gentoo in 2012-07. Do:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:302 +#: ../examples/guestfs-faq.pod:324 #, no-wrap msgid "" " emerge libguestfs\n" @@ -5429,68 +5472,68 @@ msgid "" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:304 +#: ../examples/guestfs-faq.pod:326 msgid "Other Linux distro" msgstr "Інші дистрибутиви Linux" #. type: textblock -#: ../examples/guestfs-faq.pod:306 +#: ../examples/guestfs-faq.pod:328 msgid "Compile from source (next section)." msgstr "Можна зібрати з початкових кодів (наступний розділ)." #. type: =item -#: ../examples/guestfs-faq.pod:308 +#: ../examples/guestfs-faq.pod:330 msgid "Other non-Linux distro" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:310 +#: ../examples/guestfs-faq.pod:332 msgid "You'll have to compile from source, and port it." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:314 +#: ../examples/guestfs-faq.pod:336 msgid "How can I compile and install libguestfs from source?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:316 +#: ../examples/guestfs-faq.pod:338 msgid "" -"If your Linux distro has a working port of febootstrap (that is, Fedora, Red " -"Hat Enterprise Linux >= 6.3, Debian, Ubuntu and ArchLinux) then you should " -"just be able to compile from source in the usual way. Download the latest " -"tarball from L<http://libguestfs.org/download>, unpack it, and start by " -"reading the README file." +"If your Linux distro has a working port of febootstrap (that is, Fedora, " +"S<Red Hat Enterprise Linux E<ge> 6.3>, Debian, Ubuntu and ArchLinux) then " +"you should just be able to compile from source in the usual way. Download " +"the latest tarball from L<http://libguestfs.org/download>, unpack it, and " +"start by reading the README file." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:322 +#: ../examples/guestfs-faq.pod:344 msgid "" "If you I<don't> have febootstrap, you will need to use the \"fixed appliance " "method\". See: L<http://libguestfs.org/download/binaries/appliance/>" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:326 +#: ../examples/guestfs-faq.pod:348 msgid "Patches to port febootstrap to more Linux distros are welcome." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:328 +#: ../examples/guestfs-faq.pod:350 msgid "" "Why do I get an error when I try to rebuild from the source RPMs supplied by " "Red Hat / Fedora?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:331 +#: ../examples/guestfs-faq.pod:353 msgid "" "Because of the complexity of building the libguestfs appliance, the source " "RPMs provided cannot be rebuilt directly using C<rpmbuild> or C<mock>." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:335 +#: ../examples/guestfs-faq.pod:357 msgid "" "If you use Koji (which is open source software and may be installed " "locally), then the SRPMs can be rebuilt in Koji. L<https://fedoraproject." @@ -5498,7 +5541,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:339 +#: ../examples/guestfs-faq.pod:361 msgid "" "If you don't have or want to use Koji, then you have to give libguestfs " "access to the network so it can download the RPMs for building the " @@ -5507,7 +5550,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:345 +#: ../examples/guestfs-faq.pod:367 #, no-wrap msgid "" " %libguestfs_buildnet 1\n" @@ -5515,12 +5558,12 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:347 +#: ../examples/guestfs-faq.pod:369 msgid "If you are using mock, do:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:349 +#: ../examples/guestfs-faq.pod:371 #, no-wrap msgid "" " mock -D '%libguestfs_buildnet 1' [etc]\n" @@ -5528,22 +5571,89 @@ msgid "" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:351 +#: ../examples/guestfs-faq.pod:373 +msgid "How can I add support for sVirt?" +msgstr "" + +#. type: textblock +#: ../examples/guestfs-faq.pod:375 +msgid "" +"Note: We are planning to make this configuration the default in S<Fedora " +"18>. If you find any problems, please let us know or file a bug." +msgstr "" + +#. type: textblock +#: ../examples/guestfs-faq.pod:378 +msgid "" +"L<SVirt|http://selinuxproject.org/page/SVirt> provides a hardened appliance " +"using SELinux, making it very hard for a rogue disk image to \"escape\" from " +"the confinement of libguestfs and damage the host (it's fair to say that " +"even in standard libguestfs this would be hard, but sVirt provides an extra " +"layer of protection for the host and more importantly protects virtual " +"machines on the same host from each other)." +msgstr "" + +#. type: textblock +#: ../examples/guestfs-faq.pod:386 +msgid "" +"Currently to enable sVirt you will need the very latest libvirt (from git), " +"libguestfs and SELinux policies. If you are not running S<Fedora 18+>, you " +"will need to make changes to your SELinux policy - contact us on the mailing " +"list." +msgstr "" + +#. type: textblock +#: ../examples/guestfs-faq.pod:391 +msgid "Once you have the requirements, do:" +msgstr "" + +#. type: verbatim +#: ../examples/guestfs-faq.pod:393 +#, no-wrap +msgid "" +" ./configure --with-default-attach-method=libvirt\n" +" make\n" +"\n" +msgstr "" + +#. type: textblock +#: ../examples/guestfs-faq.pod:396 +msgid "Enable SELinux, and sVirt should be used automatically." +msgstr "" + +#. type: textblock +#: ../examples/guestfs-faq.pod:398 +msgid "" +"All, or almost all, features of libguestfs should work under sVirt. There " +"is one known shortcoming: L<virt-rescue(1)> will not use libvirt (hence " +"sVirt), but falls back to direct launch of qemu. So you won't currently get " +"the benefit of sVirt protection when using virt-rescue." +msgstr "" + +#. type: textblock +#: ../examples/guestfs-faq.pod:403 +msgid "" +"In theory sVirt should support AppArmor, but we have not tried it. It will " +"almost certainly require patching libvirt and writing an AppArmor policy." +msgstr "" + +#. type: =head2 +#: ../examples/guestfs-faq.pod:407 msgid "Libguestfs has a really long list of dependencies!" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:353 +#: ../examples/guestfs-faq.pod:409 msgid "That's because it does a lot of things." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:355 +#: ../examples/guestfs-faq.pod:411 msgid "How can I speed up libguestfs builds?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:357 +#: ../examples/guestfs-faq.pod:413 msgid "" "By far the most important thing you can do is to install and properly " "configure Squid. Note that the default configuration that ships with Squid " @@ -5551,7 +5661,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:361 +#: ../examples/guestfs-faq.pod:417 msgid "" "A very good place to start with Squid configuration is here: L<https://" "fedoraproject.org/wiki/Extras/" @@ -5559,38 +5669,38 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:364 +#: ../examples/guestfs-faq.pod:420 msgid "" "Make sure Squid is running, and that the environment variables C<" "$http_proxy> and C<$ftp_proxy> are pointing to it." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:367 +#: ../examples/guestfs-faq.pod:423 msgid "" "With Squid running and correctly configured, appliance builds should be " "reduced to a few minutes." msgstr "" #. type: =head1 -#: ../examples/guestfs-faq.pod:370 +#: ../examples/guestfs-faq.pod:426 msgid "SPEED, DISK SPACE USED BY LIBGUESTFS" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:372 +#: ../examples/guestfs-faq.pod:428 msgid "" "Note: Most of the information in this section has moved: L<guestfs-" "performance(1)>." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:375 +#: ../examples/guestfs-faq.pod:431 msgid "Upload or write seem very slow." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:377 +#: ../examples/guestfs-faq.pod:433 msgid "" "In libguestfs E<lt> 1.13.16, the mount command (L<guestfs(3)/guestfs_mount>) " "enabled option C<-o sync> implicitly. This causes very poor write " @@ -5598,14 +5708,14 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:382 +#: ../examples/guestfs-faq.pod:438 msgid "" "For libguestfs E<lt> 1.13.16, replace mount with C<mount-options>, leaving " "the first parameter as an empty string." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:385 +#: ../examples/guestfs-faq.pod:441 msgid "" "You can also do this with more recent versions of libguestfs, but if you " "know that you are using libguestfs ≥ 1.13.16 then it's safe to use plain " @@ -5613,7 +5723,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:389 +#: ../examples/guestfs-faq.pod:445 msgid "" "If the underlying disk is not fully allocated (eg. sparse raw or qcow2) then " "writes can be slow because the host operating system has to do costly disk " @@ -5623,17 +5733,17 @@ msgid "" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:395 +#: ../examples/guestfs-faq.pod:451 msgid "Libguestfs uses too much disk space!" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:397 +#: ../examples/guestfs-faq.pod:453 msgid "libguestfs caches a large-ish appliance in:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:399 +#: ../examples/guestfs-faq.pod:455 #, no-wrap msgid "" " /var/tmp/.guestfs-<UID>\n" @@ -5641,26 +5751,26 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:401 +#: ../examples/guestfs-faq.pod:457 msgid "" "If the environment variable C<TMPDIR> is defined, then C<$TMPDIR/.guestfs-" "E<lt>UIDE<gt>> is used instead." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:404 +#: ../examples/guestfs-faq.pod:460 msgid "It is safe to delete this directory when you are not using libguestfs." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:406 +#: ../examples/guestfs-faq.pod:462 msgid "" "virt-sparsify seems to make the image grow to the full size of the virtual " "disk" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:409 +#: ../examples/guestfs-faq.pod:465 msgid "" "If the input to L<virt-sparsify(1)> is raw, then the output will be raw " "sparse. Make sure you are measuring the output with a tool which " @@ -5668,7 +5778,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:413 ../sparsify/virt-sparsify.pod:34 +#: ../examples/guestfs-faq.pod:469 ../sparsify/virt-sparsify.pod:34 #, no-wrap msgid "" " $ ls -lh test1.img\n" @@ -5679,19 +5789,19 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:418 ../sparsify/virt-sparsify.pod:39 +#: ../examples/guestfs-faq.pod:474 ../sparsify/virt-sparsify.pod:39 msgid "(Compare the apparent size B<100M> vs the actual size B<3.6M>)" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:420 +#: ../examples/guestfs-faq.pod:476 msgid "" "If all this confuses you, use a non-sparse output by specifying the I<--" "convert> option, eg:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:423 +#: ../examples/guestfs-faq.pod:479 #, no-wrap msgid "" " virt-sparsify --convert qcow2 disk.raw disk.qcow2\n" @@ -5699,24 +5809,24 @@ msgid "" msgstr "" #. type: =head1 -#: ../examples/guestfs-faq.pod:425 +#: ../examples/guestfs-faq.pod:481 msgid "USING LIBGUESTFS IN YOUR OWN PROGRAMS" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:427 +#: ../examples/guestfs-faq.pod:483 msgid "The API has hundreds of methods, where do I start?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:429 +#: ../examples/guestfs-faq.pod:485 msgid "" "We recommend you start by reading the API overview: L<guestfs(3)/API " "OVERVIEW>." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:432 +#: ../examples/guestfs-faq.pod:488 msgid "" "Although the API overview covers the C API, it is still worth reading even " "if you are going to use another programming language, because the API is the " @@ -5724,7 +5834,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:437 +#: ../examples/guestfs-faq.pod:493 #, no-wrap msgid "" " C guestfs_ln_sf (g, target, linkname);\n" @@ -5737,7 +5847,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:444 +#: ../examples/guestfs-faq.pod:500 msgid "" "Once you're familiar with the API overview, you should look at this list of " "starting points for other language bindings: L<guestfs(3)/USING LIBGUESTFS " @@ -5745,25 +5855,25 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:450 +#: ../examples/guestfs-faq.pod:506 msgid "<!-- old anchor for the next section --> <a name=\"debug\"/>" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:455 +#: ../examples/guestfs-faq.pod:511 msgid "" "Can I use libguestfs in my proprietary / closed source / commercial program?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:458 +#: ../examples/guestfs-faq.pod:514 msgid "" "In general, yes. However this is not legal advice - read the license that " "comes with libguestfs, and if you have specific questions contact a lawyer." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:462 +#: ../examples/guestfs-faq.pod:518 msgid "" "In the source tree the license is in the file C<COPYING.LIB> (LGPLv2+ for " "the library and bindings) and C<COPYING> (GPLv2+ for the standalone " @@ -5771,43 +5881,43 @@ msgid "" msgstr "" #. type: =head1 -#: ../examples/guestfs-faq.pod:466 +#: ../examples/guestfs-faq.pod:522 msgid "DEBUGGING LIBGUESTFS" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:468 +#: ../examples/guestfs-faq.pod:524 msgid "" "How do I debug when using any libguestfs program or tool (eg. virt-v2v or " "virt-df)?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:471 +#: ../examples/guestfs-faq.pod:527 msgid "" "There are two C<LIBGUESTFS_*> environment variables you can set in order to " "get more information from libguestfs." msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:476 +#: ../examples/guestfs-faq.pod:532 msgid "C<LIBGUESTFS_TRACE>" msgstr "C<LIBGUESTFS_TRACE>" #. type: textblock -#: ../examples/guestfs-faq.pod:478 +#: ../examples/guestfs-faq.pod:534 msgid "" "Set this to 1 and libguestfs will print out each command / API call in a " "format which is similar to guestfish commands." msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:481 +#: ../examples/guestfs-faq.pod:537 msgid "C<LIBGUESTFS_DEBUG>" msgstr "C<LIBGUESTFS_DEBUG>" #. type: textblock -#: ../examples/guestfs-faq.pod:483 +#: ../examples/guestfs-faq.pod:539 msgid "" "Set this to 1 in order to enable massive amounts of debug messages. If you " "think there is some problem inside the libguestfs appliance, then you should " @@ -5815,12 +5925,12 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:489 +#: ../examples/guestfs-faq.pod:545 msgid "To set these from the shell, do this before running the program:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:491 +#: ../examples/guestfs-faq.pod:547 #, no-wrap msgid "" " export LIBGUESTFS_TRACE=1\n" @@ -5829,12 +5939,12 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:494 +#: ../examples/guestfs-faq.pod:550 msgid "For csh/tcsh the equivalent commands would be:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:496 +#: ../examples/guestfs-faq.pod:552 #, no-wrap msgid "" " setenv LIBGUESTFS_TRACE 1\n" @@ -5843,17 +5953,17 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:499 +#: ../examples/guestfs-faq.pod:555 msgid "For further information, see: L<guestfs(3)/ENVIRONMENT VARIABLES>." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:501 +#: ../examples/guestfs-faq.pod:557 msgid "How do I debug when using guestfish?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:503 +#: ../examples/guestfs-faq.pod:559 msgid "" "You can use the same environment variables above. Alternatively use the " "guestfish options -x (to trace commands) or -v (to get the full debug " @@ -5861,60 +5971,60 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:507 +#: ../examples/guestfs-faq.pod:563 msgid "For further information, see: L<guestfish(1)>." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:509 +#: ../examples/guestfs-faq.pod:565 msgid "How do I debug when using the API?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:511 +#: ../examples/guestfs-faq.pod:567 msgid "" "Call L<guestfs(3)/guestfs_set_trace> to enable command traces, and/or " "L<guestfs(3)/guestfs_set_verbose> to enable debug messages." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:514 +#: ../examples/guestfs-faq.pod:570 msgid "" "For best results, call these functions as early as possible, just after " "creating the guestfs handle if you can, and definitely before calling launch." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:518 +#: ../examples/guestfs-faq.pod:574 msgid "How do I capture debug output and put it into my logging system?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:520 +#: ../examples/guestfs-faq.pod:576 msgid "" "Use the event API. For examples, see: L<guestfs(3)/SETTING CALLBACKS TO " "HANDLE EVENTS>." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:523 +#: ../examples/guestfs-faq.pod:579 msgid "Digging deeper into the appliance boot process." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:525 +#: ../examples/guestfs-faq.pod:581 msgid "" "Enable debugging and then read this documentation on the appliance boot " "process: L<guestfs(3)/INTERNALS>." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:528 +#: ../examples/guestfs-faq.pod:584 msgid "libguestfs hangs or fails during run/launch." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:530 +#: ../examples/guestfs-faq.pod:586 msgid "" "Enable debugging and look at the full output. If you cannot work out what " "is going on, file a bug report, including the I<complete> output of " @@ -5922,17 +6032,17 @@ msgid "" msgstr "" #. type: =head1 -#: ../examples/guestfs-faq.pod:534 +#: ../examples/guestfs-faq.pod:590 msgid "DESIGN/INTERNALS OF LIBGUESTFS" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:536 +#: ../examples/guestfs-faq.pod:592 msgid "Why don't you do everything through the FUSE / filesystem interface?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:539 +#: ../examples/guestfs-faq.pod:595 msgid "" "We offer a command called L<guestmount(1)> which lets you mount guest " "filesystems on the host. This is implemented as a FUSE module. Why don't " @@ -5941,7 +6051,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:544 +#: ../examples/guestfs-faq.pod:600 msgid "" "The reasons are twofold. Firstly, libguestfs offers API calls for doing " "things like creating and deleting partitions and logical volumes, which " @@ -5955,7 +6065,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:554 +#: ../examples/guestfs-faq.pod:610 msgid "" "The second reason is for efficiency. FUSE itself is reasonably efficient, " "but it does make lots of small, independent calls into the FUSE module. In " @@ -5968,17 +6078,17 @@ msgid "" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:564 +#: ../examples/guestfs-faq.pod:620 msgid "Why don't you do everything through GVFS?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:566 +#: ../examples/guestfs-faq.pod:622 msgid "The problems are similar to the problems with FUSE." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:568 +#: ../examples/guestfs-faq.pod:624 msgid "" "GVFS is a better abstraction than POSIX/FUSE. There is an FTP backend for " "GVFS, which is encouraging because FTP is conceptually similar to the " @@ -5988,7 +6098,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:576 +#: ../examples/guestfs-faq.pod:632 #, fuzzy #| msgid "" #| "<!-- old anchor for the next section --> <a name=" @@ -5999,12 +6109,12 @@ msgstr "" "\"state_machine_and_low_level_event_api\"/>" #. type: =head2 -#: ../examples/guestfs-faq.pod:581 +#: ../examples/guestfs-faq.pod:637 msgid "Can I use C<guestfish --ro> as a way to backup my virtual machines?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:583 +#: ../examples/guestfs-faq.pod:639 msgid "" "Usually this is not a good idea. The question is answered in more detail in " "this mailing list posting: L<https://www.redhat.com/archives/libguestfs/2010-" @@ -6012,17 +6122,17 @@ msgid "" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:587 +#: ../examples/guestfs-faq.pod:643 msgid "Why can I write to the disk, even though I added it read-only?" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:589 +#: ../examples/guestfs-faq.pod:645 msgid "Why does C<--ro> appear to have no effect?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:591 +#: ../examples/guestfs-faq.pod:647 msgid "" "When you add a disk read-only, libguestfs places a writable overlay on top " "of the underlying disk. Writes go into this overlay, and are discarded when " @@ -6030,7 +6140,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:595 +#: ../examples/guestfs-faq.pod:651 msgid "" "There are two reasons for doing it this way: Firstly read-only disks aren't " "possible in many cases (eg. IDE simply doesn't support them, so you couldn't " @@ -6039,7 +6149,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:600 +#: ../examples/guestfs-faq.pod:656 msgid "" "Secondly and more importantly, even if read-only disks were possible, you " "wouldn't want them. Mounting any filesystem that has a journal, even " @@ -6049,7 +6159,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:606 +#: ../examples/guestfs-faq.pod:662 msgid "" "To make it usable, we create the overlay as a place to temporarily store " "these writes, and then we discard it afterwards. This ensures that the " @@ -6057,7 +6167,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:610 +#: ../examples/guestfs-faq.pod:666 msgid "" "Note also that there is a regression test for this when building libguestfs " "(in C<tests/qemu>). This is one reason why it's important for packagers to " @@ -6065,38 +6175,38 @@ msgid "" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:614 +#: ../examples/guestfs-faq.pod:670 msgid "Does C<--ro> make all disks read-only?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:616 +#: ../examples/guestfs-faq.pod:672 msgid "" "I<No!> The C<--ro> option only affects disks added on the command line, ie. " "using C<-a> and C<-d> options." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:619 +#: ../examples/guestfs-faq.pod:675 msgid "" "In guestfish, if you use the C<add> command, then disk is added read-write " "(unless you specify the C<readonly:true> flag explicitly with the command)." msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:623 +#: ../examples/guestfs-faq.pod:679 msgid "What's the difference between guestfish and virt-rescue?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:625 +#: ../examples/guestfs-faq.pod:681 msgid "" "A lot of people are confused by the two superficially similar tools we " "provide:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:628 +#: ../examples/guestfs-faq.pod:684 #, no-wrap msgid "" " $ guestfish --ro -a guest.img\n" @@ -6106,7 +6216,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:632 +#: ../examples/guestfs-faq.pod:688 #, no-wrap msgid "" " $ virt-rescue --ro guest.img\n" @@ -6115,7 +6225,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:635 +#: ../examples/guestfs-faq.pod:691 msgid "" "And the related question which then arises is why you can't type in full " "shell commands with all the --options in guestfish (but you can in L<virt-" @@ -6123,7 +6233,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:639 +#: ../examples/guestfs-faq.pod:695 msgid "" "L<guestfish(1)> is a program providing structured access to the L<guestfs(3)" "> API. It happens to be a nice interactive shell too, but its primary " @@ -6134,7 +6244,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:646 +#: ../examples/guestfs-faq.pod:702 msgid "" "L<virt-rescue(1)> is a free-for-all freeform way to boot the libguestfs " "appliance and make arbitrary changes to your VM. It's not structured, you " @@ -6143,7 +6253,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:651 +#: ../examples/guestfs-faq.pod:707 msgid "" "But, libguestfs also has a \"backdoor\" into the appliance allowing you to " "send arbitrary shell commands. It's not as flexible as virt-rescue, because " @@ -6151,7 +6261,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:656 +#: ../examples/guestfs-faq.pod:712 #, no-wrap msgid "" " ><fs> debug sh \"cmd arg1 arg2 ...\"\n" @@ -6159,7 +6269,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:658 +#: ../examples/guestfs-faq.pod:714 msgid "" "Note that you should B<not> rely on this. It could be removed or changed in " "future. If your program needs some operation, please add it to the " @@ -6167,45 +6277,45 @@ msgid "" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:662 +#: ../examples/guestfs-faq.pod:718 msgid "What's the deal with C<guestfish -i>?" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:664 +#: ../examples/guestfs-faq.pod:720 msgid "" "Why does virt-cat only work on a real VM image, but virt-df works on any " "disk image?" msgstr "" #. type: =head2 -#: ../examples/guestfs-faq.pod:667 +#: ../examples/guestfs-faq.pod:723 msgid "What does \"no root device found in this operating system image\" mean?" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:670 +#: ../examples/guestfs-faq.pod:726 msgid "" "These questions are all related at a fundamental level which may not be " "immediately obvious." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:673 +#: ../examples/guestfs-faq.pod:729 msgid "" "At the L<guestfs(3)> API level, a \"disk image\" is just a pile of " "partitions and filesystems." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:676 +#: ../examples/guestfs-faq.pod:732 msgid "" "In contrast, when the virtual machine boots, it mounts those filesystems " "into a consistent hierarchy such as:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:679 +#: ../examples/guestfs-faq.pod:735 #, no-wrap msgid "" " / (/dev/sda2)\n" @@ -6221,12 +6331,12 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:689 +#: ../examples/guestfs-faq.pod:745 msgid "(or drive letters on Windows)." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:691 +#: ../examples/guestfs-faq.pod:747 msgid "" "The API first of all sees the disk image at the \"pile of filesystems\" " "level. But it also has a way to inspect the disk image to see if it " @@ -6235,12 +6345,12 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:696 +#: ../examples/guestfs-faq.pod:752 msgid "Users expect some tools (like L<virt-cat(1)>) to work with VM paths:" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:698 +#: ../examples/guestfs-faq.pod:754 #, no-wrap msgid "" " virt-cat fedora.img /var/log/messages\n" @@ -6248,7 +6358,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:700 +#: ../examples/guestfs-faq.pod:756 msgid "" "How does virt-cat know that C</var> is a separate partition? The trick is " "that virt-cat performs inspection on the disk image, and uses that to " @@ -6256,7 +6366,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:704 +#: ../examples/guestfs-faq.pod:760 msgid "" "Some tools (including L<virt-cat(1)>, L<virt-edit(1)>, L<virt-ls(1)>) use " "inspection to map VM paths. Other tools, such as L<virt-df(1)> and L<virt-" @@ -6265,7 +6375,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:709 +#: ../examples/guestfs-faq.pod:765 msgid "" "L<guestfish(1)> is in an interesting middle ground. If you use the I<-a> " "and I<-m> command line options, then you have to tell guestfish exactly how " @@ -6273,14 +6383,14 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:714 +#: ../examples/guestfs-faq.pod:770 msgid "" "If you use the I<-i> option, libguestfs performs inspection and mounts the " "filesystems for you." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:717 +#: ../examples/guestfs-faq.pod:773 msgid "" "The error C<no root device found in this operating system image> is related " "to this. It means inspection was unable to locate an operating system " @@ -6290,12 +6400,12 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:725 +#: ../examples/guestfs-faq.pod:781 msgid "L<guestfish(1)>, L<guestfs(3)>, L<http://libguestfs.org/>." msgstr "" #. type: textblock -#: ../examples/guestfs-faq.pod:735 ../examples/guestfs-performance.pod:448 +#: ../examples/guestfs-faq.pod:791 ../examples/guestfs-performance.pod:448 #: ../format/virt-format.pod:193 msgid "Copyright (C) 2012 Red Hat Inc." msgstr "" @@ -6347,7 +6457,7 @@ msgstr "" #. type: verbatim #: ../examples/guestfs-performance.pod:29 -#: ../examples/guestfs-performance.pod:180 ../examples/guestfs-testing.pod:36 +#: ../examples/guestfs-performance.pod:180 ../examples/guestfs-testing.pod:50 #, no-wrap msgid "" " time guestfish -a /dev/null run\n" @@ -6600,10 +6710,11 @@ msgstr "" #. type: =item #: ../examples/guestfs-performance.pod:162 -#: ../examples/guestfs-performance.pod:211 ../resize/virt-resize.pod:31 -#: ../resize/virt-resize.pod:603 ../sparsify/virt-sparsify.pod:243 -#: ../src/guestfs.pod:469 ../src/guestfs.pod:1282 ../src/guestfs.pod:1451 -#: ../src/guestfs.pod:1615 ../src/guestfs.pod:2863 +#: ../examples/guestfs-performance.pod:211 ../examples/guestfs-recipes.pod:288 +#: ../resize/virt-resize.pod:31 ../resize/virt-resize.pod:603 +#: ../sparsify/virt-sparsify.pod:243 ../src/guestfs.pod:475 +#: ../src/guestfs.pod:1288 ../src/guestfs.pod:1457 ../src/guestfs.pod:1621 +#: ../src/guestfs.pod:2869 msgid "1." msgstr "1." @@ -6616,10 +6727,11 @@ msgstr "" #. type: =item #: ../examples/guestfs-performance.pod:168 -#: ../examples/guestfs-performance.pod:218 ../resize/virt-resize.pod:44 -#: ../resize/virt-resize.pod:610 ../sparsify/virt-sparsify.pod:250 -#: ../src/guestfs.pod:475 ../src/guestfs.pod:1286 ../src/guestfs.pod:1455 -#: ../src/guestfs.pod:1619 ../src/guestfs.pod:2888 +#: ../examples/guestfs-performance.pod:218 ../examples/guestfs-recipes.pod:294 +#: ../resize/virt-resize.pod:44 ../resize/virt-resize.pod:610 +#: ../sparsify/virt-sparsify.pod:250 ../src/guestfs.pod:481 +#: ../src/guestfs.pod:1292 ../src/guestfs.pod:1461 ../src/guestfs.pod:1625 +#: ../src/guestfs.pod:2894 msgid "2." msgstr "2." @@ -6635,9 +6747,10 @@ msgstr "" #. type: =item #: ../examples/guestfs-performance.pod:176 -#: ../examples/guestfs-performance.pod:224 ../resize/virt-resize.pod:52 -#: ../resize/virt-resize.pod:616 ../sparsify/virt-sparsify.pod:256 -#: ../src/guestfs.pod:486 ../src/guestfs.pod:1290 ../src/guestfs.pod:1625 +#: ../examples/guestfs-performance.pod:224 ../examples/guestfs-recipes.pod:300 +#: ../resize/virt-resize.pod:52 ../resize/virt-resize.pod:616 +#: ../sparsify/virt-sparsify.pod:256 ../src/guestfs.pod:492 +#: ../src/guestfs.pod:1296 ../src/guestfs.pod:1631 msgid "3." msgstr "3." @@ -6894,7 +7007,7 @@ msgid "Save the following script as C<time.stap>:" msgstr "" #. type: verbatim -#: ../examples/guestfs-performance.pod:322 ../src/guestfs.pod:2376 +#: ../examples/guestfs-performance.pod:322 ../src/guestfs.pod:2382 #, no-wrap msgid "" " global last;\n" @@ -6902,7 +7015,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-performance.pod:324 ../src/guestfs.pod:2378 +#: ../examples/guestfs-performance.pod:324 ../src/guestfs.pod:2384 #, no-wrap msgid "" " function display_time () {\n" @@ -6915,7 +7028,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-performance.pod:331 ../src/guestfs.pod:2385 +#: ../examples/guestfs-performance.pod:331 ../src/guestfs.pod:2391 #, no-wrap msgid "" " printf (\"%d (+%d):\", now, delta);\n" @@ -6924,7 +7037,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-performance.pod:334 ../src/guestfs.pod:2388 +#: ../examples/guestfs-performance.pod:334 ../src/guestfs.pod:2394 #, no-wrap msgid "" " probe begin {\n" @@ -6935,7 +7048,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-performance.pod:339 ../src/guestfs.pod:2393 +#: ../examples/guestfs-performance.pod:339 ../src/guestfs.pod:2399 #, no-wrap msgid "" " /* Display all calls to static markers. */\n" @@ -7044,7 +7157,7 @@ msgstr "" #. type: verbatim #: ../examples/guestfs-performance.pod:394 ../fish/guestfish.pod:994 -#: ../src/guestfs.pod:1068 +#: ../src/guestfs.pod:1074 #, no-wrap msgid "" " #!/bin/bash -\n" @@ -7485,38 +7598,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:120 +#, 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:122 msgid "Edit grub configuration in a VM" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:122 +#: ../examples/guestfs-recipes.pod:124 msgid "You can use this to:" msgstr "Ви можете скористатися цим для того, щоб виконати такі завдання:" #. type: textblock -#: ../examples/guestfs-recipes.pod:128 +#: ../examples/guestfs-recipes.pod:130 msgid "Fix a virtual machine that does not boot." msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:132 +#: ../examples/guestfs-recipes.pod:134 msgid "Change which kernel is used to boot the VM." msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:136 +#: ../examples/guestfs-recipes.pod:138 msgid "Change kernel command line options." msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:140 +#: ../examples/guestfs-recipes.pod:142 msgid "Use L<virt-edit(1)> to edit the grub configuration:" msgstr "" #. type: verbatim -#: ../examples/guestfs-recipes.pod:142 +#: ../examples/guestfs-recipes.pod:144 #, fuzzy, no-wrap #| msgid "" #| " virt-edit -d BrokenGuest /boot/grub/grub.conf\n" @@ -7529,14 +7649,14 @@ msgstr "" "\n" #. type: textblock -#: ../examples/guestfs-recipes.pod:144 +#: ../examples/guestfs-recipes.pod:146 msgid "" "or for general tinkering inside an unbootable VM use L<virt-rescue(1)> like " "this:" msgstr "" #. type: verbatim -#: ../examples/guestfs-recipes.pod:147 +#: ../examples/guestfs-recipes.pod:149 #, no-wrap msgid "" " virt-rescue -d BrokenGuest\n" @@ -7546,18 +7666,18 @@ msgstr "" "\n" #. type: =head1 -#: ../examples/guestfs-recipes.pod:149 +#: ../examples/guestfs-recipes.pod:151 msgid "Export any directory from a VM" msgstr "Експортувати будь-який каталог з віртуальної машини" #. type: textblock -#: ../examples/guestfs-recipes.pod:151 +#: ../examples/guestfs-recipes.pod:153 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:154 ../examples/guestfs-testing.pod:93 +#: ../examples/guestfs-recipes.pod:156 ../examples/guestfs-testing.pod:107 #, no-wrap msgid "" " virt-copy-out -d Guest /home .\n" @@ -7567,29 +7687,29 @@ msgstr "" "\n" #. type: textblock -#: ../examples/guestfs-recipes.pod:156 ../fish/guestfish-actions.pod:9 +#: ../examples/guestfs-recipes.pod:158 ../fish/guestfish-actions.pod:9 #: ../fish/guestfish-actions.pod:1607 ../fish/guestfish-actions.pod:2002 #: ../fish/guestfish-actions.pod:2429 ../src/guestfs-actions.pod:18 #: ../src/guestfs-actions.pod:2642 ../src/guestfs-actions.pod:3209 -#: ../src/guestfs-actions.pod:3778 ../src/guestfs.pod:1859 -#: ../tools/virt-win-reg.pl:717 +#: ../src/guestfs-actions.pod:3778 ../src/guestfs.pod:1865 +#: ../tools/virt-win-reg.pl:707 msgid "Notes:" msgstr "Нотатки:" #. type: textblock -#: ../examples/guestfs-recipes.pod:162 +#: ../examples/guestfs-recipes.pod:164 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:167 +#: ../examples/guestfs-recipes.pod:169 msgid "This creates a directory called C<home> under the current directory." msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:171 +#: ../examples/guestfs-recipes.pod:173 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 " @@ -7597,7 +7717,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-recipes.pod:175 +#: ../examples/guestfs-recipes.pod:177 #, no-wrap msgid "" " virt-copy-out -d WinGuest 'win:c:\\windows\\system32\\config' .\n" @@ -7607,12 +7727,12 @@ msgstr "" "\n" #. type: textblock -#: ../examples/guestfs-recipes.pod:177 +#: ../examples/guestfs-recipes.pod:179 msgid "To get the output as a compressed tarball, do:" msgstr "" #. type: verbatim -#: ../examples/guestfs-recipes.pod:179 +#: ../examples/guestfs-recipes.pod:181 #, no-wrap msgid "" " virt-tar-out -d Guest /home - | gzip --best > home.tar.gz\n" @@ -7622,7 +7742,7 @@ msgstr "" "\n" #. type: textblock -#: ../examples/guestfs-recipes.pod:181 +#: ../examples/guestfs-recipes.pod:183 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." @@ -7630,19 +7750,19 @@ msgid "" msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:185 +#: ../examples/guestfs-recipes.pod:187 msgid "Find out which user is using the most space" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:187 +#: ../examples/guestfs-recipes.pod:189 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:190 +#: ../examples/guestfs-recipes.pod:192 #, no-wrap msgid "" " #!/bin/sh -\n" @@ -7652,7 +7772,7 @@ msgstr "" " \n" #. type: verbatim -#: ../examples/guestfs-recipes.pod:192 ../fish/guestfish.pod:996 +#: ../examples/guestfs-recipes.pod:194 ../fish/guestfish.pod:996 #, no-wrap msgid "" " set -e\n" @@ -7662,7 +7782,7 @@ msgstr "" " \n" #. type: verbatim -#: ../examples/guestfs-recipes.pod:194 +#: ../examples/guestfs-recipes.pod:196 #, no-wrap msgid "" " vm=\"$1\"\n" @@ -7674,7 +7794,7 @@ msgstr "" " \n" #. type: verbatim -#: ../examples/guestfs-recipes.pod:197 +#: ../examples/guestfs-recipes.pod:199 #, no-wrap msgid "" " eval $(guestfish --ro -d \"$vm\" -i --listen)\n" @@ -7684,7 +7804,7 @@ msgstr "" " \n" #. type: verbatim -#: ../examples/guestfs-recipes.pod:199 +#: ../examples/guestfs-recipes.pod:201 #, no-wrap msgid "" " for d in $(guestfish --remote ls \"$dir\"); do\n" @@ -7702,7 +7822,7 @@ msgstr "" " \n" #. type: verbatim -#: ../examples/guestfs-recipes.pod:205 ../fish/guestfish.pod:953 +#: ../examples/guestfs-recipes.pod:207 ../fish/guestfish.pod:953 #, no-wrap msgid "" " guestfish --remote exit\n" @@ -7712,19 +7832,19 @@ msgstr "" "\n" #. type: =head1 -#: ../examples/guestfs-recipes.pod:207 +#: ../examples/guestfs-recipes.pod:209 msgid "Get DHCP address from a VM" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:209 +#: ../examples/guestfs-recipes.pod:211 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:212 +#: ../examples/guestfs-recipes.pod:214 #, fuzzy #| msgid "" #| "https://rwmj.wordpress.com/2011/03/31/tip-code-for-getting-dhcp-address-" @@ -7737,24 +7857,24 @@ msgstr "" "a-virtual-machine-disk-image/#content" #. type: textblock -#: ../examples/guestfs-recipes.pod:214 +#: ../examples/guestfs-recipes.pod:216 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:217 +#: ../examples/guestfs-recipes.pod:219 msgid "Get the operating system product name string" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:219 +#: ../examples/guestfs-recipes.pod:221 msgid "Save the following script into a file called C<product-name.sh>:" msgstr "" #. type: verbatim -#: ../examples/guestfs-recipes.pod:221 +#: ../examples/guestfs-recipes.pod:223 #, no-wrap msgid "" " #!/bin/sh -\n" @@ -7774,12 +7894,12 @@ msgstr "" "\n" #. type: textblock -#: ../examples/guestfs-recipes.pod:228 +#: ../examples/guestfs-recipes.pod:230 msgid "Make the script executable and run it on a named guest:" msgstr "" #. type: verbatim -#: ../examples/guestfs-recipes.pod:230 +#: ../examples/guestfs-recipes.pod:232 #, no-wrap msgid "" " # product-name.sh RHEL60x64\n" @@ -7788,14 +7908,14 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:233 +#: ../examples/guestfs-recipes.pod:235 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:237 +#: ../examples/guestfs-recipes.pod:239 #, no-wrap msgid "" " # virt-inspector RHEL60x64 > xml\n" @@ -7813,19 +7933,19 @@ msgstr "" "\n" #. type: =head1 -#: ../examples/guestfs-recipes.pod:243 +#: ../examples/guestfs-recipes.pod:245 msgid "Get the default boot kernel for a Linux VM" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:245 +#: ../examples/guestfs-recipes.pod:247 msgid "" "The link below contains a program to print the default boot kernel for a " "Linux VM." msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:248 +#: ../examples/guestfs-recipes.pod:250 #, fuzzy #| msgid "" #| "https://rwmj.wordpress.com/2010/10/30/tip-use-augeas-to-get-the-default-" @@ -7838,51 +7958,124 @@ msgstr "" "kernel-for-a-vm/#content" #. type: textblock -#: ../examples/guestfs-recipes.pod:250 +#: ../examples/guestfs-recipes.pod:252 msgid "" "It uses Augeas, and the technique is generally applicable for many different " "tasks, such as:" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:257 +#: ../examples/guestfs-recipes.pod:259 msgid "listing the user accounts in the guest" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:261 +#: ../examples/guestfs-recipes.pod:263 msgid "what repositories is it configured to use" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:265 +#: ../examples/guestfs-recipes.pod:267 msgid "what NTP servers does it connect to" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:269 +#: ../examples/guestfs-recipes.pod:271 msgid "what were the boot messages last time it booted" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:273 +#: ../examples/guestfs-recipes.pod:275 msgid "listing who was logged in recently" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:277 +#: ../examples/guestfs-recipes.pod:279 #, fuzzy #| msgid "http://augeas.net/" msgid "L<http://augeas.net/>" msgstr "http://augeas.net/" #. type: =head1 -#: ../examples/guestfs-recipes.pod:279 +#: ../examples/guestfs-recipes.pod:281 +msgid "Hanging guests" +msgstr "" + +#. type: textblock +#: ../examples/guestfs-recipes.pod:283 +msgid "" +"There are various ways to use libguestfs to find out why a guest is hanging " +"or unresponsive:" +msgstr "" + +#. type: textblock +#: ../examples/guestfs-recipes.pod:290 +msgid "Read the log files using virt-cat:" +msgstr "" + +#. type: verbatim +#: ../examples/guestfs-recipes.pod:292 +#, 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: textblock +#: ../examples/guestfs-recipes.pod:296 +#, fuzzy +#| msgid "Reading the Windows Event Log from Windows Vista (or later)" +msgid "Read the Windows Event Log (Windows Vista or later only):" +msgstr "Читання журналу подій у Windows з версії Windows Vista" + +#. type: textblock +#: ../examples/guestfs-recipes.pod:298 ../examples/guestfs-recipes.pod:397 +#, fuzzy +#| msgid "" +#| "https://rwmj.wordpress.com/2011/04/17/decoding-the-windows-event-log-" +#| "using-guestfish/#content" +msgid "" +"L<https://rwmj.wordpress.com/2011/04/17/decoding-the-windows-event-log-using-" +"guestfish/#content>" +msgstr "" +"https://rwmj.wordpress.com/2011/04/17/decoding-the-windows-event-log-using-" +"guestfish/#content" + +#. type: textblock +#: ../examples/guestfs-recipes.pod:302 +msgid "Find out which files were last updated in a guest:" +msgstr "" + +#. type: textblock +#: ../examples/guestfs-recipes.pod:304 +#, fuzzy +#| msgid "" +#| "https://rwmj.wordpress.com/2011/05/10/tip-use-libguestfs-on-vmware-esx-" +#| "guests/#content" +msgid "" +"L<https://rwmj.wordpress.com/2012/02/27/using-libguestfs-to-find-out-why-a-" +"windows-guest-was-hanging/#content>" +msgstr "" +"https://rwmj.wordpress.com/2011/05/10/tip-use-libguestfs-on-vmware-esx-" +"guests/#content" + +#. type: textblock +#: ../examples/guestfs-recipes.pod:306 +msgid "This might give you a clue as to what program is running." +msgstr "" + +#. type: =head1 +#: ../examples/guestfs-recipes.pod:310 msgid "Install RPMs in a guest" msgstr "Встановлення RPM у гостьовій системі" #. type: textblock -#: ../examples/guestfs-recipes.pod:281 +#: ../examples/guestfs-recipes.pod:312 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 " @@ -7891,7 +8084,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:287 +#: ../examples/guestfs-recipes.pod:318 #, fuzzy #| msgid "" #| "https://rwmj.wordpress.com/2010/12/01/tip-install-rpms-in-a-guest/#content" @@ -7901,17 +8094,17 @@ msgstr "" "https://rwmj.wordpress.com/2010/12/01/tip-install-rpms-in-a-guest/#content" #. type: =head1 -#: ../examples/guestfs-recipes.pod:289 +#: ../examples/guestfs-recipes.pod:320 msgid "List applications installed in a VM" msgstr "Показати список програм, встановлених у віртуальній машині" #. type: textblock -#: ../examples/guestfs-recipes.pod:291 +#: ../examples/guestfs-recipes.pod:322 msgid "Save the following to a file C<list-apps.sh>:" msgstr "" #. type: verbatim -#: ../examples/guestfs-recipes.pod:293 +#: ../examples/guestfs-recipes.pod:324 #, no-wrap msgid "" " #!/bin/sh -\n" @@ -7931,14 +8124,14 @@ msgstr "" "\n" #. type: textblock -#: ../examples/guestfs-recipes.pod:300 +#: ../examples/guestfs-recipes.pod:331 msgid "" "Make the file executable and then you can run it on any named virtual " "machine:" msgstr "" #. type: verbatim -#: ../examples/guestfs-recipes.pod:303 +#: ../examples/guestfs-recipes.pod:334 #, no-wrap msgid "" " # list-apps.sh WinGuest\n" @@ -8004,7 +8197,7 @@ msgstr "" "\n" #. type: textblock -#: ../examples/guestfs-recipes.pod:333 +#: ../examples/guestfs-recipes.pod:364 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)" @@ -8012,22 +8205,22 @@ msgid "" msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:337 +#: ../examples/guestfs-recipes.pod:368 msgid "List files and directories in a VM" msgstr "Показати список файлів і каталогів у віртуальній машині" #. type: textblock -#: ../examples/guestfs-recipes.pod:339 +#: ../examples/guestfs-recipes.pod:370 msgid "Use L<virt-ls(1)>." msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:341 +#: ../examples/guestfs-recipes.pod:372 msgid "List services in a Windows VM" msgstr "Показати список служб у віртуальній машині Windows" #. type: textblock -#: ../examples/guestfs-recipes.pod:343 +#: ../examples/guestfs-recipes.pod:374 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 " @@ -8035,7 +8228,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:347 +#: ../examples/guestfs-recipes.pod:378 #, fuzzy #| msgid "" #| "https://rwmj.wordpress.com/2010/12/10/tip-list-services-in-a-windows-" @@ -8048,74 +8241,61 @@ msgstr "" "#content" #. type: =head1 -#: ../examples/guestfs-recipes.pod:349 +#: ../examples/guestfs-recipes.pod:380 msgid "Make a disk image sparse" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:351 +#: ../examples/guestfs-recipes.pod:382 msgid "Use L<virt-sparsify(1)>." msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:353 +#: ../examples/guestfs-recipes.pod:384 msgid "Monitor disk usage over time" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:355 +#: ../examples/guestfs-recipes.pod:386 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:358 +#: ../examples/guestfs-recipes.pod:389 #, fuzzy #| msgid "http://virt-tools.org/learning/advanced-virt-df/" msgid "L<http://virt-tools.org/learning/advanced-virt-df/>" msgstr "http://virt-tools.org/learning/advanced-virt-df/" #. type: =head1 -#: ../examples/guestfs-recipes.pod:360 +#: ../examples/guestfs-recipes.pod:391 msgid "Reading the Windows Event Log from Windows Vista (or later)" msgstr "Читання журналу подій у Windows з версії Windows Vista" #. type: textblock -#: ../examples/guestfs-recipes.pod:362 +#: ../examples/guestfs-recipes.pod:393 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:366 -#, fuzzy -#| msgid "" -#| "https://rwmj.wordpress.com/2011/04/17/decoding-the-windows-event-log-" -#| "using-guestfish/#content" -msgid "" -"L<https://rwmj.wordpress.com/2011/04/17/decoding-the-windows-event-log-using-" -"guestfish/#content>" -msgstr "" -"https://rwmj.wordpress.com/2011/04/17/decoding-the-windows-event-log-using-" -"guestfish/#content" - #. type: =head1 -#: ../examples/guestfs-recipes.pod:368 +#: ../examples/guestfs-recipes.pod:399 msgid "Remove root password (Linux)" msgstr "Вилучення пароля root (Linux)" #. type: textblock -#: ../examples/guestfs-recipes.pod:370 +#: ../examples/guestfs-recipes.pod:401 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:373 +#: ../examples/guestfs-recipes.pod:404 #, no-wrap msgid "" " virt-edit domname /etc/passwd -e 's/^root:.*?:/root::/'\n" @@ -8125,12 +8305,12 @@ msgstr "" "\n" #. type: =head1 -#: ../examples/guestfs-recipes.pod:375 +#: ../examples/guestfs-recipes.pod:406 msgid "Remove Administrator password (Windows)" msgstr "Вилучення пароля адміністратора (Windows)" #. type: textblock -#: ../examples/guestfs-recipes.pod:377 +#: ../examples/guestfs-recipes.pod:408 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 " @@ -8138,7 +8318,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:382 +#: ../examples/guestfs-recipes.pod:413 #, fuzzy #| msgid "" #| "https://mdbooth.wordpress.com/2010/10/18/resetting-a-windows-guests-" @@ -8151,14 +8331,14 @@ msgstr "" "administrator-password-with-guestfish/" #. type: =head1 -#: ../examples/guestfs-recipes.pod:384 +#: ../examples/guestfs-recipes.pod:415 #, fuzzy #| msgid "Cloning a virtual machine (Windows)" msgid "Sysprepping a virtual machine (Windows)" msgstr "Клонування віртуальної машини (Windows)" #. type: textblock -#: ../examples/guestfs-recipes.pod:386 +#: ../examples/guestfs-recipes.pod:417 msgid "" "It is possible to do a \"sysprep\" using libguestfs alone, although not " "straightforward. Currently there is code in the Aeolus Oz project which " @@ -8167,7 +8347,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:391 +#: ../examples/guestfs-recipes.pod:422 #, fuzzy #| msgid "" #| "https://github.com/clalancette/oz https://www.redhat.com/archives/virt-" @@ -8180,12 +8360,12 @@ msgstr "" "list/2011-May/msg00019.html" #. type: =head1 -#: ../examples/guestfs-recipes.pod:394 +#: ../examples/guestfs-recipes.pod:425 msgid "Unpack a live CD" msgstr "Розпакування компакт-диска з портативною системою" #. type: textblock -#: ../examples/guestfs-recipes.pod:396 +#: ../examples/guestfs-recipes.pod:427 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 " @@ -8193,7 +8373,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:400 +#: ../examples/guestfs-recipes.pod:431 #, fuzzy #| msgid "" #| "https://rwmj.wordpress.com/2009/07/15/unpack-the-russian-doll-of-a-f11-" @@ -8206,19 +8386,19 @@ msgstr "" "cd/#content" #. type: =head1 -#: ../examples/guestfs-recipes.pod:402 +#: ../examples/guestfs-recipes.pod:433 msgid "Uploading and downloading files" msgstr "Вивантаження і звантаження файлів" #. type: textblock -#: ../examples/guestfs-recipes.pod:404 +#: ../examples/guestfs-recipes.pod:435 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:407 +#: ../examples/guestfs-recipes.pod:438 #, fuzzy #| msgid "" #| "https://rwmj.wordpress.com/2010/12/02/tip-uploading-and-downloading/" @@ -8230,19 +8410,87 @@ msgstr "" "https://rwmj.wordpress.com/2010/12/02/tip-uploading-and-downloading/#content" #. type: =head1 -#: ../examples/guestfs-recipes.pod:409 +#: ../examples/guestfs-recipes.pod:440 +msgid "Uploading raw filesystem content" +msgstr "" + +#. type: textblock +#: ../examples/guestfs-recipes.pod:442 +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:446 +#, fuzzy, no-wrap +#| msgid "" +#| " guestfish --ro -a disk.img run : download /dev/sda1 sda1.img\n" +#| "\n" +msgid "" +" guestfish --rw -a disk.img run : upload sda1.img /dev/sda1\n" +"\n" +msgstr "" +" guestfish --ro -a disk.img run : download /dev/sda1 sda1.img\n" +"\n" + +#. type: verbatim +#: ../examples/guestfs-recipes.pod:448 +#, fuzzy, no-wrap +#| msgid "" +#| " guestfish --ro -d Guest run : download /dev/vg_guest/lv_root lv.img\n" +#| "\n" +msgid "" +" guestfish --rw -d Guest run : upload lv.img /dev/vg_guest/lv_root\n" +"\n" +msgstr "" +" guestfish --ro -d Guest run : download /dev/vg_guest/lv_root lv.img\n" +"\n" + +#. type: textblock +#: ../examples/guestfs-recipes.pod:450 +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:456 +#, fuzzy, no-wrap +#| msgid "" +#| " guestfish --ro -d Guest run : download /dev/vg_guest/lv_root lv.img\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 "" +" guestfish --ro -d Guest run : download /dev/vg_guest/lv_root lv.img\n" +"\n" + +#. type: textblock +#: ../examples/guestfs-recipes.pod:460 +msgid "(or use C<ntfsresize> if the filesystem is NTFS)." +msgstr "" + +#. type: =head1 +#: ../examples/guestfs-recipes.pod:462 msgid "Use libguestfs tools on VMware ESX guests" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:411 +#: ../examples/guestfs-recipes.pod:464 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:415 +#: ../examples/guestfs-recipes.pod:468 #, fuzzy #| msgid "" #| "https://rwmj.wordpress.com/2011/05/10/tip-use-libguestfs-on-vmware-esx-" @@ -8255,7 +8503,7 @@ msgstr "" "guests/#content" #. type: textblock -#: ../examples/guestfs-recipes.pod:419 +#: ../examples/guestfs-recipes.pod:472 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-" @@ -8324,11 +8572,44 @@ msgstr "ТЕСТИ" #. type: =head2 #: ../examples/guestfs-testing.pod:30 +#, fuzzy +#| msgid "" +#| " libguestfs-test-tool\n" +#| "\n" +msgid "Run libguestfs-test-tool" +msgstr "" +" libguestfs-test-tool\n" +"\n" + +#. type: textblock +#: ../examples/guestfs-testing.pod:32 ../examples/guestfs-testing.pod:145 +#: ../src/guestfs.pod:3258 +msgid "Run:" +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 " @@ -8336,42 +8617,42 @@ 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 #, fuzzy #| msgid "http://virt-tools.org/learning/check-hardware-virt/" msgid "L<http://virt-tools.org/learning/check-hardware-virt/>" msgstr "http://virt-tools.org/learning/check-hardware-virt/" #. 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" @@ -8381,14 +8662,14 @@ msgstr "" "\n" #. 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:2966 +#: ../examples/guestfs-testing.pod:68 ../examples/guestfs-testing.pod:175 +#: ../examples/guestfs-testing.pod:188 ../examples/guestfs-testing.pod:248 +#: ../src/guestfs.pod:2972 msgid "or:" msgstr "або:" #. type: verbatim -#: ../examples/guestfs-testing.pod:56 +#: ../examples/guestfs-testing.pod:70 #, no-wrap msgid "" " virt-alignment-scan -d Guest\n" @@ -8398,22 +8679,22 @@ msgstr "" "\n" #. 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" @@ -8423,12 +8704,12 @@ msgstr "" "\n" #. 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" @@ -8438,26 +8719,26 @@ msgstr "" "\n" #. 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" @@ -8467,7 +8748,7 @@ msgstr "" "\n" #. 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 " @@ -8475,12 +8756,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" @@ -8490,40 +8771,40 @@ msgstr "" "\n" #. 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 "Виконайте virt-df." #. type: textblock -#: ../examples/guestfs-testing.pod:101 +#: ../examples/guestfs-testing.pod:115 msgid "L<virt-df(1)> lists disk space. Run:" msgstr "" "L<virt-df(1)> показує список даних щодо простору на диску. Віддайте команду:" #. type: verbatim -#: ../examples/guestfs-testing.pod:103 +#: ../examples/guestfs-testing.pod:117 #, no-wrap msgid "" " virt-df\n" @@ -8533,31 +8814,31 @@ msgstr "" "\n" #. 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 " @@ -8565,17 +8846,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:3252 -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" @@ -8585,14 +8861,14 @@ msgstr "" "\n" #. 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 #, fuzzy #| msgid "" #| "http://www.postgresql.org/docs/8.1/static/sql-copy.html http://dev.mysql." @@ -8605,19 +8881,19 @@ msgstr "" "doc/refman/5.1/en/load-data.html" #. 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" @@ -8627,12 +8903,12 @@ msgstr "" "\n" #. 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" @@ -8642,24 +8918,24 @@ msgstr "" "\n" #. 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" @@ -8669,7 +8945,7 @@ msgstr "" "\n" #. type: verbatim -#: ../examples/guestfs-testing.pod:163 +#: ../examples/guestfs-testing.pod:177 #, no-wrap msgid "" " virt-filesystems -d Guest --all --long -h\n" @@ -8679,24 +8955,24 @@ msgstr "" "\n" #. 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 "Запустіть virt-inspector для всіх ваших гостьових систем." #. 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" @@ -8706,7 +8982,7 @@ msgstr "" "\n" #. type: verbatim -#: ../examples/guestfs-testing.pod:176 +#: ../examples/guestfs-testing.pod:190 #, no-wrap msgid "" " virt-inspector -d Guest | less\n" @@ -8716,17 +8992,17 @@ msgstr "" "\n" #. 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" @@ -8736,7 +9012,7 @@ msgstr "" "\n" #. type: verbatim -#: ../examples/guestfs-testing.pod:188 +#: ../examples/guestfs-testing.pod:202 #, no-wrap msgid "" " virt-ls -lR -d Guest / | grep '^d ...7'\n" @@ -8746,7 +9022,7 @@ msgstr "" "\n" #. type: verbatim -#: ../examples/guestfs-testing.pod:192 +#: ../examples/guestfs-testing.pod:206 #, no-wrap msgid "" " virt-ls -lR -d Guest / | grep '^s'\n" @@ -8756,7 +9032,7 @@ msgstr "" "\n" #. type: verbatim -#: ../examples/guestfs-testing.pod:196 +#: ../examples/guestfs-testing.pod:210 #, no-wrap msgid "" " virt-ls -lR -d Guest / | grep -i '^-.*\\.png$'\n" @@ -8766,12 +9042,12 @@ msgstr "" "\n" #. 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" @@ -8781,7 +9057,7 @@ msgstr "" "\n" #. 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" @@ -8791,7 +9067,7 @@ msgstr "" "\n" #. 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" @@ -8801,24 +9077,24 @@ msgstr "" "\n" #. 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" @@ -8828,7 +9104,7 @@ msgstr "" "\n" #. 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 " @@ -8836,29 +9112,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" @@ -8868,7 +9144,7 @@ msgstr "" "\n" #. type: verbatim -#: ../examples/guestfs-testing.pod:236 +#: ../examples/guestfs-testing.pod:250 #, no-wrap msgid "" " virt-rescue -d Guest\n" @@ -8876,24 +9152,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" @@ -8904,22 +9180,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" @@ -8927,26 +9203,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" @@ -8954,26 +9230,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" @@ -8982,7 +9258,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" @@ -8991,19 +9267,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" @@ -9012,7 +9288,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/>." @@ -9373,7 +9649,7 @@ msgstr "" #. type: =item #: ../fish/guestfish-actions.pod:174 ../src/guestfs-actions.pod:234 -#: ../src/guestfs.pod:3131 +#: ../src/guestfs.pod:3137 msgid "C<format>" msgstr "C<format>" @@ -19979,7 +20255,7 @@ msgstr "" #. type: =item #: ../fish/guestfish-actions.pod:4903 ../src/guestfs-actions.pod:7698 -#: ../src/guestfs.pod:3095 +#: ../src/guestfs.pod:3101 msgid "C<appliance>" msgstr "C<appliance>" @@ -24078,7 +24354,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../fish/guestfish.pod:135 ../src/guestfs.pod:2417 +#: ../fish/guestfish.pod:135 ../src/guestfs.pod:2423 #, no-wrap msgid "" " guestfish -N fs\n" @@ -25617,7 +25893,7 @@ msgid "" msgstr "" #. type: =head2 -#: ../fish/guestfish.pod:837 ../src/guestfs.pod:519 +#: ../fish/guestfish.pod:837 ../src/guestfs.pod:525 msgid "ENCRYPTED DISKS" msgstr "ЗАШИФРОВАНІ ДИСКИ" @@ -26265,7 +26541,7 @@ msgid "COMMANDS" msgstr "КОМАНДИ" #. type: textblock -#: ../fish/guestfish.pod:1124 ../src/guestfs.pod:1694 +#: ../fish/guestfish.pod:1124 ../src/guestfs.pod:1700 msgid "@ACTIONS@" msgstr "@ACTIONS@" @@ -26289,17 +26565,17 @@ msgid "" msgstr "" #. type: =item -#: ../fish/guestfish.pod:1140 ../src/guestfs.pod:3382 +#: ../fish/guestfish.pod:1140 ../src/guestfs.pod:3388 msgid "FEBOOTSTRAP_KERNEL" msgstr "" #. type: =item -#: ../fish/guestfish.pod:1142 ../src/guestfs.pod:3384 +#: ../fish/guestfish.pod:1142 ../src/guestfs.pod:3390 msgid "FEBOOTSTRAP_MODULES" msgstr "" #. type: textblock -#: ../fish/guestfish.pod:1144 ../src/guestfs.pod:3386 +#: ../fish/guestfish.pod:1144 ../src/guestfs.pod:3392 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 " @@ -26357,17 +26633,17 @@ msgid "" msgstr "" #. type: =item -#: ../fish/guestfish.pod:1172 ../src/guestfs.pod:3392 +#: ../fish/guestfish.pod:1172 ../src/guestfs.pod:3398 msgid "LIBGUESTFS_APPEND" msgstr "" #. type: textblock -#: ../fish/guestfish.pod:1174 ../src/guestfs.pod:3394 +#: ../fish/guestfish.pod:1174 ../src/guestfs.pod:3400 msgid "Pass additional options to the guest kernel." msgstr "" #. type: =item -#: ../fish/guestfish.pod:1176 ../src/guestfs.pod:3396 +#: ../fish/guestfish.pod:1176 ../src/guestfs.pod:3402 msgid "LIBGUESTFS_DEBUG" msgstr "LIBGUESTFS_DEBUG" @@ -26379,18 +26655,18 @@ msgid "" msgstr "" #. type: =item -#: ../fish/guestfish.pod:1181 ../src/guestfs.pod:3401 +#: ../fish/guestfish.pod:1181 ../src/guestfs.pod:3407 msgid "LIBGUESTFS_MEMSIZE" msgstr "LIBGUESTFS_MEMSIZE" #. type: textblock -#: ../fish/guestfish.pod:1183 ../src/guestfs.pod:3403 +#: ../fish/guestfish.pod:1183 ../src/guestfs.pod:3409 msgid "" "Set the memory allocated to the qemu process, in megabytes. For example:" msgstr "" #. type: verbatim -#: ../fish/guestfish.pod:1186 ../src/guestfs.pod:3406 +#: ../fish/guestfish.pod:1186 ../src/guestfs.pod:3412 #, no-wrap msgid "" " LIBGUESTFS_MEMSIZE=700\n" @@ -26400,7 +26676,7 @@ msgstr "" "\n" #. type: =item -#: ../fish/guestfish.pod:1188 ../src/guestfs.pod:3408 +#: ../fish/guestfish.pod:1188 ../src/guestfs.pod:3414 msgid "LIBGUESTFS_PATH" msgstr "" @@ -26412,19 +26688,19 @@ msgid "" msgstr "" #. type: =item -#: ../fish/guestfish.pod:1193 ../src/guestfs.pod:3413 +#: ../fish/guestfish.pod:1193 ../src/guestfs.pod:3419 msgid "LIBGUESTFS_QEMU" msgstr "" #. type: textblock -#: ../fish/guestfish.pod:1195 ../src/guestfs.pod:3415 +#: ../fish/guestfish.pod:1195 ../src/guestfs.pod:3421 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:1199 ../src/guestfs.pod:3421 +#: ../fish/guestfish.pod:1199 ../src/guestfs.pod:3427 msgid "LIBGUESTFS_TRACE" msgstr "" @@ -26447,19 +26723,19 @@ msgstr "" #. type: =item #: ../fish/guestfish.pod:1208 ../sparsify/virt-sparsify.pod:276 -#: ../src/guestfs.pod:3426 +#: ../src/guestfs.pod:3432 msgid "TMPDIR" msgstr "" #. type: textblock -#: ../fish/guestfish.pod:1210 ../src/guestfs.pod:3428 +#: ../fish/guestfish.pod:1210 ../src/guestfs.pod:3434 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:1213 ../src/guestfs.pod:3431 +#: ../fish/guestfish.pod:1213 ../src/guestfs.pod:3437 msgid "" "If libguestfs was compiled to use the supermin appliance then the real " "appliance is cached in this directory, shared between all handles belonging " @@ -45138,13 +45414,26 @@ msgid "" "LANGUAGES> below." msgstr "" -#. type: =head1 +#. type: textblock #: ../src/guestfs.pod:41 +msgid "For tips and recipes, see L<guestfs-recipes(1)>." +msgstr "" + +#. type: textblock +#: ../src/guestfs.pod:43 +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:47 msgid "API OVERVIEW" msgstr "ОГЛЯД API" #. type: textblock -#: ../src/guestfs.pod:43 +#: ../src/guestfs.pod:49 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 " @@ -45152,12 +45441,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:48 +#: ../src/guestfs.pod:54 msgid "HANDLES" msgstr "ОБРОБНИКИ" #. type: textblock -#: ../src/guestfs.pod:50 +#: ../src/guestfs.pod:56 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 " @@ -45167,12 +45456,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:57 +#: ../src/guestfs.pod:63 msgid "The general structure of all libguestfs-using programs looks like this:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:60 +#: ../src/guestfs.pod:66 #, no-wrap msgid "" " guestfs_h *g = guestfs_create ();\n" @@ -45182,7 +45471,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:62 +#: ../src/guestfs.pod:68 #, no-wrap msgid "" " /* Call guestfs_add_drive additional times if there are\n" @@ -45193,7 +45482,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:67 +#: ../src/guestfs.pod:73 #, no-wrap msgid "" " /* Most manipulation calls won't work until you've launched\n" @@ -45205,7 +45494,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:73 +#: ../src/guestfs.pod:79 #, no-wrap msgid "" " /* Now you can examine what partitions, LVs etc are available.\n" @@ -45221,7 +45510,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:78 +#: ../src/guestfs.pod:84 #, no-wrap msgid "" " /* To access a filesystem in the image, you must mount it.\n" @@ -45235,7 +45524,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:82 +#: ../src/guestfs.pod:88 #, no-wrap msgid "" " /* Now you can perform filesystem actions on the guest\n" @@ -45251,7 +45540,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:87 +#: ../src/guestfs.pod:93 #, no-wrap msgid "" " /* Synchronize the disk. This is the opposite of guestfs_launch. */\n" @@ -45260,7 +45549,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:90 +#: ../src/guestfs.pod:96 #, no-wrap msgid "" " /* Close and free the handle 'g'. */\n" @@ -45269,7 +45558,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:93 +#: ../src/guestfs.pod:99 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 " @@ -45281,12 +45570,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:102 +#: ../src/guestfs.pod:108 msgid "DISK IMAGES" msgstr "ОБРАЗИ ДИСКІВ" #. type: textblock -#: ../src/guestfs.pod:104 +#: ../src/guestfs.pod:110 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 " @@ -45296,7 +45585,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:110 +#: ../src/guestfs.pod:116 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 " @@ -45304,7 +45593,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:114 +#: ../src/guestfs.pod:120 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename,\n" @@ -45318,12 +45607,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:118 +#: ../src/guestfs.pod:124 msgid "You can add a disk read-only using:" msgstr "Ви можете додати диск у режимі лише читання:" #. type: verbatim -#: ../src/guestfs.pod:120 +#: ../src/guestfs.pod:126 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename,\n" @@ -45339,14 +45628,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:125 +#: ../src/guestfs.pod:131 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:128 +#: ../src/guestfs.pod:134 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 " @@ -45354,7 +45643,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:132 +#: ../src/guestfs.pod:138 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 " @@ -45362,7 +45651,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:137 +#: ../src/guestfs.pod:143 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 " @@ -45370,12 +45659,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:142 +#: ../src/guestfs.pod:148 msgid "MOUNTING" msgstr "МОНТУВАННЯ" #. type: textblock -#: ../src/guestfs.pod:144 +#: ../src/guestfs.pod:150 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 " @@ -45385,7 +45674,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:151 +#: ../src/guestfs.pod:157 #, no-wrap msgid "" " guestfs_mount_options (g, \"\", \"/dev/sda1\", \"/\");\n" @@ -45395,7 +45684,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:153 +#: ../src/guestfs.pod:159 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 " @@ -45405,7 +45694,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:159 +#: ../src/guestfs.pod:165 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</" @@ -45416,7 +45705,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:167 +#: ../src/guestfs.pod:173 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 " @@ -45424,19 +45713,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:172 +#: ../src/guestfs.pod:178 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:175 +#: ../src/guestfs.pod:181 msgid "FILESYSTEM ACCESS AND MODIFICATION" msgstr "ДОСТУП ТА ВНЕСЕННЯ ЗМІН ДО ФАЙЛОВИХ СИСТЕМ" #. type: textblock -#: ../src/guestfs.pod:177 +#: ../src/guestfs.pod:183 msgid "" "The majority of the libguestfs API consists of fairly low-level calls for " "accessing and modifying the files, directories, symlinks etc on mounted " @@ -45446,7 +45735,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:183 +#: ../src/guestfs.pod:189 msgid "" "Specify filenames as full paths, starting with C<\"/\"> and including the " "mount point." @@ -45455,7 +45744,7 @@ msgstr "" "точкою монтування." #. type: textblock -#: ../src/guestfs.pod:186 +#: ../src/guestfs.pod:192 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:" @@ -45465,7 +45754,7 @@ msgstr "" "таким кодом:" #. type: verbatim -#: ../src/guestfs.pod:189 +#: ../src/guestfs.pod:195 #, no-wrap msgid "" " char *data = guestfs_cat (g, \"/etc/passwd\");\n" @@ -45475,7 +45764,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:191 +#: ../src/guestfs.pod:197 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), " @@ -45483,14 +45772,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:195 +#: ../src/guestfs.pod:201 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:198 +#: ../src/guestfs.pod:204 #, no-wrap msgid "" " guestfs_mkdir (g, \"/var\");\n" @@ -45500,12 +45789,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:200 +#: ../src/guestfs.pod:206 msgid "To create a symlink you could do:" msgstr "Щоб створити символічне посилання, ви можете скористатися таким кодом:" #. type: verbatim -#: ../src/guestfs.pod:202 +#: ../src/guestfs.pod:208 #, no-wrap msgid "" " guestfs_ln_s (g, \"/etc/init.d/portmap\",\n" @@ -45517,14 +45806,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:205 +#: ../src/guestfs.pod:211 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:208 +#: ../src/guestfs.pod:214 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 " @@ -45534,40 +45823,40 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:214 +#: ../src/guestfs.pod:220 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: textblock -#: ../src/guestfs.pod:217 +#: ../src/guestfs.pod:223 msgid "" "Since libguestfs 1.18, it is possible to mount the libguestfs filesystem on " "a local directory, subject to some restrictions. See L</MOUNT LOCAL> below." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:221 +#: ../src/guestfs.pod:227 msgid "PARTITIONING" msgstr "ПОДІЛ НА РОЗДІЛИ" #. type: textblock -#: ../src/guestfs.pod:223 +#: ../src/guestfs.pod:229 msgid "" "Libguestfs contains API calls to read, create and modify partition tables on " "disk images." msgstr "" #. type: textblock -#: ../src/guestfs.pod:226 +#: ../src/guestfs.pod:232 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:230 +#: ../src/guestfs.pod:236 #, no-wrap msgid "" " const char *parttype = \"mbr\";\n" @@ -45583,18 +45872,18 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:235 +#: ../src/guestfs.pod:241 msgid "" "Obviously this effectively wipes anything that was on that disk image before." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:238 +#: ../src/guestfs.pod:244 msgid "LVM2" msgstr "LVM2" #. type: textblock -#: ../src/guestfs.pod:240 +#: ../src/guestfs.pod:246 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 " @@ -45603,19 +45892,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:245 +#: ../src/guestfs.pod:251 msgid "" "This author strongly recommends reading the LVM HOWTO, online at L<http://" "tldp.org/HOWTO/LVM-HOWTO/>." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:248 +#: ../src/guestfs.pod:254 msgid "DOWNLOADING" msgstr "ОТРИМАННЯ ДАНИХ" #. type: textblock -#: ../src/guestfs.pod:250 +#: ../src/guestfs.pod:256 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 " @@ -45623,7 +45912,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:254 +#: ../src/guestfs.pod:260 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 " @@ -45631,31 +45920,31 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:258 +#: ../src/guestfs.pod:264 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:261 +#: ../src/guestfs.pod:267 msgid "" "To download multiple files, see L</guestfs_tar_out> and L</guestfs_tgz_out>." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:264 +#: ../src/guestfs.pod:270 msgid "UPLOADING" msgstr "ВИВАНТАЖЕННЯ" #. type: textblock -#: ../src/guestfs.pod:266 +#: ../src/guestfs.pod:272 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:269 +#: ../src/guestfs.pod:275 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</" @@ -45665,20 +45954,20 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:275 +#: ../src/guestfs.pod:281 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:278 +#: ../src/guestfs.pod:284 msgid "" "To upload multiple files, see L</guestfs_tar_in> and L</guestfs_tgz_in>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:280 +#: ../src/guestfs.pod:286 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)" @@ -45692,12 +45981,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:291 +#: ../src/guestfs.pod:297 msgid "COPYING" msgstr "КОПІЮВАННЯ" #. type: textblock -#: ../src/guestfs.pod:293 +#: ../src/guestfs.pod:299 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 " @@ -45705,52 +45994,52 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:299 +#: ../src/guestfs.pod:305 msgid "B<file> to B<file>" msgstr "B<файл> у B<файл>" #. type: textblock -#: ../src/guestfs.pod:301 +#: ../src/guestfs.pod:307 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:304 +#: ../src/guestfs.pod:310 msgid "" "To copy part of a file (offset and size) use L</guestfs_copy_file_to_file>." msgstr "" #. type: =item -#: ../src/guestfs.pod:307 +#: ../src/guestfs.pod:313 msgid "B<file> to B<device>" msgstr "B<файл> на B<пристрій>" #. type: =item -#: ../src/guestfs.pod:309 +#: ../src/guestfs.pod:315 msgid "B<device> to B<file>" msgstr "B<пристрій> до B<файла>" #. type: =item -#: ../src/guestfs.pod:311 +#: ../src/guestfs.pod:317 msgid "B<device> to B<device>" msgstr "B<пристрій> на B<пристрій>" #. type: textblock -#: ../src/guestfs.pod:313 +#: ../src/guestfs.pod:319 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:316 +#: ../src/guestfs.pod:322 msgid "Example: duplicate the contents of an LV:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:318 +#: ../src/guestfs.pod:324 #, no-wrap msgid "" " guestfs_copy_device_to_device (g,\n" @@ -45761,7 +46050,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:323 +#: ../src/guestfs.pod:329 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 " @@ -45769,7 +46058,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:327 +#: ../src/guestfs.pod:333 #, no-wrap msgid "" " guestfs_copy_device_to_device (g,\n" @@ -45785,32 +46074,32 @@ msgstr "" "\n" #. type: =item -#: ../src/guestfs.pod:332 +#: ../src/guestfs.pod:338 msgid "B<file on the host> to B<file or device>" msgstr "B<файл на вузлі> на B<файл або пристрій>" #. type: textblock -#: ../src/guestfs.pod:334 +#: ../src/guestfs.pod:340 msgid "Use L</guestfs_upload>. See L</UPLOADING> above." msgstr "" #. type: =item -#: ../src/guestfs.pod:336 +#: ../src/guestfs.pod:342 msgid "B<file or device> to B<file on the host>" msgstr "B<файл або пристрій> у B<файл на вузлі>" #. type: textblock -#: ../src/guestfs.pod:338 +#: ../src/guestfs.pod:344 msgid "Use L</guestfs_download>. See L</DOWNLOADING> above." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:342 +#: ../src/guestfs.pod:348 msgid "UPLOADING AND DOWNLOADING TO PIPES AND FILE DESCRIPTORS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:344 +#: ../src/guestfs.pod:350 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 " @@ -45821,12 +46110,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:352 +#: ../src/guestfs.pod:358 msgid "For example, L<virt-cat(1)> writes its output to stdout by doing:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:355 +#: ../src/guestfs.pod:361 #, no-wrap msgid "" " guestfs_download (g, filename, \"/dev/stdout\");\n" @@ -45836,12 +46125,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:357 +#: ../src/guestfs.pod:363 msgid "and you can write tar output to a file descriptor C<fd> by doing:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:359 +#: ../src/guestfs.pod:365 #, no-wrap msgid "" " char devfd[64];\n" @@ -45855,26 +46144,26 @@ msgstr "" "\n" #. type: =head2 -#: ../src/guestfs.pod:363 +#: ../src/guestfs.pod:369 msgid "LISTING FILES" msgstr "СПИСКИ ФАЙЛІВ" #. type: textblock -#: ../src/guestfs.pod:365 +#: ../src/guestfs.pod:371 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:368 +#: ../src/guestfs.pod:374 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:371 +#: ../src/guestfs.pod:377 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 " @@ -45882,18 +46171,18 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:375 +#: ../src/guestfs.pod:381 msgid "" "L</guestfs_find> and L</guestfs_find0> can be used to recursively list files." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:378 +#: ../src/guestfs.pod:384 msgid "RUNNING COMMANDS" msgstr "ВИКОНАННЯ КОМАНД" #. type: textblock -#: ../src/guestfs.pod:380 +#: ../src/guestfs.pod:386 msgid "" "Although libguestfs is primarily an API for manipulating files inside guest " "images, we also provide some limited facilities for running commands inside " @@ -45901,56 +46190,56 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:384 +#: ../src/guestfs.pod:390 msgid "There are many limitations to this:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:390 +#: ../src/guestfs.pod:396 msgid "" "The kernel version that the command runs under will be different from what " "it expects." msgstr "" #. type: textblock -#: ../src/guestfs.pod:395 +#: ../src/guestfs.pod:401 msgid "" "If the command needs to communicate with daemons, then most likely they " "won't be running." msgstr "" #. type: textblock -#: ../src/guestfs.pod:400 +#: ../src/guestfs.pod:406 msgid "The command will be running in limited memory." msgstr "" #. type: textblock -#: ../src/guestfs.pod:404 +#: ../src/guestfs.pod:410 msgid "" "The network may not be available unless you enable it (see L</" "guestfs_set_network>)." msgstr "" #. type: textblock -#: ../src/guestfs.pod:409 +#: ../src/guestfs.pod:415 msgid "Only supports Linux guests (not Windows, BSD, etc)." msgstr "" #. type: textblock -#: ../src/guestfs.pod:413 +#: ../src/guestfs.pod:419 msgid "" "Architecture limitations (eg. won't work for a PPC guest on an X86 host)." msgstr "" #. type: textblock -#: ../src/guestfs.pod:418 +#: ../src/guestfs.pod:424 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:423 +#: ../src/guestfs.pod:429 msgid "" "I<Security:> It is not safe to run commands from untrusted, possibly " "malicious guests. These commands may attempt to exploit your program by " @@ -45962,7 +46251,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:432 +#: ../src/guestfs.pod:438 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 " @@ -45972,26 +46261,26 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:440 +#: ../src/guestfs.pod:446 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:443 +#: ../src/guestfs.pod:449 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:446 +#: ../src/guestfs.pod:452 msgid "CONFIGURATION FILES" msgstr "ФАЙЛИ НАЛАШТУВАННЯ" #. type: textblock -#: ../src/guestfs.pod:448 +#: ../src/guestfs.pod:454 msgid "" "To read and write configuration files in Linux guest filesystems, we " "strongly recommend using Augeas. For example, Augeas understands how to " @@ -46000,7 +46289,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:453 +#: ../src/guestfs.pod:459 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 " @@ -46008,7 +46297,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:457 +#: ../src/guestfs.pod:463 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 " @@ -46016,24 +46305,24 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:461 +#: ../src/guestfs.pod:467 msgid "SELINUX" msgstr "SELINUX" #. type: textblock -#: ../src/guestfs.pod:463 +#: ../src/guestfs.pod:469 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:471 +#: ../src/guestfs.pod:477 msgid "Before launching, do:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:473 +#: ../src/guestfs.pod:479 #, no-wrap msgid "" " guestfs_set_selinux (g, 1);\n" @@ -46043,14 +46332,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:477 +#: ../src/guestfs.pod:483 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:481 +#: ../src/guestfs.pod:487 #, no-wrap msgid "" " guestfs_sh (g, \"/usr/sbin/load_policy\");\n" @@ -46060,21 +46349,21 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:483 +#: ../src/guestfs.pod:489 msgid "" "(Older versions of C<load_policy> require you to specify the name of the " "policy file)." msgstr "" #. type: textblock -#: ../src/guestfs.pod:488 +#: ../src/guestfs.pod:494 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:492 +#: ../src/guestfs.pod:498 #, no-wrap msgid "" " guestfs_setcon (g, \"unconfined_u:unconfined_r:unconfined_t:s0\");\n" @@ -46084,24 +46373,24 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:496 +#: ../src/guestfs.pod:502 msgid "This will work for running commands and editing existing files." msgstr "" #. type: textblock -#: ../src/guestfs.pod:498 +#: ../src/guestfs.pod:504 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:502 +#: ../src/guestfs.pod:508 msgid "UMASK" msgstr "UMASK" #. type: textblock -#: ../src/guestfs.pod:504 +#: ../src/guestfs.pod:510 msgid "" "Certain calls are affected by the current file mode creation mask (the " "\"umask\"). In particular ones which create files or directories, such as " @@ -46111,14 +46400,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:510 +#: ../src/guestfs.pod:516 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:513 +#: ../src/guestfs.pod:519 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</" @@ -46126,12 +46415,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:517 +#: ../src/guestfs.pod:523 msgid "For more information about umask, see L<umask(2)>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:521 +#: ../src/guestfs.pod:527 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) " @@ -46140,21 +46429,21 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:527 +#: ../src/guestfs.pod:533 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:530 +#: ../src/guestfs.pod:536 msgid "" "Then open these devices by calling L</guestfs_luks_open>. Obviously you " "will require the passphrase!" msgstr "" #. type: textblock -#: ../src/guestfs.pod:533 +#: ../src/guestfs.pod:539 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</" @@ -46163,7 +46452,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:539 +#: ../src/guestfs.pod:545 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" @@ -46171,7 +46460,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:543 +#: ../src/guestfs.pod:549 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, " @@ -46181,19 +46470,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:550 +#: ../src/guestfs.pod:556 msgid "MOUNT LOCAL" msgstr "" #. type: textblock -#: ../src/guestfs.pod:552 +#: ../src/guestfs.pod:558 msgid "" "In libguestfs E<ge> 1.18, it is possible to mount the libguestfs filesystem " "on a local directory and access it using ordinary POSIX calls and programs." msgstr "" #. type: textblock -#: ../src/guestfs.pod:556 +#: ../src/guestfs.pod:562 msgid "" "Availability of this is subject to a number of restrictions: it requires " "FUSE (the Filesystem in USErspace), and libfuse must also have been " @@ -46204,7 +46493,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:563 +#: ../src/guestfs.pod:569 msgid "" "The call to mount the libguestfs filesystem on a local directory is L</" "guestfs_mount_local> (q.v.) followed by L</guestfs_mount_local_run>. The " @@ -46217,7 +46506,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:573 +#: ../src/guestfs.pod:579 msgid "" "L</guestfs_mount_local> needs a certain amount of time to set up the " "mountpoint. The mountpoint is not ready to use until the call returns. At " @@ -46228,12 +46517,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:581 +#: ../src/guestfs.pod:587 msgid "MOUNT LOCAL COMPATIBILITY" msgstr "" #. type: textblock -#: ../src/guestfs.pod:583 +#: ../src/guestfs.pod:589 msgid "" "Since local mounting was only added in libguestfs 1.18, and may not be " "available even in these builds, you should consider writing code so that it " @@ -46242,7 +46531,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:588 +#: ../src/guestfs.pod:594 msgid "" "If libguestfs was compiled without support for L</guestfs_mount_local> then " "calling it will return an error with errno set to C<ENOTSUP> (see L</" @@ -46250,12 +46539,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:592 +#: ../src/guestfs.pod:598 msgid "MOUNT LOCAL PERFORMANCE" msgstr "" #. type: textblock -#: ../src/guestfs.pod:594 +#: ../src/guestfs.pod:600 msgid "" "Libguestfs on top of FUSE performs quite poorly. For best performance do " "not use it. Use ordinary libguestfs filesystem calls, upload, download etc. " @@ -46263,12 +46552,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:598 +#: ../src/guestfs.pod:604 msgid "INSPECTION" msgstr "ПЕРЕВІРКА" #. type: textblock -#: ../src/guestfs.pod:600 +#: ../src/guestfs.pod:606 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 " @@ -46278,14 +46567,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:607 +#: ../src/guestfs.pod:613 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:610 +#: ../src/guestfs.pod:616 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 " @@ -46298,7 +46587,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:619 +#: ../src/guestfs.pod:625 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</" @@ -46307,7 +46596,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:625 +#: ../src/guestfs.pod:631 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 " @@ -46318,7 +46607,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:632 +#: ../src/guestfs.pod:638 #, no-wrap msgid "" " /boot => /dev/sda1\n" @@ -46332,21 +46621,21 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:636 +#: ../src/guestfs.pod:642 msgid "" "The caller can then make calls to L</guestfs_mount_options> to mount the " "filesystems as suggested." msgstr "" #. type: textblock -#: ../src/guestfs.pod:639 +#: ../src/guestfs.pod:645 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:643 +#: ../src/guestfs.pod:649 msgid "" "Inspection currently only works for some common operating systems. " "Contributors are welcome to send patches for other operating systems that we " @@ -46354,7 +46643,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:647 +#: ../src/guestfs.pod:653 msgid "" "Encrypted disks must be opened before inspection. See L</ENCRYPTED DISKS> " "for more details. The L</guestfs_inspect_os> function just ignores any " @@ -46362,7 +46651,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:651 +#: ../src/guestfs.pod:657 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 " @@ -46375,19 +46664,19 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:660 +#: ../src/guestfs.pod:666 msgid "INSPECTING INSTALL DISKS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:662 +#: ../src/guestfs.pod:668 msgid "" "Libguestfs (since 1.9.4) can detect some install disks, install CDs, live " "CDs and more." msgstr "" #. type: textblock -#: ../src/guestfs.pod:665 +#: ../src/guestfs.pod:671 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 " @@ -46395,7 +46684,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:669 +#: ../src/guestfs.pod:675 msgid "" "Further information is available about the operating system that can be " "installed using the regular inspection APIs like L</" @@ -46403,7 +46692,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:674 +#: ../src/guestfs.pod:680 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</" @@ -46411,24 +46700,24 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:679 +#: ../src/guestfs.pod:685 msgid "SPECIAL CONSIDERATIONS FOR WINDOWS GUESTS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:681 +#: ../src/guestfs.pod:687 msgid "" "Libguestfs can mount NTFS partitions. It does this using the L<http://www." "ntfs-3g.org/> driver." msgstr "" #. type: =head3 -#: ../src/guestfs.pod:684 +#: ../src/guestfs.pod:690 msgid "DRIVE LETTERS AND PATHS" msgstr "ЛІТЕРИ ДИСКІВ ТА ШЛЯХИ" #. type: textblock -#: ../src/guestfs.pod:686 +#: ../src/guestfs.pod:692 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 " @@ -46438,14 +46727,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:692 +#: ../src/guestfs.pod:698 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:695 +#: ../src/guestfs.pod:701 msgid "" "Dealing with separator characters (backslash vs forward slash) is outside " "the scope of libguestfs, but usually a simple character replacement will " @@ -46453,33 +46742,33 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:699 +#: ../src/guestfs.pod:705 msgid "" "To resolve the case insensitivity of paths, call L</" "guestfs_case_sensitive_path>." msgstr "" #. type: =head3 -#: ../src/guestfs.pod:702 +#: ../src/guestfs.pod:708 msgid "LONG FILENAMES ON NTFS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:704 +#: ../src/guestfs.pod:710 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:708 +#: ../src/guestfs.pod:714 msgid "" "Most Linux filesystems support filenames up to 255 I<bytes>. This means you " "may get an error:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:711 +#: ../src/guestfs.pod:717 #, no-wrap msgid "" " File name too long\n" @@ -46487,14 +46776,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:713 +#: ../src/guestfs.pod:719 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:716 +#: ../src/guestfs.pod:722 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 " @@ -46502,7 +46791,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:720 +#: ../src/guestfs.pod:726 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 " @@ -46510,12 +46799,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:724 +#: ../src/guestfs.pod:730 msgid "ACCESSING THE WINDOWS REGISTRY" msgstr "ДОСТУП ДО РЕГІСТРУ WINDOWS" #. type: textblock -#: ../src/guestfs.pod:726 +#: ../src/guestfs.pod:732 msgid "" "Libguestfs also provides some help for decoding Windows Registry \"hive\" " "files, through the library C<hivex> which is part of the libguestfs project " @@ -46526,12 +46815,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:734 +#: ../src/guestfs.pod:740 msgid "SYMLINKS ON NTFS-3G FILESYSTEMS" msgstr "СИМВОЛІЧНІ ПОСИЛАННЯ У ФАЙЛОВИХ СИСТЕМАХ NTFS-3G" #. type: textblock -#: ../src/guestfs.pod:736 +#: ../src/guestfs.pod:742 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 " @@ -46539,7 +46828,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:740 +#: ../src/guestfs.pod:746 msgid "" "L<http://www.tuxera.com/community/ntfs-3g-advanced/junction-points-and-" "symbolic-links/>" @@ -46548,7 +46837,7 @@ msgstr "" "symbolic-links/>" #. type: textblock -#: ../src/guestfs.pod:742 +#: ../src/guestfs.pod:748 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 " @@ -46558,7 +46847,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:749 +#: ../src/guestfs.pod:755 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 " @@ -46567,38 +46856,38 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:754 +#: ../src/guestfs.pod:760 msgid "EXTENDED ATTRIBUTES ON NTFS-3G FILESYSTEMS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:756 +#: ../src/guestfs.pod:762 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:759 +#: ../src/guestfs.pod:765 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:761 +#: ../src/guestfs.pod:767 msgid "RESIZE2FS ERRORS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:763 +#: ../src/guestfs.pod:769 msgid "" "The L</guestfs_resize2fs>, L</guestfs_resize2fs_size> and L</" "guestfs_resize2fs_M> calls are used to resize ext2/3/4 filesystems." msgstr "" #. type: textblock -#: ../src/guestfs.pod:766 +#: ../src/guestfs.pod:772 msgid "" "The underlying program (L<resize2fs(8)>) requires that the filesystem is " "clean and recently fsck'd before you can resize it. Also, if the resize " @@ -46607,7 +46896,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:771 +#: ../src/guestfs.pod:777 msgid "" "In libguestfs C<lt> 1.17.14, you usually had to call L</guestfs_e2fsck_f> " "before the resize. However, in C<ge> 1.17.14, L<e2fsck(8)> is called " @@ -46615,14 +46904,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:776 +#: ../src/guestfs.pod:782 msgid "" "The L<resize2fs(8)> program can still fail, in which case it prints an error " "message similar to:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:779 +#: ../src/guestfs.pod:785 #, no-wrap msgid "" " Please run 'e2fsck -fy <device>' to fix the filesystem\n" @@ -46631,7 +46920,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:782 +#: ../src/guestfs.pod:788 msgid "" "You can do this by calling L</guestfs_e2fsck> with the C<forceall> option. " "However in the context of disk images, it is usually better to avoid this " @@ -46640,19 +46929,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:787 +#: ../src/guestfs.pod:793 msgid "USING LIBGUESTFS WITH OTHER PROGRAMMING LANGUAGES" msgstr "ВИКОРИСТАННЯ LIBGUESTFS ЗА ДОПОМОГОЮ ІНШИХ МОВ ПРОГРАМУВАННЯ" #. type: textblock -#: ../src/guestfs.pod:789 +#: ../src/guestfs.pod:795 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:792 +#: ../src/guestfs.pod:798 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)> " @@ -46662,14 +46951,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:798 +#: ../src/guestfs.pod:804 msgid "" "Error messages are automatically transformed into exceptions if the language " "supports it." msgstr "" #. type: textblock -#: ../src/guestfs.pod:801 +#: ../src/guestfs.pod:807 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 " @@ -46677,58 +46966,58 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:807 +#: ../src/guestfs.pod:813 msgid "B<C++>" msgstr "B<C++>" #. type: textblock -#: ../src/guestfs.pod:809 +#: ../src/guestfs.pod:815 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:813 +#: ../src/guestfs.pod:819 msgid "B<C#>" msgstr "B<C#>" #. type: textblock -#: ../src/guestfs.pod:815 +#: ../src/guestfs.pod:821 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:818 +#: ../src/guestfs.pod:824 msgid "B<Erlang>" msgstr "B<Erlang>" #. type: textblock -#: ../src/guestfs.pod:820 +#: ../src/guestfs.pod:826 msgid "See L<guestfs-erlang(3)>." msgstr "Див. L<guestfs-erlang(3)>." #. type: =item -#: ../src/guestfs.pod:822 +#: ../src/guestfs.pod:828 msgid "B<GObject>" msgstr "B<GObject>" #. type: textblock -#: ../src/guestfs.pod:824 +#: ../src/guestfs.pod:830 msgid "" "Experimental GObject bindings (with GObject Introspection support) are " "available. See the C<gobject> directory in the source." msgstr "" #. type: =item -#: ../src/guestfs.pod:827 +#: ../src/guestfs.pod:833 msgid "B<Haskell>" msgstr "B<Haskell>" #. type: textblock -#: ../src/guestfs.pod:829 +#: ../src/guestfs.pod:835 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 " @@ -46736,96 +47025,96 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:833 +#: ../src/guestfs.pod:839 msgid "B<Java>" msgstr "B<Java>" #. type: textblock -#: ../src/guestfs.pod:835 +#: ../src/guestfs.pod:841 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:838 +#: ../src/guestfs.pod:844 msgid "B<OCaml>" msgstr "B<OCaml>" #. type: textblock -#: ../src/guestfs.pod:840 +#: ../src/guestfs.pod:846 msgid "See L<guestfs-ocaml(3)>." msgstr "Див. L<guestfs-ocaml(3)>." #. type: =item -#: ../src/guestfs.pod:842 +#: ../src/guestfs.pod:848 msgid "B<Perl>" msgstr "B<Perl>" #. type: textblock -#: ../src/guestfs.pod:844 +#: ../src/guestfs.pod:850 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:846 +#: ../src/guestfs.pod:852 msgid "B<PHP>" msgstr "B<PHP>" #. type: textblock -#: ../src/guestfs.pod:848 +#: ../src/guestfs.pod:854 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:851 +#: ../src/guestfs.pod:857 msgid "The PHP binding only works correctly on 64 bit machines." msgstr "" #. type: =item -#: ../src/guestfs.pod:853 +#: ../src/guestfs.pod:859 msgid "B<Python>" msgstr "B<Python>" #. type: textblock -#: ../src/guestfs.pod:855 +#: ../src/guestfs.pod:861 msgid "See L<guestfs-python(3)>." msgstr "Див. L<guestfs-python(3)>." #. type: =item -#: ../src/guestfs.pod:857 +#: ../src/guestfs.pod:863 msgid "B<Ruby>" msgstr "B<Ruby>" #. type: textblock -#: ../src/guestfs.pod:859 +#: ../src/guestfs.pod:865 msgid "See L<guestfs-ruby(3)>." msgstr "Див. L<guestfs-ruby(3)>." #. type: textblock -#: ../src/guestfs.pod:861 +#: ../src/guestfs.pod:867 msgid "For JRuby, use the Java bindings." msgstr "" #. type: =item -#: ../src/guestfs.pod:863 +#: ../src/guestfs.pod:869 msgid "B<shell scripts>" msgstr "B<скрипти оболонки>" #. type: textblock -#: ../src/guestfs.pod:865 +#: ../src/guestfs.pod:871 msgid "See L<guestfish(1)>." msgstr "Див. L<guestfish(1)>." #. type: =head2 -#: ../src/guestfs.pod:869 +#: ../src/guestfs.pod:875 msgid "LIBGUESTFS GOTCHAS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:871 +#: ../src/guestfs.pod:877 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 " @@ -46833,7 +47122,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:875 +#: ../src/guestfs.pod:881 msgid "" "Since we developed libguestfs and the associated tools, there are several " "things we would have designed differently, but are now stuck with for " @@ -46842,19 +47131,19 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:883 +#: ../src/guestfs.pod:889 msgid "Autosync / forgetting to sync." msgstr "" #. type: textblock -#: ../src/guestfs.pod:885 +#: ../src/guestfs.pod:891 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:888 +#: ../src/guestfs.pod:894 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 " @@ -46862,7 +47151,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:892 +#: ../src/guestfs.pod:898 #, no-wrap msgid "" " guestfs_set_autosync (g, 1);\n" @@ -46872,14 +47161,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:894 +#: ../src/guestfs.pod:900 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:898 +#: ../src/guestfs.pod:904 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 " @@ -46887,7 +47176,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:902 +#: ../src/guestfs.pod:908 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 " @@ -46895,19 +47184,19 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:906 +#: ../src/guestfs.pod:912 msgid "Mount option C<-o sync> should not be the default." msgstr "" #. type: textblock -#: ../src/guestfs.pod:908 +#: ../src/guestfs.pod:914 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:911 +#: ../src/guestfs.pod:917 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 " @@ -46915,31 +47204,31 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:915 +#: ../src/guestfs.pod:921 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:918 +#: ../src/guestfs.pod:924 msgid "Read-only should be the default." msgstr "" #. type: textblock -#: ../src/guestfs.pod:920 +#: ../src/guestfs.pod:926 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:923 +#: ../src/guestfs.pod:929 msgid "This would reduce the potential to corrupt live VM images." msgstr "" #. type: textblock -#: ../src/guestfs.pod:925 +#: ../src/guestfs.pod:931 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</" @@ -46947,12 +47236,12 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:929 +#: ../src/guestfs.pod:935 msgid "guestfish command line is hard to use." msgstr "" #. type: textblock -#: ../src/guestfs.pod:931 +#: ../src/guestfs.pod:937 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 " @@ -46962,12 +47251,12 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:938 +#: ../src/guestfs.pod:944 msgid "guestfish megabyte modifiers don't work right on all commands" msgstr "" #. type: textblock -#: ../src/guestfs.pod:940 +#: ../src/guestfs.pod:946 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 " @@ -46977,12 +47266,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:947 +#: ../src/guestfs.pod:953 msgid "The most common is L</guestfs_lvcreate>. The guestfish command:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:949 +#: ../src/guestfs.pod:955 #, no-wrap msgid "" " lvcreate LV VG 100M\n" @@ -46992,7 +47281,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:951 +#: ../src/guestfs.pod:957 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 " @@ -47001,19 +47290,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:956 +#: ../src/guestfs.pod:962 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:959 +#: ../src/guestfs.pod:965 msgid "Ambiguity between devices and paths" msgstr "" #. type: textblock -#: ../src/guestfs.pod:961 +#: ../src/guestfs.pod:967 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 " @@ -47021,7 +47310,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:966 +#: ../src/guestfs.pod:972 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>. " @@ -47030,7 +47319,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:972 +#: ../src/guestfs.pod:978 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 " @@ -47040,7 +47329,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:978 +#: ../src/guestfs.pod:984 #, no-wrap msgid "" " type path = Path of string | Device of int | Partition of int * int\n" @@ -47048,12 +47337,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:980 +#: ../src/guestfs.pod:986 msgid "which would allow you to pass arguments like:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:982 +#: ../src/guestfs.pod:988 #, no-wrap msgid "" " Path \"/foo/bar\"\n" @@ -47064,26 +47353,26 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:987 +#: ../src/guestfs.pod:993 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:992 +#: ../src/guestfs.pod:998 msgid "KEYS AND PASSPHRASES" msgstr "КЛЮЧІ І ПАРОЛІ" #. type: textblock -#: ../src/guestfs.pod:994 +#: ../src/guestfs.pod:1000 msgid "" "Certain libguestfs calls take a parameter that contains sensitive key " "material, passed in as a C string." msgstr "" #. type: textblock -#: ../src/guestfs.pod:997 +#: ../src/guestfs.pod:1003 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 " @@ -47092,7 +47381,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1002 +#: ../src/guestfs.pod:1008 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, " @@ -47100,19 +47389,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1007 +#: ../src/guestfs.pod:1013 msgid "MULTIPLE HANDLES AND MULTIPLE THREADS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1009 +#: ../src/guestfs.pod:1015 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:1012 +#: ../src/guestfs.pod:1018 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 " @@ -47120,33 +47409,33 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1016 +#: ../src/guestfs.pod:1022 msgid "" "See the graphical program guestfs-browser for one possible architecture for " "multithreaded programs using libvirt and libguestfs." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1019 +#: ../src/guestfs.pod:1025 msgid "PATH" msgstr "ШЛЯХ" #. type: textblock -#: ../src/guestfs.pod:1021 +#: ../src/guestfs.pod:1027 msgid "" "Libguestfs needs a supermin appliance, which it finds by looking along an " "internal path." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1024 +#: ../src/guestfs.pod:1030 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:1027 +#: ../src/guestfs.pod:1033 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 " @@ -47157,12 +47446,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1034 +#: ../src/guestfs.pod:1040 msgid "QEMU WRAPPERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1036 +#: ../src/guestfs.pod:1042 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 " @@ -47170,7 +47459,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1040 +#: ../src/guestfs.pod:1046 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 " @@ -47179,14 +47468,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1045 +#: ../src/guestfs.pod:1051 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:1048 +#: ../src/guestfs.pod:1054 #, no-wrap msgid "" " #!/bin/sh -\n" @@ -47200,7 +47489,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1052 +#: ../src/guestfs.pod:1058 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 " @@ -47208,7 +47497,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1056 +#: ../src/guestfs.pod:1062 #, no-wrap msgid "" " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n" @@ -47218,14 +47507,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1058 +#: ../src/guestfs.pod:1064 msgid "" "Note that libguestfs also calls qemu with the -help and -version options in " "order to determine features." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1061 +#: ../src/guestfs.pod:1067 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 " @@ -47235,7 +47524,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1070 +#: ../src/guestfs.pod:1076 #, no-wrap msgid "" " i=0\n" @@ -47265,7 +47554,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:1082 +#: ../src/guestfs.pod:1088 #, no-wrap msgid "" " exec qemu-kvm -machine pc,accel=tcg \"${args[@]}\"\n" @@ -47275,19 +47564,19 @@ msgstr "" "\n" #. type: =head2 -#: ../src/guestfs.pod:1084 +#: ../src/guestfs.pod:1090 msgid "ATTACHING TO RUNNING DAEMONS" msgstr "ДОЛУЧЕННЯ ДО ЗАПУЩЕНИХ ФОНОВИХ СЛУЖБ" #. type: textblock -#: ../src/guestfs.pod:1086 +#: ../src/guestfs.pod:1092 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:1089 +#: ../src/guestfs.pod:1095 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 " @@ -47295,12 +47584,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:1093 +#: ../src/guestfs.pod:1099 msgid "Using guestfs_set_attach_method" msgstr "За допомогою guestfs_set_attach_method" #. type: textblock -#: ../src/guestfs.pod:1095 +#: ../src/guestfs.pod:1101 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</" @@ -47308,14 +47597,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1099 +#: ../src/guestfs.pod:1105 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:1102 +#: ../src/guestfs.pod:1108 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 " @@ -47323,7 +47612,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1106 +#: ../src/guestfs.pod:1112 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 " @@ -47331,12 +47620,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:1110 +#: ../src/guestfs.pod:1116 msgid "Using guestfs_add_domain with live flag" msgstr "За допомогою guestfs_add_domain з прапорцем live" #. type: textblock -#: ../src/guestfs.pod:1112 +#: ../src/guestfs.pod:1118 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 " @@ -47345,7 +47634,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1118 +#: ../src/guestfs.pod:1124 #, no-wrap msgid "" " <domain>\n" @@ -47375,14 +47664,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1130 +#: ../src/guestfs.pod:1136 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:1133 +#: ../src/guestfs.pod:1139 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 " @@ -47390,19 +47679,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1137 +#: ../src/guestfs.pod:1143 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:1141 +#: ../src/guestfs.pod:1147 msgid "ABI GUARANTEE" msgstr "ГАРАНТІЯ ЩОДО ABI" #. type: textblock -#: ../src/guestfs.pod:1143 +#: ../src/guestfs.pod:1149 msgid "" "We guarantee the libguestfs ABI (binary interface), for public, high-level " "actions as outlined in this section. Although we will deprecate some " @@ -47412,12 +47701,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1149 +#: ../src/guestfs.pod:1155 msgid "BLOCK DEVICE NAMING" msgstr "ІМЕНУВАННЯ БЛОКОВИХ ПРИСТРОЇВ" #. type: textblock -#: ../src/guestfs.pod:1151 +#: ../src/guestfs.pod:1157 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 " @@ -47431,7 +47720,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1163 +#: ../src/guestfs.pod:1169 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 " @@ -47439,7 +47728,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1167 +#: ../src/guestfs.pod:1173 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 " @@ -47447,7 +47736,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1172 +#: ../src/guestfs.pod:1178 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 " @@ -47456,7 +47745,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1178 +#: ../src/guestfs.pod:1184 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 " @@ -47464,12 +47753,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:1183 +#: ../src/guestfs.pod:1189 msgid "ALGORITHM FOR BLOCK DEVICE NAME TRANSLATION" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1185 +#: ../src/guestfs.pod:1191 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 " @@ -47478,7 +47767,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1191 +#: ../src/guestfs.pod:1197 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</" @@ -47486,54 +47775,54 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1199 +#: ../src/guestfs.pod:1205 msgid "Is the string a parameter which is a device or partition name?" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1203 +#: ../src/guestfs.pod:1209 msgid "Does the string begin with C</dev/sd>?" msgstr "Чи починається рядок з C</dev/sd>?" #. type: textblock -#: ../src/guestfs.pod:1207 +#: ../src/guestfs.pod:1213 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:1212 +#: ../src/guestfs.pod:1218 msgid "Replace initial C</dev/sd> string with C</dev/hd>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1214 +#: ../src/guestfs.pod:1220 msgid "For example, change C</dev/sda2> to C</dev/hda2>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1216 +#: ../src/guestfs.pod:1222 msgid "If that named device exists, use it. If not, continue." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1220 +#: ../src/guestfs.pod:1226 msgid "Replace initial C</dev/sd> string with C</dev/vd>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1222 +#: ../src/guestfs.pod:1228 msgid "If that named device exists, use it. If not, return an error." msgstr "" #. type: =head3 -#: ../src/guestfs.pod:1226 +#: ../src/guestfs.pod:1232 msgid "PORTABILITY CONCERNS WITH BLOCK DEVICE NAMING" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1228 +#: ../src/guestfs.pod:1234 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 " @@ -47541,39 +47830,39 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1232 +#: ../src/guestfs.pod:1238 msgid "" "Where possible for maximum future portability programs using libguestfs " "should use these future-proof techniques:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1239 +#: ../src/guestfs.pod:1245 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:1242 +#: ../src/guestfs.pod:1248 msgid "" "Since those device names exist by definition, they will never be translated." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1247 +#: ../src/guestfs.pod:1253 msgid "" "Use higher level ways to identify filesystems, such as LVM names, UUIDs and " "filesystem labels." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1252 +#: ../src/guestfs.pod:1258 msgid "NULL DISKS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1254 +#: ../src/guestfs.pod:1260 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 " @@ -47581,46 +47870,46 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1258 +#: ../src/guestfs.pod:1264 msgid "A null disk has the following properties:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1264 +#: ../src/guestfs.pod:1270 msgid "" "A null disk will appear as a normal device, eg. in calls to L</" "guestfs_list_devices>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1269 +#: ../src/guestfs.pod:1275 msgid "You may add C<\"/dev/null\"> multiple times." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1273 +#: ../src/guestfs.pod:1279 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:1278 +#: ../src/guestfs.pod:1284 msgid "Null disks are used for three main purposes:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1284 +#: ../src/guestfs.pod:1290 msgid "Performance testing of libguestfs (see L<guestfs-performance(1)>)." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1288 +#: ../src/guestfs.pod:1294 msgid "The internal test suite." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1292 +#: ../src/guestfs.pod:1298 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 " @@ -47628,12 +47917,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1296 +#: ../src/guestfs.pod:1302 msgid "For example, to test if a feature is available, use code like this:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1298 +#: ../src/guestfs.pod:1304 #, no-wrap msgid "" " guestfs_h *g;\n" @@ -47642,7 +47931,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1301 +#: ../src/guestfs.pod:1307 #, no-wrap msgid "" " g = guestfs_create ();\n" @@ -47658,24 +47947,24 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:1313 ../sysprep/virt-sysprep.pod:386 +#: ../src/guestfs.pod:1319 ../sysprep/virt-sysprep.pod:386 msgid "SECURITY" msgstr "БЕЗПЕКА" #. type: textblock -#: ../src/guestfs.pod:1315 +#: ../src/guestfs.pod:1321 msgid "" "This section discusses security implications of using libguestfs, " "particularly with untrusted or malicious guests or disk images." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1318 +#: ../src/guestfs.pod:1324 msgid "GENERAL SECURITY CONSIDERATIONS" msgstr "ЗАГАЛЬНІ ЗАУВАЖЕННЯ ЩОДО ЗАХИСТУ" #. type: textblock -#: ../src/guestfs.pod:1320 +#: ../src/guestfs.pod:1326 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 " @@ -47685,42 +47974,42 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1330 +#: ../src/guestfs.pod:1336 msgid "the data (file etc) not being present" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1334 +#: ../src/guestfs.pod:1340 msgid "being present but empty" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1338 +#: ../src/guestfs.pod:1344 msgid "being much larger than normal" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1342 +#: ../src/guestfs.pod:1348 msgid "containing arbitrary 8 bit data" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1346 +#: ../src/guestfs.pod:1352 msgid "being in an unexpected character encoding" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1350 +#: ../src/guestfs.pod:1356 msgid "containing homoglyphs." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1354 +#: ../src/guestfs.pod:1360 msgid "SECURITY OF MOUNTING FILESYSTEMS" msgstr "ЗАХИСТ ФАЙЛОВИХ СИСТЕМ МОНТУВАННЯ" #. type: textblock -#: ../src/guestfs.pod:1356 +#: ../src/guestfs.pod:1362 msgid "" "When you mount a filesystem under Linux, mistakes in the kernel filesystem " "(VFS) module can sometimes be escalated into exploits by deliberately " @@ -47736,7 +48025,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1369 +#: ../src/guestfs.pod:1375 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 " @@ -47750,19 +48039,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1380 +#: ../src/guestfs.pod:1386 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:1383 +#: ../src/guestfs.pod:1389 msgid "PROTOCOL SECURITY" msgstr "ЗАХИСТ ПРОТОКОЛУ" #. type: textblock -#: ../src/guestfs.pod:1385 +#: ../src/guestfs.pod:1391 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 " @@ -47772,12 +48061,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1391 +#: ../src/guestfs.pod:1397 msgid "INSPECTION SECURITY" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1393 +#: ../src/guestfs.pod:1399 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 " @@ -47786,7 +48075,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1399 +#: ../src/guestfs.pod:1405 msgid "" "Guest configuration may be altered in unusual ways by the administrator of " "the virtual machine, and may not reflect reality (particularly for untrusted " @@ -47797,7 +48086,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1407 +#: ../src/guestfs.pod:1413 msgid "" "The inspection API parses guest configuration using two external libraries: " "Augeas (Linux configuration) and hivex (Windows Registry). Both are " @@ -47807,12 +48096,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1413 +#: ../src/guestfs.pod:1419 msgid "RUNNING UNTRUSTED GUEST COMMANDS" msgstr "ЗАПУСК НЕЗАХИЩЕНИХ КОМАНД ГОСТЬОВОЇ СИСТЕМИ" #. type: textblock -#: ../src/guestfs.pod:1415 +#: ../src/guestfs.pod:1421 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 " @@ -47822,26 +48111,26 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1421 +#: ../src/guestfs.pod:1427 msgid "CVE-2010-3851" msgstr "CVE-2010-3851" #. type: textblock -#: ../src/guestfs.pod:1423 +#: ../src/guestfs.pod:1429 #, 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:1425 +#: ../src/guestfs.pod:1431 msgid "" "This security bug concerns the automatic disk format detection that qemu " "does on disk images." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1428 +#: ../src/guestfs.pod:1434 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 " @@ -47850,7 +48139,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1433 +#: ../src/guestfs.pod:1439 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 " @@ -47859,7 +48148,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1438 +#: ../src/guestfs.pod:1444 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 " @@ -47871,25 +48160,25 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1446 +#: ../src/guestfs.pod:1452 msgid "" "In libguestfs this is rather hard to exploit except under two circumstances:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1453 +#: ../src/guestfs.pod:1459 msgid "You have enabled the network or have opened the disk in write mode." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1457 +#: ../src/guestfs.pod:1463 msgid "" "You are also running untrusted code from the guest (see L</RUNNING " "COMMANDS>)." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1462 +#: ../src/guestfs.pod:1468 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 " @@ -47898,31 +48187,31 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1467 +#: ../src/guestfs.pod:1473 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:1470 +#: ../src/guestfs.pod:1476 msgid "" "For libguestfs tools, use the I<--format> command line parameter as " "appropriate." msgstr "" #. type: =head1 -#: ../src/guestfs.pod:1473 +#: ../src/guestfs.pod:1479 msgid "CONNECTION MANAGEMENT" msgstr "КЕРУВАННЯ З’ЄДНАННЯМ" #. type: =head2 -#: ../src/guestfs.pod:1475 +#: ../src/guestfs.pod:1481 msgid "guestfs_h *" msgstr "guestfs_h *" #. type: textblock -#: ../src/guestfs.pod:1477 +#: ../src/guestfs.pod:1483 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 " @@ -47930,19 +48219,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1481 +#: ../src/guestfs.pod:1487 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:1484 +#: ../src/guestfs.pod:1490 msgid "guestfs_create" msgstr "guestfs_create" #. type: verbatim -#: ../src/guestfs.pod:1486 +#: ../src/guestfs.pod:1492 #, no-wrap msgid "" " guestfs_h *guestfs_create (void);\n" @@ -47952,19 +48241,19 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1488 +#: ../src/guestfs.pod:1494 msgid "Create a connection handle." msgstr "Створити дескриптор з’єднання." #. type: textblock -#: ../src/guestfs.pod:1490 +#: ../src/guestfs.pod:1496 msgid "" "On success this returns a non-NULL pointer to a handle. On error it returns " "NULL." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1493 +#: ../src/guestfs.pod:1499 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 " @@ -47972,24 +48261,24 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1497 +#: ../src/guestfs.pod:1503 msgid "After configuring the handle, you have to call L</guestfs_launch>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1499 +#: ../src/guestfs.pod:1505 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:1502 +#: ../src/guestfs.pod:1508 msgid "guestfs_close" msgstr "guestfs_close" #. type: verbatim -#: ../src/guestfs.pod:1504 +#: ../src/guestfs.pod:1510 #, no-wrap msgid "" " void guestfs_close (guestfs_h *g);\n" @@ -47999,19 +48288,19 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1506 +#: ../src/guestfs.pod:1512 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:1509 +#: ../src/guestfs.pod:1515 msgid "The correct way to close the handle is:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1511 +#: ../src/guestfs.pod:1517 #, no-wrap msgid "" " if (guestfs_shutdown (g) == -1) {\n" @@ -48022,52 +48311,52 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1516 +#: ../src/guestfs.pod:1522 msgid "" "L</guestfs_shutdown> is only needed if B<all> of the following are true:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1522 +#: ../src/guestfs.pod:1528 msgid "one or more disks were added in read-write mode, I<and>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1526 +#: ../src/guestfs.pod:1532 msgid "guestfs_launch was called, I<and>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1530 +#: ../src/guestfs.pod:1536 msgid "you made some changes, I<and>" msgstr "" #. type: =item -#: ../src/guestfs.pod:1532 +#: ../src/guestfs.pod:1538 msgid "4" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1534 +#: ../src/guestfs.pod:1540 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:1539 +#: ../src/guestfs.pod:1545 msgid "ERROR HANDLING" msgstr "ОБРОБКА ПОМИЛОК" #. type: textblock -#: ../src/guestfs.pod:1541 +#: ../src/guestfs.pod:1547 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:1544 +#: ../src/guestfs.pod:1550 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 " @@ -48075,7 +48364,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1548 +#: ../src/guestfs.pod:1554 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 " @@ -48083,7 +48372,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1553 +#: ../src/guestfs.pod:1559 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 " @@ -48091,7 +48380,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1557 +#: ../src/guestfs.pod:1563 #, no-wrap msgid "" " if (guestfs_launch (g) == -1)\n" @@ -48103,21 +48392,21 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1560 +#: ../src/guestfs.pod:1566 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:1563 +#: ../src/guestfs.pod:1569 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:1566 +#: ../src/guestfs.pod:1572 #, no-wrap msgid "" " /* This disables the default behaviour of printing errors\n" @@ -48127,7 +48416,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1570 +#: ../src/guestfs.pod:1576 #, no-wrap msgid "" " if (guestfs_launch (g) == -1) {\n" @@ -48144,7 +48433,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1581 +#: ../src/guestfs.pod:1587 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</" @@ -48152,7 +48441,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1585 +#: ../src/guestfs.pod:1591 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 " @@ -48162,12 +48451,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1591 +#: ../src/guestfs.pod:1597 msgid "guestfs_last_error" msgstr "guestfs_last_error" #. type: verbatim -#: ../src/guestfs.pod:1593 +#: ../src/guestfs.pod:1599 #, no-wrap msgid "" " const char *guestfs_last_error (guestfs_h *g);\n" @@ -48177,26 +48466,26 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1595 +#: ../src/guestfs.pod:1601 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:1599 +#: ../src/guestfs.pod:1605 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:1602 +#: ../src/guestfs.pod:1608 msgid "guestfs_last_errno" msgstr "guestfs_last_errno" #. type: verbatim -#: ../src/guestfs.pod:1604 +#: ../src/guestfs.pod:1610 #, no-wrap msgid "" " int guestfs_last_errno (guestfs_h *g);\n" @@ -48206,28 +48495,28 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1606 +#: ../src/guestfs.pod:1612 msgid "This returns the last error number (errno) that happened on C<g>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1608 +#: ../src/guestfs.pod:1614 msgid "If successful, an errno integer not equal to zero is returned." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1610 +#: ../src/guestfs.pod:1616 msgid "" "If no error, this returns 0. This call can return 0 in three situations:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1617 +#: ../src/guestfs.pod:1623 msgid "There has not been any error on the handle." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1621 +#: ../src/guestfs.pod:1627 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 " @@ -48235,14 +48524,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1627 +#: ../src/guestfs.pod:1633 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:1633 +#: ../src/guestfs.pod:1639 msgid "" "Libguestfs tries to convert the errno from inside the applicance into a " "corresponding errno for the caller (not entirely trivial: the appliance " @@ -48253,12 +48542,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1641 +#: ../src/guestfs.pod:1647 msgid "guestfs_set_error_handler" msgstr "guestfs_set_error_handler" #. type: verbatim -#: ../src/guestfs.pod:1643 +#: ../src/guestfs.pod:1649 #, no-wrap msgid "" " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n" @@ -48278,7 +48567,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1650 +#: ../src/guestfs.pod:1656 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 " @@ -48286,14 +48575,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1654 +#: ../src/guestfs.pod:1660 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:1657 +#: ../src/guestfs.pod:1663 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 " @@ -48301,22 +48590,22 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1661 +#: ../src/guestfs.pod:1667 msgid "The default handler prints messages on C<stderr>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1663 +#: ../src/guestfs.pod:1669 msgid "If you set C<cb> to C<NULL> then I<no> handler is called." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1665 +#: ../src/guestfs.pod:1671 msgid "guestfs_get_error_handler" msgstr "guestfs_get_error_handler" #. type: verbatim -#: ../src/guestfs.pod:1667 +#: ../src/guestfs.pod:1673 #, no-wrap msgid "" " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n" @@ -48328,17 +48617,17 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1670 +#: ../src/guestfs.pod:1676 msgid "Returns the current error handler callback." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1672 +#: ../src/guestfs.pod:1678 msgid "guestfs_set_out_of_memory_handler" msgstr "guestfs_set_out_of_memory_handler" #. type: verbatim -#: ../src/guestfs.pod:1674 +#: ../src/guestfs.pod:1680 #, no-wrap msgid "" " typedef void (*guestfs_abort_cb) (void);\n" @@ -48348,30 +48637,30 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1678 +#: ../src/guestfs.pod:1684 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:1681 +#: ../src/guestfs.pod:1687 msgid "The default is to call L<abort(3)>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1683 +#: ../src/guestfs.pod:1689 msgid "" "You cannot set C<cb> to C<NULL>. You can't ignore out of memory situations." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1686 +#: ../src/guestfs.pod:1692 msgid "guestfs_get_out_of_memory_handler" msgstr "guestfs_get_out_of_memory_handler" #. type: verbatim -#: ../src/guestfs.pod:1688 +#: ../src/guestfs.pod:1694 #, no-wrap msgid "" " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n" @@ -48381,37 +48670,37 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1690 +#: ../src/guestfs.pod:1696 msgid "This returns the current out of memory handler." msgstr "" #. type: =head1 -#: ../src/guestfs.pod:1692 +#: ../src/guestfs.pod:1698 msgid "API CALLS" msgstr "ВИКЛИКИ API" #. type: =head1 -#: ../src/guestfs.pod:1696 +#: ../src/guestfs.pod:1702 msgid "STRUCTURES" msgstr "СТРУКТУРИ" #. type: textblock -#: ../src/guestfs.pod:1698 +#: ../src/guestfs.pod:1704 msgid "@STRUCTS@" msgstr "@STRUCTS@" #. type: =head1 -#: ../src/guestfs.pod:1700 +#: ../src/guestfs.pod:1706 msgid "AVAILABILITY" msgstr "ДОСТУПНІСТЬ" #. type: =head2 -#: ../src/guestfs.pod:1702 +#: ../src/guestfs.pod:1708 msgid "GROUPS OF FUNCTIONALITY IN THE APPLIANCE" msgstr "ГРУПИ ФУНКЦІОНАЛЬНИХ МОЖЛИВОСТЕЙ У ОБРАЗІ ОСНОВНОЇ СИСТЕМИ" #. type: textblock -#: ../src/guestfs.pod:1704 +#: ../src/guestfs.pod:1710 msgid "" "Using L</guestfs_available> you can test availability of the following " "groups of functions. This test queries the appliance to see if the " @@ -48419,17 +48708,17 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1709 +#: ../src/guestfs.pod:1715 msgid "@AVAILABILITY@" msgstr "@AVAILABILITY@" #. type: =head2 -#: ../src/guestfs.pod:1711 +#: ../src/guestfs.pod:1717 msgid "GUESTFISH supported COMMAND" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1713 +#: ../src/guestfs.pod:1719 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 " @@ -48437,19 +48726,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1718 +#: ../src/guestfs.pod:1724 msgid "SINGLE CALLS AT COMPILE TIME" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1720 +#: ../src/guestfs.pod:1726 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:1723 +#: ../src/guestfs.pod:1729 #, no-wrap msgid "" " #define LIBGUESTFS_HAVE_DD 1\n" @@ -48459,12 +48748,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1725 +#: ../src/guestfs.pod:1731 msgid "if L</guestfs_dd> is available." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1727 +#: ../src/guestfs.pod:1733 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 " @@ -48472,7 +48761,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1732 +#: ../src/guestfs.pod:1738 #, no-wrap msgid "" " AC_CHECK_LIB([guestfs],[guestfs_create])\n" @@ -48484,19 +48773,19 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1735 +#: ../src/guestfs.pod:1741 msgid "" "which would result in C<HAVE_GUESTFS_DD> being either defined or not defined " "in your program." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1738 +#: ../src/guestfs.pod:1744 msgid "SINGLE CALLS AT RUN TIME" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1740 +#: ../src/guestfs.pod:1746 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 " @@ -48506,7 +48795,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1747 +#: ../src/guestfs.pod:1753 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 " @@ -48514,7 +48803,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1751 +#: ../src/guestfs.pod:1757 #, no-wrap msgid "" " #include <stdio.h>\n" @@ -48532,7 +48821,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:1757 +#: ../src/guestfs.pod:1763 #, no-wrap msgid "" " main ()\n" @@ -48550,7 +48839,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:1763 +#: ../src/guestfs.pod:1769 #, no-wrap msgid "" " /* Test if the function guestfs_dd is really available. */\n" @@ -48565,7 +48854,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1772 +#: ../src/guestfs.pod:1778 #, no-wrap msgid "" " if (!has_function)\n" @@ -48584,7 +48873,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1785 +#: ../src/guestfs.pod:1791 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 " @@ -48592,7 +48881,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1790 +#: ../src/guestfs.pod:1796 #, no-wrap msgid "" " Requires: libguestfs >= 1.0.80\n" @@ -48600,12 +48889,12 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:1792 +#: ../src/guestfs.pod:1798 msgid "CALLS WITH OPTIONAL ARGUMENTS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1794 +#: ../src/guestfs.pod:1800 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 " @@ -48613,7 +48902,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1799 +#: ../src/guestfs.pod:1805 #, no-wrap msgid "" " int guestfs_add_drive_opts (guestfs_h *g, const char *filename, ...);\n" @@ -48623,14 +48912,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1801 +#: ../src/guestfs.pod:1807 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:1804 +#: ../src/guestfs.pod:1810 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename, -1);\n" @@ -48640,12 +48929,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1806 +#: ../src/guestfs.pod:1812 msgid "With a single optional argument:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1808 +#: ../src/guestfs.pod:1814 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename,\n" @@ -48659,12 +48948,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1812 +#: ../src/guestfs.pod:1818 msgid "With two:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1814 +#: ../src/guestfs.pod:1820 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename,\n" @@ -48680,19 +48969,19 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1819 +#: ../src/guestfs.pod:1825 msgid "" "and so forth. Don't forget the terminating C<-1> otherwise Bad Things will " "happen!" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1822 +#: ../src/guestfs.pod:1828 msgid "USING va_list FOR OPTIONAL ARGUMENTS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1824 +#: ../src/guestfs.pod:1830 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 " @@ -48700,7 +48989,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1828 +#: ../src/guestfs.pod:1834 #, no-wrap msgid "" " int guestfs_add_drive_opts_va (guestfs_h *g, const char *filename,\n" @@ -48712,12 +49001,12 @@ msgstr "" "\n" #. type: =head2 -#: ../src/guestfs.pod:1831 +#: ../src/guestfs.pod:1837 msgid "CONSTRUCTING OPTIONAL ARGUMENTS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1833 +#: ../src/guestfs.pod:1839 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 " @@ -48727,7 +49016,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1839 +#: ../src/guestfs.pod:1845 #, no-wrap msgid "" " struct guestfs_add_drive_opts_argv {\n" @@ -48751,12 +49040,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1848 +#: ../src/guestfs.pod:1854 msgid "You could call it like this:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1850 +#: ../src/guestfs.pod:1856 #, no-wrap msgid "" " struct guestfs_add_drive_opts_argv optargs = {\n" @@ -48776,7 +49065,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:1857 +#: ../src/guestfs.pod:1863 #, no-wrap msgid "" " guestfs_add_drive_opts_argv (g, filename, &optargs);\n" @@ -48786,29 +49075,29 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1865 +#: ../src/guestfs.pod:1871 msgid "The C<_BITMASK> suffix on each option name when specifying the bitmask." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1870 +#: ../src/guestfs.pod:1876 msgid "You do not need to fill in all fields of the structure." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1874 +#: ../src/guestfs.pod:1880 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:1879 +#: ../src/guestfs.pod:1885 msgid "OPTIONAL ARGUMENTS IN OTHER LANGUAGES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1881 +#: ../src/guestfs.pod:1887 msgid "" "In other languages, optional arguments are expressed in the way that is " "natural for that language. We refer you to the language-specific " @@ -48816,17 +49105,17 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1885 +#: ../src/guestfs.pod:1891 msgid "For guestfish, see L<guestfish(1)/OPTIONAL ARGUMENTS>." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1887 +#: ../src/guestfs.pod:1893 msgid "SETTING CALLBACKS TO HANDLE EVENTS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1889 +#: ../src/guestfs.pod:1895 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 " @@ -48838,7 +49127,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1898 +#: ../src/guestfs.pod:1904 msgid "" "Handles generate events when certain things happen, such as log messages " "being generated, progress messages during long-running operations, or the " @@ -48850,7 +49139,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1906 +#: ../src/guestfs.pod:1912 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 " @@ -48859,31 +49148,31 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1911 +#: ../src/guestfs.pod:1917 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:1915 +#: ../src/guestfs.pod:1921 msgid "CLASSES OF EVENTS" msgstr "" #. type: =item -#: ../src/guestfs.pod:1919 +#: ../src/guestfs.pod:1925 msgid "GUESTFS_EVENT_CLOSE (payload type: void)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1922 +#: ../src/guestfs.pod:1928 msgid "" "The callback function will be called while the handle is being closed " "(synchronously from L</guestfs_close>)." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1925 +#: ../src/guestfs.pod:1931 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 " @@ -48894,19 +49183,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1932 +#: ../src/guestfs.pod:1938 msgid "" "If no callback is registered: the handle is closed without any callback " "being invoked." msgstr "" #. type: =item -#: ../src/guestfs.pod:1935 +#: ../src/guestfs.pod:1941 msgid "GUESTFS_EVENT_SUBPROCESS_QUIT (payload type: void)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1938 +#: ../src/guestfs.pod:1944 msgid "" "The callback function will be called when the child process quits, either " "asynchronously or if killed by L</guestfs_kill_subprocess>. (This " @@ -48914,17 +49203,17 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1942 ../src/guestfs.pod:1951 ../src/guestfs.pod:2068 +#: ../src/guestfs.pod:1948 ../src/guestfs.pod:1957 ../src/guestfs.pod:2074 msgid "If no callback is registered: the event is ignored." msgstr "" #. type: =item -#: ../src/guestfs.pod:1944 +#: ../src/guestfs.pod:1950 msgid "GUESTFS_EVENT_LAUNCH_DONE (payload type: void)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1947 +#: ../src/guestfs.pod:1953 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 " @@ -48932,12 +49221,12 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:1953 +#: ../src/guestfs.pod:1959 msgid "GUESTFS_EVENT_PROGRESS (payload type: array of 4 x uint64_t)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1956 +#: ../src/guestfs.pod:1962 msgid "" "Some long-running operations can generate progress messages. If this " "callback is registered, then it will be called each time a progress message " @@ -48947,14 +49236,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1962 +#: ../src/guestfs.pod:1968 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:1965 +#: ../src/guestfs.pod:1971 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 " @@ -48962,24 +49251,24 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1970 +#: ../src/guestfs.pod:1976 msgid "The only defined and stable parts of the API are:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1976 +#: ../src/guestfs.pod:1982 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:1981 +#: ../src/guestfs.pod:1987 msgid "0 E<lt>= C<position> E<lt>= C<total>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1985 +#: ../src/guestfs.pod:1991 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 " @@ -48987,7 +49276,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1989 +#: ../src/guestfs.pod:1995 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 " @@ -48995,7 +49284,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1995 +#: ../src/guestfs.pod:2001 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 " @@ -49004,7 +49293,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2000 +#: ../src/guestfs.pod:2006 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 " @@ -49012,14 +49301,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2004 +#: ../src/guestfs.pod:2010 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:2009 +#: ../src/guestfs.pod:2015 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 " @@ -49028,31 +49317,31 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2015 +#: ../src/guestfs.pod:2021 msgid "If no callback is registered: progress messages are discarded." msgstr "" #. type: =item -#: ../src/guestfs.pod:2017 +#: ../src/guestfs.pod:2023 msgid "GUESTFS_EVENT_APPLIANCE (payload type: message buffer)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2020 +#: ../src/guestfs.pod:2026 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:2023 +#: ../src/guestfs.pod:2029 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:2026 ../src/guestfs.pod:2040 +#: ../src/guestfs.pod:2032 ../src/guestfs.pod:2046 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 " @@ -49060,63 +49349,63 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:2031 +#: ../src/guestfs.pod:2037 msgid "GUESTFS_EVENT_LIBRARY (payload type: message buffer)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2034 +#: ../src/guestfs.pod:2040 msgid "" "The callback function is called whenever a log message is generated by the " "library part of libguestfs." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2037 +#: ../src/guestfs.pod:2043 msgid "" "If the verbose flag (L</guestfs_set_verbose>) is set then additional debug " "messages are generated." msgstr "" #. type: =item -#: ../src/guestfs.pod:2045 +#: ../src/guestfs.pod:2051 msgid "GUESTFS_EVENT_TRACE (payload type: message buffer)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2048 +#: ../src/guestfs.pod:2054 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:2051 +#: ../src/guestfs.pod:2057 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:2055 +#: ../src/guestfs.pod:2061 msgid "GUESTFS_EVENT_ENTER (payload type: function name)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2058 +#: ../src/guestfs.pod:2064 msgid "" "The callback function is called whenever a libguestfs function is entered." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2061 +#: ../src/guestfs.pod:2067 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:2064 +#: ../src/guestfs.pod:2070 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 " @@ -49124,12 +49413,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2072 +#: ../src/guestfs.pod:2078 msgid "guestfs_set_event_callback" msgstr "guestfs_set_event_callback" #. type: verbatim -#: ../src/guestfs.pod:2074 +#: ../src/guestfs.pod:2080 #, no-wrap msgid "" " int guestfs_set_event_callback (guestfs_h *g,\n" @@ -49147,14 +49436,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2080 +#: ../src/guestfs.pod:2086 msgid "" "This function registers a callback (C<cb>) for all event classes in the " "C<event_bitmask>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2083 +#: ../src/guestfs.pod:2089 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>. " @@ -49163,40 +49452,40 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2089 +#: ../src/guestfs.pod:2095 msgid "C<flags> should always be passed as 0." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2091 +#: ../src/guestfs.pod:2097 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:2094 +#: ../src/guestfs.pod:2100 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:2097 +#: ../src/guestfs.pod:2103 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:2100 +#: ../src/guestfs.pod:2106 msgid "" "Callbacks remain in effect until they are deleted, or until the handle is " "closed." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2103 +#: ../src/guestfs.pod:2109 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 " @@ -49204,12 +49493,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2107 +#: ../src/guestfs.pod:2113 msgid "guestfs_delete_event_callback" msgstr "guestfs_delete_event_callback" #. type: verbatim -#: ../src/guestfs.pod:2109 +#: ../src/guestfs.pod:2115 #, no-wrap msgid "" " void guestfs_delete_event_callback (guestfs_h *g, int event_handle);\n" @@ -49219,7 +49508,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2111 +#: ../src/guestfs.pod:2117 msgid "" "Delete a callback that was previously registered. C<event_handle> should be " "the integer that was returned by a previous call to " @@ -49227,12 +49516,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2115 +#: ../src/guestfs.pod:2121 msgid "guestfs_event_callback" msgstr "guestfs_event_callback" #. type: verbatim -#: ../src/guestfs.pod:2117 +#: ../src/guestfs.pod:2123 #, no-wrap msgid "" " typedef void (*guestfs_event_callback) (\n" @@ -49256,13 +49545,13 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2126 +#: ../src/guestfs.pod:2132 msgid "" "This is the type of the event callback function that you have to provide." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2129 +#: ../src/guestfs.pod:2135 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 " @@ -49270,7 +49559,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2133 +#: ../src/guestfs.pod:2139 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 " @@ -49279,7 +49568,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2138 +#: ../src/guestfs.pod:2144 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 " @@ -49287,19 +49576,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2142 +#: ../src/guestfs.pod:2148 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:2145 +#: ../src/guestfs.pod:2151 msgid "EXAMPLE: CAPTURING LOG MESSAGES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2147 +#: ../src/guestfs.pod:2153 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 " @@ -49307,7 +49596,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2151 +#: ../src/guestfs.pod:2157 msgid "" "Events associated with log messages are: C<GUESTFS_EVENT_LIBRARY>, " "C<GUESTFS_EVENT_APPLIANCE> and C<GUESTFS_EVENT_TRACE>. (Note that error " @@ -49315,14 +49604,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2156 +#: ../src/guestfs.pod:2162 msgid "" "Programs have to set up a callback to capture the classes of events of " "interest:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2159 +#: ../src/guestfs.pod:2165 #, no-wrap msgid "" " int eh =\n" @@ -49338,14 +49627,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2169 +#: ../src/guestfs.pod:2175 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:2172 +#: ../src/guestfs.pod:2178 #, no-wrap msgid "" " static void\n" @@ -49381,12 +49670,12 @@ msgstr "" "\n" #. type: =head1 -#: ../src/guestfs.pod:2187 +#: ../src/guestfs.pod:2193 msgid "CANCELLING LONG TRANSFERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2189 +#: ../src/guestfs.pod:2195 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 " @@ -49395,12 +49684,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:2194 +#: ../src/guestfs.pod:2200 msgid "guestfs_user_cancel" msgstr "guestfs_user_cancel" #. type: verbatim -#: ../src/guestfs.pod:2196 +#: ../src/guestfs.pod:2202 #, no-wrap msgid "" " void guestfs_user_cancel (guestfs_h *g);\n" @@ -49410,13 +49699,13 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2198 +#: ../src/guestfs.pod:2204 msgid "" "C<guestfs_user_cancel> cancels the current upload or download operation." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2201 +#: ../src/guestfs.pod:2207 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 " @@ -49424,7 +49713,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2205 +#: ../src/guestfs.pod:2211 msgid "" "The transfer that was in progress (if there is one) will stop shortly " "afterwards, and will return an error. The errno (see L</" @@ -49433,7 +49722,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2211 +#: ../src/guestfs.pod:2217 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 " @@ -49441,12 +49730,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2215 +#: ../src/guestfs.pod:2221 msgid "There are two common places that you might call C<guestfs_user_cancel>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2217 +#: ../src/guestfs.pod:2223 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 " @@ -49455,19 +49744,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2222 +#: ../src/guestfs.pod:2228 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:2226 +#: ../src/guestfs.pod:2232 msgid "PRIVATE DATA AREA" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2228 +#: ../src/guestfs.pod:2234 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 " @@ -49475,12 +49764,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2233 +#: ../src/guestfs.pod:2239 msgid "To attach a named piece of data, use the following call:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2235 +#: ../src/guestfs.pod:2241 #, no-wrap msgid "" " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n" @@ -49490,7 +49779,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2237 +#: ../src/guestfs.pod:2243 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 " @@ -49498,7 +49787,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2241 +#: ../src/guestfs.pod:2247 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 " @@ -49508,12 +49797,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2247 +#: ../src/guestfs.pod:2253 msgid "To retrieve the pointer, use:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2249 +#: ../src/guestfs.pod:2255 #, no-wrap msgid "" " void *guestfs_get_private (guestfs_h *g, const char *key);\n" @@ -49523,7 +49812,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2251 +#: ../src/guestfs.pod:2257 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 " @@ -49531,7 +49820,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2255 +#: ../src/guestfs.pod:2261 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 " @@ -49542,12 +49831,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2262 +#: ../src/guestfs.pod:2268 msgid "To walk over all entries, use these two functions:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2264 +#: ../src/guestfs.pod:2270 #, no-wrap msgid "" " void *guestfs_first_private (guestfs_h *g, const char **key_rtn);\n" @@ -49557,7 +49846,7 @@ msgstr "" "\n" #. type: verbatim -#: ../src/guestfs.pod:2266 +#: ../src/guestfs.pod:2272 #, no-wrap msgid "" " void *guestfs_next_private (guestfs_h *g, const char **key_rtn);\n" @@ -49567,7 +49856,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2268 +#: ../src/guestfs.pod:2274 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 " @@ -49577,7 +49866,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2274 +#: ../src/guestfs.pod:2280 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 " @@ -49585,18 +49874,18 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2278 +#: ../src/guestfs.pod:2284 msgid "Notes about walking over entries:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2284 +#: ../src/guestfs.pod:2290 msgid "" "You must not call C<guestfs_set_private> while walking over the entries." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2289 +#: ../src/guestfs.pod:2295 msgid "" "The handle maintains an internal iterator which is reset when you call " "C<guestfs_first_private>. This internal iterator is invalidated when you " @@ -49604,12 +49893,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2295 +#: ../src/guestfs.pod:2301 msgid "If you have set the data pointer associated with a key to C<NULL>, ie:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2297 +#: ../src/guestfs.pod:2303 #, no-wrap msgid "" " guestfs_set_private (g, key, NULL);\n" @@ -49617,26 +49906,26 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2299 +#: ../src/guestfs.pod:2305 msgid "then that C<key> is not returned when walking." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2303 +#: ../src/guestfs.pod:2309 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:2309 +#: ../src/guestfs.pod:2315 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:2312 +#: ../src/guestfs.pod:2318 #, no-wrap msgid "" " const char *key;\n" @@ -49650,14 +49939,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2320 +#: ../src/guestfs.pod:2326 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:2323 +#: ../src/guestfs.pod:2329 #, no-wrap msgid "" " const char *key;\n" @@ -49672,7 +49961,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2332 +#: ../src/guestfs.pod:2338 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 " @@ -49680,7 +49969,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2336 +#: ../src/guestfs.pod:2342 #, no-wrap msgid "" " const char *key;\n" @@ -49702,7 +49991,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2352 +#: ../src/guestfs.pod:2358 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 " @@ -49711,12 +50000,12 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2357 +#: ../src/guestfs.pod:2363 msgid "SYSTEMTAP" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2359 +#: ../src/guestfs.pod:2365 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 " @@ -49724,12 +50013,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2363 +#: ../src/guestfs.pod:2369 msgid "You can list all the static markers by doing:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2365 +#: ../src/guestfs.pod:2371 #, no-wrap msgid "" " stap -l 'process(\"/usr/lib*/libguestfs.so.0\")\n" @@ -49738,26 +50027,26 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2368 +#: ../src/guestfs.pod:2374 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:2371 +#: ../src/guestfs.pod:2377 msgid "SYSTEMTAP SCRIPT EXAMPLE" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2373 +#: ../src/guestfs.pod:2379 msgid "" "This script contains examples of displaying both the static markers and some " "ordinary C entry points:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2400 +#: ../src/guestfs.pod:2406 #, no-wrap msgid "" " /* Display all calls to guestfs_mkfs* functions. */\n" @@ -49770,7 +50059,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2407 +#: ../src/guestfs.pod:2413 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 " @@ -49779,7 +50068,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2412 +#: ../src/guestfs.pod:2418 #, no-wrap msgid "" " # stap /tmp/test.stap\n" @@ -49791,17 +50080,17 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2415 +#: ../src/guestfs.pod:2421 msgid "In another terminal, run a guestfish command such as this:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2419 +#: ../src/guestfs.pod:2425 msgid "In the first terminal, stap trace output similar to this is shown:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2421 +#: ../src/guestfs.pod:2427 #, no-wrap msgid "" " 1318248056692655 (+0):\tlaunch_start\n" @@ -49821,7 +50110,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2430 +#: ../src/guestfs.pod:2436 msgid "" "<!-- old anchor for the next section --> <a name=" "\"state_machine_and_low_level_event_api\"/>" @@ -49830,12 +50119,12 @@ msgstr "" "\"state_machine_and_low_level_event_api\"/>" #. type: =head1 -#: ../src/guestfs.pod:2435 +#: ../src/guestfs.pod:2441 msgid "ARCHITECTURE" msgstr "АРХІТЕКТУРА" #. type: textblock -#: ../src/guestfs.pod:2437 +#: ../src/guestfs.pod:2443 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 " @@ -49843,7 +50132,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2441 +#: ../src/guestfs.pod:2447 #, no-wrap msgid "" " ___________________\n" @@ -49869,14 +50158,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2461 +#: ../src/guestfs.pod:2467 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:2464 +#: ../src/guestfs.pod:2470 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 " @@ -49888,7 +50177,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2473 +#: ../src/guestfs.pod:2479 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 " @@ -49899,17 +50188,17 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2480 +#: ../src/guestfs.pod:2486 msgid "STATE MACHINE" msgstr "СКІНЧЕННИЙ АВТОМАТ" #. type: textblock -#: ../src/guestfs.pod:2482 +#: ../src/guestfs.pod:2488 msgid "libguestfs uses a state machine to model the child process:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2484 +#: ../src/guestfs.pod:2490 #, no-wrap msgid "" " |\n" @@ -49959,7 +50248,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2506 +#: ../src/guestfs.pod:2512 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), " @@ -49968,7 +50257,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2511 +#: ../src/guestfs.pod:2517 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 " @@ -49976,14 +50265,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2515 +#: ../src/guestfs.pod:2521 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:2518 +#: ../src/guestfs.pod:2524 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 " @@ -49992,7 +50281,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2524 +#: ../src/guestfs.pod:2530 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. " @@ -50001,7 +50290,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2529 +#: ../src/guestfs.pod:2535 msgid "" "Finally, the child process sends asynchronous messages back to the main " "program, such as kernel log messages. You can register a callback to " @@ -50009,17 +50298,17 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2533 +#: ../src/guestfs.pod:2539 msgid "INTERNALS" msgstr "ВНУТРІШНІ ПРИНЦИПИ РОБОТИ" #. type: =head2 -#: ../src/guestfs.pod:2535 +#: ../src/guestfs.pod:2541 msgid "APPLIANCE BOOT PROCESS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2537 +#: ../src/guestfs.pod:2543 msgid "" "This process has evolved and continues to evolve. The description here " "corresponds only to the current version of libguestfs and is provided for " @@ -50027,55 +50316,55 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2541 +#: ../src/guestfs.pod:2547 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:2546 +#: ../src/guestfs.pod:2552 msgid "Create the appliance" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2548 +#: ../src/guestfs.pod:2554 msgid "" "C<febootstrap-supermin-helper> is invoked to create the kernel, a small " "initrd and the appliance." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2551 +#: ../src/guestfs.pod:2557 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:2554 +#: ../src/guestfs.pod:2560 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:2558 +#: ../src/guestfs.pod:2564 msgid "Start qemu and boot the kernel" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2560 +#: ../src/guestfs.pod:2566 msgid "qemu is invoked to boot the kernel." msgstr "" #. type: =item -#: ../src/guestfs.pod:2562 +#: ../src/guestfs.pod:2568 msgid "Run the initrd" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2564 +#: ../src/guestfs.pod:2570 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 " @@ -50083,21 +50372,21 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2568 +#: ../src/guestfs.pod:2574 msgid "" "The initrd is a cpio archive called C</var/tmp/.guestfs-E<lt>UIDE<gt>/" "initrd>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2571 +#: ../src/guestfs.pod:2577 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:2574 +#: ../src/guestfs.pod:2580 #, no-wrap msgid "" " febootstrap: ext2 mini initrd starting up\n" @@ -50108,12 +50397,12 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:2579 +#: ../src/guestfs.pod:2585 msgid "Find and mount the appliance device" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2581 +#: ../src/guestfs.pod:2587 msgid "" "The appliance is a sparse file containing an ext2 filesystem which contains " "a familiar (although reduced in size) Linux operating system. It would " @@ -50121,33 +50410,33 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2585 +#: ../src/guestfs.pod:2591 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:2588 +#: ../src/guestfs.pod:2594 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:2591 +#: ../src/guestfs.pod:2597 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:2595 +#: ../src/guestfs.pod:2601 msgid "If this works successfully you will see messages such as:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2597 +#: ../src/guestfs.pod:2603 #, no-wrap msgid "" " febootstrap: picked /sys/block/vdb/dev as root device\n" @@ -50159,19 +50448,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2603 +#: ../src/guestfs.pod:2609 msgid "" "Note that C<Starting /init script ...> indicates that the appliance's init " "script is now running." msgstr "" #. type: =item -#: ../src/guestfs.pod:2606 +#: ../src/guestfs.pod:2612 msgid "Initialize the appliance" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2608 +#: ../src/guestfs.pod:2614 msgid "" "The appliance itself now initializes itself. This involves starting certain " "processes like C<udev>, possibly printing some debug information, and " @@ -50179,19 +50468,19 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:2612 +#: ../src/guestfs.pod:2618 msgid "The daemon" msgstr "Фонова служба" #. type: textblock -#: ../src/guestfs.pod:2614 +#: ../src/guestfs.pod:2620 msgid "" "Finally the daemon (C<guestfsd>) runs inside the appliance. If it runs you " "should see:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2617 +#: ../src/guestfs.pod:2623 #, no-wrap msgid "" " verbose daemon enabled\n" @@ -50199,14 +50488,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2619 +#: ../src/guestfs.pod:2625 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:2622 +#: ../src/guestfs.pod:2628 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 " @@ -50214,19 +50503,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:2628 +#: ../src/guestfs.pod:2634 msgid "COMMUNICATION PROTOCOL" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2630 +#: ../src/guestfs.pod:2636 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:2633 +#: ../src/guestfs.pod:2639 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 " @@ -50234,14 +50523,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2637 +#: ../src/guestfs.pod:2643 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:2640 +#: ../src/guestfs.pod:2646 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 " @@ -50251,17 +50540,17 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2647 +#: ../src/guestfs.pod:2653 msgid "ORDINARY FUNCTIONS (NO FILEIN/FILEOUT PARAMS)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2649 +#: ../src/guestfs.pod:2655 msgid "For ordinary functions, the request message is:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2651 +#: ../src/guestfs.pod:2657 #, no-wrap msgid "" " total length (header + arguments,\n" @@ -50272,7 +50561,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2656 +#: ../src/guestfs.pod:2662 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 " @@ -50281,21 +50570,21 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2662 +#: ../src/guestfs.pod:2668 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:2665 +#: ../src/guestfs.pod:2671 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:2669 +#: ../src/guestfs.pod:2675 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 " @@ -50307,12 +50596,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2677 +#: ../src/guestfs.pod:2683 msgid "The reply message for ordinary functions is:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2679 +#: ../src/guestfs.pod:2685 #, no-wrap msgid "" " total length (header + ret,\n" @@ -50323,27 +50612,27 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2684 +#: ../src/guestfs.pod:2690 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:2687 +#: ../src/guestfs.pod:2693 msgid "" "As above the total length of the reply is limited to C<GUESTFS_MESSAGE_MAX>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2690 +#: ../src/guestfs.pod:2696 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:2693 +#: ../src/guestfs.pod:2699 #, no-wrap msgid "" " total length (header + error,\n" @@ -50354,19 +50643,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2698 +#: ../src/guestfs.pod:2704 msgid "" "The C<guestfs_message_error> structure contains the error message as a " "string." msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2701 +#: ../src/guestfs.pod:2707 msgid "FUNCTIONS THAT HAVE FILEIN PARAMETERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2703 +#: ../src/guestfs.pod:2709 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 " @@ -50374,7 +50663,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2707 +#: ../src/guestfs.pod:2713 #, no-wrap msgid "" " total length (header + arguments,\n" @@ -50388,12 +50677,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2715 +#: ../src/guestfs.pod:2721 msgid "The \"sequence of chunks\" is:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2717 +#: ../src/guestfs.pod:2723 #, no-wrap msgid "" " length of chunk (not including length word itself)\n" @@ -50407,7 +50696,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2725 +#: ../src/guestfs.pod:2731 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 " @@ -50415,7 +50704,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2729 +#: ../src/guestfs.pod:2735 msgid "" "At time of writing there are no functions that have more than one FileIn " "parameter. However this is (theoretically) supported, by sending the " @@ -50424,7 +50713,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2734 +#: ../src/guestfs.pod:2740 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 " @@ -50433,7 +50722,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2740 +#: ../src/guestfs.pod:2746 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 " @@ -50445,7 +50734,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2749 +#: ../src/guestfs.pod:2755 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 " @@ -50455,19 +50744,19 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2755 +#: ../src/guestfs.pod:2761 msgid "FUNCTIONS THAT HAVE FILEOUT PARAMETERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2757 +#: ../src/guestfs.pod:2763 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:2760 +#: ../src/guestfs.pod:2766 #, no-wrap msgid "" " total length (header + ret,\n" @@ -50481,12 +50770,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2768 +#: ../src/guestfs.pod:2774 msgid "INITIAL MESSAGE" msgstr "ПОЧАТКОВЕ ПОВІДОМЛЕННЯ" #. type: textblock -#: ../src/guestfs.pod:2770 +#: ../src/guestfs.pod:2776 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</" @@ -50494,12 +50783,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2774 +#: ../src/guestfs.pod:2780 msgid "PROGRESS NOTIFICATION MESSAGES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2776 +#: ../src/guestfs.pod:2782 msgid "" "The daemon may send progress notification messages at any time. These are " "distinguished by the normal length word being replaced by " @@ -50507,7 +50796,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2780 +#: ../src/guestfs.pod:2786 msgid "" "The library turns them into progress callbacks (see L</" "GUESTFS_EVENT_PROGRESS>) if there is a callback registered, or discards them " @@ -50515,7 +50804,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2784 +#: ../src/guestfs.pod:2790 msgid "" "The daemon self-limits the frequency of progress messages it sends (see " "C<daemon/proto.c:notify_progress>). Not all calls generate progress " @@ -50523,12 +50812,12 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2788 +#: ../src/guestfs.pod:2794 msgid "LIBGUESTFS VERSION NUMBERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2790 +#: ../src/guestfs.pod:2796 msgid "" "Since April 2010, libguestfs has started to make separate development and " "stable releases, along with corresponding branches in our git repository. " @@ -50536,7 +50825,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2795 +#: ../src/guestfs.pod:2801 #, no-wrap msgid "" " even numbers for stable: 1.2.x, 1.4.x, ...\n" @@ -50553,12 +50842,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2806 +#: ../src/guestfs.pod:2812 msgid "Thus \"1.3.5\" is the 5th update to the development branch \"1.3\"." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2808 +#: ../src/guestfs.pod:2814 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 " @@ -50568,26 +50857,26 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2814 +#: ../src/guestfs.pod:2820 msgid "Our criteria for backporting changes are:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2820 +#: ../src/guestfs.pod:2826 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:2826 +#: ../src/guestfs.pod:2832 msgid "" "Bug fixes which are not controversial, fix obvious problems, and have been " "well tested are backported." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2831 +#: ../src/guestfs.pod:2837 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 " @@ -50595,7 +50884,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2837 +#: ../src/guestfs.pod:2843 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 " @@ -50603,7 +50892,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2843 +#: ../src/guestfs.pod:2849 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 " @@ -50614,17 +50903,17 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2851 +#: ../src/guestfs.pod:2857 msgid "EXTENDING LIBGUESTFS" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:2853 +#: ../src/guestfs.pod:2859 msgid "ADDING A NEW API ACTION" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2855 +#: ../src/guestfs.pod:2861 msgid "" "Large amounts of boilerplate code in libguestfs (RPC, bindings, " "documentation) are generated, and this makes it easy to extend the " @@ -50632,19 +50921,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2859 +#: ../src/guestfs.pod:2865 msgid "To add a new API action there are two changes:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2865 +#: ../src/guestfs.pod:2871 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:2868 +#: ../src/guestfs.pod:2874 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 " @@ -50655,7 +50944,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2876 +#: ../src/guestfs.pod:2882 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 " @@ -50665,7 +50954,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2882 +#: ../src/guestfs.pod:2888 msgid "" "For library-only actions of the second type, add to the " "C<non_daemon_functions> list. Since these functions are serviced by the " @@ -50675,36 +50964,36 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2890 +#: ../src/guestfs.pod:2896 msgid "Implement the action (in C):" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2892 +#: ../src/guestfs.pod:2898 msgid "" "For daemon actions, implement the function C<do_E<lt>nameE<gt>> in the " "C<daemon/> directory." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2895 +#: ../src/guestfs.pod:2901 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:2898 +#: ../src/guestfs.pod:2904 msgid "In either case, use another function as an example of what to do." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2902 +#: ../src/guestfs.pod:2908 msgid "After making these changes, use C<make> to compile." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2904 +#: ../src/guestfs.pod:2910 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 " @@ -50712,12 +51001,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:2908 +#: ../src/guestfs.pod:2914 msgid "ADDING TESTS FOR AN API ACTION" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2910 +#: ../src/guestfs.pod:2916 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/" @@ -50727,61 +51016,61 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2917 +#: ../src/guestfs.pod:2923 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:2920 +#: ../src/guestfs.pod:2926 msgid "The test environment has 4 block devices:" msgstr "" #. type: =item -#: ../src/guestfs.pod:2924 +#: ../src/guestfs.pod:2930 msgid "C</dev/sda> 500MB" msgstr "C</dev/sda> 500 МБ" #. type: textblock -#: ../src/guestfs.pod:2926 +#: ../src/guestfs.pod:2932 msgid "General block device for testing." msgstr "" #. type: =item -#: ../src/guestfs.pod:2928 +#: ../src/guestfs.pod:2934 msgid "C</dev/sdb> 50MB" msgstr "C</dev/sdb> 50 МБ" #. type: textblock -#: ../src/guestfs.pod:2930 +#: ../src/guestfs.pod:2936 msgid "" "C</dev/sdb1> is an ext2 filesystem used for testing filesystem write " "operations." msgstr "" #. type: =item -#: ../src/guestfs.pod:2933 +#: ../src/guestfs.pod:2939 msgid "C</dev/sdc> 10MB" msgstr "C</dev/sdc> 10 МБ" #. type: textblock -#: ../src/guestfs.pod:2935 +#: ../src/guestfs.pod:2941 msgid "Used in a few tests where two block devices are needed." msgstr "" #. type: =item -#: ../src/guestfs.pod:2937 +#: ../src/guestfs.pod:2943 msgid "C</dev/sdd>" msgstr "C</dev/sdd>" #. type: textblock -#: ../src/guestfs.pod:2939 +#: ../src/guestfs.pod:2945 msgid "ISO with fixed content (see C<images/test.iso>)." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2943 +#: ../src/guestfs.pod:2949 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 " @@ -50789,7 +51078,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2947 +#: ../src/guestfs.pod:2953 msgid "" "Each test starts with an initial scenario, selected using one of the " "C<Init*> expressions, described in C<generator/generator_types.ml>. These " @@ -50799,7 +51088,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2953 +#: ../src/guestfs.pod:2959 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 " @@ -50809,14 +51098,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2959 +#: ../src/guestfs.pod:2965 msgid "" "In addition, packagers can skip individual tests by setting environment " "variables before running C<make check>." msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2962 +#: ../src/guestfs.pod:2968 #, no-wrap msgid "" " SKIP_TEST_<CMD>_<NUM>=1\n" @@ -50824,12 +51113,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2964 +#: ../src/guestfs.pod:2970 msgid "eg: C<SKIP_TEST_COMMAND_3=1> skips test #3 of L</guestfs_command>." msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2968 +#: ../src/guestfs.pod:2974 #, no-wrap msgid "" " SKIP_TEST_<CMD>=1\n" @@ -50839,17 +51128,17 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2970 +#: ../src/guestfs.pod:2976 msgid "eg: C<SKIP_TEST_ZEROFREE=1> skips all L</guestfs_zerofree> tests." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2972 +#: ../src/guestfs.pod:2978 msgid "Packagers can run only certain tests by setting for example:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2974 +#: ../src/guestfs.pod:2980 #, no-wrap msgid "" " TEST_ONLY=\"vfs_type zerofree\"\n" @@ -50859,29 +51148,29 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2976 +#: ../src/guestfs.pod:2982 msgid "" "See C<tests/c-api/tests.c> for more details of how these environment " "variables work." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:2979 +#: ../src/guestfs.pod:2985 msgid "DEBUGGING NEW API ACTIONS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2981 +#: ../src/guestfs.pod:2987 msgid "Test new actions work before submitting them." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2983 +#: ../src/guestfs.pod:2989 msgid "You can use guestfish to try out new commands." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2985 +#: ../src/guestfs.pod:2991 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 " @@ -50889,12 +51178,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:2989 +#: ../src/guestfs.pod:2995 msgid "FORMATTING CODE AND OTHER CONVENTIONS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2991 +#: ../src/guestfs.pod:2997 msgid "" "Our C source code generally adheres to some basic code-formatting " "conventions. The existing code base is not totally consistent on this " @@ -50904,14 +51193,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2997 +#: ../src/guestfs.pod:3003 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:3000 +#: ../src/guestfs.pod:3006 #, no-wrap msgid "" " ;;; In libguestfs, indent with spaces everywhere (not TABs).\n" @@ -50927,7 +51216,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3010 +#: ../src/guestfs.pod:3016 #, no-wrap msgid "" " ;;; When editing C sources in libguestfs, use this style.\n" @@ -50945,12 +51234,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3022 +#: ../src/guestfs.pod:3028 msgid "Enable warnings when compiling (and fix any problems this finds):" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3025 +#: ../src/guestfs.pod:3031 #, no-wrap msgid "" " ./configure --enable-gcc-warnings\n" @@ -50960,12 +51249,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:3027 +#: ../src/guestfs.pod:3033 msgid "Useful targets are:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3029 +#: ../src/guestfs.pod:3035 #, no-wrap msgid "" " make syntax-check -j1 -k # checks for various syntax and\n" @@ -50974,7 +51263,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3032 +#: ../src/guestfs.pod:3038 #, no-wrap msgid "" " make check # runs the test suite\n" @@ -50982,7 +51271,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3034 +#: ../src/guestfs.pod:3040 #, no-wrap msgid "" " make extra-tests # in-depth testing using valgrind\n" @@ -50991,43 +51280,43 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3037 +#: ../src/guestfs.pod:3043 msgid "DAEMON CUSTOM PRINTF FORMATTERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3039 +#: ../src/guestfs.pod:3045 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:3044 +#: ../src/guestfs.pod:3050 msgid "%Q" msgstr "%Q" #. type: textblock -#: ../src/guestfs.pod:3046 +#: ../src/guestfs.pod:3052 msgid "" "Simple shell quoted string. Any spaces or other shell characters are " "escaped for you." msgstr "" #. type: =item -#: ../src/guestfs.pod:3049 +#: ../src/guestfs.pod:3055 msgid "%R" msgstr "%R" #. type: textblock -#: ../src/guestfs.pod:3051 +#: ../src/guestfs.pod:3057 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:3058 +#: ../src/guestfs.pod:3064 #, no-wrap msgid "" " asprintf (&cmd, \"cat %R\", path);\n" @@ -51037,12 +51326,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:3060 +#: ../src/guestfs.pod:3066 msgid "would produce C<cat /sysroot/some\\ path\\ with\\ spaces>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3062 +#: ../src/guestfs.pod:3068 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 " @@ -51051,29 +51340,29 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3068 +#: ../src/guestfs.pod:3074 msgid "SUBMITTING YOUR NEW API ACTIONS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3070 +#: ../src/guestfs.pod:3076 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:3074 +#: ../src/guestfs.pod:3080 msgid "INTERNATIONALIZATION (I18N) SUPPORT" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3076 +#: ../src/guestfs.pod:3082 msgid "We support i18n (gettext anyhow) in the library." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3078 +#: ../src/guestfs.pod:3084 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 " @@ -51082,102 +51371,102 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3084 +#: ../src/guestfs.pod:3090 msgid "" "Debugging messages are never translated, since they are intended for the " "programmers." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3087 +#: ../src/guestfs.pod:3093 msgid "SOURCE CODE SUBDIRECTORIES" msgstr "" #. type: =item -#: ../src/guestfs.pod:3091 +#: ../src/guestfs.pod:3097 msgid "C<align>" msgstr "C<align>" #. type: textblock -#: ../src/guestfs.pod:3093 +#: ../src/guestfs.pod:3099 msgid "L<virt-alignment-scan(1)> command and documentation." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3097 +#: ../src/guestfs.pod:3103 msgid "The libguestfs appliance, build scripts and so on." msgstr "" #. type: =item -#: ../src/guestfs.pod:3099 +#: ../src/guestfs.pod:3105 msgid "C<cat>" msgstr "C<cat>" #. type: textblock -#: ../src/guestfs.pod:3101 +#: ../src/guestfs.pod:3107 msgid "" "The L<virt-cat(1)>, L<virt-filesystems(1)> and L<virt-ls(1)> commands and " "documentation." msgstr "" #. type: =item -#: ../src/guestfs.pod:3104 +#: ../src/guestfs.pod:3110 msgid "C<contrib>" msgstr "C<contrib>" #. type: textblock -#: ../src/guestfs.pod:3106 +#: ../src/guestfs.pod:3112 msgid "Outside contributions, experimental parts." msgstr "" #. type: =item -#: ../src/guestfs.pod:3108 +#: ../src/guestfs.pod:3114 msgid "C<daemon>" msgstr "C<daemon>" #. type: textblock -#: ../src/guestfs.pod:3110 +#: ../src/guestfs.pod:3116 msgid "" "The daemon that runs inside the libguestfs appliance and carries out actions." msgstr "" #. type: =item -#: ../src/guestfs.pod:3113 +#: ../src/guestfs.pod:3119 msgid "C<df>" msgstr "C<df>" #. type: textblock -#: ../src/guestfs.pod:3115 +#: ../src/guestfs.pod:3121 msgid "L<virt-df(1)> command and documentation." msgstr "" #. type: =item -#: ../src/guestfs.pod:3117 +#: ../src/guestfs.pod:3123 msgid "C<edit>" msgstr "C<edit>" #. type: textblock -#: ../src/guestfs.pod:3119 +#: ../src/guestfs.pod:3125 msgid "L<virt-edit(1)> command and documentation." msgstr "" #. type: =item -#: ../src/guestfs.pod:3121 +#: ../src/guestfs.pod:3127 msgid "C<examples>" msgstr "C<examples>" #. type: textblock -#: ../src/guestfs.pod:3123 +#: ../src/guestfs.pod:3129 msgid "C API example code." msgstr "Код прикладів використання програмного інтерфейсу мовою C." #. type: =item -#: ../src/guestfs.pod:3125 +#: ../src/guestfs.pod:3131 msgid "C<fish>" msgstr "C<fish>" #. type: textblock -#: ../src/guestfs.pod:3127 +#: ../src/guestfs.pod:3133 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)>, " @@ -51185,80 +51474,80 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3133 +#: ../src/guestfs.pod:3139 msgid "L<virt-format(1)> command and documentation." msgstr "" #. type: =item -#: ../src/guestfs.pod:3135 +#: ../src/guestfs.pod:3141 msgid "C<fuse>" msgstr "C<fuse>" #. type: textblock -#: ../src/guestfs.pod:3137 +#: ../src/guestfs.pod:3143 msgid "" "L<guestmount(1)>, FUSE (userspace filesystem) built on top of libguestfs." msgstr "" #. type: =item -#: ../src/guestfs.pod:3139 +#: ../src/guestfs.pod:3145 msgid "C<generator>" msgstr "C<generator>" #. type: textblock -#: ../src/guestfs.pod:3141 +#: ../src/guestfs.pod:3147 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:3144 +#: ../src/guestfs.pod:3150 msgid "C<inspector>" msgstr "C<inspector>" #. type: textblock -#: ../src/guestfs.pod:3146 +#: ../src/guestfs.pod:3152 msgid "L<virt-inspector(1)>, the virtual machine image inspector." msgstr "" #. type: =item -#: ../src/guestfs.pod:3148 +#: ../src/guestfs.pod:3154 msgid "C<logo>" msgstr "C<logo>" #. type: textblock -#: ../src/guestfs.pod:3150 +#: ../src/guestfs.pod:3156 msgid "Logo used on the website. The fish is called Arthur by the way." msgstr "" #. type: =item -#: ../src/guestfs.pod:3152 +#: ../src/guestfs.pod:3158 msgid "C<m4>" msgstr "C<m4>" #. type: textblock -#: ../src/guestfs.pod:3154 +#: ../src/guestfs.pod:3160 msgid "M4 macros used by autoconf." msgstr "" #. type: =item -#: ../src/guestfs.pod:3156 +#: ../src/guestfs.pod:3162 msgid "C<po>" msgstr "C<po>" #. type: textblock -#: ../src/guestfs.pod:3158 +#: ../src/guestfs.pod:3164 msgid "Translations of simple gettext strings." msgstr "Переклади простих рядків gettext." #. type: =item -#: ../src/guestfs.pod:3160 +#: ../src/guestfs.pod:3166 msgid "C<po-docs>" msgstr "C<po-docs>" #. type: textblock -#: ../src/guestfs.pod:3162 +#: ../src/guestfs.pod:3168 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 " @@ -51266,150 +51555,150 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:3166 +#: ../src/guestfs.pod:3172 msgid "C<rescue>" msgstr "C<rescue>" #. type: textblock -#: ../src/guestfs.pod:3168 +#: ../src/guestfs.pod:3174 msgid "L<virt-rescue(1)> command and documentation." msgstr "" #. type: =item -#: ../src/guestfs.pod:3170 +#: ../src/guestfs.pod:3176 msgid "C<resize>" msgstr "C<resize>" #. type: textblock -#: ../src/guestfs.pod:3172 +#: ../src/guestfs.pod:3178 msgid "L<virt-resize(1)> command and documentation." msgstr "" #. type: =item -#: ../src/guestfs.pod:3174 +#: ../src/guestfs.pod:3180 msgid "C<sparsify>" msgstr "C<sparsify>" #. type: textblock -#: ../src/guestfs.pod:3176 +#: ../src/guestfs.pod:3182 msgid "L<virt-sparsify(1)> command and documentation." msgstr "" #. type: =item -#: ../src/guestfs.pod:3178 +#: ../src/guestfs.pod:3184 msgid "C<src>" msgstr "C<src>" #. type: textblock -#: ../src/guestfs.pod:3180 +#: ../src/guestfs.pod:3186 msgid "Source code to the C library." msgstr "" #. type: =item -#: ../src/guestfs.pod:3182 +#: ../src/guestfs.pod:3188 msgid "C<sysprep>" msgstr "C<sysprep>" #. type: textblock -#: ../src/guestfs.pod:3184 +#: ../src/guestfs.pod:3190 msgid "L<virt-sysprep(1)> command and documentation." msgstr "" #. type: =item -#: ../src/guestfs.pod:3186 +#: ../src/guestfs.pod:3192 msgid "C<test-tool>" msgstr "C<test-tool>" #. type: textblock -#: ../src/guestfs.pod:3188 +#: ../src/guestfs.pod:3194 msgid "" "Test tool for end users to test if their qemu/kernel combination will work " "with libguestfs." msgstr "" #. type: =item -#: ../src/guestfs.pod:3191 +#: ../src/guestfs.pod:3197 msgid "C<tests>" msgstr "C<tests>" #. type: textblock -#: ../src/guestfs.pod:3193 +#: ../src/guestfs.pod:3199 msgid "Tests." msgstr "Тести." #. type: =item -#: ../src/guestfs.pod:3195 +#: ../src/guestfs.pod:3201 msgid "C<tools>" msgstr "C<tools>" #. type: textblock -#: ../src/guestfs.pod:3197 +#: ../src/guestfs.pod:3203 msgid "" "Command line tools written in Perl (L<virt-win-reg(1)> and many others)." msgstr "" #. type: =item -#: ../src/guestfs.pod:3199 +#: ../src/guestfs.pod:3205 msgid "C<csharp>" msgstr "C<csharp>" #. type: =item -#: ../src/guestfs.pod:3201 +#: ../src/guestfs.pod:3207 msgid "C<erlang>" msgstr "C<erlang>" #. type: =item -#: ../src/guestfs.pod:3203 +#: ../src/guestfs.pod:3209 msgid "C<gobject>" msgstr "C<gobject>" #. type: =item -#: ../src/guestfs.pod:3205 +#: ../src/guestfs.pod:3211 msgid "C<haskell>" msgstr "C<haskell>" #. type: =item -#: ../src/guestfs.pod:3207 +#: ../src/guestfs.pod:3213 msgid "C<java>" msgstr "C<java>" #. type: =item -#: ../src/guestfs.pod:3209 +#: ../src/guestfs.pod:3215 msgid "C<ocaml>" msgstr "C<ocaml>" #. type: =item -#: ../src/guestfs.pod:3211 +#: ../src/guestfs.pod:3217 msgid "C<php>" msgstr "C<php>" #. type: =item -#: ../src/guestfs.pod:3213 +#: ../src/guestfs.pod:3219 msgid "C<perl>" msgstr "C<perl>" #. type: =item -#: ../src/guestfs.pod:3215 +#: ../src/guestfs.pod:3221 msgid "C<python>" msgstr "C<python>" #. type: =item -#: ../src/guestfs.pod:3217 +#: ../src/guestfs.pod:3223 msgid "C<ruby>" msgstr "C<ruby>" #. type: textblock -#: ../src/guestfs.pod:3219 +#: ../src/guestfs.pod:3225 msgid "Language bindings." msgstr "Прив’язки до мов програмування." #. type: =head2 -#: ../src/guestfs.pod:3223 +#: ../src/guestfs.pod:3229 msgid "MAKING A STABLE RELEASE" msgstr "СТВОРЕННЯ СТАБІЛЬНОГО ВИПУСКУ" #. type: textblock -#: ../src/guestfs.pod:3225 +#: ../src/guestfs.pod:3231 msgid "" "When we make a stable release, there are several steps documented here. See " "L</LIBGUESTFS VERSION NUMBERS> for general information about the stable " @@ -51417,33 +51706,33 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3233 +#: ../src/guestfs.pod:3239 msgid "" "Check C<make && make check> works on at least Fedora, Debian and Ubuntu." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3238 +#: ../src/guestfs.pod:3244 msgid "Finalize RELEASE-NOTES." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3242 +#: ../src/guestfs.pod:3248 msgid "Update ROADMAP." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3246 +#: ../src/guestfs.pod:3252 msgid "Run C<src/api-support/update-from-tarballs.sh>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3250 +#: ../src/guestfs.pod:3256 msgid "Push and pull from Transifex." msgstr "Передавання даних на Transifex та отримання даних з Transifex." #. type: verbatim -#: ../src/guestfs.pod:3254 +#: ../src/guestfs.pod:3260 #, no-wrap msgid "" " tx push -s\n" @@ -51453,13 +51742,13 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:3256 +#: ../src/guestfs.pod:3262 msgid "to push the latest POT files to Transifex. Then run:" msgstr "" "щоб надіслати найсвіжіші файли POT на Transifex. Потім віддайте команду:" #. type: verbatim -#: ../src/guestfs.pod:3258 +#: ../src/guestfs.pod:3264 #, no-wrap msgid "" " ./tx-pull.sh\n" @@ -51469,24 +51758,24 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:3260 +#: ../src/guestfs.pod:3266 msgid "which is a wrapper to pull the latest translated C<*.po> files." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3264 +#: ../src/guestfs.pod:3270 msgid "" "Create new stable and development directories under L<http://libguestfs.org/" "download>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3269 +#: ../src/guestfs.pod:3275 msgid "Create the branch in git:" msgstr "Створення гілки у git:" #. type: verbatim -#: ../src/guestfs.pod:3271 +#: ../src/guestfs.pod:3277 #, no-wrap msgid "" " git tag -a 1.XX.0 -m \"Version 1.XX.0 (stable)\"\n" @@ -51502,17 +51791,17 @@ msgstr "" "\n" #. type: =head1 -#: ../src/guestfs.pod:3278 +#: ../src/guestfs.pod:3284 msgid "LIMITS" msgstr "ОБМЕЖЕННЯ" #. type: =head2 -#: ../src/guestfs.pod:3280 +#: ../src/guestfs.pod:3286 msgid "PROTOCOL LIMITS" msgstr "ОБМЕЖЕННЯ ПРОТОКОЛУ" #. type: textblock -#: ../src/guestfs.pod:3282 +#: ../src/guestfs.pod:3288 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 " @@ -51523,7 +51812,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3290 +#: ../src/guestfs.pod:3296 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 " @@ -51532,7 +51821,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3296 +#: ../src/guestfs.pod:3302 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> " @@ -51540,24 +51829,24 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3300 +#: ../src/guestfs.pod:3306 msgid "" "You might also consider mounting the disk image using our FUSE filesystem " "support (L<guestmount(1)>)." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3303 +#: ../src/guestfs.pod:3309 msgid "MAXIMUM NUMBER OF DISKS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3305 +#: ../src/guestfs.pod:3311 msgid "When using virtio disks (the default) the current limit is B<25> disks." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3308 +#: ../src/guestfs.pod:3314 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> " @@ -51566,14 +51855,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3313 +#: ../src/guestfs.pod:3319 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:3316 +#: ../src/guestfs.pod:3322 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 " @@ -51581,41 +51870,41 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3320 +#: ../src/guestfs.pod:3326 msgid "MAXIMUM NUMBER OF PARTITIONS PER DISK" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3322 +#: ../src/guestfs.pod:3328 msgid "Virtio limits the maximum number of partitions per disk to B<15>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3324 +#: ../src/guestfs.pod:3330 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:3327 +#: ../src/guestfs.pod:3333 msgid "" "If you attach a disk with more than 15 partitions, the extra partitions are " "ignored by libguestfs." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3330 +#: ../src/guestfs.pod:3336 msgid "MAXIMUM SIZE OF A DISK" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3332 +#: ../src/guestfs.pod:3338 msgid "Probably the limit is between 2**63-1 and 2**64-1 bytes." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3334 +#: ../src/guestfs.pod:3340 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 " @@ -51623,7 +51912,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3338 +#: ../src/guestfs.pod:3344 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 " @@ -51633,19 +51922,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3344 +#: ../src/guestfs.pod:3350 msgid "" "For the hugest disk image files, we recommend using XFS on the host for " "storage." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3347 +#: ../src/guestfs.pod:3353 msgid "MAXIMUM SIZE OF A PARTITION" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3349 +#: ../src/guestfs.pod:3355 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 " @@ -51653,7 +51942,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3353 +#: ../src/guestfs.pod:3359 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 " @@ -51661,12 +51950,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3358 +#: ../src/guestfs.pod:3364 msgid "MAXIMUM SIZE OF A FILESYSTEM, FILES, DIRECTORIES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3360 +#: ../src/guestfs.pod:3366 msgid "" "This depends on the filesystem type. libguestfs itself does not impose any " "known limit. Consult Wikipedia or the filesystem documentation to find out " @@ -51674,12 +51963,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3364 +#: ../src/guestfs.pod:3370 msgid "MAXIMUM UPLOAD AND DOWNLOAD" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3366 +#: ../src/guestfs.pod:3372 msgid "" "The API functions L</guestfs_upload>, L</guestfs_download>, L</" "guestfs_tar_in>, L</guestfs_tar_out> and the like allow unlimited sized " @@ -51687,12 +51976,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3370 +#: ../src/guestfs.pod:3376 msgid "INSPECTION LIMITS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3372 +#: ../src/guestfs.pod:3378 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 " @@ -51702,33 +51991,33 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3398 +#: ../src/guestfs.pod:3404 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:3410 +#: ../src/guestfs.pod:3416 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:3419 +#: ../src/guestfs.pod:3425 msgid "See also L</QEMU WRAPPERS> above." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3423 +#: ../src/guestfs.pod:3429 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:3441 +#: ../src/guestfs.pod:3447 #, fuzzy #| msgid "" #| "L<guestfs-examples(3)>, L<guestfs-erlang(3)>, L<guestfs-java(3)>, " @@ -51772,7 +52061,7 @@ msgstr "" ">, L<stap(1)>, L<http://libguestfs.org/>." #. type: textblock -#: ../src/guestfs.pod:3483 +#: ../src/guestfs.pod:3489 msgid "" "Tools with a similar purpose: L<fdisk(8)>, L<parted(8)>, L<kpartx(8)>, L<lvm" "(8)>, L<disktype(1)>." @@ -54336,89 +54625,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-" @@ -54428,14 +54717,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" @@ -54445,14 +54734,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" @@ -54462,12 +54751,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-" @@ -54475,7 +54764,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../tools/virt-win-reg.pl:615 +#: ../tools/virt-win-reg.pl:605 #, no-wrap msgid "" " $ file software.reg\n" @@ -54485,17 +54774,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 " @@ -54503,7 +54792,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 " @@ -54511,7 +54800,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" @@ -54531,28 +54820,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" @@ -54560,12 +54849,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" @@ -54574,24 +54863,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 " @@ -54599,7 +54888,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" @@ -54609,12 +54898,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" @@ -54630,7 +54919,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 " @@ -54638,12 +54927,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" @@ -54651,12 +54940,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 " @@ -54665,14 +54954,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" @@ -54688,7 +54977,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 " @@ -54697,7 +54986,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" @@ -54721,7 +55010,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" @@ -54737,7 +55026,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 " @@ -54745,7 +55034,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 " @@ -54753,19 +55042,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" @@ -54773,7 +55062,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 " @@ -54781,12 +55070,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" @@ -54797,10 +55086,13 @@ 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" +#~ msgid "Red Hat Enterprise Linux 6" +#~ msgstr "Red Hat Enterprise Linux 6" + #~ msgid "" #~ "This program is free software; you can redistribute it and/or modify it " #~ "under the terms of the GNU General Public License as published by the " diff --git a/po/en_GB.po b/po/en_GB.po index 3b3f70e3..b35561ec 100644 --- a/po/en_GB.po +++ b/po/en_GB.po @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: libguestfs\n" "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?" "component=libguestfs&product=Virtualization+Tools\n" -"POT-Creation-Date: 2012-09-19 13:50+0100\n" +"POT-Creation-Date: 2012-10-01 16:29+0100\n" "PO-Revision-Date: 2012-05-21 13:19+0000\n" "Last-Translator: rjones <rjones@redhat.com>\n" "Language-Team: English (United Kingdom) (http://www.transifex.net/projects/p/" @@ -152,12 +152,12 @@ msgstr "" " -x Trace libguestfs API calls\n" "For more information, see the manpage %s(1).\n" -#: cat/virt-cat.c:358 edit/virt-edit.c:666 fish/fish.c:1582 +#: cat/virt-cat.c:355 edit/virt-edit.c:665 fish/fish.c:1582 #, c-format msgid "%s: to use Windows drive letters, this must be a Windows guest\n" msgstr "" -#: cat/virt-cat.c:372 edit/virt-edit.c:680 +#: cat/virt-cat.c:369 edit/virt-edit.c:679 #, c-format msgid "%s: drive '%c:' not found.\n" msgstr "" @@ -3088,12 +3088,12 @@ msgid "" "For more information, see the manpage %s(1).\n" msgstr "" -#: inspector/virt-inspector.c:254 +#: inspector/virt-inspector.c:251 #, c-format msgid "%s: cannot use --xpath together with other options.\n" msgstr "" -#: inspector/virt-inspector.c:287 +#: inspector/virt-inspector.c:284 #, c-format msgid "" "%s: no operating system could be detected inside this disk image.\n" @@ -3110,52 +3110,52 @@ msgid "" "information about the disk image as possible.\n" msgstr "" -#: inspector/virt-inspector.c:312 +#: inspector/virt-inspector.c:309 #, c-format msgid "%s: XML write error at \"%s\": %m\n" msgstr "" -#: inspector/virt-inspector.c:324 +#: inspector/virt-inspector.c:321 #, c-format msgid "%s: xmlOutputBufferCreateFd: failed to open stdout\n" msgstr "" -#: inspector/virt-inspector.c:332 +#: inspector/virt-inspector.c:329 #, c-format msgid "%s: xmlNewTextWriter: failed to create libxml2 writer\n" msgstr "" -#: inspector/virt-inspector.c:826 +#: inspector/virt-inspector.c:823 #, c-format msgid "%s: unable to parse XML from stdin\n" msgstr "" -#: inspector/virt-inspector.c:832 +#: inspector/virt-inspector.c:829 #, c-format msgid "%s: unable to create new XPath context\n" msgstr "" -#: inspector/virt-inspector.c:839 +#: inspector/virt-inspector.c:836 #, c-format msgid "%s: unable to evaluate XPath expression\n" msgstr "" -#: inspector/virt-inspector.c:850 +#: inspector/virt-inspector.c:847 #, c-format msgid "%s: xmlSaveToFd failed\n" msgstr "" -#: inspector/virt-inspector.c:857 +#: inspector/virt-inspector.c:854 #, c-format msgid "%s: xmlNewDoc failed\n" msgstr "" -#: inspector/virt-inspector.c:862 +#: inspector/virt-inspector.c:859 #, c-format msgid "%s: xmlCopyNode failed\n" msgstr "" -#: inspector/virt-inspector.c:869 +#: inspector/virt-inspector.c:866 #, c-format msgid "%s: xmlSaveDoc failed\n" msgstr "" @@ -3202,7 +3202,7 @@ msgstr "" msgid "{imagename} seems to have no disk devices\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:831 +#: perl/lib/Sys/Guestfs/Lib.pm:834 msgid "" "No operating system could be detected inside this disk image.\n" "\n" @@ -3214,56 +3214,56 @@ msgid "" "information about the disk image as possible.\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:949 +#: perl/lib/Sys/Guestfs/Lib.pm:952 #, perl-brace-format msgid "unknown filesystem {fs}\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1027 +#: perl/lib/Sys/Guestfs/Lib.pm:1030 #, perl-brace-format msgid "Error running rpm -qa: {error}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1053 +#: perl/lib/Sys/Guestfs/Lib.pm:1056 #, perl-brace-format msgid "Error running dpkg-query: {error}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1118 +#: perl/lib/Sys/Guestfs/Lib.pm:1121 msgid "Can't find grub on guest" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1173 +#: perl/lib/Sys/Guestfs/Lib.pm:1176 #, perl-brace-format msgid "Grub entry {title} has no kernel" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1204 +#: perl/lib/Sys/Guestfs/Lib.pm:1207 #, perl-brace-format msgid "grub refers to {path}, which doesn't exist\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1227 +#: perl/lib/Sys/Guestfs/Lib.pm:1230 #, perl-brace-format msgid "Grub entry {title} does not specify an initrd" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1296 +#: perl/lib/Sys/Guestfs/Lib.pm:1299 #, perl-brace-format msgid "Didn't find modules directory {modules} for kernel {path}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1304 +#: perl/lib/Sys/Guestfs/Lib.pm:1307 #, perl-brace-format msgid "Couldn't guess kernel version number from path for kernel {path}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1358 +#: perl/lib/Sys/Guestfs/Lib.pm:1361 #, perl-brace-format msgid "{path} doesn't match augeas pattern" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1397 +#: perl/lib/Sys/Guestfs/Lib.pm:1400 #, perl-brace-format msgid "{filename}: could not read initrd format" msgstr "" @@ -3317,19 +3317,19 @@ msgstr "" msgid "%s: --scratch parameter '%s' should be >= 1\n" msgstr "" -#: rescue/virt-rescue.c:224 +#: rescue/virt-rescue.c:221 #, c-format msgid "%s: could not parse memory size '%s'\n" msgstr "" -#: rescue/virt-rescue.c:396 +#: rescue/virt-rescue.c:393 #, c-format msgid "" "Inspecting the virtual machine or disk image ...\n" "\n" msgstr "" -#: rescue/virt-rescue.c:415 +#: rescue/virt-rescue.c:412 #, c-format msgid "" "This disk contains one or more operating systems. You can use these mount\n" @@ -3337,7 +3337,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:425 +#: rescue/virt-rescue.c:422 #, c-format msgid "" "# %s is the root of a %s operating system\n" @@ -3346,7 +3346,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:482 +#: rescue/virt-rescue.c:479 #, c-format msgid "" "This disk contains no filesystems that we recognize.\n" @@ -3356,7 +3356,7 @@ msgid "" "logical volumes and filesystems on a blank disk.\n" msgstr "" -#: rescue/virt-rescue.c:489 +#: rescue/virt-rescue.c:486 #, c-format msgid "" "This disk contains one or more filesystems, but we don't recognize any\n" @@ -3365,12 +3365,12 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:494 +#: rescue/virt-rescue.c:491 #, c-format msgid "# %s has type '%s'\n" msgstr "" -#: rescue/virt-rescue.c:702 +#: rescue/virt-rescue.c:699 #, c-format msgid "%s: unknown child exit status (%d)\n" msgstr "" @@ -3498,7 +3498,7 @@ msgstr "" msgid "<truncated, original size %zu bytes>" msgstr "" -#: src/inspect-apps.c:613 src/inspect.c:546 +#: src/inspect-apps.c:610 src/inspect.c:546 msgid "" "inspection API not available since this version of libguestfs was compiled " "without the hivex library" @@ -3520,11 +3520,6 @@ msgstr "" msgid "could not parse /etc/fstab or empty file" msgstr "" -#: src/inspect-fs-windows.c:167 -#, c-format -msgid "cannot resolve Windows %%SYSTEMROOT%%" -msgstr "" - #: src/inspect-fs.c:365 src/inspect-fs.c:378 #, c-format msgid "could not parse integer in version number: %s" @@ -3595,10 +3590,6 @@ msgstr "" msgid "you must call guestfs_add_drive before guestfs_launch" msgstr "" -#: src/launch.c:1058 src/launch.c:1063 -msgid "guestfs_launch failed, see earlier error messages" -msgstr "" - #: src/launch.c:1076 msgid "qemu launched and contacted daemon, but state != READY" msgstr "" @@ -3611,12 +3602,23 @@ msgstr "" msgid "contacted guestfsd, but state != READY" msgstr "" -#: src/launch.c:1266 +#: src/launch.c:1226 +msgid "guestfs_launch failed, see earlier error messages" +msgstr "" + +#: src/launch.c:1228 +msgid "" +"guestfs_launch failed.\n" +"See http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs\n" +"and/or run 'libguestfs-test-tool'." +msgstr "" + +#: src/launch.c:1282 #, c-format msgid "%s: cannot create temporary directory" msgstr "" -#: src/launch.c:1393 +#: src/launch.c:1409 #, c-format msgid "" "command failed: %s\n" @@ -3626,7 +3628,7 @@ msgid "" "environment variable. There may also be errors printed above." msgstr "" -#: src/launch.c:1546 +#: src/launch.c:1562 msgid "qemu has not been launched yet" msgstr "" @@ -3789,79 +3791,79 @@ msgid "" " -V Display libguestfs version and exit\n" msgstr "" -#: test-tool/test-tool.c:111 +#: test-tool/test-tool.c:122 #, c-format msgid "libguestfs-test-tool: failed to create libguestfs handle\n" msgstr "" -#: test-tool/test-tool.c:117 +#: test-tool/test-tool.c:128 #, c-format msgid "libguestfs-test-tool: guestfs_version failed\n" msgstr "" -#: test-tool/test-tool.c:133 +#: test-tool/test-tool.c:144 #, c-format msgid "libguestfs-test-tool: unknown long option: %s (%d)\n" msgstr "" -#: test-tool/test-tool.c:142 +#: test-tool/test-tool.c:153 #, c-format msgid "libguestfs-test-tool: invalid timeout: %s\n" msgstr "" -#: test-tool/test-tool.c:161 +#: test-tool/test-tool.c:172 #, c-format msgid "libguestfs-test-tool: unexpected command line option 0x%x\n" msgstr "" -#: test-tool/test-tool.c:196 +#: test-tool/test-tool.c:207 #, c-format msgid "libguestfs-test-tool: failed to add drive '%s'\n" msgstr "" -#: test-tool/test-tool.c:233 +#: test-tool/test-tool.c:244 #, c-format msgid "libguestfs-test-tool: failed to launch appliance\n" msgstr "" -#: test-tool/test-tool.c:245 +#: test-tool/test-tool.c:256 #, c-format msgid "libguestfs-test-tool: failed to run part-disk\n" msgstr "" -#: test-tool/test-tool.c:251 +#: test-tool/test-tool.c:262 #, c-format msgid "libguestfs-test-tool: failed to mkfs.ext2\n" msgstr "" -#: test-tool/test-tool.c:257 +#: test-tool/test-tool.c:268 #, c-format msgid "libguestfs-test-tool: failed to mount /dev/sda1 on /\n" msgstr "" -#: test-tool/test-tool.c:264 +#: test-tool/test-tool.c:275 #, c-format msgid "libguestfs-test-tool: failed to touch file\n" msgstr "" -#: test-tool/test-tool.c:270 +#: test-tool/test-tool.c:281 #, c-format msgid "libguestfs-test-tool: shutdown failed\n" msgstr "" -#: test-tool/test-tool.c:303 +#: test-tool/test-tool.c:314 #, c-format msgid "" "LIBGUESTFS_QEMU environment variable is already set, so\n" "--qemu/--qemudir options cannot be used.\n" msgstr "" -#: test-tool/test-tool.c:311 +#: test-tool/test-tool.c:322 #, c-format msgid "Binary '%s' does not exist or is not executable\n" msgstr "" -#: test-tool/test-tool.c:325 +#: test-tool/test-tool.c:336 #, c-format msgid "%s: does not look like a qemu source directory\n" msgstr "" @@ -3977,17 +3979,12 @@ msgstr "" msgid "virt-win-reg: {p}: not a supported Windows Registry path\n" msgstr "" -#: tools/virt-win-reg.pl:522 tools/virt-win-reg.pl:544 -#, perl-brace-format -msgid "virt-win-reg: {p}: file not found in guest: {err}\n" -msgstr "" - -#: tools/virt-win-reg.pl:529 +#: tools/virt-win-reg.pl:524 #, perl-brace-format msgid "virt-win-reg: {p}: could not download registry file: {err}\n" msgstr "" -#: tools/virt-win-reg.pl:551 +#: tools/virt-win-reg.pl:541 #, perl-brace-format msgid "virt-win-reg: {p}: could not upload registry file: {err}\n" msgstr "" @@ -4219,11 +4216,11 @@ msgstr "" msgid "Align first partition (default: auto)" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:57 +#: ../sysprep/sysprep_operation_hostname.ml:66 msgid "Change the hostname of the guest" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:66 +#: ../sysprep/sysprep_operation_hostname.ml:75 msgid "" "Change the hostname. If not given, defaults to C<localhost.localdomain>." msgstr "" @@ -4456,7 +4453,7 @@ msgstr "" msgid "Never do SELinux relabel" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:65 +#: ../sysprep/sysprep_operation_hostname.ml:74 msgid "New hostname" msgstr "" @@ -4731,7 +4728,7 @@ msgid "" "virtual machine's disk, but it was stored on disk in older distros." msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:58 +#: ../sysprep/sysprep_operation_hostname.ml:67 msgid "" "This operation changes the hostname of the guest to the value\n" "given in the I<--hostname> parameter.\n" @@ -4828,7 +4825,7 @@ msgstr "" msgid "fs" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:65 +#: ../sysprep/sysprep_operation_hostname.ml:74 msgid "hostname" msgstr "" @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: libguestfs\n" "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?" "component=libguestfs&product=Virtualization+Tools\n" -"POT-Creation-Date: 2012-09-19 13:50+0100\n" +"POT-Creation-Date: 2012-10-01 16:29+0100\n" "PO-Revision-Date: 2012-05-21 13:19+0000\n" "Last-Translator: rjones <rjones@redhat.com>\n" "Language-Team: Spanish (Castilian) <trans-es@lists.fedoraproject.org>\n" @@ -169,14 +169,14 @@ msgstr "" " -x Rastrea llamados API de libguestfs\n" "Para obtener mayor información, consulte la página man %s(1).\n" -#: cat/virt-cat.c:358 edit/virt-edit.c:666 fish/fish.c:1582 +#: cat/virt-cat.c:355 edit/virt-edit.c:665 fish/fish.c:1582 #, c-format msgid "%s: to use Windows drive letters, this must be a Windows guest\n" msgstr "" "%s para utilizar una letra de unidad de Windows, este debe ser un huésped " "Windows\n" -#: cat/virt-cat.c:372 edit/virt-edit.c:680 +#: cat/virt-cat.c:369 edit/virt-edit.c:679 #, c-format msgid "%s: drive '%c:' not found.\n" msgstr "%s: no se ha encontrado una unidad '%c'.\n" @@ -3223,12 +3223,12 @@ msgid "" "For more information, see the manpage %s(1).\n" msgstr "" -#: inspector/virt-inspector.c:254 +#: inspector/virt-inspector.c:251 #, c-format msgid "%s: cannot use --xpath together with other options.\n" msgstr "" -#: inspector/virt-inspector.c:287 +#: inspector/virt-inspector.c:284 #, c-format msgid "" "%s: no operating system could be detected inside this disk image.\n" @@ -3261,52 +3261,52 @@ msgstr "" " mayor cantidad de información relacionada con la imagen de disco que le sea " "posible.\n" -#: inspector/virt-inspector.c:312 +#: inspector/virt-inspector.c:309 #, c-format msgid "%s: XML write error at \"%s\": %m\n" msgstr "%s: error de escritura XML en \"%s\": %m\n" -#: inspector/virt-inspector.c:324 +#: inspector/virt-inspector.c:321 #, c-format msgid "%s: xmlOutputBufferCreateFd: failed to open stdout\n" msgstr "%s: xmlOutputBufferCreateFd: falló al abrir stdout\n" -#: inspector/virt-inspector.c:332 +#: inspector/virt-inspector.c:329 #, c-format msgid "%s: xmlNewTextWriter: failed to create libxml2 writer\n" msgstr "%s: xmlNewTextWriter: falló al crear escritor libxml2\n" -#: inspector/virt-inspector.c:826 +#: inspector/virt-inspector.c:823 #, c-format msgid "%s: unable to parse XML from stdin\n" msgstr "" -#: inspector/virt-inspector.c:832 +#: inspector/virt-inspector.c:829 #, c-format msgid "%s: unable to create new XPath context\n" msgstr "" -#: inspector/virt-inspector.c:839 +#: inspector/virt-inspector.c:836 #, c-format msgid "%s: unable to evaluate XPath expression\n" msgstr "" -#: inspector/virt-inspector.c:850 +#: inspector/virt-inspector.c:847 #, c-format msgid "%s: xmlSaveToFd failed\n" msgstr "" -#: inspector/virt-inspector.c:857 +#: inspector/virt-inspector.c:854 #, c-format msgid "%s: xmlNewDoc failed\n" msgstr "" -#: inspector/virt-inspector.c:862 +#: inspector/virt-inspector.c:859 #, c-format msgid "%s: xmlCopyNode failed\n" msgstr "" -#: inspector/virt-inspector.c:869 +#: inspector/virt-inspector.c:866 #, c-format msgid "%s: xmlSaveDoc failed\n" msgstr "" @@ -3356,7 +3356,7 @@ msgstr "{imagename} no es el nombre de un dominio libvirt\n" msgid "{imagename} seems to have no disk devices\n" msgstr "{imagename} parece no tener dispositivos de disco\n" -#: perl/lib/Sys/Guestfs/Lib.pm:831 +#: perl/lib/Sys/Guestfs/Lib.pm:834 msgid "" "No operating system could be detected inside this disk image.\n" "\n" @@ -3379,60 +3379,60 @@ msgstr "" "mayor cantidad de información acerca de la imagen de disco que le sea " "posible.\n" -#: perl/lib/Sys/Guestfs/Lib.pm:949 +#: perl/lib/Sys/Guestfs/Lib.pm:952 #, perl-brace-format msgid "unknown filesystem {fs}\n" msgstr "sistema de archivos desconocido {fs}\n" -#: perl/lib/Sys/Guestfs/Lib.pm:1027 +#: perl/lib/Sys/Guestfs/Lib.pm:1030 #, perl-brace-format msgid "Error running rpm -qa: {error}" msgstr "Error ejecutando rpm -qa: {error}" -#: perl/lib/Sys/Guestfs/Lib.pm:1053 +#: perl/lib/Sys/Guestfs/Lib.pm:1056 #, perl-brace-format msgid "Error running dpkg-query: {error}" msgstr "Error ejecutando dpkg-query: {error}" -#: perl/lib/Sys/Guestfs/Lib.pm:1118 +#: perl/lib/Sys/Guestfs/Lib.pm:1121 msgid "Can't find grub on guest" msgstr "No es posible encontrar el grub en el huésped" -#: perl/lib/Sys/Guestfs/Lib.pm:1173 +#: perl/lib/Sys/Guestfs/Lib.pm:1176 #, perl-brace-format msgid "Grub entry {title} has no kernel" msgstr "La entrada del grub {title} no posee un kernel" -#: perl/lib/Sys/Guestfs/Lib.pm:1204 +#: perl/lib/Sys/Guestfs/Lib.pm:1207 #, perl-brace-format msgid "grub refers to {path}, which doesn't exist\n" msgstr "el grub hace referencia a {path}, que no existe\n" -#: perl/lib/Sys/Guestfs/Lib.pm:1227 +#: perl/lib/Sys/Guestfs/Lib.pm:1230 #, perl-brace-format msgid "Grub entry {title} does not specify an initrd" msgstr "La entrada del grub {title} no especifica ningún initrd" -#: perl/lib/Sys/Guestfs/Lib.pm:1296 +#: perl/lib/Sys/Guestfs/Lib.pm:1299 #, perl-brace-format msgid "Didn't find modules directory {modules} for kernel {path}" msgstr "" "No ha sido encontrados un directorio de módulos {modules} para la {path} del " "kernel" -#: perl/lib/Sys/Guestfs/Lib.pm:1304 +#: perl/lib/Sys/Guestfs/Lib.pm:1307 #, perl-brace-format msgid "Couldn't guess kernel version number from path for kernel {path}" msgstr "" "No ha sido posible adivinar el número de versión del kernel desde la {path} " "del kernel" -#: perl/lib/Sys/Guestfs/Lib.pm:1358 +#: perl/lib/Sys/Guestfs/Lib.pm:1361 #, perl-brace-format msgid "{path} doesn't match augeas pattern" msgstr "{path} no coincide con el patrón augeas" -#: perl/lib/Sys/Guestfs/Lib.pm:1397 +#: perl/lib/Sys/Guestfs/Lib.pm:1400 #, perl-brace-format msgid "{filename}: could not read initrd format" msgstr "{filename}: no es posible leer formato initrd" @@ -3486,19 +3486,19 @@ msgstr "" msgid "%s: --scratch parameter '%s' should be >= 1\n" msgstr "" -#: rescue/virt-rescue.c:224 +#: rescue/virt-rescue.c:221 #, c-format msgid "%s: could not parse memory size '%s'\n" msgstr "%s: no se pudo analizar el tamaño '%s' de la memoria\n" -#: rescue/virt-rescue.c:396 +#: rescue/virt-rescue.c:393 #, c-format msgid "" "Inspecting the virtual machine or disk image ...\n" "\n" msgstr "" -#: rescue/virt-rescue.c:415 +#: rescue/virt-rescue.c:412 #, c-format msgid "" "This disk contains one or more operating systems. You can use these mount\n" @@ -3506,7 +3506,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:425 +#: rescue/virt-rescue.c:422 #, c-format msgid "" "# %s is the root of a %s operating system\n" @@ -3515,7 +3515,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:482 +#: rescue/virt-rescue.c:479 #, c-format msgid "" "This disk contains no filesystems that we recognize.\n" @@ -3525,7 +3525,7 @@ msgid "" "logical volumes and filesystems on a blank disk.\n" msgstr "" -#: rescue/virt-rescue.c:489 +#: rescue/virt-rescue.c:486 #, c-format msgid "" "This disk contains one or more filesystems, but we don't recognize any\n" @@ -3534,12 +3534,12 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:494 +#: rescue/virt-rescue.c:491 #, c-format msgid "# %s has type '%s'\n" msgstr "" -#: rescue/virt-rescue.c:702 +#: rescue/virt-rescue.c:699 #, c-format msgid "%s: unknown child exit status (%d)\n" msgstr "%s: estado de salida de proceso hijo desconocido (%d)\n" @@ -3675,7 +3675,7 @@ msgstr "libguestfs: error: %s\n" msgid "<truncated, original size %zu bytes>" msgstr "<truncado, tamaño original %zu bytes>" -#: src/inspect-apps.c:613 src/inspect.c:546 +#: src/inspect-apps.c:610 src/inspect.c:546 msgid "" "inspection API not available since this version of libguestfs was compiled " "without the hivex library" @@ -3699,11 +3699,6 @@ msgstr "el tamaño de %s es irracionalmente largo (%<PRIi64> bytes)" msgid "could not parse /etc/fstab or empty file" msgstr "no se pudo analizar /etc/fstab o vaciar el archivo" -#: src/inspect-fs-windows.c:167 -#, c-format -msgid "cannot resolve Windows %%SYSTEMROOT%%" -msgstr "no es posible resolver %%SYSTEMROOT%% de Windows" - #: src/inspect-fs.c:365 src/inspect-fs.c:378 #, c-format msgid "could not parse integer in version number: %s" @@ -3778,10 +3773,6 @@ msgstr "el manipulador libguestfs ya ha sido iniciado" msgid "you must call guestfs_add_drive before guestfs_launch" msgstr "antes de guestfs_launch, debe llamar guestfs_add_drive" -#: src/launch.c:1058 src/launch.c:1063 -msgid "guestfs_launch failed, see earlier error messages" -msgstr "falló guestfs_launch, vea mensajes de errores anteriores" - #: src/launch.c:1076 msgid "qemu launched and contacted daemon, but state != READY" msgstr "" @@ -3796,12 +3787,23 @@ msgstr "" msgid "contacted guestfsd, but state != READY" msgstr "se ha hecho contacto con guestfsd, pero el estado es != READY" -#: src/launch.c:1266 +#: src/launch.c:1226 +msgid "guestfs_launch failed, see earlier error messages" +msgstr "falló guestfs_launch, vea mensajes de errores anteriores" + +#: src/launch.c:1228 +msgid "" +"guestfs_launch failed.\n" +"See http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs\n" +"and/or run 'libguestfs-test-tool'." +msgstr "" + +#: src/launch.c:1282 #, c-format msgid "%s: cannot create temporary directory" msgstr "%s: no es posible crear directorio temporal" -#: src/launch.c:1393 +#: src/launch.c:1409 #, c-format msgid "" "command failed: %s\n" @@ -3811,7 +3813,7 @@ msgid "" "environment variable. There may also be errors printed above." msgstr "" -#: src/launch.c:1546 +#: src/launch.c:1562 msgid "qemu has not been launched yet" msgstr "todavía qemu no ha sido iniciado " @@ -4001,67 +4003,67 @@ msgid "" " -V Display libguestfs version and exit\n" msgstr "" -#: test-tool/test-tool.c:111 +#: test-tool/test-tool.c:122 #, c-format msgid "libguestfs-test-tool: failed to create libguestfs handle\n" msgstr "bguestfs-test-tool: falló al crear el manipulador libguestfs\n" -#: test-tool/test-tool.c:117 +#: test-tool/test-tool.c:128 #, c-format msgid "libguestfs-test-tool: guestfs_version failed\n" msgstr "libguestfs-test-tool: falló guestfs_version\n" -#: test-tool/test-tool.c:133 +#: test-tool/test-tool.c:144 #, c-format msgid "libguestfs-test-tool: unknown long option: %s (%d)\n" msgstr "libguestfs-test-tool: opción extensa desconocida: %s (%d)\n" -#: test-tool/test-tool.c:142 +#: test-tool/test-tool.c:153 #, c-format msgid "libguestfs-test-tool: invalid timeout: %s\n" msgstr "libguestfs-test-tool: tiempo de espera no válido: %s\n" -#: test-tool/test-tool.c:161 +#: test-tool/test-tool.c:172 #, c-format msgid "libguestfs-test-tool: unexpected command line option 0x%x\n" msgstr "libguestfs-test-tool: opción de línea de comando no esperada 0x%x\n" -#: test-tool/test-tool.c:196 +#: test-tool/test-tool.c:207 #, c-format msgid "libguestfs-test-tool: failed to add drive '%s'\n" msgstr "libguestfs-test-tool: falló al agregar dispositivo '%s'\n" -#: test-tool/test-tool.c:233 +#: test-tool/test-tool.c:244 #, c-format msgid "libguestfs-test-tool: failed to launch appliance\n" msgstr "libguestfs-test-tool: falló al intentar lanzar dispositivo\n" -#: test-tool/test-tool.c:245 +#: test-tool/test-tool.c:256 #, c-format msgid "libguestfs-test-tool: failed to run part-disk\n" msgstr "libguestfs-test-tool: falló al ejecutar part-disk\n" -#: test-tool/test-tool.c:251 +#: test-tool/test-tool.c:262 #, c-format msgid "libguestfs-test-tool: failed to mkfs.ext2\n" msgstr "libguestfs-test-tool: falló al realizar mkfs.ext2\n" -#: test-tool/test-tool.c:257 +#: test-tool/test-tool.c:268 #, c-format msgid "libguestfs-test-tool: failed to mount /dev/sda1 on /\n" msgstr "libguestfs-test-tool: falló al montar /dev/sda1 sobre /\n" -#: test-tool/test-tool.c:264 +#: test-tool/test-tool.c:275 #, c-format msgid "libguestfs-test-tool: failed to touch file\n" msgstr "libguestfs-test-tool: falló al tocar el archivo\n" -#: test-tool/test-tool.c:270 +#: test-tool/test-tool.c:281 #, c-format msgid "libguestfs-test-tool: shutdown failed\n" msgstr "" -#: test-tool/test-tool.c:303 +#: test-tool/test-tool.c:314 #, c-format msgid "" "LIBGUESTFS_QEMU environment variable is already set, so\n" @@ -4070,12 +4072,12 @@ msgstr "" "la variable de entorno LIBGUESTFS_QEMU ya se encuentra definida,\n" "de modo que las opciones --qemu/--qemudir no pueden ser utilizadas.\n" -#: test-tool/test-tool.c:311 +#: test-tool/test-tool.c:322 #, c-format msgid "Binary '%s' does not exist or is not executable\n" msgstr "El binario '%s' no existe o no es un ejecutable\n" -#: test-tool/test-tool.c:325 +#: test-tool/test-tool.c:336 #, c-format msgid "%s: does not look like a qemu source directory\n" msgstr "%s: no parece un directorio fuente de qemu\n" @@ -4219,20 +4221,14 @@ msgstr "virt-win-reg: {p}: no es posible hallar el directorio del usuario\n" msgid "virt-win-reg: {p}: not a supported Windows Registry path\n" msgstr "virt-win-reg: {p}: no es una ruta de Windows Registry soportada\n" -#: tools/virt-win-reg.pl:522 tools/virt-win-reg.pl:544 -#, perl-brace-format -msgid "virt-win-reg: {p}: file not found in guest: {err}\n" -msgstr "" -"virt-win-reg: {p}: el archivo no ha sido encontrado en el huésped: {err}\n" - -#: tools/virt-win-reg.pl:529 +#: tools/virt-win-reg.pl:524 #, perl-brace-format msgid "virt-win-reg: {p}: could not download registry file: {err}\n" msgstr "" "virt-win-reg: {p}: no ha sido posible descargar el archivo de registro: " "{err}\n" -#: tools/virt-win-reg.pl:551 +#: tools/virt-win-reg.pl:541 #, perl-brace-format msgid "virt-win-reg: {p}: could not upload registry file: {err}\n" msgstr "" @@ -4465,11 +4461,11 @@ msgstr "" msgid "Align first partition (default: auto)" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:57 +#: ../sysprep/sysprep_operation_hostname.ml:66 msgid "Change the hostname of the guest" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:66 +#: ../sysprep/sysprep_operation_hostname.ml:75 msgid "" "Change the hostname. If not given, defaults to C<localhost.localdomain>." msgstr "" @@ -4702,7 +4698,7 @@ msgstr "" msgid "Never do SELinux relabel" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:65 +#: ../sysprep/sysprep_operation_hostname.ml:74 msgid "New hostname" msgstr "" @@ -4977,7 +4973,7 @@ msgid "" "virtual machine's disk, but it was stored on disk in older distros." msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:58 +#: ../sysprep/sysprep_operation_hostname.ml:67 msgid "" "This operation changes the hostname of the guest to the value\n" "given in the I<--hostname> parameter.\n" @@ -5074,7 +5070,7 @@ msgstr "" msgid "fs" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:65 +#: ../sysprep/sysprep_operation_hostname.ml:74 msgid "hostname" msgstr "" @@ -5250,6 +5246,13 @@ msgstr "" msgid "you cannot use the same disk image for input and output" msgstr "" +#~ msgid "cannot resolve Windows %%SYSTEMROOT%%" +#~ msgstr "no es posible resolver %%SYSTEMROOT%% de Windows" + +#~ msgid "virt-win-reg: {p}: file not found in guest: {err}\n" +#~ msgstr "" +#~ "virt-win-reg: {p}: el archivo no ha sido encontrado en el huésped: {err}\n" + #~ msgid "no subprocess to kill" #~ msgstr "ningún subproceso que finalizar" @@ -10,7 +10,7 @@ msgstr "" "Project-Id-Version: libguestfs\n" "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?" "component=libguestfs&product=Virtualization+Tools\n" -"POT-Creation-Date: 2012-09-19 13:50+0100\n" +"POT-Creation-Date: 2012-10-01 16:29+0100\n" "PO-Revision-Date: 2012-05-21 13:19+0000\n" "Last-Translator: rjones <rjones@redhat.com>\n" "Language-Team: Gujarati <trans-gu@lists.fedoraproject.org>\n" @@ -135,12 +135,12 @@ msgid "" "For more information, see the manpage %s(1).\n" msgstr "" -#: cat/virt-cat.c:358 edit/virt-edit.c:666 fish/fish.c:1582 +#: cat/virt-cat.c:355 edit/virt-edit.c:665 fish/fish.c:1582 #, c-format msgid "%s: to use Windows drive letters, this must be a Windows guest\n" msgstr "" -#: cat/virt-cat.c:372 edit/virt-edit.c:680 +#: cat/virt-cat.c:369 edit/virt-edit.c:679 #, c-format msgid "%s: drive '%c:' not found.\n" msgstr "" @@ -3027,12 +3027,12 @@ msgid "" "For more information, see the manpage %s(1).\n" msgstr "" -#: inspector/virt-inspector.c:254 +#: inspector/virt-inspector.c:251 #, c-format msgid "%s: cannot use --xpath together with other options.\n" msgstr "" -#: inspector/virt-inspector.c:287 +#: inspector/virt-inspector.c:284 #, c-format msgid "" "%s: no operating system could be detected inside this disk image.\n" @@ -3049,52 +3049,52 @@ msgid "" "information about the disk image as possible.\n" msgstr "" -#: inspector/virt-inspector.c:312 +#: inspector/virt-inspector.c:309 #, c-format msgid "%s: XML write error at \"%s\": %m\n" msgstr "" -#: inspector/virt-inspector.c:324 +#: inspector/virt-inspector.c:321 #, c-format msgid "%s: xmlOutputBufferCreateFd: failed to open stdout\n" msgstr "" -#: inspector/virt-inspector.c:332 +#: inspector/virt-inspector.c:329 #, c-format msgid "%s: xmlNewTextWriter: failed to create libxml2 writer\n" msgstr "" -#: inspector/virt-inspector.c:826 +#: inspector/virt-inspector.c:823 #, c-format msgid "%s: unable to parse XML from stdin\n" msgstr "" -#: inspector/virt-inspector.c:832 +#: inspector/virt-inspector.c:829 #, c-format msgid "%s: unable to create new XPath context\n" msgstr "" -#: inspector/virt-inspector.c:839 +#: inspector/virt-inspector.c:836 #, c-format msgid "%s: unable to evaluate XPath expression\n" msgstr "" -#: inspector/virt-inspector.c:850 +#: inspector/virt-inspector.c:847 #, c-format msgid "%s: xmlSaveToFd failed\n" msgstr "" -#: inspector/virt-inspector.c:857 +#: inspector/virt-inspector.c:854 #, c-format msgid "%s: xmlNewDoc failed\n" msgstr "" -#: inspector/virt-inspector.c:862 +#: inspector/virt-inspector.c:859 #, c-format msgid "%s: xmlCopyNode failed\n" msgstr "" -#: inspector/virt-inspector.c:869 +#: inspector/virt-inspector.c:866 #, c-format msgid "%s: xmlSaveDoc failed\n" msgstr "" @@ -3141,7 +3141,7 @@ msgstr "" msgid "{imagename} seems to have no disk devices\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:831 +#: perl/lib/Sys/Guestfs/Lib.pm:834 msgid "" "No operating system could be detected inside this disk image.\n" "\n" @@ -3153,56 +3153,56 @@ msgid "" "information about the disk image as possible.\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:949 +#: perl/lib/Sys/Guestfs/Lib.pm:952 #, perl-brace-format msgid "unknown filesystem {fs}\n" msgstr "અજ્ઞાત ફાઇલસિસ્ટમ {fs}\n" -#: perl/lib/Sys/Guestfs/Lib.pm:1027 +#: perl/lib/Sys/Guestfs/Lib.pm:1030 #, perl-brace-format msgid "Error running rpm -qa: {error}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1053 +#: perl/lib/Sys/Guestfs/Lib.pm:1056 #, perl-brace-format msgid "Error running dpkg-query: {error}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1118 +#: perl/lib/Sys/Guestfs/Lib.pm:1121 msgid "Can't find grub on guest" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1173 +#: perl/lib/Sys/Guestfs/Lib.pm:1176 #, perl-brace-format msgid "Grub entry {title} has no kernel" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1204 +#: perl/lib/Sys/Guestfs/Lib.pm:1207 #, perl-brace-format msgid "grub refers to {path}, which doesn't exist\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1227 +#: perl/lib/Sys/Guestfs/Lib.pm:1230 #, perl-brace-format msgid "Grub entry {title} does not specify an initrd" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1296 +#: perl/lib/Sys/Guestfs/Lib.pm:1299 #, perl-brace-format msgid "Didn't find modules directory {modules} for kernel {path}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1304 +#: perl/lib/Sys/Guestfs/Lib.pm:1307 #, perl-brace-format msgid "Couldn't guess kernel version number from path for kernel {path}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1358 +#: perl/lib/Sys/Guestfs/Lib.pm:1361 #, perl-brace-format msgid "{path} doesn't match augeas pattern" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1397 +#: perl/lib/Sys/Guestfs/Lib.pm:1400 #, perl-brace-format msgid "{filename}: could not read initrd format" msgstr "" @@ -3256,19 +3256,19 @@ msgstr "" msgid "%s: --scratch parameter '%s' should be >= 1\n" msgstr "" -#: rescue/virt-rescue.c:224 +#: rescue/virt-rescue.c:221 #, c-format msgid "%s: could not parse memory size '%s'\n" msgstr "" -#: rescue/virt-rescue.c:396 +#: rescue/virt-rescue.c:393 #, c-format msgid "" "Inspecting the virtual machine or disk image ...\n" "\n" msgstr "" -#: rescue/virt-rescue.c:415 +#: rescue/virt-rescue.c:412 #, c-format msgid "" "This disk contains one or more operating systems. You can use these mount\n" @@ -3276,7 +3276,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:425 +#: rescue/virt-rescue.c:422 #, c-format msgid "" "# %s is the root of a %s operating system\n" @@ -3285,7 +3285,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:482 +#: rescue/virt-rescue.c:479 #, c-format msgid "" "This disk contains no filesystems that we recognize.\n" @@ -3295,7 +3295,7 @@ msgid "" "logical volumes and filesystems on a blank disk.\n" msgstr "" -#: rescue/virt-rescue.c:489 +#: rescue/virt-rescue.c:486 #, c-format msgid "" "This disk contains one or more filesystems, but we don't recognize any\n" @@ -3304,12 +3304,12 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:494 +#: rescue/virt-rescue.c:491 #, c-format msgid "# %s has type '%s'\n" msgstr "" -#: rescue/virt-rescue.c:702 +#: rescue/virt-rescue.c:699 #, c-format msgid "%s: unknown child exit status (%d)\n" msgstr "" @@ -3437,7 +3437,7 @@ msgstr "libguestfs: ભૂલ: %s\n" msgid "<truncated, original size %zu bytes>" msgstr "" -#: src/inspect-apps.c:613 src/inspect.c:546 +#: src/inspect-apps.c:610 src/inspect.c:546 msgid "" "inspection API not available since this version of libguestfs was compiled " "without the hivex library" @@ -3459,11 +3459,6 @@ msgstr "" msgid "could not parse /etc/fstab or empty file" msgstr "" -#: src/inspect-fs-windows.c:167 -#, c-format -msgid "cannot resolve Windows %%SYSTEMROOT%%" -msgstr "" - #: src/inspect-fs.c:365 src/inspect-fs.c:378 #, c-format msgid "could not parse integer in version number: %s" @@ -3534,10 +3529,6 @@ msgstr "" msgid "you must call guestfs_add_drive before guestfs_launch" msgstr "તમારે guestfs_launch પહેલાં guestfs_add_drive ને કોલ કરવુ જ જોઇએ" -#: src/launch.c:1058 src/launch.c:1063 -msgid "guestfs_launch failed, see earlier error messages" -msgstr "guestfs_launch નિષ્ફળ, પહેલાનાં ભૂલ સંદેશાઓને જૂઓ" - #: src/launch.c:1076 msgid "qemu launched and contacted daemon, but state != READY" msgstr "qemu શરૂ થયેલ છે, ડિમનનો સંપર્ક થયેલ છે, પરંતુ state != READY" @@ -3550,12 +3541,23 @@ msgstr "" msgid "contacted guestfsd, but state != READY" msgstr "" -#: src/launch.c:1266 +#: src/launch.c:1226 +msgid "guestfs_launch failed, see earlier error messages" +msgstr "guestfs_launch નિષ્ફળ, પહેલાનાં ભૂલ સંદેશાઓને જૂઓ" + +#: src/launch.c:1228 +msgid "" +"guestfs_launch failed.\n" +"See http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs\n" +"and/or run 'libguestfs-test-tool'." +msgstr "" + +#: src/launch.c:1282 #, c-format msgid "%s: cannot create temporary directory" msgstr "%s: કામચલાઉ ડિરેક્ટરીને બનાવી શકાતી નથી" -#: src/launch.c:1393 +#: src/launch.c:1409 #, c-format msgid "" "command failed: %s\n" @@ -3565,7 +3567,7 @@ msgid "" "environment variable. There may also be errors printed above." msgstr "" -#: src/launch.c:1546 +#: src/launch.c:1562 msgid "qemu has not been launched yet" msgstr "qemu એ હજુ શરૂ કરવામાં આવ્યુ નથી" @@ -3729,67 +3731,67 @@ msgid "" " -V Display libguestfs version and exit\n" msgstr "" -#: test-tool/test-tool.c:111 +#: test-tool/test-tool.c:122 #, c-format msgid "libguestfs-test-tool: failed to create libguestfs handle\n" msgstr "libguestfs-test-tool: libguestfs હેન્ડલને બનાવવાનું નિષ્ફળ\n" -#: test-tool/test-tool.c:117 +#: test-tool/test-tool.c:128 #, c-format msgid "libguestfs-test-tool: guestfs_version failed\n" msgstr "libguestfs-test-tool: guestfs_version નિષ્ફળ\n" -#: test-tool/test-tool.c:133 +#: test-tool/test-tool.c:144 #, c-format msgid "libguestfs-test-tool: unknown long option: %s (%d)\n" msgstr "libguestfs-test-tool: અજ્ઞાત લાંબો વિકલ્પ: %s (%d)\n" -#: test-tool/test-tool.c:142 +#: test-tool/test-tool.c:153 #, c-format msgid "libguestfs-test-tool: invalid timeout: %s\n" msgstr "libguestfs-test-tool: અયોગ્ય સમયસમાપ્તિ: %s\n" -#: test-tool/test-tool.c:161 +#: test-tool/test-tool.c:172 #, c-format msgid "libguestfs-test-tool: unexpected command line option 0x%x\n" msgstr "libguestfs-test-tool: અનિચ્છનીય આદેશ વાક્ય વિકલ્પ 0x%x\n" -#: test-tool/test-tool.c:196 +#: test-tool/test-tool.c:207 #, c-format msgid "libguestfs-test-tool: failed to add drive '%s'\n" msgstr "libguestfs-test-tool: ડ્રાઇવ '%s' ને ઉમેરવાનું નિષ્ફળ\n" -#: test-tool/test-tool.c:233 +#: test-tool/test-tool.c:244 #, c-format msgid "libguestfs-test-tool: failed to launch appliance\n" msgstr "libguestfs-test-tool: સાધનને શરૂ કરવાનું નિષ્ફળ\n" -#: test-tool/test-tool.c:245 +#: test-tool/test-tool.c:256 #, c-format msgid "libguestfs-test-tool: failed to run part-disk\n" msgstr "" -#: test-tool/test-tool.c:251 +#: test-tool/test-tool.c:262 #, c-format msgid "libguestfs-test-tool: failed to mkfs.ext2\n" msgstr "libguestfs-test-tool: mkfs.ext2 કરવાનું નિષ્ફળ\n" -#: test-tool/test-tool.c:257 +#: test-tool/test-tool.c:268 #, c-format msgid "libguestfs-test-tool: failed to mount /dev/sda1 on /\n" msgstr "libguestfs-test-tool: / પર mount /dev/sda1 કરવાનું નિષ્ફળ\n" -#: test-tool/test-tool.c:264 +#: test-tool/test-tool.c:275 #, c-format msgid "libguestfs-test-tool: failed to touch file\n" msgstr "" -#: test-tool/test-tool.c:270 +#: test-tool/test-tool.c:281 #, c-format msgid "libguestfs-test-tool: shutdown failed\n" msgstr "" -#: test-tool/test-tool.c:303 +#: test-tool/test-tool.c:314 #, c-format msgid "" "LIBGUESTFS_QEMU environment variable is already set, so\n" @@ -3798,12 +3800,12 @@ msgstr "" "LIBGUESTFS_QEMU પર્યાવરણ ચલ એ પહેલેથી જ સુયોજિત છે, તેથી\n" "--qemu/--qemudir વિકલ્પોને વાપરી શકાતા નથી.\n" -#: test-tool/test-tool.c:311 +#: test-tool/test-tool.c:322 #, c-format msgid "Binary '%s' does not exist or is not executable\n" msgstr "બાઇનરી '%s' એ અસ્તિત્વ ધરાવતુ નથી અથવા એક્સિક્યૂટેબલ નથી\n" -#: test-tool/test-tool.c:325 +#: test-tool/test-tool.c:336 #, c-format msgid "%s: does not look like a qemu source directory\n" msgstr "%s: qemu સ્ત્રોત ડિરેક્ટરીનાં જેવુ લાગતુ નથી\n" @@ -3919,17 +3921,12 @@ msgstr "" msgid "virt-win-reg: {p}: not a supported Windows Registry path\n" msgstr "" -#: tools/virt-win-reg.pl:522 tools/virt-win-reg.pl:544 -#, perl-brace-format -msgid "virt-win-reg: {p}: file not found in guest: {err}\n" -msgstr "" - -#: tools/virt-win-reg.pl:529 +#: tools/virt-win-reg.pl:524 #, perl-brace-format msgid "virt-win-reg: {p}: could not download registry file: {err}\n" msgstr "" -#: tools/virt-win-reg.pl:551 +#: tools/virt-win-reg.pl:541 #, perl-brace-format msgid "virt-win-reg: {p}: could not upload registry file: {err}\n" msgstr "" @@ -4161,11 +4158,11 @@ msgstr "" msgid "Align first partition (default: auto)" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:57 +#: ../sysprep/sysprep_operation_hostname.ml:66 msgid "Change the hostname of the guest" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:66 +#: ../sysprep/sysprep_operation_hostname.ml:75 msgid "" "Change the hostname. If not given, defaults to C<localhost.localdomain>." msgstr "" @@ -4398,7 +4395,7 @@ msgstr "" msgid "Never do SELinux relabel" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:65 +#: ../sysprep/sysprep_operation_hostname.ml:74 msgid "New hostname" msgstr "" @@ -4673,7 +4670,7 @@ msgid "" "virtual machine's disk, but it was stored on disk in older distros." msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:58 +#: ../sysprep/sysprep_operation_hostname.ml:67 msgid "" "This operation changes the hostname of the guest to the value\n" "given in the I<--hostname> parameter.\n" @@ -4770,7 +4767,7 @@ msgstr "" msgid "fs" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:65 +#: ../sysprep/sysprep_operation_hostname.ml:74 msgid "hostname" msgstr "" @@ -10,7 +10,7 @@ msgstr "" "Project-Id-Version: libguestfs\n" "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?" "component=libguestfs&product=Virtualization+Tools\n" -"POT-Creation-Date: 2012-09-19 13:50+0100\n" +"POT-Creation-Date: 2012-10-01 16:29+0100\n" "PO-Revision-Date: 2012-05-21 13:19+0000\n" "Last-Translator: rjones <rjones@redhat.com>\n" "Language-Team: Hindi <indlinux-hindi@lists.sourceforge.net>\n" @@ -135,12 +135,12 @@ msgid "" "For more information, see the manpage %s(1).\n" msgstr "" -#: cat/virt-cat.c:358 edit/virt-edit.c:666 fish/fish.c:1582 +#: cat/virt-cat.c:355 edit/virt-edit.c:665 fish/fish.c:1582 #, c-format msgid "%s: to use Windows drive letters, this must be a Windows guest\n" msgstr "" -#: cat/virt-cat.c:372 edit/virt-edit.c:680 +#: cat/virt-cat.c:369 edit/virt-edit.c:679 #, c-format msgid "%s: drive '%c:' not found.\n" msgstr "" @@ -3025,12 +3025,12 @@ msgid "" "For more information, see the manpage %s(1).\n" msgstr "" -#: inspector/virt-inspector.c:254 +#: inspector/virt-inspector.c:251 #, c-format msgid "%s: cannot use --xpath together with other options.\n" msgstr "" -#: inspector/virt-inspector.c:287 +#: inspector/virt-inspector.c:284 #, c-format msgid "" "%s: no operating system could be detected inside this disk image.\n" @@ -3047,52 +3047,52 @@ msgid "" "information about the disk image as possible.\n" msgstr "" -#: inspector/virt-inspector.c:312 +#: inspector/virt-inspector.c:309 #, c-format msgid "%s: XML write error at \"%s\": %m\n" msgstr "" -#: inspector/virt-inspector.c:324 +#: inspector/virt-inspector.c:321 #, c-format msgid "%s: xmlOutputBufferCreateFd: failed to open stdout\n" msgstr "" -#: inspector/virt-inspector.c:332 +#: inspector/virt-inspector.c:329 #, c-format msgid "%s: xmlNewTextWriter: failed to create libxml2 writer\n" msgstr "" -#: inspector/virt-inspector.c:826 +#: inspector/virt-inspector.c:823 #, c-format msgid "%s: unable to parse XML from stdin\n" msgstr "" -#: inspector/virt-inspector.c:832 +#: inspector/virt-inspector.c:829 #, c-format msgid "%s: unable to create new XPath context\n" msgstr "" -#: inspector/virt-inspector.c:839 +#: inspector/virt-inspector.c:836 #, c-format msgid "%s: unable to evaluate XPath expression\n" msgstr "" -#: inspector/virt-inspector.c:850 +#: inspector/virt-inspector.c:847 #, c-format msgid "%s: xmlSaveToFd failed\n" msgstr "" -#: inspector/virt-inspector.c:857 +#: inspector/virt-inspector.c:854 #, c-format msgid "%s: xmlNewDoc failed\n" msgstr "" -#: inspector/virt-inspector.c:862 +#: inspector/virt-inspector.c:859 #, c-format msgid "%s: xmlCopyNode failed\n" msgstr "" -#: inspector/virt-inspector.c:869 +#: inspector/virt-inspector.c:866 #, c-format msgid "%s: xmlSaveDoc failed\n" msgstr "" @@ -3139,7 +3139,7 @@ msgstr "" msgid "{imagename} seems to have no disk devices\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:831 +#: perl/lib/Sys/Guestfs/Lib.pm:834 msgid "" "No operating system could be detected inside this disk image.\n" "\n" @@ -3151,56 +3151,56 @@ msgid "" "information about the disk image as possible.\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:949 +#: perl/lib/Sys/Guestfs/Lib.pm:952 #, perl-brace-format msgid "unknown filesystem {fs}\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1027 +#: perl/lib/Sys/Guestfs/Lib.pm:1030 #, perl-brace-format msgid "Error running rpm -qa: {error}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1053 +#: perl/lib/Sys/Guestfs/Lib.pm:1056 #, perl-brace-format msgid "Error running dpkg-query: {error}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1118 +#: perl/lib/Sys/Guestfs/Lib.pm:1121 msgid "Can't find grub on guest" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1173 +#: perl/lib/Sys/Guestfs/Lib.pm:1176 #, perl-brace-format msgid "Grub entry {title} has no kernel" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1204 +#: perl/lib/Sys/Guestfs/Lib.pm:1207 #, perl-brace-format msgid "grub refers to {path}, which doesn't exist\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1227 +#: perl/lib/Sys/Guestfs/Lib.pm:1230 #, perl-brace-format msgid "Grub entry {title} does not specify an initrd" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1296 +#: perl/lib/Sys/Guestfs/Lib.pm:1299 #, perl-brace-format msgid "Didn't find modules directory {modules} for kernel {path}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1304 +#: perl/lib/Sys/Guestfs/Lib.pm:1307 #, perl-brace-format msgid "Couldn't guess kernel version number from path for kernel {path}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1358 +#: perl/lib/Sys/Guestfs/Lib.pm:1361 #, perl-brace-format msgid "{path} doesn't match augeas pattern" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1397 +#: perl/lib/Sys/Guestfs/Lib.pm:1400 #, perl-brace-format msgid "{filename}: could not read initrd format" msgstr "" @@ -3254,19 +3254,19 @@ msgstr "" msgid "%s: --scratch parameter '%s' should be >= 1\n" msgstr "" -#: rescue/virt-rescue.c:224 +#: rescue/virt-rescue.c:221 #, c-format msgid "%s: could not parse memory size '%s'\n" msgstr "" -#: rescue/virt-rescue.c:396 +#: rescue/virt-rescue.c:393 #, c-format msgid "" "Inspecting the virtual machine or disk image ...\n" "\n" msgstr "" -#: rescue/virt-rescue.c:415 +#: rescue/virt-rescue.c:412 #, c-format msgid "" "This disk contains one or more operating systems. You can use these mount\n" @@ -3274,7 +3274,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:425 +#: rescue/virt-rescue.c:422 #, c-format msgid "" "# %s is the root of a %s operating system\n" @@ -3283,7 +3283,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:482 +#: rescue/virt-rescue.c:479 #, c-format msgid "" "This disk contains no filesystems that we recognize.\n" @@ -3293,7 +3293,7 @@ msgid "" "logical volumes and filesystems on a blank disk.\n" msgstr "" -#: rescue/virt-rescue.c:489 +#: rescue/virt-rescue.c:486 #, c-format msgid "" "This disk contains one or more filesystems, but we don't recognize any\n" @@ -3302,12 +3302,12 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:494 +#: rescue/virt-rescue.c:491 #, c-format msgid "# %s has type '%s'\n" msgstr "" -#: rescue/virt-rescue.c:702 +#: rescue/virt-rescue.c:699 #, c-format msgid "%s: unknown child exit status (%d)\n" msgstr "" @@ -3435,7 +3435,7 @@ msgstr "libguestfs: error: %s\n" msgid "<truncated, original size %zu bytes>" msgstr "" -#: src/inspect-apps.c:613 src/inspect.c:546 +#: src/inspect-apps.c:610 src/inspect.c:546 msgid "" "inspection API not available since this version of libguestfs was compiled " "without the hivex library" @@ -3457,11 +3457,6 @@ msgstr "" msgid "could not parse /etc/fstab or empty file" msgstr "" -#: src/inspect-fs-windows.c:167 -#, c-format -msgid "cannot resolve Windows %%SYSTEMROOT%%" -msgstr "" - #: src/inspect-fs.c:365 src/inspect-fs.c:378 #, c-format msgid "could not parse integer in version number: %s" @@ -3532,10 +3527,6 @@ msgstr "" msgid "you must call guestfs_add_drive before guestfs_launch" msgstr "you must call guestfs_add_drive before guestfs_launch" -#: src/launch.c:1058 src/launch.c:1063 -msgid "guestfs_launch failed, see earlier error messages" -msgstr "guestfs_launch विफल, पहले की त्रुटि संदेश देखें" - #: src/launch.c:1076 msgid "qemu launched and contacted daemon, but state != READY" msgstr "qemu launched and contacted daemon, but state != READY" @@ -3548,12 +3539,23 @@ msgstr "" msgid "contacted guestfsd, but state != READY" msgstr "" -#: src/launch.c:1266 +#: src/launch.c:1226 +msgid "guestfs_launch failed, see earlier error messages" +msgstr "guestfs_launch विफल, पहले की त्रुटि संदेश देखें" + +#: src/launch.c:1228 +msgid "" +"guestfs_launch failed.\n" +"See http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs\n" +"and/or run 'libguestfs-test-tool'." +msgstr "" + +#: src/launch.c:1282 #, c-format msgid "%s: cannot create temporary directory" msgstr "%s: को अस्थायी निर्देशिका नहीं बना सकता है" -#: src/launch.c:1393 +#: src/launch.c:1409 #, c-format msgid "" "command failed: %s\n" @@ -3563,7 +3565,7 @@ msgid "" "environment variable. There may also be errors printed above." msgstr "" -#: src/launch.c:1546 +#: src/launch.c:1562 msgid "qemu has not been launched yet" msgstr "qemu को अबतक लॉन्च नहीं किया गया है" @@ -3727,67 +3729,67 @@ msgid "" " -V Display libguestfs version and exit\n" msgstr "" -#: test-tool/test-tool.c:111 +#: test-tool/test-tool.c:122 #, c-format msgid "libguestfs-test-tool: failed to create libguestfs handle\n" msgstr "libguestfs-test-tool: failed to create libguestfs handle\n" -#: test-tool/test-tool.c:117 +#: test-tool/test-tool.c:128 #, c-format msgid "libguestfs-test-tool: guestfs_version failed\n" msgstr "libguestfs-test-tool: guestfs_version failed\n" -#: test-tool/test-tool.c:133 +#: test-tool/test-tool.c:144 #, c-format msgid "libguestfs-test-tool: unknown long option: %s (%d)\n" msgstr "libguestfs-test-tool: unknown long option: %s (%d)\n" -#: test-tool/test-tool.c:142 +#: test-tool/test-tool.c:153 #, c-format msgid "libguestfs-test-tool: invalid timeout: %s\n" msgstr "libguestfs-test-tool: invalid timeout: %s\n" -#: test-tool/test-tool.c:161 +#: test-tool/test-tool.c:172 #, c-format msgid "libguestfs-test-tool: unexpected command line option 0x%x\n" msgstr "libguestfs-test-tool: unexpected command line option 0x%x\n" -#: test-tool/test-tool.c:196 +#: test-tool/test-tool.c:207 #, c-format msgid "libguestfs-test-tool: failed to add drive '%s'\n" msgstr "libguestfs-test-tool: failed to add drive '%s'\n" -#: test-tool/test-tool.c:233 +#: test-tool/test-tool.c:244 #, c-format msgid "libguestfs-test-tool: failed to launch appliance\n" msgstr "libguestfs-test-tool: failed to launch appliance\n" -#: test-tool/test-tool.c:245 +#: test-tool/test-tool.c:256 #, c-format msgid "libguestfs-test-tool: failed to run part-disk\n" msgstr "" -#: test-tool/test-tool.c:251 +#: test-tool/test-tool.c:262 #, c-format msgid "libguestfs-test-tool: failed to mkfs.ext2\n" msgstr "libguestfs-test-tool: failed to mkfs.ext2\n" -#: test-tool/test-tool.c:257 +#: test-tool/test-tool.c:268 #, c-format msgid "libguestfs-test-tool: failed to mount /dev/sda1 on /\n" msgstr "libguestfs-test-tool: failed to mount /dev/sda1 on /\n" -#: test-tool/test-tool.c:264 +#: test-tool/test-tool.c:275 #, c-format msgid "libguestfs-test-tool: failed to touch file\n" msgstr "" -#: test-tool/test-tool.c:270 +#: test-tool/test-tool.c:281 #, c-format msgid "libguestfs-test-tool: shutdown failed\n" msgstr "" -#: test-tool/test-tool.c:303 +#: test-tool/test-tool.c:314 #, c-format msgid "" "LIBGUESTFS_QEMU environment variable is already set, so\n" @@ -3796,12 +3798,12 @@ msgstr "" "LIBGUESTFS_QEMU environment variable is already set, so\n" "--qemu/--qemudir options cannot be used.\n" -#: test-tool/test-tool.c:311 +#: test-tool/test-tool.c:322 #, c-format msgid "Binary '%s' does not exist or is not executable\n" msgstr "द्विपदीय '%s' मौजूद नहीं है या निष्पादनीय नहीं है\n" -#: test-tool/test-tool.c:325 +#: test-tool/test-tool.c:336 #, c-format msgid "%s: does not look like a qemu source directory\n" msgstr "%s: qemu स्रोत निर्देशिका की तरह नहीं दिखता है\n" @@ -3917,17 +3919,12 @@ msgstr "" msgid "virt-win-reg: {p}: not a supported Windows Registry path\n" msgstr "" -#: tools/virt-win-reg.pl:522 tools/virt-win-reg.pl:544 -#, perl-brace-format -msgid "virt-win-reg: {p}: file not found in guest: {err}\n" -msgstr "" - -#: tools/virt-win-reg.pl:529 +#: tools/virt-win-reg.pl:524 #, perl-brace-format msgid "virt-win-reg: {p}: could not download registry file: {err}\n" msgstr "" -#: tools/virt-win-reg.pl:551 +#: tools/virt-win-reg.pl:541 #, perl-brace-format msgid "virt-win-reg: {p}: could not upload registry file: {err}\n" msgstr "" @@ -4159,11 +4156,11 @@ msgstr "" msgid "Align first partition (default: auto)" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:57 +#: ../sysprep/sysprep_operation_hostname.ml:66 msgid "Change the hostname of the guest" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:66 +#: ../sysprep/sysprep_operation_hostname.ml:75 msgid "" "Change the hostname. If not given, defaults to C<localhost.localdomain>." msgstr "" @@ -4396,7 +4393,7 @@ msgstr "" msgid "Never do SELinux relabel" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:65 +#: ../sysprep/sysprep_operation_hostname.ml:74 msgid "New hostname" msgstr "" @@ -4671,7 +4668,7 @@ msgid "" "virtual machine's disk, but it was stored on disk in older distros." msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:58 +#: ../sysprep/sysprep_operation_hostname.ml:67 msgid "" "This operation changes the hostname of the guest to the value\n" "given in the I<--hostname> parameter.\n" @@ -4768,7 +4765,7 @@ msgstr "" msgid "fs" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:65 +#: ../sysprep/sysprep_operation_hostname.ml:74 msgid "hostname" msgstr "" @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: libguestfs\n" "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?" "component=libguestfs&product=Virtualization+Tools\n" -"POT-Creation-Date: 2012-09-19 13:50+0100\n" +"POT-Creation-Date: 2012-10-01 16:29+0100\n" "PO-Revision-Date: 2012-05-21 13:19+0000\n" "Last-Translator: rjones <rjones@redhat.com>\n" "Language-Team: Kannada (http://www.transifex.net/projects/p/fedora/language/" @@ -135,12 +135,12 @@ msgid "" "For more information, see the manpage %s(1).\n" msgstr "" -#: cat/virt-cat.c:358 edit/virt-edit.c:666 fish/fish.c:1582 +#: cat/virt-cat.c:355 edit/virt-edit.c:665 fish/fish.c:1582 #, c-format msgid "%s: to use Windows drive letters, this must be a Windows guest\n" msgstr "" -#: cat/virt-cat.c:372 edit/virt-edit.c:680 +#: cat/virt-cat.c:369 edit/virt-edit.c:679 #, c-format msgid "%s: drive '%c:' not found.\n" msgstr "" @@ -3032,12 +3032,12 @@ msgid "" "For more information, see the manpage %s(1).\n" msgstr "" -#: inspector/virt-inspector.c:254 +#: inspector/virt-inspector.c:251 #, c-format msgid "%s: cannot use --xpath together with other options.\n" msgstr "" -#: inspector/virt-inspector.c:287 +#: inspector/virt-inspector.c:284 #, c-format msgid "" "%s: no operating system could be detected inside this disk image.\n" @@ -3054,52 +3054,52 @@ msgid "" "information about the disk image as possible.\n" msgstr "" -#: inspector/virt-inspector.c:312 +#: inspector/virt-inspector.c:309 #, c-format msgid "%s: XML write error at \"%s\": %m\n" msgstr "" -#: inspector/virt-inspector.c:324 +#: inspector/virt-inspector.c:321 #, c-format msgid "%s: xmlOutputBufferCreateFd: failed to open stdout\n" msgstr "" -#: inspector/virt-inspector.c:332 +#: inspector/virt-inspector.c:329 #, c-format msgid "%s: xmlNewTextWriter: failed to create libxml2 writer\n" msgstr "" -#: inspector/virt-inspector.c:826 +#: inspector/virt-inspector.c:823 #, c-format msgid "%s: unable to parse XML from stdin\n" msgstr "" -#: inspector/virt-inspector.c:832 +#: inspector/virt-inspector.c:829 #, c-format msgid "%s: unable to create new XPath context\n" msgstr "" -#: inspector/virt-inspector.c:839 +#: inspector/virt-inspector.c:836 #, c-format msgid "%s: unable to evaluate XPath expression\n" msgstr "" -#: inspector/virt-inspector.c:850 +#: inspector/virt-inspector.c:847 #, c-format msgid "%s: xmlSaveToFd failed\n" msgstr "" -#: inspector/virt-inspector.c:857 +#: inspector/virt-inspector.c:854 #, c-format msgid "%s: xmlNewDoc failed\n" msgstr "" -#: inspector/virt-inspector.c:862 +#: inspector/virt-inspector.c:859 #, c-format msgid "%s: xmlCopyNode failed\n" msgstr "" -#: inspector/virt-inspector.c:869 +#: inspector/virt-inspector.c:866 #, c-format msgid "%s: xmlSaveDoc failed\n" msgstr "" @@ -3146,7 +3146,7 @@ msgstr "" msgid "{imagename} seems to have no disk devices\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:831 +#: perl/lib/Sys/Guestfs/Lib.pm:834 msgid "" "No operating system could be detected inside this disk image.\n" "\n" @@ -3158,56 +3158,56 @@ msgid "" "information about the disk image as possible.\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:949 +#: perl/lib/Sys/Guestfs/Lib.pm:952 #, perl-brace-format msgid "unknown filesystem {fs}\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1027 +#: perl/lib/Sys/Guestfs/Lib.pm:1030 #, perl-brace-format msgid "Error running rpm -qa: {error}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1053 +#: perl/lib/Sys/Guestfs/Lib.pm:1056 #, perl-brace-format msgid "Error running dpkg-query: {error}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1118 +#: perl/lib/Sys/Guestfs/Lib.pm:1121 msgid "Can't find grub on guest" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1173 +#: perl/lib/Sys/Guestfs/Lib.pm:1176 #, perl-brace-format msgid "Grub entry {title} has no kernel" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1204 +#: perl/lib/Sys/Guestfs/Lib.pm:1207 #, perl-brace-format msgid "grub refers to {path}, which doesn't exist\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1227 +#: perl/lib/Sys/Guestfs/Lib.pm:1230 #, perl-brace-format msgid "Grub entry {title} does not specify an initrd" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1296 +#: perl/lib/Sys/Guestfs/Lib.pm:1299 #, perl-brace-format msgid "Didn't find modules directory {modules} for kernel {path}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1304 +#: perl/lib/Sys/Guestfs/Lib.pm:1307 #, perl-brace-format msgid "Couldn't guess kernel version number from path for kernel {path}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1358 +#: perl/lib/Sys/Guestfs/Lib.pm:1361 #, perl-brace-format msgid "{path} doesn't match augeas pattern" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1397 +#: perl/lib/Sys/Guestfs/Lib.pm:1400 #, perl-brace-format msgid "{filename}: could not read initrd format" msgstr "" @@ -3261,19 +3261,19 @@ msgstr "" msgid "%s: --scratch parameter '%s' should be >= 1\n" msgstr "" -#: rescue/virt-rescue.c:224 +#: rescue/virt-rescue.c:221 #, c-format msgid "%s: could not parse memory size '%s'\n" msgstr "" -#: rescue/virt-rescue.c:396 +#: rescue/virt-rescue.c:393 #, c-format msgid "" "Inspecting the virtual machine or disk image ...\n" "\n" msgstr "" -#: rescue/virt-rescue.c:415 +#: rescue/virt-rescue.c:412 #, c-format msgid "" "This disk contains one or more operating systems. You can use these mount\n" @@ -3281,7 +3281,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:425 +#: rescue/virt-rescue.c:422 #, c-format msgid "" "# %s is the root of a %s operating system\n" @@ -3290,7 +3290,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:482 +#: rescue/virt-rescue.c:479 #, c-format msgid "" "This disk contains no filesystems that we recognize.\n" @@ -3300,7 +3300,7 @@ msgid "" "logical volumes and filesystems on a blank disk.\n" msgstr "" -#: rescue/virt-rescue.c:489 +#: rescue/virt-rescue.c:486 #, c-format msgid "" "This disk contains one or more filesystems, but we don't recognize any\n" @@ -3309,12 +3309,12 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:494 +#: rescue/virt-rescue.c:491 #, c-format msgid "# %s has type '%s'\n" msgstr "" -#: rescue/virt-rescue.c:702 +#: rescue/virt-rescue.c:699 #, c-format msgid "%s: unknown child exit status (%d)\n" msgstr "" @@ -3442,7 +3442,7 @@ msgstr "libguestfs: ದೋಷ: %s\n" msgid "<truncated, original size %zu bytes>" msgstr "" -#: src/inspect-apps.c:613 src/inspect.c:546 +#: src/inspect-apps.c:610 src/inspect.c:546 msgid "" "inspection API not available since this version of libguestfs was compiled " "without the hivex library" @@ -3464,11 +3464,6 @@ msgstr "" msgid "could not parse /etc/fstab or empty file" msgstr "" -#: src/inspect-fs-windows.c:167 -#, c-format -msgid "cannot resolve Windows %%SYSTEMROOT%%" -msgstr "" - #: src/inspect-fs.c:365 src/inspect-fs.c:378 #, c-format msgid "could not parse integer in version number: %s" @@ -3539,10 +3534,6 @@ msgstr "" msgid "you must call guestfs_add_drive before guestfs_launch" msgstr "ನೀವು guestfs_launch ನ ಮೊದಲು guestfs_add_drive ಅನ್ನು ಕರೆಯಬೇಕು" -#: src/launch.c:1058 src/launch.c:1063 -msgid "guestfs_launch failed, see earlier error messages" -msgstr "guestfs_launch ವಿಫಲಗೊಂಡಿದೆ, ಹಿಂದಿನ ದೋಷ ಸಂದೇಶಗಳನ್ನು ನೋಡಿ" - #: src/launch.c:1076 msgid "qemu launched and contacted daemon, but state != READY" msgstr "qemu ಆರಂಭಗೊಂಡಿದೆ ಹಾಗು ಡೀಮನ್ ಅನ್ನು ಸಂಪರ್ಕಿಸಿದೆ, ಆದರೆ != READY ಸ್ಥಿತಿಯಲ್ಲಿದೆ" @@ -3555,12 +3546,23 @@ msgstr "" msgid "contacted guestfsd, but state != READY" msgstr "" -#: src/launch.c:1266 +#: src/launch.c:1226 +msgid "guestfs_launch failed, see earlier error messages" +msgstr "guestfs_launch ವಿಫಲಗೊಂಡಿದೆ, ಹಿಂದಿನ ದೋಷ ಸಂದೇಶಗಳನ್ನು ನೋಡಿ" + +#: src/launch.c:1228 +msgid "" +"guestfs_launch failed.\n" +"See http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs\n" +"and/or run 'libguestfs-test-tool'." +msgstr "" + +#: src/launch.c:1282 #, c-format msgid "%s: cannot create temporary directory" msgstr "%s: ಒಂದು ತಾತ್ಕಾಲಿಕ ಕೋಶವನ್ನು ರಚಿಸಲು ಸಾಧ್ಯವಾಗಿಲ್ಲ" -#: src/launch.c:1393 +#: src/launch.c:1409 #, c-format msgid "" "command failed: %s\n" @@ -3570,7 +3572,7 @@ msgid "" "environment variable. There may also be errors printed above." msgstr "" -#: src/launch.c:1546 +#: src/launch.c:1562 msgid "qemu has not been launched yet" msgstr "qemu ಅನ್ನು ಇನ್ನೂ ಸಹ ಆರಂಭಿಸಲಾಗಿಲ್ಲ" @@ -3735,67 +3737,67 @@ msgid "" " -V Display libguestfs version and exit\n" msgstr "" -#: test-tool/test-tool.c:111 +#: test-tool/test-tool.c:122 #, c-format msgid "libguestfs-test-tool: failed to create libguestfs handle\n" msgstr "libguestfs-test-tool: libguestfs ಹ್ಯಾಂಡಲ್ ಅನ್ನು ರಚಿಸುವಲ್ಲಿ ವಿಫಲಗೊಂಡಿದೆ\n" -#: test-tool/test-tool.c:117 +#: test-tool/test-tool.c:128 #, c-format msgid "libguestfs-test-tool: guestfs_version failed\n" msgstr "libguestfs-test-tool: guestfs_version ವಿಫಲಗೊಂಡಿದೆ\n" -#: test-tool/test-tool.c:133 +#: test-tool/test-tool.c:144 #, c-format msgid "libguestfs-test-tool: unknown long option: %s (%d)\n" msgstr "libguestfs-test-tool: ಗೊತ್ತಿರದ ಉದ್ದ ಆಯ್ಕೆ: %s (%d)\n" -#: test-tool/test-tool.c:142 +#: test-tool/test-tool.c:153 #, c-format msgid "libguestfs-test-tool: invalid timeout: %s\n" msgstr "libguestfs-test-tool: ಅಮಾನ್ಯವಾದ ಕಾಲಾವಧಿ ತೀರಿಕೆ: %s\n" -#: test-tool/test-tool.c:161 +#: test-tool/test-tool.c:172 #, c-format msgid "libguestfs-test-tool: unexpected command line option 0x%x\n" msgstr "libguestfs-test-tool: ಅನಿರೀಕ್ಷಿತವಾದ ಆಜ್ಞಾ ಸಾಲಿನ ಆಯ್ಕೆ 0x%x\n" -#: test-tool/test-tool.c:196 +#: test-tool/test-tool.c:207 #, c-format msgid "libguestfs-test-tool: failed to add drive '%s'\n" msgstr "libguestfs-test-tool: '%s' ಎಂಬ ಡ್ರೈವನ್ನು ಸೇರಿಸುವಲ್ಲಿ ವಿಫಲಗೊಂಡಿದೆ\n" -#: test-tool/test-tool.c:233 +#: test-tool/test-tool.c:244 #, c-format msgid "libguestfs-test-tool: failed to launch appliance\n" msgstr "libguestfs-test-tool: ಅಪ್ಲೈಯನ್ಸ್ ಅನ್ನು ಆರಂಭಿಸುವಲ್ಲಿ ವಿಫಲಗೊಂಡಿದೆ\n" -#: test-tool/test-tool.c:245 +#: test-tool/test-tool.c:256 #, c-format msgid "libguestfs-test-tool: failed to run part-disk\n" msgstr "" -#: test-tool/test-tool.c:251 +#: test-tool/test-tool.c:262 #, c-format msgid "libguestfs-test-tool: failed to mkfs.ext2\n" msgstr "libguestfs-test-tool: mkfs.ext2 ಅನ್ನು ಮಾಡುವಲ್ಲಿ ವಿಫಲಗೊಂಡಿದೆ\n" -#: test-tool/test-tool.c:257 +#: test-tool/test-tool.c:268 #, c-format msgid "libguestfs-test-tool: failed to mount /dev/sda1 on /\n" msgstr "libguestfs-test-tool: /dev/sda1 ಅನ್ನು / ನಲ್ಲಿ ಆರೋಹಿಸಲಾಗಲಿಲ್ಲ\n" -#: test-tool/test-tool.c:264 +#: test-tool/test-tool.c:275 #, c-format msgid "libguestfs-test-tool: failed to touch file\n" msgstr "" -#: test-tool/test-tool.c:270 +#: test-tool/test-tool.c:281 #, c-format msgid "libguestfs-test-tool: shutdown failed\n" msgstr "" -#: test-tool/test-tool.c:303 +#: test-tool/test-tool.c:314 #, c-format msgid "" "LIBGUESTFS_QEMU environment variable is already set, so\n" @@ -3804,12 +3806,12 @@ msgstr "" "LIBGUESTFS_QEMU ಪರಿಸರವನ್ನು ಈಗಾಗಲೆ ಹೊಂದಿಸಲಾಗಿದೆ, ಆದ್ದರಿಂದ\n" "--qemu/--qemudir ಆಯ್ಕೆಗಳನ್ನು ಬಳಸಲಾಗುವುದಿಲ್ಲ.\n" -#: test-tool/test-tool.c:311 +#: test-tool/test-tool.c:322 #, c-format msgid "Binary '%s' does not exist or is not executable\n" msgstr "ಬೈನರಿ '%s' ಅಸ್ತಿತ್ವದಲ್ಲಿಲ್ಲ ಅಥವ ಅದನ್ನು ಕಾರ್ಯಗತಗೊಳಿಸಲು ಸಾಧ್ಯವಿಲ್ಲ\n" -#: test-tool/test-tool.c:325 +#: test-tool/test-tool.c:336 #, c-format msgid "%s: does not look like a qemu source directory\n" msgstr "%s: ಇದು ಒಂದು qemu ಆಕರ ಕೋಶದ ರೀತಿ ಕಾಣಿಸುತ್ತಿಲ್ಲ\n" @@ -3925,17 +3927,12 @@ msgstr "" msgid "virt-win-reg: {p}: not a supported Windows Registry path\n" msgstr "" -#: tools/virt-win-reg.pl:522 tools/virt-win-reg.pl:544 -#, perl-brace-format -msgid "virt-win-reg: {p}: file not found in guest: {err}\n" -msgstr "" - -#: tools/virt-win-reg.pl:529 +#: tools/virt-win-reg.pl:524 #, perl-brace-format msgid "virt-win-reg: {p}: could not download registry file: {err}\n" msgstr "" -#: tools/virt-win-reg.pl:551 +#: tools/virt-win-reg.pl:541 #, perl-brace-format msgid "virt-win-reg: {p}: could not upload registry file: {err}\n" msgstr "" @@ -4167,11 +4164,11 @@ msgstr "" msgid "Align first partition (default: auto)" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:57 +#: ../sysprep/sysprep_operation_hostname.ml:66 msgid "Change the hostname of the guest" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:66 +#: ../sysprep/sysprep_operation_hostname.ml:75 msgid "" "Change the hostname. If not given, defaults to C<localhost.localdomain>." msgstr "" @@ -4404,7 +4401,7 @@ msgstr "" msgid "Never do SELinux relabel" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:65 +#: ../sysprep/sysprep_operation_hostname.ml:74 msgid "New hostname" msgstr "" @@ -4679,7 +4676,7 @@ msgid "" "virtual machine's disk, but it was stored on disk in older distros." msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:58 +#: ../sysprep/sysprep_operation_hostname.ml:67 msgid "" "This operation changes the hostname of the guest to the value\n" "given in the I<--hostname> parameter.\n" @@ -4776,7 +4773,7 @@ msgstr "" msgid "fs" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:65 +#: ../sysprep/sysprep_operation_hostname.ml:74 msgid "hostname" msgstr "" diff --git a/po/libguestfs.pot b/po/libguestfs.pot index d86bc314..3f4a06b8 100644 --- a/po/libguestfs.pot +++ b/po/libguestfs.pot @@ -6,10 +6,10 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: libguestfs 1.18.8\n" +"Project-Id-Version: libguestfs 1.18.9\n" "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?" "component=libguestfs&product=Virtualization+Tools\n" -"POT-Creation-Date: 2012-09-19 13:50+0100\n" +"POT-Creation-Date: 2012-10-01 16:29+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -133,12 +133,12 @@ msgid "" "For more information, see the manpage %s(1).\n" msgstr "" -#: cat/virt-cat.c:358 edit/virt-edit.c:666 fish/fish.c:1582 +#: cat/virt-cat.c:355 edit/virt-edit.c:665 fish/fish.c:1582 #, c-format msgid "%s: to use Windows drive letters, this must be a Windows guest\n" msgstr "" -#: cat/virt-cat.c:372 edit/virt-edit.c:680 +#: cat/virt-cat.c:369 edit/virt-edit.c:679 #, c-format msgid "%s: drive '%c:' not found.\n" msgstr "" @@ -3015,12 +3015,12 @@ msgid "" "For more information, see the manpage %s(1).\n" msgstr "" -#: inspector/virt-inspector.c:254 +#: inspector/virt-inspector.c:251 #, c-format msgid "%s: cannot use --xpath together with other options.\n" msgstr "" -#: inspector/virt-inspector.c:287 +#: inspector/virt-inspector.c:284 #, c-format msgid "" "%s: no operating system could be detected inside this disk image.\n" @@ -3037,52 +3037,52 @@ msgid "" "information about the disk image as possible.\n" msgstr "" -#: inspector/virt-inspector.c:312 +#: inspector/virt-inspector.c:309 #, c-format msgid "%s: XML write error at \"%s\": %m\n" msgstr "" -#: inspector/virt-inspector.c:324 +#: inspector/virt-inspector.c:321 #, c-format msgid "%s: xmlOutputBufferCreateFd: failed to open stdout\n" msgstr "" -#: inspector/virt-inspector.c:332 +#: inspector/virt-inspector.c:329 #, c-format msgid "%s: xmlNewTextWriter: failed to create libxml2 writer\n" msgstr "" -#: inspector/virt-inspector.c:826 +#: inspector/virt-inspector.c:823 #, c-format msgid "%s: unable to parse XML from stdin\n" msgstr "" -#: inspector/virt-inspector.c:832 +#: inspector/virt-inspector.c:829 #, c-format msgid "%s: unable to create new XPath context\n" msgstr "" -#: inspector/virt-inspector.c:839 +#: inspector/virt-inspector.c:836 #, c-format msgid "%s: unable to evaluate XPath expression\n" msgstr "" -#: inspector/virt-inspector.c:850 +#: inspector/virt-inspector.c:847 #, c-format msgid "%s: xmlSaveToFd failed\n" msgstr "" -#: inspector/virt-inspector.c:857 +#: inspector/virt-inspector.c:854 #, c-format msgid "%s: xmlNewDoc failed\n" msgstr "" -#: inspector/virt-inspector.c:862 +#: inspector/virt-inspector.c:859 #, c-format msgid "%s: xmlCopyNode failed\n" msgstr "" -#: inspector/virt-inspector.c:869 +#: inspector/virt-inspector.c:866 #, c-format msgid "%s: xmlSaveDoc failed\n" msgstr "" @@ -3129,7 +3129,7 @@ msgstr "" msgid "{imagename} seems to have no disk devices\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:831 +#: perl/lib/Sys/Guestfs/Lib.pm:834 msgid "" "No operating system could be detected inside this disk image.\n" "\n" @@ -3141,56 +3141,56 @@ msgid "" "information about the disk image as possible.\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:949 +#: perl/lib/Sys/Guestfs/Lib.pm:952 #, perl-brace-format msgid "unknown filesystem {fs}\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1027 +#: perl/lib/Sys/Guestfs/Lib.pm:1030 #, perl-brace-format msgid "Error running rpm -qa: {error}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1053 +#: perl/lib/Sys/Guestfs/Lib.pm:1056 #, perl-brace-format msgid "Error running dpkg-query: {error}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1118 +#: perl/lib/Sys/Guestfs/Lib.pm:1121 msgid "Can't find grub on guest" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1173 +#: perl/lib/Sys/Guestfs/Lib.pm:1176 #, perl-brace-format msgid "Grub entry {title} has no kernel" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1204 +#: perl/lib/Sys/Guestfs/Lib.pm:1207 #, perl-brace-format msgid "grub refers to {path}, which doesn't exist\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1227 +#: perl/lib/Sys/Guestfs/Lib.pm:1230 #, perl-brace-format msgid "Grub entry {title} does not specify an initrd" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1296 +#: perl/lib/Sys/Guestfs/Lib.pm:1299 #, perl-brace-format msgid "Didn't find modules directory {modules} for kernel {path}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1304 +#: perl/lib/Sys/Guestfs/Lib.pm:1307 #, perl-brace-format msgid "Couldn't guess kernel version number from path for kernel {path}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1358 +#: perl/lib/Sys/Guestfs/Lib.pm:1361 #, perl-brace-format msgid "{path} doesn't match augeas pattern" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1397 +#: perl/lib/Sys/Guestfs/Lib.pm:1400 #, perl-brace-format msgid "{filename}: could not read initrd format" msgstr "" @@ -3244,19 +3244,19 @@ msgstr "" msgid "%s: --scratch parameter '%s' should be >= 1\n" msgstr "" -#: rescue/virt-rescue.c:224 +#: rescue/virt-rescue.c:221 #, c-format msgid "%s: could not parse memory size '%s'\n" msgstr "" -#: rescue/virt-rescue.c:396 +#: rescue/virt-rescue.c:393 #, c-format msgid "" "Inspecting the virtual machine or disk image ...\n" "\n" msgstr "" -#: rescue/virt-rescue.c:415 +#: rescue/virt-rescue.c:412 #, c-format msgid "" "This disk contains one or more operating systems. You can use these mount\n" @@ -3264,7 +3264,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:425 +#: rescue/virt-rescue.c:422 #, c-format msgid "" "# %s is the root of a %s operating system\n" @@ -3273,7 +3273,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:482 +#: rescue/virt-rescue.c:479 #, c-format msgid "" "This disk contains no filesystems that we recognize.\n" @@ -3283,7 +3283,7 @@ msgid "" "logical volumes and filesystems on a blank disk.\n" msgstr "" -#: rescue/virt-rescue.c:489 +#: rescue/virt-rescue.c:486 #, c-format msgid "" "This disk contains one or more filesystems, but we don't recognize any\n" @@ -3292,12 +3292,12 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:494 +#: rescue/virt-rescue.c:491 #, c-format msgid "# %s has type '%s'\n" msgstr "" -#: rescue/virt-rescue.c:702 +#: rescue/virt-rescue.c:699 #, c-format msgid "%s: unknown child exit status (%d)\n" msgstr "" @@ -3425,7 +3425,7 @@ msgstr "" msgid "<truncated, original size %zu bytes>" msgstr "" -#: src/inspect-apps.c:613 src/inspect.c:546 +#: src/inspect-apps.c:610 src/inspect.c:546 msgid "" "inspection API not available since this version of libguestfs was compiled " "without the hivex library" @@ -3447,11 +3447,6 @@ msgstr "" msgid "could not parse /etc/fstab or empty file" msgstr "" -#: src/inspect-fs-windows.c:167 -#, c-format -msgid "cannot resolve Windows %%SYSTEMROOT%%" -msgstr "" - #: src/inspect-fs.c:365 src/inspect-fs.c:378 #, c-format msgid "could not parse integer in version number: %s" @@ -3522,10 +3517,6 @@ msgstr "" msgid "you must call guestfs_add_drive before guestfs_launch" msgstr "" -#: src/launch.c:1058 src/launch.c:1063 -msgid "guestfs_launch failed, see earlier error messages" -msgstr "" - #: src/launch.c:1076 msgid "qemu launched and contacted daemon, but state != READY" msgstr "" @@ -3538,12 +3529,23 @@ msgstr "" msgid "contacted guestfsd, but state != READY" msgstr "" -#: src/launch.c:1266 +#: src/launch.c:1226 +msgid "guestfs_launch failed, see earlier error messages" +msgstr "" + +#: src/launch.c:1228 +msgid "" +"guestfs_launch failed.\n" +"See http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs\n" +"and/or run 'libguestfs-test-tool'." +msgstr "" + +#: src/launch.c:1282 #, c-format msgid "%s: cannot create temporary directory" msgstr "" -#: src/launch.c:1393 +#: src/launch.c:1409 #, c-format msgid "" "command failed: %s\n" @@ -3553,7 +3555,7 @@ msgid "" "environment variable. There may also be errors printed above." msgstr "" -#: src/launch.c:1546 +#: src/launch.c:1562 msgid "qemu has not been launched yet" msgstr "" @@ -3716,79 +3718,79 @@ msgid "" " -V Display libguestfs version and exit\n" msgstr "" -#: test-tool/test-tool.c:111 +#: test-tool/test-tool.c:122 #, c-format msgid "libguestfs-test-tool: failed to create libguestfs handle\n" msgstr "" -#: test-tool/test-tool.c:117 +#: test-tool/test-tool.c:128 #, c-format msgid "libguestfs-test-tool: guestfs_version failed\n" msgstr "" -#: test-tool/test-tool.c:133 +#: test-tool/test-tool.c:144 #, c-format msgid "libguestfs-test-tool: unknown long option: %s (%d)\n" msgstr "" -#: test-tool/test-tool.c:142 +#: test-tool/test-tool.c:153 #, c-format msgid "libguestfs-test-tool: invalid timeout: %s\n" msgstr "" -#: test-tool/test-tool.c:161 +#: test-tool/test-tool.c:172 #, c-format msgid "libguestfs-test-tool: unexpected command line option 0x%x\n" msgstr "" -#: test-tool/test-tool.c:196 +#: test-tool/test-tool.c:207 #, c-format msgid "libguestfs-test-tool: failed to add drive '%s'\n" msgstr "" -#: test-tool/test-tool.c:233 +#: test-tool/test-tool.c:244 #, c-format msgid "libguestfs-test-tool: failed to launch appliance\n" msgstr "" -#: test-tool/test-tool.c:245 +#: test-tool/test-tool.c:256 #, c-format msgid "libguestfs-test-tool: failed to run part-disk\n" msgstr "" -#: test-tool/test-tool.c:251 +#: test-tool/test-tool.c:262 #, c-format msgid "libguestfs-test-tool: failed to mkfs.ext2\n" msgstr "" -#: test-tool/test-tool.c:257 +#: test-tool/test-tool.c:268 #, c-format msgid "libguestfs-test-tool: failed to mount /dev/sda1 on /\n" msgstr "" -#: test-tool/test-tool.c:264 +#: test-tool/test-tool.c:275 #, c-format msgid "libguestfs-test-tool: failed to touch file\n" msgstr "" -#: test-tool/test-tool.c:270 +#: test-tool/test-tool.c:281 #, c-format msgid "libguestfs-test-tool: shutdown failed\n" msgstr "" -#: test-tool/test-tool.c:303 +#: test-tool/test-tool.c:314 #, c-format msgid "" "LIBGUESTFS_QEMU environment variable is already set, so\n" "--qemu/--qemudir options cannot be used.\n" msgstr "" -#: test-tool/test-tool.c:311 +#: test-tool/test-tool.c:322 #, c-format msgid "Binary '%s' does not exist or is not executable\n" msgstr "" -#: test-tool/test-tool.c:325 +#: test-tool/test-tool.c:336 #, c-format msgid "%s: does not look like a qemu source directory\n" msgstr "" @@ -3904,17 +3906,12 @@ msgstr "" msgid "virt-win-reg: {p}: not a supported Windows Registry path\n" msgstr "" -#: tools/virt-win-reg.pl:522 tools/virt-win-reg.pl:544 -#, perl-brace-format -msgid "virt-win-reg: {p}: file not found in guest: {err}\n" -msgstr "" - -#: tools/virt-win-reg.pl:529 +#: tools/virt-win-reg.pl:524 #, perl-brace-format msgid "virt-win-reg: {p}: could not download registry file: {err}\n" msgstr "" -#: tools/virt-win-reg.pl:551 +#: tools/virt-win-reg.pl:541 #, perl-brace-format msgid "virt-win-reg: {p}: could not upload registry file: {err}\n" msgstr "" @@ -4095,11 +4092,11 @@ msgstr "" msgid "Align first partition (default: auto)" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:57 +#: ../sysprep/sysprep_operation_hostname.ml:66 msgid "Change the hostname of the guest" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:66 +#: ../sysprep/sysprep_operation_hostname.ml:75 msgid "Change the hostname. If not given, defaults to C<localhost.localdomain>." msgstr "" @@ -4297,7 +4294,7 @@ msgstr "" msgid "Never do SELinux relabel" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:65 +#: ../sysprep/sysprep_operation_hostname.ml:74 msgid "New hostname" msgstr "" @@ -4501,7 +4498,7 @@ msgstr "" msgid "This file records who is currently logged in on a machine. In modern\nLinux distros it is stored in a ramdisk and hence not part of the\nvirtual machine's disk, but it was stored on disk in older distros." msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:58 +#: ../sysprep/sysprep_operation_hostname.ml:67 msgid "This operation changes the hostname of the guest to the value\ngiven in the I<--hostname> parameter.\n\nIf the I<--hostname> parameter is not given, then the hostname is changed\nto C<localhost.localdomain>." msgstr "" @@ -4580,7 +4577,7 @@ msgstr "" msgid "fs" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:65 +#: ../sysprep/sysprep_operation_hostname.ml:74 msgid "hostname" msgstr "" @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: libguestfs\n" "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?" "component=libguestfs&product=Virtualization+Tools\n" -"POT-Creation-Date: 2012-09-19 13:50+0100\n" +"POT-Creation-Date: 2012-10-01 16:29+0100\n" "PO-Revision-Date: 2012-05-21 13:19+0000\n" "Last-Translator: rjones <rjones@redhat.com>\n" "Language-Team: Malayalam <discuss@lists.smc.org.in>\n" @@ -134,12 +134,12 @@ msgid "" "For more information, see the manpage %s(1).\n" msgstr "" -#: cat/virt-cat.c:358 edit/virt-edit.c:666 fish/fish.c:1582 +#: cat/virt-cat.c:355 edit/virt-edit.c:665 fish/fish.c:1582 #, c-format msgid "%s: to use Windows drive letters, this must be a Windows guest\n" msgstr "" -#: cat/virt-cat.c:372 edit/virt-edit.c:680 +#: cat/virt-cat.c:369 edit/virt-edit.c:679 #, c-format msgid "%s: drive '%c:' not found.\n" msgstr "" @@ -3027,12 +3027,12 @@ msgid "" "For more information, see the manpage %s(1).\n" msgstr "" -#: inspector/virt-inspector.c:254 +#: inspector/virt-inspector.c:251 #, c-format msgid "%s: cannot use --xpath together with other options.\n" msgstr "" -#: inspector/virt-inspector.c:287 +#: inspector/virt-inspector.c:284 #, c-format msgid "" "%s: no operating system could be detected inside this disk image.\n" @@ -3049,52 +3049,52 @@ msgid "" "information about the disk image as possible.\n" msgstr "" -#: inspector/virt-inspector.c:312 +#: inspector/virt-inspector.c:309 #, c-format msgid "%s: XML write error at \"%s\": %m\n" msgstr "" -#: inspector/virt-inspector.c:324 +#: inspector/virt-inspector.c:321 #, c-format msgid "%s: xmlOutputBufferCreateFd: failed to open stdout\n" msgstr "" -#: inspector/virt-inspector.c:332 +#: inspector/virt-inspector.c:329 #, c-format msgid "%s: xmlNewTextWriter: failed to create libxml2 writer\n" msgstr "" -#: inspector/virt-inspector.c:826 +#: inspector/virt-inspector.c:823 #, c-format msgid "%s: unable to parse XML from stdin\n" msgstr "" -#: inspector/virt-inspector.c:832 +#: inspector/virt-inspector.c:829 #, c-format msgid "%s: unable to create new XPath context\n" msgstr "" -#: inspector/virt-inspector.c:839 +#: inspector/virt-inspector.c:836 #, c-format msgid "%s: unable to evaluate XPath expression\n" msgstr "" -#: inspector/virt-inspector.c:850 +#: inspector/virt-inspector.c:847 #, c-format msgid "%s: xmlSaveToFd failed\n" msgstr "" -#: inspector/virt-inspector.c:857 +#: inspector/virt-inspector.c:854 #, c-format msgid "%s: xmlNewDoc failed\n" msgstr "" -#: inspector/virt-inspector.c:862 +#: inspector/virt-inspector.c:859 #, c-format msgid "%s: xmlCopyNode failed\n" msgstr "" -#: inspector/virt-inspector.c:869 +#: inspector/virt-inspector.c:866 #, c-format msgid "%s: xmlSaveDoc failed\n" msgstr "" @@ -3141,7 +3141,7 @@ msgstr "" msgid "{imagename} seems to have no disk devices\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:831 +#: perl/lib/Sys/Guestfs/Lib.pm:834 msgid "" "No operating system could be detected inside this disk image.\n" "\n" @@ -3153,56 +3153,56 @@ msgid "" "information about the disk image as possible.\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:949 +#: perl/lib/Sys/Guestfs/Lib.pm:952 #, perl-brace-format msgid "unknown filesystem {fs}\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1027 +#: perl/lib/Sys/Guestfs/Lib.pm:1030 #, perl-brace-format msgid "Error running rpm -qa: {error}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1053 +#: perl/lib/Sys/Guestfs/Lib.pm:1056 #, perl-brace-format msgid "Error running dpkg-query: {error}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1118 +#: perl/lib/Sys/Guestfs/Lib.pm:1121 msgid "Can't find grub on guest" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1173 +#: perl/lib/Sys/Guestfs/Lib.pm:1176 #, perl-brace-format msgid "Grub entry {title} has no kernel" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1204 +#: perl/lib/Sys/Guestfs/Lib.pm:1207 #, perl-brace-format msgid "grub refers to {path}, which doesn't exist\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1227 +#: perl/lib/Sys/Guestfs/Lib.pm:1230 #, perl-brace-format msgid "Grub entry {title} does not specify an initrd" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1296 +#: perl/lib/Sys/Guestfs/Lib.pm:1299 #, perl-brace-format msgid "Didn't find modules directory {modules} for kernel {path}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1304 +#: perl/lib/Sys/Guestfs/Lib.pm:1307 #, perl-brace-format msgid "Couldn't guess kernel version number from path for kernel {path}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1358 +#: perl/lib/Sys/Guestfs/Lib.pm:1361 #, perl-brace-format msgid "{path} doesn't match augeas pattern" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1397 +#: perl/lib/Sys/Guestfs/Lib.pm:1400 #, perl-brace-format msgid "{filename}: could not read initrd format" msgstr "" @@ -3256,19 +3256,19 @@ msgstr "" msgid "%s: --scratch parameter '%s' should be >= 1\n" msgstr "" -#: rescue/virt-rescue.c:224 +#: rescue/virt-rescue.c:221 #, c-format msgid "%s: could not parse memory size '%s'\n" msgstr "" -#: rescue/virt-rescue.c:396 +#: rescue/virt-rescue.c:393 #, c-format msgid "" "Inspecting the virtual machine or disk image ...\n" "\n" msgstr "" -#: rescue/virt-rescue.c:415 +#: rescue/virt-rescue.c:412 #, c-format msgid "" "This disk contains one or more operating systems. You can use these mount\n" @@ -3276,7 +3276,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:425 +#: rescue/virt-rescue.c:422 #, c-format msgid "" "# %s is the root of a %s operating system\n" @@ -3285,7 +3285,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:482 +#: rescue/virt-rescue.c:479 #, c-format msgid "" "This disk contains no filesystems that we recognize.\n" @@ -3295,7 +3295,7 @@ msgid "" "logical volumes and filesystems on a blank disk.\n" msgstr "" -#: rescue/virt-rescue.c:489 +#: rescue/virt-rescue.c:486 #, c-format msgid "" "This disk contains one or more filesystems, but we don't recognize any\n" @@ -3304,12 +3304,12 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:494 +#: rescue/virt-rescue.c:491 #, c-format msgid "# %s has type '%s'\n" msgstr "" -#: rescue/virt-rescue.c:702 +#: rescue/virt-rescue.c:699 #, c-format msgid "%s: unknown child exit status (%d)\n" msgstr "" @@ -3437,7 +3437,7 @@ msgstr "libguestfs: പിശക്: %s\n" msgid "<truncated, original size %zu bytes>" msgstr "" -#: src/inspect-apps.c:613 src/inspect.c:546 +#: src/inspect-apps.c:610 src/inspect.c:546 msgid "" "inspection API not available since this version of libguestfs was compiled " "without the hivex library" @@ -3459,11 +3459,6 @@ msgstr "" msgid "could not parse /etc/fstab or empty file" msgstr "" -#: src/inspect-fs-windows.c:167 -#, c-format -msgid "cannot resolve Windows %%SYSTEMROOT%%" -msgstr "" - #: src/inspect-fs.c:365 src/inspect-fs.c:378 #, c-format msgid "could not parse integer in version number: %s" @@ -3534,10 +3529,6 @@ msgstr "" msgid "you must call guestfs_add_drive before guestfs_launch" msgstr "guestfs_launch-നു് മുമ്പു് guestfs_add_drive വിളിക്കേണ്ടതു്" -#: src/launch.c:1058 src/launch.c:1063 -msgid "guestfs_launch failed, see earlier error messages" -msgstr "guestfs_launch പരാജയപ്പെട്ടു, മുമ്പുള്ള പിശക് സന്ദേശങ്ങള് കാണുക" - #: src/launch.c:1076 msgid "qemu launched and contacted daemon, but state != READY" msgstr "qemu വിന്യസിച്ചു് ഡെമണുമായി ബന്ധപ്പെട്ടു, പക്ഷേ state != READY" @@ -3550,12 +3541,23 @@ msgstr "" msgid "contacted guestfsd, but state != READY" msgstr "" -#: src/launch.c:1266 +#: src/launch.c:1226 +msgid "guestfs_launch failed, see earlier error messages" +msgstr "guestfs_launch പരാജയപ്പെട്ടു, മുമ്പുള്ള പിശക് സന്ദേശങ്ങള് കാണുക" + +#: src/launch.c:1228 +msgid "" +"guestfs_launch failed.\n" +"See http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs\n" +"and/or run 'libguestfs-test-tool'." +msgstr "" + +#: src/launch.c:1282 #, c-format msgid "%s: cannot create temporary directory" msgstr "%s: താല്ക്കാലിക ഡയറക്ടറി ഉണ്ടാക്കുവാന് സാധ്യമല്ല" -#: src/launch.c:1393 +#: src/launch.c:1409 #, c-format msgid "" "command failed: %s\n" @@ -3565,7 +3567,7 @@ msgid "" "environment variable. There may also be errors printed above." msgstr "" -#: src/launch.c:1546 +#: src/launch.c:1562 msgid "qemu has not been launched yet" msgstr "qemu ഇതുവരെ വിന്യസിച്ചിട്ടില്ല" @@ -3729,67 +3731,67 @@ msgid "" " -V Display libguestfs version and exit\n" msgstr "" -#: test-tool/test-tool.c:111 +#: test-tool/test-tool.c:122 #, c-format msgid "libguestfs-test-tool: failed to create libguestfs handle\n" msgstr "libguestfs-test-tool: libguestfs ഹാന്ഡില് ഉണ്ടാക്കുന്നതില് പരാജയപ്പെട്ടു\n" -#: test-tool/test-tool.c:117 +#: test-tool/test-tool.c:128 #, c-format msgid "libguestfs-test-tool: guestfs_version failed\n" msgstr "libguestfs-test-tool: guestfs_version പരാജയപ്പെട്ടു\n" -#: test-tool/test-tool.c:133 +#: test-tool/test-tool.c:144 #, c-format msgid "libguestfs-test-tool: unknown long option: %s (%d)\n" msgstr "libguestfs-test-tool: അപരിചിതമായ ലോങ് ഉപാധി: %s (%d)\n" -#: test-tool/test-tool.c:142 +#: test-tool/test-tool.c:153 #, c-format msgid "libguestfs-test-tool: invalid timeout: %s\n" msgstr "libguestfs-test-tool: invalid timeout: %s\n" -#: test-tool/test-tool.c:161 +#: test-tool/test-tool.c:172 #, c-format msgid "libguestfs-test-tool: unexpected command line option 0x%x\n" msgstr "libguestfs-test-tool: അപ്രതീക്ഷിതമായ കമാന്ഡ് ലൈന് ഉപാധി 0x%x\n" -#: test-tool/test-tool.c:196 +#: test-tool/test-tool.c:207 #, c-format msgid "libguestfs-test-tool: failed to add drive '%s'\n" msgstr "libguestfs-test-tool: ഡ്രൈവ് '%s' ചേര്ക്കുന്നതില് പരാജയപ്പെട്ടു\n" -#: test-tool/test-tool.c:233 +#: test-tool/test-tool.c:244 #, c-format msgid "libguestfs-test-tool: failed to launch appliance\n" msgstr "libguestfs-test-tool: പ്രയോഗം ലഭ്യമാക്കുന്നതില് പരാജയപ്പെട്ടു\n" -#: test-tool/test-tool.c:245 +#: test-tool/test-tool.c:256 #, c-format msgid "libguestfs-test-tool: failed to run part-disk\n" msgstr "" -#: test-tool/test-tool.c:251 +#: test-tool/test-tool.c:262 #, c-format msgid "libguestfs-test-tool: failed to mkfs.ext2\n" msgstr "libguestfs-test-tool: mkfs.ext2 പരാജയപ്പെട്ടു\n" -#: test-tool/test-tool.c:257 +#: test-tool/test-tool.c:268 #, c-format msgid "libguestfs-test-tool: failed to mount /dev/sda1 on /\n" msgstr "libguestfs-test-tool: /dev/sda1 /-ല് മൌണ്ട് ചെയ്യുന്നതില് പരാജയപ്പെട്ടു\n" -#: test-tool/test-tool.c:264 +#: test-tool/test-tool.c:275 #, c-format msgid "libguestfs-test-tool: failed to touch file\n" msgstr "" -#: test-tool/test-tool.c:270 +#: test-tool/test-tool.c:281 #, c-format msgid "libguestfs-test-tool: shutdown failed\n" msgstr "" -#: test-tool/test-tool.c:303 +#: test-tool/test-tool.c:314 #, c-format msgid "" "LIBGUESTFS_QEMU environment variable is already set, so\n" @@ -3798,12 +3800,12 @@ msgstr "" "LIBGUESTFS_QEMU എന്വയോണ്മെന്റ് വേരിയബിള് നിലവില് സജ്ജമാണു്, അതിനാല്\n" "--qemu/--qemudir ഉപാധികള് ഉപയോഗിക്കുവാന് സാധ്യമല്ല.\n" -#: test-tool/test-tool.c:311 +#: test-tool/test-tool.c:322 #, c-format msgid "Binary '%s' does not exist or is not executable\n" msgstr "ബൈനറി '%s' നിലവിലില്ല അല്ലെങ്കില് പ്രവര്ത്തിക്കുന്നില്ല\n" -#: test-tool/test-tool.c:325 +#: test-tool/test-tool.c:336 #, c-format msgid "%s: does not look like a qemu source directory\n" msgstr "%s: qemu ഉറവിട ഡയറക്ടറിയില് നിന്നും വ്യത്യസ്ഥമാണു്\n" @@ -3919,17 +3921,12 @@ msgstr "" msgid "virt-win-reg: {p}: not a supported Windows Registry path\n" msgstr "" -#: tools/virt-win-reg.pl:522 tools/virt-win-reg.pl:544 -#, perl-brace-format -msgid "virt-win-reg: {p}: file not found in guest: {err}\n" -msgstr "" - -#: tools/virt-win-reg.pl:529 +#: tools/virt-win-reg.pl:524 #, perl-brace-format msgid "virt-win-reg: {p}: could not download registry file: {err}\n" msgstr "" -#: tools/virt-win-reg.pl:551 +#: tools/virt-win-reg.pl:541 #, perl-brace-format msgid "virt-win-reg: {p}: could not upload registry file: {err}\n" msgstr "" @@ -4161,11 +4158,11 @@ msgstr "" msgid "Align first partition (default: auto)" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:57 +#: ../sysprep/sysprep_operation_hostname.ml:66 msgid "Change the hostname of the guest" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:66 +#: ../sysprep/sysprep_operation_hostname.ml:75 msgid "" "Change the hostname. If not given, defaults to C<localhost.localdomain>." msgstr "" @@ -4398,7 +4395,7 @@ msgstr "" msgid "Never do SELinux relabel" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:65 +#: ../sysprep/sysprep_operation_hostname.ml:74 msgid "New hostname" msgstr "" @@ -4673,7 +4670,7 @@ msgid "" "virtual machine's disk, but it was stored on disk in older distros." msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:58 +#: ../sysprep/sysprep_operation_hostname.ml:67 msgid "" "This operation changes the hostname of the guest to the value\n" "given in the I<--hostname> parameter.\n" @@ -4770,7 +4767,7 @@ msgstr "" msgid "fs" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:65 +#: ../sysprep/sysprep_operation_hostname.ml:74 msgid "hostname" msgstr "" @@ -10,7 +10,7 @@ msgstr "" "Project-Id-Version: libguestfs\n" "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?" "component=libguestfs&product=Virtualization+Tools\n" -"POT-Creation-Date: 2012-09-19 13:50+0100\n" +"POT-Creation-Date: 2012-10-01 16:29+0100\n" "PO-Revision-Date: 2012-05-21 13:19+0000\n" "Last-Translator: rjones <rjones@redhat.com>\n" "Language-Team: Marathi (http://www.transifex.net/projects/p/fedora/language/" @@ -153,12 +153,12 @@ msgstr "" " -x libguestfs API कॉल्स् ट्रेस करा\n" "अधिक माहितीकरीता, manpage %s(1) पहा.\n" -#: cat/virt-cat.c:358 edit/virt-edit.c:666 fish/fish.c:1582 +#: cat/virt-cat.c:355 edit/virt-edit.c:665 fish/fish.c:1582 #, c-format msgid "%s: to use Windows drive letters, this must be a Windows guest\n" msgstr "" -#: cat/virt-cat.c:372 edit/virt-edit.c:680 +#: cat/virt-cat.c:369 edit/virt-edit.c:679 #, c-format msgid "%s: drive '%c:' not found.\n" msgstr "" @@ -3133,12 +3133,12 @@ msgid "" "For more information, see the manpage %s(1).\n" msgstr "" -#: inspector/virt-inspector.c:254 +#: inspector/virt-inspector.c:251 #, c-format msgid "%s: cannot use --xpath together with other options.\n" msgstr "" -#: inspector/virt-inspector.c:287 +#: inspector/virt-inspector.c:284 #, c-format msgid "" "%s: no operating system could be detected inside this disk image.\n" @@ -3165,52 +3165,52 @@ msgstr "" "ही त्रुटी आहे असे आढळल्यास, कृपया बग अहवाल सादर करा ज्यामध्ये \n" "डिस्क प्रतिमाविषयी जास्तित जास्त माहिती समाविष्टीत असेल.\n" -#: inspector/virt-inspector.c:312 +#: inspector/virt-inspector.c:309 #, c-format msgid "%s: XML write error at \"%s\": %m\n" msgstr "%s: \"%s\" येथे XML लेखन त्रुटी आढळली: %m\n" -#: inspector/virt-inspector.c:324 +#: inspector/virt-inspector.c:321 #, c-format msgid "%s: xmlOutputBufferCreateFd: failed to open stdout\n" msgstr "%s: xmlOutputBufferCreateFd: stdout उघडण्यास अपयशी\n" -#: inspector/virt-inspector.c:332 +#: inspector/virt-inspector.c:329 #, c-format msgid "%s: xmlNewTextWriter: failed to create libxml2 writer\n" msgstr "%s: xmlNewTextWriter: libxml2 राइटर निर्माण करण्यास अपयशी\n" -#: inspector/virt-inspector.c:826 +#: inspector/virt-inspector.c:823 #, c-format msgid "%s: unable to parse XML from stdin\n" msgstr "" -#: inspector/virt-inspector.c:832 +#: inspector/virt-inspector.c:829 #, c-format msgid "%s: unable to create new XPath context\n" msgstr "" -#: inspector/virt-inspector.c:839 +#: inspector/virt-inspector.c:836 #, c-format msgid "%s: unable to evaluate XPath expression\n" msgstr "" -#: inspector/virt-inspector.c:850 +#: inspector/virt-inspector.c:847 #, c-format msgid "%s: xmlSaveToFd failed\n" msgstr "" -#: inspector/virt-inspector.c:857 +#: inspector/virt-inspector.c:854 #, c-format msgid "%s: xmlNewDoc failed\n" msgstr "" -#: inspector/virt-inspector.c:862 +#: inspector/virt-inspector.c:859 #, c-format msgid "%s: xmlCopyNode failed\n" msgstr "" -#: inspector/virt-inspector.c:869 +#: inspector/virt-inspector.c:866 #, c-format msgid "%s: xmlSaveDoc failed\n" msgstr "" @@ -3259,7 +3259,7 @@ msgstr "{imagename} हे libvirt डोमेनचे नाव नाही\ msgid "{imagename} seems to have no disk devices\n" msgstr "{imagename} कडे डिस्क साधणे नाही असे आढळते\n" -#: perl/lib/Sys/Guestfs/Lib.pm:831 +#: perl/lib/Sys/Guestfs/Lib.pm:834 msgid "" "No operating system could be detected inside this disk image.\n" "\n" @@ -3278,56 +3278,56 @@ msgstr "" "ही त्रुटी आहे असे आढळल्यास, \n" "कृपया डिस्क प्रतिमाविषयी जास्तित जास्त माहिती समाविष्ट करून बग अहवाल सादर करा.\n" -#: perl/lib/Sys/Guestfs/Lib.pm:949 +#: perl/lib/Sys/Guestfs/Lib.pm:952 #, perl-brace-format msgid "unknown filesystem {fs}\n" msgstr "अपरिचीत फाइलप्रणाली {fs}\n" -#: perl/lib/Sys/Guestfs/Lib.pm:1027 +#: perl/lib/Sys/Guestfs/Lib.pm:1030 #, perl-brace-format msgid "Error running rpm -qa: {error}" msgstr "rpm -qa चालवतेवेळी त्रुटी: {error}" -#: perl/lib/Sys/Guestfs/Lib.pm:1053 +#: perl/lib/Sys/Guestfs/Lib.pm:1056 #, perl-brace-format msgid "Error running dpkg-query: {error}" msgstr "dpkg-query चालवतेवेळी त्रुटी: {error}" -#: perl/lib/Sys/Guestfs/Lib.pm:1118 +#: perl/lib/Sys/Guestfs/Lib.pm:1121 msgid "Can't find grub on guest" msgstr "अतिथीवर ग्रब आढळले नाही" -#: perl/lib/Sys/Guestfs/Lib.pm:1173 +#: perl/lib/Sys/Guestfs/Lib.pm:1176 #, perl-brace-format msgid "Grub entry {title} has no kernel" msgstr "ग्रब नोंदणी {title} मध्ये कर्नल आढळले नाही" -#: perl/lib/Sys/Guestfs/Lib.pm:1204 +#: perl/lib/Sys/Guestfs/Lib.pm:1207 #, perl-brace-format msgid "grub refers to {path}, which doesn't exist\n" msgstr "ग्रब {path} करीता निर्देशीत आहे, जे अस्तित्वात नाही\n" -#: perl/lib/Sys/Guestfs/Lib.pm:1227 +#: perl/lib/Sys/Guestfs/Lib.pm:1230 #, perl-brace-format msgid "Grub entry {title} does not specify an initrd" msgstr "ग्रब नोंदणी {title} initrd निर्देशीत करत नाही" -#: perl/lib/Sys/Guestfs/Lib.pm:1296 +#: perl/lib/Sys/Guestfs/Lib.pm:1299 #, perl-brace-format msgid "Didn't find modules directory {modules} for kernel {path}" msgstr "कर्नल {path} करीता मॉड्यूल्स् डिरेक्ट्री {modules} आढळले नाही" -#: perl/lib/Sys/Guestfs/Lib.pm:1304 +#: perl/lib/Sys/Guestfs/Lib.pm:1307 #, perl-brace-format msgid "Couldn't guess kernel version number from path for kernel {path}" msgstr "कर्नल {path} करीता मार्ग पासून कर्नल आवृत्ती क्रमांक तर्कणे अशक्य" -#: perl/lib/Sys/Guestfs/Lib.pm:1358 +#: perl/lib/Sys/Guestfs/Lib.pm:1361 #, perl-brace-format msgid "{path} doesn't match augeas pattern" msgstr "{path} augeas नमुनाशी जुळत नाही" -#: perl/lib/Sys/Guestfs/Lib.pm:1397 +#: perl/lib/Sys/Guestfs/Lib.pm:1400 #, perl-brace-format msgid "{filename}: could not read initrd format" msgstr "{filename}: initrd स्वरूप वाचणे अशक्य" @@ -3381,19 +3381,19 @@ msgstr "" msgid "%s: --scratch parameter '%s' should be >= 1\n" msgstr "" -#: rescue/virt-rescue.c:224 +#: rescue/virt-rescue.c:221 #, c-format msgid "%s: could not parse memory size '%s'\n" msgstr "%s: मेमरी आकार '%s' वाचणे अशक्य\n" -#: rescue/virt-rescue.c:396 +#: rescue/virt-rescue.c:393 #, c-format msgid "" "Inspecting the virtual machine or disk image ...\n" "\n" msgstr "" -#: rescue/virt-rescue.c:415 +#: rescue/virt-rescue.c:412 #, c-format msgid "" "This disk contains one or more operating systems. You can use these mount\n" @@ -3401,7 +3401,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:425 +#: rescue/virt-rescue.c:422 #, c-format msgid "" "# %s is the root of a %s operating system\n" @@ -3410,7 +3410,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:482 +#: rescue/virt-rescue.c:479 #, c-format msgid "" "This disk contains no filesystems that we recognize.\n" @@ -3420,7 +3420,7 @@ msgid "" "logical volumes and filesystems on a blank disk.\n" msgstr "" -#: rescue/virt-rescue.c:489 +#: rescue/virt-rescue.c:486 #, c-format msgid "" "This disk contains one or more filesystems, but we don't recognize any\n" @@ -3429,12 +3429,12 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:494 +#: rescue/virt-rescue.c:491 #, c-format msgid "# %s has type '%s'\n" msgstr "" -#: rescue/virt-rescue.c:702 +#: rescue/virt-rescue.c:699 #, c-format msgid "%s: unknown child exit status (%d)\n" msgstr "%s: अपरिचीत चाइल्ड एक्जिट स्टेटस् (%d)\n" @@ -3562,7 +3562,7 @@ msgstr "libguestfs: त्रुटी: %s\n" msgid "<truncated, original size %zu bytes>" msgstr "<आखूड केले, मूळ आकार %zu बाईट्स्>" -#: src/inspect-apps.c:613 src/inspect.c:546 +#: src/inspect-apps.c:610 src/inspect.c:546 msgid "" "inspection API not available since this version of libguestfs was compiled " "without the hivex library" @@ -3584,11 +3584,6 @@ msgstr "%s चे आकार असमंजसपणे मोठे आह msgid "could not parse /etc/fstab or empty file" msgstr "/etc/fstab किंवा रिकामी फाइल वाचणे अशक्य" -#: src/inspect-fs-windows.c:167 -#, c-format -msgid "cannot resolve Windows %%SYSTEMROOT%%" -msgstr "विंडोज %%SYSTEMROOT%% निश्चित करणे अशक्य" - #: src/inspect-fs.c:365 src/inspect-fs.c:378 #, c-format msgid "could not parse integer in version number: %s" @@ -3661,10 +3656,6 @@ msgstr "libguestfs हँडल आधिपासूनच सुरू आह msgid "you must call guestfs_add_drive before guestfs_launch" msgstr "guestfs_add_drive यांस guestfs_launch च्या अगोदर कॉल करा" -#: src/launch.c:1058 src/launch.c:1063 -msgid "guestfs_launch failed, see earlier error messages" -msgstr "guestfs_launch अपयशी, पूर्वीचे त्रुटी संदेश पहा" - #: src/launch.c:1076 msgid "qemu launched and contacted daemon, but state != READY" msgstr "qemu सुरू झाले व डिमन सुरू केले, परंतु state != READY आढळले" @@ -3677,12 +3668,23 @@ msgstr "guestfs_launch अपयशी, guestfsd पासून अनपेक msgid "contacted guestfsd, but state != READY" msgstr "guestfsd सह संपर्क केले, परंतु state != READY" -#: src/launch.c:1266 +#: src/launch.c:1226 +msgid "guestfs_launch failed, see earlier error messages" +msgstr "guestfs_launch अपयशी, पूर्वीचे त्रुटी संदेश पहा" + +#: src/launch.c:1228 +msgid "" +"guestfs_launch failed.\n" +"See http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs\n" +"and/or run 'libguestfs-test-tool'." +msgstr "" + +#: src/launch.c:1282 #, c-format msgid "%s: cannot create temporary directory" msgstr "%s: तात्पुर्ती डिरेक्ट्री निर्माण करणे अशक्य" -#: src/launch.c:1393 +#: src/launch.c:1409 #, c-format msgid "" "command failed: %s\n" @@ -3692,7 +3694,7 @@ msgid "" "environment variable. There may also be errors printed above." msgstr "" -#: src/launch.c:1546 +#: src/launch.c:1562 msgid "qemu has not been launched yet" msgstr "qemu अजूनही सुरू केले नाही" @@ -3865,67 +3867,67 @@ msgid "" " -V Display libguestfs version and exit\n" msgstr "" -#: test-tool/test-tool.c:111 +#: test-tool/test-tool.c:122 #, c-format msgid "libguestfs-test-tool: failed to create libguestfs handle\n" msgstr "libguestfs-test-tool: libguestfs हँडल निर्माण करण्यास अपयशी\n" -#: test-tool/test-tool.c:117 +#: test-tool/test-tool.c:128 #, c-format msgid "libguestfs-test-tool: guestfs_version failed\n" msgstr "libguestfs-test-tool: guestfs_version अपयशी\n" -#: test-tool/test-tool.c:133 +#: test-tool/test-tool.c:144 #, c-format msgid "libguestfs-test-tool: unknown long option: %s (%d)\n" msgstr "libguestfs-test-tool: उपरिचीत लाँग पर्याय: %s (%d)\n" -#: test-tool/test-tool.c:142 +#: test-tool/test-tool.c:153 #, c-format msgid "libguestfs-test-tool: invalid timeout: %s\n" msgstr "libguestfs-test-tool: अवैध वेळसमाप्ती: %s\n" -#: test-tool/test-tool.c:161 +#: test-tool/test-tool.c:172 #, c-format msgid "libguestfs-test-tool: unexpected command line option 0x%x\n" msgstr "libguestfs-test-tool: अनपेक्षीत आदेश ओळ पर्याय 0x%x\n" -#: test-tool/test-tool.c:196 +#: test-tool/test-tool.c:207 #, c-format msgid "libguestfs-test-tool: failed to add drive '%s'\n" msgstr "libguestfs-test-tool: ड्राइव्ह '%s' समावेश करण्यास अपयशी\n" -#: test-tool/test-tool.c:233 +#: test-tool/test-tool.c:244 #, c-format msgid "libguestfs-test-tool: failed to launch appliance\n" msgstr "libguestfs-test-tool: अप्लायंस सुरू करण्यास अपयशी\n" -#: test-tool/test-tool.c:245 +#: test-tool/test-tool.c:256 #, c-format msgid "libguestfs-test-tool: failed to run part-disk\n" msgstr "" -#: test-tool/test-tool.c:251 +#: test-tool/test-tool.c:262 #, c-format msgid "libguestfs-test-tool: failed to mkfs.ext2\n" msgstr "libguestfs-test-tool: mkfs.ext2 अपयशी\n" -#: test-tool/test-tool.c:257 +#: test-tool/test-tool.c:268 #, c-format msgid "libguestfs-test-tool: failed to mount /dev/sda1 on /\n" msgstr "libguestfs-test-tool: /dev/sda1 यांस / वर माऊंट करण्यास अपयशी\n" -#: test-tool/test-tool.c:264 +#: test-tool/test-tool.c:275 #, c-format msgid "libguestfs-test-tool: failed to touch file\n" msgstr "" -#: test-tool/test-tool.c:270 +#: test-tool/test-tool.c:281 #, c-format msgid "libguestfs-test-tool: shutdown failed\n" msgstr "" -#: test-tool/test-tool.c:303 +#: test-tool/test-tool.c:314 #, c-format msgid "" "LIBGUESTFS_QEMU environment variable is already set, so\n" @@ -3934,12 +3936,12 @@ msgstr "" "LIBGUESTFS_QEMU एन्वार्यनमेंट वेरियेबल आधिपासून सेट आहे, म्हणून\n" "--qemu/--qemudir पर्याय याचा वापर करणे अशक्य आहे.\n" -#: test-tool/test-tool.c:311 +#: test-tool/test-tool.c:322 #, c-format msgid "Binary '%s' does not exist or is not executable\n" msgstr "बाइनरी '%s' अस्तित्वात नाही किंवा एक्जीक्यूटेबल नाही\n" -#: test-tool/test-tool.c:325 +#: test-tool/test-tool.c:336 #, c-format msgid "%s: does not look like a qemu source directory\n" msgstr "%s: qemu स्रोत डिरेक्ट्री प्रमाणे आढळले नाही\n" @@ -4067,17 +4069,12 @@ msgstr "" msgid "virt-win-reg: {p}: not a supported Windows Registry path\n" msgstr "virt-win-reg: {p}: समर्थीत विंडोज रेजिस्ट्री पाथ नाही\n" -#: tools/virt-win-reg.pl:522 tools/virt-win-reg.pl:544 -#, perl-brace-format -msgid "virt-win-reg: {p}: file not found in guest: {err}\n" -msgstr "virt-win-reg: {p}: अतिथीमध्ये फाइल आढळली नाही: {err}\n" - -#: tools/virt-win-reg.pl:529 +#: tools/virt-win-reg.pl:524 #, perl-brace-format msgid "virt-win-reg: {p}: could not download registry file: {err}\n" msgstr "virt-win-reg: {p}: रेजिस्ट्री फाइल डाउनलोड करणे शक्य नाही: {err}\n" -#: tools/virt-win-reg.pl:551 +#: tools/virt-win-reg.pl:541 #, perl-brace-format msgid "virt-win-reg: {p}: could not upload registry file: {err}\n" msgstr "virt-win-reg: {p}: रेजिस्ट्री फाइल अपलोड करणे शक्य नाही: {err}\n" @@ -4309,11 +4306,11 @@ msgstr "" msgid "Align first partition (default: auto)" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:57 +#: ../sysprep/sysprep_operation_hostname.ml:66 msgid "Change the hostname of the guest" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:66 +#: ../sysprep/sysprep_operation_hostname.ml:75 msgid "" "Change the hostname. If not given, defaults to C<localhost.localdomain>." msgstr "" @@ -4546,7 +4543,7 @@ msgstr "" msgid "Never do SELinux relabel" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:65 +#: ../sysprep/sysprep_operation_hostname.ml:74 msgid "New hostname" msgstr "" @@ -4821,7 +4818,7 @@ msgid "" "virtual machine's disk, but it was stored on disk in older distros." msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:58 +#: ../sysprep/sysprep_operation_hostname.ml:67 msgid "" "This operation changes the hostname of the guest to the value\n" "given in the I<--hostname> parameter.\n" @@ -4918,7 +4915,7 @@ msgstr "" msgid "fs" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:65 +#: ../sysprep/sysprep_operation_hostname.ml:74 msgid "hostname" msgstr "" @@ -5094,6 +5091,12 @@ msgstr "" msgid "you cannot use the same disk image for input and output" msgstr "" +#~ msgid "cannot resolve Windows %%SYSTEMROOT%%" +#~ msgstr "विंडोज %%SYSTEMROOT%% निश्चित करणे अशक्य" + +#~ msgid "virt-win-reg: {p}: file not found in guest: {err}\n" +#~ msgstr "virt-win-reg: {p}: अतिथीमध्ये फाइल आढळली नाही: {err}\n" + #~ msgid "no subprocess to kill" #~ msgstr "kill करीता उपकार्य उपलब्ध नाही" @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: libguestfs\n" "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?" "component=libguestfs&product=Virtualization+Tools\n" -"POT-Creation-Date: 2012-09-19 13:50+0100\n" +"POT-Creation-Date: 2012-10-01 16:29+0100\n" "PO-Revision-Date: 2012-05-21 13:19+0000\n" "Last-Translator: rjones <rjones@redhat.com>\n" "Language-Team: Dutch (http://www.transifex.net/projects/p/fedora/language/" @@ -170,13 +170,13 @@ msgstr "" " -x Trace libguestfs API calls\n" "Voor meer informatie, zie de manpagina %s(1).\n" -#: cat/virt-cat.c:358 edit/virt-edit.c:666 fish/fish.c:1582 +#: cat/virt-cat.c:355 edit/virt-edit.c:665 fish/fish.c:1582 #, c-format msgid "%s: to use Windows drive letters, this must be a Windows guest\n" msgstr "" "%s: om Windows schijf letters te gebruiken, moet dit een Windows gast zijn\n" -#: cat/virt-cat.c:372 edit/virt-edit.c:680 +#: cat/virt-cat.c:369 edit/virt-edit.c:679 #, c-format msgid "%s: drive '%c:' not found.\n" msgstr "%s: starion '%c:' niet gevonden.\n" @@ -3321,12 +3321,12 @@ msgstr "" " --xpath query Voer een XPath bevraging uit\n" "Voor meer informatie, referre ja naar de man pagina %s(1).\n" -#: inspector/virt-inspector.c:254 +#: inspector/virt-inspector.c:251 #, c-format msgid "%s: cannot use --xpath together with other options.\n" msgstr "%s: kan --xpath niet samen met andere opties gebruiken.\n" -#: inspector/virt-inspector.c:287 +#: inspector/virt-inspector.c:284 #, c-format msgid "" "%s: no operating system could be detected inside this disk image.\n" @@ -3356,52 +3356,52 @@ msgstr "" "Als je vindt dat dit een fout is, dien dan een bug rapport in met\n" "zo veel mogelijk informatie over de schijf image.\n" -#: inspector/virt-inspector.c:312 +#: inspector/virt-inspector.c:309 #, c-format msgid "%s: XML write error at \"%s\": %m\n" msgstr "%s: XML schrijf fout bij \"%s\": %m\n" -#: inspector/virt-inspector.c:324 +#: inspector/virt-inspector.c:321 #, c-format msgid "%s: xmlOutputBufferCreateFd: failed to open stdout\n" msgstr "%s: xmlOutputBufferCreateFd: stdout openen mislukte\n" -#: inspector/virt-inspector.c:332 +#: inspector/virt-inspector.c:329 #, c-format msgid "%s: xmlNewTextWriter: failed to create libxml2 writer\n" msgstr "%s: xmlNewTextWriter: libxml2 schrijver aanmaken mislukte\n" -#: inspector/virt-inspector.c:826 +#: inspector/virt-inspector.c:823 #, c-format msgid "%s: unable to parse XML from stdin\n" msgstr "%s: kan XML niet van stdin parsen\n" -#: inspector/virt-inspector.c:832 +#: inspector/virt-inspector.c:829 #, c-format msgid "%s: unable to create new XPath context\n" msgstr "%s: kan geen nieuwe XPath context creëren\n" -#: inspector/virt-inspector.c:839 +#: inspector/virt-inspector.c:836 #, c-format msgid "%s: unable to evaluate XPath expression\n" msgstr "%s: niet in staat XPath expressie te evalueren\n" -#: inspector/virt-inspector.c:850 +#: inspector/virt-inspector.c:847 #, c-format msgid "%s: xmlSaveToFd failed\n" msgstr "%s: xmlSaveToFd mislukte\n" -#: inspector/virt-inspector.c:857 +#: inspector/virt-inspector.c:854 #, c-format msgid "%s: xmlNewDoc failed\n" msgstr "%s: xmlNewDoc mislukte\n" -#: inspector/virt-inspector.c:862 +#: inspector/virt-inspector.c:859 #, c-format msgid "%s: xmlCopyNode failed\n" msgstr "%s: xmlCopyNode mislukte\n" -#: inspector/virt-inspector.c:869 +#: inspector/virt-inspector.c:866 #, c-format msgid "%s: xmlSaveDoc failed\n" msgstr "%s: xmlSaveDoc mislukte\n" @@ -3450,7 +3450,7 @@ msgstr "{imagename} is niet de naam van een libvirt domein\n" msgid "{imagename} seems to have no disk devices\n" msgstr "{imagename} lijkt geen schijf apparaten te hebben\n" -#: perl/lib/Sys/Guestfs/Lib.pm:831 +#: perl/lib/Sys/Guestfs/Lib.pm:834 msgid "" "No operating system could be detected inside this disk image.\n" "\n" @@ -3470,56 +3470,56 @@ msgstr "" "Als je denkt dat dit een fout is, moet je een bug rapport indienen\n" "met inbegrip van zoveel mogelijk informatie over de schijf image.\n" -#: perl/lib/Sys/Guestfs/Lib.pm:949 +#: perl/lib/Sys/Guestfs/Lib.pm:952 #, perl-brace-format msgid "unknown filesystem {fs}\n" msgstr "onbekend bestandssysteem {fs}\n" -#: perl/lib/Sys/Guestfs/Lib.pm:1027 +#: perl/lib/Sys/Guestfs/Lib.pm:1030 #, perl-brace-format msgid "Error running rpm -qa: {error}" msgstr "Fout bij het draaien van rpm -qa: {error}" -#: perl/lib/Sys/Guestfs/Lib.pm:1053 +#: perl/lib/Sys/Guestfs/Lib.pm:1056 #, perl-brace-format msgid "Error running dpkg-query: {error}" msgstr "Fout bij het draaien van dpkg-query: {error}" -#: perl/lib/Sys/Guestfs/Lib.pm:1118 +#: perl/lib/Sys/Guestfs/Lib.pm:1121 msgid "Can't find grub on guest" msgstr "Kan grub niet op de gast vinden" -#: perl/lib/Sys/Guestfs/Lib.pm:1173 +#: perl/lib/Sys/Guestfs/Lib.pm:1176 #, perl-brace-format msgid "Grub entry {title} has no kernel" msgstr "Grub ingang {title} heeft geen kernel" -#: perl/lib/Sys/Guestfs/Lib.pm:1204 +#: perl/lib/Sys/Guestfs/Lib.pm:1207 #, perl-brace-format msgid "grub refers to {path}, which doesn't exist\n" msgstr "grub refereert naar {path}, welke niet bestaat\n" -#: perl/lib/Sys/Guestfs/Lib.pm:1227 +#: perl/lib/Sys/Guestfs/Lib.pm:1230 #, perl-brace-format msgid "Grub entry {title} does not specify an initrd" msgstr "Grub ingang {title} specificeert geen initrd" -#: perl/lib/Sys/Guestfs/Lib.pm:1296 +#: perl/lib/Sys/Guestfs/Lib.pm:1299 #, perl-brace-format msgid "Didn't find modules directory {modules} for kernel {path}" msgstr "Kon modules map {modules} niet vinden voor kernel {path}" -#: perl/lib/Sys/Guestfs/Lib.pm:1304 +#: perl/lib/Sys/Guestfs/Lib.pm:1307 #, perl-brace-format msgid "Couldn't guess kernel version number from path for kernel {path}" msgstr "Kon kernel versie nummer niet raden uit het pad voor kernel {path}" -#: perl/lib/Sys/Guestfs/Lib.pm:1358 +#: perl/lib/Sys/Guestfs/Lib.pm:1361 #, perl-brace-format msgid "{path} doesn't match augeas pattern" msgstr "{path} komt niet overeen met augeas patroon" -#: perl/lib/Sys/Guestfs/Lib.pm:1397 +#: perl/lib/Sys/Guestfs/Lib.pm:1400 #, perl-brace-format msgid "{filename}: could not read initrd format" msgstr "{filename}: kon initrd formaat niet lezen" @@ -3573,12 +3573,12 @@ msgstr "" msgid "%s: --scratch parameter '%s' should be >= 1\n" msgstr "" -#: rescue/virt-rescue.c:224 +#: rescue/virt-rescue.c:221 #, c-format msgid "%s: could not parse memory size '%s'\n" msgstr "%s:kon geheugen grootte niet ontleden '%s'\n" -#: rescue/virt-rescue.c:396 +#: rescue/virt-rescue.c:393 #, c-format msgid "" "Inspecting the virtual machine or disk image ...\n" @@ -3587,7 +3587,7 @@ msgstr "" "Inspecteren van virtuele machine of disk image ...\n" "\n" -#: rescue/virt-rescue.c:415 +#: rescue/virt-rescue.c:412 #, c-format msgid "" "This disk contains one or more operating systems. You can use these mount\n" @@ -3599,7 +3599,7 @@ msgstr "" "aankoppelen van bestandssystemen.\n" "\n" -#: rescue/virt-rescue.c:425 +#: rescue/virt-rescue.c:422 #, c-format msgid "" "# %s is the root of a %s operating system\n" @@ -3612,7 +3612,7 @@ msgstr "" "# %s\n" "\n" -#: rescue/virt-rescue.c:482 +#: rescue/virt-rescue.c:479 #, c-format msgid "" "This disk contains no filesystems that we recognize.\n" @@ -3629,7 +3629,7 @@ msgstr "" "van partities,\n" "logische volumes em bestandssystemen op lege schijven.\n" -#: rescue/virt-rescue.c:489 +#: rescue/virt-rescue.c:486 #, c-format msgid "" "This disk contains one or more filesystems, but we don't recognize any\n" @@ -3643,12 +3643,12 @@ msgstr "" "><rescue> prompt) om dze bestandssystemen aan te koppelen.\n" "\n" -#: rescue/virt-rescue.c:494 +#: rescue/virt-rescue.c:491 #, c-format msgid "# %s has type '%s'\n" msgstr "# %s heeft type '%s'\n" -#: rescue/virt-rescue.c:702 +#: rescue/virt-rescue.c:699 #, c-format msgid "%s: unknown child exit status (%d)\n" msgstr "%s: onbekende kind exit status (%d)\n" @@ -3783,7 +3783,7 @@ msgstr "libguestfs: fout: %s\n" msgid "<truncated, original size %zu bytes>" msgstr "<afgekort, originele grootte %zu bytes>" -#: src/inspect-apps.c:613 src/inspect.c:546 +#: src/inspect-apps.c:610 src/inspect.c:546 msgid "" "inspection API not available since this version of libguestfs was compiled " "without the hivex library" @@ -3807,11 +3807,6 @@ msgstr "groote van %s is buitensporig groot (%<PRIi64> bytes)" msgid "could not parse /etc/fstab or empty file" msgstr "kan /etc/fstab niet ontleden of leeg bestand" -#: src/inspect-fs-windows.c:167 -#, c-format -msgid "cannot resolve Windows %%SYSTEMROOT%%" -msgstr "Kan Windows %%SYSTEMROOT%% niet oplossen" - #: src/inspect-fs.c:365 src/inspect-fs.c:378 #, c-format msgid "could not parse integer in version number: %s" @@ -3886,10 +3881,6 @@ msgstr "de libguestfs hendel is al gelanceerd" msgid "you must call guestfs_add_drive before guestfs_launch" msgstr "je moet guestfs_add_drive aanroepen voor guestfs_launch" -#: src/launch.c:1058 src/launch.c:1063 -msgid "guestfs_launch failed, see earlier error messages" -msgstr "guestfs_launch mislukte, bekijk de eerdere fout boodschap" - #: src/launch.c:1076 msgid "qemu launched and contacted daemon, but state != READY" msgstr "" @@ -3903,12 +3894,23 @@ msgstr "guestfs_launch mislukte, onverwachte initiele boodschap van guestfsd" msgid "contacted guestfsd, but state != READY" msgstr "contact gemaakt met guestfsd, maar toestand != READY" -#: src/launch.c:1266 +#: src/launch.c:1226 +msgid "guestfs_launch failed, see earlier error messages" +msgstr "guestfs_launch mislukte, bekijk de eerdere fout boodschap" + +#: src/launch.c:1228 +msgid "" +"guestfs_launch failed.\n" +"See http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs\n" +"and/or run 'libguestfs-test-tool'." +msgstr "" + +#: src/launch.c:1282 #, c-format msgid "%s: cannot create temporary directory" msgstr "%s: kan geen tijdelijke map aanmaken" -#: src/launch.c:1393 +#: src/launch.c:1409 #, c-format msgid "" "command failed: %s\n" @@ -3918,7 +3920,7 @@ msgid "" "environment variable. There may also be errors printed above." msgstr "" -#: src/launch.c:1546 +#: src/launch.c:1562 msgid "qemu has not been launched yet" msgstr "qemu is nog niet gelanceerd" @@ -4103,67 +4105,67 @@ msgid "" " -V Display libguestfs version and exit\n" msgstr "" -#: test-tool/test-tool.c:111 +#: test-tool/test-tool.c:122 #, c-format msgid "libguestfs-test-tool: failed to create libguestfs handle\n" msgstr "libguestfs-test-tool: libguestfs hendel aanmaken mislukte\n" -#: test-tool/test-tool.c:117 +#: test-tool/test-tool.c:128 #, c-format msgid "libguestfs-test-tool: guestfs_version failed\n" msgstr "libguestfs-test-tool: guestfs_version mislukte\n" -#: test-tool/test-tool.c:133 +#: test-tool/test-tool.c:144 #, c-format msgid "libguestfs-test-tool: unknown long option: %s (%d)\n" msgstr "libguestfs-test-tool: onbekende lange optie: %s (%d)\n" -#: test-tool/test-tool.c:142 +#: test-tool/test-tool.c:153 #, c-format msgid "libguestfs-test-tool: invalid timeout: %s\n" msgstr "libguestfs-test-tool: ongeldige time-out: %s\n" -#: test-tool/test-tool.c:161 +#: test-tool/test-tool.c:172 #, c-format msgid "libguestfs-test-tool: unexpected command line option 0x%x\n" msgstr "libguestfs-test-tool: onverwachte commando regel optie 0x%x\n" -#: test-tool/test-tool.c:196 +#: test-tool/test-tool.c:207 #, c-format msgid "libguestfs-test-tool: failed to add drive '%s'\n" msgstr "libguestfs-test-tool: station '%s' toevoegen mislukte\n" -#: test-tool/test-tool.c:233 +#: test-tool/test-tool.c:244 #, c-format msgid "libguestfs-test-tool: failed to launch appliance\n" msgstr "libguestfs-test-tool: toestel lanceren mislukte\n" -#: test-tool/test-tool.c:245 +#: test-tool/test-tool.c:256 #, c-format msgid "libguestfs-test-tool: failed to run part-disk\n" msgstr "libguestfs-test-tool: part-disk draaien mislukte\n" -#: test-tool/test-tool.c:251 +#: test-tool/test-tool.c:262 #, c-format msgid "libguestfs-test-tool: failed to mkfs.ext2\n" msgstr "libguestfs-test-tool: mkfs.ext2 mislukte\n" -#: test-tool/test-tool.c:257 +#: test-tool/test-tool.c:268 #, c-format msgid "libguestfs-test-tool: failed to mount /dev/sda1 on /\n" msgstr "libguestfs-test-tool: aankoppelen van /dev/sda1 op / mislukte\n" -#: test-tool/test-tool.c:264 +#: test-tool/test-tool.c:275 #, c-format msgid "libguestfs-test-tool: failed to touch file\n" msgstr "libguestfs-test-tool: bestand touchen mislukte\n" -#: test-tool/test-tool.c:270 +#: test-tool/test-tool.c:281 #, c-format msgid "libguestfs-test-tool: shutdown failed\n" msgstr "" -#: test-tool/test-tool.c:303 +#: test-tool/test-tool.c:314 #, c-format msgid "" "LIBGUESTFS_QEMU environment variable is already set, so\n" @@ -4172,12 +4174,12 @@ msgstr "" "LIBGUESTFS_QEMU omgevingsvariabele al is ingesteld, dus\n" "de --qemu/--qemudir opties kunnen niet gebruikt worden.\n" -#: test-tool/test-tool.c:311 +#: test-tool/test-tool.c:322 #, c-format msgid "Binary '%s' does not exist or is not executable\n" msgstr "Binair programma '%s' bestaat niet of is niet uitvoerbaar\n" -#: test-tool/test-tool.c:325 +#: test-tool/test-tool.c:336 #, c-format msgid "%s: does not look like a qemu source directory\n" msgstr "%s: ziet er niet uit als een qemu bron map\n" @@ -4314,17 +4316,12 @@ msgstr "virt-win-reg: {p}: kan gebruikers map niet vinden\n" msgid "virt-win-reg: {p}: not a supported Windows Registry path\n" msgstr "virt-win-reg: {p}: geen ondersteund Windows Registry pad\n" -#: tools/virt-win-reg.pl:522 tools/virt-win-reg.pl:544 -#, perl-brace-format -msgid "virt-win-reg: {p}: file not found in guest: {err}\n" -msgstr "virt-win-reg: {p}: bestand niet gevonden in gast: {err}\n" - -#: tools/virt-win-reg.pl:529 +#: tools/virt-win-reg.pl:524 #, perl-brace-format msgid "virt-win-reg: {p}: could not download registry file: {err}\n" msgstr "virt-win-reg: {p}: kon registry bestand niet downloaden: {err}\n" -#: tools/virt-win-reg.pl:551 +#: tools/virt-win-reg.pl:541 #, perl-brace-format msgid "virt-win-reg: {p}: could not upload registry file: {err}\n" msgstr "virt-win-reg: {p}: kon registry bestand niet uploaden: {err}\n" @@ -4556,11 +4553,11 @@ msgstr "" msgid "Align first partition (default: auto)" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:57 +#: ../sysprep/sysprep_operation_hostname.ml:66 msgid "Change the hostname of the guest" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:66 +#: ../sysprep/sysprep_operation_hostname.ml:75 msgid "" "Change the hostname. If not given, defaults to C<localhost.localdomain>." msgstr "" @@ -4793,7 +4790,7 @@ msgstr "" msgid "Never do SELinux relabel" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:65 +#: ../sysprep/sysprep_operation_hostname.ml:74 msgid "New hostname" msgstr "" @@ -5068,7 +5065,7 @@ msgid "" "virtual machine's disk, but it was stored on disk in older distros." msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:58 +#: ../sysprep/sysprep_operation_hostname.ml:67 msgid "" "This operation changes the hostname of the guest to the value\n" "given in the I<--hostname> parameter.\n" @@ -5165,7 +5162,7 @@ msgstr "" msgid "fs" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:65 +#: ../sysprep/sysprep_operation_hostname.ml:74 msgid "hostname" msgstr "" @@ -5341,6 +5338,12 @@ msgstr "" msgid "you cannot use the same disk image for input and output" msgstr "" +#~ msgid "cannot resolve Windows %%SYSTEMROOT%%" +#~ msgstr "Kan Windows %%SYSTEMROOT%% niet oplossen" + +#~ msgid "virt-win-reg: {p}: file not found in guest: {err}\n" +#~ msgstr "virt-win-reg: {p}: bestand niet gevonden in gast: {err}\n" + #~ msgid "" #~ "%s: FUSE module for libguestfs\n" #~ "%s lets you mount a virtual machine filesystem\n" @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: libguestfs\n" "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?" "component=libguestfs&product=Virtualization+Tools\n" -"POT-Creation-Date: 2012-09-19 13:50+0100\n" +"POT-Creation-Date: 2012-10-01 16:29+0100\n" "PO-Revision-Date: 2012-05-21 13:19+0000\n" "Last-Translator: rjones <rjones@redhat.com>\n" "Language-Team: Oriya (http://www.transifex.net/projects/p/fedora/language/" @@ -135,12 +135,12 @@ msgid "" "For more information, see the manpage %s(1).\n" msgstr "" -#: cat/virt-cat.c:358 edit/virt-edit.c:666 fish/fish.c:1582 +#: cat/virt-cat.c:355 edit/virt-edit.c:665 fish/fish.c:1582 #, c-format msgid "%s: to use Windows drive letters, this must be a Windows guest\n" msgstr "" -#: cat/virt-cat.c:372 edit/virt-edit.c:680 +#: cat/virt-cat.c:369 edit/virt-edit.c:679 #, c-format msgid "%s: drive '%c:' not found.\n" msgstr "" @@ -3026,12 +3026,12 @@ msgid "" "For more information, see the manpage %s(1).\n" msgstr "" -#: inspector/virt-inspector.c:254 +#: inspector/virt-inspector.c:251 #, c-format msgid "%s: cannot use --xpath together with other options.\n" msgstr "" -#: inspector/virt-inspector.c:287 +#: inspector/virt-inspector.c:284 #, c-format msgid "" "%s: no operating system could be detected inside this disk image.\n" @@ -3048,52 +3048,52 @@ msgid "" "information about the disk image as possible.\n" msgstr "" -#: inspector/virt-inspector.c:312 +#: inspector/virt-inspector.c:309 #, c-format msgid "%s: XML write error at \"%s\": %m\n" msgstr "" -#: inspector/virt-inspector.c:324 +#: inspector/virt-inspector.c:321 #, c-format msgid "%s: xmlOutputBufferCreateFd: failed to open stdout\n" msgstr "" -#: inspector/virt-inspector.c:332 +#: inspector/virt-inspector.c:329 #, c-format msgid "%s: xmlNewTextWriter: failed to create libxml2 writer\n" msgstr "" -#: inspector/virt-inspector.c:826 +#: inspector/virt-inspector.c:823 #, c-format msgid "%s: unable to parse XML from stdin\n" msgstr "" -#: inspector/virt-inspector.c:832 +#: inspector/virt-inspector.c:829 #, c-format msgid "%s: unable to create new XPath context\n" msgstr "" -#: inspector/virt-inspector.c:839 +#: inspector/virt-inspector.c:836 #, c-format msgid "%s: unable to evaluate XPath expression\n" msgstr "" -#: inspector/virt-inspector.c:850 +#: inspector/virt-inspector.c:847 #, c-format msgid "%s: xmlSaveToFd failed\n" msgstr "" -#: inspector/virt-inspector.c:857 +#: inspector/virt-inspector.c:854 #, c-format msgid "%s: xmlNewDoc failed\n" msgstr "" -#: inspector/virt-inspector.c:862 +#: inspector/virt-inspector.c:859 #, c-format msgid "%s: xmlCopyNode failed\n" msgstr "" -#: inspector/virt-inspector.c:869 +#: inspector/virt-inspector.c:866 #, c-format msgid "%s: xmlSaveDoc failed\n" msgstr "" @@ -3140,7 +3140,7 @@ msgstr "" msgid "{imagename} seems to have no disk devices\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:831 +#: perl/lib/Sys/Guestfs/Lib.pm:834 msgid "" "No operating system could be detected inside this disk image.\n" "\n" @@ -3152,56 +3152,56 @@ msgid "" "information about the disk image as possible.\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:949 +#: perl/lib/Sys/Guestfs/Lib.pm:952 #, perl-brace-format msgid "unknown filesystem {fs}\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1027 +#: perl/lib/Sys/Guestfs/Lib.pm:1030 #, perl-brace-format msgid "Error running rpm -qa: {error}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1053 +#: perl/lib/Sys/Guestfs/Lib.pm:1056 #, perl-brace-format msgid "Error running dpkg-query: {error}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1118 +#: perl/lib/Sys/Guestfs/Lib.pm:1121 msgid "Can't find grub on guest" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1173 +#: perl/lib/Sys/Guestfs/Lib.pm:1176 #, perl-brace-format msgid "Grub entry {title} has no kernel" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1204 +#: perl/lib/Sys/Guestfs/Lib.pm:1207 #, perl-brace-format msgid "grub refers to {path}, which doesn't exist\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1227 +#: perl/lib/Sys/Guestfs/Lib.pm:1230 #, perl-brace-format msgid "Grub entry {title} does not specify an initrd" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1296 +#: perl/lib/Sys/Guestfs/Lib.pm:1299 #, perl-brace-format msgid "Didn't find modules directory {modules} for kernel {path}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1304 +#: perl/lib/Sys/Guestfs/Lib.pm:1307 #, perl-brace-format msgid "Couldn't guess kernel version number from path for kernel {path}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1358 +#: perl/lib/Sys/Guestfs/Lib.pm:1361 #, perl-brace-format msgid "{path} doesn't match augeas pattern" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1397 +#: perl/lib/Sys/Guestfs/Lib.pm:1400 #, perl-brace-format msgid "{filename}: could not read initrd format" msgstr "" @@ -3255,19 +3255,19 @@ msgstr "" msgid "%s: --scratch parameter '%s' should be >= 1\n" msgstr "" -#: rescue/virt-rescue.c:224 +#: rescue/virt-rescue.c:221 #, c-format msgid "%s: could not parse memory size '%s'\n" msgstr "" -#: rescue/virt-rescue.c:396 +#: rescue/virt-rescue.c:393 #, c-format msgid "" "Inspecting the virtual machine or disk image ...\n" "\n" msgstr "" -#: rescue/virt-rescue.c:415 +#: rescue/virt-rescue.c:412 #, c-format msgid "" "This disk contains one or more operating systems. You can use these mount\n" @@ -3275,7 +3275,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:425 +#: rescue/virt-rescue.c:422 #, c-format msgid "" "# %s is the root of a %s operating system\n" @@ -3284,7 +3284,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:482 +#: rescue/virt-rescue.c:479 #, c-format msgid "" "This disk contains no filesystems that we recognize.\n" @@ -3294,7 +3294,7 @@ msgid "" "logical volumes and filesystems on a blank disk.\n" msgstr "" -#: rescue/virt-rescue.c:489 +#: rescue/virt-rescue.c:486 #, c-format msgid "" "This disk contains one or more filesystems, but we don't recognize any\n" @@ -3303,12 +3303,12 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:494 +#: rescue/virt-rescue.c:491 #, c-format msgid "# %s has type '%s'\n" msgstr "" -#: rescue/virt-rescue.c:702 +#: rescue/virt-rescue.c:699 #, c-format msgid "%s: unknown child exit status (%d)\n" msgstr "" @@ -3436,7 +3436,7 @@ msgstr "libguestfs: ତ୍ରୁଟି: %s\n" msgid "<truncated, original size %zu bytes>" msgstr "" -#: src/inspect-apps.c:613 src/inspect.c:546 +#: src/inspect-apps.c:610 src/inspect.c:546 msgid "" "inspection API not available since this version of libguestfs was compiled " "without the hivex library" @@ -3458,11 +3458,6 @@ msgstr "" msgid "could not parse /etc/fstab or empty file" msgstr "" -#: src/inspect-fs-windows.c:167 -#, c-format -msgid "cannot resolve Windows %%SYSTEMROOT%%" -msgstr "" - #: src/inspect-fs.c:365 src/inspect-fs.c:378 #, c-format msgid "could not parse integer in version number: %s" @@ -3533,10 +3528,6 @@ msgstr "" msgid "you must call guestfs_add_drive before guestfs_launch" msgstr "ଆପଣ ନିଶ୍ଚିତ ଭାବରେ guestfs_add_drive କୁ guestfs_launch ପୂର୍ବରୁ ଡାକିବା ଉଚିତ" -#: src/launch.c:1058 src/launch.c:1063 -msgid "guestfs_launch failed, see earlier error messages" -msgstr "guestfs_launch ବିଫଳ ହୋଇଛି, ପୂର୍ବର ତ୍ରୁଟି ସନ୍ଦେଶଗୁଡ଼ିକୁ ଦେଖନ୍ତୁ" - #: src/launch.c:1076 msgid "qemu launched and contacted daemon, but state != READY" msgstr "qemu ଆରମ୍ଭ ହୋଇଛି ଏବଂ ଡେମନ ସହିତ ଯୋଗାଯୋଗ ଆରମ୍ଭ କରିଛି, କିନ୍ତୁ ଅବସ୍ଥା != READY" @@ -3549,12 +3540,23 @@ msgstr "" msgid "contacted guestfsd, but state != READY" msgstr "" -#: src/launch.c:1266 +#: src/launch.c:1226 +msgid "guestfs_launch failed, see earlier error messages" +msgstr "guestfs_launch ବିଫଳ ହୋଇଛି, ପୂର୍ବର ତ୍ରୁଟି ସନ୍ଦେଶଗୁଡ଼ିକୁ ଦେଖନ୍ତୁ" + +#: src/launch.c:1228 +msgid "" +"guestfs_launch failed.\n" +"See http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs\n" +"and/or run 'libguestfs-test-tool'." +msgstr "" + +#: src/launch.c:1282 #, c-format msgid "%s: cannot create temporary directory" msgstr "%s: ଅସ୍ଥାୟୀ ଡିରେକ୍ଟୋରୀ ନିର୍ମାଣ କରିପାରିବେ ନାହିଁ" -#: src/launch.c:1393 +#: src/launch.c:1409 #, c-format msgid "" "command failed: %s\n" @@ -3564,7 +3566,7 @@ msgid "" "environment variable. There may also be errors printed above." msgstr "" -#: src/launch.c:1546 +#: src/launch.c:1562 msgid "qemu has not been launched yet" msgstr "qemu ଏପର୍ଯ୍ୟନ୍ତ ଆରମ୍ଭ ହୋଇନାହିଁ" @@ -3727,67 +3729,67 @@ msgid "" " -V Display libguestfs version and exit\n" msgstr "" -#: test-tool/test-tool.c:111 +#: test-tool/test-tool.c:122 #, c-format msgid "libguestfs-test-tool: failed to create libguestfs handle\n" msgstr "libguestfs-test-tool: libguestfs ନିୟନ୍ତ୍ରଣକୁ ନିର୍ମାଣ କରିବାରେ ବିଫଳ ହୋଇଛି\n" -#: test-tool/test-tool.c:117 +#: test-tool/test-tool.c:128 #, c-format msgid "libguestfs-test-tool: guestfs_version failed\n" msgstr "libguestfs-test-tool: guestfs_version ବିଫଳ ହୋଇଛି\n" -#: test-tool/test-tool.c:133 +#: test-tool/test-tool.c:144 #, c-format msgid "libguestfs-test-tool: unknown long option: %s (%d)\n" msgstr "libguestfs-test-tool: ଅଜଣା ବଡ଼ ବିକଳ୍ପ: %s (%d)\n" -#: test-tool/test-tool.c:142 +#: test-tool/test-tool.c:153 #, c-format msgid "libguestfs-test-tool: invalid timeout: %s\n" msgstr "libguestfs-test-tool: ଅବୈଧ ସମୟ ସମାପ୍ତି: %s\n" -#: test-tool/test-tool.c:161 +#: test-tool/test-tool.c:172 #, c-format msgid "libguestfs-test-tool: unexpected command line option 0x%x\n" msgstr "libguestfs-test-tool: ଅପ୍ରତ୍ୟାଶିତ ନିର୍ଦ୍ଦେଶନାମା ବିକଳ୍ପ 0x%x\n" -#: test-tool/test-tool.c:196 +#: test-tool/test-tool.c:207 #, c-format msgid "libguestfs-test-tool: failed to add drive '%s'\n" msgstr "libguestfs-test-tool: ଡ୍ରାଇଭ '%s' କୁ ଯୋଗ କରିବାରେ ବିଫଳ ହୋଇଛି\n" -#: test-tool/test-tool.c:233 +#: test-tool/test-tool.c:244 #, c-format msgid "libguestfs-test-tool: failed to launch appliance\n" msgstr "libguestfs-test-tool: ଉପକରଣ ଆରମ୍ଭ କରିବାରେ ବିଫଳ ହୋଇଛି\n" -#: test-tool/test-tool.c:245 +#: test-tool/test-tool.c:256 #, c-format msgid "libguestfs-test-tool: failed to run part-disk\n" msgstr "" -#: test-tool/test-tool.c:251 +#: test-tool/test-tool.c:262 #, c-format msgid "libguestfs-test-tool: failed to mkfs.ext2\n" msgstr "libguestfs-test-tool: mkfs.ext2 କରିବାରେ ବିଫଳ ହୋଇଛି\n" -#: test-tool/test-tool.c:257 +#: test-tool/test-tool.c:268 #, c-format msgid "libguestfs-test-tool: failed to mount /dev/sda1 on /\n" msgstr "libguestfs-test-tool: /dev/sda1 କୁ / ଉପରେ ସ୍ଥାପନ କରିବାରେ ବିଫଳ ହୋଇଛି\n" -#: test-tool/test-tool.c:264 +#: test-tool/test-tool.c:275 #, c-format msgid "libguestfs-test-tool: failed to touch file\n" msgstr "" -#: test-tool/test-tool.c:270 +#: test-tool/test-tool.c:281 #, c-format msgid "libguestfs-test-tool: shutdown failed\n" msgstr "" -#: test-tool/test-tool.c:303 +#: test-tool/test-tool.c:314 #, c-format msgid "" "LIBGUESTFS_QEMU environment variable is already set, so\n" @@ -3796,12 +3798,12 @@ msgstr "" "LIBGUESTFS_QEMU ପରିବେଶ ପ୍ରାଚଳଟି ପୂର୍ବରୁ ସେଟ ହୋଇଛି, ତେଣୁ\n" "--qemu/--qemudir ବିକଳ୍ପଗୁଡ଼ିକୁ ବ୍ୟବହାର କରାଯାଇପାରିବ ନାହିଁ।\n" -#: test-tool/test-tool.c:311 +#: test-tool/test-tool.c:322 #, c-format msgid "Binary '%s' does not exist or is not executable\n" msgstr "ଦ୍ୱୀମିକ '%s' ଅବସ୍ଥିତ ନାହିଁ ଅଥବା ନିଷ୍ପାଦନ ଯୋଗ୍ୟ ନୁହଁ\n" -#: test-tool/test-tool.c:325 +#: test-tool/test-tool.c:336 #, c-format msgid "%s: does not look like a qemu source directory\n" msgstr "%s: ଗୋଟିଏ qemu ଉତ୍ସ ଡିରେକ୍ଟୋରୀ ପରି ଲାଗୁନାହିଁ\n" @@ -3917,17 +3919,12 @@ msgstr "" msgid "virt-win-reg: {p}: not a supported Windows Registry path\n" msgstr "" -#: tools/virt-win-reg.pl:522 tools/virt-win-reg.pl:544 -#, perl-brace-format -msgid "virt-win-reg: {p}: file not found in guest: {err}\n" -msgstr "" - -#: tools/virt-win-reg.pl:529 +#: tools/virt-win-reg.pl:524 #, perl-brace-format msgid "virt-win-reg: {p}: could not download registry file: {err}\n" msgstr "" -#: tools/virt-win-reg.pl:551 +#: tools/virt-win-reg.pl:541 #, perl-brace-format msgid "virt-win-reg: {p}: could not upload registry file: {err}\n" msgstr "" @@ -4159,11 +4156,11 @@ msgstr "" msgid "Align first partition (default: auto)" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:57 +#: ../sysprep/sysprep_operation_hostname.ml:66 msgid "Change the hostname of the guest" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:66 +#: ../sysprep/sysprep_operation_hostname.ml:75 msgid "" "Change the hostname. If not given, defaults to C<localhost.localdomain>." msgstr "" @@ -4396,7 +4393,7 @@ msgstr "" msgid "Never do SELinux relabel" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:65 +#: ../sysprep/sysprep_operation_hostname.ml:74 msgid "New hostname" msgstr "" @@ -4671,7 +4668,7 @@ msgid "" "virtual machine's disk, but it was stored on disk in older distros." msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:58 +#: ../sysprep/sysprep_operation_hostname.ml:67 msgid "" "This operation changes the hostname of the guest to the value\n" "given in the I<--hostname> parameter.\n" @@ -4768,7 +4765,7 @@ msgstr "" msgid "fs" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:65 +#: ../sysprep/sysprep_operation_hostname.ml:74 msgid "hostname" msgstr "" @@ -10,7 +10,7 @@ msgstr "" "Project-Id-Version: libguestfs\n" "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?" "component=libguestfs&product=Virtualization+Tools\n" -"POT-Creation-Date: 2012-09-19 13:50+0100\n" +"POT-Creation-Date: 2012-10-01 16:29+0100\n" "PO-Revision-Date: 2012-05-21 13:19+0000\n" "Last-Translator: rjones <rjones@redhat.com>\n" "Language-Team: Panjabi (Punjabi) <punjabi-users@lists.sf.net>\n" @@ -168,12 +168,12 @@ msgstr "" " -x Trace libguestfs API calls\n" "For more information, see the manpage %s(1)।\n" -#: cat/virt-cat.c:358 edit/virt-edit.c:666 fish/fish.c:1582 +#: cat/virt-cat.c:355 edit/virt-edit.c:665 fish/fish.c:1582 #, c-format msgid "%s: to use Windows drive letters, this must be a Windows guest\n" msgstr "" -#: cat/virt-cat.c:372 edit/virt-edit.c:680 +#: cat/virt-cat.c:369 edit/virt-edit.c:679 #, c-format msgid "%s: drive '%c:' not found.\n" msgstr "" @@ -3143,12 +3143,12 @@ msgid "" "For more information, see the manpage %s(1).\n" msgstr "" -#: inspector/virt-inspector.c:254 +#: inspector/virt-inspector.c:251 #, c-format msgid "%s: cannot use --xpath together with other options.\n" msgstr "" -#: inspector/virt-inspector.c:287 +#: inspector/virt-inspector.c:284 #, c-format msgid "" "%s: no operating system could be detected inside this disk image.\n" @@ -3177,52 +3177,52 @@ msgstr "" "If you feel this is an error, please file a bug report including as much\n" "information about the disk image as possible.\n" -#: inspector/virt-inspector.c:312 +#: inspector/virt-inspector.c:309 #, c-format msgid "%s: XML write error at \"%s\": %m\n" msgstr "%s: XML ਲਿਖਣ ਗਲਤੀ \"%s\" ਉੱਪਰ: %m\n" -#: inspector/virt-inspector.c:324 +#: inspector/virt-inspector.c:321 #, c-format msgid "%s: xmlOutputBufferCreateFd: failed to open stdout\n" msgstr "%s: xmlOutputBufferCreateFd: stdout ਨੂੰ ਖੋਲਣ ਤੋਂ ਫੇਲ ਹੋਇਆ\n" -#: inspector/virt-inspector.c:332 +#: inspector/virt-inspector.c:329 #, c-format msgid "%s: xmlNewTextWriter: failed to create libxml2 writer\n" msgstr "%s: xmlNewTextWriter: libxml2 ਰਾਈਟਰ ਬਣਾਉਣ ਵਿੱਚ ਫੇਲ\n" -#: inspector/virt-inspector.c:826 +#: inspector/virt-inspector.c:823 #, c-format msgid "%s: unable to parse XML from stdin\n" msgstr "" -#: inspector/virt-inspector.c:832 +#: inspector/virt-inspector.c:829 #, c-format msgid "%s: unable to create new XPath context\n" msgstr "" -#: inspector/virt-inspector.c:839 +#: inspector/virt-inspector.c:836 #, c-format msgid "%s: unable to evaluate XPath expression\n" msgstr "" -#: inspector/virt-inspector.c:850 +#: inspector/virt-inspector.c:847 #, c-format msgid "%s: xmlSaveToFd failed\n" msgstr "" -#: inspector/virt-inspector.c:857 +#: inspector/virt-inspector.c:854 #, c-format msgid "%s: xmlNewDoc failed\n" msgstr "" -#: inspector/virt-inspector.c:862 +#: inspector/virt-inspector.c:859 #, c-format msgid "%s: xmlCopyNode failed\n" msgstr "" -#: inspector/virt-inspector.c:869 +#: inspector/virt-inspector.c:866 #, c-format msgid "%s: xmlSaveDoc failed\n" msgstr "" @@ -3271,7 +3271,7 @@ msgstr "{imagename} ਇੱਕ libvirt ਡੋਮੇਨ ਦਾ ਨਾਂ ਨਹੀ msgid "{imagename} seems to have no disk devices\n" msgstr "{imagename} ਲੱਗਦਾ ਹੈ ਕੋਈ ਜਿਸਕ ਜੰਤਰ ਨਹੀਂ ਹੈ\n" -#: perl/lib/Sys/Guestfs/Lib.pm:831 +#: perl/lib/Sys/Guestfs/Lib.pm:834 msgid "" "No operating system could be detected inside this disk image.\n" "\n" @@ -3290,56 +3290,56 @@ msgstr "" "ਜੇ ਤੁਹਾਨੂੰ ਇਹ ਗਲਤੀ ਲੱਗਦੀ ਹੈ, ਤਾਂ ਕਿਰਪਾ ਕਰਕੇ ਡਿਸਕ ਈਮੇਜ਼ ਬਾਰੇ ਸੰਭ ਜਾਣਕਾਰੀ ਸਮੇਤ\n" "ਬੱਗ ਫਾਈਲ ਕਰੋ।\n" -#: perl/lib/Sys/Guestfs/Lib.pm:949 +#: perl/lib/Sys/Guestfs/Lib.pm:952 #, perl-brace-format msgid "unknown filesystem {fs}\n" msgstr "ਅਣਜਾਣ ਫਾਇਲ-ਸਿਸਟਮ {fs}\n" -#: perl/lib/Sys/Guestfs/Lib.pm:1027 +#: perl/lib/Sys/Guestfs/Lib.pm:1030 #, perl-brace-format msgid "Error running rpm -qa: {error}" msgstr "rpm -qa ਚਲਾਉਣ ਵੇਲੇ ਗਲਤੀ: {error}" -#: perl/lib/Sys/Guestfs/Lib.pm:1053 +#: perl/lib/Sys/Guestfs/Lib.pm:1056 #, perl-brace-format msgid "Error running dpkg-query: {error}" msgstr "dpkg-query ਚੱਲਣ ਸਮੇਂ ਗਲਤੀ: {error}" -#: perl/lib/Sys/Guestfs/Lib.pm:1118 +#: perl/lib/Sys/Guestfs/Lib.pm:1121 msgid "Can't find grub on guest" msgstr "ਗਿਸਟ ਉੱਪਰ ਗਰੱਬ (grub) ਨਹੀਂ ਲੱਭ ਸਕਦਾ" -#: perl/lib/Sys/Guestfs/Lib.pm:1173 +#: perl/lib/Sys/Guestfs/Lib.pm:1176 #, perl-brace-format msgid "Grub entry {title} has no kernel" msgstr "ਗਰੱਬ (Grub) ਐਂਟਰੀ {title} ਵਿੱਚ ਕੋਈ ਕਰਨਲ ਨਹੀਂ ਹੈ" -#: perl/lib/Sys/Guestfs/Lib.pm:1204 +#: perl/lib/Sys/Guestfs/Lib.pm:1207 #, perl-brace-format msgid "grub refers to {path}, which doesn't exist\n" msgstr "ਗਰੱਬ (grub) ਦਾ ਹਵਾਲਾ {path} ਵੱਲ ਹੈ, ਜੋ ਮੌਜੂਦ ਨਹੀਂ ਹੈ\n" -#: perl/lib/Sys/Guestfs/Lib.pm:1227 +#: perl/lib/Sys/Guestfs/Lib.pm:1230 #, perl-brace-format msgid "Grub entry {title} does not specify an initrd" msgstr "ਗਰੱਬ (Grub) ਐਂਟਰੀ {title} ਵਿੱਚ ਇੱਕ initrd ਨਹੀਂ ਦਿੱਤਾ" -#: perl/lib/Sys/Guestfs/Lib.pm:1296 +#: perl/lib/Sys/Guestfs/Lib.pm:1299 #, perl-brace-format msgid "Didn't find modules directory {modules} for kernel {path}" msgstr "ਕਰਨਲ {path} ਲਈ ਮੋਡੀਊਲ ਡਾਇਰੈਕਟਰੀ {modules} ਨਹੀਂ ਲੱਭੀ" -#: perl/lib/Sys/Guestfs/Lib.pm:1304 +#: perl/lib/Sys/Guestfs/Lib.pm:1307 #, perl-brace-format msgid "Couldn't guess kernel version number from path for kernel {path}" msgstr "ਕਰਨਲ ਲਈ ਮਾਰਗ {path} ਤੋਂ ਕਰਨ ਦਾ ਵਰਜਨ ਪਤਾ ਨਹੀਂ ਲੱਗ ਸਕਿਆ" -#: perl/lib/Sys/Guestfs/Lib.pm:1358 +#: perl/lib/Sys/Guestfs/Lib.pm:1361 #, perl-brace-format msgid "{path} doesn't match augeas pattern" msgstr "{path} ਦਾ ਮੇਲ augeas ਪੈਟਰਨ ਨਾਲ ਨਹੀਂ ਹੁੰਦਾ" -#: perl/lib/Sys/Guestfs/Lib.pm:1397 +#: perl/lib/Sys/Guestfs/Lib.pm:1400 #, perl-brace-format msgid "{filename}: could not read initrd format" msgstr "{filename}: initrd ਫਾਰਮੈਟ ਪੜ ਨਹੀਂ ਸਕਿਆ" @@ -3393,19 +3393,19 @@ msgstr "" msgid "%s: --scratch parameter '%s' should be >= 1\n" msgstr "" -#: rescue/virt-rescue.c:224 +#: rescue/virt-rescue.c:221 #, c-format msgid "%s: could not parse memory size '%s'\n" msgstr "%s: ਮੈਮੋਰੀ ਅਕਾਰ ਪਾਰਸ ਨਹੀਂ ਕਰ ਸਕਿਆ '%s'\n" -#: rescue/virt-rescue.c:396 +#: rescue/virt-rescue.c:393 #, c-format msgid "" "Inspecting the virtual machine or disk image ...\n" "\n" msgstr "" -#: rescue/virt-rescue.c:415 +#: rescue/virt-rescue.c:412 #, c-format msgid "" "This disk contains one or more operating systems. You can use these mount\n" @@ -3413,7 +3413,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:425 +#: rescue/virt-rescue.c:422 #, c-format msgid "" "# %s is the root of a %s operating system\n" @@ -3422,7 +3422,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:482 +#: rescue/virt-rescue.c:479 #, c-format msgid "" "This disk contains no filesystems that we recognize.\n" @@ -3432,7 +3432,7 @@ msgid "" "logical volumes and filesystems on a blank disk.\n" msgstr "" -#: rescue/virt-rescue.c:489 +#: rescue/virt-rescue.c:486 #, c-format msgid "" "This disk contains one or more filesystems, but we don't recognize any\n" @@ -3441,12 +3441,12 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:494 +#: rescue/virt-rescue.c:491 #, c-format msgid "# %s has type '%s'\n" msgstr "" -#: rescue/virt-rescue.c:702 +#: rescue/virt-rescue.c:699 #, c-format msgid "%s: unknown child exit status (%d)\n" msgstr "%s: ਅਣਜਾਣ ਲੰਬਾ ਚੋਣ: (%d)\n" @@ -3574,7 +3574,7 @@ msgstr "libguestfs: error: %s\n" msgid "<truncated, original size %zu bytes>" msgstr "<ਘਟਾਇਆ, ਅਸਲੀ ਅਕਾਰ %zu ਬਾਈਟ>" -#: src/inspect-apps.c:613 src/inspect.c:546 +#: src/inspect-apps.c:610 src/inspect.c:546 msgid "" "inspection API not available since this version of libguestfs was compiled " "without the hivex library" @@ -3596,11 +3596,6 @@ msgstr "%s ਦਾ ਅਕਾਰ ਬੇਲੋੜਾ ਹੈ (%<PRIi64> ਬਾਈਟ msgid "could not parse /etc/fstab or empty file" msgstr "/etc/fstab ਜਾਂ ਖਾਲੀ ਫਾਇਲ ਨੂੰ ਪਾਰਸ ਨਹੀਂ ਕਰ ਸਕਦਾ" -#: src/inspect-fs-windows.c:167 -#, c-format -msgid "cannot resolve Windows %%SYSTEMROOT%%" -msgstr "Windows %%SYSTEMROOT%% ਨੂੰ ਰਿਜ਼ੌਲਵ ਨਹੀਂ ਕਰ ਸਕਦਾ" - #: src/inspect-fs.c:365 src/inspect-fs.c:378 #, c-format msgid "could not parse integer in version number: %s" @@ -3673,10 +3668,6 @@ msgstr "libguestfs ਹੈਂਡਲ ਪਹਿਲਾਂ ਹੀ ਚਾਲੂ ਕੀ msgid "you must call guestfs_add_drive before guestfs_launch" msgstr "you must call guestfs_add_drive before guestfs_launch" -#: src/launch.c:1058 src/launch.c:1063 -msgid "guestfs_launch failed, see earlier error messages" -msgstr "guestfs_launch ਫੇਲ ਹੋਇਆ, ਪਹਿਲੇ ਗਲਤੀ ਸੁਨੇਹੇ ਵੇਖੋ" - #: src/launch.c:1076 msgid "qemu launched and contacted daemon, but state != READY" msgstr "qemu launched and contacted daemon, but state != READY" @@ -3689,12 +3680,23 @@ msgstr "guestfs_launch ਫੇਲ ਹੋਇਆ, ਅਚਾਨਕ ਸ਼ੁਰੂਆ msgid "contacted guestfsd, but state != READY" msgstr "guestfsd ਨਾਲ ਸੰਪਰਕ ਕੀਤਾ ਹੈ, ਪਰ state != READY" -#: src/launch.c:1266 +#: src/launch.c:1226 +msgid "guestfs_launch failed, see earlier error messages" +msgstr "guestfs_launch ਫੇਲ ਹੋਇਆ, ਪਹਿਲੇ ਗਲਤੀ ਸੁਨੇਹੇ ਵੇਖੋ" + +#: src/launch.c:1228 +msgid "" +"guestfs_launch failed.\n" +"See http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs\n" +"and/or run 'libguestfs-test-tool'." +msgstr "" + +#: src/launch.c:1282 #, c-format msgid "%s: cannot create temporary directory" msgstr "%s: ਆਰਜੀ ਡਾਇਰੈਕਟਰੀ ਨਹੀਂ ਬਣਾ ਸਕਿਆ" -#: src/launch.c:1393 +#: src/launch.c:1409 #, c-format msgid "" "command failed: %s\n" @@ -3704,7 +3706,7 @@ msgid "" "environment variable. There may also be errors printed above." msgstr "" -#: src/launch.c:1546 +#: src/launch.c:1562 msgid "qemu has not been launched yet" msgstr "qemu ਹਾਲੇ ਤੱਕ ਚਾਲੂ ਨਹੀਂ ਕੀਤਾ" @@ -3878,67 +3880,67 @@ msgid "" " -V Display libguestfs version and exit\n" msgstr "" -#: test-tool/test-tool.c:111 +#: test-tool/test-tool.c:122 #, c-format msgid "libguestfs-test-tool: failed to create libguestfs handle\n" msgstr "libguestfs-test-tool: failed to create libguestfs handle\n" -#: test-tool/test-tool.c:117 +#: test-tool/test-tool.c:128 #, c-format msgid "libguestfs-test-tool: guestfs_version failed\n" msgstr "libguestfs-test-tool: guestfs_version failed\n" -#: test-tool/test-tool.c:133 +#: test-tool/test-tool.c:144 #, c-format msgid "libguestfs-test-tool: unknown long option: %s (%d)\n" msgstr "libguestfs-test-tool: unknown long option: %s (%d)\n" -#: test-tool/test-tool.c:142 +#: test-tool/test-tool.c:153 #, c-format msgid "libguestfs-test-tool: invalid timeout: %s\n" msgstr "libguestfs-test-tool: invalid timeout: %s\n" -#: test-tool/test-tool.c:161 +#: test-tool/test-tool.c:172 #, c-format msgid "libguestfs-test-tool: unexpected command line option 0x%x\n" msgstr "libguestfs-test-tool: unexpected command line option 0x%x\n" -#: test-tool/test-tool.c:196 +#: test-tool/test-tool.c:207 #, c-format msgid "libguestfs-test-tool: failed to add drive '%s'\n" msgstr "libguestfs-test-tool: failed to add drive '%s'\n" -#: test-tool/test-tool.c:233 +#: test-tool/test-tool.c:244 #, c-format msgid "libguestfs-test-tool: failed to launch appliance\n" msgstr "libguestfs-test-tool: failed to launch appliance\n" -#: test-tool/test-tool.c:245 +#: test-tool/test-tool.c:256 #, c-format msgid "libguestfs-test-tool: failed to run part-disk\n" msgstr "" -#: test-tool/test-tool.c:251 +#: test-tool/test-tool.c:262 #, c-format msgid "libguestfs-test-tool: failed to mkfs.ext2\n" msgstr "libguestfs-test-tool: failed to mkfs.ext2\n" -#: test-tool/test-tool.c:257 +#: test-tool/test-tool.c:268 #, c-format msgid "libguestfs-test-tool: failed to mount /dev/sda1 on /\n" msgstr "libguestfs-test-tool: failed to mount /dev/sda1 on /\n" -#: test-tool/test-tool.c:264 +#: test-tool/test-tool.c:275 #, c-format msgid "libguestfs-test-tool: failed to touch file\n" msgstr "" -#: test-tool/test-tool.c:270 +#: test-tool/test-tool.c:281 #, c-format msgid "libguestfs-test-tool: shutdown failed\n" msgstr "" -#: test-tool/test-tool.c:303 +#: test-tool/test-tool.c:314 #, c-format msgid "" "LIBGUESTFS_QEMU environment variable is already set, so\n" @@ -3947,12 +3949,12 @@ msgstr "" "LIBGUESTFS_QEMU environment variable is already set, so\n" "--qemu/--qemudir options cannot be used.\n" -#: test-tool/test-tool.c:311 +#: test-tool/test-tool.c:322 #, c-format msgid "Binary '%s' does not exist or is not executable\n" msgstr "ਬਾਇਨਰੀ '%s' ਬੰਦ ਨਹੀਂ ਹੋਇਆ ਜਾਂ ਚੱਲਣਯੋਗ ਨਹੀਂ ਹੈ\n" -#: test-tool/test-tool.c:325 +#: test-tool/test-tool.c:336 #, c-format msgid "%s: does not look like a qemu source directory\n" msgstr "%s: ਇੱਕ qemu ਸਰੋਤ ਡਾਇਰੈਕਟਰੀ ਨਹੀਂ ਲੱਗਦੀ\n" @@ -4080,17 +4082,12 @@ msgstr "" msgid "virt-win-reg: {p}: not a supported Windows Registry path\n" msgstr "virt-win-reg: {p}: ਇੱਕ ਸਹਿਯੋਗੀ Windows ਰਜਿਸਟਰੀ ਮਾਰਗ ਨਹੀਂ ਹੈ\n" -#: tools/virt-win-reg.pl:522 tools/virt-win-reg.pl:544 -#, perl-brace-format -msgid "virt-win-reg: {p}: file not found in guest: {err}\n" -msgstr "virt-win-reg: {p}: ਗਿਸਟ ਵਿੱਚ ਫਾਇਲ ਨਹੀਂ ਲੱਭ: {err}\n" - -#: tools/virt-win-reg.pl:529 +#: tools/virt-win-reg.pl:524 #, perl-brace-format msgid "virt-win-reg: {p}: could not download registry file: {err}\n" msgstr "virt-win-reg: {p}: ਰਜਿਸਟਰੀ ਫਾਇਲ ਡਾਊਨਲੋਡ ਨਹੀਂ ਕਰ ਸਕਿਆ: {err}\n" -#: tools/virt-win-reg.pl:551 +#: tools/virt-win-reg.pl:541 #, perl-brace-format msgid "virt-win-reg: {p}: could not upload registry file: {err}\n" msgstr "virt-win-reg: {p}: ਰਜਿਸਟਰੀ ਫਾਇਲ ਨੂੰ ਅੱਪਲੋਡ ਨਹੀਂ ਕਰ ਸਕਦਾ: {err}\n" @@ -4322,11 +4319,11 @@ msgstr "" msgid "Align first partition (default: auto)" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:57 +#: ../sysprep/sysprep_operation_hostname.ml:66 msgid "Change the hostname of the guest" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:66 +#: ../sysprep/sysprep_operation_hostname.ml:75 msgid "" "Change the hostname. If not given, defaults to C<localhost.localdomain>." msgstr "" @@ -4559,7 +4556,7 @@ msgstr "" msgid "Never do SELinux relabel" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:65 +#: ../sysprep/sysprep_operation_hostname.ml:74 msgid "New hostname" msgstr "" @@ -4834,7 +4831,7 @@ msgid "" "virtual machine's disk, but it was stored on disk in older distros." msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:58 +#: ../sysprep/sysprep_operation_hostname.ml:67 msgid "" "This operation changes the hostname of the guest to the value\n" "given in the I<--hostname> parameter.\n" @@ -4931,7 +4928,7 @@ msgstr "" msgid "fs" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:65 +#: ../sysprep/sysprep_operation_hostname.ml:74 msgid "hostname" msgstr "" @@ -5107,6 +5104,12 @@ msgstr "" msgid "you cannot use the same disk image for input and output" msgstr "" +#~ msgid "cannot resolve Windows %%SYSTEMROOT%%" +#~ msgstr "Windows %%SYSTEMROOT%% ਨੂੰ ਰਿਜ਼ੌਲਵ ਨਹੀਂ ਕਰ ਸਕਦਾ" + +#~ msgid "virt-win-reg: {p}: file not found in guest: {err}\n" +#~ msgstr "virt-win-reg: {p}: ਗਿਸਟ ਵਿੱਚ ਫਾਇਲ ਨਹੀਂ ਲੱਭ: {err}\n" + #~ msgid "no subprocess to kill" #~ msgstr "ਖਤਮ ਕਰਨ ਲਈ ਕੋਈ ਅਧੀਨ-ਕਾਰਜ ਨਹੀਂ" @@ -10,7 +10,7 @@ msgstr "" "Project-Id-Version: libguestfs\n" "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?" "component=libguestfs&product=Virtualization+Tools\n" -"POT-Creation-Date: 2012-09-19 13:50+0100\n" +"POT-Creation-Date: 2012-10-01 16:29+0100\n" "PO-Revision-Date: 2012-05-21 13:19+0000\n" "Last-Translator: rjones <rjones@redhat.com>\n" "Language-Team: Polish (http://www.transifex.net/projects/p/fedora/language/" @@ -170,13 +170,13 @@ msgstr "" " -x Śledzi wywołania API biblioteki libguestfs\n" "Aby dowiedzieć się więcej, należy zobaczyć stronę podręcznika %s(1).\n" -#: cat/virt-cat.c:358 edit/virt-edit.c:666 fish/fish.c:1582 +#: cat/virt-cat.c:355 edit/virt-edit.c:665 fish/fish.c:1582 #, c-format msgid "%s: to use Windows drive letters, this must be a Windows guest\n" msgstr "" "%s: musi być gościem systemu Windows, aby użyć liter dysków systemu Windows\n" -#: cat/virt-cat.c:372 edit/virt-edit.c:680 +#: cat/virt-cat.c:369 edit/virt-edit.c:679 #, c-format msgid "%s: drive '%c:' not found.\n" msgstr "%s: nie odnaleziono napędu \"%c:\".\n" @@ -3334,12 +3334,12 @@ msgstr "" " --xpath query Wykonuje zapytanie XPath\n" "Aby dowiedzieć się więcej, należy zobaczyć stronę podręcznika %s(1).\n" -#: inspector/virt-inspector.c:254 +#: inspector/virt-inspector.c:251 #, c-format msgid "%s: cannot use --xpath together with other options.\n" msgstr "%s: nie można użyć --xpath razem z innymi opcjami.\n" -#: inspector/virt-inspector.c:287 +#: inspector/virt-inspector.c:284 #, c-format msgid "" "%s: no operating system could be detected inside this disk image.\n" @@ -3367,56 +3367,56 @@ msgstr "" "Jeśli jest to błąd, proszę wypełnić zgłoszenie błędu dołączając tak dużo " "informacji o pliku obrazu, jak to tylko możliwe (w języku angielskim).\n" -#: inspector/virt-inspector.c:312 +#: inspector/virt-inspector.c:309 #, c-format msgid "%s: XML write error at \"%s\": %m\n" msgstr "%s: błąd zapisu XML w \"%s\": %m\n" -#: inspector/virt-inspector.c:324 +#: inspector/virt-inspector.c:321 #, c-format msgid "%s: xmlOutputBufferCreateFd: failed to open stdout\n" msgstr "" "%s: xmlOutputBufferCreateFd: otwarcie standardowego wyjścia się nie " "powiodło\n" -#: inspector/virt-inspector.c:332 +#: inspector/virt-inspector.c:329 #, c-format msgid "%s: xmlNewTextWriter: failed to create libxml2 writer\n" msgstr "" "%s: xmlNewTextWriter: utworzenie modułu zapisującego libxml2 się nie " "powiodło\n" -#: inspector/virt-inspector.c:826 +#: inspector/virt-inspector.c:823 #, c-format msgid "%s: unable to parse XML from stdin\n" msgstr "%s: nie można przetworzyć XML ze standardowego wejścia\n" -#: inspector/virt-inspector.c:832 +#: inspector/virt-inspector.c:829 #, c-format msgid "%s: unable to create new XPath context\n" msgstr "%s: nie można utworzyć nowego kontekstu XPath\n" -#: inspector/virt-inspector.c:839 +#: inspector/virt-inspector.c:836 #, c-format msgid "%s: unable to evaluate XPath expression\n" msgstr "%s: nie można sprawdzić wyrażenia XPath\n" -#: inspector/virt-inspector.c:850 +#: inspector/virt-inspector.c:847 #, c-format msgid "%s: xmlSaveToFd failed\n" msgstr "%s: xmlSaveToFd się nie powiodło\n" -#: inspector/virt-inspector.c:857 +#: inspector/virt-inspector.c:854 #, c-format msgid "%s: xmlNewDoc failed\n" msgstr "%s: xmlNewDoc się nie powiodło\n" -#: inspector/virt-inspector.c:862 +#: inspector/virt-inspector.c:859 #, c-format msgid "%s: xmlCopyNode failed\n" msgstr "%s: xmlCopyNode się nie powiodło\n" -#: inspector/virt-inspector.c:869 +#: inspector/virt-inspector.c:866 #, c-format msgid "%s: xmlSaveDoc failed\n" msgstr "%s: xmlSaveDoc się nie powiodło\n" @@ -3465,7 +3465,7 @@ msgstr "{imagename} nie jest nazwą domeny biblioteki libvirt\n" msgid "{imagename} seems to have no disk devices\n" msgstr "{imagename} nie posiada żadnych urządzeń dyskowych\n" -#: perl/lib/Sys/Guestfs/Lib.pm:831 +#: perl/lib/Sys/Guestfs/Lib.pm:834 msgid "" "No operating system could be detected inside this disk image.\n" "\n" @@ -3484,56 +3484,56 @@ msgstr "" "Jeśli jest to błąd, proszę wypełnić zgłoszenie błędu dołączając tak dużo " "informacji o pliku obrazu, jak to tylko możliwe (w języku angielskim).\n" -#: perl/lib/Sys/Guestfs/Lib.pm:949 +#: perl/lib/Sys/Guestfs/Lib.pm:952 #, perl-brace-format msgid "unknown filesystem {fs}\n" msgstr "nieznany system plików {fs}\n" -#: perl/lib/Sys/Guestfs/Lib.pm:1027 +#: perl/lib/Sys/Guestfs/Lib.pm:1030 #, perl-brace-format msgid "Error running rpm -qa: {error}" msgstr "Błąd podczas wykonywania polecenia rpm -qa: {error}" -#: perl/lib/Sys/Guestfs/Lib.pm:1053 +#: perl/lib/Sys/Guestfs/Lib.pm:1056 #, perl-brace-format msgid "Error running dpkg-query: {error}" msgstr "Błąd podczas wykonywania polecenia dpkg-query: {error}" -#: perl/lib/Sys/Guestfs/Lib.pm:1118 +#: perl/lib/Sys/Guestfs/Lib.pm:1121 msgid "Can't find grub on guest" msgstr "Nie można odnaleźć programu GRUB w gościu" -#: perl/lib/Sys/Guestfs/Lib.pm:1173 +#: perl/lib/Sys/Guestfs/Lib.pm:1176 #, perl-brace-format msgid "Grub entry {title} has no kernel" msgstr "Wpis programu GRUB {title} nie posiada jądra" -#: perl/lib/Sys/Guestfs/Lib.pm:1204 +#: perl/lib/Sys/Guestfs/Lib.pm:1207 #, perl-brace-format msgid "grub refers to {path}, which doesn't exist\n" msgstr "program GRUB odnosi się do {path}, który nie istnieje\n" -#: perl/lib/Sys/Guestfs/Lib.pm:1227 +#: perl/lib/Sys/Guestfs/Lib.pm:1230 #, perl-brace-format msgid "Grub entry {title} does not specify an initrd" msgstr "Wpis programu GRUB {title} nie określa initrd" -#: perl/lib/Sys/Guestfs/Lib.pm:1296 +#: perl/lib/Sys/Guestfs/Lib.pm:1299 #, perl-brace-format msgid "Didn't find modules directory {modules} for kernel {path}" msgstr "Nie odnaleziono katalogu modułów {modules} dla jądra {path}" -#: perl/lib/Sys/Guestfs/Lib.pm:1304 +#: perl/lib/Sys/Guestfs/Lib.pm:1307 #, perl-brace-format msgid "Couldn't guess kernel version number from path for kernel {path}" msgstr "Nie można odgadnąć numeru wersji jądra ze ścieżki jądra {path}" -#: perl/lib/Sys/Guestfs/Lib.pm:1358 +#: perl/lib/Sys/Guestfs/Lib.pm:1361 #, perl-brace-format msgid "{path} doesn't match augeas pattern" msgstr "{path} nie zgadza się ze wzorem Augeas" -#: perl/lib/Sys/Guestfs/Lib.pm:1397 +#: perl/lib/Sys/Guestfs/Lib.pm:1400 #, perl-brace-format msgid "{filename}: could not read initrd format" msgstr "{filename}: nie można odczytać formatu initrd" @@ -3587,12 +3587,12 @@ msgstr "" msgid "%s: --scratch parameter '%s' should be >= 1\n" msgstr "" -#: rescue/virt-rescue.c:224 +#: rescue/virt-rescue.c:221 #, c-format msgid "%s: could not parse memory size '%s'\n" msgstr "%s: nie można przetworzyć rozmiaru pamięci \"%s\"\n" -#: rescue/virt-rescue.c:396 +#: rescue/virt-rescue.c:393 #, c-format msgid "" "Inspecting the virtual machine or disk image ...\n" @@ -3601,7 +3601,7 @@ msgstr "" "Badanie maszyny wirtualnej lub obrazu dysku...\n" "\n" -#: rescue/virt-rescue.c:415 +#: rescue/virt-rescue.c:412 #, c-format msgid "" "This disk contains one or more operating systems. You can use these mount\n" @@ -3613,7 +3613,7 @@ msgstr "" "plików.\n" "\n" -#: rescue/virt-rescue.c:425 +#: rescue/virt-rescue.c:422 #, c-format msgid "" "# %s is the root of a %s operating system\n" @@ -3626,7 +3626,7 @@ msgstr "" "# %s\n" "\n" -#: rescue/virt-rescue.c:482 +#: rescue/virt-rescue.c:479 #, c-format msgid "" "This disk contains no filesystems that we recognize.\n" @@ -3641,7 +3641,7 @@ msgstr "" "systemy plików nierozpoznawane przez bibliotekę libguestfs, albo utworzyć\n" "partycje, woluminy logiczne i systemy plików na pustym dysku.\n" -#: rescue/virt-rescue.c:489 +#: rescue/virt-rescue.c:486 #, c-format msgid "" "This disk contains one or more filesystems, but we don't recognize any\n" @@ -3654,12 +3654,12 @@ msgstr "" "znaku zachęty ><rescue>), aby zamontować te systemy plików.\n" "\n" -#: rescue/virt-rescue.c:494 +#: rescue/virt-rescue.c:491 #, c-format msgid "# %s has type '%s'\n" msgstr "# %s posiada typ \"%s\"\n" -#: rescue/virt-rescue.c:702 +#: rescue/virt-rescue.c:699 #, c-format msgid "%s: unknown child exit status (%d)\n" msgstr "%s: nieznany stan wyjścia potomka (%d)\n" @@ -3800,7 +3800,7 @@ msgstr "libguestfs: błąd: %s\n" msgid "<truncated, original size %zu bytes>" msgstr "<skrócone, pierwotny rozmiar %zu bajtów>" -#: src/inspect-apps.c:613 src/inspect.c:546 +#: src/inspect-apps.c:610 src/inspect.c:546 msgid "" "inspection API not available since this version of libguestfs was compiled " "without the hivex library" @@ -3824,11 +3824,6 @@ msgstr "rozmiar %s jest nierozsądnie duży (%<PRIi64> bajtów)" msgid "could not parse /etc/fstab or empty file" msgstr "nie można przetworzyć pliku /etc/fstab lub pustego pliku" -#: src/inspect-fs-windows.c:167 -#, c-format -msgid "cannot resolve Windows %%SYSTEMROOT%%" -msgstr "nie można rozwiązać %%SYSTEMROOT%% systemu Windows" - #: src/inspect-fs.c:365 src/inspect-fs.c:378 #, c-format msgid "could not parse integer in version number: %s" @@ -3904,12 +3899,6 @@ msgstr "program obsługi libguestfs został już uruchomiony" msgid "you must call guestfs_add_drive before guestfs_launch" msgstr "należy wywołać guestfs_add_drive przed guestfs_launch" -#: src/launch.c:1058 src/launch.c:1063 -msgid "guestfs_launch failed, see earlier error messages" -msgstr "" -"guestfs_launch się nie powiodło, proszę zobaczyć wcześniejsze komunikaty " -"błędów" - #: src/launch.c:1076 msgid "qemu launched and contacted daemon, but state != READY" msgstr "" @@ -3925,12 +3914,25 @@ msgstr "" msgid "contacted guestfsd, but state != READY" msgstr "skontaktowano się z guestfsd, ale stan != GOTOWY" -#: src/launch.c:1266 +#: src/launch.c:1226 +msgid "guestfs_launch failed, see earlier error messages" +msgstr "" +"guestfs_launch się nie powiodło, proszę zobaczyć wcześniejsze komunikaty " +"błędów" + +#: src/launch.c:1228 +msgid "" +"guestfs_launch failed.\n" +"See http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs\n" +"and/or run 'libguestfs-test-tool'." +msgstr "" + +#: src/launch.c:1282 #, c-format msgid "%s: cannot create temporary directory" msgstr "%s: nie można utworzyć katalogu tymczasowego" -#: src/launch.c:1393 +#: src/launch.c:1409 #, c-format msgid "" "command failed: %s\n" @@ -3940,7 +3942,7 @@ msgid "" "environment variable. There may also be errors printed above." msgstr "" -#: src/launch.c:1546 +#: src/launch.c:1562 msgid "qemu has not been launched yet" msgstr "QEMU nie zostało jeszcze uruchomione" @@ -4126,70 +4128,70 @@ msgid "" " -V Display libguestfs version and exit\n" msgstr "" -#: test-tool/test-tool.c:111 +#: test-tool/test-tool.c:122 #, c-format msgid "libguestfs-test-tool: failed to create libguestfs handle\n" msgstr "" "libguestfs-test-tool: utworzenie programu obsługi libguestfs się nie " "powiodło\n" -#: test-tool/test-tool.c:117 +#: test-tool/test-tool.c:128 #, c-format msgid "libguestfs-test-tool: guestfs_version failed\n" msgstr "libguestfs-test-tool: guestfs_version się nie powiodło\n" -#: test-tool/test-tool.c:133 +#: test-tool/test-tool.c:144 #, c-format msgid "libguestfs-test-tool: unknown long option: %s (%d)\n" msgstr "libguestfs-test-tool: nieznana długa opcja: %s (%d)\n" -#: test-tool/test-tool.c:142 +#: test-tool/test-tool.c:153 #, c-format msgid "libguestfs-test-tool: invalid timeout: %s\n" msgstr "libguestfs-test-tool: nieprawidłowy czas oczekiwania: %s\n" -#: test-tool/test-tool.c:161 +#: test-tool/test-tool.c:172 #, c-format msgid "libguestfs-test-tool: unexpected command line option 0x%x\n" msgstr "libguestfs-test-tool: nieoczekiwana opcja wiersza poleceń 0x%x\n" -#: test-tool/test-tool.c:196 +#: test-tool/test-tool.c:207 #, c-format msgid "libguestfs-test-tool: failed to add drive '%s'\n" msgstr "libguestfs-test-tool: dodanie napędu \"%s\" się nie powiodło\n" -#: test-tool/test-tool.c:233 +#: test-tool/test-tool.c:244 #, c-format msgid "libguestfs-test-tool: failed to launch appliance\n" msgstr "libguestfs-test-tool: uruchomienie przyrządu się nie powiodło\n" -#: test-tool/test-tool.c:245 +#: test-tool/test-tool.c:256 #, c-format msgid "libguestfs-test-tool: failed to run part-disk\n" msgstr "libguestfs-test-tool: wykonanie polecenia part-disk się nie powiodło\n" -#: test-tool/test-tool.c:251 +#: test-tool/test-tool.c:262 #, c-format msgid "libguestfs-test-tool: failed to mkfs.ext2\n" msgstr "libguestfs-test-tool: mkfs.ext2 się nie powiodło\n" -#: test-tool/test-tool.c:257 +#: test-tool/test-tool.c:268 #, c-format msgid "libguestfs-test-tool: failed to mount /dev/sda1 on /\n" msgstr "libguestfs-test-tool: zamontowanie /dev/sda1 w / się nie powiodło\n" -#: test-tool/test-tool.c:264 +#: test-tool/test-tool.c:275 #, c-format msgid "libguestfs-test-tool: failed to touch file\n" msgstr "" "libguestfs-test-tool: wykonanie polecenia touch na pliku się nie powiodło\n" -#: test-tool/test-tool.c:270 +#: test-tool/test-tool.c:281 #, c-format msgid "libguestfs-test-tool: shutdown failed\n" msgstr "" -#: test-tool/test-tool.c:303 +#: test-tool/test-tool.c:314 #, c-format msgid "" "LIBGUESTFS_QEMU environment variable is already set, so\n" @@ -4198,12 +4200,12 @@ msgstr "" "Zmienna środowiskowa LIBGUESTFS_QEMU jest już ustawiona, więc nie można\n" "użyć opcji --qemu/--qemudir.\n" -#: test-tool/test-tool.c:311 +#: test-tool/test-tool.c:322 #, c-format msgid "Binary '%s' does not exist or is not executable\n" msgstr "Plik binarny \"%s\" nie istnieje lub nie jest wykonywalny\n" -#: test-tool/test-tool.c:325 +#: test-tool/test-tool.c:336 #, c-format msgid "%s: does not look like a qemu source directory\n" msgstr "%s: nie wygląda na katalog źródłowy QEMU\n" @@ -4342,17 +4344,12 @@ msgid "virt-win-reg: {p}: not a supported Windows Registry path\n" msgstr "" "virt-win-reg: {p}: nie jest obsługiwaną ścieżką rejestru systemu Windows\n" -#: tools/virt-win-reg.pl:522 tools/virt-win-reg.pl:544 -#, perl-brace-format -msgid "virt-win-reg: {p}: file not found in guest: {err}\n" -msgstr "virt-win-reg: {p}: nie odnaleziono pliku w gościu: {err}\n" - -#: tools/virt-win-reg.pl:529 +#: tools/virt-win-reg.pl:524 #, perl-brace-format msgid "virt-win-reg: {p}: could not download registry file: {err}\n" msgstr "virt-win-reg: {p}: nie można pobrać pliku rejestru: {err}\n" -#: tools/virt-win-reg.pl:551 +#: tools/virt-win-reg.pl:541 #, perl-brace-format msgid "virt-win-reg: {p}: could not upload registry file: {err}\n" msgstr "virt-win-reg: {p}: nie można wysłać pliku rejestru: {err}\n" @@ -4584,11 +4581,11 @@ msgstr "" msgid "Align first partition (default: auto)" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:57 +#: ../sysprep/sysprep_operation_hostname.ml:66 msgid "Change the hostname of the guest" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:66 +#: ../sysprep/sysprep_operation_hostname.ml:75 msgid "" "Change the hostname. If not given, defaults to C<localhost.localdomain>." msgstr "" @@ -4821,7 +4818,7 @@ msgstr "" msgid "Never do SELinux relabel" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:65 +#: ../sysprep/sysprep_operation_hostname.ml:74 msgid "New hostname" msgstr "" @@ -5096,7 +5093,7 @@ msgid "" "virtual machine's disk, but it was stored on disk in older distros." msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:58 +#: ../sysprep/sysprep_operation_hostname.ml:67 msgid "" "This operation changes the hostname of the guest to the value\n" "given in the I<--hostname> parameter.\n" @@ -5193,7 +5190,7 @@ msgstr "" msgid "fs" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:65 +#: ../sysprep/sysprep_operation_hostname.ml:74 msgid "hostname" msgstr "" @@ -5369,6 +5366,12 @@ msgstr "" msgid "you cannot use the same disk image for input and output" msgstr "" +#~ msgid "cannot resolve Windows %%SYSTEMROOT%%" +#~ msgstr "nie można rozwiązać %%SYSTEMROOT%% systemu Windows" + +#~ msgid "virt-win-reg: {p}: file not found in guest: {err}\n" +#~ msgstr "virt-win-reg: {p}: nie odnaleziono pliku w gościu: {err}\n" + #~ msgid "" #~ "%s: FUSE module for libguestfs\n" #~ "%s lets you mount a virtual machine filesystem\n" @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: libguestfs\n" "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?" "component=libguestfs&product=Virtualization+Tools\n" -"POT-Creation-Date: 2012-09-19 13:50+0100\n" +"POT-Creation-Date: 2012-10-01 16:29+0100\n" "PO-Revision-Date: 2012-05-21 13:19+0000\n" "Last-Translator: rjones <rjones@redhat.com>\n" "Language-Team: Tamil <tamil-users@lists.fedoraproject.org>\n" @@ -134,12 +134,12 @@ msgid "" "For more information, see the manpage %s(1).\n" msgstr "" -#: cat/virt-cat.c:358 edit/virt-edit.c:666 fish/fish.c:1582 +#: cat/virt-cat.c:355 edit/virt-edit.c:665 fish/fish.c:1582 #, c-format msgid "%s: to use Windows drive letters, this must be a Windows guest\n" msgstr "" -#: cat/virt-cat.c:372 edit/virt-edit.c:680 +#: cat/virt-cat.c:369 edit/virt-edit.c:679 #, c-format msgid "%s: drive '%c:' not found.\n" msgstr "" @@ -3026,12 +3026,12 @@ msgid "" "For more information, see the manpage %s(1).\n" msgstr "" -#: inspector/virt-inspector.c:254 +#: inspector/virt-inspector.c:251 #, c-format msgid "%s: cannot use --xpath together with other options.\n" msgstr "" -#: inspector/virt-inspector.c:287 +#: inspector/virt-inspector.c:284 #, c-format msgid "" "%s: no operating system could be detected inside this disk image.\n" @@ -3048,52 +3048,52 @@ msgid "" "information about the disk image as possible.\n" msgstr "" -#: inspector/virt-inspector.c:312 +#: inspector/virt-inspector.c:309 #, c-format msgid "%s: XML write error at \"%s\": %m\n" msgstr "" -#: inspector/virt-inspector.c:324 +#: inspector/virt-inspector.c:321 #, c-format msgid "%s: xmlOutputBufferCreateFd: failed to open stdout\n" msgstr "" -#: inspector/virt-inspector.c:332 +#: inspector/virt-inspector.c:329 #, c-format msgid "%s: xmlNewTextWriter: failed to create libxml2 writer\n" msgstr "" -#: inspector/virt-inspector.c:826 +#: inspector/virt-inspector.c:823 #, c-format msgid "%s: unable to parse XML from stdin\n" msgstr "" -#: inspector/virt-inspector.c:832 +#: inspector/virt-inspector.c:829 #, c-format msgid "%s: unable to create new XPath context\n" msgstr "" -#: inspector/virt-inspector.c:839 +#: inspector/virt-inspector.c:836 #, c-format msgid "%s: unable to evaluate XPath expression\n" msgstr "" -#: inspector/virt-inspector.c:850 +#: inspector/virt-inspector.c:847 #, c-format msgid "%s: xmlSaveToFd failed\n" msgstr "" -#: inspector/virt-inspector.c:857 +#: inspector/virt-inspector.c:854 #, c-format msgid "%s: xmlNewDoc failed\n" msgstr "" -#: inspector/virt-inspector.c:862 +#: inspector/virt-inspector.c:859 #, c-format msgid "%s: xmlCopyNode failed\n" msgstr "" -#: inspector/virt-inspector.c:869 +#: inspector/virt-inspector.c:866 #, c-format msgid "%s: xmlSaveDoc failed\n" msgstr "" @@ -3140,7 +3140,7 @@ msgstr "" msgid "{imagename} seems to have no disk devices\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:831 +#: perl/lib/Sys/Guestfs/Lib.pm:834 msgid "" "No operating system could be detected inside this disk image.\n" "\n" @@ -3152,56 +3152,56 @@ msgid "" "information about the disk image as possible.\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:949 +#: perl/lib/Sys/Guestfs/Lib.pm:952 #, perl-brace-format msgid "unknown filesystem {fs}\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1027 +#: perl/lib/Sys/Guestfs/Lib.pm:1030 #, perl-brace-format msgid "Error running rpm -qa: {error}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1053 +#: perl/lib/Sys/Guestfs/Lib.pm:1056 #, perl-brace-format msgid "Error running dpkg-query: {error}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1118 +#: perl/lib/Sys/Guestfs/Lib.pm:1121 msgid "Can't find grub on guest" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1173 +#: perl/lib/Sys/Guestfs/Lib.pm:1176 #, perl-brace-format msgid "Grub entry {title} has no kernel" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1204 +#: perl/lib/Sys/Guestfs/Lib.pm:1207 #, perl-brace-format msgid "grub refers to {path}, which doesn't exist\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1227 +#: perl/lib/Sys/Guestfs/Lib.pm:1230 #, perl-brace-format msgid "Grub entry {title} does not specify an initrd" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1296 +#: perl/lib/Sys/Guestfs/Lib.pm:1299 #, perl-brace-format msgid "Didn't find modules directory {modules} for kernel {path}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1304 +#: perl/lib/Sys/Guestfs/Lib.pm:1307 #, perl-brace-format msgid "Couldn't guess kernel version number from path for kernel {path}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1358 +#: perl/lib/Sys/Guestfs/Lib.pm:1361 #, perl-brace-format msgid "{path} doesn't match augeas pattern" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1397 +#: perl/lib/Sys/Guestfs/Lib.pm:1400 #, perl-brace-format msgid "{filename}: could not read initrd format" msgstr "" @@ -3255,19 +3255,19 @@ msgstr "" msgid "%s: --scratch parameter '%s' should be >= 1\n" msgstr "" -#: rescue/virt-rescue.c:224 +#: rescue/virt-rescue.c:221 #, c-format msgid "%s: could not parse memory size '%s'\n" msgstr "" -#: rescue/virt-rescue.c:396 +#: rescue/virt-rescue.c:393 #, c-format msgid "" "Inspecting the virtual machine or disk image ...\n" "\n" msgstr "" -#: rescue/virt-rescue.c:415 +#: rescue/virt-rescue.c:412 #, c-format msgid "" "This disk contains one or more operating systems. You can use these mount\n" @@ -3275,7 +3275,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:425 +#: rescue/virt-rescue.c:422 #, c-format msgid "" "# %s is the root of a %s operating system\n" @@ -3284,7 +3284,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:482 +#: rescue/virt-rescue.c:479 #, c-format msgid "" "This disk contains no filesystems that we recognize.\n" @@ -3294,7 +3294,7 @@ msgid "" "logical volumes and filesystems on a blank disk.\n" msgstr "" -#: rescue/virt-rescue.c:489 +#: rescue/virt-rescue.c:486 #, c-format msgid "" "This disk contains one or more filesystems, but we don't recognize any\n" @@ -3303,12 +3303,12 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:494 +#: rescue/virt-rescue.c:491 #, c-format msgid "# %s has type '%s'\n" msgstr "" -#: rescue/virt-rescue.c:702 +#: rescue/virt-rescue.c:699 #, c-format msgid "%s: unknown child exit status (%d)\n" msgstr "" @@ -3436,7 +3436,7 @@ msgstr "libguestfs: error: %s\n" msgid "<truncated, original size %zu bytes>" msgstr "" -#: src/inspect-apps.c:613 src/inspect.c:546 +#: src/inspect-apps.c:610 src/inspect.c:546 msgid "" "inspection API not available since this version of libguestfs was compiled " "without the hivex library" @@ -3458,11 +3458,6 @@ msgstr "" msgid "could not parse /etc/fstab or empty file" msgstr "" -#: src/inspect-fs-windows.c:167 -#, c-format -msgid "cannot resolve Windows %%SYSTEMROOT%%" -msgstr "" - #: src/inspect-fs.c:365 src/inspect-fs.c:378 #, c-format msgid "could not parse integer in version number: %s" @@ -3533,10 +3528,6 @@ msgstr "" msgid "you must call guestfs_add_drive before guestfs_launch" msgstr "நீங்கள் guestfs_add_drive ஐ guestfs_launchக்கு முன் அழைக்க வேண்டும்" -#: src/launch.c:1058 src/launch.c:1063 -msgid "guestfs_launch failed, see earlier error messages" -msgstr "guestfs_launch தோல்வியுற்றது, முந்தைய பிழைச் செய்தியைப் பார்" - #: src/launch.c:1076 msgid "qemu launched and contacted daemon, but state != READY" msgstr "qemu டொமைனுடன் துவக்கப்பட்டு தொடர்பு கொண்டது, ஆனால் நிலையானது != READY" @@ -3549,12 +3540,23 @@ msgstr "" msgid "contacted guestfsd, but state != READY" msgstr "" -#: src/launch.c:1266 +#: src/launch.c:1226 +msgid "guestfs_launch failed, see earlier error messages" +msgstr "guestfs_launch தோல்வியுற்றது, முந்தைய பிழைச் செய்தியைப் பார்" + +#: src/launch.c:1228 +msgid "" +"guestfs_launch failed.\n" +"See http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs\n" +"and/or run 'libguestfs-test-tool'." +msgstr "" + +#: src/launch.c:1282 #, c-format msgid "%s: cannot create temporary directory" msgstr "%s: தற்காலிக அடைவை உருவாக்க முடியவில்லை" -#: src/launch.c:1393 +#: src/launch.c:1409 #, c-format msgid "" "command failed: %s\n" @@ -3564,7 +3566,7 @@ msgid "" "environment variable. There may also be errors printed above." msgstr "" -#: src/launch.c:1546 +#: src/launch.c:1562 msgid "qemu has not been launched yet" msgstr "qemu இன்னும் துவங்கப்படவில்லை" @@ -3729,67 +3731,67 @@ msgid "" " -V Display libguestfs version and exit\n" msgstr "" -#: test-tool/test-tool.c:111 +#: test-tool/test-tool.c:122 #, c-format msgid "libguestfs-test-tool: failed to create libguestfs handle\n" msgstr "libguestfs-test-tool: libguestfs ஹாண்டிலை உருவாக்க முடியவில்லை\n" -#: test-tool/test-tool.c:117 +#: test-tool/test-tool.c:128 #, c-format msgid "libguestfs-test-tool: guestfs_version failed\n" msgstr "libguestfs-test-tool: guestfs_version தோல்வியுற்றது\n" -#: test-tool/test-tool.c:133 +#: test-tool/test-tool.c:144 #, c-format msgid "libguestfs-test-tool: unknown long option: %s (%d)\n" msgstr "libguestfs-test-tool: தெரியாத நீண்ட விருப்பம்: %s (%d)\n" -#: test-tool/test-tool.c:142 +#: test-tool/test-tool.c:153 #, c-format msgid "libguestfs-test-tool: invalid timeout: %s\n" msgstr "libguestfs-test-tool: தவறான நேரமுடிவு: %s\n" -#: test-tool/test-tool.c:161 +#: test-tool/test-tool.c:172 #, c-format msgid "libguestfs-test-tool: unexpected command line option 0x%x\n" msgstr "libguestfs-test-tool: எதிர்பாராத கட்டளை வரி விருப்பம் 0x%x\n" -#: test-tool/test-tool.c:196 +#: test-tool/test-tool.c:207 #, c-format msgid "libguestfs-test-tool: failed to add drive '%s'\n" msgstr "libguestfs-test-tool: இயக்கி '%s' உடன் இணைக்க முடியவில்லை\n" -#: test-tool/test-tool.c:233 +#: test-tool/test-tool.c:244 #, c-format msgid "libguestfs-test-tool: failed to launch appliance\n" msgstr "libguestfs-test-tool: failed to launch appliance\n" -#: test-tool/test-tool.c:245 +#: test-tool/test-tool.c:256 #, c-format msgid "libguestfs-test-tool: failed to run part-disk\n" msgstr "" -#: test-tool/test-tool.c:251 +#: test-tool/test-tool.c:262 #, c-format msgid "libguestfs-test-tool: failed to mkfs.ext2\n" msgstr "libguestfs-test-tool: mkfs.ext2 தோல்வியுற்றது\n" -#: test-tool/test-tool.c:257 +#: test-tool/test-tool.c:268 #, c-format msgid "libguestfs-test-tool: failed to mount /dev/sda1 on /\n" msgstr "libguestfs-test-tool: mount /dev/sda1ல் ஏற முடியவில்லை /\n" -#: test-tool/test-tool.c:264 +#: test-tool/test-tool.c:275 #, c-format msgid "libguestfs-test-tool: failed to touch file\n" msgstr "" -#: test-tool/test-tool.c:270 +#: test-tool/test-tool.c:281 #, c-format msgid "libguestfs-test-tool: shutdown failed\n" msgstr "" -#: test-tool/test-tool.c:303 +#: test-tool/test-tool.c:314 #, c-format msgid "" "LIBGUESTFS_QEMU environment variable is already set, so\n" @@ -3798,12 +3800,12 @@ msgstr "" "LIBGUESTFS_QEMU சூழல் மாறிலி ஏற்கனவே அமைக்கப்பட்டது , ஆகையால்\n" "--qemu/--qemudir விருப்பங்கள் பயன்படுத்தப்படவில்லை.\n" -#: test-tool/test-tool.c:311 +#: test-tool/test-tool.c:322 #, c-format msgid "Binary '%s' does not exist or is not executable\n" msgstr "Binary '%s' does not exist or is not executable\n" -#: test-tool/test-tool.c:325 +#: test-tool/test-tool.c:336 #, c-format msgid "%s: does not look like a qemu source directory\n" msgstr "%s: ஒரு qemu மூல அடைவு போல் இல்லை\n" @@ -3919,17 +3921,12 @@ msgstr "" msgid "virt-win-reg: {p}: not a supported Windows Registry path\n" msgstr "" -#: tools/virt-win-reg.pl:522 tools/virt-win-reg.pl:544 -#, perl-brace-format -msgid "virt-win-reg: {p}: file not found in guest: {err}\n" -msgstr "" - -#: tools/virt-win-reg.pl:529 +#: tools/virt-win-reg.pl:524 #, perl-brace-format msgid "virt-win-reg: {p}: could not download registry file: {err}\n" msgstr "" -#: tools/virt-win-reg.pl:551 +#: tools/virt-win-reg.pl:541 #, perl-brace-format msgid "virt-win-reg: {p}: could not upload registry file: {err}\n" msgstr "" @@ -4161,11 +4158,11 @@ msgstr "" msgid "Align first partition (default: auto)" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:57 +#: ../sysprep/sysprep_operation_hostname.ml:66 msgid "Change the hostname of the guest" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:66 +#: ../sysprep/sysprep_operation_hostname.ml:75 msgid "" "Change the hostname. If not given, defaults to C<localhost.localdomain>." msgstr "" @@ -4398,7 +4395,7 @@ msgstr "" msgid "Never do SELinux relabel" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:65 +#: ../sysprep/sysprep_operation_hostname.ml:74 msgid "New hostname" msgstr "" @@ -4673,7 +4670,7 @@ msgid "" "virtual machine's disk, but it was stored on disk in older distros." msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:58 +#: ../sysprep/sysprep_operation_hostname.ml:67 msgid "" "This operation changes the hostname of the guest to the value\n" "given in the I<--hostname> parameter.\n" @@ -4770,7 +4767,7 @@ msgstr "" msgid "fs" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:65 +#: ../sysprep/sysprep_operation_hostname.ml:74 msgid "hostname" msgstr "" @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: libguestfs\n" "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?" "component=libguestfs&product=Virtualization+Tools\n" -"POT-Creation-Date: 2012-09-19 13:50+0100\n" +"POT-Creation-Date: 2012-10-01 16:29+0100\n" "PO-Revision-Date: 2012-05-21 13:19+0000\n" "Last-Translator: rjones <rjones@redhat.com>\n" "Language-Team: Telugu (http://www.transifex.net/projects/p/fedora/language/" @@ -135,12 +135,12 @@ msgid "" "For more information, see the manpage %s(1).\n" msgstr "" -#: cat/virt-cat.c:358 edit/virt-edit.c:666 fish/fish.c:1582 +#: cat/virt-cat.c:355 edit/virt-edit.c:665 fish/fish.c:1582 #, c-format msgid "%s: to use Windows drive letters, this must be a Windows guest\n" msgstr "" -#: cat/virt-cat.c:372 edit/virt-edit.c:680 +#: cat/virt-cat.c:369 edit/virt-edit.c:679 #, c-format msgid "%s: drive '%c:' not found.\n" msgstr "" @@ -3024,12 +3024,12 @@ msgid "" "For more information, see the manpage %s(1).\n" msgstr "" -#: inspector/virt-inspector.c:254 +#: inspector/virt-inspector.c:251 #, c-format msgid "%s: cannot use --xpath together with other options.\n" msgstr "" -#: inspector/virt-inspector.c:287 +#: inspector/virt-inspector.c:284 #, c-format msgid "" "%s: no operating system could be detected inside this disk image.\n" @@ -3046,52 +3046,52 @@ msgid "" "information about the disk image as possible.\n" msgstr "" -#: inspector/virt-inspector.c:312 +#: inspector/virt-inspector.c:309 #, c-format msgid "%s: XML write error at \"%s\": %m\n" msgstr "" -#: inspector/virt-inspector.c:324 +#: inspector/virt-inspector.c:321 #, c-format msgid "%s: xmlOutputBufferCreateFd: failed to open stdout\n" msgstr "" -#: inspector/virt-inspector.c:332 +#: inspector/virt-inspector.c:329 #, c-format msgid "%s: xmlNewTextWriter: failed to create libxml2 writer\n" msgstr "" -#: inspector/virt-inspector.c:826 +#: inspector/virt-inspector.c:823 #, c-format msgid "%s: unable to parse XML from stdin\n" msgstr "" -#: inspector/virt-inspector.c:832 +#: inspector/virt-inspector.c:829 #, c-format msgid "%s: unable to create new XPath context\n" msgstr "" -#: inspector/virt-inspector.c:839 +#: inspector/virt-inspector.c:836 #, c-format msgid "%s: unable to evaluate XPath expression\n" msgstr "" -#: inspector/virt-inspector.c:850 +#: inspector/virt-inspector.c:847 #, c-format msgid "%s: xmlSaveToFd failed\n" msgstr "" -#: inspector/virt-inspector.c:857 +#: inspector/virt-inspector.c:854 #, c-format msgid "%s: xmlNewDoc failed\n" msgstr "" -#: inspector/virt-inspector.c:862 +#: inspector/virt-inspector.c:859 #, c-format msgid "%s: xmlCopyNode failed\n" msgstr "" -#: inspector/virt-inspector.c:869 +#: inspector/virt-inspector.c:866 #, c-format msgid "%s: xmlSaveDoc failed\n" msgstr "" @@ -3138,7 +3138,7 @@ msgstr "" msgid "{imagename} seems to have no disk devices\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:831 +#: perl/lib/Sys/Guestfs/Lib.pm:834 msgid "" "No operating system could be detected inside this disk image.\n" "\n" @@ -3150,56 +3150,56 @@ msgid "" "information about the disk image as possible.\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:949 +#: perl/lib/Sys/Guestfs/Lib.pm:952 #, perl-brace-format msgid "unknown filesystem {fs}\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1027 +#: perl/lib/Sys/Guestfs/Lib.pm:1030 #, perl-brace-format msgid "Error running rpm -qa: {error}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1053 +#: perl/lib/Sys/Guestfs/Lib.pm:1056 #, perl-brace-format msgid "Error running dpkg-query: {error}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1118 +#: perl/lib/Sys/Guestfs/Lib.pm:1121 msgid "Can't find grub on guest" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1173 +#: perl/lib/Sys/Guestfs/Lib.pm:1176 #, perl-brace-format msgid "Grub entry {title} has no kernel" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1204 +#: perl/lib/Sys/Guestfs/Lib.pm:1207 #, perl-brace-format msgid "grub refers to {path}, which doesn't exist\n" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1227 +#: perl/lib/Sys/Guestfs/Lib.pm:1230 #, perl-brace-format msgid "Grub entry {title} does not specify an initrd" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1296 +#: perl/lib/Sys/Guestfs/Lib.pm:1299 #, perl-brace-format msgid "Didn't find modules directory {modules} for kernel {path}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1304 +#: perl/lib/Sys/Guestfs/Lib.pm:1307 #, perl-brace-format msgid "Couldn't guess kernel version number from path for kernel {path}" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1358 +#: perl/lib/Sys/Guestfs/Lib.pm:1361 #, perl-brace-format msgid "{path} doesn't match augeas pattern" msgstr "" -#: perl/lib/Sys/Guestfs/Lib.pm:1397 +#: perl/lib/Sys/Guestfs/Lib.pm:1400 #, perl-brace-format msgid "{filename}: could not read initrd format" msgstr "" @@ -3253,19 +3253,19 @@ msgstr "" msgid "%s: --scratch parameter '%s' should be >= 1\n" msgstr "" -#: rescue/virt-rescue.c:224 +#: rescue/virt-rescue.c:221 #, c-format msgid "%s: could not parse memory size '%s'\n" msgstr "" -#: rescue/virt-rescue.c:396 +#: rescue/virt-rescue.c:393 #, c-format msgid "" "Inspecting the virtual machine or disk image ...\n" "\n" msgstr "" -#: rescue/virt-rescue.c:415 +#: rescue/virt-rescue.c:412 #, c-format msgid "" "This disk contains one or more operating systems. You can use these mount\n" @@ -3273,7 +3273,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:425 +#: rescue/virt-rescue.c:422 #, c-format msgid "" "# %s is the root of a %s operating system\n" @@ -3282,7 +3282,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:482 +#: rescue/virt-rescue.c:479 #, c-format msgid "" "This disk contains no filesystems that we recognize.\n" @@ -3292,7 +3292,7 @@ msgid "" "logical volumes and filesystems on a blank disk.\n" msgstr "" -#: rescue/virt-rescue.c:489 +#: rescue/virt-rescue.c:486 #, c-format msgid "" "This disk contains one or more filesystems, but we don't recognize any\n" @@ -3301,12 +3301,12 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:494 +#: rescue/virt-rescue.c:491 #, c-format msgid "# %s has type '%s'\n" msgstr "" -#: rescue/virt-rescue.c:702 +#: rescue/virt-rescue.c:699 #, c-format msgid "%s: unknown child exit status (%d)\n" msgstr "" @@ -3434,7 +3434,7 @@ msgstr "libguestfs: దోషము: %s\n" msgid "<truncated, original size %zu bytes>" msgstr "" -#: src/inspect-apps.c:613 src/inspect.c:546 +#: src/inspect-apps.c:610 src/inspect.c:546 msgid "" "inspection API not available since this version of libguestfs was compiled " "without the hivex library" @@ -3456,11 +3456,6 @@ msgstr "" msgid "could not parse /etc/fstab or empty file" msgstr "" -#: src/inspect-fs-windows.c:167 -#, c-format -msgid "cannot resolve Windows %%SYSTEMROOT%%" -msgstr "" - #: src/inspect-fs.c:365 src/inspect-fs.c:378 #, c-format msgid "could not parse integer in version number: %s" @@ -3531,10 +3526,6 @@ msgstr "" msgid "you must call guestfs_add_drive before guestfs_launch" msgstr "guestfs_launchకు ముందుగా మీరు guestfs_add_driveను పిలువవలెను" -#: src/launch.c:1058 src/launch.c:1063 -msgid "guestfs_launch failed, see earlier error messages" -msgstr "guestfs_launch విఫలమైంది, ముందలి దోషపు సందేశములను చూడుము" - #: src/launch.c:1076 msgid "qemu launched and contacted daemon, but state != READY" msgstr "qemu ఆరంభించబడింది మరియు డెమోన్ను సంప్రదించింది, అయితే state != READY" @@ -3547,12 +3538,23 @@ msgstr "" msgid "contacted guestfsd, but state != READY" msgstr "" -#: src/launch.c:1266 +#: src/launch.c:1226 +msgid "guestfs_launch failed, see earlier error messages" +msgstr "guestfs_launch విఫలమైంది, ముందలి దోషపు సందేశములను చూడుము" + +#: src/launch.c:1228 +msgid "" +"guestfs_launch failed.\n" +"See http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs\n" +"and/or run 'libguestfs-test-tool'." +msgstr "" + +#: src/launch.c:1282 #, c-format msgid "%s: cannot create temporary directory" msgstr "%s: తాత్కాలిక డైరెక్టరీను సృష్టించలేదు" -#: src/launch.c:1393 +#: src/launch.c:1409 #, c-format msgid "" "command failed: %s\n" @@ -3562,7 +3564,7 @@ msgid "" "environment variable. There may also be errors printed above." msgstr "" -#: src/launch.c:1546 +#: src/launch.c:1562 msgid "qemu has not been launched yet" msgstr "qemu యింకా ఆరంభం కాలేదు" @@ -3726,67 +3728,67 @@ msgid "" " -V Display libguestfs version and exit\n" msgstr "" -#: test-tool/test-tool.c:111 +#: test-tool/test-tool.c:122 #, c-format msgid "libguestfs-test-tool: failed to create libguestfs handle\n" msgstr "libguestfs-test-tool: libguestfs సంభాలిక సృష్టించుటలో విఫలమైంది\n" -#: test-tool/test-tool.c:117 +#: test-tool/test-tool.c:128 #, c-format msgid "libguestfs-test-tool: guestfs_version failed\n" msgstr "libguestfs-test-tool: guestfs_version విఫలమైంది\n" -#: test-tool/test-tool.c:133 +#: test-tool/test-tool.c:144 #, c-format msgid "libguestfs-test-tool: unknown long option: %s (%d)\n" msgstr "libguestfs-test-tool: తెలియని లాంగ్ ఐచ్చికము: %s (%d)\n" -#: test-tool/test-tool.c:142 +#: test-tool/test-tool.c:153 #, c-format msgid "libguestfs-test-tool: invalid timeout: %s\n" msgstr "libguestfs-test-tool: చెల్లని సమయముగింపు: %s\n" -#: test-tool/test-tool.c:161 +#: test-tool/test-tool.c:172 #, c-format msgid "libguestfs-test-tool: unexpected command line option 0x%x\n" msgstr "libguestfs-test-tool: అనుకోని కమాండ్ లైన్ ఐచ్చికము 0x%x\n" -#: test-tool/test-tool.c:196 +#: test-tool/test-tool.c:207 #, c-format msgid "libguestfs-test-tool: failed to add drive '%s'\n" msgstr "libguestfs-test-tool: డ్రైవ్ '%s' జతచేయుటకు విఫలమైంది\n" -#: test-tool/test-tool.c:233 +#: test-tool/test-tool.c:244 #, c-format msgid "libguestfs-test-tool: failed to launch appliance\n" msgstr "libguestfs-test-tool: ఉపకరణము ఆరంభించుటలో విఫలమైంది\n" -#: test-tool/test-tool.c:245 +#: test-tool/test-tool.c:256 #, c-format msgid "libguestfs-test-tool: failed to run part-disk\n" msgstr "" -#: test-tool/test-tool.c:251 +#: test-tool/test-tool.c:262 #, c-format msgid "libguestfs-test-tool: failed to mkfs.ext2\n" msgstr "libguestfs-test-tool: mkfs.ext2కు విఫలమైంది\n" -#: test-tool/test-tool.c:257 +#: test-tool/test-tool.c:268 #, c-format msgid "libguestfs-test-tool: failed to mount /dev/sda1 on /\n" msgstr "libguestfs-test-tool: /dev/sda1ను /పై మౌంట్ చేయుటకు విఫలమైంది\n" -#: test-tool/test-tool.c:264 +#: test-tool/test-tool.c:275 #, c-format msgid "libguestfs-test-tool: failed to touch file\n" msgstr "" -#: test-tool/test-tool.c:270 +#: test-tool/test-tool.c:281 #, c-format msgid "libguestfs-test-tool: shutdown failed\n" msgstr "" -#: test-tool/test-tool.c:303 +#: test-tool/test-tool.c:314 #, c-format msgid "" "LIBGUESTFS_QEMU environment variable is already set, so\n" @@ -3795,12 +3797,12 @@ msgstr "" "LIBGUESTFS_QEMU ఎన్విరాన్మెంట్ వేరియబుల్ యిప్పటికే అమర్చబడింది, అందువలన\n" "--qemu/--qemudir ఐచ్చికములు వుపయోగించలేము.\n" -#: test-tool/test-tool.c:311 +#: test-tool/test-tool.c:322 #, c-format msgid "Binary '%s' does not exist or is not executable\n" msgstr "బెనరీ '%s' లేదు లేదా అది నిర్వర్తించదగునది కాదు\n" -#: test-tool/test-tool.c:325 +#: test-tool/test-tool.c:336 #, c-format msgid "%s: does not look like a qemu source directory\n" msgstr "%s: అనునది qemu మూలపు డైరెక్టరీవలె కనిపించుటలేదు\n" @@ -3916,17 +3918,12 @@ msgstr "" msgid "virt-win-reg: {p}: not a supported Windows Registry path\n" msgstr "" -#: tools/virt-win-reg.pl:522 tools/virt-win-reg.pl:544 -#, perl-brace-format -msgid "virt-win-reg: {p}: file not found in guest: {err}\n" -msgstr "" - -#: tools/virt-win-reg.pl:529 +#: tools/virt-win-reg.pl:524 #, perl-brace-format msgid "virt-win-reg: {p}: could not download registry file: {err}\n" msgstr "" -#: tools/virt-win-reg.pl:551 +#: tools/virt-win-reg.pl:541 #, perl-brace-format msgid "virt-win-reg: {p}: could not upload registry file: {err}\n" msgstr "" @@ -4158,11 +4155,11 @@ msgstr "" msgid "Align first partition (default: auto)" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:57 +#: ../sysprep/sysprep_operation_hostname.ml:66 msgid "Change the hostname of the guest" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:66 +#: ../sysprep/sysprep_operation_hostname.ml:75 msgid "" "Change the hostname. If not given, defaults to C<localhost.localdomain>." msgstr "" @@ -4395,7 +4392,7 @@ msgstr "" msgid "Never do SELinux relabel" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:65 +#: ../sysprep/sysprep_operation_hostname.ml:74 msgid "New hostname" msgstr "" @@ -4670,7 +4667,7 @@ msgid "" "virtual machine's disk, but it was stored on disk in older distros." msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:58 +#: ../sysprep/sysprep_operation_hostname.ml:67 msgid "" "This operation changes the hostname of the guest to the value\n" "given in the I<--hostname> parameter.\n" @@ -4767,7 +4764,7 @@ msgstr "" msgid "fs" msgstr "" -#: ../sysprep/sysprep_operation_hostname.ml:65 +#: ../sysprep/sysprep_operation_hostname.ml:74 msgid "hostname" msgstr "" @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: libguestfs\n" "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?" "component=libguestfs&product=Virtualization+Tools\n" -"POT-Creation-Date: 2012-09-19 13:50+0100\n" +"POT-Creation-Date: 2012-10-01 16:29+0100\n" "PO-Revision-Date: 2012-05-21 13:19+0000\n" "Last-Translator: rjones <rjones@redhat.com>\n" "Language-Team: Ukrainian <trans-uk@lists.fedoraproject.org>\n" @@ -173,14 +173,14 @@ msgstr "" " -x Трасувати виклики програмного інтерфейсу libguestfs\n" "Щоб дізнатися більше, скористайтеся сторінкою довідника (man) %s(1).\n" -#: cat/virt-cat.c:358 edit/virt-edit.c:666 fish/fish.c:1582 +#: cat/virt-cat.c:355 edit/virt-edit.c:665 fish/fish.c:1582 #, c-format msgid "%s: to use Windows drive letters, this must be a Windows guest\n" msgstr "" "%s: для використання літерних позначень дисків Windows ваша система має бути " "гостьовою системою Windows\n" -#: cat/virt-cat.c:372 edit/virt-edit.c:680 +#: cat/virt-cat.c:369 edit/virt-edit.c:679 #, c-format msgid "%s: drive '%c:' not found.\n" msgstr "%s: диск '%c:' не знайдено.\n" @@ -3439,12 +3439,12 @@ msgstr "" " --xpath query Виконати запит XPath\n" "Щоб дізнатися більше, скористайтеся сторінкою довідника (man) %s(1).\n" -#: inspector/virt-inspector.c:254 +#: inspector/virt-inspector.c:251 #, c-format msgid "%s: cannot use --xpath together with other options.\n" msgstr "%s: не можна використовувати --xpath разом з іншими параметрами.\n" -#: inspector/virt-inspector.c:287 +#: inspector/virt-inspector.c:284 #, c-format msgid "" "%s: no operating system could be detected inside this disk image.\n" @@ -3474,52 +3474,52 @@ msgstr "" "повідомлення про ваду,\n" "додавши до нього максимум можливої інформації щодо образу диска.\n" -#: inspector/virt-inspector.c:312 +#: inspector/virt-inspector.c:309 #, c-format msgid "%s: XML write error at \"%s\": %m\n" msgstr "%s: помилка запису XML у «%s»: %m\n" -#: inspector/virt-inspector.c:324 +#: inspector/virt-inspector.c:321 #, c-format msgid "%s: xmlOutputBufferCreateFd: failed to open stdout\n" msgstr "%s: xmlOutputBufferCreateFd: не вдалося відкрити stdout\n" -#: inspector/virt-inspector.c:332 +#: inspector/virt-inspector.c:329 #, c-format msgid "%s: xmlNewTextWriter: failed to create libxml2 writer\n" msgstr "%s: xmlNewTextWriter: не вдалося створити процес запису libxml2\n" -#: inspector/virt-inspector.c:826 +#: inspector/virt-inspector.c:823 #, c-format msgid "%s: unable to parse XML from stdin\n" msgstr "%s: не вдалося обробити код XML з stdin\n" -#: inspector/virt-inspector.c:832 +#: inspector/virt-inspector.c:829 #, c-format msgid "%s: unable to create new XPath context\n" msgstr "%s: не вдалося створити контекст XPath\n" -#: inspector/virt-inspector.c:839 +#: inspector/virt-inspector.c:836 #, c-format msgid "%s: unable to evaluate XPath expression\n" msgstr "%s: не вдалося обробити вираз XPath\n" -#: inspector/virt-inspector.c:850 +#: inspector/virt-inspector.c:847 #, c-format msgid "%s: xmlSaveToFd failed\n" msgstr "%s: помилка xmlSaveToFd\n" -#: inspector/virt-inspector.c:857 +#: inspector/virt-inspector.c:854 #, c-format msgid "%s: xmlNewDoc failed\n" msgstr "%s: помилка xmlNewDoc\n" -#: inspector/virt-inspector.c:862 +#: inspector/virt-inspector.c:859 #, c-format msgid "%s: xmlCopyNode failed\n" msgstr "%s: помилка xmlCopyNode\n" -#: inspector/virt-inspector.c:869 +#: inspector/virt-inspector.c:866 #, c-format msgid "%s: xmlSaveDoc failed\n" msgstr "%s: помилка xmlSaveDoc\n" @@ -3571,7 +3571,7 @@ msgstr "{imagename} не є назвою домену libvirt\n" msgid "{imagename} seems to have no disk devices\n" msgstr "{imagename}, здається, не містить дискових пристроїв\n" -#: perl/lib/Sys/Guestfs/Lib.pm:831 +#: perl/lib/Sys/Guestfs/Lib.pm:834 msgid "" "No operating system could be detected inside this disk image.\n" "\n" @@ -3592,56 +3592,56 @@ msgstr "" "повідомлення про ваду,\n" "додавши до нього максимум можливої інформації щодо образу диска.\n" -#: perl/lib/Sys/Guestfs/Lib.pm:949 +#: perl/lib/Sys/Guestfs/Lib.pm:952 #, perl-brace-format msgid "unknown filesystem {fs}\n" msgstr "невідома файлова система {fs}\n" -#: perl/lib/Sys/Guestfs/Lib.pm:1027 +#: perl/lib/Sys/Guestfs/Lib.pm:1030 #, perl-brace-format msgid "Error running rpm -qa: {error}" msgstr "Помилка під час запуску rpm -qa: {error}" -#: perl/lib/Sys/Guestfs/Lib.pm:1053 +#: perl/lib/Sys/Guestfs/Lib.pm:1056 #, perl-brace-format msgid "Error running dpkg-query: {error}" msgstr "Помилка під час запуску dpkg-query: {error}" -#: perl/lib/Sys/Guestfs/Lib.pm:1118 +#: perl/lib/Sys/Guestfs/Lib.pm:1121 msgid "Can't find grub on guest" msgstr "Не вдалося знайти grub у гостьовій системі" -#: perl/lib/Sys/Guestfs/Lib.pm:1173 +#: perl/lib/Sys/Guestfs/Lib.pm:1176 #, perl-brace-format msgid "Grub entry {title} has no kernel" msgstr "На запису grub {title} немає ядра" -#: perl/lib/Sys/Guestfs/Lib.pm:1204 +#: perl/lib/Sys/Guestfs/Lib.pm:1207 #, perl-brace-format msgid "grub refers to {path}, which doesn't exist\n" msgstr "grub посилається на каталог {path}, якого не існує\n" -#: perl/lib/Sys/Guestfs/Lib.pm:1227 +#: perl/lib/Sys/Guestfs/Lib.pm:1230 #, perl-brace-format msgid "Grub entry {title} does not specify an initrd" msgstr "У записі grub {title} не визначено initrd" -#: perl/lib/Sys/Guestfs/Lib.pm:1296 +#: perl/lib/Sys/Guestfs/Lib.pm:1299 #, perl-brace-format msgid "Didn't find modules directory {modules} for kernel {path}" msgstr "Не вдалося знайти каталог модулів {modules} для ядра {path}" -#: perl/lib/Sys/Guestfs/Lib.pm:1304 +#: perl/lib/Sys/Guestfs/Lib.pm:1307 #, perl-brace-format msgid "Couldn't guess kernel version number from path for kernel {path}" msgstr "Не вдалося визначити номер версії ядра за шляхом до ядра {path}" -#: perl/lib/Sys/Guestfs/Lib.pm:1358 +#: perl/lib/Sys/Guestfs/Lib.pm:1361 #, perl-brace-format msgid "{path} doesn't match augeas pattern" msgstr "{path} не відповідає шаблону augeas" -#: perl/lib/Sys/Guestfs/Lib.pm:1397 +#: perl/lib/Sys/Guestfs/Lib.pm:1400 #, perl-brace-format msgid "{filename}: could not read initrd format" msgstr "{filename}: не вдалося прочитати формат initrd" @@ -3719,12 +3719,12 @@ msgstr "%s: не вдалося обробити параметр --scratch, «% msgid "%s: --scratch parameter '%s' should be >= 1\n" msgstr "%s: значенням у параметрі --scratch «%s» має бути число >= 1\n" -#: rescue/virt-rescue.c:224 +#: rescue/virt-rescue.c:221 #, c-format msgid "%s: could not parse memory size '%s'\n" msgstr "%s: не вдалося обробити запис об’єму пам’яті «%s»\n" -#: rescue/virt-rescue.c:396 +#: rescue/virt-rescue.c:393 #, c-format msgid "" "Inspecting the virtual machine or disk image ...\n" @@ -3733,7 +3733,7 @@ msgstr "" "Вивчення віртуальної машини або образу диска...\n" "\n" -#: rescue/virt-rescue.c:415 +#: rescue/virt-rescue.c:412 #, c-format msgid "" "This disk contains one or more operating systems. You can use these mount\n" @@ -3746,7 +3746,7 @@ msgstr "" "запит ><rescue>) для монтування файлових систем.\n" "\n" -#: rescue/virt-rescue.c:425 +#: rescue/virt-rescue.c:422 #, c-format msgid "" "# %s is the root of a %s operating system\n" @@ -3759,7 +3759,7 @@ msgstr "" "# %s\n" "\n" -#: rescue/virt-rescue.c:482 +#: rescue/virt-rescue.c:479 #, c-format msgid "" "This disk contains no filesystems that we recognize.\n" @@ -3776,7 +3776,7 @@ msgstr "" "створити розділи, логічні томи та файлові системи на порожньому\n" "диску.\n" -#: rescue/virt-rescue.c:489 +#: rescue/virt-rescue.c:486 #, c-format msgid "" "This disk contains one or more filesystems, but we don't recognize any\n" @@ -3790,12 +3790,12 @@ msgstr "" "відповідь на запит ><rescue>) для монтування цих файлових систем.\n" "\n" -#: rescue/virt-rescue.c:494 +#: rescue/virt-rescue.c:491 #, c-format msgid "# %s has type '%s'\n" msgstr "# %s належить до типу «%s»\n" -#: rescue/virt-rescue.c:702 +#: rescue/virt-rescue.c:699 #, c-format msgid "%s: unknown child exit status (%d)\n" msgstr "" @@ -3937,7 +3937,7 @@ msgstr "libguestfs: помилка: %s\n" msgid "<truncated, original size %zu bytes>" msgstr "<скорочено, початковий розмір — %zu байтів>" -#: src/inspect-apps.c:613 src/inspect.c:546 +#: src/inspect-apps.c:610 src/inspect.c:546 msgid "" "inspection API not available since this version of libguestfs was compiled " "without the hivex library" @@ -3961,11 +3961,6 @@ msgstr "розмір %s неймовірно великий (%<PRIi64> байт msgid "could not parse /etc/fstab or empty file" msgstr "не вдалося обробити /etc/fstab або порожній файл" -#: src/inspect-fs-windows.c:167 -#, c-format -msgid "cannot resolve Windows %%SYSTEMROOT%%" -msgstr "не вдалося визначити %%SYSTEMROOT%% Windows" - #: src/inspect-fs.c:365 src/inspect-fs.c:378 #, c-format msgid "could not parse integer in version number: %s" @@ -4042,12 +4037,6 @@ msgstr "елемент керування libguestfs вже запущено" msgid "you must call guestfs_add_drive before guestfs_launch" msgstr "вам слід викликати guestfs_add_drive перед викликом guestfs_launch" -#: src/launch.c:1058 src/launch.c:1063 -msgid "guestfs_launch failed, see earlier error messages" -msgstr "" -"спроба виклику guestfs_launch була невдалою, ознайомтеся з попередніми " -"повідомленнями" - #: src/launch.c:1076 msgid "qemu launched and contacted daemon, but state != READY" msgstr "" @@ -4062,12 +4051,25 @@ msgstr "помилка guestfs_launch, мало бути початкове по msgid "contacted guestfsd, but state != READY" msgstr "встановлено зв’язок з guestfs, але стан процесу не дорівнює READY" -#: src/launch.c:1266 +#: src/launch.c:1226 +msgid "guestfs_launch failed, see earlier error messages" +msgstr "" +"спроба виклику guestfs_launch була невдалою, ознайомтеся з попередніми " +"повідомленнями" + +#: src/launch.c:1228 +msgid "" +"guestfs_launch failed.\n" +"See http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs\n" +"and/or run 'libguestfs-test-tool'." +msgstr "" + +#: src/launch.c:1282 #, c-format msgid "%s: cannot create temporary directory" msgstr "%s: не вдалося створити тимчасовий каталог" -#: src/launch.c:1393 +#: src/launch.c:1409 #, c-format msgid "" "command failed: %s\n" @@ -4077,7 +4079,7 @@ msgid "" "environment variable. There may also be errors printed above." msgstr "" -#: src/launch.c:1546 +#: src/launch.c:1562 msgid "qemu has not been launched yet" msgstr "qemu ще не запущено" @@ -4267,68 +4269,68 @@ msgid "" " -V Display libguestfs version and exit\n" msgstr "" -#: test-tool/test-tool.c:111 +#: test-tool/test-tool.c:122 #, c-format msgid "libguestfs-test-tool: failed to create libguestfs handle\n" msgstr "" "libguestfs-test-tool: не вдалося створити елемент керування libguestfs\n" -#: test-tool/test-tool.c:117 +#: test-tool/test-tool.c:128 #, c-format msgid "libguestfs-test-tool: guestfs_version failed\n" msgstr "libguestfs-test-tool: помилка guestfs_version\n" -#: test-tool/test-tool.c:133 +#: test-tool/test-tool.c:144 #, c-format msgid "libguestfs-test-tool: unknown long option: %s (%d)\n" msgstr "libguestfs-test-tool: невідомий довгий запис параметра: %s (%d)\n" -#: test-tool/test-tool.c:142 +#: test-tool/test-tool.c:153 #, c-format msgid "libguestfs-test-tool: invalid timeout: %s\n" msgstr "libguestfs-test-tool: некоректне значення часу очікування: %s\n" -#: test-tool/test-tool.c:161 +#: test-tool/test-tool.c:172 #, c-format msgid "libguestfs-test-tool: unexpected command line option 0x%x\n" msgstr "libguestfs-test-tool: неочікуваний параметр командного рядка 0x%x\n" -#: test-tool/test-tool.c:196 +#: test-tool/test-tool.c:207 #, c-format msgid "libguestfs-test-tool: failed to add drive '%s'\n" msgstr "libguestfs-test-tool: не вдалося додати пристрій «%s»\n" -#: test-tool/test-tool.c:233 +#: test-tool/test-tool.c:244 #, c-format msgid "libguestfs-test-tool: failed to launch appliance\n" msgstr "libguestfs-test-tool: не вдалося запустити пристрій\n" -#: test-tool/test-tool.c:245 +#: test-tool/test-tool.c:256 #, c-format msgid "libguestfs-test-tool: failed to run part-disk\n" msgstr "libguestfs-test-tool: не вдалося запустити part-disk\n" -#: test-tool/test-tool.c:251 +#: test-tool/test-tool.c:262 #, c-format msgid "libguestfs-test-tool: failed to mkfs.ext2\n" msgstr "libguestfs-test-tool: не вдалося виконати mkfs.ext2\n" -#: test-tool/test-tool.c:257 +#: test-tool/test-tool.c:268 #, c-format msgid "libguestfs-test-tool: failed to mount /dev/sda1 on /\n" msgstr "libguestfs-test-tool: не вдалося змонтувати /dev/sda1 до /\n" -#: test-tool/test-tool.c:264 +#: test-tool/test-tool.c:275 #, c-format msgid "libguestfs-test-tool: failed to touch file\n" msgstr "libguestfs-test-tool: не вдалося виконати touch для файла\n" -#: test-tool/test-tool.c:270 +#: test-tool/test-tool.c:281 #, c-format msgid "libguestfs-test-tool: shutdown failed\n" msgstr "" -#: test-tool/test-tool.c:303 +#: test-tool/test-tool.c:314 #, c-format msgid "" "LIBGUESTFS_QEMU environment variable is already set, so\n" @@ -4337,12 +4339,12 @@ msgstr "" "Значення змінної середовища LIBGUESTFS_QEMU вже встановлено, отже\n" "не можна використовувати параметри --qemu/--qemudir.\n" -#: test-tool/test-tool.c:311 +#: test-tool/test-tool.c:322 #, c-format msgid "Binary '%s' does not exist or is not executable\n" msgstr "Виконуваного файла «%s» не існує або вказаний файл не є виконуваним\n" -#: test-tool/test-tool.c:325 +#: test-tool/test-tool.c:336 #, c-format msgid "%s: does not look like a qemu source directory\n" msgstr "%s: не є каталогом початкових кодів qemu\n" @@ -4483,17 +4485,12 @@ msgstr "virt-win-reg: {p}: не вдалося знайти каталог ко msgid "virt-win-reg: {p}: not a supported Windows Registry path\n" msgstr "virt-win-reg: {p}: непідтримуваний запис шляху у регістрі Windows\n" -#: tools/virt-win-reg.pl:522 tools/virt-win-reg.pl:544 -#, perl-brace-format -msgid "virt-win-reg: {p}: file not found in guest: {err}\n" -msgstr "virt-win-reg: {p}: файл не знайдено на гостьовій системі: {err}\n" - -#: tools/virt-win-reg.pl:529 +#: tools/virt-win-reg.pl:524 #, perl-brace-format msgid "virt-win-reg: {p}: could not download registry file: {err}\n" msgstr "virt-win-reg: {p}: не вдалося отримати файл регістра: {err}\n" -#: tools/virt-win-reg.pl:551 +#: tools/virt-win-reg.pl:541 #, perl-brace-format msgid "virt-win-reg: {p}: could not upload registry file: {err}\n" msgstr "virt-win-reg: {p}: не вдалося вивантажити файл регістра: {err}\n" @@ -4788,11 +4785,11 @@ msgstr "Додати параметри qemu-img" msgid "Align first partition (default: auto)" msgstr "Вирівняти перший розділ (типове значення: auto)" -#: ../sysprep/sysprep_operation_hostname.ml:57 +#: ../sysprep/sysprep_operation_hostname.ml:66 msgid "Change the hostname of the guest" msgstr "Змінити назву вузла гостьової системи" -#: ../sysprep/sysprep_operation_hostname.ml:66 +#: ../sysprep/sysprep_operation_hostname.ml:75 msgid "" "Change the hostname. If not given, defaults to C<localhost.localdomain>." msgstr "" @@ -5064,7 +5061,7 @@ msgstr "Точка монтування у основній системі" msgid "Never do SELinux relabel" msgstr "Ніколи не виконувати зміни міток SELinux" -#: ../sysprep/sysprep_operation_hostname.ml:65 +#: ../sysprep/sysprep_operation_hostname.ml:74 msgid "New hostname" msgstr "Нова назва вузла" @@ -5421,7 +5418,7 @@ msgstr "" "тому не є частиною віртуальної машини на диску, але ці дані зберігаються\n" "на диску у старіших версіях дистрибутивів." -#: ../sysprep/sysprep_operation_hostname.ml:58 +#: ../sysprep/sysprep_operation_hostname.ml:67 msgid "" "This operation changes the hostname of the guest to the value\n" "given in the I<--hostname> parameter.\n" @@ -5536,7 +5533,7 @@ msgstr "формат" msgid "fs" msgstr "файлова система" -#: ../sysprep/sysprep_operation_hostname.ml:65 +#: ../sysprep/sysprep_operation_hostname.ml:74 msgid "hostname" msgstr "назва_вузла" @@ -5726,6 +5723,12 @@ msgstr "" "не можна використовувати один образ диска для початкових даних і даних " "результату" +#~ msgid "cannot resolve Windows %%SYSTEMROOT%%" +#~ msgstr "не вдалося визначити %%SYSTEMROOT%% Windows" + +#~ msgid "virt-win-reg: {p}: file not found in guest: {err}\n" +#~ msgstr "virt-win-reg: {p}: файл не знайдено на гостьовій системі: {err}\n" + #~ msgid "" #~ "%s: FUSE module for libguestfs\n" #~ "%s lets you mount a virtual machine filesystem\n" |