+#. type: =head2
+#: ../src/guestfs-actions.pod:5304
+msgid "guestfs_pwrite"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5306
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_pwrite (guestfs_h *g,\n"
+" const char *path,\n"
+" const char *content,\n"
+" size_t content_size,\n"
+" int64_t offset);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5313 ../fish/guestfish-actions.pod:3551
+msgid ""
+"This command writes to part of a file. It writes the data buffer C<content> "
+"to the file C<path> starting at offset C<offset>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5316 ../fish/guestfish-actions.pod:3554
+msgid ""
+"This command implements the L<pwrite(2)> system call, and like that system "
+"call it may not write the full data requested. The return value is the "
+"number of bytes that were actually written to the file. This could even be "
+"0, although short writes are unlikely for regular files in ordinary "
+"circumstances."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5322
+msgid "See also C<guestfs_pread>, C<guestfs_pwrite_device>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5331
+msgid "guestfs_pwrite_device"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5333
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_pwrite_device (guestfs_h *g,\n"
+" const char *device,\n"
+" const char *content,\n"
+" size_t content_size,\n"
+" int64_t offset);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5340 ../fish/guestfish-actions.pod:3569
+msgid ""
+"This command writes to part of a device. It writes the data buffer "
+"C<content> to C<device> starting at offset C<offset>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5343 ../fish/guestfish-actions.pod:3572
+msgid ""
+"This command implements the L<pwrite(2)> system call, and like that system "
+"call it may not write the full data requested (although short writes to disk "
+"devices and partitions are probably impossible with standard Linux kernels)."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5348
+msgid "See also C<guestfs_pwrite>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5355
+msgid "(Added in 1.5.20)"
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5357
+msgid "guestfs_read_file"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5359
+#, no-wrap
+msgid ""
+" char *\n"
+" guestfs_read_file (guestfs_h *g,\n"
+" const char *path,\n"
+" size_t *size_r);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5364 ../fish/guestfish-actions.pod:3586
+msgid "This calls returns the contents of the file C<path> as a buffer."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5367
+msgid ""
+"Unlike C<guestfs_cat>, this function can correctly handle files that contain "
+"embedded ASCII NUL characters. However unlike C<guestfs_download>, this "
+"function is limited in the total size of file that can be handled."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5379
+msgid "(Added in 1.0.63)"
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5381
+msgid "guestfs_read_lines"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5383
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_read_lines (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5389 ../fish/guestfish-actions.pod:3603
+msgid ""
+"The file contents are returned as a list of lines. Trailing C<LF> and "
+"C<CRLF> character sequences are I<not> returned."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5392
+msgid ""
+"Note that this function cannot correctly handle binary files (specifically, "
+"files containing C<\\0> character which is treated as end of line). For "
+"those you need to use the C<guestfs_read_file> function which has a more "
+"complex interface."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5403
+msgid "guestfs_readdir"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5405
+#, no-wrap
+msgid ""
+" struct guestfs_dirent_list *\n"
+" guestfs_readdir (guestfs_h *g,\n"
+" const char *dir);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5409 ../fish/guestfish-actions.pod:3615
+msgid "This returns the list of directory entries in directory C<dir>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5411 ../fish/guestfish-actions.pod:3617
+msgid ""
+"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:5415 ../fish/guestfish-actions.pod:3621
+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:5420 ../fish/guestfish-actions.pod:3626
+msgid "'b'"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5422 ../fish/guestfish-actions.pod:3628
+msgid "Block special"
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5424 ../fish/guestfish-actions.pod:3630
+msgid "'c'"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5426 ../fish/guestfish-actions.pod:3632
+msgid "Char special"
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5428 ../fish/guestfish-actions.pod:3634
+msgid "'d'"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5430 ../fish/guestfish-actions.pod:3636
+msgid "Directory"
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5432 ../fish/guestfish-actions.pod:3638
+msgid "'f'"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5434 ../fish/guestfish-actions.pod:3640
+msgid "FIFO (named pipe)"
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5436 ../fish/guestfish-actions.pod:3642
+msgid "'l'"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5438 ../fish/guestfish-actions.pod:3644
+msgid "Symbolic link"
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5440 ../fish/guestfish-actions.pod:3646
+msgid "'r'"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5442 ../fish/guestfish-actions.pod:3648
+msgid "Regular file"
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5444 ../fish/guestfish-actions.pod:3650
+msgid "'s'"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5446 ../fish/guestfish-actions.pod:3652
+msgid "Socket"
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5448 ../fish/guestfish-actions.pod:3654
+msgid "'u'"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5450 ../fish/guestfish-actions.pod:3656
+msgid "Unknown file type"
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5452 ../fish/guestfish-actions.pod:3658
+msgid "'?'"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5454 ../fish/guestfish-actions.pod:3660
+msgid "The L<readdir(3)> call returned a C<d_type> field with an unexpected value"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5459
+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:5463
+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:5469
+msgid "guestfs_readlink"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5471
+#, no-wrap
+msgid ""
+" char *\n"
+" guestfs_readlink (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5475 ../fish/guestfish-actions.pod:3673
+msgid "This command reads the target of a symbolic link."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5482
+msgid "guestfs_readlinklist"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5484
+#, 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:5489 ../fish/guestfish-actions.pod:3679
+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:5493 ../fish/guestfish-actions.pod:3683
+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:5497 ../fish/guestfish-actions.pod:3687
+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:5504 ../fish/guestfish-actions.pod:3694
+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:5517
+msgid "guestfs_realpath"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5519
+#, no-wrap
+msgid ""
+" char *\n"
+" guestfs_realpath (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5523 ../fish/guestfish-actions.pod:3705
+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:5531
+msgid "guestfs_removexattr"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5533
+#, 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:5538 ../fish/guestfish-actions.pod:3712
+msgid "This call removes the extended attribute named C<xattr> of the file C<path>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5541
+msgid "See also: C<guestfs_lremovexattr>, L<attr(5)>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5547
+msgid "guestfs_resize2fs"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5549
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_resize2fs (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5553 ../fish/guestfish-actions.pod:3721
+msgid ""
+"This resizes an ext2, ext3 or ext4 filesystem to match the size of the "
+"underlying device."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5556
+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:5566
+msgid "guestfs_resize2fs_M"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5568
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_resize2fs_M (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5572
+msgid ""
+"This command is the same as C<guestfs_resize2fs>, but the filesystem is "
+"resized to its minimum size. This works like the C<-M> option to the "
+"C<resize2fs> command."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5576
+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:5583
+msgid "guestfs_resize2fs_size"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5585
+#, 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:5590
+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:5597
+msgid "guestfs_rm"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5599
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_rm (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5603 ../fish/guestfish-actions.pod:3754
+msgid "Remove the single file C<path>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5609
+msgid "guestfs_rm_rf"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5611
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_rm_rf (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5615 ../fish/guestfish-actions.pod:3760
+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:5623
+msgid "guestfs_rmdir"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5625
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_rmdir (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5629 ../fish/guestfish-actions.pod:3768
+msgid "Remove the single directory C<path>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5635
+msgid "guestfs_rmmountpoint"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5637
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_rmmountpoint (guestfs_h *g,\n"
+" const char *exemptpath);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5641
+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:5649
+msgid "guestfs_scrub_device"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5651
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_scrub_device (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5655 ../fish/guestfish-actions.pod:3782
+msgid ""
+"This command writes patterns over C<device> to make data retrieval more "
+"difficult."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5658 ../src/guestfs-actions.pod:5679 ../src/guestfs-actions.pod:5698 ../fish/guestfish-actions.pod:3785 ../fish/guestfish-actions.pod:3800 ../fish/guestfish-actions.pod:3813
+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:5666 ../src/guestfs-actions.pod:5684 ../src/guestfs-actions.pod:5703
+msgid "(Added in 1.0.52)"
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5668
+msgid "guestfs_scrub_file"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5670
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_scrub_file (guestfs_h *g,\n"
+" const char *file);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5674 ../fish/guestfish-actions.pod:3795
+msgid ""
+"This command writes patterns over a file to make data retrieval more "
+"difficult."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5677 ../fish/guestfish-actions.pod:3798
+msgid "The file is I<removed> after scrubbing."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5686
+msgid "guestfs_scrub_freespace"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5688
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_scrub_freespace (guestfs_h *g,\n"
+" const char *dir);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5692
+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:5705
+msgid "guestfs_set_append"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5707
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_append (guestfs_h *g,\n"
+" const char *append);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5711 ../fish/guestfish-actions.pod:3822
+msgid ""
+"This function is used to add additional options to the guest kernel command "
+"line."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5714 ../fish/guestfish-actions.pod:3825
+msgid ""
+"The default is C<NULL> unless overridden by setting C<LIBGUESTFS_APPEND> "
+"environment variable."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5717 ../fish/guestfish-actions.pod:3828
+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:5724
+msgid "guestfs_set_attach_method"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5726
+#, 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:5730 ../fish/guestfish-actions.pod:3837
+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:5737 ../fish/guestfish-actions.pod:3844
+msgid ""
+"Launch an appliance and connect to it. This is the ordinary method and the "
+"default."
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5740 ../fish/guestfish-actions.pod:3847
+msgid "C<unix:I<path>>"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5742 ../fish/guestfish-actions.pod:3849
+msgid "Connect to the Unix domain socket I<path>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5744 ../fish/guestfish-actions.pod:3851
+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:5752
+msgid "guestfs_set_autosync"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5754
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_autosync (guestfs_h *g,\n"
+" int autosync);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5758 ../fish/guestfish-actions.pod:3863
+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:5763 ../fish/guestfish-actions.pod:3868
+msgid ""
+"This is enabled by default (since libguestfs 1.5.24, previously it was "
+"disabled by default)."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5770
+msgid "guestfs_set_direct"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5772
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_direct (guestfs_h *g,\n"
+" int direct);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5776 ../fish/guestfish-actions.pod:3877
+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:5780
+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:5784 ../fish/guestfish-actions.pod:3885
+msgid "You probably don't want to use this unless you know what you are doing."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5787 ../fish/guestfish-actions.pod:3888
+msgid "The default is disabled."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5793
+msgid "guestfs_set_e2label"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5795
+#, 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:5800 ../fish/guestfish-actions.pod:3894
+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:5804
+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:5811
+msgid "guestfs_set_e2uuid"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5813
+#, 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:5818 ../fish/guestfish-actions.pod:3905
+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:5823
+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:5830
+msgid "guestfs_set_memsize"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5832
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_memsize (guestfs_h *g,\n"
+" int memsize);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5836
+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:5840 ../fish/guestfish-actions.pod:3923
+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:5851
+msgid "guestfs_set_network"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5853
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_network (guestfs_h *g,\n"
+" int network);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5857 ../fish/guestfish-actions.pod:3936
+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:5860 ../fish/guestfish-actions.pod:3939
+msgid ""
+"This affects whether commands are able to access the network (see "
+"L<guestfs(3)/RUNNING COMMANDS>)."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5863
+msgid ""
+"You must call this before calling C<guestfs_launch>, otherwise it has no "
+"effect."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5870
+msgid "guestfs_set_path"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5872
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_path (guestfs_h *g,\n"
+" const char *searchpath);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5876 ../fish/guestfish-actions.pod:3951
+msgid "Set the path that libguestfs searches for kernel and initrd.img."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5878 ../fish/guestfish-actions.pod:3953
+msgid ""
+"The default is C<$libdir/guestfs> unless overridden by setting "
+"C<LIBGUESTFS_PATH> environment variable."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5881 ../fish/guestfish-actions.pod:3956
+msgid "Setting C<path> to C<NULL> restores the default path."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5887
+msgid "guestfs_set_qemu"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5889
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_qemu (guestfs_h *g,\n"
+" const char *qemu);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5893 ../fish/guestfish-actions.pod:3964
+msgid "Set the qemu binary that we will use."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5895 ../fish/guestfish-actions.pod:3966
+msgid "The default is chosen when the library was compiled by the configure script."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5898 ../fish/guestfish-actions.pod:3969
+msgid ""
+"You can also override this by setting the C<LIBGUESTFS_QEMU> environment "
+"variable."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5901 ../fish/guestfish-actions.pod:3972
+msgid "Setting C<qemu> to C<NULL> restores the default qemu binary."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5903 ../fish/guestfish-actions.pod:3974
+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:5915
+msgid "guestfs_set_recovery_proc"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5917
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_recovery_proc (guestfs_h *g,\n"
+" int recoveryproc);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5921
+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:5926
+msgid ""
+"This only has any effect if called before C<guestfs_launch>, and the default "
+"is true."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5929 ../fish/guestfish-actions.pod:3996
+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:5939
+msgid "guestfs_set_selinux"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5941
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_selinux (guestfs_h *g,\n"
+" int selinux);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5945 ../fish/guestfish-actions.pod:4008
+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:5948 ../fish/guestfish-actions.pod:4011
+msgid ""
+"Note that if SELinux is enabled, it is always in Permissive mode "
+"(C<enforcing=0>)."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5958
+msgid "guestfs_set_trace"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5960
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_trace (guestfs_h *g,\n"
+" int trace);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5964 ../fish/guestfish-actions.pod:4023
+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:5967 ../fish/guestfish-actions.pod:4026
+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:5971 ../fish/guestfish-actions.pod:4030
+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:5974
+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:5982
+msgid "guestfs_set_verbose"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5984
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_verbose (guestfs_h *g,\n"
+" int verbose);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5988 ../fish/guestfish-actions.pod:4043
+msgid "If C<verbose> is true, this turns on verbose messages."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5990 ../fish/guestfish-actions.pod:4045
+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:5993
+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:6001
+msgid "guestfs_setcon"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6003
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_setcon (guestfs_h *g,\n"
+" const char *context);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6007 ../fish/guestfish-actions.pod:4056
+msgid ""
+"This sets the SELinux security context of the daemon to the string "
+"C<context>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6010 ../fish/guestfish-actions.pod:4059
+msgid "See the documentation about SELINUX in L<guestfs(3)>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6016
+msgid "guestfs_setxattr"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6018
+#, 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:6025 ../fish/guestfish-actions.pod:4065
+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:6029
+msgid "See also: C<guestfs_lsetxattr>, L<attr(5)>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6035
+msgid "guestfs_sfdisk"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6037
+#, 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:6045 ../fish/guestfish-actions.pod:4075
+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:6048 ../fish/guestfish-actions.pod:4078
+msgid "C<device> should be a block device, for example C</dev/sda>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6050 ../fish/guestfish-actions.pod:4080
+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:6058 ../fish/guestfish-actions.pod:4088
+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:6061 ../fish/guestfish-actions.pod:4091
+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:6065
+msgid "See also: C<guestfs_sfdisk_l>, C<guestfs_sfdisk_N>, C<guestfs_part_init>"
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6075
+msgid "guestfs_sfdiskM"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6077
+#, 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:6082
+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:6088
+msgid ""
+"See also: C<guestfs_sfdisk>, the L<sfdisk(8)> manpage and "
+"C<guestfs_part_disk>"
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6098
+msgid "guestfs_sfdisk_N"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6100
+#, 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:6109 ../fish/guestfish-actions.pod:4121
+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:6112
+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:6115
+msgid "See also: C<guestfs_part_add>"
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6124
+msgid "guestfs_sfdisk_disk_geometry"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6126
+#, 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:6130
+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:6135 ../src/guestfs-actions.pod:6151 ../fish/guestfish-actions.pod:4141 ../fish/guestfish-actions.pod:4150
+msgid "The result is in human-readable format, and not designed to be parsed."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6143
+msgid "guestfs_sfdisk_kernel_geometry"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6145
+#, 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:6149 ../fish/guestfish-actions.pod:4148
+msgid "This displays the kernel's idea of the geometry of C<device>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6159
+msgid "guestfs_sfdisk_l"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6161
+#, no-wrap
+msgid ""
+" char *\n"
+" guestfs_sfdisk_l (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6165 ../fish/guestfish-actions.pod:4157
+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:6169
+msgid "See also: C<guestfs_part_list>"
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6176
+msgid "guestfs_sh"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6178
+#, no-wrap
+msgid ""
+" char *\n"
+" guestfs_sh (guestfs_h *g,\n"
+" const char *command);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6182 ../fish/guestfish-actions.pod:4167
+msgid ""
+"This call runs a command from the guest filesystem via the guest's "
+"C</bin/sh>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6185
+msgid "This is like C<guestfs_command>, but passes the command to:"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6187 ../fish/guestfish-actions.pod:4172
+#, no-wrap
+msgid ""
+" /bin/sh -c \"command\"\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6189 ../fish/guestfish-actions.pod:4174
+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:6193
+msgid "All the provisos about C<guestfs_command> apply to this call."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6200
+msgid "guestfs_sh_lines"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6202
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_sh_lines (guestfs_h *g,\n"
+" const char *command);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6206
+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:6209
+msgid "See also: C<guestfs_command_lines>"
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6217
+msgid "guestfs_sleep"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6219
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_sleep (guestfs_h *g,\n"
+" int secs);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6223 ../fish/guestfish-actions.pod:4193
+msgid "Sleep for C<secs> seconds."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6227
+msgid "(Added in 1.0.41)"
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6229 ../src/guestfs-structs.pod:109
+msgid "guestfs_stat"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6231
+#, 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:6237 ../fish/guestfish-actions.pod:4201
+msgid "This is the same as the C<stat(2)> system call."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6245 ../src/guestfs-structs.pod:135
+msgid "guestfs_statvfs"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6247
+#, 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:6251 ../fish/guestfish-actions.pod:4207
+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:6255 ../fish/guestfish-actions.pod:4211
+msgid "This is the same as the C<statvfs(2)> system call."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6257
+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:6263
+msgid "guestfs_strings"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6265
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_strings (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6269 ../fish/guestfish-actions.pod:4217
+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:6281
+msgid "guestfs_strings_e"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6283
+#, 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:6288
+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:6292 ../fish/guestfish-actions.pod:4231
+msgid "Allowed encodings are:"
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:6296 ../fish/guestfish-actions.pod:4235
+msgid "s"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6298
+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:6301 ../fish/guestfish-actions.pod:4240
+msgid "S"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6303 ../fish/guestfish-actions.pod:4242
+msgid "Single 8-bit-byte characters."
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:6305 ../fish/guestfish-actions.pod:4244
+msgid "b"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6307 ../fish/guestfish-actions.pod:4246
+msgid "16-bit big endian strings such as those encoded in UTF-16BE or UCS-2BE."
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:6310 ../fish/guestfish-actions.pod:4249
+msgid "l (lower case letter L)"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6312 ../fish/guestfish-actions.pod:4251
+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:6315 ../fish/guestfish-actions.pod:4254
+msgid "B"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6317 ../fish/guestfish-actions.pod:4256
+msgid "32-bit big endian such as UCS-4BE."
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:6319 ../fish/guestfish-actions.pod:4258
+msgid "L"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6321 ../fish/guestfish-actions.pod:4260
+msgid "32-bit little endian such as UCS-4LE."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6325 ../fish/guestfish-actions.pod:4264
+msgid "The returned strings are transcoded to UTF-8."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6336
+msgid "guestfs_swapoff_device"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6338
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_swapoff_device (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6342
+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:6350
+msgid "guestfs_swapoff_file"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6352
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_swapoff_file (guestfs_h *g,\n"
+" const char *file);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6356 ../fish/guestfish-actions.pod:4281
+msgid "This command disables the libguestfs appliance swap on file."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6362
+msgid "guestfs_swapoff_label"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6364
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_swapoff_label (guestfs_h *g,\n"
+" const char *label);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6368 ../fish/guestfish-actions.pod:4287
+msgid ""
+"This command disables the libguestfs appliance swap on labeled swap "
+"partition."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6375
+msgid "guestfs_swapoff_uuid"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6377
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_swapoff_uuid (guestfs_h *g,\n"
+" const char *uuid);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6381 ../fish/guestfish-actions.pod:4294
+msgid ""
+"This command disables the libguestfs appliance swap partition with the given "
+"UUID."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6388
+msgid "guestfs_swapon_device"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6390
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_swapon_device (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6394
+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:6399 ../fish/guestfish-actions.pod:4306
+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:6410
+msgid "guestfs_swapon_file"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6412
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_swapon_file (guestfs_h *g,\n"
+" const char *file);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6416
+msgid ""
+"This command enables swap to a file. See C<guestfs_swapon_device> for other "
+"notes."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6423
+msgid "guestfs_swapon_label"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6425
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_swapon_label (guestfs_h *g,\n"
+" const char *label);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6429
+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:6436
+msgid "guestfs_swapon_uuid"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6438
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_swapon_uuid (guestfs_h *g,\n"
+" const char *uuid);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6442
+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:6449
+msgid "guestfs_sync"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6451
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_sync (guestfs_h *g);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6454 ../fish/guestfish-actions.pod:4338
+msgid ""
+"This syncs the disk, so that any writes are flushed through to the "
+"underlying disk image."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6457 ../fish/guestfish-actions.pod:4341
+msgid ""
+"You should always call this if you have modified a disk image, before "
+"closing the handle."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6464
+msgid "guestfs_tail"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6466
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_tail (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6470 ../fish/guestfish-actions.pod:4348
+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:6482
+msgid "guestfs_tail_n"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6484
+#, 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:6489 ../fish/guestfish-actions.pod:4358
+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:6492 ../fish/guestfish-actions.pod:4361
+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:6506
+msgid "guestfs_tar_in"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6508
+#, 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:6513 ../fish/guestfish-actions.pod:4373
+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:6516
+msgid "To upload a compressed tarball, use C<guestfs_tgz_in> or C<guestfs_txz_in>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6521 ../src/guestfs-actions.pod:6538 ../src/guestfs-actions.pod:6554 ../src/guestfs-actions.pod:6570
+msgid "(Added in 1.0.3)"
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6523
+msgid "guestfs_tar_out"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6525
+#, 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:6530 ../fish/guestfish-actions.pod:4385
+msgid ""
+"This command packs the contents of C<directory> and downloads it to local "
+"file C<tarfile>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6533
+msgid ""
+"To download a compressed tarball, use C<guestfs_tgz_out> or "
+"C<guestfs_txz_out>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6540
+msgid "guestfs_tgz_in"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6542
+#, 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:6547 ../fish/guestfish-actions.pod:4397
+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:6550
+msgid "To upload an uncompressed tarball, use C<guestfs_tar_in>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6556
+msgid "guestfs_tgz_out"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6558
+#, 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:6563 ../fish/guestfish-actions.pod:4408
+msgid ""
+"This command packs the contents of C<directory> and downloads it to local "
+"file C<tarball>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6566
+msgid "To download an uncompressed tarball, use C<guestfs_tar_out>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6572
+msgid "guestfs_touch"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6574
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_touch (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6578 ../fish/guestfish-actions.pod:4419
+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:6582 ../fish/guestfish-actions.pod:4423
+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:6589
+msgid "guestfs_truncate"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6591
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_truncate (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6595 ../fish/guestfish-actions.pod:4430
+msgid ""
+"This command truncates C<path> to a zero-length file. The file must exist "
+"already."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6602
+msgid "guestfs_truncate_size"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6604
+#, 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:6609 ../fish/guestfish-actions.pod:4437
+msgid ""
+"This command truncates C<path> to size C<size> bytes. The file must exist "
+"already."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6612
+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:6622
+msgid "guestfs_tune2fs_l"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6624
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_tune2fs_l (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6628 ../fish/guestfish-actions.pod:4450
+msgid ""
+"This returns the contents of the ext2, ext3 or ext4 filesystem superblock on "
+"C<device>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6631 ../fish/guestfish-actions.pod:4453
+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:6644
+msgid "guestfs_txz_in"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6646
+#, 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:6651 ../fish/guestfish-actions.pod:4462
+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:6658
+msgid "guestfs_txz_out"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6660
+#, 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:6665 ../fish/guestfish-actions.pod:4471
+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:6672
+msgid "guestfs_umask"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6674
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_umask (guestfs_h *g,\n"
+" int mask);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6678 ../fish/guestfish-actions.pod:4480
+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:6681 ../fish/guestfish-actions.pod:4483
+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:6686 ../fish/guestfish-actions.pod:4488
+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
+#: ../src/guestfs-actions.pod:6690
+msgid ""
+"See also C<guestfs_get_umask>, L<umask(2)>, C<guestfs_mknod>, "
+"C<guestfs_mkdir>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6693 ../fish/guestfish-actions.pod:4495
+msgid "This call returns the previous umask."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6699
+msgid "guestfs_umount"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6701
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_umount (guestfs_h *g,\n"
+" const char *pathordevice);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6705 ../fish/guestfish-actions.pod:4503
+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
+#: ../src/guestfs-actions.pod:6713
+msgid "guestfs_umount_all"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6715
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_umount_all (guestfs_h *g);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6718 ../fish/guestfish-actions.pod:4513
+msgid "This unmounts all mounted filesystems."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6720 ../fish/guestfish-actions.pod:4515
+msgid "Some internal mounts are not unmounted by this call."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6726
+msgid "guestfs_upload"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6728
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_upload (guestfs_h *g,\n"
+" const char *filename,\n"
+" const char *remotefilename);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6733 ../src/guestfs-actions.pod:6757 ../fish/guestfish-actions.pod:4521 ../fish/guestfish-actions.pod:4534
+msgid "Upload local file C<filename> to C<remotefilename> on the filesystem."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6738
+msgid "See also C<guestfs_download>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6749
+msgid "guestfs_upload_offset"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6751
+#, 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
+#: ../src/guestfs-actions.pod:6760 ../fish/guestfish-actions.pod:4537
+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
+#: ../src/guestfs-actions.pod:6767
+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
+#: ../src/guestfs-actions.pod:6772
+msgid "See also C<guestfs_upload>, C<guestfs_pwrite>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6783
+msgid "guestfs_utimens"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6785
+#, 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
+#: ../src/guestfs-actions.pod:6793 ../fish/guestfish-actions.pod:4557
+msgid "This command sets the timestamps of a file with nanosecond precision."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6796 ../fish/guestfish-actions.pod:4560
+msgid ""
+"C<atsecs, atnsecs> are the last access time (atime) in secs and nanoseconds "
+"from the epoch."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6799 ../fish/guestfish-actions.pod:4563
+msgid ""
+"C<mtsecs, mtnsecs> are the last modification time (mtime) in secs and "
+"nanoseconds from the epoch."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6802 ../fish/guestfish-actions.pod:4566
+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)."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6806 ../fish/guestfish-actions.pod:4570
+msgid ""
+"If the C<*nsecs> field contains the special value C<-2> then the "
+"corresponding timestamp is left unchanged. (The C<*secs> field is ignored "
+"in this case)."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6814 ../src/guestfs-structs.pod:175
+msgid "guestfs_version"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6816
+#, no-wrap
+msgid ""
+" struct guestfs_version *\n"
+" guestfs_version (guestfs_h *g);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6819 ../fish/guestfish-actions.pod:4578
+msgid "Return the libguestfs version number that the program is linked against."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6822 ../fish/guestfish-actions.pod:4581
+msgid ""
+"Note that because of dynamic linking this is not necessarily the version of "
+"libguestfs that you compiled against. You can compile the program, and then "
+"at runtime dynamically link against a completely different C<libguestfs.so> "
+"library."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6827 ../fish/guestfish-actions.pod:4586
+msgid ""
+"This call was added in version C<1.0.58>. In previous versions of "
+"libguestfs there was no way to get the version number. From C code you can "
+"use dynamic linker functions to find out if this symbol exists (if it "
+"doesn't, then it's an earlier version)."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6833 ../fish/guestfish-actions.pod:4592
+msgid ""
+"The call returns a structure with four elements. The first three (C<major>, "
+"C<minor> and C<release>) are numbers and correspond to the usual version "
+"triplet. The fourth element (C<extra>) is a string and is normally empty, "
+"but may be used for distro-specific information."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6839 ../fish/guestfish-actions.pod:4598
+msgid "To construct the original version string: C<$major.$minor.$release$extra>"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6842 ../fish/guestfish-actions.pod:4601
+msgid "See also: L<guestfs(3)/LIBGUESTFS VERSION NUMBERS>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6844
+msgid ""
+"I<Note:> Don't use this call to test for availability of features. In "
+"enterprise distributions we backport features from later versions into "
+"earlier versions, making this an unreliable way to test for features. Use "
+"C<guestfs_available> instead."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6850
+msgid ""
+"This function returns a C<struct guestfs_version *>, or NULL if there was an "
+"error. I<The caller must call C<guestfs_free_version> after use>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6854
+msgid "(Added in 1.0.58)"
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6856
+msgid "guestfs_vfs_label"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6858
+#, no-wrap
+msgid ""
+" char *\n"
+" guestfs_vfs_label (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6862 ../fish/guestfish-actions.pod:4613
+msgid "This returns the filesystem label of the filesystem on C<device>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6865 ../fish/guestfish-actions.pod:4616
+msgid "If the filesystem is unlabeled, this returns the empty string."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6867
+msgid "To find a filesystem from the label, use C<guestfs_findfs_label>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6872 ../src/guestfs-actions.pod:6909
+msgid "(Added in 1.3.18)"
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6874
+msgid "guestfs_vfs_type"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6876
+#, no-wrap
+msgid ""
+" char *\n"
+" guestfs_vfs_type (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6880 ../fish/guestfish-actions.pod:4624
+msgid ""
+"This command gets the filesystem type corresponding to the filesystem on "
+"C<device>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6883 ../fish/guestfish-actions.pod:4627
+msgid ""
+"For most filesystems, the result is the name of the Linux VFS module which "
+"would be used to mount this filesystem if you mounted it without specifying "
+"the filesystem type. For example a string such as C<ext3> or C<ntfs>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6893
+msgid "guestfs_vfs_uuid"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6895
+#, no-wrap
+msgid ""
+" char *\n"
+" guestfs_vfs_uuid (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6899 ../fish/guestfish-actions.pod:4636
+msgid "This returns the filesystem UUID of the filesystem on C<device>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6902 ../fish/guestfish-actions.pod:4639
+msgid "If the filesystem does not have a UUID, this returns the empty string."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6904
+msgid "To find a filesystem from the UUID, use C<guestfs_findfs_uuid>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6911
+msgid "guestfs_vg_activate"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6913
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_vg_activate (guestfs_h *g,\n"
+" int activate,\n"
+" char *const *volgroups);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6918 ../fish/guestfish-actions.pod:4647
+msgid ""
+"This command activates or (if C<activate> is false) deactivates all logical "
+"volumes in the listed volume groups C<volgroups>. If activated, then they "
+"are made known to the kernel, ie. they appear as C</dev/mapper> devices. If "
+"deactivated, then those devices disappear."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6924 ../fish/guestfish-actions.pod:4653
+msgid "This command is the same as running C<vgchange -a y|n volgroups...>"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6926 ../fish/guestfish-actions.pod:4655
+msgid ""
+"Note that if C<volgroups> is an empty list then B<all> volume groups are "
+"activated or deactivated."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6933
+msgid "guestfs_vg_activate_all"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6935
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_vg_activate_all (guestfs_h *g,\n"
+" int activate);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6939 ../fish/guestfish-actions.pod:4662
+msgid ""
+"This command activates or (if C<activate> is false) deactivates all logical "
+"volumes in all volume groups. If activated, then they are made known to the "
+"kernel, ie. they appear as C</dev/mapper> devices. If deactivated, then "
+"those devices disappear."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6945 ../fish/guestfish-actions.pod:4668
+msgid "This command is the same as running C<vgchange -a y|n>"
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6951
+msgid "guestfs_vgcreate"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6953
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_vgcreate (guestfs_h *g,\n"
+" const char *volgroup,\n"
+" char *const *physvols);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6958 ../fish/guestfish-actions.pod:4674
+msgid ""
+"This creates an LVM volume group called C<volgroup> from the non-empty list "
+"of physical volumes C<physvols>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6965
+msgid "guestfs_vglvuuids"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6967
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_vglvuuids (guestfs_h *g,\n"
+" const char *vgname);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6971 ../fish/guestfish-actions.pod:4681
+msgid ""
+"Given a VG called C<vgname>, this returns the UUIDs of all the logical "
+"volumes created in this volume group."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6974
+msgid ""
+"You can use this along with C<guestfs_lvs> and C<guestfs_lvuuid> calls to "
+"associate logical volumes and volume groups."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6977
+msgid "See also C<guestfs_vgpvuuids>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6985
+msgid "guestfs_vgpvuuids"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6987
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_vgpvuuids (guestfs_h *g,\n"
+" const char *vgname);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6991 ../fish/guestfish-actions.pod:4693
+msgid ""
+"Given a VG called C<vgname>, this returns the UUIDs of all the physical "
+"volumes that this volume group resides on."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6994
+msgid ""
+"You can use this along with C<guestfs_pvs> and C<guestfs_pvuuid> calls to "
+"associate physical volumes and volume groups."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6997
+msgid "See also C<guestfs_vglvuuids>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:7005
+msgid "guestfs_vgremove"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7007
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_vgremove (guestfs_h *g,\n"
+" const char *vgname);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7011 ../fish/guestfish-actions.pod:4705
+msgid "Remove an LVM volume group C<vgname>, (for example C<VG>)."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7013 ../fish/guestfish-actions.pod:4707
+msgid "This also forcibly removes all logical volumes in the volume group (if any)."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:7020
+msgid "guestfs_vgrename"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7022
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_vgrename (guestfs_h *g,\n"
+" const char *volgroup,\n"
+" const char *newvolgroup);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7027 ../fish/guestfish-actions.pod:4714
+msgid "Rename a volume group C<volgroup> with the new name C<newvolgroup>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:7033
+msgid "guestfs_vgs"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7035
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_vgs (guestfs_h *g);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7038 ../fish/guestfish-actions.pod:4720
+msgid ""
+"List all the volumes groups detected. This is the equivalent of the "
+"L<vgs(8)> command."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7041 ../fish/guestfish-actions.pod:4723
+msgid ""
+"This returns a list of just the volume group names that were detected "
+"(eg. C<VolGroup00>)."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7044
+msgid "See also C<guestfs_vgs_full>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:7052
+msgid "guestfs_vgs_full"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7054
+#, no-wrap
+msgid ""
+" struct guestfs_lvm_vg_list *\n"
+" guestfs_vgs_full (guestfs_h *g);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7057 ../fish/guestfish-actions.pod:4732
+msgid ""
+"List all the volumes groups detected. This is the equivalent of the "
+"L<vgs(8)> command. The \"full\" version includes all fields."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7060
+msgid ""
+"This function returns a C<struct guestfs_lvm_vg_list *>, or NULL if there "
+"was an error. I<The caller must call C<guestfs_free_lvm_vg_list> after "
+"use>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:7066
+msgid "guestfs_vgscan"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7068
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_vgscan (guestfs_h *g);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7071 ../fish/guestfish-actions.pod:4739
+msgid ""
+"This rescans all block devices and rebuilds the list of LVM physical "
+"volumes, volume groups and logical volumes."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:7078
+msgid "guestfs_vguuid"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7080
+#, no-wrap
+msgid ""
+" char *\n"
+" guestfs_vguuid (guestfs_h *g,\n"
+" const char *vgname);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7084 ../fish/guestfish-actions.pod:4746
+msgid "This command returns the UUID of the LVM VG named C<vgname>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:7091
+msgid "guestfs_wait_ready"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7093
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_wait_ready (guestfs_h *g);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7096
+msgid "This function is a no op."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7098
+msgid ""
+"In versions of the API E<lt> 1.0.71 you had to call this function just after "
+"calling C<guestfs_launch> to wait for the launch to complete. However this "
+"is no longer necessary because C<guestfs_launch> now does the waiting."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7103
+msgid ""
+"If you see any calls to this function in code then you can just remove them, "
+"unless you want to retain compatibility with older versions of the API."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:7111
+msgid "guestfs_wc_c"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7113
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_wc_c (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7117 ../fish/guestfish-actions.pod:4752
+msgid ""
+"This command counts the characters in a file, using the C<wc -c> external "
+"command."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:7124
+msgid "guestfs_wc_l"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7126
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_wc_l (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7130 ../fish/guestfish-actions.pod:4759
+msgid ""
+"This command counts the lines in a file, using the C<wc -l> external "
+"command."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:7137
+msgid "guestfs_wc_w"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7139
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_wc_w (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7143 ../fish/guestfish-actions.pod:4766
+msgid ""
+"This command counts the words in a file, using the C<wc -w> external "
+"command."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:7150
+msgid "guestfs_write"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7152
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_write (guestfs_h *g,\n"
+" const char *path,\n"
+" const char *content,\n"
+" size_t content_size);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7158 ../fish/guestfish-actions.pod:4773
+msgid ""
+"This call creates a file called C<path>. The content of the file is the "
+"string C<content> (which can contain any 8 bit data)."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:7168
+msgid "guestfs_write_file"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7170
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_write_file (guestfs_h *g,\n"
+" const char *path,\n"
+" const char *content,\n"
+" int size);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7176 ../fish/guestfish-actions.pod:4783
+msgid ""
+"This call creates a file called C<path>. The contents of the file is the "
+"string C<content> (which can contain any 8 bit data), with length C<size>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7180 ../fish/guestfish-actions.pod:4787
+msgid ""
+"As a special case, if C<size> is C<0> then the length is calculated using "
+"C<strlen> (so in this case the content cannot contain embedded ASCII NULs)."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7184 ../fish/guestfish-actions.pod:4791
+msgid ""
+"I<NB.> Owing to a bug, writing content containing ASCII NUL characters does "
+"I<not> work, even if the length is specified."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7192 ../fish/guestfish-actions.pod:4797
+msgid "This function is deprecated. In new code, use the C<write> call instead."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:7201
+msgid "guestfs_zegrep"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7203
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_zegrep (guestfs_h *g,\n"
+" const char *regex,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7208 ../fish/guestfish-actions.pod:4808
+msgid "This calls the external C<zegrep> program and returns the matching lines."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:7220
+msgid "guestfs_zegrepi"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7222
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_zegrepi (guestfs_h *g,\n"
+" const char *regex,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7227 ../fish/guestfish-actions.pod:4818
+msgid "This calls the external C<zegrep -i> program and returns the matching lines."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:7239
+msgid "guestfs_zero"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7241
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_zero (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7245 ../fish/guestfish-actions.pod:4828
+msgid "This command writes zeroes over the first few blocks of C<device>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7247 ../fish/guestfish-actions.pod:4830
+msgid ""
+"How many blocks are zeroed isn't specified (but it's I<not> enough to "
+"securely wipe the device). It should be sufficient to remove any partition "
+"tables, filesystem superblocks and so on."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7251
+msgid "See also: C<guestfs_zero_device>, C<guestfs_scrub_device>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:7262
+msgid "guestfs_zero_device"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7264
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_zero_device (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7268
+msgid ""
+"This command writes zeroes over the entire C<device>. Compare with "
+"C<guestfs_zero> which just zeroes the first few blocks of a device."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7282
+msgid "(Added in 1.3.1)"
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:7284
+msgid "guestfs_zerofree"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7286
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_zerofree (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7290 ../fish/guestfish-actions.pod:4851
+msgid ""
+"This runs the I<zerofree> program on C<device>. This program claims to zero "
+"unused inodes and disk blocks on an ext2/3 filesystem, thus making it "
+"possible to compress the filesystem more effectively."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7295 ../fish/guestfish-actions.pod:4856
+msgid "You should B<not> run this program if the filesystem is mounted."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7298 ../fish/guestfish-actions.pod:4859
+msgid ""
+"It is possible that using this program can damage the filesystem or data on "
+"the filesystem."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:7305
+msgid "guestfs_zfgrep"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7307
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_zfgrep (guestfs_h *g,\n"
+" const char *pattern,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7312 ../fish/guestfish-actions.pod:4866
+msgid "This calls the external C<zfgrep> program and returns the matching lines."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:7324
+msgid "guestfs_zfgrepi"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7326
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_zfgrepi (guestfs_h *g,\n"
+" const char *pattern,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7331 ../fish/guestfish-actions.pod:4876
+msgid "This calls the external C<zfgrep -i> program and returns the matching lines."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:7343
+msgid "guestfs_zfile"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7345
+#, no-wrap
+msgid ""
+" char *\n"
+" guestfs_zfile (guestfs_h *g,\n"
+" const char *meth,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7350 ../fish/guestfish-actions.pod:4886
+msgid "This command runs C<file> after first decompressing C<path> using C<method>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7353 ../fish/guestfish-actions.pod:4889
+msgid "C<method> must be one of C<gzip>, C<compress> or C<bzip2>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7355
+msgid ""
+"Since 1.0.63, use C<guestfs_file> instead which can now process compressed "
+"files."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7361 ../fish/guestfish-actions.pod:4894
+msgid "This function is deprecated. In new code, use the C<file> call instead."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:7370
+msgid "guestfs_zgrep"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7372
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_zgrep (guestfs_h *g,\n"
+" const char *regex,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7377 ../fish/guestfish-actions.pod:4905
+msgid "This calls the external C<zgrep> program and returns the matching lines."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:7389
+msgid "guestfs_zgrepi"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7391
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_zgrepi (guestfs_h *g,\n"
+" const char *regex,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7396 ../fish/guestfish-actions.pod:4915
+msgid "This calls the external C<zgrep -i> program and returns the matching lines."
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-availability.pod:3