X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=po-docs%2Fja.po;h=27d10639b308820ff37fd7913c34538f2245a4a4;hp=a83cb11a506a8287c5a6a8e7dd0cbff49d960a36;hb=d020350c3131f5d0e422f502b4810025a6fc0f11;hpb=b5bdd0f8004af4c6c74a05031cb340b98ae03088 diff --git a/po-docs/ja.po b/po-docs/ja.po index a83cb11..27d1063 100644 --- a/po-docs/ja.po +++ b/po-docs/ja.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: libguestfs\n" "Report-Msgid-Bugs-To: libguestfs@redhat.com\n" -"POT-Creation-Date: 2011-07-26 14:14+0200\n" +"POT-Creation-Date: 2011-09-28 21:49+0200\n" "PO-Revision-Date: 2011-07-17 20:50+0000\n" "Last-Translator: rjones \n" "Language-Team: Japanese (http://www.transifex.net/projects/p/fedora/team/" @@ -21,15 +21,16 @@ msgstr "" #. type: =head1 #: ../cat/virt-cat.pod:3 ../cat/virt-filesystems.pod:3 ../cat/virt-ls.pod:3 #: ../df/virt-df.pod:3 ../edit/virt-edit.pod:3 -#: ../examples/guestfs-examples.pod:3 ../examples/guestfs-recipes.pod:14 -#: ../fish/guestfish.pod:3 ../fish/virt-copy-in.pod:3 -#: ../fish/virt-copy-out.pod:3 ../fish/virt-tar-in.pod:3 -#: ../fish/virt-tar-out.pod:3 ../fuse/guestmount.pod:3 -#: ../inspector/virt-inspector.pod:3 ../java/examples/guestfs-java.pod:3 -#: ../ocaml/examples/guestfs-ocaml.pod:3 ../perl/examples/guestfs-perl.pod:3 -#: ../python/examples/guestfs-python.pod:3 ../rescue/virt-rescue.pod:3 -#: ../resize/virt-resize.pod:3 ../ruby/examples/guestfs-ruby.pod:3 -#: ../src/guestfs.pod:3 ../test-tool/libguestfs-test-tool.pod:3 +#: ../erlang/examples/guestfs-erlang.pod:3 ../examples/guestfs-examples.pod:3 +#: ../examples/guestfs-recipes.pod:14 ../fish/guestfish.pod:3 +#: ../fish/virt-copy-in.pod:3 ../fish/virt-copy-out.pod:3 +#: ../fish/virt-tar-in.pod:3 ../fish/virt-tar-out.pod:3 +#: ../fuse/guestmount.pod:3 ../inspector/virt-inspector.pod:3 +#: ../java/examples/guestfs-java.pod:3 ../ocaml/examples/guestfs-ocaml.pod:3 +#: ../perl/examples/guestfs-perl.pod:3 ../python/examples/guestfs-python.pod:3 +#: ../rescue/virt-rescue.pod:3 ../resize/virt-resize.pod:3 +#: ../ruby/examples/guestfs-ruby.pod:3 ../src/guestfs.pod:3 +#: ../test-tool/libguestfs-test-tool.pod:3 #: ../tools/virt-list-filesystems.pl:30 ../tools/virt-list-partitions.pl:30 #: ../tools/virt-make-fs.pl:35 ../tools/virt-tar.pl:31 #: ../tools/virt-win-reg.pl:35 @@ -44,15 +45,15 @@ msgstr "" #. type: =head1 #: ../cat/virt-cat.pod:7 ../cat/virt-filesystems.pod:7 ../cat/virt-ls.pod:7 #: ../df/virt-df.pod:7 ../edit/virt-edit.pod:7 -#: ../examples/guestfs-examples.pod:7 ../fish/guestfish.pod:7 -#: ../fish/virt-copy-in.pod:7 ../fish/virt-copy-out.pod:7 -#: ../fish/virt-tar-in.pod:7 ../fish/virt-tar-out.pod:7 -#: ../fuse/guestmount.pod:7 ../inspector/virt-inspector.pod:7 -#: ../java/examples/guestfs-java.pod:7 ../ocaml/examples/guestfs-ocaml.pod:7 -#: ../perl/examples/guestfs-perl.pod:7 ../python/examples/guestfs-python.pod:7 -#: ../rescue/virt-rescue.pod:7 ../resize/virt-resize.pod:7 -#: ../ruby/examples/guestfs-ruby.pod:7 ../src/guestfs.pod:7 -#: ../test-tool/libguestfs-test-tool.pod:7 +#: ../erlang/examples/guestfs-erlang.pod:7 ../examples/guestfs-examples.pod:7 +#: ../fish/guestfish.pod:7 ../fish/virt-copy-in.pod:7 +#: ../fish/virt-copy-out.pod:7 ../fish/virt-tar-in.pod:7 +#: ../fish/virt-tar-out.pod:7 ../fuse/guestmount.pod:7 +#: ../inspector/virt-inspector.pod:7 ../java/examples/guestfs-java.pod:7 +#: ../ocaml/examples/guestfs-ocaml.pod:7 ../perl/examples/guestfs-perl.pod:7 +#: ../python/examples/guestfs-python.pod:7 ../rescue/virt-rescue.pod:7 +#: ../resize/virt-resize.pod:7 ../ruby/examples/guestfs-ruby.pod:7 +#: ../src/guestfs.pod:7 ../test-tool/libguestfs-test-tool.pod:7 #: ../tools/virt-list-filesystems.pl:34 ../tools/virt-list-partitions.pl:34 #: ../tools/virt-make-fs.pl:39 ../tools/virt-tar.pl:35 #: ../tools/virt-win-reg.pl:39 @@ -100,6 +101,7 @@ msgstr "" #. type: =head1 #: ../cat/virt-cat.pod:19 ../cat/virt-filesystems.pod:13 ../cat/virt-ls.pod:19 #: ../df/virt-df.pod:21 ../edit/virt-edit.pod:27 +#: ../erlang/examples/guestfs-erlang.pod:16 #: ../examples/guestfs-examples.pod:19 ../examples/guestfs-recipes.pod:18 #: ../fish/guestfish.pod:30 ../fish/virt-copy-in.pod:19 #: ../fish/virt-copy-out.pod:13 ../fish/virt-tar-in.pod:21 @@ -141,7 +143,7 @@ msgstr "" #. type: =head1 #: ../cat/virt-cat.pod:32 ../cat/virt-ls.pod:35 ../df/virt-df.pod:43 #: ../edit/virt-edit.pod:44 ../fish/guestfish.pod:41 -#: ../fish/guestfish.pod:1007 ../fish/virt-copy-in.pod:29 +#: ../fish/guestfish.pod:1018 ../fish/virt-copy-in.pod:29 #: ../fish/virt-copy-out.pod:21 ../fish/virt-tar-in.pod:30 #: ../fish/virt-tar-out.pod:24 ../fuse/guestmount.pod:39 #: ../resize/virt-resize.pod:27 ../tools/virt-tar.pl:50 @@ -237,7 +239,7 @@ msgstr "" #: ../fish/virt-copy-out.pod:34 ../fish/virt-tar-in.pod:42 #: ../fish/virt-tar-out.pod:36 ../fuse/guestmount.pod:83 #: ../inspector/virt-inspector.pod:55 ../rescue/virt-rescue.pod:84 -#: ../resize/virt-resize.pod:241 ../test-tool/libguestfs-test-tool.pod:37 +#: ../resize/virt-resize.pod:241 ../test-tool/libguestfs-test-tool.pod:36 #: ../tools/virt-list-filesystems.pl:53 ../tools/virt-list-partitions.pl:54 #: ../tools/virt-make-fs.pl:153 ../tools/virt-tar.pl:103 #: ../tools/virt-win-reg.pl:96 @@ -249,9 +251,10 @@ msgstr "" #: ../cat/virt-ls.pod:265 ../df/virt-df.pod:63 ../edit/virt-edit.pod:66 #: ../fish/guestfish.pod:152 ../fuse/guestmount.pod:151 #: ../inspector/virt-inspector.pod:59 ../rescue/virt-rescue.pod:88 -#: ../resize/virt-resize.pod:245 ../tools/virt-list-filesystems.pl:61 -#: ../tools/virt-list-partitions.pl:62 ../tools/virt-make-fs.pl:161 -#: ../tools/virt-tar.pl:111 ../tools/virt-win-reg.pl:104 +#: ../resize/virt-resize.pod:245 ../test-tool/libguestfs-test-tool.pod:40 +#: ../tools/virt-list-filesystems.pl:61 ../tools/virt-list-partitions.pl:62 +#: ../tools/virt-make-fs.pl:161 ../tools/virt-tar.pl:111 +#: ../tools/virt-win-reg.pl:104 msgid "B<--help>" msgstr "" @@ -401,8 +404,8 @@ msgstr "" #: ../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:673 -#: ../inspector/virt-inspector.pod:335 ../rescue/virt-rescue.pod:133 -#: ../src/guestfs.pod:2652 +#: ../inspector/virt-inspector.pod:336 ../rescue/virt-rescue.pod:133 +#: ../src/guestfs.pod:2788 msgid "For example:" msgstr "" @@ -468,7 +471,7 @@ msgstr "" #: ../cat/virt-cat.pod:134 ../cat/virt-filesystems.pod:261 #: ../cat/virt-ls.pod:425 ../df/virt-df.pod:173 ../edit/virt-edit.pod:161 #: ../fish/guestfish.pod:390 ../fuse/guestmount.pod:257 -#: ../inspector/virt-inspector.pod:119 ../rescue/virt-rescue.pod:178 +#: ../inspector/virt-inspector.pod:119 ../rescue/virt-rescue.pod:182 msgid "B<-v>" msgstr "" @@ -476,14 +479,14 @@ msgstr "" #: ../cat/virt-cat.pod:136 ../cat/virt-filesystems.pod:263 #: ../cat/virt-ls.pod:427 ../df/virt-df.pod:175 ../edit/virt-edit.pod:163 #: ../fish/guestfish.pod:392 ../fuse/guestmount.pod:259 -#: ../inspector/virt-inspector.pod:121 ../rescue/virt-rescue.pod:180 +#: ../inspector/virt-inspector.pod:121 ../rescue/virt-rescue.pod:184 msgid "B<--verbose>" msgstr "" #. type: textblock #: ../cat/virt-cat.pod:138 ../cat/virt-filesystems.pod:265 #: ../cat/virt-ls.pod:429 ../df/virt-df.pod:177 ../edit/virt-edit.pod:165 -#: ../inspector/virt-inspector.pod:123 ../rescue/virt-rescue.pod:182 +#: ../inspector/virt-inspector.pod:123 ../rescue/virt-rescue.pod:186 msgid "Enable verbose messages for debugging." msgstr "" @@ -491,8 +494,8 @@ msgstr "" #: ../cat/virt-cat.pod:140 ../cat/virt-filesystems.pod:267 #: ../cat/virt-ls.pod:431 ../df/virt-df.pod:179 ../edit/virt-edit.pod:167 #: ../fish/guestfish.pod:397 ../fuse/guestmount.pod:263 -#: ../inspector/virt-inspector.pod:125 ../rescue/virt-rescue.pod:184 -#: ../resize/virt-resize.pod:478 +#: ../inspector/virt-inspector.pod:125 ../rescue/virt-rescue.pod:188 +#: ../resize/virt-resize.pod:484 msgid "B<-V>" msgstr "" @@ -500,8 +503,8 @@ msgstr "" #: ../cat/virt-cat.pod:142 ../cat/virt-filesystems.pod:269 #: ../cat/virt-ls.pod:433 ../df/virt-df.pod:181 ../edit/virt-edit.pod:169 #: ../fish/guestfish.pod:399 ../fuse/guestmount.pod:265 -#: ../inspector/virt-inspector.pod:127 ../rescue/virt-rescue.pod:186 -#: ../resize/virt-resize.pod:480 ../tools/virt-list-filesystems.pl:69 +#: ../inspector/virt-inspector.pod:127 ../rescue/virt-rescue.pod:190 +#: ../resize/virt-resize.pod:486 ../tools/virt-list-filesystems.pl:69 #: ../tools/virt-list-partitions.pl:70 ../tools/virt-make-fs.pl:169 #: ../tools/virt-tar.pl:119 ../tools/virt-win-reg.pl:112 msgid "B<--version>" @@ -510,8 +513,8 @@ msgstr "" #. type: textblock #: ../cat/virt-cat.pod:144 ../cat/virt-filesystems.pod:271 #: ../cat/virt-ls.pod:435 ../df/virt-df.pod:183 ../edit/virt-edit.pod:171 -#: ../inspector/virt-inspector.pod:129 ../rescue/virt-rescue.pod:188 -#: ../resize/virt-resize.pod:482 ../tools/virt-list-filesystems.pl:71 +#: ../inspector/virt-inspector.pod:129 ../rescue/virt-rescue.pod:192 +#: ../resize/virt-resize.pod:488 ../tools/virt-list-filesystems.pl:71 #: ../tools/virt-list-partitions.pl:72 ../tools/virt-make-fs.pl:171 #: ../tools/virt-tar.pl:121 ../tools/virt-win-reg.pl:114 msgid "Display version number and exit." @@ -521,7 +524,7 @@ msgstr "" #: ../cat/virt-cat.pod:146 ../cat/virt-filesystems.pod:281 #: ../cat/virt-ls.pod:437 ../df/virt-df.pod:185 ../edit/virt-edit.pod:173 #: ../fish/guestfish.pod:412 ../fuse/guestmount.pod:278 -#: ../inspector/virt-inspector.pod:131 ../rescue/virt-rescue.pod:199 +#: ../inspector/virt-inspector.pod:131 ../rescue/virt-rescue.pod:203 #: ../tools/virt-tar.pl:158 msgid "B<-x>" msgstr "" @@ -529,13 +532,13 @@ msgstr "" #. type: textblock #: ../cat/virt-cat.pod:148 ../cat/virt-filesystems.pod:283 #: ../cat/virt-ls.pod:439 ../df/virt-df.pod:187 ../edit/virt-edit.pod:175 -#: ../inspector/virt-inspector.pod:133 ../rescue/virt-rescue.pod:201 +#: ../inspector/virt-inspector.pod:133 ../rescue/virt-rescue.pod:205 msgid "Enable tracing of libguestfs API calls." msgstr "" #. type: =head1 #: ../cat/virt-cat.pod:152 ../cat/virt-ls.pod:443 ../edit/virt-edit.pod:179 -#: ../inspector/virt-inspector.pod:137 ../rescue/virt-rescue.pod:205 +#: ../inspector/virt-inspector.pod:137 ../rescue/virt-rescue.pod:209 msgid "OLD-STYLE COMMAND LINE ARGUMENTS" msgstr "" @@ -554,7 +557,7 @@ msgstr "" #. type: textblock #: ../cat/virt-cat.pod:158 ../cat/virt-ls.pod:449 ../edit/virt-edit.pod:185 -#: ../inspector/virt-inspector.pod:143 ../rescue/virt-rescue.pod:211 +#: ../inspector/virt-inspector.pod:143 ../rescue/virt-rescue.pod:215 msgid "or" msgstr "" @@ -568,7 +571,7 @@ msgstr "" #. type: textblock #: ../cat/virt-cat.pod:162 ../cat/virt-ls.pod:453 ../edit/virt-edit.pod:189 -#: ../inspector/virt-inspector.pod:147 ../rescue/virt-rescue.pod:215 +#: ../inspector/virt-inspector.pod:147 ../rescue/virt-rescue.pod:219 msgid "" "whereas in this version you should use I<-a> or I<-d> respectively to avoid " "the confusing case where a disk image might have the same name as a guest." @@ -576,7 +579,7 @@ msgstr "" #. type: textblock #: ../cat/virt-cat.pod:166 ../cat/virt-ls.pod:457 ../edit/virt-edit.pod:193 -#: ../inspector/virt-inspector.pod:151 ../rescue/virt-rescue.pod:219 +#: ../inspector/virt-inspector.pod:151 ../rescue/virt-rescue.pod:223 msgid "For compatibility the old style is still supported." msgstr "" @@ -633,24 +636,24 @@ msgstr "" #: ../cat/virt-cat.pod:188 msgid "" "where C is the disk image, C is the filesystem within " -"the disk image to edit, and C is the full path to the file." +"the disk image, and C is the full path to the file." msgstr "" #. type: =head1 -#: ../cat/virt-cat.pod:192 ../cat/virt-filesystems.pod:365 +#: ../cat/virt-cat.pod:191 ../cat/virt-filesystems.pod:365 #: ../cat/virt-ls.pod:483 ../df/virt-df.pod:215 ../edit/virt-edit.pod:342 -#: ../inspector/virt-inspector.pod:349 ../rescue/virt-rescue.pod:262 -#: ../resize/virt-resize.pod:543 ../tools/virt-list-filesystems.pl:188 +#: ../inspector/virt-inspector.pod:352 ../rescue/virt-rescue.pod:266 +#: ../resize/virt-resize.pod:601 ../tools/virt-list-filesystems.pl:188 #: ../tools/virt-list-partitions.pl:258 ../tools/virt-make-fs.pl:532 #: ../tools/virt-tar.pl:289 ../tools/virt-win-reg.pl:733 msgid "SHELL QUOTING" msgstr "" #. type: textblock -#: ../cat/virt-cat.pod:194 ../cat/virt-filesystems.pod:367 +#: ../cat/virt-cat.pod:193 ../cat/virt-filesystems.pod:367 #: ../cat/virt-ls.pod:485 ../df/virt-df.pod:217 ../edit/virt-edit.pod:344 -#: ../inspector/virt-inspector.pod:351 ../rescue/virt-rescue.pod:264 -#: ../resize/virt-resize.pod:545 ../tools/virt-list-filesystems.pl:190 +#: ../inspector/virt-inspector.pod:354 ../rescue/virt-rescue.pod:268 +#: ../resize/virt-resize.pod:603 ../tools/virt-list-filesystems.pl:190 #: ../tools/virt-list-partitions.pl:260 ../tools/virt-make-fs.pl:534 #: ../tools/virt-tar.pl:291 ../tools/virt-win-reg.pl:741 msgid "" @@ -661,17 +664,36 @@ msgid "" msgstr "" #. type: =head1 -#: ../cat/virt-cat.pod:199 ../cat/virt-filesystems.pod:372 +#: ../cat/virt-cat.pod:198 ../cat/virt-filesystems.pod:372 #: ../cat/virt-ls.pod:490 ../df/virt-df.pod:222 ../edit/virt-edit.pod:349 +#: ../fish/guestfish.pod:1081 ../fuse/guestmount.pod:303 +#: ../inspector/virt-inspector.pod:375 ../resize/virt-resize.pod:608 +#: ../test-tool/libguestfs-test-tool.pod:90 +msgid "EXIT STATUS" +msgstr "" + +#. type: textblock +#: ../cat/virt-cat.pod:200 ../cat/virt-filesystems.pod:374 +#: ../cat/virt-ls.pod:492 ../df/virt-df.pod:224 ../edit/virt-edit.pod:351 +#: ../fuse/guestmount.pod:305 ../inspector/virt-inspector.pod:377 +#: ../resize/virt-resize.pod:610 +msgid "" +"This program returns 0 if successful, or non-zero if there was an error." +msgstr "" + +#. type: =head1 +#: ../cat/virt-cat.pod:203 ../cat/virt-filesystems.pod:377 +#: ../cat/virt-ls.pod:495 ../df/virt-df.pod:227 ../edit/virt-edit.pod:354 +#: ../erlang/examples/guestfs-erlang.pod:97 #: ../examples/guestfs-examples.pod:33 ../examples/guestfs-recipes.pod:384 -#: ../fish/guestfish.pod:1224 ../fish/virt-copy-in.pod:50 +#: ../fish/guestfish.pod:1235 ../fish/virt-copy-in.pod:50 #: ../fish/virt-copy-out.pod:39 ../fish/virt-tar-in.pod:47 -#: ../fish/virt-tar-out.pod:41 ../fuse/guestmount.pod:303 -#: ../inspector/virt-inspector.pod:372 ../java/examples/guestfs-java.pod:45 +#: ../fish/virt-tar-out.pod:41 ../fuse/guestmount.pod:308 +#: ../inspector/virt-inspector.pod:380 ../java/examples/guestfs-java.pod:45 #: ../ocaml/examples/guestfs-ocaml.pod:78 ../perl/examples/guestfs-perl.pod:39 -#: ../python/examples/guestfs-python.pod:42 ../rescue/virt-rescue.pod:284 -#: ../resize/virt-resize.pod:550 ../ruby/examples/guestfs-ruby.pod:36 -#: ../src/guestfs.pod:3026 ../test-tool/libguestfs-test-tool.pod:87 +#: ../python/examples/guestfs-python.pod:42 ../rescue/virt-rescue.pod:288 +#: ../resize/virt-resize.pod:613 ../ruby/examples/guestfs-ruby.pod:36 +#: ../src/guestfs.pod:3164 ../test-tool/libguestfs-test-tool.pod:100 #: ../tools/virt-list-filesystems.pl:195 ../tools/virt-list-partitions.pl:265 #: ../tools/virt-make-fs.pl:539 ../tools/virt-tar.pl:296 #: ../tools/virt-win-reg.pl:746 @@ -679,16 +701,16 @@ msgid "SEE ALSO" msgstr "" #. type: textblock -#: ../cat/virt-cat.pod:201 +#: ../cat/virt-cat.pod:205 msgid "" "L, L, L, L, L, L." msgstr "" #. type: =head1 -#: ../cat/virt-cat.pod:208 ../cat/virt-filesystems.pod:383 -#: ../cat/virt-ls.pod:502 ../df/virt-df.pod:230 ../edit/virt-edit.pod:363 -#: ../rescue/virt-rescue.pod:292 ../resize/virt-resize.pod:571 +#: ../cat/virt-cat.pod:212 ../cat/virt-filesystems.pod:388 +#: ../cat/virt-ls.pod:507 ../df/virt-df.pod:235 ../edit/virt-edit.pod:368 +#: ../rescue/virt-rescue.pod:296 ../resize/virt-resize.pod:634 #: ../tools/virt-list-filesystems.pl:208 ../tools/virt-list-partitions.pl:277 #: ../tools/virt-make-fs.pl:564 ../tools/virt-tar.pl:311 #: ../tools/virt-win-reg.pl:772 @@ -696,27 +718,28 @@ msgid "AUTHOR" msgstr "" #. type: textblock -#: ../cat/virt-cat.pod:210 ../cat/virt-filesystems.pod:385 -#: ../cat/virt-ls.pod:504 ../df/virt-df.pod:232 ../edit/virt-edit.pod:365 -#: ../inspector/virt-inspector.pod:386 ../rescue/virt-rescue.pod:294 -#: ../resize/virt-resize.pod:573 ../tools/virt-list-filesystems.pl:210 +#: ../cat/virt-cat.pod:214 ../cat/virt-filesystems.pod:390 +#: ../cat/virt-ls.pod:509 ../df/virt-df.pod:237 ../edit/virt-edit.pod:370 +#: ../inspector/virt-inspector.pod:395 ../rescue/virt-rescue.pod:298 +#: ../resize/virt-resize.pod:636 ../tools/virt-list-filesystems.pl:210 #: ../tools/virt-list-partitions.pl:279 ../tools/virt-make-fs.pl:566 #: ../tools/virt-tar.pl:313 ../tools/virt-win-reg.pl:774 msgid "Richard W.M. Jones L" msgstr "" #. type: =head1 -#: ../cat/virt-cat.pod:212 ../cat/virt-filesystems.pod:387 -#: ../cat/virt-ls.pod:506 ../df/virt-df.pod:234 ../edit/virt-edit.pod:367 -#: ../examples/guestfs-examples.pod:48 ../examples/guestfs-recipes.pod:400 -#: ../fish/guestfish.pod:1253 ../fish/virt-copy-in.pod:64 +#: ../cat/virt-cat.pod:216 ../cat/virt-filesystems.pod:392 +#: ../cat/virt-ls.pod:511 ../df/virt-df.pod:239 ../edit/virt-edit.pod:372 +#: ../erlang/examples/guestfs-erlang.pod:114 +#: ../examples/guestfs-examples.pod:49 ../examples/guestfs-recipes.pod:401 +#: ../fish/guestfish.pod:1264 ../fish/virt-copy-in.pod:64 #: ../fish/virt-copy-out.pod:53 ../fish/virt-tar-in.pod:62 -#: ../fish/virt-tar-out.pod:55 ../fuse/guestmount.pod:318 -#: ../inspector/virt-inspector.pod:394 ../java/examples/guestfs-java.pod:61 -#: ../ocaml/examples/guestfs-ocaml.pod:94 ../perl/examples/guestfs-perl.pod:55 -#: ../python/examples/guestfs-python.pod:57 ../rescue/virt-rescue.pod:296 -#: ../resize/virt-resize.pod:575 ../ruby/examples/guestfs-ruby.pod:51 -#: ../src/guestfs.pod:3102 ../test-tool/libguestfs-test-tool.pod:97 +#: ../fish/virt-tar-out.pod:55 ../fuse/guestmount.pod:323 +#: ../inspector/virt-inspector.pod:403 ../java/examples/guestfs-java.pod:62 +#: ../ocaml/examples/guestfs-ocaml.pod:95 ../perl/examples/guestfs-perl.pod:56 +#: ../python/examples/guestfs-python.pod:58 ../rescue/virt-rescue.pod:300 +#: ../resize/virt-resize.pod:638 ../ruby/examples/guestfs-ruby.pod:52 +#: ../src/guestfs.pod:3241 ../test-tool/libguestfs-test-tool.pod:110 #: ../tools/virt-list-filesystems.pl:212 ../tools/virt-list-partitions.pl:281 #: ../tools/virt-make-fs.pl:568 ../tools/virt-tar.pl:315 #: ../tools/virt-win-reg.pl:776 @@ -724,19 +747,19 @@ msgid "COPYRIGHT" msgstr "" #. type: textblock -#: ../cat/virt-cat.pod:214 ../inspector/virt-inspector.pod:396 -#: ../resize/virt-resize.pod:577 +#: ../cat/virt-cat.pod:218 ../inspector/virt-inspector.pod:405 +#: ../resize/virt-resize.pod:640 msgid "Copyright (C) 2010-2011 Red Hat Inc." msgstr "" #. type: textblock -#: ../cat/virt-cat.pod:216 ../cat/virt-filesystems.pod:391 -#: ../cat/virt-ls.pod:510 ../df/virt-df.pod:238 ../edit/virt-edit.pod:371 -#: ../fish/guestfish.pod:1258 ../fish/virt-copy-in.pod:69 +#: ../cat/virt-cat.pod:220 ../cat/virt-filesystems.pod:396 +#: ../cat/virt-ls.pod:515 ../df/virt-df.pod:243 ../edit/virt-edit.pod:376 +#: ../fish/guestfish.pod:1269 ../fish/virt-copy-in.pod:69 #: ../fish/virt-copy-out.pod:58 ../fish/virt-tar-in.pod:67 -#: ../fish/virt-tar-out.pod:60 ../fuse/guestmount.pod:323 -#: ../inspector/virt-inspector.pod:398 ../rescue/virt-rescue.pod:300 -#: ../resize/virt-resize.pod:579 ../test-tool/libguestfs-test-tool.pod:102 +#: ../fish/virt-tar-out.pod:60 ../fuse/guestmount.pod:328 +#: ../inspector/virt-inspector.pod:407 ../rescue/virt-rescue.pod:304 +#: ../resize/virt-resize.pod:642 ../test-tool/libguestfs-test-tool.pod:115 #: ../tools/virt-list-filesystems.pl:216 ../tools/virt-list-partitions.pl:285 #: ../tools/virt-make-fs.pl:572 ../tools/virt-tar.pl:319 #: ../tools/virt-win-reg.pl:780 @@ -748,13 +771,13 @@ msgid "" msgstr "" #. type: textblock -#: ../cat/virt-cat.pod:221 ../cat/virt-filesystems.pod:396 -#: ../cat/virt-ls.pod:515 ../df/virt-df.pod:243 ../edit/virt-edit.pod:376 -#: ../fish/guestfish.pod:1263 ../fish/virt-copy-in.pod:74 +#: ../cat/virt-cat.pod:225 ../cat/virt-filesystems.pod:401 +#: ../cat/virt-ls.pod:520 ../df/virt-df.pod:248 ../edit/virt-edit.pod:381 +#: ../fish/guestfish.pod:1274 ../fish/virt-copy-in.pod:74 #: ../fish/virt-copy-out.pod:63 ../fish/virt-tar-in.pod:72 -#: ../fish/virt-tar-out.pod:65 ../fuse/guestmount.pod:328 -#: ../inspector/virt-inspector.pod:403 ../rescue/virt-rescue.pod:305 -#: ../resize/virt-resize.pod:584 ../test-tool/libguestfs-test-tool.pod:107 +#: ../fish/virt-tar-out.pod:65 ../fuse/guestmount.pod:333 +#: ../inspector/virt-inspector.pod:412 ../rescue/virt-rescue.pod:309 +#: ../resize/virt-resize.pod:647 ../test-tool/libguestfs-test-tool.pod:120 #: ../tools/virt-list-filesystems.pl:221 ../tools/virt-list-partitions.pl:290 #: ../tools/virt-make-fs.pl:577 ../tools/virt-tar.pl:324 #: ../tools/virt-win-reg.pl:785 @@ -766,13 +789,13 @@ msgid "" msgstr "" #. type: textblock -#: ../cat/virt-cat.pod:226 ../cat/virt-filesystems.pod:401 -#: ../cat/virt-ls.pod:520 ../df/virt-df.pod:248 ../edit/virt-edit.pod:381 -#: ../fish/guestfish.pod:1268 ../fish/virt-copy-in.pod:79 +#: ../cat/virt-cat.pod:230 ../cat/virt-filesystems.pod:406 +#: ../cat/virt-ls.pod:525 ../df/virt-df.pod:253 ../edit/virt-edit.pod:386 +#: ../fish/guestfish.pod:1279 ../fish/virt-copy-in.pod:79 #: ../fish/virt-copy-out.pod:68 ../fish/virt-tar-in.pod:77 -#: ../fish/virt-tar-out.pod:70 ../fuse/guestmount.pod:333 -#: ../inspector/virt-inspector.pod:408 ../rescue/virt-rescue.pod:310 -#: ../resize/virt-resize.pod:589 ../test-tool/libguestfs-test-tool.pod:112 +#: ../fish/virt-tar-out.pod:70 ../fuse/guestmount.pod:338 +#: ../inspector/virt-inspector.pod:417 ../rescue/virt-rescue.pod:314 +#: ../resize/virt-resize.pod:652 ../test-tool/libguestfs-test-tool.pod:125 #: ../tools/virt-list-filesystems.pl:226 ../tools/virt-list-partitions.pl:295 #: ../tools/virt-make-fs.pl:582 ../tools/virt-tar.pl:329 #: ../tools/virt-win-reg.pl:790 @@ -1427,7 +1450,7 @@ msgid "Most spreadsheets and databases can import CSV directly." msgstr "" #. type: textblock -#: ../cat/virt-filesystems.pod:374 +#: ../cat/virt-filesystems.pod:379 msgid "" "L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, " @@ -2189,8 +2212,8 @@ msgid "" msgstr "" #. type: textblock -#: ../cat/virt-ls.pod:508 ../df/virt-df.pod:236 ../edit/virt-edit.pod:369 -#: ../rescue/virt-rescue.pod:298 +#: ../cat/virt-ls.pod:513 ../df/virt-df.pod:241 ../edit/virt-edit.pod:374 +#: ../rescue/virt-rescue.pod:302 msgid "Copyright (C) 2009-2011 Red Hat Inc." msgstr "" @@ -2375,54 +2398,57 @@ msgstr "" #: ../examples/guestfs-recipes.pod:231 ../examples/guestfs-recipes.pod:235 #: ../examples/guestfs-recipes.pod:239 ../examples/guestfs-recipes.pod:243 #: ../fish/guestfish-actions.pod:13 ../fish/guestfish-actions.pod:20 -#: ../fish/guestfish-actions.pod:385 ../fish/guestfish-actions.pod:393 -#: ../fish/guestfish-actions.pod:400 ../fish/guestfish-actions.pod:407 -#: ../fish/guestfish-actions.pod:1099 ../fish/guestfish-actions.pod:1103 -#: ../fish/guestfish-actions.pod:1107 ../fish/guestfish-actions.pod:1111 -#: ../fish/guestfish-actions.pod:1119 ../fish/guestfish-actions.pod:1123 -#: ../fish/guestfish-actions.pod:1127 ../fish/guestfish-actions.pod:1137 -#: ../fish/guestfish-actions.pod:1141 ../fish/guestfish-actions.pod:1145 -#: ../fish/guestfish-actions.pod:1235 ../fish/guestfish-actions.pod:1239 -#: ../fish/guestfish-actions.pod:1244 ../fish/guestfish-actions.pod:1249 -#: ../fish/guestfish-actions.pod:1291 ../fish/guestfish-actions.pod:1295 -#: ../fish/guestfish-actions.pod:1300 ../fish/guestfish-actions.pod:1933 -#: ../fish/guestfish-actions.pod:1939 ../fish/guestfish-actions.pod:1947 -#: ../fish/guestfish-actions.pod:1954 ../fish/guestfish-actions.pod:1961 -#: ../fish/guestfish.pod:445 ../fish/guestfish.pod:449 -#: ../fish/guestfish.pod:453 ../fish/guestfish.pod:457 -#: ../inspector/virt-inspector.pod:384 ../inspector/virt-inspector.pod:388 -#: ../resize/virt-resize.pod:282 ../resize/virt-resize.pod:286 -#: ../resize/virt-resize.pod:295 ../resize/virt-resize.pod:301 -#: ../src/guestfs-actions.pod:15 ../src/guestfs-actions.pod:22 -#: ../src/guestfs-actions.pod:583 ../src/guestfs-actions.pod:591 -#: ../src/guestfs-actions.pod:598 ../src/guestfs-actions.pod:605 -#: ../src/guestfs-actions.pod:1662 ../src/guestfs-actions.pod:1666 -#: ../src/guestfs-actions.pod:1670 ../src/guestfs-actions.pod:1674 -#: ../src/guestfs-actions.pod:1682 ../src/guestfs-actions.pod:1686 -#: ../src/guestfs-actions.pod:1690 ../src/guestfs-actions.pod:1700 -#: ../src/guestfs-actions.pod:1704 ../src/guestfs-actions.pod:1708 -#: ../src/guestfs-actions.pod:1846 ../src/guestfs-actions.pod:1850 -#: ../src/guestfs-actions.pod:1855 ../src/guestfs-actions.pod:1860 -#: ../src/guestfs-actions.pod:1921 ../src/guestfs-actions.pod:1925 -#: ../src/guestfs-actions.pod:1930 ../src/guestfs-actions.pod:2859 -#: ../src/guestfs-actions.pod:2865 ../src/guestfs-actions.pod:2873 -#: ../src/guestfs-actions.pod:2880 ../src/guestfs-actions.pod:2887 +#: ../fish/guestfish-actions.pod:390 ../fish/guestfish-actions.pod:398 +#: ../fish/guestfish-actions.pod:405 ../fish/guestfish-actions.pod:412 +#: ../fish/guestfish-actions.pod:1139 ../fish/guestfish-actions.pod:1143 +#: ../fish/guestfish-actions.pod:1147 ../fish/guestfish-actions.pod:1151 +#: ../fish/guestfish-actions.pod:1159 ../fish/guestfish-actions.pod:1163 +#: ../fish/guestfish-actions.pod:1167 ../fish/guestfish-actions.pod:1177 +#: ../fish/guestfish-actions.pod:1181 ../fish/guestfish-actions.pod:1185 +#: ../fish/guestfish-actions.pod:1275 ../fish/guestfish-actions.pod:1279 +#: ../fish/guestfish-actions.pod:1284 ../fish/guestfish-actions.pod:1289 +#: ../fish/guestfish-actions.pod:1331 ../fish/guestfish-actions.pod:1335 +#: ../fish/guestfish-actions.pod:1340 ../fish/guestfish-actions.pod:1596 +#: ../fish/guestfish-actions.pod:1603 ../fish/guestfish-actions.pod:1610 +#: ../fish/guestfish-actions.pod:2005 ../fish/guestfish-actions.pod:2011 +#: ../fish/guestfish-actions.pod:2019 ../fish/guestfish-actions.pod:2026 +#: ../fish/guestfish-actions.pod:2033 ../fish/guestfish.pod:445 +#: ../fish/guestfish.pod:449 ../fish/guestfish.pod:453 +#: ../fish/guestfish.pod:457 ../inspector/virt-inspector.pod:393 +#: ../inspector/virt-inspector.pod:397 ../resize/virt-resize.pod:282 +#: ../resize/virt-resize.pod:286 ../resize/virt-resize.pod:295 +#: ../resize/virt-resize.pod:301 ../src/guestfs-actions.pod:22 +#: ../src/guestfs-actions.pod:29 ../src/guestfs-actions.pod:588 +#: ../src/guestfs-actions.pod:596 ../src/guestfs-actions.pod:603 +#: ../src/guestfs-actions.pod:610 ../src/guestfs-actions.pod:1774 +#: ../src/guestfs-actions.pod:1778 ../src/guestfs-actions.pod:1782 +#: ../src/guestfs-actions.pod:1786 ../src/guestfs-actions.pod:1794 +#: ../src/guestfs-actions.pod:1798 ../src/guestfs-actions.pod:1802 +#: ../src/guestfs-actions.pod:1812 ../src/guestfs-actions.pod:1816 +#: ../src/guestfs-actions.pod:1820 ../src/guestfs-actions.pod:1958 +#: ../src/guestfs-actions.pod:1962 ../src/guestfs-actions.pod:1967 +#: ../src/guestfs-actions.pod:1972 ../src/guestfs-actions.pod:2033 +#: ../src/guestfs-actions.pod:2037 ../src/guestfs-actions.pod:2042 +#: ../src/guestfs-actions.pod:2455 ../src/guestfs-actions.pod:2462 +#: ../src/guestfs-actions.pod:2469 ../src/guestfs-actions.pod:3006 +#: ../src/guestfs-actions.pod:3012 ../src/guestfs-actions.pod:3020 +#: ../src/guestfs-actions.pod:3027 ../src/guestfs-actions.pod:3034 #: ../src/guestfs.pod:388 ../src/guestfs.pod:393 ../src/guestfs.pod:398 #: ../src/guestfs.pod:402 ../src/guestfs.pod:407 ../src/guestfs.pod:411 -#: ../src/guestfs.pod:416 ../src/guestfs.pod:421 ../src/guestfs.pod:1064 -#: ../src/guestfs.pod:1068 ../src/guestfs.pod:1072 ../src/guestfs.pod:1077 -#: ../src/guestfs.pod:1085 ../src/guestfs.pod:1104 ../src/guestfs.pod:1112 -#: ../src/guestfs.pod:1134 ../src/guestfs.pod:1138 ../src/guestfs.pod:1142 -#: ../src/guestfs.pod:1146 ../src/guestfs.pod:1150 ../src/guestfs.pod:1154 -#: ../src/guestfs.pod:1643 ../src/guestfs.pod:1648 ../src/guestfs.pod:1652 -#: ../src/guestfs.pod:1754 ../src/guestfs.pod:1759 ../src/guestfs.pod:1763 -#: ../src/guestfs.pod:1773 ../src/guestfs.pod:2047 ../src/guestfs.pod:2052 -#: ../src/guestfs.pod:2058 ../src/guestfs.pod:2066 ../src/guestfs.pod:2420 -#: ../src/guestfs.pod:2426 ../src/guestfs.pod:2431 ../src/guestfs.pod:2437 -#: ../src/guestfs.pod:2818 ../src/guestfs.pod:2823 ../src/guestfs.pod:2827 -#: ../src/guestfs.pod:2831 ../src/guestfs.pod:2835 ../src/guestfs.pod:2849 -#: ../src/guestfs.pod:2854 ../src/guestfs.pod:3079 ../src/guestfs.pod:3083 -#: ../src/guestfs.pod:3087 ../src/guestfs.pod:3091 +#: ../src/guestfs.pod:416 ../src/guestfs.pod:421 ../src/guestfs.pod:1091 +#: ../src/guestfs.pod:1095 ../src/guestfs.pod:1099 ../src/guestfs.pod:1104 +#: ../src/guestfs.pod:1112 ../src/guestfs.pod:1131 ../src/guestfs.pod:1139 +#: ../src/guestfs.pod:1161 ../src/guestfs.pod:1165 ../src/guestfs.pod:1169 +#: ../src/guestfs.pod:1173 ../src/guestfs.pod:1177 ../src/guestfs.pod:1181 +#: ../src/guestfs.pod:1671 ../src/guestfs.pod:1676 ../src/guestfs.pod:1680 +#: ../src/guestfs.pod:1782 ../src/guestfs.pod:1787 ../src/guestfs.pod:1791 +#: ../src/guestfs.pod:1801 ../src/guestfs.pod:2090 ../src/guestfs.pod:2095 +#: ../src/guestfs.pod:2101 ../src/guestfs.pod:2109 ../src/guestfs.pod:2556 +#: ../src/guestfs.pod:2562 ../src/guestfs.pod:2567 ../src/guestfs.pod:2573 +#: ../src/guestfs.pod:2956 ../src/guestfs.pod:2961 ../src/guestfs.pod:2965 +#: ../src/guestfs.pod:2969 ../src/guestfs.pod:2973 ../src/guestfs.pod:2987 +#: ../src/guestfs.pod:2992 ../src/guestfs.pod:3218 ../src/guestfs.pod:3222 +#: ../src/guestfs.pod:3226 ../src/guestfs.pod:3230 #: ../tools/virt-win-reg.pl:197 ../tools/virt-win-reg.pl:202 #: ../tools/virt-win-reg.pl:208 ../tools/virt-win-reg.pl:710 #: ../tools/virt-win-reg.pl:716 ../tools/virt-win-reg.pl:722 @@ -2462,7 +2488,7 @@ msgid "" msgstr "" #. type: textblock -#: ../df/virt-df.pod:224 +#: ../df/virt-df.pod:229 msgid "" "L, L, L, L, L." @@ -3022,9 +3048,9 @@ msgid "" msgstr "" #. type: =head1 -#: ../edit/virt-edit.pod:329 ../fish/guestfish.pod:1075 -#: ../rescue/virt-rescue.pod:257 ../src/guestfs.pod:2965 -#: ../test-tool/libguestfs-test-tool.pod:82 +#: ../edit/virt-edit.pod:329 ../fish/guestfish.pod:1086 +#: ../rescue/virt-rescue.pod:261 ../src/guestfs.pod:3103 +#: ../test-tool/libguestfs-test-tool.pod:95 msgid "ENVIRONMENT VARIABLES" msgstr "" @@ -3046,7 +3072,7 @@ msgid "If not set, C is used." msgstr "" #. type: textblock -#: ../edit/virt-edit.pod:351 +#: ../edit/virt-edit.pod:356 msgid "" "L, L, L, L, L, L, L, L, " @@ -3054,47 +3080,191 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-examples.pod:5 -msgid "guestfs-examples - Examples of using libguestfs from C" +#: ../erlang/examples/guestfs-erlang.pod:5 +msgid "guestfs-erlang - How to use libguestfs from Erlang" msgstr "" #. type: verbatim -#: ../examples/guestfs-examples.pod:9 ../src/guestfs.pod:9 +#: ../erlang/examples/guestfs-erlang.pod:9 #, no-wrap msgid "" -" #include \n" -" \n" +" {ok, G} = guestfs:create(),\n" +" ok = guestfs:add_drive_opts(G, Disk,\n" +" [{format, \"raw\"}, {readonly, true}]),\n" +" ok = guestfs:launch(G),\n" +" [Device] = guestfs:list_devices(G),\n" +" ok = guestfs:close(G).\n" +"\n" +msgstr "" + +#. type: textblock +#: ../erlang/examples/guestfs-erlang.pod:18 +msgid "" +"This manual page documents how to call libguestfs from the Erlang " +"programming language. This page just documents the differences from the C " +"API and gives some examples. If you are not familiar with using libguestfs, " +"you also need to read L." +msgstr "" + +#. type: =head2 +#: ../erlang/examples/guestfs-erlang.pod:23 +msgid "OPENING AND CLOSING THE HANDLE" +msgstr "" + +#. type: textblock +#: ../erlang/examples/guestfs-erlang.pod:25 +msgid "" +"The Erlang bindings are implemented using an external program called C. This program must be on the current PATH, or else you should " +"specify the full path to the program:" msgstr "" #. type: verbatim -#: ../examples/guestfs-examples.pod:11 +#: ../erlang/examples/guestfs-erlang.pod:29 #, no-wrap msgid "" -" guestfs_h *g = guestfs_create ();\n" -" guestfs_add_drive_ro (g, \"disk.img\");\n" -" guestfs_launch (g);\n" +" {ok, G} = guestfs:create().\n" "\n" msgstr "" #. type: verbatim -#: ../examples/guestfs-examples.pod:15 ../src/guestfs.pod:19 +#: ../erlang/examples/guestfs-erlang.pod:31 #, no-wrap msgid "" -" cc prog.c -o prog -lguestfs\n" -"or:\n" -" cc prog.c -o prog `pkg-config libguestfs --cflags --libs`\n" +" {ok, G} = guestfs:create(\"/path/to/erl-guestfs\").\n" "\n" msgstr "" #. type: textblock -#: ../examples/guestfs-examples.pod:21 +#: ../erlang/examples/guestfs-erlang.pod:33 +msgid "C is the libguestfs handle which you should pass to other functions." +msgstr "" + +#. type: textblock +#: ../erlang/examples/guestfs-erlang.pod:36 +msgid "To close the handle:" +msgstr "" + +#. type: verbatim +#: ../erlang/examples/guestfs-erlang.pod:38 +#, no-wrap msgid "" -"This manual page contains examples of calling libguestfs from the C " -"programming language. If you are not familiar with using libguestfs, you " -"also need to read L." +" ok = guestfs:close(G).\n" +"\n" +msgstr "" + +#. type: =head2 +#: ../erlang/examples/guestfs-erlang.pod:40 +msgid "FUNCTIONS WITH OPTIONAL ARGUMENTS" +msgstr "" + +#. type: textblock +#: ../erlang/examples/guestfs-erlang.pod:42 +msgid "" +"For functions that take optional arguments, the first arguments are the non-" +"optional ones. The last argument is a list of tuples supplying the " +"remaining optional arguments." +msgstr "" + +#. type: verbatim +#: ../erlang/examples/guestfs-erlang.pod:46 +#, no-wrap +msgid "" +" ok = guestfs:add_drive_opts(G, Disk,\n" +" [{format, \"raw\"}, {readonly, true}]).\n" +"\n" +msgstr "" + +#. type: textblock +#: ../erlang/examples/guestfs-erlang.pod:49 +msgid "If the last argument would be an empty list, you can also omit it:" +msgstr "" + +#. type: verbatim +#: ../erlang/examples/guestfs-erlang.pod:51 +#, no-wrap +msgid "" +" ok = guestfs:add_drive_opts(G, Disk).\n" +"\n" +msgstr "" + +#. type: =head2 +#: ../erlang/examples/guestfs-erlang.pod:53 +msgid "RETURN VALUES AND ERRORS" +msgstr "" + +#. type: textblock +#: ../erlang/examples/guestfs-erlang.pod:55 +msgid "" +"On success, most functions return a C term (which could be a list, " +"string, tuple etc.). If there is nothing for the function to return, then " +"the atom C is returned." +msgstr "" + +#. type: textblock +#: ../erlang/examples/guestfs-erlang.pod:59 +msgid "On error, you would see one of the following tuples:" +msgstr "" + +#. type: =item +#: ../erlang/examples/guestfs-erlang.pod:63 +msgid "C<{error, Msg, Errno}>" +msgstr "" + +#. type: textblock +#: ../erlang/examples/guestfs-erlang.pod:65 +msgid "This indicates an ordinary error from the function." +msgstr "" + +#. type: textblock +#: ../erlang/examples/guestfs-erlang.pod:67 +msgid "" +"C is the error message (string) and C is the Unix error " +"(integer)." +msgstr "" + +#. type: textblock +#: ../erlang/examples/guestfs-erlang.pod:70 +msgid "C can be zero. See L." +msgstr "" + +#. type: =item +#: ../erlang/examples/guestfs-erlang.pod:72 +msgid "C<{unknown, Function}>" +msgstr "" + +#. type: textblock +#: ../erlang/examples/guestfs-erlang.pod:74 +msgid "" +"This indicates that the function you called is not known. Generally this " +"means you are mixing C from another version of libguestfs, " +"which you should not do." +msgstr "" + +#. type: textblock +#: ../erlang/examples/guestfs-erlang.pod:78 +msgid "C is the name of the unknown function." +msgstr "" + +#. type: =item +#: ../erlang/examples/guestfs-erlang.pod:80 +msgid "C<{unknownarg, Arg}>" +msgstr "" + +#. type: textblock +#: ../erlang/examples/guestfs-erlang.pod:82 +msgid "" +"This indicates that you called a function with optional arguments, with an " +"unknown argument name." +msgstr "" + +#. type: textblock +#: ../erlang/examples/guestfs-erlang.pod:85 +msgid "C is the name of the unknown argument." msgstr "" #. type: =head1 +#: ../erlang/examples/guestfs-erlang.pod:89 #: ../examples/guestfs-examples.pod:25 ../java/examples/guestfs-java.pod:37 #: ../ocaml/examples/guestfs-ocaml.pod:70 ../perl/examples/guestfs-perl.pod:31 #: ../python/examples/guestfs-python.pod:34 @@ -3103,6 +3273,7 @@ msgid "EXAMPLE 1: CREATE A DISK IMAGE" msgstr "" #. type: textblock +#: ../erlang/examples/guestfs-erlang.pod:91 #: ../examples/guestfs-examples.pod:27 ../java/examples/guestfs-java.pod:39 #: ../ocaml/examples/guestfs-ocaml.pod:72 ../perl/examples/guestfs-perl.pod:33 #: ../python/examples/guestfs-python.pod:36 @@ -3111,6 +3282,7 @@ msgid "@EXAMPLE1@" msgstr "" #. type: =head1 +#: ../erlang/examples/guestfs-erlang.pod:93 #: ../examples/guestfs-examples.pod:29 ../java/examples/guestfs-java.pod:41 #: ../ocaml/examples/guestfs-ocaml.pod:74 ../perl/examples/guestfs-perl.pod:35 #: ../python/examples/guestfs-python.pod:38 @@ -3119,6 +3291,7 @@ msgid "EXAMPLE 2: INSPECT A VIRTUAL MACHINE DISK IMAGE" msgstr "" #. type: textblock +#: ../erlang/examples/guestfs-erlang.pod:95 #: ../examples/guestfs-examples.pod:31 ../java/examples/guestfs-java.pod:43 #: ../ocaml/examples/guestfs-ocaml.pod:76 ../perl/examples/guestfs-perl.pod:37 #: ../python/examples/guestfs-python.pod:40 @@ -3127,64 +3300,67 @@ msgid "@EXAMPLE2@" msgstr "" #. type: textblock -#: ../examples/guestfs-examples.pod:35 +#: ../erlang/examples/guestfs-erlang.pod:99 msgid "" -"L, L, L, L, " -"L, L, L, L." +"L, L, L, L, L, L, L, " +"L, L. L." msgstr "" #. type: =head1 -#: ../examples/guestfs-examples.pod:44 ../examples/guestfs-recipes.pod:396 -#: ../fish/guestfish.pod:1249 ../fish/virt-copy-in.pod:60 +#: ../erlang/examples/guestfs-erlang.pod:110 +#: ../examples/guestfs-examples.pod:45 ../examples/guestfs-recipes.pod:397 +#: ../fish/guestfish.pod:1260 ../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:314 -#: ../inspector/virt-inspector.pod:380 ../java/examples/guestfs-java.pod:57 -#: ../ocaml/examples/guestfs-ocaml.pod:90 ../perl/examples/guestfs-perl.pod:51 -#: ../python/examples/guestfs-python.pod:53 -#: ../ruby/examples/guestfs-ruby.pod:47 ../src/guestfs.pod:3098 -#: ../test-tool/libguestfs-test-tool.pod:93 +#: ../fish/virt-tar-out.pod:51 ../fuse/guestmount.pod:319 +#: ../inspector/virt-inspector.pod:389 ../java/examples/guestfs-java.pod:58 +#: ../ocaml/examples/guestfs-ocaml.pod:91 ../perl/examples/guestfs-perl.pod:52 +#: ../python/examples/guestfs-python.pod:54 +#: ../ruby/examples/guestfs-ruby.pod:48 ../src/guestfs.pod:3237 +#: ../test-tool/libguestfs-test-tool.pod:106 msgid "AUTHORS" msgstr "" #. type: textblock -#: ../examples/guestfs-examples.pod:46 ../examples/guestfs-recipes.pod:398 -#: ../fish/guestfish.pod:1251 ../fish/virt-copy-in.pod:62 +#: ../erlang/examples/guestfs-erlang.pod:112 +#: ../examples/guestfs-examples.pod:47 ../examples/guestfs-recipes.pod:399 +#: ../fish/guestfish.pod:1262 ../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:316 -#: ../java/examples/guestfs-java.pod:59 ../ocaml/examples/guestfs-ocaml.pod:92 -#: ../perl/examples/guestfs-perl.pod:53 -#: ../python/examples/guestfs-python.pod:55 -#: ../ruby/examples/guestfs-ruby.pod:49 ../src/guestfs.pod:3100 -#: ../test-tool/libguestfs-test-tool.pod:95 +#: ../fish/virt-tar-out.pod:53 ../fuse/guestmount.pod:321 +#: ../java/examples/guestfs-java.pod:60 ../ocaml/examples/guestfs-ocaml.pod:93 +#: ../perl/examples/guestfs-perl.pod:54 +#: ../python/examples/guestfs-python.pod:56 +#: ../ruby/examples/guestfs-ruby.pod:50 ../src/guestfs.pod:3239 +#: ../test-tool/libguestfs-test-tool.pod:108 msgid "Richard W.M. Jones (C)" msgstr "" #. type: textblock -#: ../examples/guestfs-examples.pod:50 ../ocaml/examples/guestfs-ocaml.pod:96 -#: ../python/examples/guestfs-python.pod:59 -#: ../ruby/examples/guestfs-ruby.pod:53 -msgid "Copyright (C) 2010 Red Hat Inc. L" +#: ../erlang/examples/guestfs-erlang.pod:116 +#: ../java/examples/guestfs-java.pod:64 ../perl/examples/guestfs-perl.pod:58 +msgid "Copyright (C) 2011 Red Hat Inc. L" msgstr "" #. type: textblock -#: ../examples/guestfs-examples.pod:52 ../examples/guestfs-recipes.pod:404 -#: ../java/examples/guestfs-java.pod:65 ../ocaml/examples/guestfs-ocaml.pod:98 -#: ../perl/examples/guestfs-perl.pod:59 -#: ../python/examples/guestfs-python.pod:61 -#: ../ruby/examples/guestfs-ruby.pod:55 +#: ../erlang/examples/guestfs-erlang.pod:118 +#: ../examples/guestfs-examples.pod:53 ../examples/guestfs-recipes.pod:405 +#: ../java/examples/guestfs-java.pod:66 ../ocaml/examples/guestfs-ocaml.pod:99 +#: ../perl/examples/guestfs-perl.pod:60 +#: ../python/examples/guestfs-python.pod:62 +#: ../ruby/examples/guestfs-ruby.pod:56 msgid "" "The examples in this manual page may be freely copied, modified and " "distributed without any restrictions." msgstr "" #. type: textblock -#: ../examples/guestfs-examples.pod:55 ../examples/guestfs-recipes.pod:407 -#: ../java/examples/guestfs-java.pod:68 -#: ../ocaml/examples/guestfs-ocaml.pod:101 -#: ../perl/examples/guestfs-perl.pod:62 -#: ../python/examples/guestfs-python.pod:64 -#: ../ruby/examples/guestfs-ruby.pod:58 ../src/guestfs.pod:3107 +#: ../erlang/examples/guestfs-erlang.pod:121 +#: ../examples/guestfs-examples.pod:56 ../examples/guestfs-recipes.pod:408 +#: ../java/examples/guestfs-java.pod:69 +#: ../ocaml/examples/guestfs-ocaml.pod:102 +#: ../perl/examples/guestfs-perl.pod:63 +#: ../python/examples/guestfs-python.pod:65 +#: ../ruby/examples/guestfs-ruby.pod:59 ../src/guestfs.pod:3246 msgid "" "This library is free software; you can redistribute it and/or modify it " "under the terms of the GNU Lesser General Public License as published by the " @@ -3193,12 +3369,13 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-examples.pod:60 ../examples/guestfs-recipes.pod:412 -#: ../java/examples/guestfs-java.pod:73 -#: ../ocaml/examples/guestfs-ocaml.pod:106 -#: ../perl/examples/guestfs-perl.pod:67 -#: ../python/examples/guestfs-python.pod:69 -#: ../ruby/examples/guestfs-ruby.pod:63 ../src/guestfs.pod:3112 +#: ../erlang/examples/guestfs-erlang.pod:126 +#: ../examples/guestfs-examples.pod:61 ../examples/guestfs-recipes.pod:413 +#: ../java/examples/guestfs-java.pod:74 +#: ../ocaml/examples/guestfs-ocaml.pod:107 +#: ../perl/examples/guestfs-perl.pod:68 +#: ../python/examples/guestfs-python.pod:70 +#: ../ruby/examples/guestfs-ruby.pod:64 ../src/guestfs.pod:3251 msgid "" "This library is distributed in the hope that it will be useful, but WITHOUT " "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or " @@ -3207,18 +3384,75 @@ msgid "" msgstr "" #. type: textblock -#: ../examples/guestfs-examples.pod:65 ../examples/guestfs-recipes.pod:417 -#: ../java/examples/guestfs-java.pod:78 -#: ../ocaml/examples/guestfs-ocaml.pod:111 -#: ../perl/examples/guestfs-perl.pod:72 -#: ../python/examples/guestfs-python.pod:74 -#: ../ruby/examples/guestfs-ruby.pod:68 ../src/guestfs.pod:3117 +#: ../erlang/examples/guestfs-erlang.pod:131 +#: ../examples/guestfs-examples.pod:66 ../examples/guestfs-recipes.pod:418 +#: ../java/examples/guestfs-java.pod:79 +#: ../ocaml/examples/guestfs-ocaml.pod:112 +#: ../perl/examples/guestfs-perl.pod:73 +#: ../python/examples/guestfs-python.pod:75 +#: ../ruby/examples/guestfs-ruby.pod:69 ../src/guestfs.pod:3256 msgid "" "You should have received a copy of the GNU Lesser General Public License " "along with this library; if not, write to the Free Software Foundation, " "Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA" msgstr "" +#. type: textblock +#: ../examples/guestfs-examples.pod:5 +msgid "guestfs-examples - Examples of using libguestfs from C" +msgstr "" + +#. type: verbatim +#: ../examples/guestfs-examples.pod:9 ../src/guestfs.pod:9 +#, no-wrap +msgid "" +" #include \n" +" \n" +msgstr "" + +#. type: verbatim +#: ../examples/guestfs-examples.pod:11 +#, no-wrap +msgid "" +" guestfs_h *g = guestfs_create ();\n" +" guestfs_add_drive_ro (g, \"disk.img\");\n" +" guestfs_launch (g);\n" +"\n" +msgstr "" + +#. type: verbatim +#: ../examples/guestfs-examples.pod:15 ../src/guestfs.pod:19 +#, no-wrap +msgid "" +" cc prog.c -o prog -lguestfs\n" +"or:\n" +" cc prog.c -o prog `pkg-config libguestfs --cflags --libs`\n" +"\n" +msgstr "" + +#. type: textblock +#: ../examples/guestfs-examples.pod:21 +msgid "" +"This manual page contains examples of calling libguestfs from the C " +"programming language. If you are not familiar with using libguestfs, you " +"also need to read L." +msgstr "" + +#. type: textblock +#: ../examples/guestfs-examples.pod:35 +msgid "" +"L, L, L, L, L, L, L, " +"L, L." +msgstr "" + +#. type: textblock +#: ../examples/guestfs-examples.pod:51 ../ocaml/examples/guestfs-ocaml.pod:97 +#: ../python/examples/guestfs-python.pod:60 +#: ../ruby/examples/guestfs-ruby.pod:54 +msgid "Copyright (C) 2010 Red Hat Inc. L" +msgstr "" + #. type: =end #: ../examples/guestfs-recipes.pod:3 ../examples/guestfs-recipes.pod:12 msgid "comment" @@ -3501,9 +3735,10 @@ msgstr "" #. type: textblock #: ../examples/guestfs-recipes.pod:128 ../fish/guestfish-actions.pod:9 -#: ../fish/guestfish-actions.pod:1287 ../fish/guestfish-actions.pod:1929 -#: ../src/guestfs-actions.pod:11 ../src/guestfs-actions.pod:1917 -#: ../src/guestfs-actions.pod:2855 ../src/guestfs.pod:1639 +#: ../fish/guestfish-actions.pod:1327 ../fish/guestfish-actions.pod:1592 +#: ../fish/guestfish-actions.pod:2001 ../src/guestfs-actions.pod:18 +#: ../src/guestfs-actions.pod:2029 ../src/guestfs-actions.pod:2451 +#: ../src/guestfs-actions.pod:3002 ../src/guestfs.pod:1667 #: ../tools/virt-win-reg.pl:706 msgid "Notes:" msgstr "" @@ -4047,13 +4282,13 @@ msgstr "" #. type: textblock #: ../examples/guestfs-recipes.pod:386 msgid "" -"L, L, L, L, " -"L, L, L, L, L." +"L, L, L, L, L, L, L, L, L, L." msgstr "" #. type: textblock -#: ../examples/guestfs-recipes.pod:402 +#: ../examples/guestfs-recipes.pod:403 msgid "Copyright (C) 2009-2011 Red Hat Inc. L" msgstr "" @@ -4071,12 +4306,12 @@ msgid "" msgstr "" #. type: textblock -#: ../fish/guestfish-actions.pod:5 ../src/guestfs-actions.pod:7 +#: ../fish/guestfish-actions.pod:5 ../src/guestfs-actions.pod:14 msgid "This function adds a virtual CD-ROM disk image to the guest." msgstr "" #. type: textblock -#: ../fish/guestfish-actions.pod:7 ../src/guestfs-actions.pod:9 +#: ../fish/guestfish-actions.pod:7 ../src/guestfs-actions.pod:16 msgid "This is equivalent to the qemu parameter I<-cdrom filename>." msgstr "" @@ -4099,31 +4334,30 @@ msgstr "" #. type: textblock #: ../fish/guestfish-actions.pod:28 ../fish/guestfish-actions.pod:163 -#: ../fish/guestfish-actions.pod:177 ../src/guestfs-actions.pod:32 -#: ../src/guestfs-actions.pod:254 ../src/guestfs-actions.pod:275 +#: ../fish/guestfish-actions.pod:177 msgid "" -"This function is deprecated. In new code, use the C call " +"I In new code, use the L call " "instead." msgstr "" #. type: textblock #: ../fish/guestfish-actions.pod:31 ../fish/guestfish-actions.pod:166 -#: ../fish/guestfish-actions.pod:180 ../fish/guestfish-actions.pod:986 -#: ../fish/guestfish-actions.pod:1346 ../fish/guestfish-actions.pod:1360 -#: ../fish/guestfish-actions.pod:3085 ../fish/guestfish-actions.pod:3292 -#: ../fish/guestfish-actions.pod:3406 ../fish/guestfish-actions.pod:3454 -#: ../fish/guestfish-actions.pod:4355 ../fish/guestfish-actions.pod:4378 -#: ../fish/guestfish-actions.pod:4400 ../fish/guestfish-actions.pod:4438 -#: ../fish/guestfish-actions.pod:5087 ../fish/guestfish-actions.pod:5185 -#: ../src/guestfs-actions.pod:35 ../src/guestfs-actions.pod:257 -#: ../src/guestfs-actions.pod:278 ../src/guestfs-actions.pod:1513 -#: ../src/guestfs-actions.pod:2008 ../src/guestfs-actions.pod:2029 -#: ../src/guestfs-actions.pod:4628 ../src/guestfs-actions.pod:4947 -#: ../src/guestfs-actions.pod:5165 ../src/guestfs-actions.pod:5255 -#: ../src/guestfs-actions.pod:6544 ../src/guestfs-actions.pod:6574 -#: ../src/guestfs-actions.pod:6607 ../src/guestfs-actions.pod:6666 -#: ../src/guestfs-actions.pod:7602 ../src/guestfs-actions.pod:7714 -#: ../src/guestfs-actions.pod:7884 +#: ../fish/guestfish-actions.pod:180 ../fish/guestfish-actions.pod:1026 +#: ../fish/guestfish-actions.pod:1386 ../fish/guestfish-actions.pod:1400 +#: ../fish/guestfish-actions.pod:3157 ../fish/guestfish-actions.pod:3364 +#: ../fish/guestfish-actions.pod:3478 ../fish/guestfish-actions.pod:3526 +#: ../fish/guestfish-actions.pod:4439 ../fish/guestfish-actions.pod:4462 +#: ../fish/guestfish-actions.pod:4484 ../fish/guestfish-actions.pod:4522 +#: ../fish/guestfish-actions.pod:5171 ../fish/guestfish-actions.pod:5277 +#: ../src/guestfs-actions.pod:10 ../src/guestfs-actions.pod:252 +#: ../src/guestfs-actions.pod:273 ../src/guestfs-actions.pod:1615 +#: ../src/guestfs-actions.pod:2114 ../src/guestfs-actions.pod:2135 +#: ../src/guestfs-actions.pod:4765 ../src/guestfs-actions.pod:5068 +#: ../src/guestfs-actions.pod:5297 ../src/guestfs-actions.pod:5397 +#: ../src/guestfs-actions.pod:6677 ../src/guestfs-actions.pod:6721 +#: ../src/guestfs-actions.pod:6755 ../src/guestfs-actions.pod:6818 +#: ../src/guestfs-actions.pod:7750 ../src/guestfs-actions.pod:7859 +#: ../src/guestfs-actions.pod:8042 msgid "" "Deprecated functions will not be removed from the API, but the fact that " "they are deprecated indicates that there are problems with correct use of " @@ -4216,9 +4450,10 @@ msgstr "" #. type: textblock #: ../fish/guestfish-actions.pod:79 ../fish/guestfish-actions.pod:143 -#: ../fish/guestfish-actions.pod:568 ../fish/guestfish-actions.pod:1968 -#: ../fish/guestfish-actions.pod:3134 ../fish/guestfish-actions.pod:3307 -#: ../fish/guestfish-actions.pod:3442 +#: ../fish/guestfish-actions.pod:573 ../fish/guestfish-actions.pod:784 +#: ../fish/guestfish-actions.pod:805 ../fish/guestfish-actions.pod:2040 +#: ../fish/guestfish-actions.pod:3206 ../fish/guestfish-actions.pod:3379 +#: ../fish/guestfish-actions.pod:3514 msgid "" "This command has one or more optional arguments. See L." msgstr "" @@ -4295,8 +4530,8 @@ msgid "This call checks that C exists." msgstr "" #. type: textblock -#: ../fish/guestfish-actions.pod:115 ../fish/guestfish-actions.pod:3096 -#: ../src/guestfs-actions.pod:173 ../src/guestfs-actions.pod:4655 +#: ../fish/guestfish-actions.pod:115 ../fish/guestfish-actions.pod:3168 +#: ../src/guestfs-actions.pod:173 ../src/guestfs-actions.pod:4802 msgid "The optional arguments are:" msgstr "" @@ -4602,56 +4837,64 @@ msgstr "" #. type: textblock #: ../fish/guestfish-actions.pod:264 ../src/guestfs-actions.pod:402 -msgid "Typecheck lenses (can be expensive)." +msgid "Typecheck lenses." +msgstr "" + +#. type: textblock +#: ../fish/guestfish-actions.pod:266 +msgid "" +"This option is only useful when debugging Augeas lenses. Use of this option " +"may require additional memory for the libguestfs appliance. You may need to " +"set the C environment variable or call L." msgstr "" #. type: =item -#: ../fish/guestfish-actions.pod:266 ../src/guestfs-actions.pod:404 +#: ../fish/guestfish-actions.pod:271 ../src/guestfs-actions.pod:409 msgid "C = 8" msgstr "" #. type: textblock -#: ../fish/guestfish-actions.pod:268 ../src/guestfs-actions.pod:406 +#: ../fish/guestfish-actions.pod:273 ../src/guestfs-actions.pod:411 msgid "Do not use standard load path for modules." msgstr "" #. type: =item -#: ../fish/guestfish-actions.pod:270 ../src/guestfs-actions.pod:408 +#: ../fish/guestfish-actions.pod:275 ../src/guestfs-actions.pod:413 msgid "C = 16" msgstr "" #. type: textblock -#: ../fish/guestfish-actions.pod:272 ../src/guestfs-actions.pod:410 +#: ../fish/guestfish-actions.pod:277 ../src/guestfs-actions.pod:415 msgid "Make save a no-op, just record what would have been changed." msgstr "" #. type: =item -#: ../fish/guestfish-actions.pod:274 ../src/guestfs-actions.pod:412 +#: ../fish/guestfish-actions.pod:279 ../src/guestfs-actions.pod:417 msgid "C = 32" msgstr "" #. type: textblock -#: ../fish/guestfish-actions.pod:276 +#: ../fish/guestfish-actions.pod:281 msgid "Do not load the tree in L." msgstr "" #. type: textblock -#: ../fish/guestfish-actions.pod:280 +#: ../fish/guestfish-actions.pod:285 msgid "To close the handle, you can call L." msgstr "" #. type: textblock -#: ../fish/guestfish-actions.pod:282 ../src/guestfs-actions.pod:420 +#: ../fish/guestfish-actions.pod:287 ../src/guestfs-actions.pod:425 msgid "To find out more about Augeas, see L." msgstr "" #. type: =head2 -#: ../fish/guestfish-actions.pod:284 +#: ../fish/guestfish-actions.pod:289 msgid "aug-insert" msgstr "" #. type: verbatim -#: ../fish/guestfish-actions.pod:286 +#: ../fish/guestfish-actions.pod:291 #, no-wrap msgid "" " aug-insert augpath label true|false\n" @@ -4659,26 +4902,26 @@ msgid "" msgstr "" #. type: textblock -#: ../fish/guestfish-actions.pod:288 ../src/guestfs-actions.pod:434 +#: ../fish/guestfish-actions.pod:293 ../src/guestfs-actions.pod:439 msgid "" "Create a new sibling C