+#. type: textblock
+#: ../src/guestfs-actions.pod:6451
+msgid ""
+"Verbose messages are normally sent to C<stderr>, unless you register a "
+"callback to send them somewhere else (see C<guestfs_set_event_callback>)."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:6459
+msgid "guestfs_setcon"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6461
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_setcon (guestfs_h *g,\n"
+" const char *context);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6465 ../fish/guestfish-actions.pod:4301
+msgid ""
+"This sets the SELinux security context of the daemon to the string "
+"C<context>."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6468 ../fish/guestfish-actions.pod:4304
+msgid "See the documentation about SELINUX in L<guestfs(3)>."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:6474
+msgid "guestfs_setxattr"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6476
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_setxattr (guestfs_h *g,\n"
+" const char *xattr,\n"
+" const char *val,\n"
+" int vallen,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6483 ../fish/guestfish-actions.pod:4310
+msgid ""
+"This call sets the extended attribute named C<xattr> of the file C<path> to "
+"the value C<val> (of length C<vallen>). The value is arbitrary 8 bit data."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6487
+msgid "See also: C<guestfs_lsetxattr>, L<attr(5)>."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:6493
+msgid "guestfs_sfdisk"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6495
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_sfdisk (guestfs_h *g,\n"
+" const char *device,\n"
+" int cyls,\n"
+" int heads,\n"
+" int sectors,\n"
+" char *const *lines);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6503 ../fish/guestfish-actions.pod:4320
+msgid ""
+"This is a direct interface to the L<sfdisk(8)> program for creating "
+"partitions on block devices."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6506 ../fish/guestfish-actions.pod:4323
+msgid "C<device> should be a block device, for example C</dev/sda>."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6508 ../fish/guestfish-actions.pod:4325
+msgid ""
+"C<cyls>, C<heads> and C<sectors> are the number of cylinders, heads and "
+"sectors on the device, which are passed directly to sfdisk as the I<-C>, I<-"
+"H> and I<-S> parameters. If you pass C<0> for any of these, then the "
+"corresponding parameter is omitted. Usually for 'large' disks, you can just "
+"pass C<0> for these, but for small (floppy-sized) disks, sfdisk (or rather, "
+"the kernel) cannot work out the right geometry and you will need to tell it."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6516 ../fish/guestfish-actions.pod:4333
+msgid ""
+"C<lines> is a list of lines that we feed to C<sfdisk>. For more information "
+"refer to the L<sfdisk(8)> manpage."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6519 ../fish/guestfish-actions.pod:4336
+msgid ""
+"To create a single partition occupying the whole disk, you would pass "
+"C<lines> as a single element list, when the single element being the string "
+"C<,> (comma)."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6523
+msgid ""
+"See also: C<guestfs_sfdisk_l>, C<guestfs_sfdisk_N>, C<guestfs_part_init>"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6531 ../src/guestfs-actions.pod:6561
+#: ../src/guestfs-actions.pod:6594 ../fish/guestfish-actions.pod:4346
+#: ../fish/guestfish-actions.pod:4369 ../fish/guestfish-actions.pod:4391
+msgid ""
+"This function is deprecated. In new code, use the C<part_add> call instead."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:6540
+msgid "guestfs_sfdiskM"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6542
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_sfdiskM (guestfs_h *g,\n"
+" const char *device,\n"
+" char *const *lines);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6547
+msgid ""
+"This is a simplified interface to the C<guestfs_sfdisk> command, where "
+"partition sizes are specified in megabytes only (rounded to the nearest "
+"cylinder) and you don't need to specify the cyls, heads and sectors "
+"parameters which were rarely if ever used anyway."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6553
+msgid ""
+"See also: C<guestfs_sfdisk>, the L<sfdisk(8)> manpage and "
+"C<guestfs_part_disk>"
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:6570
+msgid "guestfs_sfdisk_N"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6572
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_sfdisk_N (guestfs_h *g,\n"
+" const char *device,\n"
+" int partnum,\n"
+" int cyls,\n"
+" int heads,\n"
+" int sectors,\n"
+" const char *line);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6581 ../fish/guestfish-actions.pod:4380
+msgid ""
+"This runs L<sfdisk(8)> option to modify just the single partition C<n> "
+"(note: C<n> counts from 1)."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6584
+msgid ""
+"For other parameters, see C<guestfs_sfdisk>. You should usually pass C<0> "
+"for the cyls/heads/sectors parameters."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6587
+msgid "See also: C<guestfs_part_add>"
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:6603
+msgid "guestfs_sfdisk_disk_geometry"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6605
+#, no-wrap
+msgid ""
+" char *\n"
+" guestfs_sfdisk_disk_geometry (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6609
+msgid ""
+"This displays the disk geometry of C<device> read from the partition table. "
+"Especially in the case where the underlying block device has been resized, "
+"this can be different from the kernel's idea of the geometry (see "
+"C<guestfs_sfdisk_kernel_geometry>)."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6614 ../src/guestfs-actions.pod:6630
+#: ../fish/guestfish-actions.pod:4407 ../fish/guestfish-actions.pod:4416
+msgid "The result is in human-readable format, and not designed to be parsed."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:6622
+msgid "guestfs_sfdisk_kernel_geometry"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6624
+#, no-wrap
+msgid ""
+" char *\n"
+" guestfs_sfdisk_kernel_geometry (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6628 ../fish/guestfish-actions.pod:4414
+msgid "This displays the kernel's idea of the geometry of C<device>."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:6638
+msgid "guestfs_sfdisk_l"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6640
+#, no-wrap
+msgid ""
+" char *\n"
+" guestfs_sfdisk_l (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6644 ../fish/guestfish-actions.pod:4423
+msgid ""
+"This displays the partition table on C<device>, in the human-readable output "
+"of the L<sfdisk(8)> command. It is not intended to be parsed."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6648
+msgid "See also: C<guestfs_part_list>"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6653 ../fish/guestfish-actions.pod:4429
+msgid ""
+"This function is deprecated. In new code, use the C<part_list> call instead."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:6662
+msgid "guestfs_sh"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6664
+#, no-wrap
+msgid ""
+" char *\n"
+" guestfs_sh (guestfs_h *g,\n"
+" const char *command);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6668 ../fish/guestfish-actions.pod:4440
+msgid ""
+"This call runs a command from the guest filesystem via the guest's C</bin/"
+"sh>."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6671
+msgid "This is like C<guestfs_command>, but passes the command to:"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6673 ../fish/guestfish-actions.pod:4445
+#, no-wrap
+msgid ""
+" /bin/sh -c \"command\"\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6675 ../fish/guestfish-actions.pod:4447
+msgid ""
+"Depending on the guest's shell, this usually results in wildcards being "
+"expanded, shell expressions being interpolated and so on."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6679
+msgid "All the provisos about C<guestfs_command> apply to this call."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:6686
+msgid "guestfs_sh_lines"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6688
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_sh_lines (guestfs_h *g,\n"
+" const char *command);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6692
+msgid ""
+"This is the same as C<guestfs_sh>, but splits the result into a list of "
+"lines."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6695
+msgid "See also: C<guestfs_command_lines>"
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:6703
+msgid "guestfs_sleep"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6705
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_sleep (guestfs_h *g,\n"
+" int secs);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6709 ../fish/guestfish-actions.pod:4466
+msgid "Sleep for C<secs> seconds."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6713
+msgid "(Added in 1.0.41)"
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:6715 ../src/guestfs-structs.pod:109
+msgid "guestfs_stat"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6717
+#, no-wrap
+msgid ""
+" struct guestfs_stat *\n"
+" guestfs_stat (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6723 ../fish/guestfish-actions.pod:4474
+msgid "This is the same as the C<stat(2)> system call."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:6731 ../src/guestfs-structs.pod:135
+msgid "guestfs_statvfs"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6733
+#, no-wrap
+msgid ""
+" struct guestfs_statvfs *\n"
+" guestfs_statvfs (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6737 ../fish/guestfish-actions.pod:4480
+msgid ""
+"Returns file system statistics for any mounted file system. C<path> should "
+"be a file or directory in the mounted file system (typically it is the mount "
+"point itself, but it doesn't need to be)."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6741 ../fish/guestfish-actions.pod:4484
+msgid "This is the same as the C<statvfs(2)> system call."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6743
+msgid ""
+"This function returns a C<struct guestfs_statvfs *>, or NULL if there was an "
+"error. I<The caller must call C<guestfs_free_statvfs> after use>."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:6749
+msgid "guestfs_strings"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6751
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_strings (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6755 ../fish/guestfish-actions.pod:4490
+msgid ""
+"This runs the L<strings(1)> command on a file and returns the list of "
+"printable strings found."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:6767
+msgid "guestfs_strings_e"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6769
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_strings_e (guestfs_h *g,\n"
+" const char *encoding,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6774
+msgid ""
+"This is like the C<guestfs_strings> command, but allows you to specify the "
+"encoding of strings that are looked for in the source file C<path>."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6778 ../fish/guestfish-actions.pod:4504
+msgid "Allowed encodings are:"
+msgstr ""
+
+# type: =item
+#. type: =item
+#: ../src/guestfs-actions.pod:6782 ../fish/guestfish-actions.pod:4508
+msgid "s"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6784
+msgid ""
+"Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
+"ISO-8859-X (this is what C<guestfs_strings> uses)."
+msgstr ""
+
+# type: =item
+#. type: =item
+#: ../src/guestfs-actions.pod:6787 ../fish/guestfish-actions.pod:4513
+msgid "S"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6789 ../fish/guestfish-actions.pod:4515
+msgid "Single 8-bit-byte characters."
+msgstr ""
+
+# type: =item
+#. type: =item
+#: ../src/guestfs-actions.pod:6791 ../fish/guestfish-actions.pod:4517
+msgid "b"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6793 ../fish/guestfish-actions.pod:4519
+msgid "16-bit big endian strings such as those encoded in UTF-16BE or UCS-2BE."
+msgstr ""
+
+# type: =item
+#. type: =item
+#: ../src/guestfs-actions.pod:6796 ../fish/guestfish-actions.pod:4522
+msgid "l (lower case letter L)"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6798 ../fish/guestfish-actions.pod:4524
+msgid ""
+"16-bit little endian such as UTF-16LE and UCS-2LE. This is useful for "
+"examining binaries in Windows guests."
+msgstr ""
+
+# type: =item
+#. type: =item
+#: ../src/guestfs-actions.pod:6801 ../fish/guestfish-actions.pod:4527
+msgid "B"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6803 ../fish/guestfish-actions.pod:4529
+msgid "32-bit big endian such as UCS-4BE."
+msgstr ""
+
+# type: =item
+#. type: =item
+#: ../src/guestfs-actions.pod:6805 ../fish/guestfish-actions.pod:4531
+msgid "L"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6807 ../fish/guestfish-actions.pod:4533
+msgid "32-bit little endian such as UCS-4LE."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6811 ../fish/guestfish-actions.pod:4537
+msgid "The returned strings are transcoded to UTF-8."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:6822
+msgid "guestfs_swapoff_device"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6824
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_swapoff_device (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6828
+msgid ""
+"This command disables the libguestfs appliance swap device or partition "
+"named C<device>. See C<guestfs_swapon_device>."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:6836
+msgid "guestfs_swapoff_file"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6838
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_swapoff_file (guestfs_h *g,\n"
+" const char *file);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6842 ../fish/guestfish-actions.pod:4554
+msgid "This command disables the libguestfs appliance swap on file."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:6848
+msgid "guestfs_swapoff_label"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6850
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_swapoff_label (guestfs_h *g,\n"
+" const char *label);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6854 ../fish/guestfish-actions.pod:4560
+msgid ""
+"This command disables the libguestfs appliance swap on labeled swap "
+"partition."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:6861
+msgid "guestfs_swapoff_uuid"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6863
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_swapoff_uuid (guestfs_h *g,\n"
+" const char *uuid);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6867 ../fish/guestfish-actions.pod:4567
+msgid ""
+"This command disables the libguestfs appliance swap partition with the given "
+"UUID."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:6874
+msgid "guestfs_swapon_device"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6876
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_swapon_device (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6880
+msgid ""
+"This command enables the libguestfs appliance to use the swap device or "
+"partition named C<device>. The increased memory is made available for all "
+"commands, for example those run using C<guestfs_command> or C<guestfs_sh>."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6885 ../fish/guestfish-actions.pod:4579
+msgid ""
+"Note that you should not swap to existing guest swap partitions unless you "
+"know what you are doing. They may contain hibernation information, or other "
+"information that the guest doesn't want you to trash. You also risk leaking "
+"information about the host to the guest this way. Instead, attach a new "
+"host device to the guest and swap on that."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:6896
+msgid "guestfs_swapon_file"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6898
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_swapon_file (guestfs_h *g,\n"
+" const char *file);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6902
+msgid ""
+"This command enables swap to a file. See C<guestfs_swapon_device> for other "
+"notes."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:6909
+msgid "guestfs_swapon_label"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6911
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_swapon_label (guestfs_h *g,\n"
+" const char *label);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6915
+msgid ""
+"This command enables swap to a labeled swap partition. See "
+"C<guestfs_swapon_device> for other notes."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:6922
+msgid "guestfs_swapon_uuid"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6924
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_swapon_uuid (guestfs_h *g,\n"
+" const char *uuid);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6928
+msgid ""
+"This command enables swap to a swap partition with the given UUID. See "
+"C<guestfs_swapon_device> for other notes."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:6935
+msgid "guestfs_sync"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6937
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_sync (guestfs_h *g);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6940 ../fish/guestfish-actions.pod:4611
+msgid ""
+"This syncs the disk, so that any writes are flushed through to the "
+"underlying disk image."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6943 ../fish/guestfish-actions.pod:4614
+msgid ""
+"You should always call this if you have modified a disk image, before "
+"closing the handle."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:6950
+msgid "guestfs_tail"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6952
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_tail (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6956 ../fish/guestfish-actions.pod:4621
+msgid ""
+"This command returns up to the last 10 lines of a file as a list of strings."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:6968
+msgid "guestfs_tail_n"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6970
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_tail_n (guestfs_h *g,\n"
+" int nrlines,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6975 ../fish/guestfish-actions.pod:4631
+msgid ""
+"If the parameter C<nrlines> is a positive number, this returns the last "
+"C<nrlines> lines of the file C<path>."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6978 ../fish/guestfish-actions.pod:4634
+msgid ""
+"If the parameter C<nrlines> is a negative number, this returns lines from "
+"the file C<path>, starting with the C<-nrlines>th line."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:6992
+msgid "guestfs_tar_in"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6994
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_tar_in (guestfs_h *g,\n"
+" const char *tarfile,\n"
+" const char *directory);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:6999 ../fish/guestfish-actions.pod:4646
+msgid ""
+"This command uploads and unpacks local file C<tarfile> (an I<uncompressed> "
+"tar file) into C<directory>."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7002
+msgid ""
+"To upload a compressed tarball, use C<guestfs_tgz_in> or C<guestfs_txz_in>."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7007 ../src/guestfs-actions.pod:7024
+#: ../src/guestfs-actions.pod:7040 ../src/guestfs-actions.pod:7056
+msgid "(Added in 1.0.3)"
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:7009
+msgid "guestfs_tar_out"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7011
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_tar_out (guestfs_h *g,\n"
+" const char *directory,\n"
+" const char *tarfile);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7016 ../fish/guestfish-actions.pod:4658
+msgid ""
+"This command packs the contents of C<directory> and downloads it to local "
+"file C<tarfile>."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7019
+msgid ""
+"To download a compressed tarball, use C<guestfs_tgz_out> or "
+"C<guestfs_txz_out>."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:7026
+msgid "guestfs_tgz_in"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7028
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_tgz_in (guestfs_h *g,\n"
+" const char *tarball,\n"
+" const char *directory);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7033 ../fish/guestfish-actions.pod:4670
+msgid ""
+"This command uploads and unpacks local file C<tarball> (a I<gzip compressed> "
+"tar file) into C<directory>."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7036
+msgid "To upload an uncompressed tarball, use C<guestfs_tar_in>."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:7042
+msgid "guestfs_tgz_out"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7044
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_tgz_out (guestfs_h *g,\n"
+" const char *directory,\n"
+" const char *tarball);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7049 ../fish/guestfish-actions.pod:4681
+msgid ""
+"This command packs the contents of C<directory> and downloads it to local "
+"file C<tarball>."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7052
+msgid "To download an uncompressed tarball, use C<guestfs_tar_out>."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:7058
+msgid "guestfs_touch"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7060
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_touch (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7064 ../fish/guestfish-actions.pod:4692
+msgid ""
+"Touch acts like the L<touch(1)> command. It can be used to update the "
+"timestamps on a file, or, if the file does not exist, to create a new zero-"
+"length file."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7068 ../fish/guestfish-actions.pod:4696
+msgid ""
+"This command only works on regular files, and will fail on other file types "
+"such as directories, symbolic links, block special etc."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:7075
+msgid "guestfs_truncate"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7077
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_truncate (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7081 ../fish/guestfish-actions.pod:4703
+msgid ""
+"This command truncates C<path> to a zero-length file. The file must exist "
+"already."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:7088
+msgid "guestfs_truncate_size"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7090
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_truncate_size (guestfs_h *g,\n"
+" const char *path,\n"
+" int64_t size);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7095 ../fish/guestfish-actions.pod:4710
+msgid ""
+"This command truncates C<path> to size C<size> bytes. The file must exist "
+"already."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7098
+msgid ""
+"If the current file size is less than C<size> then the file is extended to "
+"the required size with zero bytes. This creates a sparse file (ie. disk "
+"blocks are not allocated for the file until you write to it). To create a "
+"non-sparse file of zeroes, use C<guestfs_fallocate64> instead."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:7108
+msgid "guestfs_tune2fs_l"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7110
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_tune2fs_l (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7114 ../fish/guestfish-actions.pod:4723
+msgid ""
+"This returns the contents of the ext2, ext3 or ext4 filesystem superblock on "
+"C<device>."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7117 ../fish/guestfish-actions.pod:4726
+msgid ""
+"It is the same as running C<tune2fs -l device>. See L<tune2fs(8)> manpage "
+"for more details. The list of fields returned isn't clearly defined, and "
+"depends on both the version of C<tune2fs> that libguestfs was built against, "
+"and the filesystem itself."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:7130
+msgid "guestfs_txz_in"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7132
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_txz_in (guestfs_h *g,\n"
+" const char *tarball,\n"
+" const char *directory);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7137 ../fish/guestfish-actions.pod:4735
+msgid ""
+"This command uploads and unpacks local file C<tarball> (an I<xz compressed> "
+"tar file) into C<directory>."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:7144
+msgid "guestfs_txz_out"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7146
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_txz_out (guestfs_h *g,\n"
+" const char *directory,\n"
+" const char *tarball);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7151 ../fish/guestfish-actions.pod:4744
+msgid ""
+"This command packs the contents of C<directory> and downloads it to local "
+"file C<tarball> (as an xz compressed tar archive)."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:7158
+msgid "guestfs_umask"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7160
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_umask (guestfs_h *g,\n"
+" int mask);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7164 ../fish/guestfish-actions.pod:4753
+msgid ""
+"This function sets the mask used for creating new files and device nodes to "
+"C<mask & 0777>."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7167 ../fish/guestfish-actions.pod:4756
+msgid ""
+"Typical umask values would be C<022> which creates new files with "
+"permissions like \"-rw-r--r--\" or \"-rwxr-xr-x\", and C<002> which creates "
+"new files with permissions like \"-rw-rw-r--\" or \"-rwxrwxr-x\"."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7172 ../fish/guestfish-actions.pod:4761
+msgid ""
+"The default umask is C<022>. This is important because it means that "
+"directories and device nodes will be created with C<0644> or C<0755> mode "
+"even if you specify C<0777>."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7176
+msgid ""
+"See also C<guestfs_get_umask>, L<umask(2)>, C<guestfs_mknod>, "
+"C<guestfs_mkdir>."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7179 ../fish/guestfish-actions.pod:4768
+msgid "This call returns the previous umask."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:7185
+msgid "guestfs_umount"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7187
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_umount (guestfs_h *g,\n"
+" const char *pathordevice);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7191 ../fish/guestfish-actions.pod:4776
+msgid ""
+"This unmounts the given filesystem. The filesystem may be specified either "
+"by its mountpoint (path) or the device which contains the filesystem."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:7199
+msgid "guestfs_umount_all"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7201
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_umount_all (guestfs_h *g);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7204 ../fish/guestfish-actions.pod:4786
+msgid "This unmounts all mounted filesystems."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7206 ../fish/guestfish-actions.pod:4788
+msgid "Some internal mounts are not unmounted by this call."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:7212
+msgid "guestfs_upload"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7214
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_upload (guestfs_h *g,\n"
+" const char *filename,\n"
+" const char *remotefilename);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7219 ../src/guestfs-actions.pod:7243
+#: ../fish/guestfish-actions.pod:4794 ../fish/guestfish-actions.pod:4807
+msgid "Upload local file C<filename> to C<remotefilename> on the filesystem."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7224
+msgid "See also C<guestfs_download>."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:7235
+msgid "guestfs_upload_offset"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7237
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_upload_offset (guestfs_h *g,\n"
+" const char *filename,\n"
+" const char *remotefilename,\n"
+" int64_t offset);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7246 ../fish/guestfish-actions.pod:4810
+msgid ""
+"C<remotefilename> is overwritten starting at the byte C<offset> specified. "
+"The intention is to overwrite parts of existing files or devices, although "
+"if a non-existant file is specified then it is created with a \"hole\" "
+"before C<offset>. The size of the data written is implicit in the size of "
+"the source C<filename>."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7253
+msgid ""
+"Note that there is no limit on the amount of data that can be uploaded with "
+"this call, unlike with C<guestfs_pwrite>, and this call always writes the "
+"full amount unless an error occurs."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7258
+msgid "See also C<guestfs_upload>, C<guestfs_pwrite>."
+msgstr ""
+
+# type: =head2
+#. type: =head2
+#: ../src/guestfs-actions.pod:7269
+msgid "guestfs_utimens"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7271
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_utimens (guestfs_h *g,\n"
+" const char *path,\n"
+" int64_t atsecs,\n"
+" int64_t atnsecs,\n"
+" int64_t mtsecs,\n"
+" int64_t mtnsecs);\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7279 ../fish/guestfish-actions.pod:4830
+msgid "This command sets the timestamps of a file with nanosecond precision."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7282 ../fish/guestfish-actions.pod:4833
+msgid ""
+"C<atsecs, atnsecs> are the last access time (atime) in secs and nanoseconds "
+"from the epoch."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7285 ../fish/guestfish-actions.pod:4836
+msgid ""
+"C<mtsecs, mtnsecs> are the last modification time (mtime) in secs and "
+"nanoseconds from the epoch."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: ../src/guestfs-actions.pod:7288 ../fish/guestfish-actions.pod:4839
+msgid ""
+"If the C<*nsecs> field contains the special value C<-1> then the "
+"corresponding timestamp is set to the current time. (The C<*secs> field is "
+"ignored in this case)."