msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: libguestfs@redhat.com\n"
-"POT-Creation-Date: 2011-01-30 23:51+0000\n"
+"POT-Creation-Date: 2011-02-06 17:14+0000\n"
"PO-Revision-Date: 2010-09-02 14:46+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
#. type: =item
#: ../src/guestfs.pod:388 ../src/guestfs.pod:393 ../src/guestfs.pod:398
#: ../src/guestfs.pod:402 ../src/guestfs.pod:407 ../src/guestfs.pod:411
-#: ../src/guestfs.pod:416 ../src/guestfs.pod:421 ../src/guestfs.pod:1031
-#: ../src/guestfs.pod:1035 ../src/guestfs.pod:1039 ../src/guestfs.pod:1044
-#: ../src/guestfs.pod:1052 ../src/guestfs.pod:1071 ../src/guestfs.pod:1079
-#: ../src/guestfs.pod:1101 ../src/guestfs.pod:1105 ../src/guestfs.pod:1109
-#: ../src/guestfs.pod:1113 ../src/guestfs.pod:1117 ../src/guestfs.pod:1121
-#: ../src/guestfs.pod:1603 ../src/guestfs.pod:1608 ../src/guestfs.pod:1612
-#: ../src/guestfs.pod:1722 ../src/guestfs.pod:1727 ../src/guestfs.pod:1731
-#: ../src/guestfs.pod:2083 ../src/guestfs.pod:2089 ../src/guestfs.pod:2094
-#: ../src/guestfs.pod:2100 ../src/guestfs.pod:2565 ../src/guestfs.pod:2569
-#: ../src/guestfs.pod:2573 ../src/guestfs.pod:2577
+#: ../src/guestfs.pod:416 ../src/guestfs.pod:421 ../src/guestfs.pod:1088
+#: ../src/guestfs.pod:1092 ../src/guestfs.pod:1096 ../src/guestfs.pod:1101
+#: ../src/guestfs.pod:1109 ../src/guestfs.pod:1128 ../src/guestfs.pod:1136
+#: ../src/guestfs.pod:1158 ../src/guestfs.pod:1162 ../src/guestfs.pod:1166
+#: ../src/guestfs.pod:1170 ../src/guestfs.pod:1174 ../src/guestfs.pod:1178
+#: ../src/guestfs.pod:1660 ../src/guestfs.pod:1665 ../src/guestfs.pod:1669
+#: ../src/guestfs.pod:1779 ../src/guestfs.pod:1784 ../src/guestfs.pod:1788
+#: ../src/guestfs.pod:2140 ../src/guestfs.pod:2146 ../src/guestfs.pod:2151
+#: ../src/guestfs.pod:2157 ../src/guestfs.pod:2622 ../src/guestfs.pod:2626
+#: ../src/guestfs.pod:2630 ../src/guestfs.pod:2634
#: ../src/guestfs-actions.pod:15 ../src/guestfs-actions.pod:22
-#: ../src/guestfs-actions.pod:569 ../src/guestfs-actions.pod:577
-#: ../src/guestfs-actions.pod:584 ../src/guestfs-actions.pod:591
-#: ../src/guestfs-actions.pod:1587 ../src/guestfs-actions.pod:1591
+#: ../src/guestfs-actions.pod:577 ../src/guestfs-actions.pod:585
+#: ../src/guestfs-actions.pod:592 ../src/guestfs-actions.pod:599
#: ../src/guestfs-actions.pod:1595 ../src/guestfs-actions.pod:1599
-#: ../src/guestfs-actions.pod:1607 ../src/guestfs-actions.pod:1611
-#: ../src/guestfs-actions.pod:1615 ../src/guestfs-actions.pod:1625
-#: ../src/guestfs-actions.pod:1629 ../src/guestfs-actions.pod:1633
-#: ../src/guestfs-actions.pod:1771 ../src/guestfs-actions.pod:1775
-#: ../src/guestfs-actions.pod:1780 ../src/guestfs-actions.pod:1785
-#: ../src/guestfs-actions.pod:1846 ../src/guestfs-actions.pod:1850
-#: ../src/guestfs-actions.pod:1855 ../fish/guestfish.pod:427
-#: ../fish/guestfish.pod:431 ../fish/guestfish.pod:435
-#: ../fish/guestfish.pod:439 ../fish/guestfish-actions.pod:13
-#: ../fish/guestfish-actions.pod:20 ../fish/guestfish-actions.pod:373
-#: ../fish/guestfish-actions.pod:381 ../fish/guestfish-actions.pod:388
-#: ../fish/guestfish-actions.pod:395 ../fish/guestfish-actions.pod:1065
-#: ../fish/guestfish-actions.pod:1069 ../fish/guestfish-actions.pod:1073
-#: ../fish/guestfish-actions.pod:1077 ../fish/guestfish-actions.pod:1085
-#: ../fish/guestfish-actions.pod:1089 ../fish/guestfish-actions.pod:1093
-#: ../fish/guestfish-actions.pod:1103 ../fish/guestfish-actions.pod:1107
-#: ../fish/guestfish-actions.pod:1111 ../fish/guestfish-actions.pod:1201
-#: ../fish/guestfish-actions.pod:1205 ../fish/guestfish-actions.pod:1210
-#: ../fish/guestfish-actions.pod:1215 ../fish/guestfish-actions.pod:1257
-#: ../fish/guestfish-actions.pod:1261 ../fish/guestfish-actions.pod:1266
+#: ../src/guestfs-actions.pod:1603 ../src/guestfs-actions.pod:1607
+#: ../src/guestfs-actions.pod:1615 ../src/guestfs-actions.pod:1619
+#: ../src/guestfs-actions.pod:1623 ../src/guestfs-actions.pod:1633
+#: ../src/guestfs-actions.pod:1637 ../src/guestfs-actions.pod:1641
+#: ../src/guestfs-actions.pod:1779 ../src/guestfs-actions.pod:1783
+#: ../src/guestfs-actions.pod:1788 ../src/guestfs-actions.pod:1793
+#: ../src/guestfs-actions.pod:1854 ../src/guestfs-actions.pod:1858
+#: ../src/guestfs-actions.pod:1863 ../fish/guestfish.pod:432
+#: ../fish/guestfish.pod:436 ../fish/guestfish.pod:440
+#: ../fish/guestfish.pod:444 ../fish/guestfish-actions.pod:13
+#: ../fish/guestfish-actions.pod:20 ../fish/guestfish-actions.pod:380
+#: ../fish/guestfish-actions.pod:388 ../fish/guestfish-actions.pod:395
+#: ../fish/guestfish-actions.pod:402 ../fish/guestfish-actions.pod:1072
+#: ../fish/guestfish-actions.pod:1076 ../fish/guestfish-actions.pod:1080
+#: ../fish/guestfish-actions.pod:1084 ../fish/guestfish-actions.pod:1092
+#: ../fish/guestfish-actions.pod:1096 ../fish/guestfish-actions.pod:1100
+#: ../fish/guestfish-actions.pod:1110 ../fish/guestfish-actions.pod:1114
+#: ../fish/guestfish-actions.pod:1118 ../fish/guestfish-actions.pod:1208
+#: ../fish/guestfish-actions.pod:1212 ../fish/guestfish-actions.pod:1217
+#: ../fish/guestfish-actions.pod:1222 ../fish/guestfish-actions.pod:1264
+#: ../fish/guestfish-actions.pod:1268 ../fish/guestfish-actions.pod:1273
#: ../tools/virt-win-reg.pl:536 ../tools/virt-win-reg.pl:542
#: ../tools/virt-win-reg.pl:548 ../tools/virt-resize.pl:345
#: ../tools/virt-resize.pl:350 ../tools/virt-resize.pl:360
# type: =item
#. type: =item
-#: ../src/guestfs.pod:469 ../src/guestfs.pod:1224 ../src/guestfs.pod:1355
-#: ../src/guestfs.pod:2128
+#: ../src/guestfs.pod:469 ../src/guestfs.pod:1281 ../src/guestfs.pod:1412
+#: ../src/guestfs.pod:2185
msgid "1."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs.pod:475 ../src/guestfs.pod:1228 ../src/guestfs.pod:1359
-#: ../src/guestfs.pod:2153
+#: ../src/guestfs.pod:475 ../src/guestfs.pod:1285 ../src/guestfs.pod:1416
+#: ../src/guestfs.pod:2210
msgid "2."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs.pod:486 ../src/guestfs.pod:1365
+#: ../src/guestfs.pod:486 ../src/guestfs.pod:1422
msgid "3."
msgstr ""
# type: =head1
#. type: =head1
-#: ../src/guestfs.pod:519 ../fish/guestfish.pod:746
+#: ../src/guestfs.pod:519 ../fish/guestfish.pod:751
msgid "ENCRYPTED DISKS"
msgstr ""
"order to determine features."
msgstr ""
-# type: =head2
#. type: =head2
#: ../src/guestfs.pod:975
+msgid "ATTACHING TO RUNNING DAEMONS"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs.pod:977
+msgid ""
+"I<Note (1):> This is B<highly experimental> and has a tendency to eat "
+"babies. Use with caution."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs.pod:980
+msgid ""
+"I<Note (2):> This section explains how to attach to a running daemon from a "
+"low level perspective. For most users, simply using virt tools such as "
+"L<guestfish(1)> with the I<--live> option will \"just work\"."
+msgstr ""
+
+#. type: =head3
+#: ../src/guestfs.pod:984
+msgid "Using guestfs_set_attach_method"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs.pod:986
+msgid ""
+"By calling L</guestfs_set_attach_method> you can change how the library "
+"connects to the C<guestfsd> daemon in L</guestfs_launch> (read L</"
+"ARCHITECTURE> for some background)."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs.pod:990
+msgid ""
+"The normal attach method is C<appliance>, where a small appliance is created "
+"containing the daemon, and then the library connects to this."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs.pod:993
+msgid ""
+"Setting attach method to C<unix:I<path>> (where I<path> is the path of a "
+"Unix domain socket) causes L</guestfs_launch> to connect to an existing "
+"daemon over the Unix domain socket."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs.pod:997
+msgid ""
+"The normal use for this is to connect to a running virtual machine that "
+"contains a C<guestfsd> daemon, and send commands so you can read and write "
+"files inside the live virtual machine."
+msgstr ""
+
+#. type: =head3
+#: ../src/guestfs.pod:1001
+msgid "Using guestfs_add_domain with live flag"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs.pod:1003
+msgid ""
+"L</guestfs_add_domain> provides some help for getting the correct attach "
+"method. If you pass the C<live> option to this function, then (if the "
+"virtual machine is running) it will examine the libvirt XML looking for a "
+"virtio-serial channel to connect to:"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs.pod:1009
+#, no-wrap
+msgid ""
+" <domain>\n"
+" ...\n"
+" <devices>\n"
+" ...\n"
+" <channel type='unix'>\n"
+" <source mode='bind' path='/path/to/socket'/>\n"
+" <target type='virtio' name='org.libguestfs.channel.0'/>\n"
+" </channel>\n"
+" ...\n"
+" </devices>\n"
+" </domain>\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs.pod:1021
+msgid ""
+"L</guestfs_add_domain> extracts C</path/to/socket> and sets the attach "
+"method to C<unix:/path/to/socket>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs.pod:1024
+msgid ""
+"Some of the libguestfs tools (including guestfish) support a I<--live> "
+"option which is passed through to L</guestfs_add_domain> thus allowing you "
+"to attach to and modify live virtual machines."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs.pod:1028
+msgid ""
+"The virtual machine needs to have been set up beforehand so that it has the "
+"virtio-serial channel and so that guestfsd is running inside it."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs.pod:1032
msgid "ABI GUARANTEE"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:977
+#: ../src/guestfs.pod:1034
msgid ""
"We guarantee the libguestfs ABI (binary interface), for public, high-level "
"actions as outlined in this section. Although we will deprecate some "
# type: =head1
#. type: =head2
-#: ../src/guestfs.pod:983
+#: ../src/guestfs.pod:1040
msgid "BLOCK DEVICE NAMING"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:985
+#: ../src/guestfs.pod:1042
msgid ""
"In the kernel there is now quite a profusion of schemata for naming block "
"devices (in this context, by I<block device> I mean a physical or virtual "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:997
+#: ../src/guestfs.pod:1054
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 "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1001
+#: ../src/guestfs.pod:1058
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 "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1006
+#: ../src/guestfs.pod:1063
msgid ""
"Therefore libguestfs defines C</dev/sd*> as the I<standard naming scheme>. "
"Internally C</dev/sd*> names are translated, if necessary, to other names as "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1012
+#: ../src/guestfs.pod:1069
msgid ""
"Note that this I<only> applies to parameters. The L</guestfs_list_devices>, "
"L</guestfs_list_partitions> and similar calls return the true names of the "
# type: =head2
#. type: =head3
-#: ../src/guestfs.pod:1017
+#: ../src/guestfs.pod:1074
msgid "ALGORITHM FOR BLOCK DEVICE NAME TRANSLATION"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1019
+#: ../src/guestfs.pod:1076
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 "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1025
+#: ../src/guestfs.pod:1082
msgid ""
"The algorithm is applied only to I<parameters> which are known to be either "
"device or partition names. Return values from functions such as L</"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1033
+#: ../src/guestfs.pod:1090
msgid "Is the string a parameter which is a device or partition name?"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1037
+#: ../src/guestfs.pod:1094
msgid "Does the string begin with C</dev/sd>?"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1041
+#: ../src/guestfs.pod:1098
msgid ""
"Does the named device exist? If so, we use that device. However if I<not> "
"then we continue with this algorithm."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1046
+#: ../src/guestfs.pod:1103
msgid "Replace initial C</dev/sd> string with C</dev/hd>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1048
+#: ../src/guestfs.pod:1105
msgid "For example, change C</dev/sda2> to C</dev/hda2>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1050
+#: ../src/guestfs.pod:1107
msgid "If that named device exists, use it. If not, continue."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1054
+#: ../src/guestfs.pod:1111
msgid "Replace initial C</dev/sd> string with C</dev/vd>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1056
+#: ../src/guestfs.pod:1113
msgid "If that named device exists, use it. If not, return an error."
msgstr ""
# type: =head3
#. type: =head3
-#: ../src/guestfs.pod:1060
+#: ../src/guestfs.pod:1117
msgid "PORTABILITY CONCERNS WITH BLOCK DEVICE NAMING"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1062
+#: ../src/guestfs.pod:1119
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 "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1066
+#: ../src/guestfs.pod:1123
msgid ""
"Where possible for maximum future portability programs using libguestfs "
"should use these future-proof techniques:"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1073
+#: ../src/guestfs.pod:1130
msgid ""
"Use L</guestfs_list_devices> or L</guestfs_list_partitions> to list actual "
"device names, and then use those names directly."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1076
+#: ../src/guestfs.pod:1133
msgid ""
"Since those device names exist by definition, they will never be translated."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1081
+#: ../src/guestfs.pod:1138
msgid ""
"Use higher level ways to identify filesystems, such as LVM names, UUIDs and "
"filesystem labels."
# type: =head1
#. type: =head1
-#: ../src/guestfs.pod:1086
+#: ../src/guestfs.pod:1143
msgid "SECURITY"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1088
+#: ../src/guestfs.pod:1145
msgid ""
"This section discusses security implications of using libguestfs, "
"particularly with untrusted or malicious guests or disk images."
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1091
+#: ../src/guestfs.pod:1148
msgid "GENERAL SECURITY CONSIDERATIONS"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1093
+#: ../src/guestfs.pod:1150
msgid ""
"Be careful with any files or data that you download from a guest (by "
"\"download\" we mean not just the L</guestfs_download> command but any "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1103
+#: ../src/guestfs.pod:1160
msgid "the data (file etc) not being present"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1107
+#: ../src/guestfs.pod:1164
msgid "being present but empty"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1111
+#: ../src/guestfs.pod:1168
msgid "being much larger than normal"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1115
+#: ../src/guestfs.pod:1172
msgid "containing arbitrary 8 bit data"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1119
+#: ../src/guestfs.pod:1176
msgid "being in an unexpected character encoding"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1123
+#: ../src/guestfs.pod:1180
msgid "containing homoglyphs."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1127
+#: ../src/guestfs.pod:1184
msgid "SECURITY OF MOUNTING FILESYSTEMS"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1129
+#: ../src/guestfs.pod:1186
msgid ""
"When you mount a filesystem under Linux, mistakes in the kernel filesystem "
"(VFS) module can sometimes be escalated into exploits by deliberately "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1142
+#: ../src/guestfs.pod:1199
msgid ""
"That explains why you should never mount a filesystem from an untrusted "
"guest on your host kernel. How about libguestfs? We run a Linux kernel "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1153
+#: ../src/guestfs.pod:1210
msgid ""
"In any case callers can reduce the attack surface by forcing the filesystem "
"type when mounting (use L</guestfs_mount_vfs>)."
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1156
+#: ../src/guestfs.pod:1213
msgid "PROTOCOL SECURITY"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1158
+#: ../src/guestfs.pod:1215
msgid ""
"The protocol is designed to be secure, being based on RFC 4506 (XDR) with a "
"defined upper message size. However a program that uses libguestfs must "
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1164
+#: ../src/guestfs.pod:1221
msgid "INSPECTION SECURITY"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1166
+#: ../src/guestfs.pod:1223
msgid ""
"Parts of the inspection API (see L</INSPECTION>) return untrusted strings "
"directly from the guest, and these could contain any 8 bit data. Callers "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1172
+#: ../src/guestfs.pod:1229
msgid ""
"Guest configuration may be altered in unusual ways by the administrator of "
"the virtual machine, and may not reflect reality (particularly for untrusted "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1180
+#: ../src/guestfs.pod:1237
msgid ""
"The inspection API parses guest configuration using two external libraries: "
"Augeas (Linux configuration) and hivex (Windows Registry). Both are "
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1186
+#: ../src/guestfs.pod:1243
msgid "RUNNING UNTRUSTED GUEST COMMANDS"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1188
+#: ../src/guestfs.pod:1245
msgid ""
"Be very cautious about running commands from the guest. By running a "
"command in the guest, you are giving CPU time to a binary that you do not "
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1194
+#: ../src/guestfs.pod:1251
msgid "CVE-2010-3851"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1196
+#: ../src/guestfs.pod:1253
msgid "https://bugzilla.redhat.com/642934"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1198
+#: ../src/guestfs.pod:1255
msgid ""
"This security bug concerns the automatic disk format detection that qemu "
"does on disk images."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1201
+#: ../src/guestfs.pod:1258
msgid ""
"A raw disk image is just the raw bytes, there is no header. Other disk "
"images like qcow2 contain a special header. Qemu deals with this by looking "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1206
+#: ../src/guestfs.pod:1263
msgid ""
"This allows a guest which has been given a raw disk image to write some "
"other header. At next boot (or when the disk image is accessed by "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1211
+#: ../src/guestfs.pod:1268
msgid ""
"This in itself would not be a problem, but qcow2 offers many features, one "
"of which is to allow a disk image to refer to another image (called the "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1219
+#: ../src/guestfs.pod:1276
msgid ""
"In libguestfs this is rather hard to exploit except under two circumstances:"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1226
+#: ../src/guestfs.pod:1283
msgid "You have enabled the network or have opened the disk in write mode."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1230
+#: ../src/guestfs.pod:1287
msgid ""
"You are also running untrusted code from the guest (see L</RUNNING "
"COMMANDS>)."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1235
+#: ../src/guestfs.pod:1292
msgid ""
"The way to avoid this is to specify the expected disk format when adding "
"disks (the optional C<format> option to L</guestfs_add_drive_opts>). You "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1240
+#: ../src/guestfs.pod:1297
msgid ""
"For disks added from libvirt using calls like L</guestfs_add_domain>, the "
"format is fetched from libvirt and passed through."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1243
+#: ../src/guestfs.pod:1300
msgid ""
"For libguestfs tools, use the I<--format> command line parameter as "
"appropriate."
# type: =head1
#. type: =head1
-#: ../src/guestfs.pod:1246
+#: ../src/guestfs.pod:1303
msgid "CONNECTION MANAGEMENT"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1248
+#: ../src/guestfs.pod:1305
msgid "guestfs_h *"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1250
+#: ../src/guestfs.pod:1307
msgid ""
"C<guestfs_h> is the opaque type representing a connection handle. Create a "
"handle by calling L</guestfs_create>. Call L</guestfs_close> to free the "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1254
+#: ../src/guestfs.pod:1311
msgid ""
"For information on using multiple handles and threads, see the section L</"
"MULTIPLE HANDLES AND MULTIPLE THREADS> below."
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1257
+#: ../src/guestfs.pod:1314
msgid "guestfs_create"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1259
+#: ../src/guestfs.pod:1316
#, no-wrap
msgid ""
" guestfs_h *guestfs_create (void);\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1261
+#: ../src/guestfs.pod:1318
msgid "Create a connection handle."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1263
+#: ../src/guestfs.pod:1320
msgid ""
"You have to call L</guestfs_add_drive_opts> (or one of the equivalent calls) "
"on the handle at least once."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1266
+#: ../src/guestfs.pod:1323
msgid ""
"This function returns a non-NULL pointer to a handle on success or NULL on "
"error."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1269
+#: ../src/guestfs.pod:1326
msgid "After configuring the handle, you have to call L</guestfs_launch>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1271
+#: ../src/guestfs.pod:1328
msgid ""
"You may also want to configure error handling for the handle. See L</ERROR "
"HANDLING> section below."
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1274
+#: ../src/guestfs.pod:1331
msgid "guestfs_close"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1276
+#: ../src/guestfs.pod:1333
#, no-wrap
msgid ""
" void guestfs_close (guestfs_h *g);\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1278
+#: ../src/guestfs.pod:1335
msgid "This closes the connection handle and frees up all resources used."
msgstr ""
# type: =head1
#. type: =head1
-#: ../src/guestfs.pod:1280
+#: ../src/guestfs.pod:1337
msgid "ERROR HANDLING"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1282
+#: ../src/guestfs.pod:1339
msgid ""
"API functions can return errors. For example, almost all functions that "
"return C<int> will return C<-1> to indicate an error."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1285
+#: ../src/guestfs.pod:1342
msgid ""
"Additional information is available for errors: an error message string and "
"optionally an error number (errno) if the thing that failed was a system "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1289
+#: ../src/guestfs.pod:1346
msgid ""
"You can get at the additional information about the last error on the handle "
"by calling L</guestfs_last_error>, L</guestfs_last_errno>, and/or by setting "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1294
+#: ../src/guestfs.pod:1351
msgid ""
"When the handle is created, a default error handler is installed which "
"prints the error message string to C<stderr>. For small short-running "
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1298
+#: ../src/guestfs.pod:1355
#, no-wrap
msgid ""
" if (guestfs_launch (g) == -1)\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1301
+#: ../src/guestfs.pod:1358
msgid ""
"since the default error handler will ensure that an error message has been "
"printed to C<stderr> before the program exits."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1304
+#: ../src/guestfs.pod:1361
msgid ""
"For other programs the caller will almost certainly want to install an "
"alternate error handler or do error handling in-line like this:"
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1307
+#: ../src/guestfs.pod:1364
#, no-wrap
msgid ""
" g = guestfs_create ();\n"
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1309
+#: ../src/guestfs.pod:1366
#, no-wrap
msgid ""
" /* This disables the default behaviour of printing errors\n"
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1313
+#: ../src/guestfs.pod:1370
#, no-wrap
msgid ""
" if (guestfs_launch (g) == -1) {\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1321
+#: ../src/guestfs.pod:1378
msgid ""
"Out of memory errors are handled differently. The default action is to call "
"L<abort(3)>. If this is undesirable, then you can set a handler using L</"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1325
+#: ../src/guestfs.pod:1382
msgid ""
"L</guestfs_create> returns C<NULL> if the handle cannot be created, and "
"because there is no handle if this happens there is no way to get additional "
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1331
+#: ../src/guestfs.pod:1388
msgid "guestfs_last_error"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1333
+#: ../src/guestfs.pod:1390
#, no-wrap
msgid ""
" const char *guestfs_last_error (guestfs_h *g);\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1335
+#: ../src/guestfs.pod:1392
msgid ""
"This returns the last error message that happened on C<g>. If there has not "
"been an error since the handle was created, then this returns C<NULL>."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1339
+#: ../src/guestfs.pod:1396
msgid ""
"The lifetime of the returned string is until the next error occurs, or L</"
"guestfs_close> is called."
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1342
+#: ../src/guestfs.pod:1399
msgid "guestfs_last_errno"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1344
+#: ../src/guestfs.pod:1401
#, no-wrap
msgid ""
" int guestfs_last_errno (guestfs_h *g);\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1346
+#: ../src/guestfs.pod:1403
msgid "This returns the last error number (errno) that happened on C<g>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1348
+#: ../src/guestfs.pod:1405
msgid "If successful, an errno integer not equal to zero is returned."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1350
+#: ../src/guestfs.pod:1407
msgid ""
"If no error, this returns 0. This call can return 0 in three situations:"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1357
+#: ../src/guestfs.pod:1414
msgid "There has not been any error on the handle."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1361
+#: ../src/guestfs.pod:1418
msgid ""
"There has been an error but the errno was meaningless. This corresponds to "
"the case where the error did not come from a failed system call, but for "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1367
+#: ../src/guestfs.pod:1424
msgid ""
"There was an error from a failed system call, but for some reason the errno "
"was not captured and returned. This usually indicates a bug in libguestfs."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1373
+#: ../src/guestfs.pod:1430
msgid ""
"Libguestfs tries to convert the errno from inside the applicance into a "
"corresponding errno for the caller (not entirely trivial: the appliance "
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1381
+#: ../src/guestfs.pod:1438
msgid "guestfs_set_error_handler"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1383
+#: ../src/guestfs.pod:1440
#, no-wrap
msgid ""
" typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1390
+#: ../src/guestfs.pod:1447
msgid ""
"The callback C<cb> will be called if there is an error. The parameters "
"passed to the callback are an opaque data pointer and the error message "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1394
+#: ../src/guestfs.pod:1451
msgid ""
"C<errno> is not passed to the callback. To get that the callback must call "
"L</guestfs_last_errno>."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1397
+#: ../src/guestfs.pod:1454
msgid ""
"Note that the message string C<msg> is freed as soon as the callback "
"function returns, so if you want to stash it somewhere you must make your "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1401
+#: ../src/guestfs.pod:1458
msgid "The default handler prints messages on C<stderr>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1403
+#: ../src/guestfs.pod:1460
msgid "If you set C<cb> to C<NULL> then I<no> handler is called."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1405
+#: ../src/guestfs.pod:1462
msgid "guestfs_get_error_handler"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1407
+#: ../src/guestfs.pod:1464
#, no-wrap
msgid ""
" guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1410
+#: ../src/guestfs.pod:1467
msgid "Returns the current error handler callback."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1412
+#: ../src/guestfs.pod:1469
msgid "guestfs_set_out_of_memory_handler"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1414
+#: ../src/guestfs.pod:1471
#, no-wrap
msgid ""
" typedef void (*guestfs_abort_cb) (void);\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1418
+#: ../src/guestfs.pod:1475
msgid ""
"The callback C<cb> will be called if there is an out of memory situation. "
"I<Note this callback must not return>."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1421
+#: ../src/guestfs.pod:1478
msgid "The default is to call L<abort(3)>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1423
+#: ../src/guestfs.pod:1480
msgid ""
"You cannot set C<cb> to C<NULL>. You can't ignore out of memory situations."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1426
+#: ../src/guestfs.pod:1483
msgid "guestfs_get_out_of_memory_handler"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1428
+#: ../src/guestfs.pod:1485
#, no-wrap
msgid ""
" guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1430
+#: ../src/guestfs.pod:1487
msgid "This returns the current out of memory handler."
msgstr ""
# type: =head1
#. type: =head1
-#: ../src/guestfs.pod:1432
+#: ../src/guestfs.pod:1489
msgid "API CALLS"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1434 ../fish/guestfish.pod:984
+#: ../src/guestfs.pod:1491 ../fish/guestfish.pod:989
msgid "@ACTIONS@"
msgstr ""
# type: =head1
#. type: =head1
-#: ../src/guestfs.pod:1436
+#: ../src/guestfs.pod:1493
msgid "STRUCTURES"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1438
+#: ../src/guestfs.pod:1495
msgid "@STRUCTS@"
msgstr ""
# type: =head1
#. type: =head1
-#: ../src/guestfs.pod:1440
+#: ../src/guestfs.pod:1497
msgid "AVAILABILITY"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1442
+#: ../src/guestfs.pod:1499
msgid "GROUPS OF FUNCTIONALITY IN THE APPLIANCE"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1444
+#: ../src/guestfs.pod:1501
msgid ""
"Using L</guestfs_available> you can test availability of the following "
"groups of functions. This test queries the appliance to see if the "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1449
+#: ../src/guestfs.pod:1506
msgid "@AVAILABILITY@"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1451
+#: ../src/guestfs.pod:1508
msgid "GUESTFISH supported COMMAND"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1453
+#: ../src/guestfs.pod:1510
msgid ""
"In L<guestfish(3)> there is a handy interactive command C<supported> which "
"prints out the available groups and whether they are supported by this build "
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1458
+#: ../src/guestfs.pod:1515
msgid "SINGLE CALLS AT COMPILE TIME"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1460
+#: ../src/guestfs.pod:1517
msgid ""
"Since version 1.5.8, C<E<lt>guestfs.hE<gt>> defines symbols for each C API "
"function, such as:"
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1463
+#: ../src/guestfs.pod:1520
#, no-wrap
msgid ""
" #define LIBGUESTFS_HAVE_DD 1\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1465
+#: ../src/guestfs.pod:1522
msgid "if L</guestfs_dd> is available."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1467
+#: ../src/guestfs.pod:1524
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 "
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1472
+#: ../src/guestfs.pod:1529
#, no-wrap
msgid ""
" AC_CHECK_LIB([guestfs],[guestfs_create])\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1475
+#: ../src/guestfs.pod:1532
msgid ""
"which would result in C<HAVE_GUESTFS_DD> being either defined or not defined "
"in your program."
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1478
+#: ../src/guestfs.pod:1535
msgid "SINGLE CALLS AT RUN TIME"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1480
+#: ../src/guestfs.pod:1537
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 "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1487
+#: ../src/guestfs.pod:1544
msgid ""
"You can use L<dlopen(3)> 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 "
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1491
+#: ../src/guestfs.pod:1548
#, no-wrap
msgid ""
" #include <stdio.h>\n"
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1497
+#: ../src/guestfs.pod:1554
#, no-wrap
msgid ""
" main ()\n"
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1503
+#: ../src/guestfs.pod:1560
#, no-wrap
msgid ""
" /* Test if the function guestfs_dd is really available. */\n"
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1512
+#: ../src/guestfs.pod:1569
#, no-wrap
msgid ""
" if (!has_function)\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1525
+#: ../src/guestfs.pod:1582
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 "
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1530
+#: ../src/guestfs.pod:1587
#, no-wrap
msgid ""
" Requires: libguestfs >= 1.0.80\n"
# type: =head1
#. type: =head1
-#: ../src/guestfs.pod:1532
+#: ../src/guestfs.pod:1589
msgid "CALLS WITH OPTIONAL ARGUMENTS"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1534
+#: ../src/guestfs.pod:1591
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 "
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1539
+#: ../src/guestfs.pod:1596
#, no-wrap
msgid ""
" int guestfs_add_drive_opts (guestfs_h *g, const char *filename, ...);\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1541
+#: ../src/guestfs.pod:1598
msgid ""
"Call this with a list of optional arguments, terminated by C<-1>. So to "
"call with no optional arguments specified:"
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1544
+#: ../src/guestfs.pod:1601
#, no-wrap
msgid ""
" guestfs_add_drive_opts (g, filename, -1);\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1546
+#: ../src/guestfs.pod:1603
msgid "With a single optional argument:"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1548
+#: ../src/guestfs.pod:1605
#, no-wrap
msgid ""
" guestfs_add_drive_opts (g, filename,\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1552
+#: ../src/guestfs.pod:1609
msgid "With two:"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1554
+#: ../src/guestfs.pod:1611
#, no-wrap
msgid ""
" guestfs_add_drive_opts (g, filename,\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1559
+#: ../src/guestfs.pod:1616
msgid ""
"and so forth. Don't forget the terminating C<-1> otherwise Bad Things will "
"happen!"
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1562
+#: ../src/guestfs.pod:1619
msgid "USING va_list FOR OPTIONAL ARGUMENTS"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1564
+#: ../src/guestfs.pod:1621
msgid ""
"The second variant has the same name with the suffix C<_va>, which works the "
"same way but takes a C<va_list>. See the C manual for details. For the "
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1568
+#: ../src/guestfs.pod:1625
#, no-wrap
msgid ""
" int guestfs_add_drive_opts_va (guestfs_h *g, const char *filename,\n"
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1571
+#: ../src/guestfs.pod:1628
msgid "CONSTRUCTING OPTIONAL ARGUMENTS"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1573
+#: ../src/guestfs.pod:1630
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 "
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1579
+#: ../src/guestfs.pod:1636
#, no-wrap
msgid ""
" struct guestfs_add_drive_opts_argv {\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1588
+#: ../src/guestfs.pod:1645
msgid "You could call it like this:"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1590
+#: ../src/guestfs.pod:1647
#, no-wrap
msgid ""
" struct guestfs_add_drive_opts_argv optargs = {\n"
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1597
+#: ../src/guestfs.pod:1654
#, no-wrap
msgid ""
" guestfs_add_drive_opts_argv (g, filename, &optargs);\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1599 ../src/guestfs-actions.pod:11
-#: ../src/guestfs-actions.pod:1842 ../fish/guestfish-actions.pod:9
-#: ../fish/guestfish-actions.pod:1253 ../tools/virt-win-reg.pl:532
+#: ../src/guestfs.pod:1656 ../src/guestfs-actions.pod:11
+#: ../src/guestfs-actions.pod:1850 ../fish/guestfish-actions.pod:9
+#: ../fish/guestfish-actions.pod:1260 ../tools/virt-win-reg.pl:532
msgid "Notes:"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1605
+#: ../src/guestfs.pod:1662
msgid "The C<_BITMASK> suffix on each option name when specifying the bitmask."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1610
+#: ../src/guestfs.pod:1667
msgid "You do not need to fill in all fields of the structure."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1614
+#: ../src/guestfs.pod:1671
msgid ""
"There must be a one-to-one correspondence between fields of the structure "
"that are filled in, and bits set in the bitmask."
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1619
+#: ../src/guestfs.pod:1676
msgid "OPTIONAL ARGUMENTS IN OTHER LANGUAGES"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1621
+#: ../src/guestfs.pod:1678
msgid ""
"In other languages, optional arguments are expressed in the way that is "
"natural for that language. We refer you to the language-specific "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1625
+#: ../src/guestfs.pod:1682
msgid "For guestfish, see L<guestfish(1)/OPTIONAL ARGUMENTS>."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1627
+#: ../src/guestfs.pod:1684
msgid "SETTING CALLBACKS TO HANDLE EVENTS"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1629
+#: ../src/guestfs.pod:1686
msgid ""
"The child process generates events in some situations. Current events "
"include: receiving a log message, the child process exits."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1632
+#: ../src/guestfs.pod:1689
msgid ""
"Use the C<guestfs_set_*_callback> functions to set a callback for different "
"types of events."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1635
+#: ../src/guestfs.pod:1692
msgid ""
"Only I<one callback of each type> can be registered for each handle. "
"Calling C<guestfs_set_*_callback> again overwrites the previous callback of "
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1640
+#: ../src/guestfs.pod:1697
msgid "guestfs_set_log_message_callback"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1642
+#: ../src/guestfs.pod:1699
#, no-wrap
msgid ""
" typedef void (*guestfs_log_message_cb) (guestfs_h *g, void *opaque,\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1648
+#: ../src/guestfs.pod:1705
msgid ""
"The callback function C<cb> will be called whenever qemu or the guest writes "
"anything to the console."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1651
+#: ../src/guestfs.pod:1708
msgid "Use this function to capture kernel messages and similar."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1653
+#: ../src/guestfs.pod:1710
msgid ""
"Normally there is no log message handler, and log messages are just "
"discarded."
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1656
+#: ../src/guestfs.pod:1713
msgid "guestfs_set_subprocess_quit_callback"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1658
+#: ../src/guestfs.pod:1715
#, no-wrap
msgid ""
" typedef void (*guestfs_subprocess_quit_cb) (guestfs_h *g, void *opaque);\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1663
+#: ../src/guestfs.pod:1720
msgid ""
"The callback function C<cb> will be called when the child process quits, "
"either asynchronously or if killed by L</guestfs_kill_subprocess>. (This "
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1668
+#: ../src/guestfs.pod:1725
msgid "guestfs_set_launch_done_callback"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1670
+#: ../src/guestfs.pod:1727
#, no-wrap
msgid ""
" typedef void (*guestfs_launch_done_cb) (guestfs_h *g, void *opaque);\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1675
+#: ../src/guestfs.pod:1732
msgid ""
"The callback function C<cb> will be called when the child process becomes "
"ready first time after it has been launched. (This corresponds to a "
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1679
+#: ../src/guestfs.pod:1736
msgid "guestfs_set_close_callback"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1681
+#: ../src/guestfs.pod:1738
#, no-wrap
msgid ""
" typedef void (*guestfs_close_cb) (guestfs_h *g, void *opaque);\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1686
+#: ../src/guestfs.pod:1743
msgid ""
"The callback function C<cb> will be called while the handle is being closed "
"(synchronously from L</guestfs_close>)."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1689
+#: ../src/guestfs.pod:1746
msgid ""
"Note that libguestfs installs an L<atexit(3)> handler to try to clean up "
"handles that are open when the program exits. This means that this callback "
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1697
+#: ../src/guestfs.pod:1754
msgid "guestfs_set_progress_callback"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1699
+#: ../src/guestfs.pod:1756
#, no-wrap
msgid ""
" typedef void (*guestfs_progress_cb) (guestfs_h *g, void *opaque,\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1706
+#: ../src/guestfs.pod:1763
msgid ""
"Some long-running operations can generate progress messages. If this "
"callback is registered, then it will be called each time a progress message "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1712
+#: ../src/guestfs.pod:1769
msgid ""
"The callback receives two numbers: C<position> and C<total>. The units of "
"C<total> are not defined, although for some operations C<total> may relate "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1718
+#: ../src/guestfs.pod:1775
msgid "The only defined and stable parts of the API are:"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1724
+#: ../src/guestfs.pod:1781
msgid ""
"The callback can display to the user some type of progress bar or indicator "
"which shows the ratio of C<position>:C<total>."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1729
+#: ../src/guestfs.pod:1786
msgid "0 E<lt>= C<position> E<lt>= C<total>"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1733
+#: ../src/guestfs.pod:1790
msgid ""
"If any progress notification is sent during a call, then a final progress "
"notification is always sent when C<position> = C<total>."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1736
+#: ../src/guestfs.pod:1793
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 "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1742
+#: ../src/guestfs.pod:1799
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 "
# type: =head1
#. type: =head1
-#: ../src/guestfs.pod:1747
+#: ../src/guestfs.pod:1804
msgid "PRIVATE DATA AREA"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1749
+#: ../src/guestfs.pod:1806
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 "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1753
+#: ../src/guestfs.pod:1810
msgid "To attach a named piece of data, use the following call:"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1755
+#: ../src/guestfs.pod:1812
#, no-wrap
msgid ""
" void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1757
+#: ../src/guestfs.pod:1814
msgid ""
"C<key> is the name to associate with this data, and C<data> is an arbitrary "
"pointer (which can be C<NULL>). Any previous item with the same name is "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1761
+#: ../src/guestfs.pod:1818
msgid ""
"You can use any C<key> you want, but names beginning with an underscore "
"character are reserved for internal libguestfs purposes (for implementing "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1766
+#: ../src/guestfs.pod:1823
msgid "To retrieve the pointer, use:"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1768
+#: ../src/guestfs.pod:1825
#, no-wrap
msgid ""
" void *guestfs_get_private (guestfs_h *g, const char *key);\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1770
+#: ../src/guestfs.pod:1827
msgid ""
"This function returns C<NULL> if either no data is found associated with "
"C<key>, or if the user previously set the C<key>'s C<data> pointer to "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1774
+#: ../src/guestfs.pod:1831
msgid ""
"Libguestfs does not try to look at or interpret the C<data> pointer in any "
"way. As far as libguestfs is concerned, it need not be a valid pointer at "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1782
+#: ../src/guestfs.pod:1839
msgid ""
"The private data area is implemented using a hash table, and should be "
"reasonably efficient for moderate numbers of keys."
# type: =end
#. type: =end
-#: ../src/guestfs.pod:1785 ../src/guestfs.pod:1790
+#: ../src/guestfs.pod:1842 ../src/guestfs.pod:1847
msgid "html"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1787
+#: ../src/guestfs.pod:1844
msgid ""
"<!-- old anchor for the next section --> <a name="
"\"state_machine_and_low_level_event_api\"/>"
# type: =head1
#. type: =head1
-#: ../src/guestfs.pod:1792
+#: ../src/guestfs.pod:1849
msgid "ARCHITECTURE"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1794
+#: ../src/guestfs.pod:1851
msgid ""
"Internally, libguestfs is implemented by running an appliance (a special "
"type of small virtual machine) using L<qemu(1)>. Qemu runs as a child "
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1798
+#: ../src/guestfs.pod:1855
#, no-wrap
msgid ""
" ___________________\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1818
+#: ../src/guestfs.pod:1875
msgid ""
"The library, linked to the main program, creates the child process and hence "
"the appliance in the L</guestfs_launch> function."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1821
+#: ../src/guestfs.pod:1878
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 "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1830
+#: ../src/guestfs.pod:1887
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 "
# type: =head1
#. type: =head1
-#: ../src/guestfs.pod:1837
+#: ../src/guestfs.pod:1894
msgid "STATE MACHINE"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1839
+#: ../src/guestfs.pod:1896
msgid "libguestfs uses a state machine to model the child process:"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1841
+#: ../src/guestfs.pod:1898
#, no-wrap
msgid ""
" |\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1863
+#: ../src/guestfs.pod:1920
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), "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1868
+#: ../src/guestfs.pod:1925
msgid ""
"The guest may be killed by L</guestfs_kill_subprocess>, or may die "
"asynchronously at any time (eg. due to some internal error), and that causes "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1872
+#: ../src/guestfs.pod:1929
msgid ""
"Configuration commands for qemu such as L</guestfs_add_drive> can only be "
"issued when in the CONFIG state."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1875
+#: ../src/guestfs.pod:1932
msgid ""
"The API offers one call that goes from CONFIG through LAUNCHING to READY. "
"L</guestfs_launch> blocks until the child process is READY to accept "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1881
+#: ../src/guestfs.pod:1938
msgid ""
"API actions such as L</guestfs_mount> can only be issued when in the READY "
"state. These API calls block waiting for the command to be carried out (ie. "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1887
+#: ../src/guestfs.pod:1944
msgid ""
"Finally, the child process sends asynchronous messages back to the main "
"program, such as kernel log messages. You can register a callback to "
# type: =head1
#. type: =head1
-#: ../src/guestfs.pod:1891
+#: ../src/guestfs.pod:1948
msgid "INTERNALS"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1893
+#: ../src/guestfs.pod:1950
msgid "COMMUNICATION PROTOCOL"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1895
+#: ../src/guestfs.pod:1952
msgid ""
"Don't rely on using this protocol directly. This section documents how it "
"currently works, but it may change at any time."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1898
+#: ../src/guestfs.pod:1955
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 "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1902
+#: ../src/guestfs.pod:1959
msgid ""
"The detailed format of structures is in C<src/guestfs_protocol.x> (note: "
"this file is automatically generated)."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1905
+#: ../src/guestfs.pod:1962
msgid ""
"There are two broad cases, ordinary functions that don't have any C<FileIn> "
"and C<FileOut> parameters, which are handled with very simple request/reply "
# type: =head3
#. type: =head3
-#: ../src/guestfs.pod:1912
+#: ../src/guestfs.pod:1969
msgid "ORDINARY FUNCTIONS (NO FILEIN/FILEOUT PARAMS)"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1914
+#: ../src/guestfs.pod:1971
msgid "For ordinary functions, the request message is:"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1916
+#: ../src/guestfs.pod:1973
#, no-wrap
msgid ""
" total length (header + arguments,\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1921
+#: ../src/guestfs.pod:1978
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 "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1927
+#: ../src/guestfs.pod:1984
msgid ""
"Note also that many functions don't take any arguments, in which case the "
"C<guestfs_I<foo>_args> is completely omitted."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1930
+#: ../src/guestfs.pod:1987
msgid ""
"The header contains the procedure number (C<guestfs_proc>) which is how the "
"receiver knows what type of args structure to expect, or none at all."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1934
+#: ../src/guestfs.pod:1991
msgid ""
"For functions that take optional arguments, the optional arguments are "
"encoded in the C<guestfs_I<foo>_args> structure in the same way as ordinary "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1942
+#: ../src/guestfs.pod:1999
msgid "The reply message for ordinary functions is:"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1944
+#: ../src/guestfs.pod:2001
#, no-wrap
msgid ""
" total length (header + ret,\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1949
+#: ../src/guestfs.pod:2006
msgid ""
"As above the C<guestfs_I<foo>_ret> structure may be completely omitted for "
"functions that return no formal return values."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1952
+#: ../src/guestfs.pod:2009
msgid ""
"As above the total length of the reply is limited to C<GUESTFS_MESSAGE_MAX>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1955
+#: ../src/guestfs.pod:2012
msgid ""
"In the case of an error, a flag is set in the header, and the reply message "
"is slightly changed:"
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1958
+#: ../src/guestfs.pod:2015
#, no-wrap
msgid ""
" total length (header + error,\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1963
+#: ../src/guestfs.pod:2020
msgid ""
"The C<guestfs_message_error> structure contains the error message as a "
"string."
# type: =head3
#. type: =head3
-#: ../src/guestfs.pod:1966
+#: ../src/guestfs.pod:2023
msgid "FUNCTIONS THAT HAVE FILEIN PARAMETERS"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1968
+#: ../src/guestfs.pod:2025
msgid ""
"A C<FileIn> parameter indicates that we transfer a file I<into> the guest. "
"The normal request message is sent (see above). However this is followed by "
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1972
+#: ../src/guestfs.pod:2029
#, no-wrap
msgid ""
" total length (header + arguments,\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1980
+#: ../src/guestfs.pod:2037
msgid "The \"sequence of chunks\" is:"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1982
+#: ../src/guestfs.pod:2039
#, no-wrap
msgid ""
" length of chunk (not including length word itself)\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1990
+#: ../src/guestfs.pod:2047
msgid ""
"The final chunk has the C<data_len> field set to zero. Additionally a flag "
"is set in the final chunk to indicate either successful completion or early "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1994
+#: ../src/guestfs.pod:2051
msgid ""
"At time of writing there are no functions that have more than one FileIn "
"parameter. However this is (theoretically) supported, by sending the "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1999
+#: ../src/guestfs.pod:2056
msgid ""
"Both the library (sender) I<and> the daemon (receiver) may cancel the "
"transfer. The library does this by sending a chunk with a special flag set "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2005
+#: ../src/guestfs.pod:2062
msgid ""
"The daemon may also cancel. It does this by writing a special word "
"C<GUESTFS_CANCEL_FLAG> to the socket. The library listens for this during "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2014
+#: ../src/guestfs.pod:2071
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 "
# type: =head3
#. type: =head3
-#: ../src/guestfs.pod:2020
+#: ../src/guestfs.pod:2077
msgid "FUNCTIONS THAT HAVE FILEOUT PARAMETERS"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2022
+#: ../src/guestfs.pod:2079
msgid ""
"The protocol for FileOut parameters is exactly the same as for FileIn "
"parameters, but with the roles of daemon and library reversed."
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:2025
+#: ../src/guestfs.pod:2082
#, no-wrap
msgid ""
" total length (header + ret,\n"
# type: =head3
#. type: =head3
-#: ../src/guestfs.pod:2033
+#: ../src/guestfs.pod:2090
msgid "INITIAL MESSAGE"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2035
+#: ../src/guestfs.pod:2092
msgid ""
"When the daemon launches it sends an initial word (C<GUESTFS_LAUNCH_FLAG>) "
"which indicates that the guest and daemon is alive. This is what L</"
# type: =head3
#. type: =head3
-#: ../src/guestfs.pod:2039
+#: ../src/guestfs.pod:2096
msgid "PROGRESS NOTIFICATION MESSAGES"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2041
+#: ../src/guestfs.pod:2098
msgid ""
"The daemon may send progress notification messages at any time. These are "
"distinguished by the normal length word being replaced by "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2045
+#: ../src/guestfs.pod:2102
msgid ""
"The library turns them into progress callbacks (see "
"C<guestfs_set_progress_callback>) if there is a callback registered, or "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2049
+#: ../src/guestfs.pod:2106
msgid ""
"The daemon self-limits the frequency of progress messages it sends (see "
"C<daemon/proto.c:notify_progress>). Not all calls generate progress "
# type: =head1
#. type: =head1
-#: ../src/guestfs.pod:2053
+#: ../src/guestfs.pod:2110
msgid "LIBGUESTFS VERSION NUMBERS"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2055
+#: ../src/guestfs.pod:2112
msgid ""
"Since April 2010, libguestfs has started to make separate development and "
"stable releases, along with corresponding branches in our git repository. "
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:2060
+#: ../src/guestfs.pod:2117
#, no-wrap
msgid ""
" even numbers for stable: 1.2.x, 1.4.x, ...\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2071
+#: ../src/guestfs.pod:2128
msgid "Thus \"1.3.5\" is the 5th update to the development branch \"1.3\"."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2073
+#: ../src/guestfs.pod:2130
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 "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2079
+#: ../src/guestfs.pod:2136
msgid "Our criteria for backporting changes are:"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2085
+#: ../src/guestfs.pod:2142
msgid ""
"Documentation changes which don't affect any code are backported unless the "
"documentation refers to a future feature which is not in stable."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2091
+#: ../src/guestfs.pod:2148
msgid ""
"Bug fixes which are not controversial, fix obvious problems, and have been "
"well tested are backported."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2096
+#: ../src/guestfs.pod:2153
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 "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2102
+#: ../src/guestfs.pod:2159
msgid ""
"We I<don't> backport new features, new APIs, new tools etc, except in one "
"exceptional case: the new feature is required in order to implement an "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2108
+#: ../src/guestfs.pod:2165
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 "
msgstr ""
#. type: =head1
-#: ../src/guestfs.pod:2116
+#: ../src/guestfs.pod:2173
msgid "EXTENDING LIBGUESTFS"
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:2118
+#: ../src/guestfs.pod:2175
msgid "ADDING A NEW API ACTION"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2120
+#: ../src/guestfs.pod:2177
msgid ""
"Large amounts of boilerplate code in libguestfs (RPC, bindings, "
"documentation) are generated, and this makes it easy to extend the "
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2124
+#: ../src/guestfs.pod:2181
msgid "To add a new API action there are two changes:"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2130
+#: ../src/guestfs.pod:2187
msgid ""
"You need to add a description of the call (name, parameters, return type, "
"tests, documentation) to C<generator/generator_actions.ml>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2133
+#: ../src/guestfs.pod:2190
msgid ""
"There are two sorts of API action, depending on whether the call goes "
"through to the daemon in the appliance, or is serviced entirely by the "
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2141
+#: ../src/guestfs.pod:2198
msgid ""
"Most new actions are of the first type, and get added to the "
"C<daemon_functions> list. Each function has a unique procedure number used "
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2147
+#: ../src/guestfs.pod:2204
msgid ""
"For library-only actions of the second type, add to the "
"C<non_daemon_functions> list. Since these functions are serviced by the "
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2155
+#: ../src/guestfs.pod:2212
msgid "Implement the action (in C):"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2157
+#: ../src/guestfs.pod:2214
msgid ""
"For daemon actions, implement the function C<do_E<lt>nameE<gt>> in the "
"C<daemon/> directory."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2160
+#: ../src/guestfs.pod:2217
msgid ""
"For library actions, implement the function C<guestfs__E<lt>nameE<gt>> "
"(note: double underscore) in the C<src/> directory."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2163
+#: ../src/guestfs.pod:2220
msgid "In either case, use another function as an example of what to do."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2167
+#: ../src/guestfs.pod:2224
msgid "After making these changes, use C<make> to compile."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2169
+#: ../src/guestfs.pod:2226
msgid ""
"Note that you don't need to implement the RPC, language bindings, manual "
"pages or anything else. It's all automatically generated from the OCaml "
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:2173
+#: ../src/guestfs.pod:2230
msgid "ADDING TESTS FOR AN API ACTION"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2175
+#: ../src/guestfs.pod:2232
msgid ""
"You can supply zero or as many tests as you want per API call. The tests "
"can either be added as part of the API description (C<generator/"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2181
+#: ../src/guestfs.pod:2238
msgid ""
"The following describes the test environment used when you add an API test "
"in C<generator_actions.ml>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2184
+#: ../src/guestfs.pod:2241
msgid "The test environment has 4 block devices:"
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2188
+#: ../src/guestfs.pod:2245
msgid "C</dev/sda> 500MB"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2190
+#: ../src/guestfs.pod:2247
msgid "General block device for testing."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2192
+#: ../src/guestfs.pod:2249
msgid "C</dev/sdb> 50MB"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2194
+#: ../src/guestfs.pod:2251
msgid ""
"C</dev/sdb1> is an ext2 filesystem used for testing filesystem write "
"operations."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2197
+#: ../src/guestfs.pod:2254
msgid "C</dev/sdc> 10MB"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2199
+#: ../src/guestfs.pod:2256
msgid "Used in a few tests where two block devices are needed."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2201
+#: ../src/guestfs.pod:2258
msgid "C</dev/sdd>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2203
+#: ../src/guestfs.pod:2260
msgid "ISO with fixed content (see C<images/test.iso>)."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2207
+#: ../src/guestfs.pod:2264
msgid ""
"To be able to run the tests in a reasonable amount of time, the libguestfs "
"appliance and block devices are reused between tests. So don't try testing "
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2211
+#: ../src/guestfs.pod:2268
msgid ""
"Each test starts with an initial scenario, selected using one of the "
"C<Init*> expressions, described in C<generator/generator_types.ml>. These "
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2217
+#: ../src/guestfs.pod:2274
msgid ""
"You can add a prerequisite clause to any individual test. This is a run-"
"time check, which, if it fails, causes the test to be skipped. Useful if "
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2223
+#: ../src/guestfs.pod:2280
msgid ""
"In addition, packagers can skip individual tests by setting environment "
"variables before running C<make check>."
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2226
+#: ../src/guestfs.pod:2283
#, no-wrap
msgid ""
" SKIP_TEST_<CMD>_<NUM>=1\n"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2228
+#: ../src/guestfs.pod:2285
msgid "eg: C<SKIP_TEST_COMMAND_3=1> skips test #3 of L</guestfs_command>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2230
+#: ../src/guestfs.pod:2287
msgid "or:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2232
+#: ../src/guestfs.pod:2289
#, no-wrap
msgid ""
" SKIP_TEST_<CMD>=1\n"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2234
+#: ../src/guestfs.pod:2291
msgid "eg: C<SKIP_TEST_ZEROFREE=1> skips all L</guestfs_zerofree> tests."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2236
+#: ../src/guestfs.pod:2293
msgid "Packagers can run only certain tests by setting for example:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2238
+#: ../src/guestfs.pod:2295
#, no-wrap
msgid ""
" TEST_ONLY=\"vfs_type zerofree\"\n"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2240
+#: ../src/guestfs.pod:2297
msgid ""
"See C<capitests/tests.c> for more details of how these environment variables "
"work."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:2243
+#: ../src/guestfs.pod:2300
msgid "DEBUGGING NEW API ACTIONS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2245
+#: ../src/guestfs.pod:2302
msgid "Test new actions work before submitting them."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2247
+#: ../src/guestfs.pod:2304
msgid "You can use guestfish to try out new commands."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2249
+#: ../src/guestfs.pod:2306
msgid ""
"Debugging the daemon is a problem because it runs inside a minimal "
"environment. However you can fprintf messages in the daemon to stderr, and "
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:2253
+#: ../src/guestfs.pod:2310
msgid "FORMATTING CODE AND OTHER CONVENTIONS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2255
+#: ../src/guestfs.pod:2312
msgid ""
"Our C source code generally adheres to some basic code-formatting "
"conventions. The existing code base is not totally consistent on this "
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2261
+#: ../src/guestfs.pod:2318
msgid ""
"If you use Emacs, add the following to one of one of your start-up files (e."
"g., ~/.emacs), to help ensure that you get indentation right:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2264
+#: ../src/guestfs.pod:2321
#, no-wrap
msgid ""
" ;;; In libguestfs, indent with spaces everywhere (not TABs).\n"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2274
+#: ../src/guestfs.pod:2331
#, no-wrap
msgid ""
" ;;; When editing C sources in libguestfs, use this style.\n"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2286
+#: ../src/guestfs.pod:2343
msgid "Enable warnings when compiling (and fix any problems this finds):"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2289
+#: ../src/guestfs.pod:2346
#, no-wrap
msgid ""
" ./configure --enable-gcc-warnings\n"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2291
+#: ../src/guestfs.pod:2348
msgid "Useful targets are:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2293
+#: ../src/guestfs.pod:2350
#, no-wrap
msgid ""
" make syntax-check # checks the syntax of the C code\n"
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:2296
+#: ../src/guestfs.pod:2353
msgid "DAEMON CUSTOM PRINTF FORMATTERS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2298
+#: ../src/guestfs.pod:2355
msgid ""
"In the daemon code we have created custom printf formatters C<%Q> and C<%R>, "
"which are used to do shell quoting."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2303
+#: ../src/guestfs.pod:2360
msgid "%Q"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2305
+#: ../src/guestfs.pod:2362
msgid ""
"Simple shell quoted string. Any spaces or other shell characters are "
"escaped for you."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2308
+#: ../src/guestfs.pod:2365
msgid "%R"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2310
+#: ../src/guestfs.pod:2367
msgid ""
"Same as C<%Q> except the string is treated as a path which is prefixed by "
"the sysroot."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2315 ../fish/guestfish.pod:240 ../fish/guestfish.pod:594
+#: ../src/guestfs.pod:2372 ../fish/guestfish.pod:240 ../fish/guestfish.pod:599
msgid "For example:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2317
+#: ../src/guestfs.pod:2374
#, no-wrap
msgid ""
" asprintf (&cmd, \"cat %R\", path);\n"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2319
+#: ../src/guestfs.pod:2376
msgid "would produce C<cat /sysroot/some\\ path\\ with\\ spaces>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2321
+#: ../src/guestfs.pod:2378
msgid ""
"I<Note:> Do I<not> use these when you are passing parameters to the C<command"
"{,r,v,rv}()> functions. These parameters do NOT need to be quoted because "
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:2327
+#: ../src/guestfs.pod:2384
msgid "SUBMITTING YOUR NEW API ACTIONS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2329
+#: ../src/guestfs.pod:2386
msgid ""
"Submit patches to the mailing list: L<http://www.redhat.com/mailman/listinfo/"
"libguestfs> and CC to L<rjones@redhat.com>."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:2333
+#: ../src/guestfs.pod:2390
msgid "INTERNATIONALIZATION (I18N) SUPPORT"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2335
+#: ../src/guestfs.pod:2392
msgid "We support i18n (gettext anyhow) in the library."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2337
+#: ../src/guestfs.pod:2394
msgid ""
"However many messages come from the daemon, and we don't translate those at "
"the moment. One reason is that the appliance generally has all locale files "
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2343
+#: ../src/guestfs.pod:2400
msgid ""
"Debugging messages are never translated, since they are intended for the "
"programmers."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:2346
+#: ../src/guestfs.pod:2403
msgid "SOURCE CODE SUBDIRECTORIES"
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2350
+#: ../src/guestfs.pod:2407 ../src/guestfs-actions.pod:5686
+#: ../fish/guestfish-actions.pod:3808
msgid "C<appliance>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2352
+#: ../src/guestfs.pod:2409
msgid "The libguestfs appliance, build scripts and so on."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2354
+#: ../src/guestfs.pod:2411
msgid "C<capitests>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2356
+#: ../src/guestfs.pod:2413
msgid "Automated tests of the C API."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2358
+#: ../src/guestfs.pod:2415
msgid "C<cat>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2360
+#: ../src/guestfs.pod:2417
msgid ""
"The L<virt-cat(1)>, L<virt-filesystems(1)> and L<virt-ls(1)> commands and "
"documentation."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2363
+#: ../src/guestfs.pod:2420
msgid "C<contrib>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2365
+#: ../src/guestfs.pod:2422
msgid "Outside contributions, experimental parts."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2367
+#: ../src/guestfs.pod:2424
msgid "C<daemon>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2369
+#: ../src/guestfs.pod:2426
msgid ""
"The daemon that runs inside the libguestfs appliance and carries out actions."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2372
+#: ../src/guestfs.pod:2429
msgid "C<df>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2374
+#: ../src/guestfs.pod:2431
msgid "L<virt-df(1)> command and documentation."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2376
+#: ../src/guestfs.pod:2433
msgid "C<examples>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2378
+#: ../src/guestfs.pod:2435
msgid "C API example code."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2380
+#: ../src/guestfs.pod:2437
msgid "C<fish>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2382
+#: ../src/guestfs.pod:2439
msgid ""
"L<guestfish(1)>, the command-line shell, and various shell scripts built on "
"top such as L<virt-copy-in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, "
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2386
+#: ../src/guestfs.pod:2443
msgid "C<fuse>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2388
+#: ../src/guestfs.pod:2445
msgid ""
"L<guestmount(1)>, FUSE (userspace filesystem) built on top of libguestfs."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2390
+#: ../src/guestfs.pod:2447
msgid "C<generator>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2392
+#: ../src/guestfs.pod:2449
msgid ""
"The crucially important generator, used to automatically generate large "
"amounts of boilerplate C code for things like RPC and bindings."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2395
+#: ../src/guestfs.pod:2452
msgid "C<images>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2397
+#: ../src/guestfs.pod:2454
msgid "Files used by the test suite."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2399
+#: ../src/guestfs.pod:2456
msgid "Some \"phony\" guest images which we test against."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2401
+#: ../src/guestfs.pod:2458
msgid "C<inspector>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2403
+#: ../src/guestfs.pod:2460
msgid "L<virt-inspector(1)>, the virtual machine image inspector."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2405
+#: ../src/guestfs.pod:2462
msgid "C<logo>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2407
+#: ../src/guestfs.pod:2464
msgid "Logo used on the website. The fish is called Arthur by the way."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2409
+#: ../src/guestfs.pod:2466
msgid "C<m4>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2411
+#: ../src/guestfs.pod:2468
msgid "M4 macros used by autoconf."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2413
+#: ../src/guestfs.pod:2470
msgid "C<po>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2415
+#: ../src/guestfs.pod:2472
msgid "Translations of simple gettext strings."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2417
+#: ../src/guestfs.pod:2474
msgid "C<po-docs>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2419
+#: ../src/guestfs.pod:2476
msgid ""
"The build infrastructure and PO files for translations of manpages and POD "
"files. Eventually this will be combined with the C<po> directory, but that "
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2423
+#: ../src/guestfs.pod:2480
msgid "C<regressions>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2425
+#: ../src/guestfs.pod:2482
msgid "Regression tests."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2427
+#: ../src/guestfs.pod:2484
msgid "C<rescue>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2429
+#: ../src/guestfs.pod:2486
msgid "L<virt-rescue(1)> command and documentation."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2431
+#: ../src/guestfs.pod:2488
msgid "C<src>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2433
+#: ../src/guestfs.pod:2490
msgid "Source code to the C library."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2435
+#: ../src/guestfs.pod:2492
msgid "C<tools>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2437
+#: ../src/guestfs.pod:2494
msgid "Command line tools written in Perl (L<virt-resize(1)> and many others)."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2439
+#: ../src/guestfs.pod:2496
msgid "C<test-tool>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2441
+#: ../src/guestfs.pod:2498
msgid ""
"Test tool for end users to test if their qemu/kernel combination will work "
"with libguestfs."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2444
+#: ../src/guestfs.pod:2501
msgid "C<csharp>"
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2446
+#: ../src/guestfs.pod:2503
msgid "C<haskell>"
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2448
+#: ../src/guestfs.pod:2505
msgid "C<java>"
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2450
+#: ../src/guestfs.pod:2507
msgid "C<ocaml>"
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2452
+#: ../src/guestfs.pod:2509
msgid "C<php>"
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2454
+#: ../src/guestfs.pod:2511
msgid "C<perl>"
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2456
+#: ../src/guestfs.pod:2513
msgid "C<python>"
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2458
+#: ../src/guestfs.pod:2515
msgid "C<ruby>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2460
+#: ../src/guestfs.pod:2517
msgid "Language bindings."
msgstr ""
# type: =head1
#. type: =head1
-#: ../src/guestfs.pod:2464 ../fish/guestfish.pod:991
+#: ../src/guestfs.pod:2521 ../fish/guestfish.pod:996
#: ../test-tool/libguestfs-test-tool.pod:104 ../tools/virt-edit.pl:330
msgid "ENVIRONMENT VARIABLES"
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs.pod:2468 ../fish/guestfish.pod:1017
+#: ../src/guestfs.pod:2525 ../fish/guestfish.pod:1022
msgid "LIBGUESTFS_APPEND"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2470 ../fish/guestfish.pod:1019
+#: ../src/guestfs.pod:2527 ../fish/guestfish.pod:1024
msgid "Pass additional options to the guest kernel."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs.pod:2472 ../fish/guestfish.pod:1021
+#: ../src/guestfs.pod:2529 ../fish/guestfish.pod:1026
msgid "LIBGUESTFS_DEBUG"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2474
+#: ../src/guestfs.pod:2531
msgid ""
"Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages. This has the same "
"effect as calling C<guestfs_set_verbose (g, 1)>."
# type: =item
#. type: =item
-#: ../src/guestfs.pod:2477 ../fish/guestfish.pod:1026
+#: ../src/guestfs.pod:2534 ../fish/guestfish.pod:1031
msgid "LIBGUESTFS_MEMSIZE"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2479 ../fish/guestfish.pod:1028
+#: ../src/guestfs.pod:2536 ../fish/guestfish.pod:1033
msgid ""
"Set the memory allocated to the qemu process, in megabytes. For example:"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:2482 ../fish/guestfish.pod:1031
+#: ../src/guestfs.pod:2539 ../fish/guestfish.pod:1036
#, no-wrap
msgid ""
" LIBGUESTFS_MEMSIZE=700\n"
# type: =item
#. type: =item
-#: ../src/guestfs.pod:2484 ../fish/guestfish.pod:1033
+#: ../src/guestfs.pod:2541 ../fish/guestfish.pod:1038
msgid "LIBGUESTFS_PATH"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2486
+#: ../src/guestfs.pod:2543
msgid ""
"Set the path that libguestfs uses to search for kernel and initrd.img. See "
"the discussion of paths in section PATH above."
# type: =item
#. type: =item
-#: ../src/guestfs.pod:2489 ../fish/guestfish.pod:1038
+#: ../src/guestfs.pod:2546 ../fish/guestfish.pod:1043
msgid "LIBGUESTFS_QEMU"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2491 ../fish/guestfish.pod:1040
+#: ../src/guestfs.pod:2548 ../fish/guestfish.pod:1045
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."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2495
+#: ../src/guestfs.pod:2552
msgid "See also L</QEMU WRAPPERS> above."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs.pod:2497 ../fish/guestfish.pod:1044
+#: ../src/guestfs.pod:2554 ../fish/guestfish.pod:1049
msgid "LIBGUESTFS_TRACE"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2499
+#: ../src/guestfs.pod:2556
msgid ""
"Set C<LIBGUESTFS_TRACE=1> to enable command traces. This has the same "
"effect as calling C<guestfs_set_trace (g, 1)>."
# type: =item
#. type: =item
-#: ../src/guestfs.pod:2502 ../fish/guestfish.pod:1053
+#: ../src/guestfs.pod:2559 ../fish/guestfish.pod:1058
msgid "TMPDIR"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2504 ../fish/guestfish.pod:1055
+#: ../src/guestfs.pod:2561 ../fish/guestfish.pod:1060
msgid ""
"Location of temporary directory, defaults to C</tmp> except for the cached "
"supermin appliance which defaults to C</var/tmp>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2507 ../fish/guestfish.pod:1058
+#: ../src/guestfs.pod:2564 ../fish/guestfish.pod:1063
msgid ""
"If libguestfs was compiled to use the supermin appliance then the real "
"appliance is cached in this directory, shared between all handles belonging "
# type: =head1
#. type: =head1
-#: ../src/guestfs.pod:2515 ../fish/guestfish.pod:1116
-#: ../test-tool/libguestfs-test-tool.pod:109 ../fuse/guestmount.pod:233
+#: ../src/guestfs.pod:2572 ../fish/guestfish.pod:1121
+#: ../test-tool/libguestfs-test-tool.pod:109 ../fuse/guestmount.pod:238
#: ../tools/virt-edit.pl:350 ../tools/virt-win-reg.pl:572
#: ../tools/virt-resize.pl:1483 ../tools/virt-list-filesystems.pl:189
#: ../tools/virt-tar.pl:286 ../tools/virt-make-fs.pl:534
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2517
+#: ../src/guestfs.pod:2574
msgid ""
"L<guestfs-examples(3)>, L<guestfs-ocaml(3)>, L<guestfs-python(3)>, L<guestfs-"
"ruby(3)>, L<guestfish(1)>, L<guestmount(1)>, L<virt-cat(1)>, L<virt-copy-in"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2544
+#: ../src/guestfs.pod:2601
msgid ""
"Tools with a similar purpose: L<fdisk(8)>, L<parted(8)>, L<kpartx(8)>, L<lvm"
"(8)>, L<disktype(1)>."
# type: =head1
#. type: =head1
-#: ../src/guestfs.pod:2551 ../tools/virt-win-reg.pl:587
+#: ../src/guestfs.pod:2608 ../tools/virt-win-reg.pl:587
#: ../tools/virt-make-fs.pl:548
msgid "BUGS"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2553
+#: ../src/guestfs.pod:2610
msgid "To get a list of bugs against libguestfs use this link:"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2555
+#: ../src/guestfs.pod:2612
msgid ""
"L<https://bugzilla.redhat.com/buglist.cgi?"
"component=libguestfs&product=Virtualization+Tools>"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2557
+#: ../src/guestfs.pod:2614
msgid "To report a new bug against libguestfs use this link:"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2559
+#: ../src/guestfs.pod:2616
msgid ""
"L<https://bugzilla.redhat.com/enter_bug.cgi?"
"component=libguestfs&product=Virtualization+Tools>"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2561
+#: ../src/guestfs.pod:2618
msgid "When reporting a bug, please check:"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2567
+#: ../src/guestfs.pod:2624
msgid "That the bug hasn't been reported already."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2571
+#: ../src/guestfs.pod:2628
msgid "That you are testing a recent version."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2575
+#: ../src/guestfs.pod:2632
msgid "Describe the bug accurately, and give a way to reproduce it."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2579
+#: ../src/guestfs.pod:2636
msgid ""
"Run libguestfs-test-tool and paste the B<complete, unedited> output into the "
"bug report."
# type: =head1
#. type: =head1
-#: ../src/guestfs.pod:2584 ../fish/guestfish.pod:1139
-#: ../test-tool/libguestfs-test-tool.pod:115 ../fuse/guestmount.pod:244
+#: ../src/guestfs.pod:2641 ../fish/guestfish.pod:1144
+#: ../test-tool/libguestfs-test-tool.pod:115 ../fuse/guestmount.pod:249
msgid "AUTHORS"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2586 ../fish/guestfish.pod:1141
-#: ../test-tool/libguestfs-test-tool.pod:117 ../fuse/guestmount.pod:246
+#: ../src/guestfs.pod:2643 ../fish/guestfish.pod:1146
+#: ../test-tool/libguestfs-test-tool.pod:117 ../fuse/guestmount.pod:251
msgid "Richard W.M. Jones (C<rjones at redhat dot com>)"
msgstr ""
# type: =head1
#. type: =head1
-#: ../src/guestfs.pod:2588 ../fish/guestfish.pod:1143
-#: ../test-tool/libguestfs-test-tool.pod:119 ../fuse/guestmount.pod:248
+#: ../src/guestfs.pod:2645 ../fish/guestfish.pod:1148
+#: ../test-tool/libguestfs-test-tool.pod:119 ../fuse/guestmount.pod:253
#: ../tools/virt-edit.pl:368 ../tools/virt-win-reg.pl:602
#: ../tools/virt-resize.pl:1508 ../tools/virt-list-filesystems.pl:206
#: ../tools/virt-tar.pl:305 ../tools/virt-make-fs.pl:563
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2590 ../fish/guestfish.pod:1145
-#: ../fuse/guestmount.pod:250
+#: ../src/guestfs.pod:2647 ../fish/guestfish.pod:1150
+#: ../fuse/guestmount.pod:255
msgid "Copyright (C) 2009-2010 Red Hat Inc. L<http://libguestfs.org/>"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2593
+#: ../src/guestfs.pod:2650
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 "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2598
+#: ../src/guestfs.pod:2655
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 "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2603
+#: ../src/guestfs.pod:2660
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, "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:30 ../src/guestfs-actions.pod:126
-#: ../src/guestfs-actions.pod:187 ../src/guestfs-actions.pod:224
-#: ../src/guestfs-actions.pod:238 ../src/guestfs-actions.pod:259
-#: ../src/guestfs-actions.pod:279 ../src/guestfs-actions.pod:293
-#: ../src/guestfs-actions.pod:408 ../src/guestfs-actions.pod:428
-#: ../src/guestfs-actions.pod:442 ../src/guestfs-actions.pod:487
-#: ../src/guestfs-actions.pod:515 ../src/guestfs-actions.pod:533
-#: ../src/guestfs-actions.pod:600 ../src/guestfs-actions.pod:633
-#: ../src/guestfs-actions.pod:647 ../src/guestfs-actions.pod:662
-#: ../src/guestfs-actions.pod:761 ../src/guestfs-actions.pod:779
-#: ../src/guestfs-actions.pod:793 ../src/guestfs-actions.pod:807
-#: ../src/guestfs-actions.pod:968 ../src/guestfs-actions.pod:988
-#: ../src/guestfs-actions.pod:1006 ../src/guestfs-actions.pod:1090
-#: ../src/guestfs-actions.pod:1108 ../src/guestfs-actions.pod:1127
-#: ../src/guestfs-actions.pod:1141 ../src/guestfs-actions.pod:1161
-#: ../src/guestfs-actions.pod:1231 ../src/guestfs-actions.pod:1262
-#: ../src/guestfs-actions.pod:1287 ../src/guestfs-actions.pod:1324
-#: ../src/guestfs-actions.pod:1430 ../src/guestfs-actions.pod:1464
-#: ../src/guestfs-actions.pod:1682 ../src/guestfs-actions.pod:1704
-#: ../src/guestfs-actions.pod:1791 ../src/guestfs-actions.pod:2243
-#: ../src/guestfs-actions.pod:2387 ../src/guestfs-actions.pod:2448
-#: ../src/guestfs-actions.pod:2483 ../src/guestfs-actions.pod:3318
-#: ../src/guestfs-actions.pod:3333 ../src/guestfs-actions.pod:3353
-#: ../src/guestfs-actions.pod:3508 ../src/guestfs-actions.pod:3522
-#: ../src/guestfs-actions.pod:3535 ../src/guestfs-actions.pod:3549
-#: ../src/guestfs-actions.pod:3564 ../src/guestfs-actions.pod:3600
-#: ../src/guestfs-actions.pod:3672 ../src/guestfs-actions.pod:3692
-#: ../src/guestfs-actions.pod:3709 ../src/guestfs-actions.pod:3732
-#: ../src/guestfs-actions.pod:3755 ../src/guestfs-actions.pod:3787
-#: ../src/guestfs-actions.pod:3806 ../src/guestfs-actions.pod:3825
-#: ../src/guestfs-actions.pod:3860 ../src/guestfs-actions.pod:3872
-#: ../src/guestfs-actions.pod:3908 ../src/guestfs-actions.pod:3924
-#: ../src/guestfs-actions.pod:3937 ../src/guestfs-actions.pod:3952
-#: ../src/guestfs-actions.pod:3969 ../src/guestfs-actions.pod:4062
-#: ../src/guestfs-actions.pod:4082 ../src/guestfs-actions.pod:4095
-#: ../src/guestfs-actions.pod:4146 ../src/guestfs-actions.pod:4164
-#: ../src/guestfs-actions.pod:4182 ../src/guestfs-actions.pod:4198
-#: ../src/guestfs-actions.pod:4212 ../src/guestfs-actions.pod:4226
-#: ../src/guestfs-actions.pod:4243 ../src/guestfs-actions.pod:4258
-#: ../src/guestfs-actions.pod:4278 ../src/guestfs-actions.pod:4336
-#: ../src/guestfs-actions.pod:4409 ../src/guestfs-actions.pod:4440
-#: ../src/guestfs-actions.pod:4459 ../src/guestfs-actions.pod:4478
-#: ../src/guestfs-actions.pod:4490 ../src/guestfs-actions.pod:4507
-#: ../src/guestfs-actions.pod:4520 ../src/guestfs-actions.pod:4535
-#: ../src/guestfs-actions.pod:4550 ../src/guestfs-actions.pod:4585
-#: ../src/guestfs-actions.pod:4600 ../src/guestfs-actions.pod:4620
-#: ../src/guestfs-actions.pod:4634 ../src/guestfs-actions.pod:4651
-#: ../src/guestfs-actions.pod:4700 ../src/guestfs-actions.pod:4737
-#: ../src/guestfs-actions.pod:4751 ../src/guestfs-actions.pod:4779
-#: ../src/guestfs-actions.pod:4796 ../src/guestfs-actions.pod:4814
-#: ../src/guestfs-actions.pod:4948 ../src/guestfs-actions.pod:5005
-#: ../src/guestfs-actions.pod:5027 ../src/guestfs-actions.pod:5045
-#: ../src/guestfs-actions.pod:5077 ../src/guestfs-actions.pod:5143
-#: ../src/guestfs-actions.pod:5160 ../src/guestfs-actions.pod:5173
-#: ../src/guestfs-actions.pod:5187 ../src/guestfs-actions.pod:5476
-#: ../src/guestfs-actions.pod:5495 ../src/guestfs-actions.pod:5514
-#: ../src/guestfs-actions.pod:5526 ../src/guestfs-actions.pod:5538
-#: ../src/guestfs-actions.pod:5552 ../src/guestfs-actions.pod:5564
-#: ../src/guestfs-actions.pod:5578 ../src/guestfs-actions.pod:5594
-#: ../src/guestfs-actions.pod:5615 ../src/guestfs-actions.pod:5634
-#: ../src/guestfs-actions.pod:5653 ../src/guestfs-actions.pod:5671
-#: ../src/guestfs-actions.pod:5694 ../src/guestfs-actions.pod:5712
-#: ../src/guestfs-actions.pod:5731 ../src/guestfs-actions.pod:5752
-#: ../src/guestfs-actions.pod:5771 ../src/guestfs-actions.pod:5788
-#: ../src/guestfs-actions.pod:5816 ../src/guestfs-actions.pod:5840
-#: ../src/guestfs-actions.pod:5859 ../src/guestfs-actions.pod:5883
-#: ../src/guestfs-actions.pod:5898 ../src/guestfs-actions.pod:5913
-#: ../src/guestfs-actions.pod:5932 ../src/guestfs-actions.pod:5969
-#: ../src/guestfs-actions.pod:5992 ../src/guestfs-actions.pod:6018
-#: ../src/guestfs-actions.pod:6126 ../src/guestfs-actions.pod:6247
-#: ../src/guestfs-actions.pod:6259 ../src/guestfs-actions.pod:6272
-#: ../src/guestfs-actions.pod:6285 ../src/guestfs-actions.pod:6307
-#: ../src/guestfs-actions.pod:6320 ../src/guestfs-actions.pod:6333
-#: ../src/guestfs-actions.pod:6346 ../src/guestfs-actions.pod:6361
-#: ../src/guestfs-actions.pod:6420 ../src/guestfs-actions.pod:6437
-#: ../src/guestfs-actions.pod:6453 ../src/guestfs-actions.pod:6469
-#: ../src/guestfs-actions.pod:6486 ../src/guestfs-actions.pod:6499
-#: ../src/guestfs-actions.pod:6519 ../src/guestfs-actions.pod:6555
-#: ../src/guestfs-actions.pod:6569 ../src/guestfs-actions.pod:6610
-#: ../src/guestfs-actions.pod:6623 ../src/guestfs-actions.pod:6641
-#: ../src/guestfs-actions.pod:6675 ../src/guestfs-actions.pod:6711
-#: ../src/guestfs-actions.pod:6830 ../src/guestfs-actions.pod:6848
-#: ../src/guestfs-actions.pod:6862 ../src/guestfs-actions.pod:6917
-#: ../src/guestfs-actions.pod:6930 ../src/guestfs-actions.pod:6975
-#: ../src/guestfs-actions.pod:7008 ../src/guestfs-actions.pod:7062
-#: ../src/guestfs-actions.pod:7088 ../src/guestfs-actions.pod:7154
-#: ../src/guestfs-actions.pod:7173 ../src/guestfs-actions.pod:7202
+#: ../src/guestfs-actions.pod:30 ../src/guestfs-actions.pod:134
+#: ../src/guestfs-actions.pod:195 ../src/guestfs-actions.pod:232
+#: ../src/guestfs-actions.pod:246 ../src/guestfs-actions.pod:267
+#: ../src/guestfs-actions.pod:287 ../src/guestfs-actions.pod:301
+#: ../src/guestfs-actions.pod:416 ../src/guestfs-actions.pod:436
+#: ../src/guestfs-actions.pod:450 ../src/guestfs-actions.pod:495
+#: ../src/guestfs-actions.pod:523 ../src/guestfs-actions.pod:541
+#: ../src/guestfs-actions.pod:608 ../src/guestfs-actions.pod:641
+#: ../src/guestfs-actions.pod:655 ../src/guestfs-actions.pod:670
+#: ../src/guestfs-actions.pod:769 ../src/guestfs-actions.pod:787
+#: ../src/guestfs-actions.pod:801 ../src/guestfs-actions.pod:815
+#: ../src/guestfs-actions.pod:976 ../src/guestfs-actions.pod:996
+#: ../src/guestfs-actions.pod:1014 ../src/guestfs-actions.pod:1098
+#: ../src/guestfs-actions.pod:1116 ../src/guestfs-actions.pod:1135
+#: ../src/guestfs-actions.pod:1149 ../src/guestfs-actions.pod:1169
+#: ../src/guestfs-actions.pod:1239 ../src/guestfs-actions.pod:1270
+#: ../src/guestfs-actions.pod:1295 ../src/guestfs-actions.pod:1332
+#: ../src/guestfs-actions.pod:1438 ../src/guestfs-actions.pod:1472
+#: ../src/guestfs-actions.pod:1690 ../src/guestfs-actions.pod:1712
+#: ../src/guestfs-actions.pod:1799 ../src/guestfs-actions.pod:2261
+#: ../src/guestfs-actions.pod:2405 ../src/guestfs-actions.pod:2466
+#: ../src/guestfs-actions.pod:2501 ../src/guestfs-actions.pod:3336
+#: ../src/guestfs-actions.pod:3351 ../src/guestfs-actions.pod:3371
+#: ../src/guestfs-actions.pod:3526 ../src/guestfs-actions.pod:3540
+#: ../src/guestfs-actions.pod:3553 ../src/guestfs-actions.pod:3567
+#: ../src/guestfs-actions.pod:3582 ../src/guestfs-actions.pod:3618
+#: ../src/guestfs-actions.pod:3690 ../src/guestfs-actions.pod:3710
+#: ../src/guestfs-actions.pod:3727 ../src/guestfs-actions.pod:3750
+#: ../src/guestfs-actions.pod:3773 ../src/guestfs-actions.pod:3805
+#: ../src/guestfs-actions.pod:3824 ../src/guestfs-actions.pod:3843
+#: ../src/guestfs-actions.pod:3878 ../src/guestfs-actions.pod:3890
+#: ../src/guestfs-actions.pod:3926 ../src/guestfs-actions.pod:3942
+#: ../src/guestfs-actions.pod:3955 ../src/guestfs-actions.pod:3970
+#: ../src/guestfs-actions.pod:3987 ../src/guestfs-actions.pod:4080
+#: ../src/guestfs-actions.pod:4100 ../src/guestfs-actions.pod:4113
+#: ../src/guestfs-actions.pod:4164 ../src/guestfs-actions.pod:4182
+#: ../src/guestfs-actions.pod:4200 ../src/guestfs-actions.pod:4216
+#: ../src/guestfs-actions.pod:4230 ../src/guestfs-actions.pod:4244
+#: ../src/guestfs-actions.pod:4261 ../src/guestfs-actions.pod:4276
+#: ../src/guestfs-actions.pod:4296 ../src/guestfs-actions.pod:4354
+#: ../src/guestfs-actions.pod:4427 ../src/guestfs-actions.pod:4458
+#: ../src/guestfs-actions.pod:4477 ../src/guestfs-actions.pod:4496
+#: ../src/guestfs-actions.pod:4508 ../src/guestfs-actions.pod:4525
+#: ../src/guestfs-actions.pod:4538 ../src/guestfs-actions.pod:4553
+#: ../src/guestfs-actions.pod:4568 ../src/guestfs-actions.pod:4603
+#: ../src/guestfs-actions.pod:4618 ../src/guestfs-actions.pod:4638
+#: ../src/guestfs-actions.pod:4652 ../src/guestfs-actions.pod:4669
+#: ../src/guestfs-actions.pod:4718 ../src/guestfs-actions.pod:4755
+#: ../src/guestfs-actions.pod:4769 ../src/guestfs-actions.pod:4797
+#: ../src/guestfs-actions.pod:4814 ../src/guestfs-actions.pod:4832
+#: ../src/guestfs-actions.pod:4966 ../src/guestfs-actions.pod:5023
+#: ../src/guestfs-actions.pod:5045 ../src/guestfs-actions.pod:5063
+#: ../src/guestfs-actions.pod:5095 ../src/guestfs-actions.pod:5161
+#: ../src/guestfs-actions.pod:5178 ../src/guestfs-actions.pod:5191
+#: ../src/guestfs-actions.pod:5205 ../src/guestfs-actions.pod:5494
+#: ../src/guestfs-actions.pod:5513 ../src/guestfs-actions.pod:5532
+#: ../src/guestfs-actions.pod:5544 ../src/guestfs-actions.pod:5556
+#: ../src/guestfs-actions.pod:5570 ../src/guestfs-actions.pod:5582
+#: ../src/guestfs-actions.pod:5596 ../src/guestfs-actions.pod:5612
+#: ../src/guestfs-actions.pod:5633 ../src/guestfs-actions.pod:5652
+#: ../src/guestfs-actions.pod:5671 ../src/guestfs-actions.pod:5701
+#: ../src/guestfs-actions.pod:5717 ../src/guestfs-actions.pod:5740
+#: ../src/guestfs-actions.pod:5758 ../src/guestfs-actions.pod:5777
+#: ../src/guestfs-actions.pod:5798 ../src/guestfs-actions.pod:5817
+#: ../src/guestfs-actions.pod:5834 ../src/guestfs-actions.pod:5862
+#: ../src/guestfs-actions.pod:5886 ../src/guestfs-actions.pod:5905
+#: ../src/guestfs-actions.pod:5929 ../src/guestfs-actions.pod:5944
+#: ../src/guestfs-actions.pod:5959 ../src/guestfs-actions.pod:5978
+#: ../src/guestfs-actions.pod:6015 ../src/guestfs-actions.pod:6038
+#: ../src/guestfs-actions.pod:6064 ../src/guestfs-actions.pod:6172
+#: ../src/guestfs-actions.pod:6293 ../src/guestfs-actions.pod:6305
+#: ../src/guestfs-actions.pod:6318 ../src/guestfs-actions.pod:6331
+#: ../src/guestfs-actions.pod:6353 ../src/guestfs-actions.pod:6366
+#: ../src/guestfs-actions.pod:6379 ../src/guestfs-actions.pod:6392
+#: ../src/guestfs-actions.pod:6407 ../src/guestfs-actions.pod:6466
+#: ../src/guestfs-actions.pod:6483 ../src/guestfs-actions.pod:6499
+#: ../src/guestfs-actions.pod:6515 ../src/guestfs-actions.pod:6532
+#: ../src/guestfs-actions.pod:6545 ../src/guestfs-actions.pod:6565
+#: ../src/guestfs-actions.pod:6601 ../src/guestfs-actions.pod:6615
+#: ../src/guestfs-actions.pod:6656 ../src/guestfs-actions.pod:6669
+#: ../src/guestfs-actions.pod:6687 ../src/guestfs-actions.pod:6721
+#: ../src/guestfs-actions.pod:6757 ../src/guestfs-actions.pod:6876
+#: ../src/guestfs-actions.pod:6894 ../src/guestfs-actions.pod:6908
+#: ../src/guestfs-actions.pod:6963 ../src/guestfs-actions.pod:6976
+#: ../src/guestfs-actions.pod:7021 ../src/guestfs-actions.pod:7054
+#: ../src/guestfs-actions.pod:7108 ../src/guestfs-actions.pod:7134
+#: ../src/guestfs-actions.pod:7200 ../src/guestfs-actions.pod:7219
+#: ../src/guestfs-actions.pod:7248
msgid "This function returns 0 on success or -1 on error."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:32 ../src/guestfs-actions.pod:240
-#: ../src/guestfs-actions.pod:261 ../fish/guestfish-actions.pod:28
-#: ../fish/guestfish-actions.pod:151 ../fish/guestfish-actions.pod:165
+#: ../src/guestfs-actions.pod:32 ../src/guestfs-actions.pod:248
+#: ../src/guestfs-actions.pod:269 ../fish/guestfish-actions.pod:28
+#: ../fish/guestfish-actions.pod:158 ../fish/guestfish-actions.pod:172
msgid ""
"This function is deprecated. In new code, use the C<add_drive_opts> call "
"instead."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:35 ../src/guestfs-actions.pod:243
-#: ../src/guestfs-actions.pod:264 ../src/guestfs-actions.pod:1435
-#: ../src/guestfs-actions.pod:1921 ../src/guestfs-actions.pod:1942
-#: ../src/guestfs-actions.pod:4283 ../src/guestfs-actions.pod:7096
-#: ../src/guestfs-actions.pod:7265 ../fish/guestfish-actions.pod:31
-#: ../fish/guestfish-actions.pod:154 ../fish/guestfish-actions.pod:168
-#: ../fish/guestfish-actions.pod:949 ../fish/guestfish-actions.pod:1306
-#: ../fish/guestfish-actions.pod:1320 ../fish/guestfish-actions.pod:2895
-#: ../fish/guestfish-actions.pod:4723 ../fish/guestfish-actions.pod:4820
+#: ../src/guestfs-actions.pod:35 ../src/guestfs-actions.pod:251
+#: ../src/guestfs-actions.pod:272 ../src/guestfs-actions.pod:1443
+#: ../src/guestfs-actions.pod:1939 ../src/guestfs-actions.pod:1960
+#: ../src/guestfs-actions.pod:4301 ../src/guestfs-actions.pod:7142
+#: ../src/guestfs-actions.pod:7311 ../fish/guestfish-actions.pod:31
+#: ../fish/guestfish-actions.pod:161 ../fish/guestfish-actions.pod:175
+#: ../fish/guestfish-actions.pod:956 ../fish/guestfish-actions.pod:1319
+#: ../fish/guestfish-actions.pod:1333 ../fish/guestfish-actions.pod:2908
+#: ../fish/guestfish-actions.pod:4762 ../fish/guestfish-actions.pod:4859
msgid ""
"Deprecated functions will not be removed from the API, but the fact that "
"they are deprecated indicates that there are problems with correct use of "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:39 ../src/guestfs-actions.pod:128
-#: ../src/guestfs-actions.pod:1092 ../src/guestfs-actions.pod:1893
-#: ../src/guestfs-actions.pod:1991 ../src/guestfs-actions.pod:2094
-#: ../src/guestfs-actions.pod:3320 ../src/guestfs-actions.pod:3335
-#: ../src/guestfs-actions.pod:4587 ../src/guestfs-actions.pod:5673
-#: ../src/guestfs-actions.pod:5790 ../src/guestfs-actions.pod:5900
-#: ../src/guestfs-actions.pod:6363 ../src/guestfs-actions.pod:6488
-#: ../src/guestfs-actions.pod:7010
+#: ../src/guestfs-actions.pod:39 ../src/guestfs-actions.pod:136
+#: ../src/guestfs-actions.pod:1100 ../src/guestfs-actions.pod:1911
+#: ../src/guestfs-actions.pod:2009 ../src/guestfs-actions.pod:2112
+#: ../src/guestfs-actions.pod:3338 ../src/guestfs-actions.pod:3353
+#: ../src/guestfs-actions.pod:4605 ../src/guestfs-actions.pod:5719
+#: ../src/guestfs-actions.pod:5836 ../src/guestfs-actions.pod:5946
+#: ../src/guestfs-actions.pod:6409 ../src/guestfs-actions.pod:6534
+#: ../src/guestfs-actions.pod:7056
msgid "(Added in 0.3)"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:48 ../src/guestfs-actions.pod:137
-#: ../src/guestfs-actions.pod:4297
+#: ../src/guestfs-actions.pod:48 ../src/guestfs-actions.pod:145
+#: ../src/guestfs-actions.pod:4315
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 "
"its own. See L</CALLS WITH OPTIONAL ARGUMENTS>."
msgstr ""
-# type: verbatim
#. type: verbatim
#: ../src/guestfs-actions.pod:53
#, no-wrap
" GUESTFS_ADD_DOMAIN_LIBVIRTURI, const char *libvirturi,\n"
" GUESTFS_ADD_DOMAIN_READONLY, int readonly,\n"
" GUESTFS_ADD_DOMAIN_IFACE, const char *iface,\n"
+" GUESTFS_ADD_DOMAIN_LIVE, int live,\n"
"\n"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:57
+#: ../src/guestfs-actions.pod:58
msgid ""
"This function adds the disk(s) attached to the named libvirt domain C<dom>. "
"It works by connecting to libvirt, requesting the domain and domain XML from "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:62 ../fish/guestfish-actions.pod:46
+#: ../src/guestfs-actions.pod:63 ../fish/guestfish-actions.pod:46
msgid ""
"The number of disks added is returned. This operation is atomic: if an "
"error is returned, then no disks are added."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:65 ../fish/guestfish-actions.pod:49
+#: ../src/guestfs-actions.pod:66 ../fish/guestfish-actions.pod:49
msgid ""
"This function does some minimal checks to make sure the libvirt domain is "
"not running (unless C<readonly> is true). In a future version we will try "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:69 ../fish/guestfish-actions.pod:53
+#: ../src/guestfs-actions.pod:70 ../fish/guestfish-actions.pod:53
msgid ""
"Disks must be accessible locally. This often means that adding disks from a "
"remote libvirt connection (see L<http://libvirt.org/remote.html>) will fail "
msgstr ""
#. type: textblock
-#: ../src/guestfs-actions.pod:74 ../fish/guestfish-actions.pod:58
+#: ../src/guestfs-actions.pod:75 ../fish/guestfish-actions.pod:58
msgid ""
"The optional C<libvirturi> parameter sets the libvirt URI (see L<http://"
"libvirt.org/uri.html>). If this is not set then we connect to the default "
"documentation for full details)."
msgstr ""
+#. type: textblock
+#: ../src/guestfs-actions.pod:81 ../fish/guestfish-actions.pod:64
+msgid ""
+"The optional C<live> flag controls whether this call will try to connect to "
+"a running virtual machine C<guestfsd> process if it sees a suitable "
+"E<lt>channelE<gt> element in the libvirt XML definition. The default (if "
+"the flag is omitted) is never to try. See L<guestfs(3)/ATTACHING TO RUNNING "
+"DAEMONS> for more information."
+msgstr ""
+
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:80
+#: ../src/guestfs-actions.pod:88
msgid ""
"The other optional parameters are passed directly through to "
"C<guestfs_add_drive_opts>."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:83 ../src/guestfs-actions.pod:336
-#: ../src/guestfs-actions.pod:501 ../src/guestfs-actions.pod:679
-#: ../src/guestfs-actions.pod:710 ../src/guestfs-actions.pod:728
-#: ../src/guestfs-actions.pod:747 ../src/guestfs-actions.pod:1307
-#: ../src/guestfs-actions.pod:1661 ../src/guestfs-actions.pod:1864
-#: ../src/guestfs-actions.pod:1963 ../src/guestfs-actions.pod:2003
-#: ../src/guestfs-actions.pod:2058 ../src/guestfs-actions.pod:2081
-#: ../src/guestfs-actions.pod:2374 ../src/guestfs-actions.pod:2701
-#: ../src/guestfs-actions.pod:2722 ../src/guestfs-actions.pod:4723
-#: ../src/guestfs-actions.pod:4851 ../src/guestfs-actions.pod:5257
-#: ../src/guestfs-actions.pod:5283 ../src/guestfs-actions.pod:6596
-#: ../src/guestfs-actions.pod:7021 ../src/guestfs-actions.pod:7034
-#: ../src/guestfs-actions.pod:7047
+#: ../src/guestfs-actions.pod:91 ../src/guestfs-actions.pod:344
+#: ../src/guestfs-actions.pod:509 ../src/guestfs-actions.pod:687
+#: ../src/guestfs-actions.pod:718 ../src/guestfs-actions.pod:736
+#: ../src/guestfs-actions.pod:755 ../src/guestfs-actions.pod:1315
+#: ../src/guestfs-actions.pod:1669 ../src/guestfs-actions.pod:1872
+#: ../src/guestfs-actions.pod:1981 ../src/guestfs-actions.pod:2021
+#: ../src/guestfs-actions.pod:2076 ../src/guestfs-actions.pod:2099
+#: ../src/guestfs-actions.pod:2392 ../src/guestfs-actions.pod:2719
+#: ../src/guestfs-actions.pod:2740 ../src/guestfs-actions.pod:4741
+#: ../src/guestfs-actions.pod:4869 ../src/guestfs-actions.pod:5275
+#: ../src/guestfs-actions.pod:5301 ../src/guestfs-actions.pod:6642
+#: ../src/guestfs-actions.pod:7067 ../src/guestfs-actions.pod:7080
+#: ../src/guestfs-actions.pod:7093
msgid "On error this function returns -1."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:85
+#: ../src/guestfs-actions.pod:93
msgid "(Added in 1.7.4)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:87
+#: ../src/guestfs-actions.pod:95
msgid "guestfs_add_domain_va"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:89
+#: ../src/guestfs-actions.pod:97
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:94
+#: ../src/guestfs-actions.pod:102
msgid "This is the \"va_list variant\" of L</guestfs_add_domain>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:96 ../src/guestfs-actions.pod:107
-#: ../src/guestfs-actions.pod:200 ../src/guestfs-actions.pod:211
-#: ../src/guestfs-actions.pod:4350 ../src/guestfs-actions.pod:4362
+#: ../src/guestfs-actions.pod:104 ../src/guestfs-actions.pod:115
+#: ../src/guestfs-actions.pod:208 ../src/guestfs-actions.pod:219
+#: ../src/guestfs-actions.pod:4368 ../src/guestfs-actions.pod:4380
msgid "See L</CALLS WITH OPTIONAL ARGUMENTS>."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:98
+#: ../src/guestfs-actions.pod:106
msgid "guestfs_add_domain_argv"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:100
+#: ../src/guestfs-actions.pod:108
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:105
+#: ../src/guestfs-actions.pod:113
msgid "This is the \"argv variant\" of L</guestfs_add_domain>."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:109
+#: ../src/guestfs-actions.pod:117
msgid "guestfs_add_drive"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:111
+#: ../src/guestfs-actions.pod:119
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:115
+#: ../src/guestfs-actions.pod:123
msgid ""
"This function is the equivalent of calling C<guestfs_add_drive_opts> with no "
"optional parameters, so the disk is added writable, with the format being "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:119
+#: ../src/guestfs-actions.pod:127
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 "
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:130
+#: ../src/guestfs-actions.pod:138
msgid "guestfs_add_drive_opts"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:132
+#: ../src/guestfs-actions.pod:140
#, no-wrap
msgid ""
" int\n"
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:142
+#: ../src/guestfs-actions.pod:150
#, no-wrap
msgid ""
" GUESTFS_ADD_DRIVE_OPTS_READONLY, int readonly,\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:146 ../fish/guestfish-actions.pod:90
+#: ../src/guestfs-actions.pod:154 ../fish/guestfish-actions.pod:97
msgid ""
"This function adds a virtual machine disk image C<filename> to libguestfs. "
"The first time you call this function, the disk appears as C</dev/sda>, the "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:151 ../fish/guestfish-actions.pod:95
+#: ../src/guestfs-actions.pod:159 ../fish/guestfish-actions.pod:102
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 "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:157 ../fish/guestfish-actions.pod:101
+#: ../src/guestfs-actions.pod:165 ../fish/guestfish-actions.pod:108
msgid "This call checks that C<filename> exists."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:159 ../src/guestfs-actions.pod:4308
-#: ../fish/guestfish-actions.pod:103 ../fish/guestfish-actions.pod:2906
+#: ../src/guestfs-actions.pod:167 ../src/guestfs-actions.pod:4326
+#: ../fish/guestfish-actions.pod:110 ../fish/guestfish-actions.pod:2919
msgid "The optional arguments are:"
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:163 ../fish/guestfish-actions.pod:107
+#: ../src/guestfs-actions.pod:171 ../fish/guestfish-actions.pod:114
msgid "C<readonly>"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:165 ../fish/guestfish-actions.pod:109
+#: ../src/guestfs-actions.pod:173 ../fish/guestfish-actions.pod:116
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 "
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:169 ../fish/guestfish-actions.pod:113
+#: ../src/guestfs-actions.pod:177 ../fish/guestfish-actions.pod:120
msgid "C<format>"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:171
+#: ../src/guestfs-actions.pod:179
msgid ""
"This forces the image format. If you omit this (or use C<guestfs_add_drive> "
"or C<guestfs_add_drive_ro>) then the format is automatically detected. "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:175 ../fish/guestfish-actions.pod:119
+#: ../src/guestfs-actions.pod:183 ../fish/guestfish-actions.pod:126
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 "
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:180 ../fish/guestfish-actions.pod:124
+#: ../src/guestfs-actions.pod:188 ../fish/guestfish-actions.pod:131
msgid "C<iface>"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:182
+#: ../src/guestfs-actions.pod:190
msgid ""
"This rarely-used option lets you emulate the behaviour of the deprecated "
"C<guestfs_add_drive_with_if> call (q.v.)"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:189
+#: ../src/guestfs-actions.pod:197
msgid "(Added in 1.5.23)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:191
+#: ../src/guestfs-actions.pod:199
msgid "guestfs_add_drive_opts_va"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:193
+#: ../src/guestfs-actions.pod:201
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:198
+#: ../src/guestfs-actions.pod:206
msgid "This is the \"va_list variant\" of L</guestfs_add_drive_opts>."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:202
+#: ../src/guestfs-actions.pod:210
msgid "guestfs_add_drive_opts_argv"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:204
+#: ../src/guestfs-actions.pod:212
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:209
+#: ../src/guestfs-actions.pod:217
msgid "This is the \"argv variant\" of L</guestfs_add_drive_opts>."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:213
+#: ../src/guestfs-actions.pod:221
msgid "guestfs_add_drive_ro"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:215
+#: ../src/guestfs-actions.pod:223
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:219
+#: ../src/guestfs-actions.pod:227
msgid ""
"This function is the equivalent of calling C<guestfs_add_drive_opts> with "
"the optional parameter C<GUESTFS_ADD_DRIVE_OPTS_READONLY> set to 1, so the "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:226
+#: ../src/guestfs-actions.pod:234
msgid "(Added in 1.0.38)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:228
+#: ../src/guestfs-actions.pod:236
msgid "guestfs_add_drive_ro_with_if"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:230
+#: ../src/guestfs-actions.pod:238
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:235
+#: ../src/guestfs-actions.pod:243
msgid ""
"This is the same as C<guestfs_add_drive_ro> but it allows you to specify the "
"QEMU interface emulation to use at run time."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:247 ../src/guestfs-actions.pod:268
-#: ../src/guestfs-actions.pod:2333
+#: ../src/guestfs-actions.pod:255 ../src/guestfs-actions.pod:276
+#: ../src/guestfs-actions.pod:2351
msgid "(Added in 1.0.84)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:249
+#: ../src/guestfs-actions.pod:257
msgid "guestfs_add_drive_with_if"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:251
+#: ../src/guestfs-actions.pod:259
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:256
+#: ../src/guestfs-actions.pod:264
msgid ""
"This is the same as C<guestfs_add_drive> but it allows you to specify the "
"QEMU interface emulation to use at run time."
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:270
+#: ../src/guestfs-actions.pod:278
msgid "guestfs_aug_clear"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:272
+#: ../src/guestfs-actions.pod:280
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:276 ../fish/guestfish-actions.pod:176
+#: ../src/guestfs-actions.pod:284 ../fish/guestfish-actions.pod:183
msgid ""
"Set the value associated with C<path> to C<NULL>. This is the same as the "
"L<augtool(1)> C<clear> command."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:281 ../src/guestfs-actions.pod:2083
+#: ../src/guestfs-actions.pod:289 ../src/guestfs-actions.pod:2101
msgid "(Added in 1.3.4)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:283
+#: ../src/guestfs-actions.pod:291
msgid "guestfs_aug_close"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:285
+#: ../src/guestfs-actions.pod:293
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:288
+#: ../src/guestfs-actions.pod:296
msgid ""
"Close the current Augeas handle and free up any resources used by it. After "
"calling this, you have to call C<guestfs_aug_init> again before you can use "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:295 ../src/guestfs-actions.pod:320
-#: ../src/guestfs-actions.pod:338 ../src/guestfs-actions.pod:352
-#: ../src/guestfs-actions.pod:410 ../src/guestfs-actions.pod:430
-#: ../src/guestfs-actions.pod:444 ../src/guestfs-actions.pod:475
-#: ../src/guestfs-actions.pod:489 ../src/guestfs-actions.pod:503
-#: ../src/guestfs-actions.pod:517 ../src/guestfs-actions.pod:535
-#: ../src/guestfs-actions.pod:5334
+#: ../src/guestfs-actions.pod:303 ../src/guestfs-actions.pod:328
+#: ../src/guestfs-actions.pod:346 ../src/guestfs-actions.pod:360
+#: ../src/guestfs-actions.pod:418 ../src/guestfs-actions.pod:438
+#: ../src/guestfs-actions.pod:452 ../src/guestfs-actions.pod:483
+#: ../src/guestfs-actions.pod:497 ../src/guestfs-actions.pod:511
+#: ../src/guestfs-actions.pod:525 ../src/guestfs-actions.pod:543
+#: ../src/guestfs-actions.pod:5352
msgid "(Added in 0.7)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:297
+#: ../src/guestfs-actions.pod:305
msgid "guestfs_aug_defnode"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:299
+#: ../src/guestfs-actions.pod:307
#, no-wrap
msgid ""
" struct guestfs_int_bool *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:305 ../fish/guestfish-actions.pod:192
+#: ../src/guestfs-actions.pod:313 ../fish/guestfish-actions.pod:199
msgid ""
"Defines a variable C<name> whose value is the result of evaluating C<expr>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:308
+#: ../src/guestfs-actions.pod:316
msgid ""
"If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
"calling C<guestfs_aug_set> C<expr>, C<value>. C<name> will be the nodeset "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:312 ../fish/guestfish-actions.pod:199
+#: ../src/guestfs-actions.pod:320 ../fish/guestfish-actions.pod:206
msgid ""
"On success this returns a pair containing the number of nodes in the "
"nodeset, and a boolean flag if a node was created."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:316
+#: ../src/guestfs-actions.pod:324
msgid ""
"This function returns a C<struct guestfs_int_bool *>, or NULL if there was "
"an error. I<The caller must call C<guestfs_free_int_bool> after use>."
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:322
+#: ../src/guestfs-actions.pod:330
msgid "guestfs_aug_defvar"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:324
+#: ../src/guestfs-actions.pod:332
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:329 ../fish/guestfish-actions.pod:207
+#: ../src/guestfs-actions.pod:337 ../fish/guestfish-actions.pod:214
msgid ""
"Defines an Augeas variable C<name> whose value is the result of evaluating "
"C<expr>. If C<expr> is NULL, then C<name> is undefined."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:333 ../fish/guestfish-actions.pod:211
+#: ../src/guestfs-actions.pod:341 ../fish/guestfish-actions.pod:218
msgid ""
"On success this returns the number of nodes in C<expr>, or C<0> if C<expr> "
"evaluates to something which is not a nodeset."
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:340
+#: ../src/guestfs-actions.pod:348
msgid "guestfs_aug_get"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:342
+#: ../src/guestfs-actions.pod:350
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:346 ../fish/guestfish-actions.pod:218
+#: ../src/guestfs-actions.pod:354 ../fish/guestfish-actions.pod:225
msgid ""
"Look up the value associated with C<path>. If C<path> matches exactly one "
"node, the C<value> is returned."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:349 ../src/guestfs-actions.pod:849
-#: ../src/guestfs-actions.pod:867 ../src/guestfs-actions.pod:927
-#: ../src/guestfs-actions.pod:943 ../src/guestfs-actions.pod:1046
-#: ../src/guestfs-actions.pod:1176 ../src/guestfs-actions.pod:1193
-#: ../src/guestfs-actions.pod:1212 ../src/guestfs-actions.pod:1341
-#: ../src/guestfs-actions.pod:1532 ../src/guestfs-actions.pod:1644
-#: ../src/guestfs-actions.pod:1807 ../src/guestfs-actions.pod:1824
-#: ../src/guestfs-actions.pod:1915 ../src/guestfs-actions.pod:1936
-#: ../src/guestfs-actions.pod:2106 ../src/guestfs-actions.pod:2298
-#: ../src/guestfs-actions.pod:2505 ../src/guestfs-actions.pod:2586
-#: ../src/guestfs-actions.pod:2653 ../src/guestfs-actions.pod:2673
-#: ../src/guestfs-actions.pod:2787 ../src/guestfs-actions.pod:2818
-#: ../src/guestfs-actions.pod:2842 ../src/guestfs-actions.pod:2904
-#: ../src/guestfs-actions.pod:2927 ../src/guestfs-actions.pod:3494
-#: ../src/guestfs-actions.pod:3844 ../src/guestfs-actions.pod:4014
-#: ../src/guestfs-actions.pod:4124 ../src/guestfs-actions.pod:4869
-#: ../src/guestfs-actions.pod:5062 ../src/guestfs-actions.pod:5232
-#: ../src/guestfs-actions.pod:5410 ../src/guestfs-actions.pod:5459
-#: ../src/guestfs-actions.pod:6039 ../src/guestfs-actions.pod:6055
-#: ../src/guestfs-actions.pod:6072 ../src/guestfs-actions.pod:6096
-#: ../src/guestfs-actions.pod:6770 ../src/guestfs-actions.pod:6789
-#: ../src/guestfs-actions.pod:6807 ../src/guestfs-actions.pod:6987
-#: ../src/guestfs-actions.pod:7259
+#: ../src/guestfs-actions.pod:357 ../src/guestfs-actions.pod:857
+#: ../src/guestfs-actions.pod:875 ../src/guestfs-actions.pod:935
+#: ../src/guestfs-actions.pod:951 ../src/guestfs-actions.pod:1054
+#: ../src/guestfs-actions.pod:1184 ../src/guestfs-actions.pod:1201
+#: ../src/guestfs-actions.pod:1220 ../src/guestfs-actions.pod:1349
+#: ../src/guestfs-actions.pod:1540 ../src/guestfs-actions.pod:1652
+#: ../src/guestfs-actions.pod:1815 ../src/guestfs-actions.pod:1832
+#: ../src/guestfs-actions.pod:1899 ../src/guestfs-actions.pod:1933
+#: ../src/guestfs-actions.pod:1954 ../src/guestfs-actions.pod:2124
+#: ../src/guestfs-actions.pod:2316 ../src/guestfs-actions.pod:2523
+#: ../src/guestfs-actions.pod:2604 ../src/guestfs-actions.pod:2671
+#: ../src/guestfs-actions.pod:2691 ../src/guestfs-actions.pod:2805
+#: ../src/guestfs-actions.pod:2836 ../src/guestfs-actions.pod:2860
+#: ../src/guestfs-actions.pod:2922 ../src/guestfs-actions.pod:2945
+#: ../src/guestfs-actions.pod:3512 ../src/guestfs-actions.pod:3862
+#: ../src/guestfs-actions.pod:4032 ../src/guestfs-actions.pod:4142
+#: ../src/guestfs-actions.pod:4887 ../src/guestfs-actions.pod:5080
+#: ../src/guestfs-actions.pod:5250 ../src/guestfs-actions.pod:5428
+#: ../src/guestfs-actions.pod:5477 ../src/guestfs-actions.pod:6085
+#: ../src/guestfs-actions.pod:6101 ../src/guestfs-actions.pod:6118
+#: ../src/guestfs-actions.pod:6142 ../src/guestfs-actions.pod:6816
+#: ../src/guestfs-actions.pod:6835 ../src/guestfs-actions.pod:6853
+#: ../src/guestfs-actions.pod:7033 ../src/guestfs-actions.pod:7305
msgid ""
"This function returns a string, or NULL on error. I<The caller must free "
"the returned string after use>."
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:354
+#: ../src/guestfs-actions.pod:362
msgid "guestfs_aug_init"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:356
+#: ../src/guestfs-actions.pod:364
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:361 ../fish/guestfish-actions.pod:225
+#: ../src/guestfs-actions.pod:369 ../fish/guestfish-actions.pod:232
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 "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:365
+#: ../src/guestfs-actions.pod:373
msgid "You must call this before using any other C<guestfs_aug_*> commands."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:368 ../fish/guestfish-actions.pod:232
+#: ../src/guestfs-actions.pod:376 ../fish/guestfish-actions.pod:239
msgid ""
"C<root> is the filesystem root. C<root> must not be NULL, use C</> instead."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:371 ../fish/guestfish-actions.pod:235
+#: ../src/guestfs-actions.pod:379 ../fish/guestfish-actions.pod:242
msgid ""
"The flags are the same as the flags defined in E<lt>augeas.hE<gt>, the "
"logical I<or> of the following integers:"
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:377 ../fish/guestfish-actions.pod:241
+#: ../src/guestfs-actions.pod:385 ../fish/guestfish-actions.pod:248
msgid "C<AUG_SAVE_BACKUP> = 1"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:379 ../fish/guestfish-actions.pod:243
+#: ../src/guestfs-actions.pod:387 ../fish/guestfish-actions.pod:250
msgid "Keep the original file with a C<.augsave> extension."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:381 ../fish/guestfish-actions.pod:245
+#: ../src/guestfs-actions.pod:389 ../fish/guestfish-actions.pod:252
msgid "C<AUG_SAVE_NEWFILE> = 2"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:383 ../fish/guestfish-actions.pod:247
+#: ../src/guestfs-actions.pod:391 ../fish/guestfish-actions.pod:254
msgid ""
"Save changes into a file with extension C<.augnew>, and do not overwrite "
"original. Overrides C<AUG_SAVE_BACKUP>."
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:386 ../fish/guestfish-actions.pod:250
+#: ../src/guestfs-actions.pod:394 ../fish/guestfish-actions.pod:257
msgid "C<AUG_TYPE_CHECK> = 4"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:388 ../fish/guestfish-actions.pod:252
+#: ../src/guestfs-actions.pod:396 ../fish/guestfish-actions.pod:259
msgid "Typecheck lenses (can be expensive)."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:390 ../fish/guestfish-actions.pod:254
+#: ../src/guestfs-actions.pod:398 ../fish/guestfish-actions.pod:261
msgid "C<AUG_NO_STDINC> = 8"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:392 ../fish/guestfish-actions.pod:256
+#: ../src/guestfs-actions.pod:400 ../fish/guestfish-actions.pod:263
msgid "Do not use standard load path for modules."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:394 ../fish/guestfish-actions.pod:258
+#: ../src/guestfs-actions.pod:402 ../fish/guestfish-actions.pod:265
msgid "C<AUG_SAVE_NOOP> = 16"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:396 ../fish/guestfish-actions.pod:260
+#: ../src/guestfs-actions.pod:404 ../fish/guestfish-actions.pod:267
msgid "Make save a no-op, just record what would have been changed."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:398 ../fish/guestfish-actions.pod:262
+#: ../src/guestfs-actions.pod:406 ../fish/guestfish-actions.pod:269
msgid "C<AUG_NO_LOAD> = 32"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:400
+#: ../src/guestfs-actions.pod:408
msgid "Do not load the tree in C<guestfs_aug_init>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:404
+#: ../src/guestfs-actions.pod:412
msgid "To close the handle, you can call C<guestfs_aug_close>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:406 ../fish/guestfish-actions.pod:270
+#: ../src/guestfs-actions.pod:414 ../fish/guestfish-actions.pod:277
msgid "To find out more about Augeas, see L<http://augeas.net/>."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:412
+#: ../src/guestfs-actions.pod:420
msgid "guestfs_aug_insert"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:414
+#: ../src/guestfs-actions.pod:422
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:420 ../fish/guestfish-actions.pod:276
+#: ../src/guestfs-actions.pod:428 ../fish/guestfish-actions.pod:283
msgid ""
"Create a new sibling C<label> for C<path>, inserting it into the tree before "
"or after C<path> (depending on the boolean flag C<before>)."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:424 ../fish/guestfish-actions.pod:280
+#: ../src/guestfs-actions.pod:432 ../fish/guestfish-actions.pod:287
msgid ""
"C<path> must match exactly one existing node in the tree, and C<label> must "
"be a label, ie. not contain C</>, C<*> or end with a bracketed index C<[N]>."
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:432
+#: ../src/guestfs-actions.pod:440
msgid "guestfs_aug_load"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:434
+#: ../src/guestfs-actions.pod:442
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:437 ../fish/guestfish-actions.pod:288
+#: ../src/guestfs-actions.pod:445 ../fish/guestfish-actions.pod:295
msgid "Load files into the tree."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:439 ../fish/guestfish-actions.pod:290
+#: ../src/guestfs-actions.pod:447 ../fish/guestfish-actions.pod:297
msgid "See C<aug_load> in the Augeas documentation for the full gory details."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:446
+#: ../src/guestfs-actions.pod:454
msgid "guestfs_aug_ls"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:448
+#: ../src/guestfs-actions.pod:456
#, no-wrap
msgid ""
" char **\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:452
+#: ../src/guestfs-actions.pod:460
msgid ""
"This is just a shortcut for listing C<guestfs_aug_match> C<path/*> and "
"sorting the resulting nodes into alphabetical order."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:455 ../src/guestfs-actions.pod:471
-#: ../src/guestfs-actions.pod:617 ../src/guestfs-actions.pod:1065
-#: ../src/guestfs-actions.pod:1356 ../src/guestfs-actions.pod:1375
-#: ../src/guestfs-actions.pod:1478 ../src/guestfs-actions.pod:1497
-#: ../src/guestfs-actions.pod:1746 ../src/guestfs-actions.pod:2178
-#: ../src/guestfs-actions.pod:2194 ../src/guestfs-actions.pod:2213
-#: ../src/guestfs-actions.pod:2256 ../src/guestfs-actions.pod:2280
-#: ../src/guestfs-actions.pod:2351 ../src/guestfs-actions.pod:2400
-#: ../src/guestfs-actions.pod:2611 ../src/guestfs-actions.pod:2861
-#: ../src/guestfs-actions.pod:3129 ../src/guestfs-actions.pod:3414
-#: ../src/guestfs-actions.pod:3476 ../src/guestfs-actions.pod:3581
-#: ../src/guestfs-actions.pod:3986 ../src/guestfs-actions.pod:4684
-#: ../src/guestfs-actions.pod:5204 ../src/guestfs-actions.pod:5330
-#: ../src/guestfs-actions.pod:5444 ../src/guestfs-actions.pod:6112
-#: ../src/guestfs-actions.pod:6173 ../src/guestfs-actions.pod:6228
-#: ../src/guestfs-actions.pod:6374 ../src/guestfs-actions.pod:6398
-#: ../src/guestfs-actions.pod:6880 ../src/guestfs-actions.pod:6900
-#: ../src/guestfs-actions.pod:6947 ../src/guestfs-actions.pod:7112
-#: ../src/guestfs-actions.pod:7131 ../src/guestfs-actions.pod:7216
-#: ../src/guestfs-actions.pod:7235 ../src/guestfs-actions.pod:7281
-#: ../src/guestfs-actions.pod:7300
+#: ../src/guestfs-actions.pod:463 ../src/guestfs-actions.pod:479
+#: ../src/guestfs-actions.pod:625 ../src/guestfs-actions.pod:1073
+#: ../src/guestfs-actions.pod:1364 ../src/guestfs-actions.pod:1383
+#: ../src/guestfs-actions.pod:1486 ../src/guestfs-actions.pod:1505
+#: ../src/guestfs-actions.pod:1754 ../src/guestfs-actions.pod:2196
+#: ../src/guestfs-actions.pod:2212 ../src/guestfs-actions.pod:2231
+#: ../src/guestfs-actions.pod:2274 ../src/guestfs-actions.pod:2298
+#: ../src/guestfs-actions.pod:2369 ../src/guestfs-actions.pod:2418
+#: ../src/guestfs-actions.pod:2629 ../src/guestfs-actions.pod:2879
+#: ../src/guestfs-actions.pod:3147 ../src/guestfs-actions.pod:3432
+#: ../src/guestfs-actions.pod:3494 ../src/guestfs-actions.pod:3599
+#: ../src/guestfs-actions.pod:4004 ../src/guestfs-actions.pod:4702
+#: ../src/guestfs-actions.pod:5222 ../src/guestfs-actions.pod:5348
+#: ../src/guestfs-actions.pod:5462 ../src/guestfs-actions.pod:6158
+#: ../src/guestfs-actions.pod:6219 ../src/guestfs-actions.pod:6274
+#: ../src/guestfs-actions.pod:6420 ../src/guestfs-actions.pod:6444
+#: ../src/guestfs-actions.pod:6926 ../src/guestfs-actions.pod:6946
+#: ../src/guestfs-actions.pod:6993 ../src/guestfs-actions.pod:7158
+#: ../src/guestfs-actions.pod:7177 ../src/guestfs-actions.pod:7262
+#: ../src/guestfs-actions.pod:7281 ../src/guestfs-actions.pod:7327
+#: ../src/guestfs-actions.pod:7346
msgid ""
"This function returns a NULL-terminated array of strings (like L<environ(3)"
">), or NULL if there was an error. I<The caller must free the strings and "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:459 ../src/guestfs-actions.pod:990
-#: ../src/guestfs-actions.pod:1008 ../src/guestfs-actions.pod:1413
-#: ../src/guestfs-actions.pod:3207 ../src/guestfs-actions.pod:3238
-#: ../src/guestfs-actions.pod:3827 ../src/guestfs-actions.pod:3877
-#: ../src/guestfs-actions.pod:4064 ../src/guestfs-actions.pod:4097
-#: ../src/guestfs-actions.pod:4260 ../src/guestfs-actions.pod:4688
-#: ../src/guestfs-actions.pod:5145 ../src/guestfs-actions.pod:5540
-#: ../src/guestfs-actions.pod:5554 ../src/guestfs-actions.pod:5566
-#: ../src/guestfs-actions.pod:5974 ../src/guestfs-actions.pod:6612
-#: ../src/guestfs-actions.pod:6625 ../src/guestfs-actions.pod:6864
-#: ../src/guestfs-actions.pod:7100
+#: ../src/guestfs-actions.pod:467 ../src/guestfs-actions.pod:998
+#: ../src/guestfs-actions.pod:1016 ../src/guestfs-actions.pod:1421
+#: ../src/guestfs-actions.pod:3225 ../src/guestfs-actions.pod:3256
+#: ../src/guestfs-actions.pod:3845 ../src/guestfs-actions.pod:3895
+#: ../src/guestfs-actions.pod:4082 ../src/guestfs-actions.pod:4115
+#: ../src/guestfs-actions.pod:4278 ../src/guestfs-actions.pod:4706
+#: ../src/guestfs-actions.pod:5163 ../src/guestfs-actions.pod:5558
+#: ../src/guestfs-actions.pod:5572 ../src/guestfs-actions.pod:5584
+#: ../src/guestfs-actions.pod:6020 ../src/guestfs-actions.pod:6658
+#: ../src/guestfs-actions.pod:6671 ../src/guestfs-actions.pod:6910
+#: ../src/guestfs-actions.pod:7146
msgid "(Added in 0.8)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:461
+#: ../src/guestfs-actions.pod:469
msgid "guestfs_aug_match"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:463
+#: ../src/guestfs-actions.pod:471
#, no-wrap
msgid ""
" char **\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:467 ../fish/guestfish-actions.pod:304
+#: ../src/guestfs-actions.pod:475 ../fish/guestfish-actions.pod:311
msgid ""
"Returns a list of paths which match the path expression C<path>. The "
"returned paths are sufficiently qualified so that they match exactly one "
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:477
+#: ../src/guestfs-actions.pod:485
msgid "guestfs_aug_mv"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:479
+#: ../src/guestfs-actions.pod:487
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:484 ../fish/guestfish-actions.pod:312
+#: ../src/guestfs-actions.pod:492 ../fish/guestfish-actions.pod:319
msgid ""
"Move the node C<src> to C<dest>. C<src> must match exactly one node. "
"C<dest> is overwritten if it exists."
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:491
+#: ../src/guestfs-actions.pod:499
msgid "guestfs_aug_rm"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:493
+#: ../src/guestfs-actions.pod:501
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:497 ../fish/guestfish-actions.pod:319
+#: ../src/guestfs-actions.pod:505 ../fish/guestfish-actions.pod:326
msgid "Remove C<path> and all of its children."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:499 ../fish/guestfish-actions.pod:321
+#: ../src/guestfs-actions.pod:507 ../fish/guestfish-actions.pod:328
msgid "On success this returns the number of entries which were removed."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:505
+#: ../src/guestfs-actions.pod:513
msgid "guestfs_aug_save"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:507
+#: ../src/guestfs-actions.pod:515
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:510 ../fish/guestfish-actions.pod:327
+#: ../src/guestfs-actions.pod:518 ../fish/guestfish-actions.pod:334
msgid "This writes all pending changes to disk."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:512
+#: ../src/guestfs-actions.pod:520
msgid ""
"The flags which were passed to C<guestfs_aug_init> affect exactly how files "
"are saved."
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:519
+#: ../src/guestfs-actions.pod:527
msgid "guestfs_aug_set"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:521
+#: ../src/guestfs-actions.pod:529
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:526 ../fish/guestfish-actions.pod:336
+#: ../src/guestfs-actions.pod:534 ../fish/guestfish-actions.pod:343
msgid "Set the value associated with C<path> to C<val>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:528
+#: ../src/guestfs-actions.pod:536
msgid ""
"In the Augeas API, it is possible to clear a node by setting the value to "
"NULL. Due to an oversight in the libguestfs API you cannot do that with "
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:537
+#: ../src/guestfs-actions.pod:545
msgid "guestfs_available"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:539
+#: ../src/guestfs-actions.pod:547
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:543 ../fish/guestfish-actions.pod:347
+#: ../src/guestfs-actions.pod:551 ../fish/guestfish-actions.pod:354
msgid ""
"This command is used to check the availability of some groups of "
"functionality in the appliance, which not all builds of the libguestfs "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:547
+#: ../src/guestfs-actions.pod:555
msgid ""
"The libguestfs groups, and the functions that those groups correspond to, "
"are listed in L<guestfs(3)/AVAILABILITY>. You can also fetch this list at "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:552 ../fish/guestfish-actions.pod:356
+#: ../src/guestfs-actions.pod:560 ../fish/guestfish-actions.pod:363
msgid ""
"The argument C<groups> is a list of group names, eg: C<[\"inotify\", \"augeas"
"\"]> would check for the availability of the Linux inotify functions and "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:557 ../fish/guestfish-actions.pod:361
+#: ../src/guestfs-actions.pod:565 ../fish/guestfish-actions.pod:368
msgid "The command returns no error if I<all> requested groups are available."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:559 ../fish/guestfish-actions.pod:363
+#: ../src/guestfs-actions.pod:567 ../fish/guestfish-actions.pod:370
msgid ""
"It fails with an error if one or more of the requested groups is unavailable "
"in the appliance."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:562 ../fish/guestfish-actions.pod:366
+#: ../src/guestfs-actions.pod:570 ../fish/guestfish-actions.pod:373
msgid ""
"If an unknown group name is included in the list of groups then an error is "
"always returned."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:565 ../fish/guestfish-actions.pod:369
+#: ../src/guestfs-actions.pod:573 ../fish/guestfish-actions.pod:376
msgid "I<Notes:>"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:571
+#: ../src/guestfs-actions.pod:579
msgid "You must call C<guestfs_launch> before calling this function."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:573 ../fish/guestfish-actions.pod:377
+#: ../src/guestfs-actions.pod:581 ../fish/guestfish-actions.pod:384
msgid ""
"The reason is because we don't know what groups are supported by the "
"appliance/daemon until it is running and can be queried."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:579 ../fish/guestfish-actions.pod:383
+#: ../src/guestfs-actions.pod:587 ../fish/guestfish-actions.pod:390
msgid ""
"If a group of functions is available, this does not necessarily mean that "
"they will work. You still have to check for errors when calling individual "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:586 ../fish/guestfish-actions.pod:390
+#: ../src/guestfs-actions.pod:594 ../fish/guestfish-actions.pod:397
msgid ""
"It is usually the job of distro packagers to build complete functionality "
"into the libguestfs appliance. Upstream libguestfs, if built from source "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:593
+#: ../src/guestfs-actions.pod:601
msgid ""
"This call was added in version C<1.0.80>. In previous versions of "
"libguestfs all you could do would be to speculatively execute a command to "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:602 ../src/guestfs-actions.pod:1163
+#: ../src/guestfs-actions.pod:610 ../src/guestfs-actions.pod:1171
msgid "(Added in 1.0.80)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:604
+#: ../src/guestfs-actions.pod:612
msgid "guestfs_available_all_groups"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:606
+#: ../src/guestfs-actions.pod:614
#, no-wrap
msgid ""
" char **\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:609
+#: ../src/guestfs-actions.pod:617
msgid ""
"This command returns a list of all optional groups that this daemon knows "
"about. Note this returns both supported and unsupported groups. To find "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:615
+#: ../src/guestfs-actions.pod:623
msgid "See also C<guestfs_available> and L<guestfs(3)/AVAILABILITY>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:621
+#: ../src/guestfs-actions.pod:629
msgid "(Added in 1.3.15)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:623
+#: ../src/guestfs-actions.pod:631
msgid "guestfs_base64_in"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:625
+#: ../src/guestfs-actions.pod:633
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:630 ../fish/guestfish-actions.pod:420
+#: ../src/guestfs-actions.pod:638 ../fish/guestfish-actions.pod:427
msgid ""
"This command uploads base64-encoded data from C<base64file> to C<filename>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:635 ../src/guestfs-actions.pod:649
+#: ../src/guestfs-actions.pod:643 ../src/guestfs-actions.pod:657
msgid "(Added in 1.3.5)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:637
+#: ../src/guestfs-actions.pod:645
msgid "guestfs_base64_out"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:639
+#: ../src/guestfs-actions.pod:647
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:644 ../fish/guestfish-actions.pod:429
+#: ../src/guestfs-actions.pod:652 ../fish/guestfish-actions.pod:436
msgid ""
"This command downloads the contents of C<filename>, writing it out to local "
"file C<base64file> encoded as base64."
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:651
+#: ../src/guestfs-actions.pod:659
msgid "guestfs_blockdev_flushbufs"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:653
+#: ../src/guestfs-actions.pod:661
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:657 ../fish/guestfish-actions.pod:438
+#: ../src/guestfs-actions.pod:665 ../fish/guestfish-actions.pod:445
msgid ""
"This tells the kernel to flush internal buffers associated with C<device>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:660 ../src/guestfs-actions.pod:677
-#: ../src/guestfs-actions.pod:692 ../src/guestfs-actions.pod:708
-#: ../src/guestfs-actions.pod:726 ../src/guestfs-actions.pod:745
-#: ../src/guestfs-actions.pod:759 ../src/guestfs-actions.pod:777
-#: ../src/guestfs-actions.pod:791 ../src/guestfs-actions.pod:805
-#: ../fish/guestfish-actions.pod:441 ../fish/guestfish-actions.pod:452
-#: ../fish/guestfish-actions.pod:461 ../fish/guestfish-actions.pod:471
-#: ../fish/guestfish-actions.pod:483 ../fish/guestfish-actions.pod:496
-#: ../fish/guestfish-actions.pod:504 ../fish/guestfish-actions.pod:515
-#: ../fish/guestfish-actions.pod:523 ../fish/guestfish-actions.pod:531
+#: ../src/guestfs-actions.pod:668 ../src/guestfs-actions.pod:685
+#: ../src/guestfs-actions.pod:700 ../src/guestfs-actions.pod:716
+#: ../src/guestfs-actions.pod:734 ../src/guestfs-actions.pod:753
+#: ../src/guestfs-actions.pod:767 ../src/guestfs-actions.pod:785
+#: ../src/guestfs-actions.pod:799 ../src/guestfs-actions.pod:813
+#: ../fish/guestfish-actions.pod:448 ../fish/guestfish-actions.pod:459
+#: ../fish/guestfish-actions.pod:468 ../fish/guestfish-actions.pod:478
+#: ../fish/guestfish-actions.pod:490 ../fish/guestfish-actions.pod:503
+#: ../fish/guestfish-actions.pod:511 ../fish/guestfish-actions.pod:522
+#: ../fish/guestfish-actions.pod:530 ../fish/guestfish-actions.pod:538
msgid "This uses the L<blockdev(8)> command."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:664 ../src/guestfs-actions.pod:681
-#: ../src/guestfs-actions.pod:696 ../src/guestfs-actions.pod:712
-#: ../src/guestfs-actions.pod:730 ../src/guestfs-actions.pod:749
-#: ../src/guestfs-actions.pod:763 ../src/guestfs-actions.pod:781
-#: ../src/guestfs-actions.pod:795 ../src/guestfs-actions.pod:809
+#: ../src/guestfs-actions.pod:672 ../src/guestfs-actions.pod:689
+#: ../src/guestfs-actions.pod:704 ../src/guestfs-actions.pod:720
+#: ../src/guestfs-actions.pod:738 ../src/guestfs-actions.pod:757
+#: ../src/guestfs-actions.pod:771 ../src/guestfs-actions.pod:789
+#: ../src/guestfs-actions.pod:803 ../src/guestfs-actions.pod:817
msgid "(Added in 0.9.3)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:666
+#: ../src/guestfs-actions.pod:674
msgid "guestfs_blockdev_getbsz"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:668
+#: ../src/guestfs-actions.pod:676
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:672 ../fish/guestfish-actions.pod:447
+#: ../src/guestfs-actions.pod:680 ../fish/guestfish-actions.pod:454
msgid "This returns the block size of a device."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:674 ../src/guestfs-actions.pod:774
-#: ../fish/guestfish-actions.pod:449 ../fish/guestfish-actions.pod:512
+#: ../src/guestfs-actions.pod:682 ../src/guestfs-actions.pod:782
+#: ../fish/guestfish-actions.pod:456 ../fish/guestfish-actions.pod:519
msgid ""
"(Note this is different from both I<size in blocks> and I<filesystem block "
"size>)."
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:683
+#: ../src/guestfs-actions.pod:691
msgid "guestfs_blockdev_getro"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:685
+#: ../src/guestfs-actions.pod:693
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:689 ../fish/guestfish-actions.pod:458
+#: ../src/guestfs-actions.pod:697 ../fish/guestfish-actions.pod:465
msgid ""
"Returns a boolean indicating if the block device is read-only (true if read-"
"only, false if not)."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:694 ../src/guestfs-actions.pod:1396
-#: ../src/guestfs-actions.pod:1411 ../src/guestfs-actions.pod:1891
-#: ../src/guestfs-actions.pod:1902 ../src/guestfs-actions.pod:1974
-#: ../src/guestfs-actions.pod:2029 ../src/guestfs-actions.pod:2044
-#: ../src/guestfs-actions.pod:2069 ../src/guestfs-actions.pod:2092
-#: ../src/guestfs-actions.pod:2947 ../src/guestfs-actions.pod:2964
-#: ../src/guestfs-actions.pod:2983 ../src/guestfs-actions.pod:3146
-#: ../src/guestfs-actions.pod:3160 ../src/guestfs-actions.pod:3175
-#: ../src/guestfs-actions.pod:3189 ../src/guestfs-actions.pod:3205
-#: ../src/guestfs-actions.pod:3220 ../src/guestfs-actions.pod:3236
-#: ../src/guestfs-actions.pod:3250 ../src/guestfs-actions.pod:3263
-#: ../src/guestfs-actions.pod:3277 ../src/guestfs-actions.pod:3292
-#: ../src/guestfs-actions.pod:3307 ../src/guestfs-actions.pod:4833
+#: ../src/guestfs-actions.pod:702 ../src/guestfs-actions.pod:1404
+#: ../src/guestfs-actions.pod:1419 ../src/guestfs-actions.pod:1909
+#: ../src/guestfs-actions.pod:1920 ../src/guestfs-actions.pod:1992
+#: ../src/guestfs-actions.pod:2047 ../src/guestfs-actions.pod:2062
+#: ../src/guestfs-actions.pod:2087 ../src/guestfs-actions.pod:2110
+#: ../src/guestfs-actions.pod:2965 ../src/guestfs-actions.pod:2982
+#: ../src/guestfs-actions.pod:3001 ../src/guestfs-actions.pod:3164
+#: ../src/guestfs-actions.pod:3178 ../src/guestfs-actions.pod:3193
+#: ../src/guestfs-actions.pod:3207 ../src/guestfs-actions.pod:3223
+#: ../src/guestfs-actions.pod:3238 ../src/guestfs-actions.pod:3254
+#: ../src/guestfs-actions.pod:3268 ../src/guestfs-actions.pod:3281
+#: ../src/guestfs-actions.pod:3295 ../src/guestfs-actions.pod:3310
+#: ../src/guestfs-actions.pod:3325 ../src/guestfs-actions.pod:4851
msgid "This function returns a C truth value on success or -1 on error."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:698
+#: ../src/guestfs-actions.pod:706
msgid "guestfs_blockdev_getsize64"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:700
+#: ../src/guestfs-actions.pod:708
#, no-wrap
msgid ""
" int64_t\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:704 ../fish/guestfish-actions.pod:467
+#: ../src/guestfs-actions.pod:712 ../fish/guestfish-actions.pod:474
msgid "This returns the size of the device in bytes."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:706
+#: ../src/guestfs-actions.pod:714
msgid "See also C<guestfs_blockdev_getsz>."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:714
+#: ../src/guestfs-actions.pod:722
msgid "guestfs_blockdev_getss"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:716
+#: ../src/guestfs-actions.pod:724
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:720 ../fish/guestfish-actions.pod:477
+#: ../src/guestfs-actions.pod:728 ../fish/guestfish-actions.pod:484
msgid ""
"This returns the size of sectors on a block device. Usually 512, but can be "
"larger for modern devices."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:723
+#: ../src/guestfs-actions.pod:731
msgid ""
"(Note, this is not the size in sectors, use C<guestfs_blockdev_getsz> for "
"that)."
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:732
+#: ../src/guestfs-actions.pod:740
msgid "guestfs_blockdev_getsz"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:734
+#: ../src/guestfs-actions.pod:742
#, no-wrap
msgid ""
" int64_t\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:738 ../fish/guestfish-actions.pod:489
+#: ../src/guestfs-actions.pod:746 ../fish/guestfish-actions.pod:496
msgid ""
"This returns the size of the device in units of 512-byte sectors (even if "
"the sectorsize isn't 512 bytes ... weird)."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:741
+#: ../src/guestfs-actions.pod:749
msgid ""
"See also C<guestfs_blockdev_getss> for the real sector size of the device, "
"and C<guestfs_blockdev_getsize64> for the more useful I<size in bytes>."
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:751
+#: ../src/guestfs-actions.pod:759
msgid "guestfs_blockdev_rereadpt"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:753
+#: ../src/guestfs-actions.pod:761
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:757 ../fish/guestfish-actions.pod:502
+#: ../src/guestfs-actions.pod:765 ../fish/guestfish-actions.pod:509
msgid "Reread the partition table on C<device>."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:765
+#: ../src/guestfs-actions.pod:773
msgid "guestfs_blockdev_setbsz"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:767
+#: ../src/guestfs-actions.pod:775
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:772 ../fish/guestfish-actions.pod:510
+#: ../src/guestfs-actions.pod:780 ../fish/guestfish-actions.pod:517
msgid "This sets the block size of a device."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:783
+#: ../src/guestfs-actions.pod:791
msgid "guestfs_blockdev_setro"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:785
+#: ../src/guestfs-actions.pod:793
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:789 ../fish/guestfish-actions.pod:521
+#: ../src/guestfs-actions.pod:797 ../fish/guestfish-actions.pod:528
msgid "Sets the block device named C<device> to read-only."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:797
+#: ../src/guestfs-actions.pod:805
msgid "guestfs_blockdev_setrw"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:799
+#: ../src/guestfs-actions.pod:807
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:803 ../fish/guestfish-actions.pod:529
+#: ../src/guestfs-actions.pod:811 ../fish/guestfish-actions.pod:536
msgid "Sets the block device named C<device> to read-write."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:811
+#: ../src/guestfs-actions.pod:819
msgid "guestfs_case_sensitive_path"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:813
+#: ../src/guestfs-actions.pod:821
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:817 ../fish/guestfish-actions.pod:537
+#: ../src/guestfs-actions.pod:825 ../fish/guestfish-actions.pod:544
msgid ""
"This can be used to resolve case insensitive paths on a filesystem which is "
"case sensitive. The use case is to resolve paths which you have read from "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:822 ../fish/guestfish-actions.pod:542
+#: ../src/guestfs-actions.pod:830 ../fish/guestfish-actions.pod:549
msgid ""
"The command handles a peculiarity of the Linux ntfs-3g filesystem driver "
"(and probably others), which is that although the underlying filesystem is "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:827 ../fish/guestfish-actions.pod:547
+#: ../src/guestfs-actions.pod:835 ../fish/guestfish-actions.pod:554
msgid ""
"One consequence of this is that special directories such as C<c:\\windows> "
"may appear as C</WINDOWS> or C</windows> (or other things) depending on the "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:833 ../fish/guestfish-actions.pod:553
+#: ../src/guestfs-actions.pod:841 ../fish/guestfish-actions.pod:560
msgid ""
"Bug or feature? You decide: L<http://www.tuxera.com/community/ntfs-3g-faq/"
"#posixfilenames1>"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:836 ../fish/guestfish-actions.pod:556
+#: ../src/guestfs-actions.pod:844 ../fish/guestfish-actions.pod:563
msgid ""
"This function resolves the true case of each element in the path and returns "
"the case-sensitive path."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:839
+#: ../src/guestfs-actions.pod:847
msgid ""
"Thus C<guestfs_case_sensitive_path> (\"/Windows/System32\") might return C<"
"\"/WINDOWS/system32\"> (the exact return value would depend on details of "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:844 ../fish/guestfish-actions.pod:564
+#: ../src/guestfs-actions.pod:852 ../fish/guestfish-actions.pod:571
msgid "I<Note>: This function does not handle drive names, backslashes etc."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:847
+#: ../src/guestfs-actions.pod:855
msgid "See also C<guestfs_realpath>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:852 ../src/guestfs-actions.pod:6792
+#: ../src/guestfs-actions.pod:860 ../src/guestfs-actions.pod:6838
msgid "(Added in 1.0.75)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:854
+#: ../src/guestfs-actions.pod:862
msgid "guestfs_cat"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:856
+#: ../src/guestfs-actions.pod:864
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:860 ../src/guestfs-actions.pod:5320
-#: ../fish/guestfish-actions.pod:573 ../fish/guestfish-actions.pod:3554
+#: ../src/guestfs-actions.pod:868 ../src/guestfs-actions.pod:5338
+#: ../fish/guestfish-actions.pod:580 ../fish/guestfish-actions.pod:3567
msgid "Return the contents of the file named C<path>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:862
+#: ../src/guestfs-actions.pod:870
msgid ""
"Note that this function cannot correctly handle binary files (specifically, "
"files containing C<\\0> character which is treated as end of string). For "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:870 ../src/guestfs-actions.pod:1049
-#: ../src/guestfs-actions.pod:1069 ../src/guestfs-actions.pod:1360
-#: ../src/guestfs-actions.pod:1379 ../src/guestfs-actions.pod:1482
-#: ../src/guestfs-actions.pod:1501 ../src/guestfs-actions.pod:1750
-#: ../src/guestfs-actions.pod:2198 ../src/guestfs-actions.pod:2217
-#: ../src/guestfs-actions.pod:2260 ../src/guestfs-actions.pod:2284
-#: ../src/guestfs-actions.pod:2301 ../src/guestfs-actions.pod:2330
-#: ../src/guestfs-actions.pod:5102 ../src/guestfs-actions.pod:5128
-#: ../src/guestfs-actions.pod:5259 ../src/guestfs-actions.pod:5285
-#: ../src/guestfs-actions.pod:5309 ../src/guestfs-actions.pod:6177
-#: ../src/guestfs-actions.pod:6232 ../src/guestfs-actions.pod:6378
-#: ../src/guestfs-actions.pod:6402 ../src/guestfs-actions.pod:7064
-#: ../src/guestfs-actions.pod:7090 ../src/guestfs-actions.pod:7116
-#: ../src/guestfs-actions.pod:7135 ../src/guestfs-actions.pod:7220
-#: ../src/guestfs-actions.pod:7239 ../src/guestfs-actions.pod:7285
-#: ../src/guestfs-actions.pod:7304 ../fish/guestfish-actions.pod:580
-#: ../fish/guestfish-actions.pod:715 ../fish/guestfish-actions.pod:727
-#: ../fish/guestfish-actions.pod:903 ../fish/guestfish-actions.pod:913
-#: ../fish/guestfish-actions.pod:980 ../fish/guestfish-actions.pod:990
-#: ../fish/guestfish-actions.pod:1185 ../fish/guestfish-actions.pod:1480
-#: ../fish/guestfish-actions.pod:1490 ../fish/guestfish-actions.pod:1518
-#: ../fish/guestfish-actions.pod:1533 ../fish/guestfish-actions.pod:1543
-#: ../fish/guestfish-actions.pod:1562 ../fish/guestfish-actions.pod:3424
-#: ../fish/guestfish-actions.pod:3439 ../fish/guestfish-actions.pod:3515
-#: ../fish/guestfish-actions.pod:3532 ../fish/guestfish-actions.pod:3547
-#: ../fish/guestfish-actions.pod:4143 ../fish/guestfish-actions.pod:4189
-#: ../fish/guestfish-actions.pod:4274 ../fish/guestfish-actions.pod:4289
-#: ../fish/guestfish-actions.pod:4699 ../fish/guestfish-actions.pod:4717
-#: ../fish/guestfish-actions.pod:4734 ../fish/guestfish-actions.pod:4744
-#: ../fish/guestfish-actions.pod:4792 ../fish/guestfish-actions.pod:4802
+#: ../src/guestfs-actions.pod:878 ../src/guestfs-actions.pod:1057
+#: ../src/guestfs-actions.pod:1077 ../src/guestfs-actions.pod:1368
+#: ../src/guestfs-actions.pod:1387 ../src/guestfs-actions.pod:1490
+#: ../src/guestfs-actions.pod:1509 ../src/guestfs-actions.pod:1758
+#: ../src/guestfs-actions.pod:2216 ../src/guestfs-actions.pod:2235
+#: ../src/guestfs-actions.pod:2278 ../src/guestfs-actions.pod:2302
+#: ../src/guestfs-actions.pod:2319 ../src/guestfs-actions.pod:2348
+#: ../src/guestfs-actions.pod:5120 ../src/guestfs-actions.pod:5146
+#: ../src/guestfs-actions.pod:5277 ../src/guestfs-actions.pod:5303
+#: ../src/guestfs-actions.pod:5327 ../src/guestfs-actions.pod:6223
+#: ../src/guestfs-actions.pod:6278 ../src/guestfs-actions.pod:6424
+#: ../src/guestfs-actions.pod:6448 ../src/guestfs-actions.pod:7110
+#: ../src/guestfs-actions.pod:7136 ../src/guestfs-actions.pod:7162
+#: ../src/guestfs-actions.pod:7181 ../src/guestfs-actions.pod:7266
+#: ../src/guestfs-actions.pod:7285 ../src/guestfs-actions.pod:7331
+#: ../src/guestfs-actions.pod:7350 ../fish/guestfish-actions.pod:587
+#: ../fish/guestfish-actions.pod:722 ../fish/guestfish-actions.pod:734
+#: ../fish/guestfish-actions.pod:910 ../fish/guestfish-actions.pod:920
+#: ../fish/guestfish-actions.pod:987 ../fish/guestfish-actions.pod:997
+#: ../fish/guestfish-actions.pod:1192 ../fish/guestfish-actions.pod:1493
+#: ../fish/guestfish-actions.pod:1503 ../fish/guestfish-actions.pod:1531
+#: ../fish/guestfish-actions.pod:1546 ../fish/guestfish-actions.pod:1556
+#: ../fish/guestfish-actions.pod:1575 ../fish/guestfish-actions.pod:3437
+#: ../fish/guestfish-actions.pod:3452 ../fish/guestfish-actions.pod:3528
+#: ../fish/guestfish-actions.pod:3545 ../fish/guestfish-actions.pod:3560
+#: ../fish/guestfish-actions.pod:4182 ../fish/guestfish-actions.pod:4228
+#: ../fish/guestfish-actions.pod:4313 ../fish/guestfish-actions.pod:4328
+#: ../fish/guestfish-actions.pod:4738 ../fish/guestfish-actions.pod:4756
+#: ../fish/guestfish-actions.pod:4773 ../fish/guestfish-actions.pod:4783
#: ../fish/guestfish-actions.pod:4831 ../fish/guestfish-actions.pod:4841
+#: ../fish/guestfish-actions.pod:4870 ../fish/guestfish-actions.pod:4880
msgid ""
"Because of the message protocol, there is a transfer limit of somewhere "
"between 2MB and 4MB. See L<guestfs(3)/PROTOCOL LIMITS>."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:873 ../src/guestfs-actions.pod:3418
-#: ../src/guestfs-actions.pod:3480 ../src/guestfs-actions.pod:3497
-#: ../src/guestfs-actions.pod:3585 ../src/guestfs-actions.pod:3990
-#: ../src/guestfs-actions.pod:4004 ../src/guestfs-actions.pod:5208
-#: ../src/guestfs-actions.pod:5222 ../src/guestfs-actions.pod:6951
-#: ../src/guestfs-actions.pod:6965
+#: ../src/guestfs-actions.pod:881 ../src/guestfs-actions.pod:3436
+#: ../src/guestfs-actions.pod:3498 ../src/guestfs-actions.pod:3515
+#: ../src/guestfs-actions.pod:3603 ../src/guestfs-actions.pod:4008
+#: ../src/guestfs-actions.pod:4022 ../src/guestfs-actions.pod:5226
+#: ../src/guestfs-actions.pod:5240 ../src/guestfs-actions.pod:6997
+#: ../src/guestfs-actions.pod:7011
msgid "(Added in 0.4)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:875
+#: ../src/guestfs-actions.pod:883
msgid "guestfs_checksum"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:877
+#: ../src/guestfs-actions.pod:885
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:882 ../fish/guestfish-actions.pod:587
+#: ../src/guestfs-actions.pod:890 ../fish/guestfish-actions.pod:594
msgid ""
"This call computes the MD5, SHAx or CRC checksum of the file named C<path>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:885 ../fish/guestfish-actions.pod:590
+#: ../src/guestfs-actions.pod:893 ../fish/guestfish-actions.pod:597
msgid ""
"The type of checksum to compute is given by the C<csumtype> parameter which "
"must have one of the following values:"
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:890 ../fish/guestfish-actions.pod:595
+#: ../src/guestfs-actions.pod:898 ../fish/guestfish-actions.pod:602
msgid "C<crc>"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:892 ../fish/guestfish-actions.pod:597
+#: ../src/guestfs-actions.pod:900 ../fish/guestfish-actions.pod:604
msgid ""
"Compute the cyclic redundancy check (CRC) specified by POSIX for the "
"C<cksum> command."
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:895 ../fish/guestfish-actions.pod:600
+#: ../src/guestfs-actions.pod:903 ../fish/guestfish-actions.pod:607
msgid "C<md5>"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:897 ../fish/guestfish-actions.pod:602
+#: ../src/guestfs-actions.pod:905 ../fish/guestfish-actions.pod:609
msgid "Compute the MD5 hash (using the C<md5sum> program)."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:899 ../fish/guestfish-actions.pod:604
+#: ../src/guestfs-actions.pod:907 ../fish/guestfish-actions.pod:611
msgid "C<sha1>"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:901 ../fish/guestfish-actions.pod:606
+#: ../src/guestfs-actions.pod:909 ../fish/guestfish-actions.pod:613
msgid "Compute the SHA1 hash (using the C<sha1sum> program)."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:903 ../fish/guestfish-actions.pod:608
+#: ../src/guestfs-actions.pod:911 ../fish/guestfish-actions.pod:615
msgid "C<sha224>"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:905 ../fish/guestfish-actions.pod:610
+#: ../src/guestfs-actions.pod:913 ../fish/guestfish-actions.pod:617
msgid "Compute the SHA224 hash (using the C<sha224sum> program)."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:907 ../fish/guestfish-actions.pod:612
+#: ../src/guestfs-actions.pod:915 ../fish/guestfish-actions.pod:619
msgid "C<sha256>"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:909 ../fish/guestfish-actions.pod:614
+#: ../src/guestfs-actions.pod:917 ../fish/guestfish-actions.pod:621
msgid "Compute the SHA256 hash (using the C<sha256sum> program)."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:911 ../fish/guestfish-actions.pod:616
+#: ../src/guestfs-actions.pod:919 ../fish/guestfish-actions.pod:623
msgid "C<sha384>"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:913 ../fish/guestfish-actions.pod:618
+#: ../src/guestfs-actions.pod:921 ../fish/guestfish-actions.pod:625
msgid "Compute the SHA384 hash (using the C<sha384sum> program)."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:915 ../fish/guestfish-actions.pod:620
+#: ../src/guestfs-actions.pod:923 ../fish/guestfish-actions.pod:627
msgid "C<sha512>"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:917 ../fish/guestfish-actions.pod:622
+#: ../src/guestfs-actions.pod:925 ../fish/guestfish-actions.pod:629
msgid "Compute the SHA512 hash (using the C<sha512sum> program)."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:921 ../fish/guestfish-actions.pod:626
+#: ../src/guestfs-actions.pod:929 ../fish/guestfish-actions.pod:633
msgid "The checksum is returned as a printable string."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:923
+#: ../src/guestfs-actions.pod:931
msgid "To get the checksum for a device, use C<guestfs_checksum_device>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:925
+#: ../src/guestfs-actions.pod:933
msgid "To get the checksums for many files, use C<guestfs_checksums_out>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:930 ../src/guestfs-actions.pod:1238
-#: ../src/guestfs-actions.pod:2060 ../src/guestfs-actions.pod:3162
-#: ../src/guestfs-actions.pod:3191 ../src/guestfs-actions.pod:3252
-#: ../src/guestfs-actions.pod:3279 ../src/guestfs-actions.pod:6648
+#: ../src/guestfs-actions.pod:938 ../src/guestfs-actions.pod:1246
+#: ../src/guestfs-actions.pod:2078 ../src/guestfs-actions.pod:3180
+#: ../src/guestfs-actions.pod:3209 ../src/guestfs-actions.pod:3270
+#: ../src/guestfs-actions.pod:3297 ../src/guestfs-actions.pod:6694
msgid "(Added in 1.0.2)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:932
+#: ../src/guestfs-actions.pod:940
msgid "guestfs_checksum_device"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:934
+#: ../src/guestfs-actions.pod:942
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:939
+#: ../src/guestfs-actions.pod:947
msgid ""
"This call computes the MD5, SHAx or CRC checksum of the contents of the "
"device named C<device>. For the types of checksums supported see the "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:946 ../src/guestfs-actions.pod:4739
-#: ../src/guestfs-actions.pod:4798 ../src/guestfs-actions.pod:4835
-#: ../src/guestfs-actions.pod:4853 ../src/guestfs-actions.pod:5029
-#: ../src/guestfs-actions.pod:6557 ../src/guestfs-actions.pod:6571
-#: ../src/guestfs-actions.pod:6977
+#: ../src/guestfs-actions.pod:954 ../src/guestfs-actions.pod:4757
+#: ../src/guestfs-actions.pod:4816 ../src/guestfs-actions.pod:4853
+#: ../src/guestfs-actions.pod:4871 ../src/guestfs-actions.pod:5047
+#: ../src/guestfs-actions.pod:6603 ../src/guestfs-actions.pod:6617
+#: ../src/guestfs-actions.pod:7023
msgid "(Added in 1.3.2)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:948
+#: ../src/guestfs-actions.pod:956
msgid "guestfs_checksums_out"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:950
+#: ../src/guestfs-actions.pod:958
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:956 ../fish/guestfish-actions.pod:644
+#: ../src/guestfs-actions.pod:964 ../fish/guestfish-actions.pod:651
msgid ""
"This command computes the checksums of all regular files in C<directory> and "
"then emits a list of those checksums to the local output file C<sumsfile>."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:960 ../fish/guestfish-actions.pod:648
+#: ../src/guestfs-actions.pod:968 ../fish/guestfish-actions.pod:655
msgid ""
"This can be used for verifying the integrity of a virtual machine. However "
"to be properly secure you should pay attention to the output of the checksum "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:970
+#: ../src/guestfs-actions.pod:978
msgid "(Added in 1.3.7)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:972
+#: ../src/guestfs-actions.pod:980
msgid "guestfs_chmod"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:974
+#: ../src/guestfs-actions.pod:982
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:979 ../fish/guestfish-actions.pod:662
+#: ../src/guestfs-actions.pod:987 ../fish/guestfish-actions.pod:669
msgid ""
"Change the mode (permissions) of C<path> to C<mode>. Only numeric modes are "
"supported."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:982 ../fish/guestfish-actions.pod:665
+#: ../src/guestfs-actions.pod:990 ../fish/guestfish-actions.pod:672
msgid ""
"I<Note>: When using this command from guestfish, C<mode> by default would be "
"decimal, unless you prefix it with C<0> to get octal, ie. use C<0700> not "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:986 ../src/guestfs-actions.pod:4241
-#: ../src/guestfs-actions.pod:4438 ../src/guestfs-actions.pod:4457
-#: ../src/guestfs-actions.pod:4476 ../fish/guestfish-actions.pod:669
-#: ../fish/guestfish-actions.pod:2870 ../fish/guestfish-actions.pod:2999
-#: ../fish/guestfish-actions.pod:3009 ../fish/guestfish-actions.pod:3019
+#: ../src/guestfs-actions.pod:994 ../src/guestfs-actions.pod:4259
+#: ../src/guestfs-actions.pod:4456 ../src/guestfs-actions.pod:4475
+#: ../src/guestfs-actions.pod:4494 ../fish/guestfish-actions.pod:676
+#: ../fish/guestfish-actions.pod:2883 ../fish/guestfish-actions.pod:3012
+#: ../fish/guestfish-actions.pod:3022 ../fish/guestfish-actions.pod:3032
msgid "The mode actually set is affected by the umask."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:992
+#: ../src/guestfs-actions.pod:1000
msgid "guestfs_chown"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:994
+#: ../src/guestfs-actions.pod:1002
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1000 ../fish/guestfish-actions.pod:675
+#: ../src/guestfs-actions.pod:1008 ../fish/guestfish-actions.pod:682
msgid "Change the file owner to C<owner> and group to C<group>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1002 ../src/guestfs-actions.pod:3349
-#: ../fish/guestfish-actions.pod:677 ../fish/guestfish-actions.pod:2328
+#: ../src/guestfs-actions.pod:1010 ../src/guestfs-actions.pod:3367
+#: ../fish/guestfish-actions.pod:684 ../fish/guestfish-actions.pod:2341
msgid ""
"Only numeric uid and gid are supported. If you want to use names, you will "
"need to locate and parse the password file yourself (Augeas support makes "
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1010
+#: ../src/guestfs-actions.pod:1018
msgid "guestfs_command"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1012
+#: ../src/guestfs-actions.pod:1020
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1016 ../fish/guestfish-actions.pod:685
+#: ../src/guestfs-actions.pod:1024 ../fish/guestfish-actions.pod:692
msgid ""
"This call runs a command from the guest filesystem. The filesystem must be "
"mounted, and must contain a compatible operating system (ie. something "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1021
+#: ../src/guestfs-actions.pod:1029
msgid ""
"The single parameter is an argv-style list of arguments. The first element "
"is the name of the program to run. Subsequent elements are parameters. The "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1028 ../fish/guestfish-actions.pod:697
+#: ../src/guestfs-actions.pod:1036 ../fish/guestfish-actions.pod:704
msgid "The return value is anything printed to I<stdout> by the command."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1031 ../fish/guestfish-actions.pod:700
+#: ../src/guestfs-actions.pod:1039 ../fish/guestfish-actions.pod:707
msgid ""
"If the command returns a non-zero exit status, then this function returns an "
"error message. The error message string is the content of I<stderr> from "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1035 ../fish/guestfish-actions.pod:704
+#: ../src/guestfs-actions.pod:1043 ../fish/guestfish-actions.pod:711
msgid ""
"The C<$PATH> environment variable will contain at least C</usr/bin> and C</"
"bin>. If you require a program from another location, you should provide "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1040 ../fish/guestfish-actions.pod:709
+#: ../src/guestfs-actions.pod:1048 ../fish/guestfish-actions.pod:716
msgid ""
"Shared libraries and data files required by the program must be available on "
"filesystems which are mounted in the correct places. It is the caller's "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1052 ../src/guestfs-actions.pod:1072
-#: ../src/guestfs-actions.pod:1535
+#: ../src/guestfs-actions.pod:1060 ../src/guestfs-actions.pod:1080
+#: ../src/guestfs-actions.pod:1543
msgid "(Added in 0.9.1)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1054
+#: ../src/guestfs-actions.pod:1062
msgid "guestfs_command_lines"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1056
+#: ../src/guestfs-actions.pod:1064
#, no-wrap
msgid ""
" char **\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1060
+#: ../src/guestfs-actions.pod:1068
msgid ""
"This is the same as C<guestfs_command>, but splits the result into a list of "
"lines."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1063
+#: ../src/guestfs-actions.pod:1071
msgid "See also: C<guestfs_sh_lines>"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1074
+#: ../src/guestfs-actions.pod:1082
msgid "guestfs_config"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1076
+#: ../src/guestfs-actions.pod:1084
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1081 ../fish/guestfish-actions.pod:734
+#: ../src/guestfs-actions.pod:1089 ../fish/guestfish-actions.pod:741
msgid ""
"This can be used to add arbitrary qemu command line parameters of the form "
"C<-param value>. Actually it's not quite arbitrary - we prevent you from "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1086 ../fish/guestfish-actions.pod:739
+#: ../src/guestfs-actions.pod:1094 ../fish/guestfish-actions.pod:746
msgid "The first character of C<param> string must be a C<-> (dash)."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1088 ../fish/guestfish-actions.pod:741
+#: ../src/guestfs-actions.pod:1096 ../fish/guestfish-actions.pod:748
msgid "C<value> can be NULL."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1094
+#: ../src/guestfs-actions.pod:1102
msgid "guestfs_copy_size"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1096
+#: ../src/guestfs-actions.pod:1104
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1102 ../fish/guestfish-actions.pod:747
+#: ../src/guestfs-actions.pod:1110 ../fish/guestfish-actions.pod:754
msgid ""
"This command copies exactly C<size> bytes from one source device or file "
"C<src> to another destination device or file C<dest>."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1105 ../fish/guestfish-actions.pod:750
+#: ../src/guestfs-actions.pod:1113 ../fish/guestfish-actions.pod:757
msgid ""
"Note this will fail if the source is too short or if the destination is not "
"large enough."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1110 ../src/guestfs-actions.pod:1233
-#: ../src/guestfs-actions.pod:1264 ../src/guestfs-actions.pod:1684
-#: ../src/guestfs-actions.pod:1706 ../src/guestfs-actions.pod:6643
-#: ../src/guestfs-actions.pod:6677 ../src/guestfs-actions.pod:7156
-#: ../src/guestfs-actions.pod:7175
+#: ../src/guestfs-actions.pod:1118 ../src/guestfs-actions.pod:1241
+#: ../src/guestfs-actions.pod:1272 ../src/guestfs-actions.pod:1692
+#: ../src/guestfs-actions.pod:1714 ../src/guestfs-actions.pod:6689
+#: ../src/guestfs-actions.pod:6723 ../src/guestfs-actions.pod:7202
+#: ../src/guestfs-actions.pod:7221
msgid ""
"This long-running command can generate progress notification messages so "
"that the caller can display a progress bar or indicator. To receive these "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1115 ../src/guestfs-actions.pod:4017
-#: ../src/guestfs-actions.pod:5235 ../src/guestfs-actions.pod:6884
-#: ../src/guestfs-actions.pod:6904 ../src/guestfs-actions.pod:6990
+#: ../src/guestfs-actions.pod:1123 ../src/guestfs-actions.pod:4035
+#: ../src/guestfs-actions.pod:5253 ../src/guestfs-actions.pod:6930
+#: ../src/guestfs-actions.pod:6950 ../src/guestfs-actions.pod:7036
msgid "(Added in 1.0.87)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1117
+#: ../src/guestfs-actions.pod:1125
msgid "guestfs_cp"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1119
+#: ../src/guestfs-actions.pod:1127
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1124 ../fish/guestfish-actions.pod:757
+#: ../src/guestfs-actions.pod:1132 ../fish/guestfish-actions.pod:764
msgid ""
"This copies a file from C<src> to C<dest> where C<dest> is either a "
"destination filename or destination directory."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1129 ../src/guestfs-actions.pod:1143
-#: ../src/guestfs-actions.pod:1215 ../src/guestfs-actions.pod:1289
-#: ../src/guestfs-actions.pod:1398 ../src/guestfs-actions.pod:4702
-#: ../src/guestfs-actions.pod:5079
+#: ../src/guestfs-actions.pod:1137 ../src/guestfs-actions.pod:1151
+#: ../src/guestfs-actions.pod:1223 ../src/guestfs-actions.pod:1297
+#: ../src/guestfs-actions.pod:1406 ../src/guestfs-actions.pod:4720
+#: ../src/guestfs-actions.pod:5097
msgid "(Added in 1.0.18)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1131
+#: ../src/guestfs-actions.pod:1139
msgid "guestfs_cp_a"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1133
+#: ../src/guestfs-actions.pod:1141
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1138 ../fish/guestfish-actions.pod:764
+#: ../src/guestfs-actions.pod:1146 ../fish/guestfish-actions.pod:771
msgid ""
"This copies a file or directory from C<src> to C<dest> recursively using the "
"C<cp -a> command."
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1145
+#: ../src/guestfs-actions.pod:1153
msgid "guestfs_dd"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1147
+#: ../src/guestfs-actions.pod:1155
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1152 ../fish/guestfish-actions.pod:771
+#: ../src/guestfs-actions.pod:1160 ../fish/guestfish-actions.pod:778
msgid ""
"This command copies from one source device or file C<src> to another "
"destination device or file C<dest>. Normally you would use this to copy to "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1157
+#: ../src/guestfs-actions.pod:1165
msgid ""
"If the destination is a device, it must be as large or larger than the "
"source file or device, otherwise the copy will fail. This command cannot do "
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1165
+#: ../src/guestfs-actions.pod:1173
msgid "guestfs_df"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1167
+#: ../src/guestfs-actions.pod:1175
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1170 ../fish/guestfish-actions.pod:784
+#: ../src/guestfs-actions.pod:1178 ../fish/guestfish-actions.pod:791
msgid "This command runs the C<df> command to report disk space used."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1172 ../src/guestfs-actions.pod:1189
+#: ../src/guestfs-actions.pod:1180 ../src/guestfs-actions.pod:1197
msgid ""
"This command is mostly useful for interactive sessions. It is I<not> "
"intended that you try to parse the output string. Use C<guestfs_statvfs> "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1179 ../src/guestfs-actions.pod:1196
-#: ../src/guestfs-actions.pod:1309 ../src/guestfs-actions.pod:2263
-#: ../src/guestfs-actions.pod:2287 ../src/guestfs-actions.pod:2355
-#: ../src/guestfs-actions.pod:4127 ../src/guestfs-actions.pod:4602
-#: ../src/guestfs-actions.pod:6381 ../src/guestfs-actions.pod:6405
-#: ../src/guestfs-actions.pod:7023 ../src/guestfs-actions.pod:7036
-#: ../src/guestfs-actions.pod:7049
+#: ../src/guestfs-actions.pod:1187 ../src/guestfs-actions.pod:1204
+#: ../src/guestfs-actions.pod:1317 ../src/guestfs-actions.pod:2281
+#: ../src/guestfs-actions.pod:2305 ../src/guestfs-actions.pod:2373
+#: ../src/guestfs-actions.pod:4145 ../src/guestfs-actions.pod:4620
+#: ../src/guestfs-actions.pod:6427 ../src/guestfs-actions.pod:6451
+#: ../src/guestfs-actions.pod:7069 ../src/guestfs-actions.pod:7082
+#: ../src/guestfs-actions.pod:7095
msgid "(Added in 1.0.54)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1181
+#: ../src/guestfs-actions.pod:1189
msgid "guestfs_df_h"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1183
+#: ../src/guestfs-actions.pod:1191
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1186 ../fish/guestfish-actions.pod:794
+#: ../src/guestfs-actions.pod:1194 ../fish/guestfish-actions.pod:801
msgid ""
"This command runs the C<df -h> command to report disk space used in human-"
"readable format."
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1198
+#: ../src/guestfs-actions.pod:1206
msgid "guestfs_dmesg"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1200
+#: ../src/guestfs-actions.pod:1208
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1203 ../fish/guestfish-actions.pod:805
+#: ../src/guestfs-actions.pod:1211 ../fish/guestfish-actions.pod:812
msgid ""
"This returns the kernel messages (C<dmesg> output) from the guest kernel. "
"This is sometimes useful for extended debugging of problems."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1207
+#: ../src/guestfs-actions.pod:1215
msgid ""
"Another way to get the same information is to enable verbose messages with "
"C<guestfs_set_verbose> or by setting the environment variable "
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1217
+#: ../src/guestfs-actions.pod:1225
msgid "guestfs_download"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1219
+#: ../src/guestfs-actions.pod:1227
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1224 ../src/guestfs-actions.pod:1249
-#: ../fish/guestfish-actions.pod:818 ../fish/guestfish-actions.pod:831
+#: ../src/guestfs-actions.pod:1232 ../src/guestfs-actions.pod:1257
+#: ../fish/guestfish-actions.pod:825 ../fish/guestfish-actions.pod:838
msgid ""
"Download file C<remotefilename> and save it as C<filename> on the local "
"machine."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1227 ../src/guestfs-actions.pod:6637
-#: ../fish/guestfish-actions.pod:821 ../fish/guestfish-actions.pod:4447
+#: ../src/guestfs-actions.pod:1235 ../src/guestfs-actions.pod:6683
+#: ../fish/guestfish-actions.pod:828 ../fish/guestfish-actions.pod:4486
msgid "C<filename> can also be a named pipe."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1229
+#: ../src/guestfs-actions.pod:1237
msgid "See also C<guestfs_upload>, C<guestfs_cat>."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1240
+#: ../src/guestfs-actions.pod:1248
msgid "guestfs_download_offset"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1242
+#: ../src/guestfs-actions.pod:1250
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1252 ../fish/guestfish-actions.pod:834
+#: ../src/guestfs-actions.pod:1260 ../fish/guestfish-actions.pod:841
msgid ""
"C<remotefilename> is read for C<size> bytes starting at C<offset> (this "
"region must be within the file or device)."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1255
+#: ../src/guestfs-actions.pod:1263
msgid ""
"Note that there is no limit on the amount of data that can be downloaded "
"with this call, unlike with C<guestfs_pread>, and this call always reads the "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1260
+#: ../src/guestfs-actions.pod:1268
msgid "See also C<guestfs_download>, C<guestfs_pread>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1269 ../src/guestfs-actions.pod:6682
+#: ../src/guestfs-actions.pod:1277 ../src/guestfs-actions.pod:6728
msgid "(Added in 1.5.17)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1271
+#: ../src/guestfs-actions.pod:1279
msgid "guestfs_drop_caches"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1273
+#: ../src/guestfs-actions.pod:1281
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1277 ../fish/guestfish-actions.pod:850
+#: ../src/guestfs-actions.pod:1285 ../fish/guestfish-actions.pod:857
msgid ""
"This instructs the guest kernel to drop its page cache, and/or dentries and "
"inode caches. The parameter C<whattodrop> tells the kernel what precisely "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1282 ../fish/guestfish-actions.pod:855
+#: ../src/guestfs-actions.pod:1290 ../fish/guestfish-actions.pod:862
msgid "Setting C<whattodrop> to 3 should drop everything."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1284 ../fish/guestfish-actions.pod:857
+#: ../src/guestfs-actions.pod:1292 ../fish/guestfish-actions.pod:864
msgid ""
"This automatically calls L<sync(2)> before the operation, so that the "
"maximum guest memory is freed."
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1291
+#: ../src/guestfs-actions.pod:1299
msgid "guestfs_du"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1293
+#: ../src/guestfs-actions.pod:1301
#, no-wrap
msgid ""
" int64_t\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1297 ../fish/guestfish-actions.pod:864
+#: ../src/guestfs-actions.pod:1305 ../fish/guestfish-actions.pod:871
msgid ""
"This command runs the C<du -s> command to estimate file space usage for "
"C<path>."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1300 ../fish/guestfish-actions.pod:867
+#: ../src/guestfs-actions.pod:1308 ../fish/guestfish-actions.pod:874
msgid ""
"C<path> can be a file or a directory. If C<path> is a directory then the "
"estimate includes the contents of the directory and all subdirectories "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1304 ../fish/guestfish-actions.pod:871
+#: ../src/guestfs-actions.pod:1312 ../fish/guestfish-actions.pod:878
msgid ""
"The result is the estimated size in I<kilobytes> (ie. units of 1024 bytes)."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1311
+#: ../src/guestfs-actions.pod:1319
msgid "guestfs_e2fsck_f"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1313
+#: ../src/guestfs-actions.pod:1321
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1317 ../fish/guestfish-actions.pod:878
+#: ../src/guestfs-actions.pod:1325 ../fish/guestfish-actions.pod:885
msgid ""
"This runs C<e2fsck -p -f device>, ie. runs the ext2/ext3 filesystem checker "
"on C<device>, noninteractively (C<-p>), even if the filesystem appears to be "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1321
+#: ../src/guestfs-actions.pod:1329
msgid ""
"This command is only needed because of C<guestfs_resize2fs> (q.v.). "
"Normally you should use C<guestfs_fsck>."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1326
+#: ../src/guestfs-actions.pod:1334
msgid "(Added in 1.0.29)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1328
+#: ../src/guestfs-actions.pod:1336
msgid "guestfs_echo_daemon"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1330
+#: ../src/guestfs-actions.pod:1338
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1334 ../fish/guestfish-actions.pod:889
+#: ../src/guestfs-actions.pod:1342 ../fish/guestfish-actions.pod:896
msgid ""
"This command concatenates the list of C<words> passed with single spaces "
"between them and returns the resulting string."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1337 ../fish/guestfish-actions.pod:892
+#: ../src/guestfs-actions.pod:1345 ../fish/guestfish-actions.pod:899
msgid "You can use this command to test the connection through to the daemon."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1339
+#: ../src/guestfs-actions.pod:1347
msgid "See also C<guestfs_ping_daemon>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1344 ../src/guestfs-actions.pod:2071
-#: ../src/guestfs-actions.pod:5885
+#: ../src/guestfs-actions.pod:1352 ../src/guestfs-actions.pod:2089
+#: ../src/guestfs-actions.pod:5931
msgid "(Added in 1.0.69)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1346
+#: ../src/guestfs-actions.pod:1354
msgid "guestfs_egrep"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1348
+#: ../src/guestfs-actions.pod:1356
#, no-wrap
msgid ""
" char **\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1353 ../fish/guestfish-actions.pod:900
+#: ../src/guestfs-actions.pod:1361 ../fish/guestfish-actions.pod:907
msgid ""
"This calls the external C<egrep> program and returns the matching lines."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1363 ../src/guestfs-actions.pod:1382
-#: ../src/guestfs-actions.pod:1439 ../src/guestfs-actions.pod:1485
-#: ../src/guestfs-actions.pod:1504 ../src/guestfs-actions.pod:2201
-#: ../src/guestfs-actions.pod:2220 ../src/guestfs-actions.pod:2376
-#: ../src/guestfs-actions.pod:2389 ../src/guestfs-actions.pod:2404
-#: ../src/guestfs-actions.pod:2450 ../src/guestfs-actions.pod:2472
-#: ../src/guestfs-actions.pod:2485 ../src/guestfs-actions.pod:3510
-#: ../src/guestfs-actions.pod:3524 ../src/guestfs-actions.pod:3537
-#: ../src/guestfs-actions.pod:3551 ../src/guestfs-actions.pod:4537
-#: ../src/guestfs-actions.pod:5413 ../src/guestfs-actions.pod:5462
-#: ../src/guestfs-actions.pod:6249 ../src/guestfs-actions.pod:6261
-#: ../src/guestfs-actions.pod:6274 ../src/guestfs-actions.pod:6287
-#: ../src/guestfs-actions.pod:6309 ../src/guestfs-actions.pod:6322
-#: ../src/guestfs-actions.pod:6335 ../src/guestfs-actions.pod:6348
-#: ../src/guestfs-actions.pod:7119 ../src/guestfs-actions.pod:7138
-#: ../src/guestfs-actions.pod:7223 ../src/guestfs-actions.pod:7242
-#: ../src/guestfs-actions.pod:7288 ../src/guestfs-actions.pod:7307
+#: ../src/guestfs-actions.pod:1371 ../src/guestfs-actions.pod:1390
+#: ../src/guestfs-actions.pod:1447 ../src/guestfs-actions.pod:1493
+#: ../src/guestfs-actions.pod:1512 ../src/guestfs-actions.pod:2219
+#: ../src/guestfs-actions.pod:2238 ../src/guestfs-actions.pod:2394
+#: ../src/guestfs-actions.pod:2407 ../src/guestfs-actions.pod:2422
+#: ../src/guestfs-actions.pod:2468 ../src/guestfs-actions.pod:2490
+#: ../src/guestfs-actions.pod:2503 ../src/guestfs-actions.pod:3528
+#: ../src/guestfs-actions.pod:3542 ../src/guestfs-actions.pod:3555
+#: ../src/guestfs-actions.pod:3569 ../src/guestfs-actions.pod:4555
+#: ../src/guestfs-actions.pod:5431 ../src/guestfs-actions.pod:5480
+#: ../src/guestfs-actions.pod:6295 ../src/guestfs-actions.pod:6307
+#: ../src/guestfs-actions.pod:6320 ../src/guestfs-actions.pod:6333
+#: ../src/guestfs-actions.pod:6355 ../src/guestfs-actions.pod:6368
+#: ../src/guestfs-actions.pod:6381 ../src/guestfs-actions.pod:6394
+#: ../src/guestfs-actions.pod:7165 ../src/guestfs-actions.pod:7184
+#: ../src/guestfs-actions.pod:7269 ../src/guestfs-actions.pod:7288
+#: ../src/guestfs-actions.pod:7334 ../src/guestfs-actions.pod:7353
msgid "(Added in 1.0.66)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1365
+#: ../src/guestfs-actions.pod:1373
msgid "guestfs_egrepi"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1367
+#: ../src/guestfs-actions.pod:1375
#, no-wrap
msgid ""
" char **\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1372 ../fish/guestfish-actions.pod:910
+#: ../src/guestfs-actions.pod:1380 ../fish/guestfish-actions.pod:917
msgid ""
"This calls the external C<egrep -i> program and returns the matching lines."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1384
+#: ../src/guestfs-actions.pod:1392
msgid "guestfs_equal"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1386
+#: ../src/guestfs-actions.pod:1394
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1391 ../fish/guestfish-actions.pod:920
+#: ../src/guestfs-actions.pod:1399 ../fish/guestfish-actions.pod:927
msgid ""
"This compares the two files C<file1> and C<file2> and returns true if their "
"content is exactly equal, or false otherwise."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1394 ../fish/guestfish-actions.pod:923
+#: ../src/guestfs-actions.pod:1402 ../fish/guestfish-actions.pod:930
msgid "The external L<cmp(1)> program is used for the comparison."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1400
+#: ../src/guestfs-actions.pod:1408
msgid "guestfs_exists"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1402
+#: ../src/guestfs-actions.pod:1410
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1406 ../fish/guestfish-actions.pod:929
+#: ../src/guestfs-actions.pod:1414 ../fish/guestfish-actions.pod:936
msgid ""
"This returns C<true> if and only if there is a file, directory (or anything) "
"with the given C<path> name."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1409
+#: ../src/guestfs-actions.pod:1417
msgid "See also C<guestfs_is_file>, C<guestfs_is_dir>, C<guestfs_stat>."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1415
+#: ../src/guestfs-actions.pod:1423
msgid "guestfs_fallocate"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1417
+#: ../src/guestfs-actions.pod:1425
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1422 ../src/guestfs-actions.pod:1448
-#: ../fish/guestfish-actions.pod:938 ../fish/guestfish-actions.pod:957
+#: ../src/guestfs-actions.pod:1430 ../src/guestfs-actions.pod:1456
+#: ../fish/guestfish-actions.pod:945 ../fish/guestfish-actions.pod:964
msgid ""
"This command preallocates a file (containing zero bytes) named C<path> of "
"size C<len> bytes. If the file exists already, it is overwritten."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1426 ../fish/guestfish-actions.pod:942
+#: ../src/guestfs-actions.pod:1434 ../fish/guestfish-actions.pod:949
msgid ""
"Do not confuse this with the guestfish-specific C<alloc> command which "
"allocates a file in the host and attaches it as a device."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1432 ../fish/guestfish-actions.pod:946
+#: ../src/guestfs-actions.pod:1440 ../fish/guestfish-actions.pod:953
msgid ""
"This function is deprecated. In new code, use the C<fallocate64> call "
"instead."
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1441
+#: ../src/guestfs-actions.pod:1449
msgid "guestfs_fallocate64"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1443
+#: ../src/guestfs-actions.pod:1451
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1452
+#: ../src/guestfs-actions.pod:1460
msgid ""
"Note that this call allocates disk blocks for the file. To create a sparse "
"file use C<guestfs_truncate_size> instead."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1455
+#: ../src/guestfs-actions.pod:1463
msgid ""
"The deprecated call C<guestfs_fallocate> does the same, but owing to an "
"oversight it only allowed 30 bit lengths to be specified, effectively "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1460 ../fish/guestfish-actions.pod:969
+#: ../src/guestfs-actions.pod:1468 ../fish/guestfish-actions.pod:976
msgid ""
"Do not confuse this with the guestfish-specific C<alloc> and C<sparse> "
"commands which create a file in the host and attach it as a device."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1466
+#: ../src/guestfs-actions.pod:1474
msgid "(Added in 1.3.17)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1468
+#: ../src/guestfs-actions.pod:1476
msgid "guestfs_fgrep"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1470
+#: ../src/guestfs-actions.pod:1478
#, no-wrap
msgid ""
" char **\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1475 ../fish/guestfish-actions.pod:977
+#: ../src/guestfs-actions.pod:1483 ../fish/guestfish-actions.pod:984
msgid ""
"This calls the external C<fgrep> program and returns the matching lines."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1487
+#: ../src/guestfs-actions.pod:1495
msgid "guestfs_fgrepi"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1489
+#: ../src/guestfs-actions.pod:1497
#, no-wrap
msgid ""
" char **\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1494 ../fish/guestfish-actions.pod:987
+#: ../src/guestfs-actions.pod:1502 ../fish/guestfish-actions.pod:994
msgid ""
"This calls the external C<fgrep -i> program and returns the matching lines."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1506
+#: ../src/guestfs-actions.pod:1514
msgid "guestfs_file"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1508
+#: ../src/guestfs-actions.pod:1516
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1512 ../fish/guestfish-actions.pod:997
+#: ../src/guestfs-actions.pod:1520 ../fish/guestfish-actions.pod:1004
msgid ""
"This call uses the standard L<file(1)> command to determine the type or "
"contents of the file."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1515 ../fish/guestfish-actions.pod:1000
+#: ../src/guestfs-actions.pod:1523 ../fish/guestfish-actions.pod:1007
msgid ""
"This call will also transparently look inside various types of compressed "
"file."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1518 ../fish/guestfish-actions.pod:1003
+#: ../src/guestfs-actions.pod:1526 ../fish/guestfish-actions.pod:1010
msgid ""
"The exact command which runs is C<file -zb path>. Note in particular that "
"the filename is not prepended to the output (the C<-b> option)."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1522
+#: ../src/guestfs-actions.pod:1530
msgid ""
"This command can also be used on C</dev/> devices (and partitions, LV "
"names). You can for example use this to determine if a device contains a "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1527 ../fish/guestfish-actions.pod:1012
+#: ../src/guestfs-actions.pod:1535 ../fish/guestfish-actions.pod:1019
msgid ""
"If the C<path> does not begin with C</dev/> then this command only works for "
"the content of regular files. For other file types (directory, symbolic "
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1537
+#: ../src/guestfs-actions.pod:1545
msgid "guestfs_file_architecture"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1539
+#: ../src/guestfs-actions.pod:1547
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1543 ../fish/guestfish-actions.pod:1021
+#: ../src/guestfs-actions.pod:1551 ../fish/guestfish-actions.pod:1028
msgid ""
"This detects the architecture of the binary C<filename>, and returns it if "
"known."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1546 ../fish/guestfish-actions.pod:1024
+#: ../src/guestfs-actions.pod:1554 ../fish/guestfish-actions.pod:1031
msgid "Currently defined architectures are:"
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:1550 ../fish/guestfish-actions.pod:1028
+#: ../src/guestfs-actions.pod:1558 ../fish/guestfish-actions.pod:1035
msgid "\"i386\""
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1552 ../fish/guestfish-actions.pod:1030
+#: ../src/guestfs-actions.pod:1560 ../fish/guestfish-actions.pod:1037
msgid ""
"This string is returned for all 32 bit i386, i486, i586, i686 binaries "
"irrespective of the precise processor requirements of the binary."
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:1555 ../fish/guestfish-actions.pod:1033
+#: ../src/guestfs-actions.pod:1563 ../fish/guestfish-actions.pod:1040
msgid "\"x86_64\""
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1557 ../fish/guestfish-actions.pod:1035
+#: ../src/guestfs-actions.pod:1565 ../fish/guestfish-actions.pod:1042
msgid "64 bit x86-64."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:1559 ../fish/guestfish-actions.pod:1037
+#: ../src/guestfs-actions.pod:1567 ../fish/guestfish-actions.pod:1044
msgid "\"sparc\""
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1561 ../fish/guestfish-actions.pod:1039
+#: ../src/guestfs-actions.pod:1569 ../fish/guestfish-actions.pod:1046
msgid "32 bit SPARC."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:1563 ../fish/guestfish-actions.pod:1041
+#: ../src/guestfs-actions.pod:1571 ../fish/guestfish-actions.pod:1048
msgid "\"sparc64\""
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1565 ../fish/guestfish-actions.pod:1043
+#: ../src/guestfs-actions.pod:1573 ../fish/guestfish-actions.pod:1050
msgid "64 bit SPARC V9 and above."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:1567 ../fish/guestfish-actions.pod:1045
+#: ../src/guestfs-actions.pod:1575 ../fish/guestfish-actions.pod:1052
msgid "\"ia64\""
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1569 ../fish/guestfish-actions.pod:1047
+#: ../src/guestfs-actions.pod:1577 ../fish/guestfish-actions.pod:1054
msgid "Intel Itanium."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:1571 ../fish/guestfish-actions.pod:1049
+#: ../src/guestfs-actions.pod:1579 ../fish/guestfish-actions.pod:1056
msgid "\"ppc\""
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1573 ../fish/guestfish-actions.pod:1051
+#: ../src/guestfs-actions.pod:1581 ../fish/guestfish-actions.pod:1058
msgid "32 bit Power PC."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:1575 ../fish/guestfish-actions.pod:1053
+#: ../src/guestfs-actions.pod:1583 ../fish/guestfish-actions.pod:1060
msgid "\"ppc64\""
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1577 ../fish/guestfish-actions.pod:1055
+#: ../src/guestfs-actions.pod:1585 ../fish/guestfish-actions.pod:1062
msgid "64 bit Power PC."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1581 ../fish/guestfish-actions.pod:1059
+#: ../src/guestfs-actions.pod:1589 ../fish/guestfish-actions.pod:1066
msgid "Libguestfs may return other architecture strings in future."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1583 ../fish/guestfish-actions.pod:1061
+#: ../src/guestfs-actions.pod:1591 ../fish/guestfish-actions.pod:1068
msgid "The function works on at least the following types of files:"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1589 ../fish/guestfish-actions.pod:1067
+#: ../src/guestfs-actions.pod:1597 ../fish/guestfish-actions.pod:1074
msgid "many types of Un*x and Linux binary"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1593 ../fish/guestfish-actions.pod:1071
+#: ../src/guestfs-actions.pod:1601 ../fish/guestfish-actions.pod:1078
msgid "many types of Un*x and Linux shared library"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1597 ../fish/guestfish-actions.pod:1075
+#: ../src/guestfs-actions.pod:1605 ../fish/guestfish-actions.pod:1082
msgid "Windows Win32 and Win64 binaries"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1601 ../fish/guestfish-actions.pod:1079
+#: ../src/guestfs-actions.pod:1609 ../fish/guestfish-actions.pod:1086
msgid "Windows Win32 and Win64 DLLs"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1603 ../fish/guestfish-actions.pod:1081
+#: ../src/guestfs-actions.pod:1611 ../fish/guestfish-actions.pod:1088
msgid "Win32 binaries and DLLs return C<i386>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1605 ../fish/guestfish-actions.pod:1083
+#: ../src/guestfs-actions.pod:1613 ../fish/guestfish-actions.pod:1090
msgid "Win64 binaries and DLLs return C<x86_64>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1609 ../fish/guestfish-actions.pod:1087
+#: ../src/guestfs-actions.pod:1617 ../fish/guestfish-actions.pod:1094
msgid "Linux kernel modules"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1613 ../fish/guestfish-actions.pod:1091
+#: ../src/guestfs-actions.pod:1621 ../fish/guestfish-actions.pod:1098
msgid "Linux new-style initrd images"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1617 ../fish/guestfish-actions.pod:1095
+#: ../src/guestfs-actions.pod:1625 ../fish/guestfish-actions.pod:1102
msgid "some non-x86 Linux vmlinuz kernels"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1621 ../fish/guestfish-actions.pod:1099
+#: ../src/guestfs-actions.pod:1629 ../fish/guestfish-actions.pod:1106
msgid "What it can't do currently:"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1627 ../fish/guestfish-actions.pod:1105
+#: ../src/guestfs-actions.pod:1635 ../fish/guestfish-actions.pod:1112
msgid "static libraries (libfoo.a)"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1631 ../fish/guestfish-actions.pod:1109
+#: ../src/guestfs-actions.pod:1639 ../fish/guestfish-actions.pod:1116
msgid "Linux old-style initrd as compressed ext2 filesystem (RHEL 3)"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1635 ../fish/guestfish-actions.pod:1113
+#: ../src/guestfs-actions.pod:1643 ../fish/guestfish-actions.pod:1120
msgid "x86 Linux vmlinuz kernels"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1637 ../fish/guestfish-actions.pod:1115
+#: ../src/guestfs-actions.pod:1645 ../fish/guestfish-actions.pod:1122
msgid ""
"x86 vmlinuz images (bzImage format) consist of a mix of 16-, 32- and "
"compressed code, and are horribly hard to unpack. If you want to find the "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1647 ../src/guestfs-actions.pod:1810
-#: ../src/guestfs-actions.pod:1827 ../src/guestfs-actions.pod:2508
-#: ../src/guestfs-actions.pod:2589 ../src/guestfs-actions.pod:2615
-#: ../src/guestfs-actions.pod:2703 ../src/guestfs-actions.pod:2724
-#: ../src/guestfs-actions.pod:2761 ../src/guestfs-actions.pod:2845
-#: ../src/guestfs-actions.pod:2907 ../src/guestfs-actions.pod:3133
-#: ../src/guestfs-actions.pod:3265
+#: ../src/guestfs-actions.pod:1655 ../src/guestfs-actions.pod:1818
+#: ../src/guestfs-actions.pod:1835 ../src/guestfs-actions.pod:2526
+#: ../src/guestfs-actions.pod:2607 ../src/guestfs-actions.pod:2633
+#: ../src/guestfs-actions.pod:2721 ../src/guestfs-actions.pod:2742
+#: ../src/guestfs-actions.pod:2779 ../src/guestfs-actions.pod:2863
+#: ../src/guestfs-actions.pod:2925 ../src/guestfs-actions.pod:3151
+#: ../src/guestfs-actions.pod:3283
msgid "(Added in 1.5.3)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1649
+#: ../src/guestfs-actions.pod:1657
msgid "guestfs_filesize"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1651
+#: ../src/guestfs-actions.pod:1659
#, no-wrap
msgid ""
" int64_t\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1655 ../fish/guestfish-actions.pod:1126
+#: ../src/guestfs-actions.pod:1663 ../fish/guestfish-actions.pod:1133
msgid "This command returns the size of C<file> in bytes."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1657
+#: ../src/guestfs-actions.pod:1665
msgid ""
"To get other stats about a file, use C<guestfs_stat>, C<guestfs_lstat>, "
"C<guestfs_is_dir>, C<guestfs_is_file> etc. To get the size of block "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1663
+#: ../src/guestfs-actions.pod:1671
msgid "(Added in 1.0.82)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1665
+#: ../src/guestfs-actions.pod:1673
msgid "guestfs_fill"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1667
+#: ../src/guestfs-actions.pod:1675
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1673 ../fish/guestfish-actions.pod:1136
+#: ../src/guestfs-actions.pod:1681 ../fish/guestfish-actions.pod:1143
msgid ""
"This command creates a new file called C<path>. The initial content of the "
"file is C<len> octets of C<c>, where C<c> must be a number in the range C<"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1677
+#: ../src/guestfs-actions.pod:1685
msgid ""
"To fill a file with zero bytes (sparsely), it is much more efficient to use "
"C<guestfs_truncate_size>. To create a file with a pattern of repeating "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1689
+#: ../src/guestfs-actions.pod:1697
msgid "(Added in 1.0.79)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1691
+#: ../src/guestfs-actions.pod:1699
msgid "guestfs_fill_pattern"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1693
+#: ../src/guestfs-actions.pod:1701
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1699
+#: ../src/guestfs-actions.pod:1707
msgid ""
"This function is like C<guestfs_fill> except that it creates a new file of "
"length C<len> containing the repeating pattern of bytes in C<pattern>. The "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1711
+#: ../src/guestfs-actions.pod:1719
msgid "(Added in 1.3.12)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1713
+#: ../src/guestfs-actions.pod:1721
msgid "guestfs_find"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1715
+#: ../src/guestfs-actions.pod:1723
#, no-wrap
msgid ""
" char **\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1719 ../fish/guestfish-actions.pod:1158
+#: ../src/guestfs-actions.pod:1727 ../fish/guestfish-actions.pod:1165
msgid ""
"This command lists out all files and directories, recursively, starting at "
"C<directory>. It is essentially equivalent to running the shell command "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1724 ../fish/guestfish-actions.pod:1163
+#: ../src/guestfs-actions.pod:1732 ../fish/guestfish-actions.pod:1170
msgid ""
"This returns a list of strings I<without any prefix>. Thus if the directory "
"structure was:"
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1727 ../fish/guestfish-actions.pod:1166
+#: ../src/guestfs-actions.pod:1735 ../fish/guestfish-actions.pod:1173
#, no-wrap
msgid ""
" /tmp/a\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1731
+#: ../src/guestfs-actions.pod:1739
msgid ""
"then the returned list from C<guestfs_find> C</tmp> would be 4 elements:"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1734 ../fish/guestfish-actions.pod:1173
+#: ../src/guestfs-actions.pod:1742 ../fish/guestfish-actions.pod:1180
#, no-wrap
msgid ""
" a\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1739 ../fish/guestfish-actions.pod:1178
+#: ../src/guestfs-actions.pod:1747 ../fish/guestfish-actions.pod:1185
msgid "If C<directory> is not a directory, then this command returns an error."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1742 ../fish/guestfish-actions.pod:1181
+#: ../src/guestfs-actions.pod:1750 ../fish/guestfish-actions.pod:1188
msgid "The returned list is sorted."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1744
+#: ../src/guestfs-actions.pod:1752
msgid "See also C<guestfs_find0>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1753 ../src/guestfs-actions.pod:3954
-#: ../src/guestfs-actions.pod:5497
+#: ../src/guestfs-actions.pod:1761 ../src/guestfs-actions.pod:3972
+#: ../src/guestfs-actions.pod:5515
msgid "(Added in 1.0.27)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1755
+#: ../src/guestfs-actions.pod:1763
msgid "guestfs_find0"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1757
+#: ../src/guestfs-actions.pod:1765
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1762 ../fish/guestfish-actions.pod:1192
+#: ../src/guestfs-actions.pod:1770 ../fish/guestfish-actions.pod:1199
msgid ""
"This command lists out all files and directories, recursively, starting at "
"C<directory>, placing the resulting list in the external file called "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1766
+#: ../src/guestfs-actions.pod:1774
msgid ""
"This command works the same way as C<guestfs_find> with the following "
"exceptions:"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1773 ../fish/guestfish-actions.pod:1203
+#: ../src/guestfs-actions.pod:1781 ../fish/guestfish-actions.pod:1210
msgid "The resulting list is written to an external file."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1777 ../fish/guestfish-actions.pod:1207
+#: ../src/guestfs-actions.pod:1785 ../fish/guestfish-actions.pod:1214
msgid ""
"Items (filenames) in the result are separated by C<\\0> characters. See "
"L<find(1)> option I<-print0>."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1782 ../fish/guestfish-actions.pod:1212
+#: ../src/guestfs-actions.pod:1790 ../fish/guestfish-actions.pod:1219
msgid "This command is not limited in the number of names that it can return."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1787 ../fish/guestfish-actions.pod:1217
+#: ../src/guestfs-actions.pod:1795 ../fish/guestfish-actions.pod:1224
msgid "The result list is not sorted."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1793
+#: ../src/guestfs-actions.pod:1801
msgid "(Added in 1.0.74)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1795
+#: ../src/guestfs-actions.pod:1803
msgid "guestfs_findfs_label"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1797
+#: ../src/guestfs-actions.pod:1805
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1801 ../fish/guestfish-actions.pod:1227
+#: ../src/guestfs-actions.pod:1809 ../fish/guestfish-actions.pod:1234
msgid ""
"This command searches the filesystems and returns the one which has the "
"given label. An error is returned if no such filesystem can be found."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1805
+#: ../src/guestfs-actions.pod:1813
msgid "To find the label of a filesystem, use C<guestfs_vfs_label>."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1812
+#: ../src/guestfs-actions.pod:1820
msgid "guestfs_findfs_uuid"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1814
+#: ../src/guestfs-actions.pod:1822
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1818 ../fish/guestfish-actions.pod:1237
+#: ../src/guestfs-actions.pod:1826 ../fish/guestfish-actions.pod:1244
msgid ""
"This command searches the filesystems and returns the one which has the "
"given UUID. An error is returned if no such filesystem can be found."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1822
+#: ../src/guestfs-actions.pod:1830
msgid "To find the UUID of a filesystem, use C<guestfs_vfs_uuid>."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1829
+#: ../src/guestfs-actions.pod:1837
msgid "guestfs_fsck"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1831
+#: ../src/guestfs-actions.pod:1839
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1836 ../fish/guestfish-actions.pod:1247
+#: ../src/guestfs-actions.pod:1844 ../fish/guestfish-actions.pod:1254
msgid ""
"This runs the filesystem checker (fsck) on C<device> which should have "
"filesystem type C<fstype>."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1839 ../fish/guestfish-actions.pod:1250
+#: ../src/guestfs-actions.pod:1847 ../fish/guestfish-actions.pod:1257
msgid ""
"The returned integer is the status. See L<fsck(8)> for the list of status "
"codes from C<fsck>."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1848 ../fish/guestfish-actions.pod:1259
+#: ../src/guestfs-actions.pod:1856 ../fish/guestfish-actions.pod:1266
msgid "Multiple status codes can be summed together."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1852 ../fish/guestfish-actions.pod:1263
+#: ../src/guestfs-actions.pod:1860 ../fish/guestfish-actions.pod:1270
msgid ""
"A non-zero return code can mean \"success\", for example if errors have been "
"corrected on the filesystem."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1857 ../fish/guestfish-actions.pod:1268
+#: ../src/guestfs-actions.pod:1865 ../fish/guestfish-actions.pod:1275
msgid "Checking or repairing NTFS volumes is not supported (by linux-ntfs)."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1862 ../fish/guestfish-actions.pod:1273
+#: ../src/guestfs-actions.pod:1870 ../fish/guestfish-actions.pod:1280
msgid ""
"This command is entirely equivalent to running C<fsck -a -t fstype device>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1866 ../src/guestfs-actions.pod:7161
+#: ../src/guestfs-actions.pod:1874 ../src/guestfs-actions.pod:7207
msgid "(Added in 1.0.16)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1868
+#: ../src/guestfs-actions.pod:1876
msgid "guestfs_get_append"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1870
+#: ../src/guestfs-actions.pod:1878
#, no-wrap
msgid ""
" const char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1873 ../fish/guestfish-actions.pod:1279
+#: ../src/guestfs-actions.pod:1881 ../fish/guestfish-actions.pod:1286
msgid ""
"Return the additional kernel options which are added to the guest kernel "
"command line."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1876 ../fish/guestfish-actions.pod:1282
+#: ../src/guestfs-actions.pod:1884 ../fish/guestfish-actions.pod:1289
msgid "If C<NULL> then no options are added."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1878
+#: ../src/guestfs-actions.pod:1886
msgid ""
"This function returns a string which may be NULL. There is no way to return "
"an error from this function. The string is owned by the guest handle and "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1882 ../src/guestfs-actions.pod:5175
-#: ../src/guestfs-actions.pod:5655 ../src/guestfs-actions.pod:6023
-#: ../src/guestfs-actions.pod:6042 ../src/guestfs-actions.pod:6058
-#: ../src/guestfs-actions.pod:6075 ../src/guestfs-actions.pod:6832
-#: ../src/guestfs-actions.pod:6850 ../src/guestfs-actions.pod:7204
+#: ../src/guestfs-actions.pod:1890 ../src/guestfs-actions.pod:5193
+#: ../src/guestfs-actions.pod:5673 ../src/guestfs-actions.pod:6069
+#: ../src/guestfs-actions.pod:6088 ../src/guestfs-actions.pod:6104
+#: ../src/guestfs-actions.pod:6121 ../src/guestfs-actions.pod:6878
+#: ../src/guestfs-actions.pod:6896 ../src/guestfs-actions.pod:7250
msgid "(Added in 1.0.26)"
msgstr ""
+#. type: =head2
+#: ../src/guestfs-actions.pod:1892
+msgid "guestfs_get_attach_method"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:1894
+#, no-wrap
+msgid ""
+" char *\n"
+" guestfs_get_attach_method (guestfs_h *g);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:1897
+msgid "Return the current attach method. See C<guestfs_set_attach_method>."
+msgstr ""
+
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1884
+#: ../src/guestfs-actions.pod:1902
msgid "guestfs_get_autosync"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1886
+#: ../src/guestfs-actions.pod:1904
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1889 ../fish/guestfish-actions.pod:1288
+#: ../src/guestfs-actions.pod:1907 ../fish/guestfish-actions.pod:1301
msgid "Get the autosync flag."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1895
+#: ../src/guestfs-actions.pod:1913
msgid "guestfs_get_direct"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1897
+#: ../src/guestfs-actions.pod:1915
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1900 ../fish/guestfish-actions.pod:1294
+#: ../src/guestfs-actions.pod:1918 ../fish/guestfish-actions.pod:1307
msgid "Return the direct appliance mode flag."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1904 ../src/guestfs-actions.pod:5696
+#: ../src/guestfs-actions.pod:1922 ../src/guestfs-actions.pod:5742
msgid "(Added in 1.0.72)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1906
+#: ../src/guestfs-actions.pod:1924
msgid "guestfs_get_e2label"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1908
+#: ../src/guestfs-actions.pod:1926
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1912 ../fish/guestfish-actions.pod:1300
+#: ../src/guestfs-actions.pod:1930 ../fish/guestfish-actions.pod:1313
msgid ""
"This returns the ext2/3/4 filesystem label of the filesystem on C<device>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1918 ../fish/guestfish-actions.pod:1303
+#: ../src/guestfs-actions.pod:1936 ../fish/guestfish-actions.pod:1316
msgid ""
"This function is deprecated. In new code, use the C<vfs_label> call instead."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1925 ../src/guestfs-actions.pod:1946
-#: ../src/guestfs-actions.pod:5714 ../src/guestfs-actions.pod:5733
+#: ../src/guestfs-actions.pod:1943 ../src/guestfs-actions.pod:1964
+#: ../src/guestfs-actions.pod:5760 ../src/guestfs-actions.pod:5779
msgid "(Added in 1.0.15)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1927
+#: ../src/guestfs-actions.pod:1945
msgid "guestfs_get_e2uuid"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1929
+#: ../src/guestfs-actions.pod:1947
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1933 ../fish/guestfish-actions.pod:1314
+#: ../src/guestfs-actions.pod:1951 ../fish/guestfish-actions.pod:1327
msgid ""
"This returns the ext2/3/4 filesystem UUID of the filesystem on C<device>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1939 ../fish/guestfish-actions.pod:1317
+#: ../src/guestfs-actions.pod:1957 ../fish/guestfish-actions.pod:1330
msgid ""
"This function is deprecated. In new code, use the C<vfs_uuid> call instead."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1948
+#: ../src/guestfs-actions.pod:1966
msgid "guestfs_get_memsize"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1950
+#: ../src/guestfs-actions.pod:1968
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1953 ../fish/guestfish-actions.pod:1328
+#: ../src/guestfs-actions.pod:1971 ../fish/guestfish-actions.pod:1341
msgid ""
"This gets the memory size in megabytes allocated to the qemu subprocess."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1956
+#: ../src/guestfs-actions.pod:1974
msgid ""
"If C<guestfs_set_memsize> was not called on this handle, and if "
"C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1960 ../src/guestfs-actions.pod:2041
-#: ../src/guestfs-actions.pod:5749 ../src/guestfs-actions.pod:5856
-#: ../fish/guestfish-actions.pod:1335 ../fish/guestfish-actions.pod:1386
-#: ../fish/guestfish-actions.pod:3854 ../fish/guestfish-actions.pod:3941
+#: ../src/guestfs-actions.pod:1978 ../src/guestfs-actions.pod:2059
+#: ../src/guestfs-actions.pod:5795 ../src/guestfs-actions.pod:5902
+#: ../fish/guestfish-actions.pod:1348 ../fish/guestfish-actions.pod:1399
+#: ../fish/guestfish-actions.pod:3893 ../fish/guestfish-actions.pod:3980
msgid ""
"For more information on the architecture of libguestfs, see L<guestfs(3)>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1965 ../src/guestfs-actions.pod:4245
-#: ../src/guestfs-actions.pod:4442 ../src/guestfs-actions.pod:4461
-#: ../src/guestfs-actions.pod:4480 ../src/guestfs-actions.pod:4492
-#: ../src/guestfs-actions.pod:4509 ../src/guestfs-actions.pod:4522
-#: ../src/guestfs-actions.pod:5400 ../src/guestfs-actions.pod:5754
-#: ../src/guestfs-actions.pod:5997 ../src/guestfs-actions.pod:6598
+#: ../src/guestfs-actions.pod:1983 ../src/guestfs-actions.pod:4263
+#: ../src/guestfs-actions.pod:4460 ../src/guestfs-actions.pod:4479
+#: ../src/guestfs-actions.pod:4498 ../src/guestfs-actions.pod:4510
+#: ../src/guestfs-actions.pod:4527 ../src/guestfs-actions.pod:4540
+#: ../src/guestfs-actions.pod:5418 ../src/guestfs-actions.pod:5800
+#: ../src/guestfs-actions.pod:6043 ../src/guestfs-actions.pod:6644
msgid "(Added in 1.0.55)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1967
+#: ../src/guestfs-actions.pod:1985
msgid "guestfs_get_network"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1969
+#: ../src/guestfs-actions.pod:1987
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1972 ../fish/guestfish-actions.pod:1342
+#: ../src/guestfs-actions.pod:1990 ../fish/guestfish-actions.pod:1355
msgid "This returns the enable network flag."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1976 ../src/guestfs-actions.pod:5773
+#: ../src/guestfs-actions.pod:1994 ../src/guestfs-actions.pod:5819
msgid "(Added in 1.5.4)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1978
+#: ../src/guestfs-actions.pod:1996
msgid "guestfs_get_path"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1980
+#: ../src/guestfs-actions.pod:1998
#, no-wrap
msgid ""
" const char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1983 ../fish/guestfish-actions.pod:1348
+#: ../src/guestfs-actions.pod:2001 ../fish/guestfish-actions.pod:1361
msgid "Return the current search path."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1985 ../fish/guestfish-actions.pod:1350
+#: ../src/guestfs-actions.pod:2003 ../fish/guestfish-actions.pod:1363
msgid ""
"This is always non-NULL. If it wasn't set already, then this will return "
"the default path."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1988 ../src/guestfs-actions.pod:2017
+#: ../src/guestfs-actions.pod:2006 ../src/guestfs-actions.pod:2035
msgid ""
"This function returns a string, or NULL on error. The string is owned by "
"the guest handle and must I<not> be freed."
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1993
+#: ../src/guestfs-actions.pod:2011
msgid "guestfs_get_pid"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1995
+#: ../src/guestfs-actions.pod:2013
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1998 ../fish/guestfish-actions.pod:1359
+#: ../src/guestfs-actions.pod:2016 ../fish/guestfish-actions.pod:1372
msgid ""
"Return the process ID of the qemu subprocess. If there is no qemu "
"subprocess, then this will return an error."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2001 ../fish/guestfish-actions.pod:1362
+#: ../src/guestfs-actions.pod:2019 ../fish/guestfish-actions.pod:1375
msgid "This is an internal call used for debugging and testing."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2005
+#: ../src/guestfs-actions.pod:2023
msgid "(Added in 1.0.56)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2007
+#: ../src/guestfs-actions.pod:2025
msgid "guestfs_get_qemu"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2009
+#: ../src/guestfs-actions.pod:2027
#, no-wrap
msgid ""
" const char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2012 ../fish/guestfish-actions.pod:1368
+#: ../src/guestfs-actions.pod:2030 ../fish/guestfish-actions.pod:1381
msgid "Return the current qemu binary."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2014 ../fish/guestfish-actions.pod:1370
+#: ../src/guestfs-actions.pod:2032 ../fish/guestfish-actions.pod:1383
msgid ""
"This is always non-NULL. If it wasn't set already, then this will return "
"the default qemu binary name."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2020 ../src/guestfs-actions.pod:5818
+#: ../src/guestfs-actions.pod:2038 ../src/guestfs-actions.pod:5864
msgid "(Added in 1.0.6)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2022
+#: ../src/guestfs-actions.pod:2040
msgid "guestfs_get_recovery_proc"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2024
+#: ../src/guestfs-actions.pod:2042
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2027 ../fish/guestfish-actions.pod:1377
+#: ../src/guestfs-actions.pod:2045 ../fish/guestfish-actions.pod:1390
msgid "Return the recovery process enabled flag."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2031 ../src/guestfs-actions.pod:3355
-#: ../src/guestfs-actions.pod:3652 ../src/guestfs-actions.pod:4052
-#: ../src/guestfs-actions.pod:4084 ../src/guestfs-actions.pod:5105
-#: ../src/guestfs-actions.pod:5448 ../src/guestfs-actions.pod:5842
-#: ../src/guestfs-actions.pod:6501 ../src/guestfs-actions.pod:6521
-#: ../src/guestfs-actions.pod:6713
+#: ../src/guestfs-actions.pod:2049 ../src/guestfs-actions.pod:3373
+#: ../src/guestfs-actions.pod:3670 ../src/guestfs-actions.pod:4070
+#: ../src/guestfs-actions.pod:4102 ../src/guestfs-actions.pod:5123
+#: ../src/guestfs-actions.pod:5466 ../src/guestfs-actions.pod:5888
+#: ../src/guestfs-actions.pod:6547 ../src/guestfs-actions.pod:6567
+#: ../src/guestfs-actions.pod:6759
msgid "(Added in 1.0.77)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2033
+#: ../src/guestfs-actions.pod:2051
msgid "guestfs_get_selinux"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2035
+#: ../src/guestfs-actions.pod:2053
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2038
+#: ../src/guestfs-actions.pod:2056
msgid ""
"This returns the current setting of the selinux flag which is passed to the "
"appliance at boot time. See C<guestfs_set_selinux>."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2046 ../src/guestfs-actions.pod:2109
-#: ../src/guestfs-actions.pod:5861 ../src/guestfs-actions.pod:5915
+#: ../src/guestfs-actions.pod:2064 ../src/guestfs-actions.pod:2127
+#: ../src/guestfs-actions.pod:5907 ../src/guestfs-actions.pod:5961
msgid "(Added in 1.0.67)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2048
+#: ../src/guestfs-actions.pod:2066
msgid "guestfs_get_state"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2050
+#: ../src/guestfs-actions.pod:2068
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2053 ../fish/guestfish-actions.pod:1393
+#: ../src/guestfs-actions.pod:2071 ../fish/guestfish-actions.pod:1406
msgid ""
"This returns the current state as an opaque integer. This is only useful "
"for printing debug and internal error messages."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2056 ../src/guestfs-actions.pod:3158
-#: ../src/guestfs-actions.pod:3187 ../src/guestfs-actions.pod:3248
-#: ../src/guestfs-actions.pod:3275 ../fish/guestfish-actions.pod:1396
-#: ../fish/guestfish-actions.pod:2210 ../fish/guestfish-actions.pod:2228
-#: ../fish/guestfish-actions.pod:2266 ../fish/guestfish-actions.pod:2282
+#: ../src/guestfs-actions.pod:2074 ../src/guestfs-actions.pod:3176
+#: ../src/guestfs-actions.pod:3205 ../src/guestfs-actions.pod:3266
+#: ../src/guestfs-actions.pod:3293 ../fish/guestfish-actions.pod:1409
+#: ../fish/guestfish-actions.pod:2223 ../fish/guestfish-actions.pod:2241
+#: ../fish/guestfish-actions.pod:2279 ../fish/guestfish-actions.pod:2295
msgid "For more information on states, see L<guestfs(3)>."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2062
+#: ../src/guestfs-actions.pod:2080
msgid "guestfs_get_trace"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2064
+#: ../src/guestfs-actions.pod:2082
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2067 ../fish/guestfish-actions.pod:1402
+#: ../src/guestfs-actions.pod:2085 ../fish/guestfish-actions.pod:1415
msgid "Return the command trace flag."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2073
+#: ../src/guestfs-actions.pod:2091
msgid "guestfs_get_umask"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2075
+#: ../src/guestfs-actions.pod:2093
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2078
+#: ../src/guestfs-actions.pod:2096
msgid ""
"Return the current umask. By default the umask is C<022> unless it has been "
"set by calling C<guestfs_umask>."
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2085
+#: ../src/guestfs-actions.pod:2103
msgid "guestfs_get_verbose"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2087
+#: ../src/guestfs-actions.pod:2105
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2090 ../fish/guestfish-actions.pod:1415
+#: ../src/guestfs-actions.pod:2108 ../fish/guestfish-actions.pod:1428
msgid "This returns the verbose messages flag."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2096
+#: ../src/guestfs-actions.pod:2114
msgid "guestfs_getcon"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2098
+#: ../src/guestfs-actions.pod:2116
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2101 ../fish/guestfish-actions.pod:1421
+#: ../src/guestfs-actions.pod:2119 ../fish/guestfish-actions.pod:1434
msgid "This gets the SELinux security context of the daemon."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2103
+#: ../src/guestfs-actions.pod:2121
msgid ""
"See the documentation about SELINUX in L<guestfs(3)>, and C<guestfs_setcon>"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2111
+#: ../src/guestfs-actions.pod:2129
msgid "guestfs_getxattr"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2113
+#: ../src/guestfs-actions.pod:2131
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2119
+#: ../src/guestfs-actions.pod:2137
msgid ""
"Get a single extended attribute from file C<path> named C<name>. This call "
"follows symlinks. If you want to lookup an extended attribute for the "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2123 ../src/guestfs-actions.pod:3369
+#: ../src/guestfs-actions.pod:2141 ../src/guestfs-actions.pod:3387
msgid ""
"Normally it is better to get all extended attributes from a file in one go "
"by calling C<guestfs_getxattrs>. However some Linux filesystem "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2130 ../src/guestfs-actions.pod:3376
-#: ../fish/guestfish-actions.pod:1441 ../fish/guestfish-actions.pod:2347
+#: ../src/guestfs-actions.pod:2148 ../src/guestfs-actions.pod:3394
+#: ../fish/guestfish-actions.pod:1454 ../fish/guestfish-actions.pod:2360
msgid ""
"Extended attribute values are blobs of binary data. If there is no extended "
"attribute named C<name>, this returns an error."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2133
+#: ../src/guestfs-actions.pod:2151
msgid "See also: C<guestfs_getxattrs>, C<guestfs_lgetxattr>, L<attr(5)>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2135 ../src/guestfs-actions.pod:2326
-#: ../src/guestfs-actions.pod:3381 ../src/guestfs-actions.pod:5098
-#: ../src/guestfs-actions.pod:5124 ../src/guestfs-actions.pod:5305
+#: ../src/guestfs-actions.pod:2153 ../src/guestfs-actions.pod:2344
+#: ../src/guestfs-actions.pod:3399 ../src/guestfs-actions.pod:5116
+#: ../src/guestfs-actions.pod:5142 ../src/guestfs-actions.pod:5323
msgid ""
"This function returns a buffer, or NULL on error. The size of the returned "
"buffer is written to C<*size_r>. I<The caller must free the returned buffer "
msgstr ""
#. type: textblock
-#: ../src/guestfs-actions.pod:2139 ../src/guestfs-actions.pod:3385
+#: ../src/guestfs-actions.pod:2157 ../src/guestfs-actions.pod:3403
msgid "(Added in 1.7.24)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2141
+#: ../src/guestfs-actions.pod:2159
msgid "guestfs_getxattrs"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2143
+#: ../src/guestfs-actions.pod:2161
#, no-wrap
msgid ""
" struct guestfs_xattr_list *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2147 ../fish/guestfish-actions.pod:1450
+#: ../src/guestfs-actions.pod:2165 ../fish/guestfish-actions.pod:1463
msgid ""
"This call lists the extended attributes of the file or directory C<path>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2150 ../fish/guestfish-actions.pod:1453
+#: ../src/guestfs-actions.pod:2168 ../fish/guestfish-actions.pod:1466
msgid ""
"At the system call level, this is a combination of the L<listxattr(2)> and "
"L<getxattr(2)> calls."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2153
+#: ../src/guestfs-actions.pod:2171
msgid "See also: C<guestfs_lgetxattrs>, L<attr(5)>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2155 ../src/guestfs-actions.pod:3397
-#: ../src/guestfs-actions.pod:4048
+#: ../src/guestfs-actions.pod:2173 ../src/guestfs-actions.pod:3415
+#: ../src/guestfs-actions.pod:4066
msgid ""
"This function returns a C<struct guestfs_xattr_list *>, or NULL if there was "
"an error. I<The caller must call C<guestfs_free_xattr_list> after use>."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2159 ../src/guestfs-actions.pod:3401
-#: ../src/guestfs-actions.pod:3566 ../src/guestfs-actions.pod:3602
-#: ../src/guestfs-actions.pod:5478 ../src/guestfs-actions.pod:5934
-#: ../src/guestfs-actions.pod:7269
+#: ../src/guestfs-actions.pod:2177 ../src/guestfs-actions.pod:3419
+#: ../src/guestfs-actions.pod:3584 ../src/guestfs-actions.pod:3620
+#: ../src/guestfs-actions.pod:5496 ../src/guestfs-actions.pod:5980
+#: ../src/guestfs-actions.pod:7315
msgid "(Added in 1.0.59)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2161
+#: ../src/guestfs-actions.pod:2179
msgid "guestfs_glob_expand"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2163
+#: ../src/guestfs-actions.pod:2181
#, no-wrap
msgid ""
" char **\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2167 ../fish/guestfish-actions.pod:1462
+#: ../src/guestfs-actions.pod:2185 ../fish/guestfish-actions.pod:1475
msgid ""
"This command searches for all the pathnames matching C<pattern> according to "
"the wildcard expansion rules used by the shell."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2171 ../fish/guestfish-actions.pod:1466
+#: ../src/guestfs-actions.pod:2189 ../fish/guestfish-actions.pod:1479
msgid ""
"If no paths match, then this returns an empty list (note: not an error)."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2174 ../fish/guestfish-actions.pod:1469
+#: ../src/guestfs-actions.pod:2192 ../fish/guestfish-actions.pod:1482
msgid ""
"It is just a wrapper around the C L<glob(3)> function with flags C<GLOB_MARK|"
"GLOB_BRACE>. See that manual page for more details."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2182 ../src/guestfs-actions.pod:6099
-#: ../src/guestfs-actions.pod:6116
+#: ../src/guestfs-actions.pod:2200 ../src/guestfs-actions.pod:6145
+#: ../src/guestfs-actions.pod:6162
msgid "(Added in 1.0.50)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2184
+#: ../src/guestfs-actions.pod:2202
msgid "guestfs_grep"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2186
+#: ../src/guestfs-actions.pod:2204
#, no-wrap
msgid ""
" char **\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2191 ../fish/guestfish-actions.pod:1477
+#: ../src/guestfs-actions.pod:2209 ../fish/guestfish-actions.pod:1490
msgid "This calls the external C<grep> program and returns the matching lines."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2203
+#: ../src/guestfs-actions.pod:2221
msgid "guestfs_grepi"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2205
+#: ../src/guestfs-actions.pod:2223
#, no-wrap
msgid ""
" char **\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2210 ../fish/guestfish-actions.pod:1487
+#: ../src/guestfs-actions.pod:2228 ../fish/guestfish-actions.pod:1500
msgid ""
"This calls the external C<grep -i> program and returns the matching lines."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2222
+#: ../src/guestfs-actions.pod:2240
msgid "guestfs_grub_install"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2224
+#: ../src/guestfs-actions.pod:2242
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2229 ../fish/guestfish-actions.pod:1497
+#: ../src/guestfs-actions.pod:2247 ../fish/guestfish-actions.pod:1510
msgid ""
"This command installs GRUB (the Grand Unified Bootloader) on C<device>, with "
"the root directory being C<root>."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2232 ../fish/guestfish-actions.pod:1500
+#: ../src/guestfs-actions.pod:2250 ../fish/guestfish-actions.pod:1513
msgid ""
"Note: If grub-install reports the error \"No suitable drive was found in the "
"generated device map.\" it may be that you need to create a C</boot/grub/"
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2239 ../fish/guestfish-actions.pod:1507
+#: ../src/guestfs-actions.pod:2257 ../fish/guestfish-actions.pod:1520
#, no-wrap
msgid ""
" (hd0) /dev/vda\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2241 ../fish/guestfish-actions.pod:1509
+#: ../src/guestfs-actions.pod:2259 ../fish/guestfish-actions.pod:1522
msgid "replacing C</dev/vda> with the name of the installation device."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2245
+#: ../src/guestfs-actions.pod:2263
msgid "(Added in 1.0.17)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2247
+#: ../src/guestfs-actions.pod:2265
msgid "guestfs_head"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2249
+#: ../src/guestfs-actions.pod:2267
#, no-wrap
msgid ""
" char **\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2253 ../fish/guestfish-actions.pod:1515
+#: ../src/guestfs-actions.pod:2271 ../fish/guestfish-actions.pod:1528
msgid ""
"This command returns up to the first 10 lines of a file as a list of strings."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2265
+#: ../src/guestfs-actions.pod:2283
msgid "guestfs_head_n"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2267
+#: ../src/guestfs-actions.pod:2285
#, no-wrap
msgid ""
" char **\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2272 ../fish/guestfish-actions.pod:1525
+#: ../src/guestfs-actions.pod:2290 ../fish/guestfish-actions.pod:1538
msgid ""
"If the parameter C<nrlines> is a positive number, this returns the first "
"C<nrlines> lines of the file C<path>."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2275 ../fish/guestfish-actions.pod:1528
+#: ../src/guestfs-actions.pod:2293 ../fish/guestfish-actions.pod:1541
msgid ""
"If the parameter C<nrlines> is a negative number, this returns lines from "
"the file C<path>, excluding the last C<nrlines> lines."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2278 ../src/guestfs-actions.pod:6396
-#: ../fish/guestfish-actions.pod:1531 ../fish/guestfish-actions.pod:4287
+#: ../src/guestfs-actions.pod:2296 ../src/guestfs-actions.pod:6442
+#: ../fish/guestfish-actions.pod:1544 ../fish/guestfish-actions.pod:4326
msgid "If the parameter C<nrlines> is zero, this returns an empty list."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2289
+#: ../src/guestfs-actions.pod:2307
msgid "guestfs_hexdump"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2291
+#: ../src/guestfs-actions.pod:2309
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2295 ../fish/guestfish-actions.pod:1540
+#: ../src/guestfs-actions.pod:2313 ../fish/guestfish-actions.pod:1553
msgid ""
"This runs C<hexdump -C> on the given C<path>. The result is the human-"
"readable, canonical hex dump of the file."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2304 ../src/guestfs-actions.pod:6180
-#: ../src/guestfs-actions.pod:6235
+#: ../src/guestfs-actions.pod:2322 ../src/guestfs-actions.pod:6226
+#: ../src/guestfs-actions.pod:6281
msgid "(Added in 1.0.22)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2306
+#: ../src/guestfs-actions.pod:2324
msgid "guestfs_initrd_cat"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2308
+#: ../src/guestfs-actions.pod:2326
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2314 ../fish/guestfish-actions.pod:1550
+#: ../src/guestfs-actions.pod:2332 ../fish/guestfish-actions.pod:1563
msgid ""
"This command unpacks the file C<filename> from the initrd file called "
"C<initrdpath>. The filename must be given I<without> the initial C</> "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2318 ../fish/guestfish-actions.pod:1554
+#: ../src/guestfs-actions.pod:2336 ../fish/guestfish-actions.pod:1567
msgid ""
"For example, in guestfish you could use the following command to examine the "
"boot script (usually called C</init>) contained in a Linux initrd or "
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2322 ../fish/guestfish-actions.pod:1558
+#: ../src/guestfs-actions.pod:2340 ../fish/guestfish-actions.pod:1571
#, no-wrap
msgid ""
" initrd-cat /boot/initrd-<version>.img init\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2324
+#: ../src/guestfs-actions.pod:2342
msgid "See also C<guestfs_initrd_list>."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2335
+#: ../src/guestfs-actions.pod:2353
msgid "guestfs_initrd_list"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2337
+#: ../src/guestfs-actions.pod:2355
#, no-wrap
msgid ""
" char **\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2341 ../fish/guestfish-actions.pod:1569
+#: ../src/guestfs-actions.pod:2359 ../fish/guestfish-actions.pod:1582
msgid "This command lists out files contained in an initrd."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2343 ../fish/guestfish-actions.pod:1571
+#: ../src/guestfs-actions.pod:2361 ../fish/guestfish-actions.pod:1584
msgid ""
"The files are listed without any initial C</> character. The files are "
"listed in the order they appear (not necessarily alphabetical). Directory "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2347 ../fish/guestfish-actions.pod:1575
+#: ../src/guestfs-actions.pod:2365 ../fish/guestfish-actions.pod:1588
msgid ""
"Old Linux kernels (2.4 and earlier) used a compressed ext2 filesystem as "
"initrd. We I<only> support the newer initramfs format (compressed cpio "
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2357
+#: ../src/guestfs-actions.pod:2375
msgid "guestfs_inotify_add_watch"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2359
+#: ../src/guestfs-actions.pod:2377
#, no-wrap
msgid ""
" int64_t\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2364 ../fish/guestfish-actions.pod:1583
+#: ../src/guestfs-actions.pod:2382 ../fish/guestfish-actions.pod:1596
msgid "Watch C<path> for the events listed in C<mask>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2366 ../fish/guestfish-actions.pod:1585
+#: ../src/guestfs-actions.pod:2384 ../fish/guestfish-actions.pod:1598
msgid ""
"Note that if C<path> is a directory then events within that directory are "
"watched, but this does I<not> happen recursively (in subdirectories)."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2370 ../fish/guestfish-actions.pod:1589
+#: ../src/guestfs-actions.pod:2388 ../fish/guestfish-actions.pod:1602
msgid ""
"Note for non-C or non-Linux callers: the inotify events are defined by the "
"Linux kernel ABI and are listed in C</usr/include/sys/inotify.h>."
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2378
+#: ../src/guestfs-actions.pod:2396
msgid "guestfs_inotify_close"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2380
+#: ../src/guestfs-actions.pod:2398
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2383 ../fish/guestfish-actions.pod:1597
+#: ../src/guestfs-actions.pod:2401 ../fish/guestfish-actions.pod:1610
msgid ""
"This closes the inotify handle which was previously opened by inotify_init. "
"It removes all watches, throws away any pending events, and deallocates all "
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2391
+#: ../src/guestfs-actions.pod:2409
msgid "guestfs_inotify_files"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2393
+#: ../src/guestfs-actions.pod:2411
#, no-wrap
msgid ""
" char **\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2396
+#: ../src/guestfs-actions.pod:2414
msgid ""
"This function is a helpful wrapper around C<guestfs_inotify_read> which just "
"returns a list of pathnames of objects that were touched. The returned "
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2406
+#: ../src/guestfs-actions.pod:2424
msgid "guestfs_inotify_init"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2408
+#: ../src/guestfs-actions.pod:2426
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2412 ../fish/guestfish-actions.pod:1613
+#: ../src/guestfs-actions.pod:2430 ../fish/guestfish-actions.pod:1626
msgid ""
"This command creates a new inotify handle. The inotify subsystem can be "
"used to notify events which happen to objects in the guest filesystem."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2416
+#: ../src/guestfs-actions.pod:2434
msgid ""
"C<maxevents> is the maximum number of events which will be queued up between "
"calls to C<guestfs_inotify_read> or C<guestfs_inotify_files>. If this is "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2426
+#: ../src/guestfs-actions.pod:2444
msgid ""
"Before any events are generated, you have to add some watches to the "
"internal watch list. See: C<guestfs_inotify_add_watch>, "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2432
+#: ../src/guestfs-actions.pod:2450
msgid ""
"Queued up events should be read periodically by calling "
"C<guestfs_inotify_read> (or C<guestfs_inotify_files> which is just a helpful "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2439
+#: ../src/guestfs-actions.pod:2457
msgid ""
"The handle should be closed after use by calling C<guestfs_inotify_close>. "
"This also removes any watches automatically."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2443 ../fish/guestfish-actions.pod:1644
+#: ../src/guestfs-actions.pod:2461 ../fish/guestfish-actions.pod:1657
msgid ""
"See also L<inotify(7)> for an overview of the inotify interface as exposed "
"by the Linux kernel, which is roughly what we expose via libguestfs. Note "
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2452
+#: ../src/guestfs-actions.pod:2470
msgid "guestfs_inotify_read"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2454
+#: ../src/guestfs-actions.pod:2472
#, no-wrap
msgid ""
" struct guestfs_inotify_event_list *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2457 ../fish/guestfish-actions.pod:1653
+#: ../src/guestfs-actions.pod:2475 ../fish/guestfish-actions.pod:1666
msgid ""
"Return the complete queue of events that have happened since the previous "
"read call."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2460 ../fish/guestfish-actions.pod:1656
+#: ../src/guestfs-actions.pod:2478 ../fish/guestfish-actions.pod:1669
msgid "If no events have happened, this returns an empty list."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2462 ../fish/guestfish-actions.pod:1658
+#: ../src/guestfs-actions.pod:2480 ../fish/guestfish-actions.pod:1671
msgid ""
"I<Note>: In order to make sure that all events have been read, you must call "
"this function repeatedly until it returns an empty list. The reason is that "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2468
+#: ../src/guestfs-actions.pod:2486
msgid ""
"This function returns a C<struct guestfs_inotify_event_list *>, or NULL if "
"there was an error. I<The caller must call "
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2474
+#: ../src/guestfs-actions.pod:2492
msgid "guestfs_inotify_rm_watch"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2476
+#: ../src/guestfs-actions.pod:2494
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2480
+#: ../src/guestfs-actions.pod:2498
msgid ""
"Remove a previously defined inotify watch. See C<guestfs_inotify_add_watch>."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2487
+#: ../src/guestfs-actions.pod:2505
msgid "guestfs_inspect_get_arch"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2489
+#: ../src/guestfs-actions.pod:2507
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2493 ../src/guestfs-actions.pod:2516
-#: ../src/guestfs-actions.pod:2597 ../src/guestfs-actions.pod:2623
-#: ../src/guestfs-actions.pod:2662 ../src/guestfs-actions.pod:2684
-#: ../src/guestfs-actions.pod:2711 ../src/guestfs-actions.pod:2732
-#: ../src/guestfs-actions.pod:2769 ../src/guestfs-actions.pod:2798
-#: ../src/guestfs-actions.pod:2829 ../src/guestfs-actions.pod:2873
-#: ../src/guestfs-actions.pod:2915 ../src/guestfs-actions.pod:2938
-#: ../src/guestfs-actions.pod:2955 ../src/guestfs-actions.pod:2972
-#: ../src/guestfs-actions.pod:2991
+#: ../src/guestfs-actions.pod:2511 ../src/guestfs-actions.pod:2534
+#: ../src/guestfs-actions.pod:2615 ../src/guestfs-actions.pod:2641
+#: ../src/guestfs-actions.pod:2680 ../src/guestfs-actions.pod:2702
+#: ../src/guestfs-actions.pod:2729 ../src/guestfs-actions.pod:2750
+#: ../src/guestfs-actions.pod:2787 ../src/guestfs-actions.pod:2816
+#: ../src/guestfs-actions.pod:2847 ../src/guestfs-actions.pod:2891
+#: ../src/guestfs-actions.pod:2933 ../src/guestfs-actions.pod:2956
+#: ../src/guestfs-actions.pod:2973 ../src/guestfs-actions.pod:2990
+#: ../src/guestfs-actions.pod:3009
msgid ""
"This function should only be called with a root device string as returned by "
"C<guestfs_inspect_os>."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2496
+#: ../src/guestfs-actions.pod:2514
msgid ""
"This returns the architecture of the inspected operating system. The "
"possible return values are listed under C<guestfs_file_architecture>."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2500 ../fish/guestfish-actions.pod:1682
+#: ../src/guestfs-actions.pod:2518 ../fish/guestfish-actions.pod:1695
msgid ""
"If the architecture could not be determined, then the string C<unknown> is "
"returned."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2503 ../src/guestfs-actions.pod:2584
-#: ../src/guestfs-actions.pod:2651 ../src/guestfs-actions.pod:2671
-#: ../src/guestfs-actions.pod:2699 ../src/guestfs-actions.pod:2785
-#: ../src/guestfs-actions.pod:2816 ../src/guestfs-actions.pod:2840
-#: ../src/guestfs-actions.pod:2859 ../src/guestfs-actions.pod:2902
-#: ../src/guestfs-actions.pod:2925 ../src/guestfs-actions.pod:2945
-#: ../src/guestfs-actions.pod:2962 ../src/guestfs-actions.pod:2981
-#: ../src/guestfs-actions.pod:3084 ../src/guestfs-actions.pod:3125
-#: ../fish/guestfish-actions.pod:1685 ../fish/guestfish-actions.pod:1759
-#: ../fish/guestfish-actions.pod:1811 ../fish/guestfish-actions.pod:1826
-#: ../fish/guestfish-actions.pod:1847 ../fish/guestfish-actions.pod:1911
-#: ../fish/guestfish-actions.pod:1935 ../fish/guestfish-actions.pod:1952
-#: ../fish/guestfish-actions.pod:1965 ../fish/guestfish-actions.pod:2000
-#: ../fish/guestfish-actions.pod:2016 ../fish/guestfish-actions.pod:2029
-#: ../fish/guestfish-actions.pod:2042 ../fish/guestfish-actions.pod:2057
-#: ../fish/guestfish-actions.pod:2156 ../fish/guestfish-actions.pod:2190
+#: ../src/guestfs-actions.pod:2521 ../src/guestfs-actions.pod:2602
+#: ../src/guestfs-actions.pod:2669 ../src/guestfs-actions.pod:2689
+#: ../src/guestfs-actions.pod:2717 ../src/guestfs-actions.pod:2803
+#: ../src/guestfs-actions.pod:2834 ../src/guestfs-actions.pod:2858
+#: ../src/guestfs-actions.pod:2877 ../src/guestfs-actions.pod:2920
+#: ../src/guestfs-actions.pod:2943 ../src/guestfs-actions.pod:2963
+#: ../src/guestfs-actions.pod:2980 ../src/guestfs-actions.pod:2999
+#: ../src/guestfs-actions.pod:3102 ../src/guestfs-actions.pod:3143
+#: ../fish/guestfish-actions.pod:1698 ../fish/guestfish-actions.pod:1772
+#: ../fish/guestfish-actions.pod:1824 ../fish/guestfish-actions.pod:1839
+#: ../fish/guestfish-actions.pod:1860 ../fish/guestfish-actions.pod:1924
+#: ../fish/guestfish-actions.pod:1948 ../fish/guestfish-actions.pod:1965
+#: ../fish/guestfish-actions.pod:1978 ../fish/guestfish-actions.pod:2013
+#: ../fish/guestfish-actions.pod:2029 ../fish/guestfish-actions.pod:2042
+#: ../fish/guestfish-actions.pod:2055 ../fish/guestfish-actions.pod:2070
+#: ../fish/guestfish-actions.pod:2169 ../fish/guestfish-actions.pod:2203
msgid "Please read L<guestfs(3)/INSPECTION> for more details."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2510
+#: ../src/guestfs-actions.pod:2528
msgid "guestfs_inspect_get_distro"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2512
+#: ../src/guestfs-actions.pod:2530
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2519 ../fish/guestfish-actions.pod:1694
+#: ../src/guestfs-actions.pod:2537 ../fish/guestfish-actions.pod:1707
msgid ""
"This returns the distro (distribution) of the inspected operating system."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2522 ../fish/guestfish-actions.pod:1697
+#: ../src/guestfs-actions.pod:2540 ../fish/guestfish-actions.pod:1710
msgid "Currently defined distros are:"
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:2526 ../fish/guestfish-actions.pod:1701
+#: ../src/guestfs-actions.pod:2544 ../fish/guestfish-actions.pod:1714
msgid "\"archlinux\""
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2528 ../fish/guestfish-actions.pod:1703
+#: ../src/guestfs-actions.pod:2546 ../fish/guestfish-actions.pod:1716
msgid "Arch Linux."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:2530 ../fish/guestfish-actions.pod:1705
+#: ../src/guestfs-actions.pod:2548 ../fish/guestfish-actions.pod:1718
msgid "\"debian\""
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2532 ../fish/guestfish-actions.pod:1707
+#: ../src/guestfs-actions.pod:2550 ../fish/guestfish-actions.pod:1720
msgid "Debian."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:2534 ../fish/guestfish-actions.pod:1709
+#: ../src/guestfs-actions.pod:2552 ../fish/guestfish-actions.pod:1722
msgid "\"fedora\""
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2536 ../fish/guestfish-actions.pod:1711
+#: ../src/guestfs-actions.pod:2554 ../fish/guestfish-actions.pod:1724
msgid "Fedora."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:2538 ../fish/guestfish-actions.pod:1713
+#: ../src/guestfs-actions.pod:2556 ../fish/guestfish-actions.pod:1726
msgid "\"gentoo\""
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2540 ../fish/guestfish-actions.pod:1715
+#: ../src/guestfs-actions.pod:2558 ../fish/guestfish-actions.pod:1728
msgid "Gentoo."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:2542 ../fish/guestfish-actions.pod:1717
+#: ../src/guestfs-actions.pod:2560 ../fish/guestfish-actions.pod:1730
msgid "\"linuxmint\""
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2544 ../fish/guestfish-actions.pod:1719
+#: ../src/guestfs-actions.pod:2562 ../fish/guestfish-actions.pod:1732
msgid "Linux Mint."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:2546 ../fish/guestfish-actions.pod:1721
+#: ../src/guestfs-actions.pod:2564 ../fish/guestfish-actions.pod:1734
msgid "\"mandriva\""
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2548 ../fish/guestfish-actions.pod:1723
+#: ../src/guestfs-actions.pod:2566 ../fish/guestfish-actions.pod:1736
msgid "Mandriva."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:2550 ../fish/guestfish-actions.pod:1725
+#: ../src/guestfs-actions.pod:2568 ../fish/guestfish-actions.pod:1738
msgid "\"meego\""
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2552 ../fish/guestfish-actions.pod:1727
+#: ../src/guestfs-actions.pod:2570 ../fish/guestfish-actions.pod:1740
msgid "MeeGo."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:2554 ../fish/guestfish-actions.pod:1729
+#: ../src/guestfs-actions.pod:2572 ../fish/guestfish-actions.pod:1742
msgid "\"pardus\""
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2556 ../fish/guestfish-actions.pod:1731
+#: ../src/guestfs-actions.pod:2574 ../fish/guestfish-actions.pod:1744
msgid "Pardus."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:2558 ../fish/guestfish-actions.pod:1733
+#: ../src/guestfs-actions.pod:2576 ../fish/guestfish-actions.pod:1746
msgid "\"redhat-based\""
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2560 ../fish/guestfish-actions.pod:1735
+#: ../src/guestfs-actions.pod:2578 ../fish/guestfish-actions.pod:1748
msgid "Some Red Hat-derived distro."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:2562 ../fish/guestfish-actions.pod:1737
+#: ../src/guestfs-actions.pod:2580 ../fish/guestfish-actions.pod:1750
msgid "\"rhel\""
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2564 ../fish/guestfish-actions.pod:1739
+#: ../src/guestfs-actions.pod:2582 ../fish/guestfish-actions.pod:1752
msgid "Red Hat Enterprise Linux and some derivatives."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:2566 ../fish/guestfish-actions.pod:1741
+#: ../src/guestfs-actions.pod:2584 ../fish/guestfish-actions.pod:1754
msgid "\"ubuntu\""
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2568 ../fish/guestfish-actions.pod:1743
+#: ../src/guestfs-actions.pod:2586 ../fish/guestfish-actions.pod:1756
msgid "Ubuntu."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:2570 ../src/guestfs-actions.pod:2642
-#: ../src/guestfs-actions.pod:2893 ../fish/guestfish-actions.pod:1745
-#: ../fish/guestfish-actions.pod:1802 ../fish/guestfish-actions.pod:1991
+#: ../src/guestfs-actions.pod:2588 ../src/guestfs-actions.pod:2660
+#: ../src/guestfs-actions.pod:2911 ../fish/guestfish-actions.pod:1758
+#: ../fish/guestfish-actions.pod:1815 ../fish/guestfish-actions.pod:2004
msgid "\"unknown\""
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2572 ../fish/guestfish-actions.pod:1747
+#: ../src/guestfs-actions.pod:2590 ../fish/guestfish-actions.pod:1760
msgid "The distro could not be determined."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:2574 ../src/guestfs-actions.pod:2885
-#: ../fish/guestfish-actions.pod:1749 ../fish/guestfish-actions.pod:1983
+#: ../src/guestfs-actions.pod:2592 ../src/guestfs-actions.pod:2903
+#: ../fish/guestfish-actions.pod:1762 ../fish/guestfish-actions.pod:1996
msgid "\"windows\""
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2576 ../fish/guestfish-actions.pod:1751
+#: ../src/guestfs-actions.pod:2594 ../fish/guestfish-actions.pod:1764
msgid ""
"Windows does not have distributions. This string is returned if the OS type "
"is Windows."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2581 ../src/guestfs-actions.pod:2648
-#: ../src/guestfs-actions.pod:2899 ../fish/guestfish-actions.pod:1756
-#: ../fish/guestfish-actions.pod:1808 ../fish/guestfish-actions.pod:1997
+#: ../src/guestfs-actions.pod:2599 ../src/guestfs-actions.pod:2666
+#: ../src/guestfs-actions.pod:2917 ../fish/guestfish-actions.pod:1769
+#: ../fish/guestfish-actions.pod:1821 ../fish/guestfish-actions.pod:2010
msgid ""
"Future versions of libguestfs may return other strings here. The caller "
"should be prepared to handle any string."
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2591
+#: ../src/guestfs-actions.pod:2609
msgid "guestfs_inspect_get_filesystems"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2593
+#: ../src/guestfs-actions.pod:2611
#, no-wrap
msgid ""
" char **\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2600 ../fish/guestfish-actions.pod:1768
+#: ../src/guestfs-actions.pod:2618 ../fish/guestfish-actions.pod:1781
msgid ""
"This returns a list of all the filesystems that we think are associated with "
"this operating system. This includes the root filesystem, other ordinary "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2605 ../fish/guestfish-actions.pod:1773
+#: ../src/guestfs-actions.pod:2623 ../fish/guestfish-actions.pod:1786
msgid ""
"In the case of a multi-boot virtual machine, it is possible for a filesystem "
"to be shared between operating systems."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2608
+#: ../src/guestfs-actions.pod:2626
msgid ""
"Please read L<guestfs(3)/INSPECTION> for more details. See also "
"C<guestfs_inspect_get_mountpoints>."
msgstr ""
#. type: =head2
-#: ../src/guestfs-actions.pod:2617
+#: ../src/guestfs-actions.pod:2635
msgid "guestfs_inspect_get_format"
msgstr ""
#. type: verbatim
-#: ../src/guestfs-actions.pod:2619
+#: ../src/guestfs-actions.pod:2637
#, no-wrap
msgid ""
" char *\n"
msgstr ""
#. type: textblock
-#: ../src/guestfs-actions.pod:2626 ../fish/guestfish-actions.pod:1786
+#: ../src/guestfs-actions.pod:2644 ../fish/guestfish-actions.pod:1799
msgid ""
"This returns the format of the inspected operating system. You can use it "
"to detect install images, live CDs and similar."
msgstr ""
#. type: textblock
-#: ../src/guestfs-actions.pod:2629 ../fish/guestfish-actions.pod:1789
+#: ../src/guestfs-actions.pod:2647 ../fish/guestfish-actions.pod:1802
msgid "Currently defined formats are:"
msgstr ""
#. type: =item
-#: ../src/guestfs-actions.pod:2633 ../fish/guestfish-actions.pod:1793
+#: ../src/guestfs-actions.pod:2651 ../fish/guestfish-actions.pod:1806
msgid "\"installed\""
msgstr ""
#. type: textblock
-#: ../src/guestfs-actions.pod:2635 ../fish/guestfish-actions.pod:1795
+#: ../src/guestfs-actions.pod:2653 ../fish/guestfish-actions.pod:1808
msgid "This is an installed operating system."
msgstr ""
#. type: =item
-#: ../src/guestfs-actions.pod:2637 ../fish/guestfish-actions.pod:1797
+#: ../src/guestfs-actions.pod:2655 ../fish/guestfish-actions.pod:1810
msgid "\"installer\""
msgstr ""
#. type: textblock
-#: ../src/guestfs-actions.pod:2639 ../fish/guestfish-actions.pod:1799
+#: ../src/guestfs-actions.pod:2657 ../fish/guestfish-actions.pod:1812
msgid ""
"The disk image being inspected is not an installed operating system, but a "
"I<bootable> install disk, live CD, or similar."
msgstr ""
#. type: textblock
-#: ../src/guestfs-actions.pod:2644 ../fish/guestfish-actions.pod:1804
+#: ../src/guestfs-actions.pod:2662 ../fish/guestfish-actions.pod:1817
msgid "The format of this disk image is not known."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2656
+#: ../src/guestfs-actions.pod:2674
msgid "guestfs_inspect_get_hostname"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2658
+#: ../src/guestfs-actions.pod:2676
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2665 ../fish/guestfish-actions.pod:1820
+#: ../src/guestfs-actions.pod:2683 ../fish/guestfish-actions.pod:1833
msgid ""
"This function returns the hostname of the operating system as found by "
"inspection of the guest's configuration files."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2668 ../fish/guestfish-actions.pod:1823
+#: ../src/guestfs-actions.pod:2686 ../fish/guestfish-actions.pod:1836
msgid ""
"If the hostname could not be determined, then the string C<unknown> is "
"returned."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2676
+#: ../src/guestfs-actions.pod:2694
msgid "(Added in 1.7.9)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2678
+#: ../src/guestfs-actions.pod:2696
msgid "guestfs_inspect_get_major_version"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2680
+#: ../src/guestfs-actions.pod:2698
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2687 ../fish/guestfish-actions.pod:1835
+#: ../src/guestfs-actions.pod:2705 ../fish/guestfish-actions.pod:1848
msgid ""
"This returns the major version number of the inspected operating system."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2690 ../fish/guestfish-actions.pod:1838
+#: ../src/guestfs-actions.pod:2708 ../fish/guestfish-actions.pod:1851
msgid ""
"Windows uses a consistent versioning scheme which is I<not> reflected in the "
"popular public names used by the operating system. Notably the operating "
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2697 ../src/guestfs-actions.pod:2717
-#: ../fish/guestfish-actions.pod:1845 ../fish/guestfish-actions.pod:1859
+#: ../src/guestfs-actions.pod:2715 ../src/guestfs-actions.pod:2735
+#: ../fish/guestfish-actions.pod:1858 ../fish/guestfish-actions.pod:1872
msgid "If the version could not be determined, then C<0> is returned."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2705
+#: ../src/guestfs-actions.pod:2723
msgid "guestfs_inspect_get_minor_version"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2707
+#: ../src/guestfs-actions.pod:2725
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2714 ../fish/guestfish-actions.pod:1856
+#: ../src/guestfs-actions.pod:2732 ../fish/guestfish-actions.pod:1869
msgid ""
"This returns the minor version number of the inspected operating system."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2719
+#: ../src/guestfs-actions.pod:2737
msgid ""
"Please read L<guestfs(3)/INSPECTION> for more details. See also "
"C<guestfs_inspect_get_major_version>."