+" int\n"
+" guestfs_part_get_mbr_id (guestfs_h *g,\n"
+" const char *device,\n"
+" int partnum);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5023 ../fish/guestfish-actions.pod:3374
+msgid ""
+"Returns the MBR type byte (also known as the ID byte) from the numbered "
+"partition C<partnum>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5026 ../src/guestfs-actions.pod:5202
+msgid ""
+"Note that only MBR (old DOS-style) partitions have type bytes. You will get "
+"undefined results for other partition table types (see "
+"C<guestfs_part_get_parttype>)."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5034
+msgid "guestfs_part_get_parttype"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5036
+#, no-wrap
+msgid ""
+" char *\n"
+" guestfs_part_get_parttype (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5040 ../fish/guestfish-actions.pod:3385
+msgid ""
+"This command examines the partition table on C<device> and returns the "
+"partition table type (format) being used."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5043
+msgid ""
+"Common return values include: C<msdos> (a DOS/Windows style MBR partition "
+"table), C<gpt> (a GPT/EFI-style partition table). Other values are "
+"possible, although unusual. See C<guestfs_part_init> for a full list."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5053
+msgid "guestfs_part_init"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5055
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_part_init (guestfs_h *g,\n"
+" const char *device,\n"
+" const char *parttype);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5060 ../fish/guestfish-actions.pod:3397
+msgid ""
+"This creates an empty partition table on C<device> of one of the partition "
+"types listed below. Usually C<parttype> should be either C<msdos> or C<gpt> "
+"(for large disks)."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5064
+msgid ""
+"Initially there are no partitions. Following this, you should call "
+"C<guestfs_part_add> for each partition required."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5067 ../fish/guestfish-actions.pod:3404
+msgid "Possible values for C<parttype> are:"
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5071 ../fish/guestfish-actions.pod:3408
+msgid "B<efi> | B<gpt>"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5073 ../fish/guestfish-actions.pod:3410
+msgid "Intel EFI / GPT partition table."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5075 ../fish/guestfish-actions.pod:3412
+msgid ""
+"This is recommended for >= 2 TB partitions that will be accessed from Linux "
+"and Intel-based Mac OS X. It also has limited backwards compatibility with "
+"the C<mbr> format."
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5079 ../fish/guestfish-actions.pod:3416
+msgid "B<mbr> | B<msdos>"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5081 ../fish/guestfish-actions.pod:3418
+msgid ""
+"The standard PC \"Master Boot Record\" (MBR) format used by MS-DOS and "
+"Windows. This partition type will B<only> work for device sizes up to 2 "
+"TB. For large disks we recommend using C<gpt>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5088 ../fish/guestfish-actions.pod:3425
+msgid "Other partition table types that may work but are not supported include:"
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5093 ../fish/guestfish-actions.pod:3430
+msgid "B<aix>"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5095 ../fish/guestfish-actions.pod:3432
+msgid "AIX disk labels."
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5097 ../fish/guestfish-actions.pod:3434
+msgid "B<amiga> | B<rdb>"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5099 ../fish/guestfish-actions.pod:3436
+msgid "Amiga \"Rigid Disk Block\" format."
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5101 ../fish/guestfish-actions.pod:3438
+msgid "B<bsd>"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5103 ../fish/guestfish-actions.pod:3440
+msgid "BSD disk labels."
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5105 ../fish/guestfish-actions.pod:3442
+msgid "B<dasd>"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5107 ../fish/guestfish-actions.pod:3444
+msgid "DASD, used on IBM mainframes."
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5109 ../fish/guestfish-actions.pod:3446
+msgid "B<dvh>"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5111 ../fish/guestfish-actions.pod:3448
+msgid "MIPS/SGI volumes."
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5113 ../fish/guestfish-actions.pod:3450
+msgid "B<mac>"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5115 ../fish/guestfish-actions.pod:3452
+msgid "Old Mac partition format. Modern Macs use C<gpt>."
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5117 ../fish/guestfish-actions.pod:3454
+msgid "B<pc98>"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5119 ../fish/guestfish-actions.pod:3456
+msgid "NEC PC-98 format, common in Japan apparently."
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5121 ../fish/guestfish-actions.pod:3458
+msgid "B<sun>"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5123 ../fish/guestfish-actions.pod:3460
+msgid "Sun disk labels."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5131
+msgid "guestfs_part_list"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5133
+#, no-wrap
+msgid ""
+" struct guestfs_partition_list *\n"
+" guestfs_part_list (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5137 ../fish/guestfish-actions.pod:3468
+msgid ""
+"This command parses the partition table on C<device> and returns the list of "
+"partitions found."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5140 ../fish/guestfish-actions.pod:3471
+msgid "The fields in the returned structure are:"
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5144 ../fish/guestfish-actions.pod:3475
+msgid "B<part_num>"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5146 ../fish/guestfish-actions.pod:3477
+msgid "Partition number, counting from 1."
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5148 ../fish/guestfish-actions.pod:3479
+msgid "B<part_start>"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5150
+msgid ""
+"Start of the partition I<in bytes>. To get sectors you have to divide by "
+"the device's sector size, see C<guestfs_blockdev_getss>."
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5153 ../fish/guestfish-actions.pod:3484
+msgid "B<part_end>"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5155 ../fish/guestfish-actions.pod:3486
+msgid "End of the partition in bytes."
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5157 ../fish/guestfish-actions.pod:3488
+msgid "B<part_size>"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5159 ../fish/guestfish-actions.pod:3490
+msgid "Size of the partition in bytes."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5163
+msgid ""
+"This function returns a C<struct guestfs_partition_list *>, or NULL if there "
+"was an error. I<The caller must call C<guestfs_free_partition_list> after "
+"use>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5169
+msgid "guestfs_part_set_bootable"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5171
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_part_set_bootable (guestfs_h *g,\n"
+" const char *device,\n"
+" int partnum,\n"
+" int bootable);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5177 ../fish/guestfish-actions.pod:3498
+msgid ""
+"This sets the bootable flag on partition numbered C<partnum> on device "
+"C<device>. Note that partitions are numbered from 1."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5180 ../fish/guestfish-actions.pod:3501
+msgid ""
+"The bootable flag is used by some operating systems (notably Windows) to "
+"determine which partition to boot from. It is by no means universally "
+"recognized."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5188
+msgid "guestfs_part_set_mbr_id"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5190
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_part_set_mbr_id (guestfs_h *g,\n"
+" const char *device,\n"
+" int partnum,\n"
+" int idbyte);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5196 ../fish/guestfish-actions.pod:3509
+msgid ""
+"Sets the MBR type byte (also known as the ID byte) of the numbered partition "
+"C<partnum> to C<idbyte>. Note that the type bytes quoted in most "
+"documentation are in fact hexadecimal numbers, but usually documented "
+"without any leading \"0x\" which might be confusing."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5210
+msgid "guestfs_part_set_name"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5212
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_part_set_name (guestfs_h *g,\n"
+" const char *device,\n"
+" int partnum,\n"
+" const char *name);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5218 ../fish/guestfish-actions.pod:3523
+msgid ""
+"This sets the partition name on partition numbered C<partnum> on device "
+"C<device>. Note that partitions are numbered from 1."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5221 ../fish/guestfish-actions.pod:3526
+msgid ""
+"The partition name can only be set on certain types of partition table. "
+"This works on C<gpt> but not on C<mbr> partitions."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5228
+msgid "guestfs_part_to_dev"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5230
+#, no-wrap
+msgid ""
+" char *\n"
+" guestfs_part_to_dev (guestfs_h *g,\n"
+" const char *partition);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5234 ../fish/guestfish-actions.pod:3533
+msgid ""
+"This function takes a partition name (eg. \"/dev/sdb1\") and removes the "
+"partition number, returning the device name (eg. \"/dev/sdb\")."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5238
+msgid ""
+"The named partition must exist, for example as a string returned from "
+"C<guestfs_list_partitions>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5246
+msgid "guestfs_ping_daemon"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5248
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_ping_daemon (guestfs_h *g);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5251 ../fish/guestfish-actions.pod:3544
+msgid ""
+"This is a test probe into the guestfs daemon running inside the qemu "
+"subprocess. Calling this function checks that the daemon responds to the "
+"ping message, without affecting the daemon or attached block device(s) in "
+"any other way."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5260
+msgid "guestfs_pread"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5262
+#, no-wrap
+msgid ""
+" char *\n"
+" guestfs_pread (guestfs_h *g,\n"
+" const char *path,\n"
+" int count,\n"
+" int64_t offset,\n"
+" size_t *size_r);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5269 ../fish/guestfish-actions.pod:3553
+msgid ""
+"This command lets you read part of a file. It reads C<count> bytes of the "
+"file, starting at C<offset>, from file C<path>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5272 ../src/guestfs-actions.pod:5298 ../fish/guestfish-actions.pod:3556 ../fish/guestfish-actions.pod:3571
+msgid ""
+"This may read fewer bytes than requested. For further details see the "
+"L<pread(2)> system call."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5275
+msgid "See also C<guestfs_pwrite>, C<guestfs_pread_device>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5286
+msgid "guestfs_pread_device"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5288
+#, no-wrap
+msgid ""
+" char *\n"
+" guestfs_pread_device (guestfs_h *g,\n"
+" const char *device,\n"
+" int count,\n"
+" int64_t offset,\n"
+" size_t *size_r);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5295 ../fish/guestfish-actions.pod:3568
+msgid ""
+"This command lets you read part of a file. It reads C<count> bytes of "
+"C<device>, starting at C<offset>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5301
+msgid "See also C<guestfs_pread>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5310
+msgid "(Added in 1.5.21)"
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5312
+msgid "guestfs_pvcreate"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5314
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_pvcreate (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5318 ../fish/guestfish-actions.pod:3583
+msgid ""
+"This creates an LVM physical volume on the named C<device>, where C<device> "
+"should usually be a partition name such as C</dev/sda1>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5326
+msgid "guestfs_pvremove"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5328
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_pvremove (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5332 ../fish/guestfish-actions.pod:3591
+msgid ""
+"This wipes a physical volume C<device> so that LVM will no longer recognise "
+"it."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5335 ../fish/guestfish-actions.pod:3594
+msgid ""
+"The implementation uses the C<pvremove> command which refuses to wipe "
+"physical volumes that contain any volume groups, so you have to remove those "
+"first."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5343
+msgid "guestfs_pvresize"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5345
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_pvresize (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5349 ../fish/guestfish-actions.pod:3602
+msgid ""
+"This resizes (expands or shrinks) an existing LVM physical volume to match "
+"the new size of the underlying device."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5356
+msgid "guestfs_pvresize_size"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5358
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_pvresize_size (guestfs_h *g,\n"
+" const char *device,\n"
+" int64_t size);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5363
+msgid ""
+"This command is the same as C<guestfs_pvresize> except that it allows you to "
+"specify the new size (in bytes) explicitly."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5370
+msgid "guestfs_pvs"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5372
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_pvs (guestfs_h *g);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5375 ../fish/guestfish-actions.pod:3616
+msgid ""
+"List all the physical volumes detected. This is the equivalent of the "
+"L<pvs(8)> command."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5378 ../fish/guestfish-actions.pod:3619
+msgid ""
+"This returns a list of just the device names that contain PVs "
+"(eg. C</dev/sda2>)."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5381
+msgid "See also C<guestfs_pvs_full>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5389
+msgid "guestfs_pvs_full"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5391
+#, no-wrap
+msgid ""
+" struct guestfs_lvm_pv_list *\n"
+" guestfs_pvs_full (guestfs_h *g);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5394 ../fish/guestfish-actions.pod:3628
+msgid ""
+"List all the physical volumes detected. This is the equivalent of the "
+"L<pvs(8)> command. The \"full\" version includes all fields."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5397
+msgid ""
+"This function returns a C<struct guestfs_lvm_pv_list *>, or NULL if there "
+"was an error. I<The caller must call C<guestfs_free_lvm_pv_list> after "
+"use>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5403
+msgid "guestfs_pvuuid"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5405
+#, no-wrap
+msgid ""
+" char *\n"
+" guestfs_pvuuid (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5409 ../fish/guestfish-actions.pod:3635
+msgid "This command returns the UUID of the LVM PV C<device>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5416
+msgid "guestfs_pwrite"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5418
+#, 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:5425 ../fish/guestfish-actions.pod:3641
+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:5428 ../fish/guestfish-actions.pod:3644
+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:5434
+msgid "See also C<guestfs_pread>, C<guestfs_pwrite_device>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5443
+msgid "guestfs_pwrite_device"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5445
+#, 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:5452 ../fish/guestfish-actions.pod:3659
+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:5455 ../fish/guestfish-actions.pod:3662
+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:5460
+msgid "See also C<guestfs_pwrite>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5467
+msgid "(Added in 1.5.20)"
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5469
+msgid "guestfs_read_file"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5471
+#, 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:5476 ../fish/guestfish-actions.pod:3676
+msgid "This calls returns the contents of the file C<path> as a buffer."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5479
+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:5491
+msgid "(Added in 1.0.63)"
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5493
+msgid "guestfs_read_lines"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5495
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_read_lines (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5501 ../fish/guestfish-actions.pod:3693
+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:5504
+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:5515
+msgid "guestfs_readdir"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5517
+#, 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:5521 ../fish/guestfish-actions.pod:3705
+msgid "This returns the list of directory entries in directory C<dir>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5523 ../fish/guestfish-actions.pod:3707
+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:5527 ../fish/guestfish-actions.pod:3711
+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:5532 ../fish/guestfish-actions.pod:3716
+msgid "'b'"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5534 ../fish/guestfish-actions.pod:3718
+msgid "Block special"
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5536 ../fish/guestfish-actions.pod:3720
+msgid "'c'"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5538 ../fish/guestfish-actions.pod:3722
+msgid "Char special"
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5540 ../fish/guestfish-actions.pod:3724
+msgid "'d'"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5542 ../fish/guestfish-actions.pod:3726
+msgid "Directory"
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5544 ../fish/guestfish-actions.pod:3728
+msgid "'f'"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5546 ../fish/guestfish-actions.pod:3730
+msgid "FIFO (named pipe)"
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5548 ../fish/guestfish-actions.pod:3732
+msgid "'l'"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5550 ../fish/guestfish-actions.pod:3734
+msgid "Symbolic link"
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5552 ../fish/guestfish-actions.pod:3736
+msgid "'r'"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5554 ../fish/guestfish-actions.pod:3738
+msgid "Regular file"
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5556 ../fish/guestfish-actions.pod:3740
+msgid "'s'"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5558 ../fish/guestfish-actions.pod:3742
+msgid "Socket"
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5560 ../fish/guestfish-actions.pod:3744
+msgid "'u'"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5562 ../fish/guestfish-actions.pod:3746
+msgid "Unknown file type"
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5564 ../fish/guestfish-actions.pod:3748
+msgid "'?'"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5566 ../fish/guestfish-actions.pod:3750
+msgid "The L<readdir(3)> call returned a C<d_type> field with an unexpected value"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5571
+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:5575
+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:5581
+msgid "guestfs_readlink"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5583
+#, no-wrap
+msgid ""
+" char *\n"
+" guestfs_readlink (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5587 ../fish/guestfish-actions.pod:3763
+msgid "This command reads the target of a symbolic link."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5594
+msgid "guestfs_readlinklist"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5596
+#, 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:5601 ../fish/guestfish-actions.pod:3769
+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:5605 ../fish/guestfish-actions.pod:3773
+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:5609 ../fish/guestfish-actions.pod:3777
+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:5616 ../fish/guestfish-actions.pod:3784
+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:5629
+msgid "guestfs_realpath"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5631
+#, no-wrap
+msgid ""
+" char *\n"
+" guestfs_realpath (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5635 ../fish/guestfish-actions.pod:3795
+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:5643
+msgid "guestfs_removexattr"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5645
+#, 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:5650 ../fish/guestfish-actions.pod:3802
+msgid "This call removes the extended attribute named C<xattr> of the file C<path>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5653
+msgid "See also: C<guestfs_lremovexattr>, L<attr(5)>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5659
+msgid "guestfs_resize2fs"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5661
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_resize2fs (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5665 ../fish/guestfish-actions.pod:3811
+msgid ""
+"This resizes an ext2, ext3 or ext4 filesystem to match the size of the "
+"underlying device."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5668
+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:5678
+msgid "guestfs_resize2fs_M"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5680
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_resize2fs_M (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5684
+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:5688
+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:5695
+msgid "guestfs_resize2fs_size"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5697
+#, 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:5702
+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:5709
+msgid "guestfs_rm"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5711
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_rm (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5715 ../fish/guestfish-actions.pod:3844
+msgid "Remove the single file C<path>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5721
+msgid "guestfs_rm_rf"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5723
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_rm_rf (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5727 ../fish/guestfish-actions.pod:3850
+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:5735
+msgid "guestfs_rmdir"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5737
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_rmdir (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5741 ../fish/guestfish-actions.pod:3858
+msgid "Remove the single directory C<path>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5747
+msgid "guestfs_rmmountpoint"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5749
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_rmmountpoint (guestfs_h *g,\n"
+" const char *exemptpath);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5753
+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:5761
+msgid "guestfs_scrub_device"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5763
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_scrub_device (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5767 ../fish/guestfish-actions.pod:3872
+msgid ""
+"This command writes patterns over C<device> to make data retrieval more "
+"difficult."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5770 ../src/guestfs-actions.pod:5791 ../src/guestfs-actions.pod:5810 ../fish/guestfish-actions.pod:3875 ../fish/guestfish-actions.pod:3890 ../fish/guestfish-actions.pod:3903
+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:5778 ../src/guestfs-actions.pod:5796 ../src/guestfs-actions.pod:5815
+msgid "(Added in 1.0.52)"
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5780
+msgid "guestfs_scrub_file"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5782
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_scrub_file (guestfs_h *g,\n"
+" const char *file);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5786 ../fish/guestfish-actions.pod:3885
+msgid ""
+"This command writes patterns over a file to make data retrieval more "
+"difficult."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5789 ../fish/guestfish-actions.pod:3888
+msgid "The file is I<removed> after scrubbing."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5798
+msgid "guestfs_scrub_freespace"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5800
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_scrub_freespace (guestfs_h *g,\n"
+" const char *dir);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5804
+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:5817
+msgid "guestfs_set_append"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5819
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_append (guestfs_h *g,\n"
+" const char *append);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5823 ../fish/guestfish-actions.pod:3912
+msgid ""
+"This function is used to add additional options to the guest kernel command "
+"line."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5826 ../fish/guestfish-actions.pod:3915
+msgid ""
+"The default is C<NULL> unless overridden by setting C<LIBGUESTFS_APPEND> "
+"environment variable."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5829 ../fish/guestfish-actions.pod:3918
+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:5836
+msgid "guestfs_set_attach_method"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5838
+#, 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:5842 ../fish/guestfish-actions.pod:3927
+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:5849 ../fish/guestfish-actions.pod:3934
+msgid ""
+"Launch an appliance and connect to it. This is the ordinary method and the "
+"default."
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:5852 ../fish/guestfish-actions.pod:3937
+msgid "C<unix:I<path>>"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5854 ../fish/guestfish-actions.pod:3939
+msgid "Connect to the Unix domain socket I<path>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5856 ../fish/guestfish-actions.pod:3941
+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:5864
+msgid "guestfs_set_autosync"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5866
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_autosync (guestfs_h *g,\n"
+" int autosync);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5870 ../fish/guestfish-actions.pod:3953
+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:5875 ../fish/guestfish-actions.pod:3958
+msgid ""
+"This is enabled by default (since libguestfs 1.5.24, previously it was "
+"disabled by default)."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5882
+msgid "guestfs_set_direct"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5884
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_direct (guestfs_h *g,\n"
+" int direct);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5888 ../fish/guestfish-actions.pod:3967
+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:5892
+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:5896 ../fish/guestfish-actions.pod:3975
+msgid "You probably don't want to use this unless you know what you are doing."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5899 ../fish/guestfish-actions.pod:3978
+msgid "The default is disabled."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5905
+msgid "guestfs_set_e2label"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5907
+#, 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:5912 ../fish/guestfish-actions.pod:3984
+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:5916
+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:5923
+msgid "guestfs_set_e2uuid"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5925
+#, 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:5930 ../fish/guestfish-actions.pod:3995
+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:5935
+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:5942
+msgid "guestfs_set_memsize"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5944
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_memsize (guestfs_h *g,\n"
+" int memsize);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5948
+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:5952 ../fish/guestfish-actions.pod:4013
+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:5963
+msgid "guestfs_set_network"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5965
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_network (guestfs_h *g,\n"
+" int network);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5969 ../fish/guestfish-actions.pod:4026
+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:5972 ../fish/guestfish-actions.pod:4029
+msgid ""
+"This affects whether commands are able to access the network (see "
+"L<guestfs(3)/RUNNING COMMANDS>)."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5975
+msgid ""
+"You must call this before calling C<guestfs_launch>, otherwise it has no "
+"effect."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5982
+msgid "guestfs_set_path"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:5984
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_path (guestfs_h *g,\n"
+" const char *searchpath);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5988 ../fish/guestfish-actions.pod:4041
+msgid "Set the path that libguestfs searches for kernel and initrd.img."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5990 ../fish/guestfish-actions.pod:4043
+msgid ""
+"The default is C<$libdir/guestfs> unless overridden by setting "
+"C<LIBGUESTFS_PATH> environment variable."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:5993 ../fish/guestfish-actions.pod:4046
+msgid "Setting C<path> to C<NULL> restores the default path."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:5999
+msgid "guestfs_set_qemu"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6001
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_qemu (guestfs_h *g,\n"
+" const char *qemu);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6005 ../fish/guestfish-actions.pod:4054
+msgid "Set the qemu binary that we will use."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6007 ../fish/guestfish-actions.pod:4056
+msgid "The default is chosen when the library was compiled by the configure script."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6010 ../fish/guestfish-actions.pod:4059
+msgid ""
+"You can also override this by setting the C<LIBGUESTFS_QEMU> environment "
+"variable."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6013 ../fish/guestfish-actions.pod:4062
+msgid "Setting C<qemu> to C<NULL> restores the default qemu binary."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6015 ../fish/guestfish-actions.pod:4064
+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:6027
+msgid "guestfs_set_recovery_proc"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6029
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_recovery_proc (guestfs_h *g,\n"
+" int recoveryproc);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6033
+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:6038
+msgid ""
+"This only has any effect if called before C<guestfs_launch>, and the default "
+"is true."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6041 ../fish/guestfish-actions.pod:4086
+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:6051
+msgid "guestfs_set_selinux"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6053
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_selinux (guestfs_h *g,\n"
+" int selinux);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6057 ../fish/guestfish-actions.pod:4098
+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:6060 ../fish/guestfish-actions.pod:4101
+msgid ""
+"Note that if SELinux is enabled, it is always in Permissive mode "
+"(C<enforcing=0>)."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6070
+msgid "guestfs_set_trace"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6072
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_trace (guestfs_h *g,\n"
+" int trace);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6076 ../fish/guestfish-actions.pod:4113
+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:6079 ../fish/guestfish-actions.pod:4116
+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:6083 ../fish/guestfish-actions.pod:4120
+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:6086
+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:6094
+msgid "guestfs_set_verbose"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6096
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_set_verbose (guestfs_h *g,\n"
+" int verbose);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6100 ../fish/guestfish-actions.pod:4133
+msgid "If C<verbose> is true, this turns on verbose messages."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6102 ../fish/guestfish-actions.pod:4135
+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:6105
+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:6113
+msgid "guestfs_setcon"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6115
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_setcon (guestfs_h *g,\n"
+" const char *context);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6119 ../fish/guestfish-actions.pod:4146
+msgid ""
+"This sets the SELinux security context of the daemon to the string "
+"C<context>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6122 ../fish/guestfish-actions.pod:4149
+msgid "See the documentation about SELINUX in L<guestfs(3)>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6128
+msgid "guestfs_setxattr"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6130
+#, 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:6137 ../fish/guestfish-actions.pod:4155
+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:6141
+msgid "See also: C<guestfs_lsetxattr>, L<attr(5)>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6147
+msgid "guestfs_sfdisk"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6149
+#, 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:6157 ../fish/guestfish-actions.pod:4165
+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:6160 ../fish/guestfish-actions.pod:4168
+msgid "C<device> should be a block device, for example C</dev/sda>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6162 ../fish/guestfish-actions.pod:4170
+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:6170 ../fish/guestfish-actions.pod:4178
+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:6173 ../fish/guestfish-actions.pod:4181
+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:6177
+msgid "See also: C<guestfs_sfdisk_l>, C<guestfs_sfdisk_N>, C<guestfs_part_init>"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6185 ../src/guestfs-actions.pod:6215 ../src/guestfs-actions.pod:6248 ../fish/guestfish-actions.pod:4191 ../fish/guestfish-actions.pod:4214 ../fish/guestfish-actions.pod:4236
+msgid "This function is deprecated. In new code, use the C<part_add> call instead."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6194
+msgid "guestfs_sfdiskM"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6196
+#, 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:6201
+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:6207
+msgid ""
+"See also: C<guestfs_sfdisk>, the L<sfdisk(8)> manpage and "
+"C<guestfs_part_disk>"
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6224
+msgid "guestfs_sfdisk_N"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6226
+#, 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:6235 ../fish/guestfish-actions.pod:4225
+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:6238
+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:6241
+msgid "See also: C<guestfs_part_add>"
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6257
+msgid "guestfs_sfdisk_disk_geometry"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6259
+#, 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:6263
+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:6268 ../src/guestfs-actions.pod:6284 ../fish/guestfish-actions.pod:4252 ../fish/guestfish-actions.pod:4261
+msgid "The result is in human-readable format, and not designed to be parsed."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6276
+msgid "guestfs_sfdisk_kernel_geometry"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6278
+#, 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:6282 ../fish/guestfish-actions.pod:4259
+msgid "This displays the kernel's idea of the geometry of C<device>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6292
+msgid "guestfs_sfdisk_l"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6294
+#, no-wrap
+msgid ""
+" char *\n"
+" guestfs_sfdisk_l (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6298 ../fish/guestfish-actions.pod:4268
+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:6302
+msgid "See also: C<guestfs_part_list>"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6307 ../fish/guestfish-actions.pod:4274
+msgid ""
+"This function is deprecated. In new code, use the C<part_list> call "
+"instead."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6316
+msgid "guestfs_sh"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6318
+#, no-wrap
+msgid ""
+" char *\n"
+" guestfs_sh (guestfs_h *g,\n"
+" const char *command);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6322 ../fish/guestfish-actions.pod:4285
+msgid ""
+"This call runs a command from the guest filesystem via the guest's "
+"C</bin/sh>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6325
+msgid "This is like C<guestfs_command>, but passes the command to:"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6327 ../fish/guestfish-actions.pod:4290
+#, no-wrap
+msgid ""
+" /bin/sh -c \"command\"\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6329 ../fish/guestfish-actions.pod:4292
+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:6333
+msgid "All the provisos about C<guestfs_command> apply to this call."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6340
+msgid "guestfs_sh_lines"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6342
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_sh_lines (guestfs_h *g,\n"
+" const char *command);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6346
+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:6349
+msgid "See also: C<guestfs_command_lines>"
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6357
+msgid "guestfs_sleep"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6359
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_sleep (guestfs_h *g,\n"
+" int secs);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6363 ../fish/guestfish-actions.pod:4311
+msgid "Sleep for C<secs> seconds."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6367
+msgid "(Added in 1.0.41)"
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6369 ../src/guestfs-structs.pod:109
+msgid "guestfs_stat"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6371
+#, 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:6377 ../fish/guestfish-actions.pod:4319
+msgid "This is the same as the C<stat(2)> system call."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6385 ../src/guestfs-structs.pod:135
+msgid "guestfs_statvfs"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6387
+#, 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:6391 ../fish/guestfish-actions.pod:4325
+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:6395 ../fish/guestfish-actions.pod:4329
+msgid "This is the same as the C<statvfs(2)> system call."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6397
+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:6403
+msgid "guestfs_strings"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6405
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_strings (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6409 ../fish/guestfish-actions.pod:4335
+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:6421
+msgid "guestfs_strings_e"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6423
+#, 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:6428
+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:6432 ../fish/guestfish-actions.pod:4349
+msgid "Allowed encodings are:"
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:6436 ../fish/guestfish-actions.pod:4353
+msgid "s"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6438
+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:6441 ../fish/guestfish-actions.pod:4358
+msgid "S"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6443 ../fish/guestfish-actions.pod:4360
+msgid "Single 8-bit-byte characters."
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:6445 ../fish/guestfish-actions.pod:4362
+msgid "b"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6447 ../fish/guestfish-actions.pod:4364
+msgid "16-bit big endian strings such as those encoded in UTF-16BE or UCS-2BE."
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:6450 ../fish/guestfish-actions.pod:4367
+msgid "l (lower case letter L)"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6452 ../fish/guestfish-actions.pod:4369
+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:6455 ../fish/guestfish-actions.pod:4372
+msgid "B"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6457 ../fish/guestfish-actions.pod:4374
+msgid "32-bit big endian such as UCS-4BE."
+msgstr ""
+
+#. type: =item
+#: ../src/guestfs-actions.pod:6459 ../fish/guestfish-actions.pod:4376
+msgid "L"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6461 ../fish/guestfish-actions.pod:4378
+msgid "32-bit little endian such as UCS-4LE."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6465 ../fish/guestfish-actions.pod:4382
+msgid "The returned strings are transcoded to UTF-8."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6476
+msgid "guestfs_swapoff_device"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6478
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_swapoff_device (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6482
+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:6490
+msgid "guestfs_swapoff_file"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6492
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_swapoff_file (guestfs_h *g,\n"
+" const char *file);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6496 ../fish/guestfish-actions.pod:4399
+msgid "This command disables the libguestfs appliance swap on file."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6502
+msgid "guestfs_swapoff_label"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6504
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_swapoff_label (guestfs_h *g,\n"
+" const char *label);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6508 ../fish/guestfish-actions.pod:4405
+msgid ""
+"This command disables the libguestfs appliance swap on labeled swap "
+"partition."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6515
+msgid "guestfs_swapoff_uuid"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6517
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_swapoff_uuid (guestfs_h *g,\n"
+" const char *uuid);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6521 ../fish/guestfish-actions.pod:4412
+msgid ""
+"This command disables the libguestfs appliance swap partition with the given "
+"UUID."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6528
+msgid "guestfs_swapon_device"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6530
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_swapon_device (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6534
+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:6539 ../fish/guestfish-actions.pod:4424
+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:6550
+msgid "guestfs_swapon_file"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6552
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_swapon_file (guestfs_h *g,\n"
+" const char *file);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6556
+msgid ""
+"This command enables swap to a file. See C<guestfs_swapon_device> for other "
+"notes."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6563
+msgid "guestfs_swapon_label"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6565
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_swapon_label (guestfs_h *g,\n"
+" const char *label);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6569
+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:6576
+msgid "guestfs_swapon_uuid"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6578
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_swapon_uuid (guestfs_h *g,\n"
+" const char *uuid);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6582
+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:6589
+msgid "guestfs_sync"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6591
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_sync (guestfs_h *g);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6594 ../fish/guestfish-actions.pod:4456
+msgid ""
+"This syncs the disk, so that any writes are flushed through to the "
+"underlying disk image."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6597 ../fish/guestfish-actions.pod:4459
+msgid ""
+"You should always call this if you have modified a disk image, before "
+"closing the handle."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6604
+msgid "guestfs_tail"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6606
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_tail (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6610 ../fish/guestfish-actions.pod:4466
+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:6622
+msgid "guestfs_tail_n"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6624
+#, 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:6629 ../fish/guestfish-actions.pod:4476
+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:6632 ../fish/guestfish-actions.pod:4479
+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:6646
+msgid "guestfs_tar_in"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6648
+#, 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:6653 ../fish/guestfish-actions.pod:4491
+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:6656
+msgid "To upload a compressed tarball, use C<guestfs_tgz_in> or C<guestfs_txz_in>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6661 ../src/guestfs-actions.pod:6678 ../src/guestfs-actions.pod:6694 ../src/guestfs-actions.pod:6710
+msgid "(Added in 1.0.3)"
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6663
+msgid "guestfs_tar_out"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6665
+#, 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:6670 ../fish/guestfish-actions.pod:4503
+msgid ""
+"This command packs the contents of C<directory> and downloads it to local "
+"file C<tarfile>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6673
+msgid ""
+"To download a compressed tarball, use C<guestfs_tgz_out> or "
+"C<guestfs_txz_out>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6680
+msgid "guestfs_tgz_in"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6682
+#, 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:6687 ../fish/guestfish-actions.pod:4515
+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:6690
+msgid "To upload an uncompressed tarball, use C<guestfs_tar_in>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6696
+msgid "guestfs_tgz_out"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6698
+#, 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:6703 ../fish/guestfish-actions.pod:4526
+msgid ""
+"This command packs the contents of C<directory> and downloads it to local "
+"file C<tarball>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6706
+msgid "To download an uncompressed tarball, use C<guestfs_tar_out>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6712
+msgid "guestfs_touch"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6714
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_touch (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6718 ../fish/guestfish-actions.pod:4537
+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:6722 ../fish/guestfish-actions.pod:4541
+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:6729
+msgid "guestfs_truncate"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6731
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_truncate (guestfs_h *g,\n"
+" const char *path);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6735 ../fish/guestfish-actions.pod:4548
+msgid ""
+"This command truncates C<path> to a zero-length file. The file must exist "
+"already."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6742
+msgid "guestfs_truncate_size"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6744
+#, 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:6749 ../fish/guestfish-actions.pod:4555
+msgid ""
+"This command truncates C<path> to size C<size> bytes. The file must exist "
+"already."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6752
+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:6762
+msgid "guestfs_tune2fs_l"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6764
+#, no-wrap
+msgid ""
+" char **\n"
+" guestfs_tune2fs_l (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6768 ../fish/guestfish-actions.pod:4568
+msgid ""
+"This returns the contents of the ext2, ext3 or ext4 filesystem superblock on "
+"C<device>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6771 ../fish/guestfish-actions.pod:4571
+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:6784
+msgid "guestfs_txz_in"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6786
+#, 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:6791 ../fish/guestfish-actions.pod:4580
+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:6798
+msgid "guestfs_txz_out"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6800
+#, 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:6805 ../fish/guestfish-actions.pod:4589
+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:6812
+msgid "guestfs_umask"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6814
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_umask (guestfs_h *g,\n"
+" int mask);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6818 ../fish/guestfish-actions.pod:4598
+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:6821 ../fish/guestfish-actions.pod:4601
+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:6826 ../fish/guestfish-actions.pod:4606
+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:6830
+msgid ""
+"See also C<guestfs_get_umask>, L<umask(2)>, C<guestfs_mknod>, "
+"C<guestfs_mkdir>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6833 ../fish/guestfish-actions.pod:4613
+msgid "This call returns the previous umask."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6839
+msgid "guestfs_umount"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6841
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_umount (guestfs_h *g,\n"
+" const char *pathordevice);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6845 ../fish/guestfish-actions.pod:4621
+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:6853
+msgid "guestfs_umount_all"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6855
+#, no-wrap
+msgid ""
+" int\n"
+" guestfs_umount_all (guestfs_h *g);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6858 ../fish/guestfish-actions.pod:4631
+msgid "This unmounts all mounted filesystems."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6860 ../fish/guestfish-actions.pod:4633
+msgid "Some internal mounts are not unmounted by this call."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6866
+msgid "guestfs_upload"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6868
+#, 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:6873 ../src/guestfs-actions.pod:6897 ../fish/guestfish-actions.pod:4639 ../fish/guestfish-actions.pod:4652
+msgid "Upload local file C<filename> to C<remotefilename> on the filesystem."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6878
+msgid "See also C<guestfs_download>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6889
+msgid "guestfs_upload_offset"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6891
+#, 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:6900 ../fish/guestfish-actions.pod:4655
+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:6907
+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:6912
+msgid "See also C<guestfs_upload>, C<guestfs_pwrite>."
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6923
+msgid "guestfs_utimens"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6925
+#, 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:6933 ../fish/guestfish-actions.pod:4675
+msgid "This command sets the timestamps of a file with nanosecond precision."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6936 ../fish/guestfish-actions.pod:4678
+msgid ""
+"C<atsecs, atnsecs> are the last access time (atime) in secs and nanoseconds "
+"from the epoch."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6939 ../fish/guestfish-actions.pod:4681
+msgid ""
+"C<mtsecs, mtnsecs> are the last modification time (mtime) in secs and "
+"nanoseconds from the epoch."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6942 ../fish/guestfish-actions.pod:4684
+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:6946 ../fish/guestfish-actions.pod:4688
+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:6954 ../src/guestfs-structs.pod:175
+msgid "guestfs_version"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6956
+#, no-wrap
+msgid ""
+" struct guestfs_version *\n"
+" guestfs_version (guestfs_h *g);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6959 ../fish/guestfish-actions.pod:4696
+msgid "Return the libguestfs version number that the program is linked against."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6962 ../fish/guestfish-actions.pod:4699
+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:6967 ../fish/guestfish-actions.pod:4704
+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:6973 ../fish/guestfish-actions.pod:4710
+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:6979 ../fish/guestfish-actions.pod:4716
+msgid "To construct the original version string: C<$major.$minor.$release$extra>"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6982 ../fish/guestfish-actions.pod:4719
+msgid "See also: L<guestfs(3)/LIBGUESTFS VERSION NUMBERS>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:6984
+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:6990
+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:6994
+msgid "(Added in 1.0.58)"
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:6996
+msgid "guestfs_vfs_label"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:6998
+#, no-wrap
+msgid ""
+" char *\n"
+" guestfs_vfs_label (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7002 ../fish/guestfish-actions.pod:4731
+msgid "This returns the filesystem label of the filesystem on C<device>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7005 ../fish/guestfish-actions.pod:4734
+msgid "If the filesystem is unlabeled, this returns the empty string."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7007
+msgid "To find a filesystem from the label, use C<guestfs_findfs_label>."
+msgstr ""
+
+#. type: textblock
+#: ../src/guestfs-actions.pod:7012 ../src/guestfs-actions.pod:7049
+msgid "(Added in 1.3.18)"
+msgstr ""
+
+#. type: =head2
+#: ../src/guestfs-actions.pod:7014
+msgid "guestfs_vfs_type"
+msgstr ""
+
+#. type: verbatim
+#: ../src/guestfs-actions.pod:7016
+#, no-wrap
+msgid ""
+" char *\n"
+" guestfs_vfs_type (guestfs_h *g,\n"
+" const char *device);\n"
+"\n"