msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: libguestfs@redhat.com\n"
-"POT-Creation-Date: 2011-04-22 22:23+0200\n"
+"POT-Creation-Date: 2011-05-08 12:57+0200\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"
"\n"
msgstr ""
-# type: textblock
#. type: textblock
#: ../src/guestfs.pod:357
-msgid "and you can write tar output to a pipe C<fd> by doing:"
+msgid "and you can write tar output to a file descriptor C<fd> by doing:"
msgstr ""
#. type: verbatim
#. 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:1087
-#: ../src/guestfs.pod:1091 ../src/guestfs.pod:1095 ../src/guestfs.pod:1100
-#: ../src/guestfs.pod:1108 ../src/guestfs.pod:1127 ../src/guestfs.pod:1135
-#: ../src/guestfs.pod:1157 ../src/guestfs.pod:1161 ../src/guestfs.pod:1165
-#: ../src/guestfs.pod:1169 ../src/guestfs.pod:1173 ../src/guestfs.pod:1177
-#: ../src/guestfs.pod:1659 ../src/guestfs.pod:1664 ../src/guestfs.pod:1668
-#: ../src/guestfs.pod:1769 ../src/guestfs.pod:1774 ../src/guestfs.pod:1778
-#: ../src/guestfs.pod:1788 ../src/guestfs.pod:2022 ../src/guestfs.pod:2027
-#: ../src/guestfs.pod:2033 ../src/guestfs.pod:2041 ../src/guestfs.pod:2395
-#: ../src/guestfs.pod:2401 ../src/guestfs.pod:2406 ../src/guestfs.pod:2412
-#: ../src/guestfs.pod:2877 ../src/guestfs.pod:2881 ../src/guestfs.pod:2885
-#: ../src/guestfs.pod:2889 ../src/guestfs-actions.pod:15
-#: ../src/guestfs-actions.pod:22 ../src/guestfs-actions.pod:577
-#: ../src/guestfs-actions.pod:585 ../src/guestfs-actions.pod:592
-#: ../src/guestfs-actions.pod:599 ../src/guestfs-actions.pod:1600
-#: ../src/guestfs-actions.pod:1604 ../src/guestfs-actions.pod:1608
-#: ../src/guestfs-actions.pod:1612 ../src/guestfs-actions.pod:1620
-#: ../src/guestfs-actions.pod:1624 ../src/guestfs-actions.pod:1628
-#: ../src/guestfs-actions.pod:1638 ../src/guestfs-actions.pod:1642
-#: ../src/guestfs-actions.pod:1646 ../src/guestfs-actions.pod:1784
-#: ../src/guestfs-actions.pod:1788 ../src/guestfs-actions.pod:1793
-#: ../src/guestfs-actions.pod:1798 ../src/guestfs-actions.pod:1859
-#: ../src/guestfs-actions.pod:1863 ../src/guestfs-actions.pod:1868
-#: ../fish/guestfish.pod:443 ../fish/guestfish.pod:447
-#: ../fish/guestfish.pod:451 ../fish/guestfish.pod:455
+#: ../src/guestfs.pod:416 ../src/guestfs.pod:421 ../src/guestfs.pod:1064
+#: ../src/guestfs.pod:1068 ../src/guestfs.pod:1072 ../src/guestfs.pod:1077
+#: ../src/guestfs.pod:1085 ../src/guestfs.pod:1104 ../src/guestfs.pod:1112
+#: ../src/guestfs.pod:1134 ../src/guestfs.pod:1138 ../src/guestfs.pod:1142
+#: ../src/guestfs.pod:1146 ../src/guestfs.pod:1150 ../src/guestfs.pod:1154
+#: ../src/guestfs.pod:1643 ../src/guestfs.pod:1648 ../src/guestfs.pod:1652
+#: ../src/guestfs.pod:1754 ../src/guestfs.pod:1759 ../src/guestfs.pod:1763
+#: ../src/guestfs.pod:1773 ../src/guestfs.pod:2008 ../src/guestfs.pod:2013
+#: ../src/guestfs.pod:2019 ../src/guestfs.pod:2027 ../src/guestfs.pod:2381
+#: ../src/guestfs.pod:2387 ../src/guestfs.pod:2392 ../src/guestfs.pod:2398
+#: ../src/guestfs.pod:2963 ../src/guestfs.pod:2967 ../src/guestfs.pod:2971
+#: ../src/guestfs.pod:2975 ../src/guestfs-actions.pod:15
+#: ../src/guestfs-actions.pod:22 ../src/guestfs-actions.pod:583
+#: ../src/guestfs-actions.pod:591 ../src/guestfs-actions.pod:598
+#: ../src/guestfs-actions.pod:605 ../src/guestfs-actions.pod:1606
+#: ../src/guestfs-actions.pod:1610 ../src/guestfs-actions.pod:1614
+#: ../src/guestfs-actions.pod:1618 ../src/guestfs-actions.pod:1626
+#: ../src/guestfs-actions.pod:1630 ../src/guestfs-actions.pod:1634
+#: ../src/guestfs-actions.pod:1644 ../src/guestfs-actions.pod:1648
+#: ../src/guestfs-actions.pod:1652 ../src/guestfs-actions.pod:1790
+#: ../src/guestfs-actions.pod:1794 ../src/guestfs-actions.pod:1799
+#: ../src/guestfs-actions.pod:1804 ../src/guestfs-actions.pod:1865
+#: ../src/guestfs-actions.pod:1869 ../src/guestfs-actions.pod:1874
+#: ../fish/guestfish.pod:445 ../fish/guestfish.pod:449
+#: ../fish/guestfish.pod:453 ../fish/guestfish.pod:457
#: ../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-edit.pl:351
+#: ../fish/guestfish-actions.pod:385 ../fish/guestfish-actions.pod:393
+#: ../fish/guestfish-actions.pod:400 ../fish/guestfish-actions.pod:407
+#: ../fish/guestfish-actions.pod:1077 ../fish/guestfish-actions.pod:1081
+#: ../fish/guestfish-actions.pod:1085 ../fish/guestfish-actions.pod:1089
+#: ../fish/guestfish-actions.pod:1097 ../fish/guestfish-actions.pod:1101
+#: ../fish/guestfish-actions.pod:1105 ../fish/guestfish-actions.pod:1115
+#: ../fish/guestfish-actions.pod:1119 ../fish/guestfish-actions.pod:1123
+#: ../fish/guestfish-actions.pod:1213 ../fish/guestfish-actions.pod:1217
+#: ../fish/guestfish-actions.pod:1222 ../fish/guestfish-actions.pod:1227
+#: ../fish/guestfish-actions.pod:1269 ../fish/guestfish-actions.pod:1273
+#: ../fish/guestfish-actions.pod:1278 ../tools/virt-edit.pl:351
#: ../tools/virt-edit.pl:356 ../tools/virt-edit.pl:361
#: ../tools/virt-edit.pl:372 ../tools/virt-edit.pl:376
#: ../tools/virt-win-reg.pl:536 ../tools/virt-win-reg.pl:542
# type: =item
#. type: =item
-#: ../src/guestfs.pod:469 ../src/guestfs.pod:1280 ../src/guestfs.pod:1411
-#: ../src/guestfs.pod:2440
+#: ../src/guestfs.pod:469 ../src/guestfs.pod:1257 ../src/guestfs.pod:1395
+#: ../src/guestfs.pod:2426
msgid "1."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs.pod:475 ../src/guestfs.pod:1284 ../src/guestfs.pod:1415
-#: ../src/guestfs.pod:2465
+#: ../src/guestfs.pod:475 ../src/guestfs.pod:1261 ../src/guestfs.pod:1399
+#: ../src/guestfs.pod:2451
msgid "2."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs.pod:486 ../src/guestfs.pod:1421
+#: ../src/guestfs.pod:486 ../src/guestfs.pod:1405
msgid "3."
msgstr ""
# type: =head1
#. type: =head1
-#: ../src/guestfs.pod:519 ../fish/guestfish.pod:765
+#: ../src/guestfs.pod:519 ../fish/guestfish.pod:767
msgid "ENCRYPTED DISKS"
msgstr ""
msgid "Autosync / forgetting to sync."
msgstr ""
-# type: textblock
#. type: textblock
#: ../src/guestfs.pod:778
msgid ""
+"I<Update:> Autosync is enabled by default for all API users starting from "
+"libguestfs 1.5.24. This section only applies to older versions."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs.pod:781
+msgid ""
"When modifying a filesystem from C or another language, you B<must> unmount "
"all filesystems and call L</guestfs_sync> explicitly before you close the "
"libguestfs handle. You can also call:"
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:782
+#: ../src/guestfs.pod:785
#, no-wrap
msgid ""
" guestfs_set_autosync (g, 1);\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:784
+#: ../src/guestfs.pod:787
msgid ""
"to have the unmount/sync done automatically for you when the handle 'g' is "
"closed. (This feature is called \"autosync\", L</guestfs_set_autosync> q.v.)"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:788
+#: ../src/guestfs.pod:791
msgid ""
"If you forget to do this, then it is entirely possible that your changes "
"won't be written out, or will be partially written, or (very rarely) that "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:792
+#: ../src/guestfs.pod:795
msgid ""
"Note that in L<guestfish(3)> autosync is the default. So quick and dirty "
"guestfish scripts that forget to sync will work just fine, which can make "
"this very puzzling if you are trying to debug a problem."
msgstr ""
-# type: textblock
-#. type: textblock
-#: ../src/guestfs.pod:796
-msgid ""
-"Update: Autosync is enabled by default for all API users starting from "
-"libguestfs 1.5.24."
-msgstr ""
-
# type: =item
#. type: =item
#: ../src/guestfs.pod:799
# type: =head2
#. type: =head2
#: ../src/guestfs.pod:882
-msgid "PROTOCOL LIMITS"
-msgstr ""
-
-# type: textblock
-#. type: textblock
-#: ../src/guestfs.pod:884
-msgid ""
-"Internally libguestfs uses a message-based protocol to pass API calls and "
-"their responses to and from a small \"appliance\" (see L</INTERNALS> for "
-"plenty more detail about this). The maximum message size used by the "
-"protocol is slightly less than 4 MB. For some API calls you may need to be "
-"aware of this limit. The API calls which may be affected are individually "
-"documented, with a link back to this section of the documentation."
-msgstr ""
-
-# type: textblock
-#. type: textblock
-#: ../src/guestfs.pod:892
-msgid ""
-"A simple call such as L</guestfs_cat> returns its result (the file data) in "
-"a simple string. Because this string is at some point internally encoded as "
-"a message, the maximum size that it can return is slightly under 4 MB. If "
-"the requested file is larger than this then you will get an error."
-msgstr ""
-
-# type: textblock
-#. type: textblock
-#: ../src/guestfs.pod:898
-msgid ""
-"In order to transfer large files into and out of the guest filesystem, you "
-"need to use particular calls that support this. The sections L</UPLOADING> "
-"and L</DOWNLOADING> document how to do this."
-msgstr ""
-
-# type: textblock
-#. type: textblock
-#: ../src/guestfs.pod:902
-msgid ""
-"You might also consider mounting the disk image using our FUSE filesystem "
-"support (L<guestmount(1)>)."
-msgstr ""
-
-# type: =head2
-#. type: =head2
-#: ../src/guestfs.pod:905
msgid "KEYS AND PASSPHRASES"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:907
+#: ../src/guestfs.pod:884
msgid ""
"Certain libguestfs calls take a parameter that contains sensitive key "
"material, passed in as a C string."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:910
+#: ../src/guestfs.pod:887
msgid ""
"In the future we would hope to change the libguestfs implementation so that "
"keys are L<mlock(2)>-ed into physical RAM, and thus can never end up in "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:915
+#: ../src/guestfs.pod:892
msgid ""
"Therefore you should be aware that any key parameter you pass to libguestfs "
"might end up being written out to the swap partition. If this is a concern, "
# type: =head1
#. type: =head2
-#: ../src/guestfs.pod:920
+#: ../src/guestfs.pod:897
msgid "MULTIPLE HANDLES AND MULTIPLE THREADS"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:922
+#: ../src/guestfs.pod:899
msgid ""
"All high-level libguestfs actions are synchronous. If you want to use "
"libguestfs asynchronously then you must create a thread."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:925
+#: ../src/guestfs.pod:902
msgid ""
"Only use the handle from a single thread. Either use the handle exclusively "
"from one thread, or provide your own mutex so that two threads cannot issue "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:929
+#: ../src/guestfs.pod:906
msgid ""
"See the graphical program guestfs-browser for one possible architecture for "
"multithreaded programs using libvirt and libguestfs."
# type: =head1
#. type: =head2
-#: ../src/guestfs.pod:932
+#: ../src/guestfs.pod:909
msgid "PATH"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:934
+#: ../src/guestfs.pod:911
msgid ""
"Libguestfs needs a supermin appliance, which it finds by looking along an "
"internal path."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:937
+#: ../src/guestfs.pod:914
msgid ""
"By default it looks for these in the directory C<$libdir/guestfs> (eg. C</"
"usr/local/lib/guestfs> or C</usr/lib64/guestfs>)."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:940
+#: ../src/guestfs.pod:917
msgid ""
"Use L</guestfs_set_path> or set the environment variable L</LIBGUESTFS_PATH> "
"to change the directories that libguestfs will search in. The value is a "
# type: =head1
#. type: =head2
-#: ../src/guestfs.pod:947
+#: ../src/guestfs.pod:924
msgid "QEMU WRAPPERS"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:949
+#: ../src/guestfs.pod:926
msgid ""
"If you want to compile your own qemu, run qemu from a non-standard location, "
"or pass extra arguments to qemu, then you can write a shell-script wrapper "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:953
+#: ../src/guestfs.pod:930
msgid ""
"There is one important rule to remember: you I<must C<exec qemu>> as the "
"last command in the shell script (so that qemu replaces the shell and "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:958
+#: ../src/guestfs.pod:935
msgid ""
"Here is an example of a wrapper, where I have built my own copy of qemu from "
"source:"
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:961
+#: ../src/guestfs.pod:938
#, no-wrap
msgid ""
" #!/bin/sh -\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:965
+#: ../src/guestfs.pod:942
msgid ""
"Save this script as C</tmp/qemu.wrapper> (or wherever), C<chmod +x>, and "
"then use it by setting the LIBGUESTFS_QEMU environment variable. For "
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:969
+#: ../src/guestfs.pod:946
#, no-wrap
msgid ""
" LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:971
+#: ../src/guestfs.pod:948
msgid ""
"Note that libguestfs also calls qemu with the -help and -version options in "
"order to determine features."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:974
+#: ../src/guestfs.pod:951
msgid "ATTACHING TO RUNNING DAEMONS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:976
+#: ../src/guestfs.pod:953
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:979
+#: ../src/guestfs.pod:956
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 "
msgstr ""
#. type: =head3
-#: ../src/guestfs.pod:983
+#: ../src/guestfs.pod:960
msgid "Using guestfs_set_attach_method"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:985
+#: ../src/guestfs.pod:962
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</"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:989
+#: ../src/guestfs.pod:966
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:992
+#: ../src/guestfs.pod:969
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 "
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:996
+#: ../src/guestfs.pod:973
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 "
msgstr ""
#. type: =head3
-#: ../src/guestfs.pod:1000
+#: ../src/guestfs.pod:977
msgid "Using guestfs_add_domain with live flag"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1002
+#: ../src/guestfs.pod:979
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 "
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:1008
+#: ../src/guestfs.pod:985
#, no-wrap
msgid ""
" <domain>\n"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1020
+#: ../src/guestfs.pod:997
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:1023
+#: ../src/guestfs.pod:1000
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 "
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1027
+#: ../src/guestfs.pod:1004
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."
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1031
+#: ../src/guestfs.pod:1008
msgid "ABI GUARANTEE"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1033
+#: ../src/guestfs.pod:1010
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:1039
+#: ../src/guestfs.pod:1016
msgid "BLOCK DEVICE NAMING"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1041
+#: ../src/guestfs.pod:1018
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:1053
+#: ../src/guestfs.pod:1030
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:1057
+#: ../src/guestfs.pod:1034
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:1062
+#: ../src/guestfs.pod:1039
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:1068
+#: ../src/guestfs.pod:1045
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:1073
+#: ../src/guestfs.pod:1050
msgid "ALGORITHM FOR BLOCK DEVICE NAME TRANSLATION"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1075
+#: ../src/guestfs.pod:1052
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:1081
+#: ../src/guestfs.pod:1058
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:1089
+#: ../src/guestfs.pod:1066
msgid "Is the string a parameter which is a device or partition name?"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1093
+#: ../src/guestfs.pod:1070
msgid "Does the string begin with C</dev/sd>?"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1097
+#: ../src/guestfs.pod:1074
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:1102
+#: ../src/guestfs.pod:1079
msgid "Replace initial C</dev/sd> string with C</dev/hd>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1104
+#: ../src/guestfs.pod:1081
msgid "For example, change C</dev/sda2> to C</dev/hda2>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1106
+#: ../src/guestfs.pod:1083
msgid "If that named device exists, use it. If not, continue."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1110
+#: ../src/guestfs.pod:1087
msgid "Replace initial C</dev/sd> string with C</dev/vd>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1112
+#: ../src/guestfs.pod:1089
msgid "If that named device exists, use it. If not, return an error."
msgstr ""
# type: =head3
#. type: =head3
-#: ../src/guestfs.pod:1116
+#: ../src/guestfs.pod:1093
msgid "PORTABILITY CONCERNS WITH BLOCK DEVICE NAMING"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1118
+#: ../src/guestfs.pod:1095
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:1122
+#: ../src/guestfs.pod:1099
msgid ""
"Where possible for maximum future portability programs using libguestfs "
"should use these future-proof techniques:"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1129
+#: ../src/guestfs.pod:1106
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:1132
+#: ../src/guestfs.pod:1109
msgid ""
"Since those device names exist by definition, they will never be translated."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1137
+#: ../src/guestfs.pod:1114
msgid ""
"Use higher level ways to identify filesystems, such as LVM names, UUIDs and "
"filesystem labels."
# type: =head1
#. type: =head1
-#: ../src/guestfs.pod:1142
+#: ../src/guestfs.pod:1119
msgid "SECURITY"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1144
+#: ../src/guestfs.pod:1121
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:1147
+#: ../src/guestfs.pod:1124
msgid "GENERAL SECURITY CONSIDERATIONS"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1149
+#: ../src/guestfs.pod:1126
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:1159
+#: ../src/guestfs.pod:1136
msgid "the data (file etc) not being present"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1163
+#: ../src/guestfs.pod:1140
msgid "being present but empty"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1167
+#: ../src/guestfs.pod:1144
msgid "being much larger than normal"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1171
+#: ../src/guestfs.pod:1148
msgid "containing arbitrary 8 bit data"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1175
+#: ../src/guestfs.pod:1152
msgid "being in an unexpected character encoding"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1179
+#: ../src/guestfs.pod:1156
msgid "containing homoglyphs."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1183
+#: ../src/guestfs.pod:1160
msgid "SECURITY OF MOUNTING FILESYSTEMS"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1185
+#: ../src/guestfs.pod:1162
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:1198
+#: ../src/guestfs.pod:1175
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:1209
+#: ../src/guestfs.pod:1186
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:1212
+#: ../src/guestfs.pod:1189
msgid "PROTOCOL SECURITY"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1214
+#: ../src/guestfs.pod:1191
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:1220
+#: ../src/guestfs.pod:1197
msgid "INSPECTION SECURITY"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1222
+#: ../src/guestfs.pod:1199
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:1228
+#: ../src/guestfs.pod:1205
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:1236
+#: ../src/guestfs.pod:1213
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:1242
+#: ../src/guestfs.pod:1219
msgid "RUNNING UNTRUSTED GUEST COMMANDS"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1244
+#: ../src/guestfs.pod:1221
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:1250
+#: ../src/guestfs.pod:1227
msgid "CVE-2010-3851"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1252
+#: ../src/guestfs.pod:1229
msgid "https://bugzilla.redhat.com/642934"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1254
+#: ../src/guestfs.pod:1231
msgid ""
"This security bug concerns the automatic disk format detection that qemu "
"does on disk images."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1257
+#: ../src/guestfs.pod:1234
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:1262
+#: ../src/guestfs.pod:1239
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:1267
+#: ../src/guestfs.pod:1244
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:1275
+#: ../src/guestfs.pod:1252
msgid ""
"In libguestfs this is rather hard to exploit except under two circumstances:"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1282
+#: ../src/guestfs.pod:1259
msgid "You have enabled the network or have opened the disk in write mode."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1286
+#: ../src/guestfs.pod:1263
msgid ""
"You are also running untrusted code from the guest (see L</RUNNING "
"COMMANDS>)."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1291
+#: ../src/guestfs.pod:1268
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:1296
+#: ../src/guestfs.pod:1273
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:1299
+#: ../src/guestfs.pod:1276
msgid ""
"For libguestfs tools, use the I<--format> command line parameter as "
"appropriate."
# type: =head1
#. type: =head1
-#: ../src/guestfs.pod:1302
+#: ../src/guestfs.pod:1279
msgid "CONNECTION MANAGEMENT"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1304
+#: ../src/guestfs.pod:1281
msgid "guestfs_h *"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1306
+#: ../src/guestfs.pod:1283
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 "
"handle and release all resources used."
msgstr ""
-# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1310
+#: ../src/guestfs.pod:1287
msgid ""
"For information on using multiple handles and threads, see the section L</"
-"MULTIPLE HANDLES AND MULTIPLE THREADS> below."
+"MULTIPLE HANDLES AND MULTIPLE THREADS> above."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1313
+#: ../src/guestfs.pod:1290
msgid "guestfs_create"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1315
+#: ../src/guestfs.pod:1292
#, no-wrap
msgid ""
" guestfs_h *guestfs_create (void);\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1317
+#: ../src/guestfs.pod:1294
msgid "Create a connection handle."
msgstr ""
-# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1319
+#: ../src/guestfs.pod:1296
msgid ""
-"You have to call L</guestfs_add_drive_opts> (or one of the equivalent calls) "
-"on the handle at least once."
+"On success this returns a non-NULL pointer to a handle. On error it returns "
+"NULL."
msgstr ""
-# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1322
+#: ../src/guestfs.pod:1299
msgid ""
-"This function returns a non-NULL pointer to a handle on success or NULL on "
-"error."
+"You have to \"configure\" the handle after creating it. This includes "
+"calling L</guestfs_add_drive_opts> (or one of the equivalent calls) on the "
+"handle at least once."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1325
+#: ../src/guestfs.pod:1303
msgid "After configuring the handle, you have to call L</guestfs_launch>."
msgstr ""
-# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1327
+#: ../src/guestfs.pod:1305
msgid ""
-"You may also want to configure error handling for the handle. See L</ERROR "
-"HANDLING> section below."
+"You may also want to configure error handling for the handle. See the L</"
+"ERROR HANDLING> section below."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1330
+#: ../src/guestfs.pod:1308
msgid "guestfs_close"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1332
+#: ../src/guestfs.pod:1310
#, no-wrap
msgid ""
" void guestfs_close (guestfs_h *g);\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1334
+#: ../src/guestfs.pod:1312
msgid "This closes the connection handle and frees up all resources used."
msgstr ""
+#. type: textblock
+#: ../src/guestfs.pod:1314
+msgid ""
+"If autosync was set on the handle and the handle was launched, then this "
+"implicitly calls various functions to unmount filesystems and sync the "
+"disk. See L</guestfs_set_autosync> for more details."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs.pod:1318
+msgid "If a close callback was set on the handle, then it is called."
+msgstr ""
+
# type: =head1
#. type: =head1
-#: ../src/guestfs.pod:1336
+#: ../src/guestfs.pod:1320
msgid "ERROR HANDLING"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1338
+#: ../src/guestfs.pod:1322
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:1341
+#: ../src/guestfs.pod:1325
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:1345
+#: ../src/guestfs.pod:1329
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:1350
+#: ../src/guestfs.pod:1334
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:1354
+#: ../src/guestfs.pod:1338
#, no-wrap
msgid ""
" if (guestfs_launch (g) == -1)\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1357
+#: ../src/guestfs.pod:1341
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:1360
+#: ../src/guestfs.pod:1344
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:1363
+#: ../src/guestfs.pod:1347
#, no-wrap
msgid ""
" g = guestfs_create ();\n"
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1365
+#: ../src/guestfs.pod:1349
#, no-wrap
msgid ""
" /* This disables the default behaviour of printing errors\n"
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1369
+#: ../src/guestfs.pod:1353
#, no-wrap
msgid ""
" if (guestfs_launch (g) == -1) {\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1377
+#: ../src/guestfs.pod:1361
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:1381
+#: ../src/guestfs.pod:1365
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:1387
+#: ../src/guestfs.pod:1371
msgid "guestfs_last_error"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1389
+#: ../src/guestfs.pod:1373
#, no-wrap
msgid ""
" const char *guestfs_last_error (guestfs_h *g);\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1391
+#: ../src/guestfs.pod:1375
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:1395
+#: ../src/guestfs.pod:1379
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:1398
+#: ../src/guestfs.pod:1382
msgid "guestfs_last_errno"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1400
+#: ../src/guestfs.pod:1384
#, no-wrap
msgid ""
" int guestfs_last_errno (guestfs_h *g);\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1402
+#: ../src/guestfs.pod:1386
msgid "This returns the last error number (errno) that happened on C<g>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1404
+#: ../src/guestfs.pod:1388
msgid "If successful, an errno integer not equal to zero is returned."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1406
+#: ../src/guestfs.pod:1390
msgid ""
"If no error, this returns 0. This call can return 0 in three situations:"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1413
+#: ../src/guestfs.pod:1397
msgid "There has not been any error on the handle."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1417
+#: ../src/guestfs.pod:1401
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:1423
+#: ../src/guestfs.pod:1407
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:1429
+#: ../src/guestfs.pod:1413
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:1437
+#: ../src/guestfs.pod:1421
msgid "guestfs_set_error_handler"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1439
+#: ../src/guestfs.pod:1423
#, no-wrap
msgid ""
" typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1446
+#: ../src/guestfs.pod:1430
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:1450
+#: ../src/guestfs.pod:1434
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:1453
+#: ../src/guestfs.pod:1437
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:1457
+#: ../src/guestfs.pod:1441
msgid "The default handler prints messages on C<stderr>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1459
+#: ../src/guestfs.pod:1443
msgid "If you set C<cb> to C<NULL> then I<no> handler is called."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1461
+#: ../src/guestfs.pod:1445
msgid "guestfs_get_error_handler"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1463
+#: ../src/guestfs.pod:1447
#, no-wrap
msgid ""
" guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1466
+#: ../src/guestfs.pod:1450
msgid "Returns the current error handler callback."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1468
+#: ../src/guestfs.pod:1452
msgid "guestfs_set_out_of_memory_handler"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1470
+#: ../src/guestfs.pod:1454
#, no-wrap
msgid ""
" typedef void (*guestfs_abort_cb) (void);\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1474
+#: ../src/guestfs.pod:1458
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:1477
+#: ../src/guestfs.pod:1461
msgid "The default is to call L<abort(3)>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1479
+#: ../src/guestfs.pod:1463
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:1482
+#: ../src/guestfs.pod:1466
msgid "guestfs_get_out_of_memory_handler"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1484
+#: ../src/guestfs.pod:1468
#, no-wrap
msgid ""
" guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1486
+#: ../src/guestfs.pod:1470
msgid "This returns the current out of memory handler."
msgstr ""
# type: =head1
#. type: =head1
-#: ../src/guestfs.pod:1488
+#: ../src/guestfs.pod:1472
msgid "API CALLS"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1490 ../fish/guestfish.pod:1008
+#: ../src/guestfs.pod:1474 ../fish/guestfish.pod:1010
msgid "@ACTIONS@"
msgstr ""
# type: =head1
#. type: =head1
-#: ../src/guestfs.pod:1492
+#: ../src/guestfs.pod:1476
msgid "STRUCTURES"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1494
+#: ../src/guestfs.pod:1478
msgid "@STRUCTS@"
msgstr ""
# type: =head1
#. type: =head1
-#: ../src/guestfs.pod:1496
+#: ../src/guestfs.pod:1480
msgid "AVAILABILITY"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1498
+#: ../src/guestfs.pod:1482
msgid "GROUPS OF FUNCTIONALITY IN THE APPLIANCE"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1500
+#: ../src/guestfs.pod:1484
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:1505
+#: ../src/guestfs.pod:1489
msgid "@AVAILABILITY@"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1507
+#: ../src/guestfs.pod:1491
msgid "GUESTFISH supported COMMAND"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1509
+#: ../src/guestfs.pod:1493
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:1514
+#: ../src/guestfs.pod:1498
msgid "SINGLE CALLS AT COMPILE TIME"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1516
+#: ../src/guestfs.pod:1500
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:1519
+#: ../src/guestfs.pod:1503
#, no-wrap
msgid ""
" #define LIBGUESTFS_HAVE_DD 1\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1521
+#: ../src/guestfs.pod:1505
msgid "if L</guestfs_dd> is available."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1523
+#: ../src/guestfs.pod:1507
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:1528
+#: ../src/guestfs.pod:1512
#, no-wrap
msgid ""
" AC_CHECK_LIB([guestfs],[guestfs_create])\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1531
+#: ../src/guestfs.pod:1515
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:1534
+#: ../src/guestfs.pod:1518
msgid "SINGLE CALLS AT RUN TIME"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1536
+#: ../src/guestfs.pod:1520
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:1543
+#: ../src/guestfs.pod:1527
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:1547
+#: ../src/guestfs.pod:1531
#, no-wrap
msgid ""
" #include <stdio.h>\n"
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1553
+#: ../src/guestfs.pod:1537
#, no-wrap
msgid ""
" main ()\n"
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1559
+#: ../src/guestfs.pod:1543
#, no-wrap
msgid ""
" /* Test if the function guestfs_dd is really available. */\n"
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1568
+#: ../src/guestfs.pod:1552
#, no-wrap
msgid ""
" if (!has_function)\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1581
+#: ../src/guestfs.pod:1565
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:1586
+#: ../src/guestfs.pod:1570
#, no-wrap
msgid ""
" Requires: libguestfs >= 1.0.80\n"
# type: =head1
#. type: =head1
-#: ../src/guestfs.pod:1588
+#: ../src/guestfs.pod:1572
msgid "CALLS WITH OPTIONAL ARGUMENTS"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1590
+#: ../src/guestfs.pod:1574
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:1595
+#: ../src/guestfs.pod:1579
#, no-wrap
msgid ""
" int guestfs_add_drive_opts (guestfs_h *g, const char *filename, ...);\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1597
+#: ../src/guestfs.pod:1581
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:1600
+#: ../src/guestfs.pod:1584
#, no-wrap
msgid ""
" guestfs_add_drive_opts (g, filename, -1);\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1602
+#: ../src/guestfs.pod:1586
msgid "With a single optional argument:"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1604
+#: ../src/guestfs.pod:1588
#, no-wrap
msgid ""
" guestfs_add_drive_opts (g, filename,\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1608
+#: ../src/guestfs.pod:1592
msgid "With two:"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1610
+#: ../src/guestfs.pod:1594
#, no-wrap
msgid ""
" guestfs_add_drive_opts (g, filename,\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1615
+#: ../src/guestfs.pod:1599
msgid ""
"and so forth. Don't forget the terminating C<-1> otherwise Bad Things will "
"happen!"
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1618
+#: ../src/guestfs.pod:1602
msgid "USING va_list FOR OPTIONAL ARGUMENTS"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1620
+#: ../src/guestfs.pod:1604
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:1624
+#: ../src/guestfs.pod:1608
#, no-wrap
msgid ""
" int guestfs_add_drive_opts_va (guestfs_h *g, const char *filename,\n"
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1627
+#: ../src/guestfs.pod:1611
msgid "CONSTRUCTING OPTIONAL ARGUMENTS"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1629
+#: ../src/guestfs.pod:1613
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:1635
+#: ../src/guestfs.pod:1619
#, no-wrap
msgid ""
" struct guestfs_add_drive_opts_argv {\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1644
+#: ../src/guestfs.pod:1628
msgid "You could call it like this:"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1646
+#: ../src/guestfs.pod:1630
#, no-wrap
msgid ""
" struct guestfs_add_drive_opts_argv optargs = {\n"
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1653
+#: ../src/guestfs.pod:1637
#, no-wrap
msgid ""
" guestfs_add_drive_opts_argv (g, filename, &optargs);\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1655 ../src/guestfs-actions.pod:11
-#: ../src/guestfs-actions.pod:1855 ../fish/guestfish-actions.pod:9
-#: ../fish/guestfish-actions.pod:1260 ../tools/virt-win-reg.pl:532
+#: ../src/guestfs.pod:1639 ../src/guestfs-actions.pod:11
+#: ../src/guestfs-actions.pod:1861 ../fish/guestfish-actions.pod:9
+#: ../fish/guestfish-actions.pod:1265 ../tools/virt-win-reg.pl:532
msgid "Notes:"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1661
+#: ../src/guestfs.pod:1645
msgid "The C<_BITMASK> suffix on each option name when specifying the bitmask."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1666
+#: ../src/guestfs.pod:1650
msgid "You do not need to fill in all fields of the structure."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1670
+#: ../src/guestfs.pod:1654
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:1675
+#: ../src/guestfs.pod:1659
msgid "OPTIONAL ARGUMENTS IN OTHER LANGUAGES"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1677
+#: ../src/guestfs.pod:1661
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:1681
+#: ../src/guestfs.pod:1665
msgid "For guestfish, see L<guestfish(1)/OPTIONAL ARGUMENTS>."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:1683
+#: ../src/guestfs.pod:1667
msgid "SETTING CALLBACKS TO HANDLE EVENTS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1685
+#: ../src/guestfs.pod:1669
msgid ""
"B<Note:> This section documents the generic event mechanism introduced in "
"libguestfs 1.10, which you should use in new code if possible. The old "
"C<guestfs_set_subprocess_quit_callback>, "
"C<guestfs_set_launch_done_callback>, C<guestfs_set_close_callback> and "
"C<guestfs_set_progress_callback> are no longer documented in this manual "
-"page."
+"page. Because of the ABI guarantee, the old functions continue to work."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1693
+#: ../src/guestfs.pod:1678
msgid ""
"Handles generate events when certain things happen, such as log messages "
"being generated, progress messages during long-running operations, or the "
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1701
+#: ../src/guestfs.pod:1686
msgid ""
"In the current implementation, events are only generated synchronously: that "
"means that events (and hence callbacks) can only happen while you are in the "
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1706
+#: ../src/guestfs.pod:1691
msgid ""
"Events may contain a payload, usually nothing (void), an array of 64 bit "
"unsigned integers, or a message buffer. Payloads are discussed later on."
msgstr ""
#. type: =head3
-#: ../src/guestfs.pod:1710
+#: ../src/guestfs.pod:1695
msgid "CLASSES OF EVENTS"
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:1714
+#: ../src/guestfs.pod:1699
msgid "GUESTFS_EVENT_CLOSE (payload type: void)"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1717
+#: ../src/guestfs.pod:1702
msgid ""
"The callback function will be called while the handle is being closed "
"(synchronously from L</guestfs_close>)."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1720
+#: ../src/guestfs.pod:1705
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 "
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1727
+#: ../src/guestfs.pod:1712
msgid ""
"If no callback is registered: the handle is closed without any callback "
"being invoked."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:1730
+#: ../src/guestfs.pod:1715
msgid "GUESTFS_EVENT_SUBPROCESS_QUIT (payload type: void)"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1733
+#: ../src/guestfs.pod:1718
msgid ""
"The callback function will be called when the child process quits, either "
"asynchronously or if killed by L</guestfs_kill_subprocess>. (This "
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1737 ../src/guestfs.pod:1746
+#: ../src/guestfs.pod:1722 ../src/guestfs.pod:1731
msgid "If no callback is registered: the event is ignored."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:1739
+#: ../src/guestfs.pod:1724
msgid "GUESTFS_EVENT_LAUNCH_DONE (payload type: void)"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1742
+#: ../src/guestfs.pod:1727
msgid ""
"The callback function will be called when the child process becomes ready "
"first time after it has been launched. (This corresponds to a transition "
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:1748
+#: ../src/guestfs.pod:1733
msgid "GUESTFS_EVENT_PROGRESS (payload type: array of 4 x uint64_t)"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1751
+#: ../src/guestfs.pod:1736
msgid ""
"Some long-running operations can generate progress messages. If this "
"callback is registered, then it will be called each time a progress message "
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1757
+#: ../src/guestfs.pod:1742
msgid ""
"The callback receives in the payload four unsigned 64 bit numbers which are "
"(in order): C<proc_nr>, C<serial>, C<position>, C<total>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1760
+#: ../src/guestfs.pod:1745
msgid ""
"The units of C<total> are not defined, although for some operations C<total> "
"may relate in some way to the amount of data to be transferred (eg. in bytes "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1765
+#: ../src/guestfs.pod:1750
msgid "The only defined and stable parts of the API are:"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1771
+#: ../src/guestfs.pod:1756
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:1776
+#: ../src/guestfs.pod:1761
msgid "0 E<lt>= C<position> E<lt>= C<total>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1780
+#: ../src/guestfs.pod:1765
msgid ""
"If any progress notification is sent during a call, then a final progress "
"notification is always sent when C<position> = C<total> (I<unless> the call "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1784
+#: ../src/guestfs.pod:1769
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 "
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1790
+#: ../src/guestfs.pod:1775
msgid ""
"For some calls we are unable to estimate the progress of the call, but we "
"can still generate progress messages to indicate activity. This is known as "
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1795
+#: ../src/guestfs.pod:1780
msgid ""
"For these calls, zero or more progress messages are generated with "
"C<position = 0> and C<total = 1>, followed by a final message with "
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1799
+#: ../src/guestfs.pod:1784
msgid ""
"As noted above, if the call fails with an error then the final message may "
"not be generated."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1804
+#: ../src/guestfs.pod:1789
msgid ""
"The callback also receives the procedure number (C<proc_nr>) and serial "
"number (C<serial>) of the call. These are only useful for debugging "
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1810
+#: ../src/guestfs.pod:1795
msgid "If no callback is registered: progress messages are discarded."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:1812
+#: ../src/guestfs.pod:1797
msgid "GUESTFS_EVENT_APPLIANCE (payload type: message buffer)"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1815
+#: ../src/guestfs.pod:1800
msgid ""
"The callback function is called whenever a log message is generated by qemu, "
"the appliance kernel, guestfsd (daemon), or utility programs."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1818
+#: ../src/guestfs.pod:1803
msgid ""
"If the verbose flag (L</guestfs_set_verbose>) is set before launch (L</"
"guestfs_launch>) then additional debug messages are generated."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1821 ../src/guestfs.pod:1835
+#: ../src/guestfs.pod:1806 ../src/guestfs.pod:1820
msgid ""
"If no callback is registered: the messages are discarded unless the verbose "
"flag is set in which case they are sent to stderr. You can override the "
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:1826
+#: ../src/guestfs.pod:1811
msgid "GUESTFS_EVENT_LIBRARY (payload type: message buffer)"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1829
+#: ../src/guestfs.pod:1814
msgid ""
"The callback function is called whenever a log message is generated by the "
"library part of libguestfs."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1832
+#: ../src/guestfs.pod:1817
msgid ""
"If the verbose flag (L</guestfs_set_verbose>) is set then additional debug "
"messages are generated."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:1840
+#: ../src/guestfs.pod:1825
msgid "GUESTFS_EVENT_TRACE (payload type: message buffer)"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1843
+#: ../src/guestfs.pod:1828
msgid ""
"The callback function is called whenever a trace message is generated. This "
"only applies if the trace flag (L</guestfs_set_trace>) is set."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1846
+#: ../src/guestfs.pod:1831
msgid ""
"If no callback is registered: the messages are sent to stderr. You can "
"override the printing of trace messages to stderr by setting up a callback."
msgstr ""
#. type: =head3
-#: ../src/guestfs.pod:1852
+#: ../src/guestfs.pod:1837
msgid "guestfs_set_event_callback"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:1854
+#: ../src/guestfs.pod:1839
#, no-wrap
msgid ""
" int guestfs_set_event_callback (guestfs_h *g,\n"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1860
+#: ../src/guestfs.pod:1845
msgid ""
"This function registers a callback (C<cb>) for all event classes in the "
"C<event_bitmask>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1863
+#: ../src/guestfs.pod:1848
msgid ""
"For example, to register for all log message events, you could call this "
"function with the bitmask C<GUESTFS_EVENT_APPLIANCE|GUESTFS_EVENT_LIBRARY>. "
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1869
+#: ../src/guestfs.pod:1854
msgid "C<flags> should always be passed as 0."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1871
+#: ../src/guestfs.pod:1856
msgid ""
"C<opaque> is an opaque pointer which is passed to the callback. You can use "
"it for any purpose."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1874
+#: ../src/guestfs.pod:1859
msgid ""
"The return value is the event handle (an integer) which you can use to "
"delete the callback (see below)."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1877
+#: ../src/guestfs.pod:1862
msgid ""
"If there is an error, this function returns C<-1>, and sets the error in the "
"handle in the usual way (see L</guestfs_last_error> etc.)"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1880
+#: ../src/guestfs.pod:1865
msgid ""
"Callbacks remain in effect until they are deleted, or until the handle is "
"closed."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1883
+#: ../src/guestfs.pod:1868
msgid ""
"In the case where multiple callbacks are registered for a particular event "
"class, all of the callbacks are called. The order in which multiple "
msgstr ""
#. type: =head3
-#: ../src/guestfs.pod:1887
+#: ../src/guestfs.pod:1872
msgid "guestfs_delete_event_callback"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:1889
+#: ../src/guestfs.pod:1874
#, no-wrap
msgid ""
" void guestfs_delete_event_callback (guestfs_h *g, int event_handle);\n"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1891
+#: ../src/guestfs.pod:1876
msgid ""
"Delete a callback that was previously registered. C<event_handle> should be "
"the integer that was returned by a previous call to "
msgstr ""
#. type: =head3
-#: ../src/guestfs.pod:1895
+#: ../src/guestfs.pod:1880
msgid "guestfs_event_callback"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:1897
+#: ../src/guestfs.pod:1882
#, no-wrap
msgid ""
" typedef void (*guestfs_event_callback) (\n"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1906
+#: ../src/guestfs.pod:1891
msgid ""
"This is the type of the event callback function that you have to provide."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1909
+#: ../src/guestfs.pod:1894
msgid ""
"The basic parameters are: the handle (C<g>), the opaque user pointer "
"(C<opaque>), the event class (eg. C<GUESTFS_EVENT_PROGRESS>), the event "
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1913
+#: ../src/guestfs.pod:1898
msgid ""
"The remaining parameters contain the event payload (if any). Each event may "
"contain a payload, which usually relates to the event class, but for future "
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1918
+#: ../src/guestfs.pod:1903
msgid ""
"C<buf> and C<buf_len> contain a message buffer (if C<buf_len == 0>, then "
"there is no message buffer). Note that this message buffer can contain "
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1922
+#: ../src/guestfs.pod:1907
msgid ""
"C<array> and C<array_len> is an array of 64 bit unsigned integers. At the "
"moment this is only used for progress messages."
msgstr ""
#. type: =head3
-#: ../src/guestfs.pod:1925
+#: ../src/guestfs.pod:1910
msgid "EXAMPLE: CAPTURING LOG MESSAGES"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1927
+#: ../src/guestfs.pod:1912
msgid ""
"One motivation for the generic event API was to allow GUI programs to "
"capture debug and other messages. In libguestfs E<le> 1.8 these were sent "
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1931
+#: ../src/guestfs.pod:1916
msgid ""
"Events associated with log messages are: C<GUESTFS_EVENT_LIBRARY>, "
"C<GUESTFS_EVENT_APPLIANCE> and C<GUESTFS_EVENT_TRACE>. (Note that error "
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1936
+#: ../src/guestfs.pod:1921
msgid ""
"Programs have to set up a callback to capture the classes of events of "
"interest:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:1939
+#: ../src/guestfs.pod:1924
#, no-wrap
msgid ""
" int eh =\n"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1949
+#: ../src/guestfs.pod:1934
msgid ""
"The callback can then direct messages to the appropriate place. In this "
"example, messages are directed to syslog:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:1952
+#: ../src/guestfs.pod:1937
#, no-wrap
msgid ""
" static void\n"
# type: =head1
#. type: =head1
-#: ../src/guestfs.pod:1967
+#: ../src/guestfs.pod:1952
msgid "PRIVATE DATA AREA"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1969
+#: ../src/guestfs.pod:1954
msgid ""
"You can attach named pieces of private data to the libguestfs handle, fetch "
"them by name, and walk over them, for the lifetime of the handle. This is "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1974
+#: ../src/guestfs.pod:1959
msgid "To attach a named piece of data, use the following call:"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1976
+#: ../src/guestfs.pod:1961
#, no-wrap
msgid ""
" void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n"
"\n"
msgstr ""
-# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1978
+#: ../src/guestfs.pod:1963
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 "
+"pointer (which can be C<NULL>). Any previous item with the same key is "
"overwritten."
msgstr ""
-# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1982
+#: ../src/guestfs.pod:1967
msgid ""
-"You can use any C<key> you want, but names beginning with an underscore "
-"character are reserved for internal libguestfs purposes (for implementing "
-"language bindings). It is recommended to prefix the name with some unique "
+"You can use any C<key> you want, but your key should I<not> start with an "
+"underscore character. Keys beginning with an underscore character are "
+"reserved for internal libguestfs purposes (eg. for implementing language "
+"bindings). It is recommended that you prefix the key with some unique "
"string to avoid collisions with other users."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1987
+#: ../src/guestfs.pod:1973
msgid "To retrieve the pointer, use:"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:1989
+#: ../src/guestfs.pod:1975
#, no-wrap
msgid ""
" void *guestfs_get_private (guestfs_h *g, const char *key);\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:1991
+#: ../src/guestfs.pod:1977
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 "
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:1995
+#: ../src/guestfs.pod:1981
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 "
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2002
+#: ../src/guestfs.pod:1988
msgid "To walk over all entries, use these two functions:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2004
+#: ../src/guestfs.pod:1990
#, no-wrap
msgid ""
" void *guestfs_first_private (guestfs_h *g, const char **key_rtn);\n"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2006
+#: ../src/guestfs.pod:1992
#, no-wrap
msgid ""
" void *guestfs_next_private (guestfs_h *g, const char **key_rtn);\n"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2008
+#: ../src/guestfs.pod:1994
msgid ""
"C<guestfs_first_private> returns the first key, pointer pair (\"first\" does "
"not have any particular meaning -- keys are not returned in any defined "
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2014
+#: ../src/guestfs.pod:2000
msgid ""
"C<guestfs_next_private> returns the next key, pointer pair. The return "
"value of this function is also C<NULL> is there are no further entries to "
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2018
+#: ../src/guestfs.pod:2004
msgid "Notes about walking over entries:"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2024
+#: ../src/guestfs.pod:2010
msgid ""
"You must not call C<guestfs_set_private> while walking over the entries."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2029
+#: ../src/guestfs.pod:2015
msgid ""
"The handle maintains an internal iterator which is reset when you call "
"C<guestfs_first_private>. This internal iterator is invalidated when you "
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2035
+#: ../src/guestfs.pod:2021
msgid "If you have set the data pointer associated with a key to C<NULL>, ie:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2037
+#: ../src/guestfs.pod:2023
#, no-wrap
msgid ""
" guestfs_set_private (g, key, NULL);\n"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2039
+#: ../src/guestfs.pod:2025
msgid "then that C<key> is not returned when walking."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2043
+#: ../src/guestfs.pod:2029
msgid ""
"C<*key_rtn> is only valid until the next call to C<guestfs_first_private>, "
"C<guestfs_next_private> or C<guestfs_set_private>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2049
+#: ../src/guestfs.pod:2035
msgid ""
"The following example code shows how to print all keys and data pointers "
"that are associated with the handle C<g>:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2052
+#: ../src/guestfs.pod:2038
#, no-wrap
msgid ""
" const char *key;\n"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2060
+#: ../src/guestfs.pod:2046
msgid ""
"More commonly you are only interested in keys that begin with an application-"
"specific prefix C<foo_>. Modify the loop like so:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2063
+#: ../src/guestfs.pod:2049
#, no-wrap
msgid ""
" const char *key;\n"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2072
+#: ../src/guestfs.pod:2058
msgid ""
"If you need to modify keys while walking, then you have to jump back to the "
"beginning of the loop. For example, to delete all keys prefixed with "
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2076
+#: ../src/guestfs.pod:2062
#, no-wrap
msgid ""
" const char *key;\n"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2092
+#: ../src/guestfs.pod:2078
msgid ""
"Note that the above loop is guaranteed to terminate because the keys are "
"being deleted, but other manipulations of keys within the loop might not "
# type: =end
#. type: =end
-#: ../src/guestfs.pod:2097 ../src/guestfs.pod:2102
+#: ../src/guestfs.pod:2083 ../src/guestfs.pod:2088
msgid "html"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2099
+#: ../src/guestfs.pod:2085
msgid ""
"<!-- old anchor for the next section --> <a name="
"\"state_machine_and_low_level_event_api\"/>"
# type: =head1
#. type: =head1
-#: ../src/guestfs.pod:2104
+#: ../src/guestfs.pod:2090
msgid "ARCHITECTURE"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2106
+#: ../src/guestfs.pod:2092
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:2110
+#: ../src/guestfs.pod:2096
#, no-wrap
msgid ""
" ___________________\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2130
+#: ../src/guestfs.pod:2116
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:2133
+#: ../src/guestfs.pod:2119
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:2142
+#: ../src/guestfs.pod:2128
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:2149
+#: ../src/guestfs.pod:2135
msgid "STATE MACHINE"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2151
+#: ../src/guestfs.pod:2137
msgid "libguestfs uses a state machine to model the child process:"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:2153
+#: ../src/guestfs.pod:2139
#, no-wrap
msgid ""
" |\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2175
+#: ../src/guestfs.pod:2161
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:2180
+#: ../src/guestfs.pod:2166
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:2184
+#: ../src/guestfs.pod:2170
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:2187
+#: ../src/guestfs.pod:2173
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:2193
+#: ../src/guestfs.pod:2179
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:2199
+#: ../src/guestfs.pod:2185
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:2203
+#: ../src/guestfs.pod:2189
msgid "INTERNALS"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs.pod:2205
+#: ../src/guestfs.pod:2191
msgid "COMMUNICATION PROTOCOL"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2207
+#: ../src/guestfs.pod:2193
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:2210
+#: ../src/guestfs.pod:2196
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:2214
+#: ../src/guestfs.pod:2200
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:2217
+#: ../src/guestfs.pod:2203
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:2224
+#: ../src/guestfs.pod:2210
msgid "ORDINARY FUNCTIONS (NO FILEIN/FILEOUT PARAMS)"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2226
+#: ../src/guestfs.pod:2212
msgid "For ordinary functions, the request message is:"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:2228
+#: ../src/guestfs.pod:2214
#, no-wrap
msgid ""
" total length (header + arguments,\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2233
+#: ../src/guestfs.pod:2219
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:2239
+#: ../src/guestfs.pod:2225
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:2242
+#: ../src/guestfs.pod:2228
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:2246
+#: ../src/guestfs.pod:2232
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:2254
+#: ../src/guestfs.pod:2240
msgid "The reply message for ordinary functions is:"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:2256
+#: ../src/guestfs.pod:2242
#, no-wrap
msgid ""
" total length (header + ret,\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2261
+#: ../src/guestfs.pod:2247
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:2264
+#: ../src/guestfs.pod:2250
msgid ""
"As above the total length of the reply is limited to C<GUESTFS_MESSAGE_MAX>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2267
+#: ../src/guestfs.pod:2253
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:2270
+#: ../src/guestfs.pod:2256
#, no-wrap
msgid ""
" total length (header + error,\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2275
+#: ../src/guestfs.pod:2261
msgid ""
"The C<guestfs_message_error> structure contains the error message as a "
"string."
# type: =head3
#. type: =head3
-#: ../src/guestfs.pod:2278
+#: ../src/guestfs.pod:2264
msgid "FUNCTIONS THAT HAVE FILEIN PARAMETERS"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2280
+#: ../src/guestfs.pod:2266
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:2284
+#: ../src/guestfs.pod:2270
#, no-wrap
msgid ""
" total length (header + arguments,\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2292
+#: ../src/guestfs.pod:2278
msgid "The \"sequence of chunks\" is:"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:2294
+#: ../src/guestfs.pod:2280
#, no-wrap
msgid ""
" length of chunk (not including length word itself)\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2302
+#: ../src/guestfs.pod:2288
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:2306
+#: ../src/guestfs.pod:2292
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:2311
+#: ../src/guestfs.pod:2297
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:2317
+#: ../src/guestfs.pod:2303
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:2326
+#: ../src/guestfs.pod:2312
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:2332
+#: ../src/guestfs.pod:2318
msgid "FUNCTIONS THAT HAVE FILEOUT PARAMETERS"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2334
+#: ../src/guestfs.pod:2320
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:2337
+#: ../src/guestfs.pod:2323
#, no-wrap
msgid ""
" total length (header + ret,\n"
# type: =head3
#. type: =head3
-#: ../src/guestfs.pod:2345
+#: ../src/guestfs.pod:2331
msgid "INITIAL MESSAGE"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2347
+#: ../src/guestfs.pod:2333
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:2351
+#: ../src/guestfs.pod:2337
msgid "PROGRESS NOTIFICATION MESSAGES"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2353
+#: ../src/guestfs.pod:2339
msgid ""
"The daemon may send progress notification messages at any time. These are "
"distinguished by the normal length word being replaced by "
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2357
+#: ../src/guestfs.pod:2343
msgid ""
"The library turns them into progress callbacks (see L</"
"GUESTFS_EVENT_PROGRESS>) if there is a callback registered, or discards them "
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2361
+#: ../src/guestfs.pod:2347
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:2365
+#: ../src/guestfs.pod:2351
msgid "LIBGUESTFS VERSION NUMBERS"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2367
+#: ../src/guestfs.pod:2353
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:2372
+#: ../src/guestfs.pod:2358
#, no-wrap
msgid ""
" even numbers for stable: 1.2.x, 1.4.x, ...\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2383
+#: ../src/guestfs.pod:2369
msgid "Thus \"1.3.5\" is the 5th update to the development branch \"1.3\"."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2385
+#: ../src/guestfs.pod:2371
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:2391
+#: ../src/guestfs.pod:2377
msgid "Our criteria for backporting changes are:"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2397
+#: ../src/guestfs.pod:2383
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:2403
+#: ../src/guestfs.pod:2389
msgid ""
"Bug fixes which are not controversial, fix obvious problems, and have been "
"well tested are backported."
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2408
+#: ../src/guestfs.pod:2394
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:2414
+#: ../src/guestfs.pod:2400
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:2420
+#: ../src/guestfs.pod:2406
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:2428
+#: ../src/guestfs.pod:2414
msgid "EXTENDING LIBGUESTFS"
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:2430
+#: ../src/guestfs.pod:2416
msgid "ADDING A NEW API ACTION"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2432
+#: ../src/guestfs.pod:2418
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:2436
+#: ../src/guestfs.pod:2422
msgid "To add a new API action there are two changes:"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2442
+#: ../src/guestfs.pod:2428
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:2445
+#: ../src/guestfs.pod:2431
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:2453
+#: ../src/guestfs.pod:2439
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:2459
+#: ../src/guestfs.pod:2445
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:2467
+#: ../src/guestfs.pod:2453
msgid "Implement the action (in C):"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2469
+#: ../src/guestfs.pod:2455
msgid ""
"For daemon actions, implement the function C<do_E<lt>nameE<gt>> in the "
"C<daemon/> directory."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2472
+#: ../src/guestfs.pod:2458
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:2475
+#: ../src/guestfs.pod:2461
msgid "In either case, use another function as an example of what to do."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2479
+#: ../src/guestfs.pod:2465
msgid "After making these changes, use C<make> to compile."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2481
+#: ../src/guestfs.pod:2467
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:2485
+#: ../src/guestfs.pod:2471
msgid "ADDING TESTS FOR AN API ACTION"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2487
+#: ../src/guestfs.pod:2473
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:2493
+#: ../src/guestfs.pod:2479
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:2496
+#: ../src/guestfs.pod:2482
msgid "The test environment has 4 block devices:"
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2500
+#: ../src/guestfs.pod:2486
msgid "C</dev/sda> 500MB"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2502
+#: ../src/guestfs.pod:2488
msgid "General block device for testing."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2504
+#: ../src/guestfs.pod:2490
msgid "C</dev/sdb> 50MB"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2506
+#: ../src/guestfs.pod:2492
msgid ""
"C</dev/sdb1> is an ext2 filesystem used for testing filesystem write "
"operations."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2509
+#: ../src/guestfs.pod:2495
msgid "C</dev/sdc> 10MB"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2511
+#: ../src/guestfs.pod:2497
msgid "Used in a few tests where two block devices are needed."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2513
+#: ../src/guestfs.pod:2499
msgid "C</dev/sdd>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2515
+#: ../src/guestfs.pod:2501
msgid "ISO with fixed content (see C<images/test.iso>)."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2519
+#: ../src/guestfs.pod:2505
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:2523
+#: ../src/guestfs.pod:2509
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:2529
+#: ../src/guestfs.pod:2515
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:2535
+#: ../src/guestfs.pod:2521
msgid ""
"In addition, packagers can skip individual tests by setting environment "
"variables before running C<make check>."
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2538
+#: ../src/guestfs.pod:2524
#, no-wrap
msgid ""
" SKIP_TEST_<CMD>_<NUM>=1\n"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2540
+#: ../src/guestfs.pod:2526
msgid "eg: C<SKIP_TEST_COMMAND_3=1> skips test #3 of L</guestfs_command>."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2542
+#: ../src/guestfs.pod:2528
msgid "or:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2544
+#: ../src/guestfs.pod:2530
#, no-wrap
msgid ""
" SKIP_TEST_<CMD>=1\n"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2546
+#: ../src/guestfs.pod:2532
msgid "eg: C<SKIP_TEST_ZEROFREE=1> skips all L</guestfs_zerofree> tests."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2548
+#: ../src/guestfs.pod:2534
msgid "Packagers can run only certain tests by setting for example:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2550
+#: ../src/guestfs.pod:2536
#, no-wrap
msgid ""
" TEST_ONLY=\"vfs_type zerofree\"\n"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2552
+#: ../src/guestfs.pod:2538
msgid ""
"See C<capitests/tests.c> for more details of how these environment variables "
"work."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:2555
+#: ../src/guestfs.pod:2541
msgid "DEBUGGING NEW API ACTIONS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2557
+#: ../src/guestfs.pod:2543
msgid "Test new actions work before submitting them."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2559
+#: ../src/guestfs.pod:2545
msgid "You can use guestfish to try out new commands."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2561
+#: ../src/guestfs.pod:2547
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:2565
+#: ../src/guestfs.pod:2551
msgid "FORMATTING CODE AND OTHER CONVENTIONS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2567
+#: ../src/guestfs.pod:2553
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:2573
+#: ../src/guestfs.pod:2559
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:2576
+#: ../src/guestfs.pod:2562
#, no-wrap
msgid ""
" ;;; In libguestfs, indent with spaces everywhere (not TABs).\n"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2586
+#: ../src/guestfs.pod:2572
#, no-wrap
msgid ""
" ;;; When editing C sources in libguestfs, use this style.\n"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2598
+#: ../src/guestfs.pod:2584
msgid "Enable warnings when compiling (and fix any problems this finds):"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2601
+#: ../src/guestfs.pod:2587
#, no-wrap
msgid ""
" ./configure --enable-gcc-warnings\n"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2603
+#: ../src/guestfs.pod:2589
msgid "Useful targets are:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2605
+#: ../src/guestfs.pod:2591
#, no-wrap
msgid ""
" make syntax-check # checks the syntax of the C code\n"
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:2608
+#: ../src/guestfs.pod:2594
msgid "DAEMON CUSTOM PRINTF FORMATTERS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2610
+#: ../src/guestfs.pod:2596
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:2615
+#: ../src/guestfs.pod:2601
msgid "%Q"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2617
+#: ../src/guestfs.pod:2603
msgid ""
"Simple shell quoted string. Any spaces or other shell characters are "
"escaped for you."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2620
+#: ../src/guestfs.pod:2606
msgid "%R"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2622
+#: ../src/guestfs.pod:2608
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:2627 ../fish/guestfish.pod:240 ../fish/guestfish.pod:613
+#: ../src/guestfs.pod:2613 ../fish/guestfish.pod:242 ../fish/guestfish.pod:615
msgid "For example:"
msgstr ""
#. type: verbatim
-#: ../src/guestfs.pod:2629
+#: ../src/guestfs.pod:2615
#, no-wrap
msgid ""
" asprintf (&cmd, \"cat %R\", path);\n"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2631
+#: ../src/guestfs.pod:2617
msgid "would produce C<cat /sysroot/some\\ path\\ with\\ spaces>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2633
+#: ../src/guestfs.pod:2619
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:2639
+#: ../src/guestfs.pod:2625
msgid "SUBMITTING YOUR NEW API ACTIONS"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2641
+#: ../src/guestfs.pod:2627
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:2645
+#: ../src/guestfs.pod:2631
msgid "INTERNATIONALIZATION (I18N) SUPPORT"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2647
+#: ../src/guestfs.pod:2633
msgid "We support i18n (gettext anyhow) in the library."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2649
+#: ../src/guestfs.pod:2635
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:2655
+#: ../src/guestfs.pod:2641
msgid ""
"Debugging messages are never translated, since they are intended for the "
"programmers."
msgstr ""
#. type: =head2
-#: ../src/guestfs.pod:2658
+#: ../src/guestfs.pod:2644
msgid "SOURCE CODE SUBDIRECTORIES"
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2662 ../src/guestfs-actions.pod:5814
-#: ../fish/guestfish-actions.pod:3908
+#: ../src/guestfs.pod:2648 ../src/guestfs-actions.pod:5820
+#: ../fish/guestfish-actions.pod:3913
msgid "C<appliance>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2664
+#: ../src/guestfs.pod:2650
msgid "The libguestfs appliance, build scripts and so on."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2666
+#: ../src/guestfs.pod:2652
msgid "C<capitests>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2668
+#: ../src/guestfs.pod:2654
msgid "Automated tests of the C API."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2670
+#: ../src/guestfs.pod:2656
msgid "C<cat>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2672
+#: ../src/guestfs.pod:2658
msgid ""
"The L<virt-cat(1)>, L<virt-filesystems(1)> and L<virt-ls(1)> commands and "
"documentation."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2675
+#: ../src/guestfs.pod:2661
msgid "C<contrib>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2677
+#: ../src/guestfs.pod:2663
msgid "Outside contributions, experimental parts."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2679
+#: ../src/guestfs.pod:2665
msgid "C<daemon>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2681
+#: ../src/guestfs.pod:2667
msgid ""
"The daemon that runs inside the libguestfs appliance and carries out actions."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2684
+#: ../src/guestfs.pod:2670
msgid "C<df>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2686
+#: ../src/guestfs.pod:2672
msgid "L<virt-df(1)> command and documentation."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2688
+#: ../src/guestfs.pod:2674
msgid "C<examples>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2690
+#: ../src/guestfs.pod:2676
msgid "C API example code."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2692
+#: ../src/guestfs.pod:2678
msgid "C<fish>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2694
+#: ../src/guestfs.pod:2680
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:2698
+#: ../src/guestfs.pod:2684
msgid "C<fuse>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2700
+#: ../src/guestfs.pod:2686
msgid ""
"L<guestmount(1)>, FUSE (userspace filesystem) built on top of libguestfs."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2702
+#: ../src/guestfs.pod:2688
msgid "C<generator>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2704
+#: ../src/guestfs.pod:2690
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:2707
+#: ../src/guestfs.pod:2693
msgid "C<images>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2709
+#: ../src/guestfs.pod:2695
msgid "Files used by the test suite."
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2711
+#: ../src/guestfs.pod:2697
msgid "Some \"phony\" guest images which we test against."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2713
+#: ../src/guestfs.pod:2699
msgid "C<inspector>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2715
+#: ../src/guestfs.pod:2701
msgid "L<virt-inspector(1)>, the virtual machine image inspector."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2717
+#: ../src/guestfs.pod:2703
msgid "C<logo>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2719
+#: ../src/guestfs.pod:2705
msgid "Logo used on the website. The fish is called Arthur by the way."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2721
+#: ../src/guestfs.pod:2707
msgid "C<m4>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2723
+#: ../src/guestfs.pod:2709
msgid "M4 macros used by autoconf."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2725
+#: ../src/guestfs.pod:2711
msgid "C<po>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2727
+#: ../src/guestfs.pod:2713
msgid "Translations of simple gettext strings."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2729
+#: ../src/guestfs.pod:2715
msgid "C<po-docs>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2731
+#: ../src/guestfs.pod:2717
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:2735
+#: ../src/guestfs.pod:2721
msgid "C<regressions>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2737
+#: ../src/guestfs.pod:2723
msgid "Regression tests."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2739
+#: ../src/guestfs.pod:2725
msgid "C<rescue>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2741
+#: ../src/guestfs.pod:2727
msgid "L<virt-rescue(1)> command and documentation."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2743
+#: ../src/guestfs.pod:2729
msgid "C<src>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2745
+#: ../src/guestfs.pod:2731
msgid "Source code to the C library."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2747
+#: ../src/guestfs.pod:2733
msgid "C<tools>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2749
+#: ../src/guestfs.pod:2735
msgid "Command line tools written in Perl (L<virt-resize(1)> and many others)."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2751
+#: ../src/guestfs.pod:2737
msgid "C<test-tool>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2753
+#: ../src/guestfs.pod:2739
msgid ""
"Test tool for end users to test if their qemu/kernel combination will work "
"with libguestfs."
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2756
+#: ../src/guestfs.pod:2742
msgid "C<csharp>"
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2758
+#: ../src/guestfs.pod:2744
msgid "C<haskell>"
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2760
+#: ../src/guestfs.pod:2746
msgid "C<java>"
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2762
+#: ../src/guestfs.pod:2748
msgid "C<ocaml>"
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2764
+#: ../src/guestfs.pod:2750
msgid "C<php>"
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2766
+#: ../src/guestfs.pod:2752
msgid "C<perl>"
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2768
+#: ../src/guestfs.pod:2754
msgid "C<python>"
msgstr ""
#. type: =item
-#: ../src/guestfs.pod:2770
+#: ../src/guestfs.pod:2756
msgid "C<ruby>"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2772
+#: ../src/guestfs.pod:2758
msgid "Language bindings."
msgstr ""
+#. type: =head1
+#: ../src/guestfs.pod:2762
+msgid "LIMITS"
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs.pod:2764
+msgid "PROTOCOL LIMITS"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs.pod:2766
+msgid ""
+"Internally libguestfs uses a message-based protocol to pass API calls and "
+"their responses to and from a small \"appliance\" (see L</INTERNALS> for "
+"plenty more detail about this). The maximum message size used by the "
+"protocol is slightly less than 4 MB. For some API calls you may need to be "
+"aware of this limit. The API calls which may be affected are individually "
+"documented, with a link back to this section of the documentation."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs.pod:2774
+msgid ""
+"A simple call such as L</guestfs_cat> returns its result (the file data) in "
+"a simple string. Because this string is at some point internally encoded as "
+"a message, the maximum size that it can return is slightly under 4 MB. If "
+"the requested file is larger than this then you will get an error."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs.pod:2780
+msgid ""
+"In order to transfer large files into and out of the guest filesystem, you "
+"need to use particular calls that support this. The sections L</UPLOADING> "
+"and L</DOWNLOADING> document how to do this."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs.pod:2784
+msgid ""
+"You might also consider mounting the disk image using our FUSE filesystem "
+"support (L<guestmount(1)>)."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs.pod:2787
+msgid "MAXIMUM NUMBER OF DISKS"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs.pod:2789
+msgid "When using virtio disks (the default) the current limit is B<25> disks."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs.pod:2792
+msgid ""
+"Virtio itself consumes 1 virtual PCI slot per disk, and PCI is limited to 31 "
+"slots. However febootstrap only understands disks with names C</dev/vda> "
+"through C</dev/vdz> (26 letters) and it reserves one disk for its own "
+"purposes."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs.pod:2797
+msgid ""
+"We are working to substantially raise this limit in future versions but it "
+"requires complex changes to qemu."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs.pod:2800
+msgid ""
+"In future versions of libguestfs it should also be possible to \"hot plug\" "
+"disks (add and remove disks after calling L</guestfs_launch>). This also "
+"requires changes to qemu."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs.pod:2804
+msgid "MAXIMUM NUMBER OF PARTITIONS PER DISK"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs.pod:2806
+msgid "Virtio limits the maximum number of partitions per disk to B<15>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs.pod:2808
+msgid ""
+"This is because it reserves 4 bits for the minor device number (thus C</dev/"
+"vda>, and C</dev/vda1> through C</dev/vda15>)."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs.pod:2811
+msgid ""
+"If you attach a disk with more than 15 partitions, the extra partitions are "
+"ignored by libguestfs."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs.pod:2814
+msgid "MAXIMUM SIZE OF A DISK"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs.pod:2816
+msgid "Probably the limit is between 2**63-1 and 2**64-1 bytes."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs.pod:2818
+msgid ""
+"We have tested block devices up to 1 exabyte (2**60 or "
+"1,152,921,504,606,846,976 bytes) using sparse files backed by an XFS host "
+"filesystem."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs.pod:2822
+msgid ""
+"Although libguestfs probably does not impose any limit, the underlying host "
+"storage will. If you store disk images on a host ext4 filesystem, then the "
+"maximum size will be limited by the maximum ext4 file size (currently 16 "
+"TB). If you store disk images as host logical volumes then you are limited "
+"by the maximum size of an LV."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs.pod:2828
+msgid ""
+"For the hugest disk image files, we recommend using XFS on the host for "
+"storage."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs.pod:2831
+msgid "MAXIMUM SIZE OF A PARTITION"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs.pod:2833
+msgid ""
+"The MBR (ie. classic MS-DOS) partitioning scheme uses 32 bit sector "
+"numbers. Assuming a 512 byte sector size, this means that MBR cannot "
+"address a partition located beyond 2 TB on the disk."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs.pod:2837
+msgid ""
+"It is recommended that you use GPT partitions on disks which are larger than "
+"this size. GPT uses 64 bit sector numbers and so can address partitions "
+"which are theoretically larger than the largest disk we could support."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs.pod:2842
+msgid "MAXIMUM SIZE OF A FILESYSTEM, FILES, DIRECTORIES"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs.pod:2844
+msgid ""
+"This depends on the filesystem type. libguestfs itself does not impose any "
+"known limit. Consult Wikipedia or the filesystem documentation to find out "
+"what these limits are."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs.pod:2848
+msgid "MAXIMUM UPLOAD AND DOWNLOAD"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs.pod:2850
+msgid ""
+"The API functions L</guestfs_upload>, L</guestfs_download>, L</"
+"guestfs_tar_in>, L</guestfs_tar_out> and the like allow unlimited sized "
+"uploads and downloads."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs.pod:2854
+msgid "INSPECTION LIMITS"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs.pod:2856
+msgid ""
+"The inspection code has several arbitrary limits on things like the size of "
+"Windows Registry hive it will read, and the length of product name. These "
+"are intended to stop a malicious guest from consuming arbitrary amounts of "
+"memory and disk space on the host, and should not be reached in practice. "
+"See the source code for more information."
+msgstr ""
+
# type: =head1
#. type: =head1
-#: ../src/guestfs.pod:2776 ../fish/guestfish.pod:1015
+#: ../src/guestfs.pod:2862 ../fish/guestfish.pod:1017
#: ../test-tool/libguestfs-test-tool.pod:82 ../tools/virt-edit.pl:476
msgid "ENVIRONMENT VARIABLES"
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs.pod:2780 ../fish/guestfish.pod:1041
+#: ../src/guestfs.pod:2866 ../fish/guestfish.pod:1043
msgid "LIBGUESTFS_APPEND"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2782 ../fish/guestfish.pod:1043
+#: ../src/guestfs.pod:2868 ../fish/guestfish.pod:1045
msgid "Pass additional options to the guest kernel."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs.pod:2784 ../fish/guestfish.pod:1045
+#: ../src/guestfs.pod:2870 ../fish/guestfish.pod:1047
msgid "LIBGUESTFS_DEBUG"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2786
+#: ../src/guestfs.pod:2872
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:2789 ../fish/guestfish.pod:1050
+#: ../src/guestfs.pod:2875 ../fish/guestfish.pod:1052
msgid "LIBGUESTFS_MEMSIZE"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2791 ../fish/guestfish.pod:1052
+#: ../src/guestfs.pod:2877 ../fish/guestfish.pod:1054
msgid ""
"Set the memory allocated to the qemu process, in megabytes. For example:"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs.pod:2794 ../fish/guestfish.pod:1055
+#: ../src/guestfs.pod:2880 ../fish/guestfish.pod:1057
#, no-wrap
msgid ""
" LIBGUESTFS_MEMSIZE=700\n"
# type: =item
#. type: =item
-#: ../src/guestfs.pod:2796 ../fish/guestfish.pod:1057
+#: ../src/guestfs.pod:2882 ../fish/guestfish.pod:1059
msgid "LIBGUESTFS_PATH"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2798
+#: ../src/guestfs.pod:2884
msgid ""
"Set the path that libguestfs uses to search for a supermin appliance. See "
"the discussion of paths in section L</PATH> above."
# type: =item
#. type: =item
-#: ../src/guestfs.pod:2801 ../fish/guestfish.pod:1062
+#: ../src/guestfs.pod:2887 ../fish/guestfish.pod:1064
msgid "LIBGUESTFS_QEMU"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2803 ../fish/guestfish.pod:1064
+#: ../src/guestfs.pod:2889 ../fish/guestfish.pod:1066
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:2807
+#: ../src/guestfs.pod:2893
msgid "See also L</QEMU WRAPPERS> above."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs.pod:2809 ../fish/guestfish.pod:1068
+#: ../src/guestfs.pod:2895 ../fish/guestfish.pod:1070
msgid "LIBGUESTFS_TRACE"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2811
+#: ../src/guestfs.pod:2897
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:2814 ../fish/guestfish.pod:1077
+#: ../src/guestfs.pod:2900 ../fish/guestfish.pod:1079
msgid "TMPDIR"
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2816 ../fish/guestfish.pod:1079
+#: ../src/guestfs.pod:2902 ../fish/guestfish.pod:1081
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:2819 ../fish/guestfish.pod:1082
+#: ../src/guestfs.pod:2905 ../fish/guestfish.pod:1084
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:2827 ../fish/guestfish.pod:1149
-#: ../test-tool/libguestfs-test-tool.pod:87 ../fuse/guestmount.pod:267
+#: ../src/guestfs.pod:2913 ../fish/guestfish.pod:1151
+#: ../test-tool/libguestfs-test-tool.pod:87 ../fuse/guestmount.pod:269
#: ../tools/virt-edit.pl:496 ../tools/virt-win-reg.pl:572
#: ../tools/virt-list-filesystems.pl:189 ../tools/virt-tar.pl:286
#: ../tools/virt-make-fs.pl:539 ../tools/virt-list-partitions.pl:257
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2829
+#: ../src/guestfs.pod:2915
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:2856
+#: ../src/guestfs.pod:2942
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:2863 ../tools/virt-win-reg.pl:587
+#: ../src/guestfs.pod:2949 ../tools/virt-win-reg.pl:587
#: ../tools/virt-make-fs.pl:553
msgid "BUGS"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2865
+#: ../src/guestfs.pod:2951
msgid "To get a list of bugs against libguestfs use this link:"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2867
+#: ../src/guestfs.pod:2953
msgid ""
"L<https://bugzilla.redhat.com/buglist.cgi?"
"component=libguestfs&product=Virtualization+Tools>"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2869
+#: ../src/guestfs.pod:2955
msgid "To report a new bug against libguestfs use this link:"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2871
+#: ../src/guestfs.pod:2957
msgid ""
"L<https://bugzilla.redhat.com/enter_bug.cgi?"
"component=libguestfs&product=Virtualization+Tools>"
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2873
+#: ../src/guestfs.pod:2959
msgid "When reporting a bug, please check:"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2879
+#: ../src/guestfs.pod:2965
msgid "That the bug hasn't been reported already."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2883
+#: ../src/guestfs.pod:2969
msgid "That you are testing a recent version."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2887
+#: ../src/guestfs.pod:2973
msgid "Describe the bug accurately, and give a way to reproduce it."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2891
+#: ../src/guestfs.pod:2977
msgid ""
"Run libguestfs-test-tool and paste the B<complete, unedited> output into the "
"bug report."
# type: =head1
#. type: =head1
-#: ../src/guestfs.pod:2896 ../fish/guestfish.pod:1172
-#: ../test-tool/libguestfs-test-tool.pod:93 ../fuse/guestmount.pod:278
+#: ../src/guestfs.pod:2982 ../fish/guestfish.pod:1174
+#: ../test-tool/libguestfs-test-tool.pod:93 ../fuse/guestmount.pod:280
msgid "AUTHORS"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2898 ../fish/guestfish.pod:1174
-#: ../test-tool/libguestfs-test-tool.pod:95 ../fuse/guestmount.pod:280
+#: ../src/guestfs.pod:2984 ../fish/guestfish.pod:1176
+#: ../test-tool/libguestfs-test-tool.pod:95 ../fuse/guestmount.pod:282
msgid "Richard W.M. Jones (C<rjones at redhat dot com>)"
msgstr ""
# type: =head1
#. type: =head1
-#: ../src/guestfs.pod:2900 ../fish/guestfish.pod:1176
-#: ../test-tool/libguestfs-test-tool.pod:97 ../fuse/guestmount.pod:282
+#: ../src/guestfs.pod:2986 ../fish/guestfish.pod:1178
+#: ../test-tool/libguestfs-test-tool.pod:97 ../fuse/guestmount.pod:284
#: ../tools/virt-edit.pl:514 ../tools/virt-win-reg.pl:602
#: ../tools/virt-list-filesystems.pl:206 ../tools/virt-tar.pl:305
#: ../tools/virt-make-fs.pl:568 ../tools/virt-list-partitions.pl:273
msgstr ""
#. type: textblock
-#: ../src/guestfs.pod:2902 ../fish/guestfish.pod:1178
+#: ../src/guestfs.pod:2988 ../fish/guestfish.pod:1180
#: ../test-tool/libguestfs-test-tool.pod:99
msgid "Copyright (C) 2009-2011 Red Hat Inc. L<http://libguestfs.org/>"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs.pod:2905
+#: ../src/guestfs.pod:2991
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:2910
+#: ../src/guestfs.pod:2996
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:2915
+#: ../src/guestfs.pod:3001
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, "
msgid "This function adds a virtual CD-ROM disk image to the guest."
msgstr ""
-# type: textblock
#. type: textblock
#: ../src/guestfs-actions.pod:9 ../fish/guestfish-actions.pod:7
-msgid "This is equivalent to the qemu parameter C<-cdrom filename>."
+msgid "This is equivalent to the qemu parameter I<-cdrom filename>."
msgstr ""
# type: textblock
# type: textblock
#. type: textblock
-#: ../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:1337
-#: ../src/guestfs-actions.pod:1443 ../src/guestfs-actions.pod:1477
-#: ../src/guestfs-actions.pod:1695 ../src/guestfs-actions.pod:1717
-#: ../src/guestfs-actions.pod:1804 ../src/guestfs-actions.pod:2266
-#: ../src/guestfs-actions.pod:2410 ../src/guestfs-actions.pod:2471
-#: ../src/guestfs-actions.pod:2506 ../src/guestfs-actions.pod:3459
-#: ../src/guestfs-actions.pod:3474 ../src/guestfs-actions.pod:3499
-#: ../src/guestfs-actions.pod:3654 ../src/guestfs-actions.pod:3668
-#: ../src/guestfs-actions.pod:3681 ../src/guestfs-actions.pod:3695
-#: ../src/guestfs-actions.pod:3710 ../src/guestfs-actions.pod:3746
-#: ../src/guestfs-actions.pod:3818 ../src/guestfs-actions.pod:3838
-#: ../src/guestfs-actions.pod:3855 ../src/guestfs-actions.pod:3878
-#: ../src/guestfs-actions.pod:3901 ../src/guestfs-actions.pod:3933
-#: ../src/guestfs-actions.pod:3952 ../src/guestfs-actions.pod:3971
-#: ../src/guestfs-actions.pod:4006 ../src/guestfs-actions.pod:4018
-#: ../src/guestfs-actions.pod:4054 ../src/guestfs-actions.pod:4070
-#: ../src/guestfs-actions.pod:4083 ../src/guestfs-actions.pod:4098
-#: ../src/guestfs-actions.pod:4115 ../src/guestfs-actions.pod:4208
-#: ../src/guestfs-actions.pod:4228 ../src/guestfs-actions.pod:4241
-#: ../src/guestfs-actions.pod:4292 ../src/guestfs-actions.pod:4310
-#: ../src/guestfs-actions.pod:4328 ../src/guestfs-actions.pod:4344
-#: ../src/guestfs-actions.pod:4358 ../src/guestfs-actions.pod:4372
-#: ../src/guestfs-actions.pod:4389 ../src/guestfs-actions.pod:4404
-#: ../src/guestfs-actions.pod:4424 ../src/guestfs-actions.pod:4482
-#: ../src/guestfs-actions.pod:4555 ../src/guestfs-actions.pod:4586
-#: ../src/guestfs-actions.pod:4605 ../src/guestfs-actions.pod:4624
-#: ../src/guestfs-actions.pod:4636 ../src/guestfs-actions.pod:4653
-#: ../src/guestfs-actions.pod:4666 ../src/guestfs-actions.pod:4681
-#: ../src/guestfs-actions.pod:4696 ../src/guestfs-actions.pod:4731
-#: ../src/guestfs-actions.pod:4746 ../src/guestfs-actions.pod:4766
-#: ../src/guestfs-actions.pod:4780 ../src/guestfs-actions.pod:4797
-#: ../src/guestfs-actions.pod:4846 ../src/guestfs-actions.pod:4883
-#: ../src/guestfs-actions.pod:4897 ../src/guestfs-actions.pod:4925
-#: ../src/guestfs-actions.pod:4942 ../src/guestfs-actions.pod:4960
-#: ../src/guestfs-actions.pod:5094 ../src/guestfs-actions.pod:5151
-#: ../src/guestfs-actions.pod:5173 ../src/guestfs-actions.pod:5191
-#: ../src/guestfs-actions.pod:5223 ../src/guestfs-actions.pod:5289
-#: ../src/guestfs-actions.pod:5306 ../src/guestfs-actions.pod:5319
-#: ../src/guestfs-actions.pod:5333 ../src/guestfs-actions.pod:5622
-#: ../src/guestfs-actions.pod:5641 ../src/guestfs-actions.pod:5660
-#: ../src/guestfs-actions.pod:5672 ../src/guestfs-actions.pod:5684
-#: ../src/guestfs-actions.pod:5698 ../src/guestfs-actions.pod:5710
-#: ../src/guestfs-actions.pod:5724 ../src/guestfs-actions.pod:5740
-#: ../src/guestfs-actions.pod:5761 ../src/guestfs-actions.pod:5780
-#: ../src/guestfs-actions.pod:5799 ../src/guestfs-actions.pod:5829
-#: ../src/guestfs-actions.pod:5845 ../src/guestfs-actions.pod:5868
-#: ../src/guestfs-actions.pod:5886 ../src/guestfs-actions.pod:5905
-#: ../src/guestfs-actions.pod:5926 ../src/guestfs-actions.pod:5945
-#: ../src/guestfs-actions.pod:5962 ../src/guestfs-actions.pod:5990
-#: ../src/guestfs-actions.pod:6014 ../src/guestfs-actions.pod:6033
-#: ../src/guestfs-actions.pod:6057 ../src/guestfs-actions.pod:6076
-#: ../src/guestfs-actions.pod:6091 ../src/guestfs-actions.pod:6110
-#: ../src/guestfs-actions.pod:6147 ../src/guestfs-actions.pod:6170
-#: ../src/guestfs-actions.pod:6196 ../src/guestfs-actions.pod:6304
-#: ../src/guestfs-actions.pod:6425 ../src/guestfs-actions.pod:6437
-#: ../src/guestfs-actions.pod:6450 ../src/guestfs-actions.pod:6463
-#: ../src/guestfs-actions.pod:6485 ../src/guestfs-actions.pod:6498
-#: ../src/guestfs-actions.pod:6511 ../src/guestfs-actions.pod:6524
-#: ../src/guestfs-actions.pod:6539 ../src/guestfs-actions.pod:6598
-#: ../src/guestfs-actions.pod:6615 ../src/guestfs-actions.pod:6631
-#: ../src/guestfs-actions.pod:6647 ../src/guestfs-actions.pod:6664
-#: ../src/guestfs-actions.pod:6677 ../src/guestfs-actions.pod:6697
-#: ../src/guestfs-actions.pod:6733 ../src/guestfs-actions.pod:6747
-#: ../src/guestfs-actions.pod:6788 ../src/guestfs-actions.pod:6801
-#: ../src/guestfs-actions.pod:6819 ../src/guestfs-actions.pod:6853
-#: ../src/guestfs-actions.pod:6889 ../src/guestfs-actions.pod:7008
-#: ../src/guestfs-actions.pod:7026 ../src/guestfs-actions.pod:7040
-#: ../src/guestfs-actions.pod:7095 ../src/guestfs-actions.pod:7108
-#: ../src/guestfs-actions.pod:7153 ../src/guestfs-actions.pod:7186
-#: ../src/guestfs-actions.pod:7240 ../src/guestfs-actions.pod:7266
-#: ../src/guestfs-actions.pod:7332 ../src/guestfs-actions.pod:7351
-#: ../src/guestfs-actions.pod:7380
+#: ../src/guestfs-actions.pod:30 ../src/guestfs-actions.pod:140
+#: ../src/guestfs-actions.pod:201 ../src/guestfs-actions.pod:238
+#: ../src/guestfs-actions.pod:252 ../src/guestfs-actions.pod:273
+#: ../src/guestfs-actions.pod:293 ../src/guestfs-actions.pod:307
+#: ../src/guestfs-actions.pod:422 ../src/guestfs-actions.pod:442
+#: ../src/guestfs-actions.pod:456 ../src/guestfs-actions.pod:501
+#: ../src/guestfs-actions.pod:529 ../src/guestfs-actions.pod:547
+#: ../src/guestfs-actions.pod:614 ../src/guestfs-actions.pod:647
+#: ../src/guestfs-actions.pod:661 ../src/guestfs-actions.pod:676
+#: ../src/guestfs-actions.pod:775 ../src/guestfs-actions.pod:793
+#: ../src/guestfs-actions.pod:807 ../src/guestfs-actions.pod:821
+#: ../src/guestfs-actions.pod:982 ../src/guestfs-actions.pod:1002
+#: ../src/guestfs-actions.pod:1020 ../src/guestfs-actions.pod:1104
+#: ../src/guestfs-actions.pod:1122 ../src/guestfs-actions.pod:1141
+#: ../src/guestfs-actions.pod:1155 ../src/guestfs-actions.pod:1175
+#: ../src/guestfs-actions.pod:1245 ../src/guestfs-actions.pod:1276
+#: ../src/guestfs-actions.pod:1301 ../src/guestfs-actions.pod:1343
+#: ../src/guestfs-actions.pod:1449 ../src/guestfs-actions.pod:1483
+#: ../src/guestfs-actions.pod:1701 ../src/guestfs-actions.pod:1723
+#: ../src/guestfs-actions.pod:1810 ../src/guestfs-actions.pod:2272
+#: ../src/guestfs-actions.pod:2416 ../src/guestfs-actions.pod:2477
+#: ../src/guestfs-actions.pod:2512 ../src/guestfs-actions.pod:3465
+#: ../src/guestfs-actions.pod:3480 ../src/guestfs-actions.pod:3505
+#: ../src/guestfs-actions.pod:3660 ../src/guestfs-actions.pod:3674
+#: ../src/guestfs-actions.pod:3687 ../src/guestfs-actions.pod:3701
+#: ../src/guestfs-actions.pod:3716 ../src/guestfs-actions.pod:3752
+#: ../src/guestfs-actions.pod:3824 ../src/guestfs-actions.pod:3844
+#: ../src/guestfs-actions.pod:3861 ../src/guestfs-actions.pod:3884
+#: ../src/guestfs-actions.pod:3907 ../src/guestfs-actions.pod:3939
+#: ../src/guestfs-actions.pod:3958 ../src/guestfs-actions.pod:3977
+#: ../src/guestfs-actions.pod:4012 ../src/guestfs-actions.pod:4024
+#: ../src/guestfs-actions.pod:4060 ../src/guestfs-actions.pod:4076
+#: ../src/guestfs-actions.pod:4089 ../src/guestfs-actions.pod:4104
+#: ../src/guestfs-actions.pod:4121 ../src/guestfs-actions.pod:4214
+#: ../src/guestfs-actions.pod:4234 ../src/guestfs-actions.pod:4247
+#: ../src/guestfs-actions.pod:4298 ../src/guestfs-actions.pod:4316
+#: ../src/guestfs-actions.pod:4334 ../src/guestfs-actions.pod:4350
+#: ../src/guestfs-actions.pod:4364 ../src/guestfs-actions.pod:4378
+#: ../src/guestfs-actions.pod:4395 ../src/guestfs-actions.pod:4410
+#: ../src/guestfs-actions.pod:4430 ../src/guestfs-actions.pod:4488
+#: ../src/guestfs-actions.pod:4561 ../src/guestfs-actions.pod:4592
+#: ../src/guestfs-actions.pod:4611 ../src/guestfs-actions.pod:4630
+#: ../src/guestfs-actions.pod:4642 ../src/guestfs-actions.pod:4659
+#: ../src/guestfs-actions.pod:4672 ../src/guestfs-actions.pod:4687
+#: ../src/guestfs-actions.pod:4702 ../src/guestfs-actions.pod:4737
+#: ../src/guestfs-actions.pod:4752 ../src/guestfs-actions.pod:4772
+#: ../src/guestfs-actions.pod:4786 ../src/guestfs-actions.pod:4803
+#: ../src/guestfs-actions.pod:4852 ../src/guestfs-actions.pod:4889
+#: ../src/guestfs-actions.pod:4903 ../src/guestfs-actions.pod:4931
+#: ../src/guestfs-actions.pod:4948 ../src/guestfs-actions.pod:4966
+#: ../src/guestfs-actions.pod:5100 ../src/guestfs-actions.pod:5157
+#: ../src/guestfs-actions.pod:5179 ../src/guestfs-actions.pod:5197
+#: ../src/guestfs-actions.pod:5229 ../src/guestfs-actions.pod:5295
+#: ../src/guestfs-actions.pod:5312 ../src/guestfs-actions.pod:5325
+#: ../src/guestfs-actions.pod:5339 ../src/guestfs-actions.pod:5628
+#: ../src/guestfs-actions.pod:5647 ../src/guestfs-actions.pod:5666
+#: ../src/guestfs-actions.pod:5678 ../src/guestfs-actions.pod:5690
+#: ../src/guestfs-actions.pod:5704 ../src/guestfs-actions.pod:5716
+#: ../src/guestfs-actions.pod:5730 ../src/guestfs-actions.pod:5746
+#: ../src/guestfs-actions.pod:5767 ../src/guestfs-actions.pod:5786
+#: ../src/guestfs-actions.pod:5805 ../src/guestfs-actions.pod:5835
+#: ../src/guestfs-actions.pod:5851 ../src/guestfs-actions.pod:5874
+#: ../src/guestfs-actions.pod:5892 ../src/guestfs-actions.pod:5911
+#: ../src/guestfs-actions.pod:5932 ../src/guestfs-actions.pod:5951
+#: ../src/guestfs-actions.pod:5968 ../src/guestfs-actions.pod:5996
+#: ../src/guestfs-actions.pod:6020 ../src/guestfs-actions.pod:6039
+#: ../src/guestfs-actions.pod:6063 ../src/guestfs-actions.pod:6082
+#: ../src/guestfs-actions.pod:6097 ../src/guestfs-actions.pod:6116
+#: ../src/guestfs-actions.pod:6153 ../src/guestfs-actions.pod:6176
+#: ../src/guestfs-actions.pod:6202 ../src/guestfs-actions.pod:6310
+#: ../src/guestfs-actions.pod:6431 ../src/guestfs-actions.pod:6443
+#: ../src/guestfs-actions.pod:6456 ../src/guestfs-actions.pod:6469
+#: ../src/guestfs-actions.pod:6491 ../src/guestfs-actions.pod:6504
+#: ../src/guestfs-actions.pod:6517 ../src/guestfs-actions.pod:6530
+#: ../src/guestfs-actions.pod:6545 ../src/guestfs-actions.pod:6604
+#: ../src/guestfs-actions.pod:6621 ../src/guestfs-actions.pod:6637
+#: ../src/guestfs-actions.pod:6653 ../src/guestfs-actions.pod:6670
+#: ../src/guestfs-actions.pod:6683 ../src/guestfs-actions.pod:6703
+#: ../src/guestfs-actions.pod:6739 ../src/guestfs-actions.pod:6753
+#: ../src/guestfs-actions.pod:6794 ../src/guestfs-actions.pod:6807
+#: ../src/guestfs-actions.pod:6825 ../src/guestfs-actions.pod:6859
+#: ../src/guestfs-actions.pod:6895 ../src/guestfs-actions.pod:7014
+#: ../src/guestfs-actions.pod:7032 ../src/guestfs-actions.pod:7046
+#: ../src/guestfs-actions.pod:7101 ../src/guestfs-actions.pod:7114
+#: ../src/guestfs-actions.pod:7159 ../src/guestfs-actions.pod:7192
+#: ../src/guestfs-actions.pod:7246 ../src/guestfs-actions.pod:7272
+#: ../src/guestfs-actions.pod:7338 ../src/guestfs-actions.pod:7357
+#: ../src/guestfs-actions.pod:7386
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:248
-#: ../src/guestfs-actions.pod:269 ../fish/guestfish-actions.pod:28
-#: ../fish/guestfish-actions.pod:158 ../fish/guestfish-actions.pod:172
+#: ../src/guestfs-actions.pod:32 ../src/guestfs-actions.pod:254
+#: ../src/guestfs-actions.pod:275 ../fish/guestfish-actions.pod:28
+#: ../fish/guestfish-actions.pod:163 ../fish/guestfish-actions.pod:177
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:251
-#: ../src/guestfs-actions.pod:272 ../src/guestfs-actions.pod:1448
-#: ../src/guestfs-actions.pod:1944 ../src/guestfs-actions.pod:1965
-#: ../src/guestfs-actions.pod:4429 ../src/guestfs-actions.pod:7274
-#: ../src/guestfs-actions.pod:7443 ../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:3008
-#: ../fish/guestfish-actions.pod:4866 ../fish/guestfish-actions.pod:4963
+#: ../src/guestfs-actions.pod:35 ../src/guestfs-actions.pod:257
+#: ../src/guestfs-actions.pod:278 ../src/guestfs-actions.pod:1454
+#: ../src/guestfs-actions.pod:1950 ../src/guestfs-actions.pod:1971
+#: ../src/guestfs-actions.pod:4435 ../src/guestfs-actions.pod:7280
+#: ../src/guestfs-actions.pod:7449 ../fish/guestfish-actions.pod:31
+#: ../fish/guestfish-actions.pod:166 ../fish/guestfish-actions.pod:180
+#: ../fish/guestfish-actions.pod:961 ../fish/guestfish-actions.pod:1324
+#: ../fish/guestfish-actions.pod:1338 ../fish/guestfish-actions.pod:3013
+#: ../fish/guestfish-actions.pod:4871 ../fish/guestfish-actions.pod:4968
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:136
-#: ../src/guestfs-actions.pod:1100 ../src/guestfs-actions.pod:1916
-#: ../src/guestfs-actions.pod:2014 ../src/guestfs-actions.pod:2117
-#: ../src/guestfs-actions.pod:3461 ../src/guestfs-actions.pod:3481
-#: ../src/guestfs-actions.pod:4733 ../src/guestfs-actions.pod:5847
-#: ../src/guestfs-actions.pod:5964 ../src/guestfs-actions.pod:6078
-#: ../src/guestfs-actions.pod:6541 ../src/guestfs-actions.pod:6666
-#: ../src/guestfs-actions.pod:7188
+#: ../src/guestfs-actions.pod:39 ../src/guestfs-actions.pod:142
+#: ../src/guestfs-actions.pod:1106 ../src/guestfs-actions.pod:1922
+#: ../src/guestfs-actions.pod:2020 ../src/guestfs-actions.pod:2123
+#: ../src/guestfs-actions.pod:3467 ../src/guestfs-actions.pod:3487
+#: ../src/guestfs-actions.pod:4739 ../src/guestfs-actions.pod:5853
+#: ../src/guestfs-actions.pod:5970 ../src/guestfs-actions.pod:6084
+#: ../src/guestfs-actions.pod:6547 ../src/guestfs-actions.pod:6672
+#: ../src/guestfs-actions.pod:7194
msgid "(Added in 0.3)"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:48 ../src/guestfs-actions.pod:145
-#: ../src/guestfs-actions.pod:4443
+#: ../src/guestfs-actions.pod:48 ../src/guestfs-actions.pod:151
+#: ../src/guestfs-actions.pod:4449
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 "
" GUESTFS_ADD_DOMAIN_READONLY, int readonly,\n"
" GUESTFS_ADD_DOMAIN_IFACE, const char *iface,\n"
" GUESTFS_ADD_DOMAIN_LIVE, int live,\n"
+" GUESTFS_ADD_DOMAIN_ALLOWUUID, int allowuuid,\n"
"\n"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:58
+#: ../src/guestfs-actions.pod:59
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:63 ../fish/guestfish-actions.pod:46
+#: ../src/guestfs-actions.pod:64 ../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:66 ../fish/guestfish-actions.pod:49
+#: ../src/guestfs-actions.pod:67 ../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:70 ../fish/guestfish-actions.pod:53
+#: ../src/guestfs-actions.pod:71 ../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:75 ../fish/guestfish-actions.pod:58
+#: ../src/guestfs-actions.pod:76 ../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 "
msgstr ""
#. type: textblock
-#: ../src/guestfs-actions.pod:81 ../fish/guestfish-actions.pod:64
+#: ../src/guestfs-actions.pod:82 ../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 "
"DAEMONS> for more information."
msgstr ""
+#. type: textblock
+#: ../src/guestfs-actions.pod:89 ../fish/guestfish-actions.pod:71
+msgid ""
+"If the C<allowuuid> flag is true (default is false) then a UUID I<may> be "
+"passed instead of the domain name. The C<dom> string is treated as a UUID "
+"first and looked up, and if that lookup fails then we treat C<dom> as a name "
+"as usual."
+msgstr ""
+
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:88
+#: ../src/guestfs-actions.pod:94
msgid ""
"The other optional parameters are passed directly through to "
"C<guestfs_add_drive_opts>."
# type: textblock
#. type: textblock
-#: ../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:1674 ../src/guestfs-actions.pod:1877
-#: ../src/guestfs-actions.pod:1986 ../src/guestfs-actions.pod:2026
-#: ../src/guestfs-actions.pod:2081 ../src/guestfs-actions.pod:2104
-#: ../src/guestfs-actions.pod:2397 ../src/guestfs-actions.pod:2780
-#: ../src/guestfs-actions.pod:2801 ../src/guestfs-actions.pod:4869
-#: ../src/guestfs-actions.pod:4997 ../src/guestfs-actions.pod:5403
-#: ../src/guestfs-actions.pod:5429 ../src/guestfs-actions.pod:6774
-#: ../src/guestfs-actions.pod:7199 ../src/guestfs-actions.pod:7212
-#: ../src/guestfs-actions.pod:7225
+#: ../src/guestfs-actions.pod:97 ../src/guestfs-actions.pod:350
+#: ../src/guestfs-actions.pod:515 ../src/guestfs-actions.pod:693
+#: ../src/guestfs-actions.pod:724 ../src/guestfs-actions.pod:742
+#: ../src/guestfs-actions.pod:761 ../src/guestfs-actions.pod:1321
+#: ../src/guestfs-actions.pod:1680 ../src/guestfs-actions.pod:1883
+#: ../src/guestfs-actions.pod:1992 ../src/guestfs-actions.pod:2032
+#: ../src/guestfs-actions.pod:2087 ../src/guestfs-actions.pod:2110
+#: ../src/guestfs-actions.pod:2403 ../src/guestfs-actions.pod:2786
+#: ../src/guestfs-actions.pod:2807 ../src/guestfs-actions.pod:4875
+#: ../src/guestfs-actions.pod:5003 ../src/guestfs-actions.pod:5409
+#: ../src/guestfs-actions.pod:5435 ../src/guestfs-actions.pod:6780
+#: ../src/guestfs-actions.pod:7205 ../src/guestfs-actions.pod:7218
+#: ../src/guestfs-actions.pod:7231
msgid "On error this function returns -1."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:93
+#: ../src/guestfs-actions.pod:99
msgid "(Added in 1.7.4)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:95
+#: ../src/guestfs-actions.pod:101
msgid "guestfs_add_domain_va"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:97
+#: ../src/guestfs-actions.pod:103
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:102
+#: ../src/guestfs-actions.pod:108
msgid "This is the \"va_list variant\" of L</guestfs_add_domain>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:104 ../src/guestfs-actions.pod:115
-#: ../src/guestfs-actions.pod:208 ../src/guestfs-actions.pod:219
-#: ../src/guestfs-actions.pod:4496 ../src/guestfs-actions.pod:4508
+#: ../src/guestfs-actions.pod:110 ../src/guestfs-actions.pod:121
+#: ../src/guestfs-actions.pod:214 ../src/guestfs-actions.pod:225
+#: ../src/guestfs-actions.pod:4502 ../src/guestfs-actions.pod:4514
msgid "See L</CALLS WITH OPTIONAL ARGUMENTS>."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:106
+#: ../src/guestfs-actions.pod:112
msgid "guestfs_add_domain_argv"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:108
+#: ../src/guestfs-actions.pod:114
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:113
+#: ../src/guestfs-actions.pod:119
msgid "This is the \"argv variant\" of L</guestfs_add_domain>."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:117
+#: ../src/guestfs-actions.pod:123
msgid "guestfs_add_drive"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:119
+#: ../src/guestfs-actions.pod:125
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:123
+#: ../src/guestfs-actions.pod:129
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:127
+#: ../src/guestfs-actions.pod:133
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:138
+#: ../src/guestfs-actions.pod:144
msgid "guestfs_add_drive_opts"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:140
+#: ../src/guestfs-actions.pod:146
#, no-wrap
msgid ""
" int\n"
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:150
+#: ../src/guestfs-actions.pod:156
#, no-wrap
msgid ""
" GUESTFS_ADD_DRIVE_OPTS_READONLY, int readonly,\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:154 ../fish/guestfish-actions.pod:97
+#: ../src/guestfs-actions.pod:160 ../fish/guestfish-actions.pod:102
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:159 ../fish/guestfish-actions.pod:102
+#: ../src/guestfs-actions.pod:165 ../fish/guestfish-actions.pod:107
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:165 ../fish/guestfish-actions.pod:108
+#: ../src/guestfs-actions.pod:171 ../fish/guestfish-actions.pod:113
msgid "This call checks that C<filename> exists."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:167 ../src/guestfs-actions.pod:4454
-#: ../fish/guestfish-actions.pod:110 ../fish/guestfish-actions.pod:3019
+#: ../src/guestfs-actions.pod:173 ../src/guestfs-actions.pod:4460
+#: ../fish/guestfish-actions.pod:115 ../fish/guestfish-actions.pod:3024
msgid "The optional arguments are:"
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:171 ../fish/guestfish-actions.pod:114
+#: ../src/guestfs-actions.pod:177 ../fish/guestfish-actions.pod:119
msgid "C<readonly>"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:173 ../fish/guestfish-actions.pod:116
+#: ../src/guestfs-actions.pod:179 ../fish/guestfish-actions.pod:121
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:177 ../fish/guestfish-actions.pod:120
+#: ../src/guestfs-actions.pod:183 ../fish/guestfish-actions.pod:125
msgid "C<format>"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:179
+#: ../src/guestfs-actions.pod:185
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:183 ../fish/guestfish-actions.pod:126
+#: ../src/guestfs-actions.pod:189 ../fish/guestfish-actions.pod:131
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:188 ../fish/guestfish-actions.pod:131
+#: ../src/guestfs-actions.pod:194 ../fish/guestfish-actions.pod:136
msgid "C<iface>"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:190
+#: ../src/guestfs-actions.pod:196
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:197
+#: ../src/guestfs-actions.pod:203
msgid "(Added in 1.5.23)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:199
+#: ../src/guestfs-actions.pod:205
msgid "guestfs_add_drive_opts_va"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:201
+#: ../src/guestfs-actions.pod:207
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:206
+#: ../src/guestfs-actions.pod:212
msgid "This is the \"va_list variant\" of L</guestfs_add_drive_opts>."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:210
+#: ../src/guestfs-actions.pod:216
msgid "guestfs_add_drive_opts_argv"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:212
+#: ../src/guestfs-actions.pod:218
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:217
+#: ../src/guestfs-actions.pod:223
msgid "This is the \"argv variant\" of L</guestfs_add_drive_opts>."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:221
+#: ../src/guestfs-actions.pod:227
msgid "guestfs_add_drive_ro"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:223
+#: ../src/guestfs-actions.pod:229
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:227
+#: ../src/guestfs-actions.pod:233
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:234
+#: ../src/guestfs-actions.pod:240
msgid "(Added in 1.0.38)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:236
+#: ../src/guestfs-actions.pod:242
msgid "guestfs_add_drive_ro_with_if"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:238
+#: ../src/guestfs-actions.pod:244
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:243
+#: ../src/guestfs-actions.pod:249
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:255 ../src/guestfs-actions.pod:276
-#: ../src/guestfs-actions.pod:2356
+#: ../src/guestfs-actions.pod:261 ../src/guestfs-actions.pod:282
+#: ../src/guestfs-actions.pod:2362
msgid "(Added in 1.0.84)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:257
+#: ../src/guestfs-actions.pod:263
msgid "guestfs_add_drive_with_if"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:259
+#: ../src/guestfs-actions.pod:265
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:264
+#: ../src/guestfs-actions.pod:270
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:278
+#: ../src/guestfs-actions.pod:284
msgid "guestfs_aug_clear"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:280
+#: ../src/guestfs-actions.pod:286
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:284 ../fish/guestfish-actions.pod:183
+#: ../src/guestfs-actions.pod:290 ../fish/guestfish-actions.pod:188
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:289 ../src/guestfs-actions.pod:2106
+#: ../src/guestfs-actions.pod:295 ../src/guestfs-actions.pod:2112
msgid "(Added in 1.3.4)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:291
+#: ../src/guestfs-actions.pod:297
msgid "guestfs_aug_close"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:293
+#: ../src/guestfs-actions.pod:299
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:296
+#: ../src/guestfs-actions.pod:302
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: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:5480
+#: ../src/guestfs-actions.pod:309 ../src/guestfs-actions.pod:334
+#: ../src/guestfs-actions.pod:352 ../src/guestfs-actions.pod:366
+#: ../src/guestfs-actions.pod:424 ../src/guestfs-actions.pod:444
+#: ../src/guestfs-actions.pod:458 ../src/guestfs-actions.pod:489
+#: ../src/guestfs-actions.pod:503 ../src/guestfs-actions.pod:517
+#: ../src/guestfs-actions.pod:531 ../src/guestfs-actions.pod:549
+#: ../src/guestfs-actions.pod:5486
msgid "(Added in 0.7)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:305
+#: ../src/guestfs-actions.pod:311
msgid "guestfs_aug_defnode"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:307
+#: ../src/guestfs-actions.pod:313
#, no-wrap
msgid ""
" struct guestfs_int_bool *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:313 ../fish/guestfish-actions.pod:199
+#: ../src/guestfs-actions.pod:319 ../fish/guestfish-actions.pod:204
msgid ""
"Defines a variable C<name> whose value is the result of evaluating C<expr>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:316
+#: ../src/guestfs-actions.pod:322
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:320 ../fish/guestfish-actions.pod:206
+#: ../src/guestfs-actions.pod:326 ../fish/guestfish-actions.pod:211
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:324
+#: ../src/guestfs-actions.pod:330
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:330
+#: ../src/guestfs-actions.pod:336
msgid "guestfs_aug_defvar"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:332
+#: ../src/guestfs-actions.pod:338
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:337 ../fish/guestfish-actions.pod:214
+#: ../src/guestfs-actions.pod:343 ../fish/guestfish-actions.pod:219
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:341 ../fish/guestfish-actions.pod:218
+#: ../src/guestfs-actions.pod:347 ../fish/guestfish-actions.pod:223
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:348
+#: ../src/guestfs-actions.pod:354
msgid "guestfs_aug_get"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:350
+#: ../src/guestfs-actions.pod:356
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:354 ../fish/guestfish-actions.pod:225
+#: ../src/guestfs-actions.pod:360 ../fish/guestfish-actions.pod:230
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: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:1354
-#: ../src/guestfs-actions.pod:1545 ../src/guestfs-actions.pod:1657
-#: ../src/guestfs-actions.pod:1820 ../src/guestfs-actions.pod:1837
-#: ../src/guestfs-actions.pod:1904 ../src/guestfs-actions.pod:1938
-#: ../src/guestfs-actions.pod:1959 ../src/guestfs-actions.pod:2129
-#: ../src/guestfs-actions.pod:2321 ../src/guestfs-actions.pod:2528
-#: ../src/guestfs-actions.pod:2621 ../src/guestfs-actions.pod:2732
-#: ../src/guestfs-actions.pod:2752 ../src/guestfs-actions.pod:2872
-#: ../src/guestfs-actions.pod:2903 ../src/guestfs-actions.pod:2927
-#: ../src/guestfs-actions.pod:2964 ../src/guestfs-actions.pod:3024
-#: ../src/guestfs-actions.pod:3047 ../src/guestfs-actions.pod:3068
-#: ../src/guestfs-actions.pod:3640 ../src/guestfs-actions.pod:3990
-#: ../src/guestfs-actions.pod:4160 ../src/guestfs-actions.pod:4270
-#: ../src/guestfs-actions.pod:5015 ../src/guestfs-actions.pod:5208
-#: ../src/guestfs-actions.pod:5378 ../src/guestfs-actions.pod:5556
-#: ../src/guestfs-actions.pod:5605 ../src/guestfs-actions.pod:6217
-#: ../src/guestfs-actions.pod:6233 ../src/guestfs-actions.pod:6250
-#: ../src/guestfs-actions.pod:6274 ../src/guestfs-actions.pod:6948
-#: ../src/guestfs-actions.pod:6967 ../src/guestfs-actions.pod:6985
-#: ../src/guestfs-actions.pod:7165 ../src/guestfs-actions.pod:7437
+#: ../src/guestfs-actions.pod:363 ../src/guestfs-actions.pod:863
+#: ../src/guestfs-actions.pod:881 ../src/guestfs-actions.pod:941
+#: ../src/guestfs-actions.pod:957 ../src/guestfs-actions.pod:1060
+#: ../src/guestfs-actions.pod:1190 ../src/guestfs-actions.pod:1207
+#: ../src/guestfs-actions.pod:1226 ../src/guestfs-actions.pod:1360
+#: ../src/guestfs-actions.pod:1551 ../src/guestfs-actions.pod:1663
+#: ../src/guestfs-actions.pod:1826 ../src/guestfs-actions.pod:1843
+#: ../src/guestfs-actions.pod:1910 ../src/guestfs-actions.pod:1944
+#: ../src/guestfs-actions.pod:1965 ../src/guestfs-actions.pod:2135
+#: ../src/guestfs-actions.pod:2327 ../src/guestfs-actions.pod:2534
+#: ../src/guestfs-actions.pod:2627 ../src/guestfs-actions.pod:2738
+#: ../src/guestfs-actions.pod:2758 ../src/guestfs-actions.pod:2878
+#: ../src/guestfs-actions.pod:2909 ../src/guestfs-actions.pod:2933
+#: ../src/guestfs-actions.pod:2970 ../src/guestfs-actions.pod:3030
+#: ../src/guestfs-actions.pod:3053 ../src/guestfs-actions.pod:3074
+#: ../src/guestfs-actions.pod:3646 ../src/guestfs-actions.pod:3996
+#: ../src/guestfs-actions.pod:4166 ../src/guestfs-actions.pod:4276
+#: ../src/guestfs-actions.pod:5021 ../src/guestfs-actions.pod:5214
+#: ../src/guestfs-actions.pod:5384 ../src/guestfs-actions.pod:5562
+#: ../src/guestfs-actions.pod:5611 ../src/guestfs-actions.pod:6223
+#: ../src/guestfs-actions.pod:6239 ../src/guestfs-actions.pod:6256
+#: ../src/guestfs-actions.pod:6280 ../src/guestfs-actions.pod:6954
+#: ../src/guestfs-actions.pod:6973 ../src/guestfs-actions.pod:6991
+#: ../src/guestfs-actions.pod:7171 ../src/guestfs-actions.pod:7443
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:362
+#: ../src/guestfs-actions.pod:368
msgid "guestfs_aug_init"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:364
+#: ../src/guestfs-actions.pod:370
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:369 ../fish/guestfish-actions.pod:232
+#: ../src/guestfs-actions.pod:375 ../fish/guestfish-actions.pod:237
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:373
+#: ../src/guestfs-actions.pod:379
msgid "You must call this before using any other C<guestfs_aug_*> commands."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:376 ../fish/guestfish-actions.pod:239
+#: ../src/guestfs-actions.pod:382 ../fish/guestfish-actions.pod:244
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:379 ../fish/guestfish-actions.pod:242
+#: ../src/guestfs-actions.pod:385 ../fish/guestfish-actions.pod:247
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:385 ../fish/guestfish-actions.pod:248
+#: ../src/guestfs-actions.pod:391 ../fish/guestfish-actions.pod:253
msgid "C<AUG_SAVE_BACKUP> = 1"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:387 ../fish/guestfish-actions.pod:250
+#: ../src/guestfs-actions.pod:393 ../fish/guestfish-actions.pod:255
msgid "Keep the original file with a C<.augsave> extension."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:389 ../fish/guestfish-actions.pod:252
+#: ../src/guestfs-actions.pod:395 ../fish/guestfish-actions.pod:257
msgid "C<AUG_SAVE_NEWFILE> = 2"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:391 ../fish/guestfish-actions.pod:254
+#: ../src/guestfs-actions.pod:397 ../fish/guestfish-actions.pod:259
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:394 ../fish/guestfish-actions.pod:257
+#: ../src/guestfs-actions.pod:400 ../fish/guestfish-actions.pod:262
msgid "C<AUG_TYPE_CHECK> = 4"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:396 ../fish/guestfish-actions.pod:259
+#: ../src/guestfs-actions.pod:402 ../fish/guestfish-actions.pod:264
msgid "Typecheck lenses (can be expensive)."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:398 ../fish/guestfish-actions.pod:261
+#: ../src/guestfs-actions.pod:404 ../fish/guestfish-actions.pod:266
msgid "C<AUG_NO_STDINC> = 8"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:400 ../fish/guestfish-actions.pod:263
+#: ../src/guestfs-actions.pod:406 ../fish/guestfish-actions.pod:268
msgid "Do not use standard load path for modules."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:402 ../fish/guestfish-actions.pod:265
+#: ../src/guestfs-actions.pod:408 ../fish/guestfish-actions.pod:270
msgid "C<AUG_SAVE_NOOP> = 16"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:404 ../fish/guestfish-actions.pod:267
+#: ../src/guestfs-actions.pod:410 ../fish/guestfish-actions.pod:272
msgid "Make save a no-op, just record what would have been changed."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:406 ../fish/guestfish-actions.pod:269
+#: ../src/guestfs-actions.pod:412 ../fish/guestfish-actions.pod:274
msgid "C<AUG_NO_LOAD> = 32"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:408
+#: ../src/guestfs-actions.pod:414
msgid "Do not load the tree in C<guestfs_aug_init>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:412
+#: ../src/guestfs-actions.pod:418
msgid "To close the handle, you can call C<guestfs_aug_close>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:414 ../fish/guestfish-actions.pod:277
+#: ../src/guestfs-actions.pod:420 ../fish/guestfish-actions.pod:282
msgid "To find out more about Augeas, see L<http://augeas.net/>."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:420
+#: ../src/guestfs-actions.pod:426
msgid "guestfs_aug_insert"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:422
+#: ../src/guestfs-actions.pod:428
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:428 ../fish/guestfish-actions.pod:283
+#: ../src/guestfs-actions.pod:434 ../fish/guestfish-actions.pod:288
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:432 ../fish/guestfish-actions.pod:287
+#: ../src/guestfs-actions.pod:438 ../fish/guestfish-actions.pod:292
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:440
+#: ../src/guestfs-actions.pod:446
msgid "guestfs_aug_load"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:442
+#: ../src/guestfs-actions.pod:448
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:445 ../fish/guestfish-actions.pod:295
+#: ../src/guestfs-actions.pod:451 ../fish/guestfish-actions.pod:300
msgid "Load files into the tree."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:447 ../fish/guestfish-actions.pod:297
+#: ../src/guestfs-actions.pod:453 ../fish/guestfish-actions.pod:302
msgid "See C<aug_load> in the Augeas documentation for the full gory details."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:454
+#: ../src/guestfs-actions.pod:460
msgid "guestfs_aug_ls"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:456
+#: ../src/guestfs-actions.pod:462
#, no-wrap
msgid ""
" char **\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:460
+#: ../src/guestfs-actions.pod:466
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:463 ../src/guestfs-actions.pod:479
-#: ../src/guestfs-actions.pod:625 ../src/guestfs-actions.pod:1073
-#: ../src/guestfs-actions.pod:1369 ../src/guestfs-actions.pod:1388
-#: ../src/guestfs-actions.pod:1491 ../src/guestfs-actions.pod:1510
-#: ../src/guestfs-actions.pod:1759 ../src/guestfs-actions.pod:2201
-#: ../src/guestfs-actions.pod:2217 ../src/guestfs-actions.pod:2236
-#: ../src/guestfs-actions.pod:2279 ../src/guestfs-actions.pod:2303
-#: ../src/guestfs-actions.pod:2374 ../src/guestfs-actions.pod:2423
-#: ../src/guestfs-actions.pod:2690 ../src/guestfs-actions.pod:2981
-#: ../src/guestfs-actions.pod:3270 ../src/guestfs-actions.pod:3560
-#: ../src/guestfs-actions.pod:3622 ../src/guestfs-actions.pod:3727
-#: ../src/guestfs-actions.pod:4132 ../src/guestfs-actions.pod:4830
-#: ../src/guestfs-actions.pod:5350 ../src/guestfs-actions.pod:5476
-#: ../src/guestfs-actions.pod:5590 ../src/guestfs-actions.pod:6290
-#: ../src/guestfs-actions.pod:6351 ../src/guestfs-actions.pod:6406
-#: ../src/guestfs-actions.pod:6552 ../src/guestfs-actions.pod:6576
-#: ../src/guestfs-actions.pod:7058 ../src/guestfs-actions.pod:7078
-#: ../src/guestfs-actions.pod:7125 ../src/guestfs-actions.pod:7290
-#: ../src/guestfs-actions.pod:7309 ../src/guestfs-actions.pod:7394
-#: ../src/guestfs-actions.pod:7413 ../src/guestfs-actions.pod:7459
-#: ../src/guestfs-actions.pod:7478
+#: ../src/guestfs-actions.pod:469 ../src/guestfs-actions.pod:485
+#: ../src/guestfs-actions.pod:631 ../src/guestfs-actions.pod:1079
+#: ../src/guestfs-actions.pod:1375 ../src/guestfs-actions.pod:1394
+#: ../src/guestfs-actions.pod:1497 ../src/guestfs-actions.pod:1516
+#: ../src/guestfs-actions.pod:1765 ../src/guestfs-actions.pod:2207
+#: ../src/guestfs-actions.pod:2223 ../src/guestfs-actions.pod:2242
+#: ../src/guestfs-actions.pod:2285 ../src/guestfs-actions.pod:2309
+#: ../src/guestfs-actions.pod:2380 ../src/guestfs-actions.pod:2429
+#: ../src/guestfs-actions.pod:2696 ../src/guestfs-actions.pod:2987
+#: ../src/guestfs-actions.pod:3276 ../src/guestfs-actions.pod:3566
+#: ../src/guestfs-actions.pod:3628 ../src/guestfs-actions.pod:3733
+#: ../src/guestfs-actions.pod:4138 ../src/guestfs-actions.pod:4836
+#: ../src/guestfs-actions.pod:5356 ../src/guestfs-actions.pod:5482
+#: ../src/guestfs-actions.pod:5596 ../src/guestfs-actions.pod:6296
+#: ../src/guestfs-actions.pod:6357 ../src/guestfs-actions.pod:6412
+#: ../src/guestfs-actions.pod:6558 ../src/guestfs-actions.pod:6582
+#: ../src/guestfs-actions.pod:7064 ../src/guestfs-actions.pod:7084
+#: ../src/guestfs-actions.pod:7131 ../src/guestfs-actions.pod:7296
+#: ../src/guestfs-actions.pod:7315 ../src/guestfs-actions.pod:7400
+#: ../src/guestfs-actions.pod:7419 ../src/guestfs-actions.pod:7465
+#: ../src/guestfs-actions.pod:7484
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:467 ../src/guestfs-actions.pod:998
-#: ../src/guestfs-actions.pod:1016 ../src/guestfs-actions.pod:1426
-#: ../src/guestfs-actions.pod:3348 ../src/guestfs-actions.pod:3379
-#: ../src/guestfs-actions.pod:3973 ../src/guestfs-actions.pod:4023
-#: ../src/guestfs-actions.pod:4210 ../src/guestfs-actions.pod:4243
-#: ../src/guestfs-actions.pod:4406 ../src/guestfs-actions.pod:4834
-#: ../src/guestfs-actions.pod:5291 ../src/guestfs-actions.pod:5686
-#: ../src/guestfs-actions.pod:5700 ../src/guestfs-actions.pod:5712
-#: ../src/guestfs-actions.pod:6152 ../src/guestfs-actions.pod:6790
-#: ../src/guestfs-actions.pod:6803 ../src/guestfs-actions.pod:7042
-#: ../src/guestfs-actions.pod:7278
+#: ../src/guestfs-actions.pod:473 ../src/guestfs-actions.pod:1004
+#: ../src/guestfs-actions.pod:1022 ../src/guestfs-actions.pod:1432
+#: ../src/guestfs-actions.pod:3354 ../src/guestfs-actions.pod:3385
+#: ../src/guestfs-actions.pod:3979 ../src/guestfs-actions.pod:4029
+#: ../src/guestfs-actions.pod:4216 ../src/guestfs-actions.pod:4249
+#: ../src/guestfs-actions.pod:4412 ../src/guestfs-actions.pod:4840
+#: ../src/guestfs-actions.pod:5297 ../src/guestfs-actions.pod:5692
+#: ../src/guestfs-actions.pod:5706 ../src/guestfs-actions.pod:5718
+#: ../src/guestfs-actions.pod:6158 ../src/guestfs-actions.pod:6796
+#: ../src/guestfs-actions.pod:6809 ../src/guestfs-actions.pod:7048
+#: ../src/guestfs-actions.pod:7284
msgid "(Added in 0.8)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:469
+#: ../src/guestfs-actions.pod:475
msgid "guestfs_aug_match"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:471
+#: ../src/guestfs-actions.pod:477
#, no-wrap
msgid ""
" char **\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:475 ../fish/guestfish-actions.pod:311
+#: ../src/guestfs-actions.pod:481 ../fish/guestfish-actions.pod:316
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:485
+#: ../src/guestfs-actions.pod:491
msgid "guestfs_aug_mv"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:487
+#: ../src/guestfs-actions.pod:493
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:492 ../fish/guestfish-actions.pod:319
+#: ../src/guestfs-actions.pod:498 ../fish/guestfish-actions.pod:324
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:499
+#: ../src/guestfs-actions.pod:505
msgid "guestfs_aug_rm"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:501
+#: ../src/guestfs-actions.pod:507
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:505 ../fish/guestfish-actions.pod:326
+#: ../src/guestfs-actions.pod:511 ../fish/guestfish-actions.pod:331
msgid "Remove C<path> and all of its children."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:507 ../fish/guestfish-actions.pod:328
+#: ../src/guestfs-actions.pod:513 ../fish/guestfish-actions.pod:333
msgid "On success this returns the number of entries which were removed."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:513
+#: ../src/guestfs-actions.pod:519
msgid "guestfs_aug_save"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:515
+#: ../src/guestfs-actions.pod:521
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:518 ../fish/guestfish-actions.pod:334
+#: ../src/guestfs-actions.pod:524 ../fish/guestfish-actions.pod:339
msgid "This writes all pending changes to disk."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:520
+#: ../src/guestfs-actions.pod:526
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:527
+#: ../src/guestfs-actions.pod:533
msgid "guestfs_aug_set"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:529
+#: ../src/guestfs-actions.pod:535
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:534 ../fish/guestfish-actions.pod:343
+#: ../src/guestfs-actions.pod:540 ../fish/guestfish-actions.pod:348
msgid "Set the value associated with C<path> to C<val>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:536
+#: ../src/guestfs-actions.pod:542
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:545
+#: ../src/guestfs-actions.pod:551
msgid "guestfs_available"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:547
+#: ../src/guestfs-actions.pod:553
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:551 ../fish/guestfish-actions.pod:354
+#: ../src/guestfs-actions.pod:557 ../fish/guestfish-actions.pod:359
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:555
+#: ../src/guestfs-actions.pod:561
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:560 ../fish/guestfish-actions.pod:363
+#: ../src/guestfs-actions.pod:566 ../fish/guestfish-actions.pod:368
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:565 ../fish/guestfish-actions.pod:368
+#: ../src/guestfs-actions.pod:571 ../fish/guestfish-actions.pod:373
msgid "The command returns no error if I<all> requested groups are available."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:567 ../fish/guestfish-actions.pod:370
+#: ../src/guestfs-actions.pod:573 ../fish/guestfish-actions.pod:375
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:570 ../fish/guestfish-actions.pod:373
+#: ../src/guestfs-actions.pod:576 ../fish/guestfish-actions.pod:378
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:573 ../fish/guestfish-actions.pod:376
+#: ../src/guestfs-actions.pod:579 ../fish/guestfish-actions.pod:381
msgid "I<Notes:>"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:579
+#: ../src/guestfs-actions.pod:585
msgid "You must call C<guestfs_launch> before calling this function."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:581 ../fish/guestfish-actions.pod:384
+#: ../src/guestfs-actions.pod:587 ../fish/guestfish-actions.pod:389
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:587 ../fish/guestfish-actions.pod:390
+#: ../src/guestfs-actions.pod:593 ../fish/guestfish-actions.pod:395
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:594 ../fish/guestfish-actions.pod:397
+#: ../src/guestfs-actions.pod:600 ../fish/guestfish-actions.pod:402
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:601
+#: ../src/guestfs-actions.pod:607
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:610 ../src/guestfs-actions.pod:1171
+#: ../src/guestfs-actions.pod:616 ../src/guestfs-actions.pod:1177
msgid "(Added in 1.0.80)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:612
+#: ../src/guestfs-actions.pod:618
msgid "guestfs_available_all_groups"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:614
+#: ../src/guestfs-actions.pod:620
#, no-wrap
msgid ""
" char **\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:617
+#: ../src/guestfs-actions.pod:623
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:623
+#: ../src/guestfs-actions.pod:629
msgid "See also C<guestfs_available> and L<guestfs(3)/AVAILABILITY>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:629
+#: ../src/guestfs-actions.pod:635
msgid "(Added in 1.3.15)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:631
+#: ../src/guestfs-actions.pod:637
msgid "guestfs_base64_in"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:633
+#: ../src/guestfs-actions.pod:639
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:638 ../fish/guestfish-actions.pod:427
+#: ../src/guestfs-actions.pod:644 ../fish/guestfish-actions.pod:432
msgid ""
"This command uploads base64-encoded data from C<base64file> to C<filename>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:643 ../src/guestfs-actions.pod:657
+#: ../src/guestfs-actions.pod:649 ../src/guestfs-actions.pod:663
msgid "(Added in 1.3.5)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:645
+#: ../src/guestfs-actions.pod:651
msgid "guestfs_base64_out"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:647
+#: ../src/guestfs-actions.pod:653
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:652 ../fish/guestfish-actions.pod:436
+#: ../src/guestfs-actions.pod:658 ../fish/guestfish-actions.pod:441
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:659
+#: ../src/guestfs-actions.pod:665
msgid "guestfs_blockdev_flushbufs"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:661
+#: ../src/guestfs-actions.pod:667
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:665 ../fish/guestfish-actions.pod:445
+#: ../src/guestfs-actions.pod:671 ../fish/guestfish-actions.pod:450
msgid ""
"This tells the kernel to flush internal buffers associated with C<device>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../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
+#: ../src/guestfs-actions.pod:674 ../src/guestfs-actions.pod:691
+#: ../src/guestfs-actions.pod:706 ../src/guestfs-actions.pod:722
+#: ../src/guestfs-actions.pod:740 ../src/guestfs-actions.pod:759
+#: ../src/guestfs-actions.pod:773 ../src/guestfs-actions.pod:791
+#: ../src/guestfs-actions.pod:805 ../src/guestfs-actions.pod:819
+#: ../fish/guestfish-actions.pod:453 ../fish/guestfish-actions.pod:464
+#: ../fish/guestfish-actions.pod:473 ../fish/guestfish-actions.pod:483
+#: ../fish/guestfish-actions.pod:495 ../fish/guestfish-actions.pod:508
+#: ../fish/guestfish-actions.pod:516 ../fish/guestfish-actions.pod:527
+#: ../fish/guestfish-actions.pod:535 ../fish/guestfish-actions.pod:543
msgid "This uses the L<blockdev(8)> command."
msgstr ""
# type: textblock
#. type: textblock
-#: ../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
+#: ../src/guestfs-actions.pod:678 ../src/guestfs-actions.pod:695
+#: ../src/guestfs-actions.pod:710 ../src/guestfs-actions.pod:726
+#: ../src/guestfs-actions.pod:744 ../src/guestfs-actions.pod:763
+#: ../src/guestfs-actions.pod:777 ../src/guestfs-actions.pod:795
+#: ../src/guestfs-actions.pod:809 ../src/guestfs-actions.pod:823
msgid "(Added in 0.9.3)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:674
+#: ../src/guestfs-actions.pod:680
msgid "guestfs_blockdev_getbsz"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:676
+#: ../src/guestfs-actions.pod:682
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:680 ../fish/guestfish-actions.pod:454
+#: ../src/guestfs-actions.pod:686 ../fish/guestfish-actions.pod:459
msgid "This returns the block size of a device."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:682 ../src/guestfs-actions.pod:782
-#: ../fish/guestfish-actions.pod:456 ../fish/guestfish-actions.pod:519
+#: ../src/guestfs-actions.pod:688 ../src/guestfs-actions.pod:788
+#: ../fish/guestfish-actions.pod:461 ../fish/guestfish-actions.pod:524
msgid ""
"(Note this is different from both I<size in blocks> and I<filesystem block "
"size>)."
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:691
+#: ../src/guestfs-actions.pod:697
msgid "guestfs_blockdev_getro"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:693
+#: ../src/guestfs-actions.pod:699
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:697 ../fish/guestfish-actions.pod:465
+#: ../src/guestfs-actions.pod:703 ../fish/guestfish-actions.pod:470
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:702 ../src/guestfs-actions.pod:1409
-#: ../src/guestfs-actions.pod:1424 ../src/guestfs-actions.pod:1914
-#: ../src/guestfs-actions.pod:1925 ../src/guestfs-actions.pod:1997
-#: ../src/guestfs-actions.pod:2052 ../src/guestfs-actions.pod:2067
-#: ../src/guestfs-actions.pod:2092 ../src/guestfs-actions.pod:2115
-#: ../src/guestfs-actions.pod:3088 ../src/guestfs-actions.pod:3105
-#: ../src/guestfs-actions.pod:3124 ../src/guestfs-actions.pod:3287
-#: ../src/guestfs-actions.pod:3301 ../src/guestfs-actions.pod:3316
-#: ../src/guestfs-actions.pod:3330 ../src/guestfs-actions.pod:3346
-#: ../src/guestfs-actions.pod:3361 ../src/guestfs-actions.pod:3377
-#: ../src/guestfs-actions.pod:3391 ../src/guestfs-actions.pod:3404
-#: ../src/guestfs-actions.pod:3418 ../src/guestfs-actions.pod:3433
-#: ../src/guestfs-actions.pod:3448 ../src/guestfs-actions.pod:4979
+#: ../src/guestfs-actions.pod:708 ../src/guestfs-actions.pod:1415
+#: ../src/guestfs-actions.pod:1430 ../src/guestfs-actions.pod:1920
+#: ../src/guestfs-actions.pod:1931 ../src/guestfs-actions.pod:2003
+#: ../src/guestfs-actions.pod:2058 ../src/guestfs-actions.pod:2073
+#: ../src/guestfs-actions.pod:2098 ../src/guestfs-actions.pod:2121
+#: ../src/guestfs-actions.pod:3094 ../src/guestfs-actions.pod:3111
+#: ../src/guestfs-actions.pod:3130 ../src/guestfs-actions.pod:3293
+#: ../src/guestfs-actions.pod:3307 ../src/guestfs-actions.pod:3322
+#: ../src/guestfs-actions.pod:3336 ../src/guestfs-actions.pod:3352
+#: ../src/guestfs-actions.pod:3367 ../src/guestfs-actions.pod:3383
+#: ../src/guestfs-actions.pod:3397 ../src/guestfs-actions.pod:3410
+#: ../src/guestfs-actions.pod:3424 ../src/guestfs-actions.pod:3439
+#: ../src/guestfs-actions.pod:3454 ../src/guestfs-actions.pod:4985
msgid "This function returns a C truth value on success or -1 on error."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:706
+#: ../src/guestfs-actions.pod:712
msgid "guestfs_blockdev_getsize64"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:708
+#: ../src/guestfs-actions.pod:714
#, no-wrap
msgid ""
" int64_t\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:712 ../fish/guestfish-actions.pod:474
+#: ../src/guestfs-actions.pod:718 ../fish/guestfish-actions.pod:479
msgid "This returns the size of the device in bytes."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:714
+#: ../src/guestfs-actions.pod:720
msgid "See also C<guestfs_blockdev_getsz>."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:722
+#: ../src/guestfs-actions.pod:728
msgid "guestfs_blockdev_getss"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:724
+#: ../src/guestfs-actions.pod:730
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:728 ../fish/guestfish-actions.pod:484
+#: ../src/guestfs-actions.pod:734 ../fish/guestfish-actions.pod:489
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:731
+#: ../src/guestfs-actions.pod:737
msgid ""
"(Note, this is not the size in sectors, use C<guestfs_blockdev_getsz> for "
"that)."
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:740
+#: ../src/guestfs-actions.pod:746
msgid "guestfs_blockdev_getsz"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:742
+#: ../src/guestfs-actions.pod:748
#, no-wrap
msgid ""
" int64_t\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:746 ../fish/guestfish-actions.pod:496
+#: ../src/guestfs-actions.pod:752 ../fish/guestfish-actions.pod:501
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:749
+#: ../src/guestfs-actions.pod:755
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:759
+#: ../src/guestfs-actions.pod:765
msgid "guestfs_blockdev_rereadpt"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:761
+#: ../src/guestfs-actions.pod:767
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:765 ../fish/guestfish-actions.pod:509
+#: ../src/guestfs-actions.pod:771 ../fish/guestfish-actions.pod:514
msgid "Reread the partition table on C<device>."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:773
+#: ../src/guestfs-actions.pod:779
msgid "guestfs_blockdev_setbsz"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:775
+#: ../src/guestfs-actions.pod:781
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:780 ../fish/guestfish-actions.pod:517
+#: ../src/guestfs-actions.pod:786 ../fish/guestfish-actions.pod:522
msgid "This sets the block size of a device."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:791
+#: ../src/guestfs-actions.pod:797
msgid "guestfs_blockdev_setro"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:793
+#: ../src/guestfs-actions.pod:799
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:797 ../fish/guestfish-actions.pod:528
+#: ../src/guestfs-actions.pod:803 ../fish/guestfish-actions.pod:533
msgid "Sets the block device named C<device> to read-only."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:805
+#: ../src/guestfs-actions.pod:811
msgid "guestfs_blockdev_setrw"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:807
+#: ../src/guestfs-actions.pod:813
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:811 ../fish/guestfish-actions.pod:536
+#: ../src/guestfs-actions.pod:817 ../fish/guestfish-actions.pod:541
msgid "Sets the block device named C<device> to read-write."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:819
+#: ../src/guestfs-actions.pod:825
msgid "guestfs_case_sensitive_path"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:821
+#: ../src/guestfs-actions.pod:827
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:825 ../fish/guestfish-actions.pod:544
+#: ../src/guestfs-actions.pod:831 ../fish/guestfish-actions.pod:549
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:830 ../fish/guestfish-actions.pod:549
+#: ../src/guestfs-actions.pod:836 ../fish/guestfish-actions.pod:554
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:835 ../fish/guestfish-actions.pod:554
+#: ../src/guestfs-actions.pod:841 ../fish/guestfish-actions.pod:559
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:841 ../fish/guestfish-actions.pod:560
+#: ../src/guestfs-actions.pod:847 ../fish/guestfish-actions.pod:565
msgid ""
"Bug or feature? You decide: L<http://www.tuxera.com/community/ntfs-3g-faq/"
"#posixfilenames1>"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:844 ../fish/guestfish-actions.pod:563
+#: ../src/guestfs-actions.pod:850 ../fish/guestfish-actions.pod:568
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:847
+#: ../src/guestfs-actions.pod:853
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:852 ../fish/guestfish-actions.pod:571
+#: ../src/guestfs-actions.pod:858 ../fish/guestfish-actions.pod:576
msgid "I<Note>: This function does not handle drive names, backslashes etc."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:855
+#: ../src/guestfs-actions.pod:861
msgid "See also C<guestfs_realpath>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:860 ../src/guestfs-actions.pod:6970
+#: ../src/guestfs-actions.pod:866 ../src/guestfs-actions.pod:6976
msgid "(Added in 1.0.75)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:862
+#: ../src/guestfs-actions.pod:868
msgid "guestfs_cat"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:864
+#: ../src/guestfs-actions.pod:870
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:868 ../src/guestfs-actions.pod:5466
-#: ../fish/guestfish-actions.pod:580 ../fish/guestfish-actions.pod:3667
+#: ../src/guestfs-actions.pod:874 ../src/guestfs-actions.pod:5472
+#: ../fish/guestfish-actions.pod:585 ../fish/guestfish-actions.pod:3672
msgid "Return the contents of the file named C<path>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:870
+#: ../src/guestfs-actions.pod:876
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:878 ../src/guestfs-actions.pod:1057
-#: ../src/guestfs-actions.pod:1077 ../src/guestfs-actions.pod:1373
-#: ../src/guestfs-actions.pod:1392 ../src/guestfs-actions.pod:1495
-#: ../src/guestfs-actions.pod:1514 ../src/guestfs-actions.pod:1763
-#: ../src/guestfs-actions.pod:2221 ../src/guestfs-actions.pod:2240
-#: ../src/guestfs-actions.pod:2283 ../src/guestfs-actions.pod:2307
-#: ../src/guestfs-actions.pod:2324 ../src/guestfs-actions.pod:2353
-#: ../src/guestfs-actions.pod:5248 ../src/guestfs-actions.pod:5274
-#: ../src/guestfs-actions.pod:5405 ../src/guestfs-actions.pod:5431
-#: ../src/guestfs-actions.pod:5455 ../src/guestfs-actions.pod:6355
-#: ../src/guestfs-actions.pod:6410 ../src/guestfs-actions.pod:6556
-#: ../src/guestfs-actions.pod:6580 ../src/guestfs-actions.pod:7242
-#: ../src/guestfs-actions.pod:7268 ../src/guestfs-actions.pod:7294
-#: ../src/guestfs-actions.pod:7313 ../src/guestfs-actions.pod:7398
-#: ../src/guestfs-actions.pod:7417 ../src/guestfs-actions.pod:7463
-#: ../src/guestfs-actions.pod:7482 ../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:3537
-#: ../fish/guestfish-actions.pod:3552 ../fish/guestfish-actions.pod:3628
-#: ../fish/guestfish-actions.pod:3645 ../fish/guestfish-actions.pod:3660
-#: ../fish/guestfish-actions.pod:4286 ../fish/guestfish-actions.pod:4332
-#: ../fish/guestfish-actions.pod:4417 ../fish/guestfish-actions.pod:4432
-#: ../fish/guestfish-actions.pod:4842 ../fish/guestfish-actions.pod:4860
-#: ../fish/guestfish-actions.pod:4877 ../fish/guestfish-actions.pod:4887
-#: ../fish/guestfish-actions.pod:4935 ../fish/guestfish-actions.pod:4945
-#: ../fish/guestfish-actions.pod:4974 ../fish/guestfish-actions.pod:4984
+#: ../src/guestfs-actions.pod:884 ../src/guestfs-actions.pod:1063
+#: ../src/guestfs-actions.pod:1083 ../src/guestfs-actions.pod:1379
+#: ../src/guestfs-actions.pod:1398 ../src/guestfs-actions.pod:1501
+#: ../src/guestfs-actions.pod:1520 ../src/guestfs-actions.pod:1769
+#: ../src/guestfs-actions.pod:2227 ../src/guestfs-actions.pod:2246
+#: ../src/guestfs-actions.pod:2289 ../src/guestfs-actions.pod:2313
+#: ../src/guestfs-actions.pod:2330 ../src/guestfs-actions.pod:2359
+#: ../src/guestfs-actions.pod:5254 ../src/guestfs-actions.pod:5280
+#: ../src/guestfs-actions.pod:5411 ../src/guestfs-actions.pod:5437
+#: ../src/guestfs-actions.pod:5461 ../src/guestfs-actions.pod:6361
+#: ../src/guestfs-actions.pod:6416 ../src/guestfs-actions.pod:6562
+#: ../src/guestfs-actions.pod:6586 ../src/guestfs-actions.pod:7248
+#: ../src/guestfs-actions.pod:7274 ../src/guestfs-actions.pod:7300
+#: ../src/guestfs-actions.pod:7319 ../src/guestfs-actions.pod:7404
+#: ../src/guestfs-actions.pod:7423 ../src/guestfs-actions.pod:7469
+#: ../src/guestfs-actions.pod:7488 ../fish/guestfish-actions.pod:592
+#: ../fish/guestfish-actions.pod:727 ../fish/guestfish-actions.pod:739
+#: ../fish/guestfish-actions.pod:915 ../fish/guestfish-actions.pod:925
+#: ../fish/guestfish-actions.pod:992 ../fish/guestfish-actions.pod:1002
+#: ../fish/guestfish-actions.pod:1197 ../fish/guestfish-actions.pod:1498
+#: ../fish/guestfish-actions.pod:1508 ../fish/guestfish-actions.pod:1536
+#: ../fish/guestfish-actions.pod:1551 ../fish/guestfish-actions.pod:1561
+#: ../fish/guestfish-actions.pod:1580 ../fish/guestfish-actions.pod:3542
+#: ../fish/guestfish-actions.pod:3557 ../fish/guestfish-actions.pod:3633
+#: ../fish/guestfish-actions.pod:3650 ../fish/guestfish-actions.pod:3665
+#: ../fish/guestfish-actions.pod:4291 ../fish/guestfish-actions.pod:4337
+#: ../fish/guestfish-actions.pod:4422 ../fish/guestfish-actions.pod:4437
+#: ../fish/guestfish-actions.pod:4847 ../fish/guestfish-actions.pod:4865
+#: ../fish/guestfish-actions.pod:4882 ../fish/guestfish-actions.pod:4892
+#: ../fish/guestfish-actions.pod:4940 ../fish/guestfish-actions.pod:4950
+#: ../fish/guestfish-actions.pod:4979 ../fish/guestfish-actions.pod:4989
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:881 ../src/guestfs-actions.pod:3564
-#: ../src/guestfs-actions.pod:3626 ../src/guestfs-actions.pod:3643
-#: ../src/guestfs-actions.pod:3731 ../src/guestfs-actions.pod:4136
-#: ../src/guestfs-actions.pod:4150 ../src/guestfs-actions.pod:5354
-#: ../src/guestfs-actions.pod:5368 ../src/guestfs-actions.pod:7129
-#: ../src/guestfs-actions.pod:7143
+#: ../src/guestfs-actions.pod:887 ../src/guestfs-actions.pod:3570
+#: ../src/guestfs-actions.pod:3632 ../src/guestfs-actions.pod:3649
+#: ../src/guestfs-actions.pod:3737 ../src/guestfs-actions.pod:4142
+#: ../src/guestfs-actions.pod:4156 ../src/guestfs-actions.pod:5360
+#: ../src/guestfs-actions.pod:5374 ../src/guestfs-actions.pod:7135
+#: ../src/guestfs-actions.pod:7149
msgid "(Added in 0.4)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:883
+#: ../src/guestfs-actions.pod:889
msgid "guestfs_checksum"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:885
+#: ../src/guestfs-actions.pod:891
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:890 ../fish/guestfish-actions.pod:594
+#: ../src/guestfs-actions.pod:896 ../fish/guestfish-actions.pod:599
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:893 ../fish/guestfish-actions.pod:597
+#: ../src/guestfs-actions.pod:899 ../fish/guestfish-actions.pod:602
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:898 ../fish/guestfish-actions.pod:602
+#: ../src/guestfs-actions.pod:904 ../fish/guestfish-actions.pod:607
msgid "C<crc>"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:900 ../fish/guestfish-actions.pod:604
+#: ../src/guestfs-actions.pod:906 ../fish/guestfish-actions.pod:609
msgid ""
"Compute the cyclic redundancy check (CRC) specified by POSIX for the "
"C<cksum> command."
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:903 ../fish/guestfish-actions.pod:607
+#: ../src/guestfs-actions.pod:909 ../fish/guestfish-actions.pod:612
msgid "C<md5>"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:905 ../fish/guestfish-actions.pod:609
+#: ../src/guestfs-actions.pod:911 ../fish/guestfish-actions.pod:614
msgid "Compute the MD5 hash (using the C<md5sum> program)."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:907 ../fish/guestfish-actions.pod:611
+#: ../src/guestfs-actions.pod:913 ../fish/guestfish-actions.pod:616
msgid "C<sha1>"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:909 ../fish/guestfish-actions.pod:613
+#: ../src/guestfs-actions.pod:915 ../fish/guestfish-actions.pod:618
msgid "Compute the SHA1 hash (using the C<sha1sum> program)."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:911 ../fish/guestfish-actions.pod:615
+#: ../src/guestfs-actions.pod:917 ../fish/guestfish-actions.pod:620
msgid "C<sha224>"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:913 ../fish/guestfish-actions.pod:617
+#: ../src/guestfs-actions.pod:919 ../fish/guestfish-actions.pod:622
msgid "Compute the SHA224 hash (using the C<sha224sum> program)."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:915 ../fish/guestfish-actions.pod:619
+#: ../src/guestfs-actions.pod:921 ../fish/guestfish-actions.pod:624
msgid "C<sha256>"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:917 ../fish/guestfish-actions.pod:621
+#: ../src/guestfs-actions.pod:923 ../fish/guestfish-actions.pod:626
msgid "Compute the SHA256 hash (using the C<sha256sum> program)."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:919 ../fish/guestfish-actions.pod:623
+#: ../src/guestfs-actions.pod:925 ../fish/guestfish-actions.pod:628
msgid "C<sha384>"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:921 ../fish/guestfish-actions.pod:625
+#: ../src/guestfs-actions.pod:927 ../fish/guestfish-actions.pod:630
msgid "Compute the SHA384 hash (using the C<sha384sum> program)."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:923 ../fish/guestfish-actions.pod:627
+#: ../src/guestfs-actions.pod:929 ../fish/guestfish-actions.pod:632
msgid "C<sha512>"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:925 ../fish/guestfish-actions.pod:629
+#: ../src/guestfs-actions.pod:931 ../fish/guestfish-actions.pod:634
msgid "Compute the SHA512 hash (using the C<sha512sum> program)."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:929 ../fish/guestfish-actions.pod:633
+#: ../src/guestfs-actions.pod:935 ../fish/guestfish-actions.pod:638
msgid "The checksum is returned as a printable string."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:931
+#: ../src/guestfs-actions.pod:937
msgid "To get the checksum for a device, use C<guestfs_checksum_device>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:933
+#: ../src/guestfs-actions.pod:939
msgid "To get the checksums for many files, use C<guestfs_checksums_out>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:938 ../src/guestfs-actions.pod:1246
-#: ../src/guestfs-actions.pod:2083 ../src/guestfs-actions.pod:3303
-#: ../src/guestfs-actions.pod:3332 ../src/guestfs-actions.pod:3393
-#: ../src/guestfs-actions.pod:3420 ../src/guestfs-actions.pod:6826
+#: ../src/guestfs-actions.pod:944 ../src/guestfs-actions.pod:1252
+#: ../src/guestfs-actions.pod:2089 ../src/guestfs-actions.pod:3309
+#: ../src/guestfs-actions.pod:3338 ../src/guestfs-actions.pod:3399
+#: ../src/guestfs-actions.pod:3426 ../src/guestfs-actions.pod:6832
msgid "(Added in 1.0.2)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:940
+#: ../src/guestfs-actions.pod:946
msgid "guestfs_checksum_device"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:942
+#: ../src/guestfs-actions.pod:948
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:947
+#: ../src/guestfs-actions.pod:953
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:954 ../src/guestfs-actions.pod:4885
-#: ../src/guestfs-actions.pod:4944 ../src/guestfs-actions.pod:4981
-#: ../src/guestfs-actions.pod:4999 ../src/guestfs-actions.pod:5175
-#: ../src/guestfs-actions.pod:6735 ../src/guestfs-actions.pod:6749
-#: ../src/guestfs-actions.pod:7155
+#: ../src/guestfs-actions.pod:960 ../src/guestfs-actions.pod:4891
+#: ../src/guestfs-actions.pod:4950 ../src/guestfs-actions.pod:4987
+#: ../src/guestfs-actions.pod:5005 ../src/guestfs-actions.pod:5181
+#: ../src/guestfs-actions.pod:6741 ../src/guestfs-actions.pod:6755
+#: ../src/guestfs-actions.pod:7161
msgid "(Added in 1.3.2)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:956
+#: ../src/guestfs-actions.pod:962
msgid "guestfs_checksums_out"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:958
+#: ../src/guestfs-actions.pod:964
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:964 ../fish/guestfish-actions.pod:651
+#: ../src/guestfs-actions.pod:970 ../fish/guestfish-actions.pod:656
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:968 ../fish/guestfish-actions.pod:655
+#: ../src/guestfs-actions.pod:974 ../fish/guestfish-actions.pod:660
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:978
+#: ../src/guestfs-actions.pod:984
msgid "(Added in 1.3.7)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:980
+#: ../src/guestfs-actions.pod:986
msgid "guestfs_chmod"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:982
+#: ../src/guestfs-actions.pod:988
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:987 ../fish/guestfish-actions.pod:669
+#: ../src/guestfs-actions.pod:993 ../fish/guestfish-actions.pod:674
msgid ""
"Change the mode (permissions) of C<path> to C<mode>. Only numeric modes are "
"supported."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:990 ../fish/guestfish-actions.pod:672
+#: ../src/guestfs-actions.pod:996 ../fish/guestfish-actions.pod:677
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:994 ../src/guestfs-actions.pod:4387
-#: ../src/guestfs-actions.pod:4584 ../src/guestfs-actions.pod:4603
-#: ../src/guestfs-actions.pod:4622 ../fish/guestfish-actions.pod:676
-#: ../fish/guestfish-actions.pod:2983 ../fish/guestfish-actions.pod:3112
-#: ../fish/guestfish-actions.pod:3122 ../fish/guestfish-actions.pod:3132
+#: ../src/guestfs-actions.pod:1000 ../src/guestfs-actions.pod:4393
+#: ../src/guestfs-actions.pod:4590 ../src/guestfs-actions.pod:4609
+#: ../src/guestfs-actions.pod:4628 ../fish/guestfish-actions.pod:681
+#: ../fish/guestfish-actions.pod:2988 ../fish/guestfish-actions.pod:3117
+#: ../fish/guestfish-actions.pod:3127 ../fish/guestfish-actions.pod:3137
msgid "The mode actually set is affected by the umask."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1000
+#: ../src/guestfs-actions.pod:1006
msgid "guestfs_chown"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1002
+#: ../src/guestfs-actions.pod:1008
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1008 ../fish/guestfish-actions.pod:682
+#: ../src/guestfs-actions.pod:1014 ../fish/guestfish-actions.pod:687
msgid "Change the file owner to C<owner> and group to C<group>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1010 ../src/guestfs-actions.pod:3495
-#: ../fish/guestfish-actions.pod:684 ../fish/guestfish-actions.pod:2441
+#: ../src/guestfs-actions.pod:1016 ../src/guestfs-actions.pod:3501
+#: ../fish/guestfish-actions.pod:689 ../fish/guestfish-actions.pod:2446
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:1018
+#: ../src/guestfs-actions.pod:1024
msgid "guestfs_command"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1020
+#: ../src/guestfs-actions.pod:1026
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1024 ../fish/guestfish-actions.pod:692
+#: ../src/guestfs-actions.pod:1030 ../fish/guestfish-actions.pod:697
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:1029
+#: ../src/guestfs-actions.pod:1035
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:1036 ../fish/guestfish-actions.pod:704
+#: ../src/guestfs-actions.pod:1042 ../fish/guestfish-actions.pod:709
msgid "The return value is anything printed to I<stdout> by the command."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1039 ../fish/guestfish-actions.pod:707
+#: ../src/guestfs-actions.pod:1045 ../fish/guestfish-actions.pod:712
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:1043 ../fish/guestfish-actions.pod:711
+#: ../src/guestfs-actions.pod:1049 ../fish/guestfish-actions.pod:716
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:1048 ../fish/guestfish-actions.pod:716
+#: ../src/guestfs-actions.pod:1054 ../fish/guestfish-actions.pod:721
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:1060 ../src/guestfs-actions.pod:1080
-#: ../src/guestfs-actions.pod:1548
+#: ../src/guestfs-actions.pod:1066 ../src/guestfs-actions.pod:1086
+#: ../src/guestfs-actions.pod:1554
msgid "(Added in 0.9.1)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1062
+#: ../src/guestfs-actions.pod:1068
msgid "guestfs_command_lines"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1064
+#: ../src/guestfs-actions.pod:1070
#, no-wrap
msgid ""
" char **\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1068
+#: ../src/guestfs-actions.pod:1074
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:1071
+#: ../src/guestfs-actions.pod:1077
msgid "See also: C<guestfs_sh_lines>"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1082
+#: ../src/guestfs-actions.pod:1088
msgid "guestfs_config"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1084
+#: ../src/guestfs-actions.pod:1090
#, no-wrap
msgid ""
" int\n"
"\n"
msgstr ""
-# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1089 ../fish/guestfish-actions.pod:741
+#: ../src/guestfs-actions.pod:1095 ../fish/guestfish-actions.pod:746
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 "
+"I<-param value>. Actually it's not quite arbitrary - we prevent you from "
"setting some parameters which would interfere with parameters that we use."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1094 ../fish/guestfish-actions.pod:746
+#: ../src/guestfs-actions.pod:1100 ../fish/guestfish-actions.pod:751
msgid "The first character of C<param> string must be a C<-> (dash)."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1096 ../fish/guestfish-actions.pod:748
+#: ../src/guestfs-actions.pod:1102 ../fish/guestfish-actions.pod:753
msgid "C<value> can be NULL."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1102
+#: ../src/guestfs-actions.pod:1108
msgid "guestfs_copy_size"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1104
+#: ../src/guestfs-actions.pod:1110
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1110 ../fish/guestfish-actions.pod:754
+#: ../src/guestfs-actions.pod:1116 ../fish/guestfish-actions.pod:759
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:1113 ../fish/guestfish-actions.pod:757
+#: ../src/guestfs-actions.pod:1119 ../fish/guestfish-actions.pod:762
msgid ""
"Note this will fail if the source is too short or if the destination is not "
"large enough."
msgstr ""
#. type: textblock
-#: ../src/guestfs-actions.pod:1118 ../src/guestfs-actions.pod:1241
-#: ../src/guestfs-actions.pod:1272 ../src/guestfs-actions.pod:1317
-#: ../src/guestfs-actions.pod:1697 ../src/guestfs-actions.pod:1719
-#: ../src/guestfs-actions.pod:3476 ../src/guestfs-actions.pod:6821
-#: ../src/guestfs-actions.pod:6855 ../src/guestfs-actions.pod:7334
-#: ../src/guestfs-actions.pod:7353
+#: ../src/guestfs-actions.pod:1124 ../src/guestfs-actions.pod:1247
+#: ../src/guestfs-actions.pod:1278 ../src/guestfs-actions.pod:1323
+#: ../src/guestfs-actions.pod:1703 ../src/guestfs-actions.pod:1725
+#: ../src/guestfs-actions.pod:3482 ../src/guestfs-actions.pod:6827
+#: ../src/guestfs-actions.pod:6861 ../src/guestfs-actions.pod:7340
+#: ../src/guestfs-actions.pod:7359
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:1123 ../src/guestfs-actions.pod:4163
-#: ../src/guestfs-actions.pod:5381 ../src/guestfs-actions.pod:7062
-#: ../src/guestfs-actions.pod:7082 ../src/guestfs-actions.pod:7168
+#: ../src/guestfs-actions.pod:1129 ../src/guestfs-actions.pod:4169
+#: ../src/guestfs-actions.pod:5387 ../src/guestfs-actions.pod:7068
+#: ../src/guestfs-actions.pod:7088 ../src/guestfs-actions.pod:7174
msgid "(Added in 1.0.87)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1125
+#: ../src/guestfs-actions.pod:1131
msgid "guestfs_cp"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1127
+#: ../src/guestfs-actions.pod:1133
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1132 ../fish/guestfish-actions.pod:764
+#: ../src/guestfs-actions.pod:1138 ../fish/guestfish-actions.pod:769
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:1137 ../src/guestfs-actions.pod:1151
-#: ../src/guestfs-actions.pod:1223 ../src/guestfs-actions.pod:1297
-#: ../src/guestfs-actions.pod:1411 ../src/guestfs-actions.pod:4848
-#: ../src/guestfs-actions.pod:5225
+#: ../src/guestfs-actions.pod:1143 ../src/guestfs-actions.pod:1157
+#: ../src/guestfs-actions.pod:1229 ../src/guestfs-actions.pod:1303
+#: ../src/guestfs-actions.pod:1417 ../src/guestfs-actions.pod:4854
+#: ../src/guestfs-actions.pod:5231
msgid "(Added in 1.0.18)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1139
+#: ../src/guestfs-actions.pod:1145
msgid "guestfs_cp_a"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1141
+#: ../src/guestfs-actions.pod:1147
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1146 ../fish/guestfish-actions.pod:771
+#: ../src/guestfs-actions.pod:1152 ../fish/guestfish-actions.pod:776
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:1153
+#: ../src/guestfs-actions.pod:1159
msgid "guestfs_dd"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1155
+#: ../src/guestfs-actions.pod:1161
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1160 ../fish/guestfish-actions.pod:778
+#: ../src/guestfs-actions.pod:1166 ../fish/guestfish-actions.pod:783
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:1165
+#: ../src/guestfs-actions.pod:1171
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:1173
+#: ../src/guestfs-actions.pod:1179
msgid "guestfs_df"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1175
+#: ../src/guestfs-actions.pod:1181
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1178 ../fish/guestfish-actions.pod:791
+#: ../src/guestfs-actions.pod:1184 ../fish/guestfish-actions.pod:796
msgid "This command runs the C<df> command to report disk space used."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1180 ../src/guestfs-actions.pod:1197
+#: ../src/guestfs-actions.pod:1186 ../src/guestfs-actions.pod:1203
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:1187 ../src/guestfs-actions.pod:1204
-#: ../src/guestfs-actions.pod:1322 ../src/guestfs-actions.pod:2286
-#: ../src/guestfs-actions.pod:2310 ../src/guestfs-actions.pod:2378
-#: ../src/guestfs-actions.pod:4273 ../src/guestfs-actions.pod:4748
-#: ../src/guestfs-actions.pod:6559 ../src/guestfs-actions.pod:6583
-#: ../src/guestfs-actions.pod:7201 ../src/guestfs-actions.pod:7214
-#: ../src/guestfs-actions.pod:7227
+#: ../src/guestfs-actions.pod:1193 ../src/guestfs-actions.pod:1210
+#: ../src/guestfs-actions.pod:1328 ../src/guestfs-actions.pod:2292
+#: ../src/guestfs-actions.pod:2316 ../src/guestfs-actions.pod:2384
+#: ../src/guestfs-actions.pod:4279 ../src/guestfs-actions.pod:4754
+#: ../src/guestfs-actions.pod:6565 ../src/guestfs-actions.pod:6589
+#: ../src/guestfs-actions.pod:7207 ../src/guestfs-actions.pod:7220
+#: ../src/guestfs-actions.pod:7233
msgid "(Added in 1.0.54)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1189
+#: ../src/guestfs-actions.pod:1195
msgid "guestfs_df_h"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1191
+#: ../src/guestfs-actions.pod:1197
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1194 ../fish/guestfish-actions.pod:801
+#: ../src/guestfs-actions.pod:1200 ../fish/guestfish-actions.pod:806
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:1206
+#: ../src/guestfs-actions.pod:1212
msgid "guestfs_dmesg"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1208
+#: ../src/guestfs-actions.pod:1214
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1211 ../fish/guestfish-actions.pod:812
+#: ../src/guestfs-actions.pod:1217 ../fish/guestfish-actions.pod:817
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:1215
+#: ../src/guestfs-actions.pod:1221
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:1225
+#: ../src/guestfs-actions.pod:1231
msgid "guestfs_download"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1227
+#: ../src/guestfs-actions.pod:1233
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1232 ../src/guestfs-actions.pod:1257
-#: ../fish/guestfish-actions.pod:825 ../fish/guestfish-actions.pod:838
+#: ../src/guestfs-actions.pod:1238 ../src/guestfs-actions.pod:1263
+#: ../fish/guestfish-actions.pod:830 ../fish/guestfish-actions.pod:843
msgid ""
"Download file C<remotefilename> and save it as C<filename> on the local "
"machine."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1235 ../src/guestfs-actions.pod:6815
-#: ../fish/guestfish-actions.pod:828 ../fish/guestfish-actions.pod:4590
+#: ../src/guestfs-actions.pod:1241 ../src/guestfs-actions.pod:6821
+#: ../fish/guestfish-actions.pod:833 ../fish/guestfish-actions.pod:4595
msgid "C<filename> can also be a named pipe."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1237
+#: ../src/guestfs-actions.pod:1243
msgid "See also C<guestfs_upload>, C<guestfs_cat>."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1248
+#: ../src/guestfs-actions.pod:1254
msgid "guestfs_download_offset"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1250
+#: ../src/guestfs-actions.pod:1256
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1260 ../fish/guestfish-actions.pod:841
+#: ../src/guestfs-actions.pod:1266 ../fish/guestfish-actions.pod:846
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:1263
+#: ../src/guestfs-actions.pod:1269
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:1268
+#: ../src/guestfs-actions.pod:1274
msgid "See also C<guestfs_download>, C<guestfs_pread>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1277 ../src/guestfs-actions.pod:6860
+#: ../src/guestfs-actions.pod:1283 ../src/guestfs-actions.pod:6866
msgid "(Added in 1.5.17)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1279
+#: ../src/guestfs-actions.pod:1285
msgid "guestfs_drop_caches"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1281
+#: ../src/guestfs-actions.pod:1287
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1285 ../fish/guestfish-actions.pod:857
+#: ../src/guestfs-actions.pod:1291 ../fish/guestfish-actions.pod:862
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:1290 ../fish/guestfish-actions.pod:862
+#: ../src/guestfs-actions.pod:1296 ../fish/guestfish-actions.pod:867
msgid "Setting C<whattodrop> to 3 should drop everything."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1292 ../fish/guestfish-actions.pod:864
+#: ../src/guestfs-actions.pod:1298 ../fish/guestfish-actions.pod:869
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:1299
+#: ../src/guestfs-actions.pod:1305
msgid "guestfs_du"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1301
+#: ../src/guestfs-actions.pod:1307
#, no-wrap
msgid ""
" int64_t\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1305 ../fish/guestfish-actions.pod:871
+#: ../src/guestfs-actions.pod:1311 ../fish/guestfish-actions.pod:876
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:1308 ../fish/guestfish-actions.pod:874
+#: ../src/guestfs-actions.pod:1314 ../fish/guestfish-actions.pod:879
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:1312 ../fish/guestfish-actions.pod:878
+#: ../src/guestfs-actions.pod:1318 ../fish/guestfish-actions.pod:883
msgid ""
"The result is the estimated size in I<kilobytes> (ie. units of 1024 bytes)."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1324
+#: ../src/guestfs-actions.pod:1330
msgid "guestfs_e2fsck_f"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1326
+#: ../src/guestfs-actions.pod:1332
#, no-wrap
msgid ""
" int\n"
"\n"
msgstr ""
-# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1330 ../fish/guestfish-actions.pod:885
+#: ../src/guestfs-actions.pod:1336 ../fish/guestfish-actions.pod:890
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 "
-"clean (C<-f>)."
+"on C<device>, noninteractively (I<-p>), even if the filesystem appears to be "
+"clean (I<-f>)."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1334
+#: ../src/guestfs-actions.pod:1340
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:1339
+#: ../src/guestfs-actions.pod:1345
msgid "(Added in 1.0.29)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1341
+#: ../src/guestfs-actions.pod:1347
msgid "guestfs_echo_daemon"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1343
+#: ../src/guestfs-actions.pod:1349
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1347 ../fish/guestfish-actions.pod:896
+#: ../src/guestfs-actions.pod:1353 ../fish/guestfish-actions.pod:901
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:1350 ../fish/guestfish-actions.pod:899
+#: ../src/guestfs-actions.pod:1356 ../fish/guestfish-actions.pod:904
msgid "You can use this command to test the connection through to the daemon."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1352
+#: ../src/guestfs-actions.pod:1358
msgid "See also C<guestfs_ping_daemon>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1357 ../src/guestfs-actions.pod:2094
-#: ../src/guestfs-actions.pod:6059
+#: ../src/guestfs-actions.pod:1363 ../src/guestfs-actions.pod:2100
+#: ../src/guestfs-actions.pod:6065
msgid "(Added in 1.0.69)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1359
+#: ../src/guestfs-actions.pod:1365
msgid "guestfs_egrep"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1361
+#: ../src/guestfs-actions.pod:1367
#, no-wrap
msgid ""
" char **\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1366 ../fish/guestfish-actions.pod:907
+#: ../src/guestfs-actions.pod:1372 ../fish/guestfish-actions.pod:912
msgid ""
"This calls the external C<egrep> program and returns the matching lines."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1376 ../src/guestfs-actions.pod:1395
-#: ../src/guestfs-actions.pod:1452 ../src/guestfs-actions.pod:1498
-#: ../src/guestfs-actions.pod:1517 ../src/guestfs-actions.pod:2224
-#: ../src/guestfs-actions.pod:2243 ../src/guestfs-actions.pod:2399
-#: ../src/guestfs-actions.pod:2412 ../src/guestfs-actions.pod:2427
-#: ../src/guestfs-actions.pod:2473 ../src/guestfs-actions.pod:2495
-#: ../src/guestfs-actions.pod:2508 ../src/guestfs-actions.pod:3656
-#: ../src/guestfs-actions.pod:3670 ../src/guestfs-actions.pod:3683
-#: ../src/guestfs-actions.pod:3697 ../src/guestfs-actions.pod:4683
-#: ../src/guestfs-actions.pod:5559 ../src/guestfs-actions.pod:5608
-#: ../src/guestfs-actions.pod:6427 ../src/guestfs-actions.pod:6439
-#: ../src/guestfs-actions.pod:6452 ../src/guestfs-actions.pod:6465
-#: ../src/guestfs-actions.pod:6487 ../src/guestfs-actions.pod:6500
-#: ../src/guestfs-actions.pod:6513 ../src/guestfs-actions.pod:6526
-#: ../src/guestfs-actions.pod:7297 ../src/guestfs-actions.pod:7316
-#: ../src/guestfs-actions.pod:7401 ../src/guestfs-actions.pod:7420
-#: ../src/guestfs-actions.pod:7466 ../src/guestfs-actions.pod:7485
+#: ../src/guestfs-actions.pod:1382 ../src/guestfs-actions.pod:1401
+#: ../src/guestfs-actions.pod:1458 ../src/guestfs-actions.pod:1504
+#: ../src/guestfs-actions.pod:1523 ../src/guestfs-actions.pod:2230
+#: ../src/guestfs-actions.pod:2249 ../src/guestfs-actions.pod:2405
+#: ../src/guestfs-actions.pod:2418 ../src/guestfs-actions.pod:2433
+#: ../src/guestfs-actions.pod:2479 ../src/guestfs-actions.pod:2501
+#: ../src/guestfs-actions.pod:2514 ../src/guestfs-actions.pod:3662
+#: ../src/guestfs-actions.pod:3676 ../src/guestfs-actions.pod:3689
+#: ../src/guestfs-actions.pod:3703 ../src/guestfs-actions.pod:4689
+#: ../src/guestfs-actions.pod:5565 ../src/guestfs-actions.pod:5614
+#: ../src/guestfs-actions.pod:6433 ../src/guestfs-actions.pod:6445
+#: ../src/guestfs-actions.pod:6458 ../src/guestfs-actions.pod:6471
+#: ../src/guestfs-actions.pod:6493 ../src/guestfs-actions.pod:6506
+#: ../src/guestfs-actions.pod:6519 ../src/guestfs-actions.pod:6532
+#: ../src/guestfs-actions.pod:7303 ../src/guestfs-actions.pod:7322
+#: ../src/guestfs-actions.pod:7407 ../src/guestfs-actions.pod:7426
+#: ../src/guestfs-actions.pod:7472 ../src/guestfs-actions.pod:7491
msgid "(Added in 1.0.66)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1378
+#: ../src/guestfs-actions.pod:1384
msgid "guestfs_egrepi"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1380
+#: ../src/guestfs-actions.pod:1386
#, no-wrap
msgid ""
" char **\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1385 ../fish/guestfish-actions.pod:917
+#: ../src/guestfs-actions.pod:1391 ../fish/guestfish-actions.pod:922
msgid ""
"This calls the external C<egrep -i> program and returns the matching lines."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1397
+#: ../src/guestfs-actions.pod:1403
msgid "guestfs_equal"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1399
+#: ../src/guestfs-actions.pod:1405
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1404 ../fish/guestfish-actions.pod:927
+#: ../src/guestfs-actions.pod:1410 ../fish/guestfish-actions.pod:932
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:1407 ../fish/guestfish-actions.pod:930
+#: ../src/guestfs-actions.pod:1413 ../fish/guestfish-actions.pod:935
msgid "The external L<cmp(1)> program is used for the comparison."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1413
+#: ../src/guestfs-actions.pod:1419
msgid "guestfs_exists"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1415
+#: ../src/guestfs-actions.pod:1421
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1419 ../fish/guestfish-actions.pod:936
+#: ../src/guestfs-actions.pod:1425 ../fish/guestfish-actions.pod:941
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:1422
+#: ../src/guestfs-actions.pod:1428
msgid "See also C<guestfs_is_file>, C<guestfs_is_dir>, C<guestfs_stat>."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1428
+#: ../src/guestfs-actions.pod:1434
msgid "guestfs_fallocate"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1430
+#: ../src/guestfs-actions.pod:1436
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1435 ../src/guestfs-actions.pod:1461
-#: ../fish/guestfish-actions.pod:945 ../fish/guestfish-actions.pod:964
+#: ../src/guestfs-actions.pod:1441 ../src/guestfs-actions.pod:1467
+#: ../fish/guestfish-actions.pod:950 ../fish/guestfish-actions.pod:969
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:1439 ../fish/guestfish-actions.pod:949
+#: ../src/guestfs-actions.pod:1445 ../fish/guestfish-actions.pod:954
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:1445 ../fish/guestfish-actions.pod:953
+#: ../src/guestfs-actions.pod:1451 ../fish/guestfish-actions.pod:958
msgid ""
"This function is deprecated. In new code, use the C<fallocate64> call "
"instead."
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1454
+#: ../src/guestfs-actions.pod:1460
msgid "guestfs_fallocate64"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1456
+#: ../src/guestfs-actions.pod:1462
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1465
+#: ../src/guestfs-actions.pod:1471
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:1468
+#: ../src/guestfs-actions.pod:1474
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:1473 ../fish/guestfish-actions.pod:976
+#: ../src/guestfs-actions.pod:1479 ../fish/guestfish-actions.pod:981
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:1479
+#: ../src/guestfs-actions.pod:1485
msgid "(Added in 1.3.17)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1481
+#: ../src/guestfs-actions.pod:1487
msgid "guestfs_fgrep"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1483
+#: ../src/guestfs-actions.pod:1489
#, no-wrap
msgid ""
" char **\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1488 ../fish/guestfish-actions.pod:984
+#: ../src/guestfs-actions.pod:1494 ../fish/guestfish-actions.pod:989
msgid ""
"This calls the external C<fgrep> program and returns the matching lines."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1500
+#: ../src/guestfs-actions.pod:1506
msgid "guestfs_fgrepi"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1502
+#: ../src/guestfs-actions.pod:1508
#, no-wrap
msgid ""
" char **\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1507 ../fish/guestfish-actions.pod:994
+#: ../src/guestfs-actions.pod:1513 ../fish/guestfish-actions.pod:999
msgid ""
"This calls the external C<fgrep -i> program and returns the matching lines."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1519
+#: ../src/guestfs-actions.pod:1525
msgid "guestfs_file"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1521
+#: ../src/guestfs-actions.pod:1527
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1525 ../fish/guestfish-actions.pod:1004
+#: ../src/guestfs-actions.pod:1531 ../fish/guestfish-actions.pod:1009
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:1528 ../fish/guestfish-actions.pod:1007
+#: ../src/guestfs-actions.pod:1534 ../fish/guestfish-actions.pod:1012
msgid ""
"This call will also transparently look inside various types of compressed "
"file."
msgstr ""
-# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1531 ../fish/guestfish-actions.pod:1010
+#: ../src/guestfs-actions.pod:1537 ../fish/guestfish-actions.pod:1015
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)."
+"the filename is not prepended to the output (the I<-b> option)."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1535
+#: ../src/guestfs-actions.pod:1541
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:1540 ../fish/guestfish-actions.pod:1019
+#: ../src/guestfs-actions.pod:1546 ../fish/guestfish-actions.pod:1024
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:1550
+#: ../src/guestfs-actions.pod:1556
msgid "guestfs_file_architecture"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1552
+#: ../src/guestfs-actions.pod:1558
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1556 ../fish/guestfish-actions.pod:1028
+#: ../src/guestfs-actions.pod:1562 ../fish/guestfish-actions.pod:1033
msgid ""
"This detects the architecture of the binary C<filename>, and returns it if "
"known."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1559 ../fish/guestfish-actions.pod:1031
+#: ../src/guestfs-actions.pod:1565 ../fish/guestfish-actions.pod:1036
msgid "Currently defined architectures are:"
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:1563 ../fish/guestfish-actions.pod:1035
+#: ../src/guestfs-actions.pod:1569 ../fish/guestfish-actions.pod:1040
msgid "\"i386\""
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1565 ../fish/guestfish-actions.pod:1037
+#: ../src/guestfs-actions.pod:1571 ../fish/guestfish-actions.pod:1042
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:1568 ../fish/guestfish-actions.pod:1040
+#: ../src/guestfs-actions.pod:1574 ../fish/guestfish-actions.pod:1045
msgid "\"x86_64\""
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1570 ../fish/guestfish-actions.pod:1042
+#: ../src/guestfs-actions.pod:1576 ../fish/guestfish-actions.pod:1047
msgid "64 bit x86-64."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:1572 ../fish/guestfish-actions.pod:1044
+#: ../src/guestfs-actions.pod:1578 ../fish/guestfish-actions.pod:1049
msgid "\"sparc\""
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1574 ../fish/guestfish-actions.pod:1046
+#: ../src/guestfs-actions.pod:1580 ../fish/guestfish-actions.pod:1051
msgid "32 bit SPARC."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:1576 ../fish/guestfish-actions.pod:1048
+#: ../src/guestfs-actions.pod:1582 ../fish/guestfish-actions.pod:1053
msgid "\"sparc64\""
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1578 ../fish/guestfish-actions.pod:1050
+#: ../src/guestfs-actions.pod:1584 ../fish/guestfish-actions.pod:1055
msgid "64 bit SPARC V9 and above."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:1580 ../fish/guestfish-actions.pod:1052
+#: ../src/guestfs-actions.pod:1586 ../fish/guestfish-actions.pod:1057
msgid "\"ia64\""
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1582 ../fish/guestfish-actions.pod:1054
+#: ../src/guestfs-actions.pod:1588 ../fish/guestfish-actions.pod:1059
msgid "Intel Itanium."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:1584 ../fish/guestfish-actions.pod:1056
+#: ../src/guestfs-actions.pod:1590 ../fish/guestfish-actions.pod:1061
msgid "\"ppc\""
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1586 ../fish/guestfish-actions.pod:1058
+#: ../src/guestfs-actions.pod:1592 ../fish/guestfish-actions.pod:1063
msgid "32 bit Power PC."
msgstr ""
# type: =item
#. type: =item
-#: ../src/guestfs-actions.pod:1588 ../fish/guestfish-actions.pod:1060
+#: ../src/guestfs-actions.pod:1594 ../fish/guestfish-actions.pod:1065
msgid "\"ppc64\""
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1590 ../fish/guestfish-actions.pod:1062
+#: ../src/guestfs-actions.pod:1596 ../fish/guestfish-actions.pod:1067
msgid "64 bit Power PC."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1594 ../fish/guestfish-actions.pod:1066
+#: ../src/guestfs-actions.pod:1600 ../fish/guestfish-actions.pod:1071
msgid "Libguestfs may return other architecture strings in future."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1596 ../fish/guestfish-actions.pod:1068
+#: ../src/guestfs-actions.pod:1602 ../fish/guestfish-actions.pod:1073
msgid "The function works on at least the following types of files:"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1602 ../fish/guestfish-actions.pod:1074
+#: ../src/guestfs-actions.pod:1608 ../fish/guestfish-actions.pod:1079
msgid "many types of Un*x and Linux binary"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1606 ../fish/guestfish-actions.pod:1078
+#: ../src/guestfs-actions.pod:1612 ../fish/guestfish-actions.pod:1083
msgid "many types of Un*x and Linux shared library"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1610 ../fish/guestfish-actions.pod:1082
+#: ../src/guestfs-actions.pod:1616 ../fish/guestfish-actions.pod:1087
msgid "Windows Win32 and Win64 binaries"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1614 ../fish/guestfish-actions.pod:1086
+#: ../src/guestfs-actions.pod:1620 ../fish/guestfish-actions.pod:1091
msgid "Windows Win32 and Win64 DLLs"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1616 ../fish/guestfish-actions.pod:1088
+#: ../src/guestfs-actions.pod:1622 ../fish/guestfish-actions.pod:1093
msgid "Win32 binaries and DLLs return C<i386>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1618 ../fish/guestfish-actions.pod:1090
+#: ../src/guestfs-actions.pod:1624 ../fish/guestfish-actions.pod:1095
msgid "Win64 binaries and DLLs return C<x86_64>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1622 ../fish/guestfish-actions.pod:1094
+#: ../src/guestfs-actions.pod:1628 ../fish/guestfish-actions.pod:1099
msgid "Linux kernel modules"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1626 ../fish/guestfish-actions.pod:1098
+#: ../src/guestfs-actions.pod:1632 ../fish/guestfish-actions.pod:1103
msgid "Linux new-style initrd images"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1630 ../fish/guestfish-actions.pod:1102
+#: ../src/guestfs-actions.pod:1636 ../fish/guestfish-actions.pod:1107
msgid "some non-x86 Linux vmlinuz kernels"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1634 ../fish/guestfish-actions.pod:1106
+#: ../src/guestfs-actions.pod:1640 ../fish/guestfish-actions.pod:1111
msgid "What it can't do currently:"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1640 ../fish/guestfish-actions.pod:1112
+#: ../src/guestfs-actions.pod:1646 ../fish/guestfish-actions.pod:1117
msgid "static libraries (libfoo.a)"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1644 ../fish/guestfish-actions.pod:1116
+#: ../src/guestfs-actions.pod:1650 ../fish/guestfish-actions.pod:1121
msgid "Linux old-style initrd as compressed ext2 filesystem (RHEL 3)"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1648 ../fish/guestfish-actions.pod:1120
+#: ../src/guestfs-actions.pod:1654 ../fish/guestfish-actions.pod:1125
msgid "x86 Linux vmlinuz kernels"
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1650 ../fish/guestfish-actions.pod:1122
+#: ../src/guestfs-actions.pod:1656 ../fish/guestfish-actions.pod:1127
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:1660 ../src/guestfs-actions.pod:1823
-#: ../src/guestfs-actions.pod:1840 ../src/guestfs-actions.pod:2531
-#: ../src/guestfs-actions.pod:2624 ../src/guestfs-actions.pod:2694
-#: ../src/guestfs-actions.pod:2782 ../src/guestfs-actions.pod:2803
-#: ../src/guestfs-actions.pod:2846 ../src/guestfs-actions.pod:2930
-#: ../src/guestfs-actions.pod:3027 ../src/guestfs-actions.pod:3274
-#: ../src/guestfs-actions.pod:3406
+#: ../src/guestfs-actions.pod:1666 ../src/guestfs-actions.pod:1829
+#: ../src/guestfs-actions.pod:1846 ../src/guestfs-actions.pod:2537
+#: ../src/guestfs-actions.pod:2630 ../src/guestfs-actions.pod:2700
+#: ../src/guestfs-actions.pod:2788 ../src/guestfs-actions.pod:2809
+#: ../src/guestfs-actions.pod:2852 ../src/guestfs-actions.pod:2936
+#: ../src/guestfs-actions.pod:3033 ../src/guestfs-actions.pod:3280
+#: ../src/guestfs-actions.pod:3412
msgid "(Added in 1.5.3)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1662
+#: ../src/guestfs-actions.pod:1668
msgid "guestfs_filesize"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1664
+#: ../src/guestfs-actions.pod:1670
#, no-wrap
msgid ""
" int64_t\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1668 ../fish/guestfish-actions.pod:1133
+#: ../src/guestfs-actions.pod:1674 ../fish/guestfish-actions.pod:1138
msgid "This command returns the size of C<file> in bytes."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1670
+#: ../src/guestfs-actions.pod:1676
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:1676
+#: ../src/guestfs-actions.pod:1682
msgid "(Added in 1.0.82)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1678
+#: ../src/guestfs-actions.pod:1684
msgid "guestfs_fill"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1680
+#: ../src/guestfs-actions.pod:1686
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1686 ../fish/guestfish-actions.pod:1143
+#: ../src/guestfs-actions.pod:1692 ../fish/guestfish-actions.pod:1148
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:1690
+#: ../src/guestfs-actions.pod:1696
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:1702
+#: ../src/guestfs-actions.pod:1708
msgid "(Added in 1.0.79)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1704
+#: ../src/guestfs-actions.pod:1710
msgid "guestfs_fill_pattern"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1706
+#: ../src/guestfs-actions.pod:1712
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1712
+#: ../src/guestfs-actions.pod:1718
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:1724
+#: ../src/guestfs-actions.pod:1730
msgid "(Added in 1.3.12)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1726
+#: ../src/guestfs-actions.pod:1732
msgid "guestfs_find"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1728
+#: ../src/guestfs-actions.pod:1734
#, no-wrap
msgid ""
" char **\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1732 ../fish/guestfish-actions.pod:1165
+#: ../src/guestfs-actions.pod:1738 ../fish/guestfish-actions.pod:1170
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:1737 ../fish/guestfish-actions.pod:1170
+#: ../src/guestfs-actions.pod:1743 ../fish/guestfish-actions.pod:1175
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:1740 ../fish/guestfish-actions.pod:1173
+#: ../src/guestfs-actions.pod:1746 ../fish/guestfish-actions.pod:1178
#, no-wrap
msgid ""
" /tmp/a\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1744
+#: ../src/guestfs-actions.pod:1750
msgid ""
"then the returned list from C<guestfs_find> C</tmp> would be 4 elements:"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1747 ../fish/guestfish-actions.pod:1180
+#: ../src/guestfs-actions.pod:1753 ../fish/guestfish-actions.pod:1185
#, no-wrap
msgid ""
" a\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1752 ../fish/guestfish-actions.pod:1185
+#: ../src/guestfs-actions.pod:1758 ../fish/guestfish-actions.pod:1190
msgid "If C<directory> is not a directory, then this command returns an error."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1755 ../fish/guestfish-actions.pod:1188
+#: ../src/guestfs-actions.pod:1761 ../fish/guestfish-actions.pod:1193
msgid "The returned list is sorted."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1757
+#: ../src/guestfs-actions.pod:1763
msgid "See also C<guestfs_find0>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1766 ../src/guestfs-actions.pod:4100
-#: ../src/guestfs-actions.pod:5643
+#: ../src/guestfs-actions.pod:1772 ../src/guestfs-actions.pod:4106
+#: ../src/guestfs-actions.pod:5649
msgid "(Added in 1.0.27)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1768
+#: ../src/guestfs-actions.pod:1774
msgid "guestfs_find0"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1770
+#: ../src/guestfs-actions.pod:1776
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1775 ../fish/guestfish-actions.pod:1199
+#: ../src/guestfs-actions.pod:1781 ../fish/guestfish-actions.pod:1204
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:1779
+#: ../src/guestfs-actions.pod:1785
msgid ""
"This command works the same way as C<guestfs_find> with the following "
"exceptions:"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1786 ../fish/guestfish-actions.pod:1210
+#: ../src/guestfs-actions.pod:1792 ../fish/guestfish-actions.pod:1215
msgid "The resulting list is written to an external file."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1790 ../fish/guestfish-actions.pod:1214
+#: ../src/guestfs-actions.pod:1796 ../fish/guestfish-actions.pod:1219
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:1795 ../fish/guestfish-actions.pod:1219
+#: ../src/guestfs-actions.pod:1801 ../fish/guestfish-actions.pod:1224
msgid "This command is not limited in the number of names that it can return."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1800 ../fish/guestfish-actions.pod:1224
+#: ../src/guestfs-actions.pod:1806 ../fish/guestfish-actions.pod:1229
msgid "The result list is not sorted."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1806
+#: ../src/guestfs-actions.pod:1812
msgid "(Added in 1.0.74)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1808
+#: ../src/guestfs-actions.pod:1814
msgid "guestfs_findfs_label"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1810
+#: ../src/guestfs-actions.pod:1816
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1814 ../fish/guestfish-actions.pod:1234
+#: ../src/guestfs-actions.pod:1820 ../fish/guestfish-actions.pod:1239
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:1818
+#: ../src/guestfs-actions.pod:1824
msgid "To find the label of a filesystem, use C<guestfs_vfs_label>."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1825
+#: ../src/guestfs-actions.pod:1831
msgid "guestfs_findfs_uuid"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1827
+#: ../src/guestfs-actions.pod:1833
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1831 ../fish/guestfish-actions.pod:1244
+#: ../src/guestfs-actions.pod:1837 ../fish/guestfish-actions.pod:1249
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:1835
+#: ../src/guestfs-actions.pod:1841
msgid "To find the UUID of a filesystem, use C<guestfs_vfs_uuid>."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1842
+#: ../src/guestfs-actions.pod:1848
msgid "guestfs_fsck"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1844
+#: ../src/guestfs-actions.pod:1850
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1849 ../fish/guestfish-actions.pod:1254
+#: ../src/guestfs-actions.pod:1855 ../fish/guestfish-actions.pod:1259
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:1852 ../fish/guestfish-actions.pod:1257
+#: ../src/guestfs-actions.pod:1858 ../fish/guestfish-actions.pod:1262
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:1861 ../fish/guestfish-actions.pod:1266
+#: ../src/guestfs-actions.pod:1867 ../fish/guestfish-actions.pod:1271
msgid "Multiple status codes can be summed together."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1865 ../fish/guestfish-actions.pod:1270
+#: ../src/guestfs-actions.pod:1871 ../fish/guestfish-actions.pod:1275
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:1870 ../fish/guestfish-actions.pod:1275
+#: ../src/guestfs-actions.pod:1876 ../fish/guestfish-actions.pod:1280
msgid "Checking or repairing NTFS volumes is not supported (by linux-ntfs)."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1875 ../fish/guestfish-actions.pod:1280
+#: ../src/guestfs-actions.pod:1881 ../fish/guestfish-actions.pod:1285
msgid ""
"This command is entirely equivalent to running C<fsck -a -t fstype device>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1879 ../src/guestfs-actions.pod:7339
+#: ../src/guestfs-actions.pod:1885 ../src/guestfs-actions.pod:7345
msgid "(Added in 1.0.16)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1881
+#: ../src/guestfs-actions.pod:1887
msgid "guestfs_get_append"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1883
+#: ../src/guestfs-actions.pod:1889
#, no-wrap
msgid ""
" const char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1886 ../fish/guestfish-actions.pod:1286
+#: ../src/guestfs-actions.pod:1892 ../fish/guestfish-actions.pod:1291
msgid ""
"Return the additional kernel options which are added to the guest kernel "
"command line."
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1889 ../fish/guestfish-actions.pod:1289
+#: ../src/guestfs-actions.pod:1895 ../fish/guestfish-actions.pod:1294
msgid "If C<NULL> then no options are added."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1891
+#: ../src/guestfs-actions.pod:1897
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:1895 ../src/guestfs-actions.pod:5321
-#: ../src/guestfs-actions.pod:5801 ../src/guestfs-actions.pod:6201
-#: ../src/guestfs-actions.pod:6220 ../src/guestfs-actions.pod:6236
-#: ../src/guestfs-actions.pod:6253 ../src/guestfs-actions.pod:7010
-#: ../src/guestfs-actions.pod:7028 ../src/guestfs-actions.pod:7382
+#: ../src/guestfs-actions.pod:1901 ../src/guestfs-actions.pod:5327
+#: ../src/guestfs-actions.pod:5807 ../src/guestfs-actions.pod:6207
+#: ../src/guestfs-actions.pod:6226 ../src/guestfs-actions.pod:6242
+#: ../src/guestfs-actions.pod:6259 ../src/guestfs-actions.pod:7016
+#: ../src/guestfs-actions.pod:7034 ../src/guestfs-actions.pod:7388
msgid "(Added in 1.0.26)"
msgstr ""
#. type: =head2
-#: ../src/guestfs-actions.pod:1897
+#: ../src/guestfs-actions.pod:1903
msgid "guestfs_get_attach_method"
msgstr ""
#. type: verbatim
-#: ../src/guestfs-actions.pod:1899
+#: ../src/guestfs-actions.pod:1905
#, no-wrap
msgid ""
" char *\n"
msgstr ""
#. type: textblock
-#: ../src/guestfs-actions.pod:1902
+#: ../src/guestfs-actions.pod:1908
msgid "Return the current attach method. See C<guestfs_set_attach_method>."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1907
+#: ../src/guestfs-actions.pod:1913
msgid "guestfs_get_autosync"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1909
+#: ../src/guestfs-actions.pod:1915
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1912 ../fish/guestfish-actions.pod:1301
+#: ../src/guestfs-actions.pod:1918 ../fish/guestfish-actions.pod:1306
msgid "Get the autosync flag."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1918
+#: ../src/guestfs-actions.pod:1924
msgid "guestfs_get_direct"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1920
+#: ../src/guestfs-actions.pod:1926
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1923 ../fish/guestfish-actions.pod:1307
+#: ../src/guestfs-actions.pod:1929 ../fish/guestfish-actions.pod:1312
msgid "Return the direct appliance mode flag."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1927 ../src/guestfs-actions.pod:5870
+#: ../src/guestfs-actions.pod:1933 ../src/guestfs-actions.pod:5876
msgid "(Added in 1.0.72)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1929
+#: ../src/guestfs-actions.pod:1935
msgid "guestfs_get_e2label"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1931
+#: ../src/guestfs-actions.pod:1937
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1935 ../fish/guestfish-actions.pod:1313
+#: ../src/guestfs-actions.pod:1941 ../fish/guestfish-actions.pod:1318
msgid ""
"This returns the ext2/3/4 filesystem label of the filesystem on C<device>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1941 ../fish/guestfish-actions.pod:1316
+#: ../src/guestfs-actions.pod:1947 ../fish/guestfish-actions.pod:1321
msgid ""
"This function is deprecated. In new code, use the C<vfs_label> call instead."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1948 ../src/guestfs-actions.pod:1969
-#: ../src/guestfs-actions.pod:5888 ../src/guestfs-actions.pod:5907
+#: ../src/guestfs-actions.pod:1954 ../src/guestfs-actions.pod:1975
+#: ../src/guestfs-actions.pod:5894 ../src/guestfs-actions.pod:5913
msgid "(Added in 1.0.15)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1950
+#: ../src/guestfs-actions.pod:1956
msgid "guestfs_get_e2uuid"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1952
+#: ../src/guestfs-actions.pod:1958
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1956 ../fish/guestfish-actions.pod:1327
+#: ../src/guestfs-actions.pod:1962 ../fish/guestfish-actions.pod:1332
msgid ""
"This returns the ext2/3/4 filesystem UUID of the filesystem on C<device>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1962 ../fish/guestfish-actions.pod:1330
+#: ../src/guestfs-actions.pod:1968 ../fish/guestfish-actions.pod:1335
msgid ""
"This function is deprecated. In new code, use the C<vfs_uuid> call instead."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1971
+#: ../src/guestfs-actions.pod:1977
msgid "guestfs_get_memsize"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1973
+#: ../src/guestfs-actions.pod:1979
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1976 ../fish/guestfish-actions.pod:1341
+#: ../src/guestfs-actions.pod:1982 ../fish/guestfish-actions.pod:1346
msgid ""
"This gets the memory size in megabytes allocated to the qemu subprocess."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1979
+#: ../src/guestfs-actions.pod:1985
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:1983 ../src/guestfs-actions.pod:2064
-#: ../src/guestfs-actions.pod:5923 ../src/guestfs-actions.pod:6030
-#: ../fish/guestfish-actions.pod:1348 ../fish/guestfish-actions.pod:1399
-#: ../fish/guestfish-actions.pod:3993 ../fish/guestfish-actions.pod:4080
+#: ../src/guestfs-actions.pod:1989 ../src/guestfs-actions.pod:2070
+#: ../src/guestfs-actions.pod:5929 ../src/guestfs-actions.pod:6036
+#: ../fish/guestfish-actions.pod:1353 ../fish/guestfish-actions.pod:1404
+#: ../fish/guestfish-actions.pod:3998 ../fish/guestfish-actions.pod:4085
msgid ""
"For more information on the architecture of libguestfs, see L<guestfs(3)>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1988 ../src/guestfs-actions.pod:4391
-#: ../src/guestfs-actions.pod:4588 ../src/guestfs-actions.pod:4607
-#: ../src/guestfs-actions.pod:4626 ../src/guestfs-actions.pod:4638
-#: ../src/guestfs-actions.pod:4655 ../src/guestfs-actions.pod:4668
-#: ../src/guestfs-actions.pod:5546 ../src/guestfs-actions.pod:5928
-#: ../src/guestfs-actions.pod:6175 ../src/guestfs-actions.pod:6776
+#: ../src/guestfs-actions.pod:1994 ../src/guestfs-actions.pod:4397
+#: ../src/guestfs-actions.pod:4594 ../src/guestfs-actions.pod:4613
+#: ../src/guestfs-actions.pod:4632 ../src/guestfs-actions.pod:4644
+#: ../src/guestfs-actions.pod:4661 ../src/guestfs-actions.pod:4674
+#: ../src/guestfs-actions.pod:5552 ../src/guestfs-actions.pod:5934
+#: ../src/guestfs-actions.pod:6181 ../src/guestfs-actions.pod:6782
msgid "(Added in 1.0.55)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:1990
+#: ../src/guestfs-actions.pod:1996
msgid "guestfs_get_network"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:1992
+#: ../src/guestfs-actions.pod:1998
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1995 ../fish/guestfish-actions.pod:1355
+#: ../src/guestfs-actions.pod:2001 ../fish/guestfish-actions.pod:1360
msgid "This returns the enable network flag."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:1999 ../src/guestfs-actions.pod:5947
+#: ../src/guestfs-actions.pod:2005 ../src/guestfs-actions.pod:5953
msgid "(Added in 1.5.4)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2001
+#: ../src/guestfs-actions.pod:2007
msgid "guestfs_get_path"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2003
+#: ../src/guestfs-actions.pod:2009
#, no-wrap
msgid ""
" const char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2006 ../fish/guestfish-actions.pod:1361
+#: ../src/guestfs-actions.pod:2012 ../fish/guestfish-actions.pod:1366
msgid "Return the current search path."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2008 ../fish/guestfish-actions.pod:1363
+#: ../src/guestfs-actions.pod:2014 ../fish/guestfish-actions.pod:1368
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:2011 ../src/guestfs-actions.pod:2040
+#: ../src/guestfs-actions.pod:2017 ../src/guestfs-actions.pod:2046
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:2016
+#: ../src/guestfs-actions.pod:2022
msgid "guestfs_get_pid"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2018
+#: ../src/guestfs-actions.pod:2024
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2021 ../fish/guestfish-actions.pod:1372
+#: ../src/guestfs-actions.pod:2027 ../fish/guestfish-actions.pod:1377
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:2024 ../fish/guestfish-actions.pod:1375
+#: ../src/guestfs-actions.pod:2030 ../fish/guestfish-actions.pod:1380
msgid "This is an internal call used for debugging and testing."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2028
+#: ../src/guestfs-actions.pod:2034
msgid "(Added in 1.0.56)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2030
+#: ../src/guestfs-actions.pod:2036
msgid "guestfs_get_qemu"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2032
+#: ../src/guestfs-actions.pod:2038
#, no-wrap
msgid ""
" const char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2035 ../fish/guestfish-actions.pod:1381
+#: ../src/guestfs-actions.pod:2041 ../fish/guestfish-actions.pod:1386
msgid "Return the current qemu binary."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2037 ../fish/guestfish-actions.pod:1383
+#: ../src/guestfs-actions.pod:2043 ../fish/guestfish-actions.pod:1388
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:2043 ../src/guestfs-actions.pod:5992
+#: ../src/guestfs-actions.pod:2049 ../src/guestfs-actions.pod:5998
msgid "(Added in 1.0.6)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2045
+#: ../src/guestfs-actions.pod:2051
msgid "guestfs_get_recovery_proc"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2047
+#: ../src/guestfs-actions.pod:2053
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2050 ../fish/guestfish-actions.pod:1390
+#: ../src/guestfs-actions.pod:2056 ../fish/guestfish-actions.pod:1395
msgid "Return the recovery process enabled flag."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2054 ../src/guestfs-actions.pod:3501
-#: ../src/guestfs-actions.pod:3798 ../src/guestfs-actions.pod:4198
-#: ../src/guestfs-actions.pod:4230 ../src/guestfs-actions.pod:5251
-#: ../src/guestfs-actions.pod:5594 ../src/guestfs-actions.pod:6016
-#: ../src/guestfs-actions.pod:6679 ../src/guestfs-actions.pod:6699
-#: ../src/guestfs-actions.pod:6891
+#: ../src/guestfs-actions.pod:2060 ../src/guestfs-actions.pod:3507
+#: ../src/guestfs-actions.pod:3804 ../src/guestfs-actions.pod:4204
+#: ../src/guestfs-actions.pod:4236 ../src/guestfs-actions.pod:5257
+#: ../src/guestfs-actions.pod:5600 ../src/guestfs-actions.pod:6022
+#: ../src/guestfs-actions.pod:6685 ../src/guestfs-actions.pod:6705
+#: ../src/guestfs-actions.pod:6897
msgid "(Added in 1.0.77)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2056
+#: ../src/guestfs-actions.pod:2062
msgid "guestfs_get_selinux"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2058
+#: ../src/guestfs-actions.pod:2064
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2061
+#: ../src/guestfs-actions.pod:2067
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:2069 ../src/guestfs-actions.pod:2132
-#: ../src/guestfs-actions.pod:6035 ../src/guestfs-actions.pod:6093
+#: ../src/guestfs-actions.pod:2075 ../src/guestfs-actions.pod:2138
+#: ../src/guestfs-actions.pod:6041 ../src/guestfs-actions.pod:6099
msgid "(Added in 1.0.67)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2071
+#: ../src/guestfs-actions.pod:2077
msgid "guestfs_get_state"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2073
+#: ../src/guestfs-actions.pod:2079
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2076 ../fish/guestfish-actions.pod:1406
+#: ../src/guestfs-actions.pod:2082 ../fish/guestfish-actions.pod:1411
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:2079 ../src/guestfs-actions.pod:3299
-#: ../src/guestfs-actions.pod:3328 ../src/guestfs-actions.pod:3389
-#: ../src/guestfs-actions.pod:3416 ../fish/guestfish-actions.pod:1409
-#: ../fish/guestfish-actions.pod:2323 ../fish/guestfish-actions.pod:2341
-#: ../fish/guestfish-actions.pod:2379 ../fish/guestfish-actions.pod:2395
+#: ../src/guestfs-actions.pod:2085 ../src/guestfs-actions.pod:3305
+#: ../src/guestfs-actions.pod:3334 ../src/guestfs-actions.pod:3395
+#: ../src/guestfs-actions.pod:3422 ../fish/guestfish-actions.pod:1414
+#: ../fish/guestfish-actions.pod:2328 ../fish/guestfish-actions.pod:2346
+#: ../fish/guestfish-actions.pod:2384 ../fish/guestfish-actions.pod:2400
msgid "For more information on states, see L<guestfs(3)>."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2085
+#: ../src/guestfs-actions.pod:2091
msgid "guestfs_get_trace"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2087
+#: ../src/guestfs-actions.pod:2093
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2090 ../fish/guestfish-actions.pod:1415
+#: ../src/guestfs-actions.pod:2096 ../fish/guestfish-actions.pod:1420
msgid "Return the command trace flag."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2096
+#: ../src/guestfs-actions.pod:2102
msgid "guestfs_get_umask"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2098
+#: ../src/guestfs-actions.pod:2104
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2101
+#: ../src/guestfs-actions.pod:2107
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:2108
+#: ../src/guestfs-actions.pod:2114
msgid "guestfs_get_verbose"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2110
+#: ../src/guestfs-actions.pod:2116
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2113 ../fish/guestfish-actions.pod:1428
+#: ../src/guestfs-actions.pod:2119 ../fish/guestfish-actions.pod:1433
msgid "This returns the verbose messages flag."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2119
+#: ../src/guestfs-actions.pod:2125
msgid "guestfs_getcon"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2121
+#: ../src/guestfs-actions.pod:2127
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2124 ../fish/guestfish-actions.pod:1434
+#: ../src/guestfs-actions.pod:2130 ../fish/guestfish-actions.pod:1439
msgid "This gets the SELinux security context of the daemon."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2126
+#: ../src/guestfs-actions.pod:2132
msgid ""
"See the documentation about SELINUX in L<guestfs(3)>, and C<guestfs_setcon>"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2134
+#: ../src/guestfs-actions.pod:2140
msgid "guestfs_getxattr"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2136
+#: ../src/guestfs-actions.pod:2142
#, no-wrap
msgid ""
" char *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2142
+#: ../src/guestfs-actions.pod:2148
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:2146 ../src/guestfs-actions.pod:3515
+#: ../src/guestfs-actions.pod:2152 ../src/guestfs-actions.pod:3521
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:2153 ../src/guestfs-actions.pod:3522
-#: ../fish/guestfish-actions.pod:1454 ../fish/guestfish-actions.pod:2460
+#: ../src/guestfs-actions.pod:2159 ../src/guestfs-actions.pod:3528
+#: ../fish/guestfish-actions.pod:1459 ../fish/guestfish-actions.pod:2465
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:2156
+#: ../src/guestfs-actions.pod:2162
msgid "See also: C<guestfs_getxattrs>, C<guestfs_lgetxattr>, L<attr(5)>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2158 ../src/guestfs-actions.pod:2349
-#: ../src/guestfs-actions.pod:3527 ../src/guestfs-actions.pod:5244
-#: ../src/guestfs-actions.pod:5270 ../src/guestfs-actions.pod:5451
+#: ../src/guestfs-actions.pod:2164 ../src/guestfs-actions.pod:2355
+#: ../src/guestfs-actions.pod:3533 ../src/guestfs-actions.pod:5250
+#: ../src/guestfs-actions.pod:5276 ../src/guestfs-actions.pod:5457
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:2162 ../src/guestfs-actions.pod:3531
+#: ../src/guestfs-actions.pod:2168 ../src/guestfs-actions.pod:3537
msgid "(Added in 1.7.24)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2164
+#: ../src/guestfs-actions.pod:2170
msgid "guestfs_getxattrs"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2166
+#: ../src/guestfs-actions.pod:2172
#, no-wrap
msgid ""
" struct guestfs_xattr_list *\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2170 ../fish/guestfish-actions.pod:1463
+#: ../src/guestfs-actions.pod:2176 ../fish/guestfish-actions.pod:1468
msgid ""
"This call lists the extended attributes of the file or directory C<path>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2173 ../fish/guestfish-actions.pod:1466
+#: ../src/guestfs-actions.pod:2179 ../fish/guestfish-actions.pod:1471
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:2176
+#: ../src/guestfs-actions.pod:2182
msgid "See also: C<guestfs_lgetxattrs>, L<attr(5)>."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2178 ../src/guestfs-actions.pod:3543
-#: ../src/guestfs-actions.pod:4194
+#: ../src/guestfs-actions.pod:2184 ../src/guestfs-actions.pod:3549
+#: ../src/guestfs-actions.pod:4200
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:2182 ../src/guestfs-actions.pod:3547
-#: ../src/guestfs-actions.pod:3712 ../src/guestfs-actions.pod:3748
-#: ../src/guestfs-actions.pod:5624 ../src/guestfs-actions.pod:6112
-#: ../src/guestfs-actions.pod:7447
+#: ../src/guestfs-actions.pod:2188 ../src/guestfs-actions.pod:3553
+#: ../src/guestfs-actions.pod:3718 ../src/guestfs-actions.pod:3754
+#: ../src/guestfs-actions.pod:5630 ../src/guestfs-actions.pod:6118
+#: ../src/guestfs-actions.pod:7453
msgid "(Added in 1.0.59)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2184
+#: ../src/guestfs-actions.pod:2190
msgid "guestfs_glob_expand"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2186
+#: ../src/guestfs-actions.pod:2192
#, no-wrap
msgid ""
" char **\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2190 ../fish/guestfish-actions.pod:1475
+#: ../src/guestfs-actions.pod:2196 ../fish/guestfish-actions.pod:1480
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:2194 ../fish/guestfish-actions.pod:1479
+#: ../src/guestfs-actions.pod:2200 ../fish/guestfish-actions.pod:1484
msgid ""
"If no paths match, then this returns an empty list (note: not an error)."
msgstr ""
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2197 ../fish/guestfish-actions.pod:1482
+#: ../src/guestfs-actions.pod:2203 ../fish/guestfish-actions.pod:1487
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:2205 ../src/guestfs-actions.pod:6277
-#: ../src/guestfs-actions.pod:6294
+#: ../src/guestfs-actions.pod:2211 ../src/guestfs-actions.pod:6283
+#: ../src/guestfs-actions.pod:6300
msgid "(Added in 1.0.50)"
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2207
+#: ../src/guestfs-actions.pod:2213
msgid "guestfs_grep"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2209
+#: ../src/guestfs-actions.pod:2215
#, no-wrap
msgid ""
" char **\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2214 ../fish/guestfish-actions.pod:1490
+#: ../src/guestfs-actions.pod:2220 ../fish/guestfish-actions.pod:1495
msgid "This calls the external C<grep> program and returns the matching lines."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2226
+#: ../src/guestfs-actions.pod:2232
msgid "guestfs_grepi"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2228
+#: ../src/guestfs-actions.pod:2234
#, no-wrap
msgid ""
" char **\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2233 ../fish/guestfish-actions.pod:1500
+#: ../src/guestfs-actions.pod:2239 ../fish/guestfish-actions.pod:1505
msgid ""
"This calls the external C<grep -i> program and returns the matching lines."
msgstr ""
# type: =head2
#. type: =head2
-#: ../src/guestfs-actions.pod:2245
+#: ../src/guestfs-actions.pod:2251
msgid "guestfs_grub_install"
msgstr ""
# type: verbatim
#. type: verbatim
-#: ../src/guestfs-actions.pod:2247
+#: ../src/guestfs-actions.pod:2253
#, no-wrap
msgid ""
" int\n"
# type: textblock
#. type: textblock
-#: ../src/guestfs-actions.pod:2252 ../fish/guestfish-actions.pod:1510
+#: ../src/guestfs-actions.pod:2258 ../fish/guestfish-actions.pod:1515
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:2255 ../fish/guestfish-actions.pod:1513
+#: ../src/guestfs-actions.pod:2261 ../fish/guestfish-actions.pod:1518
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/"