diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-09-26 21:21:02 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-09-26 21:21:02 +0100 |
commit | 6cd040fcdf662ff56be08a03eb80918ec10191ec (patch) | |
tree | 8b77903b605dc0c423c51b8e44ccd34f7480c98e | |
parent | 8d63edaa9317e957d03beb9834ddac5f30349ef1 (diff) | |
download | libguestfs-6cd040fcdf662ff56be08a03eb80918ec10191ec.tar.gz libguestfs-6cd040fcdf662ff56be08a03eb80918ec10191ec.tar.xz libguestfs-6cd040fcdf662ff56be08a03eb80918ec10191ec.zip |
Version 1.19.45.1.19.45
-rw-r--r-- | BUGS | 2 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | po-docs/ja.po | 3034 | ||||
-rw-r--r-- | po-docs/libguestfs-docs.pot | 2889 | ||||
-rw-r--r-- | po-docs/uk.po | 3037 | ||||
-rw-r--r-- | po/en_GB.po | 78 | ||||
-rw-r--r-- | po/es.po | 78 | ||||
-rw-r--r-- | po/gu.po | 78 | ||||
-rw-r--r-- | po/hi.po | 78 | ||||
-rw-r--r-- | po/kn.po | 78 | ||||
-rw-r--r-- | po/libguestfs.pot | 80 | ||||
-rw-r--r-- | po/ml.po | 78 | ||||
-rw-r--r-- | po/mr.po | 78 | ||||
-rw-r--r-- | po/nl.po | 78 | ||||
-rw-r--r-- | po/or.po | 78 | ||||
-rw-r--r-- | po/pa.po | 78 | ||||
-rw-r--r-- | po/pl.po | 78 | ||||
-rw-r--r-- | po/ta.po | 78 | ||||
-rw-r--r-- | po/te.po | 78 | ||||
-rw-r--r-- | po/uk.po | 78 |
20 files changed, 5343 insertions, 4793 deletions
@@ -1,5 +1,5 @@ NOTE: This file is automatically generated from "update-bugs.sh". -Last updated: 2012-09-24 +Last updated: 2012-09-26 This contains a local list of the bugs that are open against libguestfs. Bugs are tracked in the Red Hat Bugzilla database diff --git a/configure.ac b/configure.ac index 7ea98951..30156b69 100644 --- a/configure.ac +++ b/configure.ac @@ -20,7 +20,7 @@ # freeform string. m4_define([libguestfs_major], [1]) m4_define([libguestfs_minor], [19]) -m4_define([libguestfs_release], [44]) +m4_define([libguestfs_release], [45]) 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 e77f830b..38bacd18 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-24 16:57+0200\n" +"POT-Creation-Date: 2012-09-26 21:19+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" @@ -529,7 +529,7 @@ msgstr "" #: ../df/virt-df.pod:110 ../edit/virt-edit.pod:141 ../fish/guestfish.pod:242 #: ../fish/guestfish.pod:689 ../format/virt-format.pod:96 #: ../inspector/virt-inspector.pod:350 ../rescue/virt-rescue.pod:164 -#: ../src/guestfs.pod:3160 ../sysprep/virt-sysprep.pod:112 +#: ../src/guestfs.pod:3162 ../sysprep/virt-sysprep.pod:112 msgid "For example:" msgstr "例:" @@ -1121,9 +1121,9 @@ 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 @@ -1133,8 +1133,8 @@ msgstr "このプログラムは以下を返します:" #: ../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:110 -#: ../examples/guestfs-testing.pod:114 ../examples/guestfs-testing.pod:118 +#: ../examples/guestfs-recipes.pod:273 ../examples/guestfs-testing.pod:124 +#: ../examples/guestfs-testing.pod:128 ../examples/guestfs-testing.pod:132 #: ../fish/guestfish-actions.pod:417 ../fish/guestfish-actions.pod:425 #: ../fish/guestfish-actions.pod:432 ../fish/guestfish-actions.pod:439 #: ../fish/guestfish-actions.pod:1480 ../fish/guestfish-actions.pod:1484 @@ -1178,22 +1178,22 @@ msgstr "このプログラムは以下を返します:" #: ../src/guestfs-actions.pod:3485 ../src/guestfs-actions.pod:4318 #: ../src/guestfs-actions.pod:4324 ../src/guestfs-actions.pod:4332 #: ../src/guestfs-actions.pod:4339 ../src/guestfs-actions.pod:4346 -#: ../src/guestfs.pod:392 ../src/guestfs.pod:397 ../src/guestfs.pod:402 -#: ../src/guestfs.pod:406 ../src/guestfs.pod:411 ../src/guestfs.pod:415 -#: ../src/guestfs.pod:420 ../src/guestfs.pod:425 ../src/guestfs.pod:1206 -#: ../src/guestfs.pod:1210 ../src/guestfs.pod:1214 ../src/guestfs.pod:1219 -#: ../src/guestfs.pod:1227 ../src/guestfs.pod:1246 ../src/guestfs.pod:1254 -#: ../src/guestfs.pod:1271 ../src/guestfs.pod:1276 ../src/guestfs.pod:1280 -#: ../src/guestfs.pod:1422 ../src/guestfs.pod:1426 ../src/guestfs.pod:1430 -#: ../src/guestfs.pod:1434 ../src/guestfs.pod:1438 ../src/guestfs.pod:1442 -#: ../src/guestfs.pod:1968 ../src/guestfs.pod:1973 ../src/guestfs.pod:1977 -#: ../src/guestfs.pod:2079 ../src/guestfs.pod:2084 ../src/guestfs.pod:2088 -#: ../src/guestfs.pod:2098 ../src/guestfs.pod:2387 ../src/guestfs.pod:2392 -#: ../src/guestfs.pod:2398 ../src/guestfs.pod:2406 ../src/guestfs.pod:2923 -#: ../src/guestfs.pod:2929 ../src/guestfs.pod:2934 ../src/guestfs.pod:2940 -#: ../src/guestfs.pod:3347 ../src/guestfs.pod:3352 ../src/guestfs.pod:3356 -#: ../src/guestfs.pod:3360 ../src/guestfs.pod:3364 ../src/guestfs.pod:3378 -#: ../src/guestfs.pod:3383 ../sysprep/virt-sysprep.pod:231 +#: ../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:1208 +#: ../src/guestfs.pod:1212 ../src/guestfs.pod:1216 ../src/guestfs.pod:1221 +#: ../src/guestfs.pod:1229 ../src/guestfs.pod:1248 ../src/guestfs.pod:1256 +#: ../src/guestfs.pod:1273 ../src/guestfs.pod:1278 ../src/guestfs.pod:1282 +#: ../src/guestfs.pod:1424 ../src/guestfs.pod:1428 ../src/guestfs.pod:1432 +#: ../src/guestfs.pod:1436 ../src/guestfs.pod:1440 ../src/guestfs.pod:1444 +#: ../src/guestfs.pod:1970 ../src/guestfs.pod:1975 ../src/guestfs.pod:1979 +#: ../src/guestfs.pod:2081 ../src/guestfs.pod:2086 ../src/guestfs.pod:2090 +#: ../src/guestfs.pod:2100 ../src/guestfs.pod:2389 ../src/guestfs.pod:2394 +#: ../src/guestfs.pod:2400 ../src/guestfs.pod:2408 ../src/guestfs.pod:2925 +#: ../src/guestfs.pod:2931 ../src/guestfs.pod:2936 ../src/guestfs.pod:2942 +#: ../src/guestfs.pod:3344 ../src/guestfs.pod:3349 ../src/guestfs.pod:3353 +#: ../src/guestfs.pod:3357 ../src/guestfs.pod:3361 ../src/guestfs.pod:3375 +#: ../src/guestfs.pod:3380 ../sysprep/virt-sysprep.pod:231 #: ../sysprep/virt-sysprep.pod:235 ../sysprep/virt-sysprep.pod:239 #: ../sysprep/virt-sysprep.pod:243 ../sysprep/virt-sysprep.pod:258 #: ../sysprep/virt-sysprep.pod:262 ../sysprep/virt-sysprep.pod:266 @@ -1221,7 +1221,7 @@ msgstr "" "置されています" #. type: =item -#: ../align/virt-alignment-scan.pod:355 ../src/guestfs.pod:1615 +#: ../align/virt-alignment-scan.pod:355 ../src/guestfs.pod:1617 msgid "1" msgstr "1" @@ -1231,7 +1231,7 @@ msgid "an error scanning the disk image or guest" msgstr "ディスクイメージまたは仮想マシンのスキャン中にエラーが発生しました" #. type: =item -#: ../align/virt-alignment-scan.pod:361 ../src/guestfs.pod:1619 +#: ../align/virt-alignment-scan.pod:361 ../src/guestfs.pod:1621 msgid "2" msgstr "2" @@ -1245,7 +1245,7 @@ msgstr "" "てパフォーマンスの悪い E<lt> 64K のアライメントを持ちます" #. type: =item -#: ../align/virt-alignment-scan.pod:368 ../src/guestfs.pod:1623 +#: ../align/virt-alignment-scan.pod:368 ../src/guestfs.pod:1625 msgid "3" msgstr "3" @@ -1264,9 +1264,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:444 -#: ../examples/guestfs-testing.pod:291 ../fish/guestfish.pod:1289 +#: ../examples/guestfs-examples.pod:33 ../examples/guestfs-faq.pod:779 +#: ../examples/guestfs-performance.pod:429 ../examples/guestfs-recipes.pod:473 +#: ../examples/guestfs-testing.pod:305 ../fish/guestfish.pod:1289 #: ../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 @@ -1275,7 +1275,7 @@ msgstr "" #: ../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:3583 +#: ../sparsify/virt-sparsify.pod:299 ../src/guestfs.pod:3580 #: ../sysprep/virt-sysprep.pod:480 ../test-tool/libguestfs-test-tool.pod:106 #: ../tools/virt-list-filesystems.pl:197 ../tools/virt-list-partitions.pl:267 #: ../tools/virt-make-fs.pl:627 ../tools/virt-tar.pl:294 @@ -1323,9 +1323,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:461 -#: ../examples/guestfs-testing.pod:302 ../fish/guestfish.pod:1321 +#: ../examples/guestfs-examples.pod:49 ../examples/guestfs-faq.pod:789 +#: ../examples/guestfs-performance.pod:446 ../examples/guestfs-recipes.pod:490 +#: ../examples/guestfs-testing.pod:316 ../fish/guestfish.pod:1321 #: ../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 @@ -1334,7 +1334,7 @@ msgstr "Richard W.M. Jones L<http://people.redhat.com/~rjones/>" #: ../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:3639 +#: ../sparsify/virt-sparsify.pod:316 ../src/guestfs.pod:3636 #: ../sysprep/virt-sysprep.pod:501 ../test-tool/libguestfs-test-tool.pod:116 #: ../tools/virt-list-filesystems.pl:214 ../tools/virt-list-partitions.pl:283 #: ../tools/virt-make-fs.pl:646 ../tools/virt-tar.pl:313 @@ -1622,7 +1622,7 @@ msgstr "" #: ../appliance/libguestfs-make-fixed-appliance.pod:139 #: ../edit/virt-edit.pod:343 ../fish/guestfish.pod:1135 #: ../rescue/virt-rescue.pod:313 ../sparsify/virt-sparsify.pod:272 -#: ../src/guestfs.pod:3517 ../test-tool/libguestfs-test-tool.pod:101 +#: ../src/guestfs.pod:3514 ../test-tool/libguestfs-test-tool.pod:101 msgid "ENVIRONMENT VARIABLES" msgstr "環境変数" @@ -1646,16 +1646,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:457 -#: ../examples/guestfs-testing.pod:298 ../fish/guestfish.pod:1317 +#: ../examples/guestfs-examples.pod:45 ../examples/guestfs-faq.pod:785 +#: ../examples/guestfs-performance.pod:442 ../examples/guestfs-recipes.pod:486 +#: ../examples/guestfs-testing.pod:312 ../fish/guestfish.pod:1317 #: ../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:3635 +#: ../ruby/examples/guestfs-ruby.pod:48 ../src/guestfs.pod:3632 #: ../sysprep/virt-sysprep.pod:495 ../test-tool/libguestfs-test-tool.pod:112 msgid "AUTHORS" msgstr "著者" @@ -1663,15 +1663,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:459 -#: ../examples/guestfs-testing.pod:300 ../fish/guestfish.pod:1319 +#: ../examples/guestfs-examples.pod:47 ../examples/guestfs-faq.pod:787 +#: ../examples/guestfs-performance.pod:444 ../examples/guestfs-recipes.pod:488 +#: ../examples/guestfs-testing.pod:314 ../fish/guestfish.pod:1319 #: ../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:3637 +#: ../ruby/examples/guestfs-ruby.pod:50 ../src/guestfs.pod:3634 #: ../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>)" @@ -1679,9 +1679,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:463 ../fish/guestfish.pod:1323 +#: ../examples/guestfs-recipes.pod:492 ../fish/guestfish.pod:1323 #: ../fuse/guestmount.pod:415 ../guestfs-release-notes.pod:1728 -#: ../rescue/virt-rescue.pod:355 ../src/guestfs.pod:3641 +#: ../rescue/virt-rescue.pod:355 ../src/guestfs.pod:3638 #: ../test-tool/libguestfs-test-tool.pod:118 #: ../tools/virt-list-partitions.pl:285 msgid "Copyright (C) 2009-2012 Red Hat Inc." @@ -2988,7 +2988,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 プログラムを一覧表示します:" @@ -3004,7 +3004,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 仮想マシンにあるすべての全体書き込み可能なディレクトリーを一覧表示しま" @@ -3021,7 +3021,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 ドメインソケットを一覧表示します:" @@ -3036,7 +3036,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' で終わるファイル名を持つすべての通常ファイルを表示するには:" @@ -3066,7 +3066,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日以内に変更されたものをすべて検索します:" @@ -3081,7 +3081,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時間以内に変更された通常のファイルを検索します:" @@ -4942,7 +4942,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 @@ -5043,16 +5043,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>)." @@ -5061,12 +5066,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 " @@ -5077,22 +5082,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 " @@ -5100,26 +5105,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" @@ -5130,12 +5135,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, " @@ -5144,12 +5149,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 " @@ -5157,12 +5162,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 " @@ -5170,34 +5175,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" @@ -5205,7 +5210,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 " @@ -5213,24 +5218,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." @@ -5238,7 +5243,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 " @@ -5246,7 +5251,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-" @@ -5254,17 +5259,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>" @@ -5273,41 +5278,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" @@ -5317,24 +5323,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 " @@ -5342,19 +5348,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 " @@ -5364,7 +5370,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 " @@ -5372,14 +5378,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" @@ -5387,12 +5393,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" @@ -5400,12 +5406,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" @@ -5413,19 +5419,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 " @@ -5433,7 +5439,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 " @@ -5441,12 +5447,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. " @@ -5455,41 +5461,41 @@ 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 +#: ../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 #: ../guestfs-release-notes.pod:14 ../guestfs-release-notes.pod:21 -#: ../src/guestfs.pod:2533 ../src/guestfs.pod:2538 +#: ../src/guestfs.pod:2535 ../src/guestfs.pod:2540 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" @@ -5497,73 +5503,112 @@ 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: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 +#, fuzzy +#| msgid "" +#| "https://www.redhat.com/archives/virt-tools-list/2011-May/msg00019.html" +msgid "" +"A preview repository is available. See the announcement here: L<https://www." +"redhat.com/archives/libguestfs/2012-September/msg00074.html>" +msgstr "https://www.redhat.com/archives/virt-tools-list/2011-May/msg00019.html" + +#. 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 " @@ -5572,7 +5617,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" @@ -5580,41 +5625,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" @@ -5622,7 +5667,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." @@ -5630,22 +5675,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" @@ -5653,68 +5698,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." @@ -5722,7 +5767,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 " @@ -5731,7 +5776,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:345 +#: ../examples/guestfs-faq.pod:367 #, no-wrap msgid "" " %libguestfs_buildnet 1\n" @@ -5739,12 +5784,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" @@ -5752,22 +5797,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 " @@ -5775,7 +5887,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/" @@ -5783,38 +5895,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 " @@ -5822,14 +5934,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 " @@ -5837,7 +5949,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 " @@ -5847,17 +5959,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" @@ -5865,26 +5977,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 " @@ -5892,7 +6004,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" @@ -5903,19 +6015,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" @@ -5928,24 +6040,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 " @@ -5953,7 +6065,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" @@ -5973,7 +6085,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 " @@ -5981,25 +6093,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 " @@ -6007,43 +6119,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 " @@ -6051,12 +6163,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" @@ -6065,12 +6177,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" @@ -6082,17 +6194,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 " @@ -6100,60 +6212,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 " @@ -6161,17 +6273,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 " @@ -6180,7 +6292,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 " @@ -6194,7 +6306,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 " @@ -6207,17 +6319,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 " @@ -6227,7 +6339,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=" @@ -6238,12 +6350,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-" @@ -6251,17 +6363,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 " @@ -6269,7 +6381,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 " @@ -6278,7 +6390,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 " @@ -6288,7 +6400,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 " @@ -6296,7 +6408,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 " @@ -6304,38 +6416,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" @@ -6345,7 +6457,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:632 +#: ../examples/guestfs-faq.pod:688 #, no-wrap msgid "" " $ virt-rescue --ro guest.img\n" @@ -6354,7 +6466,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-" @@ -6362,7 +6474,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 " @@ -6373,7 +6485,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 " @@ -6382,7 +6494,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 " @@ -6390,7 +6502,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" @@ -6398,7 +6510,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 " @@ -6406,45 +6518,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" @@ -6470,12 +6582,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 " @@ -6484,12 +6596,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" @@ -6497,7 +6609,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 " @@ -6505,7 +6617,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-" @@ -6514,7 +6626,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 " @@ -6522,14 +6634,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 " @@ -6539,12 +6651,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." @@ -6596,7 +6708,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" @@ -6850,10 +6962,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:473 ../src/guestfs.pod:1291 ../src/guestfs.pod:1545 -#: ../src/guestfs.pod:1710 ../src/guestfs.pod:2968 +#: ../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:1293 ../src/guestfs.pod:1547 ../src/guestfs.pod:1712 +#: ../src/guestfs.pod:2970 msgid "1." msgstr "1." @@ -6866,10 +6979,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:479 ../src/guestfs.pod:1295 ../src/guestfs.pod:1549 -#: ../src/guestfs.pod:1714 ../src/guestfs.pod:2993 +#: ../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:1297 ../src/guestfs.pod:1551 ../src/guestfs.pod:1716 +#: ../src/guestfs.pod:2995 msgid "2." msgstr "2." @@ -6885,9 +6999,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:490 ../src/guestfs.pod:1299 ../src/guestfs.pod:1720 +#: ../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:1301 ../src/guestfs.pod:1722 msgid "3." msgstr "3." @@ -7153,7 +7268,7 @@ msgid "Save the following script as C<time.stap>:" msgstr "" #. type: verbatim -#: ../examples/guestfs-performance.pod:322 ../src/guestfs.pod:2481 +#: ../examples/guestfs-performance.pod:322 ../src/guestfs.pod:2483 #, no-wrap msgid "" " global last;\n" @@ -7163,7 +7278,7 @@ msgstr "" " \n" #. type: verbatim -#: ../examples/guestfs-performance.pod:324 ../src/guestfs.pod:2483 +#: ../examples/guestfs-performance.pod:324 ../src/guestfs.pod:2485 #, no-wrap msgid "" " function display_time () {\n" @@ -7183,7 +7298,7 @@ msgstr "" " \n" #. type: verbatim -#: ../examples/guestfs-performance.pod:331 ../src/guestfs.pod:2490 +#: ../examples/guestfs-performance.pod:331 ../src/guestfs.pod:2492 #, no-wrap msgid "" " printf (\"%d (+%d):\", now, delta);\n" @@ -7195,7 +7310,7 @@ msgstr "" " \n" #. type: verbatim -#: ../examples/guestfs-performance.pod:334 ../src/guestfs.pod:2493 +#: ../examples/guestfs-performance.pod:334 ../src/guestfs.pod:2495 #, no-wrap msgid "" " probe begin {\n" @@ -7211,7 +7326,7 @@ msgstr "" " \n" #. type: verbatim -#: ../examples/guestfs-performance.pod:339 ../src/guestfs.pod:2498 +#: ../examples/guestfs-performance.pod:339 ../src/guestfs.pod:2500 #, no-wrap msgid "" " /* Display all calls to static markers. */\n" @@ -7340,7 +7455,7 @@ msgstr "" #. type: verbatim #: ../examples/guestfs-performance.pod:394 ../fish/guestfish.pod:998 -#: ../src/guestfs.pod:1075 +#: ../src/guestfs.pod:1077 #, no-wrap msgid "" " #!/bin/bash -\n" @@ -7900,7 +8015,7 @@ msgstr "" "copy-out(1)> を使用します:" #. type: verbatim -#: ../examples/guestfs-recipes.pod:156 ../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" @@ -7913,7 +8028,7 @@ msgstr "" #: ../examples/guestfs-recipes.pod:158 ../fish/guestfish-actions.pod:1684 #: ../fish/guestfish-actions.pod:2139 ../fish/guestfish-actions.pod:2731 #: ../src/guestfs-actions.pod:2759 ../src/guestfs-actions.pod:3467 -#: ../src/guestfs-actions.pod:4314 ../src/guestfs.pod:1964 +#: ../src/guestfs-actions.pod:4314 ../src/guestfs.pod:1966 #: ../tools/virt-win-reg.pl:717 msgid "Notes:" msgstr "注:" @@ -8250,11 +8365,87 @@ msgstr "http://augeas.net/" #. type: =head1 #: ../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:400 +#, 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:283 +#: ../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 " @@ -8267,7 +8458,7 @@ msgstr "" "セキュリティ更新をインストールするためにこのテクニックを使用できます。" #. type: textblock -#: ../examples/guestfs-recipes.pod:289 +#: ../examples/guestfs-recipes.pod:318 #, fuzzy #| msgid "" #| "https://rwmj.wordpress.com/2010/12/01/tip-install-rpms-in-a-guest/#content" @@ -8277,24 +8468,24 @@ msgstr "" "https://rwmj.wordpress.com/2010/12/01/tip-install-rpms-in-a-guest/#content" #. type: textblock -#: ../examples/guestfs-recipes.pod:291 +#: ../examples/guestfs-recipes.pod:320 msgid "" "Since libguestfs 1.20, L<virt-sysprep(1)> has an option for installing " "firstboot scripts in Linux guests." msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:294 +#: ../examples/guestfs-recipes.pod:323 msgid "List applications installed in a VM" msgstr "仮想マシンにインストールされているアプリケーションを一覧表示します" #. type: textblock -#: ../examples/guestfs-recipes.pod:296 +#: ../examples/guestfs-recipes.pod:325 msgid "Save the following to a file C<list-apps.sh>:" msgstr "以下をファイル C<list-apps.sh> に保存します:" #. type: verbatim -#: ../examples/guestfs-recipes.pod:298 +#: ../examples/guestfs-recipes.pod:327 #, no-wrap msgid "" " #!/bin/sh -\n" @@ -8314,7 +8505,7 @@ msgstr "" "\n" #. type: textblock -#: ../examples/guestfs-recipes.pod:305 +#: ../examples/guestfs-recipes.pod:334 msgid "" "Make the file executable and then you can run it on any named virtual " "machine:" @@ -8322,7 +8513,7 @@ msgstr "" "ファイルを実行可能にして、あらゆる名前付き仮想マシンにおいて実行できます:" #. type: verbatim -#: ../examples/guestfs-recipes.pod:308 +#: ../examples/guestfs-recipes.pod:337 #, no-wrap msgid "" " # list-apps.sh WinGuest\n" @@ -8388,7 +8579,7 @@ msgstr "" "\n" #. type: textblock -#: ../examples/guestfs-recipes.pod:338 +#: ../examples/guestfs-recipes.pod:367 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)" @@ -8399,22 +8590,22 @@ msgstr "" "照。" #. type: =head1 -#: ../examples/guestfs-recipes.pod:342 +#: ../examples/guestfs-recipes.pod:371 msgid "List files and directories in a VM" msgstr "仮想マシンのファイルおよびディレクトリを一覧表示します" #. type: textblock -#: ../examples/guestfs-recipes.pod:344 +#: ../examples/guestfs-recipes.pod:373 msgid "Use L<virt-ls(1)>." msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:346 +#: ../examples/guestfs-recipes.pod:375 msgid "List services in a Windows VM" msgstr "Windows 仮想マシンのサービスを一覧表示します" #. type: textblock -#: ../examples/guestfs-recipes.pod:348 +#: ../examples/guestfs-recipes.pod:377 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 " @@ -8425,7 +8616,7 @@ msgstr "" "リプトがあります。" #. type: textblock -#: ../examples/guestfs-recipes.pod:352 +#: ../examples/guestfs-recipes.pod:381 #, fuzzy #| msgid "" #| "https://rwmj.wordpress.com/2010/12/10/tip-list-services-in-a-windows-" @@ -8438,22 +8629,22 @@ msgstr "" "#content" #. type: =head1 -#: ../examples/guestfs-recipes.pod:354 +#: ../examples/guestfs-recipes.pod:383 msgid "Make a disk image sparse" msgstr "ディスクイメージをスパースにします" #. type: textblock -#: ../examples/guestfs-recipes.pod:356 +#: ../examples/guestfs-recipes.pod:385 msgid "Use L<virt-sparsify(1)>." msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:358 +#: ../examples/guestfs-recipes.pod:387 msgid "Monitor disk usage over time" msgstr "ディスク使用量を時系列に監視します" #. type: textblock -#: ../examples/guestfs-recipes.pod:360 +#: ../examples/guestfs-recipes.pod:389 msgid "" "You can use L<virt-df(1)> to monitor disk usage of your guests over time. " "The link below contains a guide." @@ -8462,20 +8653,20 @@ msgstr "" "す。以下のリンクは仮想マシンを含みます。" #. type: textblock -#: ../examples/guestfs-recipes.pod:363 +#: ../examples/guestfs-recipes.pod:392 #, 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:365 +#: ../examples/guestfs-recipes.pod:394 msgid "Reading the Windows Event Log from Windows Vista (or later)" msgstr "" "Windows Vista (またそれ以降)から Windows のイベントログを読み出します" #. type: textblock -#: ../examples/guestfs-recipes.pod:367 +#: ../examples/guestfs-recipes.pod:396 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 " @@ -8485,26 +8676,13 @@ msgstr "" "Vista およびそれ以降のあらゆる仮想マシンから Windows イベントログを読み出すた" "めに使用できます。" -#. type: textblock -#: ../examples/guestfs-recipes.pod:371 -#, 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:373 +#: ../examples/guestfs-recipes.pod:402 msgid "Remove root password (Linux)" msgstr "root のパスワードを削除します (Linux)" #. type: textblock -#: ../examples/guestfs-recipes.pod:375 +#: ../examples/guestfs-recipes.pod:404 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:" @@ -8514,7 +8692,7 @@ msgstr "" "ることです。" #. type: verbatim -#: ../examples/guestfs-recipes.pod:378 +#: ../examples/guestfs-recipes.pod:407 #, no-wrap msgid "" " virt-edit domname /etc/passwd -e 's/^root:.*?:/root::/'\n" @@ -8524,12 +8702,12 @@ msgstr "" "\n" #. type: =head1 -#: ../examples/guestfs-recipes.pod:380 +#: ../examples/guestfs-recipes.pod:409 msgid "Remove Administrator password (Windows)" msgstr "Administrator のパスワードを削除します (Windows)" #. type: textblock -#: ../examples/guestfs-recipes.pod:382 +#: ../examples/guestfs-recipes.pod:411 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 " @@ -8540,7 +8718,7 @@ msgstr "" "使用でき、次回ログイン時にコマンドプロンプトを出します:" #. type: textblock -#: ../examples/guestfs-recipes.pod:387 +#: ../examples/guestfs-recipes.pod:416 #, fuzzy #| msgid "" #| "https://mdbooth.wordpress.com/2010/10/18/resetting-a-windows-guests-" @@ -8553,14 +8731,14 @@ msgstr "" "administrator-password-with-guestfish/" #. type: =head1 -#: ../examples/guestfs-recipes.pod:389 +#: ../examples/guestfs-recipes.pod:418 #, fuzzy #| msgid "Cloning a virtual machine (Windows)" msgid "Sysprepping a virtual machine (Windows)" msgstr "仮想マシンのクローン方法 (Windows)" #. type: textblock -#: ../examples/guestfs-recipes.pod:391 +#: ../examples/guestfs-recipes.pod:420 #, fuzzy #| msgid "" #| "It is possible to do a \"sysprep\" using libguestfs alone, although not " @@ -8579,7 +8757,7 @@ msgstr "" "加するかもしれません。" #. type: textblock -#: ../examples/guestfs-recipes.pod:396 +#: ../examples/guestfs-recipes.pod:425 #, fuzzy #| msgid "" #| "https://github.com/clalancette/oz https://www.redhat.com/archives/virt-" @@ -8592,12 +8770,12 @@ msgstr "" "list/2011-May/msg00019.html" #. type: =head1 -#: ../examples/guestfs-recipes.pod:399 +#: ../examples/guestfs-recipes.pod:428 msgid "Unpack a live CD" msgstr "Live CD を展開します" #. type: textblock -#: ../examples/guestfs-recipes.pod:401 +#: ../examples/guestfs-recipes.pod:430 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 " @@ -8608,7 +8786,7 @@ msgstr "" "L<guestfish(1)> を使用できます。" #. type: textblock -#: ../examples/guestfs-recipes.pod:405 +#: ../examples/guestfs-recipes.pod:434 #, fuzzy #| msgid "" #| "https://rwmj.wordpress.com/2009/07/15/unpack-the-russian-doll-of-a-f11-" @@ -8621,12 +8799,12 @@ msgstr "" "cd/#content" #. type: =head1 -#: ../examples/guestfs-recipes.pod:407 +#: ../examples/guestfs-recipes.pod:436 msgid "Uploading and downloading files" msgstr "ファイルのアップロード方法およびダウンロード方法" #. type: textblock -#: ../examples/guestfs-recipes.pod:409 +#: ../examples/guestfs-recipes.pod:438 msgid "" "The link below contains general tips on uploading (copying in) and " "downloading (copying out) files from VMs." @@ -8635,7 +8813,7 @@ msgstr "" "イルをダウンロードすることに関する、一般的なヒントがあります。" #. type: textblock -#: ../examples/guestfs-recipes.pod:412 +#: ../examples/guestfs-recipes.pod:441 #, fuzzy #| msgid "" #| "https://rwmj.wordpress.com/2010/12/02/tip-uploading-and-downloading/" @@ -8647,12 +8825,12 @@ msgstr "" "https://rwmj.wordpress.com/2010/12/02/tip-uploading-and-downloading/#content" #. type: =head1 -#: ../examples/guestfs-recipes.pod:414 +#: ../examples/guestfs-recipes.pod:443 msgid "Uploading raw filesystem content" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:416 +#: ../examples/guestfs-recipes.pod:445 #, fuzzy #| msgid "" #| "You can use the L<guestfish(1)> C<download> command to extract the raw " @@ -8667,7 +8845,7 @@ msgstr "" "容を抽出するために L<guestfish(1)> C<download> コマンドを使用できます。" #. type: verbatim -#: ../examples/guestfs-recipes.pod:420 +#: ../examples/guestfs-recipes.pod:449 #, fuzzy, no-wrap #| msgid "" #| " guestfish --ro -a disk.img run : download /dev/sda1 sda1.img\n" @@ -8680,7 +8858,7 @@ msgstr "" "\n" #. type: verbatim -#: ../examples/guestfs-recipes.pod:422 +#: ../examples/guestfs-recipes.pod:451 #, fuzzy, no-wrap #| msgid "" #| " guestfish --ro -d Guest run : download /dev/vg_guest/lv_root lv.img\n" @@ -8693,7 +8871,7 @@ msgstr "" "\n" #. type: textblock -#: ../examples/guestfs-recipes.pod:424 +#: ../examples/guestfs-recipes.pod:453 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 - " @@ -8703,7 +8881,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-recipes.pod:430 +#: ../examples/guestfs-recipes.pod:459 #, fuzzy, no-wrap #| msgid "" #| " guestfish --ro -d Guest run : download /dev/vg_guest/lv_root lv.img\n" @@ -8718,17 +8896,17 @@ msgstr "" "\n" #. type: textblock -#: ../examples/guestfs-recipes.pod:434 +#: ../examples/guestfs-recipes.pod:463 msgid "(or use C<ntfsresize> if the filesystem is NTFS)." msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:436 +#: ../examples/guestfs-recipes.pod:465 msgid "Use libguestfs tools on VMware ESX guests" msgstr "VMware ESX 仮想マシンにおいて libguestfs ツールを使用します" #. type: textblock -#: ../examples/guestfs-recipes.pod:438 +#: ../examples/guestfs-recipes.pod:467 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." @@ -8738,7 +8916,7 @@ msgstr "" "を使用する方法を説明しています。" #. type: textblock -#: ../examples/guestfs-recipes.pod:442 +#: ../examples/guestfs-recipes.pod:471 #, fuzzy #| msgid "" #| "https://rwmj.wordpress.com/2011/05/10/tip-use-libguestfs-on-vmware-esx-" @@ -8751,7 +8929,7 @@ msgstr "" "guests/#content" #. type: textblock -#: ../examples/guestfs-recipes.pod:446 +#: ../examples/guestfs-recipes.pod:475 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-" @@ -8820,11 +8998,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:3365 +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 " @@ -8832,26 +9043,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 "" @@ -8859,19 +9070,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" @@ -8881,14 +9092,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:3070 +#: ../examples/guestfs-testing.pod:68 ../examples/guestfs-testing.pod:175 +#: ../examples/guestfs-testing.pod:188 ../examples/guestfs-testing.pod:248 +#: ../src/guestfs.pod:3072 msgid "or:" msgstr "または:" #. type: verbatim -#: ../examples/guestfs-testing.pod:56 +#: ../examples/guestfs-testing.pod:70 #, no-wrap msgid "" " virt-alignment-scan -d Guest\n" @@ -8898,24 +9109,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" @@ -8925,12 +9136,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" @@ -8940,26 +9151,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" @@ -8969,7 +9180,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 " @@ -8977,12 +9188,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" @@ -8992,39 +9203,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" @@ -9034,31 +9245,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 " @@ -9066,17 +9277,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:3368 -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" @@ -9086,14 +9292,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." @@ -9106,12 +9312,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:" @@ -9120,7 +9326,7 @@ msgstr "" "仮想マシンにおいてこのコマンドを試します:" #. type: verbatim -#: ../examples/guestfs-testing.pod:146 +#: ../examples/guestfs-testing.pod:160 #, no-wrap msgid "" " virt-edit LinuxGuest /etc/sysconfig/network\n" @@ -9130,12 +9336,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" @@ -9145,26 +9351,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" @@ -9174,7 +9380,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" @@ -9184,24 +9390,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" @@ -9211,7 +9417,7 @@ msgstr "" "\n" #. type: verbatim -#: ../examples/guestfs-testing.pod:176 +#: ../examples/guestfs-testing.pod:190 #, no-wrap msgid "" " virt-inspector -d Guest | less\n" @@ -9221,17 +9427,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" @@ -9241,7 +9447,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" @@ -9251,7 +9457,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" @@ -9261,7 +9467,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" @@ -9271,12 +9477,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" @@ -9286,7 +9492,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" @@ -9296,7 +9502,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" @@ -9306,24 +9512,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" @@ -9333,7 +9539,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 " @@ -9344,25 +9550,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:" @@ -9371,7 +9577,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" @@ -9381,7 +9587,7 @@ msgstr "" "\n" #. type: verbatim -#: ../examples/guestfs-testing.pod:236 +#: ../examples/guestfs-testing.pod:250 #, no-wrap msgid "" " virt-rescue -d Guest\n" @@ -9391,17 +9597,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:" @@ -9410,7 +9616,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" @@ -9426,23 +9632,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" @@ -9452,26 +9658,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" @@ -9481,7 +9687,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?" @@ -9490,12 +9696,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." @@ -9504,7 +9710,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" @@ -9516,7 +9722,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" @@ -9528,19 +9734,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" @@ -9552,7 +9758,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/>." @@ -9917,7 +10123,7 @@ msgstr "" #. type: =item #: ../fish/guestfish-actions.pod:143 ../src/guestfs-actions.pod:208 -#: ../src/guestfs.pod:3235 +#: ../src/guestfs.pod:3237 msgid "C<format>" msgstr "C<format>" @@ -13184,7 +13390,7 @@ msgstr "" #. type: textblock #: ../fish/guestfish-actions.pod:1557 ../src/guestfs-actions.pod:2565 -#: ../src/guestfs.pod:1811 +#: ../src/guestfs.pod:1813 msgid "" "This is mainly useful as a negative test. If this returns true, it doesn't " "mean that a particular filesystem can be mounted, since filesystems can fail " @@ -22102,7 +22308,7 @@ msgstr "set-attach-method" #. type: =item #: ../fish/guestfish-actions.pod:5367 ../src/guestfs-actions.pod:8654 -#: ../src/guestfs.pod:3199 +#: ../src/guestfs.pod:3201 msgid "C<appliance>" msgstr "C<appliance>" @@ -26830,7 +27036,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../fish/guestfish.pod:135 ../src/guestfs.pod:2522 +#: ../fish/guestfish.pod:135 ../src/guestfs.pod:2524 #, no-wrap msgid "" " guestfish -N fs\n" @@ -28470,7 +28676,7 @@ msgstr "" "\n" #. type: =head2 -#: ../fish/guestfish.pod:841 ../src/guestfs.pod:523 +#: ../fish/guestfish.pod:841 ../src/guestfs.pod:525 msgid "ENCRYPTED DISKS" msgstr "暗号化ディスク" @@ -29200,7 +29406,7 @@ msgid "COMMANDS" msgstr "コマンド" #. type: textblock -#: ../fish/guestfish.pod:1128 ../src/guestfs.pod:1789 +#: ../fish/guestfish.pod:1128 ../src/guestfs.pod:1791 msgid "@ACTIONS@" msgstr "@ACTIONS@" @@ -29228,17 +29434,17 @@ msgstr "" "と、C<vi> を使用します。" #. type: =item -#: ../fish/guestfish.pod:1144 ../src/guestfs.pod:3521 +#: ../fish/guestfish.pod:1144 ../src/guestfs.pod:3518 msgid "FEBOOTSTRAP_KERNEL" msgstr "FEBOOTSTRAP_KERNEL" #. type: =item -#: ../fish/guestfish.pod:1146 ../src/guestfs.pod:3523 +#: ../fish/guestfish.pod:1146 ../src/guestfs.pod:3520 msgid "FEBOOTSTRAP_MODULES" msgstr "FEBOOTSTRAP_MODULES" #. type: textblock -#: ../fish/guestfish.pod:1148 ../src/guestfs.pod:3525 +#: ../fish/guestfish.pod:1148 ../src/guestfs.pod:3522 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 " @@ -29298,17 +29504,17 @@ msgstr "" "さまざまなファイルを使用できます。 L</ファイル> 参照。" #. type: =item -#: ../fish/guestfish.pod:1176 ../src/guestfs.pod:3531 +#: ../fish/guestfish.pod:1176 ../src/guestfs.pod:3528 msgid "LIBGUESTFS_APPEND" msgstr "LIBGUESTFS_APPEND" #. type: textblock -#: ../fish/guestfish.pod:1178 ../src/guestfs.pod:3533 +#: ../fish/guestfish.pod:1178 ../src/guestfs.pod:3530 msgid "Pass additional options to the guest kernel." msgstr "仮想マシンのカーネルに追加のオプションを渡します。" #. type: =item -#: ../fish/guestfish.pod:1180 ../src/guestfs.pod:3535 +#: ../fish/guestfish.pod:1180 ../src/guestfs.pod:3532 #, fuzzy #| msgid "LIBGUESTFS_TRACE" msgid "LIBGUESTFS_ATTACH_METHOD" @@ -29322,7 +29528,7 @@ msgid "" msgstr "" #. type: =item -#: ../fish/guestfish.pod:1185 ../src/guestfs.pod:3540 +#: ../fish/guestfish.pod:1185 ../src/guestfs.pod:3537 msgid "LIBGUESTFS_DEBUG" msgstr "LIBGUESTFS_DEBUG" @@ -29334,18 +29540,18 @@ msgid "" msgstr "" #. type: =item -#: ../fish/guestfish.pod:1190 ../src/guestfs.pod:3545 +#: ../fish/guestfish.pod:1190 ../src/guestfs.pod:3542 msgid "LIBGUESTFS_MEMSIZE" msgstr "LIBGUESTFS_MEMSIZE" #. type: textblock -#: ../fish/guestfish.pod:1192 ../src/guestfs.pod:3547 +#: ../fish/guestfish.pod:1192 ../src/guestfs.pod:3544 msgid "" "Set the memory allocated to the qemu process, in megabytes. For example:" msgstr "" #. type: verbatim -#: ../fish/guestfish.pod:1195 ../src/guestfs.pod:3550 +#: ../fish/guestfish.pod:1195 ../src/guestfs.pod:3547 #, no-wrap msgid "" " LIBGUESTFS_MEMSIZE=700\n" @@ -29355,7 +29561,7 @@ msgstr "" "\n" #. type: =item -#: ../fish/guestfish.pod:1197 ../src/guestfs.pod:3552 +#: ../fish/guestfish.pod:1197 ../src/guestfs.pod:3549 msgid "LIBGUESTFS_PATH" msgstr "LIBGUESTFS_PATH" @@ -29367,19 +29573,19 @@ msgid "" msgstr "" #. type: =item -#: ../fish/guestfish.pod:1202 ../src/guestfs.pod:3557 +#: ../fish/guestfish.pod:1202 ../src/guestfs.pod:3554 msgid "LIBGUESTFS_QEMU" msgstr "LIBGUESTFS_QEMU" #. type: textblock -#: ../fish/guestfish.pod:1204 ../src/guestfs.pod:3559 +#: ../fish/guestfish.pod:1204 ../src/guestfs.pod:3556 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:1208 ../src/guestfs.pod:3565 +#: ../fish/guestfish.pod:1208 ../src/guestfs.pod:3562 msgid "LIBGUESTFS_TRACE" msgstr "LIBGUESTFS_TRACE" @@ -29403,12 +29609,12 @@ msgstr "" #. type: =item #: ../fish/guestfish.pod:1217 ../sparsify/virt-sparsify.pod:276 -#: ../src/guestfs.pod:3570 +#: ../src/guestfs.pod:3567 msgid "TMPDIR" msgstr "TMPDIR" #. type: textblock -#: ../fish/guestfish.pod:1219 ../src/guestfs.pod:3572 +#: ../fish/guestfish.pod:1219 ../src/guestfs.pod:3569 msgid "" "Location of temporary directory, defaults to C</tmp> except for the cached " "supermin appliance which defaults to C</var/tmp>." @@ -29417,7 +29623,7 @@ msgstr "" "あるキャッシュされた supermin アプライアンスは除きます。" #. type: textblock -#: ../fish/guestfish.pod:1222 ../src/guestfs.pod:3575 +#: ../fish/guestfish.pod:1222 ../src/guestfs.pod:3572 msgid "" "If libguestfs was compiled to use the supermin appliance then the real " "appliance is cached in this directory, shared between all handles belonging " @@ -56083,6 +56289,11 @@ msgstr "" #. 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" @@ -56090,12 +56301,12 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:45 +#: ../src/guestfs.pod:47 msgid "API OVERVIEW" msgstr "API 概要" #. type: textblock -#: ../src/guestfs.pod:47 +#: ../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 " @@ -56106,12 +56317,12 @@ msgstr "" "呼び出しに関して読む必要が無くなります。" #. type: =head2 -#: ../src/guestfs.pod:52 +#: ../src/guestfs.pod:54 msgid "HANDLES" msgstr "ハンドル" #. type: textblock -#: ../src/guestfs.pod:54 +#: ../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 " @@ -56126,14 +56337,14 @@ msgstr "" "前を使うことができます。" #. type: textblock -#: ../src/guestfs.pod:61 +#: ../src/guestfs.pod:63 msgid "The general structure of all libguestfs-using programs looks like this:" msgstr "" "libguestfs を使用しているすべてのプログラムの一般的な構造はこのようなもので" "す:" #. type: verbatim -#: ../src/guestfs.pod:64 +#: ../src/guestfs.pod:66 #, no-wrap msgid "" " guestfs_h *g = guestfs_create ();\n" @@ -56143,7 +56354,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:66 +#: ../src/guestfs.pod:68 #, no-wrap msgid "" " /* Call guestfs_add_drive additional times if there are\n" @@ -56159,7 +56370,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:71 +#: ../src/guestfs.pod:73 #, no-wrap msgid "" " /* Most manipulation calls won't work until you've launched\n" @@ -56177,7 +56388,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:77 +#: ../src/guestfs.pod:79 #, no-wrap msgid "" " /* Now you can examine what partitions, LVs etc are available.\n" @@ -56193,7 +56404,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:82 +#: ../src/guestfs.pod:84 #, no-wrap msgid "" " /* To access a filesystem in the image, you must mount it.\n" @@ -56208,7 +56419,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:86 +#: ../src/guestfs.pod:88 #, no-wrap msgid "" " /* Now you can perform filesystem actions on the guest\n" @@ -56224,7 +56435,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:91 +#: ../src/guestfs.pod:93 #, no-wrap msgid "" " /* Synchronize the disk. This is the opposite of guestfs_launch. */\n" @@ -56233,7 +56444,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:94 +#: ../src/guestfs.pod:96 #, no-wrap msgid "" " /* Close and free the handle 'g'. */\n" @@ -56242,7 +56453,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:97 +#: ../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 " @@ -56261,12 +56472,12 @@ msgstr "" "動作する例は L<guestfs-examples(3)> を参照してください。" #. type: =head2 -#: ../src/guestfs.pod:106 +#: ../src/guestfs.pod:108 msgid "DISK IMAGES" msgstr "ディスクイメージ" #. type: textblock -#: ../src/guestfs.pod:108 +#: ../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 " @@ -56280,7 +56491,7 @@ msgstr "" "これらすべてに役に立つことをさせます。" #. type: textblock -#: ../src/guestfs.pod:114 +#: ../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 " @@ -56291,7 +56502,7 @@ msgstr "" "ジを追加するには、次を実行します:" #. type: verbatim -#: ../src/guestfs.pod:118 +#: ../src/guestfs.pod:120 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename,\n" @@ -56305,12 +56516,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:122 +#: ../src/guestfs.pod:124 msgid "You can add a disk read-only using:" msgstr "以下を使用して、読み込み専用のディスクを追加できます:" #. type: verbatim -#: ../src/guestfs.pod:124 +#: ../src/guestfs.pod:126 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename,\n" @@ -56326,7 +56537,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:129 +#: ../src/guestfs.pod:131 #, fuzzy #| msgid "" #| "or by calling the older function L</guestfs_add_drive_ro>. In either " @@ -56339,7 +56550,7 @@ msgstr "" "らの場合も libguestfs はファイルを変更できません。" #. type: textblock -#: ../src/guestfs.pod:133 +#: ../src/guestfs.pod:135 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 " @@ -56350,7 +56561,7 @@ msgstr "" "ク破損を引き起こします。一方、読み込み専用で追加することは安全です。" #. type: textblock -#: ../src/guestfs.pod:137 +#: ../src/guestfs.pod:139 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 " @@ -56362,7 +56573,7 @@ msgstr "" "参照されます。" #. type: textblock -#: ../src/guestfs.pod:142 +#: ../src/guestfs.pod:144 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 " @@ -56374,12 +56585,12 @@ msgstr "" "照してください。" #. type: =head2 -#: ../src/guestfs.pod:147 +#: ../src/guestfs.pod:149 msgid "MOUNTING" msgstr "マウント" #. type: textblock -#: ../src/guestfs.pod:149 +#: ../src/guestfs.pod:151 #, fuzzy #| msgid "" #| "Before you can read or write files, create directories and so on in a " @@ -56402,7 +56613,7 @@ msgstr "" "それを直接マウントできます:" #. type: verbatim -#: ../src/guestfs.pod:156 +#: ../src/guestfs.pod:158 #, fuzzy, no-wrap #| msgid "" #| " guestfs_mount_options (g, \"\", \"/dev/sda1\", \"/\");\n" @@ -56415,7 +56626,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:158 +#: ../src/guestfs.pod:160 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 " @@ -56430,7 +56641,7 @@ msgstr "" "してください。" #. type: textblock -#: ../src/guestfs.pod:164 +#: ../src/guestfs.pod:166 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</" @@ -56448,7 +56659,7 @@ msgstr "" "guestfs_list_filesystems> を使用します。" #. type: textblock -#: ../src/guestfs.pod:172 +#: ../src/guestfs.pod:174 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 " @@ -56459,7 +56670,7 @@ msgstr "" "くに L<virt-inspector(1)> は、より簡単に見ることができます。" #. type: textblock -#: ../src/guestfs.pod:177 +#: ../src/guestfs.pod:179 msgid "" "To mount a filesystem read-only, use L</guestfs_mount_ro>. There are " "several other variations of the C<guestfs_mount_*> call." @@ -56468,12 +56679,12 @@ msgstr "" "します。いくつかの他の変種 C<guestfs_mount_*> 呼び出しがあります。" #. type: =head2 -#: ../src/guestfs.pod:180 +#: ../src/guestfs.pod:182 msgid "FILESYSTEM ACCESS AND MODIFICATION" msgstr "ファイルシステムのアクセスおよび変更" #. type: textblock -#: ../src/guestfs.pod:182 +#: ../src/guestfs.pod:184 msgid "" "The majority of the libguestfs API consists of fairly low-level calls for " "accessing and modifying the files, directories, symlinks etc on mounted " @@ -56488,7 +56699,7 @@ msgstr "" "扱うことは考えていません。" #. type: textblock -#: ../src/guestfs.pod:188 +#: ../src/guestfs.pod:190 msgid "" "Specify filenames as full paths, starting with C<\"/\"> and including the " "mount point." @@ -56497,7 +56708,7 @@ msgstr "" "す。" #. type: textblock -#: ../src/guestfs.pod:191 +#: ../src/guestfs.pod:193 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:" @@ -56506,7 +56717,7 @@ msgstr "" "ファイルを読み込みたければ、次のようにできます:" #. type: verbatim -#: ../src/guestfs.pod:194 +#: ../src/guestfs.pod:196 #, no-wrap msgid "" " char *data = guestfs_cat (g, \"/etc/passwd\");\n" @@ -56516,7 +56727,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:196 +#: ../src/guestfs.pod:198 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), " @@ -56527,7 +56738,7 @@ msgstr "" "は、エラーがあれば C<NULL> を返します。" #. type: textblock -#: ../src/guestfs.pod:200 +#: ../src/guestfs.pod:202 msgid "" "As another example, to create a top-level directory on that filesystem " "called C<\"var\"> you would do:" @@ -56536,7 +56747,7 @@ msgstr "" "トリーを作成するには、次のようにします:" #. type: verbatim -#: ../src/guestfs.pod:203 +#: ../src/guestfs.pod:205 #, no-wrap msgid "" " guestfs_mkdir (g, \"/var\");\n" @@ -56546,12 +56757,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:205 +#: ../src/guestfs.pod:207 msgid "To create a symlink you could do:" msgstr "シンボリックリンクを作成するには次のようにできます:" #. type: verbatim -#: ../src/guestfs.pod:207 +#: ../src/guestfs.pod:209 #, no-wrap msgid "" " guestfs_ln_s (g, \"/etc/init.d/portmap\",\n" @@ -56563,7 +56774,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:210 +#: ../src/guestfs.pod:212 msgid "" "Libguestfs will reject attempts to use relative paths and there is no " "concept of a current working directory." @@ -56572,7 +56783,7 @@ msgstr "" "ありません。" #. type: textblock -#: ../src/guestfs.pod:213 +#: ../src/guestfs.pod:215 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 " @@ -56587,7 +56798,7 @@ msgstr "" "ドは、これらのエラーを例外の中に含めてください。)" #. type: textblock -#: ../src/guestfs.pod:219 +#: ../src/guestfs.pod:221 msgid "" "File writes are affected by the per-handle umask, set by calling L</" "guestfs_umask> and defaulting to 022. See L</UMASK>." @@ -56597,19 +56808,19 @@ msgstr "" "照。" #. type: textblock -#: ../src/guestfs.pod:222 +#: ../src/guestfs.pod:224 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:226 +#: ../src/guestfs.pod:228 msgid "PARTITIONING" msgstr "パーティション" #. type: textblock -#: ../src/guestfs.pod:228 +#: ../src/guestfs.pod:230 msgid "" "Libguestfs contains API calls to read, create and modify partition tables on " "disk images." @@ -56618,7 +56829,7 @@ msgstr "" "更するための API 呼び出しがあります。" #. type: textblock -#: ../src/guestfs.pod:231 +#: ../src/guestfs.pod:233 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:" @@ -56627,7 +56838,7 @@ msgstr "" "guestfs_part_disk> 呼び出しを使用できます:" #. type: verbatim -#: ../src/guestfs.pod:235 +#: ../src/guestfs.pod:237 #, no-wrap msgid "" " const char *parttype = \"mbr\";\n" @@ -56643,19 +56854,19 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:240 +#: ../src/guestfs.pod:242 msgid "" "Obviously this effectively wipes anything that was on that disk image before." msgstr "" "以前ディスクイメージにあったものを明示的にすべて効果的に完全消去します。" #. type: =head2 -#: ../src/guestfs.pod:243 +#: ../src/guestfs.pod:245 msgid "LVM2" msgstr "LVM2" #. type: textblock -#: ../src/guestfs.pod:245 +#: ../src/guestfs.pod:247 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 " @@ -56667,7 +56878,7 @@ msgstr "" "リュームの概念になじみがなければ、役に立たないかもしれません。" #. type: textblock -#: ../src/guestfs.pod:250 +#: ../src/guestfs.pod:252 msgid "" "This author strongly recommends reading the LVM HOWTO, online at L<http://" "tldp.org/HOWTO/LVM-HOWTO/>." @@ -56676,12 +56887,12 @@ msgstr "" "を読むことを強く推奨します。" #. type: =head2 -#: ../src/guestfs.pod:253 +#: ../src/guestfs.pod:255 msgid "DOWNLOADING" msgstr "ダウンロード" #. type: textblock -#: ../src/guestfs.pod:255 +#: ../src/guestfs.pod:257 #, fuzzy #| msgid "" #| "Use L</guestfs_cat> to download small, text only files. This call is " @@ -56697,7 +56908,7 @@ msgstr "" "制限されます。しかしながら、API は非常に簡単に使用できます。" #. type: textblock -#: ../src/guestfs.pod:259 +#: ../src/guestfs.pod:261 #, fuzzy #| msgid "" #| "L</guestfs_read_file> can be used to read files which contain arbitrary 8 " @@ -56712,7 +56923,7 @@ msgstr "" "MB 未満の「小さな」ファイルに制限されています。" #. type: textblock -#: ../src/guestfs.pod:262 +#: ../src/guestfs.pod:264 #, fuzzy #| msgid "" #| "L</guestfs_download> can be used to download any file, with no limits on " @@ -56726,7 +56937,7 @@ msgstr "" "きます。" #. type: textblock -#: ../src/guestfs.pod:265 +#: ../src/guestfs.pod:267 msgid "" "To download multiple files, see L</guestfs_tar_out> and L</guestfs_tgz_out>." msgstr "" @@ -56734,18 +56945,18 @@ msgstr "" "guestfs_tgz_out> を参照してください。" #. type: =head2 -#: ../src/guestfs.pod:268 +#: ../src/guestfs.pod:270 msgid "UPLOADING" msgstr "アップロード方法" #. type: textblock -#: ../src/guestfs.pod:270 +#: ../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:273 +#: ../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</" @@ -56760,7 +56971,7 @@ msgstr "" "L</guestfs_fill> や L</guestfs_fill_pattern> があります。" #. type: textblock -#: ../src/guestfs.pod:279 +#: ../src/guestfs.pod:281 #, fuzzy #| msgid "" #| "To upload a single file, use L</guestfs_upload>. This call has no limits " @@ -56774,7 +56985,7 @@ msgstr "" "りません。" #. type: textblock -#: ../src/guestfs.pod:282 +#: ../src/guestfs.pod:284 msgid "" "To upload multiple files, see L</guestfs_tar_in> and L</guestfs_tgz_in>." msgstr "" @@ -56782,7 +56993,7 @@ msgstr "" "guestfs_tgz_in> を参照してください。" #. type: textblock -#: ../src/guestfs.pod:284 +#: ../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)" @@ -56796,12 +57007,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:295 +#: ../src/guestfs.pod:297 msgid "COPYING" msgstr "コピー方法" #. type: textblock -#: ../src/guestfs.pod:297 +#: ../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 " @@ -56811,12 +57022,12 @@ msgstr "" "ための、さまざまなコマンドがあります。以下の表はその概要です。" #. type: =item -#: ../src/guestfs.pod:303 +#: ../src/guestfs.pod:305 msgid "B<file> to B<file>" msgstr "B<ファイル>からB<ファイル>" #. type: textblock -#: ../src/guestfs.pod:305 +#: ../src/guestfs.pod:307 msgid "" "Use L</guestfs_cp> to copy a single file, or L</guestfs_cp_a> to copy " "directories recursively." @@ -56825,28 +57036,28 @@ msgstr "" "リーを再帰的にコピーするには L</guestfs_cp_a> を使用します。" #. type: textblock -#: ../src/guestfs.pod:308 +#: ../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:311 +#: ../src/guestfs.pod:313 msgid "B<file> to B<device>" msgstr "B<ファイル>からB<デバイス>" #. type: =item -#: ../src/guestfs.pod:313 +#: ../src/guestfs.pod:315 msgid "B<device> to B<file>" msgstr "B<デバイス>からB<ファイル>" #. type: =item -#: ../src/guestfs.pod:315 +#: ../src/guestfs.pod:317 msgid "B<device> to B<device>" msgstr "B<デバイス>からB<デバイス>" #. type: textblock -#: ../src/guestfs.pod:317 +#: ../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>." @@ -56855,12 +57066,12 @@ msgstr "" "guestfs_copy_device_to_device> を使用してください。" #. type: textblock -#: ../src/guestfs.pod:320 +#: ../src/guestfs.pod:322 msgid "Example: duplicate the contents of an LV:" msgstr "例: 論理ボリュームの内容の複製:" #. type: verbatim -#: ../src/guestfs.pod:322 +#: ../src/guestfs.pod:324 #, no-wrap msgid "" " guestfs_copy_device_to_device (g,\n" @@ -56876,7 +57087,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:327 +#: ../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 " @@ -56887,7 +57098,7 @@ msgstr "" "optional C<size> parameter:" #. type: verbatim -#: ../src/guestfs.pod:331 +#: ../src/guestfs.pod:333 #, no-wrap msgid "" " guestfs_copy_device_to_device (g,\n" @@ -56903,32 +57114,32 @@ msgstr "" "\n" #. type: =item -#: ../src/guestfs.pod:336 +#: ../src/guestfs.pod:338 msgid "B<file on the host> to B<file or device>" msgstr "B<ホストのファイル>からB<ファイルまたはデバイス>" #. type: textblock -#: ../src/guestfs.pod:338 +#: ../src/guestfs.pod:340 msgid "Use L</guestfs_upload>. See L</UPLOADING> above." msgstr "L</guestfs_upload> を使用します。上の L</アップロード方法> 参照。" #. type: =item -#: ../src/guestfs.pod:340 +#: ../src/guestfs.pod:342 msgid "B<file or device> to B<file on the host>" msgstr "B<ファイルまたはデバイス>からB<ホストのファイル>" #. type: textblock -#: ../src/guestfs.pod:342 +#: ../src/guestfs.pod:344 msgid "Use L</guestfs_download>. See L</DOWNLOADING> above." msgstr "L</guestfs_download> を使用します。上の L</ダウンロード方法> 参照。" #. type: =head2 -#: ../src/guestfs.pod:346 +#: ../src/guestfs.pod:348 msgid "UPLOADING AND DOWNLOADING TO PIPES AND FILE DESCRIPTORS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:348 +#: ../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 " @@ -56939,14 +57150,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:356 +#: ../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:359 +#: ../src/guestfs.pod:361 #, no-wrap msgid "" " guestfs_download (g, filename, \"/dev/stdout\");\n" @@ -56956,12 +57167,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:361 +#: ../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:363 +#: ../src/guestfs.pod:365 #, no-wrap msgid "" " char devfd[64];\n" @@ -56975,12 +57186,12 @@ msgstr "" "\n" #. type: =head2 -#: ../src/guestfs.pod:367 +#: ../src/guestfs.pod:369 msgid "LISTING FILES" msgstr "ファイルの一覧表示方法" #. type: textblock -#: ../src/guestfs.pod:369 +#: ../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>)." @@ -56989,7 +57200,7 @@ msgstr "" "> の同等なコマンド C<ll> を使用するとき)。" #. type: textblock -#: ../src/guestfs.pod:372 +#: ../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." @@ -56998,7 +57209,7 @@ msgstr "" "覧をプログラムから取得する素早い方法です。" #. type: textblock -#: ../src/guestfs.pod:375 +#: ../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 " @@ -57009,7 +57220,7 @@ msgstr "" "る L<readdir(3)> 呼び出しを使用することとほぼ同様です。" #. type: textblock -#: ../src/guestfs.pod:379 +#: ../src/guestfs.pod:381 msgid "" "L</guestfs_find> and L</guestfs_find0> can be used to recursively list files." msgstr "" @@ -57017,12 +57228,12 @@ msgstr "" "使用できます。" #. type: =head2 -#: ../src/guestfs.pod:382 +#: ../src/guestfs.pod:384 msgid "RUNNING COMMANDS" msgstr "コマンドの実行法" #. type: textblock -#: ../src/guestfs.pod:384 +#: ../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 " @@ -57033,12 +57244,12 @@ msgstr "" "あります。" #. type: textblock -#: ../src/guestfs.pod:388 +#: ../src/guestfs.pod:390 msgid "There are many limitations to this:" msgstr "これには多くの制限があります:" #. type: textblock -#: ../src/guestfs.pod:394 +#: ../src/guestfs.pod:396 msgid "" "The kernel version that the command runs under will be different from what " "it expects." @@ -57046,19 +57257,19 @@ msgstr "" "コマンドを実行するカーネルのバージョンは、期待するものにより異なります。" #. type: textblock -#: ../src/guestfs.pod:399 +#: ../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:404 +#: ../src/guestfs.pod:406 msgid "The command will be running in limited memory." msgstr "コマンドは制限されたメモリーにおいて実行されます。" #. type: textblock -#: ../src/guestfs.pod:408 +#: ../src/guestfs.pod:410 msgid "" "The network may not be available unless you enable it (see L</" "guestfs_set_network>)." @@ -57067,19 +57278,19 @@ msgstr "" "照)。" #. type: textblock -#: ../src/guestfs.pod:413 +#: ../src/guestfs.pod:415 msgid "Only supports Linux guests (not Windows, BSD, etc)." msgstr "Linux ゲストのみがサポートされます(Windows, BSD など)。" #. type: textblock -#: ../src/guestfs.pod:417 +#: ../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:422 +#: ../src/guestfs.pod:424 msgid "" "For SELinux guests, you may need to enable SELinux and load policy first. " "See L</SELINUX> in this manpage." @@ -57088,7 +57299,7 @@ msgstr "" "要があります。このマニュアルページにおいて L</SELinux> を参照してください。" #. type: textblock -#: ../src/guestfs.pod:427 +#: ../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 " @@ -57100,7 +57311,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:436 +#: ../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 " @@ -57110,26 +57321,26 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:444 +#: ../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:447 +#: ../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:450 +#: ../src/guestfs.pod:452 msgid "CONFIGURATION FILES" msgstr "設定ファイル" #. type: textblock -#: ../src/guestfs.pod:452 +#: ../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 " @@ -57138,7 +57349,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:457 +#: ../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 " @@ -57146,7 +57357,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:461 +#: ../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 " @@ -57154,12 +57365,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:465 +#: ../src/guestfs.pod:467 msgid "SELINUX" msgstr "SELinux" #. type: textblock -#: ../src/guestfs.pod:467 +#: ../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:" @@ -57169,12 +57380,12 @@ msgstr "" "要があります:" #. type: textblock -#: ../src/guestfs.pod:475 +#: ../src/guestfs.pod:477 msgid "Before launching, do:" msgstr "起動前に次を実行します:" #. type: verbatim -#: ../src/guestfs.pod:477 +#: ../src/guestfs.pod:479 #, no-wrap msgid "" " guestfs_set_selinux (g, 1);\n" @@ -57184,7 +57395,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:481 +#: ../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:" @@ -57193,7 +57404,7 @@ msgstr "" "自身において L<load_policy(8)> コマンドを実行することが一番です:" #. type: verbatim -#: ../src/guestfs.pod:485 +#: ../src/guestfs.pod:487 #, no-wrap msgid "" " guestfs_sh (g, \"/usr/sbin/load_policy\");\n" @@ -57203,7 +57414,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:487 +#: ../src/guestfs.pod:489 msgid "" "(Older versions of C<load_policy> require you to specify the name of the " "policy file)." @@ -57212,7 +57423,7 @@ msgstr "" "ります)。" #. type: textblock -#: ../src/guestfs.pod:492 +#: ../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:" @@ -57222,7 +57433,7 @@ msgstr "" "ます。 以下の例のようです:" #. type: verbatim -#: ../src/guestfs.pod:496 +#: ../src/guestfs.pod:498 #, no-wrap msgid "" " guestfs_setcon (g, \"unconfined_u:unconfined_r:unconfined_t:s0\");\n" @@ -57232,24 +57443,24 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:500 +#: ../src/guestfs.pod:502 msgid "This will work for running commands and editing existing files." msgstr "コマンドを実行し、既存のファイルを編集するために機能します。" #. type: textblock -#: ../src/guestfs.pod:502 +#: ../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:506 +#: ../src/guestfs.pod:508 msgid "UMASK" msgstr "umask" #. type: textblock -#: ../src/guestfs.pod:508 +#: ../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 " @@ -57259,7 +57470,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:514 +#: ../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>." @@ -57268,7 +57479,7 @@ msgstr "" "され、ディレクトリーは C<0755> です。" #. type: textblock -#: ../src/guestfs.pod:517 +#: ../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</" @@ -57280,12 +57491,12 @@ msgstr "" "び出すことです。" #. type: textblock -#: ../src/guestfs.pod:521 +#: ../src/guestfs.pod:523 msgid "For more information about umask, see L<umask(2)>." msgstr "umask に関する詳細は L<umask(2)> を参照してください。" #. type: textblock -#: ../src/guestfs.pod:525 +#: ../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) " @@ -57294,7 +57505,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:531 +#: ../src/guestfs.pod:533 msgid "" "Use L</guestfs_vfs_type> to identify LUKS-encrypted block devices (it " "returns the string C<crypto_LUKS>)." @@ -57303,7 +57514,7 @@ msgstr "" "るには L</guestfs_vfs_type> を使用します。" #. type: textblock -#: ../src/guestfs.pod:534 +#: ../src/guestfs.pod:536 msgid "" "Then open these devices by calling L</guestfs_luks_open>. Obviously you " "will require the passphrase!" @@ -57312,7 +57523,7 @@ msgstr "" "す。明示的にパスフレーズが必要です。" #. type: textblock -#: ../src/guestfs.pod:537 +#: ../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</" @@ -57321,7 +57532,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:543 +#: ../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" @@ -57329,7 +57540,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:547 +#: ../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, " @@ -57339,19 +57550,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:554 +#: ../src/guestfs.pod:556 msgid "MOUNT LOCAL" msgstr "" #. type: textblock -#: ../src/guestfs.pod:556 +#: ../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:560 +#: ../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 " @@ -57362,7 +57573,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:567 +#: ../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 " @@ -57375,7 +57586,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:577 +#: ../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 " @@ -57386,12 +57597,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:585 +#: ../src/guestfs.pod:587 msgid "MOUNT LOCAL COMPATIBILITY" msgstr "" #. type: textblock -#: ../src/guestfs.pod:587 +#: ../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 " @@ -57400,7 +57611,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:592 +#: ../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</" @@ -57408,12 +57619,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:596 +#: ../src/guestfs.pod:598 msgid "MOUNT LOCAL PERFORMANCE" msgstr "" #. type: textblock -#: ../src/guestfs.pod:598 +#: ../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. " @@ -57421,12 +57632,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:602 +#: ../src/guestfs.pod:604 msgid "INSPECTION" msgstr "" #. type: textblock -#: ../src/guestfs.pod:604 +#: ../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 " @@ -57436,14 +57647,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:611 +#: ../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:614 +#: ../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 " @@ -57456,7 +57667,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:623 +#: ../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</" @@ -57465,7 +57676,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:629 +#: ../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 " @@ -57476,7 +57687,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:636 +#: ../src/guestfs.pod:638 #, no-wrap msgid "" " /boot => /dev/sda1\n" @@ -57490,21 +57701,21 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:640 +#: ../src/guestfs.pod:642 msgid "" "The caller can then make calls to L</guestfs_mount> to mount the filesystems " "as suggested." msgstr "" #. type: textblock -#: ../src/guestfs.pod:643 +#: ../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:647 +#: ../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 " @@ -57512,7 +57723,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:651 +#: ../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 " @@ -57523,7 +57734,7 @@ msgstr "" "ます。" #. type: textblock -#: ../src/guestfs.pod:655 +#: ../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 " @@ -57538,12 +57749,12 @@ msgstr "" "を使用してください。" #. type: =head3 -#: ../src/guestfs.pod:664 +#: ../src/guestfs.pod:666 msgid "INSPECTING INSTALL DISKS" msgstr "インストールディスクの検査方法" #. type: textblock -#: ../src/guestfs.pod:666 +#: ../src/guestfs.pod:668 msgid "" "Libguestfs (since 1.9.4) can detect some install disks, install CDs, live " "CDs and more." @@ -57552,7 +57763,7 @@ msgstr "" "live CD などを検知できます。" #. type: textblock -#: ../src/guestfs.pod:669 +#: ../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 " @@ -57560,7 +57771,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:673 +#: ../src/guestfs.pod:675 msgid "" "Further information is available about the operating system that can be " "installed using the regular inspection APIs like L</" @@ -57568,7 +57779,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:678 +#: ../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</" @@ -57579,12 +57790,12 @@ msgstr "" "guestfs_inspect_is_multipart> 呼び出しからも取得可能です。" #. type: =head2 -#: ../src/guestfs.pod:683 +#: ../src/guestfs.pod:685 msgid "SPECIAL CONSIDERATIONS FOR WINDOWS GUESTS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:685 +#: ../src/guestfs.pod:687 msgid "" "Libguestfs can mount NTFS partitions. It does this using the L<http://www." "ntfs-3g.org/> driver." @@ -57593,12 +57804,12 @@ msgstr "" "www.ntfs-3g.org/> ドライバーを使用します。" #. type: =head3 -#: ../src/guestfs.pod:688 +#: ../src/guestfs.pod:690 msgid "DRIVE LETTERS AND PATHS" msgstr "ドライブレターとパス" #. type: textblock -#: ../src/guestfs.pod:690 +#: ../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 " @@ -57608,14 +57819,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:696 +#: ../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:699 +#: ../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 " @@ -57623,33 +57834,33 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:703 +#: ../src/guestfs.pod:705 msgid "" "To resolve the case insensitivity of paths, call L</" "guestfs_case_sensitive_path>." msgstr "" #. type: =head3 -#: ../src/guestfs.pod:706 +#: ../src/guestfs.pod:708 msgid "LONG FILENAMES ON NTFS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:708 +#: ../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:712 +#: ../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:715 +#: ../src/guestfs.pod:717 #, fuzzy, no-wrap #| msgid "" #| " lvrename logvol newlogvol\n" @@ -57662,14 +57873,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:717 +#: ../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:720 +#: ../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 " @@ -57677,7 +57888,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:724 +#: ../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 " @@ -57685,19 +57896,19 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:728 +#: ../src/guestfs.pod:730 msgid "ACCESSING THE WINDOWS REGISTRY" msgstr "Windows レジストリのアクセス方法" #. type: textblock -#: ../src/guestfs.pod:730 +#: ../src/guestfs.pod:732 msgid "" "Libguestfs also provides some help for decoding Windows Registry \"hive\" " "files, through a separate C library called L<hivex(3)>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:733 +#: ../src/guestfs.pod:735 msgid "" "Before libguestfs 1.19.35 you had to download the hive file, operate on it " "locally using hivex, and upload it again. Since this version, we have " @@ -57707,19 +57918,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:739 +#: ../src/guestfs.pod:741 #, fuzzy #| msgid "See also L<btrfs(8)>." msgid "See also L<virt-win-reg(1)>." msgstr "L<btrfs(8)> 参照。" #. type: =head3 -#: ../src/guestfs.pod:741 +#: ../src/guestfs.pod:743 msgid "SYMLINKS ON NTFS-3G FILESYSTEMS" msgstr "NTFS-3G ファイルシステムにおけるシンボリックリンク" #. type: textblock -#: ../src/guestfs.pod:743 +#: ../src/guestfs.pod:745 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 " @@ -57727,7 +57938,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:747 +#: ../src/guestfs.pod:749 msgid "" "L<http://www.tuxera.com/community/ntfs-3g-advanced/junction-points-and-" "symbolic-links/>" @@ -57736,7 +57947,7 @@ msgstr "" "symbolic-links/>" #. type: textblock -#: ../src/guestfs.pod:749 +#: ../src/guestfs.pod:751 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 " @@ -57746,7 +57957,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:756 +#: ../src/guestfs.pod:758 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 " @@ -57755,38 +57966,38 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:761 +#: ../src/guestfs.pod:763 msgid "EXTENDED ATTRIBUTES ON NTFS-3G FILESYSTEMS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:763 +#: ../src/guestfs.pod:765 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:766 +#: ../src/guestfs.pod:768 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:768 +#: ../src/guestfs.pod:770 msgid "RESIZE2FS ERRORS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:770 +#: ../src/guestfs.pod:772 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:773 +#: ../src/guestfs.pod:775 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 " @@ -57795,7 +58006,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:778 +#: ../src/guestfs.pod:780 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 " @@ -57803,14 +58014,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:783 +#: ../src/guestfs.pod:785 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:786 +#: ../src/guestfs.pod:788 #, no-wrap msgid "" " Please run 'e2fsck -fy <device>' to fix the filesystem\n" @@ -57822,7 +58033,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:789 +#: ../src/guestfs.pod:791 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 " @@ -57831,19 +58042,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:794 +#: ../src/guestfs.pod:796 msgid "USING LIBGUESTFS WITH OTHER PROGRAMMING LANGUAGES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:796 +#: ../src/guestfs.pod:798 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:799 +#: ../src/guestfs.pod:801 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)> " @@ -57853,14 +58064,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:805 +#: ../src/guestfs.pod:807 msgid "" "Error messages are automatically transformed into exceptions if the language " "supports it." msgstr "" #. type: textblock -#: ../src/guestfs.pod:808 +#: ../src/guestfs.pod:810 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 " @@ -57868,12 +58079,12 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:814 +#: ../src/guestfs.pod:816 msgid "B<C++>" msgstr "B<C++>" #. type: textblock -#: ../src/guestfs.pod:816 +#: ../src/guestfs.pod:818 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." @@ -57882,12 +58093,12 @@ msgstr "" "C API と同一です。 C++ のクラスと例外は使用されません。" #. type: =item -#: ../src/guestfs.pod:820 +#: ../src/guestfs.pod:822 msgid "B<C#>" msgstr "B<C#>" #. type: textblock -#: ../src/guestfs.pod:822 +#: ../src/guestfs.pod:824 msgid "" "The C# bindings are highly experimental. Please read the warnings at the " "top of C<csharp/Libguestfs.cs>." @@ -57896,34 +58107,34 @@ msgstr "" "る警告を参照してください。" #. type: =item -#: ../src/guestfs.pod:825 +#: ../src/guestfs.pod:827 msgid "B<Erlang>" msgstr "B<Erlang>" #. type: textblock -#: ../src/guestfs.pod:827 +#: ../src/guestfs.pod:829 msgid "See L<guestfs-erlang(3)>." msgstr "L<guestfs-erlang(3)> 参照。" #. type: =item -#: ../src/guestfs.pod:829 +#: ../src/guestfs.pod:831 msgid "B<GObject>" msgstr "B<GObject>" #. type: textblock -#: ../src/guestfs.pod:831 +#: ../src/guestfs.pod:833 msgid "" "Experimental GObject bindings (with GObject Introspection support) are " "available. See the C<gobject> directory in the source." msgstr "" #. type: =item -#: ../src/guestfs.pod:834 +#: ../src/guestfs.pod:836 msgid "B<Haskell>" msgstr "B<Haskell>" #. type: textblock -#: ../src/guestfs.pod:836 +#: ../src/guestfs.pod:838 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 " @@ -57931,96 +58142,96 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:840 +#: ../src/guestfs.pod:842 msgid "B<Java>" msgstr "B<Java>" #. type: textblock -#: ../src/guestfs.pod:842 +#: ../src/guestfs.pod:844 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:845 +#: ../src/guestfs.pod:847 msgid "B<OCaml>" msgstr "B<OCaml>" #. type: textblock -#: ../src/guestfs.pod:847 +#: ../src/guestfs.pod:849 msgid "See L<guestfs-ocaml(3)>." msgstr "L<guestfs-ocaml(3)> 参照。" #. type: =item -#: ../src/guestfs.pod:849 +#: ../src/guestfs.pod:851 msgid "B<Perl>" msgstr "B<Perl>" #. type: textblock -#: ../src/guestfs.pod:851 +#: ../src/guestfs.pod:853 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:853 +#: ../src/guestfs.pod:855 msgid "B<PHP>" msgstr "B<PHP>" #. type: textblock -#: ../src/guestfs.pod:855 +#: ../src/guestfs.pod:857 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:858 +#: ../src/guestfs.pod:860 msgid "The PHP binding only works correctly on 64 bit machines." msgstr "PHP バインドは 64 ビットマシンにおいてのみ正しく動作します。" #. type: =item -#: ../src/guestfs.pod:860 +#: ../src/guestfs.pod:862 msgid "B<Python>" msgstr "B<Python>" #. type: textblock -#: ../src/guestfs.pod:862 +#: ../src/guestfs.pod:864 msgid "See L<guestfs-python(3)>." msgstr "L<guestfs-python(3)> 参照。" #. type: =item -#: ../src/guestfs.pod:864 +#: ../src/guestfs.pod:866 msgid "B<Ruby>" msgstr "B<Ruby>" #. type: textblock -#: ../src/guestfs.pod:866 +#: ../src/guestfs.pod:868 msgid "See L<guestfs-ruby(3)>." msgstr "L<guestfs-ruby(3)> 参照。" #. type: textblock -#: ../src/guestfs.pod:868 +#: ../src/guestfs.pod:870 msgid "For JRuby, use the Java bindings." msgstr "JRuby に対しては Java バインドを使用します。" #. type: =item -#: ../src/guestfs.pod:870 +#: ../src/guestfs.pod:872 msgid "B<shell scripts>" msgstr "B<シェルスクリプト>" #. type: textblock -#: ../src/guestfs.pod:872 +#: ../src/guestfs.pod:874 msgid "See L<guestfish(1)>." msgstr "L<guestfish(1)> 参照。" #. type: =head2 -#: ../src/guestfs.pod:876 +#: ../src/guestfs.pod:878 msgid "LIBGUESTFS GOTCHAS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:878 +#: ../src/guestfs.pod:880 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 " @@ -58028,7 +58239,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:882 +#: ../src/guestfs.pod:884 msgid "" "Since we developed libguestfs and the associated tools, there are several " "things we would have designed differently, but are now stuck with for " @@ -58037,19 +58248,19 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:890 +#: ../src/guestfs.pod:892 msgid "Autosync / forgetting to sync." msgstr "" #. type: textblock -#: ../src/guestfs.pod:892 +#: ../src/guestfs.pod:894 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:895 +#: ../src/guestfs.pod:897 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 " @@ -58057,7 +58268,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:899 +#: ../src/guestfs.pod:901 #, no-wrap msgid "" " guestfs_set_autosync (g, 1);\n" @@ -58067,14 +58278,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:901 +#: ../src/guestfs.pod:903 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:905 +#: ../src/guestfs.pod:907 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 " @@ -58082,7 +58293,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:909 +#: ../src/guestfs.pod:911 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 " @@ -58090,19 +58301,19 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:913 +#: ../src/guestfs.pod:915 msgid "Mount option C<-o sync> should not be the default." msgstr "マウントオプション C<-o sync> をデフォルトにすべきではありません。" #. type: textblock -#: ../src/guestfs.pod:915 +#: ../src/guestfs.pod:917 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:918 +#: ../src/guestfs.pod:920 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 " @@ -58110,19 +58321,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:922 +#: ../src/guestfs.pod:924 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:925 +#: ../src/guestfs.pod:927 msgid "Read-only should be the default." msgstr "初期値は読み込み専用です。" #. type: textblock -#: ../src/guestfs.pod:927 +#: ../src/guestfs.pod:929 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." @@ -58131,12 +58342,12 @@ msgstr "" "rw> を指定する必要があります。" #. type: textblock -#: ../src/guestfs.pod:930 +#: ../src/guestfs.pod:932 msgid "This would reduce the potential to corrupt live VM images." msgstr "これにより、動作中の仮想マシンのイメージを破壊する可能性を減らします。" #. type: textblock -#: ../src/guestfs.pod:932 +#: ../src/guestfs.pod:934 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</" @@ -58144,12 +58355,12 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:936 +#: ../src/guestfs.pod:938 msgid "guestfish command line is hard to use." msgstr "guestfish コマンドラインは使うのが難しいです。" #. type: textblock -#: ../src/guestfs.pod:938 +#: ../src/guestfs.pod:940 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 " @@ -58159,12 +58370,12 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:945 +#: ../src/guestfs.pod:947 msgid "guestfish megabyte modifiers don't work right on all commands" msgstr "" #. type: textblock -#: ../src/guestfs.pod:947 +#: ../src/guestfs.pod:949 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 " @@ -58174,12 +58385,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:954 +#: ../src/guestfs.pod:956 msgid "The most common is L</guestfs_lvcreate>. The guestfish command:" msgstr "最も一般的な L</guestfs_lvcreate> です。 guestfish コマンド:" #. type: verbatim -#: ../src/guestfs.pod:956 +#: ../src/guestfs.pod:958 #, no-wrap msgid "" " lvcreate LV VG 100M\n" @@ -58189,7 +58400,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:958 +#: ../src/guestfs.pod:960 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 " @@ -58198,19 +58409,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:963 +#: ../src/guestfs.pod:965 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:966 +#: ../src/guestfs.pod:968 msgid "Ambiguity between devices and paths" msgstr "" #. type: textblock -#: ../src/guestfs.pod:968 +#: ../src/guestfs.pod:970 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 " @@ -58218,7 +58429,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:973 +#: ../src/guestfs.pod:975 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>. " @@ -58227,7 +58438,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:979 +#: ../src/guestfs.pod:981 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 " @@ -58237,7 +58448,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:985 +#: ../src/guestfs.pod:987 #, no-wrap msgid "" " type path = Path of string | Device of int | Partition of int * int\n" @@ -58247,12 +58458,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:987 +#: ../src/guestfs.pod:989 msgid "which would allow you to pass arguments like:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:989 +#: ../src/guestfs.pod:991 #, no-wrap msgid "" " Path \"/foo/bar\"\n" @@ -58268,19 +58479,19 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:994 +#: ../src/guestfs.pod:996 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:999 +#: ../src/guestfs.pod:1001 msgid "KEYS AND PASSPHRASES" msgstr "キーとパスフレーズ" #. type: textblock -#: ../src/guestfs.pod:1001 +#: ../src/guestfs.pod:1003 msgid "" "Certain libguestfs calls take a parameter that contains sensitive key " "material, passed in as a C string." @@ -58289,7 +58500,7 @@ msgstr "" "を含むパラメーターをとります。" #. type: textblock -#: ../src/guestfs.pod:1004 +#: ../src/guestfs.pod:1006 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 " @@ -58298,7 +58509,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1009 +#: ../src/guestfs.pod:1011 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, " @@ -58306,19 +58517,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1014 +#: ../src/guestfs.pod:1016 msgid "MULTIPLE HANDLES AND MULTIPLE THREADS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1016 +#: ../src/guestfs.pod:1018 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:1019 +#: ../src/guestfs.pod:1021 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 " @@ -58326,26 +58537,26 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1023 +#: ../src/guestfs.pod:1025 msgid "" "See the graphical program guestfs-browser for one possible architecture for " "multithreaded programs using libvirt and libguestfs." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1026 +#: ../src/guestfs.pod:1028 msgid "PATH" msgstr "パス" #. type: textblock -#: ../src/guestfs.pod:1028 +#: ../src/guestfs.pod:1030 msgid "" "Libguestfs needs a supermin appliance, which it finds by looking along an " "internal path." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1031 +#: ../src/guestfs.pod:1033 msgid "" "By default it looks for these in the directory C<$libdir/guestfs> (eg. C</" "usr/local/lib/guestfs> or C</usr/lib64/guestfs>)." @@ -58354,7 +58565,7 @@ msgstr "" "(例: C</usr/local/lib/guestfs> または C</usr/lib64/guestfs>)。" #. type: textblock -#: ../src/guestfs.pod:1034 +#: ../src/guestfs.pod:1036 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 " @@ -58365,12 +58576,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1041 +#: ../src/guestfs.pod:1043 msgid "QEMU WRAPPERS" msgstr "QEMU ラッパー" #. type: textblock -#: ../src/guestfs.pod:1043 +#: ../src/guestfs.pod:1045 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 " @@ -58381,7 +58592,7 @@ msgstr "" "す。" #. type: textblock -#: ../src/guestfs.pod:1047 +#: ../src/guestfs.pod:1049 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 " @@ -58390,14 +58601,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1052 +#: ../src/guestfs.pod:1054 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:1055 +#: ../src/guestfs.pod:1057 #, no-wrap msgid "" " #!/bin/sh -\n" @@ -58411,7 +58622,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1059 +#: ../src/guestfs.pod:1061 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 " @@ -58419,7 +58630,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1063 +#: ../src/guestfs.pod:1065 #, no-wrap msgid "" " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n" @@ -58429,14 +58640,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1065 +#: ../src/guestfs.pod:1067 msgid "" "Note that libguestfs also calls qemu with the -help and -version options in " "order to determine features." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1068 +#: ../src/guestfs.pod:1070 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 " @@ -58446,7 +58657,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1077 +#: ../src/guestfs.pod:1079 #, no-wrap msgid "" " i=0\n" @@ -58476,7 +58687,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:1089 +#: ../src/guestfs.pod:1091 #, no-wrap msgid "" " exec qemu-kvm -machine pc,accel=tcg \"${args[@]}\"\n" @@ -58486,19 +58697,19 @@ msgstr "" "\n" #. type: =head2 -#: ../src/guestfs.pod:1091 +#: ../src/guestfs.pod:1093 msgid "ATTACHING TO RUNNING DAEMONS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1093 +#: ../src/guestfs.pod:1095 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:1096 +#: ../src/guestfs.pod:1098 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 " @@ -58506,12 +58717,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:1100 +#: ../src/guestfs.pod:1102 msgid "Using guestfs_set_attach_method" msgstr "guestfs_set_attach_method の使用法" #. type: textblock -#: ../src/guestfs.pod:1102 +#: ../src/guestfs.pod:1104 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</" @@ -58519,7 +58730,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1106 +#: ../src/guestfs.pod:1108 msgid "" "The normal attach method is C<appliance>, where a small appliance is created " "containing the daemon, and then the library connects to this. C<libvirt> or " @@ -58527,7 +58738,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1111 +#: ../src/guestfs.pod:1113 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 " @@ -58535,7 +58746,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1115 +#: ../src/guestfs.pod:1117 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 " @@ -58543,12 +58754,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:1119 +#: ../src/guestfs.pod:1121 msgid "Using guestfs_add_domain with live flag" msgstr "live フラグを用いた guestfs_add_domain の使用方法" #. type: textblock -#: ../src/guestfs.pod:1121 +#: ../src/guestfs.pod:1123 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 " @@ -58559,7 +58770,7 @@ msgstr "" "を使用してください。" #. type: verbatim -#: ../src/guestfs.pod:1127 +#: ../src/guestfs.pod:1129 #, no-wrap msgid "" " <domain>\n" @@ -58589,7 +58800,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1139 +#: ../src/guestfs.pod:1141 msgid "" "L</guestfs_add_domain> extracts C</path/to/socket> and sets the attach " "method to C<unix:/path/to/socket>." @@ -58598,7 +58809,7 @@ msgstr "" "path/to/socket> に設定します。" #. type: textblock -#: ../src/guestfs.pod:1142 +#: ../src/guestfs.pod:1144 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 " @@ -58606,19 +58817,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1146 +#: ../src/guestfs.pod:1148 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:1150 +#: ../src/guestfs.pod:1152 msgid "ABI GUARANTEE" msgstr "ABI 保証" #. type: textblock -#: ../src/guestfs.pod:1152 +#: ../src/guestfs.pod:1154 msgid "" "We guarantee the libguestfs ABI (binary interface), for public, high-level " "actions as outlined in this section. Although we will deprecate some " @@ -58628,12 +58839,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1158 +#: ../src/guestfs.pod:1160 msgid "BLOCK DEVICE NAMING" msgstr "ブロックデバイスの命名法" #. type: textblock -#: ../src/guestfs.pod:1160 +#: ../src/guestfs.pod:1162 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 " @@ -58647,7 +58858,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1172 +#: ../src/guestfs.pod:1174 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 " @@ -58655,7 +58866,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1176 +#: ../src/guestfs.pod:1178 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 " @@ -58663,7 +58874,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1181 +#: ../src/guestfs.pod:1183 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 " @@ -58672,7 +58883,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1187 +#: ../src/guestfs.pod:1189 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 " @@ -58681,12 +58892,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:1192 +#: ../src/guestfs.pod:1194 msgid "ALGORITHM FOR BLOCK DEVICE NAME TRANSLATION" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1194 +#: ../src/guestfs.pod:1196 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 " @@ -58695,7 +58906,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1200 +#: ../src/guestfs.pod:1202 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</" @@ -58703,17 +58914,17 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1208 +#: ../src/guestfs.pod:1210 msgid "Is the string a parameter which is a device or partition name?" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1212 +#: ../src/guestfs.pod:1214 msgid "Does the string begin with C</dev/sd>?" msgstr "文字列が C</dev/sd> で始まっていますか?" #. type: textblock -#: ../src/guestfs.pod:1216 +#: ../src/guestfs.pod:1218 msgid "" "Does the named device exist? If so, we use that device. However if I<not> " "then we continue with this algorithm." @@ -58722,38 +58933,38 @@ msgstr "" "し、そうで I<なければ> 、この手順を続けます。" #. type: textblock -#: ../src/guestfs.pod:1221 +#: ../src/guestfs.pod:1223 msgid "Replace initial C</dev/sd> string with C</dev/hd>." msgstr "最初の C</dev/sd> 文字列を C</dev/hd> で置き換えます。" #. type: textblock -#: ../src/guestfs.pod:1223 +#: ../src/guestfs.pod:1225 msgid "For example, change C</dev/sda2> to C</dev/hda2>." msgstr "たとえば、 C</dev/sda2> を C</dev/hda2> に変更します。" #. type: textblock -#: ../src/guestfs.pod:1225 +#: ../src/guestfs.pod:1227 msgid "If that named device exists, use it. If not, continue." msgstr "名前付きデバイスが存在すれば、それを使用します。なければ、続けます。" #. type: textblock -#: ../src/guestfs.pod:1229 +#: ../src/guestfs.pod:1231 msgid "Replace initial C</dev/sd> string with C</dev/vd>." msgstr "最初の C</dev/sd> 文字列を C</dev/vd> で置き換えます。" #. type: textblock -#: ../src/guestfs.pod:1231 +#: ../src/guestfs.pod:1233 msgid "If that named device exists, use it. If not, return an error." msgstr "" "名前付きデバイスが存在すれば、それを使用します。なければ、エラーを返します。" #. type: =head3 -#: ../src/guestfs.pod:1235 +#: ../src/guestfs.pod:1237 msgid "PORTABILITY CONCERNS WITH BLOCK DEVICE NAMING" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1237 +#: ../src/guestfs.pod:1239 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 " @@ -58761,14 +58972,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1241 +#: ../src/guestfs.pod:1243 msgid "" "Where possible for maximum future portability programs using libguestfs " "should use these future-proof techniques:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1248 +#: ../src/guestfs.pod:1250 msgid "" "Use L</guestfs_list_devices> or L</guestfs_list_partitions> to list actual " "device names, and then use those names directly." @@ -58777,14 +58988,14 @@ msgstr "" "guestfs_list_partitions> を使用します。そして、それらの名前を直接使用します。" #. type: textblock -#: ../src/guestfs.pod:1251 +#: ../src/guestfs.pod:1253 msgid "" "Since those device names exist by definition, they will never be translated." msgstr "" "それらのデバイス名が定義により存在しているので、それらは変換されません。" #. type: textblock -#: ../src/guestfs.pod:1256 +#: ../src/guestfs.pod:1258 msgid "" "Use higher level ways to identify filesystems, such as LVM names, UUIDs and " "filesystem labels." @@ -58793,12 +59004,12 @@ msgstr "" "るための高レベルの方法を使用します。" #. type: =head2 -#: ../src/guestfs.pod:1261 +#: ../src/guestfs.pod:1263 msgid "NULL DISKS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1263 +#: ../src/guestfs.pod:1265 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 " @@ -58806,36 +59017,36 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1267 +#: ../src/guestfs.pod:1269 msgid "A null disk has the following properties:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1273 +#: ../src/guestfs.pod:1275 msgid "" "A null disk will appear as a normal device, eg. in calls to L</" "guestfs_list_devices>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1278 +#: ../src/guestfs.pod:1280 msgid "You may add C<\"/dev/null\"> multiple times." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1282 +#: ../src/guestfs.pod:1284 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:1287 +#: ../src/guestfs.pod:1289 msgid "Null disks are used for three main purposes:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1293 +#: ../src/guestfs.pod:1295 #, fuzzy #| msgid "" #| "For more information on the architecture of libguestfs, see L<guestfs(3)>." @@ -58844,12 +59055,12 @@ msgstr "" "libguestfs のアーキテクチャーの詳細は L<guestfs(3)> を参照してください。" #. type: textblock -#: ../src/guestfs.pod:1297 +#: ../src/guestfs.pod:1299 msgid "The internal test suite." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1301 +#: ../src/guestfs.pod:1303 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 " @@ -58857,12 +59068,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1305 +#: ../src/guestfs.pod:1307 msgid "For example, to test if a feature is available, use code like this:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1307 +#: ../src/guestfs.pod:1309 #, no-wrap msgid "" " guestfs_h *g;\n" @@ -58871,7 +59082,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1310 +#: ../src/guestfs.pod:1312 #, no-wrap msgid "" " g = guestfs_create ();\n" @@ -58887,21 +59098,21 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1322 +#: ../src/guestfs.pod:1324 #, fuzzy #| msgid "DISK IMAGES" msgid "DISK IMAGE FORMATS" msgstr "ディスクイメージ" #. type: textblock -#: ../src/guestfs.pod:1324 +#: ../src/guestfs.pod:1326 msgid "" "Virtual disks come in a variety of formats. Some common formats are listed " "below." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1327 +#: ../src/guestfs.pod:1329 msgid "" "Note that libguestfs itself is not responsible for handling the disk format: " "this is done using L<qemu(1)>. If support for a particular format is " @@ -58909,24 +59120,24 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:1331 +#: ../src/guestfs.pod:1333 msgid "COMMON VIRTUAL DISK IMAGE FORMATS" msgstr "" #. type: =item -#: ../src/guestfs.pod:1335 +#: ../src/guestfs.pod:1337 msgid "I<raw>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1337 +#: ../src/guestfs.pod:1339 msgid "" "Raw format is simply a dump of the sequential bytes of the virtual hard " "disk. There is no header, container, compression or processing of any sort." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1341 +#: ../src/guestfs.pod:1343 msgid "" "Since raw format requires no translation to read or write, it is both fast " "and very well supported by qemu and all other hypervisors. You can consider " @@ -58934,7 +59145,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1346 +#: ../src/guestfs.pod:1348 msgid "" "Raw format files are not compressed and so take up the full space of the " "original disk image even when they are empty. A variation (on Linux/Unix at " @@ -58945,12 +59156,12 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:1353 +#: ../src/guestfs.pod:1355 msgid "I<qcow2>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1355 +#: ../src/guestfs.pod:1357 msgid "" "Qcow2 is the native disk image format used by qemu. Internally it uses a " "two-level directory structure so that only blocks containing data are stored " @@ -58959,19 +59170,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1360 +#: ../src/guestfs.pod:1362 msgid "" "There are at least two distinct variants of this format, although qemu (and " "hence libguestfs) handles both transparently to the user." msgstr "" #. type: =item -#: ../src/guestfs.pod:1363 +#: ../src/guestfs.pod:1365 msgid "I<vmdk>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1365 +#: ../src/guestfs.pod:1367 msgid "" "VMDK is VMware's native disk image format. There are many variations. " "Modern qemu (hence libguestfs) supports most variations, but you should be " @@ -58980,7 +59191,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1370 +#: ../src/guestfs.pod:1372 msgid "" "Note that VMware ESX exposes files with the name C<guest-flat.vmdk>. These " "are not VMDK. They are raw format files which happen to have a C<.vmdk> " @@ -58988,55 +59199,55 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:1374 +#: ../src/guestfs.pod:1376 msgid "I<vdi>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1376 +#: ../src/guestfs.pod:1378 msgid "" "VDI is VirtualBox's native disk image format. Qemu (hence libguestfs) has " "generally good support for this." msgstr "" #. type: =item -#: ../src/guestfs.pod:1379 +#: ../src/guestfs.pod:1381 msgid "I<vpc>" msgstr "" #. type: =item -#: ../src/guestfs.pod:1381 +#: ../src/guestfs.pod:1383 msgid "I<vhd>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1383 +#: ../src/guestfs.pod:1385 msgid "" "VPC (old) and VHD (modern) are the native disk image format of Microsoft " "(and previously, Connectix) Virtual PC and Hyper-V." msgstr "" #. type: =item -#: ../src/guestfs.pod:1386 +#: ../src/guestfs.pod:1388 msgid "Obsolete formats" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1388 +#: ../src/guestfs.pod:1390 msgid "" "The following formats are obsolete and should not be used: I<qcow> (aka " "I<qcow1>), I<cow>, I<bochs>." msgstr "" #. type: =head3 -#: ../src/guestfs.pod:1393 +#: ../src/guestfs.pod:1395 #, fuzzy #| msgid "EXAMPLE 1: CREATE A DISK IMAGE" msgid "DETECTING THE FORMAT OF A DISK IMAGE" msgstr "例 1: ディスクイメージの作成" #. type: textblock -#: ../src/guestfs.pod:1395 +#: ../src/guestfs.pod:1397 msgid "" "Firstly note there is a security issue with auto-detecting the format of a " "disk image. It may or may not apply in your use case. Read L</" @@ -59044,14 +59255,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1399 +#: ../src/guestfs.pod:1401 msgid "" "Libguestfs offers an API to get the format of a disk image (L</" "guestfs_disk_format>, and it is safest to use this." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1402 +#: ../src/guestfs.pod:1404 msgid "" "I<Don't> be tempted to try parsing the text / human-readable output of " "C<qemu-img> since it cannot be parsed reliably and securely. Also do not " @@ -59059,12 +59270,12 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:1407 ../sysprep/virt-sysprep.pod:424 +#: ../src/guestfs.pod:1409 ../sysprep/virt-sysprep.pod:424 msgid "SECURITY" msgstr "セキュリティ" #. type: textblock -#: ../src/guestfs.pod:1409 +#: ../src/guestfs.pod:1411 msgid "" "This section discusses security implications of using libguestfs, " "particularly with untrusted or malicious guests or disk images." @@ -59074,12 +59285,12 @@ msgstr "" "ます。" #. type: =head2 -#: ../src/guestfs.pod:1412 +#: ../src/guestfs.pod:1414 msgid "GENERAL SECURITY CONSIDERATIONS" msgstr "一般的なセキュリティ考慮事項" #. type: textblock -#: ../src/guestfs.pod:1414 +#: ../src/guestfs.pod:1416 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 " @@ -59089,42 +59300,42 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1424 +#: ../src/guestfs.pod:1426 msgid "the data (file etc) not being present" msgstr "データ(ファイルなど)が存在しない場合" #. type: textblock -#: ../src/guestfs.pod:1428 +#: ../src/guestfs.pod:1430 msgid "being present but empty" msgstr "存在するが空の場合" #. type: textblock -#: ../src/guestfs.pod:1432 +#: ../src/guestfs.pod:1434 msgid "being much larger than normal" msgstr "通常よりもかなり大きい場合" #. type: textblock -#: ../src/guestfs.pod:1436 +#: ../src/guestfs.pod:1438 msgid "containing arbitrary 8 bit data" msgstr "任意の 8 ビットのデータを含む場合" #. type: textblock -#: ../src/guestfs.pod:1440 +#: ../src/guestfs.pod:1442 msgid "being in an unexpected character encoding" msgstr "予期しない文字エンコードを使用している場合" #. type: textblock -#: ../src/guestfs.pod:1444 +#: ../src/guestfs.pod:1446 msgid "containing homoglyphs." msgstr "同型異義語を含む場合" #. type: =head2 -#: ../src/guestfs.pod:1448 +#: ../src/guestfs.pod:1450 msgid "SECURITY OF MOUNTING FILESYSTEMS" msgstr "ファイルシステムのマウントに関するセキュリティ" #. type: textblock -#: ../src/guestfs.pod:1450 +#: ../src/guestfs.pod:1452 msgid "" "When you mount a filesystem under Linux, mistakes in the kernel filesystem " "(VFS) module can sometimes be escalated into exploits by deliberately " @@ -59140,7 +59351,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1463 +#: ../src/guestfs.pod:1465 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 " @@ -59154,19 +59365,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1474 +#: ../src/guestfs.pod:1476 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:1477 +#: ../src/guestfs.pod:1479 msgid "PROTOCOL SECURITY" msgstr "プロトコルセキュリティ" #. type: textblock -#: ../src/guestfs.pod:1479 +#: ../src/guestfs.pod:1481 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 " @@ -59181,12 +59392,12 @@ msgstr "" "くのプロトコルセキュリティは結果からあなたを保護しません。" #. type: =head2 -#: ../src/guestfs.pod:1485 +#: ../src/guestfs.pod:1487 msgid "INSPECTION SECURITY" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1487 +#: ../src/guestfs.pod:1489 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 " @@ -59195,7 +59406,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1493 +#: ../src/guestfs.pod:1495 msgid "" "Guest configuration may be altered in unusual ways by the administrator of " "the virtual machine, and may not reflect reality (particularly for untrusted " @@ -59206,7 +59417,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1501 +#: ../src/guestfs.pod:1503 msgid "" "The inspection API parses guest configuration using two external libraries: " "Augeas (Linux configuration) and hivex (Windows Registry). Both are " @@ -59216,12 +59427,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1507 +#: ../src/guestfs.pod:1509 msgid "RUNNING UNTRUSTED GUEST COMMANDS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1509 +#: ../src/guestfs.pod:1511 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 " @@ -59231,19 +59442,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1515 +#: ../src/guestfs.pod:1517 msgid "CVE-2010-3851" msgstr "CVE-2010-3851" #. type: textblock -#: ../src/guestfs.pod:1517 +#: ../src/guestfs.pod:1519 #, 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:1519 +#: ../src/guestfs.pod:1521 msgid "" "This security bug concerns the automatic disk format detection that qemu " "does on disk images." @@ -59252,7 +59463,7 @@ msgstr "" "フォーマット検出に関するものです。" #. type: textblock -#: ../src/guestfs.pod:1522 +#: ../src/guestfs.pod:1524 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 " @@ -59261,7 +59472,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1527 +#: ../src/guestfs.pod:1529 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 " @@ -59270,7 +59481,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1532 +#: ../src/guestfs.pod:1534 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 " @@ -59282,27 +59493,27 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1540 +#: ../src/guestfs.pod:1542 msgid "" "In libguestfs this is rather hard to exploit except under two circumstances:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1547 +#: ../src/guestfs.pod:1549 msgid "You have enabled the network or have opened the disk in write mode." msgstr "" "ネットワークを有効化しているか、もしくは書き込みモードでディスクを開いていま" "す。" #. type: textblock -#: ../src/guestfs.pod:1551 +#: ../src/guestfs.pod:1553 msgid "" "You are also running untrusted code from the guest (see L</RUNNING " "COMMANDS>)." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1556 +#: ../src/guestfs.pod:1558 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 " @@ -59311,31 +59522,31 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1562 +#: ../src/guestfs.pod:1564 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:1565 +#: ../src/guestfs.pod:1567 msgid "" "For libguestfs tools, use the I<--format> command line parameter as " "appropriate." msgstr "" #. type: =head1 -#: ../src/guestfs.pod:1568 +#: ../src/guestfs.pod:1570 msgid "CONNECTION MANAGEMENT" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1570 +#: ../src/guestfs.pod:1572 msgid "guestfs_h *" msgstr "guestfs_h *" #. type: textblock -#: ../src/guestfs.pod:1572 +#: ../src/guestfs.pod:1574 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 " @@ -59343,19 +59554,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1576 +#: ../src/guestfs.pod:1578 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:1579 +#: ../src/guestfs.pod:1581 msgid "guestfs_create" msgstr "guestfs_create" #. type: verbatim -#: ../src/guestfs.pod:1581 +#: ../src/guestfs.pod:1583 #, no-wrap msgid "" " guestfs_h *guestfs_create (void);\n" @@ -59365,19 +59576,19 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1583 +#: ../src/guestfs.pod:1585 msgid "Create a connection handle." msgstr "接続ハンドルを作成します。" #. type: textblock -#: ../src/guestfs.pod:1585 +#: ../src/guestfs.pod:1587 msgid "" "On success this returns a non-NULL pointer to a handle. On error it returns " "NULL." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1588 +#: ../src/guestfs.pod:1590 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 " @@ -59385,24 +59596,24 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1592 +#: ../src/guestfs.pod:1594 msgid "After configuring the handle, you have to call L</guestfs_launch>." msgstr "ハンドルを設定後、 L</guestfs_launch> を呼び出す必要があります。" #. type: textblock -#: ../src/guestfs.pod:1594 +#: ../src/guestfs.pod:1596 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:1597 +#: ../src/guestfs.pod:1599 msgid "guestfs_close" msgstr "guestfs_close" #. type: verbatim -#: ../src/guestfs.pod:1599 +#: ../src/guestfs.pod:1601 #, no-wrap msgid "" " void guestfs_close (guestfs_h *g);\n" @@ -59412,19 +59623,19 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1601 +#: ../src/guestfs.pod:1603 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:1604 +#: ../src/guestfs.pod:1606 msgid "The correct way to close the handle is:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1606 +#: ../src/guestfs.pod:1608 #, no-wrap msgid "" " if (guestfs_shutdown (g) == -1) {\n" @@ -59435,45 +59646,45 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1611 +#: ../src/guestfs.pod:1613 msgid "" "L</guestfs_shutdown> is only needed if B<all> of the following are true:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1617 +#: ../src/guestfs.pod:1619 msgid "one or more disks were added in read-write mode, I<and>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1621 +#: ../src/guestfs.pod:1623 msgid "guestfs_launch was called, I<and>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1625 +#: ../src/guestfs.pod:1627 msgid "you made some changes, I<and>" msgstr "" #. type: =item -#: ../src/guestfs.pod:1627 +#: ../src/guestfs.pod:1629 msgid "4" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1629 +#: ../src/guestfs.pod:1631 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:1634 +#: ../src/guestfs.pod:1636 msgid "ERROR HANDLING" msgstr "エラー処理" #. type: textblock -#: ../src/guestfs.pod:1636 +#: ../src/guestfs.pod:1638 msgid "" "API functions can return errors. For example, almost all functions that " "return C<int> will return C<-1> to indicate an error." @@ -59482,7 +59693,7 @@ msgstr "" "ラーを意味するために C<-1> を返します。" #. type: textblock -#: ../src/guestfs.pod:1639 +#: ../src/guestfs.pod:1641 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 " @@ -59492,7 +59703,7 @@ msgstr "" "エラーメッセージ文字列およびオプションのエラー番号(errno)です。" #. type: textblock -#: ../src/guestfs.pod:1643 +#: ../src/guestfs.pod:1645 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 " @@ -59500,7 +59711,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1648 +#: ../src/guestfs.pod:1650 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 " @@ -59508,7 +59719,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1652 +#: ../src/guestfs.pod:1654 #, no-wrap msgid "" " if (guestfs_launch (g) == -1)\n" @@ -59520,21 +59731,21 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1655 +#: ../src/guestfs.pod:1657 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:1658 +#: ../src/guestfs.pod:1660 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:1661 +#: ../src/guestfs.pod:1663 #, no-wrap msgid "" " /* This disables the default behaviour of printing errors\n" @@ -59548,7 +59759,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:1665 +#: ../src/guestfs.pod:1667 #, no-wrap msgid "" " if (guestfs_launch (g) == -1) {\n" @@ -59576,7 +59787,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1676 +#: ../src/guestfs.pod:1678 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</" @@ -59584,7 +59795,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1680 +#: ../src/guestfs.pod:1682 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 " @@ -59594,12 +59805,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1686 +#: ../src/guestfs.pod:1688 msgid "guestfs_last_error" msgstr "guestfs_last_error" #. type: verbatim -#: ../src/guestfs.pod:1688 +#: ../src/guestfs.pod:1690 #, no-wrap msgid "" " const char *guestfs_last_error (guestfs_h *g);\n" @@ -59609,14 +59820,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1690 +#: ../src/guestfs.pod:1692 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:1694 +#: ../src/guestfs.pod:1696 msgid "" "The lifetime of the returned string is until the next error occurs, or L</" "guestfs_close> is called." @@ -59625,12 +59836,12 @@ msgstr "" "guestfs_close> が呼び出されるまでです。" #. type: =head2 -#: ../src/guestfs.pod:1697 +#: ../src/guestfs.pod:1699 msgid "guestfs_last_errno" msgstr "guestfs_last_errno" #. type: verbatim -#: ../src/guestfs.pod:1699 +#: ../src/guestfs.pod:1701 #, no-wrap msgid "" " int guestfs_last_errno (guestfs_h *g);\n" @@ -59640,17 +59851,17 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1701 +#: ../src/guestfs.pod:1703 msgid "This returns the last error number (errno) that happened on C<g>." msgstr "これは C<g> において発生した最後のエラー番号(errno)を返します。" #. type: textblock -#: ../src/guestfs.pod:1703 +#: ../src/guestfs.pod:1705 msgid "If successful, an errno integer not equal to zero is returned." msgstr "もし成功すると、0 以外のエラー番号の整数が返されます。" #. type: textblock -#: ../src/guestfs.pod:1705 +#: ../src/guestfs.pod:1707 msgid "" "If no error, this returns 0. This call can return 0 in three situations:" msgstr "" @@ -59658,12 +59869,12 @@ msgstr "" "0 を返す可能性があります:" #. type: textblock -#: ../src/guestfs.pod:1712 +#: ../src/guestfs.pod:1714 msgid "There has not been any error on the handle." msgstr "ハンドルにおいて何もエラーがありませんでした。" #. type: textblock -#: ../src/guestfs.pod:1716 +#: ../src/guestfs.pod:1718 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 " @@ -59673,7 +59884,7 @@ msgstr "" "コールの失敗により発生しましたが、何か他の理由による場合に対応します。" #. type: textblock -#: ../src/guestfs.pod:1722 +#: ../src/guestfs.pod:1724 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." @@ -59682,7 +59893,7 @@ msgstr "" "より捕捉されず返されました。これは通常 libguestfs のバグを意味します。" #. type: textblock -#: ../src/guestfs.pod:1728 +#: ../src/guestfs.pod:1730 msgid "" "Libguestfs tries to convert the errno from inside the applicance into a " "corresponding errno for the caller (not entirely trivial: the appliance " @@ -59693,12 +59904,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1736 +#: ../src/guestfs.pod:1738 msgid "guestfs_set_error_handler" msgstr "guestfs_set_error_handler" #. type: verbatim -#: ../src/guestfs.pod:1738 +#: ../src/guestfs.pod:1740 #, no-wrap msgid "" " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n" @@ -59718,7 +59929,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1745 +#: ../src/guestfs.pod:1747 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 " @@ -59726,14 +59937,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1749 +#: ../src/guestfs.pod:1751 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:1752 +#: ../src/guestfs.pod:1754 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 " @@ -59741,22 +59952,22 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1756 +#: ../src/guestfs.pod:1758 msgid "The default handler prints messages on C<stderr>." msgstr "標準のハンドラーは C<stderr> にメッセージを表示します。" #. type: textblock -#: ../src/guestfs.pod:1758 +#: ../src/guestfs.pod:1760 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:1760 +#: ../src/guestfs.pod:1762 msgid "guestfs_get_error_handler" msgstr "guestfs_get_error_handler" #. type: verbatim -#: ../src/guestfs.pod:1762 +#: ../src/guestfs.pod:1764 #, no-wrap msgid "" " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n" @@ -59768,17 +59979,17 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1765 +#: ../src/guestfs.pod:1767 msgid "Returns the current error handler callback." msgstr "現在のエラーハンドラのコールバックを返します。" #. type: =head2 -#: ../src/guestfs.pod:1767 +#: ../src/guestfs.pod:1769 msgid "guestfs_set_out_of_memory_handler" msgstr "guestfs_set_out_of_memory_handler" #. type: verbatim -#: ../src/guestfs.pod:1769 +#: ../src/guestfs.pod:1771 #, no-wrap msgid "" " typedef void (*guestfs_abort_cb) (void);\n" @@ -59792,7 +60003,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1773 +#: ../src/guestfs.pod:1775 msgid "" "The callback C<cb> will be called if there is an out of memory situation. " "I<Note this callback must not return>." @@ -59801,24 +60012,24 @@ msgstr "" "クは戻ってこない可能性があることに注意してください>。" #. type: textblock -#: ../src/guestfs.pod:1776 +#: ../src/guestfs.pod:1778 msgid "The default is to call L<abort(3)>." msgstr "デフォルトでは L<abort(3)> を呼び出します。" #. type: textblock -#: ../src/guestfs.pod:1778 +#: ../src/guestfs.pod:1780 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:1781 +#: ../src/guestfs.pod:1783 msgid "guestfs_get_out_of_memory_handler" msgstr "guestfs_get_out_of_memory_handler" #. type: verbatim -#: ../src/guestfs.pod:1783 +#: ../src/guestfs.pod:1785 #, no-wrap msgid "" " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n" @@ -59828,37 +60039,37 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1785 +#: ../src/guestfs.pod:1787 msgid "This returns the current out of memory handler." msgstr "アウトオブメモリーハンドラーを返します。" #. type: =head1 -#: ../src/guestfs.pod:1787 +#: ../src/guestfs.pod:1789 msgid "API CALLS" msgstr "API 呼び出し" #. type: =head1 -#: ../src/guestfs.pod:1791 +#: ../src/guestfs.pod:1793 msgid "STRUCTURES" msgstr "構造" #. type: textblock -#: ../src/guestfs.pod:1793 +#: ../src/guestfs.pod:1795 msgid "@STRUCTS@" msgstr "@STRUCTS@" #. type: =head1 -#: ../src/guestfs.pod:1795 +#: ../src/guestfs.pod:1797 msgid "AVAILABILITY" msgstr "可用性" #. type: =head2 -#: ../src/guestfs.pod:1797 +#: ../src/guestfs.pod:1799 msgid "GROUPS OF FUNCTIONALITY IN THE APPLIANCE" msgstr "アプライアンスの機能のグループ" #. type: textblock -#: ../src/guestfs.pod:1799 +#: ../src/guestfs.pod:1801 msgid "" "Using L</guestfs_available> you can test availability of the following " "groups of functions. This test queries the appliance to see if the " @@ -59868,29 +60079,29 @@ msgstr "" "してください。" #. type: textblock -#: ../src/guestfs.pod:1804 +#: ../src/guestfs.pod:1806 msgid "@AVAILABILITY@" msgstr "@AVAILABILITY@" #. type: =head2 -#: ../src/guestfs.pod:1806 +#: ../src/guestfs.pod:1808 msgid "FILESYSTEM AVAILABLE" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1808 +#: ../src/guestfs.pod:1810 msgid "" "The L</guestfs_filesystem_available> call tests whether a filesystem type is " "supported by the appliance kernel." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1816 +#: ../src/guestfs.pod:1818 msgid "GUESTFISH supported COMMAND" msgstr "guestfish がサポートするコマンド" #. type: textblock -#: ../src/guestfs.pod:1818 +#: ../src/guestfs.pod:1820 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 " @@ -59898,12 +60109,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1823 +#: ../src/guestfs.pod:1825 msgid "SINGLE CALLS AT COMPILE TIME" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1825 +#: ../src/guestfs.pod:1827 msgid "" "Since version 1.5.8, C<E<lt>guestfs.hE<gt>> defines symbols for each C API " "function, such as:" @@ -59912,7 +60123,7 @@ msgstr "" "数があります。次のようなものがあります:" #. type: verbatim -#: ../src/guestfs.pod:1828 +#: ../src/guestfs.pod:1830 #, no-wrap msgid "" " #define LIBGUESTFS_HAVE_DD 1\n" @@ -59922,12 +60133,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1830 +#: ../src/guestfs.pod:1832 msgid "if L</guestfs_dd> is available." msgstr "L</guestfs_dd> が利用可能な場合。" #. type: textblock -#: ../src/guestfs.pod:1832 +#: ../src/guestfs.pod:1834 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 " @@ -59935,7 +60146,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1837 +#: ../src/guestfs.pod:1839 #, no-wrap msgid "" " AC_CHECK_LIB([guestfs],[guestfs_create])\n" @@ -59947,19 +60158,19 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1840 +#: ../src/guestfs.pod:1842 msgid "" "which would result in C<HAVE_GUESTFS_DD> being either defined or not defined " "in your program." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1843 +#: ../src/guestfs.pod:1845 msgid "SINGLE CALLS AT RUN TIME" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1845 +#: ../src/guestfs.pod:1847 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 " @@ -59971,7 +60182,7 @@ msgstr "" "してください。" #. type: textblock -#: ../src/guestfs.pod:1852 +#: ../src/guestfs.pod:1854 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 " @@ -59981,7 +60192,7 @@ msgstr "" "ください。" #. type: verbatim -#: ../src/guestfs.pod:1856 +#: ../src/guestfs.pod:1858 #, no-wrap msgid "" " #include <stdio.h>\n" @@ -59999,7 +60210,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:1862 +#: ../src/guestfs.pod:1864 #, no-wrap msgid "" " main ()\n" @@ -60017,7 +60228,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:1868 +#: ../src/guestfs.pod:1870 #, no-wrap msgid "" " /* Test if the function guestfs_dd is really available. */\n" @@ -60041,7 +60252,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:1877 +#: ../src/guestfs.pod:1879 #, no-wrap msgid "" " if (!has_function)\n" @@ -60073,7 +60284,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1890 +#: ../src/guestfs.pod:1892 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 " @@ -60081,7 +60292,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1895 +#: ../src/guestfs.pod:1897 #, no-wrap msgid "" " Requires: libguestfs >= 1.0.80\n" @@ -60091,12 +60302,12 @@ msgstr "" "\n" #. type: =head1 -#: ../src/guestfs.pod:1897 +#: ../src/guestfs.pod:1899 msgid "CALLS WITH OPTIONAL ARGUMENTS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1899 +#: ../src/guestfs.pod:1901 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 " @@ -60104,7 +60315,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1904 +#: ../src/guestfs.pod:1906 #, no-wrap msgid "" " int guestfs_add_drive_opts (guestfs_h *g, const char *filename, ...);\n" @@ -60114,14 +60325,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1906 +#: ../src/guestfs.pod:1908 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:1909 +#: ../src/guestfs.pod:1911 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename, -1);\n" @@ -60131,12 +60342,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1911 +#: ../src/guestfs.pod:1913 msgid "With a single optional argument:" msgstr "単一の引数の場合:" #. type: verbatim -#: ../src/guestfs.pod:1913 +#: ../src/guestfs.pod:1915 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename,\n" @@ -60150,12 +60361,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1917 +#: ../src/guestfs.pod:1919 msgid "With two:" msgstr "2つの引数の場合:" #. type: verbatim -#: ../src/guestfs.pod:1919 +#: ../src/guestfs.pod:1921 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename,\n" @@ -60171,19 +60382,19 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1924 +#: ../src/guestfs.pod:1926 msgid "" "and so forth. Don't forget the terminating C<-1> otherwise Bad Things will " "happen!" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1927 +#: ../src/guestfs.pod:1929 msgid "USING va_list FOR OPTIONAL ARGUMENTS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1929 +#: ../src/guestfs.pod:1931 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 " @@ -60193,7 +60404,7 @@ msgstr "" "guestfs_add_drive_opts> を使用してください。" #. type: verbatim -#: ../src/guestfs.pod:1933 +#: ../src/guestfs.pod:1935 #, no-wrap msgid "" " int guestfs_add_drive_opts_va (guestfs_h *g, const char *filename,\n" @@ -60205,12 +60416,12 @@ msgstr "" "\n" #. type: =head2 -#: ../src/guestfs.pod:1936 +#: ../src/guestfs.pod:1938 msgid "CONSTRUCTING OPTIONAL ARGUMENTS" msgstr "オプション引数の構築" #. type: textblock -#: ../src/guestfs.pod:1938 +#: ../src/guestfs.pod:1940 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 " @@ -60220,7 +60431,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1944 +#: ../src/guestfs.pod:1946 #, no-wrap msgid "" " struct guestfs_add_drive_opts_argv {\n" @@ -60244,12 +60455,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1953 +#: ../src/guestfs.pod:1955 msgid "You could call it like this:" msgstr "次のように呼び出すことができます。" #. type: verbatim -#: ../src/guestfs.pod:1955 +#: ../src/guestfs.pod:1957 #, no-wrap msgid "" " struct guestfs_add_drive_opts_argv optargs = {\n" @@ -60269,7 +60480,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:1962 +#: ../src/guestfs.pod:1964 #, no-wrap msgid "" " guestfs_add_drive_opts_argv (g, filename, &optargs);\n" @@ -60279,29 +60490,29 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1970 +#: ../src/guestfs.pod:1972 msgid "The C<_BITMASK> suffix on each option name when specifying the bitmask." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1975 +#: ../src/guestfs.pod:1977 msgid "You do not need to fill in all fields of the structure." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1979 +#: ../src/guestfs.pod:1981 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:1984 +#: ../src/guestfs.pod:1986 msgid "OPTIONAL ARGUMENTS IN OTHER LANGUAGES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1986 +#: ../src/guestfs.pod:1988 msgid "" "In other languages, optional arguments are expressed in the way that is " "natural for that language. We refer you to the language-specific " @@ -60309,17 +60520,17 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1990 +#: ../src/guestfs.pod:1992 msgid "For guestfish, see L<guestfish(1)/OPTIONAL ARGUMENTS>." msgstr "guestfish は L<guestfish(1)/OPTIONAL ARGUMENTS> を参照してください。" #. type: =head2 -#: ../src/guestfs.pod:1992 +#: ../src/guestfs.pod:1994 msgid "SETTING CALLBACKS TO HANDLE EVENTS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1994 +#: ../src/guestfs.pod:1996 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 " @@ -60331,7 +60542,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2003 +#: ../src/guestfs.pod:2005 msgid "" "Handles generate events when certain things happen, such as log messages " "being generated, progress messages during long-running operations, or the " @@ -60343,7 +60554,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2011 +#: ../src/guestfs.pod:2013 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 " @@ -60352,31 +60563,31 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2016 +#: ../src/guestfs.pod:2018 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:2020 +#: ../src/guestfs.pod:2022 msgid "CLASSES OF EVENTS" msgstr "イベントのクラス" #. type: =item -#: ../src/guestfs.pod:2024 +#: ../src/guestfs.pod:2026 msgid "GUESTFS_EVENT_CLOSE (payload type: void)" msgstr "GUESTFS_EVENT_CLOSE (ペイロード形式: void)" #. type: textblock -#: ../src/guestfs.pod:2027 +#: ../src/guestfs.pod:2029 msgid "" "The callback function will be called while the handle is being closed " "(synchronously from L</guestfs_close>)." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2030 +#: ../src/guestfs.pod:2032 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 " @@ -60389,19 +60600,19 @@ msgstr "" "guestfs_fallocate64> を使用してください。" #. type: textblock -#: ../src/guestfs.pod:2037 +#: ../src/guestfs.pod:2039 msgid "" "If no callback is registered: the handle is closed without any callback " "being invoked." msgstr "" #. type: =item -#: ../src/guestfs.pod:2040 +#: ../src/guestfs.pod:2042 msgid "GUESTFS_EVENT_SUBPROCESS_QUIT (payload type: void)" msgstr "GUESTFS_EVENT_SUBPROCESS_QUIT (ペイロード形式: void)" #. type: textblock -#: ../src/guestfs.pod:2043 +#: ../src/guestfs.pod:2045 msgid "" "The callback function will be called when the child process quits, either " "asynchronously or if killed by L</guestfs_kill_subprocess>. (This " @@ -60409,17 +60620,17 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2047 ../src/guestfs.pod:2056 ../src/guestfs.pod:2173 +#: ../src/guestfs.pod:2049 ../src/guestfs.pod:2058 ../src/guestfs.pod:2175 msgid "If no callback is registered: the event is ignored." msgstr "" #. type: =item -#: ../src/guestfs.pod:2049 +#: ../src/guestfs.pod:2051 msgid "GUESTFS_EVENT_LAUNCH_DONE (payload type: void)" msgstr "GUESTFS_EVENT_LAUNCH_DONE (ペイロード形式: void)" #. type: textblock -#: ../src/guestfs.pod:2052 +#: ../src/guestfs.pod:2054 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 " @@ -60427,12 +60638,12 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:2058 +#: ../src/guestfs.pod:2060 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:2061 +#: ../src/guestfs.pod:2063 msgid "" "Some long-running operations can generate progress messages. If this " "callback is registered, then it will be called each time a progress message " @@ -60442,14 +60653,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2067 +#: ../src/guestfs.pod:2069 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:2070 +#: ../src/guestfs.pod:2072 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 " @@ -60457,24 +60668,24 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2075 +#: ../src/guestfs.pod:2077 msgid "The only defined and stable parts of the API are:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2081 +#: ../src/guestfs.pod:2083 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:2086 +#: ../src/guestfs.pod:2088 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:2090 +#: ../src/guestfs.pod:2092 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 " @@ -60482,7 +60693,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2094 +#: ../src/guestfs.pod:2096 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 " @@ -60490,7 +60701,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2100 +#: ../src/guestfs.pod:2102 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 " @@ -60499,7 +60710,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2105 +#: ../src/guestfs.pod:2107 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 " @@ -60507,14 +60718,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2109 +#: ../src/guestfs.pod:2111 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:2114 +#: ../src/guestfs.pod:2116 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 " @@ -60523,31 +60734,31 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2120 +#: ../src/guestfs.pod:2122 msgid "If no callback is registered: progress messages are discarded." msgstr "" #. type: =item -#: ../src/guestfs.pod:2122 +#: ../src/guestfs.pod:2124 msgid "GUESTFS_EVENT_APPLIANCE (payload type: message buffer)" msgstr "GUESTFS_EVENT_APPLIANCE (ペイロード形式: メッセージバッファー)" #. type: textblock -#: ../src/guestfs.pod:2125 +#: ../src/guestfs.pod:2127 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:2128 +#: ../src/guestfs.pod:2130 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:2131 ../src/guestfs.pod:2145 +#: ../src/guestfs.pod:2133 ../src/guestfs.pod:2147 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 " @@ -60555,63 +60766,63 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:2136 +#: ../src/guestfs.pod:2138 msgid "GUESTFS_EVENT_LIBRARY (payload type: message buffer)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2139 +#: ../src/guestfs.pod:2141 msgid "" "The callback function is called whenever a log message is generated by the " "library part of libguestfs." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2142 +#: ../src/guestfs.pod:2144 msgid "" "If the verbose flag (L</guestfs_set_verbose>) is set then additional debug " "messages are generated." msgstr "" #. type: =item -#: ../src/guestfs.pod:2150 +#: ../src/guestfs.pod:2152 msgid "GUESTFS_EVENT_TRACE (payload type: message buffer)" msgstr "GUESTFS_EVENT_TRACE (ペイロード形式: メッセージバッファー)" #. type: textblock -#: ../src/guestfs.pod:2153 +#: ../src/guestfs.pod:2155 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:2156 +#: ../src/guestfs.pod:2158 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:2160 +#: ../src/guestfs.pod:2162 msgid "GUESTFS_EVENT_ENTER (payload type: function name)" msgstr "GUESTFS_EVENT_ENTER (payload type: function name)" #. type: textblock -#: ../src/guestfs.pod:2163 +#: ../src/guestfs.pod:2165 msgid "" "The callback function is called whenever a libguestfs function is entered." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2166 +#: ../src/guestfs.pod:2168 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:2169 +#: ../src/guestfs.pod:2171 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 " @@ -60619,12 +60830,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2177 +#: ../src/guestfs.pod:2179 msgid "guestfs_set_event_callback" msgstr "guestfs_set_event_callback" #. type: verbatim -#: ../src/guestfs.pod:2179 +#: ../src/guestfs.pod:2181 #, no-wrap msgid "" " int guestfs_set_event_callback (guestfs_h *g,\n" @@ -60642,14 +60853,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2185 +#: ../src/guestfs.pod:2187 msgid "" "This function registers a callback (C<cb>) for all event classes in the " "C<event_bitmask>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2188 +#: ../src/guestfs.pod:2190 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>. " @@ -60658,40 +60869,40 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2194 +#: ../src/guestfs.pod:2196 msgid "C<flags> should always be passed as 0." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2196 +#: ../src/guestfs.pod:2198 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:2199 +#: ../src/guestfs.pod:2201 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:2202 +#: ../src/guestfs.pod:2204 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:2205 +#: ../src/guestfs.pod:2207 msgid "" "Callbacks remain in effect until they are deleted, or until the handle is " "closed." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2208 +#: ../src/guestfs.pod:2210 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 " @@ -60699,12 +60910,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2212 +#: ../src/guestfs.pod:2214 msgid "guestfs_delete_event_callback" msgstr "guestfs_delete_event_callback" #. type: verbatim -#: ../src/guestfs.pod:2214 +#: ../src/guestfs.pod:2216 #, no-wrap msgid "" " void guestfs_delete_event_callback (guestfs_h *g, int event_handle);\n" @@ -60714,7 +60925,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2216 +#: ../src/guestfs.pod:2218 msgid "" "Delete a callback that was previously registered. C<event_handle> should be " "the integer that was returned by a previous call to " @@ -60722,12 +60933,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2220 +#: ../src/guestfs.pod:2222 msgid "guestfs_event_callback" msgstr "guestfs_event_callback" #. type: verbatim -#: ../src/guestfs.pod:2222 +#: ../src/guestfs.pod:2224 #, no-wrap msgid "" " typedef void (*guestfs_event_callback) (\n" @@ -60751,13 +60962,13 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2231 +#: ../src/guestfs.pod:2233 msgid "" "This is the type of the event callback function that you have to provide." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2234 +#: ../src/guestfs.pod:2236 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 " @@ -60765,7 +60976,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2238 +#: ../src/guestfs.pod:2240 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 " @@ -60774,7 +60985,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2243 +#: ../src/guestfs.pod:2245 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 " @@ -60782,19 +60993,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2247 +#: ../src/guestfs.pod:2249 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:2250 +#: ../src/guestfs.pod:2252 msgid "EXAMPLE: CAPTURING LOG MESSAGES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2252 +#: ../src/guestfs.pod:2254 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 " @@ -60802,7 +61013,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2256 +#: ../src/guestfs.pod:2258 msgid "" "Events associated with log messages are: C<GUESTFS_EVENT_LIBRARY>, " "C<GUESTFS_EVENT_APPLIANCE> and C<GUESTFS_EVENT_TRACE>. (Note that error " @@ -60810,14 +61021,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2261 +#: ../src/guestfs.pod:2263 msgid "" "Programs have to set up a callback to capture the classes of events of " "interest:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2264 +#: ../src/guestfs.pod:2266 #, no-wrap msgid "" " int eh =\n" @@ -60843,14 +61054,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2274 +#: ../src/guestfs.pod:2276 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:2277 +#: ../src/guestfs.pod:2279 #, no-wrap msgid "" " static void\n" @@ -60886,12 +61097,12 @@ msgstr "" "\n" #. type: =head1 -#: ../src/guestfs.pod:2292 +#: ../src/guestfs.pod:2294 msgid "CANCELLING LONG TRANSFERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2294 +#: ../src/guestfs.pod:2296 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 " @@ -60900,12 +61111,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:2299 +#: ../src/guestfs.pod:2301 msgid "guestfs_user_cancel" msgstr "guestfs_user_cancel" #. type: verbatim -#: ../src/guestfs.pod:2301 +#: ../src/guestfs.pod:2303 #, no-wrap msgid "" " void guestfs_user_cancel (guestfs_h *g);\n" @@ -60915,13 +61126,13 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2303 +#: ../src/guestfs.pod:2305 msgid "" "C<guestfs_user_cancel> cancels the current upload or download operation." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2306 +#: ../src/guestfs.pod:2308 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 " @@ -60929,7 +61140,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2310 +#: ../src/guestfs.pod:2312 msgid "" "The transfer that was in progress (if there is one) will stop shortly " "afterwards, and will return an error. The errno (see L</" @@ -60938,7 +61149,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2316 +#: ../src/guestfs.pod:2318 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 " @@ -60946,12 +61157,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2320 +#: ../src/guestfs.pod:2322 msgid "There are two common places that you might call C<guestfs_user_cancel>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2322 +#: ../src/guestfs.pod:2324 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 " @@ -60960,19 +61171,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2327 +#: ../src/guestfs.pod:2329 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:2331 +#: ../src/guestfs.pod:2333 msgid "PRIVATE DATA AREA" msgstr "プライベートデータ領域" #. type: textblock -#: ../src/guestfs.pod:2333 +#: ../src/guestfs.pod:2335 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 " @@ -60980,12 +61191,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2338 +#: ../src/guestfs.pod:2340 msgid "To attach a named piece of data, use the following call:" msgstr "データの名前付き部分を接続するには、以下の呼び出しを使用します:" #. type: verbatim -#: ../src/guestfs.pod:2340 +#: ../src/guestfs.pod:2342 #, no-wrap msgid "" " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n" @@ -60995,7 +61206,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2342 +#: ../src/guestfs.pod:2344 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 " @@ -61003,7 +61214,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2346 +#: ../src/guestfs.pod:2348 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 " @@ -61013,12 +61224,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2352 +#: ../src/guestfs.pod:2354 msgid "To retrieve the pointer, use:" msgstr "ポインターを取り出すには、次を使用します:" #. type: verbatim -#: ../src/guestfs.pod:2354 +#: ../src/guestfs.pod:2356 #, no-wrap msgid "" " void *guestfs_get_private (guestfs_h *g, const char *key);\n" @@ -61028,7 +61239,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2356 +#: ../src/guestfs.pod:2358 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 " @@ -61038,7 +61249,7 @@ msgstr "" "guestfs_vfs_label> を使用してください。" #. type: textblock -#: ../src/guestfs.pod:2360 +#: ../src/guestfs.pod:2362 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 " @@ -61049,12 +61260,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2367 +#: ../src/guestfs.pod:2369 msgid "To walk over all entries, use these two functions:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2369 +#: ../src/guestfs.pod:2371 #, no-wrap msgid "" " void *guestfs_first_private (guestfs_h *g, const char **key_rtn);\n" @@ -61064,7 +61275,7 @@ msgstr "" "\n" #. type: verbatim -#: ../src/guestfs.pod:2371 +#: ../src/guestfs.pod:2373 #, no-wrap msgid "" " void *guestfs_next_private (guestfs_h *g, const char **key_rtn);\n" @@ -61074,7 +61285,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2373 +#: ../src/guestfs.pod:2375 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 " @@ -61084,7 +61295,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2379 +#: ../src/guestfs.pod:2381 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 " @@ -61092,18 +61303,18 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2383 +#: ../src/guestfs.pod:2385 msgid "Notes about walking over entries:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2389 +#: ../src/guestfs.pod:2391 msgid "" "You must not call C<guestfs_set_private> while walking over the entries." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2394 +#: ../src/guestfs.pod:2396 msgid "" "The handle maintains an internal iterator which is reset when you call " "C<guestfs_first_private>. This internal iterator is invalidated when you " @@ -61111,12 +61322,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2400 +#: ../src/guestfs.pod:2402 msgid "If you have set the data pointer associated with a key to C<NULL>, ie:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2402 +#: ../src/guestfs.pod:2404 #, no-wrap msgid "" " guestfs_set_private (g, key, NULL);\n" @@ -61126,26 +61337,26 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2404 +#: ../src/guestfs.pod:2406 msgid "then that C<key> is not returned when walking." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2408 +#: ../src/guestfs.pod:2410 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:2414 +#: ../src/guestfs.pod:2416 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:2417 +#: ../src/guestfs.pod:2419 #, no-wrap msgid "" " const char *key;\n" @@ -61167,14 +61378,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2425 +#: ../src/guestfs.pod:2427 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:2428 +#: ../src/guestfs.pod:2430 #, no-wrap msgid "" " const char *key;\n" @@ -61198,7 +61409,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2437 +#: ../src/guestfs.pod:2439 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 " @@ -61206,7 +61417,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2441 +#: ../src/guestfs.pod:2443 #, no-wrap msgid "" " const char *key;\n" @@ -61244,7 +61455,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2457 +#: ../src/guestfs.pod:2459 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 " @@ -61253,12 +61464,12 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2462 +#: ../src/guestfs.pod:2464 msgid "SYSTEMTAP" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2464 +#: ../src/guestfs.pod:2466 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 " @@ -61266,12 +61477,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2468 +#: ../src/guestfs.pod:2470 msgid "You can list all the static markers by doing:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2470 +#: ../src/guestfs.pod:2472 #, no-wrap msgid "" " stap -l 'process(\"/usr/lib*/libguestfs.so.0\")\n" @@ -61283,26 +61494,26 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2473 +#: ../src/guestfs.pod:2475 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:2476 +#: ../src/guestfs.pod:2478 msgid "SYSTEMTAP SCRIPT EXAMPLE" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2478 +#: ../src/guestfs.pod:2480 msgid "" "This script contains examples of displaying both the static markers and some " "ordinary C entry points:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2505 +#: ../src/guestfs.pod:2507 #, no-wrap msgid "" " /* Display all calls to guestfs_mkfs* functions. */\n" @@ -61322,7 +61533,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2512 +#: ../src/guestfs.pod:2514 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 " @@ -61331,7 +61542,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2517 +#: ../src/guestfs.pod:2519 #, no-wrap msgid "" " # stap /tmp/test.stap\n" @@ -61343,17 +61554,17 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2520 +#: ../src/guestfs.pod:2522 msgid "In another terminal, run a guestfish command such as this:" msgstr "他の端末において、このように guestfish コマンドを実行します:" #. type: textblock -#: ../src/guestfs.pod:2524 +#: ../src/guestfs.pod:2526 msgid "In the first terminal, stap trace output similar to this is shown:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2526 +#: ../src/guestfs.pod:2528 #, no-wrap msgid "" " 1318248056692655 (+0):\tlaunch_start\n" @@ -61373,7 +61584,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2535 +#: ../src/guestfs.pod:2537 msgid "" "<!-- old anchor for the next section --> <a name=" "\"state_machine_and_low_level_event_api\"/>" @@ -61382,12 +61593,12 @@ msgstr "" "\"state_machine_and_low_level_event_api\"/>" #. type: =head1 -#: ../src/guestfs.pod:2540 +#: ../src/guestfs.pod:2542 msgid "ARCHITECTURE" msgstr "アーキテクチャー" #. type: textblock -#: ../src/guestfs.pod:2542 +#: ../src/guestfs.pod:2544 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 " @@ -61398,7 +61609,7 @@ msgstr "" "ロセスとして実行します。" #. type: verbatim -#: ../src/guestfs.pod:2546 +#: ../src/guestfs.pod:2548 #, no-wrap msgid "" " ___________________\n" @@ -61444,14 +61655,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2566 +#: ../src/guestfs.pod:2568 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:2569 +#: ../src/guestfs.pod:2571 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 " @@ -61463,7 +61674,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2578 +#: ../src/guestfs.pod:2580 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 " @@ -61474,17 +61685,17 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2585 +#: ../src/guestfs.pod:2587 msgid "STATE MACHINE" msgstr "状態マシン" #. type: textblock -#: ../src/guestfs.pod:2587 +#: ../src/guestfs.pod:2589 msgid "libguestfs uses a state machine to model the child process:" msgstr "libguestfs は子プロセスをモデル化するために状態マシンを使用します:" #. type: verbatim -#: ../src/guestfs.pod:2589 +#: ../src/guestfs.pod:2591 #, no-wrap msgid "" " |\n" @@ -61512,7 +61723,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2611 +#: ../src/guestfs.pod:2613 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), " @@ -61521,7 +61732,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2616 +#: ../src/guestfs.pod:2618 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 " @@ -61532,7 +61743,7 @@ msgstr "" "ため)、状態を設定 (CONFIG) に切り戻します。" #. type: textblock -#: ../src/guestfs.pod:2620 +#: ../src/guestfs.pod:2622 msgid "" "Configuration commands for qemu such as L</guestfs_add_drive> can only be " "issued when in the CONFIG state." @@ -61541,7 +61752,7 @@ msgstr "" "態にあるときのみ発行できます。" #. type: textblock -#: ../src/guestfs.pod:2623 +#: ../src/guestfs.pod:2625 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 " @@ -61550,7 +61761,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2629 +#: ../src/guestfs.pod:2631 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. " @@ -61559,7 +61770,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2634 +#: ../src/guestfs.pod:2636 msgid "" "Finally, the child process sends asynchronous messages back to the main " "program, such as kernel log messages. You can register a callback to " @@ -61567,17 +61778,17 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2638 +#: ../src/guestfs.pod:2640 msgid "INTERNALS" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:2640 +#: ../src/guestfs.pod:2642 msgid "APPLIANCE BOOT PROCESS" msgstr "アプライアンスの起動プロセス" #. type: textblock -#: ../src/guestfs.pod:2642 +#: ../src/guestfs.pod:2644 msgid "" "This process has evolved and continues to evolve. The description here " "corresponds only to the current version of libguestfs and is provided for " @@ -61587,7 +61798,7 @@ msgstr "" "バージョンの libguestfs にのみ対応していて、参考情報としてのみ提供されます。" #. type: textblock -#: ../src/guestfs.pod:2646 +#: ../src/guestfs.pod:2648 msgid "" "In order to follow the stages involved below, enable libguestfs debugging " "(set the environment variable C<LIBGUESTFS_DEBUG=1>)." @@ -61596,12 +61807,12 @@ msgstr "" "C<LIBGUESTFS_DEBUG=1> を設定します)。" #. type: =item -#: ../src/guestfs.pod:2651 +#: ../src/guestfs.pod:2653 msgid "Create the appliance" msgstr "アプライアンスを作成します" #. type: textblock -#: ../src/guestfs.pod:2653 +#: ../src/guestfs.pod:2655 msgid "" "C<febootstrap-supermin-helper> is invoked to create the kernel, a small " "initrd and the appliance." @@ -61610,7 +61821,7 @@ msgstr "" "を作成するために呼び出されます。" #. type: textblock -#: ../src/guestfs.pod:2656 +#: ../src/guestfs.pod:2658 msgid "" "The appliance is cached in C</var/tmp/.guestfs-E<lt>UIDE<gt>> (or in another " "directory if C<TMPDIR> is set)." @@ -61619,7 +61830,7 @@ msgstr "" "たは C<TMPDIR> を設定していると他の場所です)。" #. type: textblock -#: ../src/guestfs.pod:2659 +#: ../src/guestfs.pod:2661 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." @@ -61629,22 +61840,22 @@ msgstr "" "参照してください。" #. type: =item -#: ../src/guestfs.pod:2663 +#: ../src/guestfs.pod:2665 msgid "Start qemu and boot the kernel" msgstr "QEMU を開始してカーネルを起動します" #. type: textblock -#: ../src/guestfs.pod:2665 +#: ../src/guestfs.pod:2667 msgid "qemu is invoked to boot the kernel." msgstr "カーネルを起動するために QEMU が呼び出されます。" #. type: =item -#: ../src/guestfs.pod:2667 +#: ../src/guestfs.pod:2669 msgid "Run the initrd" msgstr "initrd を実行します" #. type: textblock -#: ../src/guestfs.pod:2669 +#: ../src/guestfs.pod:2671 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 " @@ -61655,7 +61866,7 @@ msgstr "" "始できるために、十分なカーネルモジュールを読み込むことです。" #. type: textblock -#: ../src/guestfs.pod:2673 +#: ../src/guestfs.pod:2675 msgid "" "The initrd is a cpio archive called C</var/tmp/.guestfs-E<lt>UIDE<gt>/" "initrd>." @@ -61664,7 +61875,7 @@ msgstr "" "す。" #. type: textblock -#: ../src/guestfs.pod:2676 +#: ../src/guestfs.pod:2678 msgid "" "When the initrd has started you will see messages showing that kernel " "modules are being loaded, similar to this:" @@ -61673,7 +61884,7 @@ msgstr "" "メッセージが表示されます:" #. type: verbatim -#: ../src/guestfs.pod:2679 +#: ../src/guestfs.pod:2681 #, no-wrap msgid "" " febootstrap: ext2 mini initrd starting up\n" @@ -61689,12 +61900,12 @@ msgstr "" "\n" #. type: =item -#: ../src/guestfs.pod:2684 +#: ../src/guestfs.pod:2686 msgid "Find and mount the appliance device" msgstr "アプライアンスデバイスを検索およびマウントします" #. type: textblock -#: ../src/guestfs.pod:2686 +#: ../src/guestfs.pod:2688 msgid "" "The appliance is a sparse file containing an ext2 filesystem which contains " "a familiar (although reduced in size) Linux operating system. It would " @@ -61702,33 +61913,33 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2690 +#: ../src/guestfs.pod:2692 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:2693 +#: ../src/guestfs.pod:2695 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:2696 +#: ../src/guestfs.pod:2698 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:2700 +#: ../src/guestfs.pod:2702 msgid "If this works successfully you will see messages such as:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2702 +#: ../src/guestfs.pod:2704 #, no-wrap msgid "" " febootstrap: picked /sys/block/vdb/dev as root device\n" @@ -61746,19 +61957,19 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2708 +#: ../src/guestfs.pod:2710 msgid "" "Note that C<Starting /init script ...> indicates that the appliance's init " "script is now running." msgstr "" #. type: =item -#: ../src/guestfs.pod:2711 +#: ../src/guestfs.pod:2713 msgid "Initialize the appliance" msgstr "アプライアンスを初期化します" #. type: textblock -#: ../src/guestfs.pod:2713 +#: ../src/guestfs.pod:2715 msgid "" "The appliance itself now initializes itself. This involves starting certain " "processes like C<udev>, possibly printing some debug information, and " @@ -61766,19 +61977,19 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:2717 +#: ../src/guestfs.pod:2719 msgid "The daemon" msgstr "デーモン" #. type: textblock -#: ../src/guestfs.pod:2719 +#: ../src/guestfs.pod:2721 msgid "" "Finally the daemon (C<guestfsd>) runs inside the appliance. If it runs you " "should see:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2722 +#: ../src/guestfs.pod:2724 #, no-wrap msgid "" " verbose daemon enabled\n" @@ -61788,14 +61999,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2724 +#: ../src/guestfs.pod:2726 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:2727 +#: ../src/guestfs.pod:2729 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 " @@ -61803,19 +62014,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:2733 +#: ../src/guestfs.pod:2735 msgid "COMMUNICATION PROTOCOL" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2735 +#: ../src/guestfs.pod:2737 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:2738 +#: ../src/guestfs.pod:2740 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 " @@ -61823,14 +62034,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2742 +#: ../src/guestfs.pod:2744 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:2745 +#: ../src/guestfs.pod:2747 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 " @@ -61840,17 +62051,17 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2752 +#: ../src/guestfs.pod:2754 msgid "ORDINARY FUNCTIONS (NO FILEIN/FILEOUT PARAMS)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2754 +#: ../src/guestfs.pod:2756 msgid "For ordinary functions, the request message is:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2756 +#: ../src/guestfs.pod:2758 #, no-wrap msgid "" " total length (header + arguments,\n" @@ -61861,7 +62072,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2761 +#: ../src/guestfs.pod:2763 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 " @@ -61870,21 +62081,21 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2767 +#: ../src/guestfs.pod:2769 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:2770 +#: ../src/guestfs.pod:2772 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:2774 +#: ../src/guestfs.pod:2776 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 " @@ -61896,12 +62107,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2782 +#: ../src/guestfs.pod:2784 msgid "The reply message for ordinary functions is:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2784 +#: ../src/guestfs.pod:2786 #, no-wrap msgid "" " total length (header + ret,\n" @@ -61917,27 +62128,27 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2789 +#: ../src/guestfs.pod:2791 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:2792 +#: ../src/guestfs.pod:2794 msgid "" "As above the total length of the reply is limited to C<GUESTFS_MESSAGE_MAX>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2795 +#: ../src/guestfs.pod:2797 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:2798 +#: ../src/guestfs.pod:2800 #, no-wrap msgid "" " total length (header + error,\n" @@ -61948,7 +62159,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2803 +#: ../src/guestfs.pod:2805 msgid "" "The C<guestfs_message_error> structure contains the error message as a " "string." @@ -61956,12 +62167,12 @@ msgstr "" "C<guestfs_message_error> の構造は、文字列としてエラーメッセージを含みます。" #. type: =head3 -#: ../src/guestfs.pod:2806 +#: ../src/guestfs.pod:2808 msgid "FUNCTIONS THAT HAVE FILEIN PARAMETERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2808 +#: ../src/guestfs.pod:2810 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 " @@ -61969,7 +62180,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2812 +#: ../src/guestfs.pod:2814 #, no-wrap msgid "" " total length (header + arguments,\n" @@ -61991,12 +62202,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2820 +#: ../src/guestfs.pod:2822 msgid "The \"sequence of chunks\" is:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2822 +#: ../src/guestfs.pod:2824 #, no-wrap msgid "" " length of chunk (not including length word itself)\n" @@ -62018,7 +62229,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2830 +#: ../src/guestfs.pod:2832 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 " @@ -62026,7 +62237,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2834 +#: ../src/guestfs.pod:2836 msgid "" "At time of writing there are no functions that have more than one FileIn " "parameter. However this is (theoretically) supported, by sending the " @@ -62035,7 +62246,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2839 +#: ../src/guestfs.pod:2841 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 " @@ -62044,7 +62255,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2845 +#: ../src/guestfs.pod:2847 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 " @@ -62056,7 +62267,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2854 +#: ../src/guestfs.pod:2856 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 " @@ -62066,19 +62277,19 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2860 +#: ../src/guestfs.pod:2862 msgid "FUNCTIONS THAT HAVE FILEOUT PARAMETERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2862 +#: ../src/guestfs.pod:2864 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:2865 +#: ../src/guestfs.pod:2867 #, no-wrap msgid "" " total length (header + ret,\n" @@ -62092,12 +62303,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2873 +#: ../src/guestfs.pod:2875 msgid "INITIAL MESSAGE" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2875 +#: ../src/guestfs.pod:2877 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</" @@ -62105,12 +62316,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2879 +#: ../src/guestfs.pod:2881 msgid "PROGRESS NOTIFICATION MESSAGES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2881 +#: ../src/guestfs.pod:2883 msgid "" "The daemon may send progress notification messages at any time. These are " "distinguished by the normal length word being replaced by " @@ -62118,7 +62329,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2885 +#: ../src/guestfs.pod:2887 msgid "" "The library turns them into progress callbacks (see L</" "GUESTFS_EVENT_PROGRESS>) if there is a callback registered, or discards them " @@ -62126,7 +62337,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2889 +#: ../src/guestfs.pod:2891 msgid "" "The daemon self-limits the frequency of progress messages it sends (see " "C<daemon/proto.c:notify_progress>). Not all calls generate progress " @@ -62134,12 +62345,12 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2893 +#: ../src/guestfs.pod:2895 msgid "LIBGUESTFS VERSION NUMBERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2895 +#: ../src/guestfs.pod:2897 msgid "" "Since April 2010, libguestfs has started to make separate development and " "stable releases, along with corresponding branches in our git repository. " @@ -62147,7 +62358,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2900 +#: ../src/guestfs.pod:2902 #, no-wrap msgid "" " even numbers for stable: 1.2.x, 1.4.x, ...\n" @@ -62175,13 +62386,13 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2911 +#: ../src/guestfs.pod:2913 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:2913 +#: ../src/guestfs.pod:2915 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 " @@ -62191,12 +62402,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2919 +#: ../src/guestfs.pod:2921 msgid "Our criteria for backporting changes are:" msgstr "バックポートする変更に対する私たちの基準は次のとおりです:" #. type: textblock -#: ../src/guestfs.pod:2925 +#: ../src/guestfs.pod:2927 msgid "" "Documentation changes which don't affect any code are backported unless the " "documentation refers to a future feature which is not in stable." @@ -62205,7 +62416,7 @@ msgstr "" "機能を参照していなければ、バックポートされます。" #. type: textblock -#: ../src/guestfs.pod:2931 +#: ../src/guestfs.pod:2933 msgid "" "Bug fixes which are not controversial, fix obvious problems, and have been " "well tested are backported." @@ -62214,7 +62425,7 @@ msgstr "" "ポートされます。" #. type: textblock -#: ../src/guestfs.pod:2936 +#: ../src/guestfs.pod:2938 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 " @@ -62222,7 +62433,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2942 +#: ../src/guestfs.pod:2944 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 " @@ -62230,7 +62441,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2948 +#: ../src/guestfs.pod:2950 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 " @@ -62241,17 +62452,17 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2956 +#: ../src/guestfs.pod:2958 msgid "EXTENDING LIBGUESTFS" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:2958 +#: ../src/guestfs.pod:2960 msgid "ADDING A NEW API ACTION" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2960 +#: ../src/guestfs.pod:2962 msgid "" "Large amounts of boilerplate code in libguestfs (RPC, bindings, " "documentation) are generated, and this makes it easy to extend the " @@ -62259,19 +62470,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2964 +#: ../src/guestfs.pod:2966 msgid "To add a new API action there are two changes:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2970 +#: ../src/guestfs.pod:2972 msgid "" "You need to add a description of the call (name, parameters, return type, " "tests, documentation) to C<generator/actions.ml>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2973 +#: ../src/guestfs.pod:2975 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 " @@ -62282,7 +62493,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2981 +#: ../src/guestfs.pod:2983 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 " @@ -62292,7 +62503,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2987 +#: ../src/guestfs.pod:2989 msgid "" "For library-only actions of the second type, add to the " "C<non_daemon_functions> list. Since these functions are serviced by the " @@ -62302,36 +62513,36 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2995 +#: ../src/guestfs.pod:2997 msgid "Implement the action (in C):" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2997 +#: ../src/guestfs.pod:2999 msgid "" "For daemon actions, implement the function C<do_E<lt>nameE<gt>> in the " "C<daemon/> directory." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3000 +#: ../src/guestfs.pod:3002 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:3003 +#: ../src/guestfs.pod:3005 msgid "In either case, use another function as an example of what to do." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3007 +#: ../src/guestfs.pod:3009 msgid "After making these changes, use C<make> to compile." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3009 +#: ../src/guestfs.pod:3011 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 " @@ -62339,12 +62550,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3013 +#: ../src/guestfs.pod:3015 msgid "ADDING TESTS FOR AN API ACTION" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3015 +#: ../src/guestfs.pod:3017 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/actions." @@ -62354,34 +62565,34 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3021 +#: ../src/guestfs.pod:3023 msgid "" "The following describes the test environment used when you add an API test " "in C<actions.ml>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3024 +#: ../src/guestfs.pod:3026 msgid "The test environment has 4 block devices:" msgstr "テスト環境は 4 個のブロックデバイスを持ちます:" #. type: =item -#: ../src/guestfs.pod:3028 +#: ../src/guestfs.pod:3030 msgid "C</dev/sda> 500MB" msgstr "C</dev/sda> 500MB" #. type: textblock -#: ../src/guestfs.pod:3030 +#: ../src/guestfs.pod:3032 msgid "General block device for testing." msgstr "テスト用の一般的なブロックデバイス。" #. type: =item -#: ../src/guestfs.pod:3032 +#: ../src/guestfs.pod:3034 msgid "C</dev/sdb> 50MB" msgstr "C</dev/sdb> 50MB" #. type: textblock -#: ../src/guestfs.pod:3034 +#: ../src/guestfs.pod:3036 msgid "" "C</dev/sdb1> is an ext2 filesystem used for testing filesystem write " "operations." @@ -62390,28 +62601,28 @@ msgstr "" "ext2 ファイルシステムです。" #. type: =item -#: ../src/guestfs.pod:3037 +#: ../src/guestfs.pod:3039 msgid "C</dev/sdc> 10MB" msgstr "C</dev/sdc> 10MB" #. type: textblock -#: ../src/guestfs.pod:3039 +#: ../src/guestfs.pod:3041 msgid "Used in a few tests where two block devices are needed." msgstr "" "2 つのブロックデバイスが必要となるいくつかのテストにおいて使用されます。" #. type: =item -#: ../src/guestfs.pod:3041 +#: ../src/guestfs.pod:3043 msgid "C</dev/sdd>" msgstr "C</dev/sdd>" #. type: textblock -#: ../src/guestfs.pod:3043 +#: ../src/guestfs.pod:3045 msgid "ISO with fixed content (see C<images/test.iso>)." msgstr "固定的な内容を持つ ISO (C<images/test.iso> 参照)。" #. type: textblock -#: ../src/guestfs.pod:3047 +#: ../src/guestfs.pod:3049 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 " @@ -62419,7 +62630,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3051 +#: ../src/guestfs.pod:3053 msgid "" "Each test starts with an initial scenario, selected using one of the " "C<Init*> expressions, described in C<generator/types.ml>. These initialize " @@ -62429,7 +62640,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3057 +#: ../src/guestfs.pod:3059 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 " @@ -62439,14 +62650,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3063 +#: ../src/guestfs.pod:3065 msgid "" "In addition, packagers can skip individual tests by setting environment " "variables before running C<make check>." msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3066 +#: ../src/guestfs.pod:3068 #, no-wrap msgid "" " SKIP_TEST_<CMD>_<NUM>=1\n" @@ -62456,14 +62667,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:3068 +#: ../src/guestfs.pod:3070 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:3072 +#: ../src/guestfs.pod:3074 #, no-wrap msgid "" " SKIP_TEST_<CMD>=1\n" @@ -62473,19 +62684,19 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:3074 +#: ../src/guestfs.pod:3076 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:3076 +#: ../src/guestfs.pod:3078 msgid "Packagers can run only certain tests by setting for example:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3078 +#: ../src/guestfs.pod:3080 #, no-wrap msgid "" " TEST_ONLY=\"vfs_type zerofree\"\n" @@ -62495,7 +62706,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:3080 +#: ../src/guestfs.pod:3082 msgid "" "See C<tests/c-api/tests.c> for more details of how these environment " "variables work." @@ -62504,22 +62715,22 @@ msgstr "" "を参照してください。" #. type: =head2 -#: ../src/guestfs.pod:3083 +#: ../src/guestfs.pod:3085 msgid "DEBUGGING NEW API ACTIONS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3085 +#: ../src/guestfs.pod:3087 msgid "Test new actions work before submitting them." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3087 +#: ../src/guestfs.pod:3089 msgid "You can use guestfish to try out new commands." msgstr "新しいコマンドを試すために guestfish を使うことができます。" #. type: textblock -#: ../src/guestfs.pod:3089 +#: ../src/guestfs.pod:3091 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 " @@ -62527,12 +62738,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3093 +#: ../src/guestfs.pod:3095 msgid "FORMATTING CODE AND OTHER CONVENTIONS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3095 +#: ../src/guestfs.pod:3097 msgid "" "Our C source code generally adheres to some basic code-formatting " "conventions. The existing code base is not totally consistent on this " @@ -62542,14 +62753,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3101 +#: ../src/guestfs.pod:3103 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:3104 +#: ../src/guestfs.pod:3106 #, no-wrap msgid "" " ;;; In libguestfs, indent with spaces everywhere (not TABs).\n" @@ -62575,7 +62786,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:3114 +#: ../src/guestfs.pod:3116 #, no-wrap msgid "" " ;;; When editing C sources in libguestfs, use this style.\n" @@ -62605,14 +62816,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:3126 +#: ../src/guestfs.pod:3128 msgid "Enable warnings when compiling (and fix any problems this finds):" msgstr "" "コンパイル時に警告を有効にします(そして、これは見つけた問題をすべて修正しま" "す):" #. type: verbatim -#: ../src/guestfs.pod:3129 +#: ../src/guestfs.pod:3131 #, no-wrap msgid "" " ./configure --enable-gcc-warnings\n" @@ -62622,12 +62833,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:3131 +#: ../src/guestfs.pod:3133 msgid "Useful targets are:" msgstr "有用なターゲットは次のとおりです:" #. type: verbatim -#: ../src/guestfs.pod:3133 +#: ../src/guestfs.pod:3135 #, fuzzy, no-wrap #| msgid "" #| " make syntax-check # checks the syntax of the C code\n" @@ -62643,7 +62854,7 @@ msgstr "" "\n" #. type: verbatim -#: ../src/guestfs.pod:3136 +#: ../src/guestfs.pod:3138 #, fuzzy, no-wrap #| msgid "" #| " make syntax-check # checks the syntax of the C code\n" @@ -62658,7 +62869,7 @@ msgstr "" "\n" #. type: verbatim -#: ../src/guestfs.pod:3138 +#: ../src/guestfs.pod:3140 #, no-wrap msgid "" " make extra-tests # in-depth testing using valgrind\n" @@ -62667,24 +62878,24 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3141 +#: ../src/guestfs.pod:3143 msgid "DAEMON CUSTOM PRINTF FORMATTERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3143 +#: ../src/guestfs.pod:3145 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:3148 +#: ../src/guestfs.pod:3150 msgid "%Q" msgstr "%Q" #. type: textblock -#: ../src/guestfs.pod:3150 +#: ../src/guestfs.pod:3152 msgid "" "Simple shell quoted string. Any spaces or other shell characters are " "escaped for you." @@ -62693,19 +62904,19 @@ msgstr "" "ます。" #. type: =item -#: ../src/guestfs.pod:3153 +#: ../src/guestfs.pod:3155 msgid "%R" msgstr "%R" #. type: textblock -#: ../src/guestfs.pod:3155 +#: ../src/guestfs.pod:3157 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:3162 +#: ../src/guestfs.pod:3164 #, no-wrap msgid "" " asprintf (&cmd, \"cat %R\", path);\n" @@ -62715,12 +62926,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:3164 +#: ../src/guestfs.pod:3166 msgid "would produce C<cat /sysroot/some\\ path\\ with\\ spaces>" msgstr "C<cat /sysroot/some\\ path\\ with\\ spaces> を生成します" #. type: textblock -#: ../src/guestfs.pod:3166 +#: ../src/guestfs.pod:3168 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 " @@ -62729,12 +62940,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3172 +#: ../src/guestfs.pod:3174 msgid "SUBMITTING YOUR NEW API ACTIONS" msgstr "新しい API アクションの提出方法" #. type: textblock -#: ../src/guestfs.pod:3174 +#: ../src/guestfs.pod:3176 msgid "" "Submit patches to the mailing list: L<http://www.redhat.com/mailman/listinfo/" "libguestfs> and CC to L<rjones@redhat.com>." @@ -62743,17 +62954,17 @@ msgstr "" "listinfo/libguestfs> および L<rjones@redhat.com> (Cc)。" #. type: =head2 -#: ../src/guestfs.pod:3178 +#: ../src/guestfs.pod:3180 msgid "INTERNATIONALIZATION (I18N) SUPPORT" msgstr "国際化 (i18n) サポート" #. type: textblock -#: ../src/guestfs.pod:3180 +#: ../src/guestfs.pod:3182 msgid "We support i18n (gettext anyhow) in the library." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3182 +#: ../src/guestfs.pod:3184 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 " @@ -62762,39 +62973,39 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3188 +#: ../src/guestfs.pod:3190 msgid "" "Debugging messages are never translated, since they are intended for the " "programmers." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3191 +#: ../src/guestfs.pod:3193 msgid "SOURCE CODE SUBDIRECTORIES" msgstr "ソースコードのサブディレクトリー" #. type: =item -#: ../src/guestfs.pod:3195 +#: ../src/guestfs.pod:3197 msgid "C<align>" msgstr "C<align>" #. type: textblock -#: ../src/guestfs.pod:3197 +#: ../src/guestfs.pod:3199 msgid "L<virt-alignment-scan(1)> command and documentation." msgstr "L<virt-alignment-scan(1)> のコマンドおよびドキュメント。" #. type: textblock -#: ../src/guestfs.pod:3201 +#: ../src/guestfs.pod:3203 msgid "The libguestfs appliance, build scripts and so on." msgstr "libguestfs アプライアンス、スクリプトなどを構築します。" #. type: =item -#: ../src/guestfs.pod:3203 +#: ../src/guestfs.pod:3205 msgid "C<cat>" msgstr "C<cat>" #. type: textblock -#: ../src/guestfs.pod:3205 +#: ../src/guestfs.pod:3207 msgid "" "The L<virt-cat(1)>, L<virt-filesystems(1)> and L<virt-ls(1)> commands and " "documentation." @@ -62803,63 +63014,63 @@ msgstr "" "ドキュメント。" #. type: =item -#: ../src/guestfs.pod:3208 +#: ../src/guestfs.pod:3210 msgid "C<contrib>" msgstr "C<contrib>" #. type: textblock -#: ../src/guestfs.pod:3210 +#: ../src/guestfs.pod:3212 msgid "Outside contributions, experimental parts." msgstr "外部の貢献、実験的な部分です。" #. type: =item -#: ../src/guestfs.pod:3212 +#: ../src/guestfs.pod:3214 msgid "C<daemon>" msgstr "C<daemon>" #. type: textblock -#: ../src/guestfs.pod:3214 +#: ../src/guestfs.pod:3216 msgid "" "The daemon that runs inside the libguestfs appliance and carries out actions." msgstr "" #. type: =item -#: ../src/guestfs.pod:3217 +#: ../src/guestfs.pod:3219 msgid "C<df>" msgstr "C<df>" #. type: textblock -#: ../src/guestfs.pod:3219 +#: ../src/guestfs.pod:3221 msgid "L<virt-df(1)> command and documentation." msgstr "L<virt-df(1)> のコマンドおよびドキュメント。" #. type: =item -#: ../src/guestfs.pod:3221 +#: ../src/guestfs.pod:3223 msgid "C<edit>" msgstr "C<edit>" #. type: textblock -#: ../src/guestfs.pod:3223 +#: ../src/guestfs.pod:3225 msgid "L<virt-edit(1)> command and documentation." msgstr "L<virt-edit(1)> のコマンドおよびドキュメント。" #. type: =item -#: ../src/guestfs.pod:3225 +#: ../src/guestfs.pod:3227 msgid "C<examples>" msgstr "C<examples>" #. type: textblock -#: ../src/guestfs.pod:3227 +#: ../src/guestfs.pod:3229 msgid "C API example code." msgstr "C API のコード例。" #. type: =item -#: ../src/guestfs.pod:3229 +#: ../src/guestfs.pod:3231 msgid "C<fish>" msgstr "C<fish>" #. type: textblock -#: ../src/guestfs.pod:3231 +#: ../src/guestfs.pod:3233 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)>, " @@ -62867,80 +63078,80 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3237 +#: ../src/guestfs.pod:3239 msgid "L<virt-format(1)> command and documentation." msgstr "L<virt-format(1)> のコマンドおよびドキュメント。" #. type: =item -#: ../src/guestfs.pod:3239 +#: ../src/guestfs.pod:3241 msgid "C<fuse>" msgstr "C<fuse>" #. type: textblock -#: ../src/guestfs.pod:3241 +#: ../src/guestfs.pod:3243 msgid "" "L<guestmount(1)>, FUSE (userspace filesystem) built on top of libguestfs." msgstr "" #. type: =item -#: ../src/guestfs.pod:3243 +#: ../src/guestfs.pod:3245 msgid "C<generator>" msgstr "C<generator>" #. type: textblock -#: ../src/guestfs.pod:3245 +#: ../src/guestfs.pod:3247 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:3248 +#: ../src/guestfs.pod:3250 msgid "C<inspector>" msgstr "C<inspector>" #. type: textblock -#: ../src/guestfs.pod:3250 +#: ../src/guestfs.pod:3252 msgid "L<virt-inspector(1)>, the virtual machine image inspector." msgstr "L<virt-inspector(1)>, 仮想マシンイメージ検査ツール。" #. type: =item -#: ../src/guestfs.pod:3252 +#: ../src/guestfs.pod:3254 msgid "C<logo>" msgstr "C<logo>" #. type: textblock -#: ../src/guestfs.pod:3254 +#: ../src/guestfs.pod:3256 msgid "Logo used on the website. The fish is called Arthur by the way." msgstr "" #. type: =item -#: ../src/guestfs.pod:3256 +#: ../src/guestfs.pod:3258 msgid "C<m4>" msgstr "C<m4>" #. type: textblock -#: ../src/guestfs.pod:3258 +#: ../src/guestfs.pod:3260 msgid "M4 macros used by autoconf." msgstr "autoconf により使用される M4 マクロ。" #. type: =item -#: ../src/guestfs.pod:3260 +#: ../src/guestfs.pod:3262 msgid "C<po>" msgstr "C<po>" #. type: textblock -#: ../src/guestfs.pod:3262 +#: ../src/guestfs.pod:3264 msgid "Translations of simple gettext strings." msgstr "" #. type: =item -#: ../src/guestfs.pod:3264 +#: ../src/guestfs.pod:3266 msgid "C<po-docs>" msgstr "C<po-docs>" #. type: textblock -#: ../src/guestfs.pod:3266 +#: ../src/guestfs.pod:3268 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 " @@ -62948,178 +63159,163 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:3270 +#: ../src/guestfs.pod:3272 msgid "C<rescue>" msgstr "C<rescue>" #. type: textblock -#: ../src/guestfs.pod:3272 +#: ../src/guestfs.pod:3274 msgid "L<virt-rescue(1)> command and documentation." msgstr "L<virt-rescue(1)> のコマンドおよびドキュメント。" #. type: =item -#: ../src/guestfs.pod:3274 +#: ../src/guestfs.pod:3276 msgid "C<resize>" msgstr "C<resize>" #. type: textblock -#: ../src/guestfs.pod:3276 +#: ../src/guestfs.pod:3278 msgid "L<virt-resize(1)> command and documentation." msgstr "L<virt-resize(1)> のコマンドおよびドキュメント。" #. type: =item -#: ../src/guestfs.pod:3278 +#: ../src/guestfs.pod:3280 msgid "C<sparsify>" msgstr "C<sparsify>" #. type: textblock -#: ../src/guestfs.pod:3280 +#: ../src/guestfs.pod:3282 msgid "L<virt-sparsify(1)> command and documentation." msgstr "L<virt-sparsify(1)> のコマンドおよびドキュメント。" #. type: =item -#: ../src/guestfs.pod:3282 +#: ../src/guestfs.pod:3284 msgid "C<src>" msgstr "C<src>" #. type: textblock -#: ../src/guestfs.pod:3284 +#: ../src/guestfs.pod:3286 msgid "Source code to the C library." msgstr "C ライブラリーのソースコード。" #. type: =item -#: ../src/guestfs.pod:3286 +#: ../src/guestfs.pod:3288 msgid "C<sysprep>" msgstr "C<sysprep>" #. type: textblock -#: ../src/guestfs.pod:3288 +#: ../src/guestfs.pod:3290 msgid "L<virt-sysprep(1)> command and documentation." msgstr "L<virt-sysprep(1)> コマンドおよびドキュメント。" #. type: =item -#: ../src/guestfs.pod:3290 +#: ../src/guestfs.pod:3292 msgid "C<test-tool>" msgstr "C<test-tool>" #. type: textblock -#: ../src/guestfs.pod:3292 +#: ../src/guestfs.pod:3294 msgid "" "Test tool for end users to test if their qemu/kernel combination will work " "with libguestfs." msgstr "" #. type: =item -#: ../src/guestfs.pod:3295 +#: ../src/guestfs.pod:3297 msgid "C<tests>" msgstr "C<tests>" #. type: textblock -#: ../src/guestfs.pod:3297 +#: ../src/guestfs.pod:3299 msgid "Tests." msgstr "テストします。" #. type: =item -#: ../src/guestfs.pod:3299 +#: ../src/guestfs.pod:3301 msgid "C<tmp>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3301 +#: ../src/guestfs.pod:3303 msgid "" "Used for temporary files when running the tests (instead of C</tmp> etc). " "The reason is so that you can run multiple parallel tests of libguestfs " "without having one set of tests overwriting the appliance created by another." msgstr "" -#. type: textblock -#: ../src/guestfs.pod:3306 -msgid "" -"If you are using libvirt + sVirt with SELinux enforcing, then you have to " -"label this directory:" -msgstr "" - -#. type: verbatim -#: ../src/guestfs.pod:3309 -#, no-wrap -msgid "" -" chcon --reference=/tmp tmp\n" -"\n" -msgstr "" - #. type: =item -#: ../src/guestfs.pod:3311 +#: ../src/guestfs.pod:3308 msgid "C<tools>" msgstr "C<tools>" #. type: textblock -#: ../src/guestfs.pod:3313 +#: ../src/guestfs.pod:3310 msgid "" "Command line tools written in Perl (L<virt-win-reg(1)> and many others)." msgstr "" #. type: =item -#: ../src/guestfs.pod:3315 +#: ../src/guestfs.pod:3312 msgid "C<csharp>" msgstr "C<csharp>" #. type: =item -#: ../src/guestfs.pod:3317 +#: ../src/guestfs.pod:3314 msgid "C<erlang>" msgstr "C<erlang>" #. type: =item -#: ../src/guestfs.pod:3319 +#: ../src/guestfs.pod:3316 msgid "C<gobject>" msgstr "C<gobject>" #. type: =item -#: ../src/guestfs.pod:3321 +#: ../src/guestfs.pod:3318 msgid "C<haskell>" msgstr "C<haskell>" #. type: =item -#: ../src/guestfs.pod:3323 +#: ../src/guestfs.pod:3320 msgid "C<java>" msgstr "C<java>" #. type: =item -#: ../src/guestfs.pod:3325 +#: ../src/guestfs.pod:3322 msgid "C<ocaml>" msgstr "C<ocaml>" #. type: =item -#: ../src/guestfs.pod:3327 +#: ../src/guestfs.pod:3324 msgid "C<php>" msgstr "C<php>" #. type: =item -#: ../src/guestfs.pod:3329 +#: ../src/guestfs.pod:3326 msgid "C<perl>" msgstr "C<perl>" #. type: =item -#: ../src/guestfs.pod:3331 +#: ../src/guestfs.pod:3328 msgid "C<python>" msgstr "C<python>" #. type: =item -#: ../src/guestfs.pod:3333 +#: ../src/guestfs.pod:3330 msgid "C<ruby>" msgstr "C<ruby>" #. type: textblock -#: ../src/guestfs.pod:3335 +#: ../src/guestfs.pod:3332 msgid "Language bindings." msgstr "言語バインディング。" #. type: =head2 -#: ../src/guestfs.pod:3339 +#: ../src/guestfs.pod:3336 msgid "MAKING A STABLE RELEASE" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3341 +#: ../src/guestfs.pod:3338 msgid "" "When we make a stable release, there are several steps documented here. See " "L</LIBGUESTFS VERSION NUMBERS> for general information about the stable " @@ -63127,33 +63323,33 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3349 +#: ../src/guestfs.pod:3346 msgid "" "Check C<make && make check> works on at least Fedora, Debian and Ubuntu." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3354 +#: ../src/guestfs.pod:3351 msgid "Finalize C<guestfs-release-notes.pod>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3358 +#: ../src/guestfs.pod:3355 msgid "Update ROADMAP." msgstr "ロードマップを更新します。" #. type: textblock -#: ../src/guestfs.pod:3362 +#: ../src/guestfs.pod:3359 msgid "Run C<src/api-support/update-from-tarballs.sh>." msgstr "C<src/api-support/update-from-tarballs.sh> を実行します。" #. type: textblock -#: ../src/guestfs.pod:3366 +#: ../src/guestfs.pod:3363 msgid "Push and pull from Transifex." msgstr "Transifex からのプッシュおよびプル。" #. type: verbatim -#: ../src/guestfs.pod:3370 +#: ../src/guestfs.pod:3367 #, no-wrap msgid "" " tx push -s\n" @@ -63163,13 +63359,13 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:3372 +#: ../src/guestfs.pod:3369 msgid "to push the latest POT files to Transifex. Then run:" msgstr "" "最新の POT ファイルを Transifex にプッシュします。そして、次を実行します:" #. type: verbatim -#: ../src/guestfs.pod:3374 +#: ../src/guestfs.pod:3371 #, no-wrap msgid "" " ./tx-pull.sh\n" @@ -63179,12 +63375,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:3376 +#: ../src/guestfs.pod:3373 msgid "which is a wrapper to pull the latest translated C<*.po> files." msgstr "これは最新の翻訳された C<*.po> ファイルを取り出すためのラッパーです。" #. type: textblock -#: ../src/guestfs.pod:3380 +#: ../src/guestfs.pod:3377 msgid "" "Create new stable and development directories under L<http://libguestfs.org/" "download>." @@ -63193,12 +63389,12 @@ msgstr "" "リーを作成します。" #. type: textblock -#: ../src/guestfs.pod:3385 +#: ../src/guestfs.pod:3382 msgid "Create the branch in git:" msgstr "git に分岐を作成します:" #. type: verbatim -#: ../src/guestfs.pod:3387 +#: ../src/guestfs.pod:3384 #, no-wrap msgid "" " git tag -a 1.XX.0 -m \"Version 1.XX.0 (stable)\"\n" @@ -63214,17 +63410,17 @@ msgstr "" "\n" #. type: =head1 -#: ../src/guestfs.pod:3394 +#: ../src/guestfs.pod:3391 msgid "LIMITS" msgstr "制限" #. type: =head2 -#: ../src/guestfs.pod:3396 +#: ../src/guestfs.pod:3393 msgid "PROTOCOL LIMITS" msgstr "プロトコル制限" #. type: textblock -#: ../src/guestfs.pod:3398 +#: ../src/guestfs.pod:3395 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 " @@ -63235,7 +63431,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3406 +#: ../src/guestfs.pod:3403 msgid "" "In libguestfs E<lt> 1.19.32, several calls had to encode either their entire " "argument list or their entire return value (or sometimes both) in a single " @@ -63251,7 +63447,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3419 +#: ../src/guestfs.pod:3416 #, fuzzy #| msgid "" #| "The following functions: L</guestfs_getxattr> L</guestfs_getxattrs> L</" @@ -63269,19 +63465,19 @@ msgstr "" "guestfs_lxattrlist> L</guestfs_removexattr> L</guestfs_setxattr>" #. type: textblock -#: ../src/guestfs.pod:3424 +#: ../src/guestfs.pod:3421 msgid "" "See also L</UPLOADING> and L</DOWNLOADING> for further information about " "copying large amounts of data into or out of a filesystem." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3427 +#: ../src/guestfs.pod:3424 msgid "MAXIMUM NUMBER OF DISKS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3429 +#: ../src/guestfs.pod:3426 msgid "" "In libguestfs E<ge> 1.19.7, you can query the maximum number of disks that " "may be added by calling L</guestfs_max_disks>. In earlier versions of " @@ -63290,14 +63486,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3434 +#: ../src/guestfs.pod:3431 msgid "" "The rest of this section covers implementation details, which could change " "in future." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3437 +#: ../src/guestfs.pod:3434 msgid "" "When using virtio-scsi disks (the default if available in qemu) the current " "limit is B<255> disks. When using virtio-blk (the old default) the limit is " @@ -63306,26 +63502,26 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3442 +#: ../src/guestfs.pod:3439 msgid "" "Virtio-scsi as used by libguestfs is configured to use one target per disk, " "and 256 targets are available." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3445 +#: ../src/guestfs.pod:3442 msgid "" "Virtio-blk consumes 1 virtual PCI slot per disk, and PCI is limited to 31 " "slots, but some of these are used for other purposes." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3448 +#: ../src/guestfs.pod:3445 msgid "One virtual disk is used by libguestfs internally." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3450 +#: ../src/guestfs.pod:3447 msgid "" "Before libguestfs 1.19.7, disk names had to be a single character (eg. C</" "dev/sda> through C</dev/sdz>), and since one disk is reserved, that meant " @@ -63333,7 +63529,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3455 +#: ../src/guestfs.pod:3452 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 " @@ -63341,17 +63537,17 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3459 +#: ../src/guestfs.pod:3456 msgid "MAXIMUM NUMBER OF PARTITIONS PER DISK" msgstr "ディスクあたりの最大パーティション数" #. type: textblock -#: ../src/guestfs.pod:3461 +#: ../src/guestfs.pod:3458 msgid "Virtio limits the maximum number of partitions per disk to B<15>." msgstr "virtio はディスクあたりの最大パーティション数を B<15> に制限します。" #. type: textblock -#: ../src/guestfs.pod:3463 +#: ../src/guestfs.pod:3460 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>)." @@ -63360,7 +63556,7 @@ msgstr "" "dev/vda>、および C</dev/vda1> から C</dev/vda15> まで)。" #. type: textblock -#: ../src/guestfs.pod:3466 +#: ../src/guestfs.pod:3463 msgid "" "If you attach a disk with more than 15 partitions, the extra partitions are " "ignored by libguestfs." @@ -63369,17 +63565,17 @@ msgstr "" "は libguestfs により無視されます。" #. type: =head2 -#: ../src/guestfs.pod:3469 +#: ../src/guestfs.pod:3466 msgid "MAXIMUM SIZE OF A DISK" msgstr "ディスクの最大容量" #. type: textblock -#: ../src/guestfs.pod:3471 +#: ../src/guestfs.pod:3468 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:3473 +#: ../src/guestfs.pod:3470 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 " @@ -63387,7 +63583,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3477 +#: ../src/guestfs.pod:3474 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 " @@ -63397,19 +63593,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3483 +#: ../src/guestfs.pod:3480 msgid "" "For the hugest disk image files, we recommend using XFS on the host for " "storage." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3486 +#: ../src/guestfs.pod:3483 msgid "MAXIMUM SIZE OF A PARTITION" msgstr "パーティションの最大容量" #. type: textblock -#: ../src/guestfs.pod:3488 +#: ../src/guestfs.pod:3485 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 " @@ -63417,7 +63613,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3492 +#: ../src/guestfs.pod:3489 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 " @@ -63425,12 +63621,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3497 +#: ../src/guestfs.pod:3494 msgid "MAXIMUM SIZE OF A FILESYSTEM, FILES, DIRECTORIES" msgstr "ファイルシステム、ファイル、ディレクトリーの最大容量" #. type: textblock -#: ../src/guestfs.pod:3499 +#: ../src/guestfs.pod:3496 msgid "" "This depends on the filesystem type. libguestfs itself does not impose any " "known limit. Consult Wikipedia or the filesystem documentation to find out " @@ -63438,12 +63634,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3503 +#: ../src/guestfs.pod:3500 msgid "MAXIMUM UPLOAD AND DOWNLOAD" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3505 +#: ../src/guestfs.pod:3502 msgid "" "The API functions L</guestfs_upload>, L</guestfs_download>, L</" "guestfs_tar_in>, L</guestfs_tar_out> and the like allow unlimited sized " @@ -63451,12 +63647,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3509 +#: ../src/guestfs.pod:3506 msgid "INSPECTION LIMITS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3511 +#: ../src/guestfs.pod:3508 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 " @@ -63466,33 +63662,33 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3537 +#: ../src/guestfs.pod:3534 msgid "" "Choose the default way to create the appliance. See L</" "guestfs_set_attach_method>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3542 +#: ../src/guestfs.pod:3539 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:3554 +#: ../src/guestfs.pod:3551 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:3563 +#: ../src/guestfs.pod:3560 msgid "See also L</QEMU WRAPPERS> above." msgstr "上の L</QEMU WRAPPERS> 参照。" #. type: textblock -#: ../src/guestfs.pod:3567 +#: ../src/guestfs.pod:3564 msgid "" "Set C<LIBGUESTFS_TRACE=1> to enable command traces. This has the same " "effect as calling C<guestfs_set_trace (g, 1)>." @@ -63501,7 +63697,7 @@ msgstr "" "C<guestfs_set_trace (g, 1)> の呼び出しと同じ効果があります。" #. type: textblock -#: ../src/guestfs.pod:3585 +#: ../src/guestfs.pod:3582 #, fuzzy #| msgid "" #| "L<guestfs(3)>, L<http://libguestfs.org/>, L<virt-alignment-scan(1)>, " @@ -63535,7 +63731,7 @@ msgstr "" "L<display(1)>, L<hexedit(1)>, L<febootstrap-supermin-helper(8)>。" #. type: textblock -#: ../src/guestfs.pod:3628 +#: ../src/guestfs.pod:3625 msgid "" "Tools with a similar purpose: L<fdisk(8)>, L<parted(8)>, L<kpartx(8)>, L<lvm" "(8)>, L<disktype(1)>." @@ -64370,7 +64566,7 @@ msgstr "" #. type: textblock #: ../sysprep/virt-sysprep.pod:15 msgid "" -"Virt-sysprep can resets or unconfigure a virtual machine so that clones can " +"Virt-sysprep can reset or unconfigure a virtual machine so that clones can " "be made from it. Steps in this process include removing SSH host keys, " "removing persistent network MAC configuration, and removing user accounts. " "Virt-sysprep can also customize a virtual machine, for instance by adding " diff --git a/po-docs/libguestfs-docs.pot b/po-docs/libguestfs-docs.pot index cb7848aa..60211995 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.19.44\n" +"Project-Id-Version: libguestfs 1.19.45\n" "Report-Msgid-Bugs-To: libguestfs@redhat.com\n" -"POT-Creation-Date: 2012-09-24 16:57+0200\n" +"POT-Creation-Date: 2012-09-26 21:19+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:689 ../format/virt-format.pod:96 ../inspector/virt-inspector.pod:350 ../rescue/virt-rescue.pod:164 ../src/guestfs.pod:3160 ../sysprep/virt-sysprep.pod:112 +#: ../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:689 ../format/virt-format.pod:96 ../inspector/virt-inspector.pod:350 ../rescue/virt-rescue.pod:164 ../src/guestfs.pod:3162 ../sysprep/virt-sysprep.pod:112 msgid "For example:" msgstr "" @@ -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: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:110 ../examples/guestfs-testing.pod:114 ../examples/guestfs-testing.pod:118 ../fish/guestfish-actions.pod:417 ../fish/guestfish-actions.pod:425 ../fish/guestfish-actions.pod:432 ../fish/guestfish-actions.pod:439 ../fish/guestfish-actions.pod:1480 ../fish/guestfish-actions.pod:1484 ../fish/guestfish-actions.pod:1488 ../fish/guestfish-actions.pod:1492 ../fish/guestfish-actions.pod:1500 ../fish/guestfish-actions.pod:1504 ../fish/guestfish-actions.pod:1508 ../fish/guestfish-actions.pod:1518 ../fish/guestfish-actions.pod:1522 ../fish/guestfish-actions.pod:1526 ../fish/guestfish-actions.pod:1637 ../fish/guestfish-actions.pod:1641 ../fish/guestfish-actions.pod:1646 ../fish/guestfish-actions.pod:1688 ../fish/guestfish-actions.pod:1692 ../fish/guestfish-actions.pod:1697 ../fish/guestfish-actions.pod:2143 ../fish/guestfish-actions.pod:2150 ../fish/guestfish-actions.pod:2157 ../fish/guestfish-actions.pod:2735 ../fish/guestfish-actions.pod:2741 ../fish/guestfish-actions.pod:2749 ../fish/guestfish-actions.pod:2756 ../fish/guestfish-actions.pod:2763 ../fish/guestfish.pod:461 ../fish/guestfish.pod:465 ../fish/guestfish.pod:469 ../fish/guestfish.pod:473 ../guestfs-release-notes.pod:82 ../guestfs-release-notes.pod:86 ../guestfs-release-notes.pod:90 ../guestfs-release-notes.pod:94 ../guestfs-release-notes.pod:98 ../guestfs-release-notes.pod:102 ../guestfs-release-notes.pod:107 ../guestfs-release-notes.pod:214 ../guestfs-release-notes.pod:218 ../guestfs-release-notes.pod:222 ../guestfs-release-notes.pod:226 ../guestfs-release-notes.pod:230 ../guestfs-release-notes.pod:234 ../guestfs-release-notes.pod:238 ../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:622 ../src/guestfs-actions.pod:630 ../src/guestfs-actions.pod:637 ../src/guestfs-actions.pod:644 ../src/guestfs-actions.pod:2475 ../src/guestfs-actions.pod:2479 ../src/guestfs-actions.pod:2483 ../src/guestfs-actions.pod:2487 ../src/guestfs-actions.pod:2495 ../src/guestfs-actions.pod:2499 ../src/guestfs-actions.pod:2503 ../src/guestfs-actions.pod:2513 ../src/guestfs-actions.pod:2517 ../src/guestfs-actions.pod:2521 ../src/guestfs-actions.pod:2693 ../src/guestfs-actions.pod:2697 ../src/guestfs-actions.pod:2702 ../src/guestfs-actions.pod:2763 ../src/guestfs-actions.pod:2767 ../src/guestfs-actions.pod:2772 ../src/guestfs-actions.pod:3471 ../src/guestfs-actions.pod:3478 ../src/guestfs-actions.pod:3485 ../src/guestfs-actions.pod:4318 ../src/guestfs-actions.pod:4324 ../src/guestfs-actions.pod:4332 ../src/guestfs-actions.pod:4339 ../src/guestfs-actions.pod:4346 ../src/guestfs.pod:392 ../src/guestfs.pod:397 ../src/guestfs.pod:402 ../src/guestfs.pod:406 ../src/guestfs.pod:411 ../src/guestfs.pod:415 ../src/guestfs.pod:420 ../src/guestfs.pod:425 ../src/guestfs.pod:1206 ../src/guestfs.pod:1210 ../src/guestfs.pod:1214 ../src/guestfs.pod:1219 ../src/guestfs.pod:1227 ../src/guestfs.pod:1246 ../src/guestfs.pod:1254 ../src/guestfs.pod:1271 ../src/guestfs.pod:1276 ../src/guestfs.pod:1280 ../src/guestfs.pod:1422 ../src/guestfs.pod:1426 ../src/guestfs.pod:1430 ../src/guestfs.pod:1434 ../src/guestfs.pod:1438 ../src/guestfs.pod:1442 ../src/guestfs.pod:1968 ../src/guestfs.pod:1973 ../src/guestfs.pod:1977 ../src/guestfs.pod:2079 ../src/guestfs.pod:2084 ../src/guestfs.pod:2088 ../src/guestfs.pod:2098 ../src/guestfs.pod:2387 ../src/guestfs.pod:2392 ../src/guestfs.pod:2398 ../src/guestfs.pod:2406 ../src/guestfs.pod:2923 ../src/guestfs.pod:2929 ../src/guestfs.pod:2934 ../src/guestfs.pod:2940 ../src/guestfs.pod:3347 ../src/guestfs.pod:3352 ../src/guestfs.pod:3356 ../src/guestfs.pod:3360 ../src/guestfs.pod:3364 ../src/guestfs.pod:3378 ../src/guestfs.pod:3383 ../sysprep/virt-sysprep.pod:231 ../sysprep/virt-sysprep.pod:235 ../sysprep/virt-sysprep.pod:239 ../sysprep/virt-sysprep.pod:243 ../sysprep/virt-sysprep.pod:258 ../sysprep/virt-sysprep.pod:262 ../sysprep/virt-sysprep.pod:266 ../sysprep/virt-sysprep.pod:270 ../sysprep/virt-sysprep.pod:274 ../sysprep/virt-sysprep.pod:327 ../sysprep/virt-sysprep.pod:339 ../sysprep/virt-sysprep.pod:343 ../sysprep/virt-sysprep.pod:351 ../sysprep/virt-sysprep.pod:357 ../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:417 ../fish/guestfish-actions.pod:425 ../fish/guestfish-actions.pod:432 ../fish/guestfish-actions.pod:439 ../fish/guestfish-actions.pod:1480 ../fish/guestfish-actions.pod:1484 ../fish/guestfish-actions.pod:1488 ../fish/guestfish-actions.pod:1492 ../fish/guestfish-actions.pod:1500 ../fish/guestfish-actions.pod:1504 ../fish/guestfish-actions.pod:1508 ../fish/guestfish-actions.pod:1518 ../fish/guestfish-actions.pod:1522 ../fish/guestfish-actions.pod:1526 ../fish/guestfish-actions.pod:1637 ../fish/guestfish-actions.pod:1641 ../fish/guestfish-actions.pod:1646 ../fish/guestfish-actions.pod:1688 ../fish/guestfish-actions.pod:1692 ../fish/guestfish-actions.pod:1697 ../fish/guestfish-actions.pod:2143 ../fish/guestfish-actions.pod:2150 ../fish/guestfish-actions.pod:2157 ../fish/guestfish-actions.pod:2735 ../fish/guestfish-actions.pod:2741 ../fish/guestfish-actions.pod:2749 ../fish/guestfish-actions.pod:2756 ../fish/guestfish-actions.pod:2763 ../fish/guestfish.pod:461 ../fish/guestfish.pod:465 ../fish/guestfish.pod:469 ../fish/guestfish.pod:473 ../guestfs-release-notes.pod:82 ../guestfs-release-notes.pod:86 ../guestfs-release-notes.pod:90 ../guestfs-release-notes.pod:94 ../guestfs-release-notes.pod:98 ../guestfs-release-notes.pod:102 ../guestfs-release-notes.pod:107 ../guestfs-release-notes.pod:214 ../guestfs-release-notes.pod:218 ../guestfs-release-notes.pod:222 ../guestfs-release-notes.pod:226 ../guestfs-release-notes.pod:230 ../guestfs-release-notes.pod:234 ../guestfs-release-notes.pod:238 ../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:622 ../src/guestfs-actions.pod:630 ../src/guestfs-actions.pod:637 ../src/guestfs-actions.pod:644 ../src/guestfs-actions.pod:2475 ../src/guestfs-actions.pod:2479 ../src/guestfs-actions.pod:2483 ../src/guestfs-actions.pod:2487 ../src/guestfs-actions.pod:2495 ../src/guestfs-actions.pod:2499 ../src/guestfs-actions.pod:2503 ../src/guestfs-actions.pod:2513 ../src/guestfs-actions.pod:2517 ../src/guestfs-actions.pod:2521 ../src/guestfs-actions.pod:2693 ../src/guestfs-actions.pod:2697 ../src/guestfs-actions.pod:2702 ../src/guestfs-actions.pod:2763 ../src/guestfs-actions.pod:2767 ../src/guestfs-actions.pod:2772 ../src/guestfs-actions.pod:3471 ../src/guestfs-actions.pod:3478 ../src/guestfs-actions.pod:3485 ../src/guestfs-actions.pod:4318 ../src/guestfs-actions.pod:4324 ../src/guestfs-actions.pod:4332 ../src/guestfs-actions.pod:4339 ../src/guestfs-actions.pod:4346 ../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:1208 ../src/guestfs.pod:1212 ../src/guestfs.pod:1216 ../src/guestfs.pod:1221 ../src/guestfs.pod:1229 ../src/guestfs.pod:1248 ../src/guestfs.pod:1256 ../src/guestfs.pod:1273 ../src/guestfs.pod:1278 ../src/guestfs.pod:1282 ../src/guestfs.pod:1424 ../src/guestfs.pod:1428 ../src/guestfs.pod:1432 ../src/guestfs.pod:1436 ../src/guestfs.pod:1440 ../src/guestfs.pod:1444 ../src/guestfs.pod:1970 ../src/guestfs.pod:1975 ../src/guestfs.pod:1979 ../src/guestfs.pod:2081 ../src/guestfs.pod:2086 ../src/guestfs.pod:2090 ../src/guestfs.pod:2100 ../src/guestfs.pod:2389 ../src/guestfs.pod:2394 ../src/guestfs.pod:2400 ../src/guestfs.pod:2408 ../src/guestfs.pod:2925 ../src/guestfs.pod:2931 ../src/guestfs.pod:2936 ../src/guestfs.pod:2942 ../src/guestfs.pod:3344 ../src/guestfs.pod:3349 ../src/guestfs.pod:3353 ../src/guestfs.pod:3357 ../src/guestfs.pod:3361 ../src/guestfs.pod:3375 ../src/guestfs.pod:3380 ../sysprep/virt-sysprep.pod:231 ../sysprep/virt-sysprep.pod:235 ../sysprep/virt-sysprep.pod:239 ../sysprep/virt-sysprep.pod:243 ../sysprep/virt-sysprep.pod:258 ../sysprep/virt-sysprep.pod:262 ../sysprep/virt-sysprep.pod:266 ../sysprep/virt-sysprep.pod:270 ../sysprep/virt-sysprep.pod:274 ../sysprep/virt-sysprep.pod:327 ../sysprep/virt-sysprep.pod:339 ../sysprep/virt-sysprep.pod:343 ../sysprep/virt-sysprep.pod:351 ../sysprep/virt-sysprep.pod:357 ../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 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:1615 +#: ../align/virt-alignment-scan.pod:355 ../src/guestfs.pod:1617 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:1619 +#: ../align/virt-alignment-scan.pod:361 ../src/guestfs.pod:1621 msgid "2" msgstr "" @@ -788,7 +788,7 @@ msgid "" msgstr "" #. type: =item -#: ../align/virt-alignment-scan.pod:368 ../src/guestfs.pod:1623 +#: ../align/virt-alignment-scan.pod:368 ../src/guestfs.pod:1625 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:444 ../examples/guestfs-testing.pod:291 ../fish/guestfish.pod:1289 ../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 ../guestfs-release-notes.pod:1711 ../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:3583 ../sysprep/virt-sysprep.pod:480 ../test-tool/libguestfs-test-tool.pod:106 ../tools/virt-list-filesystems.pl:197 ../tools/virt-list-partitions.pl:267 ../tools/virt-make-fs.pl:627 ../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:473 ../examples/guestfs-testing.pod:305 ../fish/guestfish.pod:1289 ../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 ../guestfs-release-notes.pod:1711 ../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:3580 ../sysprep/virt-sysprep.pod:480 ../test-tool/libguestfs-test-tool.pod:106 ../tools/virt-list-filesystems.pl:197 ../tools/virt-list-partitions.pl:267 ../tools/virt-make-fs.pl:627 ../tools/virt-tar.pl:294 ../tools/virt-win-reg.pl:757 msgid "SEE ALSO" msgstr "" @@ -822,7 +822,7 @@ 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:461 ../examples/guestfs-testing.pod:302 ../fish/guestfish.pod:1321 ../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 ../guestfs-release-notes.pod:1726 ../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:3639 ../sysprep/virt-sysprep.pod:501 ../test-tool/libguestfs-test-tool.pod:116 ../tools/virt-list-filesystems.pl:214 ../tools/virt-list-partitions.pl:283 ../tools/virt-make-fs.pl:646 ../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:490 ../examples/guestfs-testing.pod:316 ../fish/guestfish.pod:1321 ../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 ../guestfs-release-notes.pod:1726 ../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:3636 ../sysprep/virt-sysprep.pod:501 ../test-tool/libguestfs-test-tool.pod:116 ../tools/virt-list-filesystems.pl:214 ../tools/virt-list-partitions.pl:283 ../tools/virt-make-fs.pl:646 ../tools/virt-tar.pl:313 ../tools/virt-win-reg.pl:776 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:1135 ../rescue/virt-rescue.pod:313 ../sparsify/virt-sparsify.pod:272 ../src/guestfs.pod:3517 ../test-tool/libguestfs-test-tool.pod:101 +#: ../appliance/libguestfs-make-fixed-appliance.pod:139 ../edit/virt-edit.pod:343 ../fish/guestfish.pod:1135 ../rescue/virt-rescue.pod:313 ../sparsify/virt-sparsify.pod:272 ../src/guestfs.pod:3514 ../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:457 ../examples/guestfs-testing.pod:298 ../fish/guestfish.pod:1317 ../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:3635 ../sysprep/virt-sysprep.pod:495 ../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:486 ../examples/guestfs-testing.pod:312 ../fish/guestfish.pod:1317 ../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:3632 ../sysprep/virt-sysprep.pod:495 ../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:459 ../examples/guestfs-testing.pod:300 ../fish/guestfish.pod:1319 ../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:3637 ../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:488 ../examples/guestfs-testing.pod:314 ../fish/guestfish.pod:1319 ../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:3634 ../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:463 ../fish/guestfish.pod:1323 ../fuse/guestmount.pod:415 ../guestfs-release-notes.pod:1728 ../rescue/virt-rescue.pod:355 ../src/guestfs.pod:3641 ../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:492 ../fish/guestfish.pod:1323 ../fuse/guestmount.pod:415 ../guestfs-release-notes.pod:1728 ../rescue/virt-rescue.pod:355 ../src/guestfs.pod:3638 ../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:503 +#: ../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:503 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 ../guestfs-release-notes.pod:14 ../guestfs-release-notes.pod:21 ../src/guestfs.pod:2533 ../src/guestfs.pod:2538 +#: ../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 ../guestfs-release-notes.pod:14 ../guestfs-release-notes.pod:21 ../src/guestfs.pod:2535 ../src/guestfs.pod:2540 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: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 " @@ -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:473 ../src/guestfs.pod:1291 ../src/guestfs.pod:1545 ../src/guestfs.pod:1710 ../src/guestfs.pod:2968 +#: ../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:1293 ../src/guestfs.pod:1547 ../src/guestfs.pod:1712 ../src/guestfs.pod:2970 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:479 ../src/guestfs.pod:1295 ../src/guestfs.pod:1549 ../src/guestfs.pod:1714 ../src/guestfs.pod:2993 +#: ../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:1297 ../src/guestfs.pod:1551 ../src/guestfs.pod:1716 ../src/guestfs.pod:2995 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:490 ../src/guestfs.pod:1299 ../src/guestfs.pod:1720 +#: ../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:1301 ../src/guestfs.pod:1722 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:2481 +#: ../examples/guestfs-performance.pod:322 ../src/guestfs.pod:2483 #, no-wrap msgid "" " global last;\n" @@ -6037,7 +6138,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-performance.pod:324 ../src/guestfs.pod:2483 +#: ../examples/guestfs-performance.pod:324 ../src/guestfs.pod:2485 #, no-wrap msgid "" " function display_time () {\n" @@ -6050,7 +6151,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-performance.pod:331 ../src/guestfs.pod:2490 +#: ../examples/guestfs-performance.pod:331 ../src/guestfs.pod:2492 #, 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:2493 +#: ../examples/guestfs-performance.pod:334 ../src/guestfs.pod:2495 #, no-wrap msgid "" " probe begin {\n" @@ -6070,7 +6171,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-performance.pod:339 ../src/guestfs.pod:2498 +#: ../examples/guestfs-performance.pod:339 ../src/guestfs.pod:2500 #, 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:998 ../src/guestfs.pod:1075 +#: ../examples/guestfs-performance.pod:394 ../fish/guestfish.pod:998 ../src/guestfs.pod:1077 #, no-wrap msgid "" " #!/bin/bash -\n" @@ -6623,7 +6724,7 @@ 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:156 ../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" @@ -6631,7 +6732,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:158 ../fish/guestfish-actions.pod:1684 ../fish/guestfish-actions.pod:2139 ../fish/guestfish-actions.pod:2731 ../src/guestfs-actions.pod:2759 ../src/guestfs-actions.pod:3467 ../src/guestfs-actions.pod:4314 ../src/guestfs.pod:1964 ../tools/virt-win-reg.pl:717 +#: ../examples/guestfs-recipes.pod:158 ../fish/guestfish-actions.pod:1684 ../fish/guestfish-actions.pod:2139 ../fish/guestfish-actions.pod:2731 ../src/guestfs-actions.pod:2759 ../src/guestfs-actions.pod:3467 ../src/guestfs-actions.pod:4314 ../src/guestfs.pod:1966 ../tools/virt-win-reg.pl:717 msgid "Notes:" msgstr "" @@ -6886,12 +6987,62 @@ msgstr "" #. type: =head1 #: ../examples/guestfs-recipes.pod:281 -msgid "Install RPMs in a guest" +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:400 +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: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 " "installs them next time the guest is booted. You could use this technique " @@ -6899,29 +7050,29 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:289 +#: ../examples/guestfs-recipes.pod:318 msgid "L<https://rwmj.wordpress.com/2010/12/01/tip-install-rpms-in-a-guest/#content>" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:291 +#: ../examples/guestfs-recipes.pod:320 msgid "" "Since libguestfs 1.20, L<virt-sysprep(1)> has an option for installing " "firstboot scripts in Linux guests." msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:294 +#: ../examples/guestfs-recipes.pod:323 msgid "List applications installed in a VM" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:296 +#: ../examples/guestfs-recipes.pod:325 msgid "Save the following to a file C<list-apps.sh>:" msgstr "" #. type: verbatim -#: ../examples/guestfs-recipes.pod:298 +#: ../examples/guestfs-recipes.pod:327 #, no-wrap msgid "" " #!/bin/sh -\n" @@ -6934,14 +7085,14 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:305 +#: ../examples/guestfs-recipes.pod:334 msgid "" "Make the file executable and then you can run it on any named virtual " "machine:" msgstr "" #. type: verbatim -#: ../examples/guestfs-recipes.pod:308 +#: ../examples/guestfs-recipes.pod:337 #, no-wrap msgid "" " # list-apps.sh WinGuest\n" @@ -6977,7 +7128,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:338 +#: ../examples/guestfs-recipes.pod:367 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 " @@ -6985,22 +7136,22 @@ msgid "" msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:342 +#: ../examples/guestfs-recipes.pod:371 msgid "List files and directories in a VM" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:344 +#: ../examples/guestfs-recipes.pod:373 msgid "Use L<virt-ls(1)>." msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:346 +#: ../examples/guestfs-recipes.pod:375 msgid "List services in a Windows VM" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:348 +#: ../examples/guestfs-recipes.pod:377 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 " @@ -7008,69 +7159,64 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:352 +#: ../examples/guestfs-recipes.pod:381 msgid "L<https://rwmj.wordpress.com/2010/12/10/tip-list-services-in-a-windows-guest/#content>" msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:354 +#: ../examples/guestfs-recipes.pod:383 msgid "Make a disk image sparse" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:356 +#: ../examples/guestfs-recipes.pod:385 msgid "Use L<virt-sparsify(1)>." msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:358 +#: ../examples/guestfs-recipes.pod:387 msgid "Monitor disk usage over time" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:360 +#: ../examples/guestfs-recipes.pod:389 msgid "" "You can use L<virt-df(1)> to monitor disk usage of your guests over time. " "The link below contains a guide." msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:363 +#: ../examples/guestfs-recipes.pod:392 msgid "L<http://virt-tools.org/learning/advanced-virt-df/>" msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:365 +#: ../examples/guestfs-recipes.pod:394 msgid "Reading the Windows Event Log from Windows Vista (or later)" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:367 +#: ../examples/guestfs-recipes.pod:396 msgid "" "L<guestfish(1)> plus the tools described in the link below can be used to " "read out the Windows Event Log from any virtual machine running Windows " "Vista or a later version." msgstr "" -#. type: textblock -#: ../examples/guestfs-recipes.pod:371 -msgid "L<https://rwmj.wordpress.com/2011/04/17/decoding-the-windows-event-log-using-guestfish/#content>" -msgstr "" - #. type: =head1 -#: ../examples/guestfs-recipes.pod:373 +#: ../examples/guestfs-recipes.pod:402 msgid "Remove root password (Linux)" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:375 +#: ../examples/guestfs-recipes.pod:404 msgid "" "Using the L<virt-edit(1)> I<-e> option you can do simple replacements on " "files. One use is to remove the root password from a Linux guest:" msgstr "" #. type: verbatim -#: ../examples/guestfs-recipes.pod:378 +#: ../examples/guestfs-recipes.pod:407 #, no-wrap msgid "" " virt-edit domname /etc/passwd -e 's/^root:.*?:/root::/'\n" @@ -7078,12 +7224,12 @@ msgid "" msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:380 +#: ../examples/guestfs-recipes.pod:409 msgid "Remove Administrator password (Windows)" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:382 +#: ../examples/guestfs-recipes.pod:411 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 " @@ -7091,17 +7237,17 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:387 +#: ../examples/guestfs-recipes.pod:416 msgid "L<https://mdbooth.wordpress.com/2010/10/18/resetting-a-windows-guests-administrator-password-with-guestfish/>" msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:389 +#: ../examples/guestfs-recipes.pod:418 msgid "Sysprepping a virtual machine (Windows)" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:391 +#: ../examples/guestfs-recipes.pod:420 msgid "" "It is possible to do a \"sysprep\" using libguestfs alone, although not " "straightforward. Currently there is code in the Aeolus Oz project which " @@ -7110,19 +7256,19 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:396 +#: ../examples/guestfs-recipes.pod:425 msgid "" "L<https://github.com/clalancette/oz> " "L<https://www.redhat.com/archives/virt-tools-list/2011-May/msg00019.html>" msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:399 +#: ../examples/guestfs-recipes.pod:428 msgid "Unpack a live CD" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:401 +#: ../examples/guestfs-recipes.pod:430 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 " @@ -7130,41 +7276,41 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:405 +#: ../examples/guestfs-recipes.pod:434 msgid "L<https://rwmj.wordpress.com/2009/07/15/unpack-the-russian-doll-of-a-f11-live-cd/#content>" msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:407 +#: ../examples/guestfs-recipes.pod:436 msgid "Uploading and downloading files" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:409 +#: ../examples/guestfs-recipes.pod:438 msgid "" "The link below contains general tips on uploading (copying in) and " "downloading (copying out) files from VMs." msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:412 +#: ../examples/guestfs-recipes.pod:441 msgid "L<https://rwmj.wordpress.com/2010/12/02/tip-uploading-and-downloading/#content>" msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:414 +#: ../examples/guestfs-recipes.pod:443 msgid "Uploading raw filesystem content" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:416 +#: ../examples/guestfs-recipes.pod:445 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:420 +#: ../examples/guestfs-recipes.pod:449 #, no-wrap msgid "" " guestfish --rw -a disk.img run : upload sda1.img /dev/sda1\n" @@ -7172,7 +7318,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-recipes.pod:422 +#: ../examples/guestfs-recipes.pod:451 #, no-wrap msgid "" " guestfish --rw -d Guest run : upload lv.img /dev/vg_guest/lv_root\n" @@ -7180,7 +7326,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:424 +#: ../examples/guestfs-recipes.pod:453 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 - " @@ -7190,7 +7336,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-recipes.pod:430 +#: ../examples/guestfs-recipes.pod:459 #, no-wrap msgid "" " guestfish --rw -d Guest run : \\\n" @@ -7200,29 +7346,29 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:434 +#: ../examples/guestfs-recipes.pod:463 msgid "(or use C<ntfsresize> if the filesystem is NTFS)." msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:436 +#: ../examples/guestfs-recipes.pod:465 msgid "Use libguestfs tools on VMware ESX guests" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:438 +#: ../examples/guestfs-recipes.pod:467 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:442 +#: ../examples/guestfs-recipes.pod:471 msgid "L<https://rwmj.wordpress.com/2011/05/10/tip-use-libguestfs-on-vmware-esx-guests/#content>" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:446 +#: ../examples/guestfs-recipes.pod:475 msgid "" "L<guestfs(3)>, L<guestfish(1)>, L<guestfs-examples(3)>, " "L<guestfs-erlang(3)>, L<guestfs-java(3)>, L<guestfs-ocaml(3)>, " @@ -7285,11 +7431,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:3365 +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 " @@ -7297,39 +7469,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" @@ -7337,12 +7509,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:3070 +#: ../examples/guestfs-testing.pod:68 ../examples/guestfs-testing.pod:175 ../examples/guestfs-testing.pod:188 ../examples/guestfs-testing.pod:248 ../src/guestfs.pod:3072 msgid "or:" msgstr "" #. type: verbatim -#: ../examples/guestfs-testing.pod:56 +#: ../examples/guestfs-testing.pod:70 #, no-wrap msgid "" " virt-alignment-scan -d Guest\n" @@ -7350,22 +7522,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" @@ -7373,12 +7545,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" @@ -7386,26 +7558,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" @@ -7413,7 +7585,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 " @@ -7421,12 +7593,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" @@ -7434,39 +7606,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" @@ -7474,31 +7646,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 " @@ -7506,17 +7678,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:3368 -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" @@ -7524,33 +7691,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" @@ -7558,12 +7725,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" @@ -7571,24 +7738,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" @@ -7596,7 +7763,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" @@ -7604,24 +7771,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" @@ -7629,7 +7796,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-testing.pod:176 +#: ../examples/guestfs-testing.pod:190 #, no-wrap msgid "" " virt-inspector -d Guest | less\n" @@ -7637,17 +7804,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" @@ -7655,7 +7822,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" @@ -7663,7 +7830,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" @@ -7671,7 +7838,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" @@ -7679,12 +7846,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" @@ -7692,7 +7859,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" @@ -7700,7 +7867,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" @@ -7708,24 +7875,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" @@ -7733,7 +7900,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 " @@ -7741,29 +7908,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" @@ -7771,7 +7938,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-testing.pod:236 +#: ../examples/guestfs-testing.pod:250 #, no-wrap msgid "" " virt-rescue -d Guest\n" @@ -7779,24 +7946,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" @@ -7807,22 +7974,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" @@ -7830,26 +7997,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" @@ -7857,26 +8024,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" @@ -7885,7 +8052,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" @@ -7894,19 +8061,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' " @@ -7916,7 +8083,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/>." @@ -8196,7 +8363,7 @@ msgid "" msgstr "" #. type: =item -#: ../fish/guestfish-actions.pod:143 ../src/guestfs-actions.pod:208 ../src/guestfs.pod:3235 +#: ../fish/guestfish-actions.pod:143 ../src/guestfs-actions.pod:208 ../src/guestfs.pod:3237 msgid "C<format>" msgstr "" @@ -11127,7 +11294,7 @@ msgid "You must call L</launch> before using this command." msgstr "" #. type: textblock -#: ../fish/guestfish-actions.pod:1557 ../src/guestfs-actions.pod:2565 ../src/guestfs.pod:1811 +#: ../fish/guestfish-actions.pod:1557 ../src/guestfs-actions.pod:2565 ../src/guestfs.pod:1813 msgid "" "This is mainly useful as a negative test. If this returns true, it doesn't " "mean that a particular filesystem can be mounted, since filesystems can fail " @@ -19263,7 +19430,7 @@ msgid "Possible attach methods are:" msgstr "" #. type: =item -#: ../fish/guestfish-actions.pod:5367 ../src/guestfs-actions.pod:8654 ../src/guestfs.pod:3199 +#: ../fish/guestfish-actions.pod:5367 ../src/guestfs-actions.pod:8654 ../src/guestfs.pod:3201 msgid "C<appliance>" msgstr "" @@ -23496,7 +23663,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../fish/guestfish.pod:135 ../src/guestfs.pod:2522 +#: ../fish/guestfish.pod:135 ../src/guestfs.pod:2524 #, no-wrap msgid "" " guestfish -N fs\n" @@ -25003,7 +25170,7 @@ msgid "" msgstr "" #. type: =head2 -#: ../fish/guestfish.pod:841 ../src/guestfs.pod:523 +#: ../fish/guestfish.pod:841 ../src/guestfs.pod:525 msgid "ENCRYPTED DISKS" msgstr "" @@ -25645,7 +25812,7 @@ msgid "COMMANDS" msgstr "" #. type: textblock -#: ../fish/guestfish.pod:1128 ../src/guestfs.pod:1789 +#: ../fish/guestfish.pod:1128 ../src/guestfs.pod:1791 msgid "@ACTIONS@" msgstr "" @@ -25669,17 +25836,17 @@ msgid "" msgstr "" #. type: =item -#: ../fish/guestfish.pod:1144 ../src/guestfs.pod:3521 +#: ../fish/guestfish.pod:1144 ../src/guestfs.pod:3518 msgid "FEBOOTSTRAP_KERNEL" msgstr "" #. type: =item -#: ../fish/guestfish.pod:1146 ../src/guestfs.pod:3523 +#: ../fish/guestfish.pod:1146 ../src/guestfs.pod:3520 msgid "FEBOOTSTRAP_MODULES" msgstr "" #. type: textblock -#: ../fish/guestfish.pod:1148 ../src/guestfs.pod:3525 +#: ../fish/guestfish.pod:1148 ../src/guestfs.pod:3522 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 " @@ -25737,17 +25904,17 @@ msgid "" msgstr "" #. type: =item -#: ../fish/guestfish.pod:1176 ../src/guestfs.pod:3531 +#: ../fish/guestfish.pod:1176 ../src/guestfs.pod:3528 msgid "LIBGUESTFS_APPEND" msgstr "" #. type: textblock -#: ../fish/guestfish.pod:1178 ../src/guestfs.pod:3533 +#: ../fish/guestfish.pod:1178 ../src/guestfs.pod:3530 msgid "Pass additional options to the guest kernel." msgstr "" #. type: =item -#: ../fish/guestfish.pod:1180 ../src/guestfs.pod:3535 +#: ../fish/guestfish.pod:1180 ../src/guestfs.pod:3532 msgid "LIBGUESTFS_ATTACH_METHOD" msgstr "" @@ -25759,7 +25926,7 @@ msgid "" msgstr "" #. type: =item -#: ../fish/guestfish.pod:1185 ../src/guestfs.pod:3540 +#: ../fish/guestfish.pod:1185 ../src/guestfs.pod:3537 msgid "LIBGUESTFS_DEBUG" msgstr "" @@ -25771,17 +25938,17 @@ msgid "" msgstr "" #. type: =item -#: ../fish/guestfish.pod:1190 ../src/guestfs.pod:3545 +#: ../fish/guestfish.pod:1190 ../src/guestfs.pod:3542 msgid "LIBGUESTFS_MEMSIZE" msgstr "" #. type: textblock -#: ../fish/guestfish.pod:1192 ../src/guestfs.pod:3547 +#: ../fish/guestfish.pod:1192 ../src/guestfs.pod:3544 msgid "Set the memory allocated to the qemu process, in megabytes. For example:" msgstr "" #. type: verbatim -#: ../fish/guestfish.pod:1195 ../src/guestfs.pod:3550 +#: ../fish/guestfish.pod:1195 ../src/guestfs.pod:3547 #, no-wrap msgid "" " LIBGUESTFS_MEMSIZE=700\n" @@ -25789,7 +25956,7 @@ msgid "" msgstr "" #. type: =item -#: ../fish/guestfish.pod:1197 ../src/guestfs.pod:3552 +#: ../fish/guestfish.pod:1197 ../src/guestfs.pod:3549 msgid "LIBGUESTFS_PATH" msgstr "" @@ -25801,19 +25968,19 @@ msgid "" msgstr "" #. type: =item -#: ../fish/guestfish.pod:1202 ../src/guestfs.pod:3557 +#: ../fish/guestfish.pod:1202 ../src/guestfs.pod:3554 msgid "LIBGUESTFS_QEMU" msgstr "" #. type: textblock -#: ../fish/guestfish.pod:1204 ../src/guestfs.pod:3559 +#: ../fish/guestfish.pod:1204 ../src/guestfs.pod:3556 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:1208 ../src/guestfs.pod:3565 +#: ../fish/guestfish.pod:1208 ../src/guestfs.pod:3562 msgid "LIBGUESTFS_TRACE" msgstr "" @@ -25835,19 +26002,19 @@ msgid "" msgstr "" #. type: =item -#: ../fish/guestfish.pod:1217 ../sparsify/virt-sparsify.pod:276 ../src/guestfs.pod:3570 +#: ../fish/guestfish.pod:1217 ../sparsify/virt-sparsify.pod:276 ../src/guestfs.pod:3567 msgid "TMPDIR" msgstr "" #. type: textblock -#: ../fish/guestfish.pod:1219 ../src/guestfs.pod:3572 +#: ../fish/guestfish.pod:1219 ../src/guestfs.pod:3569 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:1222 ../src/guestfs.pod:3575 +#: ../fish/guestfish.pod:1222 ../src/guestfs.pod:3572 msgid "" "If libguestfs was compiled to use the supermin appliance then the real " "appliance is cached in this directory, shared between all handles belonging " @@ -47518,6 +47685,11 @@ msgstr "" #. 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 " @@ -47525,12 +47697,12 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:45 +#: ../src/guestfs.pod:47 msgid "API OVERVIEW" msgstr "" #. type: textblock -#: ../src/guestfs.pod:47 +#: ../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 " @@ -47538,12 +47710,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:52 +#: ../src/guestfs.pod:54 msgid "HANDLES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:54 +#: ../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 " @@ -47553,12 +47725,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:61 +#: ../src/guestfs.pod:63 msgid "The general structure of all libguestfs-using programs looks like this:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:64 +#: ../src/guestfs.pod:66 #, no-wrap msgid "" " guestfs_h *g = guestfs_create ();\n" @@ -47566,7 +47738,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:66 +#: ../src/guestfs.pod:68 #, no-wrap msgid "" " /* Call guestfs_add_drive additional times if there are\n" @@ -47577,7 +47749,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:71 +#: ../src/guestfs.pod:73 #, no-wrap msgid "" " /* Most manipulation calls won't work until you've launched\n" @@ -47589,7 +47761,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:77 +#: ../src/guestfs.pod:79 #, no-wrap msgid "" " /* Now you can examine what partitions, LVs etc are available.\n" @@ -47600,7 +47772,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:82 +#: ../src/guestfs.pod:84 #, no-wrap msgid "" " /* To access a filesystem in the image, you must mount it.\n" @@ -47610,7 +47782,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:86 +#: ../src/guestfs.pod:88 #, no-wrap msgid "" " /* Now you can perform filesystem actions on the guest\n" @@ -47621,7 +47793,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:91 +#: ../src/guestfs.pod:93 #, no-wrap msgid "" " /* Synchronize the disk. This is the opposite of guestfs_launch. */\n" @@ -47630,7 +47802,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:94 +#: ../src/guestfs.pod:96 #, no-wrap msgid "" " /* Close and free the handle 'g'. */\n" @@ -47639,7 +47811,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:97 +#: ../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 " @@ -47651,12 +47823,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:106 +#: ../src/guestfs.pod:108 msgid "DISK IMAGES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:108 +#: ../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 " @@ -47666,7 +47838,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:114 +#: ../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 " @@ -47674,7 +47846,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:118 +#: ../src/guestfs.pod:120 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename,\n" @@ -47684,12 +47856,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:122 +#: ../src/guestfs.pod:124 msgid "You can add a disk read-only using:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:124 +#: ../src/guestfs.pod:126 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename,\n" @@ -47700,14 +47872,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:129 +#: ../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. (See also L</DISK IMAGE FORMATS> below)." msgstr "" #. type: textblock -#: ../src/guestfs.pod:133 +#: ../src/guestfs.pod:135 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 " @@ -47715,7 +47887,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:137 +#: ../src/guestfs.pod:139 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 " @@ -47723,7 +47895,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:142 +#: ../src/guestfs.pod:144 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 " @@ -47731,12 +47903,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:147 +#: ../src/guestfs.pod:149 msgid "MOUNTING" msgstr "" #. type: textblock -#: ../src/guestfs.pod:149 +#: ../src/guestfs.pod:151 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 " @@ -47746,7 +47918,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:156 +#: ../src/guestfs.pod:158 #, no-wrap msgid "" " guestfs_mount (g, \"/dev/sda1\", \"/\");\n" @@ -47754,7 +47926,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:158 +#: ../src/guestfs.pod:160 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 " @@ -47764,7 +47936,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:164 +#: ../src/guestfs.pod:166 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 " @@ -47775,7 +47947,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:172 +#: ../src/guestfs.pod:174 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 " @@ -47783,19 +47955,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:177 +#: ../src/guestfs.pod:179 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:180 +#: ../src/guestfs.pod:182 msgid "FILESYSTEM ACCESS AND MODIFICATION" msgstr "" #. type: textblock -#: ../src/guestfs.pod:182 +#: ../src/guestfs.pod:184 msgid "" "The majority of the libguestfs API consists of fairly low-level calls for " "accessing and modifying the files, directories, symlinks etc on mounted " @@ -47805,21 +47977,21 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:188 +#: ../src/guestfs.pod:190 msgid "" "Specify filenames as full paths, starting with C<\"/\"> and including the " "mount point." msgstr "" #. type: textblock -#: ../src/guestfs.pod:191 +#: ../src/guestfs.pod:193 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:194 +#: ../src/guestfs.pod:196 #, no-wrap msgid "" " char *data = guestfs_cat (g, \"/etc/passwd\");\n" @@ -47827,7 +47999,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:196 +#: ../src/guestfs.pod:198 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), " @@ -47835,14 +48007,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:200 +#: ../src/guestfs.pod:202 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:203 +#: ../src/guestfs.pod:205 #, no-wrap msgid "" " guestfs_mkdir (g, \"/var\");\n" @@ -47850,12 +48022,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:205 +#: ../src/guestfs.pod:207 msgid "To create a symlink you could do:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:207 +#: ../src/guestfs.pod:209 #, no-wrap msgid "" " guestfs_ln_s (g, \"/etc/init.d/portmap\",\n" @@ -47864,14 +48036,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:210 +#: ../src/guestfs.pod:212 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:213 +#: ../src/guestfs.pod:215 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 " @@ -47881,40 +48053,40 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:219 +#: ../src/guestfs.pod:221 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:222 +#: ../src/guestfs.pod:224 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:226 +#: ../src/guestfs.pod:228 msgid "PARTITIONING" msgstr "" #. type: textblock -#: ../src/guestfs.pod:228 +#: ../src/guestfs.pod:230 msgid "" "Libguestfs contains API calls to read, create and modify partition tables on " "disk images." msgstr "" #. type: textblock -#: ../src/guestfs.pod:231 +#: ../src/guestfs.pod:233 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:235 +#: ../src/guestfs.pod:237 #, no-wrap msgid "" " const char *parttype = \"mbr\";\n" @@ -47925,19 +48097,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:240 +#: ../src/guestfs.pod:242 msgid "" "Obviously this effectively wipes anything that was on that disk image " "before." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:243 +#: ../src/guestfs.pod:245 msgid "LVM2" msgstr "" #. type: textblock -#: ../src/guestfs.pod:245 +#: ../src/guestfs.pod:247 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 " @@ -47946,19 +48118,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:250 +#: ../src/guestfs.pod:252 msgid "" "This author strongly recommends reading the LVM HOWTO, online at " "L<http://tldp.org/HOWTO/LVM-HOWTO/>." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:253 +#: ../src/guestfs.pod:255 msgid "DOWNLOADING" msgstr "" #. type: textblock -#: ../src/guestfs.pod:255 +#: ../src/guestfs.pod:257 msgid "" "Use L</guestfs_cat> to download small, text only files. This call cannot " "handle files contain any ASCII NUL (C<\\0>) characters. However the API is " @@ -47966,38 +48138,38 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:259 +#: ../src/guestfs.pod:261 msgid "" "L</guestfs_read_file> can be used to read files which contain arbitrary 8 " "bit data, since it returns a (pointer, size) pair." msgstr "" #. type: textblock -#: ../src/guestfs.pod:262 +#: ../src/guestfs.pod:264 msgid "" "L</guestfs_download> can be used to download any file, with no limits on " "content or size." msgstr "" #. type: textblock -#: ../src/guestfs.pod:265 +#: ../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:268 +#: ../src/guestfs.pod:270 msgid "UPLOADING" msgstr "" #. type: textblock -#: ../src/guestfs.pod:270 +#: ../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:273 +#: ../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 " @@ -48007,19 +48179,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:279 +#: ../src/guestfs.pod:281 msgid "" "To upload a single file, use L</guestfs_upload>. This call has no limits on " "file content or size." msgstr "" #. type: textblock -#: ../src/guestfs.pod:282 +#: ../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:284 +#: ../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 " @@ -48033,12 +48205,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:295 +#: ../src/guestfs.pod:297 msgid "COPYING" msgstr "" #. type: textblock -#: ../src/guestfs.pod:297 +#: ../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 " @@ -48046,51 +48218,51 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:303 +#: ../src/guestfs.pod:305 msgid "B<file> to B<file>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:305 +#: ../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:308 +#: ../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:311 +#: ../src/guestfs.pod:313 msgid "B<file> to B<device>" msgstr "" #. type: =item -#: ../src/guestfs.pod:313 +#: ../src/guestfs.pod:315 msgid "B<device> to B<file>" msgstr "" #. type: =item -#: ../src/guestfs.pod:315 +#: ../src/guestfs.pod:317 msgid "B<device> to B<device>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:317 +#: ../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:320 +#: ../src/guestfs.pod:322 msgid "Example: duplicate the contents of an LV:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:322 +#: ../src/guestfs.pod:324 #, no-wrap msgid "" " guestfs_copy_device_to_device (g,\n" @@ -48101,7 +48273,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:327 +#: ../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 " @@ -48109,7 +48281,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:331 +#: ../src/guestfs.pod:333 #, no-wrap msgid "" " guestfs_copy_device_to_device (g,\n" @@ -48120,32 +48292,32 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:336 +#: ../src/guestfs.pod:338 msgid "B<file on the host> to B<file or device>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:338 +#: ../src/guestfs.pod:340 msgid "Use L</guestfs_upload>. See L</UPLOADING> above." msgstr "" #. type: =item -#: ../src/guestfs.pod:340 +#: ../src/guestfs.pod:342 msgid "B<file or device> to B<file on the host>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:342 +#: ../src/guestfs.pod:344 msgid "Use L</guestfs_download>. See L</DOWNLOADING> above." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:346 +#: ../src/guestfs.pod:348 msgid "UPLOADING AND DOWNLOADING TO PIPES AND FILE DESCRIPTORS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:348 +#: ../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 " @@ -48156,12 +48328,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:356 +#: ../src/guestfs.pod:358 msgid "For example, L<virt-cat(1)> writes its output to stdout by doing:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:359 +#: ../src/guestfs.pod:361 #, no-wrap msgid "" " guestfs_download (g, filename, \"/dev/stdout\");\n" @@ -48169,12 +48341,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:361 +#: ../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:363 +#: ../src/guestfs.pod:365 #, no-wrap msgid "" " char devfd[64];\n" @@ -48184,26 +48356,26 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:367 +#: ../src/guestfs.pod:369 msgid "LISTING FILES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:369 +#: ../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:372 +#: ../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:375 +#: ../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 " @@ -48211,19 +48383,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:379 +#: ../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:382 +#: ../src/guestfs.pod:384 msgid "RUNNING COMMANDS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:384 +#: ../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 " @@ -48231,55 +48403,55 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:388 +#: ../src/guestfs.pod:390 msgid "There are many limitations to this:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:394 +#: ../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:399 +#: ../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:404 +#: ../src/guestfs.pod:406 msgid "The command will be running in limited memory." msgstr "" #. type: textblock -#: ../src/guestfs.pod:408 +#: ../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:413 +#: ../src/guestfs.pod:415 msgid "Only supports Linux guests (not Windows, BSD, etc)." msgstr "" #. type: textblock -#: ../src/guestfs.pod:417 +#: ../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:422 +#: ../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:427 +#: ../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 " @@ -48291,7 +48463,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:436 +#: ../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 " @@ -48301,26 +48473,26 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:444 +#: ../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:447 +#: ../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:450 +#: ../src/guestfs.pod:452 msgid "CONFIGURATION FILES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:452 +#: ../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 " @@ -48329,7 +48501,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:457 +#: ../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 " @@ -48337,7 +48509,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:461 +#: ../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 " @@ -48345,24 +48517,24 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:465 +#: ../src/guestfs.pod:467 msgid "SELINUX" msgstr "" #. type: textblock -#: ../src/guestfs.pod:467 +#: ../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:475 +#: ../src/guestfs.pod:477 msgid "Before launching, do:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:477 +#: ../src/guestfs.pod:479 #, no-wrap msgid "" " guestfs_set_selinux (g, 1);\n" @@ -48370,14 +48542,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:481 +#: ../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:485 +#: ../src/guestfs.pod:487 #, no-wrap msgid "" " guestfs_sh (g, \"/usr/sbin/load_policy\");\n" @@ -48385,21 +48557,21 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:487 +#: ../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:492 +#: ../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:496 +#: ../src/guestfs.pod:498 #, no-wrap msgid "" " guestfs_setcon (g, \"unconfined_u:unconfined_r:unconfined_t:s0\");\n" @@ -48407,24 +48579,24 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:500 +#: ../src/guestfs.pod:502 msgid "This will work for running commands and editing existing files." msgstr "" #. type: textblock -#: ../src/guestfs.pod:502 +#: ../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:506 +#: ../src/guestfs.pod:508 msgid "UMASK" msgstr "" #. type: textblock -#: ../src/guestfs.pod:508 +#: ../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 " @@ -48434,14 +48606,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:514 +#: ../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:517 +#: ../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 " @@ -48449,12 +48621,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:521 +#: ../src/guestfs.pod:523 msgid "For more information about umask, see L<umask(2)>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:525 +#: ../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) " @@ -48463,21 +48635,21 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:531 +#: ../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:534 +#: ../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:537 +#: ../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 " @@ -48486,7 +48658,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:543 +#: ../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 " @@ -48494,7 +48666,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:547 +#: ../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, " @@ -48504,19 +48676,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:554 +#: ../src/guestfs.pod:556 msgid "MOUNT LOCAL" msgstr "" #. type: textblock -#: ../src/guestfs.pod:556 +#: ../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:560 +#: ../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 " @@ -48527,7 +48699,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:567 +#: ../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 " @@ -48540,7 +48712,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:577 +#: ../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 " @@ -48551,12 +48723,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:585 +#: ../src/guestfs.pod:587 msgid "MOUNT LOCAL COMPATIBILITY" msgstr "" #. type: textblock -#: ../src/guestfs.pod:587 +#: ../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 " @@ -48565,7 +48737,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:592 +#: ../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 " @@ -48573,12 +48745,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:596 +#: ../src/guestfs.pod:598 msgid "MOUNT LOCAL PERFORMANCE" msgstr "" #. type: textblock -#: ../src/guestfs.pod:598 +#: ../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 " @@ -48586,12 +48758,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:602 +#: ../src/guestfs.pod:604 msgid "INSPECTION" msgstr "" #. type: textblock -#: ../src/guestfs.pod:604 +#: ../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 " @@ -48601,14 +48773,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:611 +#: ../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:614 +#: ../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 " @@ -48621,7 +48793,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:623 +#: ../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 " @@ -48630,7 +48802,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:629 +#: ../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 " @@ -48641,7 +48813,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:636 +#: ../src/guestfs.pod:638 #, no-wrap msgid "" " /boot => /dev/sda1\n" @@ -48651,14 +48823,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:640 +#: ../src/guestfs.pod:642 msgid "" "The caller can then make calls to L</guestfs_mount> to mount the filesystems " "as suggested." msgstr "" #. type: textblock -#: ../src/guestfs.pod:643 +#: ../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 " @@ -48666,7 +48838,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:647 +#: ../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 " @@ -48674,7 +48846,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:651 +#: ../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 " @@ -48682,7 +48854,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:655 +#: ../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 " @@ -48695,19 +48867,19 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:664 +#: ../src/guestfs.pod:666 msgid "INSPECTING INSTALL DISKS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:666 +#: ../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:669 +#: ../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 " @@ -48715,7 +48887,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:673 +#: ../src/guestfs.pod:675 msgid "" "Further information is available about the operating system that can be " "installed using the regular inspection APIs like " @@ -48724,7 +48896,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:678 +#: ../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 " @@ -48732,24 +48904,24 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:683 +#: ../src/guestfs.pod:685 msgid "SPECIAL CONSIDERATIONS FOR WINDOWS GUESTS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:685 +#: ../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:688 +#: ../src/guestfs.pod:690 msgid "DRIVE LETTERS AND PATHS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:690 +#: ../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 " @@ -48759,14 +48931,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:696 +#: ../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:699 +#: ../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 " @@ -48774,33 +48946,33 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:703 +#: ../src/guestfs.pod:705 msgid "" "To resolve the case insensitivity of paths, call " "L</guestfs_case_sensitive_path>." msgstr "" #. type: =head3 -#: ../src/guestfs.pod:706 +#: ../src/guestfs.pod:708 msgid "LONG FILENAMES ON NTFS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:708 +#: ../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:712 +#: ../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:715 +#: ../src/guestfs.pod:717 #, no-wrap msgid "" " File name too long\n" @@ -48808,14 +48980,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:717 +#: ../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:720 +#: ../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 " @@ -48823,7 +48995,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:724 +#: ../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 " @@ -48831,19 +49003,19 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:728 +#: ../src/guestfs.pod:730 msgid "ACCESSING THE WINDOWS REGISTRY" msgstr "" #. type: textblock -#: ../src/guestfs.pod:730 +#: ../src/guestfs.pod:732 msgid "" "Libguestfs also provides some help for decoding Windows Registry \"hive\" " "files, through a separate C library called L<hivex(3)>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:733 +#: ../src/guestfs.pod:735 msgid "" "Before libguestfs 1.19.35 you had to download the hive file, operate on it " "locally using hivex, and upload it again. Since this version, we have " @@ -48853,17 +49025,17 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:739 +#: ../src/guestfs.pod:741 msgid "See also L<virt-win-reg(1)>." msgstr "" #. type: =head3 -#: ../src/guestfs.pod:741 +#: ../src/guestfs.pod:743 msgid "SYMLINKS ON NTFS-3G FILESYSTEMS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:743 +#: ../src/guestfs.pod:745 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 " @@ -48871,12 +49043,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:747 +#: ../src/guestfs.pod:749 msgid "L<http://www.tuxera.com/community/ntfs-3g-advanced/junction-points-and-symbolic-links/>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:749 +#: ../src/guestfs.pod:751 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 " @@ -48886,7 +49058,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:756 +#: ../src/guestfs.pod:758 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 " @@ -48895,36 +49067,36 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:761 +#: ../src/guestfs.pod:763 msgid "EXTENDED ATTRIBUTES ON NTFS-3G FILESYSTEMS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:763 +#: ../src/guestfs.pod:765 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:766 +#: ../src/guestfs.pod:768 msgid "L<http://www.tuxera.com/community/ntfs-3g-advanced/extended-attributes/>" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:768 +#: ../src/guestfs.pod:770 msgid "RESIZE2FS ERRORS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:770 +#: ../src/guestfs.pod:772 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:773 +#: ../src/guestfs.pod:775 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 " @@ -48933,7 +49105,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:778 +#: ../src/guestfs.pod:780 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 " @@ -48941,14 +49113,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:783 +#: ../src/guestfs.pod:785 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:786 +#: ../src/guestfs.pod:788 #, no-wrap msgid "" " Please run 'e2fsck -fy <device>' to fix the filesystem\n" @@ -48957,7 +49129,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:789 +#: ../src/guestfs.pod:791 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 " @@ -48966,19 +49138,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:794 +#: ../src/guestfs.pod:796 msgid "USING LIBGUESTFS WITH OTHER PROGRAMMING LANGUAGES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:796 +#: ../src/guestfs.pod:798 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:799 +#: ../src/guestfs.pod:801 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)> " @@ -48988,14 +49160,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:805 +#: ../src/guestfs.pod:807 msgid "" "Error messages are automatically transformed into exceptions if the language " "supports it." msgstr "" #. type: textblock -#: ../src/guestfs.pod:808 +#: ../src/guestfs.pod:810 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 " @@ -49003,58 +49175,58 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:814 +#: ../src/guestfs.pod:816 msgid "B<C++>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:816 +#: ../src/guestfs.pod:818 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:820 +#: ../src/guestfs.pod:822 msgid "B<C#>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:822 +#: ../src/guestfs.pod:824 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:825 +#: ../src/guestfs.pod:827 msgid "B<Erlang>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:827 +#: ../src/guestfs.pod:829 msgid "See L<guestfs-erlang(3)>." msgstr "" #. type: =item -#: ../src/guestfs.pod:829 +#: ../src/guestfs.pod:831 msgid "B<GObject>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:831 +#: ../src/guestfs.pod:833 msgid "" "Experimental GObject bindings (with GObject Introspection support) are " "available. See the C<gobject> directory in the source." msgstr "" #. type: =item -#: ../src/guestfs.pod:834 +#: ../src/guestfs.pod:836 msgid "B<Haskell>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:836 +#: ../src/guestfs.pod:838 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 " @@ -49062,96 +49234,96 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:840 +#: ../src/guestfs.pod:842 msgid "B<Java>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:842 +#: ../src/guestfs.pod:844 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:845 +#: ../src/guestfs.pod:847 msgid "B<OCaml>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:847 +#: ../src/guestfs.pod:849 msgid "See L<guestfs-ocaml(3)>." msgstr "" #. type: =item -#: ../src/guestfs.pod:849 +#: ../src/guestfs.pod:851 msgid "B<Perl>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:851 +#: ../src/guestfs.pod:853 msgid "See L<guestfs-perl(3)> and L<Sys::Guestfs(3)>." msgstr "" #. type: =item -#: ../src/guestfs.pod:853 +#: ../src/guestfs.pod:855 msgid "B<PHP>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:855 +#: ../src/guestfs.pod:857 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:858 +#: ../src/guestfs.pod:860 msgid "The PHP binding only works correctly on 64 bit machines." msgstr "" #. type: =item -#: ../src/guestfs.pod:860 +#: ../src/guestfs.pod:862 msgid "B<Python>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:862 +#: ../src/guestfs.pod:864 msgid "See L<guestfs-python(3)>." msgstr "" #. type: =item -#: ../src/guestfs.pod:864 +#: ../src/guestfs.pod:866 msgid "B<Ruby>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:866 +#: ../src/guestfs.pod:868 msgid "See L<guestfs-ruby(3)>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:868 +#: ../src/guestfs.pod:870 msgid "For JRuby, use the Java bindings." msgstr "" #. type: =item -#: ../src/guestfs.pod:870 +#: ../src/guestfs.pod:872 msgid "B<shell scripts>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:872 +#: ../src/guestfs.pod:874 msgid "See L<guestfish(1)>." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:876 +#: ../src/guestfs.pod:878 msgid "LIBGUESTFS GOTCHAS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:878 +#: ../src/guestfs.pod:880 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 " @@ -49159,7 +49331,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:882 +#: ../src/guestfs.pod:884 msgid "" "Since we developed libguestfs and the associated tools, there are several " "things we would have designed differently, but are now stuck with for " @@ -49168,19 +49340,19 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:890 +#: ../src/guestfs.pod:892 msgid "Autosync / forgetting to sync." msgstr "" #. type: textblock -#: ../src/guestfs.pod:892 +#: ../src/guestfs.pod:894 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:895 +#: ../src/guestfs.pod:897 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 " @@ -49188,7 +49360,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:899 +#: ../src/guestfs.pod:901 #, no-wrap msgid "" " guestfs_set_autosync (g, 1);\n" @@ -49196,7 +49368,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:901 +#: ../src/guestfs.pod:903 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> " @@ -49204,7 +49376,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:905 +#: ../src/guestfs.pod:907 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 " @@ -49212,7 +49384,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:909 +#: ../src/guestfs.pod:911 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 " @@ -49220,19 +49392,19 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:913 +#: ../src/guestfs.pod:915 msgid "Mount option C<-o sync> should not be the default." msgstr "" #. type: textblock -#: ../src/guestfs.pod:915 +#: ../src/guestfs.pod:917 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:918 +#: ../src/guestfs.pod:920 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 " @@ -49240,31 +49412,31 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:922 +#: ../src/guestfs.pod:924 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:925 +#: ../src/guestfs.pod:927 msgid "Read-only should be the default." msgstr "" #. type: textblock -#: ../src/guestfs.pod:927 +#: ../src/guestfs.pod:929 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:930 +#: ../src/guestfs.pod:932 msgid "This would reduce the potential to corrupt live VM images." msgstr "" #. type: textblock -#: ../src/guestfs.pod:932 +#: ../src/guestfs.pod:934 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 " @@ -49272,12 +49444,12 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:936 +#: ../src/guestfs.pod:938 msgid "guestfish command line is hard to use." msgstr "" #. type: textblock -#: ../src/guestfs.pod:938 +#: ../src/guestfs.pod:940 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 " @@ -49287,12 +49459,12 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:945 +#: ../src/guestfs.pod:947 msgid "guestfish megabyte modifiers don't work right on all commands" msgstr "" #. type: textblock -#: ../src/guestfs.pod:947 +#: ../src/guestfs.pod:949 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 " @@ -49302,12 +49474,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:954 +#: ../src/guestfs.pod:956 msgid "The most common is L</guestfs_lvcreate>. The guestfish command:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:956 +#: ../src/guestfs.pod:958 #, no-wrap msgid "" " lvcreate LV VG 100M\n" @@ -49315,7 +49487,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:958 +#: ../src/guestfs.pod:960 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 " @@ -49324,19 +49496,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:963 +#: ../src/guestfs.pod:965 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:966 +#: ../src/guestfs.pod:968 msgid "Ambiguity between devices and paths" msgstr "" #. type: textblock -#: ../src/guestfs.pod:968 +#: ../src/guestfs.pod:970 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 " @@ -49344,7 +49516,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:973 +#: ../src/guestfs.pod:975 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>. " @@ -49353,7 +49525,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:979 +#: ../src/guestfs.pod:981 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 " @@ -49363,7 +49535,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:985 +#: ../src/guestfs.pod:987 #, no-wrap msgid "" " type path = Path of string | Device of int | Partition of int * int\n" @@ -49371,12 +49543,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:987 +#: ../src/guestfs.pod:989 msgid "which would allow you to pass arguments like:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:989 +#: ../src/guestfs.pod:991 #, no-wrap msgid "" " Path \"/foo/bar\"\n" @@ -49387,26 +49559,26 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:994 +#: ../src/guestfs.pod:996 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:999 +#: ../src/guestfs.pod:1001 msgid "KEYS AND PASSPHRASES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1001 +#: ../src/guestfs.pod:1003 msgid "" "Certain libguestfs calls take a parameter that contains sensitive key " "material, passed in as a C string." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1004 +#: ../src/guestfs.pod:1006 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 " @@ -49415,7 +49587,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1009 +#: ../src/guestfs.pod:1011 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, " @@ -49423,19 +49595,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1014 +#: ../src/guestfs.pod:1016 msgid "MULTIPLE HANDLES AND MULTIPLE THREADS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1016 +#: ../src/guestfs.pod:1018 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:1019 +#: ../src/guestfs.pod:1021 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 " @@ -49443,33 +49615,33 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1023 +#: ../src/guestfs.pod:1025 msgid "" "See the graphical program guestfs-browser for one possible architecture for " "multithreaded programs using libvirt and libguestfs." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1026 +#: ../src/guestfs.pod:1028 msgid "PATH" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1028 +#: ../src/guestfs.pod:1030 msgid "" "Libguestfs needs a supermin appliance, which it finds by looking along an " "internal path." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1031 +#: ../src/guestfs.pod:1033 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:1034 +#: ../src/guestfs.pod:1036 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 " @@ -49480,12 +49652,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1041 +#: ../src/guestfs.pod:1043 msgid "QEMU WRAPPERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1043 +#: ../src/guestfs.pod:1045 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 " @@ -49493,7 +49665,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1047 +#: ../src/guestfs.pod:1049 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 " @@ -49502,14 +49674,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1052 +#: ../src/guestfs.pod:1054 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:1055 +#: ../src/guestfs.pod:1057 #, no-wrap msgid "" " #!/bin/sh -\n" @@ -49520,7 +49692,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1059 +#: ../src/guestfs.pod:1061 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 " @@ -49528,7 +49700,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1063 +#: ../src/guestfs.pod:1065 #, no-wrap msgid "" " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n" @@ -49536,14 +49708,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1065 +#: ../src/guestfs.pod:1067 msgid "" "Note that libguestfs also calls qemu with the -help and -version options in " "order to determine features." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1068 +#: ../src/guestfs.pod:1070 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 " @@ -49553,7 +49725,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1077 +#: ../src/guestfs.pod:1079 #, no-wrap msgid "" " i=0\n" @@ -49571,7 +49743,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1089 +#: ../src/guestfs.pod:1091 #, no-wrap msgid "" " exec qemu-kvm -machine pc,accel=tcg \"${args[@]}\"\n" @@ -49579,19 +49751,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1091 +#: ../src/guestfs.pod:1093 msgid "ATTACHING TO RUNNING DAEMONS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1093 +#: ../src/guestfs.pod:1095 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:1096 +#: ../src/guestfs.pod:1098 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 " @@ -49599,12 +49771,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:1100 +#: ../src/guestfs.pod:1102 msgid "Using guestfs_set_attach_method" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1102 +#: ../src/guestfs.pod:1104 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 " @@ -49612,7 +49784,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1106 +#: ../src/guestfs.pod:1108 msgid "" "The normal attach method is C<appliance>, where a small appliance is created " "containing the daemon, and then the library connects to this. C<libvirt> or " @@ -49620,7 +49792,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1111 +#: ../src/guestfs.pod:1113 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 " @@ -49628,7 +49800,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1115 +#: ../src/guestfs.pod:1117 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 " @@ -49636,12 +49808,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:1119 +#: ../src/guestfs.pod:1121 msgid "Using guestfs_add_domain with live flag" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1121 +#: ../src/guestfs.pod:1123 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 " @@ -49650,7 +49822,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1127 +#: ../src/guestfs.pod:1129 #, no-wrap msgid "" " <domain>\n" @@ -49668,14 +49840,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1139 +#: ../src/guestfs.pod:1141 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:1142 +#: ../src/guestfs.pod:1144 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 " @@ -49683,19 +49855,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1146 +#: ../src/guestfs.pod:1148 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:1150 +#: ../src/guestfs.pod:1152 msgid "ABI GUARANTEE" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1152 +#: ../src/guestfs.pod:1154 msgid "" "We guarantee the libguestfs ABI (binary interface), for public, high-level " "actions as outlined in this section. Although we will deprecate some " @@ -49705,12 +49877,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1158 +#: ../src/guestfs.pod:1160 msgid "BLOCK DEVICE NAMING" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1160 +#: ../src/guestfs.pod:1162 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 " @@ -49725,7 +49897,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1172 +#: ../src/guestfs.pod:1174 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 " @@ -49733,7 +49905,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1176 +#: ../src/guestfs.pod:1178 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 " @@ -49741,7 +49913,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1181 +#: ../src/guestfs.pod:1183 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 " @@ -49750,7 +49922,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1187 +#: ../src/guestfs.pod:1189 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 " @@ -49759,12 +49931,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:1192 +#: ../src/guestfs.pod:1194 msgid "ALGORITHM FOR BLOCK DEVICE NAME TRANSLATION" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1194 +#: ../src/guestfs.pod:1196 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 " @@ -49774,7 +49946,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1200 +#: ../src/guestfs.pod:1202 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 " @@ -49782,54 +49954,54 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1208 +#: ../src/guestfs.pod:1210 msgid "Is the string a parameter which is a device or partition name?" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1212 +#: ../src/guestfs.pod:1214 msgid "Does the string begin with C</dev/sd>?" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1216 +#: ../src/guestfs.pod:1218 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:1221 +#: ../src/guestfs.pod:1223 msgid "Replace initial C</dev/sd> string with C</dev/hd>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1223 +#: ../src/guestfs.pod:1225 msgid "For example, change C</dev/sda2> to C</dev/hda2>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1225 +#: ../src/guestfs.pod:1227 msgid "If that named device exists, use it. If not, continue." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1229 +#: ../src/guestfs.pod:1231 msgid "Replace initial C</dev/sd> string with C</dev/vd>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1231 +#: ../src/guestfs.pod:1233 msgid "If that named device exists, use it. If not, return an error." msgstr "" #. type: =head3 -#: ../src/guestfs.pod:1235 +#: ../src/guestfs.pod:1237 msgid "PORTABILITY CONCERNS WITH BLOCK DEVICE NAMING" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1237 +#: ../src/guestfs.pod:1239 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 " @@ -49837,38 +50009,38 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1241 +#: ../src/guestfs.pod:1243 msgid "" "Where possible for maximum future portability programs using libguestfs " "should use these future-proof techniques:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1248 +#: ../src/guestfs.pod:1250 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:1251 +#: ../src/guestfs.pod:1253 msgid "Since those device names exist by definition, they will never be translated." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1256 +#: ../src/guestfs.pod:1258 msgid "" "Use higher level ways to identify filesystems, such as LVM names, UUIDs and " "filesystem labels." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1261 +#: ../src/guestfs.pod:1263 msgid "NULL DISKS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1263 +#: ../src/guestfs.pod:1265 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 " @@ -49876,46 +50048,46 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1267 +#: ../src/guestfs.pod:1269 msgid "A null disk has the following properties:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1273 +#: ../src/guestfs.pod:1275 msgid "" "A null disk will appear as a normal device, eg. in calls to " "L</guestfs_list_devices>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1278 +#: ../src/guestfs.pod:1280 msgid "You may add C<\"/dev/null\"> multiple times." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1282 +#: ../src/guestfs.pod:1284 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:1287 +#: ../src/guestfs.pod:1289 msgid "Null disks are used for three main purposes:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1293 +#: ../src/guestfs.pod:1295 msgid "Performance testing of libguestfs (see L<guestfs-performance(1)>)." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1297 +#: ../src/guestfs.pod:1299 msgid "The internal test suite." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1301 +#: ../src/guestfs.pod:1303 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 " @@ -49923,12 +50095,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1305 +#: ../src/guestfs.pod:1307 msgid "For example, to test if a feature is available, use code like this:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1307 +#: ../src/guestfs.pod:1309 #, no-wrap msgid "" " guestfs_h *g;\n" @@ -49937,7 +50109,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1310 +#: ../src/guestfs.pod:1312 #, no-wrap msgid "" " g = guestfs_create ();\n" @@ -49953,19 +50125,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1322 +#: ../src/guestfs.pod:1324 msgid "DISK IMAGE FORMATS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1324 +#: ../src/guestfs.pod:1326 msgid "" "Virtual disks come in a variety of formats. Some common formats are listed " "below." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1327 +#: ../src/guestfs.pod:1329 msgid "" "Note that libguestfs itself is not responsible for handling the disk format: " "this is done using L<qemu(1)>. If support for a particular format is " @@ -49973,24 +50145,24 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:1331 +#: ../src/guestfs.pod:1333 msgid "COMMON VIRTUAL DISK IMAGE FORMATS" msgstr "" #. type: =item -#: ../src/guestfs.pod:1335 +#: ../src/guestfs.pod:1337 msgid "I<raw>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1337 +#: ../src/guestfs.pod:1339 msgid "" "Raw format is simply a dump of the sequential bytes of the virtual hard " "disk. There is no header, container, compression or processing of any sort." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1341 +#: ../src/guestfs.pod:1343 msgid "" "Since raw format requires no translation to read or write, it is both fast " "and very well supported by qemu and all other hypervisors. You can consider " @@ -49998,7 +50170,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1346 +#: ../src/guestfs.pod:1348 msgid "" "Raw format files are not compressed and so take up the full space of the " "original disk image even when they are empty. A variation (on Linux/Unix at " @@ -50009,12 +50181,12 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:1353 +#: ../src/guestfs.pod:1355 msgid "I<qcow2>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1355 +#: ../src/guestfs.pod:1357 msgid "" "Qcow2 is the native disk image format used by qemu. Internally it uses a " "two-level directory structure so that only blocks containing data are stored " @@ -50023,19 +50195,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1360 +#: ../src/guestfs.pod:1362 msgid "" "There are at least two distinct variants of this format, although qemu (and " "hence libguestfs) handles both transparently to the user." msgstr "" #. type: =item -#: ../src/guestfs.pod:1363 +#: ../src/guestfs.pod:1365 msgid "I<vmdk>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1365 +#: ../src/guestfs.pod:1367 msgid "" "VMDK is VMware's native disk image format. There are many variations. " "Modern qemu (hence libguestfs) supports most variations, but you should be " @@ -50044,7 +50216,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1370 +#: ../src/guestfs.pod:1372 msgid "" "Note that VMware ESX exposes files with the name C<guest-flat.vmdk>. These " "are not VMDK. They are raw format files which happen to have a C<.vmdk> " @@ -50052,53 +50224,53 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:1374 +#: ../src/guestfs.pod:1376 msgid "I<vdi>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1376 +#: ../src/guestfs.pod:1378 msgid "" "VDI is VirtualBox's native disk image format. Qemu (hence libguestfs) has " "generally good support for this." msgstr "" #. type: =item -#: ../src/guestfs.pod:1379 +#: ../src/guestfs.pod:1381 msgid "I<vpc>" msgstr "" #. type: =item -#: ../src/guestfs.pod:1381 +#: ../src/guestfs.pod:1383 msgid "I<vhd>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1383 +#: ../src/guestfs.pod:1385 msgid "" "VPC (old) and VHD (modern) are the native disk image format of Microsoft " "(and previously, Connectix) Virtual PC and Hyper-V." msgstr "" #. type: =item -#: ../src/guestfs.pod:1386 +#: ../src/guestfs.pod:1388 msgid "Obsolete formats" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1388 +#: ../src/guestfs.pod:1390 msgid "" "The following formats are obsolete and should not be used: I<qcow> (aka " "I<qcow1>), I<cow>, I<bochs>." msgstr "" #. type: =head3 -#: ../src/guestfs.pod:1393 +#: ../src/guestfs.pod:1395 msgid "DETECTING THE FORMAT OF A DISK IMAGE" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1395 +#: ../src/guestfs.pod:1397 msgid "" "Firstly note there is a security issue with auto-detecting the format of a " "disk image. It may or may not apply in your use case. Read " @@ -50106,14 +50278,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1399 +#: ../src/guestfs.pod:1401 msgid "" "Libguestfs offers an API to get the format of a disk image " "(L</guestfs_disk_format>, and it is safest to use this." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1402 +#: ../src/guestfs.pod:1404 msgid "" "I<Don't> be tempted to try parsing the text / human-readable output of " "C<qemu-img> since it cannot be parsed reliably and securely. Also do not " @@ -50121,24 +50293,24 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:1407 ../sysprep/virt-sysprep.pod:424 +#: ../src/guestfs.pod:1409 ../sysprep/virt-sysprep.pod:424 msgid "SECURITY" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1409 +#: ../src/guestfs.pod:1411 msgid "" "This section discusses security implications of using libguestfs, " "particularly with untrusted or malicious guests or disk images." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1412 +#: ../src/guestfs.pod:1414 msgid "GENERAL SECURITY CONSIDERATIONS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1414 +#: ../src/guestfs.pod:1416 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 " @@ -50148,42 +50320,42 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1424 +#: ../src/guestfs.pod:1426 msgid "the data (file etc) not being present" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1428 +#: ../src/guestfs.pod:1430 msgid "being present but empty" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1432 +#: ../src/guestfs.pod:1434 msgid "being much larger than normal" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1436 +#: ../src/guestfs.pod:1438 msgid "containing arbitrary 8 bit data" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1440 +#: ../src/guestfs.pod:1442 msgid "being in an unexpected character encoding" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1444 +#: ../src/guestfs.pod:1446 msgid "containing homoglyphs." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1448 +#: ../src/guestfs.pod:1450 msgid "SECURITY OF MOUNTING FILESYSTEMS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1450 +#: ../src/guestfs.pod:1452 msgid "" "When you mount a filesystem under Linux, mistakes in the kernel filesystem " "(VFS) module can sometimes be escalated into exploits by deliberately " @@ -50199,7 +50371,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1463 +#: ../src/guestfs.pod:1465 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 " @@ -50213,19 +50385,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1474 +#: ../src/guestfs.pod:1476 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:1477 +#: ../src/guestfs.pod:1479 msgid "PROTOCOL SECURITY" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1479 +#: ../src/guestfs.pod:1481 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 " @@ -50235,12 +50407,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1485 +#: ../src/guestfs.pod:1487 msgid "INSPECTION SECURITY" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1487 +#: ../src/guestfs.pod:1489 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 " @@ -50249,7 +50421,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1493 +#: ../src/guestfs.pod:1495 msgid "" "Guest configuration may be altered in unusual ways by the administrator of " "the virtual machine, and may not reflect reality (particularly for untrusted " @@ -50260,7 +50432,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1501 +#: ../src/guestfs.pod:1503 msgid "" "The inspection API parses guest configuration using two external libraries: " "Augeas (Linux configuration) and hivex (Windows Registry). Both are " @@ -50270,12 +50442,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1507 +#: ../src/guestfs.pod:1509 msgid "RUNNING UNTRUSTED GUEST COMMANDS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1509 +#: ../src/guestfs.pod:1511 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 " @@ -50285,24 +50457,24 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1515 +#: ../src/guestfs.pod:1517 msgid "CVE-2010-3851" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1517 +#: ../src/guestfs.pod:1519 msgid "L<https://bugzilla.redhat.com/642934>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1519 +#: ../src/guestfs.pod:1521 msgid "" "This security bug concerns the automatic disk format detection that qemu " "does on disk images." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1522 +#: ../src/guestfs.pod:1524 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 " @@ -50311,7 +50483,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1527 +#: ../src/guestfs.pod:1529 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 " @@ -50320,7 +50492,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1532 +#: ../src/guestfs.pod:1534 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 " @@ -50332,24 +50504,24 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1540 +#: ../src/guestfs.pod:1542 msgid "In libguestfs this is rather hard to exploit except under two circumstances:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1547 +#: ../src/guestfs.pod:1549 msgid "You have enabled the network or have opened the disk in write mode." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1551 +#: ../src/guestfs.pod:1553 msgid "" "You are also running untrusted code from the guest (see L</RUNNING " "COMMANDS>)." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1556 +#: ../src/guestfs.pod:1558 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 " @@ -50358,31 +50530,31 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1562 +#: ../src/guestfs.pod:1564 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:1565 +#: ../src/guestfs.pod:1567 msgid "" "For libguestfs tools, use the I<--format> command line parameter as " "appropriate." msgstr "" #. type: =head1 -#: ../src/guestfs.pod:1568 +#: ../src/guestfs.pod:1570 msgid "CONNECTION MANAGEMENT" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1570 +#: ../src/guestfs.pod:1572 msgid "guestfs_h *" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1572 +#: ../src/guestfs.pod:1574 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 " @@ -50390,19 +50562,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1576 +#: ../src/guestfs.pod:1578 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:1579 +#: ../src/guestfs.pod:1581 msgid "guestfs_create" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1581 +#: ../src/guestfs.pod:1583 #, no-wrap msgid "" " guestfs_h *guestfs_create (void);\n" @@ -50410,19 +50582,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1583 +#: ../src/guestfs.pod:1585 msgid "Create a connection handle." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1585 +#: ../src/guestfs.pod:1587 msgid "" "On success this returns a non-NULL pointer to a handle. On error it returns " "NULL." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1588 +#: ../src/guestfs.pod:1590 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 " @@ -50430,24 +50602,24 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1592 +#: ../src/guestfs.pod:1594 msgid "After configuring the handle, you have to call L</guestfs_launch>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1594 +#: ../src/guestfs.pod:1596 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:1597 +#: ../src/guestfs.pod:1599 msgid "guestfs_close" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1599 +#: ../src/guestfs.pod:1601 #, no-wrap msgid "" " void guestfs_close (guestfs_h *g);\n" @@ -50455,19 +50627,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1601 +#: ../src/guestfs.pod:1603 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:1604 +#: ../src/guestfs.pod:1606 msgid "The correct way to close the handle is:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1606 +#: ../src/guestfs.pod:1608 #, no-wrap msgid "" " if (guestfs_shutdown (g) == -1) {\n" @@ -50478,51 +50650,51 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1611 +#: ../src/guestfs.pod:1613 msgid "L</guestfs_shutdown> is only needed if B<all> of the following are true:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1617 +#: ../src/guestfs.pod:1619 msgid "one or more disks were added in read-write mode, I<and>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1621 +#: ../src/guestfs.pod:1623 msgid "guestfs_launch was called, I<and>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1625 +#: ../src/guestfs.pod:1627 msgid "you made some changes, I<and>" msgstr "" #. type: =item -#: ../src/guestfs.pod:1627 +#: ../src/guestfs.pod:1629 msgid "4" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1629 +#: ../src/guestfs.pod:1631 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:1634 +#: ../src/guestfs.pod:1636 msgid "ERROR HANDLING" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1636 +#: ../src/guestfs.pod:1638 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:1639 +#: ../src/guestfs.pod:1641 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 " @@ -50530,7 +50702,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1643 +#: ../src/guestfs.pod:1645 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 " @@ -50538,7 +50710,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1648 +#: ../src/guestfs.pod:1650 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 " @@ -50546,7 +50718,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1652 +#: ../src/guestfs.pod:1654 #, no-wrap msgid "" " if (guestfs_launch (g) == -1)\n" @@ -50555,21 +50727,21 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1655 +#: ../src/guestfs.pod:1657 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:1658 +#: ../src/guestfs.pod:1660 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:1661 +#: ../src/guestfs.pod:1663 #, no-wrap msgid "" " /* This disables the default behaviour of printing errors\n" @@ -50579,7 +50751,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1665 +#: ../src/guestfs.pod:1667 #, no-wrap msgid "" " if (guestfs_launch (g) == -1) {\n" @@ -50596,7 +50768,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1676 +#: ../src/guestfs.pod:1678 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 " @@ -50604,7 +50776,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1680 +#: ../src/guestfs.pod:1682 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 " @@ -50614,12 +50786,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1686 +#: ../src/guestfs.pod:1688 msgid "guestfs_last_error" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1688 +#: ../src/guestfs.pod:1690 #, no-wrap msgid "" " const char *guestfs_last_error (guestfs_h *g);\n" @@ -50627,26 +50799,26 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1690 +#: ../src/guestfs.pod:1692 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:1694 +#: ../src/guestfs.pod:1696 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:1697 +#: ../src/guestfs.pod:1699 msgid "guestfs_last_errno" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1699 +#: ../src/guestfs.pod:1701 #, no-wrap msgid "" " int guestfs_last_errno (guestfs_h *g);\n" @@ -50654,27 +50826,27 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1701 +#: ../src/guestfs.pod:1703 msgid "This returns the last error number (errno) that happened on C<g>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1703 +#: ../src/guestfs.pod:1705 msgid "If successful, an errno integer not equal to zero is returned." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1705 +#: ../src/guestfs.pod:1707 msgid "If no error, this returns 0. This call can return 0 in three situations:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1712 +#: ../src/guestfs.pod:1714 msgid "There has not been any error on the handle." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1716 +#: ../src/guestfs.pod:1718 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 " @@ -50682,14 +50854,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1722 +#: ../src/guestfs.pod:1724 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:1728 +#: ../src/guestfs.pod:1730 msgid "" "Libguestfs tries to convert the errno from inside the applicance into a " "corresponding errno for the caller (not entirely trivial: the appliance " @@ -50700,12 +50872,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1736 +#: ../src/guestfs.pod:1738 msgid "guestfs_set_error_handler" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1738 +#: ../src/guestfs.pod:1740 #, no-wrap msgid "" " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n" @@ -50718,7 +50890,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1745 +#: ../src/guestfs.pod:1747 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 " @@ -50726,14 +50898,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1749 +#: ../src/guestfs.pod:1751 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:1752 +#: ../src/guestfs.pod:1754 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 " @@ -50741,22 +50913,22 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1756 +#: ../src/guestfs.pod:1758 msgid "The default handler prints messages on C<stderr>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1758 +#: ../src/guestfs.pod:1760 msgid "If you set C<cb> to C<NULL> then I<no> handler is called." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1760 +#: ../src/guestfs.pod:1762 msgid "guestfs_get_error_handler" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1762 +#: ../src/guestfs.pod:1764 #, no-wrap msgid "" " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n" @@ -50765,17 +50937,17 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1765 +#: ../src/guestfs.pod:1767 msgid "Returns the current error handler callback." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1767 +#: ../src/guestfs.pod:1769 msgid "guestfs_set_out_of_memory_handler" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1769 +#: ../src/guestfs.pod:1771 #, no-wrap msgid "" " typedef void (*guestfs_abort_cb) (void);\n" @@ -50785,29 +50957,29 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1773 +#: ../src/guestfs.pod:1775 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:1776 +#: ../src/guestfs.pod:1778 msgid "The default is to call L<abort(3)>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1778 +#: ../src/guestfs.pod:1780 msgid "You cannot set C<cb> to C<NULL>. You can't ignore out of memory situations." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1781 +#: ../src/guestfs.pod:1783 msgid "guestfs_get_out_of_memory_handler" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1783 +#: ../src/guestfs.pod:1785 #, no-wrap msgid "" " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n" @@ -50815,37 +50987,37 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1785 +#: ../src/guestfs.pod:1787 msgid "This returns the current out of memory handler." msgstr "" #. type: =head1 -#: ../src/guestfs.pod:1787 +#: ../src/guestfs.pod:1789 msgid "API CALLS" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:1791 +#: ../src/guestfs.pod:1793 msgid "STRUCTURES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1793 +#: ../src/guestfs.pod:1795 msgid "@STRUCTS@" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:1795 +#: ../src/guestfs.pod:1797 msgid "AVAILABILITY" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1797 +#: ../src/guestfs.pod:1799 msgid "GROUPS OF FUNCTIONALITY IN THE APPLIANCE" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1799 +#: ../src/guestfs.pod:1801 msgid "" "Using L</guestfs_available> you can test availability of the following " "groups of functions. This test queries the appliance to see if the " @@ -50853,29 +51025,29 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1804 +#: ../src/guestfs.pod:1806 msgid "@AVAILABILITY@" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1806 +#: ../src/guestfs.pod:1808 msgid "FILESYSTEM AVAILABLE" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1808 +#: ../src/guestfs.pod:1810 msgid "" "The L</guestfs_filesystem_available> call tests whether a filesystem type is " "supported by the appliance kernel." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1816 +#: ../src/guestfs.pod:1818 msgid "GUESTFISH supported COMMAND" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1818 +#: ../src/guestfs.pod:1820 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 " @@ -50883,19 +51055,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1823 +#: ../src/guestfs.pod:1825 msgid "SINGLE CALLS AT COMPILE TIME" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1825 +#: ../src/guestfs.pod:1827 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:1828 +#: ../src/guestfs.pod:1830 #, no-wrap msgid "" " #define LIBGUESTFS_HAVE_DD 1\n" @@ -50903,12 +51075,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1830 +#: ../src/guestfs.pod:1832 msgid "if L</guestfs_dd> is available." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1832 +#: ../src/guestfs.pod:1834 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 " @@ -50916,7 +51088,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1837 +#: ../src/guestfs.pod:1839 #, no-wrap msgid "" " AC_CHECK_LIB([guestfs],[guestfs_create])\n" @@ -50925,19 +51097,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1840 +#: ../src/guestfs.pod:1842 msgid "" "which would result in C<HAVE_GUESTFS_DD> being either defined or not defined " "in your program." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1843 +#: ../src/guestfs.pod:1845 msgid "SINGLE CALLS AT RUN TIME" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1845 +#: ../src/guestfs.pod:1847 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 " @@ -50947,7 +51119,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1852 +#: ../src/guestfs.pod:1854 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 " @@ -50955,7 +51127,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1856 +#: ../src/guestfs.pod:1858 #, no-wrap msgid "" " #include <stdio.h>\n" @@ -50967,7 +51139,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1862 +#: ../src/guestfs.pod:1864 #, no-wrap msgid "" " main ()\n" @@ -50979,7 +51151,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1868 +#: ../src/guestfs.pod:1870 #, no-wrap msgid "" " /* Test if the function guestfs_dd is really available. */\n" @@ -50994,7 +51166,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1877 +#: ../src/guestfs.pod:1879 #, no-wrap msgid "" " if (!has_function)\n" @@ -51013,7 +51185,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1890 +#: ../src/guestfs.pod:1892 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 " @@ -51021,7 +51193,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1895 +#: ../src/guestfs.pod:1897 #, no-wrap msgid "" " Requires: libguestfs >= 1.0.80\n" @@ -51029,12 +51201,12 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:1897 +#: ../src/guestfs.pod:1899 msgid "CALLS WITH OPTIONAL ARGUMENTS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1899 +#: ../src/guestfs.pod:1901 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 " @@ -51042,7 +51214,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1904 +#: ../src/guestfs.pod:1906 #, no-wrap msgid "" " int guestfs_add_drive_opts (guestfs_h *g, const char *filename, ...);\n" @@ -51050,14 +51222,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1906 +#: ../src/guestfs.pod:1908 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:1909 +#: ../src/guestfs.pod:1911 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename, -1);\n" @@ -51065,12 +51237,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1911 +#: ../src/guestfs.pod:1913 msgid "With a single optional argument:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1913 +#: ../src/guestfs.pod:1915 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename,\n" @@ -51080,12 +51252,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1917 +#: ../src/guestfs.pod:1919 msgid "With two:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1919 +#: ../src/guestfs.pod:1921 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename,\n" @@ -51096,19 +51268,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1924 +#: ../src/guestfs.pod:1926 msgid "" "and so forth. Don't forget the terminating C<-1> otherwise Bad Things will " "happen!" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1927 +#: ../src/guestfs.pod:1929 msgid "USING va_list FOR OPTIONAL ARGUMENTS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1929 +#: ../src/guestfs.pod:1931 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 " @@ -51116,7 +51288,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1933 +#: ../src/guestfs.pod:1935 #, no-wrap msgid "" " int guestfs_add_drive_opts_va (guestfs_h *g, const char *filename,\n" @@ -51125,12 +51297,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1936 +#: ../src/guestfs.pod:1938 msgid "CONSTRUCTING OPTIONAL ARGUMENTS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1938 +#: ../src/guestfs.pod:1940 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 " @@ -51140,7 +51312,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1944 +#: ../src/guestfs.pod:1946 #, no-wrap msgid "" " struct guestfs_add_drive_opts_argv {\n" @@ -51155,12 +51327,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1953 +#: ../src/guestfs.pod:1955 msgid "You could call it like this:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1955 +#: ../src/guestfs.pod:1957 #, no-wrap msgid "" " struct guestfs_add_drive_opts_argv optargs = {\n" @@ -51173,7 +51345,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1962 +#: ../src/guestfs.pod:1964 #, no-wrap msgid "" " guestfs_add_drive_opts_argv (g, filename, &optargs);\n" @@ -51181,29 +51353,29 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1970 +#: ../src/guestfs.pod:1972 msgid "The C<_BITMASK> suffix on each option name when specifying the bitmask." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1975 +#: ../src/guestfs.pod:1977 msgid "You do not need to fill in all fields of the structure." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1979 +#: ../src/guestfs.pod:1981 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:1984 +#: ../src/guestfs.pod:1986 msgid "OPTIONAL ARGUMENTS IN OTHER LANGUAGES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1986 +#: ../src/guestfs.pod:1988 msgid "" "In other languages, optional arguments are expressed in the way that is " "natural for that language. We refer you to the language-specific " @@ -51211,17 +51383,17 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1990 +#: ../src/guestfs.pod:1992 msgid "For guestfish, see L<guestfish(1)/OPTIONAL ARGUMENTS>." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1992 +#: ../src/guestfs.pod:1994 msgid "SETTING CALLBACKS TO HANDLE EVENTS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1994 +#: ../src/guestfs.pod:1996 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 " @@ -51233,7 +51405,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2003 +#: ../src/guestfs.pod:2005 msgid "" "Handles generate events when certain things happen, such as log messages " "being generated, progress messages during long-running operations, or the " @@ -51245,7 +51417,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2011 +#: ../src/guestfs.pod:2013 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 " @@ -51254,31 +51426,31 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2016 +#: ../src/guestfs.pod:2018 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:2020 +#: ../src/guestfs.pod:2022 msgid "CLASSES OF EVENTS" msgstr "" #. type: =item -#: ../src/guestfs.pod:2024 +#: ../src/guestfs.pod:2026 msgid "GUESTFS_EVENT_CLOSE (payload type: void)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2027 +#: ../src/guestfs.pod:2029 msgid "" "The callback function will be called while the handle is being closed " "(synchronously from L</guestfs_close>)." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2030 +#: ../src/guestfs.pod:2032 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 " @@ -51289,19 +51461,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2037 +#: ../src/guestfs.pod:2039 msgid "" "If no callback is registered: the handle is closed without any callback " "being invoked." msgstr "" #. type: =item -#: ../src/guestfs.pod:2040 +#: ../src/guestfs.pod:2042 msgid "GUESTFS_EVENT_SUBPROCESS_QUIT (payload type: void)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2043 +#: ../src/guestfs.pod:2045 msgid "" "The callback function will be called when the child process quits, either " "asynchronously or if killed by L</guestfs_kill_subprocess>. (This " @@ -51309,17 +51481,17 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2047 ../src/guestfs.pod:2056 ../src/guestfs.pod:2173 +#: ../src/guestfs.pod:2049 ../src/guestfs.pod:2058 ../src/guestfs.pod:2175 msgid "If no callback is registered: the event is ignored." msgstr "" #. type: =item -#: ../src/guestfs.pod:2049 +#: ../src/guestfs.pod:2051 msgid "GUESTFS_EVENT_LAUNCH_DONE (payload type: void)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2052 +#: ../src/guestfs.pod:2054 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 " @@ -51327,12 +51499,12 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:2058 +#: ../src/guestfs.pod:2060 msgid "GUESTFS_EVENT_PROGRESS (payload type: array of 4 x uint64_t)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2061 +#: ../src/guestfs.pod:2063 msgid "" "Some long-running operations can generate progress messages. If this " "callback is registered, then it will be called each time a progress message " @@ -51342,14 +51514,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2067 +#: ../src/guestfs.pod:2069 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:2070 +#: ../src/guestfs.pod:2072 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 " @@ -51358,24 +51530,24 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2075 +#: ../src/guestfs.pod:2077 msgid "The only defined and stable parts of the API are:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2081 +#: ../src/guestfs.pod:2083 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:2086 +#: ../src/guestfs.pod:2088 msgid "0 E<lt>= C<position> E<lt>= C<total>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2090 +#: ../src/guestfs.pod:2092 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 " @@ -51383,7 +51555,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2094 +#: ../src/guestfs.pod:2096 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 " @@ -51391,7 +51563,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2100 +#: ../src/guestfs.pod:2102 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 " @@ -51400,7 +51572,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2105 +#: ../src/guestfs.pod:2107 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 " @@ -51408,14 +51580,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2109 +#: ../src/guestfs.pod:2111 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:2114 +#: ../src/guestfs.pod:2116 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 " @@ -51424,31 +51596,31 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2120 +#: ../src/guestfs.pod:2122 msgid "If no callback is registered: progress messages are discarded." msgstr "" #. type: =item -#: ../src/guestfs.pod:2122 +#: ../src/guestfs.pod:2124 msgid "GUESTFS_EVENT_APPLIANCE (payload type: message buffer)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2125 +#: ../src/guestfs.pod:2127 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:2128 +#: ../src/guestfs.pod:2130 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:2131 ../src/guestfs.pod:2145 +#: ../src/guestfs.pod:2133 ../src/guestfs.pod:2147 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 " @@ -51456,62 +51628,62 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:2136 +#: ../src/guestfs.pod:2138 msgid "GUESTFS_EVENT_LIBRARY (payload type: message buffer)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2139 +#: ../src/guestfs.pod:2141 msgid "" "The callback function is called whenever a log message is generated by the " "library part of libguestfs." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2142 +#: ../src/guestfs.pod:2144 msgid "" "If the verbose flag (L</guestfs_set_verbose>) is set then additional debug " "messages are generated." msgstr "" #. type: =item -#: ../src/guestfs.pod:2150 +#: ../src/guestfs.pod:2152 msgid "GUESTFS_EVENT_TRACE (payload type: message buffer)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2153 +#: ../src/guestfs.pod:2155 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:2156 +#: ../src/guestfs.pod:2158 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:2160 +#: ../src/guestfs.pod:2162 msgid "GUESTFS_EVENT_ENTER (payload type: function name)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2163 +#: ../src/guestfs.pod:2165 msgid "The callback function is called whenever a libguestfs function is entered." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2166 +#: ../src/guestfs.pod:2168 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:2169 +#: ../src/guestfs.pod:2171 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 " @@ -51519,12 +51691,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2177 +#: ../src/guestfs.pod:2179 msgid "guestfs_set_event_callback" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2179 +#: ../src/guestfs.pod:2181 #, no-wrap msgid "" " int guestfs_set_event_callback (guestfs_h *g,\n" @@ -51536,14 +51708,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2185 +#: ../src/guestfs.pod:2187 msgid "" "This function registers a callback (C<cb>) for all event classes in the " "C<event_bitmask>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2188 +#: ../src/guestfs.pod:2190 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>. " @@ -51552,40 +51724,40 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2194 +#: ../src/guestfs.pod:2196 msgid "C<flags> should always be passed as 0." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2196 +#: ../src/guestfs.pod:2198 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:2199 +#: ../src/guestfs.pod:2201 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:2202 +#: ../src/guestfs.pod:2204 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:2205 +#: ../src/guestfs.pod:2207 msgid "" "Callbacks remain in effect until they are deleted, or until the handle is " "closed." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2208 +#: ../src/guestfs.pod:2210 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 " @@ -51593,12 +51765,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2212 +#: ../src/guestfs.pod:2214 msgid "guestfs_delete_event_callback" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2214 +#: ../src/guestfs.pod:2216 #, no-wrap msgid "" " void guestfs_delete_event_callback (guestfs_h *g, int event_handle);\n" @@ -51606,7 +51778,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2216 +#: ../src/guestfs.pod:2218 msgid "" "Delete a callback that was previously registered. C<event_handle> should be " "the integer that was returned by a previous call to " @@ -51614,12 +51786,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2220 +#: ../src/guestfs.pod:2222 msgid "guestfs_event_callback" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2222 +#: ../src/guestfs.pod:2224 #, no-wrap msgid "" " typedef void (*guestfs_event_callback) (\n" @@ -51634,12 +51806,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2231 +#: ../src/guestfs.pod:2233 msgid "This is the type of the event callback function that you have to provide." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2234 +#: ../src/guestfs.pod:2236 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 " @@ -51647,7 +51819,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2238 +#: ../src/guestfs.pod:2240 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 " @@ -51656,7 +51828,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2243 +#: ../src/guestfs.pod:2245 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 " @@ -51664,19 +51836,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2247 +#: ../src/guestfs.pod:2249 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:2250 +#: ../src/guestfs.pod:2252 msgid "EXAMPLE: CAPTURING LOG MESSAGES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2252 +#: ../src/guestfs.pod:2254 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 " @@ -51684,7 +51856,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2256 +#: ../src/guestfs.pod:2258 msgid "" "Events associated with log messages are: C<GUESTFS_EVENT_LIBRARY>, " "C<GUESTFS_EVENT_APPLIANCE> and C<GUESTFS_EVENT_TRACE>. (Note that error " @@ -51692,14 +51864,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2261 +#: ../src/guestfs.pod:2263 msgid "" "Programs have to set up a callback to capture the classes of events of " "interest:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2264 +#: ../src/guestfs.pod:2266 #, no-wrap msgid "" " int eh =\n" @@ -51715,14 +51887,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2274 +#: ../src/guestfs.pod:2276 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:2277 +#: ../src/guestfs.pod:2279 #, no-wrap msgid "" " static void\n" @@ -51743,12 +51915,12 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2292 +#: ../src/guestfs.pod:2294 msgid "CANCELLING LONG TRANSFERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2294 +#: ../src/guestfs.pod:2296 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 " @@ -51757,12 +51929,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:2299 +#: ../src/guestfs.pod:2301 msgid "guestfs_user_cancel" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2301 +#: ../src/guestfs.pod:2303 #, no-wrap msgid "" " void guestfs_user_cancel (guestfs_h *g);\n" @@ -51770,12 +51942,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2303 +#: ../src/guestfs.pod:2305 msgid "C<guestfs_user_cancel> cancels the current upload or download operation." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2306 +#: ../src/guestfs.pod:2308 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 " @@ -51783,7 +51955,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2310 +#: ../src/guestfs.pod:2312 msgid "" "The transfer that was in progress (if there is one) will stop shortly " "afterwards, and will return an error. The errno (see " @@ -51792,7 +51964,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2316 +#: ../src/guestfs.pod:2318 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 " @@ -51800,12 +51972,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2320 +#: ../src/guestfs.pod:2322 msgid "There are two common places that you might call C<guestfs_user_cancel>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2322 +#: ../src/guestfs.pod:2324 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 " @@ -51814,19 +51986,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2327 +#: ../src/guestfs.pod:2329 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:2331 +#: ../src/guestfs.pod:2333 msgid "PRIVATE DATA AREA" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2333 +#: ../src/guestfs.pod:2335 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 " @@ -51834,12 +52006,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2338 +#: ../src/guestfs.pod:2340 msgid "To attach a named piece of data, use the following call:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2340 +#: ../src/guestfs.pod:2342 #, no-wrap msgid "" " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n" @@ -51847,7 +52019,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2342 +#: ../src/guestfs.pod:2344 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 " @@ -51855,7 +52027,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2346 +#: ../src/guestfs.pod:2348 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 " @@ -51865,12 +52037,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2352 +#: ../src/guestfs.pod:2354 msgid "To retrieve the pointer, use:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2354 +#: ../src/guestfs.pod:2356 #, no-wrap msgid "" " void *guestfs_get_private (guestfs_h *g, const char *key);\n" @@ -51878,7 +52050,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2356 +#: ../src/guestfs.pod:2358 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 " @@ -51886,7 +52058,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2360 +#: ../src/guestfs.pod:2362 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 " @@ -51897,12 +52069,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2367 +#: ../src/guestfs.pod:2369 msgid "To walk over all entries, use these two functions:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2369 +#: ../src/guestfs.pod:2371 #, no-wrap msgid "" " void *guestfs_first_private (guestfs_h *g, const char **key_rtn);\n" @@ -51910,7 +52082,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2371 +#: ../src/guestfs.pod:2373 #, no-wrap msgid "" " void *guestfs_next_private (guestfs_h *g, const char **key_rtn);\n" @@ -51918,7 +52090,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2373 +#: ../src/guestfs.pod:2375 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 " @@ -51928,7 +52100,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2379 +#: ../src/guestfs.pod:2381 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 " @@ -51936,17 +52108,17 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2383 +#: ../src/guestfs.pod:2385 msgid "Notes about walking over entries:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2389 +#: ../src/guestfs.pod:2391 msgid "You must not call C<guestfs_set_private> while walking over the entries." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2394 +#: ../src/guestfs.pod:2396 msgid "" "The handle maintains an internal iterator which is reset when you call " "C<guestfs_first_private>. This internal iterator is invalidated when you " @@ -51954,12 +52126,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2400 +#: ../src/guestfs.pod:2402 msgid "If you have set the data pointer associated with a key to C<NULL>, ie:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2402 +#: ../src/guestfs.pod:2404 #, no-wrap msgid "" " guestfs_set_private (g, key, NULL);\n" @@ -51967,26 +52139,26 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2404 +#: ../src/guestfs.pod:2406 msgid "then that C<key> is not returned when walking." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2408 +#: ../src/guestfs.pod:2410 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:2414 +#: ../src/guestfs.pod:2416 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:2417 +#: ../src/guestfs.pod:2419 #, no-wrap msgid "" " const char *key;\n" @@ -52000,14 +52172,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2425 +#: ../src/guestfs.pod:2427 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:2428 +#: ../src/guestfs.pod:2430 #, no-wrap msgid "" " const char *key;\n" @@ -52022,7 +52194,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2437 +#: ../src/guestfs.pod:2439 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 " @@ -52030,7 +52202,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2441 +#: ../src/guestfs.pod:2443 #, no-wrap msgid "" " const char *key;\n" @@ -52052,7 +52224,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2457 +#: ../src/guestfs.pod:2459 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 " @@ -52061,12 +52233,12 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2462 +#: ../src/guestfs.pod:2464 msgid "SYSTEMTAP" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2464 +#: ../src/guestfs.pod:2466 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 " @@ -52074,12 +52246,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2468 +#: ../src/guestfs.pod:2470 msgid "You can list all the static markers by doing:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2470 +#: ../src/guestfs.pod:2472 #, no-wrap msgid "" " stap -l 'process(\"/usr/lib*/libguestfs.so.0\")\n" @@ -52088,26 +52260,26 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2473 +#: ../src/guestfs.pod:2475 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:2476 +#: ../src/guestfs.pod:2478 msgid "SYSTEMTAP SCRIPT EXAMPLE" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2478 +#: ../src/guestfs.pod:2480 msgid "" "This script contains examples of displaying both the static markers and some " "ordinary C entry points:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2505 +#: ../src/guestfs.pod:2507 #, no-wrap msgid "" " /* Display all calls to guestfs_mkfs* functions. */\n" @@ -52120,7 +52292,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2512 +#: ../src/guestfs.pod:2514 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 " @@ -52129,7 +52301,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2517 +#: ../src/guestfs.pod:2519 #, no-wrap msgid "" " # stap /tmp/test.stap\n" @@ -52138,17 +52310,17 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2520 +#: ../src/guestfs.pod:2522 msgid "In another terminal, run a guestfish command such as this:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2524 +#: ../src/guestfs.pod:2526 msgid "In the first terminal, stap trace output similar to this is shown:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2526 +#: ../src/guestfs.pod:2528 #, no-wrap msgid "" " 1318248056692655 (+0):\tlaunch_start\n" @@ -52162,19 +52334,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2535 +#: ../src/guestfs.pod:2537 msgid "" "<!-- old anchor for the next section --> <a " "name=\"state_machine_and_low_level_event_api\"/>" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2540 +#: ../src/guestfs.pod:2542 msgid "ARCHITECTURE" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2542 +#: ../src/guestfs.pod:2544 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 " @@ -52182,7 +52354,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2546 +#: ../src/guestfs.pod:2548 #, no-wrap msgid "" " ___________________\n" @@ -52208,14 +52380,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2566 +#: ../src/guestfs.pod:2568 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:2569 +#: ../src/guestfs.pod:2571 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 " @@ -52227,7 +52399,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2578 +#: ../src/guestfs.pod:2580 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 " @@ -52238,17 +52410,17 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2585 +#: ../src/guestfs.pod:2587 msgid "STATE MACHINE" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2587 +#: ../src/guestfs.pod:2589 msgid "libguestfs uses a state machine to model the child process:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2589 +#: ../src/guestfs.pod:2591 #, no-wrap msgid "" " |\n" @@ -52276,7 +52448,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2611 +#: ../src/guestfs.pod:2613 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), " @@ -52285,7 +52457,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2616 +#: ../src/guestfs.pod:2618 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 " @@ -52293,14 +52465,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2620 +#: ../src/guestfs.pod:2622 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:2623 +#: ../src/guestfs.pod:2625 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 " @@ -52309,7 +52481,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2629 +#: ../src/guestfs.pod:2631 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. " @@ -52318,7 +52490,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2634 +#: ../src/guestfs.pod:2636 msgid "" "Finally, the child process sends asynchronous messages back to the main " "program, such as kernel log messages. You can register a callback to " @@ -52326,17 +52498,17 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2638 +#: ../src/guestfs.pod:2640 msgid "INTERNALS" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:2640 +#: ../src/guestfs.pod:2642 msgid "APPLIANCE BOOT PROCESS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2642 +#: ../src/guestfs.pod:2644 msgid "" "This process has evolved and continues to evolve. The description here " "corresponds only to the current version of libguestfs and is provided for " @@ -52344,55 +52516,55 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2646 +#: ../src/guestfs.pod:2648 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:2651 +#: ../src/guestfs.pod:2653 msgid "Create the appliance" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2653 +#: ../src/guestfs.pod:2655 msgid "" "C<febootstrap-supermin-helper> is invoked to create the kernel, a small " "initrd and the appliance." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2656 +#: ../src/guestfs.pod:2658 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:2659 +#: ../src/guestfs.pod:2661 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:2663 +#: ../src/guestfs.pod:2665 msgid "Start qemu and boot the kernel" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2665 +#: ../src/guestfs.pod:2667 msgid "qemu is invoked to boot the kernel." msgstr "" #. type: =item -#: ../src/guestfs.pod:2667 +#: ../src/guestfs.pod:2669 msgid "Run the initrd" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2669 +#: ../src/guestfs.pod:2671 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 " @@ -52400,21 +52572,21 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2673 +#: ../src/guestfs.pod:2675 msgid "" "The initrd is a cpio archive called " "C</var/tmp/.guestfs-E<lt>UIDE<gt>/initrd>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2676 +#: ../src/guestfs.pod:2678 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:2679 +#: ../src/guestfs.pod:2681 #, no-wrap msgid "" " febootstrap: ext2 mini initrd starting up\n" @@ -52425,12 +52597,12 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:2684 +#: ../src/guestfs.pod:2686 msgid "Find and mount the appliance device" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2686 +#: ../src/guestfs.pod:2688 msgid "" "The appliance is a sparse file containing an ext2 filesystem which contains " "a familiar (although reduced in size) Linux operating system. It would " @@ -52438,33 +52610,33 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2690 +#: ../src/guestfs.pod:2692 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:2693 +#: ../src/guestfs.pod:2695 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:2696 +#: ../src/guestfs.pod:2698 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:2700 +#: ../src/guestfs.pod:2702 msgid "If this works successfully you will see messages such as:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2702 +#: ../src/guestfs.pod:2704 #, no-wrap msgid "" " febootstrap: picked /sys/block/vdb/dev as root device\n" @@ -52476,19 +52648,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2708 +#: ../src/guestfs.pod:2710 msgid "" "Note that C<Starting /init script ...> indicates that the appliance's init " "script is now running." msgstr "" #. type: =item -#: ../src/guestfs.pod:2711 +#: ../src/guestfs.pod:2713 msgid "Initialize the appliance" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2713 +#: ../src/guestfs.pod:2715 msgid "" "The appliance itself now initializes itself. This involves starting certain " "processes like C<udev>, possibly printing some debug information, and " @@ -52496,19 +52668,19 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:2717 +#: ../src/guestfs.pod:2719 msgid "The daemon" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2719 +#: ../src/guestfs.pod:2721 msgid "" "Finally the daemon (C<guestfsd>) runs inside the appliance. If it runs you " "should see:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2722 +#: ../src/guestfs.pod:2724 #, no-wrap msgid "" " verbose daemon enabled\n" @@ -52516,14 +52688,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2724 +#: ../src/guestfs.pod:2726 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:2727 +#: ../src/guestfs.pod:2729 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 " @@ -52531,19 +52703,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:2733 +#: ../src/guestfs.pod:2735 msgid "COMMUNICATION PROTOCOL" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2735 +#: ../src/guestfs.pod:2737 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:2738 +#: ../src/guestfs.pod:2740 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 " @@ -52551,14 +52723,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2742 +#: ../src/guestfs.pod:2744 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:2745 +#: ../src/guestfs.pod:2747 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 " @@ -52568,17 +52740,17 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2752 +#: ../src/guestfs.pod:2754 msgid "ORDINARY FUNCTIONS (NO FILEIN/FILEOUT PARAMS)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2754 +#: ../src/guestfs.pod:2756 msgid "For ordinary functions, the request message is:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2756 +#: ../src/guestfs.pod:2758 #, no-wrap msgid "" " total length (header + arguments,\n" @@ -52589,7 +52761,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2761 +#: ../src/guestfs.pod:2763 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 " @@ -52598,21 +52770,21 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2767 +#: ../src/guestfs.pod:2769 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:2770 +#: ../src/guestfs.pod:2772 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:2774 +#: ../src/guestfs.pod:2776 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 " @@ -52624,12 +52796,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2782 +#: ../src/guestfs.pod:2784 msgid "The reply message for ordinary functions is:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2784 +#: ../src/guestfs.pod:2786 #, no-wrap msgid "" " total length (header + ret,\n" @@ -52640,26 +52812,26 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2789 +#: ../src/guestfs.pod:2791 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:2792 +#: ../src/guestfs.pod:2794 msgid "As above the total length of the reply is limited to C<GUESTFS_MESSAGE_MAX>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2795 +#: ../src/guestfs.pod:2797 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:2798 +#: ../src/guestfs.pod:2800 #, no-wrap msgid "" " total length (header + error,\n" @@ -52670,19 +52842,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2803 +#: ../src/guestfs.pod:2805 msgid "" "The C<guestfs_message_error> structure contains the error message as a " "string." msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2806 +#: ../src/guestfs.pod:2808 msgid "FUNCTIONS THAT HAVE FILEIN PARAMETERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2808 +#: ../src/guestfs.pod:2810 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 " @@ -52690,7 +52862,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2812 +#: ../src/guestfs.pod:2814 #, no-wrap msgid "" " total length (header + arguments,\n" @@ -52704,12 +52876,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2820 +#: ../src/guestfs.pod:2822 msgid "The \"sequence of chunks\" is:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2822 +#: ../src/guestfs.pod:2824 #, no-wrap msgid "" " length of chunk (not including length word itself)\n" @@ -52723,7 +52895,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2830 +#: ../src/guestfs.pod:2832 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 " @@ -52731,7 +52903,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2834 +#: ../src/guestfs.pod:2836 msgid "" "At time of writing there are no functions that have more than one FileIn " "parameter. However this is (theoretically) supported, by sending the " @@ -52740,7 +52912,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2839 +#: ../src/guestfs.pod:2841 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 " @@ -52749,7 +52921,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2845 +#: ../src/guestfs.pod:2847 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 " @@ -52761,7 +52933,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2854 +#: ../src/guestfs.pod:2856 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 " @@ -52771,19 +52943,19 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2860 +#: ../src/guestfs.pod:2862 msgid "FUNCTIONS THAT HAVE FILEOUT PARAMETERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2862 +#: ../src/guestfs.pod:2864 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:2865 +#: ../src/guestfs.pod:2867 #, no-wrap msgid "" " total length (header + ret,\n" @@ -52797,12 +52969,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2873 +#: ../src/guestfs.pod:2875 msgid "INITIAL MESSAGE" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2875 +#: ../src/guestfs.pod:2877 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 " @@ -52810,12 +52982,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2879 +#: ../src/guestfs.pod:2881 msgid "PROGRESS NOTIFICATION MESSAGES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2881 +#: ../src/guestfs.pod:2883 msgid "" "The daemon may send progress notification messages at any time. These are " "distinguished by the normal length word being replaced by " @@ -52823,7 +52995,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2885 +#: ../src/guestfs.pod:2887 msgid "" "The library turns them into progress callbacks (see " "L</GUESTFS_EVENT_PROGRESS>) if there is a callback registered, or discards " @@ -52831,7 +53003,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2889 +#: ../src/guestfs.pod:2891 msgid "" "The daemon self-limits the frequency of progress messages it sends (see " "C<daemon/proto.c:notify_progress>). Not all calls generate progress " @@ -52839,12 +53011,12 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2893 +#: ../src/guestfs.pod:2895 msgid "LIBGUESTFS VERSION NUMBERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2895 +#: ../src/guestfs.pod:2897 msgid "" "Since April 2010, libguestfs has started to make separate development and " "stable releases, along with corresponding branches in our git repository. " @@ -52852,7 +53024,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2900 +#: ../src/guestfs.pod:2902 #, no-wrap msgid "" " even numbers for stable: 1.2.x, 1.4.x, ...\n" @@ -52869,12 +53041,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2911 +#: ../src/guestfs.pod:2913 msgid "Thus \"1.3.5\" is the 5th update to the development branch \"1.3\"." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2913 +#: ../src/guestfs.pod:2915 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 " @@ -52884,26 +53056,26 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2919 +#: ../src/guestfs.pod:2921 msgid "Our criteria for backporting changes are:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2925 +#: ../src/guestfs.pod:2927 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:2931 +#: ../src/guestfs.pod:2933 msgid "" "Bug fixes which are not controversial, fix obvious problems, and have been " "well tested are backported." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2936 +#: ../src/guestfs.pod:2938 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 " @@ -52911,7 +53083,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2942 +#: ../src/guestfs.pod:2944 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 " @@ -52919,7 +53091,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2948 +#: ../src/guestfs.pod:2950 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 " @@ -52930,17 +53102,17 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2956 +#: ../src/guestfs.pod:2958 msgid "EXTENDING LIBGUESTFS" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:2958 +#: ../src/guestfs.pod:2960 msgid "ADDING A NEW API ACTION" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2960 +#: ../src/guestfs.pod:2962 msgid "" "Large amounts of boilerplate code in libguestfs (RPC, bindings, " "documentation) are generated, and this makes it easy to extend the " @@ -52948,19 +53120,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2964 +#: ../src/guestfs.pod:2966 msgid "To add a new API action there are two changes:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2970 +#: ../src/guestfs.pod:2972 msgid "" "You need to add a description of the call (name, parameters, return type, " "tests, documentation) to C<generator/actions.ml>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2973 +#: ../src/guestfs.pod:2975 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 " @@ -52971,7 +53143,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2981 +#: ../src/guestfs.pod:2983 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 " @@ -52981,7 +53153,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2987 +#: ../src/guestfs.pod:2989 msgid "" "For library-only actions of the second type, add to the " "C<non_daemon_functions> list. Since these functions are serviced by the " @@ -52991,36 +53163,36 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2995 +#: ../src/guestfs.pod:2997 msgid "Implement the action (in C):" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2997 +#: ../src/guestfs.pod:2999 msgid "" "For daemon actions, implement the function C<do_E<lt>nameE<gt>> in the " "C<daemon/> directory." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3000 +#: ../src/guestfs.pod:3002 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:3003 +#: ../src/guestfs.pod:3005 msgid "In either case, use another function as an example of what to do." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3007 +#: ../src/guestfs.pod:3009 msgid "After making these changes, use C<make> to compile." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3009 +#: ../src/guestfs.pod:3011 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 " @@ -53028,12 +53200,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3013 +#: ../src/guestfs.pod:3015 msgid "ADDING TESTS FOR AN API ACTION" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3015 +#: ../src/guestfs.pod:3017 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 " @@ -53043,61 +53215,61 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3021 +#: ../src/guestfs.pod:3023 msgid "" "The following describes the test environment used when you add an API test " "in C<actions.ml>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3024 +#: ../src/guestfs.pod:3026 msgid "The test environment has 4 block devices:" msgstr "" #. type: =item -#: ../src/guestfs.pod:3028 +#: ../src/guestfs.pod:3030 msgid "C</dev/sda> 500MB" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3030 +#: ../src/guestfs.pod:3032 msgid "General block device for testing." msgstr "" #. type: =item -#: ../src/guestfs.pod:3032 +#: ../src/guestfs.pod:3034 msgid "C</dev/sdb> 50MB" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3034 +#: ../src/guestfs.pod:3036 msgid "" "C</dev/sdb1> is an ext2 filesystem used for testing filesystem write " "operations." msgstr "" #. type: =item -#: ../src/guestfs.pod:3037 +#: ../src/guestfs.pod:3039 msgid "C</dev/sdc> 10MB" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3039 +#: ../src/guestfs.pod:3041 msgid "Used in a few tests where two block devices are needed." msgstr "" #. type: =item -#: ../src/guestfs.pod:3041 +#: ../src/guestfs.pod:3043 msgid "C</dev/sdd>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3043 +#: ../src/guestfs.pod:3045 msgid "ISO with fixed content (see C<images/test.iso>)." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3047 +#: ../src/guestfs.pod:3049 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 " @@ -53105,7 +53277,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3051 +#: ../src/guestfs.pod:3053 msgid "" "Each test starts with an initial scenario, selected using one of the " "C<Init*> expressions, described in C<generator/types.ml>. These initialize " @@ -53115,7 +53287,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3057 +#: ../src/guestfs.pod:3059 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 " @@ -53125,14 +53297,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3063 +#: ../src/guestfs.pod:3065 msgid "" "In addition, packagers can skip individual tests by setting environment " "variables before running C<make check>." msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3066 +#: ../src/guestfs.pod:3068 #, no-wrap msgid "" " SKIP_TEST_<CMD>_<NUM>=1\n" @@ -53140,12 +53312,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3068 +#: ../src/guestfs.pod:3070 msgid "eg: C<SKIP_TEST_COMMAND_3=1> skips test #3 of L</guestfs_command>." msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3072 +#: ../src/guestfs.pod:3074 #, no-wrap msgid "" " SKIP_TEST_<CMD>=1\n" @@ -53153,17 +53325,17 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3074 +#: ../src/guestfs.pod:3076 msgid "eg: C<SKIP_TEST_ZEROFREE=1> skips all L</guestfs_zerofree> tests." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3076 +#: ../src/guestfs.pod:3078 msgid "Packagers can run only certain tests by setting for example:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3078 +#: ../src/guestfs.pod:3080 #, no-wrap msgid "" " TEST_ONLY=\"vfs_type zerofree\"\n" @@ -53171,29 +53343,29 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3080 +#: ../src/guestfs.pod:3082 msgid "" "See C<tests/c-api/tests.c> for more details of how these environment " "variables work." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3083 +#: ../src/guestfs.pod:3085 msgid "DEBUGGING NEW API ACTIONS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3085 +#: ../src/guestfs.pod:3087 msgid "Test new actions work before submitting them." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3087 +#: ../src/guestfs.pod:3089 msgid "You can use guestfish to try out new commands." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3089 +#: ../src/guestfs.pod:3091 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 " @@ -53201,12 +53373,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3093 +#: ../src/guestfs.pod:3095 msgid "FORMATTING CODE AND OTHER CONVENTIONS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3095 +#: ../src/guestfs.pod:3097 msgid "" "Our C source code generally adheres to some basic code-formatting " "conventions. The existing code base is not totally consistent on this " @@ -53216,14 +53388,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3101 +#: ../src/guestfs.pod:3103 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:3104 +#: ../src/guestfs.pod:3106 #, no-wrap msgid "" " ;;; In libguestfs, indent with spaces everywhere (not TABs).\n" @@ -53239,7 +53411,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3114 +#: ../src/guestfs.pod:3116 #, no-wrap msgid "" " ;;; When editing C sources in libguestfs, use this style.\n" @@ -53257,12 +53429,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3126 +#: ../src/guestfs.pod:3128 msgid "Enable warnings when compiling (and fix any problems this finds):" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3129 +#: ../src/guestfs.pod:3131 #, no-wrap msgid "" " ./configure --enable-gcc-warnings\n" @@ -53270,12 +53442,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3131 +#: ../src/guestfs.pod:3133 msgid "Useful targets are:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3133 +#: ../src/guestfs.pod:3135 #, no-wrap msgid "" " make syntax-check -j1 -k # checks for various syntax and\n" @@ -53284,7 +53456,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3136 +#: ../src/guestfs.pod:3138 #, no-wrap msgid "" " make check # runs the test suite\n" @@ -53292,7 +53464,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3138 +#: ../src/guestfs.pod:3140 #, no-wrap msgid "" " make extra-tests # in-depth testing using valgrind\n" @@ -53301,43 +53473,43 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3141 +#: ../src/guestfs.pod:3143 msgid "DAEMON CUSTOM PRINTF FORMATTERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3143 +#: ../src/guestfs.pod:3145 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:3148 +#: ../src/guestfs.pod:3150 msgid "%Q" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3150 +#: ../src/guestfs.pod:3152 msgid "" "Simple shell quoted string. Any spaces or other shell characters are " "escaped for you." msgstr "" #. type: =item -#: ../src/guestfs.pod:3153 +#: ../src/guestfs.pod:3155 msgid "%R" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3155 +#: ../src/guestfs.pod:3157 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:3162 +#: ../src/guestfs.pod:3164 #, no-wrap msgid "" " asprintf (&cmd, \"cat %R\", path);\n" @@ -53345,12 +53517,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3164 +#: ../src/guestfs.pod:3166 msgid "would produce C<cat /sysroot/some\\ path\\ with\\ spaces>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3166 +#: ../src/guestfs.pod:3168 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 " @@ -53359,12 +53531,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3172 +#: ../src/guestfs.pod:3174 msgid "SUBMITTING YOUR NEW API ACTIONS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3174 +#: ../src/guestfs.pod:3176 msgid "" "Submit patches to the mailing list: " "L<http://www.redhat.com/mailman/listinfo/libguestfs> and CC to " @@ -53372,17 +53544,17 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3178 +#: ../src/guestfs.pod:3180 msgid "INTERNATIONALIZATION (I18N) SUPPORT" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3180 +#: ../src/guestfs.pod:3182 msgid "We support i18n (gettext anyhow) in the library." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3182 +#: ../src/guestfs.pod:3184 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 " @@ -53391,103 +53563,103 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3188 +#: ../src/guestfs.pod:3190 msgid "" "Debugging messages are never translated, since they are intended for the " "programmers." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3191 +#: ../src/guestfs.pod:3193 msgid "SOURCE CODE SUBDIRECTORIES" msgstr "" #. type: =item -#: ../src/guestfs.pod:3195 +#: ../src/guestfs.pod:3197 msgid "C<align>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3197 +#: ../src/guestfs.pod:3199 msgid "L<virt-alignment-scan(1)> command and documentation." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3201 +#: ../src/guestfs.pod:3203 msgid "The libguestfs appliance, build scripts and so on." msgstr "" #. type: =item -#: ../src/guestfs.pod:3203 +#: ../src/guestfs.pod:3205 msgid "C<cat>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3205 +#: ../src/guestfs.pod:3207 msgid "" "The L<virt-cat(1)>, L<virt-filesystems(1)> and L<virt-ls(1)> commands and " "documentation." msgstr "" #. type: =item -#: ../src/guestfs.pod:3208 +#: ../src/guestfs.pod:3210 msgid "C<contrib>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3210 +#: ../src/guestfs.pod:3212 msgid "Outside contributions, experimental parts." msgstr "" #. type: =item -#: ../src/guestfs.pod:3212 +#: ../src/guestfs.pod:3214 msgid "C<daemon>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3214 +#: ../src/guestfs.pod:3216 msgid "" "The daemon that runs inside the libguestfs appliance and carries out " "actions." msgstr "" #. type: =item -#: ../src/guestfs.pod:3217 +#: ../src/guestfs.pod:3219 msgid "C<df>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3219 +#: ../src/guestfs.pod:3221 msgid "L<virt-df(1)> command and documentation." msgstr "" #. type: =item -#: ../src/guestfs.pod:3221 +#: ../src/guestfs.pod:3223 msgid "C<edit>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3223 +#: ../src/guestfs.pod:3225 msgid "L<virt-edit(1)> command and documentation." msgstr "" #. type: =item -#: ../src/guestfs.pod:3225 +#: ../src/guestfs.pod:3227 msgid "C<examples>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3227 +#: ../src/guestfs.pod:3229 msgid "C API example code." msgstr "" #. type: =item -#: ../src/guestfs.pod:3229 +#: ../src/guestfs.pod:3231 msgid "C<fish>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3231 +#: ../src/guestfs.pod:3233 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)>, " @@ -53495,79 +53667,79 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3237 +#: ../src/guestfs.pod:3239 msgid "L<virt-format(1)> command and documentation." msgstr "" #. type: =item -#: ../src/guestfs.pod:3239 +#: ../src/guestfs.pod:3241 msgid "C<fuse>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3241 +#: ../src/guestfs.pod:3243 msgid "L<guestmount(1)>, FUSE (userspace filesystem) built on top of libguestfs." msgstr "" #. type: =item -#: ../src/guestfs.pod:3243 +#: ../src/guestfs.pod:3245 msgid "C<generator>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3245 +#: ../src/guestfs.pod:3247 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:3248 +#: ../src/guestfs.pod:3250 msgid "C<inspector>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3250 +#: ../src/guestfs.pod:3252 msgid "L<virt-inspector(1)>, the virtual machine image inspector." msgstr "" #. type: =item -#: ../src/guestfs.pod:3252 +#: ../src/guestfs.pod:3254 msgid "C<logo>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3254 +#: ../src/guestfs.pod:3256 msgid "Logo used on the website. The fish is called Arthur by the way." msgstr "" #. type: =item -#: ../src/guestfs.pod:3256 +#: ../src/guestfs.pod:3258 msgid "C<m4>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3258 +#: ../src/guestfs.pod:3260 msgid "M4 macros used by autoconf." msgstr "" #. type: =item -#: ../src/guestfs.pod:3260 +#: ../src/guestfs.pod:3262 msgid "C<po>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3262 +#: ../src/guestfs.pod:3264 msgid "Translations of simple gettext strings." msgstr "" #. type: =item -#: ../src/guestfs.pod:3264 +#: ../src/guestfs.pod:3266 msgid "C<po-docs>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3266 +#: ../src/guestfs.pod:3268 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 " @@ -53575,84 +53747,84 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:3270 +#: ../src/guestfs.pod:3272 msgid "C<rescue>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3272 +#: ../src/guestfs.pod:3274 msgid "L<virt-rescue(1)> command and documentation." msgstr "" #. type: =item -#: ../src/guestfs.pod:3274 +#: ../src/guestfs.pod:3276 msgid "C<resize>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3276 +#: ../src/guestfs.pod:3278 msgid "L<virt-resize(1)> command and documentation." msgstr "" #. type: =item -#: ../src/guestfs.pod:3278 +#: ../src/guestfs.pod:3280 msgid "C<sparsify>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3280 +#: ../src/guestfs.pod:3282 msgid "L<virt-sparsify(1)> command and documentation." msgstr "" #. type: =item -#: ../src/guestfs.pod:3282 +#: ../src/guestfs.pod:3284 msgid "C<src>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3284 +#: ../src/guestfs.pod:3286 msgid "Source code to the C library." msgstr "" #. type: =item -#: ../src/guestfs.pod:3286 +#: ../src/guestfs.pod:3288 msgid "C<sysprep>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3288 +#: ../src/guestfs.pod:3290 msgid "L<virt-sysprep(1)> command and documentation." msgstr "" #. type: =item -#: ../src/guestfs.pod:3290 +#: ../src/guestfs.pod:3292 msgid "C<test-tool>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3292 +#: ../src/guestfs.pod:3294 msgid "" "Test tool for end users to test if their qemu/kernel combination will work " "with libguestfs." msgstr "" #. type: =item -#: ../src/guestfs.pod:3295 +#: ../src/guestfs.pod:3297 msgid "C<tests>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3297 +#: ../src/guestfs.pod:3299 msgid "Tests." msgstr "" #. type: =item -#: ../src/guestfs.pod:3299 +#: ../src/guestfs.pod:3301 msgid "C<tmp>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3301 +#: ../src/guestfs.pod:3303 msgid "" "Used for temporary files when running the tests (instead of C</tmp> etc). " "The reason is so that you can run multiple parallel tests of libguestfs " @@ -53660,93 +53832,78 @@ msgid "" "another." msgstr "" -#. type: textblock -#: ../src/guestfs.pod:3306 -msgid "" -"If you are using libvirt + sVirt with SELinux enforcing, then you have to " -"label this directory:" -msgstr "" - -#. type: verbatim -#: ../src/guestfs.pod:3309 -#, no-wrap -msgid "" -" chcon --reference=/tmp tmp\n" -"\n" -msgstr "" - #. type: =item -#: ../src/guestfs.pod:3311 +#: ../src/guestfs.pod:3308 msgid "C<tools>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3313 +#: ../src/guestfs.pod:3310 msgid "Command line tools written in Perl (L<virt-win-reg(1)> and many others)." msgstr "" #. type: =item -#: ../src/guestfs.pod:3315 +#: ../src/guestfs.pod:3312 msgid "C<csharp>" msgstr "" #. type: =item -#: ../src/guestfs.pod:3317 +#: ../src/guestfs.pod:3314 msgid "C<erlang>" msgstr "" #. type: =item -#: ../src/guestfs.pod:3319 +#: ../src/guestfs.pod:3316 msgid "C<gobject>" msgstr "" #. type: =item -#: ../src/guestfs.pod:3321 +#: ../src/guestfs.pod:3318 msgid "C<haskell>" msgstr "" #. type: =item -#: ../src/guestfs.pod:3323 +#: ../src/guestfs.pod:3320 msgid "C<java>" msgstr "" #. type: =item -#: ../src/guestfs.pod:3325 +#: ../src/guestfs.pod:3322 msgid "C<ocaml>" msgstr "" #. type: =item -#: ../src/guestfs.pod:3327 +#: ../src/guestfs.pod:3324 msgid "C<php>" msgstr "" #. type: =item -#: ../src/guestfs.pod:3329 +#: ../src/guestfs.pod:3326 msgid "C<perl>" msgstr "" #. type: =item -#: ../src/guestfs.pod:3331 +#: ../src/guestfs.pod:3328 msgid "C<python>" msgstr "" #. type: =item -#: ../src/guestfs.pod:3333 +#: ../src/guestfs.pod:3330 msgid "C<ruby>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3335 +#: ../src/guestfs.pod:3332 msgid "Language bindings." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3339 +#: ../src/guestfs.pod:3336 msgid "MAKING A STABLE RELEASE" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3341 +#: ../src/guestfs.pod:3338 msgid "" "When we make a stable release, there are several steps documented here. See " "L</LIBGUESTFS VERSION NUMBERS> for general information about the stable " @@ -53754,32 +53911,32 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3349 +#: ../src/guestfs.pod:3346 msgid "Check C<make && make check> works on at least Fedora, Debian and Ubuntu." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3354 +#: ../src/guestfs.pod:3351 msgid "Finalize C<guestfs-release-notes.pod>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3358 +#: ../src/guestfs.pod:3355 msgid "Update ROADMAP." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3362 +#: ../src/guestfs.pod:3359 msgid "Run C<src/api-support/update-from-tarballs.sh>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3366 +#: ../src/guestfs.pod:3363 msgid "Push and pull from Transifex." msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3370 +#: ../src/guestfs.pod:3367 #, no-wrap msgid "" " tx push -s\n" @@ -53787,12 +53944,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3372 +#: ../src/guestfs.pod:3369 msgid "to push the latest POT files to Transifex. Then run:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3374 +#: ../src/guestfs.pod:3371 #, no-wrap msgid "" " ./tx-pull.sh\n" @@ -53800,24 +53957,24 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3376 +#: ../src/guestfs.pod:3373 msgid "which is a wrapper to pull the latest translated C<*.po> files." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3380 +#: ../src/guestfs.pod:3377 msgid "" "Create new stable and development directories under " "L<http://libguestfs.org/download>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3385 +#: ../src/guestfs.pod:3382 msgid "Create the branch in git:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3387 +#: ../src/guestfs.pod:3384 #, no-wrap msgid "" " git tag -a 1.XX.0 -m \"Version 1.XX.0 (stable)\"\n" @@ -53828,17 +53985,17 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:3394 +#: ../src/guestfs.pod:3391 msgid "LIMITS" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3396 +#: ../src/guestfs.pod:3393 msgid "PROTOCOL LIMITS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3398 +#: ../src/guestfs.pod:3395 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 " @@ -53849,7 +54006,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3406 +#: ../src/guestfs.pod:3403 msgid "" "In libguestfs E<lt> 1.19.32, several calls had to encode either their entire " "argument list or their entire return value (or sometimes both) in a single " @@ -53865,7 +54022,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3419 +#: ../src/guestfs.pod:3416 msgid "" "L</guestfs_cat>, L</guestfs_find>, L</guestfs_read_file>, " "L</guestfs_read_lines>, L</guestfs_write>, L</guestfs_write_append>, " @@ -53874,19 +54031,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3424 +#: ../src/guestfs.pod:3421 msgid "" "See also L</UPLOADING> and L</DOWNLOADING> for further information about " "copying large amounts of data into or out of a filesystem." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3427 +#: ../src/guestfs.pod:3424 msgid "MAXIMUM NUMBER OF DISKS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3429 +#: ../src/guestfs.pod:3426 msgid "" "In libguestfs E<ge> 1.19.7, you can query the maximum number of disks that " "may be added by calling L</guestfs_max_disks>. In earlier versions of " @@ -53895,14 +54052,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3434 +#: ../src/guestfs.pod:3431 msgid "" "The rest of this section covers implementation details, which could change " "in future." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3437 +#: ../src/guestfs.pod:3434 msgid "" "When using virtio-scsi disks (the default if available in qemu) the current " "limit is B<255> disks. When using virtio-blk (the old default) the limit is " @@ -53911,26 +54068,26 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3442 +#: ../src/guestfs.pod:3439 msgid "" "Virtio-scsi as used by libguestfs is configured to use one target per disk, " "and 256 targets are available." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3445 +#: ../src/guestfs.pod:3442 msgid "" "Virtio-blk consumes 1 virtual PCI slot per disk, and PCI is limited to 31 " "slots, but some of these are used for other purposes." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3448 +#: ../src/guestfs.pod:3445 msgid "One virtual disk is used by libguestfs internally." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3450 +#: ../src/guestfs.pod:3447 msgid "" "Before libguestfs 1.19.7, disk names had to be a single character " "(eg. C</dev/sda> through C</dev/sdz>), and since one disk is reserved, that " @@ -53938,7 +54095,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3455 +#: ../src/guestfs.pod:3452 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 " @@ -53946,41 +54103,41 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3459 +#: ../src/guestfs.pod:3456 msgid "MAXIMUM NUMBER OF PARTITIONS PER DISK" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3461 +#: ../src/guestfs.pod:3458 msgid "Virtio limits the maximum number of partitions per disk to B<15>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3463 +#: ../src/guestfs.pod:3460 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:3466 +#: ../src/guestfs.pod:3463 msgid "" "If you attach a disk with more than 15 partitions, the extra partitions are " "ignored by libguestfs." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3469 +#: ../src/guestfs.pod:3466 msgid "MAXIMUM SIZE OF A DISK" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3471 +#: ../src/guestfs.pod:3468 msgid "Probably the limit is between 2**63-1 and 2**64-1 bytes." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3473 +#: ../src/guestfs.pod:3470 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 " @@ -53988,7 +54145,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3477 +#: ../src/guestfs.pod:3474 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 " @@ -53998,19 +54155,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3483 +#: ../src/guestfs.pod:3480 msgid "" "For the hugest disk image files, we recommend using XFS on the host for " "storage." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3486 +#: ../src/guestfs.pod:3483 msgid "MAXIMUM SIZE OF A PARTITION" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3488 +#: ../src/guestfs.pod:3485 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 " @@ -54018,7 +54175,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3492 +#: ../src/guestfs.pod:3489 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 " @@ -54026,12 +54183,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3497 +#: ../src/guestfs.pod:3494 msgid "MAXIMUM SIZE OF A FILESYSTEM, FILES, DIRECTORIES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3499 +#: ../src/guestfs.pod:3496 msgid "" "This depends on the filesystem type. libguestfs itself does not impose any " "known limit. Consult Wikipedia or the filesystem documentation to find out " @@ -54039,12 +54196,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3503 +#: ../src/guestfs.pod:3500 msgid "MAXIMUM UPLOAD AND DOWNLOAD" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3505 +#: ../src/guestfs.pod:3502 msgid "" "The API functions L</guestfs_upload>, L</guestfs_download>, " "L</guestfs_tar_in>, L</guestfs_tar_out> and the like allow unlimited sized " @@ -54052,12 +54209,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3509 +#: ../src/guestfs.pod:3506 msgid "INSPECTION LIMITS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3511 +#: ../src/guestfs.pod:3508 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 " @@ -54067,40 +54224,40 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3537 +#: ../src/guestfs.pod:3534 msgid "" "Choose the default way to create the appliance. See " "L</guestfs_set_attach_method>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3542 +#: ../src/guestfs.pod:3539 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:3554 +#: ../src/guestfs.pod:3551 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:3563 +#: ../src/guestfs.pod:3560 msgid "See also L</QEMU WRAPPERS> above." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3567 +#: ../src/guestfs.pod:3564 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:3585 +#: ../src/guestfs.pod:3582 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)>, " @@ -54119,7 +54276,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3628 +#: ../src/guestfs.pod:3625 msgid "" "Tools with a similar purpose: L<fdisk(8)>, L<parted(8)>, L<kpartx(8)>, " "L<lvm(8)>, L<disktype(1)>." @@ -54827,7 +54984,7 @@ msgstr "" #. type: textblock #: ../sysprep/virt-sysprep.pod:15 msgid "" -"Virt-sysprep can resets or unconfigure a virtual machine so that clones can " +"Virt-sysprep can reset or unconfigure a virtual machine so that clones can " "be made from it. Steps in this process include removing SSH host keys, " "removing persistent network MAC configuration, and removing user accounts. " "Virt-sysprep can also customize a virtual machine, for instance by adding " diff --git a/po-docs/uk.po b/po-docs/uk.po index 1252b2cc..90ddf860 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-24 16:57+0200\n" +"POT-Creation-Date: 2012-09-26 21:19+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" @@ -538,7 +538,7 @@ msgstr "" #: ../df/virt-df.pod:110 ../edit/virt-edit.pod:141 ../fish/guestfish.pod:242 #: ../fish/guestfish.pod:689 ../format/virt-format.pod:96 #: ../inspector/virt-inspector.pod:350 ../rescue/virt-rescue.pod:164 -#: ../src/guestfs.pod:3160 ../sysprep/virt-sysprep.pod:112 +#: ../src/guestfs.pod:3162 ../sysprep/virt-sysprep.pod:112 msgid "For example:" msgstr "Приклад:" @@ -1080,9 +1080,9 @@ 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 @@ -1092,8 +1092,8 @@ msgstr "Ця програма повертає:" #: ../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:110 -#: ../examples/guestfs-testing.pod:114 ../examples/guestfs-testing.pod:118 +#: ../examples/guestfs-recipes.pod:273 ../examples/guestfs-testing.pod:124 +#: ../examples/guestfs-testing.pod:128 ../examples/guestfs-testing.pod:132 #: ../fish/guestfish-actions.pod:417 ../fish/guestfish-actions.pod:425 #: ../fish/guestfish-actions.pod:432 ../fish/guestfish-actions.pod:439 #: ../fish/guestfish-actions.pod:1480 ../fish/guestfish-actions.pod:1484 @@ -1137,22 +1137,22 @@ msgstr "Ця програма повертає:" #: ../src/guestfs-actions.pod:3485 ../src/guestfs-actions.pod:4318 #: ../src/guestfs-actions.pod:4324 ../src/guestfs-actions.pod:4332 #: ../src/guestfs-actions.pod:4339 ../src/guestfs-actions.pod:4346 -#: ../src/guestfs.pod:392 ../src/guestfs.pod:397 ../src/guestfs.pod:402 -#: ../src/guestfs.pod:406 ../src/guestfs.pod:411 ../src/guestfs.pod:415 -#: ../src/guestfs.pod:420 ../src/guestfs.pod:425 ../src/guestfs.pod:1206 -#: ../src/guestfs.pod:1210 ../src/guestfs.pod:1214 ../src/guestfs.pod:1219 -#: ../src/guestfs.pod:1227 ../src/guestfs.pod:1246 ../src/guestfs.pod:1254 -#: ../src/guestfs.pod:1271 ../src/guestfs.pod:1276 ../src/guestfs.pod:1280 -#: ../src/guestfs.pod:1422 ../src/guestfs.pod:1426 ../src/guestfs.pod:1430 -#: ../src/guestfs.pod:1434 ../src/guestfs.pod:1438 ../src/guestfs.pod:1442 -#: ../src/guestfs.pod:1968 ../src/guestfs.pod:1973 ../src/guestfs.pod:1977 -#: ../src/guestfs.pod:2079 ../src/guestfs.pod:2084 ../src/guestfs.pod:2088 -#: ../src/guestfs.pod:2098 ../src/guestfs.pod:2387 ../src/guestfs.pod:2392 -#: ../src/guestfs.pod:2398 ../src/guestfs.pod:2406 ../src/guestfs.pod:2923 -#: ../src/guestfs.pod:2929 ../src/guestfs.pod:2934 ../src/guestfs.pod:2940 -#: ../src/guestfs.pod:3347 ../src/guestfs.pod:3352 ../src/guestfs.pod:3356 -#: ../src/guestfs.pod:3360 ../src/guestfs.pod:3364 ../src/guestfs.pod:3378 -#: ../src/guestfs.pod:3383 ../sysprep/virt-sysprep.pod:231 +#: ../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:1208 +#: ../src/guestfs.pod:1212 ../src/guestfs.pod:1216 ../src/guestfs.pod:1221 +#: ../src/guestfs.pod:1229 ../src/guestfs.pod:1248 ../src/guestfs.pod:1256 +#: ../src/guestfs.pod:1273 ../src/guestfs.pod:1278 ../src/guestfs.pod:1282 +#: ../src/guestfs.pod:1424 ../src/guestfs.pod:1428 ../src/guestfs.pod:1432 +#: ../src/guestfs.pod:1436 ../src/guestfs.pod:1440 ../src/guestfs.pod:1444 +#: ../src/guestfs.pod:1970 ../src/guestfs.pod:1975 ../src/guestfs.pod:1979 +#: ../src/guestfs.pod:2081 ../src/guestfs.pod:2086 ../src/guestfs.pod:2090 +#: ../src/guestfs.pod:2100 ../src/guestfs.pod:2389 ../src/guestfs.pod:2394 +#: ../src/guestfs.pod:2400 ../src/guestfs.pod:2408 ../src/guestfs.pod:2925 +#: ../src/guestfs.pod:2931 ../src/guestfs.pod:2936 ../src/guestfs.pod:2942 +#: ../src/guestfs.pod:3344 ../src/guestfs.pod:3349 ../src/guestfs.pod:3353 +#: ../src/guestfs.pod:3357 ../src/guestfs.pod:3361 ../src/guestfs.pod:3375 +#: ../src/guestfs.pod:3380 ../sysprep/virt-sysprep.pod:231 #: ../sysprep/virt-sysprep.pod:235 ../sysprep/virt-sysprep.pod:239 #: ../sysprep/virt-sysprep.pod:243 ../sysprep/virt-sysprep.pod:258 #: ../sysprep/virt-sysprep.pod:262 ../sysprep/virt-sysprep.pod:266 @@ -1180,7 +1180,7 @@ msgstr "" "найкращої швидкодії" #. type: =item -#: ../align/virt-alignment-scan.pod:355 ../src/guestfs.pod:1615 +#: ../align/virt-alignment-scan.pod:355 ../src/guestfs.pod:1617 msgid "1" msgstr "1" @@ -1190,7 +1190,7 @@ msgid "an error scanning the disk image or guest" msgstr "під час сканування образу диска або гостьової системи сталася помилка" #. type: =item -#: ../align/virt-alignment-scan.pod:361 ../src/guestfs.pod:1619 +#: ../align/virt-alignment-scan.pod:361 ../src/guestfs.pod:1621 msgid "2" msgstr "2" @@ -1202,7 +1202,7 @@ msgid "" msgstr "" #. type: =item -#: ../align/virt-alignment-scan.pod:368 ../src/guestfs.pod:1623 +#: ../align/virt-alignment-scan.pod:368 ../src/guestfs.pod:1625 msgid "3" msgstr "3" @@ -1219,9 +1219,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:444 -#: ../examples/guestfs-testing.pod:291 ../fish/guestfish.pod:1289 +#: ../examples/guestfs-examples.pod:33 ../examples/guestfs-faq.pod:779 +#: ../examples/guestfs-performance.pod:429 ../examples/guestfs-recipes.pod:473 +#: ../examples/guestfs-testing.pod:305 ../fish/guestfish.pod:1289 #: ../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 @@ -1230,7 +1230,7 @@ msgstr "" #: ../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:3583 +#: ../sparsify/virt-sparsify.pod:299 ../src/guestfs.pod:3580 #: ../sysprep/virt-sysprep.pod:480 ../test-tool/libguestfs-test-tool.pod:106 #: ../tools/virt-list-filesystems.pl:197 ../tools/virt-list-partitions.pl:267 #: ../tools/virt-make-fs.pl:627 ../tools/virt-tar.pl:294 @@ -1278,9 +1278,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:461 -#: ../examples/guestfs-testing.pod:302 ../fish/guestfish.pod:1321 +#: ../examples/guestfs-examples.pod:49 ../examples/guestfs-faq.pod:789 +#: ../examples/guestfs-performance.pod:446 ../examples/guestfs-recipes.pod:490 +#: ../examples/guestfs-testing.pod:316 ../fish/guestfish.pod:1321 #: ../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 @@ -1289,7 +1289,7 @@ msgstr "Richard W.M. Jones L<http://people.redhat.com/~rjones/>" #: ../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:3639 +#: ../sparsify/virt-sparsify.pod:316 ../src/guestfs.pod:3636 #: ../sysprep/virt-sysprep.pod:501 ../test-tool/libguestfs-test-tool.pod:116 #: ../tools/virt-list-filesystems.pl:214 ../tools/virt-list-partitions.pl:283 #: ../tools/virt-make-fs.pl:646 ../tools/virt-tar.pl:313 @@ -1576,7 +1576,7 @@ msgstr "" #: ../appliance/libguestfs-make-fixed-appliance.pod:139 #: ../edit/virt-edit.pod:343 ../fish/guestfish.pod:1135 #: ../rescue/virt-rescue.pod:313 ../sparsify/virt-sparsify.pod:272 -#: ../src/guestfs.pod:3517 ../test-tool/libguestfs-test-tool.pod:101 +#: ../src/guestfs.pod:3514 ../test-tool/libguestfs-test-tool.pod:101 msgid "ENVIRONMENT VARIABLES" msgstr "ЗМІННІ СЕРЕДОВИЩА" @@ -1600,16 +1600,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:457 -#: ../examples/guestfs-testing.pod:298 ../fish/guestfish.pod:1317 +#: ../examples/guestfs-examples.pod:45 ../examples/guestfs-faq.pod:785 +#: ../examples/guestfs-performance.pod:442 ../examples/guestfs-recipes.pod:486 +#: ../examples/guestfs-testing.pod:312 ../fish/guestfish.pod:1317 #: ../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:3635 +#: ../ruby/examples/guestfs-ruby.pod:48 ../src/guestfs.pod:3632 #: ../sysprep/virt-sysprep.pod:495 ../test-tool/libguestfs-test-tool.pod:112 msgid "AUTHORS" msgstr "АВТОРИ" @@ -1617,15 +1617,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:459 -#: ../examples/guestfs-testing.pod:300 ../fish/guestfish.pod:1319 +#: ../examples/guestfs-examples.pod:47 ../examples/guestfs-faq.pod:787 +#: ../examples/guestfs-performance.pod:444 ../examples/guestfs-recipes.pod:488 +#: ../examples/guestfs-testing.pod:314 ../fish/guestfish.pod:1319 #: ../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:3637 +#: ../ruby/examples/guestfs-ruby.pod:50 ../src/guestfs.pod:3634 #: ../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>)" @@ -1633,9 +1633,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:463 ../fish/guestfish.pod:1323 +#: ../examples/guestfs-recipes.pod:492 ../fish/guestfish.pod:1323 #: ../fuse/guestmount.pod:415 ../guestfs-release-notes.pod:1728 -#: ../rescue/virt-rescue.pod:355 ../src/guestfs.pod:3641 +#: ../rescue/virt-rescue.pod:355 ../src/guestfs.pod:3638 #: ../test-tool/libguestfs-test-tool.pod:118 #: ../tools/virt-list-partitions.pl:285 msgid "Copyright (C) 2009-2012 Red Hat Inc." @@ -2900,7 +2900,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 "" @@ -2915,7 +2915,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 "" @@ -2930,7 +2930,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 "" @@ -2945,7 +2945,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 "" @@ -2975,7 +2975,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 "" @@ -2990,7 +2990,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 "" @@ -4727,7 +4727,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 @@ -4825,23 +4825,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 " @@ -4852,24 +4852,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 " @@ -4877,26 +4877,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" @@ -4907,12 +4907,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, " @@ -4921,12 +4921,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 " @@ -4934,12 +4934,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 " @@ -4947,34 +4947,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" @@ -4984,7 +4984,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 " @@ -4992,24 +4992,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." @@ -5017,7 +5017,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 " @@ -5025,7 +5025,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-" @@ -5033,17 +5033,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>" @@ -5052,41 +5052,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" @@ -5096,24 +5097,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 " @@ -5121,19 +5122,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 " @@ -5143,7 +5144,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 " @@ -5151,14 +5152,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" @@ -5166,12 +5167,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" @@ -5179,12 +5180,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" @@ -5192,19 +5193,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 " @@ -5212,7 +5213,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 " @@ -5220,12 +5221,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. " @@ -5234,41 +5235,41 @@ 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 +#: ../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 #: ../guestfs-release-notes.pod:14 ../guestfs-release-notes.pod:21 -#: ../src/guestfs.pod:2533 ../src/guestfs.pod:2538 +#: ../src/guestfs.pod:2535 ../src/guestfs.pod:2540 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" @@ -5276,43 +5277,89 @@ 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 +#, fuzzy +#| msgid "" +#| "https://www.redhat.com/archives/virt-tools-list/2011-May/msg00019.html" +msgid "" +"A preview repository is available. See the announcement here: L<https://www." +"redhat.com/archives/libguestfs/2012-September/msg00074.html>" +msgstr "https://www.redhat.com/archives/virt-tools-list/2011-May/msg00019.html" + +#. 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:264 +msgid "Debian and Ubuntu" msgstr "" #. type: =item -#: ../examples/guestfs-faq.pod:247 +#: ../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/>" @@ -5321,12 +5368,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)." @@ -5335,20 +5382,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 " @@ -5357,7 +5403,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" @@ -5365,41 +5411,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" @@ -5407,7 +5453,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." @@ -5415,22 +5461,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" @@ -5438,68 +5484,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." @@ -5507,7 +5553,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 " @@ -5516,7 +5562,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:345 +#: ../examples/guestfs-faq.pod:367 #, no-wrap msgid "" " %libguestfs_buildnet 1\n" @@ -5524,12 +5570,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" @@ -5537,22 +5583,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 " @@ -5560,7 +5673,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/" @@ -5568,38 +5681,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 " @@ -5607,14 +5720,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 " @@ -5622,7 +5735,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 " @@ -5632,17 +5745,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" @@ -5650,26 +5763,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 " @@ -5677,7 +5790,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" @@ -5688,19 +5801,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" @@ -5708,24 +5821,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 " @@ -5733,7 +5846,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" @@ -5746,7 +5859,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 " @@ -5754,25 +5867,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 " @@ -5780,43 +5893,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 " @@ -5824,12 +5937,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" @@ -5838,12 +5951,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" @@ -5852,17 +5965,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 " @@ -5870,60 +5983,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 " @@ -5931,17 +6044,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 " @@ -5950,7 +6063,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 " @@ -5964,7 +6077,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 " @@ -5977,17 +6090,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 " @@ -5997,7 +6110,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=" @@ -6008,12 +6121,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-" @@ -6021,17 +6134,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 " @@ -6039,7 +6152,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 " @@ -6048,7 +6161,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 " @@ -6058,7 +6171,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 " @@ -6066,7 +6179,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 " @@ -6074,38 +6187,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" @@ -6115,7 +6228,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-faq.pod:632 +#: ../examples/guestfs-faq.pod:688 #, no-wrap msgid "" " $ virt-rescue --ro guest.img\n" @@ -6124,7 +6237,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-" @@ -6132,7 +6245,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 " @@ -6143,7 +6256,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 " @@ -6152,7 +6265,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 " @@ -6160,7 +6273,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" @@ -6168,7 +6281,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 " @@ -6176,45 +6289,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" @@ -6230,12 +6343,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 " @@ -6244,12 +6357,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" @@ -6257,7 +6370,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 " @@ -6265,7 +6378,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-" @@ -6274,7 +6387,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 " @@ -6282,14 +6395,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 " @@ -6299,12 +6412,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 "" @@ -6356,7 +6469,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" @@ -6609,10 +6722,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:473 ../src/guestfs.pod:1291 ../src/guestfs.pod:1545 -#: ../src/guestfs.pod:1710 ../src/guestfs.pod:2968 +#: ../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:1293 ../src/guestfs.pod:1547 ../src/guestfs.pod:1712 +#: ../src/guestfs.pod:2970 msgid "1." msgstr "1." @@ -6625,10 +6739,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:479 ../src/guestfs.pod:1295 ../src/guestfs.pod:1549 -#: ../src/guestfs.pod:1714 ../src/guestfs.pod:2993 +#: ../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:1297 ../src/guestfs.pod:1551 ../src/guestfs.pod:1716 +#: ../src/guestfs.pod:2995 msgid "2." msgstr "2." @@ -6644,9 +6759,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:490 ../src/guestfs.pod:1299 ../src/guestfs.pod:1720 +#: ../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:1301 ../src/guestfs.pod:1722 msgid "3." msgstr "3." @@ -6903,7 +7019,7 @@ msgid "Save the following script as C<time.stap>:" msgstr "" #. type: verbatim -#: ../examples/guestfs-performance.pod:322 ../src/guestfs.pod:2481 +#: ../examples/guestfs-performance.pod:322 ../src/guestfs.pod:2483 #, no-wrap msgid "" " global last;\n" @@ -6911,7 +7027,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-performance.pod:324 ../src/guestfs.pod:2483 +#: ../examples/guestfs-performance.pod:324 ../src/guestfs.pod:2485 #, no-wrap msgid "" " function display_time () {\n" @@ -6924,7 +7040,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-performance.pod:331 ../src/guestfs.pod:2490 +#: ../examples/guestfs-performance.pod:331 ../src/guestfs.pod:2492 #, no-wrap msgid "" " printf (\"%d (+%d):\", now, delta);\n" @@ -6933,7 +7049,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-performance.pod:334 ../src/guestfs.pod:2493 +#: ../examples/guestfs-performance.pod:334 ../src/guestfs.pod:2495 #, no-wrap msgid "" " probe begin {\n" @@ -6944,7 +7060,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-performance.pod:339 ../src/guestfs.pod:2498 +#: ../examples/guestfs-performance.pod:339 ../src/guestfs.pod:2500 #, no-wrap msgid "" " /* Display all calls to static markers. */\n" @@ -7053,7 +7169,7 @@ msgstr "" #. type: verbatim #: ../examples/guestfs-performance.pod:394 ../fish/guestfish.pod:998 -#: ../src/guestfs.pod:1075 +#: ../src/guestfs.pod:1077 #, no-wrap msgid "" " #!/bin/bash -\n" @@ -7574,7 +7690,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-recipes.pod:156 ../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" @@ -7587,7 +7703,7 @@ msgstr "" #: ../examples/guestfs-recipes.pod:158 ../fish/guestfish-actions.pod:1684 #: ../fish/guestfish-actions.pod:2139 ../fish/guestfish-actions.pod:2731 #: ../src/guestfs-actions.pod:2759 ../src/guestfs-actions.pod:3467 -#: ../src/guestfs-actions.pod:4314 ../src/guestfs.pod:1964 +#: ../src/guestfs-actions.pod:4314 ../src/guestfs.pod:1966 #: ../tools/virt-win-reg.pl:717 msgid "Notes:" msgstr "Нотатки:" @@ -7894,11 +8010,84 @@ msgstr "http://augeas.net/" #. type: =head1 #: ../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:400 +#, 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:283 +#: ../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 " @@ -7907,7 +8096,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:289 +#: ../examples/guestfs-recipes.pod:318 #, fuzzy #| msgid "" #| "https://rwmj.wordpress.com/2010/12/01/tip-install-rpms-in-a-guest/#content" @@ -7917,24 +8106,24 @@ msgstr "" "https://rwmj.wordpress.com/2010/12/01/tip-install-rpms-in-a-guest/#content" #. type: textblock -#: ../examples/guestfs-recipes.pod:291 +#: ../examples/guestfs-recipes.pod:320 msgid "" "Since libguestfs 1.20, L<virt-sysprep(1)> has an option for installing " "firstboot scripts in Linux guests." msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:294 +#: ../examples/guestfs-recipes.pod:323 msgid "List applications installed in a VM" msgstr "Показати список програм, встановлених у віртуальній машині" #. type: textblock -#: ../examples/guestfs-recipes.pod:296 +#: ../examples/guestfs-recipes.pod:325 msgid "Save the following to a file C<list-apps.sh>:" msgstr "" #. type: verbatim -#: ../examples/guestfs-recipes.pod:298 +#: ../examples/guestfs-recipes.pod:327 #, no-wrap msgid "" " #!/bin/sh -\n" @@ -7954,14 +8143,14 @@ msgstr "" "\n" #. type: textblock -#: ../examples/guestfs-recipes.pod:305 +#: ../examples/guestfs-recipes.pod:334 msgid "" "Make the file executable and then you can run it on any named virtual " "machine:" msgstr "" #. type: verbatim -#: ../examples/guestfs-recipes.pod:308 +#: ../examples/guestfs-recipes.pod:337 #, no-wrap msgid "" " # list-apps.sh WinGuest\n" @@ -8027,7 +8216,7 @@ msgstr "" "\n" #. type: textblock -#: ../examples/guestfs-recipes.pod:338 +#: ../examples/guestfs-recipes.pod:367 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)" @@ -8035,22 +8224,22 @@ msgid "" msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:342 +#: ../examples/guestfs-recipes.pod:371 msgid "List files and directories in a VM" msgstr "Показати список файлів і каталогів у віртуальній машині" #. type: textblock -#: ../examples/guestfs-recipes.pod:344 +#: ../examples/guestfs-recipes.pod:373 msgid "Use L<virt-ls(1)>." msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:346 +#: ../examples/guestfs-recipes.pod:375 msgid "List services in a Windows VM" msgstr "Показати список служб у віртуальній машині Windows" #. type: textblock -#: ../examples/guestfs-recipes.pod:348 +#: ../examples/guestfs-recipes.pod:377 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 " @@ -8058,7 +8247,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:352 +#: ../examples/guestfs-recipes.pod:381 #, fuzzy #| msgid "" #| "https://rwmj.wordpress.com/2010/12/10/tip-list-services-in-a-windows-" @@ -8071,74 +8260,61 @@ msgstr "" "#content" #. type: =head1 -#: ../examples/guestfs-recipes.pod:354 +#: ../examples/guestfs-recipes.pod:383 msgid "Make a disk image sparse" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:356 +#: ../examples/guestfs-recipes.pod:385 msgid "Use L<virt-sparsify(1)>." msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:358 +#: ../examples/guestfs-recipes.pod:387 msgid "Monitor disk usage over time" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:360 +#: ../examples/guestfs-recipes.pod:389 msgid "" "You can use L<virt-df(1)> to monitor disk usage of your guests over time. " "The link below contains a guide." msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:363 +#: ../examples/guestfs-recipes.pod:392 #, 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:365 +#: ../examples/guestfs-recipes.pod:394 msgid "Reading the Windows Event Log from Windows Vista (or later)" msgstr "Читання журналу подій у Windows з версії Windows Vista" #. type: textblock -#: ../examples/guestfs-recipes.pod:367 +#: ../examples/guestfs-recipes.pod:396 msgid "" "L<guestfish(1)> plus the tools described in the link below can be used to " "read out the Windows Event Log from any virtual machine running Windows " "Vista or a later version." msgstr "" -#. type: textblock -#: ../examples/guestfs-recipes.pod:371 -#, 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:373 +#: ../examples/guestfs-recipes.pod:402 msgid "Remove root password (Linux)" msgstr "Вилучення пароля root (Linux)" #. type: textblock -#: ../examples/guestfs-recipes.pod:375 +#: ../examples/guestfs-recipes.pod:404 msgid "" "Using the L<virt-edit(1)> I<-e> option you can do simple replacements on " "files. One use is to remove the root password from a Linux guest:" msgstr "" #. type: verbatim -#: ../examples/guestfs-recipes.pod:378 +#: ../examples/guestfs-recipes.pod:407 #, no-wrap msgid "" " virt-edit domname /etc/passwd -e 's/^root:.*?:/root::/'\n" @@ -8148,12 +8324,12 @@ msgstr "" "\n" #. type: =head1 -#: ../examples/guestfs-recipes.pod:380 +#: ../examples/guestfs-recipes.pod:409 msgid "Remove Administrator password (Windows)" msgstr "Вилучення пароля адміністратора (Windows)" #. type: textblock -#: ../examples/guestfs-recipes.pod:382 +#: ../examples/guestfs-recipes.pod:411 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 " @@ -8161,7 +8337,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:387 +#: ../examples/guestfs-recipes.pod:416 #, fuzzy #| msgid "" #| "https://mdbooth.wordpress.com/2010/10/18/resetting-a-windows-guests-" @@ -8174,14 +8350,14 @@ msgstr "" "administrator-password-with-guestfish/" #. type: =head1 -#: ../examples/guestfs-recipes.pod:389 +#: ../examples/guestfs-recipes.pod:418 #, fuzzy #| msgid "Cloning a virtual machine (Windows)" msgid "Sysprepping a virtual machine (Windows)" msgstr "Клонування віртуальної машини (Windows)" #. type: textblock -#: ../examples/guestfs-recipes.pod:391 +#: ../examples/guestfs-recipes.pod:420 msgid "" "It is possible to do a \"sysprep\" using libguestfs alone, although not " "straightforward. Currently there is code in the Aeolus Oz project which " @@ -8190,7 +8366,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:396 +#: ../examples/guestfs-recipes.pod:425 #, fuzzy #| msgid "" #| "https://github.com/clalancette/oz https://www.redhat.com/archives/virt-" @@ -8203,12 +8379,12 @@ msgstr "" "list/2011-May/msg00019.html" #. type: =head1 -#: ../examples/guestfs-recipes.pod:399 +#: ../examples/guestfs-recipes.pod:428 msgid "Unpack a live CD" msgstr "Розпакування компакт-диска з портативною системою" #. type: textblock -#: ../examples/guestfs-recipes.pod:401 +#: ../examples/guestfs-recipes.pod:430 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 " @@ -8216,7 +8392,7 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:405 +#: ../examples/guestfs-recipes.pod:434 #, fuzzy #| msgid "" #| "https://rwmj.wordpress.com/2009/07/15/unpack-the-russian-doll-of-a-f11-" @@ -8229,19 +8405,19 @@ msgstr "" "cd/#content" #. type: =head1 -#: ../examples/guestfs-recipes.pod:407 +#: ../examples/guestfs-recipes.pod:436 msgid "Uploading and downloading files" msgstr "Вивантаження і звантаження файлів" #. type: textblock -#: ../examples/guestfs-recipes.pod:409 +#: ../examples/guestfs-recipes.pod:438 msgid "" "The link below contains general tips on uploading (copying in) and " "downloading (copying out) files from VMs." msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:412 +#: ../examples/guestfs-recipes.pod:441 #, fuzzy #| msgid "" #| "https://rwmj.wordpress.com/2010/12/02/tip-uploading-and-downloading/" @@ -8253,19 +8429,19 @@ msgstr "" "https://rwmj.wordpress.com/2010/12/02/tip-uploading-and-downloading/#content" #. type: =head1 -#: ../examples/guestfs-recipes.pod:414 +#: ../examples/guestfs-recipes.pod:443 msgid "Uploading raw filesystem content" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:416 +#: ../examples/guestfs-recipes.pod:445 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:420 +#: ../examples/guestfs-recipes.pod:449 #, fuzzy, no-wrap #| msgid "" #| " guestfish --ro -a disk.img run : download /dev/sda1 sda1.img\n" @@ -8278,7 +8454,7 @@ msgstr "" "\n" #. type: verbatim -#: ../examples/guestfs-recipes.pod:422 +#: ../examples/guestfs-recipes.pod:451 #, fuzzy, no-wrap #| msgid "" #| " guestfish --ro -d Guest run : download /dev/vg_guest/lv_root lv.img\n" @@ -8291,7 +8467,7 @@ msgstr "" "\n" #. type: textblock -#: ../examples/guestfs-recipes.pod:424 +#: ../examples/guestfs-recipes.pod:453 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 - " @@ -8301,7 +8477,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../examples/guestfs-recipes.pod:430 +#: ../examples/guestfs-recipes.pod:459 #, fuzzy, no-wrap #| msgid "" #| " guestfish --ro -d Guest run : download /dev/vg_guest/lv_root lv.img\n" @@ -8316,24 +8492,24 @@ msgstr "" "\n" #. type: textblock -#: ../examples/guestfs-recipes.pod:434 +#: ../examples/guestfs-recipes.pod:463 msgid "(or use C<ntfsresize> if the filesystem is NTFS)." msgstr "" #. type: =head1 -#: ../examples/guestfs-recipes.pod:436 +#: ../examples/guestfs-recipes.pod:465 msgid "Use libguestfs tools on VMware ESX guests" msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:438 +#: ../examples/guestfs-recipes.pod:467 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:442 +#: ../examples/guestfs-recipes.pod:471 #, fuzzy #| msgid "" #| "https://rwmj.wordpress.com/2011/05/10/tip-use-libguestfs-on-vmware-esx-" @@ -8346,7 +8522,7 @@ msgstr "" "guests/#content" #. type: textblock -#: ../examples/guestfs-recipes.pod:446 +#: ../examples/guestfs-recipes.pod:475 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-" @@ -8415,11 +8591,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:3365 +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 " @@ -8427,42 +8636,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" @@ -8472,14 +8681,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:3070 +#: ../examples/guestfs-testing.pod:68 ../examples/guestfs-testing.pod:175 +#: ../examples/guestfs-testing.pod:188 ../examples/guestfs-testing.pod:248 +#: ../src/guestfs.pod:3072 msgid "or:" msgstr "або:" #. type: verbatim -#: ../examples/guestfs-testing.pod:56 +#: ../examples/guestfs-testing.pod:70 #, no-wrap msgid "" " virt-alignment-scan -d Guest\n" @@ -8489,22 +8698,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" @@ -8514,12 +8723,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" @@ -8529,26 +8738,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" @@ -8558,7 +8767,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 " @@ -8566,12 +8775,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" @@ -8581,40 +8790,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" @@ -8624,31 +8833,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 " @@ -8656,17 +8865,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:3368 -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" @@ -8676,14 +8880,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." @@ -8696,19 +8900,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" @@ -8718,12 +8922,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" @@ -8733,24 +8937,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" @@ -8760,7 +8964,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" @@ -8770,24 +8974,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" @@ -8797,7 +9001,7 @@ msgstr "" "\n" #. type: verbatim -#: ../examples/guestfs-testing.pod:176 +#: ../examples/guestfs-testing.pod:190 #, no-wrap msgid "" " virt-inspector -d Guest | less\n" @@ -8807,17 +9011,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" @@ -8827,7 +9031,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" @@ -8837,7 +9041,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" @@ -8847,7 +9051,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" @@ -8857,12 +9061,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" @@ -8872,7 +9076,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" @@ -8882,7 +9086,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" @@ -8892,24 +9096,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" @@ -8919,7 +9123,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 " @@ -8927,29 +9131,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" @@ -8959,7 +9163,7 @@ msgstr "" "\n" #. type: verbatim -#: ../examples/guestfs-testing.pod:236 +#: ../examples/guestfs-testing.pod:250 #, no-wrap msgid "" " virt-rescue -d Guest\n" @@ -8967,24 +9171,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" @@ -8995,22 +9199,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" @@ -9018,26 +9222,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" @@ -9045,26 +9249,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" @@ -9073,7 +9277,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" @@ -9082,19 +9286,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" @@ -9103,7 +9307,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/>." @@ -9451,7 +9655,7 @@ msgstr "" #. type: =item #: ../fish/guestfish-actions.pod:143 ../src/guestfs-actions.pod:208 -#: ../src/guestfs.pod:3235 +#: ../src/guestfs.pod:3237 msgid "C<format>" msgstr "C<format>" @@ -12544,7 +12748,7 @@ msgstr "" #. type: textblock #: ../fish/guestfish-actions.pod:1557 ../src/guestfs-actions.pod:2565 -#: ../src/guestfs.pod:1811 +#: ../src/guestfs.pod:1813 msgid "" "This is mainly useful as a negative test. If this returns true, it doesn't " "mean that a particular filesystem can be mounted, since filesystems can fail " @@ -21108,7 +21312,7 @@ msgstr "set-attach-method" #. type: =item #: ../fish/guestfish-actions.pod:5367 ../src/guestfs-actions.pod:8654 -#: ../src/guestfs.pod:3199 +#: ../src/guestfs.pod:3201 msgid "C<appliance>" msgstr "C<appliance>" @@ -25541,7 +25745,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../fish/guestfish.pod:135 ../src/guestfs.pod:2522 +#: ../fish/guestfish.pod:135 ../src/guestfs.pod:2524 #, no-wrap msgid "" " guestfish -N fs\n" @@ -27087,7 +27291,7 @@ msgid "" msgstr "" #. type: =head2 -#: ../fish/guestfish.pod:841 ../src/guestfs.pod:523 +#: ../fish/guestfish.pod:841 ../src/guestfs.pod:525 msgid "ENCRYPTED DISKS" msgstr "ЗАШИФРОВАНІ ДИСКИ" @@ -27735,7 +27939,7 @@ msgid "COMMANDS" msgstr "КОМАНДИ" #. type: textblock -#: ../fish/guestfish.pod:1128 ../src/guestfs.pod:1789 +#: ../fish/guestfish.pod:1128 ../src/guestfs.pod:1791 msgid "@ACTIONS@" msgstr "@ACTIONS@" @@ -27759,17 +27963,17 @@ msgid "" msgstr "" #. type: =item -#: ../fish/guestfish.pod:1144 ../src/guestfs.pod:3521 +#: ../fish/guestfish.pod:1144 ../src/guestfs.pod:3518 msgid "FEBOOTSTRAP_KERNEL" msgstr "" #. type: =item -#: ../fish/guestfish.pod:1146 ../src/guestfs.pod:3523 +#: ../fish/guestfish.pod:1146 ../src/guestfs.pod:3520 msgid "FEBOOTSTRAP_MODULES" msgstr "" #. type: textblock -#: ../fish/guestfish.pod:1148 ../src/guestfs.pod:3525 +#: ../fish/guestfish.pod:1148 ../src/guestfs.pod:3522 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 " @@ -27827,17 +28031,17 @@ msgid "" msgstr "" #. type: =item -#: ../fish/guestfish.pod:1176 ../src/guestfs.pod:3531 +#: ../fish/guestfish.pod:1176 ../src/guestfs.pod:3528 msgid "LIBGUESTFS_APPEND" msgstr "" #. type: textblock -#: ../fish/guestfish.pod:1178 ../src/guestfs.pod:3533 +#: ../fish/guestfish.pod:1178 ../src/guestfs.pod:3530 msgid "Pass additional options to the guest kernel." msgstr "" #. type: =item -#: ../fish/guestfish.pod:1180 ../src/guestfs.pod:3535 +#: ../fish/guestfish.pod:1180 ../src/guestfs.pod:3532 #, fuzzy #| msgid "C<LIBGUESTFS_TRACE>" msgid "LIBGUESTFS_ATTACH_METHOD" @@ -27851,7 +28055,7 @@ msgid "" msgstr "" #. type: =item -#: ../fish/guestfish.pod:1185 ../src/guestfs.pod:3540 +#: ../fish/guestfish.pod:1185 ../src/guestfs.pod:3537 msgid "LIBGUESTFS_DEBUG" msgstr "LIBGUESTFS_DEBUG" @@ -27863,18 +28067,18 @@ msgid "" msgstr "" #. type: =item -#: ../fish/guestfish.pod:1190 ../src/guestfs.pod:3545 +#: ../fish/guestfish.pod:1190 ../src/guestfs.pod:3542 msgid "LIBGUESTFS_MEMSIZE" msgstr "LIBGUESTFS_MEMSIZE" #. type: textblock -#: ../fish/guestfish.pod:1192 ../src/guestfs.pod:3547 +#: ../fish/guestfish.pod:1192 ../src/guestfs.pod:3544 msgid "" "Set the memory allocated to the qemu process, in megabytes. For example:" msgstr "" #. type: verbatim -#: ../fish/guestfish.pod:1195 ../src/guestfs.pod:3550 +#: ../fish/guestfish.pod:1195 ../src/guestfs.pod:3547 #, no-wrap msgid "" " LIBGUESTFS_MEMSIZE=700\n" @@ -27884,7 +28088,7 @@ msgstr "" "\n" #. type: =item -#: ../fish/guestfish.pod:1197 ../src/guestfs.pod:3552 +#: ../fish/guestfish.pod:1197 ../src/guestfs.pod:3549 msgid "LIBGUESTFS_PATH" msgstr "" @@ -27896,19 +28100,19 @@ msgid "" msgstr "" #. type: =item -#: ../fish/guestfish.pod:1202 ../src/guestfs.pod:3557 +#: ../fish/guestfish.pod:1202 ../src/guestfs.pod:3554 msgid "LIBGUESTFS_QEMU" msgstr "" #. type: textblock -#: ../fish/guestfish.pod:1204 ../src/guestfs.pod:3559 +#: ../fish/guestfish.pod:1204 ../src/guestfs.pod:3556 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:1208 ../src/guestfs.pod:3565 +#: ../fish/guestfish.pod:1208 ../src/guestfs.pod:3562 msgid "LIBGUESTFS_TRACE" msgstr "" @@ -27931,19 +28135,19 @@ msgstr "" #. type: =item #: ../fish/guestfish.pod:1217 ../sparsify/virt-sparsify.pod:276 -#: ../src/guestfs.pod:3570 +#: ../src/guestfs.pod:3567 msgid "TMPDIR" msgstr "" #. type: textblock -#: ../fish/guestfish.pod:1219 ../src/guestfs.pod:3572 +#: ../fish/guestfish.pod:1219 ../src/guestfs.pod:3569 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:1222 ../src/guestfs.pod:3575 +#: ../fish/guestfish.pod:1222 ../src/guestfs.pod:3572 msgid "" "If libguestfs was compiled to use the supermin appliance then the real " "appliance is cached in this directory, shared between all handles belonging " @@ -53858,6 +54062,11 @@ msgstr "" #. 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" @@ -53865,12 +54074,12 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:45 +#: ../src/guestfs.pod:47 msgid "API OVERVIEW" msgstr "ОГЛЯД API" #. type: textblock -#: ../src/guestfs.pod:47 +#: ../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 " @@ -53878,12 +54087,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:52 +#: ../src/guestfs.pod:54 msgid "HANDLES" msgstr "ОБРОБНИКИ" #. type: textblock -#: ../src/guestfs.pod:54 +#: ../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 " @@ -53893,12 +54102,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:61 +#: ../src/guestfs.pod:63 msgid "The general structure of all libguestfs-using programs looks like this:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:64 +#: ../src/guestfs.pod:66 #, no-wrap msgid "" " guestfs_h *g = guestfs_create ();\n" @@ -53908,7 +54117,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:66 +#: ../src/guestfs.pod:68 #, no-wrap msgid "" " /* Call guestfs_add_drive additional times if there are\n" @@ -53919,7 +54128,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:71 +#: ../src/guestfs.pod:73 #, no-wrap msgid "" " /* Most manipulation calls won't work until you've launched\n" @@ -53931,7 +54140,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:77 +#: ../src/guestfs.pod:79 #, no-wrap msgid "" " /* Now you can examine what partitions, LVs etc are available.\n" @@ -53947,7 +54156,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:82 +#: ../src/guestfs.pod:84 #, no-wrap msgid "" " /* To access a filesystem in the image, you must mount it.\n" @@ -53961,7 +54170,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:86 +#: ../src/guestfs.pod:88 #, no-wrap msgid "" " /* Now you can perform filesystem actions on the guest\n" @@ -53977,7 +54186,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:91 +#: ../src/guestfs.pod:93 #, no-wrap msgid "" " /* Synchronize the disk. This is the opposite of guestfs_launch. */\n" @@ -53986,7 +54195,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:94 +#: ../src/guestfs.pod:96 #, no-wrap msgid "" " /* Close and free the handle 'g'. */\n" @@ -53995,7 +54204,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:97 +#: ../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 " @@ -54007,12 +54216,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:106 +#: ../src/guestfs.pod:108 msgid "DISK IMAGES" msgstr "ОБРАЗИ ДИСКІВ" #. type: textblock -#: ../src/guestfs.pod:108 +#: ../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 " @@ -54022,7 +54231,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:114 +#: ../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 " @@ -54030,7 +54239,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:118 +#: ../src/guestfs.pod:120 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename,\n" @@ -54044,12 +54253,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:122 +#: ../src/guestfs.pod:124 msgid "You can add a disk read-only using:" msgstr "Ви можете додати диск у режимі лише читання:" #. type: verbatim -#: ../src/guestfs.pod:124 +#: ../src/guestfs.pod:126 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename,\n" @@ -54065,14 +54274,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:129 +#: ../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. (See also L</DISK IMAGE FORMATS> below)." msgstr "" #. type: textblock -#: ../src/guestfs.pod:133 +#: ../src/guestfs.pod:135 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 " @@ -54080,7 +54289,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:137 +#: ../src/guestfs.pod:139 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 " @@ -54088,7 +54297,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:142 +#: ../src/guestfs.pod:144 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 " @@ -54096,12 +54305,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:147 +#: ../src/guestfs.pod:149 msgid "MOUNTING" msgstr "МОНТУВАННЯ" #. type: textblock -#: ../src/guestfs.pod:149 +#: ../src/guestfs.pod:151 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 " @@ -54111,7 +54320,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:156 +#: ../src/guestfs.pod:158 #, fuzzy, no-wrap #| msgid "" #| " guestfs_mount_options (g, \"\", \"/dev/sda1\", \"/\");\n" @@ -54124,7 +54333,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:158 +#: ../src/guestfs.pod:160 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 " @@ -54134,7 +54343,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:164 +#: ../src/guestfs.pod:166 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</" @@ -54145,7 +54354,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:172 +#: ../src/guestfs.pod:174 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 " @@ -54153,19 +54362,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:177 +#: ../src/guestfs.pod:179 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:180 +#: ../src/guestfs.pod:182 msgid "FILESYSTEM ACCESS AND MODIFICATION" msgstr "ДОСТУП ТА ВНЕСЕННЯ ЗМІН ДО ФАЙЛОВИХ СИСТЕМ" #. type: textblock -#: ../src/guestfs.pod:182 +#: ../src/guestfs.pod:184 msgid "" "The majority of the libguestfs API consists of fairly low-level calls for " "accessing and modifying the files, directories, symlinks etc on mounted " @@ -54175,7 +54384,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:188 +#: ../src/guestfs.pod:190 msgid "" "Specify filenames as full paths, starting with C<\"/\"> and including the " "mount point." @@ -54184,7 +54393,7 @@ msgstr "" "точкою монтування." #. type: textblock -#: ../src/guestfs.pod:191 +#: ../src/guestfs.pod:193 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:" @@ -54194,7 +54403,7 @@ msgstr "" "таким кодом:" #. type: verbatim -#: ../src/guestfs.pod:194 +#: ../src/guestfs.pod:196 #, no-wrap msgid "" " char *data = guestfs_cat (g, \"/etc/passwd\");\n" @@ -54204,7 +54413,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:196 +#: ../src/guestfs.pod:198 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), " @@ -54212,14 +54421,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:200 +#: ../src/guestfs.pod:202 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:203 +#: ../src/guestfs.pod:205 #, no-wrap msgid "" " guestfs_mkdir (g, \"/var\");\n" @@ -54229,12 +54438,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:205 +#: ../src/guestfs.pod:207 msgid "To create a symlink you could do:" msgstr "Щоб створити символічне посилання, ви можете скористатися таким кодом:" #. type: verbatim -#: ../src/guestfs.pod:207 +#: ../src/guestfs.pod:209 #, no-wrap msgid "" " guestfs_ln_s (g, \"/etc/init.d/portmap\",\n" @@ -54246,14 +54455,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:210 +#: ../src/guestfs.pod:212 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:213 +#: ../src/guestfs.pod:215 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 " @@ -54263,40 +54472,40 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:219 +#: ../src/guestfs.pod:221 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:222 +#: ../src/guestfs.pod:224 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:226 +#: ../src/guestfs.pod:228 msgid "PARTITIONING" msgstr "ПОДІЛ НА РОЗДІЛИ" #. type: textblock -#: ../src/guestfs.pod:228 +#: ../src/guestfs.pod:230 msgid "" "Libguestfs contains API calls to read, create and modify partition tables on " "disk images." msgstr "" #. type: textblock -#: ../src/guestfs.pod:231 +#: ../src/guestfs.pod:233 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:235 +#: ../src/guestfs.pod:237 #, no-wrap msgid "" " const char *parttype = \"mbr\";\n" @@ -54312,18 +54521,18 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:240 +#: ../src/guestfs.pod:242 msgid "" "Obviously this effectively wipes anything that was on that disk image before." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:243 +#: ../src/guestfs.pod:245 msgid "LVM2" msgstr "LVM2" #. type: textblock -#: ../src/guestfs.pod:245 +#: ../src/guestfs.pod:247 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 " @@ -54332,19 +54541,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:250 +#: ../src/guestfs.pod:252 msgid "" "This author strongly recommends reading the LVM HOWTO, online at L<http://" "tldp.org/HOWTO/LVM-HOWTO/>." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:253 +#: ../src/guestfs.pod:255 msgid "DOWNLOADING" msgstr "ОТРИМАННЯ ДАНИХ" #. type: textblock -#: ../src/guestfs.pod:255 +#: ../src/guestfs.pod:257 msgid "" "Use L</guestfs_cat> to download small, text only files. This call cannot " "handle files contain any ASCII NUL (C<\\0>) characters. However the API is " @@ -54352,38 +54561,38 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:259 +#: ../src/guestfs.pod:261 msgid "" "L</guestfs_read_file> can be used to read files which contain arbitrary 8 " "bit data, since it returns a (pointer, size) pair." msgstr "" #. type: textblock -#: ../src/guestfs.pod:262 +#: ../src/guestfs.pod:264 msgid "" "L</guestfs_download> can be used to download any file, with no limits on " "content or size." msgstr "" #. type: textblock -#: ../src/guestfs.pod:265 +#: ../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:268 +#: ../src/guestfs.pod:270 msgid "UPLOADING" msgstr "ВИВАНТАЖЕННЯ" #. type: textblock -#: ../src/guestfs.pod:270 +#: ../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:273 +#: ../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</" @@ -54393,20 +54602,20 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:279 +#: ../src/guestfs.pod:281 msgid "" "To upload a single file, use L</guestfs_upload>. This call has no limits on " "file content or size." msgstr "" #. type: textblock -#: ../src/guestfs.pod:282 +#: ../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:284 +#: ../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)" @@ -54420,12 +54629,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:295 +#: ../src/guestfs.pod:297 msgid "COPYING" msgstr "КОПІЮВАННЯ" #. type: textblock -#: ../src/guestfs.pod:297 +#: ../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 " @@ -54433,52 +54642,52 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:303 +#: ../src/guestfs.pod:305 msgid "B<file> to B<file>" msgstr "B<файл> у B<файл>" #. type: textblock -#: ../src/guestfs.pod:305 +#: ../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:308 +#: ../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:311 +#: ../src/guestfs.pod:313 msgid "B<file> to B<device>" msgstr "B<файл> на B<пристрій>" #. type: =item -#: ../src/guestfs.pod:313 +#: ../src/guestfs.pod:315 msgid "B<device> to B<file>" msgstr "B<пристрій> до B<файла>" #. type: =item -#: ../src/guestfs.pod:315 +#: ../src/guestfs.pod:317 msgid "B<device> to B<device>" msgstr "B<пристрій> на B<пристрій>" #. type: textblock -#: ../src/guestfs.pod:317 +#: ../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:320 +#: ../src/guestfs.pod:322 msgid "Example: duplicate the contents of an LV:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:322 +#: ../src/guestfs.pod:324 #, no-wrap msgid "" " guestfs_copy_device_to_device (g,\n" @@ -54489,7 +54698,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:327 +#: ../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 " @@ -54497,7 +54706,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:331 +#: ../src/guestfs.pod:333 #, no-wrap msgid "" " guestfs_copy_device_to_device (g,\n" @@ -54513,32 +54722,32 @@ msgstr "" "\n" #. type: =item -#: ../src/guestfs.pod:336 +#: ../src/guestfs.pod:338 msgid "B<file on the host> to B<file or device>" msgstr "B<файл на вузлі> на B<файл або пристрій>" #. type: textblock -#: ../src/guestfs.pod:338 +#: ../src/guestfs.pod:340 msgid "Use L</guestfs_upload>. See L</UPLOADING> above." msgstr "" #. type: =item -#: ../src/guestfs.pod:340 +#: ../src/guestfs.pod:342 msgid "B<file or device> to B<file on the host>" msgstr "B<файл або пристрій> у B<файл на вузлі>" #. type: textblock -#: ../src/guestfs.pod:342 +#: ../src/guestfs.pod:344 msgid "Use L</guestfs_download>. See L</DOWNLOADING> above." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:346 +#: ../src/guestfs.pod:348 msgid "UPLOADING AND DOWNLOADING TO PIPES AND FILE DESCRIPTORS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:348 +#: ../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 " @@ -54549,12 +54758,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:356 +#: ../src/guestfs.pod:358 msgid "For example, L<virt-cat(1)> writes its output to stdout by doing:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:359 +#: ../src/guestfs.pod:361 #, no-wrap msgid "" " guestfs_download (g, filename, \"/dev/stdout\");\n" @@ -54564,12 +54773,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:361 +#: ../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:363 +#: ../src/guestfs.pod:365 #, no-wrap msgid "" " char devfd[64];\n" @@ -54583,26 +54792,26 @@ msgstr "" "\n" #. type: =head2 -#: ../src/guestfs.pod:367 +#: ../src/guestfs.pod:369 msgid "LISTING FILES" msgstr "СПИСКИ ФАЙЛІВ" #. type: textblock -#: ../src/guestfs.pod:369 +#: ../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:372 +#: ../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:375 +#: ../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 " @@ -54610,18 +54819,18 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:379 +#: ../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:382 +#: ../src/guestfs.pod:384 msgid "RUNNING COMMANDS" msgstr "ВИКОНАННЯ КОМАНД" #. type: textblock -#: ../src/guestfs.pod:384 +#: ../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 " @@ -54629,56 +54838,56 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:388 +#: ../src/guestfs.pod:390 msgid "There are many limitations to this:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:394 +#: ../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:399 +#: ../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:404 +#: ../src/guestfs.pod:406 msgid "The command will be running in limited memory." msgstr "" #. type: textblock -#: ../src/guestfs.pod:408 +#: ../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:413 +#: ../src/guestfs.pod:415 msgid "Only supports Linux guests (not Windows, BSD, etc)." msgstr "" #. type: textblock -#: ../src/guestfs.pod:417 +#: ../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:422 +#: ../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:427 +#: ../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 " @@ -54690,7 +54899,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:436 +#: ../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 " @@ -54700,26 +54909,26 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:444 +#: ../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:447 +#: ../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:450 +#: ../src/guestfs.pod:452 msgid "CONFIGURATION FILES" msgstr "ФАЙЛИ НАЛАШТУВАННЯ" #. type: textblock -#: ../src/guestfs.pod:452 +#: ../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 " @@ -54728,7 +54937,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:457 +#: ../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 " @@ -54736,7 +54945,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:461 +#: ../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 " @@ -54744,24 +54953,24 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:465 +#: ../src/guestfs.pod:467 msgid "SELINUX" msgstr "SELINUX" #. type: textblock -#: ../src/guestfs.pod:467 +#: ../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:475 +#: ../src/guestfs.pod:477 msgid "Before launching, do:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:477 +#: ../src/guestfs.pod:479 #, no-wrap msgid "" " guestfs_set_selinux (g, 1);\n" @@ -54771,14 +54980,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:481 +#: ../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:485 +#: ../src/guestfs.pod:487 #, no-wrap msgid "" " guestfs_sh (g, \"/usr/sbin/load_policy\");\n" @@ -54788,21 +54997,21 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:487 +#: ../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:492 +#: ../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:496 +#: ../src/guestfs.pod:498 #, no-wrap msgid "" " guestfs_setcon (g, \"unconfined_u:unconfined_r:unconfined_t:s0\");\n" @@ -54812,24 +55021,24 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:500 +#: ../src/guestfs.pod:502 msgid "This will work for running commands and editing existing files." msgstr "" #. type: textblock -#: ../src/guestfs.pod:502 +#: ../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:506 +#: ../src/guestfs.pod:508 msgid "UMASK" msgstr "UMASK" #. type: textblock -#: ../src/guestfs.pod:508 +#: ../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 " @@ -54839,14 +55048,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:514 +#: ../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:517 +#: ../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</" @@ -54854,12 +55063,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:521 +#: ../src/guestfs.pod:523 msgid "For more information about umask, see L<umask(2)>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:525 +#: ../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) " @@ -54868,21 +55077,21 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:531 +#: ../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:534 +#: ../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:537 +#: ../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</" @@ -54891,7 +55100,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:543 +#: ../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" @@ -54899,7 +55108,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:547 +#: ../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, " @@ -54909,19 +55118,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:554 +#: ../src/guestfs.pod:556 msgid "MOUNT LOCAL" msgstr "" #. type: textblock -#: ../src/guestfs.pod:556 +#: ../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:560 +#: ../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 " @@ -54932,7 +55141,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:567 +#: ../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 " @@ -54945,7 +55154,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:577 +#: ../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 " @@ -54956,12 +55165,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:585 +#: ../src/guestfs.pod:587 msgid "MOUNT LOCAL COMPATIBILITY" msgstr "" #. type: textblock -#: ../src/guestfs.pod:587 +#: ../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 " @@ -54970,7 +55179,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:592 +#: ../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</" @@ -54978,12 +55187,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:596 +#: ../src/guestfs.pod:598 msgid "MOUNT LOCAL PERFORMANCE" msgstr "" #. type: textblock -#: ../src/guestfs.pod:598 +#: ../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. " @@ -54991,12 +55200,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:602 +#: ../src/guestfs.pod:604 msgid "INSPECTION" msgstr "ПЕРЕВІРКА" #. type: textblock -#: ../src/guestfs.pod:604 +#: ../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 " @@ -55006,14 +55215,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:611 +#: ../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:614 +#: ../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 " @@ -55026,7 +55235,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:623 +#: ../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</" @@ -55035,7 +55244,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:629 +#: ../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 " @@ -55046,7 +55255,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:636 +#: ../src/guestfs.pod:638 #, no-wrap msgid "" " /boot => /dev/sda1\n" @@ -55060,21 +55269,21 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:640 +#: ../src/guestfs.pod:642 msgid "" "The caller can then make calls to L</guestfs_mount> to mount the filesystems " "as suggested." msgstr "" #. type: textblock -#: ../src/guestfs.pod:643 +#: ../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:647 +#: ../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 " @@ -55082,7 +55291,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:651 +#: ../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 " @@ -55090,7 +55299,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:655 +#: ../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 " @@ -55103,19 +55312,19 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:664 +#: ../src/guestfs.pod:666 msgid "INSPECTING INSTALL DISKS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:666 +#: ../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:669 +#: ../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 " @@ -55123,7 +55332,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:673 +#: ../src/guestfs.pod:675 msgid "" "Further information is available about the operating system that can be " "installed using the regular inspection APIs like L</" @@ -55131,7 +55340,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:678 +#: ../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</" @@ -55139,24 +55348,24 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:683 +#: ../src/guestfs.pod:685 msgid "SPECIAL CONSIDERATIONS FOR WINDOWS GUESTS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:685 +#: ../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:688 +#: ../src/guestfs.pod:690 msgid "DRIVE LETTERS AND PATHS" msgstr "ЛІТЕРИ ДИСКІВ ТА ШЛЯХИ" #. type: textblock -#: ../src/guestfs.pod:690 +#: ../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 " @@ -55166,14 +55375,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:696 +#: ../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:699 +#: ../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 " @@ -55181,33 +55390,33 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:703 +#: ../src/guestfs.pod:705 msgid "" "To resolve the case insensitivity of paths, call L</" "guestfs_case_sensitive_path>." msgstr "" #. type: =head3 -#: ../src/guestfs.pod:706 +#: ../src/guestfs.pod:708 msgid "LONG FILENAMES ON NTFS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:708 +#: ../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:712 +#: ../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:715 +#: ../src/guestfs.pod:717 #, no-wrap msgid "" " File name too long\n" @@ -55215,14 +55424,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:717 +#: ../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:720 +#: ../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 " @@ -55230,7 +55439,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:724 +#: ../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 " @@ -55238,19 +55447,19 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:728 +#: ../src/guestfs.pod:730 msgid "ACCESSING THE WINDOWS REGISTRY" msgstr "ДОСТУП ДО РЕГІСТРУ WINDOWS" #. type: textblock -#: ../src/guestfs.pod:730 +#: ../src/guestfs.pod:732 msgid "" "Libguestfs also provides some help for decoding Windows Registry \"hive\" " "files, through a separate C library called L<hivex(3)>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:733 +#: ../src/guestfs.pod:735 msgid "" "Before libguestfs 1.19.35 you had to download the hive file, operate on it " "locally using hivex, and upload it again. Since this version, we have " @@ -55260,19 +55469,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:739 +#: ../src/guestfs.pod:741 #, fuzzy #| msgid "See also L<btrfs(8)>." msgid "See also L<virt-win-reg(1)>." msgstr "Див. також L<btrfs(8)>." #. type: =head3 -#: ../src/guestfs.pod:741 +#: ../src/guestfs.pod:743 msgid "SYMLINKS ON NTFS-3G FILESYSTEMS" msgstr "СИМВОЛІЧНІ ПОСИЛАННЯ У ФАЙЛОВИХ СИСТЕМАХ NTFS-3G" #. type: textblock -#: ../src/guestfs.pod:743 +#: ../src/guestfs.pod:745 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 " @@ -55280,7 +55489,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:747 +#: ../src/guestfs.pod:749 msgid "" "L<http://www.tuxera.com/community/ntfs-3g-advanced/junction-points-and-" "symbolic-links/>" @@ -55289,7 +55498,7 @@ msgstr "" "symbolic-links/>" #. type: textblock -#: ../src/guestfs.pod:749 +#: ../src/guestfs.pod:751 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 " @@ -55299,7 +55508,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:756 +#: ../src/guestfs.pod:758 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 " @@ -55308,38 +55517,38 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:761 +#: ../src/guestfs.pod:763 msgid "EXTENDED ATTRIBUTES ON NTFS-3G FILESYSTEMS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:763 +#: ../src/guestfs.pod:765 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:766 +#: ../src/guestfs.pod:768 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:768 +#: ../src/guestfs.pod:770 msgid "RESIZE2FS ERRORS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:770 +#: ../src/guestfs.pod:772 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:773 +#: ../src/guestfs.pod:775 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 " @@ -55348,7 +55557,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:778 +#: ../src/guestfs.pod:780 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 " @@ -55356,14 +55565,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:783 +#: ../src/guestfs.pod:785 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:786 +#: ../src/guestfs.pod:788 #, no-wrap msgid "" " Please run 'e2fsck -fy <device>' to fix the filesystem\n" @@ -55372,7 +55581,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:789 +#: ../src/guestfs.pod:791 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 " @@ -55381,19 +55590,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:794 +#: ../src/guestfs.pod:796 msgid "USING LIBGUESTFS WITH OTHER PROGRAMMING LANGUAGES" msgstr "ВИКОРИСТАННЯ LIBGUESTFS ЗА ДОПОМОГОЮ ІНШИХ МОВ ПРОГРАМУВАННЯ" #. type: textblock -#: ../src/guestfs.pod:796 +#: ../src/guestfs.pod:798 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:799 +#: ../src/guestfs.pod:801 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)> " @@ -55403,14 +55612,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:805 +#: ../src/guestfs.pod:807 msgid "" "Error messages are automatically transformed into exceptions if the language " "supports it." msgstr "" #. type: textblock -#: ../src/guestfs.pod:808 +#: ../src/guestfs.pod:810 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 " @@ -55418,58 +55627,58 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:814 +#: ../src/guestfs.pod:816 msgid "B<C++>" msgstr "B<C++>" #. type: textblock -#: ../src/guestfs.pod:816 +#: ../src/guestfs.pod:818 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:820 +#: ../src/guestfs.pod:822 msgid "B<C#>" msgstr "B<C#>" #. type: textblock -#: ../src/guestfs.pod:822 +#: ../src/guestfs.pod:824 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:825 +#: ../src/guestfs.pod:827 msgid "B<Erlang>" msgstr "B<Erlang>" #. type: textblock -#: ../src/guestfs.pod:827 +#: ../src/guestfs.pod:829 msgid "See L<guestfs-erlang(3)>." msgstr "Див. L<guestfs-erlang(3)>." #. type: =item -#: ../src/guestfs.pod:829 +#: ../src/guestfs.pod:831 msgid "B<GObject>" msgstr "B<GObject>" #. type: textblock -#: ../src/guestfs.pod:831 +#: ../src/guestfs.pod:833 msgid "" "Experimental GObject bindings (with GObject Introspection support) are " "available. See the C<gobject> directory in the source." msgstr "" #. type: =item -#: ../src/guestfs.pod:834 +#: ../src/guestfs.pod:836 msgid "B<Haskell>" msgstr "B<Haskell>" #. type: textblock -#: ../src/guestfs.pod:836 +#: ../src/guestfs.pod:838 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 " @@ -55477,96 +55686,96 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:840 +#: ../src/guestfs.pod:842 msgid "B<Java>" msgstr "B<Java>" #. type: textblock -#: ../src/guestfs.pod:842 +#: ../src/guestfs.pod:844 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:845 +#: ../src/guestfs.pod:847 msgid "B<OCaml>" msgstr "B<OCaml>" #. type: textblock -#: ../src/guestfs.pod:847 +#: ../src/guestfs.pod:849 msgid "See L<guestfs-ocaml(3)>." msgstr "Див. L<guestfs-ocaml(3)>." #. type: =item -#: ../src/guestfs.pod:849 +#: ../src/guestfs.pod:851 msgid "B<Perl>" msgstr "B<Perl>" #. type: textblock -#: ../src/guestfs.pod:851 +#: ../src/guestfs.pod:853 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:853 +#: ../src/guestfs.pod:855 msgid "B<PHP>" msgstr "B<PHP>" #. type: textblock -#: ../src/guestfs.pod:855 +#: ../src/guestfs.pod:857 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:858 +#: ../src/guestfs.pod:860 msgid "The PHP binding only works correctly on 64 bit machines." msgstr "" #. type: =item -#: ../src/guestfs.pod:860 +#: ../src/guestfs.pod:862 msgid "B<Python>" msgstr "B<Python>" #. type: textblock -#: ../src/guestfs.pod:862 +#: ../src/guestfs.pod:864 msgid "See L<guestfs-python(3)>." msgstr "Див. L<guestfs-python(3)>." #. type: =item -#: ../src/guestfs.pod:864 +#: ../src/guestfs.pod:866 msgid "B<Ruby>" msgstr "B<Ruby>" #. type: textblock -#: ../src/guestfs.pod:866 +#: ../src/guestfs.pod:868 msgid "See L<guestfs-ruby(3)>." msgstr "Див. L<guestfs-ruby(3)>." #. type: textblock -#: ../src/guestfs.pod:868 +#: ../src/guestfs.pod:870 msgid "For JRuby, use the Java bindings." msgstr "" #. type: =item -#: ../src/guestfs.pod:870 +#: ../src/guestfs.pod:872 msgid "B<shell scripts>" msgstr "B<скрипти оболонки>" #. type: textblock -#: ../src/guestfs.pod:872 +#: ../src/guestfs.pod:874 msgid "See L<guestfish(1)>." msgstr "Див. L<guestfish(1)>." #. type: =head2 -#: ../src/guestfs.pod:876 +#: ../src/guestfs.pod:878 msgid "LIBGUESTFS GOTCHAS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:878 +#: ../src/guestfs.pod:880 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 " @@ -55574,7 +55783,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:882 +#: ../src/guestfs.pod:884 msgid "" "Since we developed libguestfs and the associated tools, there are several " "things we would have designed differently, but are now stuck with for " @@ -55583,19 +55792,19 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:890 +#: ../src/guestfs.pod:892 msgid "Autosync / forgetting to sync." msgstr "" #. type: textblock -#: ../src/guestfs.pod:892 +#: ../src/guestfs.pod:894 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:895 +#: ../src/guestfs.pod:897 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 " @@ -55603,7 +55812,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:899 +#: ../src/guestfs.pod:901 #, no-wrap msgid "" " guestfs_set_autosync (g, 1);\n" @@ -55613,14 +55822,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:901 +#: ../src/guestfs.pod:903 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:905 +#: ../src/guestfs.pod:907 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 " @@ -55628,7 +55837,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:909 +#: ../src/guestfs.pod:911 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 " @@ -55636,19 +55845,19 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:913 +#: ../src/guestfs.pod:915 msgid "Mount option C<-o sync> should not be the default." msgstr "" #. type: textblock -#: ../src/guestfs.pod:915 +#: ../src/guestfs.pod:917 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:918 +#: ../src/guestfs.pod:920 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 " @@ -55656,31 +55865,31 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:922 +#: ../src/guestfs.pod:924 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:925 +#: ../src/guestfs.pod:927 msgid "Read-only should be the default." msgstr "" #. type: textblock -#: ../src/guestfs.pod:927 +#: ../src/guestfs.pod:929 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:930 +#: ../src/guestfs.pod:932 msgid "This would reduce the potential to corrupt live VM images." msgstr "" #. type: textblock -#: ../src/guestfs.pod:932 +#: ../src/guestfs.pod:934 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</" @@ -55688,12 +55897,12 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:936 +#: ../src/guestfs.pod:938 msgid "guestfish command line is hard to use." msgstr "" #. type: textblock -#: ../src/guestfs.pod:938 +#: ../src/guestfs.pod:940 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 " @@ -55703,12 +55912,12 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:945 +#: ../src/guestfs.pod:947 msgid "guestfish megabyte modifiers don't work right on all commands" msgstr "" #. type: textblock -#: ../src/guestfs.pod:947 +#: ../src/guestfs.pod:949 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 " @@ -55718,12 +55927,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:954 +#: ../src/guestfs.pod:956 msgid "The most common is L</guestfs_lvcreate>. The guestfish command:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:956 +#: ../src/guestfs.pod:958 #, no-wrap msgid "" " lvcreate LV VG 100M\n" @@ -55733,7 +55942,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:958 +#: ../src/guestfs.pod:960 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 " @@ -55742,19 +55951,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:963 +#: ../src/guestfs.pod:965 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:966 +#: ../src/guestfs.pod:968 msgid "Ambiguity between devices and paths" msgstr "" #. type: textblock -#: ../src/guestfs.pod:968 +#: ../src/guestfs.pod:970 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 " @@ -55762,7 +55971,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:973 +#: ../src/guestfs.pod:975 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>. " @@ -55771,7 +55980,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:979 +#: ../src/guestfs.pod:981 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 " @@ -55781,7 +55990,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:985 +#: ../src/guestfs.pod:987 #, no-wrap msgid "" " type path = Path of string | Device of int | Partition of int * int\n" @@ -55789,12 +55998,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:987 +#: ../src/guestfs.pod:989 msgid "which would allow you to pass arguments like:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:989 +#: ../src/guestfs.pod:991 #, no-wrap msgid "" " Path \"/foo/bar\"\n" @@ -55805,26 +56014,26 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:994 +#: ../src/guestfs.pod:996 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:999 +#: ../src/guestfs.pod:1001 msgid "KEYS AND PASSPHRASES" msgstr "КЛЮЧІ І ПАРОЛІ" #. type: textblock -#: ../src/guestfs.pod:1001 +#: ../src/guestfs.pod:1003 msgid "" "Certain libguestfs calls take a parameter that contains sensitive key " "material, passed in as a C string." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1004 +#: ../src/guestfs.pod:1006 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 " @@ -55833,7 +56042,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1009 +#: ../src/guestfs.pod:1011 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, " @@ -55841,19 +56050,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1014 +#: ../src/guestfs.pod:1016 msgid "MULTIPLE HANDLES AND MULTIPLE THREADS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1016 +#: ../src/guestfs.pod:1018 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:1019 +#: ../src/guestfs.pod:1021 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 " @@ -55861,33 +56070,33 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1023 +#: ../src/guestfs.pod:1025 msgid "" "See the graphical program guestfs-browser for one possible architecture for " "multithreaded programs using libvirt and libguestfs." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1026 +#: ../src/guestfs.pod:1028 msgid "PATH" msgstr "ШЛЯХ" #. type: textblock -#: ../src/guestfs.pod:1028 +#: ../src/guestfs.pod:1030 msgid "" "Libguestfs needs a supermin appliance, which it finds by looking along an " "internal path." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1031 +#: ../src/guestfs.pod:1033 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:1034 +#: ../src/guestfs.pod:1036 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 " @@ -55898,12 +56107,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1041 +#: ../src/guestfs.pod:1043 msgid "QEMU WRAPPERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1043 +#: ../src/guestfs.pod:1045 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 " @@ -55911,7 +56120,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1047 +#: ../src/guestfs.pod:1049 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 " @@ -55920,14 +56129,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1052 +#: ../src/guestfs.pod:1054 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:1055 +#: ../src/guestfs.pod:1057 #, no-wrap msgid "" " #!/bin/sh -\n" @@ -55941,7 +56150,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1059 +#: ../src/guestfs.pod:1061 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 " @@ -55949,7 +56158,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1063 +#: ../src/guestfs.pod:1065 #, no-wrap msgid "" " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n" @@ -55959,14 +56168,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1065 +#: ../src/guestfs.pod:1067 msgid "" "Note that libguestfs also calls qemu with the -help and -version options in " "order to determine features." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1068 +#: ../src/guestfs.pod:1070 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 " @@ -55976,7 +56185,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1077 +#: ../src/guestfs.pod:1079 #, no-wrap msgid "" " i=0\n" @@ -56006,7 +56215,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:1089 +#: ../src/guestfs.pod:1091 #, no-wrap msgid "" " exec qemu-kvm -machine pc,accel=tcg \"${args[@]}\"\n" @@ -56016,19 +56225,19 @@ msgstr "" "\n" #. type: =head2 -#: ../src/guestfs.pod:1091 +#: ../src/guestfs.pod:1093 msgid "ATTACHING TO RUNNING DAEMONS" msgstr "ДОЛУЧЕННЯ ДО ЗАПУЩЕНИХ ФОНОВИХ СЛУЖБ" #. type: textblock -#: ../src/guestfs.pod:1093 +#: ../src/guestfs.pod:1095 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:1096 +#: ../src/guestfs.pod:1098 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 " @@ -56036,12 +56245,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:1100 +#: ../src/guestfs.pod:1102 msgid "Using guestfs_set_attach_method" msgstr "За допомогою guestfs_set_attach_method" #. type: textblock -#: ../src/guestfs.pod:1102 +#: ../src/guestfs.pod:1104 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</" @@ -56049,7 +56258,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1106 +#: ../src/guestfs.pod:1108 msgid "" "The normal attach method is C<appliance>, where a small appliance is created " "containing the daemon, and then the library connects to this. C<libvirt> or " @@ -56057,7 +56266,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1111 +#: ../src/guestfs.pod:1113 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 " @@ -56065,7 +56274,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1115 +#: ../src/guestfs.pod:1117 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 " @@ -56073,12 +56282,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:1119 +#: ../src/guestfs.pod:1121 msgid "Using guestfs_add_domain with live flag" msgstr "За допомогою guestfs_add_domain з прапорцем live" #. type: textblock -#: ../src/guestfs.pod:1121 +#: ../src/guestfs.pod:1123 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 " @@ -56087,7 +56296,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1127 +#: ../src/guestfs.pod:1129 #, no-wrap msgid "" " <domain>\n" @@ -56117,14 +56326,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1139 +#: ../src/guestfs.pod:1141 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:1142 +#: ../src/guestfs.pod:1144 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 " @@ -56132,19 +56341,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1146 +#: ../src/guestfs.pod:1148 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:1150 +#: ../src/guestfs.pod:1152 msgid "ABI GUARANTEE" msgstr "ГАРАНТІЯ ЩОДО ABI" #. type: textblock -#: ../src/guestfs.pod:1152 +#: ../src/guestfs.pod:1154 msgid "" "We guarantee the libguestfs ABI (binary interface), for public, high-level " "actions as outlined in this section. Although we will deprecate some " @@ -56154,12 +56363,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1158 +#: ../src/guestfs.pod:1160 msgid "BLOCK DEVICE NAMING" msgstr "ІМЕНУВАННЯ БЛОКОВИХ ПРИСТРОЇВ" #. type: textblock -#: ../src/guestfs.pod:1160 +#: ../src/guestfs.pod:1162 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 " @@ -56173,7 +56382,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1172 +#: ../src/guestfs.pod:1174 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 " @@ -56181,7 +56390,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1176 +#: ../src/guestfs.pod:1178 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 " @@ -56189,7 +56398,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1181 +#: ../src/guestfs.pod:1183 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 " @@ -56198,7 +56407,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1187 +#: ../src/guestfs.pod:1189 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 " @@ -56207,12 +56416,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:1192 +#: ../src/guestfs.pod:1194 msgid "ALGORITHM FOR BLOCK DEVICE NAME TRANSLATION" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1194 +#: ../src/guestfs.pod:1196 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 " @@ -56221,7 +56430,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1200 +#: ../src/guestfs.pod:1202 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</" @@ -56229,54 +56438,54 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1208 +#: ../src/guestfs.pod:1210 msgid "Is the string a parameter which is a device or partition name?" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1212 +#: ../src/guestfs.pod:1214 msgid "Does the string begin with C</dev/sd>?" msgstr "Чи починається рядок з C</dev/sd>?" #. type: textblock -#: ../src/guestfs.pod:1216 +#: ../src/guestfs.pod:1218 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:1221 +#: ../src/guestfs.pod:1223 msgid "Replace initial C</dev/sd> string with C</dev/hd>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1223 +#: ../src/guestfs.pod:1225 msgid "For example, change C</dev/sda2> to C</dev/hda2>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1225 +#: ../src/guestfs.pod:1227 msgid "If that named device exists, use it. If not, continue." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1229 +#: ../src/guestfs.pod:1231 msgid "Replace initial C</dev/sd> string with C</dev/vd>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1231 +#: ../src/guestfs.pod:1233 msgid "If that named device exists, use it. If not, return an error." msgstr "" #. type: =head3 -#: ../src/guestfs.pod:1235 +#: ../src/guestfs.pod:1237 msgid "PORTABILITY CONCERNS WITH BLOCK DEVICE NAMING" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1237 +#: ../src/guestfs.pod:1239 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 " @@ -56284,39 +56493,39 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1241 +#: ../src/guestfs.pod:1243 msgid "" "Where possible for maximum future portability programs using libguestfs " "should use these future-proof techniques:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1248 +#: ../src/guestfs.pod:1250 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:1251 +#: ../src/guestfs.pod:1253 msgid "" "Since those device names exist by definition, they will never be translated." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1256 +#: ../src/guestfs.pod:1258 msgid "" "Use higher level ways to identify filesystems, such as LVM names, UUIDs and " "filesystem labels." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1261 +#: ../src/guestfs.pod:1263 msgid "NULL DISKS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1263 +#: ../src/guestfs.pod:1265 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 " @@ -56324,46 +56533,46 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1267 +#: ../src/guestfs.pod:1269 msgid "A null disk has the following properties:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1273 +#: ../src/guestfs.pod:1275 msgid "" "A null disk will appear as a normal device, eg. in calls to L</" "guestfs_list_devices>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1278 +#: ../src/guestfs.pod:1280 msgid "You may add C<\"/dev/null\"> multiple times." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1282 +#: ../src/guestfs.pod:1284 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:1287 +#: ../src/guestfs.pod:1289 msgid "Null disks are used for three main purposes:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1293 +#: ../src/guestfs.pod:1295 msgid "Performance testing of libguestfs (see L<guestfs-performance(1)>)." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1297 +#: ../src/guestfs.pod:1299 msgid "The internal test suite." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1301 +#: ../src/guestfs.pod:1303 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 " @@ -56371,12 +56580,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1305 +#: ../src/guestfs.pod:1307 msgid "For example, to test if a feature is available, use code like this:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1307 +#: ../src/guestfs.pod:1309 #, no-wrap msgid "" " guestfs_h *g;\n" @@ -56385,7 +56594,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1310 +#: ../src/guestfs.pod:1312 #, no-wrap msgid "" " g = guestfs_create ();\n" @@ -56401,21 +56610,21 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1322 +#: ../src/guestfs.pod:1324 #, fuzzy #| msgid "DISK IMAGES" msgid "DISK IMAGE FORMATS" msgstr "ОБРАЗИ ДИСКІВ" #. type: textblock -#: ../src/guestfs.pod:1324 +#: ../src/guestfs.pod:1326 msgid "" "Virtual disks come in a variety of formats. Some common formats are listed " "below." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1327 +#: ../src/guestfs.pod:1329 msgid "" "Note that libguestfs itself is not responsible for handling the disk format: " "this is done using L<qemu(1)>. If support for a particular format is " @@ -56423,24 +56632,24 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:1331 +#: ../src/guestfs.pod:1333 msgid "COMMON VIRTUAL DISK IMAGE FORMATS" msgstr "" #. type: =item -#: ../src/guestfs.pod:1335 +#: ../src/guestfs.pod:1337 msgid "I<raw>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1337 +#: ../src/guestfs.pod:1339 msgid "" "Raw format is simply a dump of the sequential bytes of the virtual hard " "disk. There is no header, container, compression or processing of any sort." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1341 +#: ../src/guestfs.pod:1343 msgid "" "Since raw format requires no translation to read or write, it is both fast " "and very well supported by qemu and all other hypervisors. You can consider " @@ -56448,7 +56657,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1346 +#: ../src/guestfs.pod:1348 msgid "" "Raw format files are not compressed and so take up the full space of the " "original disk image even when they are empty. A variation (on Linux/Unix at " @@ -56459,12 +56668,12 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:1353 +#: ../src/guestfs.pod:1355 msgid "I<qcow2>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1355 +#: ../src/guestfs.pod:1357 msgid "" "Qcow2 is the native disk image format used by qemu. Internally it uses a " "two-level directory structure so that only blocks containing data are stored " @@ -56473,19 +56682,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1360 +#: ../src/guestfs.pod:1362 msgid "" "There are at least two distinct variants of this format, although qemu (and " "hence libguestfs) handles both transparently to the user." msgstr "" #. type: =item -#: ../src/guestfs.pod:1363 +#: ../src/guestfs.pod:1365 msgid "I<vmdk>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1365 +#: ../src/guestfs.pod:1367 msgid "" "VMDK is VMware's native disk image format. There are many variations. " "Modern qemu (hence libguestfs) supports most variations, but you should be " @@ -56494,7 +56703,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1370 +#: ../src/guestfs.pod:1372 msgid "" "Note that VMware ESX exposes files with the name C<guest-flat.vmdk>. These " "are not VMDK. They are raw format files which happen to have a C<.vmdk> " @@ -56502,55 +56711,55 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:1374 +#: ../src/guestfs.pod:1376 msgid "I<vdi>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1376 +#: ../src/guestfs.pod:1378 msgid "" "VDI is VirtualBox's native disk image format. Qemu (hence libguestfs) has " "generally good support for this." msgstr "" #. type: =item -#: ../src/guestfs.pod:1379 +#: ../src/guestfs.pod:1381 msgid "I<vpc>" msgstr "" #. type: =item -#: ../src/guestfs.pod:1381 +#: ../src/guestfs.pod:1383 msgid "I<vhd>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1383 +#: ../src/guestfs.pod:1385 msgid "" "VPC (old) and VHD (modern) are the native disk image format of Microsoft " "(and previously, Connectix) Virtual PC and Hyper-V." msgstr "" #. type: =item -#: ../src/guestfs.pod:1386 +#: ../src/guestfs.pod:1388 msgid "Obsolete formats" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1388 +#: ../src/guestfs.pod:1390 msgid "" "The following formats are obsolete and should not be used: I<qcow> (aka " "I<qcow1>), I<cow>, I<bochs>." msgstr "" #. type: =head3 -#: ../src/guestfs.pod:1393 +#: ../src/guestfs.pod:1395 #, fuzzy #| msgid "EXAMPLE 1: CREATE A DISK IMAGE" msgid "DETECTING THE FORMAT OF A DISK IMAGE" msgstr "ПРИКЛАД 1. СТВОРЕННЯ ОБРАЗУ ДИСКА" #. type: textblock -#: ../src/guestfs.pod:1395 +#: ../src/guestfs.pod:1397 msgid "" "Firstly note there is a security issue with auto-detecting the format of a " "disk image. It may or may not apply in your use case. Read L</" @@ -56558,14 +56767,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1399 +#: ../src/guestfs.pod:1401 msgid "" "Libguestfs offers an API to get the format of a disk image (L</" "guestfs_disk_format>, and it is safest to use this." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1402 +#: ../src/guestfs.pod:1404 msgid "" "I<Don't> be tempted to try parsing the text / human-readable output of " "C<qemu-img> since it cannot be parsed reliably and securely. Also do not " @@ -56573,24 +56782,24 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:1407 ../sysprep/virt-sysprep.pod:424 +#: ../src/guestfs.pod:1409 ../sysprep/virt-sysprep.pod:424 msgid "SECURITY" msgstr "БЕЗПЕКА" #. type: textblock -#: ../src/guestfs.pod:1409 +#: ../src/guestfs.pod:1411 msgid "" "This section discusses security implications of using libguestfs, " "particularly with untrusted or malicious guests or disk images." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1412 +#: ../src/guestfs.pod:1414 msgid "GENERAL SECURITY CONSIDERATIONS" msgstr "ЗАГАЛЬНІ ЗАУВАЖЕННЯ ЩОДО ЗАХИСТУ" #. type: textblock -#: ../src/guestfs.pod:1414 +#: ../src/guestfs.pod:1416 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 " @@ -56600,42 +56809,42 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1424 +#: ../src/guestfs.pod:1426 msgid "the data (file etc) not being present" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1428 +#: ../src/guestfs.pod:1430 msgid "being present but empty" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1432 +#: ../src/guestfs.pod:1434 msgid "being much larger than normal" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1436 +#: ../src/guestfs.pod:1438 msgid "containing arbitrary 8 bit data" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1440 +#: ../src/guestfs.pod:1442 msgid "being in an unexpected character encoding" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1444 +#: ../src/guestfs.pod:1446 msgid "containing homoglyphs." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1448 +#: ../src/guestfs.pod:1450 msgid "SECURITY OF MOUNTING FILESYSTEMS" msgstr "ЗАХИСТ ФАЙЛОВИХ СИСТЕМ МОНТУВАННЯ" #. type: textblock -#: ../src/guestfs.pod:1450 +#: ../src/guestfs.pod:1452 msgid "" "When you mount a filesystem under Linux, mistakes in the kernel filesystem " "(VFS) module can sometimes be escalated into exploits by deliberately " @@ -56651,7 +56860,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1463 +#: ../src/guestfs.pod:1465 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 " @@ -56665,19 +56874,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1474 +#: ../src/guestfs.pod:1476 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:1477 +#: ../src/guestfs.pod:1479 msgid "PROTOCOL SECURITY" msgstr "ЗАХИСТ ПРОТОКОЛУ" #. type: textblock -#: ../src/guestfs.pod:1479 +#: ../src/guestfs.pod:1481 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 " @@ -56687,12 +56896,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1485 +#: ../src/guestfs.pod:1487 msgid "INSPECTION SECURITY" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1487 +#: ../src/guestfs.pod:1489 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 " @@ -56701,7 +56910,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1493 +#: ../src/guestfs.pod:1495 msgid "" "Guest configuration may be altered in unusual ways by the administrator of " "the virtual machine, and may not reflect reality (particularly for untrusted " @@ -56712,7 +56921,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1501 +#: ../src/guestfs.pod:1503 msgid "" "The inspection API parses guest configuration using two external libraries: " "Augeas (Linux configuration) and hivex (Windows Registry). Both are " @@ -56722,12 +56931,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1507 +#: ../src/guestfs.pod:1509 msgid "RUNNING UNTRUSTED GUEST COMMANDS" msgstr "ЗАПУСК НЕЗАХИЩЕНИХ КОМАНД ГОСТЬОВОЇ СИСТЕМИ" #. type: textblock -#: ../src/guestfs.pod:1509 +#: ../src/guestfs.pod:1511 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 " @@ -56737,26 +56946,26 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1515 +#: ../src/guestfs.pod:1517 msgid "CVE-2010-3851" msgstr "CVE-2010-3851" #. type: textblock -#: ../src/guestfs.pod:1517 +#: ../src/guestfs.pod:1519 #, 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:1519 +#: ../src/guestfs.pod:1521 msgid "" "This security bug concerns the automatic disk format detection that qemu " "does on disk images." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1522 +#: ../src/guestfs.pod:1524 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 " @@ -56765,7 +56974,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1527 +#: ../src/guestfs.pod:1529 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 " @@ -56774,7 +56983,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1532 +#: ../src/guestfs.pod:1534 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 " @@ -56786,25 +56995,25 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1540 +#: ../src/guestfs.pod:1542 msgid "" "In libguestfs this is rather hard to exploit except under two circumstances:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1547 +#: ../src/guestfs.pod:1549 msgid "You have enabled the network or have opened the disk in write mode." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1551 +#: ../src/guestfs.pod:1553 msgid "" "You are also running untrusted code from the guest (see L</RUNNING " "COMMANDS>)." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1556 +#: ../src/guestfs.pod:1558 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 " @@ -56813,31 +57022,31 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1562 +#: ../src/guestfs.pod:1564 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:1565 +#: ../src/guestfs.pod:1567 msgid "" "For libguestfs tools, use the I<--format> command line parameter as " "appropriate." msgstr "" #. type: =head1 -#: ../src/guestfs.pod:1568 +#: ../src/guestfs.pod:1570 msgid "CONNECTION MANAGEMENT" msgstr "КЕРУВАННЯ З’ЄДНАННЯМ" #. type: =head2 -#: ../src/guestfs.pod:1570 +#: ../src/guestfs.pod:1572 msgid "guestfs_h *" msgstr "guestfs_h *" #. type: textblock -#: ../src/guestfs.pod:1572 +#: ../src/guestfs.pod:1574 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 " @@ -56845,19 +57054,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1576 +#: ../src/guestfs.pod:1578 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:1579 +#: ../src/guestfs.pod:1581 msgid "guestfs_create" msgstr "guestfs_create" #. type: verbatim -#: ../src/guestfs.pod:1581 +#: ../src/guestfs.pod:1583 #, no-wrap msgid "" " guestfs_h *guestfs_create (void);\n" @@ -56867,19 +57076,19 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1583 +#: ../src/guestfs.pod:1585 msgid "Create a connection handle." msgstr "Створити дескриптор з’єднання." #. type: textblock -#: ../src/guestfs.pod:1585 +#: ../src/guestfs.pod:1587 msgid "" "On success this returns a non-NULL pointer to a handle. On error it returns " "NULL." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1588 +#: ../src/guestfs.pod:1590 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 " @@ -56887,24 +57096,24 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1592 +#: ../src/guestfs.pod:1594 msgid "After configuring the handle, you have to call L</guestfs_launch>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1594 +#: ../src/guestfs.pod:1596 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:1597 +#: ../src/guestfs.pod:1599 msgid "guestfs_close" msgstr "guestfs_close" #. type: verbatim -#: ../src/guestfs.pod:1599 +#: ../src/guestfs.pod:1601 #, no-wrap msgid "" " void guestfs_close (guestfs_h *g);\n" @@ -56914,19 +57123,19 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1601 +#: ../src/guestfs.pod:1603 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:1604 +#: ../src/guestfs.pod:1606 msgid "The correct way to close the handle is:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1606 +#: ../src/guestfs.pod:1608 #, no-wrap msgid "" " if (guestfs_shutdown (g) == -1) {\n" @@ -56937,52 +57146,52 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1611 +#: ../src/guestfs.pod:1613 msgid "" "L</guestfs_shutdown> is only needed if B<all> of the following are true:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1617 +#: ../src/guestfs.pod:1619 msgid "one or more disks were added in read-write mode, I<and>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1621 +#: ../src/guestfs.pod:1623 msgid "guestfs_launch was called, I<and>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1625 +#: ../src/guestfs.pod:1627 msgid "you made some changes, I<and>" msgstr "" #. type: =item -#: ../src/guestfs.pod:1627 +#: ../src/guestfs.pod:1629 msgid "4" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1629 +#: ../src/guestfs.pod:1631 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:1634 +#: ../src/guestfs.pod:1636 msgid "ERROR HANDLING" msgstr "ОБРОБКА ПОМИЛОК" #. type: textblock -#: ../src/guestfs.pod:1636 +#: ../src/guestfs.pod:1638 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:1639 +#: ../src/guestfs.pod:1641 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 " @@ -56990,7 +57199,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1643 +#: ../src/guestfs.pod:1645 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 " @@ -56998,7 +57207,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1648 +#: ../src/guestfs.pod:1650 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 " @@ -57006,7 +57215,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1652 +#: ../src/guestfs.pod:1654 #, no-wrap msgid "" " if (guestfs_launch (g) == -1)\n" @@ -57018,21 +57227,21 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1655 +#: ../src/guestfs.pod:1657 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:1658 +#: ../src/guestfs.pod:1660 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:1661 +#: ../src/guestfs.pod:1663 #, no-wrap msgid "" " /* This disables the default behaviour of printing errors\n" @@ -57042,7 +57251,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1665 +#: ../src/guestfs.pod:1667 #, no-wrap msgid "" " if (guestfs_launch (g) == -1) {\n" @@ -57059,7 +57268,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1676 +#: ../src/guestfs.pod:1678 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</" @@ -57067,7 +57276,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1680 +#: ../src/guestfs.pod:1682 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 " @@ -57077,12 +57286,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1686 +#: ../src/guestfs.pod:1688 msgid "guestfs_last_error" msgstr "guestfs_last_error" #. type: verbatim -#: ../src/guestfs.pod:1688 +#: ../src/guestfs.pod:1690 #, no-wrap msgid "" " const char *guestfs_last_error (guestfs_h *g);\n" @@ -57092,26 +57301,26 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1690 +#: ../src/guestfs.pod:1692 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:1694 +#: ../src/guestfs.pod:1696 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:1697 +#: ../src/guestfs.pod:1699 msgid "guestfs_last_errno" msgstr "guestfs_last_errno" #. type: verbatim -#: ../src/guestfs.pod:1699 +#: ../src/guestfs.pod:1701 #, no-wrap msgid "" " int guestfs_last_errno (guestfs_h *g);\n" @@ -57121,28 +57330,28 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1701 +#: ../src/guestfs.pod:1703 msgid "This returns the last error number (errno) that happened on C<g>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1703 +#: ../src/guestfs.pod:1705 msgid "If successful, an errno integer not equal to zero is returned." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1705 +#: ../src/guestfs.pod:1707 msgid "" "If no error, this returns 0. This call can return 0 in three situations:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1712 +#: ../src/guestfs.pod:1714 msgid "There has not been any error on the handle." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1716 +#: ../src/guestfs.pod:1718 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 " @@ -57150,14 +57359,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1722 +#: ../src/guestfs.pod:1724 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:1728 +#: ../src/guestfs.pod:1730 msgid "" "Libguestfs tries to convert the errno from inside the applicance into a " "corresponding errno for the caller (not entirely trivial: the appliance " @@ -57168,12 +57377,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1736 +#: ../src/guestfs.pod:1738 msgid "guestfs_set_error_handler" msgstr "guestfs_set_error_handler" #. type: verbatim -#: ../src/guestfs.pod:1738 +#: ../src/guestfs.pod:1740 #, no-wrap msgid "" " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n" @@ -57193,7 +57402,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1745 +#: ../src/guestfs.pod:1747 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 " @@ -57201,14 +57410,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1749 +#: ../src/guestfs.pod:1751 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:1752 +#: ../src/guestfs.pod:1754 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 " @@ -57216,22 +57425,22 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1756 +#: ../src/guestfs.pod:1758 msgid "The default handler prints messages on C<stderr>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1758 +#: ../src/guestfs.pod:1760 msgid "If you set C<cb> to C<NULL> then I<no> handler is called." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1760 +#: ../src/guestfs.pod:1762 msgid "guestfs_get_error_handler" msgstr "guestfs_get_error_handler" #. type: verbatim -#: ../src/guestfs.pod:1762 +#: ../src/guestfs.pod:1764 #, no-wrap msgid "" " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n" @@ -57243,17 +57452,17 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1765 +#: ../src/guestfs.pod:1767 msgid "Returns the current error handler callback." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1767 +#: ../src/guestfs.pod:1769 msgid "guestfs_set_out_of_memory_handler" msgstr "guestfs_set_out_of_memory_handler" #. type: verbatim -#: ../src/guestfs.pod:1769 +#: ../src/guestfs.pod:1771 #, no-wrap msgid "" " typedef void (*guestfs_abort_cb) (void);\n" @@ -57263,30 +57472,30 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1773 +#: ../src/guestfs.pod:1775 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:1776 +#: ../src/guestfs.pod:1778 msgid "The default is to call L<abort(3)>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1778 +#: ../src/guestfs.pod:1780 msgid "" "You cannot set C<cb> to C<NULL>. You can't ignore out of memory situations." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1781 +#: ../src/guestfs.pod:1783 msgid "guestfs_get_out_of_memory_handler" msgstr "guestfs_get_out_of_memory_handler" #. type: verbatim -#: ../src/guestfs.pod:1783 +#: ../src/guestfs.pod:1785 #, no-wrap msgid "" " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n" @@ -57296,37 +57505,37 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1785 +#: ../src/guestfs.pod:1787 msgid "This returns the current out of memory handler." msgstr "" #. type: =head1 -#: ../src/guestfs.pod:1787 +#: ../src/guestfs.pod:1789 msgid "API CALLS" msgstr "ВИКЛИКИ API" #. type: =head1 -#: ../src/guestfs.pod:1791 +#: ../src/guestfs.pod:1793 msgid "STRUCTURES" msgstr "СТРУКТУРИ" #. type: textblock -#: ../src/guestfs.pod:1793 +#: ../src/guestfs.pod:1795 msgid "@STRUCTS@" msgstr "@STRUCTS@" #. type: =head1 -#: ../src/guestfs.pod:1795 +#: ../src/guestfs.pod:1797 msgid "AVAILABILITY" msgstr "ДОСТУПНІСТЬ" #. type: =head2 -#: ../src/guestfs.pod:1797 +#: ../src/guestfs.pod:1799 msgid "GROUPS OF FUNCTIONALITY IN THE APPLIANCE" msgstr "ГРУПИ ФУНКЦІОНАЛЬНИХ МОЖЛИВОСТЕЙ У ОБРАЗІ ОСНОВНОЇ СИСТЕМИ" #. type: textblock -#: ../src/guestfs.pod:1799 +#: ../src/guestfs.pod:1801 msgid "" "Using L</guestfs_available> you can test availability of the following " "groups of functions. This test queries the appliance to see if the " @@ -57334,29 +57543,29 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1804 +#: ../src/guestfs.pod:1806 msgid "@AVAILABILITY@" msgstr "@AVAILABILITY@" #. type: =head2 -#: ../src/guestfs.pod:1806 +#: ../src/guestfs.pod:1808 msgid "FILESYSTEM AVAILABLE" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1808 +#: ../src/guestfs.pod:1810 msgid "" "The L</guestfs_filesystem_available> call tests whether a filesystem type is " "supported by the appliance kernel." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1816 +#: ../src/guestfs.pod:1818 msgid "GUESTFISH supported COMMAND" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1818 +#: ../src/guestfs.pod:1820 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 " @@ -57364,19 +57573,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1823 +#: ../src/guestfs.pod:1825 msgid "SINGLE CALLS AT COMPILE TIME" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1825 +#: ../src/guestfs.pod:1827 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:1828 +#: ../src/guestfs.pod:1830 #, no-wrap msgid "" " #define LIBGUESTFS_HAVE_DD 1\n" @@ -57386,12 +57595,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1830 +#: ../src/guestfs.pod:1832 msgid "if L</guestfs_dd> is available." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1832 +#: ../src/guestfs.pod:1834 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 " @@ -57399,7 +57608,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1837 +#: ../src/guestfs.pod:1839 #, no-wrap msgid "" " AC_CHECK_LIB([guestfs],[guestfs_create])\n" @@ -57411,19 +57620,19 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1840 +#: ../src/guestfs.pod:1842 msgid "" "which would result in C<HAVE_GUESTFS_DD> being either defined or not defined " "in your program." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1843 +#: ../src/guestfs.pod:1845 msgid "SINGLE CALLS AT RUN TIME" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1845 +#: ../src/guestfs.pod:1847 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 " @@ -57433,7 +57642,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1852 +#: ../src/guestfs.pod:1854 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 " @@ -57441,7 +57650,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1856 +#: ../src/guestfs.pod:1858 #, no-wrap msgid "" " #include <stdio.h>\n" @@ -57459,7 +57668,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:1862 +#: ../src/guestfs.pod:1864 #, no-wrap msgid "" " main ()\n" @@ -57477,7 +57686,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:1868 +#: ../src/guestfs.pod:1870 #, no-wrap msgid "" " /* Test if the function guestfs_dd is really available. */\n" @@ -57492,7 +57701,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1877 +#: ../src/guestfs.pod:1879 #, no-wrap msgid "" " if (!has_function)\n" @@ -57511,7 +57720,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1890 +#: ../src/guestfs.pod:1892 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 " @@ -57519,7 +57728,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1895 +#: ../src/guestfs.pod:1897 #, no-wrap msgid "" " Requires: libguestfs >= 1.0.80\n" @@ -57527,12 +57736,12 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:1897 +#: ../src/guestfs.pod:1899 msgid "CALLS WITH OPTIONAL ARGUMENTS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1899 +#: ../src/guestfs.pod:1901 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 " @@ -57540,7 +57749,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1904 +#: ../src/guestfs.pod:1906 #, no-wrap msgid "" " int guestfs_add_drive_opts (guestfs_h *g, const char *filename, ...);\n" @@ -57550,14 +57759,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1906 +#: ../src/guestfs.pod:1908 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:1909 +#: ../src/guestfs.pod:1911 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename, -1);\n" @@ -57567,12 +57776,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1911 +#: ../src/guestfs.pod:1913 msgid "With a single optional argument:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1913 +#: ../src/guestfs.pod:1915 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename,\n" @@ -57586,12 +57795,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1917 +#: ../src/guestfs.pod:1919 msgid "With two:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1919 +#: ../src/guestfs.pod:1921 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename,\n" @@ -57607,19 +57816,19 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1924 +#: ../src/guestfs.pod:1926 msgid "" "and so forth. Don't forget the terminating C<-1> otherwise Bad Things will " "happen!" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1927 +#: ../src/guestfs.pod:1929 msgid "USING va_list FOR OPTIONAL ARGUMENTS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1929 +#: ../src/guestfs.pod:1931 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 " @@ -57627,7 +57836,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1933 +#: ../src/guestfs.pod:1935 #, no-wrap msgid "" " int guestfs_add_drive_opts_va (guestfs_h *g, const char *filename,\n" @@ -57639,12 +57848,12 @@ msgstr "" "\n" #. type: =head2 -#: ../src/guestfs.pod:1936 +#: ../src/guestfs.pod:1938 msgid "CONSTRUCTING OPTIONAL ARGUMENTS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1938 +#: ../src/guestfs.pod:1940 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 " @@ -57654,7 +57863,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1944 +#: ../src/guestfs.pod:1946 #, no-wrap msgid "" " struct guestfs_add_drive_opts_argv {\n" @@ -57678,12 +57887,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1953 +#: ../src/guestfs.pod:1955 msgid "You could call it like this:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:1955 +#: ../src/guestfs.pod:1957 #, no-wrap msgid "" " struct guestfs_add_drive_opts_argv optargs = {\n" @@ -57703,7 +57912,7 @@ msgstr "" " \n" #. type: verbatim -#: ../src/guestfs.pod:1962 +#: ../src/guestfs.pod:1964 #, no-wrap msgid "" " guestfs_add_drive_opts_argv (g, filename, &optargs);\n" @@ -57713,29 +57922,29 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:1970 +#: ../src/guestfs.pod:1972 msgid "The C<_BITMASK> suffix on each option name when specifying the bitmask." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1975 +#: ../src/guestfs.pod:1977 msgid "You do not need to fill in all fields of the structure." msgstr "" #. type: textblock -#: ../src/guestfs.pod:1979 +#: ../src/guestfs.pod:1981 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:1984 +#: ../src/guestfs.pod:1986 msgid "OPTIONAL ARGUMENTS IN OTHER LANGUAGES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1986 +#: ../src/guestfs.pod:1988 msgid "" "In other languages, optional arguments are expressed in the way that is " "natural for that language. We refer you to the language-specific " @@ -57743,17 +57952,17 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1990 +#: ../src/guestfs.pod:1992 msgid "For guestfish, see L<guestfish(1)/OPTIONAL ARGUMENTS>." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:1992 +#: ../src/guestfs.pod:1994 msgid "SETTING CALLBACKS TO HANDLE EVENTS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:1994 +#: ../src/guestfs.pod:1996 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 " @@ -57765,7 +57974,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2003 +#: ../src/guestfs.pod:2005 msgid "" "Handles generate events when certain things happen, such as log messages " "being generated, progress messages during long-running operations, or the " @@ -57777,7 +57986,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2011 +#: ../src/guestfs.pod:2013 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 " @@ -57786,31 +57995,31 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2016 +#: ../src/guestfs.pod:2018 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:2020 +#: ../src/guestfs.pod:2022 msgid "CLASSES OF EVENTS" msgstr "" #. type: =item -#: ../src/guestfs.pod:2024 +#: ../src/guestfs.pod:2026 msgid "GUESTFS_EVENT_CLOSE (payload type: void)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2027 +#: ../src/guestfs.pod:2029 msgid "" "The callback function will be called while the handle is being closed " "(synchronously from L</guestfs_close>)." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2030 +#: ../src/guestfs.pod:2032 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 " @@ -57821,19 +58030,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2037 +#: ../src/guestfs.pod:2039 msgid "" "If no callback is registered: the handle is closed without any callback " "being invoked." msgstr "" #. type: =item -#: ../src/guestfs.pod:2040 +#: ../src/guestfs.pod:2042 msgid "GUESTFS_EVENT_SUBPROCESS_QUIT (payload type: void)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2043 +#: ../src/guestfs.pod:2045 msgid "" "The callback function will be called when the child process quits, either " "asynchronously or if killed by L</guestfs_kill_subprocess>. (This " @@ -57841,17 +58050,17 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2047 ../src/guestfs.pod:2056 ../src/guestfs.pod:2173 +#: ../src/guestfs.pod:2049 ../src/guestfs.pod:2058 ../src/guestfs.pod:2175 msgid "If no callback is registered: the event is ignored." msgstr "" #. type: =item -#: ../src/guestfs.pod:2049 +#: ../src/guestfs.pod:2051 msgid "GUESTFS_EVENT_LAUNCH_DONE (payload type: void)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2052 +#: ../src/guestfs.pod:2054 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 " @@ -57859,12 +58068,12 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:2058 +#: ../src/guestfs.pod:2060 msgid "GUESTFS_EVENT_PROGRESS (payload type: array of 4 x uint64_t)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2061 +#: ../src/guestfs.pod:2063 msgid "" "Some long-running operations can generate progress messages. If this " "callback is registered, then it will be called each time a progress message " @@ -57874,14 +58083,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2067 +#: ../src/guestfs.pod:2069 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:2070 +#: ../src/guestfs.pod:2072 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 " @@ -57889,24 +58098,24 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2075 +#: ../src/guestfs.pod:2077 msgid "The only defined and stable parts of the API are:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2081 +#: ../src/guestfs.pod:2083 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:2086 +#: ../src/guestfs.pod:2088 msgid "0 E<lt>= C<position> E<lt>= C<total>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2090 +#: ../src/guestfs.pod:2092 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 " @@ -57914,7 +58123,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2094 +#: ../src/guestfs.pod:2096 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 " @@ -57922,7 +58131,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2100 +#: ../src/guestfs.pod:2102 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 " @@ -57931,7 +58140,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2105 +#: ../src/guestfs.pod:2107 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 " @@ -57939,14 +58148,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2109 +#: ../src/guestfs.pod:2111 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:2114 +#: ../src/guestfs.pod:2116 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 " @@ -57955,31 +58164,31 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2120 +#: ../src/guestfs.pod:2122 msgid "If no callback is registered: progress messages are discarded." msgstr "" #. type: =item -#: ../src/guestfs.pod:2122 +#: ../src/guestfs.pod:2124 msgid "GUESTFS_EVENT_APPLIANCE (payload type: message buffer)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2125 +#: ../src/guestfs.pod:2127 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:2128 +#: ../src/guestfs.pod:2130 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:2131 ../src/guestfs.pod:2145 +#: ../src/guestfs.pod:2133 ../src/guestfs.pod:2147 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 " @@ -57987,63 +58196,63 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:2136 +#: ../src/guestfs.pod:2138 msgid "GUESTFS_EVENT_LIBRARY (payload type: message buffer)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2139 +#: ../src/guestfs.pod:2141 msgid "" "The callback function is called whenever a log message is generated by the " "library part of libguestfs." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2142 +#: ../src/guestfs.pod:2144 msgid "" "If the verbose flag (L</guestfs_set_verbose>) is set then additional debug " "messages are generated." msgstr "" #. type: =item -#: ../src/guestfs.pod:2150 +#: ../src/guestfs.pod:2152 msgid "GUESTFS_EVENT_TRACE (payload type: message buffer)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2153 +#: ../src/guestfs.pod:2155 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:2156 +#: ../src/guestfs.pod:2158 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:2160 +#: ../src/guestfs.pod:2162 msgid "GUESTFS_EVENT_ENTER (payload type: function name)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2163 +#: ../src/guestfs.pod:2165 msgid "" "The callback function is called whenever a libguestfs function is entered." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2166 +#: ../src/guestfs.pod:2168 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:2169 +#: ../src/guestfs.pod:2171 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 " @@ -58051,12 +58260,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2177 +#: ../src/guestfs.pod:2179 msgid "guestfs_set_event_callback" msgstr "guestfs_set_event_callback" #. type: verbatim -#: ../src/guestfs.pod:2179 +#: ../src/guestfs.pod:2181 #, no-wrap msgid "" " int guestfs_set_event_callback (guestfs_h *g,\n" @@ -58074,14 +58283,14 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2185 +#: ../src/guestfs.pod:2187 msgid "" "This function registers a callback (C<cb>) for all event classes in the " "C<event_bitmask>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2188 +#: ../src/guestfs.pod:2190 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>. " @@ -58090,40 +58299,40 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2194 +#: ../src/guestfs.pod:2196 msgid "C<flags> should always be passed as 0." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2196 +#: ../src/guestfs.pod:2198 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:2199 +#: ../src/guestfs.pod:2201 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:2202 +#: ../src/guestfs.pod:2204 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:2205 +#: ../src/guestfs.pod:2207 msgid "" "Callbacks remain in effect until they are deleted, or until the handle is " "closed." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2208 +#: ../src/guestfs.pod:2210 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 " @@ -58131,12 +58340,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2212 +#: ../src/guestfs.pod:2214 msgid "guestfs_delete_event_callback" msgstr "guestfs_delete_event_callback" #. type: verbatim -#: ../src/guestfs.pod:2214 +#: ../src/guestfs.pod:2216 #, no-wrap msgid "" " void guestfs_delete_event_callback (guestfs_h *g, int event_handle);\n" @@ -58146,7 +58355,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2216 +#: ../src/guestfs.pod:2218 msgid "" "Delete a callback that was previously registered. C<event_handle> should be " "the integer that was returned by a previous call to " @@ -58154,12 +58363,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2220 +#: ../src/guestfs.pod:2222 msgid "guestfs_event_callback" msgstr "guestfs_event_callback" #. type: verbatim -#: ../src/guestfs.pod:2222 +#: ../src/guestfs.pod:2224 #, no-wrap msgid "" " typedef void (*guestfs_event_callback) (\n" @@ -58183,13 +58392,13 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2231 +#: ../src/guestfs.pod:2233 msgid "" "This is the type of the event callback function that you have to provide." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2234 +#: ../src/guestfs.pod:2236 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 " @@ -58197,7 +58406,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2238 +#: ../src/guestfs.pod:2240 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 " @@ -58206,7 +58415,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2243 +#: ../src/guestfs.pod:2245 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 " @@ -58214,19 +58423,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2247 +#: ../src/guestfs.pod:2249 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:2250 +#: ../src/guestfs.pod:2252 msgid "EXAMPLE: CAPTURING LOG MESSAGES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2252 +#: ../src/guestfs.pod:2254 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 " @@ -58234,7 +58443,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2256 +#: ../src/guestfs.pod:2258 msgid "" "Events associated with log messages are: C<GUESTFS_EVENT_LIBRARY>, " "C<GUESTFS_EVENT_APPLIANCE> and C<GUESTFS_EVENT_TRACE>. (Note that error " @@ -58242,14 +58451,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2261 +#: ../src/guestfs.pod:2263 msgid "" "Programs have to set up a callback to capture the classes of events of " "interest:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2264 +#: ../src/guestfs.pod:2266 #, no-wrap msgid "" " int eh =\n" @@ -58265,14 +58474,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2274 +#: ../src/guestfs.pod:2276 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:2277 +#: ../src/guestfs.pod:2279 #, no-wrap msgid "" " static void\n" @@ -58308,12 +58517,12 @@ msgstr "" "\n" #. type: =head1 -#: ../src/guestfs.pod:2292 +#: ../src/guestfs.pod:2294 msgid "CANCELLING LONG TRANSFERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2294 +#: ../src/guestfs.pod:2296 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 " @@ -58322,12 +58531,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:2299 +#: ../src/guestfs.pod:2301 msgid "guestfs_user_cancel" msgstr "guestfs_user_cancel" #. type: verbatim -#: ../src/guestfs.pod:2301 +#: ../src/guestfs.pod:2303 #, no-wrap msgid "" " void guestfs_user_cancel (guestfs_h *g);\n" @@ -58337,13 +58546,13 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2303 +#: ../src/guestfs.pod:2305 msgid "" "C<guestfs_user_cancel> cancels the current upload or download operation." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2306 +#: ../src/guestfs.pod:2308 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 " @@ -58351,7 +58560,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2310 +#: ../src/guestfs.pod:2312 msgid "" "The transfer that was in progress (if there is one) will stop shortly " "afterwards, and will return an error. The errno (see L</" @@ -58360,7 +58569,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2316 +#: ../src/guestfs.pod:2318 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 " @@ -58368,12 +58577,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2320 +#: ../src/guestfs.pod:2322 msgid "There are two common places that you might call C<guestfs_user_cancel>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2322 +#: ../src/guestfs.pod:2324 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 " @@ -58382,19 +58591,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2327 +#: ../src/guestfs.pod:2329 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:2331 +#: ../src/guestfs.pod:2333 msgid "PRIVATE DATA AREA" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2333 +#: ../src/guestfs.pod:2335 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 " @@ -58402,12 +58611,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2338 +#: ../src/guestfs.pod:2340 msgid "To attach a named piece of data, use the following call:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2340 +#: ../src/guestfs.pod:2342 #, no-wrap msgid "" " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n" @@ -58417,7 +58626,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2342 +#: ../src/guestfs.pod:2344 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 " @@ -58425,7 +58634,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2346 +#: ../src/guestfs.pod:2348 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 " @@ -58435,12 +58644,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2352 +#: ../src/guestfs.pod:2354 msgid "To retrieve the pointer, use:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2354 +#: ../src/guestfs.pod:2356 #, no-wrap msgid "" " void *guestfs_get_private (guestfs_h *g, const char *key);\n" @@ -58450,7 +58659,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2356 +#: ../src/guestfs.pod:2358 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 " @@ -58458,7 +58667,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2360 +#: ../src/guestfs.pod:2362 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 " @@ -58469,12 +58678,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2367 +#: ../src/guestfs.pod:2369 msgid "To walk over all entries, use these two functions:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2369 +#: ../src/guestfs.pod:2371 #, no-wrap msgid "" " void *guestfs_first_private (guestfs_h *g, const char **key_rtn);\n" @@ -58484,7 +58693,7 @@ msgstr "" "\n" #. type: verbatim -#: ../src/guestfs.pod:2371 +#: ../src/guestfs.pod:2373 #, no-wrap msgid "" " void *guestfs_next_private (guestfs_h *g, const char **key_rtn);\n" @@ -58494,7 +58703,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2373 +#: ../src/guestfs.pod:2375 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 " @@ -58504,7 +58713,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2379 +#: ../src/guestfs.pod:2381 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 " @@ -58512,18 +58721,18 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2383 +#: ../src/guestfs.pod:2385 msgid "Notes about walking over entries:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2389 +#: ../src/guestfs.pod:2391 msgid "" "You must not call C<guestfs_set_private> while walking over the entries." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2394 +#: ../src/guestfs.pod:2396 msgid "" "The handle maintains an internal iterator which is reset when you call " "C<guestfs_first_private>. This internal iterator is invalidated when you " @@ -58531,12 +58740,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2400 +#: ../src/guestfs.pod:2402 msgid "If you have set the data pointer associated with a key to C<NULL>, ie:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2402 +#: ../src/guestfs.pod:2404 #, no-wrap msgid "" " guestfs_set_private (g, key, NULL);\n" @@ -58544,26 +58753,26 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2404 +#: ../src/guestfs.pod:2406 msgid "then that C<key> is not returned when walking." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2408 +#: ../src/guestfs.pod:2410 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:2414 +#: ../src/guestfs.pod:2416 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:2417 +#: ../src/guestfs.pod:2419 #, no-wrap msgid "" " const char *key;\n" @@ -58577,14 +58786,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2425 +#: ../src/guestfs.pod:2427 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:2428 +#: ../src/guestfs.pod:2430 #, no-wrap msgid "" " const char *key;\n" @@ -58599,7 +58808,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2437 +#: ../src/guestfs.pod:2439 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 " @@ -58607,7 +58816,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2441 +#: ../src/guestfs.pod:2443 #, no-wrap msgid "" " const char *key;\n" @@ -58629,7 +58838,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2457 +#: ../src/guestfs.pod:2459 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 " @@ -58638,12 +58847,12 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2462 +#: ../src/guestfs.pod:2464 msgid "SYSTEMTAP" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2464 +#: ../src/guestfs.pod:2466 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 " @@ -58651,12 +58860,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2468 +#: ../src/guestfs.pod:2470 msgid "You can list all the static markers by doing:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2470 +#: ../src/guestfs.pod:2472 #, no-wrap msgid "" " stap -l 'process(\"/usr/lib*/libguestfs.so.0\")\n" @@ -58665,26 +58874,26 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2473 +#: ../src/guestfs.pod:2475 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:2476 +#: ../src/guestfs.pod:2478 msgid "SYSTEMTAP SCRIPT EXAMPLE" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2478 +#: ../src/guestfs.pod:2480 msgid "" "This script contains examples of displaying both the static markers and some " "ordinary C entry points:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2505 +#: ../src/guestfs.pod:2507 #, no-wrap msgid "" " /* Display all calls to guestfs_mkfs* functions. */\n" @@ -58697,7 +58906,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2512 +#: ../src/guestfs.pod:2514 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 " @@ -58706,7 +58915,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2517 +#: ../src/guestfs.pod:2519 #, no-wrap msgid "" " # stap /tmp/test.stap\n" @@ -58718,17 +58927,17 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2520 +#: ../src/guestfs.pod:2522 msgid "In another terminal, run a guestfish command such as this:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2524 +#: ../src/guestfs.pod:2526 msgid "In the first terminal, stap trace output similar to this is shown:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2526 +#: ../src/guestfs.pod:2528 #, no-wrap msgid "" " 1318248056692655 (+0):\tlaunch_start\n" @@ -58748,7 +58957,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2535 +#: ../src/guestfs.pod:2537 msgid "" "<!-- old anchor for the next section --> <a name=" "\"state_machine_and_low_level_event_api\"/>" @@ -58757,12 +58966,12 @@ msgstr "" "\"state_machine_and_low_level_event_api\"/>" #. type: =head1 -#: ../src/guestfs.pod:2540 +#: ../src/guestfs.pod:2542 msgid "ARCHITECTURE" msgstr "АРХІТЕКТУРА" #. type: textblock -#: ../src/guestfs.pod:2542 +#: ../src/guestfs.pod:2544 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 " @@ -58770,7 +58979,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2546 +#: ../src/guestfs.pod:2548 #, no-wrap msgid "" " ___________________\n" @@ -58796,14 +59005,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2566 +#: ../src/guestfs.pod:2568 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:2569 +#: ../src/guestfs.pod:2571 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 " @@ -58815,7 +59024,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2578 +#: ../src/guestfs.pod:2580 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 " @@ -58826,17 +59035,17 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2585 +#: ../src/guestfs.pod:2587 msgid "STATE MACHINE" msgstr "СКІНЧЕННИЙ АВТОМАТ" #. type: textblock -#: ../src/guestfs.pod:2587 +#: ../src/guestfs.pod:2589 msgid "libguestfs uses a state machine to model the child process:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2589 +#: ../src/guestfs.pod:2591 #, no-wrap msgid "" " |\n" @@ -58886,7 +59095,7 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:2611 +#: ../src/guestfs.pod:2613 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), " @@ -58895,7 +59104,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2616 +#: ../src/guestfs.pod:2618 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 " @@ -58903,14 +59112,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2620 +#: ../src/guestfs.pod:2622 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:2623 +#: ../src/guestfs.pod:2625 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 " @@ -58919,7 +59128,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2629 +#: ../src/guestfs.pod:2631 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. " @@ -58928,7 +59137,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2634 +#: ../src/guestfs.pod:2636 msgid "" "Finally, the child process sends asynchronous messages back to the main " "program, such as kernel log messages. You can register a callback to " @@ -58936,17 +59145,17 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2638 +#: ../src/guestfs.pod:2640 msgid "INTERNALS" msgstr "ВНУТРІШНІ ПРИНЦИПИ РОБОТИ" #. type: =head2 -#: ../src/guestfs.pod:2640 +#: ../src/guestfs.pod:2642 msgid "APPLIANCE BOOT PROCESS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2642 +#: ../src/guestfs.pod:2644 msgid "" "This process has evolved and continues to evolve. The description here " "corresponds only to the current version of libguestfs and is provided for " @@ -58954,55 +59163,55 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2646 +#: ../src/guestfs.pod:2648 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:2651 +#: ../src/guestfs.pod:2653 msgid "Create the appliance" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2653 +#: ../src/guestfs.pod:2655 msgid "" "C<febootstrap-supermin-helper> is invoked to create the kernel, a small " "initrd and the appliance." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2656 +#: ../src/guestfs.pod:2658 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:2659 +#: ../src/guestfs.pod:2661 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:2663 +#: ../src/guestfs.pod:2665 msgid "Start qemu and boot the kernel" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2665 +#: ../src/guestfs.pod:2667 msgid "qemu is invoked to boot the kernel." msgstr "" #. type: =item -#: ../src/guestfs.pod:2667 +#: ../src/guestfs.pod:2669 msgid "Run the initrd" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2669 +#: ../src/guestfs.pod:2671 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 " @@ -59010,21 +59219,21 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2673 +#: ../src/guestfs.pod:2675 msgid "" "The initrd is a cpio archive called C</var/tmp/.guestfs-E<lt>UIDE<gt>/" "initrd>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2676 +#: ../src/guestfs.pod:2678 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:2679 +#: ../src/guestfs.pod:2681 #, no-wrap msgid "" " febootstrap: ext2 mini initrd starting up\n" @@ -59035,12 +59244,12 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:2684 +#: ../src/guestfs.pod:2686 msgid "Find and mount the appliance device" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2686 +#: ../src/guestfs.pod:2688 msgid "" "The appliance is a sparse file containing an ext2 filesystem which contains " "a familiar (although reduced in size) Linux operating system. It would " @@ -59048,33 +59257,33 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2690 +#: ../src/guestfs.pod:2692 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:2693 +#: ../src/guestfs.pod:2695 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:2696 +#: ../src/guestfs.pod:2698 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:2700 +#: ../src/guestfs.pod:2702 msgid "If this works successfully you will see messages such as:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2702 +#: ../src/guestfs.pod:2704 #, no-wrap msgid "" " febootstrap: picked /sys/block/vdb/dev as root device\n" @@ -59086,19 +59295,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2708 +#: ../src/guestfs.pod:2710 msgid "" "Note that C<Starting /init script ...> indicates that the appliance's init " "script is now running." msgstr "" #. type: =item -#: ../src/guestfs.pod:2711 +#: ../src/guestfs.pod:2713 msgid "Initialize the appliance" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2713 +#: ../src/guestfs.pod:2715 msgid "" "The appliance itself now initializes itself. This involves starting certain " "processes like C<udev>, possibly printing some debug information, and " @@ -59106,19 +59315,19 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:2717 +#: ../src/guestfs.pod:2719 msgid "The daemon" msgstr "Фонова служба" #. type: textblock -#: ../src/guestfs.pod:2719 +#: ../src/guestfs.pod:2721 msgid "" "Finally the daemon (C<guestfsd>) runs inside the appliance. If it runs you " "should see:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2722 +#: ../src/guestfs.pod:2724 #, no-wrap msgid "" " verbose daemon enabled\n" @@ -59126,14 +59335,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2724 +#: ../src/guestfs.pod:2726 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:2727 +#: ../src/guestfs.pod:2729 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 " @@ -59141,19 +59350,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:2733 +#: ../src/guestfs.pod:2735 msgid "COMMUNICATION PROTOCOL" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2735 +#: ../src/guestfs.pod:2737 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:2738 +#: ../src/guestfs.pod:2740 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 " @@ -59161,14 +59370,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2742 +#: ../src/guestfs.pod:2744 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:2745 +#: ../src/guestfs.pod:2747 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 " @@ -59178,17 +59387,17 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2752 +#: ../src/guestfs.pod:2754 msgid "ORDINARY FUNCTIONS (NO FILEIN/FILEOUT PARAMS)" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2754 +#: ../src/guestfs.pod:2756 msgid "For ordinary functions, the request message is:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2756 +#: ../src/guestfs.pod:2758 #, no-wrap msgid "" " total length (header + arguments,\n" @@ -59199,7 +59408,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2761 +#: ../src/guestfs.pod:2763 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 " @@ -59208,21 +59417,21 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2767 +#: ../src/guestfs.pod:2769 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:2770 +#: ../src/guestfs.pod:2772 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:2774 +#: ../src/guestfs.pod:2776 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 " @@ -59234,12 +59443,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2782 +#: ../src/guestfs.pod:2784 msgid "The reply message for ordinary functions is:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2784 +#: ../src/guestfs.pod:2786 #, no-wrap msgid "" " total length (header + ret,\n" @@ -59250,27 +59459,27 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2789 +#: ../src/guestfs.pod:2791 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:2792 +#: ../src/guestfs.pod:2794 msgid "" "As above the total length of the reply is limited to C<GUESTFS_MESSAGE_MAX>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2795 +#: ../src/guestfs.pod:2797 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:2798 +#: ../src/guestfs.pod:2800 #, no-wrap msgid "" " total length (header + error,\n" @@ -59281,19 +59490,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2803 +#: ../src/guestfs.pod:2805 msgid "" "The C<guestfs_message_error> structure contains the error message as a " "string." msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2806 +#: ../src/guestfs.pod:2808 msgid "FUNCTIONS THAT HAVE FILEIN PARAMETERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2808 +#: ../src/guestfs.pod:2810 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 " @@ -59301,7 +59510,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2812 +#: ../src/guestfs.pod:2814 #, no-wrap msgid "" " total length (header + arguments,\n" @@ -59315,12 +59524,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2820 +#: ../src/guestfs.pod:2822 msgid "The \"sequence of chunks\" is:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2822 +#: ../src/guestfs.pod:2824 #, no-wrap msgid "" " length of chunk (not including length word itself)\n" @@ -59334,7 +59543,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2830 +#: ../src/guestfs.pod:2832 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 " @@ -59342,7 +59551,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2834 +#: ../src/guestfs.pod:2836 msgid "" "At time of writing there are no functions that have more than one FileIn " "parameter. However this is (theoretically) supported, by sending the " @@ -59351,7 +59560,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2839 +#: ../src/guestfs.pod:2841 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 " @@ -59360,7 +59569,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2845 +#: ../src/guestfs.pod:2847 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 " @@ -59372,7 +59581,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2854 +#: ../src/guestfs.pod:2856 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 " @@ -59382,19 +59591,19 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2860 +#: ../src/guestfs.pod:2862 msgid "FUNCTIONS THAT HAVE FILEOUT PARAMETERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2862 +#: ../src/guestfs.pod:2864 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:2865 +#: ../src/guestfs.pod:2867 #, no-wrap msgid "" " total length (header + ret,\n" @@ -59408,12 +59617,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2873 +#: ../src/guestfs.pod:2875 msgid "INITIAL MESSAGE" msgstr "ПОЧАТКОВЕ ПОВІДОМЛЕННЯ" #. type: textblock -#: ../src/guestfs.pod:2875 +#: ../src/guestfs.pod:2877 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</" @@ -59421,12 +59630,12 @@ msgid "" msgstr "" #. type: =head3 -#: ../src/guestfs.pod:2879 +#: ../src/guestfs.pod:2881 msgid "PROGRESS NOTIFICATION MESSAGES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2881 +#: ../src/guestfs.pod:2883 msgid "" "The daemon may send progress notification messages at any time. These are " "distinguished by the normal length word being replaced by " @@ -59434,7 +59643,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2885 +#: ../src/guestfs.pod:2887 msgid "" "The library turns them into progress callbacks (see L</" "GUESTFS_EVENT_PROGRESS>) if there is a callback registered, or discards them " @@ -59442,7 +59651,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2889 +#: ../src/guestfs.pod:2891 msgid "" "The daemon self-limits the frequency of progress messages it sends (see " "C<daemon/proto.c:notify_progress>). Not all calls generate progress " @@ -59450,12 +59659,12 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2893 +#: ../src/guestfs.pod:2895 msgid "LIBGUESTFS VERSION NUMBERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2895 +#: ../src/guestfs.pod:2897 msgid "" "Since April 2010, libguestfs has started to make separate development and " "stable releases, along with corresponding branches in our git repository. " @@ -59463,7 +59672,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:2900 +#: ../src/guestfs.pod:2902 #, no-wrap msgid "" " even numbers for stable: 1.2.x, 1.4.x, ...\n" @@ -59480,12 +59689,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2911 +#: ../src/guestfs.pod:2913 msgid "Thus \"1.3.5\" is the 5th update to the development branch \"1.3\"." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2913 +#: ../src/guestfs.pod:2915 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 " @@ -59495,26 +59704,26 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2919 +#: ../src/guestfs.pod:2921 msgid "Our criteria for backporting changes are:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2925 +#: ../src/guestfs.pod:2927 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:2931 +#: ../src/guestfs.pod:2933 msgid "" "Bug fixes which are not controversial, fix obvious problems, and have been " "well tested are backported." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2936 +#: ../src/guestfs.pod:2938 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 " @@ -59522,7 +59731,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2942 +#: ../src/guestfs.pod:2944 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 " @@ -59530,7 +59739,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2948 +#: ../src/guestfs.pod:2950 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 " @@ -59541,17 +59750,17 @@ msgid "" msgstr "" #. type: =head1 -#: ../src/guestfs.pod:2956 +#: ../src/guestfs.pod:2958 msgid "EXTENDING LIBGUESTFS" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:2958 +#: ../src/guestfs.pod:2960 msgid "ADDING A NEW API ACTION" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2960 +#: ../src/guestfs.pod:2962 msgid "" "Large amounts of boilerplate code in libguestfs (RPC, bindings, " "documentation) are generated, and this makes it easy to extend the " @@ -59559,19 +59768,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2964 +#: ../src/guestfs.pod:2966 msgid "To add a new API action there are two changes:" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2970 +#: ../src/guestfs.pod:2972 msgid "" "You need to add a description of the call (name, parameters, return type, " "tests, documentation) to C<generator/actions.ml>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:2973 +#: ../src/guestfs.pod:2975 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 " @@ -59582,7 +59791,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2981 +#: ../src/guestfs.pod:2983 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 " @@ -59592,7 +59801,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2987 +#: ../src/guestfs.pod:2989 msgid "" "For library-only actions of the second type, add to the " "C<non_daemon_functions> list. Since these functions are serviced by the " @@ -59602,36 +59811,36 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2995 +#: ../src/guestfs.pod:2997 msgid "Implement the action (in C):" msgstr "" #. type: textblock -#: ../src/guestfs.pod:2997 +#: ../src/guestfs.pod:2999 msgid "" "For daemon actions, implement the function C<do_E<lt>nameE<gt>> in the " "C<daemon/> directory." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3000 +#: ../src/guestfs.pod:3002 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:3003 +#: ../src/guestfs.pod:3005 msgid "In either case, use another function as an example of what to do." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3007 +#: ../src/guestfs.pod:3009 msgid "After making these changes, use C<make> to compile." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3009 +#: ../src/guestfs.pod:3011 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 " @@ -59639,12 +59848,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3013 +#: ../src/guestfs.pod:3015 msgid "ADDING TESTS FOR AN API ACTION" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3015 +#: ../src/guestfs.pod:3017 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/actions." @@ -59654,61 +59863,61 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3021 +#: ../src/guestfs.pod:3023 msgid "" "The following describes the test environment used when you add an API test " "in C<actions.ml>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3024 +#: ../src/guestfs.pod:3026 msgid "The test environment has 4 block devices:" msgstr "" #. type: =item -#: ../src/guestfs.pod:3028 +#: ../src/guestfs.pod:3030 msgid "C</dev/sda> 500MB" msgstr "C</dev/sda> 500 МБ" #. type: textblock -#: ../src/guestfs.pod:3030 +#: ../src/guestfs.pod:3032 msgid "General block device for testing." msgstr "" #. type: =item -#: ../src/guestfs.pod:3032 +#: ../src/guestfs.pod:3034 msgid "C</dev/sdb> 50MB" msgstr "C</dev/sdb> 50 МБ" #. type: textblock -#: ../src/guestfs.pod:3034 +#: ../src/guestfs.pod:3036 msgid "" "C</dev/sdb1> is an ext2 filesystem used for testing filesystem write " "operations." msgstr "" #. type: =item -#: ../src/guestfs.pod:3037 +#: ../src/guestfs.pod:3039 msgid "C</dev/sdc> 10MB" msgstr "C</dev/sdc> 10 МБ" #. type: textblock -#: ../src/guestfs.pod:3039 +#: ../src/guestfs.pod:3041 msgid "Used in a few tests where two block devices are needed." msgstr "" #. type: =item -#: ../src/guestfs.pod:3041 +#: ../src/guestfs.pod:3043 msgid "C</dev/sdd>" msgstr "C</dev/sdd>" #. type: textblock -#: ../src/guestfs.pod:3043 +#: ../src/guestfs.pod:3045 msgid "ISO with fixed content (see C<images/test.iso>)." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3047 +#: ../src/guestfs.pod:3049 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 " @@ -59716,7 +59925,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3051 +#: ../src/guestfs.pod:3053 msgid "" "Each test starts with an initial scenario, selected using one of the " "C<Init*> expressions, described in C<generator/types.ml>. These initialize " @@ -59726,7 +59935,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3057 +#: ../src/guestfs.pod:3059 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 " @@ -59736,14 +59945,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3063 +#: ../src/guestfs.pod:3065 msgid "" "In addition, packagers can skip individual tests by setting environment " "variables before running C<make check>." msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3066 +#: ../src/guestfs.pod:3068 #, no-wrap msgid "" " SKIP_TEST_<CMD>_<NUM>=1\n" @@ -59751,12 +59960,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3068 +#: ../src/guestfs.pod:3070 msgid "eg: C<SKIP_TEST_COMMAND_3=1> skips test #3 of L</guestfs_command>." msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3072 +#: ../src/guestfs.pod:3074 #, no-wrap msgid "" " SKIP_TEST_<CMD>=1\n" @@ -59766,17 +59975,17 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:3074 +#: ../src/guestfs.pod:3076 msgid "eg: C<SKIP_TEST_ZEROFREE=1> skips all L</guestfs_zerofree> tests." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3076 +#: ../src/guestfs.pod:3078 msgid "Packagers can run only certain tests by setting for example:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3078 +#: ../src/guestfs.pod:3080 #, no-wrap msgid "" " TEST_ONLY=\"vfs_type zerofree\"\n" @@ -59786,29 +59995,29 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:3080 +#: ../src/guestfs.pod:3082 msgid "" "See C<tests/c-api/tests.c> for more details of how these environment " "variables work." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3083 +#: ../src/guestfs.pod:3085 msgid "DEBUGGING NEW API ACTIONS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3085 +#: ../src/guestfs.pod:3087 msgid "Test new actions work before submitting them." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3087 +#: ../src/guestfs.pod:3089 msgid "You can use guestfish to try out new commands." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3089 +#: ../src/guestfs.pod:3091 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 " @@ -59816,12 +60025,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3093 +#: ../src/guestfs.pod:3095 msgid "FORMATTING CODE AND OTHER CONVENTIONS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3095 +#: ../src/guestfs.pod:3097 msgid "" "Our C source code generally adheres to some basic code-formatting " "conventions. The existing code base is not totally consistent on this " @@ -59831,14 +60040,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3101 +#: ../src/guestfs.pod:3103 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:3104 +#: ../src/guestfs.pod:3106 #, no-wrap msgid "" " ;;; In libguestfs, indent with spaces everywhere (not TABs).\n" @@ -59854,7 +60063,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3114 +#: ../src/guestfs.pod:3116 #, no-wrap msgid "" " ;;; When editing C sources in libguestfs, use this style.\n" @@ -59872,12 +60081,12 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3126 +#: ../src/guestfs.pod:3128 msgid "Enable warnings when compiling (and fix any problems this finds):" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3129 +#: ../src/guestfs.pod:3131 #, no-wrap msgid "" " ./configure --enable-gcc-warnings\n" @@ -59887,12 +60096,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:3131 +#: ../src/guestfs.pod:3133 msgid "Useful targets are:" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3133 +#: ../src/guestfs.pod:3135 #, no-wrap msgid "" " make syntax-check -j1 -k # checks for various syntax and\n" @@ -59901,7 +60110,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3136 +#: ../src/guestfs.pod:3138 #, no-wrap msgid "" " make check # runs the test suite\n" @@ -59909,7 +60118,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../src/guestfs.pod:3138 +#: ../src/guestfs.pod:3140 #, no-wrap msgid "" " make extra-tests # in-depth testing using valgrind\n" @@ -59918,43 +60127,43 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3141 +#: ../src/guestfs.pod:3143 msgid "DAEMON CUSTOM PRINTF FORMATTERS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3143 +#: ../src/guestfs.pod:3145 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:3148 +#: ../src/guestfs.pod:3150 msgid "%Q" msgstr "%Q" #. type: textblock -#: ../src/guestfs.pod:3150 +#: ../src/guestfs.pod:3152 msgid "" "Simple shell quoted string. Any spaces or other shell characters are " "escaped for you." msgstr "" #. type: =item -#: ../src/guestfs.pod:3153 +#: ../src/guestfs.pod:3155 msgid "%R" msgstr "%R" #. type: textblock -#: ../src/guestfs.pod:3155 +#: ../src/guestfs.pod:3157 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:3162 +#: ../src/guestfs.pod:3164 #, no-wrap msgid "" " asprintf (&cmd, \"cat %R\", path);\n" @@ -59964,12 +60173,12 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:3164 +#: ../src/guestfs.pod:3166 msgid "would produce C<cat /sysroot/some\\ path\\ with\\ spaces>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3166 +#: ../src/guestfs.pod:3168 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 " @@ -59978,29 +60187,29 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3172 +#: ../src/guestfs.pod:3174 msgid "SUBMITTING YOUR NEW API ACTIONS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3174 +#: ../src/guestfs.pod:3176 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:3178 +#: ../src/guestfs.pod:3180 msgid "INTERNATIONALIZATION (I18N) SUPPORT" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3180 +#: ../src/guestfs.pod:3182 msgid "We support i18n (gettext anyhow) in the library." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3182 +#: ../src/guestfs.pod:3184 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 " @@ -60009,102 +60218,102 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3188 +#: ../src/guestfs.pod:3190 msgid "" "Debugging messages are never translated, since they are intended for the " "programmers." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3191 +#: ../src/guestfs.pod:3193 msgid "SOURCE CODE SUBDIRECTORIES" msgstr "" #. type: =item -#: ../src/guestfs.pod:3195 +#: ../src/guestfs.pod:3197 msgid "C<align>" msgstr "C<align>" #. type: textblock -#: ../src/guestfs.pod:3197 +#: ../src/guestfs.pod:3199 msgid "L<virt-alignment-scan(1)> command and documentation." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3201 +#: ../src/guestfs.pod:3203 msgid "The libguestfs appliance, build scripts and so on." msgstr "" #. type: =item -#: ../src/guestfs.pod:3203 +#: ../src/guestfs.pod:3205 msgid "C<cat>" msgstr "C<cat>" #. type: textblock -#: ../src/guestfs.pod:3205 +#: ../src/guestfs.pod:3207 msgid "" "The L<virt-cat(1)>, L<virt-filesystems(1)> and L<virt-ls(1)> commands and " "documentation." msgstr "" #. type: =item -#: ../src/guestfs.pod:3208 +#: ../src/guestfs.pod:3210 msgid "C<contrib>" msgstr "C<contrib>" #. type: textblock -#: ../src/guestfs.pod:3210 +#: ../src/guestfs.pod:3212 msgid "Outside contributions, experimental parts." msgstr "" #. type: =item -#: ../src/guestfs.pod:3212 +#: ../src/guestfs.pod:3214 msgid "C<daemon>" msgstr "C<daemon>" #. type: textblock -#: ../src/guestfs.pod:3214 +#: ../src/guestfs.pod:3216 msgid "" "The daemon that runs inside the libguestfs appliance and carries out actions." msgstr "" #. type: =item -#: ../src/guestfs.pod:3217 +#: ../src/guestfs.pod:3219 msgid "C<df>" msgstr "C<df>" #. type: textblock -#: ../src/guestfs.pod:3219 +#: ../src/guestfs.pod:3221 msgid "L<virt-df(1)> command and documentation." msgstr "" #. type: =item -#: ../src/guestfs.pod:3221 +#: ../src/guestfs.pod:3223 msgid "C<edit>" msgstr "C<edit>" #. type: textblock -#: ../src/guestfs.pod:3223 +#: ../src/guestfs.pod:3225 msgid "L<virt-edit(1)> command and documentation." msgstr "" #. type: =item -#: ../src/guestfs.pod:3225 +#: ../src/guestfs.pod:3227 msgid "C<examples>" msgstr "C<examples>" #. type: textblock -#: ../src/guestfs.pod:3227 +#: ../src/guestfs.pod:3229 msgid "C API example code." msgstr "Код прикладів використання програмного інтерфейсу мовою C." #. type: =item -#: ../src/guestfs.pod:3229 +#: ../src/guestfs.pod:3231 msgid "C<fish>" msgstr "C<fish>" #. type: textblock -#: ../src/guestfs.pod:3231 +#: ../src/guestfs.pod:3233 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)>, " @@ -60112,80 +60321,80 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3237 +#: ../src/guestfs.pod:3239 msgid "L<virt-format(1)> command and documentation." msgstr "" #. type: =item -#: ../src/guestfs.pod:3239 +#: ../src/guestfs.pod:3241 msgid "C<fuse>" msgstr "C<fuse>" #. type: textblock -#: ../src/guestfs.pod:3241 +#: ../src/guestfs.pod:3243 msgid "" "L<guestmount(1)>, FUSE (userspace filesystem) built on top of libguestfs." msgstr "" #. type: =item -#: ../src/guestfs.pod:3243 +#: ../src/guestfs.pod:3245 msgid "C<generator>" msgstr "C<generator>" #. type: textblock -#: ../src/guestfs.pod:3245 +#: ../src/guestfs.pod:3247 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:3248 +#: ../src/guestfs.pod:3250 msgid "C<inspector>" msgstr "C<inspector>" #. type: textblock -#: ../src/guestfs.pod:3250 +#: ../src/guestfs.pod:3252 msgid "L<virt-inspector(1)>, the virtual machine image inspector." msgstr "" #. type: =item -#: ../src/guestfs.pod:3252 +#: ../src/guestfs.pod:3254 msgid "C<logo>" msgstr "C<logo>" #. type: textblock -#: ../src/guestfs.pod:3254 +#: ../src/guestfs.pod:3256 msgid "Logo used on the website. The fish is called Arthur by the way." msgstr "" #. type: =item -#: ../src/guestfs.pod:3256 +#: ../src/guestfs.pod:3258 msgid "C<m4>" msgstr "C<m4>" #. type: textblock -#: ../src/guestfs.pod:3258 +#: ../src/guestfs.pod:3260 msgid "M4 macros used by autoconf." msgstr "" #. type: =item -#: ../src/guestfs.pod:3260 +#: ../src/guestfs.pod:3262 msgid "C<po>" msgstr "C<po>" #. type: textblock -#: ../src/guestfs.pod:3262 +#: ../src/guestfs.pod:3264 msgid "Translations of simple gettext strings." msgstr "Переклади простих рядків gettext." #. type: =item -#: ../src/guestfs.pod:3264 +#: ../src/guestfs.pod:3266 msgid "C<po-docs>" msgstr "C<po-docs>" #. type: textblock -#: ../src/guestfs.pod:3266 +#: ../src/guestfs.pod:3268 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 " @@ -60193,180 +60402,165 @@ msgid "" msgstr "" #. type: =item -#: ../src/guestfs.pod:3270 +#: ../src/guestfs.pod:3272 msgid "C<rescue>" msgstr "C<rescue>" #. type: textblock -#: ../src/guestfs.pod:3272 +#: ../src/guestfs.pod:3274 msgid "L<virt-rescue(1)> command and documentation." msgstr "" #. type: =item -#: ../src/guestfs.pod:3274 +#: ../src/guestfs.pod:3276 msgid "C<resize>" msgstr "C<resize>" #. type: textblock -#: ../src/guestfs.pod:3276 +#: ../src/guestfs.pod:3278 msgid "L<virt-resize(1)> command and documentation." msgstr "" #. type: =item -#: ../src/guestfs.pod:3278 +#: ../src/guestfs.pod:3280 msgid "C<sparsify>" msgstr "C<sparsify>" #. type: textblock -#: ../src/guestfs.pod:3280 +#: ../src/guestfs.pod:3282 msgid "L<virt-sparsify(1)> command and documentation." msgstr "" #. type: =item -#: ../src/guestfs.pod:3282 +#: ../src/guestfs.pod:3284 msgid "C<src>" msgstr "C<src>" #. type: textblock -#: ../src/guestfs.pod:3284 +#: ../src/guestfs.pod:3286 msgid "Source code to the C library." msgstr "" #. type: =item -#: ../src/guestfs.pod:3286 +#: ../src/guestfs.pod:3288 msgid "C<sysprep>" msgstr "C<sysprep>" #. type: textblock -#: ../src/guestfs.pod:3288 +#: ../src/guestfs.pod:3290 msgid "L<virt-sysprep(1)> command and documentation." msgstr "" #. type: =item -#: ../src/guestfs.pod:3290 +#: ../src/guestfs.pod:3292 msgid "C<test-tool>" msgstr "C<test-tool>" #. type: textblock -#: ../src/guestfs.pod:3292 +#: ../src/guestfs.pod:3294 msgid "" "Test tool for end users to test if their qemu/kernel combination will work " "with libguestfs." msgstr "" #. type: =item -#: ../src/guestfs.pod:3295 +#: ../src/guestfs.pod:3297 msgid "C<tests>" msgstr "C<tests>" #. type: textblock -#: ../src/guestfs.pod:3297 +#: ../src/guestfs.pod:3299 msgid "Tests." msgstr "Тести." #. type: =item -#: ../src/guestfs.pod:3299 +#: ../src/guestfs.pod:3301 #, fuzzy #| msgid "B<utmp> *" msgid "C<tmp>" msgstr "B<utmp> *" #. type: textblock -#: ../src/guestfs.pod:3301 +#: ../src/guestfs.pod:3303 msgid "" "Used for temporary files when running the tests (instead of C</tmp> etc). " "The reason is so that you can run multiple parallel tests of libguestfs " "without having one set of tests overwriting the appliance created by another." msgstr "" -#. type: textblock -#: ../src/guestfs.pod:3306 -msgid "" -"If you are using libvirt + sVirt with SELinux enforcing, then you have to " -"label this directory:" -msgstr "" - -#. type: verbatim -#: ../src/guestfs.pod:3309 -#, no-wrap -msgid "" -" chcon --reference=/tmp tmp\n" -"\n" -msgstr "" - #. type: =item -#: ../src/guestfs.pod:3311 +#: ../src/guestfs.pod:3308 msgid "C<tools>" msgstr "C<tools>" #. type: textblock -#: ../src/guestfs.pod:3313 +#: ../src/guestfs.pod:3310 msgid "" "Command line tools written in Perl (L<virt-win-reg(1)> and many others)." msgstr "" #. type: =item -#: ../src/guestfs.pod:3315 +#: ../src/guestfs.pod:3312 msgid "C<csharp>" msgstr "C<csharp>" #. type: =item -#: ../src/guestfs.pod:3317 +#: ../src/guestfs.pod:3314 msgid "C<erlang>" msgstr "C<erlang>" #. type: =item -#: ../src/guestfs.pod:3319 +#: ../src/guestfs.pod:3316 msgid "C<gobject>" msgstr "C<gobject>" #. type: =item -#: ../src/guestfs.pod:3321 +#: ../src/guestfs.pod:3318 msgid "C<haskell>" msgstr "C<haskell>" #. type: =item -#: ../src/guestfs.pod:3323 +#: ../src/guestfs.pod:3320 msgid "C<java>" msgstr "C<java>" #. type: =item -#: ../src/guestfs.pod:3325 +#: ../src/guestfs.pod:3322 msgid "C<ocaml>" msgstr "C<ocaml>" #. type: =item -#: ../src/guestfs.pod:3327 +#: ../src/guestfs.pod:3324 msgid "C<php>" msgstr "C<php>" #. type: =item -#: ../src/guestfs.pod:3329 +#: ../src/guestfs.pod:3326 msgid "C<perl>" msgstr "C<perl>" #. type: =item -#: ../src/guestfs.pod:3331 +#: ../src/guestfs.pod:3328 msgid "C<python>" msgstr "C<python>" #. type: =item -#: ../src/guestfs.pod:3333 +#: ../src/guestfs.pod:3330 msgid "C<ruby>" msgstr "C<ruby>" #. type: textblock -#: ../src/guestfs.pod:3335 +#: ../src/guestfs.pod:3332 msgid "Language bindings." msgstr "Прив’язки до мов програмування." #. type: =head2 -#: ../src/guestfs.pod:3339 +#: ../src/guestfs.pod:3336 msgid "MAKING A STABLE RELEASE" msgstr "СТВОРЕННЯ СТАБІЛЬНОГО ВИПУСКУ" #. type: textblock -#: ../src/guestfs.pod:3341 +#: ../src/guestfs.pod:3338 msgid "" "When we make a stable release, there are several steps documented here. See " "L</LIBGUESTFS VERSION NUMBERS> for general information about the stable " @@ -60374,33 +60568,33 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3349 +#: ../src/guestfs.pod:3346 msgid "" "Check C<make && make check> works on at least Fedora, Debian and Ubuntu." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3354 +#: ../src/guestfs.pod:3351 msgid "Finalize C<guestfs-release-notes.pod>" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3358 +#: ../src/guestfs.pod:3355 msgid "Update ROADMAP." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3362 +#: ../src/guestfs.pod:3359 msgid "Run C<src/api-support/update-from-tarballs.sh>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3366 +#: ../src/guestfs.pod:3363 msgid "Push and pull from Transifex." msgstr "Передавання даних на Transifex та отримання даних з Transifex." #. type: verbatim -#: ../src/guestfs.pod:3370 +#: ../src/guestfs.pod:3367 #, no-wrap msgid "" " tx push -s\n" @@ -60410,13 +60604,13 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:3372 +#: ../src/guestfs.pod:3369 msgid "to push the latest POT files to Transifex. Then run:" msgstr "" "щоб надіслати найсвіжіші файли POT на Transifex. Потім віддайте команду:" #. type: verbatim -#: ../src/guestfs.pod:3374 +#: ../src/guestfs.pod:3371 #, no-wrap msgid "" " ./tx-pull.sh\n" @@ -60426,24 +60620,24 @@ msgstr "" "\n" #. type: textblock -#: ../src/guestfs.pod:3376 +#: ../src/guestfs.pod:3373 msgid "which is a wrapper to pull the latest translated C<*.po> files." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3380 +#: ../src/guestfs.pod:3377 msgid "" "Create new stable and development directories under L<http://libguestfs.org/" "download>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3385 +#: ../src/guestfs.pod:3382 msgid "Create the branch in git:" msgstr "Створення гілки у git:" #. type: verbatim -#: ../src/guestfs.pod:3387 +#: ../src/guestfs.pod:3384 #, no-wrap msgid "" " git tag -a 1.XX.0 -m \"Version 1.XX.0 (stable)\"\n" @@ -60459,17 +60653,17 @@ msgstr "" "\n" #. type: =head1 -#: ../src/guestfs.pod:3394 +#: ../src/guestfs.pod:3391 msgid "LIMITS" msgstr "ОБМЕЖЕННЯ" #. type: =head2 -#: ../src/guestfs.pod:3396 +#: ../src/guestfs.pod:3393 msgid "PROTOCOL LIMITS" msgstr "ОБМЕЖЕННЯ ПРОТОКОЛУ" #. type: textblock -#: ../src/guestfs.pod:3398 +#: ../src/guestfs.pod:3395 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 " @@ -60480,7 +60674,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3406 +#: ../src/guestfs.pod:3403 msgid "" "In libguestfs E<lt> 1.19.32, several calls had to encode either their entire " "argument list or their entire return value (or sometimes both) in a single " @@ -60496,7 +60690,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3419 +#: ../src/guestfs.pod:3416 #, fuzzy #| msgid "" #| "The following functions: L</guestfs_getxattr> L</guestfs_getxattrs> L</" @@ -60515,19 +60709,19 @@ msgstr "" "guestfs_setxattr>" #. type: textblock -#: ../src/guestfs.pod:3424 +#: ../src/guestfs.pod:3421 msgid "" "See also L</UPLOADING> and L</DOWNLOADING> for further information about " "copying large amounts of data into or out of a filesystem." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3427 +#: ../src/guestfs.pod:3424 msgid "MAXIMUM NUMBER OF DISKS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3429 +#: ../src/guestfs.pod:3426 msgid "" "In libguestfs E<ge> 1.19.7, you can query the maximum number of disks that " "may be added by calling L</guestfs_max_disks>. In earlier versions of " @@ -60536,14 +60730,14 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3434 +#: ../src/guestfs.pod:3431 msgid "" "The rest of this section covers implementation details, which could change " "in future." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3437 +#: ../src/guestfs.pod:3434 msgid "" "When using virtio-scsi disks (the default if available in qemu) the current " "limit is B<255> disks. When using virtio-blk (the old default) the limit is " @@ -60552,26 +60746,26 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3442 +#: ../src/guestfs.pod:3439 msgid "" "Virtio-scsi as used by libguestfs is configured to use one target per disk, " "and 256 targets are available." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3445 +#: ../src/guestfs.pod:3442 msgid "" "Virtio-blk consumes 1 virtual PCI slot per disk, and PCI is limited to 31 " "slots, but some of these are used for other purposes." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3448 +#: ../src/guestfs.pod:3445 msgid "One virtual disk is used by libguestfs internally." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3450 +#: ../src/guestfs.pod:3447 msgid "" "Before libguestfs 1.19.7, disk names had to be a single character (eg. C</" "dev/sda> through C</dev/sdz>), and since one disk is reserved, that meant " @@ -60579,7 +60773,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3455 +#: ../src/guestfs.pod:3452 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 " @@ -60587,41 +60781,41 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3459 +#: ../src/guestfs.pod:3456 msgid "MAXIMUM NUMBER OF PARTITIONS PER DISK" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3461 +#: ../src/guestfs.pod:3458 msgid "Virtio limits the maximum number of partitions per disk to B<15>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3463 +#: ../src/guestfs.pod:3460 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:3466 +#: ../src/guestfs.pod:3463 msgid "" "If you attach a disk with more than 15 partitions, the extra partitions are " "ignored by libguestfs." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3469 +#: ../src/guestfs.pod:3466 msgid "MAXIMUM SIZE OF A DISK" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3471 +#: ../src/guestfs.pod:3468 msgid "Probably the limit is between 2**63-1 and 2**64-1 bytes." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3473 +#: ../src/guestfs.pod:3470 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 " @@ -60629,7 +60823,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3477 +#: ../src/guestfs.pod:3474 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 " @@ -60639,19 +60833,19 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3483 +#: ../src/guestfs.pod:3480 msgid "" "For the hugest disk image files, we recommend using XFS on the host for " "storage." msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3486 +#: ../src/guestfs.pod:3483 msgid "MAXIMUM SIZE OF A PARTITION" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3488 +#: ../src/guestfs.pod:3485 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 " @@ -60659,7 +60853,7 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3492 +#: ../src/guestfs.pod:3489 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 " @@ -60667,12 +60861,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3497 +#: ../src/guestfs.pod:3494 msgid "MAXIMUM SIZE OF A FILESYSTEM, FILES, DIRECTORIES" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3499 +#: ../src/guestfs.pod:3496 msgid "" "This depends on the filesystem type. libguestfs itself does not impose any " "known limit. Consult Wikipedia or the filesystem documentation to find out " @@ -60680,12 +60874,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3503 +#: ../src/guestfs.pod:3500 msgid "MAXIMUM UPLOAD AND DOWNLOAD" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3505 +#: ../src/guestfs.pod:3502 msgid "" "The API functions L</guestfs_upload>, L</guestfs_download>, L</" "guestfs_tar_in>, L</guestfs_tar_out> and the like allow unlimited sized " @@ -60693,12 +60887,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../src/guestfs.pod:3509 +#: ../src/guestfs.pod:3506 msgid "INSPECTION LIMITS" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3511 +#: ../src/guestfs.pod:3508 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 " @@ -60708,40 +60902,40 @@ msgid "" msgstr "" #. type: textblock -#: ../src/guestfs.pod:3537 +#: ../src/guestfs.pod:3534 msgid "" "Choose the default way to create the appliance. See L</" "guestfs_set_attach_method>." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3542 +#: ../src/guestfs.pod:3539 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:3554 +#: ../src/guestfs.pod:3551 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:3563 +#: ../src/guestfs.pod:3560 msgid "See also L</QEMU WRAPPERS> above." msgstr "" #. type: textblock -#: ../src/guestfs.pod:3567 +#: ../src/guestfs.pod:3564 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:3585 +#: ../src/guestfs.pod:3582 #, fuzzy #| msgid "" #| "L<guestfs-examples(3)>, L<guestfs-erlang(3)>, L<guestfs-java(3)>, " @@ -60785,7 +60979,7 @@ msgstr "" ">, L<stap(1)>, L<http://libguestfs.org/>." #. type: textblock -#: ../src/guestfs.pod:3628 +#: ../src/guestfs.pod:3625 msgid "" "Tools with a similar purpose: L<fdisk(8)>, L<parted(8)>, L<kpartx(8)>, L<lvm" "(8)>, L<disktype(1)>." @@ -61631,7 +61825,7 @@ msgstr "" #. type: textblock #: ../sysprep/virt-sysprep.pod:15 msgid "" -"Virt-sysprep can resets or unconfigure a virtual machine so that clones can " +"Virt-sysprep can reset or unconfigure a virtual machine so that clones can " "be made from it. Steps in this process include removing SSH host keys, " "removing persistent network MAC configuration, and removing user accounts. " "Virt-sysprep can also customize a virtual machine, for instance by adding " @@ -64110,6 +64304,9 @@ msgstr "" 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 0c0342d6..bdbd11ae 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-24 16:57+0100\n" +"POT-Creation-Date: 2012-09-26 21:18+0100\n" "PO-Revision-Date: 2012-07-10 17:13+0000\n" "Last-Translator: rjones <rjones@redhat.com>\n" "Language-Team: English (United Kingdom) (http://www.transifex.com/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:1586 +#: cat/virt-cat.c:355 edit/virt-edit.c:663 fish/fish.c:1586 #, 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:677 #, c-format msgid "%s: drive '%c:' not found.\n" msgstr "" @@ -3278,12 +3278,12 @@ msgid "" "For more information, see the manpage %s(1).\n" msgstr "" -#: inspector/virt-inspector.c:252 +#: inspector/virt-inspector.c:249 #, c-format msgid "%s: cannot use --xpath together with other options.\n" msgstr "" -#: inspector/virt-inspector.c:285 +#: inspector/virt-inspector.c:282 #, c-format msgid "" "%s: no operating system could be detected inside this disk image.\n" @@ -3300,52 +3300,52 @@ msgid "" "information about the disk image as possible.\n" msgstr "" -#: inspector/virt-inspector.c:310 +#: inspector/virt-inspector.c:307 #, c-format msgid "%s: XML write error at \"%s\": %m\n" msgstr "" -#: inspector/virt-inspector.c:322 +#: inspector/virt-inspector.c:319 #, c-format msgid "%s: xmlOutputBufferCreateFd: failed to open stdout\n" msgstr "" -#: inspector/virt-inspector.c:330 +#: inspector/virt-inspector.c:327 #, c-format msgid "%s: xmlNewTextWriter: failed to create libxml2 writer\n" msgstr "" -#: inspector/virt-inspector.c:822 +#: inspector/virt-inspector.c:819 #, c-format msgid "%s: unable to parse XML from stdin\n" msgstr "" -#: inspector/virt-inspector.c:828 +#: inspector/virt-inspector.c:825 #, c-format msgid "%s: unable to create new XPath context\n" msgstr "" -#: inspector/virt-inspector.c:835 +#: inspector/virt-inspector.c:832 #, c-format msgid "%s: unable to evaluate XPath expression\n" msgstr "" -#: inspector/virt-inspector.c:846 +#: inspector/virt-inspector.c:843 #, c-format msgid "%s: xmlSaveToFd failed\n" msgstr "" -#: inspector/virt-inspector.c:853 +#: inspector/virt-inspector.c:850 #, c-format msgid "%s: xmlNewDoc failed\n" msgstr "" -#: inspector/virt-inspector.c:858 +#: inspector/virt-inspector.c:855 #, c-format msgid "%s: xmlCopyNode failed\n" msgstr "" -#: inspector/virt-inspector.c:865 +#: inspector/virt-inspector.c:862 #, c-format msgid "%s: xmlSaveDoc failed\n" msgstr "" @@ -3507,26 +3507,26 @@ msgstr "" msgid "%s: --scratch parameter '%s' should be >= 1\n" msgstr "" -#: rescue/virt-rescue.c:225 +#: rescue/virt-rescue.c:222 #, c-format msgid "%s: could not parse memory size '%s'\n" msgstr "" -#: rescue/virt-rescue.c:324 +#: rescue/virt-rescue.c:321 #, c-format msgid "" "%s: warning: virt-rescue doesn't work with the libvirt backend\n" "at the moment. As a workaround, forcing attach-method = 'appliance'.\n" msgstr "" -#: rescue/virt-rescue.c:412 +#: rescue/virt-rescue.c:409 #, c-format msgid "" "Inspecting the virtual machine or disk image ...\n" "\n" msgstr "" -#: rescue/virt-rescue.c:431 +#: rescue/virt-rescue.c:428 #, c-format msgid "" "This disk contains one or more operating systems. You can use these mount\n" @@ -3534,7 +3534,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:441 +#: rescue/virt-rescue.c:438 #, c-format msgid "" "# %s is the root of a %s operating system\n" @@ -3543,7 +3543,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:498 +#: rescue/virt-rescue.c:495 #, c-format msgid "" "This disk contains no filesystems that we recognize.\n" @@ -3553,7 +3553,7 @@ msgid "" "logical volumes and filesystems on a blank disk.\n" msgstr "" -#: rescue/virt-rescue.c:505 +#: rescue/virt-rescue.c:502 #, c-format msgid "" "This disk contains one or more filesystems, but we don't recognize any\n" @@ -3562,12 +3562,12 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:510 +#: rescue/virt-rescue.c:507 #, c-format msgid "# %s has type '%s'\n" msgstr "" -#: rescue/virt-rescue.c:718 +#: rescue/virt-rescue.c:715 #, c-format msgid "%s: unknown child exit status (%d)\n" msgstr "" @@ -4080,79 +4080,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:328 +#: test-tool/test-tool.c:339 #, c-format msgid "%s: does not look like a qemu source directory\n" 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-24 16:57+0100\n" +"POT-Creation-Date: 2012-09-26 21:18+0100\n" "PO-Revision-Date: 2012-07-10 17:13+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:1586 +#: cat/virt-cat.c:355 edit/virt-edit.c:663 fish/fish.c:1586 #, 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:677 #, c-format msgid "%s: drive '%c:' not found.\n" msgstr "%s: no se ha encontrado una unidad '%c'.\n" @@ -3413,12 +3413,12 @@ msgid "" "For more information, see the manpage %s(1).\n" msgstr "" -#: inspector/virt-inspector.c:252 +#: inspector/virt-inspector.c:249 #, c-format msgid "%s: cannot use --xpath together with other options.\n" msgstr "" -#: inspector/virt-inspector.c:285 +#: inspector/virt-inspector.c:282 #, c-format msgid "" "%s: no operating system could be detected inside this disk image.\n" @@ -3451,52 +3451,52 @@ msgstr "" " mayor cantidad de información relacionada con la imagen de disco que le sea " "posible.\n" -#: inspector/virt-inspector.c:310 +#: inspector/virt-inspector.c:307 #, 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:322 +#: inspector/virt-inspector.c:319 #, c-format msgid "%s: xmlOutputBufferCreateFd: failed to open stdout\n" msgstr "%s: xmlOutputBufferCreateFd: falló al abrir stdout\n" -#: inspector/virt-inspector.c:330 +#: inspector/virt-inspector.c:327 #, c-format msgid "%s: xmlNewTextWriter: failed to create libxml2 writer\n" msgstr "%s: xmlNewTextWriter: falló al crear escritor libxml2\n" -#: inspector/virt-inspector.c:822 +#: inspector/virt-inspector.c:819 #, c-format msgid "%s: unable to parse XML from stdin\n" msgstr "" -#: inspector/virt-inspector.c:828 +#: inspector/virt-inspector.c:825 #, c-format msgid "%s: unable to create new XPath context\n" msgstr "" -#: inspector/virt-inspector.c:835 +#: inspector/virt-inspector.c:832 #, c-format msgid "%s: unable to evaluate XPath expression\n" msgstr "" -#: inspector/virt-inspector.c:846 +#: inspector/virt-inspector.c:843 #, c-format msgid "%s: xmlSaveToFd failed\n" msgstr "" -#: inspector/virt-inspector.c:853 +#: inspector/virt-inspector.c:850 #, c-format msgid "%s: xmlNewDoc failed\n" msgstr "" -#: inspector/virt-inspector.c:858 +#: inspector/virt-inspector.c:855 #, c-format msgid "%s: xmlCopyNode failed\n" msgstr "" -#: inspector/virt-inspector.c:865 +#: inspector/virt-inspector.c:862 #, c-format msgid "%s: xmlSaveDoc failed\n" msgstr "" @@ -3676,26 +3676,26 @@ msgstr "" msgid "%s: --scratch parameter '%s' should be >= 1\n" msgstr "" -#: rescue/virt-rescue.c:225 +#: rescue/virt-rescue.c:222 #, 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:324 +#: rescue/virt-rescue.c:321 #, c-format msgid "" "%s: warning: virt-rescue doesn't work with the libvirt backend\n" "at the moment. As a workaround, forcing attach-method = 'appliance'.\n" msgstr "" -#: rescue/virt-rescue.c:412 +#: rescue/virt-rescue.c:409 #, c-format msgid "" "Inspecting the virtual machine or disk image ...\n" "\n" msgstr "" -#: rescue/virt-rescue.c:431 +#: rescue/virt-rescue.c:428 #, c-format msgid "" "This disk contains one or more operating systems. You can use these mount\n" @@ -3703,7 +3703,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:441 +#: rescue/virt-rescue.c:438 #, c-format msgid "" "# %s is the root of a %s operating system\n" @@ -3712,7 +3712,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:498 +#: rescue/virt-rescue.c:495 #, c-format msgid "" "This disk contains no filesystems that we recognize.\n" @@ -3722,7 +3722,7 @@ msgid "" "logical volumes and filesystems on a blank disk.\n" msgstr "" -#: rescue/virt-rescue.c:505 +#: rescue/virt-rescue.c:502 #, c-format msgid "" "This disk contains one or more filesystems, but we don't recognize any\n" @@ -3731,12 +3731,12 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:510 +#: rescue/virt-rescue.c:507 #, c-format msgid "# %s has type '%s'\n" msgstr "" -#: rescue/virt-rescue.c:718 +#: rescue/virt-rescue.c:715 #, c-format msgid "%s: unknown child exit status (%d)\n" msgstr "%s: estado de salida de proceso hijo desconocido (%d)\n" @@ -4288,67 +4288,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" @@ -4357,12 +4357,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:328 +#: test-tool/test-tool.c:339 #, c-format msgid "%s: does not look like a qemu source directory\n" msgstr "%s: no parece un directorio fuente de qemu\n" @@ -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-24 16:57+0100\n" +"POT-Creation-Date: 2012-09-26 21:18+0100\n" "PO-Revision-Date: 2012-07-10 17:13+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:1586 +#: cat/virt-cat.c:355 edit/virt-edit.c:663 fish/fish.c:1586 #, 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:677 #, c-format msgid "%s: drive '%c:' not found.\n" msgstr "" @@ -3217,12 +3217,12 @@ msgid "" "For more information, see the manpage %s(1).\n" msgstr "" -#: inspector/virt-inspector.c:252 +#: inspector/virt-inspector.c:249 #, c-format msgid "%s: cannot use --xpath together with other options.\n" msgstr "" -#: inspector/virt-inspector.c:285 +#: inspector/virt-inspector.c:282 #, c-format msgid "" "%s: no operating system could be detected inside this disk image.\n" @@ -3239,52 +3239,52 @@ msgid "" "information about the disk image as possible.\n" msgstr "" -#: inspector/virt-inspector.c:310 +#: inspector/virt-inspector.c:307 #, c-format msgid "%s: XML write error at \"%s\": %m\n" msgstr "" -#: inspector/virt-inspector.c:322 +#: inspector/virt-inspector.c:319 #, c-format msgid "%s: xmlOutputBufferCreateFd: failed to open stdout\n" msgstr "" -#: inspector/virt-inspector.c:330 +#: inspector/virt-inspector.c:327 #, c-format msgid "%s: xmlNewTextWriter: failed to create libxml2 writer\n" msgstr "" -#: inspector/virt-inspector.c:822 +#: inspector/virt-inspector.c:819 #, c-format msgid "%s: unable to parse XML from stdin\n" msgstr "" -#: inspector/virt-inspector.c:828 +#: inspector/virt-inspector.c:825 #, c-format msgid "%s: unable to create new XPath context\n" msgstr "" -#: inspector/virt-inspector.c:835 +#: inspector/virt-inspector.c:832 #, c-format msgid "%s: unable to evaluate XPath expression\n" msgstr "" -#: inspector/virt-inspector.c:846 +#: inspector/virt-inspector.c:843 #, c-format msgid "%s: xmlSaveToFd failed\n" msgstr "" -#: inspector/virt-inspector.c:853 +#: inspector/virt-inspector.c:850 #, c-format msgid "%s: xmlNewDoc failed\n" msgstr "" -#: inspector/virt-inspector.c:858 +#: inspector/virt-inspector.c:855 #, c-format msgid "%s: xmlCopyNode failed\n" msgstr "" -#: inspector/virt-inspector.c:865 +#: inspector/virt-inspector.c:862 #, c-format msgid "%s: xmlSaveDoc failed\n" msgstr "" @@ -3446,26 +3446,26 @@ msgstr "" msgid "%s: --scratch parameter '%s' should be >= 1\n" msgstr "" -#: rescue/virt-rescue.c:225 +#: rescue/virt-rescue.c:222 #, c-format msgid "%s: could not parse memory size '%s'\n" msgstr "" -#: rescue/virt-rescue.c:324 +#: rescue/virt-rescue.c:321 #, c-format msgid "" "%s: warning: virt-rescue doesn't work with the libvirt backend\n" "at the moment. As a workaround, forcing attach-method = 'appliance'.\n" msgstr "" -#: rescue/virt-rescue.c:412 +#: rescue/virt-rescue.c:409 #, c-format msgid "" "Inspecting the virtual machine or disk image ...\n" "\n" msgstr "" -#: rescue/virt-rescue.c:431 +#: rescue/virt-rescue.c:428 #, c-format msgid "" "This disk contains one or more operating systems. You can use these mount\n" @@ -3473,7 +3473,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:441 +#: rescue/virt-rescue.c:438 #, c-format msgid "" "# %s is the root of a %s operating system\n" @@ -3482,7 +3482,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:498 +#: rescue/virt-rescue.c:495 #, c-format msgid "" "This disk contains no filesystems that we recognize.\n" @@ -3492,7 +3492,7 @@ msgid "" "logical volumes and filesystems on a blank disk.\n" msgstr "" -#: rescue/virt-rescue.c:505 +#: rescue/virt-rescue.c:502 #, c-format msgid "" "This disk contains one or more filesystems, but we don't recognize any\n" @@ -3501,12 +3501,12 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:510 +#: rescue/virt-rescue.c:507 #, c-format msgid "# %s has type '%s'\n" msgstr "" -#: rescue/virt-rescue.c:718 +#: rescue/virt-rescue.c:715 #, c-format msgid "%s: unknown child exit status (%d)\n" msgstr "" @@ -4020,67 +4020,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" @@ -4089,12 +4089,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:328 +#: test-tool/test-tool.c:339 #, c-format msgid "%s: does not look like a qemu source directory\n" msgstr "%s: qemu સ્ત્રોત ડિરેક્ટરીનાં જેવુ લાગતુ નથી\n" @@ -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-24 16:57+0100\n" +"POT-Creation-Date: 2012-09-26 21:18+0100\n" "PO-Revision-Date: 2012-07-10 17:13+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:1586 +#: cat/virt-cat.c:355 edit/virt-edit.c:663 fish/fish.c:1586 #, 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:677 #, c-format msgid "%s: drive '%c:' not found.\n" msgstr "" @@ -3215,12 +3215,12 @@ msgid "" "For more information, see the manpage %s(1).\n" msgstr "" -#: inspector/virt-inspector.c:252 +#: inspector/virt-inspector.c:249 #, c-format msgid "%s: cannot use --xpath together with other options.\n" msgstr "" -#: inspector/virt-inspector.c:285 +#: inspector/virt-inspector.c:282 #, c-format msgid "" "%s: no operating system could be detected inside this disk image.\n" @@ -3237,52 +3237,52 @@ msgid "" "information about the disk image as possible.\n" msgstr "" -#: inspector/virt-inspector.c:310 +#: inspector/virt-inspector.c:307 #, c-format msgid "%s: XML write error at \"%s\": %m\n" msgstr "" -#: inspector/virt-inspector.c:322 +#: inspector/virt-inspector.c:319 #, c-format msgid "%s: xmlOutputBufferCreateFd: failed to open stdout\n" msgstr "" -#: inspector/virt-inspector.c:330 +#: inspector/virt-inspector.c:327 #, c-format msgid "%s: xmlNewTextWriter: failed to create libxml2 writer\n" msgstr "" -#: inspector/virt-inspector.c:822 +#: inspector/virt-inspector.c:819 #, c-format msgid "%s: unable to parse XML from stdin\n" msgstr "" -#: inspector/virt-inspector.c:828 +#: inspector/virt-inspector.c:825 #, c-format msgid "%s: unable to create new XPath context\n" msgstr "" -#: inspector/virt-inspector.c:835 +#: inspector/virt-inspector.c:832 #, c-format msgid "%s: unable to evaluate XPath expression\n" msgstr "" -#: inspector/virt-inspector.c:846 +#: inspector/virt-inspector.c:843 #, c-format msgid "%s: xmlSaveToFd failed\n" msgstr "" -#: inspector/virt-inspector.c:853 +#: inspector/virt-inspector.c:850 #, c-format msgid "%s: xmlNewDoc failed\n" msgstr "" -#: inspector/virt-inspector.c:858 +#: inspector/virt-inspector.c:855 #, c-format msgid "%s: xmlCopyNode failed\n" msgstr "" -#: inspector/virt-inspector.c:865 +#: inspector/virt-inspector.c:862 #, c-format msgid "%s: xmlSaveDoc failed\n" msgstr "" @@ -3444,26 +3444,26 @@ msgstr "" msgid "%s: --scratch parameter '%s' should be >= 1\n" msgstr "" -#: rescue/virt-rescue.c:225 +#: rescue/virt-rescue.c:222 #, c-format msgid "%s: could not parse memory size '%s'\n" msgstr "" -#: rescue/virt-rescue.c:324 +#: rescue/virt-rescue.c:321 #, c-format msgid "" "%s: warning: virt-rescue doesn't work with the libvirt backend\n" "at the moment. As a workaround, forcing attach-method = 'appliance'.\n" msgstr "" -#: rescue/virt-rescue.c:412 +#: rescue/virt-rescue.c:409 #, c-format msgid "" "Inspecting the virtual machine or disk image ...\n" "\n" msgstr "" -#: rescue/virt-rescue.c:431 +#: rescue/virt-rescue.c:428 #, c-format msgid "" "This disk contains one or more operating systems. You can use these mount\n" @@ -3471,7 +3471,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:441 +#: rescue/virt-rescue.c:438 #, c-format msgid "" "# %s is the root of a %s operating system\n" @@ -3480,7 +3480,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:498 +#: rescue/virt-rescue.c:495 #, c-format msgid "" "This disk contains no filesystems that we recognize.\n" @@ -3490,7 +3490,7 @@ msgid "" "logical volumes and filesystems on a blank disk.\n" msgstr "" -#: rescue/virt-rescue.c:505 +#: rescue/virt-rescue.c:502 #, c-format msgid "" "This disk contains one or more filesystems, but we don't recognize any\n" @@ -3499,12 +3499,12 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:510 +#: rescue/virt-rescue.c:507 #, c-format msgid "# %s has type '%s'\n" msgstr "" -#: rescue/virt-rescue.c:718 +#: rescue/virt-rescue.c:715 #, c-format msgid "%s: unknown child exit status (%d)\n" msgstr "" @@ -4018,67 +4018,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" @@ -4087,12 +4087,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:328 +#: test-tool/test-tool.c:339 #, c-format msgid "%s: does not look like a qemu source directory\n" msgstr "%s: qemu स्रोत निर्देशिका की तरह नहीं दिखता है\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-24 16:57+0100\n" +"POT-Creation-Date: 2012-09-26 21:18+0100\n" "PO-Revision-Date: 2012-07-10 17:13+0000\n" "Last-Translator: rjones <rjones@redhat.com>\n" "Language-Team: Kannada (http://www.transifex.com/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:1586 +#: cat/virt-cat.c:355 edit/virt-edit.c:663 fish/fish.c:1586 #, 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:677 #, c-format msgid "%s: drive '%c:' not found.\n" msgstr "" @@ -3222,12 +3222,12 @@ msgid "" "For more information, see the manpage %s(1).\n" msgstr "" -#: inspector/virt-inspector.c:252 +#: inspector/virt-inspector.c:249 #, c-format msgid "%s: cannot use --xpath together with other options.\n" msgstr "" -#: inspector/virt-inspector.c:285 +#: inspector/virt-inspector.c:282 #, c-format msgid "" "%s: no operating system could be detected inside this disk image.\n" @@ -3244,52 +3244,52 @@ msgid "" "information about the disk image as possible.\n" msgstr "" -#: inspector/virt-inspector.c:310 +#: inspector/virt-inspector.c:307 #, c-format msgid "%s: XML write error at \"%s\": %m\n" msgstr "" -#: inspector/virt-inspector.c:322 +#: inspector/virt-inspector.c:319 #, c-format msgid "%s: xmlOutputBufferCreateFd: failed to open stdout\n" msgstr "" -#: inspector/virt-inspector.c:330 +#: inspector/virt-inspector.c:327 #, c-format msgid "%s: xmlNewTextWriter: failed to create libxml2 writer\n" msgstr "" -#: inspector/virt-inspector.c:822 +#: inspector/virt-inspector.c:819 #, c-format msgid "%s: unable to parse XML from stdin\n" msgstr "" -#: inspector/virt-inspector.c:828 +#: inspector/virt-inspector.c:825 #, c-format msgid "%s: unable to create new XPath context\n" msgstr "" -#: inspector/virt-inspector.c:835 +#: inspector/virt-inspector.c:832 #, c-format msgid "%s: unable to evaluate XPath expression\n" msgstr "" -#: inspector/virt-inspector.c:846 +#: inspector/virt-inspector.c:843 #, c-format msgid "%s: xmlSaveToFd failed\n" msgstr "" -#: inspector/virt-inspector.c:853 +#: inspector/virt-inspector.c:850 #, c-format msgid "%s: xmlNewDoc failed\n" msgstr "" -#: inspector/virt-inspector.c:858 +#: inspector/virt-inspector.c:855 #, c-format msgid "%s: xmlCopyNode failed\n" msgstr "" -#: inspector/virt-inspector.c:865 +#: inspector/virt-inspector.c:862 #, c-format msgid "%s: xmlSaveDoc failed\n" msgstr "" @@ -3451,26 +3451,26 @@ msgstr "" msgid "%s: --scratch parameter '%s' should be >= 1\n" msgstr "" -#: rescue/virt-rescue.c:225 +#: rescue/virt-rescue.c:222 #, c-format msgid "%s: could not parse memory size '%s'\n" msgstr "" -#: rescue/virt-rescue.c:324 +#: rescue/virt-rescue.c:321 #, c-format msgid "" "%s: warning: virt-rescue doesn't work with the libvirt backend\n" "at the moment. As a workaround, forcing attach-method = 'appliance'.\n" msgstr "" -#: rescue/virt-rescue.c:412 +#: rescue/virt-rescue.c:409 #, c-format msgid "" "Inspecting the virtual machine or disk image ...\n" "\n" msgstr "" -#: rescue/virt-rescue.c:431 +#: rescue/virt-rescue.c:428 #, c-format msgid "" "This disk contains one or more operating systems. You can use these mount\n" @@ -3478,7 +3478,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:441 +#: rescue/virt-rescue.c:438 #, c-format msgid "" "# %s is the root of a %s operating system\n" @@ -3487,7 +3487,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:498 +#: rescue/virt-rescue.c:495 #, c-format msgid "" "This disk contains no filesystems that we recognize.\n" @@ -3497,7 +3497,7 @@ msgid "" "logical volumes and filesystems on a blank disk.\n" msgstr "" -#: rescue/virt-rescue.c:505 +#: rescue/virt-rescue.c:502 #, c-format msgid "" "This disk contains one or more filesystems, but we don't recognize any\n" @@ -3506,12 +3506,12 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:510 +#: rescue/virt-rescue.c:507 #, c-format msgid "# %s has type '%s'\n" msgstr "" -#: rescue/virt-rescue.c:718 +#: rescue/virt-rescue.c:715 #, c-format msgid "%s: unknown child exit status (%d)\n" msgstr "" @@ -4026,67 +4026,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" @@ -4095,12 +4095,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:328 +#: test-tool/test-tool.c:339 #, c-format msgid "%s: does not look like a qemu source directory\n" msgstr "%s: ಇದು ಒಂದು qemu ಆಕರ ಕೋಶದ ರೀತಿ ಕಾಣಿಸುತ್ತಿಲ್ಲ\n" diff --git a/po/libguestfs.pot b/po/libguestfs.pot index b0ac53e2..1b102662 100644 --- a/po/libguestfs.pot +++ b/po/libguestfs.pot @@ -6,10 +6,10 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: libguestfs 1.19.44\n" +"Project-Id-Version: libguestfs 1.19.45\n" "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?" "component=libguestfs&product=Virtualization+Tools\n" -"POT-Creation-Date: 2012-09-24 16:57+0100\n" +"POT-Creation-Date: 2012-09-26 21:18+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:1586 +#: cat/virt-cat.c:355 edit/virt-edit.c:663 fish/fish.c:1586 #, 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:677 #, c-format msgid "%s: drive '%c:' not found.\n" msgstr "" @@ -3205,12 +3205,12 @@ msgid "" "For more information, see the manpage %s(1).\n" msgstr "" -#: inspector/virt-inspector.c:252 +#: inspector/virt-inspector.c:249 #, c-format msgid "%s: cannot use --xpath together with other options.\n" msgstr "" -#: inspector/virt-inspector.c:285 +#: inspector/virt-inspector.c:282 #, c-format msgid "" "%s: no operating system could be detected inside this disk image.\n" @@ -3227,52 +3227,52 @@ msgid "" "information about the disk image as possible.\n" msgstr "" -#: inspector/virt-inspector.c:310 +#: inspector/virt-inspector.c:307 #, c-format msgid "%s: XML write error at \"%s\": %m\n" msgstr "" -#: inspector/virt-inspector.c:322 +#: inspector/virt-inspector.c:319 #, c-format msgid "%s: xmlOutputBufferCreateFd: failed to open stdout\n" msgstr "" -#: inspector/virt-inspector.c:330 +#: inspector/virt-inspector.c:327 #, c-format msgid "%s: xmlNewTextWriter: failed to create libxml2 writer\n" msgstr "" -#: inspector/virt-inspector.c:822 +#: inspector/virt-inspector.c:819 #, c-format msgid "%s: unable to parse XML from stdin\n" msgstr "" -#: inspector/virt-inspector.c:828 +#: inspector/virt-inspector.c:825 #, c-format msgid "%s: unable to create new XPath context\n" msgstr "" -#: inspector/virt-inspector.c:835 +#: inspector/virt-inspector.c:832 #, c-format msgid "%s: unable to evaluate XPath expression\n" msgstr "" -#: inspector/virt-inspector.c:846 +#: inspector/virt-inspector.c:843 #, c-format msgid "%s: xmlSaveToFd failed\n" msgstr "" -#: inspector/virt-inspector.c:853 +#: inspector/virt-inspector.c:850 #, c-format msgid "%s: xmlNewDoc failed\n" msgstr "" -#: inspector/virt-inspector.c:858 +#: inspector/virt-inspector.c:855 #, c-format msgid "%s: xmlCopyNode failed\n" msgstr "" -#: inspector/virt-inspector.c:865 +#: inspector/virt-inspector.c:862 #, c-format msgid "%s: xmlSaveDoc failed\n" msgstr "" @@ -3434,26 +3434,26 @@ msgstr "" msgid "%s: --scratch parameter '%s' should be >= 1\n" msgstr "" -#: rescue/virt-rescue.c:225 +#: rescue/virt-rescue.c:222 #, c-format msgid "%s: could not parse memory size '%s'\n" msgstr "" -#: rescue/virt-rescue.c:324 +#: rescue/virt-rescue.c:321 #, c-format msgid "" "%s: warning: virt-rescue doesn't work with the libvirt backend\n" "at the moment. As a workaround, forcing attach-method = 'appliance'.\n" msgstr "" -#: rescue/virt-rescue.c:412 +#: rescue/virt-rescue.c:409 #, c-format msgid "" "Inspecting the virtual machine or disk image ...\n" "\n" msgstr "" -#: rescue/virt-rescue.c:431 +#: rescue/virt-rescue.c:428 #, c-format msgid "" "This disk contains one or more operating systems. You can use these mount\n" @@ -3461,7 +3461,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:441 +#: rescue/virt-rescue.c:438 #, c-format msgid "" "# %s is the root of a %s operating system\n" @@ -3470,7 +3470,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:498 +#: rescue/virt-rescue.c:495 #, c-format msgid "" "This disk contains no filesystems that we recognize.\n" @@ -3480,7 +3480,7 @@ msgid "" "logical volumes and filesystems on a blank disk.\n" msgstr "" -#: rescue/virt-rescue.c:505 +#: rescue/virt-rescue.c:502 #, c-format msgid "" "This disk contains one or more filesystems, but we don't recognize any\n" @@ -3489,12 +3489,12 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:510 +#: rescue/virt-rescue.c:507 #, c-format msgid "# %s has type '%s'\n" msgstr "" -#: rescue/virt-rescue.c:718 +#: rescue/virt-rescue.c:715 #, c-format msgid "%s: unknown child exit status (%d)\n" msgstr "" @@ -4007,79 +4007,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:328 +#: test-tool/test-tool.c:339 #, c-format msgid "%s: does not look like a qemu source directory\n" 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-24 16:57+0100\n" +"POT-Creation-Date: 2012-09-26 21:18+0100\n" "PO-Revision-Date: 2012-07-10 17:13+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:1586 +#: cat/virt-cat.c:355 edit/virt-edit.c:663 fish/fish.c:1586 #, 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:677 #, c-format msgid "%s: drive '%c:' not found.\n" msgstr "" @@ -3217,12 +3217,12 @@ msgid "" "For more information, see the manpage %s(1).\n" msgstr "" -#: inspector/virt-inspector.c:252 +#: inspector/virt-inspector.c:249 #, c-format msgid "%s: cannot use --xpath together with other options.\n" msgstr "" -#: inspector/virt-inspector.c:285 +#: inspector/virt-inspector.c:282 #, c-format msgid "" "%s: no operating system could be detected inside this disk image.\n" @@ -3239,52 +3239,52 @@ msgid "" "information about the disk image as possible.\n" msgstr "" -#: inspector/virt-inspector.c:310 +#: inspector/virt-inspector.c:307 #, c-format msgid "%s: XML write error at \"%s\": %m\n" msgstr "" -#: inspector/virt-inspector.c:322 +#: inspector/virt-inspector.c:319 #, c-format msgid "%s: xmlOutputBufferCreateFd: failed to open stdout\n" msgstr "" -#: inspector/virt-inspector.c:330 +#: inspector/virt-inspector.c:327 #, c-format msgid "%s: xmlNewTextWriter: failed to create libxml2 writer\n" msgstr "" -#: inspector/virt-inspector.c:822 +#: inspector/virt-inspector.c:819 #, c-format msgid "%s: unable to parse XML from stdin\n" msgstr "" -#: inspector/virt-inspector.c:828 +#: inspector/virt-inspector.c:825 #, c-format msgid "%s: unable to create new XPath context\n" msgstr "" -#: inspector/virt-inspector.c:835 +#: inspector/virt-inspector.c:832 #, c-format msgid "%s: unable to evaluate XPath expression\n" msgstr "" -#: inspector/virt-inspector.c:846 +#: inspector/virt-inspector.c:843 #, c-format msgid "%s: xmlSaveToFd failed\n" msgstr "" -#: inspector/virt-inspector.c:853 +#: inspector/virt-inspector.c:850 #, c-format msgid "%s: xmlNewDoc failed\n" msgstr "" -#: inspector/virt-inspector.c:858 +#: inspector/virt-inspector.c:855 #, c-format msgid "%s: xmlCopyNode failed\n" msgstr "" -#: inspector/virt-inspector.c:865 +#: inspector/virt-inspector.c:862 #, c-format msgid "%s: xmlSaveDoc failed\n" msgstr "" @@ -3446,26 +3446,26 @@ msgstr "" msgid "%s: --scratch parameter '%s' should be >= 1\n" msgstr "" -#: rescue/virt-rescue.c:225 +#: rescue/virt-rescue.c:222 #, c-format msgid "%s: could not parse memory size '%s'\n" msgstr "" -#: rescue/virt-rescue.c:324 +#: rescue/virt-rescue.c:321 #, c-format msgid "" "%s: warning: virt-rescue doesn't work with the libvirt backend\n" "at the moment. As a workaround, forcing attach-method = 'appliance'.\n" msgstr "" -#: rescue/virt-rescue.c:412 +#: rescue/virt-rescue.c:409 #, c-format msgid "" "Inspecting the virtual machine or disk image ...\n" "\n" msgstr "" -#: rescue/virt-rescue.c:431 +#: rescue/virt-rescue.c:428 #, c-format msgid "" "This disk contains one or more operating systems. You can use these mount\n" @@ -3473,7 +3473,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:441 +#: rescue/virt-rescue.c:438 #, c-format msgid "" "# %s is the root of a %s operating system\n" @@ -3482,7 +3482,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:498 +#: rescue/virt-rescue.c:495 #, c-format msgid "" "This disk contains no filesystems that we recognize.\n" @@ -3492,7 +3492,7 @@ msgid "" "logical volumes and filesystems on a blank disk.\n" msgstr "" -#: rescue/virt-rescue.c:505 +#: rescue/virt-rescue.c:502 #, c-format msgid "" "This disk contains one or more filesystems, but we don't recognize any\n" @@ -3501,12 +3501,12 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:510 +#: rescue/virt-rescue.c:507 #, c-format msgid "# %s has type '%s'\n" msgstr "" -#: rescue/virt-rescue.c:718 +#: rescue/virt-rescue.c:715 #, c-format msgid "%s: unknown child exit status (%d)\n" msgstr "" @@ -4020,67 +4020,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" @@ -4089,12 +4089,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:328 +#: test-tool/test-tool.c:339 #, c-format msgid "%s: does not look like a qemu source directory\n" msgstr "%s: qemu ഉറവിട ഡയറക്ടറിയില് നിന്നും വ്യത്യസ്ഥമാണു്\n" @@ -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-24 16:57+0100\n" +"POT-Creation-Date: 2012-09-26 21:18+0100\n" "PO-Revision-Date: 2012-07-10 17:13+0000\n" "Last-Translator: rjones <rjones@redhat.com>\n" "Language-Team: Marathi (http://www.transifex.com/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:1586 +#: cat/virt-cat.c:355 edit/virt-edit.c:663 fish/fish.c:1586 #, 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:677 #, c-format msgid "%s: drive '%c:' not found.\n" msgstr "" @@ -3323,12 +3323,12 @@ msgid "" "For more information, see the manpage %s(1).\n" msgstr "" -#: inspector/virt-inspector.c:252 +#: inspector/virt-inspector.c:249 #, c-format msgid "%s: cannot use --xpath together with other options.\n" msgstr "" -#: inspector/virt-inspector.c:285 +#: inspector/virt-inspector.c:282 #, c-format msgid "" "%s: no operating system could be detected inside this disk image.\n" @@ -3355,52 +3355,52 @@ msgstr "" "ही त्रुटी आहे असे आढळल्यास, कृपया बग अहवाल सादर करा ज्यामध्ये \n" "डिस्क प्रतिमाविषयी जास्तित जास्त माहिती समाविष्टीत असेल.\n" -#: inspector/virt-inspector.c:310 +#: inspector/virt-inspector.c:307 #, c-format msgid "%s: XML write error at \"%s\": %m\n" msgstr "%s: \"%s\" येथे XML लेखन त्रुटी आढळली: %m\n" -#: inspector/virt-inspector.c:322 +#: inspector/virt-inspector.c:319 #, c-format msgid "%s: xmlOutputBufferCreateFd: failed to open stdout\n" msgstr "%s: xmlOutputBufferCreateFd: stdout उघडण्यास अपयशी\n" -#: inspector/virt-inspector.c:330 +#: inspector/virt-inspector.c:327 #, c-format msgid "%s: xmlNewTextWriter: failed to create libxml2 writer\n" msgstr "%s: xmlNewTextWriter: libxml2 राइटर निर्माण करण्यास अपयशी\n" -#: inspector/virt-inspector.c:822 +#: inspector/virt-inspector.c:819 #, c-format msgid "%s: unable to parse XML from stdin\n" msgstr "" -#: inspector/virt-inspector.c:828 +#: inspector/virt-inspector.c:825 #, c-format msgid "%s: unable to create new XPath context\n" msgstr "" -#: inspector/virt-inspector.c:835 +#: inspector/virt-inspector.c:832 #, c-format msgid "%s: unable to evaluate XPath expression\n" msgstr "" -#: inspector/virt-inspector.c:846 +#: inspector/virt-inspector.c:843 #, c-format msgid "%s: xmlSaveToFd failed\n" msgstr "" -#: inspector/virt-inspector.c:853 +#: inspector/virt-inspector.c:850 #, c-format msgid "%s: xmlNewDoc failed\n" msgstr "" -#: inspector/virt-inspector.c:858 +#: inspector/virt-inspector.c:855 #, c-format msgid "%s: xmlCopyNode failed\n" msgstr "" -#: inspector/virt-inspector.c:865 +#: inspector/virt-inspector.c:862 #, c-format msgid "%s: xmlSaveDoc failed\n" msgstr "" @@ -3571,26 +3571,26 @@ msgstr "" msgid "%s: --scratch parameter '%s' should be >= 1\n" msgstr "" -#: rescue/virt-rescue.c:225 +#: rescue/virt-rescue.c:222 #, c-format msgid "%s: could not parse memory size '%s'\n" msgstr "%s: मेमरी आकार '%s' वाचणे अशक्य\n" -#: rescue/virt-rescue.c:324 +#: rescue/virt-rescue.c:321 #, c-format msgid "" "%s: warning: virt-rescue doesn't work with the libvirt backend\n" "at the moment. As a workaround, forcing attach-method = 'appliance'.\n" msgstr "" -#: rescue/virt-rescue.c:412 +#: rescue/virt-rescue.c:409 #, c-format msgid "" "Inspecting the virtual machine or disk image ...\n" "\n" msgstr "" -#: rescue/virt-rescue.c:431 +#: rescue/virt-rescue.c:428 #, c-format msgid "" "This disk contains one or more operating systems. You can use these mount\n" @@ -3598,7 +3598,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:441 +#: rescue/virt-rescue.c:438 #, c-format msgid "" "# %s is the root of a %s operating system\n" @@ -3607,7 +3607,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:498 +#: rescue/virt-rescue.c:495 #, c-format msgid "" "This disk contains no filesystems that we recognize.\n" @@ -3617,7 +3617,7 @@ msgid "" "logical volumes and filesystems on a blank disk.\n" msgstr "" -#: rescue/virt-rescue.c:505 +#: rescue/virt-rescue.c:502 #, c-format msgid "" "This disk contains one or more filesystems, but we don't recognize any\n" @@ -3626,12 +3626,12 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:510 +#: rescue/virt-rescue.c:507 #, c-format msgid "# %s has type '%s'\n" msgstr "" -#: rescue/virt-rescue.c:718 +#: rescue/virt-rescue.c:715 #, c-format msgid "%s: unknown child exit status (%d)\n" msgstr "%s: अपरिचीत चाइल्ड एक्जिट स्टेटस् (%d)\n" @@ -4156,67 +4156,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" @@ -4225,12 +4225,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:328 +#: test-tool/test-tool.c:339 #, c-format msgid "%s: does not look like a qemu source directory\n" msgstr "%s: qemu स्रोत डिरेक्ट्री प्रमाणे आढळले नाही\n" @@ -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-24 16:57+0100\n" +"POT-Creation-Date: 2012-09-26 21:18+0100\n" "PO-Revision-Date: 2012-07-10 17:13+0000\n" "Last-Translator: rjones <rjones@redhat.com>\n" "Language-Team: Dutch (http://www.transifex.com/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:1586 +#: cat/virt-cat.c:355 edit/virt-edit.c:663 fish/fish.c:1586 #, 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:677 #, c-format msgid "%s: drive '%c:' not found.\n" msgstr "%s: starion '%c:' niet gevonden.\n" @@ -3511,12 +3511,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:252 +#: inspector/virt-inspector.c:249 #, 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:285 +#: inspector/virt-inspector.c:282 #, c-format msgid "" "%s: no operating system could be detected inside this disk image.\n" @@ -3546,52 +3546,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:310 +#: inspector/virt-inspector.c:307 #, c-format msgid "%s: XML write error at \"%s\": %m\n" msgstr "%s: XML schrijf fout bij \"%s\": %m\n" -#: inspector/virt-inspector.c:322 +#: inspector/virt-inspector.c:319 #, c-format msgid "%s: xmlOutputBufferCreateFd: failed to open stdout\n" msgstr "%s: xmlOutputBufferCreateFd: stdout openen mislukte\n" -#: inspector/virt-inspector.c:330 +#: inspector/virt-inspector.c:327 #, c-format msgid "%s: xmlNewTextWriter: failed to create libxml2 writer\n" msgstr "%s: xmlNewTextWriter: libxml2 schrijver aanmaken mislukte\n" -#: inspector/virt-inspector.c:822 +#: inspector/virt-inspector.c:819 #, c-format msgid "%s: unable to parse XML from stdin\n" msgstr "%s: kan XML niet van stdin parsen\n" -#: inspector/virt-inspector.c:828 +#: inspector/virt-inspector.c:825 #, 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:835 +#: inspector/virt-inspector.c:832 #, c-format msgid "%s: unable to evaluate XPath expression\n" msgstr "%s: niet in staat XPath expressie te evalueren\n" -#: inspector/virt-inspector.c:846 +#: inspector/virt-inspector.c:843 #, c-format msgid "%s: xmlSaveToFd failed\n" msgstr "%s: xmlSaveToFd mislukte\n" -#: inspector/virt-inspector.c:853 +#: inspector/virt-inspector.c:850 #, c-format msgid "%s: xmlNewDoc failed\n" msgstr "%s: xmlNewDoc mislukte\n" -#: inspector/virt-inspector.c:858 +#: inspector/virt-inspector.c:855 #, c-format msgid "%s: xmlCopyNode failed\n" msgstr "%s: xmlCopyNode mislukte\n" -#: inspector/virt-inspector.c:865 +#: inspector/virt-inspector.c:862 #, c-format msgid "%s: xmlSaveDoc failed\n" msgstr "%s: xmlSaveDoc mislukte\n" @@ -3763,19 +3763,19 @@ msgstr "" msgid "%s: --scratch parameter '%s' should be >= 1\n" msgstr "" -#: rescue/virt-rescue.c:225 +#: rescue/virt-rescue.c:222 #, c-format msgid "%s: could not parse memory size '%s'\n" msgstr "%s:kon geheugen grootte niet ontleden '%s'\n" -#: rescue/virt-rescue.c:324 +#: rescue/virt-rescue.c:321 #, c-format msgid "" "%s: warning: virt-rescue doesn't work with the libvirt backend\n" "at the moment. As a workaround, forcing attach-method = 'appliance'.\n" msgstr "" -#: rescue/virt-rescue.c:412 +#: rescue/virt-rescue.c:409 #, c-format msgid "" "Inspecting the virtual machine or disk image ...\n" @@ -3784,7 +3784,7 @@ msgstr "" "Inspecteren van virtuele machine of disk image ...\n" "\n" -#: rescue/virt-rescue.c:431 +#: rescue/virt-rescue.c:428 #, c-format msgid "" "This disk contains one or more operating systems. You can use these mount\n" @@ -3796,7 +3796,7 @@ msgstr "" "aankoppelen van bestandssystemen.\n" "\n" -#: rescue/virt-rescue.c:441 +#: rescue/virt-rescue.c:438 #, c-format msgid "" "# %s is the root of a %s operating system\n" @@ -3809,7 +3809,7 @@ msgstr "" "# %s\n" "\n" -#: rescue/virt-rescue.c:498 +#: rescue/virt-rescue.c:495 #, c-format msgid "" "This disk contains no filesystems that we recognize.\n" @@ -3826,7 +3826,7 @@ msgstr "" "van partities,\n" "logische volumes em bestandssystemen op lege schijven.\n" -#: rescue/virt-rescue.c:505 +#: rescue/virt-rescue.c:502 #, c-format msgid "" "This disk contains one or more filesystems, but we don't recognize any\n" @@ -3840,12 +3840,12 @@ msgstr "" "><rescue> prompt) om dze bestandssystemen aan te koppelen.\n" "\n" -#: rescue/virt-rescue.c:510 +#: rescue/virt-rescue.c:507 #, c-format msgid "# %s has type '%s'\n" msgstr "# %s heeft type '%s'\n" -#: rescue/virt-rescue.c:718 +#: rescue/virt-rescue.c:715 #, c-format msgid "%s: unknown child exit status (%d)\n" msgstr "%s: onbekende kind exit status (%d)\n" @@ -4390,67 +4390,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" @@ -4459,12 +4459,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:328 +#: test-tool/test-tool.c:339 #, 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" @@ -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-24 16:57+0100\n" +"POT-Creation-Date: 2012-09-26 21:18+0100\n" "PO-Revision-Date: 2012-07-10 17:13+0000\n" "Last-Translator: rjones <rjones@redhat.com>\n" "Language-Team: Oriya (http://www.transifex.com/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:1586 +#: cat/virt-cat.c:355 edit/virt-edit.c:663 fish/fish.c:1586 #, 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:677 #, c-format msgid "%s: drive '%c:' not found.\n" msgstr "" @@ -3216,12 +3216,12 @@ msgid "" "For more information, see the manpage %s(1).\n" msgstr "" -#: inspector/virt-inspector.c:252 +#: inspector/virt-inspector.c:249 #, c-format msgid "%s: cannot use --xpath together with other options.\n" msgstr "" -#: inspector/virt-inspector.c:285 +#: inspector/virt-inspector.c:282 #, c-format msgid "" "%s: no operating system could be detected inside this disk image.\n" @@ -3238,52 +3238,52 @@ msgid "" "information about the disk image as possible.\n" msgstr "" -#: inspector/virt-inspector.c:310 +#: inspector/virt-inspector.c:307 #, c-format msgid "%s: XML write error at \"%s\": %m\n" msgstr "" -#: inspector/virt-inspector.c:322 +#: inspector/virt-inspector.c:319 #, c-format msgid "%s: xmlOutputBufferCreateFd: failed to open stdout\n" msgstr "" -#: inspector/virt-inspector.c:330 +#: inspector/virt-inspector.c:327 #, c-format msgid "%s: xmlNewTextWriter: failed to create libxml2 writer\n" msgstr "" -#: inspector/virt-inspector.c:822 +#: inspector/virt-inspector.c:819 #, c-format msgid "%s: unable to parse XML from stdin\n" msgstr "" -#: inspector/virt-inspector.c:828 +#: inspector/virt-inspector.c:825 #, c-format msgid "%s: unable to create new XPath context\n" msgstr "" -#: inspector/virt-inspector.c:835 +#: inspector/virt-inspector.c:832 #, c-format msgid "%s: unable to evaluate XPath expression\n" msgstr "" -#: inspector/virt-inspector.c:846 +#: inspector/virt-inspector.c:843 #, c-format msgid "%s: xmlSaveToFd failed\n" msgstr "" -#: inspector/virt-inspector.c:853 +#: inspector/virt-inspector.c:850 #, c-format msgid "%s: xmlNewDoc failed\n" msgstr "" -#: inspector/virt-inspector.c:858 +#: inspector/virt-inspector.c:855 #, c-format msgid "%s: xmlCopyNode failed\n" msgstr "" -#: inspector/virt-inspector.c:865 +#: inspector/virt-inspector.c:862 #, c-format msgid "%s: xmlSaveDoc failed\n" msgstr "" @@ -3445,26 +3445,26 @@ msgstr "" msgid "%s: --scratch parameter '%s' should be >= 1\n" msgstr "" -#: rescue/virt-rescue.c:225 +#: rescue/virt-rescue.c:222 #, c-format msgid "%s: could not parse memory size '%s'\n" msgstr "" -#: rescue/virt-rescue.c:324 +#: rescue/virt-rescue.c:321 #, c-format msgid "" "%s: warning: virt-rescue doesn't work with the libvirt backend\n" "at the moment. As a workaround, forcing attach-method = 'appliance'.\n" msgstr "" -#: rescue/virt-rescue.c:412 +#: rescue/virt-rescue.c:409 #, c-format msgid "" "Inspecting the virtual machine or disk image ...\n" "\n" msgstr "" -#: rescue/virt-rescue.c:431 +#: rescue/virt-rescue.c:428 #, c-format msgid "" "This disk contains one or more operating systems. You can use these mount\n" @@ -3472,7 +3472,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:441 +#: rescue/virt-rescue.c:438 #, c-format msgid "" "# %s is the root of a %s operating system\n" @@ -3481,7 +3481,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:498 +#: rescue/virt-rescue.c:495 #, c-format msgid "" "This disk contains no filesystems that we recognize.\n" @@ -3491,7 +3491,7 @@ msgid "" "logical volumes and filesystems on a blank disk.\n" msgstr "" -#: rescue/virt-rescue.c:505 +#: rescue/virt-rescue.c:502 #, c-format msgid "" "This disk contains one or more filesystems, but we don't recognize any\n" @@ -3500,12 +3500,12 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:510 +#: rescue/virt-rescue.c:507 #, c-format msgid "# %s has type '%s'\n" msgstr "" -#: rescue/virt-rescue.c:718 +#: rescue/virt-rescue.c:715 #, c-format msgid "%s: unknown child exit status (%d)\n" msgstr "" @@ -4018,67 +4018,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" @@ -4087,12 +4087,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:328 +#: test-tool/test-tool.c:339 #, c-format msgid "%s: does not look like a qemu source directory\n" msgstr "%s: ଗୋଟିଏ qemu ଉତ୍ସ ଡିରେକ୍ଟୋରୀ ପରି ଲାଗୁନାହିଁ\n" @@ -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-24 16:57+0100\n" +"POT-Creation-Date: 2012-09-26 21:18+0100\n" "PO-Revision-Date: 2012-07-10 17:13+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:1586 +#: cat/virt-cat.c:355 edit/virt-edit.c:663 fish/fish.c:1586 #, 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:677 #, c-format msgid "%s: drive '%c:' not found.\n" msgstr "" @@ -3333,12 +3333,12 @@ msgid "" "For more information, see the manpage %s(1).\n" msgstr "" -#: inspector/virt-inspector.c:252 +#: inspector/virt-inspector.c:249 #, c-format msgid "%s: cannot use --xpath together with other options.\n" msgstr "" -#: inspector/virt-inspector.c:285 +#: inspector/virt-inspector.c:282 #, c-format msgid "" "%s: no operating system could be detected inside this disk image.\n" @@ -3367,52 +3367,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:310 +#: inspector/virt-inspector.c:307 #, c-format msgid "%s: XML write error at \"%s\": %m\n" msgstr "%s: XML ਲਿਖਣ ਗਲਤੀ \"%s\" ਉੱਪਰ: %m\n" -#: inspector/virt-inspector.c:322 +#: inspector/virt-inspector.c:319 #, c-format msgid "%s: xmlOutputBufferCreateFd: failed to open stdout\n" msgstr "%s: xmlOutputBufferCreateFd: stdout ਨੂੰ ਖੋਲਣ ਤੋਂ ਫੇਲ ਹੋਇਆ\n" -#: inspector/virt-inspector.c:330 +#: inspector/virt-inspector.c:327 #, c-format msgid "%s: xmlNewTextWriter: failed to create libxml2 writer\n" msgstr "%s: xmlNewTextWriter: libxml2 ਰਾਈਟਰ ਬਣਾਉਣ ਵਿੱਚ ਫੇਲ\n" -#: inspector/virt-inspector.c:822 +#: inspector/virt-inspector.c:819 #, c-format msgid "%s: unable to parse XML from stdin\n" msgstr "" -#: inspector/virt-inspector.c:828 +#: inspector/virt-inspector.c:825 #, c-format msgid "%s: unable to create new XPath context\n" msgstr "" -#: inspector/virt-inspector.c:835 +#: inspector/virt-inspector.c:832 #, c-format msgid "%s: unable to evaluate XPath expression\n" msgstr "" -#: inspector/virt-inspector.c:846 +#: inspector/virt-inspector.c:843 #, c-format msgid "%s: xmlSaveToFd failed\n" msgstr "" -#: inspector/virt-inspector.c:853 +#: inspector/virt-inspector.c:850 #, c-format msgid "%s: xmlNewDoc failed\n" msgstr "" -#: inspector/virt-inspector.c:858 +#: inspector/virt-inspector.c:855 #, c-format msgid "%s: xmlCopyNode failed\n" msgstr "" -#: inspector/virt-inspector.c:865 +#: inspector/virt-inspector.c:862 #, c-format msgid "%s: xmlSaveDoc failed\n" msgstr "" @@ -3583,26 +3583,26 @@ msgstr "" msgid "%s: --scratch parameter '%s' should be >= 1\n" msgstr "" -#: rescue/virt-rescue.c:225 +#: rescue/virt-rescue.c:222 #, c-format msgid "%s: could not parse memory size '%s'\n" msgstr "%s: ਮੈਮੋਰੀ ਅਕਾਰ ਪਾਰਸ ਨਹੀਂ ਕਰ ਸਕਿਆ '%s'\n" -#: rescue/virt-rescue.c:324 +#: rescue/virt-rescue.c:321 #, c-format msgid "" "%s: warning: virt-rescue doesn't work with the libvirt backend\n" "at the moment. As a workaround, forcing attach-method = 'appliance'.\n" msgstr "" -#: rescue/virt-rescue.c:412 +#: rescue/virt-rescue.c:409 #, c-format msgid "" "Inspecting the virtual machine or disk image ...\n" "\n" msgstr "" -#: rescue/virt-rescue.c:431 +#: rescue/virt-rescue.c:428 #, c-format msgid "" "This disk contains one or more operating systems. You can use these mount\n" @@ -3610,7 +3610,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:441 +#: rescue/virt-rescue.c:438 #, c-format msgid "" "# %s is the root of a %s operating system\n" @@ -3619,7 +3619,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:498 +#: rescue/virt-rescue.c:495 #, c-format msgid "" "This disk contains no filesystems that we recognize.\n" @@ -3629,7 +3629,7 @@ msgid "" "logical volumes and filesystems on a blank disk.\n" msgstr "" -#: rescue/virt-rescue.c:505 +#: rescue/virt-rescue.c:502 #, c-format msgid "" "This disk contains one or more filesystems, but we don't recognize any\n" @@ -3638,12 +3638,12 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:510 +#: rescue/virt-rescue.c:507 #, c-format msgid "# %s has type '%s'\n" msgstr "" -#: rescue/virt-rescue.c:718 +#: rescue/virt-rescue.c:715 #, c-format msgid "%s: unknown child exit status (%d)\n" msgstr "%s: ਅਣਜਾਣ ਲੰਬਾ ਚੋਣ: (%d)\n" @@ -4169,67 +4169,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" @@ -4238,12 +4238,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:328 +#: test-tool/test-tool.c:339 #, c-format msgid "%s: does not look like a qemu source directory\n" msgstr "%s: ਇੱਕ qemu ਸਰੋਤ ਡਾਇਰੈਕਟਰੀ ਨਹੀਂ ਲੱਗਦੀ\n" @@ -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-24 16:57+0100\n" +"POT-Creation-Date: 2012-09-26 21:18+0100\n" "PO-Revision-Date: 2012-07-10 17:13+0000\n" "Last-Translator: rjones <rjones@redhat.com>\n" "Language-Team: Polish (http://www.transifex.com/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:1586 +#: cat/virt-cat.c:355 edit/virt-edit.c:663 fish/fish.c:1586 #, 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:677 #, c-format msgid "%s: drive '%c:' not found.\n" msgstr "%s: nie odnaleziono napędu \"%c:\".\n" @@ -3524,12 +3524,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:252 +#: inspector/virt-inspector.c:249 #, 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:285 +#: inspector/virt-inspector.c:282 #, c-format msgid "" "%s: no operating system could be detected inside this disk image.\n" @@ -3557,56 +3557,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:310 +#: inspector/virt-inspector.c:307 #, 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:322 +#: inspector/virt-inspector.c:319 #, 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:330 +#: inspector/virt-inspector.c:327 #, 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:822 +#: inspector/virt-inspector.c:819 #, 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:828 +#: inspector/virt-inspector.c:825 #, 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:835 +#: inspector/virt-inspector.c:832 #, c-format msgid "%s: unable to evaluate XPath expression\n" msgstr "%s: nie można sprawdzić wyrażenia XPath\n" -#: inspector/virt-inspector.c:846 +#: inspector/virt-inspector.c:843 #, c-format msgid "%s: xmlSaveToFd failed\n" msgstr "%s: xmlSaveToFd się nie powiodło\n" -#: inspector/virt-inspector.c:853 +#: inspector/virt-inspector.c:850 #, c-format msgid "%s: xmlNewDoc failed\n" msgstr "%s: xmlNewDoc się nie powiodło\n" -#: inspector/virt-inspector.c:858 +#: inspector/virt-inspector.c:855 #, c-format msgid "%s: xmlCopyNode failed\n" msgstr "%s: xmlCopyNode się nie powiodło\n" -#: inspector/virt-inspector.c:865 +#: inspector/virt-inspector.c:862 #, c-format msgid "%s: xmlSaveDoc failed\n" msgstr "%s: xmlSaveDoc się nie powiodło\n" @@ -3777,19 +3777,19 @@ msgstr "" msgid "%s: --scratch parameter '%s' should be >= 1\n" msgstr "" -#: rescue/virt-rescue.c:225 +#: rescue/virt-rescue.c:222 #, 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:324 +#: rescue/virt-rescue.c:321 #, c-format msgid "" "%s: warning: virt-rescue doesn't work with the libvirt backend\n" "at the moment. As a workaround, forcing attach-method = 'appliance'.\n" msgstr "" -#: rescue/virt-rescue.c:412 +#: rescue/virt-rescue.c:409 #, c-format msgid "" "Inspecting the virtual machine or disk image ...\n" @@ -3798,7 +3798,7 @@ msgstr "" "Badanie maszyny wirtualnej lub obrazu dysku...\n" "\n" -#: rescue/virt-rescue.c:431 +#: rescue/virt-rescue.c:428 #, c-format msgid "" "This disk contains one or more operating systems. You can use these mount\n" @@ -3810,7 +3810,7 @@ msgstr "" "plików.\n" "\n" -#: rescue/virt-rescue.c:441 +#: rescue/virt-rescue.c:438 #, c-format msgid "" "# %s is the root of a %s operating system\n" @@ -3823,7 +3823,7 @@ msgstr "" "# %s\n" "\n" -#: rescue/virt-rescue.c:498 +#: rescue/virt-rescue.c:495 #, c-format msgid "" "This disk contains no filesystems that we recognize.\n" @@ -3838,7 +3838,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:505 +#: rescue/virt-rescue.c:502 #, c-format msgid "" "This disk contains one or more filesystems, but we don't recognize any\n" @@ -3851,12 +3851,12 @@ msgstr "" "znaku zachęty ><rescue>), aby zamontować te systemy plików.\n" "\n" -#: rescue/virt-rescue.c:510 +#: rescue/virt-rescue.c:507 #, c-format msgid "# %s has type '%s'\n" msgstr "# %s posiada typ \"%s\"\n" -#: rescue/virt-rescue.c:718 +#: rescue/virt-rescue.c:715 #, c-format msgid "%s: unknown child exit status (%d)\n" msgstr "%s: nieznany stan wyjścia potomka (%d)\n" @@ -4414,70 +4414,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" @@ -4486,12 +4486,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:328 +#: test-tool/test-tool.c:339 #, 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" @@ -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-24 16:57+0100\n" +"POT-Creation-Date: 2012-09-26 21:18+0100\n" "PO-Revision-Date: 2012-07-10 17:13+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:1586 +#: cat/virt-cat.c:355 edit/virt-edit.c:663 fish/fish.c:1586 #, 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:677 #, c-format msgid "%s: drive '%c:' not found.\n" msgstr "" @@ -3216,12 +3216,12 @@ msgid "" "For more information, see the manpage %s(1).\n" msgstr "" -#: inspector/virt-inspector.c:252 +#: inspector/virt-inspector.c:249 #, c-format msgid "%s: cannot use --xpath together with other options.\n" msgstr "" -#: inspector/virt-inspector.c:285 +#: inspector/virt-inspector.c:282 #, c-format msgid "" "%s: no operating system could be detected inside this disk image.\n" @@ -3238,52 +3238,52 @@ msgid "" "information about the disk image as possible.\n" msgstr "" -#: inspector/virt-inspector.c:310 +#: inspector/virt-inspector.c:307 #, c-format msgid "%s: XML write error at \"%s\": %m\n" msgstr "" -#: inspector/virt-inspector.c:322 +#: inspector/virt-inspector.c:319 #, c-format msgid "%s: xmlOutputBufferCreateFd: failed to open stdout\n" msgstr "" -#: inspector/virt-inspector.c:330 +#: inspector/virt-inspector.c:327 #, c-format msgid "%s: xmlNewTextWriter: failed to create libxml2 writer\n" msgstr "" -#: inspector/virt-inspector.c:822 +#: inspector/virt-inspector.c:819 #, c-format msgid "%s: unable to parse XML from stdin\n" msgstr "" -#: inspector/virt-inspector.c:828 +#: inspector/virt-inspector.c:825 #, c-format msgid "%s: unable to create new XPath context\n" msgstr "" -#: inspector/virt-inspector.c:835 +#: inspector/virt-inspector.c:832 #, c-format msgid "%s: unable to evaluate XPath expression\n" msgstr "" -#: inspector/virt-inspector.c:846 +#: inspector/virt-inspector.c:843 #, c-format msgid "%s: xmlSaveToFd failed\n" msgstr "" -#: inspector/virt-inspector.c:853 +#: inspector/virt-inspector.c:850 #, c-format msgid "%s: xmlNewDoc failed\n" msgstr "" -#: inspector/virt-inspector.c:858 +#: inspector/virt-inspector.c:855 #, c-format msgid "%s: xmlCopyNode failed\n" msgstr "" -#: inspector/virt-inspector.c:865 +#: inspector/virt-inspector.c:862 #, c-format msgid "%s: xmlSaveDoc failed\n" msgstr "" @@ -3445,26 +3445,26 @@ msgstr "" msgid "%s: --scratch parameter '%s' should be >= 1\n" msgstr "" -#: rescue/virt-rescue.c:225 +#: rescue/virt-rescue.c:222 #, c-format msgid "%s: could not parse memory size '%s'\n" msgstr "" -#: rescue/virt-rescue.c:324 +#: rescue/virt-rescue.c:321 #, c-format msgid "" "%s: warning: virt-rescue doesn't work with the libvirt backend\n" "at the moment. As a workaround, forcing attach-method = 'appliance'.\n" msgstr "" -#: rescue/virt-rescue.c:412 +#: rescue/virt-rescue.c:409 #, c-format msgid "" "Inspecting the virtual machine or disk image ...\n" "\n" msgstr "" -#: rescue/virt-rescue.c:431 +#: rescue/virt-rescue.c:428 #, c-format msgid "" "This disk contains one or more operating systems. You can use these mount\n" @@ -3472,7 +3472,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:441 +#: rescue/virt-rescue.c:438 #, c-format msgid "" "# %s is the root of a %s operating system\n" @@ -3481,7 +3481,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:498 +#: rescue/virt-rescue.c:495 #, c-format msgid "" "This disk contains no filesystems that we recognize.\n" @@ -3491,7 +3491,7 @@ msgid "" "logical volumes and filesystems on a blank disk.\n" msgstr "" -#: rescue/virt-rescue.c:505 +#: rescue/virt-rescue.c:502 #, c-format msgid "" "This disk contains one or more filesystems, but we don't recognize any\n" @@ -3500,12 +3500,12 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:510 +#: rescue/virt-rescue.c:507 #, c-format msgid "# %s has type '%s'\n" msgstr "" -#: rescue/virt-rescue.c:718 +#: rescue/virt-rescue.c:715 #, c-format msgid "%s: unknown child exit status (%d)\n" msgstr "" @@ -4020,67 +4020,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" @@ -4089,12 +4089,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:328 +#: test-tool/test-tool.c:339 #, c-format msgid "%s: does not look like a qemu source directory\n" msgstr "%s: ஒரு qemu மூல அடைவு போல் இல்லை\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-24 16:57+0100\n" +"POT-Creation-Date: 2012-09-26 21:18+0100\n" "PO-Revision-Date: 2012-07-10 17:13+0000\n" "Last-Translator: rjones <rjones@redhat.com>\n" "Language-Team: Telugu (http://www.transifex.com/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:1586 +#: cat/virt-cat.c:355 edit/virt-edit.c:663 fish/fish.c:1586 #, 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:677 #, c-format msgid "%s: drive '%c:' not found.\n" msgstr "" @@ -3214,12 +3214,12 @@ msgid "" "For more information, see the manpage %s(1).\n" msgstr "" -#: inspector/virt-inspector.c:252 +#: inspector/virt-inspector.c:249 #, c-format msgid "%s: cannot use --xpath together with other options.\n" msgstr "" -#: inspector/virt-inspector.c:285 +#: inspector/virt-inspector.c:282 #, c-format msgid "" "%s: no operating system could be detected inside this disk image.\n" @@ -3236,52 +3236,52 @@ msgid "" "information about the disk image as possible.\n" msgstr "" -#: inspector/virt-inspector.c:310 +#: inspector/virt-inspector.c:307 #, c-format msgid "%s: XML write error at \"%s\": %m\n" msgstr "" -#: inspector/virt-inspector.c:322 +#: inspector/virt-inspector.c:319 #, c-format msgid "%s: xmlOutputBufferCreateFd: failed to open stdout\n" msgstr "" -#: inspector/virt-inspector.c:330 +#: inspector/virt-inspector.c:327 #, c-format msgid "%s: xmlNewTextWriter: failed to create libxml2 writer\n" msgstr "" -#: inspector/virt-inspector.c:822 +#: inspector/virt-inspector.c:819 #, c-format msgid "%s: unable to parse XML from stdin\n" msgstr "" -#: inspector/virt-inspector.c:828 +#: inspector/virt-inspector.c:825 #, c-format msgid "%s: unable to create new XPath context\n" msgstr "" -#: inspector/virt-inspector.c:835 +#: inspector/virt-inspector.c:832 #, c-format msgid "%s: unable to evaluate XPath expression\n" msgstr "" -#: inspector/virt-inspector.c:846 +#: inspector/virt-inspector.c:843 #, c-format msgid "%s: xmlSaveToFd failed\n" msgstr "" -#: inspector/virt-inspector.c:853 +#: inspector/virt-inspector.c:850 #, c-format msgid "%s: xmlNewDoc failed\n" msgstr "" -#: inspector/virt-inspector.c:858 +#: inspector/virt-inspector.c:855 #, c-format msgid "%s: xmlCopyNode failed\n" msgstr "" -#: inspector/virt-inspector.c:865 +#: inspector/virt-inspector.c:862 #, c-format msgid "%s: xmlSaveDoc failed\n" msgstr "" @@ -3443,26 +3443,26 @@ msgstr "" msgid "%s: --scratch parameter '%s' should be >= 1\n" msgstr "" -#: rescue/virt-rescue.c:225 +#: rescue/virt-rescue.c:222 #, c-format msgid "%s: could not parse memory size '%s'\n" msgstr "" -#: rescue/virt-rescue.c:324 +#: rescue/virt-rescue.c:321 #, c-format msgid "" "%s: warning: virt-rescue doesn't work with the libvirt backend\n" "at the moment. As a workaround, forcing attach-method = 'appliance'.\n" msgstr "" -#: rescue/virt-rescue.c:412 +#: rescue/virt-rescue.c:409 #, c-format msgid "" "Inspecting the virtual machine or disk image ...\n" "\n" msgstr "" -#: rescue/virt-rescue.c:431 +#: rescue/virt-rescue.c:428 #, c-format msgid "" "This disk contains one or more operating systems. You can use these mount\n" @@ -3470,7 +3470,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:441 +#: rescue/virt-rescue.c:438 #, c-format msgid "" "# %s is the root of a %s operating system\n" @@ -3479,7 +3479,7 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:498 +#: rescue/virt-rescue.c:495 #, c-format msgid "" "This disk contains no filesystems that we recognize.\n" @@ -3489,7 +3489,7 @@ msgid "" "logical volumes and filesystems on a blank disk.\n" msgstr "" -#: rescue/virt-rescue.c:505 +#: rescue/virt-rescue.c:502 #, c-format msgid "" "This disk contains one or more filesystems, but we don't recognize any\n" @@ -3498,12 +3498,12 @@ msgid "" "\n" msgstr "" -#: rescue/virt-rescue.c:510 +#: rescue/virt-rescue.c:507 #, c-format msgid "# %s has type '%s'\n" msgstr "" -#: rescue/virt-rescue.c:718 +#: rescue/virt-rescue.c:715 #, c-format msgid "%s: unknown child exit status (%d)\n" msgstr "" @@ -4017,67 +4017,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" @@ -4086,12 +4086,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:328 +#: test-tool/test-tool.c:339 #, c-format msgid "%s: does not look like a qemu source directory\n" msgstr "%s: అనునది qemu మూలపు డైరెక్టరీవలె కనిపించుటలేదు\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-24 16:57+0100\n" +"POT-Creation-Date: 2012-09-26 21:18+0100\n" "PO-Revision-Date: 2012-07-10 17:13+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:1586 +#: cat/virt-cat.c:355 edit/virt-edit.c:663 fish/fish.c:1586 #, 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:677 #, c-format msgid "%s: drive '%c:' not found.\n" msgstr "%s: диск '%c:' не знайдено.\n" @@ -3576,12 +3576,12 @@ msgstr "" " --xpath query Виконати запит XPath\n" "Щоб дізнатися більше, скористайтеся сторінкою довідника (man) %s(1).\n" -#: inspector/virt-inspector.c:252 +#: inspector/virt-inspector.c:249 #, c-format msgid "%s: cannot use --xpath together with other options.\n" msgstr "%s: не можна використовувати --xpath разом з іншими параметрами.\n" -#: inspector/virt-inspector.c:285 +#: inspector/virt-inspector.c:282 #, c-format msgid "" "%s: no operating system could be detected inside this disk image.\n" @@ -3611,52 +3611,52 @@ msgstr "" "повідомлення про ваду,\n" "додавши до нього максимум можливої інформації щодо образу диска.\n" -#: inspector/virt-inspector.c:310 +#: inspector/virt-inspector.c:307 #, c-format msgid "%s: XML write error at \"%s\": %m\n" msgstr "%s: помилка запису XML у «%s»: %m\n" -#: inspector/virt-inspector.c:322 +#: inspector/virt-inspector.c:319 #, c-format msgid "%s: xmlOutputBufferCreateFd: failed to open stdout\n" msgstr "%s: xmlOutputBufferCreateFd: не вдалося відкрити stdout\n" -#: inspector/virt-inspector.c:330 +#: inspector/virt-inspector.c:327 #, c-format msgid "%s: xmlNewTextWriter: failed to create libxml2 writer\n" msgstr "%s: xmlNewTextWriter: не вдалося створити процес запису libxml2\n" -#: inspector/virt-inspector.c:822 +#: inspector/virt-inspector.c:819 #, c-format msgid "%s: unable to parse XML from stdin\n" msgstr "%s: не вдалося обробити код XML з stdin\n" -#: inspector/virt-inspector.c:828 +#: inspector/virt-inspector.c:825 #, c-format msgid "%s: unable to create new XPath context\n" msgstr "%s: не вдалося створити контекст XPath\n" -#: inspector/virt-inspector.c:835 +#: inspector/virt-inspector.c:832 #, c-format msgid "%s: unable to evaluate XPath expression\n" msgstr "%s: не вдалося обробити вираз XPath\n" -#: inspector/virt-inspector.c:846 +#: inspector/virt-inspector.c:843 #, c-format msgid "%s: xmlSaveToFd failed\n" msgstr "%s: помилка xmlSaveToFd\n" -#: inspector/virt-inspector.c:853 +#: inspector/virt-inspector.c:850 #, c-format msgid "%s: xmlNewDoc failed\n" msgstr "%s: помилка xmlNewDoc\n" -#: inspector/virt-inspector.c:858 +#: inspector/virt-inspector.c:855 #, c-format msgid "%s: xmlCopyNode failed\n" msgstr "%s: помилка xmlCopyNode\n" -#: inspector/virt-inspector.c:865 +#: inspector/virt-inspector.c:862 #, c-format msgid "%s: xmlSaveDoc failed\n" msgstr "%s: помилка xmlSaveDoc\n" @@ -3856,19 +3856,19 @@ msgstr "%s: не вдалося обробити параметр --scratch, «% msgid "%s: --scratch parameter '%s' should be >= 1\n" msgstr "%s: значенням у параметрі --scratch «%s» має бути число >= 1\n" -#: rescue/virt-rescue.c:225 +#: rescue/virt-rescue.c:222 #, c-format msgid "%s: could not parse memory size '%s'\n" msgstr "%s: не вдалося обробити запис об’єму пам’яті «%s»\n" -#: rescue/virt-rescue.c:324 +#: rescue/virt-rescue.c:321 #, c-format msgid "" "%s: warning: virt-rescue doesn't work with the libvirt backend\n" "at the moment. As a workaround, forcing attach-method = 'appliance'.\n" msgstr "" -#: rescue/virt-rescue.c:412 +#: rescue/virt-rescue.c:409 #, c-format msgid "" "Inspecting the virtual machine or disk image ...\n" @@ -3877,7 +3877,7 @@ msgstr "" "Вивчення віртуальної машини або образу диска...\n" "\n" -#: rescue/virt-rescue.c:431 +#: rescue/virt-rescue.c:428 #, c-format msgid "" "This disk contains one or more operating systems. You can use these mount\n" @@ -3890,7 +3890,7 @@ msgstr "" "запит ><rescue>) для монтування файлових систем.\n" "\n" -#: rescue/virt-rescue.c:441 +#: rescue/virt-rescue.c:438 #, c-format msgid "" "# %s is the root of a %s operating system\n" @@ -3903,7 +3903,7 @@ msgstr "" "# %s\n" "\n" -#: rescue/virt-rescue.c:498 +#: rescue/virt-rescue.c:495 #, c-format msgid "" "This disk contains no filesystems that we recognize.\n" @@ -3920,7 +3920,7 @@ msgstr "" "створити розділи, логічні томи та файлові системи на порожньому\n" "диску.\n" -#: rescue/virt-rescue.c:505 +#: rescue/virt-rescue.c:502 #, c-format msgid "" "This disk contains one or more filesystems, but we don't recognize any\n" @@ -3934,12 +3934,12 @@ msgstr "" "відповідь на запит ><rescue>) для монтування цих файлових систем.\n" "\n" -#: rescue/virt-rescue.c:510 +#: rescue/virt-rescue.c:507 #, c-format msgid "# %s has type '%s'\n" msgstr "# %s належить до типу «%s»\n" -#: rescue/virt-rescue.c:718 +#: rescue/virt-rescue.c:715 #, c-format msgid "%s: unknown child exit status (%d)\n" msgstr "" @@ -4515,68 +4515,68 @@ msgstr "" " --version\n" " -V Показати дані щодо версії libguestfs і завершити роботу\n" -#: 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" @@ -4585,12 +4585,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:328 +#: test-tool/test-tool.c:339 #, c-format msgid "%s: does not look like a qemu source directory\n" msgstr "%s: не є каталогом початкових кодів qemu\n" |