diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-11-03 14:47:26 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-11-03 14:47:26 +0000 |
commit | f93e8dbb78794029dcc51e8b0d77b5ed4eadac5e (patch) | |
tree | 110b17665c2d2b8f894ef585457173995a236b47 /po-docs | |
parent | 22998927f91f123e7c35d3ebf49e5744f3d7eafe (diff) | |
download | libguestfs-f93e8dbb78794029dcc51e8b0d77b5ed4eadac5e.tar.gz libguestfs-f93e8dbb78794029dcc51e8b0d77b5ed4eadac5e.tar.xz libguestfs-f93e8dbb78794029dcc51e8b0d77b5ed4eadac5e.zip |
Version 1.15.2.1.15.2
Diffstat (limited to 'po-docs')
-rw-r--r-- | po-docs/ja.po | 182 | ||||
-rw-r--r-- | po-docs/libguestfs-docs.pot | 184 | ||||
-rw-r--r-- | po-docs/uk.po | 184 |
3 files changed, 312 insertions, 238 deletions
diff --git a/po-docs/ja.po b/po-docs/ja.po index 6c9560a2..cf21916a 100644 --- a/po-docs/ja.po +++ b/po-docs/ja.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: libguestfs\n" "Report-Msgid-Bugs-To: libguestfs@redhat.com\n" -"POT-Creation-Date: 2011-11-01 14:20+0000\n" +"POT-Creation-Date: 2011-11-03 14:10+0000\n" "PO-Revision-Date: 2011-10-27 09:15+0000\n" "Last-Translator: rjones <rjones@redhat.com>\n" "Language-Team: Japanese <trans-ja@lists.fedoraproject.org>\n" @@ -433,7 +433,7 @@ msgstr "" #: ../cat/virt-filesystems.pod:179 ../cat/virt-ls.pod:337 #: ../clone/virt-sysprep.pod:104 ../df/virt-df.pod:110 #: ../edit/virt-edit.pod:141 ../fish/guestfish.pod:242 -#: ../fish/guestfish.pod:673 ../inspector/virt-inspector.pod:336 +#: ../fish/guestfish.pod:673 ../inspector/virt-inspector.pod:351 #: ../rescue/virt-rescue.pod:161 ../src/guestfs.pod:2877 msgid "For example:" msgstr "" @@ -860,7 +860,7 @@ msgstr "" #: ../align/virt-alignment-scan.pod:311 ../cat/virt-cat.pod:231 #: ../cat/virt-filesystems.pod:373 ../cat/virt-ls.pod:483 #: ../clone/virt-sysprep.pod:475 ../df/virt-df.pod:215 -#: ../edit/virt-edit.pod:342 ../inspector/virt-inspector.pod:352 +#: ../edit/virt-edit.pod:342 ../inspector/virt-inspector.pod:367 #: ../rescue/virt-rescue.pod:303 ../resize/virt-resize.pod:676 #: ../tools/virt-list-filesystems.pl:188 ../tools/virt-list-partitions.pl:258 #: ../tools/virt-make-fs.pl:550 ../tools/virt-tar.pl:289 @@ -872,7 +872,7 @@ msgstr "" #: ../align/virt-alignment-scan.pod:313 ../cat/virt-cat.pod:233 #: ../cat/virt-filesystems.pod:375 ../cat/virt-ls.pod:485 #: ../clone/virt-sysprep.pod:477 ../df/virt-df.pod:217 -#: ../edit/virt-edit.pod:344 ../inspector/virt-inspector.pod:354 +#: ../edit/virt-edit.pod:344 ../inspector/virt-inspector.pod:369 #: ../rescue/virt-rescue.pod:305 ../resize/virt-resize.pod:678 #: ../tools/virt-list-filesystems.pl:190 ../tools/virt-list-partitions.pl:260 #: ../tools/virt-make-fs.pl:552 ../tools/virt-tar.pl:291 @@ -889,7 +889,7 @@ msgstr "" #: ../cat/virt-filesystems.pod:380 ../cat/virt-ls.pod:490 #: ../clone/virt-sysprep.pod:482 ../df/virt-df.pod:222 #: ../edit/virt-edit.pod:349 ../fish/guestfish.pod:1114 -#: ../fuse/guestmount.pod:312 ../inspector/virt-inspector.pod:375 +#: ../fuse/guestmount.pod:312 ../inspector/virt-inspector.pod:390 #: ../resize/virt-resize.pod:683 ../sparsify/virt-sparsify.pod:227 #: ../test-tool/libguestfs-test-tool.pod:90 msgid "EXIT STATUS" @@ -936,8 +936,8 @@ msgstr "" #: ../fish/guestfish-actions.pod:2150 ../fish/guestfish-actions.pod:2157 #: ../fish/guestfish-actions.pod:2164 ../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:359 +#: ../fish/guestfish.pod:457 ../inspector/virt-inspector.pod:408 +#: ../inspector/virt-inspector.pod:412 ../resize/virt-resize.pod:359 #: ../resize/virt-resize.pod:363 ../resize/virt-resize.pod:372 #: ../resize/virt-resize.pod:378 ../sparsify/virt-sparsify.pod:32 #: ../sparsify/virt-sparsify.pod:39 ../sparsify/virt-sparsify.pod:43 @@ -1035,7 +1035,7 @@ msgstr "" #: ../fish/guestfish.pod:1268 ../fish/virt-copy-in.pod:50 #: ../fish/virt-copy-out.pod:39 ../fish/virt-tar-in.pod:47 #: ../fish/virt-tar-out.pod:41 ../fuse/guestmount.pod:317 -#: ../inspector/virt-inspector.pod:380 ../java/examples/guestfs-java.pod:45 +#: ../inspector/virt-inspector.pod:395 ../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:325 #: ../resize/virt-resize.pod:688 ../ruby/examples/guestfs-ruby.pod:36 @@ -1070,7 +1070,7 @@ msgstr "" #: ../align/virt-alignment-scan.pod:363 ../cat/virt-cat.pod:254 #: ../cat/virt-filesystems.pod:398 ../cat/virt-ls.pod:509 #: ../clone/virt-sysprep.pod:503 ../df/virt-df.pod:237 -#: ../edit/virt-edit.pod:370 ../inspector/virt-inspector.pod:395 +#: ../edit/virt-edit.pod:370 ../inspector/virt-inspector.pod:410 #: ../rescue/virt-rescue.pod:336 ../resize/virt-resize.pod:713 #: ../sparsify/virt-sparsify.pod:266 ../tools/virt-list-filesystems.pl:210 #: ../tools/virt-list-partitions.pl:279 ../tools/virt-make-fs.pl:584 @@ -1087,7 +1087,7 @@ msgstr "" #: ../fish/guestfish.pod:1300 ../fish/virt-copy-in.pod:64 #: ../fish/virt-copy-out.pod:53 ../fish/virt-tar-in.pod:62 #: ../fish/virt-tar-out.pod:55 ../fuse/guestmount.pod:332 -#: ../inspector/virt-inspector.pod:403 ../java/examples/guestfs-java.pod:62 +#: ../inspector/virt-inspector.pod:418 ../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:338 #: ../resize/virt-resize.pod:715 ../ruby/examples/guestfs-ruby.pod:52 @@ -1112,7 +1112,7 @@ msgstr "" #: ../edit/virt-edit.pod:376 ../fish/guestfish.pod:1305 #: ../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:337 ../inspector/virt-inspector.pod:407 +#: ../fuse/guestmount.pod:337 ../inspector/virt-inspector.pod:422 #: ../rescue/virt-rescue.pod:342 ../resize/virt-resize.pod:719 #: ../sparsify/virt-sparsify.pod:272 ../test-tool/libguestfs-test-tool.pod:115 #: ../tools/virt-list-filesystems.pl:216 ../tools/virt-list-partitions.pl:285 @@ -1132,7 +1132,7 @@ msgstr "" #: ../edit/virt-edit.pod:381 ../fish/guestfish.pod:1310 #: ../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:342 ../inspector/virt-inspector.pod:412 +#: ../fuse/guestmount.pod:342 ../inspector/virt-inspector.pod:427 #: ../rescue/virt-rescue.pod:347 ../resize/virt-resize.pod:724 #: ../sparsify/virt-sparsify.pod:277 ../test-tool/libguestfs-test-tool.pod:120 #: ../tools/virt-list-filesystems.pl:221 ../tools/virt-list-partitions.pl:290 @@ -1152,7 +1152,7 @@ msgstr "" #: ../edit/virt-edit.pod:386 ../fish/guestfish.pod:1315 #: ../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:347 ../inspector/virt-inspector.pod:417 +#: ../fuse/guestmount.pod:347 ../inspector/virt-inspector.pod:432 #: ../rescue/virt-rescue.pod:352 ../resize/virt-resize.pod:729 #: ../sparsify/virt-sparsify.pod:282 ../test-tool/libguestfs-test-tool.pod:125 #: ../tools/virt-list-filesystems.pl:226 ../tools/virt-list-partitions.pl:295 @@ -1383,7 +1383,7 @@ 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:246 +#: ../inspector/virt-inspector.pod:144 ../rescue/virt-rescue.pod:246 msgid "OLD-STYLE COMMAND LINE ARGUMENTS" msgstr "" @@ -1402,7 +1402,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:252 +#: ../inspector/virt-inspector.pod:150 ../rescue/virt-rescue.pod:252 msgid "or" msgstr "" @@ -1416,7 +1416,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:256 +#: ../inspector/virt-inspector.pod:154 ../rescue/virt-rescue.pod:256 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." @@ -1424,7 +1424,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:260 +#: ../inspector/virt-inspector.pod:158 ../rescue/virt-rescue.pod:260 msgid "For compatibility the old style is still supported." msgstr "" @@ -1540,7 +1540,7 @@ msgstr "" #. type: textblock #: ../cat/virt-cat.pod:240 ../cat/virt-filesystems.pod:382 #: ../cat/virt-ls.pod:492 ../df/virt-df.pod:224 ../edit/virt-edit.pod:351 -#: ../fuse/guestmount.pod:314 ../inspector/virt-inspector.pod:377 +#: ../fuse/guestmount.pod:314 ../inspector/virt-inspector.pod:392 #: ../resize/virt-resize.pod:685 ../sparsify/virt-sparsify.pod:229 msgid "" "This program returns 0 if successful, or non-zero if there was an error." @@ -1554,7 +1554,7 @@ msgid "" msgstr "" #. type: textblock -#: ../cat/virt-cat.pod:258 ../inspector/virt-inspector.pod:405 +#: ../cat/virt-cat.pod:258 ../inspector/virt-inspector.pod:420 #: ../resize/virt-resize.pod:717 ../tools/virt-make-fs.pl:588 msgid "Copyright (C) 2010-2011 Red Hat Inc." msgstr "" @@ -4780,7 +4780,7 @@ msgstr "" #: ../fish/guestfish.pod:1296 ../fish/virt-copy-in.pod:60 #: ../fish/virt-copy-out.pod:49 ../fish/virt-tar-in.pod:58 #: ../fish/virt-tar-out.pod:51 ../fuse/guestmount.pod:328 -#: ../inspector/virt-inspector.pod:389 ../java/examples/guestfs-java.pod:58 +#: ../inspector/virt-inspector.pod:404 ../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:3348 @@ -21632,7 +21632,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:17 ../inspector/virt-inspector.pod:141 +#: ../inspector/virt-inspector.pod:17 ../inspector/virt-inspector.pod:148 #, no-wrap msgid "" " virt-inspector disk.img [disk.img ...]\n" @@ -21747,13 +21747,26 @@ msgid "" "the format is always specified." msgstr "" +#. type: =item +#: ../inspector/virt-inspector.pod:135 +msgid "B<--xpath> query" +msgstr "" + +#. type: textblock +#: ../inspector/virt-inspector.pod:137 +msgid "" +"Perform an XPath query on the XML on stdin, and print the result on stdout. " +"In this mode virt-inspector simply runs an XPath query; all other inspection " +"functions are disabled. See L</XPATH QUERIES> below for some examples." +msgstr "" + #. type: textblock -#: ../inspector/virt-inspector.pod:139 +#: ../inspector/virt-inspector.pod:146 msgid "Previous versions of virt-inspector allowed you to write either:" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:145 +#: ../inspector/virt-inspector.pod:152 #, no-wrap msgid "" " virt-inspector guestname\n" @@ -21761,12 +21774,12 @@ msgid "" msgstr "" #. type: =head1 -#: ../inspector/virt-inspector.pod:153 +#: ../inspector/virt-inspector.pod:160 msgid "XML FORMAT" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:155 +#: ../inspector/virt-inspector.pod:162 msgid "" "The virt-inspector XML is described precisely in a RELAX NG schema file " "C<virt-inspector.rng> which is supplied with libguestfs. This section is " @@ -21774,7 +21787,7 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:159 +#: ../inspector/virt-inspector.pod:166 msgid "" "The top-level element is E<lt>operatingsystemsE<gt>, and it contains one or " "more E<lt>operatingsystemE<gt> elements. You would only see more than one " @@ -21783,12 +21796,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../inspector/virt-inspector.pod:164 +#: ../inspector/virt-inspector.pod:171 msgid "E<lt>operatingsystemE<gt>" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:166 +#: ../inspector/virt-inspector.pod:173 msgid "" "In the E<lt>operatingsystemE<gt> tag are various optional fields that " "describe the operating system, its architecture, the descriptive \"product " @@ -21796,7 +21809,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:170 +#: ../inspector/virt-inspector.pod:177 #, no-wrap msgid "" " <operatingsystems>\n" @@ -21815,7 +21828,7 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:183 +#: ../inspector/virt-inspector.pod:190 msgid "" "In brief, E<lt>nameE<gt> is the class of operating system (something like " "C<linux> or C<windows>), E<lt>distroE<gt> is the distribution (eg. C<fedora> " @@ -21826,7 +21839,7 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:191 +#: ../inspector/virt-inspector.pod:198 msgid "" "The E<lt>rootE<gt> element is the root filesystem device, but from the point " "of view of libguestfs (block devices may have completely different names " @@ -21834,12 +21847,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../inspector/virt-inspector.pod:195 +#: ../inspector/virt-inspector.pod:202 msgid "E<lt>mountpointsE<gt>" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:197 +#: ../inspector/virt-inspector.pod:204 msgid "" "Un*x-like guests typically have multiple filesystems which are mounted at " "various mountpoints, and these are described in the E<lt>mountpointsE<gt> " @@ -21847,7 +21860,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:201 +#: ../inspector/virt-inspector.pod:208 #, no-wrap msgid "" " <operatingsystems>\n" @@ -21861,7 +21874,7 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:209 +#: ../inspector/virt-inspector.pod:216 msgid "" "As with E<lt>rootE<gt>, devices are from the point of view of libguestfs, " "and may have completely different names inside the guest. Only mountable " @@ -21869,12 +21882,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../inspector/virt-inspector.pod:214 +#: ../inspector/virt-inspector.pod:221 msgid "E<lt>filesystemsE<gt>" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:216 +#: ../inspector/virt-inspector.pod:223 msgid "" "E<lt>filesystemsE<gt> is like E<lt>mountpointsE<gt> but covers I<all> " "filesystems belonging to the guest, including swap and empty partitions. " @@ -21883,12 +21896,12 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:222 +#: ../inspector/virt-inspector.pod:229 msgid "You might see something like this:" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:224 +#: ../inspector/virt-inspector.pod:231 #, no-wrap msgid "" " <operatingsystems>\n" @@ -21904,19 +21917,19 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:234 +#: ../inspector/virt-inspector.pod:241 msgid "" "The optional elements within E<lt>filesystemE<gt> are the filesystem type, " "the label, and the UUID." msgstr "" #. type: =head2 -#: ../inspector/virt-inspector.pod:237 +#: ../inspector/virt-inspector.pod:244 msgid "E<lt>applicationsE<gt>" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:239 +#: ../inspector/virt-inspector.pod:246 msgid "" "The related elements E<lt>package_formatE<gt>, E<lt>package_managementE<gt> " "and E<lt>applicationsE<gt> describe applications installed in the virtual " @@ -21924,26 +21937,26 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:243 +#: ../inspector/virt-inspector.pod:250 msgid "" "E<lt>package_formatE<gt>, if present, describes the packaging system used. " "Typical values would be C<rpm> and C<deb>." msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:246 +#: ../inspector/virt-inspector.pod:253 msgid "" "E<lt>package_managementE<gt>, if present, describes the package manager. " "Typical values include C<yum>, C<up2date> and C<apt>" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:249 +#: ../inspector/virt-inspector.pod:256 msgid "E<lt>applicationsE<gt> lists the packages or applications installed." msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:252 +#: ../inspector/virt-inspector.pod:259 #, no-wrap msgid "" " <operatingsystems>\n" @@ -21959,7 +21972,7 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:262 +#: ../inspector/virt-inspector.pod:269 msgid "" "The version and release fields may not be available for some types guests. " "Other fields are possible, see L<guestfs(3)/" @@ -21967,19 +21980,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../inspector/virt-inspector.pod:266 +#: ../inspector/virt-inspector.pod:273 msgid "E<lt>drive_mappingsE<gt>" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:268 +#: ../inspector/virt-inspector.pod:275 msgid "" "For operating systems like Windows which use drive letters, virt-inspector " "is able to find out how drive letters map to filesystems." msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:272 +#: ../inspector/virt-inspector.pod:279 #, no-wrap msgid "" " <operatingsystems>\n" @@ -21993,7 +22006,7 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:280 +#: ../inspector/virt-inspector.pod:287 msgid "" "In the example above, drive C maps to the filesystem on the second partition " "on the first disk, and drive E maps to the filesystem on the first partition " @@ -22001,7 +22014,7 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:284 +#: ../inspector/virt-inspector.pod:291 msgid "" "Note that this only covers permanent local filesystem mappings, not things " "like network shares. Furthermore NTFS volume mount points may not be listed " @@ -22009,12 +22022,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../inspector/virt-inspector.pod:288 +#: ../inspector/virt-inspector.pod:295 msgid "E<lt>iconE<gt>" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:290 +#: ../inspector/virt-inspector.pod:297 msgid "" "Virt-inspector is sometimes able to extract an icon or logo for the guest. " "The icon is returned as base64-encoded PNG data. Note that the icon can be " @@ -22022,7 +22035,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:294 +#: ../inspector/virt-inspector.pod:301 #, no-wrap msgid "" " <operatingsystems>\n" @@ -22036,7 +22049,7 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:302 +#: ../inspector/virt-inspector.pod:309 msgid "" "To display the icon, you have to extract it and convert the base64 data back " "to a binary file. Use an XPath query or simply an editor to extract the " @@ -22045,7 +22058,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:307 +#: ../inspector/virt-inspector.pod:314 #, no-wrap msgid "" " base64 -i -d < icon.data > icon.png\n" @@ -22053,19 +22066,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../inspector/virt-inspector.pod:309 +#: ../inspector/virt-inspector.pod:316 msgid "INSPECTING INSTALL DISKS, LIVE CDs" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:311 +#: ../inspector/virt-inspector.pod:318 msgid "" "Virt-inspector can detect some operating system installers on install disks, " "live CDs, bootable USB keys and more." msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:314 +#: ../inspector/virt-inspector.pod:321 msgid "" "In this case the E<lt>formatE<gt> tag will contain C<installer> and other " "fields may be present to indicate a live CD, network installer, or one part " @@ -22073,7 +22086,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:318 +#: ../inspector/virt-inspector.pod:325 #, no-wrap msgid "" " <operatingsystems>\n" @@ -22091,22 +22104,33 @@ msgid "" msgstr "" #. type: =head1 -#: ../inspector/virt-inspector.pod:330 -msgid "USING XPATH" +#: ../inspector/virt-inspector.pod:337 +msgid "XPATH QUERIES" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:332 +#: ../inspector/virt-inspector.pod:339 msgid "" -"You can use the XPath query language to select parts of the XML. We " -"recommend using C<xmlstarlet> to perform XPath queries from the command line." +"Virt-inspector includes built in support for running XPath queries. The " +"reason for including XPath support directly in virt-inspector is simply that " +"there are no good and widely available command line programs that can do " +"XPath queries. The only good one is L<xmlstarlet(1)> and that is not " +"available on Red Hat Enterprise Linux." +msgstr "" + +#. type: textblock +#: ../inspector/virt-inspector.pod:346 +msgid "" +"To perform an XPath query, use the I<--xpath> option. Note that in this " +"mode, virt-inspector simply reads XML from stdin and outputs the query " +"result on stdout. All other inspection features are disabled in this mode." msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:338 +#: ../inspector/virt-inspector.pod:353 #, no-wrap msgid "" -" $ virt-inspector -d Guest | xmlstarlet sel -t -c '//filesystems'\n" +" $ virt-inspector -d Guest | virt-inspector --xpath '//filesystems'\n" " <filesystems>\n" " <filesystem dev=\"/dev/vg_f13x64/lv_root\">\n" " <type>ext4</type>\n" @@ -22115,32 +22139,32 @@ msgid "" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:344 +#: ../inspector/virt-inspector.pod:359 #, no-wrap msgid "" " $ virt-inspector -d Guest | \\\n" -" xmlstarlet sel -t -c \"string(//filesystem[@dev='/dev/sda1']/type)\"\n" +" virt-inspector --xpath \"string(//filesystem[@dev='/dev/sda1']/type)\"\n" " ext4\n" "\n" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:348 +#: ../inspector/virt-inspector.pod:363 #, no-wrap msgid "" " $ virt-inspector -d Guest | \\\n" -" xmlstarlet sel -t -v '//icon' | base64 -i -d | display -\n" +" virt-inspector --xpath 'string(//icon)' | base64 -i -d | display -\n" " [displays the guest icon, if there is one]\n" "\n" msgstr "" #. type: =head1 -#: ../inspector/virt-inspector.pod:359 +#: ../inspector/virt-inspector.pod:374 msgid "OLD VERSIONS OF VIRT-INSPECTOR" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:361 +#: ../inspector/virt-inspector.pod:376 msgid "" "Early versions of libguestfs shipped with a different virt-inspector program " "written in Perl (the current version is written in C). The XML output of " @@ -22149,20 +22173,20 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:366 +#: ../inspector/virt-inspector.pod:381 msgid "" "The old virt-inspector is no longer supported or shipped with libguestfs." msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:369 +#: ../inspector/virt-inspector.pod:384 msgid "" "To confuse matters further, in Red Hat Enterprise Linux 6 we ship two " "versions of virt-inspector with different names:" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:372 +#: ../inspector/virt-inspector.pod:387 #, no-wrap msgid "" " virt-inspector Old Perl version.\n" @@ -22171,14 +22195,14 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:382 +#: ../inspector/virt-inspector.pod:397 msgid "" "L<guestfs(3)>, L<guestfish(1)>, L<http://www.w3.org/TR/xpath/>, L<base64(1)" ">, L<xmlstarlet(1)>, L<http://libguestfs.org/>." msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:399 +#: ../inspector/virt-inspector.pod:414 msgid "Matthew Booth L<mbooth@redhat.com>" msgstr "" diff --git a/po-docs/libguestfs-docs.pot b/po-docs/libguestfs-docs.pot index 7f99c0e7..180fc70a 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.15.1\n" +"Project-Id-Version: libguestfs 1.15.2\n" "Report-Msgid-Bugs-To: libguestfs@redhat.com\n" -"POT-Creation-Date: 2011-11-01 14:20+0000\n" +"POT-Creation-Date: 2011-11-03 14:10+0000\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" @@ -309,7 +309,7 @@ msgid "" msgstr "" #. type: textblock -#: ../align/virt-alignment-scan.pod:132 ../cat/virt-cat.pod:114 ../cat/virt-filesystems.pod:179 ../cat/virt-ls.pod:337 ../clone/virt-sysprep.pod:104 ../df/virt-df.pod:110 ../edit/virt-edit.pod:141 ../fish/guestfish.pod:242 ../fish/guestfish.pod:673 ../inspector/virt-inspector.pod:336 ../rescue/virt-rescue.pod:161 ../src/guestfs.pod:2877 +#: ../align/virt-alignment-scan.pod:132 ../cat/virt-cat.pod:114 ../cat/virt-filesystems.pod:179 ../cat/virt-ls.pod:337 ../clone/virt-sysprep.pod:104 ../df/virt-df.pod:110 ../edit/virt-edit.pod:141 ../fish/guestfish.pod:242 ../fish/guestfish.pod:673 ../inspector/virt-inspector.pod:351 ../rescue/virt-rescue.pod:161 ../src/guestfs.pod:2877 msgid "For example:" msgstr "" @@ -673,12 +673,12 @@ msgid "" msgstr "" #. type: =head1 -#: ../align/virt-alignment-scan.pod:311 ../cat/virt-cat.pod:231 ../cat/virt-filesystems.pod:373 ../cat/virt-ls.pod:483 ../clone/virt-sysprep.pod:475 ../df/virt-df.pod:215 ../edit/virt-edit.pod:342 ../inspector/virt-inspector.pod:352 ../rescue/virt-rescue.pod:303 ../resize/virt-resize.pod:676 ../tools/virt-list-filesystems.pl:188 ../tools/virt-list-partitions.pl:258 ../tools/virt-make-fs.pl:550 ../tools/virt-tar.pl:289 ../tools/virt-win-reg.pl:744 +#: ../align/virt-alignment-scan.pod:311 ../cat/virt-cat.pod:231 ../cat/virt-filesystems.pod:373 ../cat/virt-ls.pod:483 ../clone/virt-sysprep.pod:475 ../df/virt-df.pod:215 ../edit/virt-edit.pod:342 ../inspector/virt-inspector.pod:367 ../rescue/virt-rescue.pod:303 ../resize/virt-resize.pod:676 ../tools/virt-list-filesystems.pl:188 ../tools/virt-list-partitions.pl:258 ../tools/virt-make-fs.pl:550 ../tools/virt-tar.pl:289 ../tools/virt-win-reg.pl:744 msgid "SHELL QUOTING" msgstr "" #. type: textblock -#: ../align/virt-alignment-scan.pod:313 ../cat/virt-cat.pod:233 ../cat/virt-filesystems.pod:375 ../cat/virt-ls.pod:485 ../clone/virt-sysprep.pod:477 ../df/virt-df.pod:217 ../edit/virt-edit.pod:344 ../inspector/virt-inspector.pod:354 ../rescue/virt-rescue.pod:305 ../resize/virt-resize.pod:678 ../tools/virt-list-filesystems.pl:190 ../tools/virt-list-partitions.pl:260 ../tools/virt-make-fs.pl:552 ../tools/virt-tar.pl:291 ../tools/virt-win-reg.pl:752 +#: ../align/virt-alignment-scan.pod:313 ../cat/virt-cat.pod:233 ../cat/virt-filesystems.pod:375 ../cat/virt-ls.pod:485 ../clone/virt-sysprep.pod:477 ../df/virt-df.pod:217 ../edit/virt-edit.pod:344 ../inspector/virt-inspector.pod:369 ../rescue/virt-rescue.pod:305 ../resize/virt-resize.pod:678 ../tools/virt-list-filesystems.pl:190 ../tools/virt-list-partitions.pl:260 ../tools/virt-make-fs.pl:552 ../tools/virt-tar.pl:291 ../tools/virt-win-reg.pl:752 msgid "" "Libvirt guest names can contain arbitrary characters, some of which have " "meaning to the shell such as C<#> and space. You may need to quote or " @@ -687,7 +687,7 @@ msgid "" msgstr "" #. type: =head1 -#: ../align/virt-alignment-scan.pod:318 ../cat/virt-cat.pod:238 ../cat/virt-filesystems.pod:380 ../cat/virt-ls.pod:490 ../clone/virt-sysprep.pod:482 ../df/virt-df.pod:222 ../edit/virt-edit.pod:349 ../fish/guestfish.pod:1114 ../fuse/guestmount.pod:312 ../inspector/virt-inspector.pod:375 ../resize/virt-resize.pod:683 ../sparsify/virt-sparsify.pod:227 ../test-tool/libguestfs-test-tool.pod:90 +#: ../align/virt-alignment-scan.pod:318 ../cat/virt-cat.pod:238 ../cat/virt-filesystems.pod:380 ../cat/virt-ls.pod:490 ../clone/virt-sysprep.pod:482 ../df/virt-df.pod:222 ../edit/virt-edit.pod:349 ../fish/guestfish.pod:1114 ../fuse/guestmount.pod:312 ../inspector/virt-inspector.pod:390 ../resize/virt-resize.pod:683 ../sparsify/virt-sparsify.pod:227 ../test-tool/libguestfs-test-tool.pod:90 msgid "EXIT STATUS" msgstr "" @@ -697,7 +697,7 @@ msgid "This program returns:" msgstr "" #. type: =item -#: ../align/virt-alignment-scan.pod:324 ../align/virt-alignment-scan.pod:330 ../align/virt-alignment-scan.pod:336 ../align/virt-alignment-scan.pod:343 ../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 ../clone/virt-sysprep.pod:283 ../clone/virt-sysprep.pod:287 ../clone/virt-sysprep.pod:291 ../clone/virt-sysprep.pod:295 ../clone/virt-sysprep.pod:310 ../clone/virt-sysprep.pod:314 ../clone/virt-sysprep.pod:318 ../clone/virt-sysprep.pod:322 ../clone/virt-sysprep.pod:326 ../clone/virt-sysprep.pod:362 ../clone/virt-sysprep.pod:384 ../clone/virt-sysprep.pod:388 ../df/virt-df.pod:148 ../df/virt-df.pod:154 ../edit/virt-edit.pod:266 ../edit/virt-edit.pod:271 ../edit/virt-edit.pod:276 ../edit/virt-edit.pod:287 ../edit/virt-edit.pod:291 ../examples/guestfs-recipes.pod:98 ../examples/guestfs-recipes.pod:102 ../examples/guestfs-recipes.pod:106 ../examples/guestfs-recipes.pod:132 ../examples/guestfs-recipes.pod:137 ../examples/guestfs-recipes.pod:227 ../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:441 ../fish/guestfish-actions.pod:449 ../fish/guestfish-actions.pod:456 ../fish/guestfish-actions.pod:463 ../fish/guestfish-actions.pod:1262 ../fish/guestfish-actions.pod:1266 ../fish/guestfish-actions.pod:1270 ../fish/guestfish-actions.pod:1274 ../fish/guestfish-actions.pod:1282 ../fish/guestfish-actions.pod:1286 ../fish/guestfish-actions.pod:1290 ../fish/guestfish-actions.pod:1300 ../fish/guestfish-actions.pod:1304 ../fish/guestfish-actions.pod:1308 ../fish/guestfish-actions.pod:1398 ../fish/guestfish-actions.pod:1402 ../fish/guestfish-actions.pod:1407 ../fish/guestfish-actions.pod:1412 ../fish/guestfish-actions.pod:1454 ../fish/guestfish-actions.pod:1458 ../fish/guestfish-actions.pod:1463 ../fish/guestfish-actions.pod:1719 ../fish/guestfish-actions.pod:1726 ../fish/guestfish-actions.pod:1733 ../fish/guestfish-actions.pod:2136 ../fish/guestfish-actions.pod:2142 ../fish/guestfish-actions.pod:2150 ../fish/guestfish-actions.pod:2157 ../fish/guestfish-actions.pod:2164 ../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:359 ../resize/virt-resize.pod:363 ../resize/virt-resize.pod:372 ../resize/virt-resize.pod:378 ../sparsify/virt-sparsify.pod:32 ../sparsify/virt-sparsify.pod:39 ../sparsify/virt-sparsify.pod:43 ../sparsify/virt-sparsify.pod:49 ../sparsify/virt-sparsify.pod:54 ../sparsify/virt-sparsify.pod:58 ../sparsify/virt-sparsify.pod:64 ../src/guestfs-actions.pod:22 ../src/guestfs-actions.pod:29 ../src/guestfs-actions.pod:641 ../src/guestfs-actions.pod:649 ../src/guestfs-actions.pod:656 ../src/guestfs-actions.pod:663 ../src/guestfs-actions.pod:2079 ../src/guestfs-actions.pod:2083 ../src/guestfs-actions.pod:2087 ../src/guestfs-actions.pod:2091 ../src/guestfs-actions.pod:2099 ../src/guestfs-actions.pod:2103 ../src/guestfs-actions.pod:2107 ../src/guestfs-actions.pod:2117 ../src/guestfs-actions.pod:2121 ../src/guestfs-actions.pod:2125 ../src/guestfs-actions.pod:2263 ../src/guestfs-actions.pod:2267 ../src/guestfs-actions.pod:2272 ../src/guestfs-actions.pod:2277 ../src/guestfs-actions.pod:2338 ../src/guestfs-actions.pod:2342 ../src/guestfs-actions.pod:2347 ../src/guestfs-actions.pod:2762 ../src/guestfs-actions.pod:2769 ../src/guestfs-actions.pod:2776 ../src/guestfs-actions.pod:3321 ../src/guestfs-actions.pod:3327 ../src/guestfs-actions.pod:3335 ../src/guestfs-actions.pod:3342 ../src/guestfs-actions.pod:3349 ../src/guestfs.pod:403 ../src/guestfs.pod:408 ../src/guestfs.pod:413 ../src/guestfs.pod:417 ../src/guestfs.pod:422 ../src/guestfs.pod:426 ../src/guestfs.pod:431 ../src/guestfs.pod:436 ../src/guestfs.pod:1109 ../src/guestfs.pod:1113 ../src/guestfs.pod:1117 ../src/guestfs.pod:1122 ../src/guestfs.pod:1130 ../src/guestfs.pod:1149 ../src/guestfs.pod:1157 ../src/guestfs.pod:1179 ../src/guestfs.pod:1183 ../src/guestfs.pod:1187 ../src/guestfs.pod:1191 ../src/guestfs.pod:1195 ../src/guestfs.pod:1199 ../src/guestfs.pod:1689 ../src/guestfs.pod:1694 ../src/guestfs.pod:1698 ../src/guestfs.pod:1800 ../src/guestfs.pod:1805 ../src/guestfs.pod:1809 ../src/guestfs.pod:1819 ../src/guestfs.pod:2108 ../src/guestfs.pod:2113 ../src/guestfs.pod:2119 ../src/guestfs.pod:2127 ../src/guestfs.pod:2645 ../src/guestfs.pod:2651 ../src/guestfs.pod:2656 ../src/guestfs.pod:2662 ../src/guestfs.pod:3062 ../src/guestfs.pod:3067 ../src/guestfs.pod:3071 ../src/guestfs.pod:3075 ../src/guestfs.pod:3079 ../src/guestfs.pod:3093 ../src/guestfs.pod:3098 ../src/guestfs.pod:3329 ../src/guestfs.pod:3333 ../src/guestfs.pod:3337 ../src/guestfs.pod:3341 ../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:324 ../align/virt-alignment-scan.pod:330 ../align/virt-alignment-scan.pod:336 ../align/virt-alignment-scan.pod:343 ../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 ../clone/virt-sysprep.pod:283 ../clone/virt-sysprep.pod:287 ../clone/virt-sysprep.pod:291 ../clone/virt-sysprep.pod:295 ../clone/virt-sysprep.pod:310 ../clone/virt-sysprep.pod:314 ../clone/virt-sysprep.pod:318 ../clone/virt-sysprep.pod:322 ../clone/virt-sysprep.pod:326 ../clone/virt-sysprep.pod:362 ../clone/virt-sysprep.pod:384 ../clone/virt-sysprep.pod:388 ../df/virt-df.pod:148 ../df/virt-df.pod:154 ../edit/virt-edit.pod:266 ../edit/virt-edit.pod:271 ../edit/virt-edit.pod:276 ../edit/virt-edit.pod:287 ../edit/virt-edit.pod:291 ../examples/guestfs-recipes.pod:98 ../examples/guestfs-recipes.pod:102 ../examples/guestfs-recipes.pod:106 ../examples/guestfs-recipes.pod:132 ../examples/guestfs-recipes.pod:137 ../examples/guestfs-recipes.pod:227 ../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:441 ../fish/guestfish-actions.pod:449 ../fish/guestfish-actions.pod:456 ../fish/guestfish-actions.pod:463 ../fish/guestfish-actions.pod:1262 ../fish/guestfish-actions.pod:1266 ../fish/guestfish-actions.pod:1270 ../fish/guestfish-actions.pod:1274 ../fish/guestfish-actions.pod:1282 ../fish/guestfish-actions.pod:1286 ../fish/guestfish-actions.pod:1290 ../fish/guestfish-actions.pod:1300 ../fish/guestfish-actions.pod:1304 ../fish/guestfish-actions.pod:1308 ../fish/guestfish-actions.pod:1398 ../fish/guestfish-actions.pod:1402 ../fish/guestfish-actions.pod:1407 ../fish/guestfish-actions.pod:1412 ../fish/guestfish-actions.pod:1454 ../fish/guestfish-actions.pod:1458 ../fish/guestfish-actions.pod:1463 ../fish/guestfish-actions.pod:1719 ../fish/guestfish-actions.pod:1726 ../fish/guestfish-actions.pod:1733 ../fish/guestfish-actions.pod:2136 ../fish/guestfish-actions.pod:2142 ../fish/guestfish-actions.pod:2150 ../fish/guestfish-actions.pod:2157 ../fish/guestfish-actions.pod:2164 ../fish/guestfish.pod:445 ../fish/guestfish.pod:449 ../fish/guestfish.pod:453 ../fish/guestfish.pod:457 ../inspector/virt-inspector.pod:408 ../inspector/virt-inspector.pod:412 ../resize/virt-resize.pod:359 ../resize/virt-resize.pod:363 ../resize/virt-resize.pod:372 ../resize/virt-resize.pod:378 ../sparsify/virt-sparsify.pod:32 ../sparsify/virt-sparsify.pod:39 ../sparsify/virt-sparsify.pod:43 ../sparsify/virt-sparsify.pod:49 ../sparsify/virt-sparsify.pod:54 ../sparsify/virt-sparsify.pod:58 ../sparsify/virt-sparsify.pod:64 ../src/guestfs-actions.pod:22 ../src/guestfs-actions.pod:29 ../src/guestfs-actions.pod:641 ../src/guestfs-actions.pod:649 ../src/guestfs-actions.pod:656 ../src/guestfs-actions.pod:663 ../src/guestfs-actions.pod:2079 ../src/guestfs-actions.pod:2083 ../src/guestfs-actions.pod:2087 ../src/guestfs-actions.pod:2091 ../src/guestfs-actions.pod:2099 ../src/guestfs-actions.pod:2103 ../src/guestfs-actions.pod:2107 ../src/guestfs-actions.pod:2117 ../src/guestfs-actions.pod:2121 ../src/guestfs-actions.pod:2125 ../src/guestfs-actions.pod:2263 ../src/guestfs-actions.pod:2267 ../src/guestfs-actions.pod:2272 ../src/guestfs-actions.pod:2277 ../src/guestfs-actions.pod:2338 ../src/guestfs-actions.pod:2342 ../src/guestfs-actions.pod:2347 ../src/guestfs-actions.pod:2762 ../src/guestfs-actions.pod:2769 ../src/guestfs-actions.pod:2776 ../src/guestfs-actions.pod:3321 ../src/guestfs-actions.pod:3327 ../src/guestfs-actions.pod:3335 ../src/guestfs-actions.pod:3342 ../src/guestfs-actions.pod:3349 ../src/guestfs.pod:403 ../src/guestfs.pod:408 ../src/guestfs.pod:413 ../src/guestfs.pod:417 ../src/guestfs.pod:422 ../src/guestfs.pod:426 ../src/guestfs.pod:431 ../src/guestfs.pod:436 ../src/guestfs.pod:1109 ../src/guestfs.pod:1113 ../src/guestfs.pod:1117 ../src/guestfs.pod:1122 ../src/guestfs.pod:1130 ../src/guestfs.pod:1149 ../src/guestfs.pod:1157 ../src/guestfs.pod:1179 ../src/guestfs.pod:1183 ../src/guestfs.pod:1187 ../src/guestfs.pod:1191 ../src/guestfs.pod:1195 ../src/guestfs.pod:1199 ../src/guestfs.pod:1689 ../src/guestfs.pod:1694 ../src/guestfs.pod:1698 ../src/guestfs.pod:1800 ../src/guestfs.pod:1805 ../src/guestfs.pod:1809 ../src/guestfs.pod:1819 ../src/guestfs.pod:2108 ../src/guestfs.pod:2113 ../src/guestfs.pod:2119 ../src/guestfs.pod:2127 ../src/guestfs.pod:2645 ../src/guestfs.pod:2651 ../src/guestfs.pod:2656 ../src/guestfs.pod:2662 ../src/guestfs.pod:3062 ../src/guestfs.pod:3067 ../src/guestfs.pod:3071 ../src/guestfs.pod:3075 ../src/guestfs.pod:3079 ../src/guestfs.pod:3093 ../src/guestfs.pod:3098 ../src/guestfs.pod:3329 ../src/guestfs.pod:3333 ../src/guestfs.pod:3337 ../src/guestfs.pod:3341 ../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 "" @@ -746,7 +746,7 @@ msgid "" msgstr "" #. type: =head1 -#: ../align/virt-alignment-scan.pod:352 ../cat/virt-cat.pod:243 ../cat/virt-filesystems.pod:385 ../cat/virt-ls.pod:495 ../clone/virt-sysprep.pod:486 ../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:1268 ../fish/virt-copy-in.pod:50 ../fish/virt-copy-out.pod:39 ../fish/virt-tar-in.pod:47 ../fish/virt-tar-out.pod:41 ../fuse/guestmount.pod:317 ../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:325 ../resize/virt-resize.pod:688 ../ruby/examples/guestfs-ruby.pod:36 ../sparsify/virt-sparsify.pod:251 ../src/guestfs.pod:3270 ../test-tool/libguestfs-test-tool.pod:100 ../tools/virt-list-filesystems.pl:195 ../tools/virt-list-partitions.pl:265 ../tools/virt-make-fs.pl:557 ../tools/virt-tar.pl:296 ../tools/virt-win-reg.pl:757 +#: ../align/virt-alignment-scan.pod:352 ../cat/virt-cat.pod:243 ../cat/virt-filesystems.pod:385 ../cat/virt-ls.pod:495 ../clone/virt-sysprep.pod:486 ../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:1268 ../fish/virt-copy-in.pod:50 ../fish/virt-copy-out.pod:39 ../fish/virt-tar-in.pod:47 ../fish/virt-tar-out.pod:41 ../fuse/guestmount.pod:317 ../inspector/virt-inspector.pod:395 ../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:325 ../resize/virt-resize.pod:688 ../ruby/examples/guestfs-ruby.pod:36 ../sparsify/virt-sparsify.pod:251 ../src/guestfs.pod:3270 ../test-tool/libguestfs-test-tool.pod:100 ../tools/virt-list-filesystems.pl:195 ../tools/virt-list-partitions.pl:265 ../tools/virt-make-fs.pl:557 ../tools/virt-tar.pl:296 ../tools/virt-win-reg.pl:757 msgid "SEE ALSO" msgstr "" @@ -763,12 +763,12 @@ msgid "AUTHOR" msgstr "" #. type: textblock -#: ../align/virt-alignment-scan.pod:363 ../cat/virt-cat.pod:254 ../cat/virt-filesystems.pod:398 ../cat/virt-ls.pod:509 ../clone/virt-sysprep.pod:503 ../df/virt-df.pod:237 ../edit/virt-edit.pod:370 ../inspector/virt-inspector.pod:395 ../rescue/virt-rescue.pod:336 ../resize/virt-resize.pod:713 ../sparsify/virt-sparsify.pod:266 ../tools/virt-list-filesystems.pl:210 ../tools/virt-list-partitions.pl:279 ../tools/virt-make-fs.pl:584 ../tools/virt-tar.pl:313 ../tools/virt-win-reg.pl:785 +#: ../align/virt-alignment-scan.pod:363 ../cat/virt-cat.pod:254 ../cat/virt-filesystems.pod:398 ../cat/virt-ls.pod:509 ../clone/virt-sysprep.pod:503 ../df/virt-df.pod:237 ../edit/virt-edit.pod:370 ../inspector/virt-inspector.pod:410 ../rescue/virt-rescue.pod:336 ../resize/virt-resize.pod:713 ../sparsify/virt-sparsify.pod:266 ../tools/virt-list-filesystems.pl:210 ../tools/virt-list-partitions.pl:279 ../tools/virt-make-fs.pl:584 ../tools/virt-tar.pl:313 ../tools/virt-win-reg.pl:785 msgid "Richard W.M. Jones L<http://people.redhat.com/~rjones/>" msgstr "" #. type: =head1 -#: ../align/virt-alignment-scan.pod:365 ../cat/virt-cat.pod:256 ../cat/virt-filesystems.pod:400 ../cat/virt-ls.pod:511 ../clone/virt-sysprep.pod:505 ../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:1300 ../fish/virt-copy-in.pod:64 ../fish/virt-copy-out.pod:53 ../fish/virt-tar-in.pod:62 ../fish/virt-tar-out.pod:55 ../fuse/guestmount.pod:332 ../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:338 ../resize/virt-resize.pod:715 ../ruby/examples/guestfs-ruby.pod:52 ../sparsify/virt-sparsify.pod:268 ../src/guestfs.pod:3352 ../test-tool/libguestfs-test-tool.pod:110 ../tools/virt-list-filesystems.pl:212 ../tools/virt-list-partitions.pl:281 ../tools/virt-make-fs.pl:586 ../tools/virt-tar.pl:315 ../tools/virt-win-reg.pl:787 +#: ../align/virt-alignment-scan.pod:365 ../cat/virt-cat.pod:256 ../cat/virt-filesystems.pod:400 ../cat/virt-ls.pod:511 ../clone/virt-sysprep.pod:505 ../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:1300 ../fish/virt-copy-in.pod:64 ../fish/virt-copy-out.pod:53 ../fish/virt-tar-in.pod:62 ../fish/virt-tar-out.pod:55 ../fuse/guestmount.pod:332 ../inspector/virt-inspector.pod:418 ../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:338 ../resize/virt-resize.pod:715 ../ruby/examples/guestfs-ruby.pod:52 ../sparsify/virt-sparsify.pod:268 ../src/guestfs.pod:3352 ../test-tool/libguestfs-test-tool.pod:110 ../tools/virt-list-filesystems.pl:212 ../tools/virt-list-partitions.pl:281 ../tools/virt-make-fs.pl:586 ../tools/virt-tar.pl:315 ../tools/virt-win-reg.pl:787 msgid "COPYRIGHT" msgstr "" @@ -778,7 +778,7 @@ msgid "Copyright (C) 2011 Red Hat Inc." msgstr "" #. type: textblock -#: ../align/virt-alignment-scan.pod:369 ../cat/virt-cat.pod:260 ../cat/virt-filesystems.pod:404 ../cat/virt-ls.pod:515 ../clone/virt-sysprep.pod:509 ../df/virt-df.pod:243 ../edit/virt-edit.pod:376 ../fish/guestfish.pod:1305 ../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:337 ../inspector/virt-inspector.pod:407 ../rescue/virt-rescue.pod:342 ../resize/virt-resize.pod:719 ../sparsify/virt-sparsify.pod:272 ../test-tool/libguestfs-test-tool.pod:115 ../tools/virt-list-filesystems.pl:216 ../tools/virt-list-partitions.pl:285 ../tools/virt-make-fs.pl:590 ../tools/virt-tar.pl:319 ../tools/virt-win-reg.pl:791 +#: ../align/virt-alignment-scan.pod:369 ../cat/virt-cat.pod:260 ../cat/virt-filesystems.pod:404 ../cat/virt-ls.pod:515 ../clone/virt-sysprep.pod:509 ../df/virt-df.pod:243 ../edit/virt-edit.pod:376 ../fish/guestfish.pod:1305 ../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:337 ../inspector/virt-inspector.pod:422 ../rescue/virt-rescue.pod:342 ../resize/virt-resize.pod:719 ../sparsify/virt-sparsify.pod:272 ../test-tool/libguestfs-test-tool.pod:115 ../tools/virt-list-filesystems.pl:216 ../tools/virt-list-partitions.pl:285 ../tools/virt-make-fs.pl:590 ../tools/virt-tar.pl:319 ../tools/virt-win-reg.pl:791 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 Free " @@ -787,7 +787,7 @@ msgid "" msgstr "" #. type: textblock -#: ../align/virt-alignment-scan.pod:374 ../cat/virt-cat.pod:265 ../cat/virt-filesystems.pod:409 ../cat/virt-ls.pod:520 ../clone/virt-sysprep.pod:514 ../df/virt-df.pod:248 ../edit/virt-edit.pod:381 ../fish/guestfish.pod:1310 ../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:342 ../inspector/virt-inspector.pod:412 ../rescue/virt-rescue.pod:347 ../resize/virt-resize.pod:724 ../sparsify/virt-sparsify.pod:277 ../test-tool/libguestfs-test-tool.pod:120 ../tools/virt-list-filesystems.pl:221 ../tools/virt-list-partitions.pl:290 ../tools/virt-make-fs.pl:595 ../tools/virt-tar.pl:324 ../tools/virt-win-reg.pl:796 +#: ../align/virt-alignment-scan.pod:374 ../cat/virt-cat.pod:265 ../cat/virt-filesystems.pod:409 ../cat/virt-ls.pod:520 ../clone/virt-sysprep.pod:514 ../df/virt-df.pod:248 ../edit/virt-edit.pod:381 ../fish/guestfish.pod:1310 ../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:342 ../inspector/virt-inspector.pod:427 ../rescue/virt-rescue.pod:347 ../resize/virt-resize.pod:724 ../sparsify/virt-sparsify.pod:277 ../test-tool/libguestfs-test-tool.pod:120 ../tools/virt-list-filesystems.pl:221 ../tools/virt-list-partitions.pl:290 ../tools/virt-make-fs.pl:595 ../tools/virt-tar.pl:324 ../tools/virt-win-reg.pl:796 msgid "" "This program is distributed in the hope that it will be useful, but WITHOUT " "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or " @@ -796,7 +796,7 @@ msgid "" msgstr "" #. type: textblock -#: ../align/virt-alignment-scan.pod:379 ../cat/virt-cat.pod:270 ../cat/virt-filesystems.pod:414 ../cat/virt-ls.pod:525 ../clone/virt-sysprep.pod:519 ../df/virt-df.pod:253 ../edit/virt-edit.pod:386 ../fish/guestfish.pod:1315 ../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:347 ../inspector/virt-inspector.pod:417 ../rescue/virt-rescue.pod:352 ../resize/virt-resize.pod:729 ../sparsify/virt-sparsify.pod:282 ../test-tool/libguestfs-test-tool.pod:125 ../tools/virt-list-filesystems.pl:226 ../tools/virt-list-partitions.pl:295 ../tools/virt-make-fs.pl:600 ../tools/virt-tar.pl:329 ../tools/virt-win-reg.pl:801 +#: ../align/virt-alignment-scan.pod:379 ../cat/virt-cat.pod:270 ../cat/virt-filesystems.pod:414 ../cat/virt-ls.pod:525 ../clone/virt-sysprep.pod:519 ../df/virt-df.pod:253 ../edit/virt-edit.pod:386 ../fish/guestfish.pod:1315 ../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:347 ../inspector/virt-inspector.pod:432 ../rescue/virt-rescue.pod:352 ../resize/virt-resize.pod:729 ../sparsify/virt-sparsify.pod:282 ../test-tool/libguestfs-test-tool.pod:125 ../tools/virt-list-filesystems.pl:226 ../tools/virt-list-partitions.pl:295 ../tools/virt-make-fs.pl:600 ../tools/virt-tar.pl:329 ../tools/virt-win-reg.pl:801 msgid "" "You should have received a copy of the GNU General Public License along with " "this program; if not, write to the Free Software Foundation, Inc., 675 Mass " @@ -1005,7 +1005,7 @@ msgid "" 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:246 +#: ../cat/virt-cat.pod:152 ../cat/virt-ls.pod:443 ../edit/virt-edit.pod:179 ../inspector/virt-inspector.pod:144 ../rescue/virt-rescue.pod:246 msgid "OLD-STYLE COMMAND LINE ARGUMENTS" msgstr "" @@ -1023,7 +1023,7 @@ msgid "" 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:252 +#: ../cat/virt-cat.pod:158 ../cat/virt-ls.pod:449 ../edit/virt-edit.pod:185 ../inspector/virt-inspector.pod:150 ../rescue/virt-rescue.pod:252 msgid "or" msgstr "" @@ -1036,14 +1036,14 @@ msgid "" 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:256 +#: ../cat/virt-cat.pod:162 ../cat/virt-ls.pod:453 ../edit/virt-edit.pod:189 ../inspector/virt-inspector.pod:154 ../rescue/virt-rescue.pod:256 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." 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:260 +#: ../cat/virt-cat.pod:166 ../cat/virt-ls.pod:457 ../edit/virt-edit.pod:193 ../inspector/virt-inspector.pod:158 ../rescue/virt-rescue.pod:260 msgid "For compatibility the old style is still supported." msgstr "" @@ -1157,7 +1157,7 @@ msgid "" msgstr "" #. type: textblock -#: ../cat/virt-cat.pod:240 ../cat/virt-filesystems.pod:382 ../cat/virt-ls.pod:492 ../df/virt-df.pod:224 ../edit/virt-edit.pod:351 ../fuse/guestmount.pod:314 ../inspector/virt-inspector.pod:377 ../resize/virt-resize.pod:685 ../sparsify/virt-sparsify.pod:229 +#: ../cat/virt-cat.pod:240 ../cat/virt-filesystems.pod:382 ../cat/virt-ls.pod:492 ../df/virt-df.pod:224 ../edit/virt-edit.pod:351 ../fuse/guestmount.pod:314 ../inspector/virt-inspector.pod:392 ../resize/virt-resize.pod:685 ../sparsify/virt-sparsify.pod:229 msgid "This program returns 0 if successful, or non-zero if there was an error." msgstr "" @@ -1169,7 +1169,7 @@ msgid "" msgstr "" #. type: textblock -#: ../cat/virt-cat.pod:258 ../inspector/virt-inspector.pod:405 ../resize/virt-resize.pod:717 ../tools/virt-make-fs.pl:588 +#: ../cat/virt-cat.pod:258 ../inspector/virt-inspector.pod:420 ../resize/virt-resize.pod:717 ../tools/virt-make-fs.pl:588 msgid "Copyright (C) 2010-2011 Red Hat Inc." msgstr "" @@ -4343,7 +4343,7 @@ msgid "" msgstr "" #. type: =head1 -#: ../erlang/examples/guestfs-erlang.pod:110 ../examples/guestfs-examples.pod:45 ../examples/guestfs-recipes.pod:397 ../fish/guestfish.pod:1296 ../fish/virt-copy-in.pod:60 ../fish/virt-copy-out.pod:49 ../fish/virt-tar-in.pod:58 ../fish/virt-tar-out.pod:51 ../fuse/guestmount.pod:328 ../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:3348 ../test-tool/libguestfs-test-tool.pod:106 +#: ../erlang/examples/guestfs-erlang.pod:110 ../examples/guestfs-examples.pod:45 ../examples/guestfs-recipes.pod:397 ../fish/guestfish.pod:1296 ../fish/virt-copy-in.pod:60 ../fish/virt-copy-out.pod:49 ../fish/virt-tar-in.pod:58 ../fish/virt-tar-out.pod:51 ../fuse/guestmount.pod:328 ../inspector/virt-inspector.pod:404 ../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:3348 ../test-tool/libguestfs-test-tool.pod:106 msgid "AUTHORS" msgstr "" @@ -20929,7 +20929,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:17 ../inspector/virt-inspector.pod:141 +#: ../inspector/virt-inspector.pod:17 ../inspector/virt-inspector.pod:148 #, no-wrap msgid "" " virt-inspector disk.img [disk.img ...]\n" @@ -21037,13 +21037,26 @@ msgid "" "the format is always specified." msgstr "" +#. type: =item +#: ../inspector/virt-inspector.pod:135 +msgid "B<--xpath> query" +msgstr "" + +#. type: textblock +#: ../inspector/virt-inspector.pod:137 +msgid "" +"Perform an XPath query on the XML on stdin, and print the result on stdout. " +"In this mode virt-inspector simply runs an XPath query; all other inspection " +"functions are disabled. See L</XPATH QUERIES> below for some examples." +msgstr "" + #. type: textblock -#: ../inspector/virt-inspector.pod:139 +#: ../inspector/virt-inspector.pod:146 msgid "Previous versions of virt-inspector allowed you to write either:" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:145 +#: ../inspector/virt-inspector.pod:152 #, no-wrap msgid "" " virt-inspector guestname\n" @@ -21051,12 +21064,12 @@ msgid "" msgstr "" #. type: =head1 -#: ../inspector/virt-inspector.pod:153 +#: ../inspector/virt-inspector.pod:160 msgid "XML FORMAT" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:155 +#: ../inspector/virt-inspector.pod:162 msgid "" "The virt-inspector XML is described precisely in a RELAX NG schema file " "C<virt-inspector.rng> which is supplied with libguestfs. This section is " @@ -21064,7 +21077,7 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:159 +#: ../inspector/virt-inspector.pod:166 msgid "" "The top-level element is E<lt>operatingsystemsE<gt>, and it contains one or " "more E<lt>operatingsystemE<gt> elements. You would only see more than one " @@ -21073,12 +21086,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../inspector/virt-inspector.pod:164 +#: ../inspector/virt-inspector.pod:171 msgid "E<lt>operatingsystemE<gt>" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:166 +#: ../inspector/virt-inspector.pod:173 msgid "" "In the E<lt>operatingsystemE<gt> tag are various optional fields that " "describe the operating system, its architecture, the descriptive \"product " @@ -21086,7 +21099,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:170 +#: ../inspector/virt-inspector.pod:177 #, no-wrap msgid "" " <operatingsystems>\n" @@ -21105,7 +21118,7 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:183 +#: ../inspector/virt-inspector.pod:190 msgid "" "In brief, E<lt>nameE<gt> is the class of operating system (something like " "C<linux> or C<windows>), E<lt>distroE<gt> is the distribution (eg. C<fedora> " @@ -21116,7 +21129,7 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:191 +#: ../inspector/virt-inspector.pod:198 msgid "" "The E<lt>rootE<gt> element is the root filesystem device, but from the point " "of view of libguestfs (block devices may have completely different names " @@ -21124,12 +21137,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../inspector/virt-inspector.pod:195 +#: ../inspector/virt-inspector.pod:202 msgid "E<lt>mountpointsE<gt>" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:197 +#: ../inspector/virt-inspector.pod:204 msgid "" "Un*x-like guests typically have multiple filesystems which are mounted at " "various mountpoints, and these are described in the E<lt>mountpointsE<gt> " @@ -21137,7 +21150,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:201 +#: ../inspector/virt-inspector.pod:208 #, no-wrap msgid "" " <operatingsystems>\n" @@ -21151,7 +21164,7 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:209 +#: ../inspector/virt-inspector.pod:216 msgid "" "As with E<lt>rootE<gt>, devices are from the point of view of libguestfs, " "and may have completely different names inside the guest. Only mountable " @@ -21159,12 +21172,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../inspector/virt-inspector.pod:214 +#: ../inspector/virt-inspector.pod:221 msgid "E<lt>filesystemsE<gt>" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:216 +#: ../inspector/virt-inspector.pod:223 msgid "" "E<lt>filesystemsE<gt> is like E<lt>mountpointsE<gt> but covers I<all> " "filesystems belonging to the guest, including swap and empty partitions. " @@ -21173,12 +21186,12 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:222 +#: ../inspector/virt-inspector.pod:229 msgid "You might see something like this:" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:224 +#: ../inspector/virt-inspector.pod:231 #, no-wrap msgid "" " <operatingsystems>\n" @@ -21194,19 +21207,19 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:234 +#: ../inspector/virt-inspector.pod:241 msgid "" "The optional elements within E<lt>filesystemE<gt> are the filesystem type, " "the label, and the UUID." msgstr "" #. type: =head2 -#: ../inspector/virt-inspector.pod:237 +#: ../inspector/virt-inspector.pod:244 msgid "E<lt>applicationsE<gt>" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:239 +#: ../inspector/virt-inspector.pod:246 msgid "" "The related elements E<lt>package_formatE<gt>, E<lt>package_managementE<gt> " "and E<lt>applicationsE<gt> describe applications installed in the virtual " @@ -21214,26 +21227,26 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:243 +#: ../inspector/virt-inspector.pod:250 msgid "" "E<lt>package_formatE<gt>, if present, describes the packaging system used. " "Typical values would be C<rpm> and C<deb>." msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:246 +#: ../inspector/virt-inspector.pod:253 msgid "" "E<lt>package_managementE<gt>, if present, describes the package manager. " "Typical values include C<yum>, C<up2date> and C<apt>" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:249 +#: ../inspector/virt-inspector.pod:256 msgid "E<lt>applicationsE<gt> lists the packages or applications installed." msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:252 +#: ../inspector/virt-inspector.pod:259 #, no-wrap msgid "" " <operatingsystems>\n" @@ -21249,7 +21262,7 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:262 +#: ../inspector/virt-inspector.pod:269 msgid "" "The version and release fields may not be available for some types guests. " "Other fields are possible, see " @@ -21257,19 +21270,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../inspector/virt-inspector.pod:266 +#: ../inspector/virt-inspector.pod:273 msgid "E<lt>drive_mappingsE<gt>" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:268 +#: ../inspector/virt-inspector.pod:275 msgid "" "For operating systems like Windows which use drive letters, virt-inspector " "is able to find out how drive letters map to filesystems." msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:272 +#: ../inspector/virt-inspector.pod:279 #, no-wrap msgid "" " <operatingsystems>\n" @@ -21283,7 +21296,7 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:280 +#: ../inspector/virt-inspector.pod:287 msgid "" "In the example above, drive C maps to the filesystem on the second partition " "on the first disk, and drive E maps to the filesystem on the first partition " @@ -21291,7 +21304,7 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:284 +#: ../inspector/virt-inspector.pod:291 msgid "" "Note that this only covers permanent local filesystem mappings, not things " "like network shares. Furthermore NTFS volume mount points may not be listed " @@ -21299,12 +21312,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../inspector/virt-inspector.pod:288 +#: ../inspector/virt-inspector.pod:295 msgid "E<lt>iconE<gt>" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:290 +#: ../inspector/virt-inspector.pod:297 msgid "" "Virt-inspector is sometimes able to extract an icon or logo for the guest. " "The icon is returned as base64-encoded PNG data. Note that the icon can be " @@ -21312,7 +21325,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:294 +#: ../inspector/virt-inspector.pod:301 #, no-wrap msgid "" " <operatingsystems>\n" @@ -21326,7 +21339,7 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:302 +#: ../inspector/virt-inspector.pod:309 msgid "" "To display the icon, you have to extract it and convert the base64 data back " "to a binary file. Use an XPath query or simply an editor to extract the " @@ -21335,7 +21348,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:307 +#: ../inspector/virt-inspector.pod:314 #, no-wrap msgid "" " base64 -i -d < icon.data > icon.png\n" @@ -21343,19 +21356,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../inspector/virt-inspector.pod:309 +#: ../inspector/virt-inspector.pod:316 msgid "INSPECTING INSTALL DISKS, LIVE CDs" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:311 +#: ../inspector/virt-inspector.pod:318 msgid "" "Virt-inspector can detect some operating system installers on install disks, " "live CDs, bootable USB keys and more." msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:314 +#: ../inspector/virt-inspector.pod:321 msgid "" "In this case the E<lt>formatE<gt> tag will contain C<installer> and other " "fields may be present to indicate a live CD, network installer, or one part " @@ -21363,7 +21376,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:318 +#: ../inspector/virt-inspector.pod:325 #, no-wrap msgid "" " <operatingsystems>\n" @@ -21382,23 +21395,33 @@ msgid "" msgstr "" #. type: =head1 -#: ../inspector/virt-inspector.pod:330 -msgid "USING XPATH" +#: ../inspector/virt-inspector.pod:337 +msgid "XPATH QUERIES" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:332 +#: ../inspector/virt-inspector.pod:339 msgid "" -"You can use the XPath query language to select parts of the XML. We " -"recommend using C<xmlstarlet> to perform XPath queries from the command " -"line." +"Virt-inspector includes built in support for running XPath queries. The " +"reason for including XPath support directly in virt-inspector is simply that " +"there are no good and widely available command line programs that can do " +"XPath queries. The only good one is L<xmlstarlet(1)> and that is not " +"available on Red Hat Enterprise Linux." +msgstr "" + +#. type: textblock +#: ../inspector/virt-inspector.pod:346 +msgid "" +"To perform an XPath query, use the I<--xpath> option. Note that in this " +"mode, virt-inspector simply reads XML from stdin and outputs the query " +"result on stdout. All other inspection features are disabled in this mode." msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:338 +#: ../inspector/virt-inspector.pod:353 #, no-wrap msgid "" -" $ virt-inspector -d Guest | xmlstarlet sel -t -c '//filesystems'\n" +" $ virt-inspector -d Guest | virt-inspector --xpath '//filesystems'\n" " <filesystems>\n" " <filesystem dev=\"/dev/vg_f13x64/lv_root\">\n" " <type>ext4</type>\n" @@ -21407,32 +21430,33 @@ msgid "" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:344 +#: ../inspector/virt-inspector.pod:359 #, no-wrap msgid "" " $ virt-inspector -d Guest | \\\n" -" xmlstarlet sel -t -c \"string(//filesystem[@dev='/dev/sda1']/type)\"\n" +" virt-inspector --xpath " +"\"string(//filesystem[@dev='/dev/sda1']/type)\"\n" " ext4\n" "\n" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:348 +#: ../inspector/virt-inspector.pod:363 #, no-wrap msgid "" " $ virt-inspector -d Guest | \\\n" -" xmlstarlet sel -t -v '//icon' | base64 -i -d | display -\n" +" virt-inspector --xpath 'string(//icon)' | base64 -i -d | display -\n" " [displays the guest icon, if there is one]\n" "\n" msgstr "" #. type: =head1 -#: ../inspector/virt-inspector.pod:359 +#: ../inspector/virt-inspector.pod:374 msgid "OLD VERSIONS OF VIRT-INSPECTOR" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:361 +#: ../inspector/virt-inspector.pod:376 msgid "" "Early versions of libguestfs shipped with a different virt-inspector program " "written in Perl (the current version is written in C). The XML output of " @@ -21441,19 +21465,19 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:366 +#: ../inspector/virt-inspector.pod:381 msgid "The old virt-inspector is no longer supported or shipped with libguestfs." msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:369 +#: ../inspector/virt-inspector.pod:384 msgid "" "To confuse matters further, in Red Hat Enterprise Linux 6 we ship two " "versions of virt-inspector with different names:" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:372 +#: ../inspector/virt-inspector.pod:387 #, no-wrap msgid "" " virt-inspector Old Perl version.\n" @@ -21462,14 +21486,14 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:382 +#: ../inspector/virt-inspector.pod:397 msgid "" "L<guestfs(3)>, L<guestfish(1)>, L<http://www.w3.org/TR/xpath/>, " "L<base64(1)>, L<xmlstarlet(1)>, L<http://libguestfs.org/>." msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:399 +#: ../inspector/virt-inspector.pod:414 msgid "Matthew Booth L<mbooth@redhat.com>" msgstr "" diff --git a/po-docs/uk.po b/po-docs/uk.po index 279bcc7c..dfb612cd 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: 2011-11-01 14:20+0000\n" +"POT-Creation-Date: 2011-11-03 14:10+0000\n" "PO-Revision-Date: 2011-10-27 09:15+0000\n" "Last-Translator: rjones <rjones@redhat.com>\n" "Language-Team: Ukrainian <trans-uk@lists.fedoraproject.org>\n" @@ -433,7 +433,7 @@ msgstr "" #: ../cat/virt-filesystems.pod:179 ../cat/virt-ls.pod:337 #: ../clone/virt-sysprep.pod:104 ../df/virt-df.pod:110 #: ../edit/virt-edit.pod:141 ../fish/guestfish.pod:242 -#: ../fish/guestfish.pod:673 ../inspector/virt-inspector.pod:336 +#: ../fish/guestfish.pod:673 ../inspector/virt-inspector.pod:351 #: ../rescue/virt-rescue.pod:161 ../src/guestfs.pod:2877 msgid "For example:" msgstr "Приклад:" @@ -860,7 +860,7 @@ msgstr "" #: ../align/virt-alignment-scan.pod:311 ../cat/virt-cat.pod:231 #: ../cat/virt-filesystems.pod:373 ../cat/virt-ls.pod:483 #: ../clone/virt-sysprep.pod:475 ../df/virt-df.pod:215 -#: ../edit/virt-edit.pod:342 ../inspector/virt-inspector.pod:352 +#: ../edit/virt-edit.pod:342 ../inspector/virt-inspector.pod:367 #: ../rescue/virt-rescue.pod:303 ../resize/virt-resize.pod:676 #: ../tools/virt-list-filesystems.pl:188 ../tools/virt-list-partitions.pl:258 #: ../tools/virt-make-fs.pl:550 ../tools/virt-tar.pl:289 @@ -872,7 +872,7 @@ msgstr "" #: ../align/virt-alignment-scan.pod:313 ../cat/virt-cat.pod:233 #: ../cat/virt-filesystems.pod:375 ../cat/virt-ls.pod:485 #: ../clone/virt-sysprep.pod:477 ../df/virt-df.pod:217 -#: ../edit/virt-edit.pod:344 ../inspector/virt-inspector.pod:354 +#: ../edit/virt-edit.pod:344 ../inspector/virt-inspector.pod:369 #: ../rescue/virt-rescue.pod:305 ../resize/virt-resize.pod:678 #: ../tools/virt-list-filesystems.pl:190 ../tools/virt-list-partitions.pl:260 #: ../tools/virt-make-fs.pl:552 ../tools/virt-tar.pl:291 @@ -889,7 +889,7 @@ msgstr "" #: ../cat/virt-filesystems.pod:380 ../cat/virt-ls.pod:490 #: ../clone/virt-sysprep.pod:482 ../df/virt-df.pod:222 #: ../edit/virt-edit.pod:349 ../fish/guestfish.pod:1114 -#: ../fuse/guestmount.pod:312 ../inspector/virt-inspector.pod:375 +#: ../fuse/guestmount.pod:312 ../inspector/virt-inspector.pod:390 #: ../resize/virt-resize.pod:683 ../sparsify/virt-sparsify.pod:227 #: ../test-tool/libguestfs-test-tool.pod:90 msgid "EXIT STATUS" @@ -936,8 +936,8 @@ msgstr "" #: ../fish/guestfish-actions.pod:2150 ../fish/guestfish-actions.pod:2157 #: ../fish/guestfish-actions.pod:2164 ../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:359 +#: ../fish/guestfish.pod:457 ../inspector/virt-inspector.pod:408 +#: ../inspector/virt-inspector.pod:412 ../resize/virt-resize.pod:359 #: ../resize/virt-resize.pod:363 ../resize/virt-resize.pod:372 #: ../resize/virt-resize.pod:378 ../sparsify/virt-sparsify.pod:32 #: ../sparsify/virt-sparsify.pod:39 ../sparsify/virt-sparsify.pod:43 @@ -1035,7 +1035,7 @@ msgstr "" #: ../fish/guestfish.pod:1268 ../fish/virt-copy-in.pod:50 #: ../fish/virt-copy-out.pod:39 ../fish/virt-tar-in.pod:47 #: ../fish/virt-tar-out.pod:41 ../fuse/guestmount.pod:317 -#: ../inspector/virt-inspector.pod:380 ../java/examples/guestfs-java.pod:45 +#: ../inspector/virt-inspector.pod:395 ../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:325 #: ../resize/virt-resize.pod:688 ../ruby/examples/guestfs-ruby.pod:36 @@ -1070,7 +1070,7 @@ msgstr "АВТОР" #: ../align/virt-alignment-scan.pod:363 ../cat/virt-cat.pod:254 #: ../cat/virt-filesystems.pod:398 ../cat/virt-ls.pod:509 #: ../clone/virt-sysprep.pod:503 ../df/virt-df.pod:237 -#: ../edit/virt-edit.pod:370 ../inspector/virt-inspector.pod:395 +#: ../edit/virt-edit.pod:370 ../inspector/virt-inspector.pod:410 #: ../rescue/virt-rescue.pod:336 ../resize/virt-resize.pod:713 #: ../sparsify/virt-sparsify.pod:266 ../tools/virt-list-filesystems.pl:210 #: ../tools/virt-list-partitions.pl:279 ../tools/virt-make-fs.pl:584 @@ -1087,7 +1087,7 @@ msgstr "Richard W.M. Jones L<http://people.redhat.com/~rjones/>" #: ../fish/guestfish.pod:1300 ../fish/virt-copy-in.pod:64 #: ../fish/virt-copy-out.pod:53 ../fish/virt-tar-in.pod:62 #: ../fish/virt-tar-out.pod:55 ../fuse/guestmount.pod:332 -#: ../inspector/virt-inspector.pod:403 ../java/examples/guestfs-java.pod:62 +#: ../inspector/virt-inspector.pod:418 ../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:338 #: ../resize/virt-resize.pod:715 ../ruby/examples/guestfs-ruby.pod:52 @@ -1112,7 +1112,7 @@ msgstr "" #: ../edit/virt-edit.pod:376 ../fish/guestfish.pod:1305 #: ../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:337 ../inspector/virt-inspector.pod:407 +#: ../fuse/guestmount.pod:337 ../inspector/virt-inspector.pod:422 #: ../rescue/virt-rescue.pod:342 ../resize/virt-resize.pod:719 #: ../sparsify/virt-sparsify.pod:272 ../test-tool/libguestfs-test-tool.pod:115 #: ../tools/virt-list-filesystems.pl:216 ../tools/virt-list-partitions.pl:285 @@ -1132,7 +1132,7 @@ msgstr "" #: ../edit/virt-edit.pod:381 ../fish/guestfish.pod:1310 #: ../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:342 ../inspector/virt-inspector.pod:412 +#: ../fuse/guestmount.pod:342 ../inspector/virt-inspector.pod:427 #: ../rescue/virt-rescue.pod:347 ../resize/virt-resize.pod:724 #: ../sparsify/virt-sparsify.pod:277 ../test-tool/libguestfs-test-tool.pod:120 #: ../tools/virt-list-filesystems.pl:221 ../tools/virt-list-partitions.pl:290 @@ -1156,7 +1156,7 @@ msgstr "" #: ../edit/virt-edit.pod:386 ../fish/guestfish.pod:1315 #: ../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:347 ../inspector/virt-inspector.pod:417 +#: ../fuse/guestmount.pod:347 ../inspector/virt-inspector.pod:432 #: ../rescue/virt-rescue.pod:352 ../resize/virt-resize.pod:729 #: ../sparsify/virt-sparsify.pod:282 ../test-tool/libguestfs-test-tool.pod:125 #: ../tools/virt-list-filesystems.pl:226 ../tools/virt-list-partitions.pl:295 @@ -1428,7 +1428,7 @@ 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:246 +#: ../inspector/virt-inspector.pod:144 ../rescue/virt-rescue.pod:246 msgid "OLD-STYLE COMMAND LINE ARGUMENTS" msgstr "" @@ -1447,7 +1447,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:252 +#: ../inspector/virt-inspector.pod:150 ../rescue/virt-rescue.pod:252 msgid "or" msgstr "або" @@ -1461,7 +1461,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:256 +#: ../inspector/virt-inspector.pod:154 ../rescue/virt-rescue.pod:256 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." @@ -1469,7 +1469,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:260 +#: ../inspector/virt-inspector.pod:158 ../rescue/virt-rescue.pod:260 msgid "For compatibility the old style is still supported." msgstr "" @@ -1585,7 +1585,7 @@ msgstr "" #. type: textblock #: ../cat/virt-cat.pod:240 ../cat/virt-filesystems.pod:382 #: ../cat/virt-ls.pod:492 ../df/virt-df.pod:224 ../edit/virt-edit.pod:351 -#: ../fuse/guestmount.pod:314 ../inspector/virt-inspector.pod:377 +#: ../fuse/guestmount.pod:314 ../inspector/virt-inspector.pod:392 #: ../resize/virt-resize.pod:685 ../sparsify/virt-sparsify.pod:229 msgid "" "This program returns 0 if successful, or non-zero if there was an error." @@ -1601,7 +1601,7 @@ msgstr "" "tar-out(1)>, L<http://libguestfs.org/>." #. type: textblock -#: ../cat/virt-cat.pod:258 ../inspector/virt-inspector.pod:405 +#: ../cat/virt-cat.pod:258 ../inspector/virt-inspector.pod:420 #: ../resize/virt-resize.pod:717 ../tools/virt-make-fs.pl:588 msgid "Copyright (C) 2010-2011 Red Hat Inc." msgstr "©Red Hat Inc., 2010–2011" @@ -4893,7 +4893,7 @@ msgstr "" #: ../fish/guestfish.pod:1296 ../fish/virt-copy-in.pod:60 #: ../fish/virt-copy-out.pod:49 ../fish/virt-tar-in.pod:58 #: ../fish/virt-tar-out.pod:51 ../fuse/guestmount.pod:328 -#: ../inspector/virt-inspector.pod:389 ../java/examples/guestfs-java.pod:58 +#: ../inspector/virt-inspector.pod:404 ../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:3348 @@ -22234,7 +22234,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:17 ../inspector/virt-inspector.pod:141 +#: ../inspector/virt-inspector.pod:17 ../inspector/virt-inspector.pod:148 #, no-wrap msgid "" " virt-inspector disk.img [disk.img ...]\n" @@ -22349,13 +22349,28 @@ msgid "" "the format is always specified." msgstr "" +#. type: =item +#: ../inspector/virt-inspector.pod:135 +#, fuzzy +#| msgid "B<--parts>" +msgid "B<--xpath> query" +msgstr "B<--parts>" + #. type: textblock -#: ../inspector/virt-inspector.pod:139 +#: ../inspector/virt-inspector.pod:137 +msgid "" +"Perform an XPath query on the XML on stdin, and print the result on stdout. " +"In this mode virt-inspector simply runs an XPath query; all other inspection " +"functions are disabled. See L</XPATH QUERIES> below for some examples." +msgstr "" + +#. type: textblock +#: ../inspector/virt-inspector.pod:146 msgid "Previous versions of virt-inspector allowed you to write either:" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:145 +#: ../inspector/virt-inspector.pod:152 #, no-wrap msgid "" " virt-inspector guestname\n" @@ -22363,12 +22378,12 @@ msgid "" msgstr "" #. type: =head1 -#: ../inspector/virt-inspector.pod:153 +#: ../inspector/virt-inspector.pod:160 msgid "XML FORMAT" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:155 +#: ../inspector/virt-inspector.pod:162 msgid "" "The virt-inspector XML is described precisely in a RELAX NG schema file " "C<virt-inspector.rng> which is supplied with libguestfs. This section is " @@ -22376,7 +22391,7 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:159 +#: ../inspector/virt-inspector.pod:166 msgid "" "The top-level element is E<lt>operatingsystemsE<gt>, and it contains one or " "more E<lt>operatingsystemE<gt> elements. You would only see more than one " @@ -22385,12 +22400,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../inspector/virt-inspector.pod:164 +#: ../inspector/virt-inspector.pod:171 msgid "E<lt>operatingsystemE<gt>" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:166 +#: ../inspector/virt-inspector.pod:173 msgid "" "In the E<lt>operatingsystemE<gt> tag are various optional fields that " "describe the operating system, its architecture, the descriptive \"product " @@ -22398,7 +22413,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:170 +#: ../inspector/virt-inspector.pod:177 #, no-wrap msgid "" " <operatingsystems>\n" @@ -22417,7 +22432,7 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:183 +#: ../inspector/virt-inspector.pod:190 msgid "" "In brief, E<lt>nameE<gt> is the class of operating system (something like " "C<linux> or C<windows>), E<lt>distroE<gt> is the distribution (eg. C<fedora> " @@ -22428,7 +22443,7 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:191 +#: ../inspector/virt-inspector.pod:198 msgid "" "The E<lt>rootE<gt> element is the root filesystem device, but from the point " "of view of libguestfs (block devices may have completely different names " @@ -22436,12 +22451,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../inspector/virt-inspector.pod:195 +#: ../inspector/virt-inspector.pod:202 msgid "E<lt>mountpointsE<gt>" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:197 +#: ../inspector/virt-inspector.pod:204 msgid "" "Un*x-like guests typically have multiple filesystems which are mounted at " "various mountpoints, and these are described in the E<lt>mountpointsE<gt> " @@ -22449,7 +22464,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:201 +#: ../inspector/virt-inspector.pod:208 #, no-wrap msgid "" " <operatingsystems>\n" @@ -22463,7 +22478,7 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:209 +#: ../inspector/virt-inspector.pod:216 msgid "" "As with E<lt>rootE<gt>, devices are from the point of view of libguestfs, " "and may have completely different names inside the guest. Only mountable " @@ -22471,12 +22486,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../inspector/virt-inspector.pod:214 +#: ../inspector/virt-inspector.pod:221 msgid "E<lt>filesystemsE<gt>" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:216 +#: ../inspector/virt-inspector.pod:223 msgid "" "E<lt>filesystemsE<gt> is like E<lt>mountpointsE<gt> but covers I<all> " "filesystems belonging to the guest, including swap and empty partitions. " @@ -22485,12 +22500,12 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:222 +#: ../inspector/virt-inspector.pod:229 msgid "You might see something like this:" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:224 +#: ../inspector/virt-inspector.pod:231 #, no-wrap msgid "" " <operatingsystems>\n" @@ -22506,19 +22521,19 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:234 +#: ../inspector/virt-inspector.pod:241 msgid "" "The optional elements within E<lt>filesystemE<gt> are the filesystem type, " "the label, and the UUID." msgstr "" #. type: =head2 -#: ../inspector/virt-inspector.pod:237 +#: ../inspector/virt-inspector.pod:244 msgid "E<lt>applicationsE<gt>" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:239 +#: ../inspector/virt-inspector.pod:246 msgid "" "The related elements E<lt>package_formatE<gt>, E<lt>package_managementE<gt> " "and E<lt>applicationsE<gt> describe applications installed in the virtual " @@ -22526,26 +22541,26 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:243 +#: ../inspector/virt-inspector.pod:250 msgid "" "E<lt>package_formatE<gt>, if present, describes the packaging system used. " "Typical values would be C<rpm> and C<deb>." msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:246 +#: ../inspector/virt-inspector.pod:253 msgid "" "E<lt>package_managementE<gt>, if present, describes the package manager. " "Typical values include C<yum>, C<up2date> and C<apt>" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:249 +#: ../inspector/virt-inspector.pod:256 msgid "E<lt>applicationsE<gt> lists the packages or applications installed." msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:252 +#: ../inspector/virt-inspector.pod:259 #, no-wrap msgid "" " <operatingsystems>\n" @@ -22561,7 +22576,7 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:262 +#: ../inspector/virt-inspector.pod:269 msgid "" "The version and release fields may not be available for some types guests. " "Other fields are possible, see L<guestfs(3)/" @@ -22569,19 +22584,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../inspector/virt-inspector.pod:266 +#: ../inspector/virt-inspector.pod:273 msgid "E<lt>drive_mappingsE<gt>" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:268 +#: ../inspector/virt-inspector.pod:275 msgid "" "For operating systems like Windows which use drive letters, virt-inspector " "is able to find out how drive letters map to filesystems." msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:272 +#: ../inspector/virt-inspector.pod:279 #, no-wrap msgid "" " <operatingsystems>\n" @@ -22595,7 +22610,7 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:280 +#: ../inspector/virt-inspector.pod:287 msgid "" "In the example above, drive C maps to the filesystem on the second partition " "on the first disk, and drive E maps to the filesystem on the first partition " @@ -22603,7 +22618,7 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:284 +#: ../inspector/virt-inspector.pod:291 msgid "" "Note that this only covers permanent local filesystem mappings, not things " "like network shares. Furthermore NTFS volume mount points may not be listed " @@ -22611,12 +22626,12 @@ msgid "" msgstr "" #. type: =head2 -#: ../inspector/virt-inspector.pod:288 +#: ../inspector/virt-inspector.pod:295 msgid "E<lt>iconE<gt>" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:290 +#: ../inspector/virt-inspector.pod:297 msgid "" "Virt-inspector is sometimes able to extract an icon or logo for the guest. " "The icon is returned as base64-encoded PNG data. Note that the icon can be " @@ -22624,7 +22639,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:294 +#: ../inspector/virt-inspector.pod:301 #, no-wrap msgid "" " <operatingsystems>\n" @@ -22638,7 +22653,7 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:302 +#: ../inspector/virt-inspector.pod:309 msgid "" "To display the icon, you have to extract it and convert the base64 data back " "to a binary file. Use an XPath query or simply an editor to extract the " @@ -22647,7 +22662,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:307 +#: ../inspector/virt-inspector.pod:314 #, no-wrap msgid "" " base64 -i -d < icon.data > icon.png\n" @@ -22655,19 +22670,19 @@ msgid "" msgstr "" #. type: =head2 -#: ../inspector/virt-inspector.pod:309 +#: ../inspector/virt-inspector.pod:316 msgid "INSPECTING INSTALL DISKS, LIVE CDs" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:311 +#: ../inspector/virt-inspector.pod:318 msgid "" "Virt-inspector can detect some operating system installers on install disks, " "live CDs, bootable USB keys and more." msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:314 +#: ../inspector/virt-inspector.pod:321 msgid "" "In this case the E<lt>formatE<gt> tag will contain C<installer> and other " "fields may be present to indicate a live CD, network installer, or one part " @@ -22675,7 +22690,7 @@ msgid "" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:318 +#: ../inspector/virt-inspector.pod:325 #, no-wrap msgid "" " <operatingsystems>\n" @@ -22693,22 +22708,33 @@ msgid "" msgstr "" #. type: =head1 -#: ../inspector/virt-inspector.pod:330 -msgid "USING XPATH" +#: ../inspector/virt-inspector.pod:337 +msgid "XPATH QUERIES" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:332 +#: ../inspector/virt-inspector.pod:339 msgid "" -"You can use the XPath query language to select parts of the XML. We " -"recommend using C<xmlstarlet> to perform XPath queries from the command line." +"Virt-inspector includes built in support for running XPath queries. The " +"reason for including XPath support directly in virt-inspector is simply that " +"there are no good and widely available command line programs that can do " +"XPath queries. The only good one is L<xmlstarlet(1)> and that is not " +"available on Red Hat Enterprise Linux." +msgstr "" + +#. type: textblock +#: ../inspector/virt-inspector.pod:346 +msgid "" +"To perform an XPath query, use the I<--xpath> option. Note that in this " +"mode, virt-inspector simply reads XML from stdin and outputs the query " +"result on stdout. All other inspection features are disabled in this mode." msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:338 +#: ../inspector/virt-inspector.pod:353 #, no-wrap msgid "" -" $ virt-inspector -d Guest | xmlstarlet sel -t -c '//filesystems'\n" +" $ virt-inspector -d Guest | virt-inspector --xpath '//filesystems'\n" " <filesystems>\n" " <filesystem dev=\"/dev/vg_f13x64/lv_root\">\n" " <type>ext4</type>\n" @@ -22717,32 +22743,32 @@ msgid "" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:344 +#: ../inspector/virt-inspector.pod:359 #, no-wrap msgid "" " $ virt-inspector -d Guest | \\\n" -" xmlstarlet sel -t -c \"string(//filesystem[@dev='/dev/sda1']/type)\"\n" +" virt-inspector --xpath \"string(//filesystem[@dev='/dev/sda1']/type)\"\n" " ext4\n" "\n" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:348 +#: ../inspector/virt-inspector.pod:363 #, no-wrap msgid "" " $ virt-inspector -d Guest | \\\n" -" xmlstarlet sel -t -v '//icon' | base64 -i -d | display -\n" +" virt-inspector --xpath 'string(//icon)' | base64 -i -d | display -\n" " [displays the guest icon, if there is one]\n" "\n" msgstr "" #. type: =head1 -#: ../inspector/virt-inspector.pod:359 +#: ../inspector/virt-inspector.pod:374 msgid "OLD VERSIONS OF VIRT-INSPECTOR" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:361 +#: ../inspector/virt-inspector.pod:376 msgid "" "Early versions of libguestfs shipped with a different virt-inspector program " "written in Perl (the current version is written in C). The XML output of " @@ -22751,20 +22777,20 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:366 +#: ../inspector/virt-inspector.pod:381 msgid "" "The old virt-inspector is no longer supported or shipped with libguestfs." msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:369 +#: ../inspector/virt-inspector.pod:384 msgid "" "To confuse matters further, in Red Hat Enterprise Linux 6 we ship two " "versions of virt-inspector with different names:" msgstr "" #. type: verbatim -#: ../inspector/virt-inspector.pod:372 +#: ../inspector/virt-inspector.pod:387 #, no-wrap msgid "" " virt-inspector Old Perl version.\n" @@ -22773,14 +22799,14 @@ msgid "" msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:382 +#: ../inspector/virt-inspector.pod:397 msgid "" "L<guestfs(3)>, L<guestfish(1)>, L<http://www.w3.org/TR/xpath/>, L<base64(1)" ">, L<xmlstarlet(1)>, L<http://libguestfs.org/>." msgstr "" #. type: textblock -#: ../inspector/virt-inspector.pod:399 +#: ../inspector/virt-inspector.pod:414 msgid "Matthew Booth L<mbooth@redhat.com>" msgstr "" |