X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=po-docs%2Fja.po;h=4488cb5f20aa6b2a75ff0015886cdfeda71c8545;hp=95acacc5ca32a42f6d65eecc03c0fdf5604c2601;hb=5a7c430f1f99cbb2aa9cc73318453ca425db3fee;hpb=8ad79a7c4de406579cf38d938edf44a8b659d03a diff --git a/po-docs/ja.po b/po-docs/ja.po index 95acacc..4488cb5 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-10 10:25+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 @@ -733,9 +734,9 @@ msgstr "" # type: textblock #: ../src/guestfs.pod:337 msgid "" -"Although libguestfs is a primarily an API for manipulating files inside " -"guest images, we also provide some limited facilities for running commands " -"inside guests." +"Although libguestfs is primarily an API for manipulating files inside guest " +"images, we also provide some limited facilities for running commands inside " +"guests." 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:1223 ../src/guestfs.pod:1228 +#: ../src/guestfs.pod:1232 ../src/guestfs.pod:1334 ../src/guestfs.pod:1338 +#: ../src/guestfs.pod:1342 ../src/guestfs.pod:1347 ../src/guestfs.pod:1355 +#: ../src/guestfs.pod:1374 ../src/guestfs.pod:1382 ../src/guestfs.pod:1612 +#: ../src/guestfs.pod:1618 ../src/guestfs.pod:1623 ../src/guestfs.pod:1629 +#: ../src/guestfs.pod:1736 ../src/guestfs.pod:1740 ../src/guestfs.pod:1744 +#: ../src/guestfs.pod:1748 ../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:926 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,62 +2280,60 @@ 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 " +"The API offers one call that goes from CONFIG through LAUNCHING to READY. " +"L blocks until the child process is READY to accept " "commands (or until some failure or timeout). L internally " "moves the state from CONFIG to LAUNCHING while it is running." 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 " -"to be carried out (ie. the state to transition to BUSY and then back to " -"READY). But using the low-level event API, you get non-blocking versions. " -"(But you can still only carry out one operation per handle at a time - that " -"is a limitation of the communications protocol we use)." +"API actions such as L can only be issued when in the READY " +"state. These API calls block waiting for the command to be carried out (ie. " +"the state to transition to BUSY and then back to READY). There are no non-" +"blocking versions, and no way to issue more than one command per handle at " +"the same time." msgstr "" # type: textblock -#: ../src/guestfs.pod:1114 +#: ../src/guestfs.pod:1124 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-" -"level API, but using the low-level event API you can register to receive " -"these messages." +"program, such as kernel log messages. You can register a callback to " +"receive these messages." msgstr "" # type: =head2 -#: ../src/guestfs.pod:1119 +#: ../src/guestfs.pod:1128 msgid "SETTING CALLBACKS TO HANDLE EVENTS" msgstr "" # type: textblock -#: ../src/guestfs.pod:1121 +#: ../src/guestfs.pod:1130 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:1133 msgid "" "Use the C functions to set a callback for different " "types of events." msgstr "" # type: textblock -#: ../src/guestfs.pod:1127 +#: ../src/guestfs.pod:1136 msgid "" "Only I can be registered for each handle. " "Calling C again overwrites the previous callback of " @@ -2314,12 +2342,12 @@ msgid "" msgstr "" # type: =head2 -#: ../src/guestfs.pod:1132 +#: ../src/guestfs.pod:1141 msgid "guestfs_set_log_message_callback" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1134 +#: ../src/guestfs.pod:1143 #, no-wrap msgid "" " typedef void (*guestfs_log_message_cb) (guestfs_h *g, void *opaque,\n" @@ -2331,31 +2359,31 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1140 +#: ../src/guestfs.pod:1149 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:1152 msgid "Use this function to capture kernel messages and similar." msgstr "" # type: textblock -#: ../src/guestfs.pod:1145 +#: ../src/guestfs.pod:1154 msgid "" "Normally there is no log message handler, and log messages are just " "discarded." msgstr "" # type: =head2 -#: ../src/guestfs.pod:1148 +#: ../src/guestfs.pod:1157 msgid "guestfs_set_subprocess_quit_callback" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1150 +#: ../src/guestfs.pod:1159 #, no-wrap msgid "" " typedef void (*guestfs_subprocess_quit_cb) (guestfs_h *g, void *opaque);\n" @@ -2366,7 +2394,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1155 +#: ../src/guestfs.pod:1164 msgid "" "The callback function C will be called when the child process quits, " "either asynchronously or if killed by L. (This " @@ -2374,12 +2402,12 @@ msgid "" msgstr "" # type: =head2 -#: ../src/guestfs.pod:1160 +#: ../src/guestfs.pod:1169 msgid "guestfs_set_launch_done_callback" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1162 +#: ../src/guestfs.pod:1171 #, no-wrap msgid "" " typedef void (*guestfs_launch_done_cb) (guestfs_h *g, void *opaque);\n" @@ -2390,7 +2418,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1167 +#: ../src/guestfs.pod:1176 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 +2426,12 @@ msgid "" msgstr "" # type: =head2 -#: ../src/guestfs.pod:1171 +#: ../src/guestfs.pod:1180 msgid "guestfs_set_close_callback" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1173 +#: ../src/guestfs.pod:1182 #, no-wrap msgid "" " typedef void (*guestfs_close_cb) (guestfs_h *g, void *opaque);\n" @@ -2414,14 +2442,14 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1178 +#: ../src/guestfs.pod:1187 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:1190 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 +2460,12 @@ msgid "" msgstr "" # type: =head2 -#: ../src/guestfs.pod:1189 +#: ../src/guestfs.pod:1198 msgid "guestfs_set_progress_callback" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1191 +#: ../src/guestfs.pod:1200 #, no-wrap msgid "" " typedef void (*guestfs_progress_cb) (guestfs_h *g, void *opaque,\n" @@ -2450,7 +2478,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1198 +#: ../src/guestfs.pod:1207 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 +2488,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1204 +#: ../src/guestfs.pod:1213 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 +2497,31 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1210 +#: ../src/guestfs.pod:1219 msgid "The only defined and stable parts of the API are:" msgstr "" # type: textblock -#: ../src/guestfs.pod:1216 +#: ../src/guestfs.pod:1225 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:1230 msgid "0 E= C E= C" msgstr "" # type: textblock -#: ../src/guestfs.pod:1225 +#: ../src/guestfs.pod:1234 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:1237 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 +2529,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1234 +#: ../src/guestfs.pod:1243 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 +2538,12 @@ msgid "" msgstr "" # type: =head1 -#: ../src/guestfs.pod:1239 +#: ../src/guestfs.pod:1248 msgid "PRIVATE DATA AREA" msgstr "" # type: textblock -#: ../src/guestfs.pod:1241 +#: ../src/guestfs.pod:1250 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 +2551,12 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1245 +#: ../src/guestfs.pod:1254 msgid "To attach a named piece of data, use the following call:" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1247 +#: ../src/guestfs.pod:1256 #, no-wrap msgid "" " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n" @@ -2536,7 +2564,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1249 +#: ../src/guestfs.pod:1258 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 +2572,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1253 +#: ../src/guestfs.pod:1262 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 +2581,12 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1258 +#: ../src/guestfs.pod:1267 msgid "To retrieve the pointer, use:" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1260 +#: ../src/guestfs.pod:1269 #, no-wrap msgid "" " void *guestfs_get_private (guestfs_h *g, const char *key);\n" @@ -2566,7 +2594,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1262 +#: ../src/guestfs.pod:1271 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 +2602,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1266 +#: ../src/guestfs.pod:1275 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 +2614,19 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1274 +#: ../src/guestfs.pod:1283 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:1286 msgid "BLOCK DEVICE NAMING" msgstr "" # type: textblock -#: ../src/guestfs.pod:1279 +#: ../src/guestfs.pod:1288 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 +2640,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1291 +#: ../src/guestfs.pod:1300 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 +2648,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1295 +#: ../src/guestfs.pod:1304 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 +2656,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1300 +#: ../src/guestfs.pod:1309 msgid "" "Therefore libguestfs defines C as the I. " "Internally C names are translated, if necessary, to other names as " @@ -2637,7 +2665,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1306 +#: ../src/guestfs.pod:1315 msgid "" "Note that this I applies to parameters. The L, " "L and similar calls return the true names of the " @@ -2645,12 +2673,12 @@ msgid "" msgstr "" # type: =head2 -#: ../src/guestfs.pod:1311 +#: ../src/guestfs.pod:1320 msgid "ALGORITHM FOR BLOCK DEVICE NAME TRANSLATION" msgstr "" # type: textblock -#: ../src/guestfs.pod:1313 +#: ../src/guestfs.pod:1322 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 +2687,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1319 +#: ../src/guestfs.pod:1328 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:1344 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:1349 msgid "Replace initial C string with C." msgstr "" # type: textblock -#: ../src/guestfs.pod:1342 +#: ../src/guestfs.pod:1351 msgid "For example, change C to C." msgstr "" # type: textblock -#: ../src/guestfs.pod:1344 +#: ../src/guestfs.pod:1353 msgid "If that named device exists, use it. If not, continue." msgstr "" # type: textblock -#: ../src/guestfs.pod:1348 +#: ../src/guestfs.pod:1357 msgid "Replace initial C string with C." msgstr "" # type: textblock -#: ../src/guestfs.pod:1350 +#: ../src/guestfs.pod:1359 msgid "If that named device exists, use it. If not, return an error." msgstr "" # type: =head2 -#: ../src/guestfs.pod:1354 +#: ../src/guestfs.pod:1363 msgid "PORTABILITY CONCERNS" msgstr "" # type: textblock -#: ../src/guestfs.pod:1356 +#: ../src/guestfs.pod:1365 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 +2750,51 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1360 +#: ../src/guestfs.pod:1369 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:1376 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:1379 msgid "" "Since those device names exist by definition, they will never be translated." msgstr "" # type: textblock -#: ../src/guestfs.pod:1375 +#: ../src/guestfs.pod:1384 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:1389 msgid "INTERNALS" msgstr "" # type: =head2 -#: ../src/guestfs.pod:1382 +#: ../src/guestfs.pod:1391 msgid "COMMUNICATION PROTOCOL" msgstr "" # type: textblock -#: ../src/guestfs.pod:1384 +#: ../src/guestfs.pod:1393 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:1396 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 +2802,14 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1391 +#: ../src/guestfs.pod:1400 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:1403 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 +2819,17 @@ msgid "" msgstr "" # type: =head3 -#: ../src/guestfs.pod:1401 +#: ../src/guestfs.pod:1410 msgid "ORDINARY FUNCTIONS (NO FILEIN/FILEOUT PARAMS)" msgstr "" # type: textblock -#: ../src/guestfs.pod:1403 +#: ../src/guestfs.pod:1412 msgid "For ordinary functions, the request message is:" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1405 +#: ../src/guestfs.pod:1414 #, no-wrap msgid "" " total length (header + arguments,\n" @@ -2812,7 +2840,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1410 +#: ../src/guestfs.pod:1419 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 +2849,26 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1416 +#: ../src/guestfs.pod:1425 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:1428 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:1432 msgid "The reply message for ordinary functions is:" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1425 +#: ../src/guestfs.pod:1434 #, no-wrap msgid "" " total length (header + ret,\n" @@ -2851,27 +2879,27 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1430 +#: ../src/guestfs.pod:1439 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:1442 msgid "" "As above the total length of the reply is limited to C." msgstr "" # type: textblock -#: ../src/guestfs.pod:1436 +#: ../src/guestfs.pod:1445 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:1448 #, no-wrap msgid "" " total length (header + error,\n" @@ -2882,19 +2910,19 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1444 +#: ../src/guestfs.pod:1453 msgid "" "The C structure contains the error message as a " "string." msgstr "" # type: =head3 -#: ../src/guestfs.pod:1447 +#: ../src/guestfs.pod:1456 msgid "FUNCTIONS THAT HAVE FILEIN PARAMETERS" msgstr "" # type: textblock -#: ../src/guestfs.pod:1449 +#: ../src/guestfs.pod:1458 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 +2930,7 @@ msgid "" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1453 +#: ../src/guestfs.pod:1462 #, no-wrap msgid "" " total length (header + arguments,\n" @@ -2916,12 +2944,12 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1461 +#: ../src/guestfs.pod:1470 msgid "The \"sequence of chunks\" is:" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1463 +#: ../src/guestfs.pod:1472 #, no-wrap msgid "" " length of chunk (not including length word itself)\n" @@ -2935,7 +2963,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1471 +#: ../src/guestfs.pod:1480 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 +2971,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1475 +#: ../src/guestfs.pod:1484 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 +2980,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1480 +#: ../src/guestfs.pod:1489 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 +2989,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1486 +#: ../src/guestfs.pod:1495 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 +3001,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1495 +#: ../src/guestfs.pod:1504 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 +3011,19 @@ msgid "" msgstr "" # type: =head3 -#: ../src/guestfs.pod:1501 +#: ../src/guestfs.pod:1510 msgid "FUNCTIONS THAT HAVE FILEOUT PARAMETERS" msgstr "" # type: textblock -#: ../src/guestfs.pod:1503 +#: ../src/guestfs.pod:1512 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:1515 #, no-wrap msgid "" " total length (header + ret,\n" @@ -3009,46 +3037,81 @@ msgid "" msgstr "" # type: =head3 -#: ../src/guestfs.pod:1514 +#: ../src/guestfs.pod:1523 msgid "INITIAL MESSAGE" msgstr "" # type: textblock -#: ../src/guestfs.pod:1516 +#: ../src/guestfs.pod:1525 +msgid "" +"When the daemon launches it sends an initial word (C) " +"which indicates that the guest and daemon is alive. This is what L waits for." +msgstr "" + +# type: =head3 +#: ../src/guestfs.pod:1529 +msgid "PROGRESS NOTIFICATION MESSAGES" +msgstr "" + +# type: textblock +#: ../src/guestfs.pod:1531 +msgid "" +"The daemon may send progress notification messages at any time. These are " +"distinguished by the normal length word being replaced by " +"C, followed by a fixed size progress message." +msgstr "" + +# type: textblock +#: ../src/guestfs.pod:1535 +msgid "" +"The library turns them into progress callbacks (see " +"C) if there is a callback registered, or " +"discards them if not." +msgstr "" + +# type: textblock +#: ../src/guestfs.pod:1539 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 " -"(C) which indicates that the guest and daemon is " -"alive. This is what L waits for." +"The daemon self-limits the frequency of progress messages it sends (see " +"C). Not all calls generate progress " +"messages." msgstr "" # type: =head1 -#: ../src/guestfs.pod:1521 +#: ../src/guestfs.pod:1543 msgid "MULTIPLE HANDLES AND MULTIPLE THREADS" msgstr "" # type: textblock -#: ../src/guestfs.pod:1523 +#: ../src/guestfs.pod:1545 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:1548 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 " "calls on the same handle at the same time." msgstr "" +# type: textblock +#: ../src/guestfs.pod:1552 +msgid "" +"See the graphical program guestfs-browser for one possible architecture for " +"multithreaded programs using libvirt and libguestfs." +msgstr "" + # type: =head1 -#: ../src/guestfs.pod:1530 +#: ../src/guestfs.pod:1555 msgid "QEMU WRAPPERS" msgstr "" # type: textblock -#: ../src/guestfs.pod:1532 +#: ../src/guestfs.pod:1557 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 +3119,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1536 +#: ../src/guestfs.pod:1561 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 +3128,14 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1541 +#: ../src/guestfs.pod:1566 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:1569 #, no-wrap msgid "" " #!/bin/sh -\n" @@ -3082,7 +3145,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1548 +#: ../src/guestfs.pod:1573 msgid "" "Save this script as C (or wherever), C, and " "then use it by setting the LIBGUESTFS_QEMU environment variable. For " @@ -3090,7 +3153,7 @@ msgid "" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1552 +#: ../src/guestfs.pod:1577 #, no-wrap msgid "" " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n" @@ -3098,19 +3161,19 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1554 +#: ../src/guestfs.pod:1579 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:1582 msgid "LIBGUESTFS VERSION NUMBERS" msgstr "" # type: textblock -#: ../src/guestfs.pod:1559 +#: ../src/guestfs.pod:1584 msgid "" "Since April 2010, libguestfs has started to make separate development and " "stable releases, along with corresponding branches in our git repository. " @@ -3118,7 +3181,7 @@ msgid "" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1564 +#: ../src/guestfs.pod:1589 #, no-wrap msgid "" " even numbers for stable: 1.2.x, 1.4.x, ...\n" @@ -3135,12 +3198,12 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1575 +#: ../src/guestfs.pod:1600 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:1602 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 +3213,26 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1583 +#: ../src/guestfs.pod:1608 msgid "Our criteria for backporting changes are:" msgstr "" # type: textblock -#: ../src/guestfs.pod:1589 +#: ../src/guestfs.pod:1614 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:1620 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:1625 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 +3240,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1606 +#: ../src/guestfs.pod:1631 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 +3248,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1612 +#: ../src/guestfs.pod:1637 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 +3259,47 @@ msgid "" msgstr "" # type: =head1 -#: ../src/guestfs.pod:1620 ../fish/guestfish.pod:905 +#: ../src/guestfs.pod:1645 ../fish/guestfish.pod:933 #: ../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:1649 ../fish/guestfish.pod:953 msgid "LIBGUESTFS_APPEND" msgstr "" # type: textblock -#: ../src/guestfs.pod:1626 ../fish/guestfish.pod:927 +#: ../src/guestfs.pod:1651 ../fish/guestfish.pod:955 msgid "Pass additional options to the guest kernel." msgstr "" # type: =item -#: ../src/guestfs.pod:1628 ../fish/guestfish.pod:929 +#: ../src/guestfs.pod:1653 ../fish/guestfish.pod:957 msgid "LIBGUESTFS_DEBUG" msgstr "" # type: textblock -#: ../src/guestfs.pod:1630 +#: ../src/guestfs.pod:1655 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:1658 ../fish/guestfish.pod:962 msgid "LIBGUESTFS_MEMSIZE" msgstr "" # type: textblock -#: ../src/guestfs.pod:1635 ../fish/guestfish.pod:936 +#: ../src/guestfs.pod:1660 ../fish/guestfish.pod:964 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:1663 ../fish/guestfish.pod:967 #, no-wrap msgid "" " LIBGUESTFS_MEMSIZE=700\n" @@ -3244,58 +3307,58 @@ msgid "" msgstr "" # type: =item -#: ../src/guestfs.pod:1640 ../fish/guestfish.pod:941 +#: ../src/guestfs.pod:1665 ../fish/guestfish.pod:969 msgid "LIBGUESTFS_PATH" msgstr "" # type: textblock -#: ../src/guestfs.pod:1642 +#: ../src/guestfs.pod:1667 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:1670 ../fish/guestfish.pod:974 msgid "LIBGUESTFS_QEMU" msgstr "" # type: textblock -#: ../src/guestfs.pod:1647 ../fish/guestfish.pod:948 +#: ../src/guestfs.pod:1672 ../fish/guestfish.pod:976 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:1676 msgid "See also L above." msgstr "" # type: =item -#: ../src/guestfs.pod:1653 ../fish/guestfish.pod:952 +#: ../src/guestfs.pod:1678 ../fish/guestfish.pod:980 msgid "LIBGUESTFS_TRACE" msgstr "" # type: textblock -#: ../src/guestfs.pod:1655 +#: ../src/guestfs.pod:1680 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:1683 ../fish/guestfish.pod:989 msgid "TMPDIR" msgstr "" # type: textblock -#: ../src/guestfs.pod:1660 ../fish/guestfish.pod:963 +#: ../src/guestfs.pod:1685 ../fish/guestfish.pod:991 msgid "Location of temporary directory, defaults to C." msgstr "" # type: textblock -#: ../src/guestfs.pod:1662 ../fish/guestfish.pod:965 +#: ../src/guestfs.pod:1687 ../fish/guestfish.pod:993 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 +3367,7 @@ msgid "" msgstr "" # type: =head1 -#: ../src/guestfs.pod:1670 ../fish/guestfish.pod:1023 +#: ../src/guestfs.pod:1695 ../fish/guestfish.pod:1051 #: ../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 +3379,7 @@ msgid "SEE ALSO" msgstr "" # type: textblock -#: ../src/guestfs.pod:1672 +#: ../src/guestfs.pod:1697 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:1722 ../tools/virt-make-fs.pl:541 #: ../tools/virt-win-reg.pl:476 msgid "BUGS" msgstr "" # type: textblock -#: ../src/guestfs.pod:1699 +#: ../src/guestfs.pod:1724 msgid "To get a list of bugs against libguestfs use this link:" msgstr "" # type: textblock -#: ../src/guestfs.pod:1701 +#: ../src/guestfs.pod:1726 msgid "" "L" msgstr "" # type: textblock -#: ../src/guestfs.pod:1703 +#: ../src/guestfs.pod:1728 msgid "To report a new bug against libguestfs use this link:" msgstr "" # type: textblock -#: ../src/guestfs.pod:1705 +#: ../src/guestfs.pod:1730 msgid "" "L" msgstr "" # type: textblock -#: ../src/guestfs.pod:1707 +#: ../src/guestfs.pod:1732 msgid "When reporting a bug, please check:" msgstr "" # type: textblock -#: ../src/guestfs.pod:1713 +#: ../src/guestfs.pod:1738 msgid "That the bug hasn't been reported already." msgstr "" # type: textblock -#: ../src/guestfs.pod:1717 +#: ../src/guestfs.pod:1742 msgid "That you are testing a recent version." msgstr "" # type: textblock -#: ../src/guestfs.pod:1721 +#: ../src/guestfs.pod:1746 msgid "Describe the bug accurately, and give a way to reproduce it." msgstr "" # type: textblock -#: ../src/guestfs.pod:1725 +#: ../src/guestfs.pod:1750 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:1755 ../fish/guestfish.pod:1067 #: ../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:1757 ../fish/guestfish.pod:1069 #: ../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:1759 ../fish/guestfish.pod:1071 #: ../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 +3478,12 @@ msgid "COPYRIGHT" msgstr "" # type: textblock -#: ../src/guestfs.pod:1736 ../fish/guestfish.pod:1045 +#: ../src/guestfs.pod:1761 ../fish/guestfish.pod:1073 msgid "Copyright (C) 2009-2010 Red Hat Inc. L" msgstr "" # type: textblock -#: ../src/guestfs.pod:1739 +#: ../src/guestfs.pod:1764 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 +3492,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1744 +#: ../src/guestfs.pod:1769 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 +3501,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1749 +#: ../src/guestfs.pod:1774 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, " @@ -3514,70 +3577,70 @@ msgstr "" #: ../src/guestfs-actions.pod:1365 ../src/guestfs-actions.pod:1446 #: ../src/guestfs-actions.pod:1794 ../src/guestfs-actions.pod:1917 #: ../src/guestfs-actions.pod:1972 ../src/guestfs-actions.pod:2002 -#: ../src/guestfs-actions.pod:2349 ../src/guestfs-actions.pod:2361 -#: ../src/guestfs-actions.pod:2378 ../src/guestfs-actions.pod:2443 -#: ../src/guestfs-actions.pod:2454 ../src/guestfs-actions.pod:2464 -#: ../src/guestfs-actions.pod:2475 ../src/guestfs-actions.pod:2487 -#: ../src/guestfs-actions.pod:2517 ../src/guestfs-actions.pod:2581 -#: ../src/guestfs-actions.pod:2598 ../src/guestfs-actions.pod:2612 -#: ../src/guestfs-actions.pod:2632 ../src/guestfs-actions.pod:2652 -#: ../src/guestfs-actions.pod:2681 ../src/guestfs-actions.pod:2697 -#: ../src/guestfs-actions.pod:2713 ../src/guestfs-actions.pod:2725 -#: ../src/guestfs-actions.pod:2734 ../src/guestfs-actions.pod:2767 -#: ../src/guestfs-actions.pod:2780 ../src/guestfs-actions.pod:2790 -#: ../src/guestfs-actions.pod:2802 ../src/guestfs-actions.pod:2816 -#: ../src/guestfs-actions.pod:2896 ../src/guestfs-actions.pod:2913 -#: ../src/guestfs-actions.pod:2923 ../src/guestfs-actions.pod:2968 -#: ../src/guestfs-actions.pod:2983 ../src/guestfs-actions.pod:2998 -#: ../src/guestfs-actions.pod:3011 ../src/guestfs-actions.pod:3022 -#: ../src/guestfs-actions.pod:3033 ../src/guestfs-actions.pod:3047 -#: ../src/guestfs-actions.pod:3059 ../src/guestfs-actions.pod:3076 -#: ../src/guestfs-actions.pod:3107 ../src/guestfs-actions.pod:3135 -#: ../src/guestfs-actions.pod:3151 ../src/guestfs-actions.pod:3167 -#: ../src/guestfs-actions.pod:3176 ../src/guestfs-actions.pod:3190 -#: ../src/guestfs-actions.pod:3200 ../src/guestfs-actions.pod:3212 -#: ../src/guestfs-actions.pod:3224 ../src/guestfs-actions.pod:3256 -#: ../src/guestfs-actions.pod:3268 ../src/guestfs-actions.pod:3285 -#: ../src/guestfs-actions.pod:3296 ../src/guestfs-actions.pod:3310 -#: ../src/guestfs-actions.pod:3350 ../src/guestfs-actions.pod:3381 -#: ../src/guestfs-actions.pod:3392 ../src/guestfs-actions.pod:3417 -#: ../src/guestfs-actions.pod:3431 ../src/guestfs-actions.pod:3446 -#: ../src/guestfs-actions.pod:3568 ../src/guestfs-actions.pod:3620 -#: ../src/guestfs-actions.pod:3639 ../src/guestfs-actions.pod:3654 -#: ../src/guestfs-actions.pod:3665 ../src/guestfs-actions.pod:3699 -#: ../src/guestfs-actions.pod:3713 ../src/guestfs-actions.pod:3723 -#: ../src/guestfs-actions.pod:3734 ../src/guestfs-actions.pod:3966 -#: ../src/guestfs-actions.pod:3982 ../src/guestfs-actions.pod:3993 -#: ../src/guestfs-actions.pod:4002 ../src/guestfs-actions.pod:4013 -#: ../src/guestfs-actions.pod:4022 ../src/guestfs-actions.pod:4033 -#: ../src/guestfs-actions.pod:4046 ../src/guestfs-actions.pod:4064 -#: ../src/guestfs-actions.pod:4080 ../src/guestfs-actions.pod:4096 -#: ../src/guestfs-actions.pod:4111 ../src/guestfs-actions.pod:4131 -#: ../src/guestfs-actions.pod:4146 ../src/guestfs-actions.pod:4162 -#: ../src/guestfs-actions.pod:4180 ../src/guestfs-actions.pod:4196 -#: ../src/guestfs-actions.pod:4210 ../src/guestfs-actions.pod:4235 -#: ../src/guestfs-actions.pod:4256 ../src/guestfs-actions.pod:4272 -#: ../src/guestfs-actions.pod:4293 ../src/guestfs-actions.pod:4305 -#: ../src/guestfs-actions.pod:4317 ../src/guestfs-actions.pod:4333 -#: ../src/guestfs-actions.pod:4367 ../src/guestfs-actions.pod:4387 -#: ../src/guestfs-actions.pod:4410 ../src/guestfs-actions.pod:4500 -#: ../src/guestfs-actions.pod:4606 ../src/guestfs-actions.pod:4615 -#: ../src/guestfs-actions.pod:4625 ../src/guestfs-actions.pod:4635 -#: ../src/guestfs-actions.pod:4654 ../src/guestfs-actions.pod:4664 -#: ../src/guestfs-actions.pod:4674 ../src/guestfs-actions.pod:4684 -#: ../src/guestfs-actions.pod:4696 ../src/guestfs-actions.pod:4746 -#: ../src/guestfs-actions.pod:4760 ../src/guestfs-actions.pod:4773 -#: ../src/guestfs-actions.pod:4786 ../src/guestfs-actions.pod:4800 -#: ../src/guestfs-actions.pod:4810 ../src/guestfs-actions.pod:4827 -#: ../src/guestfs-actions.pod:4857 ../src/guestfs-actions.pod:4868 -#: ../src/guestfs-actions.pod:4903 ../src/guestfs-actions.pod:4913 -#: ../src/guestfs-actions.pod:4928 ../src/guestfs-actions.pod:4956 -#: ../src/guestfs-actions.pod:5060 ../src/guestfs-actions.pod:5075 -#: ../src/guestfs-actions.pod:5086 ../src/guestfs-actions.pod:5132 -#: ../src/guestfs-actions.pod:5142 ../src/guestfs-actions.pod:5179 -#: ../src/guestfs-actions.pod:5206 ../src/guestfs-actions.pod:5248 -#: ../src/guestfs-actions.pod:5271 ../src/guestfs-actions.pod:5328 -#: ../src/guestfs-actions.pod:5344 ../src/guestfs-actions.pod:5370 +#: ../src/guestfs-actions.pod:2409 ../src/guestfs-actions.pod:2421 +#: ../src/guestfs-actions.pod:2438 ../src/guestfs-actions.pod:2503 +#: ../src/guestfs-actions.pod:2514 ../src/guestfs-actions.pod:2524 +#: ../src/guestfs-actions.pod:2535 ../src/guestfs-actions.pod:2547 +#: ../src/guestfs-actions.pod:2577 ../src/guestfs-actions.pod:2641 +#: ../src/guestfs-actions.pod:2658 ../src/guestfs-actions.pod:2672 +#: ../src/guestfs-actions.pod:2692 ../src/guestfs-actions.pod:2712 +#: ../src/guestfs-actions.pod:2741 ../src/guestfs-actions.pod:2757 +#: ../src/guestfs-actions.pod:2773 ../src/guestfs-actions.pod:2785 +#: ../src/guestfs-actions.pod:2794 ../src/guestfs-actions.pod:2827 +#: ../src/guestfs-actions.pod:2840 ../src/guestfs-actions.pod:2850 +#: ../src/guestfs-actions.pod:2862 ../src/guestfs-actions.pod:2876 +#: ../src/guestfs-actions.pod:2956 ../src/guestfs-actions.pod:2973 +#: ../src/guestfs-actions.pod:2983 ../src/guestfs-actions.pod:3028 +#: ../src/guestfs-actions.pod:3043 ../src/guestfs-actions.pod:3058 +#: ../src/guestfs-actions.pod:3071 ../src/guestfs-actions.pod:3082 +#: ../src/guestfs-actions.pod:3093 ../src/guestfs-actions.pod:3107 +#: ../src/guestfs-actions.pod:3119 ../src/guestfs-actions.pod:3136 +#: ../src/guestfs-actions.pod:3167 ../src/guestfs-actions.pod:3195 +#: ../src/guestfs-actions.pod:3211 ../src/guestfs-actions.pod:3227 +#: ../src/guestfs-actions.pod:3236 ../src/guestfs-actions.pod:3250 +#: ../src/guestfs-actions.pod:3260 ../src/guestfs-actions.pod:3272 +#: ../src/guestfs-actions.pod:3284 ../src/guestfs-actions.pod:3316 +#: ../src/guestfs-actions.pod:3328 ../src/guestfs-actions.pod:3345 +#: ../src/guestfs-actions.pod:3356 ../src/guestfs-actions.pod:3370 +#: ../src/guestfs-actions.pod:3410 ../src/guestfs-actions.pod:3441 +#: ../src/guestfs-actions.pod:3452 ../src/guestfs-actions.pod:3477 +#: ../src/guestfs-actions.pod:3491 ../src/guestfs-actions.pod:3506 +#: ../src/guestfs-actions.pod:3628 ../src/guestfs-actions.pod:3680 +#: ../src/guestfs-actions.pod:3699 ../src/guestfs-actions.pod:3714 +#: ../src/guestfs-actions.pod:3725 ../src/guestfs-actions.pod:3759 +#: ../src/guestfs-actions.pod:3773 ../src/guestfs-actions.pod:3783 +#: ../src/guestfs-actions.pod:3794 ../src/guestfs-actions.pod:4026 +#: ../src/guestfs-actions.pod:4042 ../src/guestfs-actions.pod:4053 +#: ../src/guestfs-actions.pod:4062 ../src/guestfs-actions.pod:4073 +#: ../src/guestfs-actions.pod:4082 ../src/guestfs-actions.pod:4093 +#: ../src/guestfs-actions.pod:4106 ../src/guestfs-actions.pod:4124 +#: ../src/guestfs-actions.pod:4140 ../src/guestfs-actions.pod:4156 +#: ../src/guestfs-actions.pod:4171 ../src/guestfs-actions.pod:4191 +#: ../src/guestfs-actions.pod:4206 ../src/guestfs-actions.pod:4222 +#: ../src/guestfs-actions.pod:4240 ../src/guestfs-actions.pod:4256 +#: ../src/guestfs-actions.pod:4270 ../src/guestfs-actions.pod:4295 +#: ../src/guestfs-actions.pod:4316 ../src/guestfs-actions.pod:4332 +#: ../src/guestfs-actions.pod:4353 ../src/guestfs-actions.pod:4365 +#: ../src/guestfs-actions.pod:4377 ../src/guestfs-actions.pod:4393 +#: ../src/guestfs-actions.pod:4427 ../src/guestfs-actions.pod:4447 +#: ../src/guestfs-actions.pod:4470 ../src/guestfs-actions.pod:4560 +#: ../src/guestfs-actions.pod:4666 ../src/guestfs-actions.pod:4675 +#: ../src/guestfs-actions.pod:4685 ../src/guestfs-actions.pod:4695 +#: ../src/guestfs-actions.pod:4714 ../src/guestfs-actions.pod:4724 +#: ../src/guestfs-actions.pod:4734 ../src/guestfs-actions.pod:4744 +#: ../src/guestfs-actions.pod:4756 ../src/guestfs-actions.pod:4806 +#: ../src/guestfs-actions.pod:4820 ../src/guestfs-actions.pod:4833 +#: ../src/guestfs-actions.pod:4846 ../src/guestfs-actions.pod:4860 +#: ../src/guestfs-actions.pod:4870 ../src/guestfs-actions.pod:4887 +#: ../src/guestfs-actions.pod:4917 ../src/guestfs-actions.pod:4928 +#: ../src/guestfs-actions.pod:4963 ../src/guestfs-actions.pod:4973 +#: ../src/guestfs-actions.pod:4988 ../src/guestfs-actions.pod:5016 +#: ../src/guestfs-actions.pod:5120 ../src/guestfs-actions.pod:5135 +#: ../src/guestfs-actions.pod:5146 ../src/guestfs-actions.pod:5192 +#: ../src/guestfs-actions.pod:5202 ../src/guestfs-actions.pod:5239 +#: ../src/guestfs-actions.pod:5266 ../src/guestfs-actions.pod:5308 +#: ../src/guestfs-actions.pod:5331 ../src/guestfs-actions.pod:5388 +#: ../src/guestfs-actions.pod:5404 ../src/guestfs-actions.pod:5430 msgid "This function returns 0 on success or -1 on error." msgstr "" @@ -3848,10 +3911,10 @@ msgstr "" #: ../src/guestfs-actions.pod:1622 ../src/guestfs-actions.pod:1665 #: ../src/guestfs-actions.pod:1682 ../src/guestfs-actions.pod:1907 #: ../src/guestfs-actions.pod:2119 ../src/guestfs-actions.pod:2137 -#: ../src/guestfs-actions.pod:3370 ../src/guestfs-actions.pod:3477 -#: ../src/guestfs-actions.pod:3793 ../src/guestfs-actions.pod:4892 -#: ../src/guestfs-actions.pod:5216 ../src/guestfs-actions.pod:5226 -#: ../src/guestfs-actions.pod:5236 +#: ../src/guestfs-actions.pod:3430 ../src/guestfs-actions.pod:3537 +#: ../src/guestfs-actions.pod:3853 ../src/guestfs-actions.pod:4952 +#: ../src/guestfs-actions.pod:5276 ../src/guestfs-actions.pod:5286 +#: ../src/guestfs-actions.pod:5296 msgid "On error this function returns -1." msgstr "" @@ -3888,15 +3951,15 @@ msgstr "" #: ../src/guestfs-actions.pod:1567 ../src/guestfs-actions.pod:1701 #: ../src/guestfs-actions.pod:1840 ../src/guestfs-actions.pod:2021 #: ../src/guestfs-actions.pod:2071 ../src/guestfs-actions.pod:2187 -#: ../src/guestfs-actions.pod:2222 ../src/guestfs-actions.pod:2432 -#: ../src/guestfs-actions.pod:2853 ../src/guestfs-actions.pod:2949 -#: ../src/guestfs-actions.pod:3492 ../src/guestfs-actions.pod:3771 -#: ../src/guestfs-actions.pod:3909 ../src/guestfs-actions.pod:3952 -#: ../src/guestfs-actions.pod:4428 ../src/guestfs-actions.pod:4441 -#: ../src/guestfs-actions.pod:4455 ../src/guestfs-actions.pod:4476 -#: ../src/guestfs-actions.pod:5009 ../src/guestfs-actions.pod:5025 -#: ../src/guestfs-actions.pod:5040 ../src/guestfs-actions.pod:5188 -#: ../src/guestfs-actions.pod:5418 +#: ../src/guestfs-actions.pod:2222 ../src/guestfs-actions.pod:2492 +#: ../src/guestfs-actions.pod:2913 ../src/guestfs-actions.pod:3009 +#: ../src/guestfs-actions.pod:3552 ../src/guestfs-actions.pod:3831 +#: ../src/guestfs-actions.pod:3969 ../src/guestfs-actions.pod:4012 +#: ../src/guestfs-actions.pod:4488 ../src/guestfs-actions.pod:4501 +#: ../src/guestfs-actions.pod:4515 ../src/guestfs-actions.pod:4536 +#: ../src/guestfs-actions.pod:5069 ../src/guestfs-actions.pod:5085 +#: ../src/guestfs-actions.pod:5100 ../src/guestfs-actions.pod:5248 +#: ../src/guestfs-actions.pod:5478 msgid "" "This function returns a string, or NULL on error. I." @@ -4099,17 +4162,17 @@ msgstr "" #: ../src/guestfs-actions.pod:1804 ../src/guestfs-actions.pod:1825 #: ../src/guestfs-actions.pod:1887 ../src/guestfs-actions.pod:1927 #: ../src/guestfs-actions.pod:2093 ../src/guestfs-actions.pod:2259 -#: ../src/guestfs-actions.pod:2402 ../src/guestfs-actions.pod:2417 -#: ../src/guestfs-actions.pod:2501 ../src/guestfs-actions.pod:2830 -#: ../src/guestfs-actions.pod:3337 ../src/guestfs-actions.pod:3748 -#: ../src/guestfs-actions.pod:3834 ../src/guestfs-actions.pod:3940 -#: ../src/guestfs-actions.pod:4489 ../src/guestfs-actions.pod:4538 -#: ../src/guestfs-actions.pod:4590 ../src/guestfs-actions.pod:4706 -#: ../src/guestfs-actions.pod:4727 ../src/guestfs-actions.pod:5101 -#: ../src/guestfs-actions.pod:5118 ../src/guestfs-actions.pod:5156 -#: ../src/guestfs-actions.pod:5292 ../src/guestfs-actions.pod:5308 -#: ../src/guestfs-actions.pod:5381 ../src/guestfs-actions.pod:5397 -#: ../src/guestfs-actions.pod:5437 ../src/guestfs-actions.pod:5453 +#: ../src/guestfs-actions.pod:2462 ../src/guestfs-actions.pod:2477 +#: ../src/guestfs-actions.pod:2561 ../src/guestfs-actions.pod:2890 +#: ../src/guestfs-actions.pod:3397 ../src/guestfs-actions.pod:3808 +#: ../src/guestfs-actions.pod:3894 ../src/guestfs-actions.pod:4000 +#: ../src/guestfs-actions.pod:4549 ../src/guestfs-actions.pod:4598 +#: ../src/guestfs-actions.pod:4650 ../src/guestfs-actions.pod:4766 +#: ../src/guestfs-actions.pod:4787 ../src/guestfs-actions.pod:5161 +#: ../src/guestfs-actions.pod:5178 ../src/guestfs-actions.pod:5216 +#: ../src/guestfs-actions.pod:5352 ../src/guestfs-actions.pod:5368 +#: ../src/guestfs-actions.pod:5441 ../src/guestfs-actions.pod:5457 +#: ../src/guestfs-actions.pod:5497 ../src/guestfs-actions.pod:5513 msgid "" "This function returns a NULL-terminated array of strings (like L), or NULL if there was an error. I." msgstr "" @@ -4766,28 +4832,28 @@ msgstr "" #: ../src/guestfs-actions.pod:1755 ../src/guestfs-actions.pod:1771 #: ../src/guestfs-actions.pod:1808 ../src/guestfs-actions.pod:1829 #: ../src/guestfs-actions.pod:1843 ../src/guestfs-actions.pod:1869 -#: ../src/guestfs-actions.pod:3687 ../src/guestfs-actions.pod:3795 -#: ../src/guestfs-actions.pod:3816 ../src/guestfs-actions.pod:4542 -#: ../src/guestfs-actions.pod:4594 ../src/guestfs-actions.pod:4710 -#: ../src/guestfs-actions.pod:4731 ../src/guestfs-actions.pod:5250 -#: ../src/guestfs-actions.pod:5273 ../src/guestfs-actions.pod:5296 -#: ../src/guestfs-actions.pod:5312 ../src/guestfs-actions.pod:5385 -#: ../src/guestfs-actions.pod:5401 ../src/guestfs-actions.pod:5441 -#: ../src/guestfs-actions.pod:5457 ../fish/guestfish-actions.pod:507 +#: ../src/guestfs-actions.pod:3747 ../src/guestfs-actions.pod:3855 +#: ../src/guestfs-actions.pod:3876 ../src/guestfs-actions.pod:4602 +#: ../src/guestfs-actions.pod:4654 ../src/guestfs-actions.pod:4770 +#: ../src/guestfs-actions.pod:4791 ../src/guestfs-actions.pod:5310 +#: ../src/guestfs-actions.pod:5333 ../src/guestfs-actions.pod:5356 +#: ../src/guestfs-actions.pod:5372 ../src/guestfs-actions.pod:5445 +#: ../src/guestfs-actions.pod:5461 ../src/guestfs-actions.pod:5501 +#: ../src/guestfs-actions.pod:5517 ../fish/guestfish-actions.pod:507 #: ../fish/guestfish-actions.pod:642 ../fish/guestfish-actions.pod:654 #: ../fish/guestfish-actions.pod:836 ../fish/guestfish-actions.pod:846 #: ../fish/guestfish-actions.pod:913 ../fish/guestfish-actions.pod:923 #: ../fish/guestfish-actions.pod:1118 ../fish/guestfish-actions.pod:1391 #: ../fish/guestfish-actions.pod:1401 ../fish/guestfish-actions.pod:1429 #: ../fish/guestfish-actions.pod:1444 ../fish/guestfish-actions.pod:1454 -#: ../fish/guestfish-actions.pod:1473 ../fish/guestfish-actions.pod:2846 -#: ../fish/guestfish-actions.pod:2922 ../fish/guestfish-actions.pod:2937 -#: ../fish/guestfish-actions.pod:3498 ../fish/guestfish-actions.pod:3544 -#: ../fish/guestfish-actions.pod:3629 ../fish/guestfish-actions.pod:3644 -#: ../fish/guestfish-actions.pod:4027 ../fish/guestfish-actions.pod:4045 -#: ../fish/guestfish-actions.pod:4062 ../fish/guestfish-actions.pod:4072 -#: ../fish/guestfish-actions.pod:4120 ../fish/guestfish-actions.pod:4130 -#: ../fish/guestfish-actions.pod:4159 ../fish/guestfish-actions.pod:4169 +#: ../fish/guestfish-actions.pod:1473 ../fish/guestfish-actions.pod:2891 +#: ../fish/guestfish-actions.pod:2967 ../fish/guestfish-actions.pod:2982 +#: ../fish/guestfish-actions.pod:3543 ../fish/guestfish-actions.pod:3589 +#: ../fish/guestfish-actions.pod:3674 ../fish/guestfish-actions.pod:3689 +#: ../fish/guestfish-actions.pod:4072 ../fish/guestfish-actions.pod:4090 +#: ../fish/guestfish-actions.pod:4107 ../fish/guestfish-actions.pod:4117 +#: ../fish/guestfish-actions.pod:4165 ../fish/guestfish-actions.pod:4175 +#: ../fish/guestfish-actions.pod:4204 ../fish/guestfish-actions.pod:4214 msgid "" "Because of the message protocol, there is a transfer limit of somewhere " "between 2MB and 4MB. See L." @@ -4995,11 +5061,11 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:732 ../src/guestfs-actions.pod:3045 -#: ../src/guestfs-actions.pod:3133 ../src/guestfs-actions.pod:3149 -#: ../src/guestfs-actions.pod:3165 ../fish/guestfish-actions.pod:596 -#: ../fish/guestfish-actions.pod:2362 ../fish/guestfish-actions.pod:2432 -#: ../fish/guestfish-actions.pod:2442 ../fish/guestfish-actions.pod:2452 +#: ../src/guestfs-actions.pod:732 ../src/guestfs-actions.pod:3105 +#: ../src/guestfs-actions.pod:3193 ../src/guestfs-actions.pod:3209 +#: ../src/guestfs-actions.pod:3225 ../fish/guestfish-actions.pod:596 +#: ../fish/guestfish-actions.pod:2407 ../fish/guestfish-actions.pod:2477 +#: ../fish/guestfish-actions.pod:2487 ../fish/guestfish-actions.pod:2497 msgid "The mode actually set is affected by the umask." msgstr "" @@ -5025,8 +5091,8 @@ msgid "Change the file owner to C and group to C." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:745 ../src/guestfs-actions.pod:2374 -#: ../fish/guestfish-actions.pod:604 ../fish/guestfish-actions.pod:1890 +#: ../src/guestfs-actions.pod:745 ../src/guestfs-actions.pod:2434 +#: ../fish/guestfish-actions.pod:604 ../fish/guestfish-actions.pod:1935 msgid "" "Only numeric uid and gid are supported. If you want to use names, you will " "need to locate and parse the password file yourself (Augeas support makes " @@ -5187,7 +5253,7 @@ msgstr "" # type: textblock #: ../src/guestfs-actions.pod:841 ../src/guestfs-actions.pod:976 #: ../src/guestfs-actions.pod:1348 ../src/guestfs-actions.pod:1367 -#: ../src/guestfs-actions.pod:5330 ../src/guestfs-actions.pod:5346 +#: ../src/guestfs-actions.pod:5390 ../src/guestfs-actions.pod:5406 msgid "" "This long-running command can generate progress notification messages so " "that the caller can display a progress bar or indicator. To receive these " @@ -5427,8 +5493,8 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:970 ../src/guestfs-actions.pod:4924 -#: ../fish/guestfish-actions.pod:773 ../fish/guestfish-actions.pod:3798 +#: ../src/guestfs-actions.pod:970 ../src/guestfs-actions.pod:4984 +#: ../fish/guestfish-actions.pod:773 ../fish/guestfish-actions.pod:3843 msgid "C can also be a named pipe." msgstr "" @@ -5700,10 +5766,10 @@ msgstr "" # type: textblock #: ../src/guestfs-actions.pod:1120 ../src/guestfs-actions.pod:1555 -#: ../src/guestfs-actions.pod:1573 ../src/guestfs-actions.pod:5279 -#: ../src/guestfs-actions.pod:5424 ../fish/guestfish-actions.pod:882 +#: ../src/guestfs-actions.pod:1573 ../src/guestfs-actions.pod:5339 +#: ../src/guestfs-actions.pod:5484 ../fish/guestfish-actions.pod:882 #: ../fish/guestfish-actions.pod:1239 ../fish/guestfish-actions.pod:1253 -#: ../fish/guestfish-actions.pod:4051 ../fish/guestfish-actions.pod:4148 +#: ../fish/guestfish-actions.pod:4096 ../fish/guestfish-actions.pod:4193 msgid "" "Deprecated functions will not be removed from the API, but the fact that " "they are deprecated indicates that there are problems with correct use of " @@ -6484,9 +6550,9 @@ msgstr "" # type: textblock #: ../src/guestfs-actions.pod:1588 ../src/guestfs-actions.pod:1651 -#: ../src/guestfs-actions.pod:4177 ../src/guestfs-actions.pod:4269 +#: ../src/guestfs-actions.pod:4237 ../src/guestfs-actions.pod:4329 #: ../fish/guestfish-actions.pod:1268 ../fish/guestfish-actions.pod:1317 -#: ../fish/guestfish-actions.pod:3223 ../fish/guestfish-actions.pod:3300 +#: ../fish/guestfish-actions.pod:3268 ../fish/guestfish-actions.pod:3345 msgid "" "For more information on the architecture of libguestfs, see L." msgstr "" @@ -6650,11 +6716,11 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:1663 ../src/guestfs-actions.pod:2270 -#: ../src/guestfs-actions.pod:2281 ../src/guestfs-actions.pod:2318 -#: ../src/guestfs-actions.pod:2339 ../fish/guestfish-actions.pod:1327 -#: ../fish/guestfish-actions.pod:1810 ../fish/guestfish-actions.pod:1819 -#: ../fish/guestfish-actions.pod:1848 ../fish/guestfish-actions.pod:1864 +#: ../src/guestfs-actions.pod:1663 ../src/guestfs-actions.pod:2282 +#: ../src/guestfs-actions.pod:2305 ../src/guestfs-actions.pod:2354 +#: ../src/guestfs-actions.pod:2375 ../fish/guestfish-actions.pod:1327 +#: ../fish/guestfish-actions.pod:1819 ../fish/guestfish-actions.pod:1837 +#: ../fish/guestfish-actions.pod:1875 ../fish/guestfish-actions.pod:1891 msgid "For more information on states, see L." msgstr "" @@ -6771,8 +6837,8 @@ msgid "See also: C, L." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:1717 ../src/guestfs-actions.pod:2389 -#: ../src/guestfs-actions.pod:2884 +#: ../src/guestfs-actions.pod:1717 ../src/guestfs-actions.pod:2449 +#: ../src/guestfs-actions.pod:2944 msgid "" "This function returns a C (see Eguestfs-" "structs.hE), or NULL if there was an error. I is zero, this returns an empty list." msgstr "" @@ -7021,8 +7087,8 @@ msgid "See also C." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:1865 ../src/guestfs-actions.pod:3683 -#: ../src/guestfs-actions.pod:3812 +#: ../src/guestfs-actions.pod:1865 ../src/guestfs-actions.pod:3743 +#: ../src/guestfs-actions.pod:3872 msgid "" "This function returns a buffer, or NULL on error. The size of the returned " "buffer is written to C<*size_r>. I, where " @@ -7697,31 +7763,81 @@ msgstr "" # type: =head2 #: ../src/guestfs-actions.pod:2263 -msgid "guestfs_is_busy" +msgid "guestfs_is_blockdev" msgstr "" # type: verbatim #: ../src/guestfs-actions.pod:2265 #, no-wrap msgid "" +" int guestfs_is_blockdev (guestfs_h *g,\n" +"\t\tconst char *path);\n" +"\n" +msgstr "" + +# type: textblock +#: ../src/guestfs-actions.pod:2268 ../fish/guestfish-actions.pod:1807 +msgid "" +"This returns C if and only if there is a block device with the given " +"C name." +msgstr "" + +# type: textblock +#: ../src/guestfs-actions.pod:2271 ../src/guestfs-actions.pod:2294 +#: ../src/guestfs-actions.pod:2318 ../src/guestfs-actions.pod:2330 +#: ../src/guestfs-actions.pod:2343 ../src/guestfs-actions.pod:2387 +#: ../src/guestfs-actions.pod:2399 +msgid "See also C." +msgstr "" + +# type: =head2 +#: ../src/guestfs-actions.pod:2275 +msgid "guestfs_is_busy" +msgstr "" + +# type: verbatim +#: ../src/guestfs-actions.pod:2277 +#, no-wrap +msgid "" " int guestfs_is_busy (guestfs_h *g);\n" "\n" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2267 ../fish/guestfish-actions.pod:1807 +#: ../src/guestfs-actions.pod:2279 ../fish/guestfish-actions.pod:1816 msgid "" "This returns true iff this handle is busy processing a command (in the " "C state)." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2274 +#: ../src/guestfs-actions.pod:2286 +msgid "guestfs_is_chardev" +msgstr "" + +# type: verbatim +#: ../src/guestfs-actions.pod:2288 +#, no-wrap +msgid "" +" int guestfs_is_chardev (guestfs_h *g,\n" +"\t\tconst char *path);\n" +"\n" +msgstr "" + +# type: textblock +#: ../src/guestfs-actions.pod:2291 ../fish/guestfish-actions.pod:1825 +msgid "" +"This returns C if and only if there is a character device with the " +"given C name." +msgstr "" + +# type: =head2 +#: ../src/guestfs-actions.pod:2298 msgid "guestfs_is_config" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2276 +#: ../src/guestfs-actions.pod:2300 #, no-wrap msgid "" " int guestfs_is_config (guestfs_h *g);\n" @@ -7729,19 +7845,19 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2278 ../fish/guestfish-actions.pod:1816 +#: ../src/guestfs-actions.pod:2302 ../fish/guestfish-actions.pod:1834 msgid "" "This returns true iff this handle is being configured (in the C " "state)." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2285 +#: ../src/guestfs-actions.pod:2309 msgid "guestfs_is_dir" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2287 +#: ../src/guestfs-actions.pod:2311 #, no-wrap msgid "" " int guestfs_is_dir (guestfs_h *g,\n" @@ -7750,24 +7866,40 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2290 ../fish/guestfish-actions.pod:1825 +#: ../src/guestfs-actions.pod:2314 ../fish/guestfish-actions.pod:1843 msgid "" "This returns C if and only if there is a directory with the given " "C name. Note that it returns false for other objects like files." msgstr "" +# type: =head2 +#: ../src/guestfs-actions.pod:2322 +msgid "guestfs_is_fifo" +msgstr "" + +# type: verbatim +#: ../src/guestfs-actions.pod:2324 +#, no-wrap +msgid "" +" int guestfs_is_fifo (guestfs_h *g,\n" +"\t\tconst char *path);\n" +"\n" +msgstr "" + # type: textblock -#: ../src/guestfs-actions.pod:2294 ../src/guestfs-actions.pod:2307 -msgid "See also C." +#: ../src/guestfs-actions.pod:2327 ../fish/guestfish-actions.pod:1853 +msgid "" +"This returns C if and only if there is a FIFO (named pipe) with the " +"given C name." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2298 +#: ../src/guestfs-actions.pod:2334 msgid "guestfs_is_file" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2300 +#: ../src/guestfs-actions.pod:2336 #, no-wrap msgid "" " int guestfs_is_file (guestfs_h *g,\n" @@ -7776,19 +7908,19 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2303 ../fish/guestfish-actions.pod:1835 +#: ../src/guestfs-actions.pod:2339 ../fish/guestfish-actions.pod:1862 msgid "" -"This returns C if and only if there is a file with the given C " -"name. Note that it returns false for other objects like directories." +"This returns C if and only if there is a regular file with the given " +"C name. Note that it returns false for other objects like directories." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2311 +#: ../src/guestfs-actions.pod:2347 msgid "guestfs_is_launching" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2313 +#: ../src/guestfs-actions.pod:2349 #, no-wrap msgid "" " int guestfs_is_launching (guestfs_h *g);\n" @@ -7796,19 +7928,19 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2315 ../fish/guestfish-actions.pod:1845 +#: ../src/guestfs-actions.pod:2351 ../fish/guestfish-actions.pod:1872 msgid "" "This returns true iff this handle is launching the subprocess (in the " "C state)." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2322 +#: ../src/guestfs-actions.pod:2358 msgid "guestfs_is_lv" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2324 +#: ../src/guestfs-actions.pod:2360 #, no-wrap msgid "" " int guestfs_is_lv (guestfs_h *g,\n" @@ -7817,19 +7949,19 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2327 ../fish/guestfish-actions.pod:1854 +#: ../src/guestfs-actions.pod:2363 ../fish/guestfish-actions.pod:1881 msgid "" "This command tests whether C is a logical volume, and returns true " "iff this is the case." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2332 +#: ../src/guestfs-actions.pod:2368 msgid "guestfs_is_ready" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2334 +#: ../src/guestfs-actions.pod:2370 #, no-wrap msgid "" " int guestfs_is_ready (guestfs_h *g);\n" @@ -7837,64 +7969,106 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2336 ../fish/guestfish-actions.pod:1861 +#: ../src/guestfs-actions.pod:2372 ../fish/guestfish-actions.pod:1888 msgid "" "This returns true iff this handle is ready to accept commands (in the " "C state)." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2343 -msgid "guestfs_kill_subprocess" +#: ../src/guestfs-actions.pod:2379 +msgid "guestfs_is_socket" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2345 +#: ../src/guestfs-actions.pod:2381 #, no-wrap msgid "" -" int guestfs_kill_subprocess (guestfs_h *g);\n" +" int guestfs_is_socket (guestfs_h *g,\n" +"\t\tconst char *path);\n" "\n" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2347 ../fish/guestfish-actions.pod:1870 -msgid "This kills the qemu subprocess. You should never need to call this." +#: ../src/guestfs-actions.pod:2384 ../fish/guestfish-actions.pod:1897 +msgid "" +"This returns C if and only if there is a Unix domain socket with the " +"given C name." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2351 -msgid "guestfs_launch" +#: ../src/guestfs-actions.pod:2391 +msgid "guestfs_is_symlink" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2353 +#: ../src/guestfs-actions.pod:2393 #, no-wrap msgid "" -" int guestfs_launch (guestfs_h *g);\n" +" int guestfs_is_symlink (guestfs_h *g,\n" +"\t\tconst char *path);\n" "\n" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2355 ../fish/guestfish-actions.pod:1876 +#: ../src/guestfs-actions.pod:2396 ../fish/guestfish-actions.pod:1906 msgid "" -"Internally libguestfs is implemented by running a virtual machine using " -"L." +"This returns C if and only if there is a symbolic link with the given " +"C name." msgstr "" -# type: textblock -#: ../src/guestfs-actions.pod:2358 ../fish/guestfish-actions.pod:1879 -msgid "" -"You should call this after configuring the handle (eg. adding drives) but " -"before performing any actions." -msgstr "" +# type: =head2 +#: ../src/guestfs-actions.pod:2403 +msgid "guestfs_kill_subprocess" +msgstr "" + +# type: verbatim +#: ../src/guestfs-actions.pod:2405 +#, no-wrap +msgid "" +" int guestfs_kill_subprocess (guestfs_h *g);\n" +"\n" +msgstr "" + +# type: textblock +#: ../src/guestfs-actions.pod:2407 ../fish/guestfish-actions.pod:1915 +msgid "This kills the qemu subprocess. You should never need to call this." +msgstr "" + +# type: =head2 +#: ../src/guestfs-actions.pod:2411 +msgid "guestfs_launch" +msgstr "" + +# type: verbatim +#: ../src/guestfs-actions.pod:2413 +#, no-wrap +msgid "" +" int guestfs_launch (guestfs_h *g);\n" +"\n" +msgstr "" + +# type: textblock +#: ../src/guestfs-actions.pod:2415 ../fish/guestfish-actions.pod:1921 +msgid "" +"Internally libguestfs is implemented by running a virtual machine using " +"L." +msgstr "" + +# type: textblock +#: ../src/guestfs-actions.pod:2418 ../fish/guestfish-actions.pod:1924 +msgid "" +"You should call this after configuring the handle (eg. adding drives) but " +"before performing any actions." +msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2363 +#: ../src/guestfs-actions.pod:2423 msgid "guestfs_lchown" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2365 +#: ../src/guestfs-actions.pod:2425 #, no-wrap msgid "" " int guestfs_lchown (guestfs_h *g,\n" @@ -7905,7 +8079,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2370 +#: ../src/guestfs-actions.pod:2430 msgid "" "Change the file owner to C and group to C. This is like " "C but if C is a symlink then the link itself is " @@ -7913,12 +8087,12 @@ msgid "" msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2380 +#: ../src/guestfs-actions.pod:2440 msgid "guestfs_lgetxattrs" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2382 +#: ../src/guestfs-actions.pod:2442 #, no-wrap msgid "" " struct guestfs_xattr_list *guestfs_lgetxattrs (guestfs_h *g,\n" @@ -7927,19 +8101,19 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2385 +#: ../src/guestfs-actions.pod:2445 msgid "" "This is the same as C, but if C is a symbolic link, " "then it returns the extended attributes of the link itself." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2394 +#: ../src/guestfs-actions.pod:2454 msgid "guestfs_list_devices" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2396 +#: ../src/guestfs-actions.pod:2456 #, no-wrap msgid "" " char **guestfs_list_devices (guestfs_h *g);\n" @@ -7947,22 +8121,22 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2398 ../fish/guestfish-actions.pod:1906 +#: ../src/guestfs-actions.pod:2458 ../fish/guestfish-actions.pod:1951 msgid "List all the block devices." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2400 ../fish/guestfish-actions.pod:1908 +#: ../src/guestfs-actions.pod:2460 ../fish/guestfish-actions.pod:1953 msgid "The full block device names are returned, eg. C" msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2406 +#: ../src/guestfs-actions.pod:2466 msgid "guestfs_list_partitions" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2408 +#: ../src/guestfs-actions.pod:2468 #, no-wrap msgid "" " char **guestfs_list_partitions (guestfs_h *g);\n" @@ -7970,29 +8144,29 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2410 ../fish/guestfish-actions.pod:1914 +#: ../src/guestfs-actions.pod:2470 ../fish/guestfish-actions.pod:1959 msgid "List all the partitions detected on all block devices." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2412 ../fish/guestfish-actions.pod:1916 +#: ../src/guestfs-actions.pod:2472 ../fish/guestfish-actions.pod:1961 msgid "The full partition device names are returned, eg. C" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2414 +#: ../src/guestfs-actions.pod:2474 msgid "" "This does not return logical volumes. For that you will need to call " "C." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2421 +#: ../src/guestfs-actions.pod:2481 msgid "guestfs_ll" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2423 +#: ../src/guestfs-actions.pod:2483 #, no-wrap msgid "" " char *guestfs_ll (guestfs_h *g,\n" @@ -8001,26 +8175,26 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2426 ../fish/guestfish-actions.pod:1925 +#: ../src/guestfs-actions.pod:2486 ../fish/guestfish-actions.pod:1970 msgid "" "List the files in C (relative to the root directory, there is no " "cwd) in the format of 'ls -la'." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2429 ../fish/guestfish-actions.pod:1928 +#: ../src/guestfs-actions.pod:2489 ../fish/guestfish-actions.pod:1973 msgid "" "This command is mostly useful for interactive sessions. It is I " "intended that you try to parse the output string." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2435 +#: ../src/guestfs-actions.pod:2495 msgid "guestfs_ln" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2437 +#: ../src/guestfs-actions.pod:2497 #, no-wrap msgid "" " int guestfs_ln (guestfs_h *g,\n" @@ -8030,17 +8204,17 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2441 ../fish/guestfish-actions.pod:1935 +#: ../src/guestfs-actions.pod:2501 ../fish/guestfish-actions.pod:1980 msgid "This command creates a hard link using the C command." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2445 +#: ../src/guestfs-actions.pod:2505 msgid "guestfs_ln_f" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2447 +#: ../src/guestfs-actions.pod:2507 #, no-wrap msgid "" " int guestfs_ln_f (guestfs_h *g,\n" @@ -8050,19 +8224,19 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2451 ../fish/guestfish-actions.pod:1941 +#: ../src/guestfs-actions.pod:2511 ../fish/guestfish-actions.pod:1986 msgid "" "This command creates a hard link using the C command. The C<-f> " "option removes the link (C) if it exists already." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2456 +#: ../src/guestfs-actions.pod:2516 msgid "guestfs_ln_s" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2458 +#: ../src/guestfs-actions.pod:2518 #, no-wrap msgid "" " int guestfs_ln_s (guestfs_h *g,\n" @@ -8072,17 +8246,17 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2462 ../fish/guestfish-actions.pod:1948 +#: ../src/guestfs-actions.pod:2522 ../fish/guestfish-actions.pod:1993 msgid "This command creates a symbolic link using the C command." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2466 +#: ../src/guestfs-actions.pod:2526 msgid "guestfs_ln_sf" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2468 +#: ../src/guestfs-actions.pod:2528 #, no-wrap msgid "" " int guestfs_ln_sf (guestfs_h *g,\n" @@ -8092,19 +8266,19 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2472 ../fish/guestfish-actions.pod:1954 +#: ../src/guestfs-actions.pod:2532 ../fish/guestfish-actions.pod:1999 msgid "" "This command creates a symbolic link using the C command, The C<-f> " "option removes the link (C) if it exists already." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2477 +#: ../src/guestfs-actions.pod:2537 msgid "guestfs_lremovexattr" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2479 +#: ../src/guestfs-actions.pod:2539 #, no-wrap msgid "" " int guestfs_lremovexattr (guestfs_h *g,\n" @@ -8114,19 +8288,19 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2483 +#: ../src/guestfs-actions.pod:2543 msgid "" "This is the same as C, but if C is a symbolic " "link, then it removes an extended attribute of the link itself." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2489 +#: ../src/guestfs-actions.pod:2549 msgid "guestfs_ls" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2491 +#: ../src/guestfs-actions.pod:2551 #, no-wrap msgid "" " char **guestfs_ls (guestfs_h *g,\n" @@ -8135,26 +8309,26 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2494 ../fish/guestfish-actions.pod:1969 +#: ../src/guestfs-actions.pod:2554 ../fish/guestfish-actions.pod:2014 msgid "" "List the files in C (relative to the root directory, there is no " "cwd). The '.' and '..' entries are not returned, but hidden files are shown." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2498 +#: ../src/guestfs-actions.pod:2558 msgid "" "This command is mostly useful for interactive sessions. Programs should " "probably use C instead." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2505 +#: ../src/guestfs-actions.pod:2565 msgid "guestfs_lsetxattr" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2507 +#: ../src/guestfs-actions.pod:2567 #, no-wrap msgid "" " int guestfs_lsetxattr (guestfs_h *g,\n" @@ -8166,19 +8340,19 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2513 +#: ../src/guestfs-actions.pod:2573 msgid "" "This is the same as C, but if C is a symbolic link, " "then it sets an extended attribute of the link itself." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2519 +#: ../src/guestfs-actions.pod:2579 msgid "guestfs_lstat" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2521 +#: ../src/guestfs-actions.pod:2581 #, no-wrap msgid "" " struct guestfs_stat *guestfs_lstat (guestfs_h *g,\n" @@ -8187,37 +8361,37 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2524 ../src/guestfs-actions.pod:4507 -#: ../fish/guestfish-actions.pod:1988 ../fish/guestfish-actions.pod:3477 +#: ../src/guestfs-actions.pod:2584 ../src/guestfs-actions.pod:4567 +#: ../fish/guestfish-actions.pod:2033 ../fish/guestfish-actions.pod:3522 msgid "Returns file information for the given C." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2526 +#: ../src/guestfs-actions.pod:2586 msgid "" "This is the same as C except that if C is a symbolic " "link, then the link is stat-ed, not the file it refers to." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2530 ../fish/guestfish-actions.pod:1994 +#: ../src/guestfs-actions.pod:2590 ../fish/guestfish-actions.pod:2039 msgid "This is the same as the C system call." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2532 ../src/guestfs-actions.pod:4511 +#: ../src/guestfs-actions.pod:2592 ../src/guestfs-actions.pod:4571 msgid "" "This function returns a C, or NULL if there was an " "error. I after use>." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2536 +#: ../src/guestfs-actions.pod:2596 msgid "guestfs_lstatlist" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2538 +#: ../src/guestfs-actions.pod:2598 #, no-wrap msgid "" " struct guestfs_stat_list *guestfs_lstatlist (guestfs_h *g,\n" @@ -8227,7 +8401,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2542 +#: ../src/guestfs-actions.pod:2602 msgid "" "This call allows you to perform the C operation on multiple " "files, where all files are in the directory C. C is the list " @@ -8235,7 +8409,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2546 ../fish/guestfish-actions.pod:2004 +#: ../src/guestfs-actions.pod:2606 ../fish/guestfish-actions.pod:2049 msgid "" "On return you get a list of stat structs, with a one-to-one correspondence " "to the C list. If any name did not exist or could not be lstat'd, " @@ -8243,7 +8417,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2551 +#: ../src/guestfs-actions.pod:2611 msgid "" "This call is intended for programs that want to efficiently list a directory " "contents without making many round-trips. See also C " @@ -8254,7 +8428,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2559 +#: ../src/guestfs-actions.pod:2619 msgid "" "This function returns a C (see Eguestfs-" "structs.hE), or NULL if there was an error. I. C is any " "existing key, and is used to access the device. C is the new key to " @@ -8287,16 +8461,16 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2577 +#: ../src/guestfs-actions.pod:2637 msgid "" "Note that if C already contains a key, then this command will " "fail. You have to use C first to remove that key." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2583 ../src/guestfs-actions.pod:2617 -#: ../src/guestfs-actions.pod:2637 ../src/guestfs-actions.pod:2654 -#: ../src/guestfs-actions.pod:2683 ../src/guestfs-actions.pod:2699 +#: ../src/guestfs-actions.pod:2643 ../src/guestfs-actions.pod:2677 +#: ../src/guestfs-actions.pod:2697 ../src/guestfs-actions.pod:2714 +#: ../src/guestfs-actions.pod:2743 ../src/guestfs-actions.pod:2759 msgid "" "This function takes a key or passphrase parameter which could contain " "sensitive material. Read the section L for more " @@ -8304,12 +8478,12 @@ msgid "" msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2587 +#: ../src/guestfs-actions.pod:2647 msgid "guestfs_luks_close" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2589 +#: ../src/guestfs-actions.pod:2649 #, no-wrap msgid "" " int guestfs_luks_close (guestfs_h *g,\n" @@ -8318,7 +8492,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2592 +#: ../src/guestfs-actions.pod:2652 msgid "" "This closes a LUKS device that was created earlier by C " "or C. The C parameter must be the name of the " @@ -8327,12 +8501,12 @@ msgid "" msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2600 +#: ../src/guestfs-actions.pod:2660 msgid "guestfs_luks_format" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2602 +#: ../src/guestfs-actions.pod:2662 #, no-wrap msgid "" " int guestfs_luks_format (guestfs_h *g,\n" @@ -8343,7 +8517,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2607 ../fish/guestfish-actions.pod:2047 +#: ../src/guestfs-actions.pod:2667 ../fish/guestfish-actions.pod:2092 msgid "" "This command erases existing data on C and formats the device as a " "LUKS encrypted device. C is the initial key, which is added to key " @@ -8351,27 +8525,27 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2614 ../src/guestfs-actions.pod:2634 -#: ../src/guestfs-actions.pod:2736 ../src/guestfs-actions.pod:3448 -#: ../src/guestfs-actions.pod:4048 ../src/guestfs-actions.pod:4369 -#: ../src/guestfs-actions.pod:4389 ../src/guestfs-actions.pod:4412 -#: ../src/guestfs-actions.pod:5351 ../fish/guestfish-actions.pod:2055 -#: ../fish/guestfish-actions.pod:2068 ../fish/guestfish-actions.pod:2139 -#: ../fish/guestfish-actions.pod:2654 ../fish/guestfish-actions.pod:3118 -#: ../fish/guestfish-actions.pod:3376 ../fish/guestfish-actions.pod:3392 -#: ../fish/guestfish-actions.pod:3407 ../fish/guestfish-actions.pod:4095 +#: ../src/guestfs-actions.pod:2674 ../src/guestfs-actions.pod:2694 +#: ../src/guestfs-actions.pod:2796 ../src/guestfs-actions.pod:3508 +#: ../src/guestfs-actions.pod:4108 ../src/guestfs-actions.pod:4429 +#: ../src/guestfs-actions.pod:4449 ../src/guestfs-actions.pod:4472 +#: ../src/guestfs-actions.pod:5411 ../fish/guestfish-actions.pod:2100 +#: ../fish/guestfish-actions.pod:2113 ../fish/guestfish-actions.pod:2184 +#: ../fish/guestfish-actions.pod:2699 ../fish/guestfish-actions.pod:3163 +#: ../fish/guestfish-actions.pod:3421 ../fish/guestfish-actions.pod:3437 +#: ../fish/guestfish-actions.pod:3452 ../fish/guestfish-actions.pod:4140 msgid "" "B." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2621 +#: ../src/guestfs-actions.pod:2681 msgid "guestfs_luks_format_cipher" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2623 +#: ../src/guestfs-actions.pod:2683 #, no-wrap msgid "" " int guestfs_luks_format_cipher (guestfs_h *g,\n" @@ -8383,19 +8557,19 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2629 +#: ../src/guestfs-actions.pod:2689 msgid "" "This command is the same as C but it also allows you to " "set the C used." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2641 +#: ../src/guestfs-actions.pod:2701 msgid "guestfs_luks_kill_slot" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2643 +#: ../src/guestfs-actions.pod:2703 #, no-wrap msgid "" " int guestfs_luks_kill_slot (guestfs_h *g,\n" @@ -8406,19 +8580,19 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2648 ../fish/guestfish-actions.pod:2075 +#: ../src/guestfs-actions.pod:2708 ../fish/guestfish-actions.pod:2120 msgid "" "This command deletes the key in key slot C from the encrypted LUKS " "device C. C must be one of the I keys." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2658 +#: ../src/guestfs-actions.pod:2718 msgid "guestfs_luks_open" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2660 +#: ../src/guestfs-actions.pod:2720 #, no-wrap msgid "" " int guestfs_luks_open (guestfs_h *g,\n" @@ -8429,26 +8603,26 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2665 ../fish/guestfish-actions.pod:2086 +#: ../src/guestfs-actions.pod:2725 ../fish/guestfish-actions.pod:2131 msgid "" "This command opens a block device which has been encrypted according to the " "Linux Unified Key Setup (LUKS) standard." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2668 ../fish/guestfish-actions.pod:2089 +#: ../src/guestfs-actions.pod:2728 ../fish/guestfish-actions.pod:2134 msgid "C is the encrypted block device or partition." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2670 ../fish/guestfish-actions.pod:2091 +#: ../src/guestfs-actions.pod:2730 ../fish/guestfish-actions.pod:2136 msgid "" "The caller must supply one of the keys associated with the LUKS block " "device, in the C parameter." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2673 ../fish/guestfish-actions.pod:2094 +#: ../src/guestfs-actions.pod:2733 ../fish/guestfish-actions.pod:2139 msgid "" "This creates a new block device called C. Reads and " "writes to this block device are decrypted from and encrypted to the " @@ -8456,7 +8630,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2677 +#: ../src/guestfs-actions.pod:2737 msgid "" "If this block device contains LVM volume groups, then calling " "C followed by C will make them " @@ -8464,12 +8638,12 @@ msgid "" msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2687 +#: ../src/guestfs-actions.pod:2747 msgid "guestfs_luks_open_ro" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2689 +#: ../src/guestfs-actions.pod:2749 #, no-wrap msgid "" " int guestfs_luks_open_ro (guestfs_h *g,\n" @@ -8480,19 +8654,19 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2694 +#: ../src/guestfs-actions.pod:2754 msgid "" "This is the same as C except that a read-only mapping is " "created." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2703 +#: ../src/guestfs-actions.pod:2763 msgid "guestfs_lvcreate" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2705 +#: ../src/guestfs-actions.pod:2765 #, no-wrap msgid "" " int guestfs_lvcreate (guestfs_h *g,\n" @@ -8503,19 +8677,19 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2710 ../fish/guestfish-actions.pod:2119 +#: ../src/guestfs-actions.pod:2770 ../fish/guestfish-actions.pod:2164 msgid "" "This creates an LVM logical volume called C on the volume group " "C, with C megabytes." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2715 +#: ../src/guestfs-actions.pod:2775 msgid "guestfs_lvm_clear_filter" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2717 +#: ../src/guestfs-actions.pod:2777 #, no-wrap msgid "" " int guestfs_lvm_clear_filter (guestfs_h *g);\n" @@ -8523,26 +8697,26 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2719 +#: ../src/guestfs-actions.pod:2779 msgid "" "This undoes the effect of C. LVM will be able to " "see every block device." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2722 ../src/guestfs-actions.pod:2758 -#: ../fish/guestfish-actions.pod:2129 ../fish/guestfish-actions.pod:2160 +#: ../src/guestfs-actions.pod:2782 ../src/guestfs-actions.pod:2818 +#: ../fish/guestfish-actions.pod:2174 ../fish/guestfish-actions.pod:2205 msgid "" "This command also clears the LVM cache and performs a volume group scan." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2727 +#: ../src/guestfs-actions.pod:2787 msgid "guestfs_lvm_remove_all" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2729 +#: ../src/guestfs-actions.pod:2789 #, no-wrap msgid "" " int guestfs_lvm_remove_all (guestfs_h *g);\n" @@ -8550,19 +8724,19 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2731 ../fish/guestfish-actions.pod:2136 +#: ../src/guestfs-actions.pod:2791 ../fish/guestfish-actions.pod:2181 msgid "" "This command removes all LVM logical volumes, volume groups and physical " "volumes." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2739 +#: ../src/guestfs-actions.pod:2799 msgid "guestfs_lvm_set_filter" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2741 +#: ../src/guestfs-actions.pod:2801 #, no-wrap msgid "" " int guestfs_lvm_set_filter (guestfs_h *g,\n" @@ -8571,7 +8745,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2744 ../fish/guestfish-actions.pod:2146 +#: ../src/guestfs-actions.pod:2804 ../fish/guestfish-actions.pod:2191 msgid "" "This sets the LVM device filter so that LVM will only be able to \"see\" the " "block devices in the list C, and will ignore all other attached " @@ -8579,7 +8753,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2748 ../fish/guestfish-actions.pod:2150 +#: ../src/guestfs-actions.pod:2808 ../fish/guestfish-actions.pod:2195 msgid "" "Where disk image(s) contain duplicate PVs or VGs, this command is useful to " "get LVM to ignore the duplicates, otherwise LVM can get confused. Note also " @@ -8591,24 +8765,24 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2761 ../fish/guestfish-actions.pod:2163 +#: ../src/guestfs-actions.pod:2821 ../fish/guestfish-actions.pod:2208 msgid "You can filter whole block devices or individual partitions." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2763 ../fish/guestfish-actions.pod:2165 +#: ../src/guestfs-actions.pod:2823 ../fish/guestfish-actions.pod:2210 msgid "" "You cannot use this if any VG is currently in use (eg. contains a mounted " "filesystem), even if you are not filtering out that VG." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2769 +#: ../src/guestfs-actions.pod:2829 msgid "guestfs_lvremove" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2771 +#: ../src/guestfs-actions.pod:2831 #, no-wrap msgid "" " int guestfs_lvremove (guestfs_h *g,\n" @@ -8617,26 +8791,26 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2774 ../fish/guestfish-actions.pod:2173 +#: ../src/guestfs-actions.pod:2834 ../fish/guestfish-actions.pod:2218 msgid "" "Remove an LVM logical volume C, where C is the path to the " "LV, such as C." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2777 ../fish/guestfish-actions.pod:2176 +#: ../src/guestfs-actions.pod:2837 ../fish/guestfish-actions.pod:2221 msgid "" "You can also remove all LVs in a volume group by specifying the VG name, C." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2782 +#: ../src/guestfs-actions.pod:2842 msgid "guestfs_lvrename" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2784 +#: ../src/guestfs-actions.pod:2844 #, no-wrap msgid "" " int guestfs_lvrename (guestfs_h *g,\n" @@ -8646,17 +8820,17 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2788 ../fish/guestfish-actions.pod:2183 +#: ../src/guestfs-actions.pod:2848 ../fish/guestfish-actions.pod:2228 msgid "Rename a logical volume C with the new name C." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2792 +#: ../src/guestfs-actions.pod:2852 msgid "guestfs_lvresize" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2794 +#: ../src/guestfs-actions.pod:2854 #, no-wrap msgid "" " int guestfs_lvresize (guestfs_h *g,\n" @@ -8666,19 +8840,19 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2798 ../fish/guestfish-actions.pod:2189 +#: ../src/guestfs-actions.pod:2858 ../fish/guestfish-actions.pod:2234 msgid "" "This resizes (expands or shrinks) an existing LVM logical volume to " "C. When reducing, data in the reduced part is lost." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2804 +#: ../src/guestfs-actions.pod:2864 msgid "guestfs_lvresize_free" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2806 +#: ../src/guestfs-actions.pod:2866 #, no-wrap msgid "" " int guestfs_lvresize_free (guestfs_h *g,\n" @@ -8688,7 +8862,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2810 ../fish/guestfish-actions.pod:2197 +#: ../src/guestfs-actions.pod:2870 ../fish/guestfish-actions.pod:2242 msgid "" "This expands an existing logical volume C so that it fills C% of the " "remaining free space in the volume group. Commonly you would call this with " @@ -8697,12 +8871,12 @@ msgid "" msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2818 +#: ../src/guestfs-actions.pod:2878 msgid "guestfs_lvs" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2820 +#: ../src/guestfs-actions.pod:2880 #, no-wrap msgid "" " char **guestfs_lvs (guestfs_h *g);\n" @@ -8710,31 +8884,31 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2822 ../fish/guestfish-actions.pod:2207 +#: ../src/guestfs-actions.pod:2882 ../fish/guestfish-actions.pod:2252 msgid "" "List all the logical volumes detected. This is the equivalent of the L command." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2825 ../fish/guestfish-actions.pod:2210 +#: ../src/guestfs-actions.pod:2885 ../fish/guestfish-actions.pod:2255 msgid "" "This returns a list of the logical volume device names (eg. C)." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2828 +#: ../src/guestfs-actions.pod:2888 msgid "See also C." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2834 +#: ../src/guestfs-actions.pod:2894 msgid "guestfs_lvs_full" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2836 +#: ../src/guestfs-actions.pod:2896 #, no-wrap msgid "" " struct guestfs_lvm_lv_list *guestfs_lvs_full (guestfs_h *g);\n" @@ -8742,14 +8916,14 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2838 ../fish/guestfish-actions.pod:2219 +#: ../src/guestfs-actions.pod:2898 ../fish/guestfish-actions.pod:2264 msgid "" "List all the logical volumes detected. This is the equivalent of the L command. The \"full\" version includes all fields." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2841 +#: ../src/guestfs-actions.pod:2901 msgid "" "This function returns a C (see Eguestfs-" "structs.hE), or NULL if there was an error. I." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2856 +#: ../src/guestfs-actions.pod:2916 msgid "guestfs_lxattrlist" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2858 +#: ../src/guestfs-actions.pod:2918 #, no-wrap msgid "" " struct guestfs_xattr_list *guestfs_lxattrlist (guestfs_h *g,\n" @@ -8791,7 +8965,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2862 ../fish/guestfish-actions.pod:2232 +#: ../src/guestfs-actions.pod:2922 ../fish/guestfish-actions.pod:2277 msgid "" "This call allows you to get the extended attributes of multiple files, where " "all files are in the directory C. C is the list of files from " @@ -8799,7 +8973,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2866 ../fish/guestfish-actions.pod:2236 +#: ../src/guestfs-actions.pod:2926 ../fish/guestfish-actions.pod:2281 msgid "" "On return you get a flat list of xattr structs which must be interpreted " "sequentially. The first xattr struct always has a zero-length C. " @@ -8811,7 +8985,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2876 +#: ../src/guestfs-actions.pod:2936 msgid "" "This call is intended for programs that want to efficiently list a directory " "contents without making many round-trips. See also C for " @@ -8822,12 +8996,12 @@ msgid "" msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2889 +#: ../src/guestfs-actions.pod:2949 msgid "guestfs_mkdir" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2891 +#: ../src/guestfs-actions.pod:2951 #, no-wrap msgid "" " int guestfs_mkdir (guestfs_h *g,\n" @@ -8836,17 +9010,17 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2894 ../fish/guestfish-actions.pod:2258 +#: ../src/guestfs-actions.pod:2954 ../fish/guestfish-actions.pod:2303 msgid "Create a directory named C." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2898 +#: ../src/guestfs-actions.pod:2958 msgid "guestfs_mkdir_mode" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2900 +#: ../src/guestfs-actions.pod:2960 #, no-wrap msgid "" " int guestfs_mkdir_mode (guestfs_h *g,\n" @@ -8856,14 +9030,14 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2904 ../fish/guestfish-actions.pod:2264 +#: ../src/guestfs-actions.pod:2964 ../fish/guestfish-actions.pod:2309 msgid "" "This command creates a directory, setting the initial permissions of the " "directory to C." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2907 ../fish/guestfish-actions.pod:2267 +#: ../src/guestfs-actions.pod:2967 ../fish/guestfish-actions.pod:2312 msgid "" "For common Linux filesystems, the actual mode which is set will be C. Non-native-Linux filesystems may interpret the mode in " @@ -8871,17 +9045,17 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2911 +#: ../src/guestfs-actions.pod:2971 msgid "See also C, C" msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2915 +#: ../src/guestfs-actions.pod:2975 msgid "guestfs_mkdir_p" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2917 +#: ../src/guestfs-actions.pod:2977 #, no-wrap msgid "" " int guestfs_mkdir_p (guestfs_h *g,\n" @@ -8890,19 +9064,19 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2920 ../fish/guestfish-actions.pod:2277 +#: ../src/guestfs-actions.pod:2980 ../fish/guestfish-actions.pod:2322 msgid "" "Create a directory named C, creating any parent directories as " "necessary. This is like the C shell command." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:2925 +#: ../src/guestfs-actions.pod:2985 msgid "guestfs_mkdtemp" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:2927 +#: ../src/guestfs-actions.pod:2987 #, no-wrap msgid "" " char *guestfs_mkdtemp (guestfs_h *g,\n" @@ -8911,7 +9085,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:2930 ../fish/guestfish-actions.pod:2284 +#: ../src/guestfs-actions.pod:2990 ../fish/guestfish-actions.pod:2329 msgid "" "This command creates a temporary directory. The C