From 9e5da2cea95cdbd929738afaca6c6b6aeaec72de Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 5 Nov 2010 14:44:51 +0000 Subject: [PATCH] Version 1.6.1. --- BUGS | 2 +- configure.ac | 2 +- po-docs/ja.po | 6067 +++++++++++++++++++++++-------------------- po-docs/libguestfs-docs.pot | 5632 ++++++++++++++++++++------------------- po/es.po | 1052 ++++---- po/gu.po | 1052 ++++---- po/hi.po | 1052 ++++---- po/kn.po | 1052 ++++---- po/libguestfs.pot | 1054 ++++---- po/ml.po | 1052 ++++---- po/mr.po | 1052 ++++---- po/nl.po | 1052 ++++---- po/or.po | 1052 ++++---- po/pa.po | 1052 ++++---- po/pl.po | 1052 ++++---- po/ta.po | 1052 ++++---- po/te.po | 1052 ++++---- 17 files changed, 13054 insertions(+), 12327 deletions(-) diff --git a/BUGS b/BUGS index 1ba711f..ffdb019 100644 --- a/BUGS +++ b/BUGS @@ -1,5 +1,5 @@ NOTE: This file is automatically generated from "update-bugs". -Last updated: 2010-11-02 16:25:56 +Last updated: 2010-11-05 15:21:17 This contains a local list of the bugs that are open against libguestfs. Bugs are tracked in the Red Hat Bugzilla database diff --git a/configure.ac b/configure.ac index 0e4ace2..9d8ae4a 100644 --- a/configure.ac +++ b/configure.ac @@ -18,7 +18,7 @@ # major/minor/release must be numbers m4_define([libguestfs_major], [1]) m4_define([libguestfs_minor], [6]) -m4_define([libguestfs_release], [0]) +m4_define([libguestfs_release], [1]) # extra can be any string m4_define([libguestfs_extra], []) diff --git a/po-docs/ja.po b/po-docs/ja.po index 37d4830..5e13ad9 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-11-02 16:25+0000\n" +"POT-Creation-Date: 2010-11-05 15:21+0000\n" "PO-Revision-Date: 2010-09-02 14:46+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -778,26 +778,26 @@ msgstr "" # type: =item #: ../src/guestfs.pod:360 ../src/guestfs.pod:365 ../src/guestfs.pod:370 #: ../src/guestfs.pod:374 ../src/guestfs.pod:379 ../src/guestfs.pod:383 -#: ../src/guestfs.pod:388 ../src/guestfs.pod:393 ../src/guestfs.pod:1159 -#: ../src/guestfs.pod:1164 ../src/guestfs.pod:1168 ../src/guestfs.pod:1384 -#: ../src/guestfs.pod:1389 ../src/guestfs.pod:1393 ../src/guestfs.pod:1495 -#: ../src/guestfs.pod:1499 ../src/guestfs.pod:1503 ../src/guestfs.pod:1508 -#: ../src/guestfs.pod:1516 ../src/guestfs.pod:1535 ../src/guestfs.pod:1543 -#: ../src/guestfs.pod:1773 ../src/guestfs.pod:1779 ../src/guestfs.pod:1784 -#: ../src/guestfs.pod:1790 ../src/guestfs.pod:1897 ../src/guestfs.pod:1901 -#: ../src/guestfs.pod:1905 ../src/guestfs.pod:1909 -#: ../src/guestfs-actions.pod:14 ../src/guestfs-actions.pod:21 -#: ../src/guestfs-actions.pod:438 ../src/guestfs-actions.pod:446 -#: ../src/guestfs-actions.pod:453 ../src/guestfs-actions.pod:460 -#: ../src/guestfs-actions.pod:1351 ../src/guestfs-actions.pod:1355 -#: ../src/guestfs-actions.pod:1359 ../src/guestfs-actions.pod:1363 -#: ../src/guestfs-actions.pod:1371 ../src/guestfs-actions.pod:1375 -#: ../src/guestfs-actions.pod:1379 ../src/guestfs-actions.pod:1389 -#: ../src/guestfs-actions.pod:1393 ../src/guestfs-actions.pod:1397 -#: ../src/guestfs-actions.pod:1520 ../src/guestfs-actions.pod:1524 -#: ../src/guestfs-actions.pod:1529 ../src/guestfs-actions.pod:1534 -#: ../src/guestfs-actions.pod:1586 ../src/guestfs-actions.pod:1590 -#: ../src/guestfs-actions.pod:1595 ../fish/guestfish.pod:364 +#: ../src/guestfs.pod:388 ../src/guestfs.pod:393 ../src/guestfs.pod:1186 +#: ../src/guestfs.pod:1191 ../src/guestfs.pod:1195 ../src/guestfs.pod:1411 +#: ../src/guestfs.pod:1416 ../src/guestfs.pod:1420 ../src/guestfs.pod:1522 +#: ../src/guestfs.pod:1526 ../src/guestfs.pod:1530 ../src/guestfs.pod:1535 +#: ../src/guestfs.pod:1543 ../src/guestfs.pod:1562 ../src/guestfs.pod:1570 +#: ../src/guestfs.pod:1800 ../src/guestfs.pod:1806 ../src/guestfs.pod:1811 +#: ../src/guestfs.pod:1817 ../src/guestfs.pod:1924 ../src/guestfs.pod:1928 +#: ../src/guestfs.pod:1932 ../src/guestfs.pod:1936 +#: ../src/guestfs-actions.pod:15 ../src/guestfs-actions.pod:22 +#: ../src/guestfs-actions.pod:461 ../src/guestfs-actions.pod:469 +#: ../src/guestfs-actions.pod:476 ../src/guestfs-actions.pod:483 +#: ../src/guestfs-actions.pod:1422 ../src/guestfs-actions.pod:1426 +#: ../src/guestfs-actions.pod:1430 ../src/guestfs-actions.pod:1434 +#: ../src/guestfs-actions.pod:1442 ../src/guestfs-actions.pod:1446 +#: ../src/guestfs-actions.pod:1450 ../src/guestfs-actions.pod:1460 +#: ../src/guestfs-actions.pod:1464 ../src/guestfs-actions.pod:1468 +#: ../src/guestfs-actions.pod:1596 ../src/guestfs-actions.pod:1600 +#: ../src/guestfs-actions.pod:1605 ../src/guestfs-actions.pod:1610 +#: ../src/guestfs-actions.pod:1665 ../src/guestfs-actions.pod:1669 +#: ../src/guestfs-actions.pod:1674 ../fish/guestfish.pod:364 #: ../fish/guestfish.pod:368 ../fish/guestfish.pod:372 #: ../fish/guestfish.pod:376 ../fish/guestfish-actions.pod:13 #: ../fish/guestfish-actions.pod:20 ../fish/guestfish-actions.pod:339 @@ -1855,32 +1855,99 @@ msgstr "" # type: textblock #: ../src/guestfs.pod:891 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 " -"calling L and/or by setting up an error handler with L." +"API functions can return errors. For example, almost all functions that " +"return C will return C<-1> to indicate an error. You can get " +"additional information on errors by calling L and/or by " +"setting up an error handler with L." msgstr "" # type: textblock -#: ../src/guestfs.pod:896 -msgid "The default error handler prints the information string to C." +#: ../src/guestfs.pod:897 +msgid "" +"When the handle is created, a default error handler is installed which " +"prints the error message string to C. For small short-running " +"command line programs it is sufficient to do:" +msgstr "" + +# type: verbatim +#: ../src/guestfs.pod:901 +#, no-wrap +msgid "" +" if (guestfs_launch (g) == -1)\n" +" exit (EXIT_FAILURE);\n" +"\n" +msgstr "" + +# type: textblock +#: ../src/guestfs.pod:904 +msgid "" +"since the default error handler will ensure that an error message has been " +"printed to C before the program exits." +msgstr "" + +# type: textblock +#: ../src/guestfs.pod:907 +msgid "" +"For other programs the caller will almost certainly want to install an " +"alternate error handler or do error handling in-line like this:" +msgstr "" + +# type: verbatim +#: ../src/guestfs.pod:910 +#, no-wrap +msgid "" +" g = guestfs_create ();\n" +" \n" +msgstr "" + +# type: verbatim +#: ../src/guestfs.pod:912 +#, no-wrap +msgid "" +" /* This disables the default behaviour of printing errors\n" +" on stderr. */\n" +" guestfs_set_error_handler (g, NULL, NULL);\n" +" \n" +msgstr "" + +# type: verbatim +#: ../src/guestfs.pod:916 +#, no-wrap +msgid "" +" if (guestfs_launch (g) == -1) {\n" +" /* Examine the error message and print it etc. */\n" +" char *msg = guestfs_last_error (g);\n" +" fprintf (stderr, \"%s\\n\", msg);\n" +" /* ... */\n" +" }\n" +"\n" msgstr "" # type: textblock -#: ../src/guestfs.pod:898 +#: ../src/guestfs.pod:923 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." msgstr "" +# type: textblock +#: ../src/guestfs.pod:927 +msgid "" +"L returns C if the handle cannot be created, and " +"because there is no handle if this happens there is no way to get additional " +"error information. However L is supposed to be a " +"lightweight operation which can only fail because of insufficient memory (it " +"returns NULL in this case)." +msgstr "" + # type: =head2 -#: ../src/guestfs.pod:902 +#: ../src/guestfs.pod:933 msgid "guestfs_last_error" msgstr "" # type: verbatim -#: ../src/guestfs.pod:904 +#: ../src/guestfs.pod:935 #, no-wrap msgid "" " const char *guestfs_last_error (guestfs_h *g);\n" @@ -1888,34 +1955,26 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:906 +#: ../src/guestfs.pod:937 msgid "" "This returns the last error message that happened on C. If there has not " "been an error since the handle was created, then this returns C." msgstr "" # type: textblock -#: ../src/guestfs.pod:910 +#: ../src/guestfs.pod:941 msgid "" "The lifetime of the returned string is until the next error occurs, or L is called." msgstr "" -# type: textblock -#: ../src/guestfs.pod:913 -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 " -"of results." -msgstr "" - # type: =head2 -#: ../src/guestfs.pod:917 +#: ../src/guestfs.pod:944 msgid "guestfs_set_error_handler" msgstr "" # type: verbatim -#: ../src/guestfs.pod:919 +#: ../src/guestfs.pod:946 #, no-wrap msgid "" " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n" @@ -1928,7 +1987,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:926 +#: ../src/guestfs.pod:953 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 " @@ -1936,7 +1995,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:930 +#: ../src/guestfs.pod:957 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 " @@ -1944,22 +2003,22 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:934 +#: ../src/guestfs.pod:961 msgid "The default handler prints messages on C." msgstr "" # type: textblock -#: ../src/guestfs.pod:936 +#: ../src/guestfs.pod:963 msgid "If you set C to C then I handler is called." msgstr "" # type: =head2 -#: ../src/guestfs.pod:938 +#: ../src/guestfs.pod:965 msgid "guestfs_get_error_handler" msgstr "" # type: verbatim -#: ../src/guestfs.pod:940 +#: ../src/guestfs.pod:967 #, no-wrap msgid "" " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n" @@ -1968,17 +2027,17 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:943 +#: ../src/guestfs.pod:970 msgid "Returns the current error handler callback." msgstr "" # type: =head2 -#: ../src/guestfs.pod:945 +#: ../src/guestfs.pod:972 msgid "guestfs_set_out_of_memory_handler" msgstr "" # type: verbatim -#: ../src/guestfs.pod:947 +#: ../src/guestfs.pod:974 #, no-wrap msgid "" " typedef void (*guestfs_abort_cb) (void);\n" @@ -1988,30 +2047,30 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:951 +#: ../src/guestfs.pod:978 msgid "" "The callback C will be called if there is an out of memory situation. " "I." msgstr "" # type: textblock -#: ../src/guestfs.pod:954 +#: ../src/guestfs.pod:981 msgid "The default is to call L." msgstr "" # type: textblock -#: ../src/guestfs.pod:956 +#: ../src/guestfs.pod:983 msgid "" "You cannot set C to C. You can't ignore out of memory situations." msgstr "" # type: =head2 -#: ../src/guestfs.pod:959 +#: ../src/guestfs.pod:986 msgid "guestfs_get_out_of_memory_handler" msgstr "" # type: verbatim -#: ../src/guestfs.pod:961 +#: ../src/guestfs.pod:988 #, no-wrap msgid "" " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n" @@ -2019,31 +2078,31 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:963 +#: ../src/guestfs.pod:990 msgid "This returns the current out of memory handler." msgstr "" # type: =head1 -#: ../src/guestfs.pod:965 +#: ../src/guestfs.pod:992 msgid "PATH" msgstr "" # type: textblock -#: ../src/guestfs.pod:967 +#: ../src/guestfs.pod:994 msgid "" "Libguestfs needs a kernel and initrd.img, which it finds by looking along an " "internal path." msgstr "" # type: textblock -#: ../src/guestfs.pod:970 +#: ../src/guestfs.pod:997 msgid "" "By default it looks for these in the directory C<$libdir/guestfs> (eg. C or C)." msgstr "" # type: textblock -#: ../src/guestfs.pod:973 +#: ../src/guestfs.pod:1000 msgid "" "Use L or set the environment variable L " "to change the directories that libguestfs will search in. The value is a " @@ -2054,17 +2113,17 @@ msgid "" msgstr "" # type: =head1 -#: ../src/guestfs.pod:980 +#: ../src/guestfs.pod:1007 msgid "HIGH-LEVEL API ACTIONS" msgstr "" # type: =head2 -#: ../src/guestfs.pod:982 +#: ../src/guestfs.pod:1009 msgid "ABI GUARANTEE" msgstr "" # type: textblock -#: ../src/guestfs.pod:984 +#: ../src/guestfs.pod:1011 msgid "" "We guarantee the libguestfs ABI (binary interface), for public, high-level " "actions as outlined in this section. Although we will deprecate some " @@ -2074,32 +2133,32 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:990 ../fish/guestfish.pod:860 +#: ../src/guestfs.pod:1017 ../fish/guestfish.pod:860 msgid "@ACTIONS@" msgstr "" # type: =head1 -#: ../src/guestfs.pod:992 +#: ../src/guestfs.pod:1019 msgid "STRUCTURES" msgstr "" # type: textblock -#: ../src/guestfs.pod:994 +#: ../src/guestfs.pod:1021 msgid "@STRUCTS@" msgstr "" # type: =head1 -#: ../src/guestfs.pod:996 +#: ../src/guestfs.pod:1023 msgid "AVAILABILITY" msgstr "" # type: =head2 -#: ../src/guestfs.pod:998 +#: ../src/guestfs.pod:1025 msgid "GROUPS OF FUNCTIONALITY IN THE APPLIANCE" msgstr "" # type: textblock -#: ../src/guestfs.pod:1000 +#: ../src/guestfs.pod:1027 msgid "" "Using L you can test availability of the following " "groups of functions. This test queries the appliance to see if the " @@ -2107,17 +2166,17 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1005 +#: ../src/guestfs.pod:1032 msgid "@AVAILABILITY@" msgstr "" # type: =head2 -#: ../src/guestfs.pod:1007 +#: ../src/guestfs.pod:1034 msgid "GUESTFISH supported COMMAND" msgstr "" # type: textblock -#: ../src/guestfs.pod:1009 +#: ../src/guestfs.pod:1036 msgid "" "In L there is a handy interactive command C which " "prints out the available groups and whether they are supported by this build " @@ -2125,19 +2184,19 @@ msgid "" msgstr "" # type: =head2 -#: ../src/guestfs.pod:1014 +#: ../src/guestfs.pod:1041 msgid "SINGLE CALLS AT COMPILE TIME" msgstr "" # type: textblock -#: ../src/guestfs.pod:1016 +#: ../src/guestfs.pod:1043 msgid "" "Since version 1.5.8, Cguestfs.hE> defines symbols for each C API " "function, such as:" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1019 +#: ../src/guestfs.pod:1046 #, no-wrap msgid "" " #define LIBGUESTFS_HAVE_DD 1\n" @@ -2145,12 +2204,12 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1021 +#: ../src/guestfs.pod:1048 msgid "if L is available." msgstr "" # type: textblock -#: ../src/guestfs.pod:1023 +#: ../src/guestfs.pod:1050 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 " @@ -2158,7 +2217,7 @@ msgid "" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1028 +#: ../src/guestfs.pod:1055 #, no-wrap msgid "" " AC_CHECK_LIB([guestfs],[guestfs_create])\n" @@ -2167,19 +2226,19 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1031 +#: ../src/guestfs.pod:1058 msgid "" "which would result in C being either defined or not defined " "in your program." msgstr "" # type: =head2 -#: ../src/guestfs.pod:1034 +#: ../src/guestfs.pod:1061 msgid "SINGLE CALLS AT RUN TIME" msgstr "" # type: textblock -#: ../src/guestfs.pod:1036 +#: ../src/guestfs.pod:1063 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 " @@ -2189,7 +2248,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1043 +#: ../src/guestfs.pod:1070 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 " @@ -2197,7 +2256,7 @@ msgid "" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1047 +#: ../src/guestfs.pod:1074 #, no-wrap msgid "" " #include \n" @@ -2209,7 +2268,7 @@ msgid "" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1053 +#: ../src/guestfs.pod:1080 #, no-wrap msgid "" " main ()\n" @@ -2221,7 +2280,7 @@ msgid "" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1059 +#: ../src/guestfs.pod:1086 #, no-wrap msgid "" " /* Test if the function guestfs_dd is really available. */\n" @@ -2236,7 +2295,7 @@ msgid "" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1068 +#: ../src/guestfs.pod:1095 #, no-wrap msgid "" " if (!has_function)\n" @@ -2255,7 +2314,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1081 +#: ../src/guestfs.pod:1108 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 " @@ -2263,7 +2322,7 @@ msgid "" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1086 +#: ../src/guestfs.pod:1113 #, no-wrap msgid "" " Requires: libguestfs >= 1.0.80\n" @@ -2271,12 +2330,12 @@ msgid "" msgstr "" # type: =head1 -#: ../src/guestfs.pod:1088 +#: ../src/guestfs.pod:1115 msgid "CALLS WITH OPTIONAL ARGUMENTS" msgstr "" # type: textblock -#: ../src/guestfs.pod:1090 +#: ../src/guestfs.pod:1117 msgid "" "A recent feature of the API is the introduction of calls which take optional " "arguments. In C these are declared 3 ways. The main way is as a call which " @@ -2284,7 +2343,7 @@ msgid "" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1095 +#: ../src/guestfs.pod:1122 #, no-wrap msgid "" " int guestfs_add_drive_opts (guestfs_h *g, const char *filename, ...);\n" @@ -2292,14 +2351,14 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1097 +#: ../src/guestfs.pod:1124 msgid "" "Call this with a list of optional arguments, terminated by C<-1>. So to " "call with no optional arguments specified:" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1100 +#: ../src/guestfs.pod:1127 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename, -1);\n" @@ -2307,12 +2366,12 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1102 +#: ../src/guestfs.pod:1129 msgid "With a single optional argument:" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1104 +#: ../src/guestfs.pod:1131 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename,\n" @@ -2322,12 +2381,12 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1108 +#: ../src/guestfs.pod:1135 msgid "With two:" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1110 +#: ../src/guestfs.pod:1137 #, no-wrap msgid "" " guestfs_add_drive_opts (g, filename,\n" @@ -2338,19 +2397,19 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1115 +#: ../src/guestfs.pod:1142 msgid "" "and so forth. Don't forget the terminating C<-1> otherwise Bad Things will " "happen!" msgstr "" # type: =head2 -#: ../src/guestfs.pod:1118 +#: ../src/guestfs.pod:1145 msgid "USING va_list FOR OPTIONAL ARGUMENTS" msgstr "" # type: textblock -#: ../src/guestfs.pod:1120 +#: ../src/guestfs.pod:1147 msgid "" "The second variant has the same name with the suffix C<_va>, which works the " "same way but takes a C. See the C manual for details. For the " @@ -2358,7 +2417,7 @@ msgid "" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1124 +#: ../src/guestfs.pod:1151 #, no-wrap msgid "" " int guestfs_add_drive_opts_va (guestfs_h *g, const char *filename,\n" @@ -2367,12 +2426,12 @@ msgid "" msgstr "" # type: =head2 -#: ../src/guestfs.pod:1127 +#: ../src/guestfs.pod:1154 msgid "CONSTRUCTING OPTIONAL ARGUMENTS" msgstr "" # type: textblock -#: ../src/guestfs.pod:1129 +#: ../src/guestfs.pod:1156 msgid "" "The third variant is useful where you need to construct these calls. You " "pass in a structure where you fill in the optional fields. The structure " @@ -2382,7 +2441,7 @@ msgid "" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1135 +#: ../src/guestfs.pod:1162 #, no-wrap msgid "" " struct guestfs_add_drive_opts_argv {\n" @@ -2397,12 +2456,12 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1144 +#: ../src/guestfs.pod:1171 msgid "You could call it like this:" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1146 +#: ../src/guestfs.pod:1173 #, no-wrap msgid "" " struct guestfs_add_drive_opts_argv optargs = {\n" @@ -2415,7 +2474,7 @@ msgid "" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1153 +#: ../src/guestfs.pod:1180 #, no-wrap msgid "" " guestfs_add_drive_opts_argv (g, filename, &optargs);\n" @@ -2423,36 +2482,36 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1155 ../src/guestfs-actions.pod:10 -#: ../src/guestfs-actions.pod:1582 ../fish/guestfish-actions.pod:9 +#: ../src/guestfs.pod:1182 ../src/guestfs-actions.pod:11 +#: ../src/guestfs-actions.pod:1661 ../fish/guestfish-actions.pod:9 #: ../fish/guestfish-actions.pod:1244 msgid "Notes:" msgstr "" # type: textblock -#: ../src/guestfs.pod:1161 +#: ../src/guestfs.pod:1188 msgid "The C<_BITMASK> suffix on each option name when specifying the bitmask." msgstr "" # type: textblock -#: ../src/guestfs.pod:1166 +#: ../src/guestfs.pod:1193 msgid "You do not need to fill in all fields of the structure." msgstr "" # type: textblock -#: ../src/guestfs.pod:1170 +#: ../src/guestfs.pod:1197 msgid "" "There must be a one-to-one correspondence between fields of the structure " "that are filled in, and bits set in the bitmask." msgstr "" # type: =head2 -#: ../src/guestfs.pod:1175 +#: ../src/guestfs.pod:1202 msgid "OPTIONAL ARGUMENTS IN OTHER LANGUAGES" msgstr "" # type: textblock -#: ../src/guestfs.pod:1177 +#: ../src/guestfs.pod:1204 msgid "" "In other languages, optional arguments are expressed in the way that is " "natural for that language. We refer you to the language-specific " @@ -2460,29 +2519,29 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1181 +#: ../src/guestfs.pod:1208 msgid "For guestfish, see L." msgstr "" # type: =end -#: ../src/guestfs.pod:1183 ../src/guestfs.pod:1188 +#: ../src/guestfs.pod:1210 ../src/guestfs.pod:1215 msgid "html" msgstr "" # type: textblock -#: ../src/guestfs.pod:1185 +#: ../src/guestfs.pod:1212 msgid "" " " msgstr "" # type: =head1 -#: ../src/guestfs.pod:1190 +#: ../src/guestfs.pod:1217 msgid "ARCHITECTURE" msgstr "" # type: textblock -#: ../src/guestfs.pod:1192 +#: ../src/guestfs.pod:1219 msgid "" "Internally, libguestfs is implemented by running an appliance (a special " "type of small virtual machine) using L. Qemu runs as a child " @@ -2490,7 +2549,7 @@ msgid "" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1196 +#: ../src/guestfs.pod:1223 #, no-wrap msgid "" " ___________________\n" @@ -2516,14 +2575,14 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1216 +#: ../src/guestfs.pod:1243 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:1219 +#: ../src/guestfs.pod:1246 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 " @@ -2535,7 +2594,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1228 +#: ../src/guestfs.pod:1255 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 " @@ -2546,17 +2605,17 @@ msgid "" msgstr "" # type: =head1 -#: ../src/guestfs.pod:1235 +#: ../src/guestfs.pod:1262 msgid "STATE MACHINE" msgstr "" # type: textblock -#: ../src/guestfs.pod:1237 +#: ../src/guestfs.pod:1264 msgid "libguestfs uses a state machine to model the child process:" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1239 +#: ../src/guestfs.pod:1266 #, no-wrap msgid "" " |\n" @@ -2584,7 +2643,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1261 +#: ../src/guestfs.pod:1288 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), " @@ -2593,7 +2652,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1266 +#: ../src/guestfs.pod:1293 msgid "" "The guest may be killed by L, or may die " "asynchronously at any time (eg. due to some internal error), and that causes " @@ -2601,14 +2660,14 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1270 +#: ../src/guestfs.pod:1297 msgid "" "Configuration commands for qemu such as L can only be " "issued when in the CONFIG state." msgstr "" # type: textblock -#: ../src/guestfs.pod:1273 +#: ../src/guestfs.pod:1300 msgid "" "The API offers one call that goes from CONFIG through LAUNCHING to READY. " "L blocks until the child process is READY to accept " @@ -2617,7 +2676,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1279 +#: ../src/guestfs.pod:1306 msgid "" "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. " @@ -2627,7 +2686,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1285 +#: ../src/guestfs.pod:1312 msgid "" "Finally, the child process sends asynchronous messages back to the main " "program, such as kernel log messages. You can register a callback to " @@ -2635,26 +2694,26 @@ msgid "" msgstr "" # type: =head2 -#: ../src/guestfs.pod:1289 +#: ../src/guestfs.pod:1316 msgid "SETTING CALLBACKS TO HANDLE EVENTS" msgstr "" # type: textblock -#: ../src/guestfs.pod:1291 +#: ../src/guestfs.pod:1318 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:1294 +#: ../src/guestfs.pod:1321 msgid "" "Use the C functions to set a callback for different " "types of events." msgstr "" # type: textblock -#: ../src/guestfs.pod:1297 +#: ../src/guestfs.pod:1324 msgid "" "Only I can be registered for each handle. " "Calling C again overwrites the previous callback of " @@ -2663,12 +2722,12 @@ msgid "" msgstr "" # type: =head2 -#: ../src/guestfs.pod:1302 +#: ../src/guestfs.pod:1329 msgid "guestfs_set_log_message_callback" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1304 +#: ../src/guestfs.pod:1331 #, no-wrap msgid "" " typedef void (*guestfs_log_message_cb) (guestfs_h *g, void *opaque,\n" @@ -2680,31 +2739,31 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1310 +#: ../src/guestfs.pod:1337 msgid "" "The callback function C will be called whenever qemu or the guest writes " "anything to the console." msgstr "" # type: textblock -#: ../src/guestfs.pod:1313 +#: ../src/guestfs.pod:1340 msgid "Use this function to capture kernel messages and similar." msgstr "" # type: textblock -#: ../src/guestfs.pod:1315 +#: ../src/guestfs.pod:1342 msgid "" "Normally there is no log message handler, and log messages are just " "discarded." msgstr "" # type: =head2 -#: ../src/guestfs.pod:1318 +#: ../src/guestfs.pod:1345 msgid "guestfs_set_subprocess_quit_callback" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1320 +#: ../src/guestfs.pod:1347 #, no-wrap msgid "" " typedef void (*guestfs_subprocess_quit_cb) (guestfs_h *g, void *opaque);\n" @@ -2715,7 +2774,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1325 +#: ../src/guestfs.pod:1352 msgid "" "The callback function C will be called when the child process quits, " "either asynchronously or if killed by L. (This " @@ -2723,12 +2782,12 @@ msgid "" msgstr "" # type: =head2 -#: ../src/guestfs.pod:1330 +#: ../src/guestfs.pod:1357 msgid "guestfs_set_launch_done_callback" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1332 +#: ../src/guestfs.pod:1359 #, no-wrap msgid "" " typedef void (*guestfs_launch_done_cb) (guestfs_h *g, void *opaque);\n" @@ -2739,7 +2798,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1337 +#: ../src/guestfs.pod:1364 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 " @@ -2747,12 +2806,12 @@ msgid "" msgstr "" # type: =head2 -#: ../src/guestfs.pod:1341 +#: ../src/guestfs.pod:1368 msgid "guestfs_set_close_callback" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1343 +#: ../src/guestfs.pod:1370 #, no-wrap msgid "" " typedef void (*guestfs_close_cb) (guestfs_h *g, void *opaque);\n" @@ -2763,14 +2822,14 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1348 +#: ../src/guestfs.pod:1375 msgid "" "The callback function C will be called while the handle is being closed " "(synchronously from L)." msgstr "" # type: textblock -#: ../src/guestfs.pod:1351 +#: ../src/guestfs.pod:1378 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 " @@ -2781,12 +2840,12 @@ msgid "" msgstr "" # type: =head2 -#: ../src/guestfs.pod:1359 +#: ../src/guestfs.pod:1386 msgid "guestfs_set_progress_callback" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1361 +#: ../src/guestfs.pod:1388 #, no-wrap msgid "" " typedef void (*guestfs_progress_cb) (guestfs_h *g, void *opaque,\n" @@ -2799,7 +2858,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1368 +#: ../src/guestfs.pod:1395 msgid "" "Some long-running operations can generate progress messages. If this " "callback is registered, then it will be called each time a progress message " @@ -2809,7 +2868,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1374 +#: ../src/guestfs.pod:1401 msgid "" "The callback receives two numbers: C and C. The units of " "C are not defined, although for some operations C may relate " @@ -2818,31 +2877,31 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1380 +#: ../src/guestfs.pod:1407 msgid "The only defined and stable parts of the API are:" msgstr "" # type: textblock -#: ../src/guestfs.pod:1386 +#: ../src/guestfs.pod:1413 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:1391 +#: ../src/guestfs.pod:1418 msgid "0 E= C E= C" msgstr "" # type: textblock -#: ../src/guestfs.pod:1395 +#: ../src/guestfs.pod:1422 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:1398 +#: ../src/guestfs.pod:1425 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 " @@ -2850,7 +2909,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1404 +#: ../src/guestfs.pod:1431 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 " @@ -2859,12 +2918,12 @@ msgid "" msgstr "" # type: =head1 -#: ../src/guestfs.pod:1409 +#: ../src/guestfs.pod:1436 msgid "PRIVATE DATA AREA" msgstr "" # type: textblock -#: ../src/guestfs.pod:1411 +#: ../src/guestfs.pod:1438 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 " @@ -2872,12 +2931,12 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1415 +#: ../src/guestfs.pod:1442 msgid "To attach a named piece of data, use the following call:" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1417 +#: ../src/guestfs.pod:1444 #, no-wrap msgid "" " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n" @@ -2885,7 +2944,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1419 +#: ../src/guestfs.pod:1446 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 " @@ -2893,7 +2952,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1423 +#: ../src/guestfs.pod:1450 msgid "" "You can use any C you want, but names beginning with an underscore " "character are reserved for internal libguestfs purposes (for implementing " @@ -2902,12 +2961,12 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1428 +#: ../src/guestfs.pod:1455 msgid "To retrieve the pointer, use:" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1430 +#: ../src/guestfs.pod:1457 #, no-wrap msgid "" " void *guestfs_get_private (guestfs_h *g, const char *key);\n" @@ -2915,7 +2974,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1432 +#: ../src/guestfs.pod:1459 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 " @@ -2923,7 +2982,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1436 +#: ../src/guestfs.pod:1463 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 " @@ -2935,19 +2994,19 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1444 +#: ../src/guestfs.pod:1471 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:1447 +#: ../src/guestfs.pod:1474 msgid "BLOCK DEVICE NAMING" msgstr "" # type: textblock -#: ../src/guestfs.pod:1449 +#: ../src/guestfs.pod:1476 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 " @@ -2961,7 +3020,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1461 +#: ../src/guestfs.pod:1488 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 " @@ -2969,7 +3028,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1465 +#: ../src/guestfs.pod:1492 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 " @@ -2977,7 +3036,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1470 +#: ../src/guestfs.pod:1497 msgid "" "Therefore libguestfs defines C as the I. " "Internally C names are translated, if necessary, to other names as " @@ -2986,7 +3045,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1476 +#: ../src/guestfs.pod:1503 msgid "" "Note that this I applies to parameters. The L, " "L and similar calls return the true names of the " @@ -2994,12 +3053,12 @@ msgid "" msgstr "" # type: =head2 -#: ../src/guestfs.pod:1481 +#: ../src/guestfs.pod:1508 msgid "ALGORITHM FOR BLOCK DEVICE NAME TRANSLATION" msgstr "" # type: textblock -#: ../src/guestfs.pod:1483 +#: ../src/guestfs.pod:1510 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 " @@ -3008,7 +3067,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1489 +#: ../src/guestfs.pod:1516 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:1505 +#: ../src/guestfs.pod:1532 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:1510 +#: ../src/guestfs.pod:1537 msgid "Replace initial C string with C." msgstr "" # type: textblock -#: ../src/guestfs.pod:1512 +#: ../src/guestfs.pod:1539 msgid "For example, change C to C." msgstr "" # type: textblock -#: ../src/guestfs.pod:1514 +#: ../src/guestfs.pod:1541 msgid "If that named device exists, use it. If not, continue." msgstr "" # type: textblock -#: ../src/guestfs.pod:1518 +#: ../src/guestfs.pod:1545 msgid "Replace initial C string with C." msgstr "" # type: textblock -#: ../src/guestfs.pod:1520 +#: ../src/guestfs.pod:1547 msgid "If that named device exists, use it. If not, return an error." msgstr "" # type: =head2 -#: ../src/guestfs.pod:1524 +#: ../src/guestfs.pod:1551 msgid "PORTABILITY CONCERNS" msgstr "" # type: textblock -#: ../src/guestfs.pod:1526 +#: ../src/guestfs.pod:1553 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 " @@ -3071,51 +3130,51 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1530 +#: ../src/guestfs.pod:1557 msgid "" "Where possible for maximum future portability programs using libguestfs " "should use these future-proof techniques:" msgstr "" # type: textblock -#: ../src/guestfs.pod:1537 +#: ../src/guestfs.pod:1564 msgid "" "Use L or L to list actual " "device names, and then use those names directly." msgstr "" # type: textblock -#: ../src/guestfs.pod:1540 +#: ../src/guestfs.pod:1567 msgid "" "Since those device names exist by definition, they will never be translated." msgstr "" # type: textblock -#: ../src/guestfs.pod:1545 +#: ../src/guestfs.pod:1572 msgid "" "Use higher level ways to identify filesystems, such as LVM names, UUIDs and " "filesystem labels." msgstr "" # type: =head1 -#: ../src/guestfs.pod:1550 +#: ../src/guestfs.pod:1577 msgid "INTERNALS" msgstr "" # type: =head2 -#: ../src/guestfs.pod:1552 +#: ../src/guestfs.pod:1579 msgid "COMMUNICATION PROTOCOL" msgstr "" # type: textblock -#: ../src/guestfs.pod:1554 +#: ../src/guestfs.pod:1581 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:1557 +#: ../src/guestfs.pod:1584 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 " @@ -3123,14 +3182,14 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1561 +#: ../src/guestfs.pod:1588 msgid "" "The detailed format of structures is in C (note: " "this file is automatically generated)." msgstr "" # type: textblock -#: ../src/guestfs.pod:1564 +#: ../src/guestfs.pod:1591 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 " @@ -3140,17 +3199,17 @@ msgid "" msgstr "" # type: =head3 -#: ../src/guestfs.pod:1571 +#: ../src/guestfs.pod:1598 msgid "ORDINARY FUNCTIONS (NO FILEIN/FILEOUT PARAMS)" msgstr "" # type: textblock -#: ../src/guestfs.pod:1573 +#: ../src/guestfs.pod:1600 msgid "For ordinary functions, the request message is:" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1575 +#: ../src/guestfs.pod:1602 #, no-wrap msgid "" " total length (header + arguments,\n" @@ -3161,7 +3220,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1580 +#: ../src/guestfs.pod:1607 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 " @@ -3170,26 +3229,26 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1586 +#: ../src/guestfs.pod:1613 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:1589 +#: ../src/guestfs.pod:1616 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:1593 +#: ../src/guestfs.pod:1620 msgid "The reply message for ordinary functions is:" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1595 +#: ../src/guestfs.pod:1622 #, no-wrap msgid "" " total length (header + ret,\n" @@ -3200,27 +3259,27 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1600 +#: ../src/guestfs.pod:1627 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:1603 +#: ../src/guestfs.pod:1630 msgid "" "As above the total length of the reply is limited to C." msgstr "" # type: textblock -#: ../src/guestfs.pod:1606 +#: ../src/guestfs.pod:1633 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:1609 +#: ../src/guestfs.pod:1636 #, no-wrap msgid "" " total length (header + error,\n" @@ -3231,19 +3290,19 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1614 +#: ../src/guestfs.pod:1641 msgid "" "The C structure contains the error message as a " "string." msgstr "" # type: =head3 -#: ../src/guestfs.pod:1617 +#: ../src/guestfs.pod:1644 msgid "FUNCTIONS THAT HAVE FILEIN PARAMETERS" msgstr "" # type: textblock -#: ../src/guestfs.pod:1619 +#: ../src/guestfs.pod:1646 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 " @@ -3251,7 +3310,7 @@ msgid "" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1623 +#: ../src/guestfs.pod:1650 #, no-wrap msgid "" " total length (header + arguments,\n" @@ -3265,12 +3324,12 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1631 +#: ../src/guestfs.pod:1658 msgid "The \"sequence of chunks\" is:" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1633 +#: ../src/guestfs.pod:1660 #, no-wrap msgid "" " length of chunk (not including length word itself)\n" @@ -3284,7 +3343,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1641 +#: ../src/guestfs.pod:1668 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 " @@ -3292,7 +3351,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1645 +#: ../src/guestfs.pod:1672 msgid "" "At time of writing there are no functions that have more than one FileIn " "parameter. However this is (theoretically) supported, by sending the " @@ -3301,7 +3360,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1650 +#: ../src/guestfs.pod:1677 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 " @@ -3310,7 +3369,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1656 +#: ../src/guestfs.pod:1683 msgid "" "The daemon may also cancel. It does this by writing a special word " "C to the socket. The library listens for this during " @@ -3322,7 +3381,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1665 +#: ../src/guestfs.pod:1692 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 " @@ -3332,19 +3391,19 @@ msgid "" msgstr "" # type: =head3 -#: ../src/guestfs.pod:1671 +#: ../src/guestfs.pod:1698 msgid "FUNCTIONS THAT HAVE FILEOUT PARAMETERS" msgstr "" # type: textblock -#: ../src/guestfs.pod:1673 +#: ../src/guestfs.pod:1700 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:1676 +#: ../src/guestfs.pod:1703 #, no-wrap msgid "" " total length (header + ret,\n" @@ -3358,12 +3417,12 @@ msgid "" msgstr "" # type: =head3 -#: ../src/guestfs.pod:1684 +#: ../src/guestfs.pod:1711 msgid "INITIAL MESSAGE" msgstr "" # type: textblock -#: ../src/guestfs.pod:1686 +#: ../src/guestfs.pod:1713 msgid "" "When the daemon launches it sends an initial word (C) " "which indicates that the guest and daemon is alive. This is what L) if there is a callback registered, or " @@ -3392,7 +3451,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1700 +#: ../src/guestfs.pod:1727 msgid "" "The daemon self-limits the frequency of progress messages it sends (see " "C). Not all calls generate progress " @@ -3400,19 +3459,19 @@ msgid "" msgstr "" # type: =head1 -#: ../src/guestfs.pod:1704 +#: ../src/guestfs.pod:1731 msgid "MULTIPLE HANDLES AND MULTIPLE THREADS" msgstr "" # type: textblock -#: ../src/guestfs.pod:1706 +#: ../src/guestfs.pod:1733 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:1709 +#: ../src/guestfs.pod:1736 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 " @@ -3420,19 +3479,19 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1713 +#: ../src/guestfs.pod:1740 msgid "" "See the graphical program guestfs-browser for one possible architecture for " "multithreaded programs using libvirt and libguestfs." msgstr "" # type: =head1 -#: ../src/guestfs.pod:1716 +#: ../src/guestfs.pod:1743 msgid "QEMU WRAPPERS" msgstr "" # type: textblock -#: ../src/guestfs.pod:1718 +#: ../src/guestfs.pod:1745 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 " @@ -3440,7 +3499,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1722 +#: ../src/guestfs.pod:1749 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 " @@ -3449,14 +3508,14 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1727 +#: ../src/guestfs.pod:1754 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:1730 +#: ../src/guestfs.pod:1757 #, no-wrap msgid "" " #!/bin/sh -\n" @@ -3466,7 +3525,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1734 +#: ../src/guestfs.pod:1761 msgid "" "Save this script as C (or wherever), C, and " "then use it by setting the LIBGUESTFS_QEMU environment variable. For " @@ -3474,7 +3533,7 @@ msgid "" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1738 +#: ../src/guestfs.pod:1765 #, no-wrap msgid "" " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n" @@ -3482,19 +3541,19 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1740 +#: ../src/guestfs.pod:1767 msgid "" "Note that libguestfs also calls qemu with the -help and -version options in " "order to determine features." msgstr "" # type: =head1 -#: ../src/guestfs.pod:1743 +#: ../src/guestfs.pod:1770 msgid "LIBGUESTFS VERSION NUMBERS" msgstr "" # type: textblock -#: ../src/guestfs.pod:1745 +#: ../src/guestfs.pod:1772 msgid "" "Since April 2010, libguestfs has started to make separate development and " "stable releases, along with corresponding branches in our git repository. " @@ -3502,7 +3561,7 @@ msgid "" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1750 +#: ../src/guestfs.pod:1777 #, no-wrap msgid "" " even numbers for stable: 1.2.x, 1.4.x, ...\n" @@ -3519,12 +3578,12 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1761 +#: ../src/guestfs.pod:1788 msgid "Thus \"1.3.5\" is the 5th update to the development branch \"1.3\"." msgstr "" # type: textblock -#: ../src/guestfs.pod:1763 +#: ../src/guestfs.pod:1790 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 " @@ -3534,26 +3593,26 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1769 +#: ../src/guestfs.pod:1796 msgid "Our criteria for backporting changes are:" msgstr "" # type: textblock -#: ../src/guestfs.pod:1775 +#: ../src/guestfs.pod:1802 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:1781 +#: ../src/guestfs.pod:1808 msgid "" "Bug fixes which are not controversial, fix obvious problems, and have been " "well tested are backported." msgstr "" # type: textblock -#: ../src/guestfs.pod:1786 +#: ../src/guestfs.pod:1813 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 " @@ -3561,7 +3620,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1792 +#: ../src/guestfs.pod:1819 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 " @@ -3569,7 +3628,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1798 +#: ../src/guestfs.pod:1825 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 " @@ -3580,47 +3639,47 @@ msgid "" msgstr "" # type: =head1 -#: ../src/guestfs.pod:1806 ../fish/guestfish.pod:867 +#: ../src/guestfs.pod:1833 ../fish/guestfish.pod:867 #: ../test-tool/libguestfs-test-tool.pod:104 ../tools/virt-edit.pl:330 #: ../tools/virt-rescue.pl:255 msgid "ENVIRONMENT VARIABLES" msgstr "" # type: =item -#: ../src/guestfs.pod:1810 ../fish/guestfish.pod:893 +#: ../src/guestfs.pod:1837 ../fish/guestfish.pod:893 msgid "LIBGUESTFS_APPEND" msgstr "" # type: textblock -#: ../src/guestfs.pod:1812 ../fish/guestfish.pod:895 +#: ../src/guestfs.pod:1839 ../fish/guestfish.pod:895 msgid "Pass additional options to the guest kernel." msgstr "" # type: =item -#: ../src/guestfs.pod:1814 ../fish/guestfish.pod:897 +#: ../src/guestfs.pod:1841 ../fish/guestfish.pod:897 msgid "LIBGUESTFS_DEBUG" msgstr "" # type: textblock -#: ../src/guestfs.pod:1816 +#: ../src/guestfs.pod:1843 msgid "" "Set C to enable verbose messages. This has the same " "effect as calling C." msgstr "" # type: =item -#: ../src/guestfs.pod:1819 ../fish/guestfish.pod:902 +#: ../src/guestfs.pod:1846 ../fish/guestfish.pod:902 msgid "LIBGUESTFS_MEMSIZE" msgstr "" # type: textblock -#: ../src/guestfs.pod:1821 ../fish/guestfish.pod:904 +#: ../src/guestfs.pod:1848 ../fish/guestfish.pod:904 msgid "" "Set the memory allocated to the qemu process, in megabytes. For example:" msgstr "" # type: verbatim -#: ../src/guestfs.pod:1824 ../fish/guestfish.pod:907 +#: ../src/guestfs.pod:1851 ../fish/guestfish.pod:907 #, no-wrap msgid "" " LIBGUESTFS_MEMSIZE=700\n" @@ -3628,58 +3687,58 @@ msgid "" msgstr "" # type: =item -#: ../src/guestfs.pod:1826 ../fish/guestfish.pod:909 +#: ../src/guestfs.pod:1853 ../fish/guestfish.pod:909 msgid "LIBGUESTFS_PATH" msgstr "" # type: textblock -#: ../src/guestfs.pod:1828 +#: ../src/guestfs.pod:1855 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:1831 ../fish/guestfish.pod:914 +#: ../src/guestfs.pod:1858 ../fish/guestfish.pod:914 msgid "LIBGUESTFS_QEMU" msgstr "" # type: textblock -#: ../src/guestfs.pod:1833 ../fish/guestfish.pod:916 +#: ../src/guestfs.pod:1860 ../fish/guestfish.pod:916 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:1837 +#: ../src/guestfs.pod:1864 msgid "See also L above." msgstr "" # type: =item -#: ../src/guestfs.pod:1839 ../fish/guestfish.pod:920 +#: ../src/guestfs.pod:1866 ../fish/guestfish.pod:920 msgid "LIBGUESTFS_TRACE" msgstr "" # type: textblock -#: ../src/guestfs.pod:1841 +#: ../src/guestfs.pod:1868 msgid "" "Set C to enable command traces. This has the same " "effect as calling C." msgstr "" # type: =item -#: ../src/guestfs.pod:1844 ../fish/guestfish.pod:929 +#: ../src/guestfs.pod:1871 ../fish/guestfish.pod:929 msgid "TMPDIR" msgstr "" # type: textblock -#: ../src/guestfs.pod:1846 ../fish/guestfish.pod:931 +#: ../src/guestfs.pod:1873 ../fish/guestfish.pod:931 msgid "Location of temporary directory, defaults to C." msgstr "" # type: textblock -#: ../src/guestfs.pod:1848 ../fish/guestfish.pod:933 +#: ../src/guestfs.pod:1875 ../fish/guestfish.pod:933 msgid "" "If libguestfs was compiled to use the supermin appliance then the real " "appliance is cached in this directory, shared between all handles belonging " @@ -3688,7 +3747,7 @@ msgid "" msgstr "" # type: =head1 -#: ../src/guestfs.pod:1856 ../fish/guestfish.pod:991 +#: ../src/guestfs.pod:1883 ../fish/guestfish.pod:991 #: ../test-tool/libguestfs-test-tool.pod:109 ../fuse/guestmount.pod:214 #: ../inspector/virt-inspector.pl:570 ../tools/virt-edit.pl:350 #: ../tools/virt-win-reg.pl:484 ../tools/virt-df.pl:640 @@ -3700,7 +3759,7 @@ msgid "SEE ALSO" msgstr "" # type: textblock -#: ../src/guestfs.pod:1858 +#: ../src/guestfs.pod:1885 msgid "" "L, L, L, L, L, L, L, L, L, L, L, L." msgstr "" # type: =head1 -#: ../src/guestfs.pod:1883 ../tools/virt-win-reg.pl:499 +#: ../src/guestfs.pod:1910 ../tools/virt-win-reg.pl:499 #: ../tools/virt-make-fs.pl:548 msgid "BUGS" msgstr "" # type: textblock -#: ../src/guestfs.pod:1885 +#: ../src/guestfs.pod:1912 msgid "To get a list of bugs against libguestfs use this link:" msgstr "" # type: textblock -#: ../src/guestfs.pod:1887 +#: ../src/guestfs.pod:1914 msgid "" "L" msgstr "" # type: textblock -#: ../src/guestfs.pod:1889 +#: ../src/guestfs.pod:1916 msgid "To report a new bug against libguestfs use this link:" msgstr "" # type: textblock -#: ../src/guestfs.pod:1891 +#: ../src/guestfs.pod:1918 msgid "" "L" msgstr "" # type: textblock -#: ../src/guestfs.pod:1893 +#: ../src/guestfs.pod:1920 msgid "When reporting a bug, please check:" msgstr "" # type: textblock -#: ../src/guestfs.pod:1899 +#: ../src/guestfs.pod:1926 msgid "That the bug hasn't been reported already." msgstr "" # type: textblock -#: ../src/guestfs.pod:1903 +#: ../src/guestfs.pod:1930 msgid "That you are testing a recent version." msgstr "" # type: textblock -#: ../src/guestfs.pod:1907 +#: ../src/guestfs.pod:1934 msgid "Describe the bug accurately, and give a way to reproduce it." msgstr "" # type: textblock -#: ../src/guestfs.pod:1911 +#: ../src/guestfs.pod:1938 msgid "" "Run libguestfs-test-tool and paste the B output into the " "bug report." msgstr "" # type: =head1 -#: ../src/guestfs.pod:1916 ../fish/guestfish.pod:1008 +#: ../src/guestfs.pod:1943 ../fish/guestfish.pod:1008 #: ../test-tool/libguestfs-test-tool.pod:115 ../fuse/guestmount.pod:225 #: ../inspector/virt-inspector.pl:580 msgid "AUTHORS" msgstr "" # type: textblock -#: ../src/guestfs.pod:1918 ../fish/guestfish.pod:1010 +#: ../src/guestfs.pod:1945 ../fish/guestfish.pod:1010 #: ../test-tool/libguestfs-test-tool.pod:117 ../fuse/guestmount.pod:227 msgid "Richard W.M. Jones (C)" msgstr "" # type: =head1 -#: ../src/guestfs.pod:1920 ../fish/guestfish.pod:1012 +#: ../src/guestfs.pod:1947 ../fish/guestfish.pod:1012 #: ../test-tool/libguestfs-test-tool.pod:119 ../fuse/guestmount.pod:229 #: ../inspector/virt-inspector.pl:594 ../tools/virt-edit.pl:366 #: ../tools/virt-win-reg.pl:514 ../tools/virt-df.pl:653 @@ -3799,13 +3858,13 @@ msgid "COPYRIGHT" msgstr "" # type: textblock -#: ../src/guestfs.pod:1922 ../fish/guestfish.pod:1014 +#: ../src/guestfs.pod:1949 ../fish/guestfish.pod:1014 #: ../fuse/guestmount.pod:231 msgid "Copyright (C) 2009-2010 Red Hat Inc. L" msgstr "" # type: textblock -#: ../src/guestfs.pod:1925 +#: ../src/guestfs.pod:1952 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 " @@ -3814,7 +3873,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1930 +#: ../src/guestfs.pod:1957 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 " @@ -3823,7 +3882,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs.pod:1935 +#: ../src/guestfs.pod:1962 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, " @@ -3839,23 +3898,24 @@ msgstr "" #: ../src/guestfs-actions.pod:3 #, no-wrap msgid "" -" int guestfs_add_cdrom (guestfs_h *g,\n" -"\t\tconst char *filename);\n" +" int\n" +" guestfs_add_cdrom (guestfs_h *g,\n" +" const char *filename);\n" "\n" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:6 ../fish/guestfish-actions.pod:5 +#: ../src/guestfs-actions.pod:7 ../fish/guestfish-actions.pod:5 msgid "This function adds a virtual CD-ROM disk image to the guest." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:8 ../fish/guestfish-actions.pod:7 +#: ../src/guestfs-actions.pod:9 ../fish/guestfish-actions.pod:7 msgid "This is equivalent to the qemu parameter C<-cdrom filename>." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:16 +#: ../src/guestfs-actions.pod:17 msgid "" "This call checks for the existence of C. This stops you from " "specifying other types of drive which are supported by qemu such as C " @@ -3864,7 +3924,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:23 +#: ../src/guestfs-actions.pod:24 msgid "" "If you just want to add an ISO file (often you use this as an efficient way " "to transfer large files into the guest), then you should probably use " @@ -3872,99 +3932,99 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:29 ../src/guestfs-actions.pod:54 -#: ../src/guestfs-actions.pod:112 ../src/guestfs-actions.pod:144 -#: ../src/guestfs-actions.pod:155 ../src/guestfs-actions.pod:173 -#: ../src/guestfs-actions.pod:190 ../src/guestfs-actions.pod:201 -#: ../src/guestfs-actions.pod:304 ../src/guestfs-actions.pod:321 -#: ../src/guestfs-actions.pod:332 ../src/guestfs-actions.pod:368 -#: ../src/guestfs-actions.pod:390 ../src/guestfs-actions.pod:405 -#: ../src/guestfs-actions.pod:469 ../src/guestfs-actions.pod:496 -#: ../src/guestfs-actions.pod:507 ../src/guestfs-actions.pod:519 -#: ../src/guestfs-actions.pod:600 ../src/guestfs-actions.pod:615 -#: ../src/guestfs-actions.pod:626 ../src/guestfs-actions.pod:637 -#: ../src/guestfs-actions.pod:783 ../src/guestfs-actions.pod:800 -#: ../src/guestfs-actions.pod:815 ../src/guestfs-actions.pod:890 -#: ../src/guestfs-actions.pod:905 ../src/guestfs-actions.pod:921 -#: ../src/guestfs-actions.pod:932 ../src/guestfs-actions.pod:949 -#: ../src/guestfs-actions.pod:982 ../src/guestfs-actions.pod:1040 -#: ../src/guestfs-actions.pod:1068 ../src/guestfs-actions.pod:1090 -#: ../src/guestfs-actions.pod:1121 ../src/guestfs-actions.pod:1209 -#: ../src/guestfs-actions.pod:1240 ../src/guestfs-actions.pod:1440 -#: ../src/guestfs-actions.pod:1459 ../src/guestfs-actions.pod:1540 -#: ../src/guestfs-actions.pod:1888 ../src/guestfs-actions.pod:2011 -#: ../src/guestfs-actions.pod:2066 ../src/guestfs-actions.pod:2096 -#: ../src/guestfs-actions.pod:2545 ../src/guestfs-actions.pod:2557 -#: ../src/guestfs-actions.pod:2574 ../src/guestfs-actions.pod:2682 -#: ../src/guestfs-actions.pod:2693 ../src/guestfs-actions.pod:2703 -#: ../src/guestfs-actions.pod:2714 ../src/guestfs-actions.pod:2726 -#: ../src/guestfs-actions.pod:2756 ../src/guestfs-actions.pod:2820 -#: ../src/guestfs-actions.pod:2837 ../src/guestfs-actions.pod:2851 -#: ../src/guestfs-actions.pod:2871 ../src/guestfs-actions.pod:2891 -#: ../src/guestfs-actions.pod:2920 ../src/guestfs-actions.pod:2936 -#: ../src/guestfs-actions.pod:2952 ../src/guestfs-actions.pod:2981 -#: ../src/guestfs-actions.pod:2990 ../src/guestfs-actions.pod:3023 -#: ../src/guestfs-actions.pod:3036 ../src/guestfs-actions.pod:3046 -#: ../src/guestfs-actions.pod:3058 ../src/guestfs-actions.pod:3072 -#: ../src/guestfs-actions.pod:3152 ../src/guestfs-actions.pod:3169 -#: ../src/guestfs-actions.pod:3179 ../src/guestfs-actions.pod:3224 -#: ../src/guestfs-actions.pod:3239 ../src/guestfs-actions.pod:3254 -#: ../src/guestfs-actions.pod:3267 ../src/guestfs-actions.pod:3278 -#: ../src/guestfs-actions.pod:3289 ../src/guestfs-actions.pod:3303 -#: ../src/guestfs-actions.pod:3315 ../src/guestfs-actions.pod:3332 -#: ../src/guestfs-actions.pod:3378 ../src/guestfs-actions.pod:3406 -#: ../src/guestfs-actions.pod:3422 ../src/guestfs-actions.pod:3438 -#: ../src/guestfs-actions.pod:3447 ../src/guestfs-actions.pod:3461 -#: ../src/guestfs-actions.pod:3471 ../src/guestfs-actions.pod:3483 -#: ../src/guestfs-actions.pod:3495 ../src/guestfs-actions.pod:3527 -#: ../src/guestfs-actions.pod:3539 ../src/guestfs-actions.pod:3556 -#: ../src/guestfs-actions.pod:3567 ../src/guestfs-actions.pod:3581 -#: ../src/guestfs-actions.pod:3621 ../src/guestfs-actions.pod:3652 -#: ../src/guestfs-actions.pod:3663 ../src/guestfs-actions.pod:3688 -#: ../src/guestfs-actions.pod:3702 ../src/guestfs-actions.pod:3717 -#: ../src/guestfs-actions.pod:3839 ../src/guestfs-actions.pod:3891 -#: ../src/guestfs-actions.pod:3910 ../src/guestfs-actions.pod:3925 -#: ../src/guestfs-actions.pod:3951 ../src/guestfs-actions.pod:4008 -#: ../src/guestfs-actions.pod:4022 ../src/guestfs-actions.pod:4032 -#: ../src/guestfs-actions.pod:4043 ../src/guestfs-actions.pod:4298 -#: ../src/guestfs-actions.pod:4314 ../src/guestfs-actions.pod:4325 -#: ../src/guestfs-actions.pod:4334 ../src/guestfs-actions.pod:4345 -#: ../src/guestfs-actions.pod:4354 ../src/guestfs-actions.pod:4365 -#: ../src/guestfs-actions.pod:4378 ../src/guestfs-actions.pod:4396 -#: ../src/guestfs-actions.pod:4412 ../src/guestfs-actions.pod:4428 -#: ../src/guestfs-actions.pod:4443 ../src/guestfs-actions.pod:4463 -#: ../src/guestfs-actions.pod:4478 ../src/guestfs-actions.pod:4494 -#: ../src/guestfs-actions.pod:4512 ../src/guestfs-actions.pod:4528 -#: ../src/guestfs-actions.pod:4542 ../src/guestfs-actions.pod:4567 -#: ../src/guestfs-actions.pod:4588 ../src/guestfs-actions.pod:4604 -#: ../src/guestfs-actions.pod:4625 ../src/guestfs-actions.pod:4637 -#: ../src/guestfs-actions.pod:4649 ../src/guestfs-actions.pod:4665 -#: ../src/guestfs-actions.pod:4699 ../src/guestfs-actions.pod:4719 -#: ../src/guestfs-actions.pod:4742 ../src/guestfs-actions.pod:4832 -#: ../src/guestfs-actions.pod:4938 ../src/guestfs-actions.pod:4947 -#: ../src/guestfs-actions.pod:4957 ../src/guestfs-actions.pod:4967 -#: ../src/guestfs-actions.pod:4986 ../src/guestfs-actions.pod:4996 -#: ../src/guestfs-actions.pod:5006 ../src/guestfs-actions.pod:5016 -#: ../src/guestfs-actions.pod:5028 ../src/guestfs-actions.pod:5078 -#: ../src/guestfs-actions.pod:5092 ../src/guestfs-actions.pod:5105 -#: ../src/guestfs-actions.pod:5118 ../src/guestfs-actions.pod:5132 -#: ../src/guestfs-actions.pod:5142 ../src/guestfs-actions.pod:5159 -#: ../src/guestfs-actions.pod:5189 ../src/guestfs-actions.pod:5200 -#: ../src/guestfs-actions.pod:5235 ../src/guestfs-actions.pod:5245 -#: ../src/guestfs-actions.pod:5260 ../src/guestfs-actions.pod:5286 -#: ../src/guestfs-actions.pod:5314 ../src/guestfs-actions.pod:5418 -#: ../src/guestfs-actions.pod:5433 ../src/guestfs-actions.pod:5444 -#: ../src/guestfs-actions.pod:5490 ../src/guestfs-actions.pod:5500 -#: ../src/guestfs-actions.pod:5537 ../src/guestfs-actions.pod:5564 -#: ../src/guestfs-actions.pod:5606 ../src/guestfs-actions.pod:5629 -#: ../src/guestfs-actions.pod:5686 ../src/guestfs-actions.pod:5702 -#: ../src/guestfs-actions.pod:5728 +#: ../src/guestfs-actions.pod:30 ../src/guestfs-actions.pod:56 +#: ../src/guestfs-actions.pod:115 ../src/guestfs-actions.pod:150 +#: ../src/guestfs-actions.pod:162 ../src/guestfs-actions.pod:181 +#: ../src/guestfs-actions.pod:199 ../src/guestfs-actions.pod:211 +#: ../src/guestfs-actions.pod:318 ../src/guestfs-actions.pod:336 +#: ../src/guestfs-actions.pod:348 ../src/guestfs-actions.pod:387 +#: ../src/guestfs-actions.pod:411 ../src/guestfs-actions.pod:427 +#: ../src/guestfs-actions.pod:492 ../src/guestfs-actions.pod:521 +#: ../src/guestfs-actions.pod:533 ../src/guestfs-actions.pod:546 +#: ../src/guestfs-actions.pod:633 ../src/guestfs-actions.pod:649 +#: ../src/guestfs-actions.pod:661 ../src/guestfs-actions.pod:673 +#: ../src/guestfs-actions.pod:824 ../src/guestfs-actions.pod:842 +#: ../src/guestfs-actions.pod:858 ../src/guestfs-actions.pod:936 +#: ../src/guestfs-actions.pod:952 ../src/guestfs-actions.pod:969 +#: ../src/guestfs-actions.pod:981 ../src/guestfs-actions.pod:999 +#: ../src/guestfs-actions.pod:1034 ../src/guestfs-actions.pod:1096 +#: ../src/guestfs-actions.pod:1125 ../src/guestfs-actions.pod:1148 +#: ../src/guestfs-actions.pod:1181 ../src/guestfs-actions.pod:1275 +#: ../src/guestfs-actions.pod:1307 ../src/guestfs-actions.pod:1513 +#: ../src/guestfs-actions.pod:1533 ../src/guestfs-actions.pod:1616 +#: ../src/guestfs-actions.pod:1989 ../src/guestfs-actions.pod:2119 +#: ../src/guestfs-actions.pod:2176 ../src/guestfs-actions.pod:2208 +#: ../src/guestfs-actions.pod:2680 ../src/guestfs-actions.pod:2693 +#: ../src/guestfs-actions.pod:2711 ../src/guestfs-actions.pod:2825 +#: ../src/guestfs-actions.pod:2837 ../src/guestfs-actions.pod:2848 +#: ../src/guestfs-actions.pod:2860 ../src/guestfs-actions.pod:2873 +#: ../src/guestfs-actions.pod:2905 ../src/guestfs-actions.pod:2972 +#: ../src/guestfs-actions.pod:2990 ../src/guestfs-actions.pod:3005 +#: ../src/guestfs-actions.pod:3026 ../src/guestfs-actions.pod:3047 +#: ../src/guestfs-actions.pod:3077 ../src/guestfs-actions.pod:3094 +#: ../src/guestfs-actions.pod:3111 ../src/guestfs-actions.pod:3142 +#: ../src/guestfs-actions.pod:3152 ../src/guestfs-actions.pod:3186 +#: ../src/guestfs-actions.pod:3200 ../src/guestfs-actions.pod:3211 +#: ../src/guestfs-actions.pod:3224 ../src/guestfs-actions.pod:3239 +#: ../src/guestfs-actions.pod:3324 ../src/guestfs-actions.pod:3342 +#: ../src/guestfs-actions.pod:3353 ../src/guestfs-actions.pod:3400 +#: ../src/guestfs-actions.pod:3416 ../src/guestfs-actions.pod:3432 +#: ../src/guestfs-actions.pod:3446 ../src/guestfs-actions.pod:3458 +#: ../src/guestfs-actions.pod:3470 ../src/guestfs-actions.pod:3485 +#: ../src/guestfs-actions.pod:3498 ../src/guestfs-actions.pod:3516 +#: ../src/guestfs-actions.pod:3563 ../src/guestfs-actions.pod:3592 +#: ../src/guestfs-actions.pod:3609 ../src/guestfs-actions.pod:3626 +#: ../src/guestfs-actions.pod:3636 ../src/guestfs-actions.pod:3651 +#: ../src/guestfs-actions.pod:3662 ../src/guestfs-actions.pod:3675 +#: ../src/guestfs-actions.pod:3688 ../src/guestfs-actions.pod:3721 +#: ../src/guestfs-actions.pod:3734 ../src/guestfs-actions.pod:3752 +#: ../src/guestfs-actions.pod:3764 ../src/guestfs-actions.pod:3779 +#: ../src/guestfs-actions.pod:3822 ../src/guestfs-actions.pod:3855 +#: ../src/guestfs-actions.pod:3867 ../src/guestfs-actions.pod:3893 +#: ../src/guestfs-actions.pod:3908 ../src/guestfs-actions.pod:3924 +#: ../src/guestfs-actions.pod:4050 ../src/guestfs-actions.pod:4104 +#: ../src/guestfs-actions.pod:4124 ../src/guestfs-actions.pod:4140 +#: ../src/guestfs-actions.pod:4168 ../src/guestfs-actions.pod:4228 +#: ../src/guestfs-actions.pod:4243 ../src/guestfs-actions.pod:4254 +#: ../src/guestfs-actions.pod:4266 ../src/guestfs-actions.pod:4533 +#: ../src/guestfs-actions.pod:4550 ../src/guestfs-actions.pod:4562 +#: ../src/guestfs-actions.pod:4572 ../src/guestfs-actions.pod:4584 +#: ../src/guestfs-actions.pod:4594 ../src/guestfs-actions.pod:4606 +#: ../src/guestfs-actions.pod:4620 ../src/guestfs-actions.pod:4639 +#: ../src/guestfs-actions.pod:4656 ../src/guestfs-actions.pod:4673 +#: ../src/guestfs-actions.pod:4689 ../src/guestfs-actions.pod:4710 +#: ../src/guestfs-actions.pod:4726 ../src/guestfs-actions.pod:4743 +#: ../src/guestfs-actions.pod:4762 ../src/guestfs-actions.pod:4779 +#: ../src/guestfs-actions.pod:4794 ../src/guestfs-actions.pod:4820 +#: ../src/guestfs-actions.pod:4842 ../src/guestfs-actions.pod:4859 +#: ../src/guestfs-actions.pod:4881 ../src/guestfs-actions.pod:4894 +#: ../src/guestfs-actions.pod:4907 ../src/guestfs-actions.pod:4924 +#: ../src/guestfs-actions.pod:4959 ../src/guestfs-actions.pod:4980 +#: ../src/guestfs-actions.pod:5004 ../src/guestfs-actions.pod:5100 +#: ../src/guestfs-actions.pod:5211 ../src/guestfs-actions.pod:5221 +#: ../src/guestfs-actions.pod:5232 ../src/guestfs-actions.pod:5243 +#: ../src/guestfs-actions.pod:5263 ../src/guestfs-actions.pod:5274 +#: ../src/guestfs-actions.pod:5285 ../src/guestfs-actions.pod:5296 +#: ../src/guestfs-actions.pod:5309 ../src/guestfs-actions.pod:5362 +#: ../src/guestfs-actions.pod:5377 ../src/guestfs-actions.pod:5391 +#: ../src/guestfs-actions.pod:5405 ../src/guestfs-actions.pod:5420 +#: ../src/guestfs-actions.pod:5431 ../src/guestfs-actions.pod:5449 +#: ../src/guestfs-actions.pod:5481 ../src/guestfs-actions.pod:5493 +#: ../src/guestfs-actions.pod:5530 ../src/guestfs-actions.pod:5541 +#: ../src/guestfs-actions.pod:5557 ../src/guestfs-actions.pod:5584 +#: ../src/guestfs-actions.pod:5613 ../src/guestfs-actions.pod:5722 +#: ../src/guestfs-actions.pod:5738 ../src/guestfs-actions.pod:5750 +#: ../src/guestfs-actions.pod:5799 ../src/guestfs-actions.pod:5810 +#: ../src/guestfs-actions.pod:5850 ../src/guestfs-actions.pod:5879 +#: ../src/guestfs-actions.pod:5925 ../src/guestfs-actions.pod:5949 +#: ../src/guestfs-actions.pod:6009 ../src/guestfs-actions.pod:6026 +#: ../src/guestfs-actions.pod:6053 msgid "This function returns 0 on success or -1 on error." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:31 ../src/guestfs-actions.pod:157 -#: ../src/guestfs-actions.pod:175 ../fish/guestfish-actions.pod:28 +#: ../src/guestfs-actions.pod:32 ../src/guestfs-actions.pod:164 +#: ../src/guestfs-actions.pod:183 ../fish/guestfish-actions.pod:28 #: ../fish/guestfish-actions.pod:117 ../fish/guestfish-actions.pod:131 msgid "" "This function is deprecated. In new code, use the C call " @@ -3972,10 +4032,10 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:34 ../src/guestfs-actions.pod:160 -#: ../src/guestfs-actions.pod:178 ../src/guestfs-actions.pod:1214 -#: ../src/guestfs-actions.pod:1649 ../src/guestfs-actions.pod:1667 -#: ../src/guestfs-actions.pod:5637 ../src/guestfs-actions.pod:5782 +#: ../src/guestfs-actions.pod:35 ../src/guestfs-actions.pod:167 +#: ../src/guestfs-actions.pod:186 ../src/guestfs-actions.pod:1280 +#: ../src/guestfs-actions.pod:1732 ../src/guestfs-actions.pod:1751 +#: ../src/guestfs-actions.pod:5957 ../src/guestfs-actions.pod:6110 #: ../fish/guestfish-actions.pod:31 ../fish/guestfish-actions.pod:120 #: ../fish/guestfish-actions.pod:134 ../fish/guestfish-actions.pod:940 #: ../fish/guestfish-actions.pod:1297 ../fish/guestfish-actions.pod:1311 @@ -3987,21 +4047,22 @@ msgid "" msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:38 +#: ../src/guestfs-actions.pod:39 msgid "guestfs_add_drive" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:40 +#: ../src/guestfs-actions.pod:41 #, no-wrap msgid "" -" int guestfs_add_drive (guestfs_h *g,\n" -"\t\tconst char *filename);\n" +" int\n" +" guestfs_add_drive (guestfs_h *g,\n" +" const char *filename);\n" "\n" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:43 +#: ../src/guestfs-actions.pod:45 msgid "" "This function is the equivalent of calling C with no " "optional parameters, so the disk is added writable, with the format being " @@ -4009,7 +4070,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:47 +#: ../src/guestfs-actions.pod:49 msgid "" "Automatic detection of the format opens you up to a potential security hole " "when dealing with untrusted raw-format images. See CVE-2010-3851 and " @@ -4019,22 +4080,23 @@ msgid "" msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:56 +#: ../src/guestfs-actions.pod:58 msgid "guestfs_add_drive_opts" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:58 +#: ../src/guestfs-actions.pod:60 #, no-wrap msgid "" -" int guestfs_add_drive_opts (guestfs_h *g,\n" -"\t\tconst char *filename,\n" -"\t\t...);\n" +" int\n" +" guestfs_add_drive_opts (guestfs_h *g,\n" +" const char *filename,\n" +" ...);\n" "\n" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:62 +#: ../src/guestfs-actions.pod:65 msgid "" "You may supply a list of optional arguments to this call. Use zero or more " "of the following pairs of parameters, and terminate the list with C<-1> on " @@ -4042,7 +4104,7 @@ msgid "" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:67 +#: ../src/guestfs-actions.pod:70 #, no-wrap msgid "" " GUESTFS_ADD_DRIVE_OPTS_READONLY, int readonly,\n" @@ -4052,7 +4114,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:71 ../fish/guestfish-actions.pod:56 +#: ../src/guestfs-actions.pod:74 ../fish/guestfish-actions.pod:56 msgid "" "This function adds a virtual machine disk image C to libguestfs. " "The first time you call this function, the disk appears as C, the " @@ -4060,7 +4122,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:76 ../fish/guestfish-actions.pod:61 +#: ../src/guestfs-actions.pod:79 ../fish/guestfish-actions.pod:61 msgid "" "You don't necessarily need to be root when using libguestfs. However you " "obviously do need sufficient permissions to access the filename for whatever " @@ -4069,22 +4131,22 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:82 ../fish/guestfish-actions.pod:67 +#: ../src/guestfs-actions.pod:85 ../fish/guestfish-actions.pod:67 msgid "This call checks that C exists." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:84 ../fish/guestfish-actions.pod:69 +#: ../src/guestfs-actions.pod:87 ../fish/guestfish-actions.pod:69 msgid "The optional arguments are:" msgstr "" # type: =item -#: ../src/guestfs-actions.pod:88 ../fish/guestfish-actions.pod:73 +#: ../src/guestfs-actions.pod:91 ../fish/guestfish-actions.pod:73 msgid "C" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:90 ../fish/guestfish-actions.pod:75 +#: ../src/guestfs-actions.pod:93 ../fish/guestfish-actions.pod:75 msgid "" "If true then the image is treated as read-only. Writes are still allowed, " "but they are stored in a temporary snapshot overlay which is discarded at " @@ -4092,12 +4154,12 @@ msgid "" msgstr "" # type: =item -#: ../src/guestfs-actions.pod:94 ../fish/guestfish-actions.pod:79 +#: ../src/guestfs-actions.pod:97 ../fish/guestfish-actions.pod:79 msgid "C" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:96 +#: ../src/guestfs-actions.pod:99 msgid "" "This forces the image format. If you omit this (or use C " "or C) then the format is automatically detected. " @@ -4105,7 +4167,7 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:100 ../fish/guestfish-actions.pod:85 +#: ../src/guestfs-actions.pod:103 ../fish/guestfish-actions.pod:85 msgid "" "Automatic detection of the format opens you up to a potential security hole " "when dealing with untrusted raw-format images. See CVE-2010-3851 and " @@ -4113,78 +4175,81 @@ msgid "" msgstr "" # type: =item -#: ../src/guestfs-actions.pod:105 ../fish/guestfish-actions.pod:90 +#: ../src/guestfs-actions.pod:108 ../fish/guestfish-actions.pod:90 msgid "C" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:107 +#: ../src/guestfs-actions.pod:110 msgid "" "This rarely-used option lets you emulate the behaviour of the deprecated " "C call (q.v.)" msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:114 +#: ../src/guestfs-actions.pod:117 msgid "guestfs_add_drive_opts_va" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:116 +#: ../src/guestfs-actions.pod:119 #, no-wrap msgid "" -" int guestfs_add_drive_opts_va (guestfs_h *g,\n" -"\t\tconst char *filename,\n" -"\t\tva_list args);\n" +" int\n" +" guestfs_add_drive_opts_va (guestfs_h *g,\n" +" const char *filename,\n" +" va_list args);\n" "\n" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:120 +#: ../src/guestfs-actions.pod:124 msgid "This is the \"va_list variant\" of L." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:122 ../src/guestfs-actions.pod:132 +#: ../src/guestfs-actions.pod:126 ../src/guestfs-actions.pod:137 msgid "See L." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:124 +#: ../src/guestfs-actions.pod:128 msgid "guestfs_add_drive_opts_argv" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:126 +#: ../src/guestfs-actions.pod:130 #, no-wrap msgid "" -" int guestfs_add_drive_opts_argv (guestfs_h *g,\n" -"\t\tconst char *filename,\n" -"\t\tconst struct guestfs_add_drive_opts_argv *optargs);\n" +" int\n" +" guestfs_add_drive_opts_argv (guestfs_h *g,\n" +" const char *filename,\n" +" const struct guestfs_add_drive_opts_argv *optargs);\n" "\n" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:130 +#: ../src/guestfs-actions.pod:135 msgid "This is the \"argv variant\" of L." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:134 +#: ../src/guestfs-actions.pod:139 msgid "guestfs_add_drive_ro" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:136 +#: ../src/guestfs-actions.pod:141 #, no-wrap msgid "" -" int guestfs_add_drive_ro (guestfs_h *g,\n" -"\t\tconst char *filename);\n" +" int\n" +" guestfs_add_drive_ro (guestfs_h *g,\n" +" const char *filename);\n" "\n" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:139 +#: ../src/guestfs-actions.pod:145 msgid "" "This function is the equivalent of calling C with " "the optional parameter C set to 1, so the " @@ -4192,85 +4257,89 @@ msgid "" msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:146 +#: ../src/guestfs-actions.pod:152 msgid "guestfs_add_drive_ro_with_if" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:148 +#: ../src/guestfs-actions.pod:154 #, no-wrap msgid "" -" int guestfs_add_drive_ro_with_if (guestfs_h *g,\n" -"\t\tconst char *filename,\n" -"\t\tconst char *iface);\n" +" int\n" +" guestfs_add_drive_ro_with_if (guestfs_h *g,\n" +" const char *filename,\n" +" const char *iface);\n" "\n" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:152 +#: ../src/guestfs-actions.pod:159 msgid "" "This is the same as C but it allows you to specify the " "QEMU interface emulation to use at run time." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:164 +#: ../src/guestfs-actions.pod:171 msgid "guestfs_add_drive_with_if" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:166 +#: ../src/guestfs-actions.pod:173 #, no-wrap msgid "" -" int guestfs_add_drive_with_if (guestfs_h *g,\n" -"\t\tconst char *filename,\n" -"\t\tconst char *iface);\n" +" int\n" +" guestfs_add_drive_with_if (guestfs_h *g,\n" +" const char *filename,\n" +" const char *iface);\n" "\n" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:170 +#: ../src/guestfs-actions.pod:178 msgid "" "This is the same as C but it allows you to specify the " "QEMU interface emulation to use at run time." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:182 +#: ../src/guestfs-actions.pod:190 msgid "guestfs_aug_clear" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:184 +#: ../src/guestfs-actions.pod:192 #, no-wrap msgid "" -" int guestfs_aug_clear (guestfs_h *g,\n" -"\t\tconst char *augpath);\n" +" int\n" +" guestfs_aug_clear (guestfs_h *g,\n" +" const char *augpath);\n" "\n" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:187 ../fish/guestfish-actions.pod:142 +#: ../src/guestfs-actions.pod:196 ../fish/guestfish-actions.pod:142 msgid "" "Set the value associated with C to C. This is the same as the " "L C command." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:192 +#: ../src/guestfs-actions.pod:201 msgid "guestfs_aug_close" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:194 +#: ../src/guestfs-actions.pod:203 #, no-wrap msgid "" -" int guestfs_aug_close (guestfs_h *g);\n" +" int\n" +" guestfs_aug_close (guestfs_h *g);\n" "\n" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:196 +#: ../src/guestfs-actions.pod:206 msgid "" "Close the current Augeas handle and free up any resources used by it. After " "calling this, you have to call C again before you can use " @@ -4278,29 +4347,30 @@ msgid "" msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:203 +#: ../src/guestfs-actions.pod:213 msgid "guestfs_aug_defnode" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:205 +#: ../src/guestfs-actions.pod:215 #, no-wrap msgid "" -" struct guestfs_int_bool *guestfs_aug_defnode (guestfs_h *g,\n" -"\t\tconst char *name,\n" -"\t\tconst char *expr,\n" -"\t\tconst char *val);\n" +" struct guestfs_int_bool *\n" +" guestfs_aug_defnode (guestfs_h *g,\n" +" const char *name,\n" +" const char *expr,\n" +" const char *val);\n" "\n" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:210 ../fish/guestfish-actions.pod:158 +#: ../src/guestfs-actions.pod:221 ../fish/guestfish-actions.pod:158 msgid "" "Defines a variable C whose value is the result of evaluating C." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:213 +#: ../src/guestfs-actions.pod:224 msgid "" "If C evaluates to an empty nodeset, a node is created, equivalent to " "calling C C, C. C will be the nodeset " @@ -4308,129 +4378,132 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:217 ../fish/guestfish-actions.pod:165 +#: ../src/guestfs-actions.pod:228 ../fish/guestfish-actions.pod:165 msgid "" "On success this returns a pair containing the number of nodes in the " "nodeset, and a boolean flag if a node was created." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:221 +#: ../src/guestfs-actions.pod:232 msgid "" "This function returns a C, or NULL if there was " "an error. I after use>." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:225 +#: ../src/guestfs-actions.pod:236 msgid "guestfs_aug_defvar" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:227 +#: ../src/guestfs-actions.pod:238 #, no-wrap msgid "" -" int guestfs_aug_defvar (guestfs_h *g,\n" -"\t\tconst char *name,\n" -"\t\tconst char *expr);\n" +" int\n" +" guestfs_aug_defvar (guestfs_h *g,\n" +" const char *name,\n" +" const char *expr);\n" "\n" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:231 ../fish/guestfish-actions.pod:173 +#: ../src/guestfs-actions.pod:243 ../fish/guestfish-actions.pod:173 msgid "" "Defines an Augeas variable C whose value is the result of evaluating " "C. If C is NULL, then C is undefined." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:235 ../fish/guestfish-actions.pod:177 +#: ../src/guestfs-actions.pod:247 ../fish/guestfish-actions.pod:177 msgid "" "On success this returns the number of nodes in C, or C<0> if C " "evaluates to something which is not a nodeset." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:238 ../src/guestfs-actions.pod:379 -#: ../src/guestfs-actions.pod:533 ../src/guestfs-actions.pod:558 -#: ../src/guestfs-actions.pod:573 ../src/guestfs-actions.pod:589 -#: ../src/guestfs-actions.pod:1107 ../src/guestfs-actions.pod:1422 -#: ../src/guestfs-actions.pod:1604 ../src/guestfs-actions.pod:1685 -#: ../src/guestfs-actions.pod:1716 ../src/guestfs-actions.pod:1759 -#: ../src/guestfs-actions.pod:1776 ../src/guestfs-actions.pod:2001 -#: ../src/guestfs-actions.pod:2233 ../src/guestfs-actions.pod:2251 -#: ../src/guestfs-actions.pod:3641 ../src/guestfs-actions.pod:3748 -#: ../src/guestfs-actions.pod:4102 ../src/guestfs-actions.pod:4125 -#: ../src/guestfs-actions.pod:5224 ../src/guestfs-actions.pod:5574 -#: ../src/guestfs-actions.pod:5584 ../src/guestfs-actions.pod:5594 +#: ../src/guestfs-actions.pod:250 ../src/guestfs-actions.pod:399 +#: ../src/guestfs-actions.pod:561 ../src/guestfs-actions.pod:588 +#: ../src/guestfs-actions.pod:604 ../src/guestfs-actions.pod:621 +#: ../src/guestfs-actions.pod:1166 ../src/guestfs-actions.pod:1494 +#: ../src/guestfs-actions.pod:1683 ../src/guestfs-actions.pod:1770 +#: ../src/guestfs-actions.pod:1804 ../src/guestfs-actions.pod:1851 +#: ../src/guestfs-actions.pod:1870 ../src/guestfs-actions.pod:2108 +#: ../src/guestfs-actions.pod:2349 ../src/guestfs-actions.pod:2368 +#: ../src/guestfs-actions.pod:3843 ../src/guestfs-actions.pod:3957 +#: ../src/guestfs-actions.pod:4329 ../src/guestfs-actions.pod:4353 +#: ../src/guestfs-actions.pod:5518 ../src/guestfs-actions.pod:5890 +#: ../src/guestfs-actions.pod:5901 ../src/guestfs-actions.pod:5912 msgid "On error this function returns -1." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:240 +#: ../src/guestfs-actions.pod:252 msgid "guestfs_aug_get" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:242 +#: ../src/guestfs-actions.pod:254 #, no-wrap msgid "" -" char *guestfs_aug_get (guestfs_h *g,\n" -"\t\tconst char *augpath);\n" +" char *\n" +" guestfs_aug_get (guestfs_h *g,\n" +" const char *augpath);\n" "\n" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:245 ../fish/guestfish-actions.pod:184 +#: ../src/guestfs-actions.pod:258 ../fish/guestfish-actions.pod:184 msgid "" "Look up the value associated with C. If C matches exactly one " "node, the C is returned." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:248 ../src/guestfs-actions.pod:676 -#: ../src/guestfs-actions.pod:691 ../src/guestfs-actions.pod:748 -#: ../src/guestfs-actions.pod:761 ../src/guestfs-actions.pod:852 -#: ../src/guestfs-actions.pod:965 ../src/guestfs-actions.pod:994 -#: ../src/guestfs-actions.pod:1008 ../src/guestfs-actions.pod:1024 -#: ../src/guestfs-actions.pod:1135 ../src/guestfs-actions.pod:1299 -#: ../src/guestfs-actions.pod:1408 ../src/guestfs-actions.pod:1553 -#: ../src/guestfs-actions.pod:1567 ../src/guestfs-actions.pod:1643 -#: ../src/guestfs-actions.pod:1661 ../src/guestfs-actions.pod:1795 -#: ../src/guestfs-actions.pod:1934 ../src/guestfs-actions.pod:2115 -#: ../src/guestfs-actions.pod:2185 ../src/guestfs-actions.pod:2301 -#: ../src/guestfs-actions.pod:2336 ../src/guestfs-actions.pod:2356 -#: ../src/guestfs-actions.pod:2671 ../src/guestfs-actions.pod:2968 -#: ../src/guestfs-actions.pod:3109 ../src/guestfs-actions.pod:3205 -#: ../src/guestfs-actions.pod:3763 ../src/guestfs-actions.pod:3939 -#: ../src/guestfs-actions.pod:4080 ../src/guestfs-actions.pod:4241 -#: ../src/guestfs-actions.pod:4284 ../src/guestfs-actions.pod:4760 -#: ../src/guestfs-actions.pod:4773 ../src/guestfs-actions.pod:4787 -#: ../src/guestfs-actions.pod:4808 ../src/guestfs-actions.pod:5367 -#: ../src/guestfs-actions.pod:5383 ../src/guestfs-actions.pod:5398 -#: ../src/guestfs-actions.pod:5546 ../src/guestfs-actions.pod:5776 +#: ../src/guestfs-actions.pod:261 ../src/guestfs-actions.pod:713 +#: ../src/guestfs-actions.pod:729 ../src/guestfs-actions.pod:787 +#: ../src/guestfs-actions.pod:801 ../src/guestfs-actions.pod:896 +#: ../src/guestfs-actions.pod:1016 ../src/guestfs-actions.pod:1047 +#: ../src/guestfs-actions.pod:1062 ../src/guestfs-actions.pod:1079 +#: ../src/guestfs-actions.pod:1196 ../src/guestfs-actions.pod:1369 +#: ../src/guestfs-actions.pod:1479 ../src/guestfs-actions.pod:1630 +#: ../src/guestfs-actions.pod:1645 ../src/guestfs-actions.pod:1726 +#: ../src/guestfs-actions.pod:1745 ../src/guestfs-actions.pod:1891 +#: ../src/guestfs-actions.pod:2038 ../src/guestfs-actions.pod:2228 +#: ../src/guestfs-actions.pod:2299 ../src/guestfs-actions.pod:2420 +#: ../src/guestfs-actions.pod:2456 ../src/guestfs-actions.pod:2477 +#: ../src/guestfs-actions.pod:2813 ../src/guestfs-actions.pod:3128 +#: ../src/guestfs-actions.pod:3279 ../src/guestfs-actions.pod:3380 +#: ../src/guestfs-actions.pod:3973 ../src/guestfs-actions.pod:4155 +#: ../src/guestfs-actions.pod:4306 ../src/guestfs-actions.pod:4473 +#: ../src/guestfs-actions.pod:4518 ../src/guestfs-actions.pod:5023 +#: ../src/guestfs-actions.pod:5037 ../src/guestfs-actions.pod:5052 +#: ../src/guestfs-actions.pod:5074 ../src/guestfs-actions.pod:5668 +#: ../src/guestfs-actions.pod:5685 ../src/guestfs-actions.pod:5701 +#: ../src/guestfs-actions.pod:5860 ../src/guestfs-actions.pod:6104 msgid "" "This function returns a string, or NULL on error. I." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:251 +#: ../src/guestfs-actions.pod:264 msgid "guestfs_aug_init" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:253 +#: ../src/guestfs-actions.pod:266 #, no-wrap msgid "" -" int guestfs_aug_init (guestfs_h *g,\n" -"\t\tconst char *root,\n" -"\t\tint flags);\n" +" int\n" +" guestfs_aug_init (guestfs_h *g,\n" +" const char *root,\n" +" int flags);\n" "\n" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:257 ../fish/guestfish-actions.pod:191 +#: ../src/guestfs-actions.pod:271 ../fish/guestfish-actions.pod:191 msgid "" "Create a new Augeas handle for editing configuration files. If there was " "any previous Augeas handle associated with this guestfs session, then it is " @@ -4438,190 +4511,193 @@ msgid "" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:261 +#: ../src/guestfs-actions.pod:275 msgid "You must call this before using any other C commands." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:264 ../fish/guestfish-actions.pod:198 +#: ../src/guestfs-actions.pod:278 ../fish/guestfish-actions.pod:198 msgid "" "C is the filesystem root. C must not be NULL, use C instead." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:267 ../fish/guestfish-actions.pod:201 +#: ../src/guestfs-actions.pod:281 ../fish/guestfish-actions.pod:201 msgid "" "The flags are the same as the flags defined in Eaugeas.hE, the " "logical I of the following integers:" msgstr "" # type: =item -#: ../src/guestfs-actions.pod:273 ../fish/guestfish-actions.pod:207 +#: ../src/guestfs-actions.pod:287 ../fish/guestfish-actions.pod:207 msgid "C = 1" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:275 ../fish/guestfish-actions.pod:209 +#: ../src/guestfs-actions.pod:289 ../fish/guestfish-actions.pod:209 msgid "Keep the original file with a C<.augsave> extension." msgstr "" # type: =item -#: ../src/guestfs-actions.pod:277 ../fish/guestfish-actions.pod:211 +#: ../src/guestfs-actions.pod:291 ../fish/guestfish-actions.pod:211 msgid "C = 2" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:279 ../fish/guestfish-actions.pod:213 +#: ../src/guestfs-actions.pod:293 ../fish/guestfish-actions.pod:213 msgid "" "Save changes into a file with extension C<.augnew>, and do not overwrite " "original. Overrides C." msgstr "" # type: =item -#: ../src/guestfs-actions.pod:282 ../fish/guestfish-actions.pod:216 +#: ../src/guestfs-actions.pod:296 ../fish/guestfish-actions.pod:216 msgid "C = 4" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:284 ../fish/guestfish-actions.pod:218 +#: ../src/guestfs-actions.pod:298 ../fish/guestfish-actions.pod:218 msgid "Typecheck lenses (can be expensive)." msgstr "" # type: =item -#: ../src/guestfs-actions.pod:286 ../fish/guestfish-actions.pod:220 +#: ../src/guestfs-actions.pod:300 ../fish/guestfish-actions.pod:220 msgid "C = 8" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:288 ../fish/guestfish-actions.pod:222 +#: ../src/guestfs-actions.pod:302 ../fish/guestfish-actions.pod:222 msgid "Do not use standard load path for modules." msgstr "" # type: =item -#: ../src/guestfs-actions.pod:290 ../fish/guestfish-actions.pod:224 +#: ../src/guestfs-actions.pod:304 ../fish/guestfish-actions.pod:224 msgid "C = 16" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:292 ../fish/guestfish-actions.pod:226 +#: ../src/guestfs-actions.pod:306 ../fish/guestfish-actions.pod:226 msgid "Make save a no-op, just record what would have been changed." msgstr "" # type: =item -#: ../src/guestfs-actions.pod:294 ../fish/guestfish-actions.pod:228 +#: ../src/guestfs-actions.pod:308 ../fish/guestfish-actions.pod:228 msgid "C = 32" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:296 +#: ../src/guestfs-actions.pod:310 msgid "Do not load the tree in C." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:300 +#: ../src/guestfs-actions.pod:314 msgid "To close the handle, you can call C." msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:302 ../fish/guestfish-actions.pod:236 +#: ../src/guestfs-actions.pod:316 ../fish/guestfish-actions.pod:236 msgid "To find out more about Augeas, see L." msgstr "" # type: =head2 -#: ../src/guestfs-actions.pod:306 +#: ../src/guestfs-actions.pod:320 msgid "guestfs_aug_insert" msgstr "" # type: verbatim -#: ../src/guestfs-actions.pod:308 +#: ../src/guestfs-actions.pod:322 #, no-wrap msgid "" -" int guestfs_aug_insert (guestfs_h *g,\n" -"\t\tconst char *augpath,\n" -"\t\tconst char *label,\n" -"\t\tint before);\n" +" int\n" +" guestfs_aug_insert (guestfs_h *g,\n" +" const char *augpath,\n" +" const char *label,\n" +" int before);\n" "\n" msgstr "" # type: textblock -#: ../src/guestfs-actions.pod:313 ../fish/guestfish-actions.pod:242 +#: ../src/guestfs-actions.pod:328 ../fish/guestfish-actions.pod:242 msgid "" "Create a new sibling C