X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=po-docs%2Fja.po;h=0d3959f07a5b83b46ed3209ba437a31d91485d8d;hp=95acacc5ca32a42f6d65eecc03c0fdf5604c2601;hb=56da696fc24fb2c398965d8cfc3c621dcfe06e9a;hpb=8ad79a7c4de406579cf38d938edf44a8b659d03a diff --git a/po-docs/ja.po b/po-docs/ja.po index 95acacc..0d3959f 100644 --- a/po-docs/ja.po +++ b/po-docs/ja.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: libguestfs@redhat.com\n" -"POT-Creation-Date: 2010-09-02 20:33+0200\n" +"POT-Creation-Date: 2010-09-04 10:26+0200\n" "PO-Revision-Date: 2010-09-02 14:46+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -134,7 +134,8 @@ msgstr "" msgid "" "Libguestfs is a library that can be linked with C and C++ management " "programs (or management programs written in OCaml, Perl, Python, Ruby, Java, " -"Haskell or C#). You can also use it from shell scripts or the command line." +"PHP, Haskell or C#). You can also use it from shell scripts or the command " +"line." msgstr "" # type: textblock @@ -746,13 +747,13 @@ msgstr "" # type: =item #: ../src/guestfs.pod:345 ../src/guestfs.pod:350 ../src/guestfs.pod:355 #: ../src/guestfs.pod:359 ../src/guestfs.pod:364 ../src/guestfs.pod:368 -#: ../src/guestfs.pod:373 ../src/guestfs.pod:1214 ../src/guestfs.pod:1219 -#: ../src/guestfs.pod:1223 ../src/guestfs.pod:1325 ../src/guestfs.pod:1329 -#: ../src/guestfs.pod:1333 ../src/guestfs.pod:1338 ../src/guestfs.pod:1346 -#: ../src/guestfs.pod:1365 ../src/guestfs.pod:1373 ../src/guestfs.pod:1587 -#: ../src/guestfs.pod:1593 ../src/guestfs.pod:1598 ../src/guestfs.pod:1604 -#: ../src/guestfs.pod:1711 ../src/guestfs.pod:1715 ../src/guestfs.pod:1719 -#: ../src/guestfs.pod:1723 ../src/guestfs-actions.pod:14 +#: ../src/guestfs.pod:373 ../src/guestfs.pod:1226 ../src/guestfs.pod:1231 +#: ../src/guestfs.pod:1235 ../src/guestfs.pod:1337 ../src/guestfs.pod:1341 +#: ../src/guestfs.pod:1345 ../src/guestfs.pod:1350 ../src/guestfs.pod:1358 +#: ../src/guestfs.pod:1377 ../src/guestfs.pod:1385 ../src/guestfs.pod:1599 +#: ../src/guestfs.pod:1605 ../src/guestfs.pod:1610 ../src/guestfs.pod:1616 +#: ../src/guestfs.pod:1723 ../src/guestfs.pod:1727 ../src/guestfs.pod:1731 +#: ../src/guestfs.pod:1735 ../src/guestfs-actions.pod:14 #: ../src/guestfs-actions.pod:21 ../src/guestfs-actions.pod:372 #: ../src/guestfs-actions.pod:380 ../src/guestfs-actions.pod:387 #: ../src/guestfs-actions.pod:394 ../src/guestfs-actions.pod:1257 @@ -1317,16 +1318,33 @@ msgstr "" # type: =item #: ../src/guestfs.pod:629 -msgid "B" +msgid "B" msgstr "" # type: textblock #: ../src/guestfs.pod:631 +msgid "" +"For documentation see C supplied with libguestfs sources or in " +"the php-libguestfs package for your distribution." +msgstr "" + +# type: textblock +#: ../src/guestfs.pod:634 +msgid "The PHP binding only works correctly on 64 bit machines." +msgstr "" + +# type: =item +#: ../src/guestfs.pod:636 +msgid "B" +msgstr "" + +# type: textblock +#: ../src/guestfs.pod:638 msgid "For documentation do:" msgstr "" # type: verbatim -#: ../src/guestfs.pod:633 +#: ../src/guestfs.pod:640 #, no-wrap msgid "" " $ python\n" @@ -1336,34 +1354,34 @@ msgid "" msgstr "" # type: =item -#: ../src/guestfs.pod:637 +#: ../src/guestfs.pod:644 msgid "B" msgstr "" # type: textblock -#: ../src/guestfs.pod:639 +#: ../src/guestfs.pod:646 msgid "" "Use the Guestfs module. There is no Ruby-specific documentation, but you " "can find examples written in Ruby in the libguestfs source." msgstr "" # type: =item -#: ../src/guestfs.pod:642 +#: ../src/guestfs.pod:649 msgid "B" msgstr "" # type: textblock -#: ../src/guestfs.pod:644 +#: ../src/guestfs.pod:651 msgid "For documentation see L." msgstr "" # type: =head2 -#: ../src/guestfs.pod:648 +#: ../src/guestfs.pod:655 msgid "LIBGUESTFS GOTCHAS" msgstr "" # type: textblock -#: ../src/guestfs.pod:650 +#: ../src/guestfs.pod:657 msgid "" "L: \"A feature of a " "system [...] that works in the way it is documented but is counterintuitive " @@ -1371,7 +1389,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:654 +#: ../src/guestfs.pod:661 msgid "" "Since we developed libguestfs and the associated tools, there are several " "things we would have designed differently, but are now stuck with for " @@ -1380,12 +1398,12 @@ msgid "" msgstr "" # type: =item -#: ../src/guestfs.pod:662 +#: ../src/guestfs.pod:669 msgid "Autosync / forgetting to sync." msgstr "" # type: textblock -#: ../src/guestfs.pod:664 +#: ../src/guestfs.pod:671 msgid "" "When modifying a filesystem from C or another language, you B unmount " "all filesystems and call L explicitly before you close the " @@ -1393,7 +1411,7 @@ msgid "" msgstr "" # type: verbatim -#: ../src/guestfs.pod:668 +#: ../src/guestfs.pod:675 #, no-wrap msgid "" " guestfs_set_autosync (g, 1);\n" @@ -1401,14 +1419,14 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:670 +#: ../src/guestfs.pod:677 msgid "" "to have the unmount/sync done automatically for you when the handle 'g' is " "closed. (This feature is called \"autosync\", L q.v.)" msgstr "" # type: textblock -#: ../src/guestfs.pod:674 +#: ../src/guestfs.pod:681 msgid "" "If you forget to do this, then it is entirely possible that your changes " "won't be written out, or will be partially written, or (very rarely) that " @@ -1416,7 +1434,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:678 +#: ../src/guestfs.pod:685 msgid "" "Note that in L autosync is the default. So quick and dirty " "guestfish scripts that forget to sync will work just fine, which can make " @@ -1424,12 +1442,12 @@ msgid "" msgstr "" # type: =item -#: ../src/guestfs.pod:682 +#: ../src/guestfs.pod:689 msgid "Mount option C<-o sync> should not be the default." msgstr "" # type: textblock -#: ../src/guestfs.pod:684 +#: ../src/guestfs.pod:691 msgid "" "If you use L, then C<-o sync,noatime> are added implicitly. " "However C<-o sync> does not add any reliability benefit, but does have a " @@ -1437,31 +1455,31 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:688 +#: ../src/guestfs.pod:695 msgid "" "The work around is to use L and set the mount " "options that you actually want to use." msgstr "" # type: =item -#: ../src/guestfs.pod:691 +#: ../src/guestfs.pod:698 msgid "Read-only should be the default." msgstr "" # type: textblock -#: ../src/guestfs.pod:693 +#: ../src/guestfs.pod:700 msgid "" "In L, I<--ro> should be the default, and you should have to " "specify I<--rw> if you want to make changes to the image." msgstr "" # type: textblock -#: ../src/guestfs.pod:696 +#: ../src/guestfs.pod:703 msgid "This would reduce the potential to corrupt live VM images." msgstr "" # type: textblock -#: ../src/guestfs.pod:698 +#: ../src/guestfs.pod:705 msgid "" "Note that many filesystems change the disk when you just mount and unmount, " "even if you didn't perform any writes. You need to use L doesn't do what people expect (open C for " "examination). It tries to run a guestfish command C which doesn't " @@ -1484,12 +1502,12 @@ msgid "" msgstr "" # type: =item -#: ../src/guestfs.pod:711 +#: ../src/guestfs.pod:718 msgid "guestfish megabyte modifiers don't work right on all commands" msgstr "" # type: textblock -#: ../src/guestfs.pod:713 +#: ../src/guestfs.pod:720 msgid "" "In recent guestfish you can use C<1M> to mean 1 megabyte (and similarly for " "other modifiers). What guestfish actually does is to multiply the number " @@ -1499,12 +1517,12 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:720 +#: ../src/guestfs.pod:727 msgid "The most common is L. The guestfish command:" msgstr "" # type: verbatim -#: ../src/guestfs.pod:722 +#: ../src/guestfs.pod:729 #, no-wrap msgid "" " lvcreate LV VG 100M\n" @@ -1512,7 +1530,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:724 +#: ../src/guestfs.pod:731 msgid "" "does not do what you might expect. Instead because L is " "already expecting megabytes, this tries to create a 100 I (100 " @@ -1521,19 +1539,19 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:729 +#: ../src/guestfs.pod:736 msgid "" "This could be fixed in the generator by specially marking parameters and " "return values which take bytes or other units." msgstr "" # type: =item -#: ../src/guestfs.pod:732 +#: ../src/guestfs.pod:739 msgid "Library should return errno with error messages." msgstr "" # type: textblock -#: ../src/guestfs.pod:734 +#: ../src/guestfs.pod:741 msgid "" "It would be a nice-to-have to be able to get the original value of 'errno' " "from inside the appliance along error paths (where set). Currently " @@ -1542,19 +1560,19 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:740 +#: ../src/guestfs.pod:747 msgid "" "In libguestfs 1.5.4, the protocol was changed so that the Linux errno is " "sent back from the daemon." msgstr "" # type: =head2 -#: ../src/guestfs.pod:745 +#: ../src/guestfs.pod:752 msgid "PROTOCOL LIMITS" msgstr "" # type: textblock -#: ../src/guestfs.pod:747 +#: ../src/guestfs.pod:754 msgid "" "Internally libguestfs uses a message-based protocol to pass API calls and " "their responses to and from a small \"appliance\" (see L for " @@ -1565,7 +1583,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:755 +#: ../src/guestfs.pod:762 msgid "" "A simple call such as L returns its result (the file data) in " "a simple string. Because this string is at some point internally encoded as " @@ -1574,7 +1592,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:761 +#: ../src/guestfs.pod:768 msgid "" "In order to transfer large files into and out of the guest filesystem, you " "need to use particular calls that support this. The sections L " @@ -1582,26 +1600,26 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:765 +#: ../src/guestfs.pod:772 msgid "" "You might also consider mounting the disk image using our FUSE filesystem " "support (L)." msgstr "" # type: =head2 -#: ../src/guestfs.pod:768 +#: ../src/guestfs.pod:775 msgid "KEYS AND PASSPHRASES" msgstr "" # type: textblock -#: ../src/guestfs.pod:770 +#: ../src/guestfs.pod:777 msgid "" "Certain libguestfs calls take a parameter that contains sensitive key " "material, passed in as a C string." msgstr "" # type: textblock -#: ../src/guestfs.pod:773 +#: ../src/guestfs.pod:780 msgid "" "In the future we would hope to change the libguestfs implementation so that " "keys are L-ed into physical RAM, and thus can never end up in " @@ -1610,7 +1628,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:778 +#: ../src/guestfs.pod:785 msgid "" "Therefore you should be aware that any key parameter you pass to libguestfs " "might end up being written out to the swap partition. If this is a concern, " @@ -1618,17 +1636,17 @@ msgid "" msgstr "" # type: =head1 -#: ../src/guestfs.pod:783 +#: ../src/guestfs.pod:790 msgid "CONNECTION MANAGEMENT" msgstr "" # type: =head2 -#: ../src/guestfs.pod:785 +#: ../src/guestfs.pod:792 msgid "guestfs_h *" msgstr "" # type: textblock -#: ../src/guestfs.pod:787 +#: ../src/guestfs.pod:794 msgid "" "C is the opaque type representing a connection handle. Create a " "handle by calling L. Call L to free the " @@ -1636,19 +1654,19 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:791 +#: ../src/guestfs.pod:798 msgid "" "For information on using multiple handles and threads, see the section L below." msgstr "" # type: =head2 -#: ../src/guestfs.pod:794 +#: ../src/guestfs.pod:801 msgid "guestfs_create" msgstr "" # type: verbatim -#: ../src/guestfs.pod:796 +#: ../src/guestfs.pod:803 #, no-wrap msgid "" " guestfs_h *guestfs_create (void);\n" @@ -1656,41 +1674,41 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:798 +#: ../src/guestfs.pod:805 msgid "Create a connection handle." msgstr "" # type: textblock -#: ../src/guestfs.pod:800 +#: ../src/guestfs.pod:807 msgid "You have to call L on the handle at least once." msgstr "" # type: textblock -#: ../src/guestfs.pod:802 +#: ../src/guestfs.pod:809 msgid "" "This function returns a non-NULL pointer to a handle on success or NULL on " "error." msgstr "" # type: textblock -#: ../src/guestfs.pod:805 +#: ../src/guestfs.pod:812 msgid "After configuring the handle, you have to call L." msgstr "" # type: textblock -#: ../src/guestfs.pod:807 +#: ../src/guestfs.pod:814 msgid "" "You may also want to configure error handling for the handle. See L section below." msgstr "" # type: =head2 -#: ../src/guestfs.pod:810 +#: ../src/guestfs.pod:817 msgid "guestfs_close" msgstr "" # type: verbatim -#: ../src/guestfs.pod:812 +#: ../src/guestfs.pod:819 #, no-wrap msgid "" " void guestfs_close (guestfs_h *g);\n" @@ -1698,17 +1716,17 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:814 +#: ../src/guestfs.pod:821 msgid "This closes the connection handle and frees up all resources used." msgstr "" # type: =head1 -#: ../src/guestfs.pod:816 +#: ../src/guestfs.pod:823 msgid "ERROR HANDLING" msgstr "" # type: textblock -#: ../src/guestfs.pod:818 +#: ../src/guestfs.pod:825 msgid "" "The convention in all functions that return C is that they return C<-1> " "to indicate an error. You can get additional information on errors by " @@ -1717,12 +1735,12 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:823 +#: ../src/guestfs.pod:830 msgid "The default error handler prints the information string to C." msgstr "" # type: textblock -#: ../src/guestfs.pod:825 +#: ../src/guestfs.pod:832 msgid "" "Out of memory errors are handled differently. The default action is to call " "L. If this is undesirable, then you can set a handler using L. If there has not " "been an error since the handle was created, then this returns C." msgstr "" # type: textblock -#: ../src/guestfs.pod:837 +#: ../src/guestfs.pod:844 msgid "" "The lifetime of the returned string is until the next error occurs, or L is called." msgstr "" # type: textblock -#: ../src/guestfs.pod:840 +#: ../src/guestfs.pod:847 msgid "" "The error string is not localized (ie. is always in English), because this " "makes searching for error messages in search engines give the largest number " @@ -1765,12 +1783,12 @@ msgid "" msgstr "" # type: =head2 -#: ../src/guestfs.pod:844 +#: ../src/guestfs.pod:851 msgid "guestfs_set_error_handler" msgstr "" # type: verbatim -#: ../src/guestfs.pod:846 +#: ../src/guestfs.pod:853 #, no-wrap msgid "" " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n" @@ -1783,7 +1801,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:853 +#: ../src/guestfs.pod:860 msgid "" "The callback C will be called if there is an error. The parameters " "passed to the callback are an opaque data pointer and the error message " @@ -1791,7 +1809,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:857 +#: ../src/guestfs.pod:864 msgid "" "Note that the message string C is freed as soon as the callback " "function returns, so if you want to stash it somewhere you must make your " @@ -1799,22 +1817,22 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:861 +#: ../src/guestfs.pod:868 msgid "The default handler prints messages on C." msgstr "" # type: textblock -#: ../src/guestfs.pod:863 +#: ../src/guestfs.pod:870 msgid "If you set C to C then I handler is called." msgstr "" # type: =head2 -#: ../src/guestfs.pod:865 +#: ../src/guestfs.pod:872 msgid "guestfs_get_error_handler" msgstr "" # type: verbatim -#: ../src/guestfs.pod:867 +#: ../src/guestfs.pod:874 #, no-wrap msgid "" " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n" @@ -1823,17 +1841,17 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:870 +#: ../src/guestfs.pod:877 msgid "Returns the current error handler callback." msgstr "" # type: =head2 -#: ../src/guestfs.pod:872 +#: ../src/guestfs.pod:879 msgid "guestfs_set_out_of_memory_handler" msgstr "" # type: verbatim -#: ../src/guestfs.pod:874 +#: ../src/guestfs.pod:881 #, no-wrap msgid "" " typedef void (*guestfs_abort_cb) (void);\n" @@ -1843,30 +1861,30 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:878 +#: ../src/guestfs.pod:885 msgid "" "The callback C will be called if there is an out of memory situation. " "I." msgstr "" # type: textblock -#: ../src/guestfs.pod:881 +#: ../src/guestfs.pod:888 msgid "The default is to call L." msgstr "" # type: textblock -#: ../src/guestfs.pod:883 +#: ../src/guestfs.pod:890 msgid "" "You cannot set C to C. You can't ignore out of memory situations." msgstr "" # type: =head2 -#: ../src/guestfs.pod:886 +#: ../src/guestfs.pod:893 msgid "guestfs_get_out_of_memory_handler" msgstr "" # type: verbatim -#: ../src/guestfs.pod:888 +#: ../src/guestfs.pod:895 #, no-wrap msgid "" " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n" @@ -1874,31 +1892,31 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:890 +#: ../src/guestfs.pod:897 msgid "This returns the current out of memory handler." msgstr "" # type: =head1 -#: ../src/guestfs.pod:892 +#: ../src/guestfs.pod:899 msgid "PATH" msgstr "" # type: textblock -#: ../src/guestfs.pod:894 +#: ../src/guestfs.pod:901 msgid "" "Libguestfs needs a kernel and initrd.img, which it finds by looking along an " "internal path." msgstr "" # type: textblock -#: ../src/guestfs.pod:897 +#: ../src/guestfs.pod:904 msgid "" "By default it looks for these in the directory C<$libdir/guestfs> (eg. C or C)." msgstr "" # type: textblock -#: ../src/guestfs.pod:900 +#: ../src/guestfs.pod:907 msgid "" "Use L or set the environment variable L " "to change the directories that libguestfs will search in. The value is a " @@ -1909,17 +1927,17 @@ msgid "" msgstr "" # type: =head1 -#: ../src/guestfs.pod:907 +#: ../src/guestfs.pod:914 msgid "HIGH-LEVEL API ACTIONS" msgstr "" # type: =head2 -#: ../src/guestfs.pod:909 +#: ../src/guestfs.pod:916 msgid "ABI GUARANTEE" msgstr "" # type: textblock -#: ../src/guestfs.pod:911 +#: ../src/guestfs.pod:918 msgid "" "We guarantee the libguestfs ABI (binary interface), for public, high-level " "actions as outlined in this section. Although we will deprecate some " @@ -1929,32 +1947,32 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:917 ../fish/guestfish.pod:898 +#: ../src/guestfs.pod:924 ../fish/guestfish.pod:898 msgid "@ACTIONS@" msgstr "" # type: =head1 -#: ../src/guestfs.pod:919 +#: ../src/guestfs.pod:926 msgid "STRUCTURES" msgstr "" # type: textblock -#: ../src/guestfs.pod:921 +#: ../src/guestfs.pod:928 msgid "@STRUCTS@" msgstr "" # type: =head1 -#: ../src/guestfs.pod:923 +#: ../src/guestfs.pod:930 msgid "AVAILABILITY" msgstr "" # type: =head2 -#: ../src/guestfs.pod:925 +#: ../src/guestfs.pod:932 msgid "GROUPS OF FUNCTIONALITY IN THE APPLIANCE" msgstr "" # type: textblock -#: ../src/guestfs.pod:927 +#: ../src/guestfs.pod:934 msgid "" "Using L you can test availability of the following " "groups of functions. This test queries the appliance to see if the " @@ -1962,17 +1980,17 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:932 +#: ../src/guestfs.pod:939 msgid "@AVAILABILITY@" msgstr "" # type: =head2 -#: ../src/guestfs.pod:934 +#: ../src/guestfs.pod:941 msgid "GUESTFISH supported COMMAND" msgstr "" # type: textblock -#: ../src/guestfs.pod:936 +#: ../src/guestfs.pod:943 msgid "" "In L there is a handy interactive command C which " "prints out the available groups and whether they are supported by this build " @@ -1980,20 +1998,40 @@ msgid "" msgstr "" # type: =head2 -#: ../src/guestfs.pod:941 +#: ../src/guestfs.pod:948 msgid "SINGLE CALLS AT COMPILE TIME" msgstr "" # type: textblock -#: ../src/guestfs.pod:943 +#: ../src/guestfs.pod:950 msgid "" -"If you need to test whether a single libguestfs function is available at " -"compile time, we recommend using build tools such as autoconf or cmake. For " -"example in autotools you could use:" +"Since version 1.5.8, Cguestfs.hE> defines symbols for each C API " +"function, such as:" msgstr "" # type: verbatim -#: ../src/guestfs.pod:948 +#: ../src/guestfs.pod:953 +#, no-wrap +msgid "" +" #define LIBGUESTFS_HAVE_DD 1\n" +"\n" +msgstr "" + +# type: textblock +#: ../src/guestfs.pod:955 +msgid "if L is available." +msgstr "" + +# type: textblock +#: ../src/guestfs.pod:957 +msgid "" +"Before version 1.5.8, if you needed to test whether a single libguestfs " +"function is available at compile time, we recommended using build tools such " +"as autoconf or cmake. For example in autotools you could use:" +msgstr "" + +# type: verbatim +#: ../src/guestfs.pod:962 #, no-wrap msgid "" " AC_CHECK_LIB([guestfs],[guestfs_create])\n" @@ -2002,19 +2040,19 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:951 +#: ../src/guestfs.pod:965 msgid "" "which would result in C being either defined or not defined " "in your program." msgstr "" # type: =head2 -#: ../src/guestfs.pod:954 +#: ../src/guestfs.pod:968 msgid "SINGLE CALLS AT RUN TIME" msgstr "" # type: textblock -#: ../src/guestfs.pod:956 +#: ../src/guestfs.pod:970 msgid "" "Testing at compile time doesn't guarantee that a function really exists in " "the library. The reason is that you might be dynamically linked against a " @@ -2024,7 +2062,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:963 +#: ../src/guestfs.pod:977 msgid "" "You can use L to test if a function is available at run time, as " "in this example program (note that you still need the compile time check as " @@ -2032,15 +2070,7 @@ msgid "" msgstr "" # type: verbatim -#: ../src/guestfs.pod:967 -#, no-wrap -msgid "" -" #include \n" -" \n" -msgstr "" - -# type: verbatim -#: ../src/guestfs.pod:969 +#: ../src/guestfs.pod:981 #, no-wrap msgid "" " #include \n" @@ -2052,19 +2082,19 @@ msgid "" msgstr "" # type: verbatim -#: ../src/guestfs.pod:975 +#: ../src/guestfs.pod:987 #, no-wrap msgid "" " main ()\n" " {\n" -" #ifdef HAVE_GUESTFS_DD\n" +" #ifdef LIBGUESTFS_HAVE_DD\n" " void *dl;\n" " int has_function;\n" " \n" msgstr "" # type: verbatim -#: ../src/guestfs.pod:981 +#: ../src/guestfs.pod:993 #, no-wrap msgid "" " /* Test if the function guestfs_dd is really available. */\n" @@ -2079,7 +2109,7 @@ msgid "" msgstr "" # type: verbatim -#: ../src/guestfs.pod:990 +#: ../src/guestfs.pod:1002 #, no-wrap msgid "" " if (!has_function)\n" @@ -2098,7 +2128,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1003 +#: ../src/guestfs.pod:1015 msgid "" "You may think the above is an awful lot of hassle, and it is. There are " "other ways outside of the C linking system to ensure that this kind of " @@ -2106,7 +2136,7 @@ msgid "" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1008 +#: ../src/guestfs.pod:1020 #, no-wrap msgid "" " Requires: libguestfs >= 1.0.80\n" @@ -2114,24 +2144,24 @@ msgid "" msgstr "" # type: =end -#: ../src/guestfs.pod:1010 ../src/guestfs.pod:1015 +#: ../src/guestfs.pod:1022 ../src/guestfs.pod:1027 msgid "html" msgstr "" # type: textblock -#: ../src/guestfs.pod:1012 +#: ../src/guestfs.pod:1024 msgid "" " " msgstr "" # type: =head1 -#: ../src/guestfs.pod:1017 +#: ../src/guestfs.pod:1029 msgid "ARCHITECTURE" msgstr "" # type: textblock -#: ../src/guestfs.pod:1019 +#: ../src/guestfs.pod:1031 msgid "" "Internally, libguestfs is implemented by running an appliance (a special " "type of small virtual machine) using L. Qemu runs as a child " @@ -2139,7 +2169,7 @@ msgid "" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1023 +#: ../src/guestfs.pod:1035 #, no-wrap msgid "" " ___________________\n" @@ -2165,14 +2195,14 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1043 +#: ../src/guestfs.pod:1055 msgid "" "The library, linked to the main program, creates the child process and hence " "the appliance in the L function." msgstr "" # type: textblock -#: ../src/guestfs.pod:1046 +#: ../src/guestfs.pod:1058 msgid "" "Inside the appliance is a Linux kernel and a complete stack of userspace " "tools (such as LVM and ext2 programs) and a small controlling daemon called " @@ -2184,7 +2214,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1055 +#: ../src/guestfs.pod:1067 msgid "" "A common misunderstanding is that the appliance \"is\" the virtual machine. " "Although the disk image you are attached to might also be used by some " @@ -2195,17 +2225,17 @@ msgid "" msgstr "" # type: =head1 -#: ../src/guestfs.pod:1062 +#: ../src/guestfs.pod:1074 msgid "STATE MACHINE" msgstr "" # type: textblock -#: ../src/guestfs.pod:1064 +#: ../src/guestfs.pod:1076 msgid "libguestfs uses a state machine to model the child process:" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1066 +#: ../src/guestfs.pod:1078 #, no-wrap msgid "" " |\n" @@ -2233,7 +2263,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1088 +#: ../src/guestfs.pod:1100 msgid "" "The normal transitions are (1) CONFIG (when the handle is created, but there " "is no child process), (2) LAUNCHING (when the child process is booting up), " @@ -2242,7 +2272,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1093 +#: ../src/guestfs.pod:1105 msgid "" "The guest may be killed by L, or may die " "asynchronously at any time (eg. due to some internal error), and that causes " @@ -2250,14 +2280,14 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1097 +#: ../src/guestfs.pod:1109 msgid "" "Configuration commands for qemu such as L can only be " "issued when in the CONFIG state." msgstr "" # type: textblock -#: ../src/guestfs.pod:1100 +#: ../src/guestfs.pod:1112 msgid "" "The high-level API offers two calls that go from CONFIG through LAUNCHING to " "READY. L blocks until the child process is READY to accept " @@ -2266,7 +2296,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1106 +#: ../src/guestfs.pod:1118 msgid "" "High-level API actions such as L can only be issued when in " "the READY state. These high-level API calls block waiting for the command " @@ -2277,7 +2307,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1114 +#: ../src/guestfs.pod:1126 msgid "" "Finally, the child process sends asynchronous messages back to the main " "program, such as kernel log messages. Mostly these are ignored by the high-" @@ -2286,26 +2316,26 @@ msgid "" msgstr "" # type: =head2 -#: ../src/guestfs.pod:1119 +#: ../src/guestfs.pod:1131 msgid "SETTING CALLBACKS TO HANDLE EVENTS" msgstr "" # type: textblock -#: ../src/guestfs.pod:1121 +#: ../src/guestfs.pod:1133 msgid "" "The child process generates events in some situations. Current events " "include: receiving a log message, the child process exits." msgstr "" # type: textblock -#: ../src/guestfs.pod:1124 +#: ../src/guestfs.pod:1136 msgid "" "Use the C functions to set a callback for different " "types of events." msgstr "" # type: textblock -#: ../src/guestfs.pod:1127 +#: ../src/guestfs.pod:1139 msgid "" "Only I can be registered for each handle. " "Calling C again overwrites the previous callback of " @@ -2314,12 +2344,12 @@ msgid "" msgstr "" # type: =head2 -#: ../src/guestfs.pod:1132 +#: ../src/guestfs.pod:1144 msgid "guestfs_set_log_message_callback" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1134 +#: ../src/guestfs.pod:1146 #, no-wrap msgid "" " typedef void (*guestfs_log_message_cb) (guestfs_h *g, void *opaque,\n" @@ -2331,31 +2361,31 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1140 +#: ../src/guestfs.pod:1152 msgid "" "The callback function C will be called whenever qemu or the guest writes " "anything to the console." msgstr "" # type: textblock -#: ../src/guestfs.pod:1143 +#: ../src/guestfs.pod:1155 msgid "Use this function to capture kernel messages and similar." msgstr "" # type: textblock -#: ../src/guestfs.pod:1145 +#: ../src/guestfs.pod:1157 msgid "" "Normally there is no log message handler, and log messages are just " "discarded." msgstr "" # type: =head2 -#: ../src/guestfs.pod:1148 +#: ../src/guestfs.pod:1160 msgid "guestfs_set_subprocess_quit_callback" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1150 +#: ../src/guestfs.pod:1162 #, no-wrap msgid "" " typedef void (*guestfs_subprocess_quit_cb) (guestfs_h *g, void *opaque);\n" @@ -2366,7 +2396,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1155 +#: ../src/guestfs.pod:1167 msgid "" "The callback function C will be called when the child process quits, " "either asynchronously or if killed by L. (This " @@ -2374,12 +2404,12 @@ msgid "" msgstr "" # type: =head2 -#: ../src/guestfs.pod:1160 +#: ../src/guestfs.pod:1172 msgid "guestfs_set_launch_done_callback" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1162 +#: ../src/guestfs.pod:1174 #, no-wrap msgid "" " typedef void (*guestfs_launch_done_cb) (guestfs_h *g, void *opaque);\n" @@ -2390,7 +2420,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1167 +#: ../src/guestfs.pod:1179 msgid "" "The callback function C will be called when the child process becomes " "ready first time after it has been launched. (This corresponds to a " @@ -2398,12 +2428,12 @@ msgid "" msgstr "" # type: =head2 -#: ../src/guestfs.pod:1171 +#: ../src/guestfs.pod:1183 msgid "guestfs_set_close_callback" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1173 +#: ../src/guestfs.pod:1185 #, no-wrap msgid "" " typedef void (*guestfs_close_cb) (guestfs_h *g, void *opaque);\n" @@ -2414,14 +2444,14 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1178 +#: ../src/guestfs.pod:1190 msgid "" "The callback function C will be called while the handle is being closed " "(synchronously from L)." msgstr "" # type: textblock -#: ../src/guestfs.pod:1181 +#: ../src/guestfs.pod:1193 msgid "" "Note that libguestfs installs an L handler to try to clean up " "handles that are open when the program exits. This means that this callback " @@ -2432,12 +2462,12 @@ msgid "" msgstr "" # type: =head2 -#: ../src/guestfs.pod:1189 +#: ../src/guestfs.pod:1201 msgid "guestfs_set_progress_callback" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1191 +#: ../src/guestfs.pod:1203 #, no-wrap msgid "" " typedef void (*guestfs_progress_cb) (guestfs_h *g, void *opaque,\n" @@ -2450,7 +2480,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1198 +#: ../src/guestfs.pod:1210 msgid "" "Some long-running operations can generate progress messages. If this " "callback is registered, then it will be called each time a progress message " @@ -2460,7 +2490,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1204 +#: ../src/guestfs.pod:1216 msgid "" "The callback receives two numbers: C and C. The units of " "C are not defined, although for some operations C may relate " @@ -2469,31 +2499,31 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1210 +#: ../src/guestfs.pod:1222 msgid "The only defined and stable parts of the API are:" msgstr "" # type: textblock -#: ../src/guestfs.pod:1216 +#: ../src/guestfs.pod:1228 msgid "" "The callback can display to the user some type of progress bar or indicator " "which shows the ratio of C:C." msgstr "" # type: textblock -#: ../src/guestfs.pod:1221 +#: ../src/guestfs.pod:1233 msgid "0 E= C E= C" msgstr "" # type: textblock -#: ../src/guestfs.pod:1225 +#: ../src/guestfs.pod:1237 msgid "" "If any progress notification is sent during a call, then a final progress " "notification is always sent when C = C." msgstr "" # type: textblock -#: ../src/guestfs.pod:1228 +#: ../src/guestfs.pod:1240 msgid "" "This is to simplify caller code, so callers can easily set the progress " "indicator to \"100%\" at the end of the operation, without requiring special " @@ -2501,7 +2531,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1234 +#: ../src/guestfs.pod:1246 msgid "" "The callback also receives the procedure number and serial number of the " "call. These are only useful for debugging protocol issues, and the callback " @@ -2510,12 +2540,12 @@ msgid "" msgstr "" # type: =head1 -#: ../src/guestfs.pod:1239 +#: ../src/guestfs.pod:1251 msgid "PRIVATE DATA AREA" msgstr "" # type: textblock -#: ../src/guestfs.pod:1241 +#: ../src/guestfs.pod:1253 msgid "" "You can attach named pieces of private data to the libguestfs handle, and " "fetch them by name for the lifetime of the handle. This is called the " @@ -2523,12 +2553,12 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1245 +#: ../src/guestfs.pod:1257 msgid "To attach a named piece of data, use the following call:" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1247 +#: ../src/guestfs.pod:1259 #, no-wrap msgid "" " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n" @@ -2536,7 +2566,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1249 +#: ../src/guestfs.pod:1261 msgid "" "C is the name to associate with this data, and C is an arbitrary " "pointer (which can be C). Any previous item with the same name is " @@ -2544,7 +2574,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1253 +#: ../src/guestfs.pod:1265 msgid "" "You can use any C you want, but names beginning with an underscore " "character are reserved for internal libguestfs purposes (for implementing " @@ -2553,12 +2583,12 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1258 +#: ../src/guestfs.pod:1270 msgid "To retrieve the pointer, use:" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1260 +#: ../src/guestfs.pod:1272 #, no-wrap msgid "" " void *guestfs_get_private (guestfs_h *g, const char *key);\n" @@ -2566,7 +2596,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1262 +#: ../src/guestfs.pod:1274 msgid "" "This function returns C if either no data is found associated with " "C, or if the user previously set the C's C pointer to " @@ -2574,7 +2604,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1266 +#: ../src/guestfs.pod:1278 msgid "" "Libguestfs does not try to look at or interpret the C pointer in any " "way. As far as libguestfs is concerned, it need not be a valid pointer at " @@ -2586,19 +2616,19 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1274 +#: ../src/guestfs.pod:1286 msgid "" "The private data area is implemented using a hash table, and should be " "reasonably efficient for moderate numbers of keys." msgstr "" # type: =head1 -#: ../src/guestfs.pod:1277 +#: ../src/guestfs.pod:1289 msgid "BLOCK DEVICE NAMING" msgstr "" # type: textblock -#: ../src/guestfs.pod:1279 +#: ../src/guestfs.pod:1291 msgid "" "In the kernel there is now quite a profusion of schemata for naming block " "devices (in this context, by I I mean a physical or virtual " @@ -2612,7 +2642,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1291 +#: ../src/guestfs.pod:1303 msgid "" "As discussed above, libguestfs uses a qemu appliance running an embedded " "Linux kernel to access block devices. We can run a variety of appliances " @@ -2620,7 +2650,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1295 +#: ../src/guestfs.pod:1307 msgid "" "This causes a problem for libguestfs because many API calls use device or " "partition names. Working scripts and the recipe (example) scripts that we " @@ -2628,7 +2658,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1300 +#: ../src/guestfs.pod:1312 msgid "" "Therefore libguestfs defines C as the I. " "Internally C names are translated, if necessary, to other names as " @@ -2637,7 +2667,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1306 +#: ../src/guestfs.pod:1318 msgid "" "Note that this I applies to parameters. The L, " "L and similar calls return the true names of the " @@ -2645,12 +2675,12 @@ msgid "" msgstr "" # type: =head2 -#: ../src/guestfs.pod:1311 +#: ../src/guestfs.pod:1323 msgid "ALGORITHM FOR BLOCK DEVICE NAME TRANSLATION" msgstr "" # type: textblock -#: ../src/guestfs.pod:1313 +#: ../src/guestfs.pod:1325 msgid "" "Usually this translation is transparent. However in some (very rare) cases " "you may need to know the exact algorithm. Such cases include where you use " @@ -2659,7 +2689,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1319 +#: ../src/guestfs.pod:1331 msgid "" "The algorithm is applied only to I which are known to be either " "device or partition names. Return values from functions such as L?" msgstr "" # type: textblock -#: ../src/guestfs.pod:1335 +#: ../src/guestfs.pod:1347 msgid "" "Does the named device exist? If so, we use that device. However if I " "then we continue with this algorithm." msgstr "" # type: textblock -#: ../src/guestfs.pod:1340 +#: ../src/guestfs.pod:1352 msgid "Replace initial C string with C." msgstr "" # type: textblock -#: ../src/guestfs.pod:1342 +#: ../src/guestfs.pod:1354 msgid "For example, change C to C." msgstr "" # type: textblock -#: ../src/guestfs.pod:1344 +#: ../src/guestfs.pod:1356 msgid "If that named device exists, use it. If not, continue." msgstr "" # type: textblock -#: ../src/guestfs.pod:1348 +#: ../src/guestfs.pod:1360 msgid "Replace initial C string with C." msgstr "" # type: textblock -#: ../src/guestfs.pod:1350 +#: ../src/guestfs.pod:1362 msgid "If that named device exists, use it. If not, return an error." msgstr "" # type: =head2 -#: ../src/guestfs.pod:1354 +#: ../src/guestfs.pod:1366 msgid "PORTABILITY CONCERNS" msgstr "" # type: textblock -#: ../src/guestfs.pod:1356 +#: ../src/guestfs.pod:1368 msgid "" "Although the standard naming scheme and automatic translation is useful for " "simple programs and guestfish scripts, for larger programs it is best not to " @@ -2722,51 +2752,51 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1360 +#: ../src/guestfs.pod:1372 msgid "" "Where possible for maximum future portability programs using libguestfs " "should use these future-proof techniques:" msgstr "" # type: textblock -#: ../src/guestfs.pod:1367 +#: ../src/guestfs.pod:1379 msgid "" "Use L or L to list actual " "device names, and then use those names directly." msgstr "" # type: textblock -#: ../src/guestfs.pod:1370 +#: ../src/guestfs.pod:1382 msgid "" "Since those device names exist by definition, they will never be translated." msgstr "" # type: textblock -#: ../src/guestfs.pod:1375 +#: ../src/guestfs.pod:1387 msgid "" "Use higher level ways to identify filesystems, such as LVM names, UUIDs and " "filesystem labels." msgstr "" # type: =head1 -#: ../src/guestfs.pod:1380 +#: ../src/guestfs.pod:1392 msgid "INTERNALS" msgstr "" # type: =head2 -#: ../src/guestfs.pod:1382 +#: ../src/guestfs.pod:1394 msgid "COMMUNICATION PROTOCOL" msgstr "" # type: textblock -#: ../src/guestfs.pod:1384 +#: ../src/guestfs.pod:1396 msgid "" "Don't rely on using this protocol directly. This section documents how it " "currently works, but it may change at any time." msgstr "" # type: textblock -#: ../src/guestfs.pod:1387 +#: ../src/guestfs.pod:1399 msgid "" "The protocol used to talk between the library and the daemon running inside " "the qemu virtual machine is a simple RPC mechanism built on top of XDR (RFC " @@ -2774,14 +2804,14 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1391 +#: ../src/guestfs.pod:1403 msgid "" "The detailed format of structures is in C (note: " "this file is automatically generated)." msgstr "" # type: textblock -#: ../src/guestfs.pod:1394 +#: ../src/guestfs.pod:1406 msgid "" "There are two broad cases, ordinary functions that don't have any C " "and C parameters, which are handled with very simple request/reply " @@ -2791,17 +2821,17 @@ msgid "" msgstr "" # type: =head3 -#: ../src/guestfs.pod:1401 +#: ../src/guestfs.pod:1413 msgid "ORDINARY FUNCTIONS (NO FILEIN/FILEOUT PARAMS)" msgstr "" # type: textblock -#: ../src/guestfs.pod:1403 +#: ../src/guestfs.pod:1415 msgid "For ordinary functions, the request message is:" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1405 +#: ../src/guestfs.pod:1417 #, no-wrap msgid "" " total length (header + arguments,\n" @@ -2812,7 +2842,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1410 +#: ../src/guestfs.pod:1422 msgid "" "The total length field allows the daemon to allocate a fixed size buffer " "into which it slurps the rest of the message. As a result, the total length " @@ -2821,26 +2851,26 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1416 +#: ../src/guestfs.pod:1428 msgid "" "Note also that many functions don't take any arguments, in which case the " "C_args> is completely omitted." msgstr "" # type: textblock -#: ../src/guestfs.pod:1419 +#: ../src/guestfs.pod:1431 msgid "" "The header contains the procedure number (C) which is how the " "receiver knows what type of args structure to expect, or none at all." msgstr "" # type: textblock -#: ../src/guestfs.pod:1423 +#: ../src/guestfs.pod:1435 msgid "The reply message for ordinary functions is:" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1425 +#: ../src/guestfs.pod:1437 #, no-wrap msgid "" " total length (header + ret,\n" @@ -2851,27 +2881,27 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1430 +#: ../src/guestfs.pod:1442 msgid "" "As above the C_ret> structure may be completely omitted for " "functions that return no formal return values." msgstr "" # type: textblock -#: ../src/guestfs.pod:1433 +#: ../src/guestfs.pod:1445 msgid "" "As above the total length of the reply is limited to C." msgstr "" # type: textblock -#: ../src/guestfs.pod:1436 +#: ../src/guestfs.pod:1448 msgid "" "In the case of an error, a flag is set in the header, and the reply message " "is slightly changed:" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1439 +#: ../src/guestfs.pod:1451 #, no-wrap msgid "" " total length (header + error,\n" @@ -2882,19 +2912,19 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1444 +#: ../src/guestfs.pod:1456 msgid "" "The C structure contains the error message as a " "string." msgstr "" # type: =head3 -#: ../src/guestfs.pod:1447 +#: ../src/guestfs.pod:1459 msgid "FUNCTIONS THAT HAVE FILEIN PARAMETERS" msgstr "" # type: textblock -#: ../src/guestfs.pod:1449 +#: ../src/guestfs.pod:1461 msgid "" "A C parameter indicates that we transfer a file I the guest. " "The normal request message is sent (see above). However this is followed by " @@ -2902,7 +2932,7 @@ msgid "" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1453 +#: ../src/guestfs.pod:1465 #, no-wrap msgid "" " total length (header + arguments,\n" @@ -2916,12 +2946,12 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1461 +#: ../src/guestfs.pod:1473 msgid "The \"sequence of chunks\" is:" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1463 +#: ../src/guestfs.pod:1475 #, no-wrap msgid "" " length of chunk (not including length word itself)\n" @@ -2935,7 +2965,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1471 +#: ../src/guestfs.pod:1483 msgid "" "The final chunk has the C field set to zero. Additionally a flag " "is set in the final chunk to indicate either successful completion or early " @@ -2943,7 +2973,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1475 +#: ../src/guestfs.pod:1487 msgid "" "At time of writing there are no functions that have more than one FileIn " "parameter. However this is (theoretically) supported, by sending the " @@ -2952,7 +2982,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1480 +#: ../src/guestfs.pod:1492 msgid "" "Both the library (sender) I the daemon (receiver) may cancel the " "transfer. The library does this by sending a chunk with a special flag set " @@ -2961,7 +2991,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1486 +#: ../src/guestfs.pod:1498 msgid "" "The daemon may also cancel. It does this by writing a special word " "C to the socket. The library listens for this during " @@ -2973,7 +3003,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1495 +#: ../src/guestfs.pod:1507 msgid "" "This protocol allows the transfer of arbitrary sized files (no 32 bit " "limit), and also files where the size is not known in advance (eg. from " @@ -2983,19 +3013,19 @@ msgid "" msgstr "" # type: =head3 -#: ../src/guestfs.pod:1501 +#: ../src/guestfs.pod:1513 msgid "FUNCTIONS THAT HAVE FILEOUT PARAMETERS" msgstr "" # type: textblock -#: ../src/guestfs.pod:1503 +#: ../src/guestfs.pod:1515 msgid "" "The protocol for FileOut parameters is exactly the same as for FileIn " "parameters, but with the roles of daemon and library reversed." msgstr "" # type: verbatim -#: ../src/guestfs.pod:1506 +#: ../src/guestfs.pod:1518 #, no-wrap msgid "" " total length (header + ret,\n" @@ -3009,12 +3039,12 @@ msgid "" msgstr "" # type: =head3 -#: ../src/guestfs.pod:1514 +#: ../src/guestfs.pod:1526 msgid "INITIAL MESSAGE" msgstr "" # type: textblock -#: ../src/guestfs.pod:1516 +#: ../src/guestfs.pod:1528 msgid "" "Because the underlying channel (QEmu -net channel) doesn't have any sort of " "connection control, when the daemon launches it sends an initial word " @@ -3023,19 +3053,19 @@ msgid "" msgstr "" # type: =head1 -#: ../src/guestfs.pod:1521 +#: ../src/guestfs.pod:1533 msgid "MULTIPLE HANDLES AND MULTIPLE THREADS" msgstr "" # type: textblock -#: ../src/guestfs.pod:1523 +#: ../src/guestfs.pod:1535 msgid "" "All high-level libguestfs actions are synchronous. If you want to use " "libguestfs asynchronously then you must create a thread." msgstr "" # type: textblock -#: ../src/guestfs.pod:1526 +#: ../src/guestfs.pod:1538 msgid "" "Only use the handle from a single thread. Either use the handle exclusively " "from one thread, or provide your own mutex so that two threads cannot issue " @@ -3043,12 +3073,12 @@ msgid "" msgstr "" # type: =head1 -#: ../src/guestfs.pod:1530 +#: ../src/guestfs.pod:1542 msgid "QEMU WRAPPERS" msgstr "" # type: textblock -#: ../src/guestfs.pod:1532 +#: ../src/guestfs.pod:1544 msgid "" "If you want to compile your own qemu, run qemu from a non-standard location, " "or pass extra arguments to qemu, then you can write a shell-script wrapper " @@ -3056,7 +3086,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1536 +#: ../src/guestfs.pod:1548 msgid "" "There is one important rule to remember: you I> as the " "last command in the shell script (so that qemu replaces the shell and " @@ -3065,14 +3095,14 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1541 +#: ../src/guestfs.pod:1553 msgid "" "Here is an example of a wrapper, where I have built my own copy of qemu from " "source:" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1544 +#: ../src/guestfs.pod:1556 #, no-wrap msgid "" " #!/bin/sh -\n" @@ -3082,7 +3112,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1548 +#: ../src/guestfs.pod:1560 msgid "" "Save this script as C (or wherever), C, and " "then use it by setting the LIBGUESTFS_QEMU environment variable. For " @@ -3090,7 +3120,7 @@ msgid "" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1552 +#: ../src/guestfs.pod:1564 #, no-wrap msgid "" " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n" @@ -3098,19 +3128,19 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1554 +#: ../src/guestfs.pod:1566 msgid "" "Note that libguestfs also calls qemu with the -help and -version options in " "order to determine features." msgstr "" # type: =head1 -#: ../src/guestfs.pod:1557 +#: ../src/guestfs.pod:1569 msgid "LIBGUESTFS VERSION NUMBERS" msgstr "" # type: textblock -#: ../src/guestfs.pod:1559 +#: ../src/guestfs.pod:1571 msgid "" "Since April 2010, libguestfs has started to make separate development and " "stable releases, along with corresponding branches in our git repository. " @@ -3118,7 +3148,7 @@ msgid "" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1564 +#: ../src/guestfs.pod:1576 #, no-wrap msgid "" " even numbers for stable: 1.2.x, 1.4.x, ...\n" @@ -3135,12 +3165,12 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1575 +#: ../src/guestfs.pod:1587 msgid "Thus \"1.3.5\" is the 5th update to the development branch \"1.3\"." msgstr "" # type: textblock -#: ../src/guestfs.pod:1577 +#: ../src/guestfs.pod:1589 msgid "" "As time passes we cherry pick fixes from the development branch and backport " "those into the stable branch, the effect being that the stable branch should " @@ -3150,26 +3180,26 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1583 +#: ../src/guestfs.pod:1595 msgid "Our criteria for backporting changes are:" msgstr "" # type: textblock -#: ../src/guestfs.pod:1589 +#: ../src/guestfs.pod:1601 msgid "" "Documentation changes which don't affect any code are backported unless the " "documentation refers to a future feature which is not in stable." msgstr "" # type: textblock -#: ../src/guestfs.pod:1595 +#: ../src/guestfs.pod:1607 msgid "" "Bug fixes which are not controversial, fix obvious problems, and have been " "well tested are backported." msgstr "" # type: textblock -#: ../src/guestfs.pod:1600 +#: ../src/guestfs.pod:1612 msgid "" "Simple rearrangements of code which shouldn't affect how it works get " "backported. This is so that the code in the two branches doesn't get too " @@ -3177,7 +3207,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1606 +#: ../src/guestfs.pod:1618 msgid "" "We I backport new features, new APIs, new tools etc, except in one " "exceptional case: the new feature is required in order to implement an " @@ -3185,7 +3215,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1612 +#: ../src/guestfs.pod:1624 msgid "" "A new stable branch starts when we think the new features in development are " "substantial and compelling enough over the current stable branch to warrant " @@ -3196,47 +3226,47 @@ msgid "" msgstr "" # type: =head1 -#: ../src/guestfs.pod:1620 ../fish/guestfish.pod:905 +#: ../src/guestfs.pod:1632 ../fish/guestfish.pod:905 #: ../test-tool/libguestfs-test-tool.pod:104 ../tools/virt-edit.pl:312 #: ../tools/virt-rescue.pl:226 msgid "ENVIRONMENT VARIABLES" msgstr "" # type: =item -#: ../src/guestfs.pod:1624 ../fish/guestfish.pod:925 +#: ../src/guestfs.pod:1636 ../fish/guestfish.pod:925 msgid "LIBGUESTFS_APPEND" msgstr "" # type: textblock -#: ../src/guestfs.pod:1626 ../fish/guestfish.pod:927 +#: ../src/guestfs.pod:1638 ../fish/guestfish.pod:927 msgid "Pass additional options to the guest kernel." msgstr "" # type: =item -#: ../src/guestfs.pod:1628 ../fish/guestfish.pod:929 +#: ../src/guestfs.pod:1640 ../fish/guestfish.pod:929 msgid "LIBGUESTFS_DEBUG" msgstr "" # type: textblock -#: ../src/guestfs.pod:1630 +#: ../src/guestfs.pod:1642 msgid "" "Set C to enable verbose messages. This has the same " "effect as calling C." msgstr "" # type: =item -#: ../src/guestfs.pod:1633 ../fish/guestfish.pod:934 +#: ../src/guestfs.pod:1645 ../fish/guestfish.pod:934 msgid "LIBGUESTFS_MEMSIZE" msgstr "" # type: textblock -#: ../src/guestfs.pod:1635 ../fish/guestfish.pod:936 +#: ../src/guestfs.pod:1647 ../fish/guestfish.pod:936 msgid "" "Set the memory allocated to the qemu process, in megabytes. For example:" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1638 ../fish/guestfish.pod:939 +#: ../src/guestfs.pod:1650 ../fish/guestfish.pod:939 #, no-wrap msgid "" " LIBGUESTFS_MEMSIZE=700\n" @@ -3244,58 +3274,58 @@ msgid "" msgstr "" # type: =item -#: ../src/guestfs.pod:1640 ../fish/guestfish.pod:941 +#: ../src/guestfs.pod:1652 ../fish/guestfish.pod:941 msgid "LIBGUESTFS_PATH" msgstr "" # type: textblock -#: ../src/guestfs.pod:1642 +#: ../src/guestfs.pod:1654 msgid "" "Set the path that libguestfs uses to search for kernel and initrd.img. See " "the discussion of paths in section PATH above." msgstr "" # type: =item -#: ../src/guestfs.pod:1645 ../fish/guestfish.pod:946 +#: ../src/guestfs.pod:1657 ../fish/guestfish.pod:946 msgid "LIBGUESTFS_QEMU" msgstr "" # type: textblock -#: ../src/guestfs.pod:1647 ../fish/guestfish.pod:948 +#: ../src/guestfs.pod:1659 ../fish/guestfish.pod:948 msgid "" "Set the default qemu binary that libguestfs uses. If not set, then the qemu " "which was found at compile time by the configure script is used." msgstr "" # type: textblock -#: ../src/guestfs.pod:1651 +#: ../src/guestfs.pod:1663 msgid "See also L above." msgstr "" # type: =item -#: ../src/guestfs.pod:1653 ../fish/guestfish.pod:952 +#: ../src/guestfs.pod:1665 ../fish/guestfish.pod:952 msgid "LIBGUESTFS_TRACE" msgstr "" # type: textblock -#: ../src/guestfs.pod:1655 +#: ../src/guestfs.pod:1667 msgid "" "Set C to enable command traces. This has the same " "effect as calling C." msgstr "" # type: =item -#: ../src/guestfs.pod:1658 ../fish/guestfish.pod:961 +#: ../src/guestfs.pod:1670 ../fish/guestfish.pod:961 msgid "TMPDIR" msgstr "" # type: textblock -#: ../src/guestfs.pod:1660 ../fish/guestfish.pod:963 +#: ../src/guestfs.pod:1672 ../fish/guestfish.pod:963 msgid "Location of temporary directory, defaults to C." msgstr "" # type: textblock -#: ../src/guestfs.pod:1662 ../fish/guestfish.pod:965 +#: ../src/guestfs.pod:1674 ../fish/guestfish.pod:965 msgid "" "If libguestfs was compiled to use the supermin appliance then each handle " "will require rather a large amount of space in this directory for short " @@ -3304,7 +3334,7 @@ msgid "" msgstr "" # type: =head1 -#: ../src/guestfs.pod:1670 ../fish/guestfish.pod:1023 +#: ../src/guestfs.pod:1682 ../fish/guestfish.pod:1023 #: ../test-tool/libguestfs-test-tool.pod:109 ../fuse/guestmount.pod:178 #: ../inspector/virt-inspector.pl:846 ../tools/virt-cat.pl:163 #: ../tools/virt-df.pl:482 ../tools/virt-edit.pl:325 @@ -3316,7 +3346,7 @@ msgid "SEE ALSO" msgstr "" # type: textblock -#: ../src/guestfs.pod:1672 +#: ../src/guestfs.pod:1684 msgid "" "L, L, L, L, L, L, L, L, L, L, L, L." msgstr "" # type: =head1 -#: ../src/guestfs.pod:1697 ../tools/virt-make-fs.pl:541 +#: ../src/guestfs.pod:1709 ../tools/virt-make-fs.pl:541 #: ../tools/virt-win-reg.pl:476 msgid "BUGS" msgstr "" # type: textblock -#: ../src/guestfs.pod:1699 +#: ../src/guestfs.pod:1711 msgid "To get a list of bugs against libguestfs use this link:" msgstr "" # type: textblock -#: ../src/guestfs.pod:1701 +#: ../src/guestfs.pod:1713 msgid "" "L" msgstr "" # type: textblock -#: ../src/guestfs.pod:1703 +#: ../src/guestfs.pod:1715 msgid "To report a new bug against libguestfs use this link:" msgstr "" # type: textblock -#: ../src/guestfs.pod:1705 +#: ../src/guestfs.pod:1717 msgid "" "L" msgstr "" # type: textblock -#: ../src/guestfs.pod:1707 +#: ../src/guestfs.pod:1719 msgid "When reporting a bug, please check:" msgstr "" # type: textblock -#: ../src/guestfs.pod:1713 +#: ../src/guestfs.pod:1725 msgid "That the bug hasn't been reported already." msgstr "" # type: textblock -#: ../src/guestfs.pod:1717 +#: ../src/guestfs.pod:1729 msgid "That you are testing a recent version." msgstr "" # type: textblock -#: ../src/guestfs.pod:1721 +#: ../src/guestfs.pod:1733 msgid "Describe the bug accurately, and give a way to reproduce it." msgstr "" # type: textblock -#: ../src/guestfs.pod:1725 +#: ../src/guestfs.pod:1737 msgid "" "Run libguestfs-test-tool and paste the B output into the " "bug report." msgstr "" # type: =head1 -#: ../src/guestfs.pod:1730 ../fish/guestfish.pod:1039 +#: ../src/guestfs.pod:1742 ../fish/guestfish.pod:1039 #: ../test-tool/libguestfs-test-tool.pod:115 ../fuse/guestmount.pod:189 #: ../inspector/virt-inspector.pl:855 msgid "AUTHORS" msgstr "" # type: textblock -#: ../src/guestfs.pod:1732 ../fish/guestfish.pod:1041 +#: ../src/guestfs.pod:1744 ../fish/guestfish.pod:1041 #: ../test-tool/libguestfs-test-tool.pod:117 ../fuse/guestmount.pod:191 msgid "Richard W.M. Jones (C)" msgstr "" # type: =head1 -#: ../src/guestfs.pod:1734 ../fish/guestfish.pod:1043 +#: ../src/guestfs.pod:1746 ../fish/guestfish.pod:1043 #: ../test-tool/libguestfs-test-tool.pod:119 ../fuse/guestmount.pod:193 #: ../inspector/virt-inspector.pl:861 ../tools/virt-cat.pl:177 #: ../tools/virt-df.pl:495 ../tools/virt-edit.pl:341 @@ -3415,12 +3445,12 @@ msgid "COPYRIGHT" msgstr "" # type: textblock -#: ../src/guestfs.pod:1736 ../fish/guestfish.pod:1045 +#: ../src/guestfs.pod:1748 ../fish/guestfish.pod:1045 msgid "Copyright (C) 2009-2010 Red Hat Inc. L" msgstr "" # type: textblock -#: ../src/guestfs.pod:1739 +#: ../src/guestfs.pod:1751 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 " @@ -3429,7 +3459,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1744 +#: ../src/guestfs.pod:1756 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 " @@ -3438,7 +3468,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1749 +#: ../src/guestfs.pod:1761 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, "