+"All entries in the directory are returned, including C<.> and C<..>. The "
+"entries are I<not> sorted, but returned in the same order as the underlying "
+"filesystem."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5657 ../fish/guestfish-actions.pod:3737
+msgid ""
+"Also this call returns basic file type information about each file. The "
+"C<ftyp> field will contain one of the following characters:"
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5662 ../fish/guestfish-actions.pod:3742
+msgid "'b'"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5664 ../fish/guestfish-actions.pod:3744
+msgid "Block special"
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5666 ../fish/guestfish-actions.pod:3746
+msgid "'c'"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5668 ../fish/guestfish-actions.pod:3748
+msgid "Char special"
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5670 ../fish/guestfish-actions.pod:3750
+msgid "'d'"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5672 ../fish/guestfish-actions.pod:3752
+msgid "Directory"
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5674 ../fish/guestfish-actions.pod:3754
+msgid "'f'"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5676 ../fish/guestfish-actions.pod:3756
+msgid "FIFO (named pipe)"
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5678 ../fish/guestfish-actions.pod:3758
+msgid "'l'"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5680 ../fish/guestfish-actions.pod:3760
+msgid "Symbolic link"
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5682 ../fish/guestfish-actions.pod:3762
+msgid "'r'"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5684 ../fish/guestfish-actions.pod:3764
+msgid "Regular file"
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5686 ../fish/guestfish-actions.pod:3766
+msgid "'s'"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5688 ../fish/guestfish-actions.pod:3768
+msgid "Socket"
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5690 ../fish/guestfish-actions.pod:3770
+msgid "'u'"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5692 ../fish/guestfish-actions.pod:3772
+msgid "Unknown file type"
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5694 ../fish/guestfish-actions.pod:3774
+msgid "'?'"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5696 ../fish/guestfish-actions.pod:3776
+msgid "The L<readdir(3)> call returned a C<d_type> field with an unexpected value"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5701
+msgid ""
+"This function is primarily intended for use by programs. To get a simple "
+"list of names, use C<guestfs_ls>. To get a printable directory for human "
+"consumption, use C<guestfs_ll>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5705
+msgid ""
+"This function returns a C<struct guestfs_dirent_list *>, or NULL if there "
+"was an error. I<The caller must call C<guestfs_free_dirent_list> after "
+"use>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5711
+msgid "guestfs_readlink"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5713
+#, no-wrap
+msgid ""
+" char *\n"
+" guestfs_readlink (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5717 ../fish/guestfish-actions.pod:3789
+msgid "This command reads the target of a symbolic link."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5724
+msgid "guestfs_readlinklist"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5726
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_readlinklist (guestfs_h *g,\n"
+" const char *path,\n"
+" char *const *names);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5731 ../fish/guestfish-actions.pod:3795
+msgid ""
+"This call allows you to do a C<readlink> operation on multiple files, where "
+"all files are in the directory C<path>. C<names> is the list of files from "
+"this directory."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5735 ../fish/guestfish-actions.pod:3799
+msgid ""
+"On return you get a list of strings, with a one-to-one correspondence to the "
+"C<names> list. Each string is the value of the symbolic link."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5739 ../fish/guestfish-actions.pod:3803
+msgid ""
+"If the C<readlink(2)> operation fails on any name, then the corresponding "
+"result string is the empty string C<\"\">. However the whole operation is "
+"completed even if there were C<readlink(2)> errors, and so you can call this "
+"function with names where you don't know if they are symbolic links already "
+"(albeit slightly less efficient)."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5746 ../fish/guestfish-actions.pod:3810
+msgid ""
+"This call is intended for programs that want to efficiently list a directory "
+"contents without making many round-trips. Very long directory listings "
+"might cause the protocol message size to be exceeded, causing this call to "
+"fail. The caller must split up such requests into smaller groups of names."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5759
+msgid "guestfs_realpath"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5761
+#, no-wrap
+msgid ""
+" char *\n"
+" guestfs_realpath (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5765 ../fish/guestfish-actions.pod:3821
+msgid ""
+"Return the canonicalized absolute pathname of C<path>. The returned path "
+"has no C<.>, C<..> or symbolic link path elements."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5773
+msgid "guestfs_removexattr"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5775
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_removexattr (guestfs_h *g,\n"
+" const char *xattr,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5780 ../fish/guestfish-actions.pod:3828
+msgid "This call removes the extended attribute named C<xattr> of the file C<path>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5783
+msgid "See also: C<guestfs_lremovexattr>, L<attr(5)>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5789
+msgid "guestfs_resize2fs"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5791
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_resize2fs (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5795 ../fish/guestfish-actions.pod:3837
+msgid ""
+"This resizes an ext2, ext3 or ext4 filesystem to match the size of the "
+"underlying device."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5798
+msgid ""
+"I<Note:> It is sometimes required that you run C<guestfs_e2fsck_f> on the "
+"C<device> before calling this command. For unknown reasons C<resize2fs> "
+"sometimes gives an error about this and sometimes not. In any case, it is "
+"always safe to call C<guestfs_e2fsck_f> before calling this function."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5808
+msgid "guestfs_resize2fs_M"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5810
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_resize2fs_M (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5814
+msgid ""
+"This command is the same as C<guestfs_resize2fs>, but the filesystem is "
+"resized to its minimum size. This works like the I<-M> option to the "
+"C<resize2fs> command."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5818
+msgid ""
+"To get the resulting size of the filesystem you should call "
+"C<guestfs_tune2fs_l> and read the C<Block size> and C<Block count> values. "
+"These two numbers, multiplied together, give the resulting size of the "
+"minimal filesystem in bytes."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5827
+msgid "guestfs_resize2fs_size"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5829
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_resize2fs_size (guestfs_h *g,\n"
+" const char *device,\n"
+" int64_t size);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5834
+msgid ""
+"This command is the same as C<guestfs_resize2fs> except that it allows you "
+"to specify the new size (in bytes) explicitly."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5841
+msgid "guestfs_rm"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5843
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_rm (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5847 ../fish/guestfish-actions.pod:3870
+msgid "Remove the single file C<path>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5853
+msgid "guestfs_rm_rf"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5855
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_rm_rf (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5859 ../fish/guestfish-actions.pod:3876
+msgid ""
+"Remove the file or directory C<path>, recursively removing the contents if "
+"its a directory. This is like the C<rm -rf> shell command."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5867
+msgid "guestfs_rmdir"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5869
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_rmdir (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5873 ../fish/guestfish-actions.pod:3884
+msgid "Remove the single directory C<path>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5879
+msgid "guestfs_rmmountpoint"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5881
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_rmmountpoint (guestfs_h *g,\n"
+" const char *exemptpath);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5885
+msgid ""
+"This calls removes a mountpoint that was previously created with "
+"C<guestfs_mkmountpoint>. See C<guestfs_mkmountpoint> for full details."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5893
+msgid "guestfs_scrub_device"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5895
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_scrub_device (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5899 ../fish/guestfish-actions.pod:3898
+msgid ""
+"This command writes patterns over C<device> to make data retrieval more "
+"difficult."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5902 ../src/guestfs-actions.pod:5923 ../src/guestfs-actions.pod:5942 ../fish/guestfish-actions.pod:3901 ../fish/guestfish-actions.pod:3916 ../fish/guestfish-actions.pod:3929
+msgid ""
+"It is an interface to the L<scrub(1)> program. See that manual page for "
+"more details."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5910 ../src/guestfs-actions.pod:5928 ../src/guestfs-actions.pod:5947
+msgid "(Added in 1.0.52)"
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5912
+msgid "guestfs_scrub_file"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5914
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_scrub_file (guestfs_h *g,\n"
+" const char *file);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5918 ../fish/guestfish-actions.pod:3911
+msgid ""
+"This command writes patterns over a file to make data retrieval more "
+"difficult."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5921 ../fish/guestfish-actions.pod:3914
+msgid "The file is I<removed> after scrubbing."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5930
+msgid "guestfs_scrub_freespace"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5932
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_scrub_freespace (guestfs_h *g,\n"
+" const char *dir);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5936
+msgid ""
+"This command creates the directory C<dir> and then fills it with files until "
+"the filesystem is full, and scrubs the files as for C<guestfs_scrub_file>, "
+"and deletes them. The intention is to scrub any free space on the partition "
+"containing C<dir>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5949
+msgid "guestfs_set_append"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5951
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_append (guestfs_h *g,\n"
+" const char *append);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5955 ../fish/guestfish-actions.pod:3938
+msgid ""
+"This function is used to add additional options to the guest kernel command "
+"line."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5958 ../fish/guestfish-actions.pod:3941
+msgid ""
+"The default is C<NULL> unless overridden by setting C<LIBGUESTFS_APPEND> "
+"environment variable."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5961 ../fish/guestfish-actions.pod:3944
+msgid ""
+"Setting C<append> to C<NULL> means I<no> additional options are passed "
+"(libguestfs always adds a few of its own)."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5968
+msgid "guestfs_set_attach_method"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5970
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_attach_method (guestfs_h *g,\n"
+" const char *attachmethod);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5974 ../fish/guestfish-actions.pod:3953
+msgid ""
+"Set the method that libguestfs uses to connect to the back end guestfsd "
+"daemon. Possible methods are:"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5981 ../fish/guestfish-actions.pod:3960
+msgid ""
+"Launch an appliance and connect to it. This is the ordinary method and the "
+"default."
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5984 ../fish/guestfish-actions.pod:3963
+msgid "C<unix:I<path>>"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5986 ../fish/guestfish-actions.pod:3965
+msgid "Connect to the Unix domain socket I<path>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5988 ../fish/guestfish-actions.pod:3967
+msgid ""
+"This method lets you connect to an existing daemon or (using virtio-serial) "
+"to a live guest. For more information, see L<guestfs(3)/ATTACHING TO "
+"RUNNING DAEMONS>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5998
+msgid "guestfs_set_autosync"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6000
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_autosync (guestfs_h *g,\n"
+" int autosync);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6004 ../fish/guestfish-actions.pod:3979
+msgid ""
+"If C<autosync> is true, this enables autosync. Libguestfs will make a best "
+"effort attempt to make filesystems consistent and synchronized when the "
+"handle is closed (also if the program exits without closing handles)."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6009 ../fish/guestfish-actions.pod:3984
+msgid ""
+"This is enabled by default (since libguestfs 1.5.24, previously it was "
+"disabled by default)."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6016
+msgid "guestfs_set_direct"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6018
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_direct (guestfs_h *g,\n"
+" int direct);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6022 ../fish/guestfish-actions.pod:3993
+msgid ""
+"If the direct appliance mode flag is enabled, then stdin and stdout are "
+"passed directly through to the appliance once it is launched."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6026
+msgid ""
+"One consequence of this is that log messages aren't caught by the library "
+"and handled by C<guestfs_set_log_message_callback>, but go straight to "
+"stdout."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6030 ../fish/guestfish-actions.pod:4001
+msgid "You probably don't want to use this unless you know what you are doing."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6033 ../fish/guestfish-actions.pod:4004
+msgid "The default is disabled."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6039
+msgid "guestfs_set_e2label"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6041
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_e2label (guestfs_h *g,\n"
+" const char *device,\n"
+" const char *label);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6046 ../fish/guestfish-actions.pod:4010
+msgid ""
+"This sets the ext2/3/4 filesystem label of the filesystem on C<device> to "
+"C<label>. Filesystem labels are limited to 16 characters."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6050
+msgid ""
+"You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2label> to return "
+"the existing label on a filesystem."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6057
+msgid "guestfs_set_e2uuid"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6059
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_e2uuid (guestfs_h *g,\n"
+" const char *device,\n"
+" const char *uuid);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6064 ../fish/guestfish-actions.pod:4021
+msgid ""
+"This sets the ext2/3/4 filesystem UUID of the filesystem on C<device> to "
+"C<uuid>. The format of the UUID and alternatives such as C<clear>, "
+"C<random> and C<time> are described in the L<tune2fs(8)> manpage."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6069
+msgid ""
+"You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2uuid> to return "
+"the existing UUID of a filesystem."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6076
+msgid "guestfs_set_memsize"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6078
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_memsize (guestfs_h *g,\n"
+" int memsize);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6082
+msgid ""
+"This sets the memory size in megabytes allocated to the qemu subprocess. "
+"This only has any effect if called before C<guestfs_launch>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6086 ../fish/guestfish-actions.pod:4039
+msgid ""
+"You can also change this by setting the environment variable "
+"C<LIBGUESTFS_MEMSIZE> before the handle is created."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6097
+msgid "guestfs_set_network"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6099
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_network (guestfs_h *g,\n"
+" int network);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6103 ../fish/guestfish-actions.pod:4052
+msgid ""
+"If C<network> is true, then the network is enabled in the libguestfs "
+"appliance. The default is false."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6106 ../fish/guestfish-actions.pod:4055
+msgid ""
+"This affects whether commands are able to access the network (see "
+"L<guestfs(3)/RUNNING COMMANDS>)."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6109
+msgid ""
+"You must call this before calling C<guestfs_launch>, otherwise it has no "
+"effect."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6116
+msgid "guestfs_set_path"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6118
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_path (guestfs_h *g,\n"
+" const char *searchpath);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6122 ../fish/guestfish-actions.pod:4067
+msgid "Set the path that libguestfs searches for kernel and initrd.img."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6124 ../fish/guestfish-actions.pod:4069
+msgid ""
+"The default is C<$libdir/guestfs> unless overridden by setting "
+"C<LIBGUESTFS_PATH> environment variable."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6127 ../fish/guestfish-actions.pod:4072
+msgid "Setting C<path> to C<NULL> restores the default path."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6133
+msgid "guestfs_set_qemu"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6135
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_qemu (guestfs_h *g,\n"
+" const char *qemu);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6139 ../fish/guestfish-actions.pod:4080
+msgid "Set the qemu binary that we will use."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6141 ../fish/guestfish-actions.pod:4082
+msgid "The default is chosen when the library was compiled by the configure script."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6144 ../fish/guestfish-actions.pod:4085
+msgid ""
+"You can also override this by setting the C<LIBGUESTFS_QEMU> environment "
+"variable."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6147 ../fish/guestfish-actions.pod:4088
+msgid "Setting C<qemu> to C<NULL> restores the default qemu binary."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6149 ../fish/guestfish-actions.pod:4090
+msgid ""
+"Note that you should call this function as early as possible after creating "
+"the handle. This is because some pre-launch operations depend on testing "
+"qemu features (by running C<qemu -help>). If the qemu binary changes, we "
+"don't retest features, and so you might see inconsistent results. Using the "
+"environment variable C<LIBGUESTFS_QEMU> is safest of all since that picks "
+"the qemu binary at the same time as the handle is created."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6161
+msgid "guestfs_set_recovery_proc"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6163
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_recovery_proc (guestfs_h *g,\n"
+" int recoveryproc);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6167
+msgid ""
+"If this is called with the parameter C<false> then C<guestfs_launch> does "
+"not create a recovery process. The purpose of the recovery process is to "
+"stop runaway qemu processes in the case where the main program aborts "
+"abruptly."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6172
+msgid ""
+"This only has any effect if called before C<guestfs_launch>, and the default "
+"is true."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6175 ../fish/guestfish-actions.pod:4112
+msgid ""
+"About the only time when you would want to disable this is if the main "
+"process will fork itself into the background (\"daemonize\" itself). In "
+"this case the recovery process thinks that the main program has disappeared "
+"and so kills qemu, which is not very helpful."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6185
+msgid "guestfs_set_selinux"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6187
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_selinux (guestfs_h *g,\n"
+" int selinux);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6191 ../fish/guestfish-actions.pod:4124
+msgid ""
+"This sets the selinux flag that is passed to the appliance at boot time. "
+"The default is C<selinux=0> (disabled)."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6194 ../fish/guestfish-actions.pod:4127
+msgid ""
+"Note that if SELinux is enabled, it is always in Permissive mode "
+"(C<enforcing=0>)."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6204
+msgid "guestfs_set_trace"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6206
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_trace (guestfs_h *g,\n"
+" int trace);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6210 ../fish/guestfish-actions.pod:4139
+msgid ""
+"If the command trace flag is set to 1, then libguestfs calls, parameters and "
+"return values are traced."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6213 ../fish/guestfish-actions.pod:4142
+msgid ""
+"If you want to trace C API calls into libguestfs (and other libraries) then "
+"possibly a better way is to use the external ltrace(1) command."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6217 ../fish/guestfish-actions.pod:4146
+msgid ""
+"Command traces are disabled unless the environment variable "
+"C<LIBGUESTFS_TRACE> is defined and set to C<1>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6220
+msgid ""
+"Trace 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
+#: ../src/guestfs-actions.pod:6228
+msgid "guestfs_set_verbose"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6230
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_verbose (guestfs_h *g,\n"
+" int verbose);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6234 ../fish/guestfish-actions.pod:4159
+msgid "If C<verbose> is true, this turns on verbose messages."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6236 ../fish/guestfish-actions.pod:4161
+msgid ""
+"Verbose messages are disabled unless the environment variable "
+"C<LIBGUESTFS_DEBUG> is defined and set to C<1>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6239
+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
+#: ../src/guestfs-actions.pod:6247
+msgid "guestfs_setcon"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6249
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_setcon (guestfs_h *g,\n"
+" const char *context);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6253 ../fish/guestfish-actions.pod:4172
+msgid ""
+"This sets the SELinux security context of the daemon to the string "
+"C<context>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6256 ../fish/guestfish-actions.pod:4175
+msgid "See the documentation about SELINUX in L<guestfs(3)>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6262
+msgid "guestfs_setxattr"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6264
+#, 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
+#: ../src/guestfs-actions.pod:6271 ../fish/guestfish-actions.pod:4181
+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
+#: ../src/guestfs-actions.pod:6275
+msgid "See also: C<guestfs_lsetxattr>, L<attr(5)>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6281
+msgid "guestfs_sfdisk"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6283
+#, 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
+#: ../src/guestfs-actions.pod:6291 ../fish/guestfish-actions.pod:4191
+msgid ""
+"This is a direct interface to the L<sfdisk(8)> program for creating "
+"partitions on block devices."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6294 ../fish/guestfish-actions.pod:4194
+msgid "C<device> should be a block device, for example C</dev/sda>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6296 ../fish/guestfish-actions.pod:4196
+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
+#: ../src/guestfs-actions.pod:6304 ../fish/guestfish-actions.pod:4204
+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
+#: ../src/guestfs-actions.pod:6307 ../fish/guestfish-actions.pod:4207
+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
+#: ../src/guestfs-actions.pod:6311
+msgid "See also: C<guestfs_sfdisk_l>, C<guestfs_sfdisk_N>, C<guestfs_part_init>"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6319 ../src/guestfs-actions.pod:6349 ../src/guestfs-actions.pod:6382 ../fish/guestfish-actions.pod:4217 ../fish/guestfish-actions.pod:4240 ../fish/guestfish-actions.pod:4262
+msgid "This function is deprecated. In new code, use the C<part_add> call instead."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6328
+msgid "guestfs_sfdiskM"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6330
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_sfdiskM (guestfs_h *g,\n"
+" const char *device,\n"
+" char *const *lines);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6335
+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
+#: ../src/guestfs-actions.pod:6341
+msgid ""
+"See also: C<guestfs_sfdisk>, the L<sfdisk(8)> manpage and "
+"C<guestfs_part_disk>"
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6358
+msgid "guestfs_sfdisk_N"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6360
+#, 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
+#: ../src/guestfs-actions.pod:6369 ../fish/guestfish-actions.pod:4251
+msgid ""
+"This runs L<sfdisk(8)> option to modify just the single partition C<n> "
+"(note: C<n> counts from 1)."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6372
+msgid ""
+"For other parameters, see C<guestfs_sfdisk>. You should usually pass C<0> "
+"for the cyls/heads/sectors parameters."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6375
+msgid "See also: C<guestfs_part_add>"
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6391
+msgid "guestfs_sfdisk_disk_geometry"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6393
+#, no-wrap
+msgid ""
+" char *\n"
+" guestfs_sfdisk_disk_geometry (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6397
+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
+#: ../src/guestfs-actions.pod:6402 ../src/guestfs-actions.pod:6418 ../fish/guestfish-actions.pod:4278 ../fish/guestfish-actions.pod:4287
+msgid "The result is in human-readable format, and not designed to be parsed."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6410
+msgid "guestfs_sfdisk_kernel_geometry"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6412
+#, no-wrap
+msgid ""
+" char *\n"
+" guestfs_sfdisk_kernel_geometry (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6416 ../fish/guestfish-actions.pod:4285
+msgid "This displays the kernel's idea of the geometry of C<device>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6426
+msgid "guestfs_sfdisk_l"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6428
+#, no-wrap
+msgid ""
+" char *\n"
+" guestfs_sfdisk_l (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6432 ../fish/guestfish-actions.pod:4294
+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
+#: ../src/guestfs-actions.pod:6436
+msgid "See also: C<guestfs_part_list>"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6441 ../fish/guestfish-actions.pod:4300
+msgid ""
+"This function is deprecated. In new code, use the C<part_list> call "
+"instead."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6450
+msgid "guestfs_sh"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6452
+#, no-wrap
+msgid ""
+" char *\n"
+" guestfs_sh (guestfs_h *g,\n"
+" const char *command);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6456 ../fish/guestfish-actions.pod:4311
+msgid ""
+"This call runs a command from the guest filesystem via the guest's "
+"C</bin/sh>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6459
+msgid "This is like C<guestfs_command>, but passes the command to:"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6461 ../fish/guestfish-actions.pod:4316
+#, no-wrap
+msgid ""
+" /bin/sh -c \"command\"\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6463 ../fish/guestfish-actions.pod:4318
+msgid ""
+"Depending on the guest's shell, this usually results in wildcards being "
+"expanded, shell expressions being interpolated and so on."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6467
+msgid "All the provisos about C<guestfs_command> apply to this call."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6474
+msgid "guestfs_sh_lines"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6476
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_sh_lines (guestfs_h *g,\n"
+" const char *command);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6480
+msgid ""
+"This is the same as C<guestfs_sh>, but splits the result into a list of "
+"lines."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6483
+msgid "See also: C<guestfs_command_lines>"
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6491
+msgid "guestfs_sleep"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6493
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_sleep (guestfs_h *g,\n"
+" int secs);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6497 ../fish/guestfish-actions.pod:4337
+msgid "Sleep for C<secs> seconds."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6501
+msgid "(Added in 1.0.41)"
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6503 ../src/guestfs-structs.pod:109
+msgid "guestfs_stat"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6505
+#, no-wrap
+msgid ""
+" struct guestfs_stat *\n"
+" guestfs_stat (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6511 ../fish/guestfish-actions.pod:4345
+msgid "This is the same as the C<stat(2)> system call."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6519 ../src/guestfs-structs.pod:135
+msgid "guestfs_statvfs"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6521
+#, no-wrap
+msgid ""
+" struct guestfs_statvfs *\n"
+" guestfs_statvfs (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6525 ../fish/guestfish-actions.pod:4351
+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
+#: ../src/guestfs-actions.pod:6529 ../fish/guestfish-actions.pod:4355
+msgid "This is the same as the C<statvfs(2)> system call."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6531
+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
+#: ../src/guestfs-actions.pod:6537
+msgid "guestfs_strings"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6539
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_strings (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6543 ../fish/guestfish-actions.pod:4361
+msgid ""
+"This runs the L<strings(1)> command on a file and returns the list of "
+"printable strings found."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6555
+msgid "guestfs_strings_e"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6557
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_strings_e (guestfs_h *g,\n"
+" const char *encoding,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6562
+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
+#: ../src/guestfs-actions.pod:6566 ../fish/guestfish-actions.pod:4375
+msgid "Allowed encodings are:"
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:6570 ../fish/guestfish-actions.pod:4379
+msgid "s"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6572
+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
+#: ../src/guestfs-actions.pod:6575 ../fish/guestfish-actions.pod:4384
+msgid "S"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6577 ../fish/guestfish-actions.pod:4386
+msgid "Single 8-bit-byte characters."
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:6579 ../fish/guestfish-actions.pod:4388
+msgid "b"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6581 ../fish/guestfish-actions.pod:4390
+msgid "16-bit big endian strings such as those encoded in UTF-16BE or UCS-2BE."
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:6584 ../fish/guestfish-actions.pod:4393
+msgid "l (lower case letter L)"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6586 ../fish/guestfish-actions.pod:4395
+msgid ""
+"16-bit little endian such as UTF-16LE and UCS-2LE. This is useful for "
+"examining binaries in Windows guests."
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:6589 ../fish/guestfish-actions.pod:4398
+msgid "B"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6591 ../fish/guestfish-actions.pod:4400
+msgid "32-bit big endian such as UCS-4BE."
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:6593 ../fish/guestfish-actions.pod:4402
+msgid "L"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6595 ../fish/guestfish-actions.pod:4404
+msgid "32-bit little endian such as UCS-4LE."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6599 ../fish/guestfish-actions.pod:4408
+msgid "The returned strings are transcoded to UTF-8."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6610
+msgid "guestfs_swapoff_device"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6612
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_swapoff_device (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6616
+msgid ""
+"This command disables the libguestfs appliance swap device or partition "
+"named C<device>. See C<guestfs_swapon_device>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6624
+msgid "guestfs_swapoff_file"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6626
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_swapoff_file (guestfs_h *g,\n"
+" const char *file);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6630 ../fish/guestfish-actions.pod:4425
+msgid "This command disables the libguestfs appliance swap on file."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6636
+msgid "guestfs_swapoff_label"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6638
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_swapoff_label (guestfs_h *g,\n"
+" const char *label);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6642 ../fish/guestfish-actions.pod:4431
+msgid ""
+"This command disables the libguestfs appliance swap on labeled swap "
+"partition."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6649
+msgid "guestfs_swapoff_uuid"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6651
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_swapoff_uuid (guestfs_h *g,\n"
+" const char *uuid);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6655 ../fish/guestfish-actions.pod:4438
+msgid ""
+"This command disables the libguestfs appliance swap partition with the given "
+"UUID."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6662
+msgid "guestfs_swapon_device"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6664
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_swapon_device (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6668
+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
+#: ../src/guestfs-actions.pod:6673 ../fish/guestfish-actions.pod:4450
+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
+#: ../src/guestfs-actions.pod:6684
+msgid "guestfs_swapon_file"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6686
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_swapon_file (guestfs_h *g,\n"
+" const char *file);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6690
+msgid ""
+"This command enables swap to a file. See C<guestfs_swapon_device> for other "
+"notes."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6697
+msgid "guestfs_swapon_label"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6699
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_swapon_label (guestfs_h *g,\n"
+" const char *label);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6703
+msgid ""
+"This command enables swap to a labeled swap partition. See "
+"C<guestfs_swapon_device> for other notes."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6710
+msgid "guestfs_swapon_uuid"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6712
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_swapon_uuid (guestfs_h *g,\n"
+" const char *uuid);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6716
+msgid ""
+"This command enables swap to a swap partition with the given UUID. See "
+"C<guestfs_swapon_device> for other notes."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6723
+msgid "guestfs_sync"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6725
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_sync (guestfs_h *g);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6728 ../fish/guestfish-actions.pod:4482
+msgid ""
+"This syncs the disk, so that any writes are flushed through to the "
+"underlying disk image."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6731 ../fish/guestfish-actions.pod:4485
+msgid ""
+"You should always call this if you have modified a disk image, before "
+"closing the handle."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6738
+msgid "guestfs_tail"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6740
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_tail (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6744 ../fish/guestfish-actions.pod:4492
+msgid "This command returns up to the last 10 lines of a file as a list of strings."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6756
+msgid "guestfs_tail_n"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6758
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_tail_n (guestfs_h *g,\n"
+" int nrlines,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6763 ../fish/guestfish-actions.pod:4502
+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
+#: ../src/guestfs-actions.pod:6766 ../fish/guestfish-actions.pod:4505
+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
+#: ../src/guestfs-actions.pod:6780
+msgid "guestfs_tar_in"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6782
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_tar_in (guestfs_h *g,\n"
+" const char *tarfile,\n"
+" const char *directory);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6787 ../fish/guestfish-actions.pod:4517
+msgid ""
+"This command uploads and unpacks local file C<tarfile> (an I<uncompressed> "
+"tar file) into C<directory>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6790
+msgid "To upload a compressed tarball, use C<guestfs_tgz_in> or C<guestfs_txz_in>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6795 ../src/guestfs-actions.pod:6812 ../src/guestfs-actions.pod:6828 ../src/guestfs-actions.pod:6844
+msgid "(Added in 1.0.3)"
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6797
+msgid "guestfs_tar_out"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6799
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_tar_out (guestfs_h *g,\n"
+" const char *directory,\n"
+" const char *tarfile);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6804 ../fish/guestfish-actions.pod:4529
+msgid ""
+"This command packs the contents of C<directory> and downloads it to local "
+"file C<tarfile>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6807
+msgid ""
+"To download a compressed tarball, use C<guestfs_tgz_out> or "
+"C<guestfs_txz_out>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6814
+msgid "guestfs_tgz_in"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6816
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_tgz_in (guestfs_h *g,\n"
+" const char *tarball,\n"
+" const char *directory);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6821 ../fish/guestfish-actions.pod:4541
+msgid ""
+"This command uploads and unpacks local file C<tarball> (a I<gzip compressed> "
+"tar file) into C<directory>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6824
+msgid "To upload an uncompressed tarball, use C<guestfs_tar_in>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6830
+msgid "guestfs_tgz_out"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6832
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_tgz_out (guestfs_h *g,\n"
+" const char *directory,\n"
+" const char *tarball);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6837 ../fish/guestfish-actions.pod:4552
+msgid ""
+"This command packs the contents of C<directory> and downloads it to local "
+"file C<tarball>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6840
+msgid "To download an uncompressed tarball, use C<guestfs_tar_out>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6846
+msgid "guestfs_touch"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6848
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_touch (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6852 ../fish/guestfish-actions.pod:4563
+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
+#: ../src/guestfs-actions.pod:6856 ../fish/guestfish-actions.pod:4567
+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
+#: ../src/guestfs-actions.pod:6863
+msgid "guestfs_truncate"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6865
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_truncate (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6869 ../fish/guestfish-actions.pod:4574
+msgid ""
+"This command truncates C<path> to a zero-length file. The file must exist "
+"already."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6876
+msgid "guestfs_truncate_size"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6878
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_truncate_size (guestfs_h *g,\n"
+" const char *path,\n"
+" int64_t size);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6883 ../fish/guestfish-actions.pod:4581
+msgid ""
+"This command truncates C<path> to size C<size> bytes. The file must exist "
+"already."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6886
+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
+#: ../src/guestfs-actions.pod:6896
+msgid "guestfs_tune2fs_l"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6898
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_tune2fs_l (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6902 ../fish/guestfish-actions.pod:4594
+msgid ""
+"This returns the contents of the ext2, ext3 or ext4 filesystem superblock on "
+"C<device>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6905 ../fish/guestfish-actions.pod:4597
+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
+#: ../src/guestfs-actions.pod:6918
+msgid "guestfs_txz_in"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6920
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_txz_in (guestfs_h *g,\n"
+" const char *tarball,\n"
+" const char *directory);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6925 ../fish/guestfish-actions.pod:4606
+msgid ""
+"This command uploads and unpacks local file C<tarball> (an I<xz compressed> "
+"tar file) into C<directory>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6932
+msgid "guestfs_txz_out"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6934
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_txz_out (guestfs_h *g,\n"
+" const char *directory,\n"
+" const char *tarball);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6939 ../fish/guestfish-actions.pod:4615
+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
+#: ../src/guestfs-actions.pod:6946
+msgid "guestfs_umask"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6948
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_umask (guestfs_h *g,\n"
+" int mask);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6952 ../fish/guestfish-actions.pod:4624
+msgid ""
+"This function sets the mask used for creating new files and device nodes to "
+"C<mask & 0777>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6955 ../fish/guestfish-actions.pod:4627
+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
+#: ../src/guestfs-actions.pod:6960 ../fish/guestfish-actions.pod:4632
+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>."