class guestfs :?environment:bool -> ?close_on_exit:bool -> unit ->
object
..end
method close : unit -> unit
Guestfs.close
method set_event_callback : event_callback -> event list -> event_handle
method delete_event_callback : event_handle -> unit
method last_errno : unit -> int
method ocaml_handle : t
Guestfs.t
handlemethod acl_delete_def_file : string -> unit
This function depends on the feature "acl". See also Guestfs.guestfs.feature_available
.
Since 1.19.63
method acl_get_file : string -> string -> string
This function depends on the feature "acl". See also Guestfs.guestfs.feature_available
.
Since 1.19.63
method acl_set_file : string -> string -> string -> unit
This function depends on the feature "acl". See also Guestfs.guestfs.feature_available
.
Since 1.19.63
method add_cdrom : string -> unit
method add_domain : ?libvirturi:string ->
?readonly:bool ->
?iface:string ->
?live:bool ->
?allowuuid:bool ->
?readonlydisk:string ->
?cachemode:string -> ?discard:string -> ?copyonread:bool -> string -> int
method add_drive : ?readonly:bool ->
?format:string ->
?iface:string ->
?name:string ->
?label:string ->
?protocol:string ->
?server:string array ->
?username:string ->
?secret:string ->
?cachemode:string -> ?discard:string -> ?copyonread:bool -> string -> unit
method add_drive_opts : ?readonly:bool ->
?format:string ->
?iface:string ->
?name:string ->
?label:string ->
?protocol:string ->
?server:string array ->
?username:string ->
?secret:string ->
?cachemode:string -> ?discard:string -> ?copyonread:bool -> string -> unit
method add_drive_ro : string -> unit
method add_drive_ro_with_if : string -> string -> unit
Guestfs.guestfs.add_drive
insteadmethod add_drive_scratch : ?name:string -> ?label:string -> int64 -> unit
method add_drive_with_if : string -> string -> unit
Guestfs.guestfs.add_drive
insteadmethod add_libvirt_dom : ?readonly:bool ->
?iface:string ->
?live:bool ->
?readonlydisk:string ->
?cachemode:string -> ?discard:string -> ?copyonread:bool -> int64 -> int
method aug_clear : string -> unit
method aug_close : unit -> unit
method aug_defnode : string -> string -> string -> int_bool
method aug_defvar : string -> string option -> int
method aug_get : string -> string
method aug_init : string -> int -> unit
method aug_insert : string -> string -> bool -> unit
method aug_label : string -> string
method aug_load : unit -> unit
method aug_ls : string -> string array
method aug_match : string -> string array
method aug_mv : string -> string -> unit
method aug_rm : string -> int
method aug_save : unit -> unit
method aug_set : string -> string -> unit
method aug_setm : string -> string option -> string -> int
method aug_transform : ?remove:bool -> string -> string -> unit
method available : string array -> unit
method available_all_groups : unit -> string array
method base64_in : string -> string -> unit
method base64_out : string -> string -> unit
method blkdiscard : string -> unit
This function depends on the feature "blkdiscard". See also Guestfs.guestfs.feature_available
.
Since 1.25.44
method blkdiscardzeroes : string -> bool
This function depends on the feature "blkdiscardzeroes". See also Guestfs.guestfs.feature_available
.
Since 1.25.44
method blkid : string -> (string * string) list
method blockdev_flushbufs : string -> unit
method blockdev_getbsz : string -> int
method blockdev_getro : string -> bool
method blockdev_getsize64 : string -> int64
method blockdev_getss : string -> int
method blockdev_getsz : string -> int64
method blockdev_rereadpt : string -> unit
method blockdev_setbsz : string -> int -> unit
method blockdev_setra : string -> int -> unit
method blockdev_setro : string -> unit
method blockdev_setrw : string -> unit
method btrfs_balance_cancel : string -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.29.22
method btrfs_balance_pause : string -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.29.22
method btrfs_balance_resume : string -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.29.22
method btrfs_balance_status : string -> btrfsbalance
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.29.26
method btrfs_device_add : string array -> string -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.17.35
method btrfs_device_delete : string array -> string -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.17.35
method btrfs_filesystem_balance : string -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.17.35
method btrfs_filesystem_defragment : ?flush:bool -> ?compress:string -> string -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.29.22
method btrfs_filesystem_resize : ?size:int64 -> string -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.11.17
method btrfs_filesystem_show : string -> string array
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.33.29
method btrfs_filesystem_sync : string -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.17.35
method btrfs_fsck : ?superblock:int64 -> ?repair:bool -> string -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.17.43
method btrfs_image : ?compresslevel:int -> string array -> string -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.29.32
method btrfs_qgroup_assign : string -> string -> string -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.29.17
method btrfs_qgroup_create : string -> string -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.29.17
method btrfs_qgroup_destroy : string -> string -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.29.17
method btrfs_qgroup_limit : string -> int64 -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.29.17
method btrfs_qgroup_remove : string -> string -> string -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.29.17
method btrfs_qgroup_show : string -> btrfsqgroup array
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.29.17
method btrfs_quota_enable : string -> bool -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.29.17
method btrfs_quota_rescan : string -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.29.17
method btrfs_replace : string -> string -> string -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.29.48
method btrfs_rescue_chunk_recover : string -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.29.22
method btrfs_rescue_super_recover : string -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.29.22
method btrfs_scrub_cancel : string -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.29.22
method btrfs_scrub_resume : string -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.29.22
method btrfs_scrub_start : string -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.29.22
method btrfs_scrub_status : string -> btrfsscrub
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.29.26
method btrfs_set_seeding : string -> bool -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.17.43
method btrfs_subvolume_create : ?qgroupid:string -> string -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.17.35
method btrfs_subvolume_create_opts : ?qgroupid:string -> string -> unit
Guestfs.guestfs.btrfs_subvolume_create
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.17.35
method btrfs_subvolume_delete : string -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.17.35
method btrfs_subvolume_get_default : string -> int64
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.29.17
method btrfs_subvolume_list : string -> btrfssubvolume array
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.17.35
method btrfs_subvolume_set_default : int64 -> string -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.17.35
method btrfs_subvolume_show : string -> (string * string) list
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.29.17
method btrfs_subvolume_snapshot : ?ro:bool -> ?qgroupid:string -> string -> string -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.17.35
method btrfs_subvolume_snapshot_opts : ?ro:bool -> ?qgroupid:string -> string -> string -> unit
Guestfs.guestfs.btrfs_subvolume_snapshot
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.17.35
method btrfstune_enable_extended_inode_refs : string -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.29.29
method btrfstune_enable_skinny_metadata_extent_refs : string -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.29.29
method btrfstune_seeding : string -> bool -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.29.29
method c_pointer : unit -> int64
method canonical_device_name : string -> string
method cap_get_file : string -> string
This function depends on the feature "linuxcaps". See also Guestfs.guestfs.feature_available
.
Since 1.19.63
method cap_set_file : string -> string -> unit
This function depends on the feature "linuxcaps". See also Guestfs.guestfs.feature_available
.
Since 1.19.63
method case_sensitive_path : string -> string
method cat : string -> string
method checksum : string -> string -> string
method checksum_device : string -> string -> string
method checksums_out : string -> string -> string -> unit
method chmod : int -> string -> unit
method chown : int -> int -> string -> unit
method clear_backend_setting : string -> int
method command : string array -> string
method command_lines : string array -> string array
method compress_device_out : ?level:int -> string -> string -> string -> unit
method compress_out : ?level:int -> string -> string -> string -> unit
method config : string -> string option -> unit
method copy_attributes : ?all:bool ->
?mode:bool ->
?xattributes:bool -> ?ownership:bool -> string -> string -> unit
method copy_device_to_device : ?srcoffset:int64 ->
?destoffset:int64 ->
?size:int64 -> ?sparse:bool -> ?append:bool -> string -> string -> unit
method copy_device_to_file : ?srcoffset:int64 ->
?destoffset:int64 ->
?size:int64 -> ?sparse:bool -> ?append:bool -> string -> string -> unit
method copy_file_to_device : ?srcoffset:int64 ->
?destoffset:int64 ->
?size:int64 -> ?sparse:bool -> ?append:bool -> string -> string -> unit
method copy_file_to_file : ?srcoffset:int64 ->
?destoffset:int64 ->
?size:int64 -> ?sparse:bool -> ?append:bool -> string -> string -> unit
method copy_in : string -> string -> unit
method copy_out : string -> string -> unit
method copy_size : string -> string -> int64 -> unit
Guestfs.guestfs.copy_device_to_device
insteadmethod cp : string -> string -> unit
method cp_a : string -> string -> unit
method cp_r : string -> string -> unit
method cpio_out : ?format:string -> string -> string -> unit
method dd : string -> string -> unit
Guestfs.guestfs.copy_device_to_device
insteadmethod device_index : string -> int
method df : unit -> string
method df_h : unit -> string
method disk_create : ?backingfile:string ->
?backingformat:string ->
?preallocation:string ->
?compat:string -> ?clustersize:int -> string -> string -> int64 -> unit
method disk_format : string -> string
method disk_has_backing_file : string -> bool
method disk_virtual_size : string -> int64
method dmesg : unit -> string
method download : string -> string -> unit
method download_blocks : ?unallocated:bool -> string -> int64 -> int64 -> string -> unit
This function depends on the feature "sleuthkit". See also Guestfs.guestfs.feature_available
.
Since 1.33.45
method download_inode : string -> int64 -> string -> unit
This function depends on the feature "sleuthkit". See also Guestfs.guestfs.feature_available
.
Since 1.33.14
method download_offset : string -> string -> int64 -> int64 -> unit
method drop_caches : int -> unit
method du : string -> int64
method e2fsck : ?correct:bool -> ?forceall:bool -> string -> unit
method e2fsck_f : string -> unit
method echo_daemon : string array -> string
method egrep : string -> string -> string array
method egrepi : string -> string -> string array
method equal : string -> string -> bool
method exists : string -> bool
method extlinux : string -> unit
This function depends on the feature "extlinux". See also Guestfs.guestfs.feature_available
.
Since 1.21.27
method f2fs_expand : string -> unit
This function depends on the feature "f2fs". See also Guestfs.guestfs.feature_available
.
Since 1.39.3
method fallocate : string -> int -> unit
Guestfs.guestfs.fallocate64
insteadmethod fallocate64 : string -> int64 -> unit
method feature_available : string array -> bool
method fgrep : string -> string -> string array
method fgrepi : string -> string -> string array
method file : string -> string
method file_architecture : string -> string
method filesize : string -> int64
method filesystem_available : string -> bool
method filesystem_walk : string -> tsk_dirent array
This function depends on the feature "libtsk". See also Guestfs.guestfs.feature_available
.
Since 1.33.39
method fill : int -> int -> string -> unit
method fill_dir : string -> int -> unit
method fill_pattern : string -> int -> string -> unit
method find : string -> string array
method find0 : string -> string -> unit
method find_inode : string -> int64 -> tsk_dirent array
This function depends on the feature "libtsk". See also Guestfs.guestfs.feature_available
.
Since 1.35.6
method findfs_label : string -> string
method findfs_uuid : string -> string
method fsck : string -> string -> int
method fstrim : ?offset:int64 -> ?length:int64 -> ?minimumfreeextent:int64 -> string -> unit
This function depends on the feature "fstrim". See also Guestfs.guestfs.feature_available
.
Since 1.19.6
method get_append : unit -> string option
method get_attach_method : unit -> string
method get_autosync : unit -> bool
method get_backend : unit -> string
method get_backend_setting : string -> string
method get_backend_settings : unit -> string array
method get_cachedir : unit -> string
method get_direct : unit -> bool
method get_e2attrs : string -> string
method get_e2generation : string -> int64
method get_e2label : string -> string
method get_e2uuid : string -> string
method get_hv : unit -> string
method get_identifier : unit -> string
method get_libvirt_requested_credential_challenge : int -> string
method get_libvirt_requested_credential_defresult : int -> string
method get_libvirt_requested_credential_prompt : int -> string
method get_libvirt_requested_credentials : unit -> string array
method get_memsize : unit -> int
method get_network : unit -> bool
method get_path : unit -> string
method get_pgroup : unit -> bool
method get_pid : unit -> int
method get_program : unit -> string
method get_qemu : unit -> string
method get_recovery_proc : unit -> bool
method get_selinux : unit -> bool
method get_smp : unit -> int
method get_sockdir : unit -> string
method get_state : unit -> int
method get_tmpdir : unit -> string
method get_trace : unit -> bool
method get_umask : unit -> int
method get_verbose : unit -> bool
method getcon : unit -> string
Guestfs.guestfs.selinux_relabel
instead
This function depends on the feature "selinux". See also Guestfs.guestfs.feature_available
.
Since 1.0.67
method getxattr : string -> string -> string
This function depends on the feature "linuxxattrs". See also Guestfs.guestfs.feature_available
.
Since 1.7.24
method getxattrs : string -> xattr array
This function depends on the feature "linuxxattrs". See also Guestfs.guestfs.feature_available
.
Since 1.0.59
method glob_expand : ?directoryslash:bool -> string -> string array
method glob_expand_opts : ?directoryslash:bool -> string -> string array
method grep : ?extended:bool ->
?fixed:bool ->
?insensitive:bool -> ?compressed:bool -> string -> string -> string array
method grep_opts : ?extended:bool ->
?fixed:bool ->
?insensitive:bool -> ?compressed:bool -> string -> string -> string array
method grepi : string -> string -> string array
method grub_install : string -> string -> unit
This function depends on the feature "grub". See also Guestfs.guestfs.feature_available
.
Since 1.0.17
method head : string -> string array
method head_n : int -> string -> string array
method hexdump : string -> string
method hivex_close : unit -> unit
This function depends on the feature "hivex". See also Guestfs.guestfs.feature_available
.
Since 1.19.35
method hivex_commit : string option -> unit
This function depends on the feature "hivex". See also Guestfs.guestfs.feature_available
.
Since 1.19.35
method hivex_node_add_child : int64 -> string -> int64
This function depends on the feature "hivex". See also Guestfs.guestfs.feature_available
.
Since 1.19.35
method hivex_node_children : int64 -> hivex_node array
This function depends on the feature "hivex". See also Guestfs.guestfs.feature_available
.
Since 1.19.35
method hivex_node_delete_child : int64 -> unit
This function depends on the feature "hivex". See also Guestfs.guestfs.feature_available
.
Since 1.19.35
method hivex_node_get_child : int64 -> string -> int64
This function depends on the feature "hivex". See also Guestfs.guestfs.feature_available
.
Since 1.19.35
method hivex_node_get_value : int64 -> string -> int64
This function depends on the feature "hivex". See also Guestfs.guestfs.feature_available
.
Since 1.19.35
method hivex_node_name : int64 -> string
This function depends on the feature "hivex". See also Guestfs.guestfs.feature_available
.
Since 1.19.35
method hivex_node_parent : int64 -> int64
This function depends on the feature "hivex". See also Guestfs.guestfs.feature_available
.
Since 1.19.35
method hivex_node_set_value : int64 -> string -> int64 -> string -> unit
This function depends on the feature "hivex". See also Guestfs.guestfs.feature_available
.
Since 1.19.35
method hivex_node_values : int64 -> hivex_value array
This function depends on the feature "hivex". See also Guestfs.guestfs.feature_available
.
Since 1.19.35
method hivex_open : ?verbose:bool -> ?debug:bool -> ?write:bool -> ?unsafe:bool -> string -> unit
This function depends on the feature "hivex". See also Guestfs.guestfs.feature_available
.
Since 1.19.35
method hivex_root : unit -> int64
This function depends on the feature "hivex". See also Guestfs.guestfs.feature_available
.
Since 1.19.35
method hivex_value_key : int64 -> string
This function depends on the feature "hivex". See also Guestfs.guestfs.feature_available
.
Since 1.19.35
method hivex_value_string : int64 -> string
This function depends on the feature "hivex". See also Guestfs.guestfs.feature_available
.
Since 1.37.22
method hivex_value_type : int64 -> int64
This function depends on the feature "hivex". See also Guestfs.guestfs.feature_available
.
Since 1.19.35
method hivex_value_utf8 : int64 -> string
Guestfs.guestfs.hivex_value_string
instead
This function depends on the feature "hivex". See also Guestfs.guestfs.feature_available
.
Since 1.19.35
method hivex_value_value : int64 -> string
This function depends on the feature "hivex". See also Guestfs.guestfs.feature_available
.
Since 1.19.35
method initrd_cat : string -> string -> string
method initrd_list : string -> string array
method inotify_add_watch : string -> int -> int64
This function depends on the feature "inotify". See also Guestfs.guestfs.feature_available
.
Since 1.0.66
method inotify_close : unit -> unit
This function depends on the feature "inotify". See also Guestfs.guestfs.feature_available
.
Since 1.0.66
method inotify_files : unit -> string array
This function depends on the feature "inotify". See also Guestfs.guestfs.feature_available
.
Since 1.0.66
method inotify_init : int -> unit
This function depends on the feature "inotify". See also Guestfs.guestfs.feature_available
.
Since 1.0.66
method inotify_read : unit -> inotify_event array
This function depends on the feature "inotify". See also Guestfs.guestfs.feature_available
.
Since 1.0.66
method inotify_rm_watch : int -> unit
This function depends on the feature "inotify". See also Guestfs.guestfs.feature_available
.
Since 1.0.66
method inspect_get_arch : string -> string
method inspect_get_distro : string -> string
method inspect_get_drive_mappings : string -> (string * string) list
method inspect_get_filesystems : string -> string array
method inspect_get_format : string -> string
method inspect_get_hostname : string -> string
method inspect_get_icon : ?favicon:bool -> ?highquality:bool -> string -> string
method inspect_get_major_version : string -> int
method inspect_get_minor_version : string -> int
method inspect_get_mountpoints : string -> (string * string) list
method inspect_get_osinfo : string -> string
method inspect_get_package_format : string -> string
method inspect_get_package_management : string -> string
method inspect_get_product_name : string -> string
method inspect_get_product_variant : string -> string
method inspect_get_roots : unit -> string array
method inspect_get_type : string -> string
method inspect_get_windows_current_control_set : string -> string
method inspect_get_windows_software_hive : string -> string
method inspect_get_windows_system_hive : string -> string
method inspect_get_windows_systemroot : string -> string
method inspect_is_live : string -> bool
method inspect_is_multipart : string -> bool
method inspect_is_netinst : string -> bool
method inspect_list_applications : string -> application array
Guestfs.guestfs.inspect_list_applications2
insteadmethod inspect_list_applications2 : string -> application2 array
method inspect_os : unit -> string array
method is_blockdev : ?followsymlinks:bool -> string -> bool
method is_blockdev_opts : ?followsymlinks:bool -> string -> bool
method is_busy : unit -> bool
method is_chardev : ?followsymlinks:bool -> string -> bool
method is_chardev_opts : ?followsymlinks:bool -> string -> bool
method is_config : unit -> bool
method is_dir : ?followsymlinks:bool -> string -> bool
method is_dir_opts : ?followsymlinks:bool -> string -> bool
method is_fifo : ?followsymlinks:bool -> string -> bool
method is_fifo_opts : ?followsymlinks:bool -> string -> bool
method is_file : ?followsymlinks:bool -> string -> bool
method is_file_opts : ?followsymlinks:bool -> string -> bool
method is_launching : unit -> bool
method is_lv : string -> bool
method is_ready : unit -> bool
method is_socket : ?followsymlinks:bool -> string -> bool
method is_socket_opts : ?followsymlinks:bool -> string -> bool
method is_symlink : string -> bool
method is_whole_device : string -> bool
method is_zero : string -> bool
method is_zero_device : string -> bool
method isoinfo : string -> isoinfo
method isoinfo_device : string -> isoinfo
method journal_close : unit -> unit
This function depends on the feature "journal". See also Guestfs.guestfs.feature_available
.
Since 1.23.11
method journal_get : unit -> xattr array
This function depends on the feature "journal". See also Guestfs.guestfs.feature_available
.
Since 1.23.11
method journal_get_data_threshold : unit -> int64
This function depends on the feature "journal". See also Guestfs.guestfs.feature_available
.
Since 1.23.11
method journal_get_realtime_usec : unit -> int64
This function depends on the feature "journal". See also Guestfs.guestfs.feature_available
.
Since 1.27.18
method journal_next : unit -> bool
This function depends on the feature "journal". See also Guestfs.guestfs.feature_available
.
Since 1.23.11
method journal_open : string -> unit
This function depends on the feature "journal". See also Guestfs.guestfs.feature_available
.
Since 1.23.11
method journal_set_data_threshold : int64 -> unit
This function depends on the feature "journal". See also Guestfs.guestfs.feature_available
.
Since 1.23.11
method journal_skip : int64 -> int64
This function depends on the feature "journal". See also Guestfs.guestfs.feature_available
.
Since 1.23.11
method kill_subprocess : unit -> unit
method launch : unit -> unit
method lchown : int -> int -> string -> unit
method ldmtool_create_all : unit -> unit
This function depends on the feature "ldm". See also Guestfs.guestfs.feature_available
.
Since 1.20.0
method ldmtool_diskgroup_disks : string -> string array
This function depends on the feature "ldm". See also Guestfs.guestfs.feature_available
.
Since 1.20.0
method ldmtool_diskgroup_name : string -> string
This function depends on the feature "ldm". See also Guestfs.guestfs.feature_available
.
Since 1.20.0
method ldmtool_diskgroup_volumes : string -> string array
This function depends on the feature "ldm". See also Guestfs.guestfs.feature_available
.
Since 1.20.0
method ldmtool_remove_all : unit -> unit
This function depends on the feature "ldm". See also Guestfs.guestfs.feature_available
.
Since 1.20.0
method ldmtool_scan : unit -> string array
This function depends on the feature "ldm". See also Guestfs.guestfs.feature_available
.
Since 1.20.0
method ldmtool_scan_devices : string array -> string array
This function depends on the feature "ldm". See also Guestfs.guestfs.feature_available
.
Since 1.20.0
method ldmtool_volume_hint : string -> string -> string
This function depends on the feature "ldm". See also Guestfs.guestfs.feature_available
.
Since 1.20.0
method ldmtool_volume_partitions : string -> string -> string array
This function depends on the feature "ldm". See also Guestfs.guestfs.feature_available
.
Since 1.20.0
method ldmtool_volume_type : string -> string -> string
This function depends on the feature "ldm". See also Guestfs.guestfs.feature_available
.
Since 1.20.0
method lgetxattr : string -> string -> string
This function depends on the feature "linuxxattrs". See also Guestfs.guestfs.feature_available
.
Since 1.7.24
method lgetxattrs : string -> xattr array
This function depends on the feature "linuxxattrs". See also Guestfs.guestfs.feature_available
.
Since 1.0.59
method list_devices : unit -> string array
method list_disk_labels : unit -> (string * string) list
method list_dm_devices : unit -> string array
method list_filesystems : unit -> (string * string) list
method list_ldm_partitions : unit -> string array
This function depends on the feature "ldm". See also Guestfs.guestfs.feature_available
.
Since 1.20.0
method list_ldm_volumes : unit -> string array
This function depends on the feature "ldm". See also Guestfs.guestfs.feature_available
.
Since 1.20.0
method list_md_devices : unit -> string array
method list_partitions : unit -> string array
method ll : string -> string
method llz : string -> string
Guestfs.guestfs.lgetxattrs
insteadmethod ln : string -> string -> unit
method ln_f : string -> string -> unit
method ln_s : string -> string -> unit
method ln_sf : string -> string -> unit
method lremovexattr : string -> string -> unit
This function depends on the feature "linuxxattrs". See also Guestfs.guestfs.feature_available
.
Since 1.0.59
method ls : string -> string array
method ls0 : string -> string -> unit
method lsetxattr : string -> string -> int -> string -> unit
This function depends on the feature "linuxxattrs". See also Guestfs.guestfs.feature_available
.
Since 1.0.59
method lstat : string -> stat
method lstatlist : string -> string array -> stat array
method lstatns : string -> statns
method lstatnslist : string -> string array -> statns array
method luks_add_key : string -> string -> string -> int -> unit
This function depends on the feature "luks". See also Guestfs.guestfs.feature_available
.
Since 1.5.2
method luks_close : string -> unit
This function depends on the feature "luks". See also Guestfs.guestfs.feature_available
.
Since 1.5.1
method luks_format : string -> string -> int -> unit
This function depends on the feature "luks". See also Guestfs.guestfs.feature_available
.
Since 1.5.2
method luks_format_cipher : string -> string -> int -> string -> unit
This function depends on the feature "luks". See also Guestfs.guestfs.feature_available
.
Since 1.5.2
method luks_kill_slot : string -> string -> int -> unit
This function depends on the feature "luks". See also Guestfs.guestfs.feature_available
.
Since 1.5.2
method luks_open : string -> string -> string -> unit
This function depends on the feature "luks". See also Guestfs.guestfs.feature_available
.
Since 1.5.1
method luks_open_ro : string -> string -> string -> unit
This function depends on the feature "luks". See also Guestfs.guestfs.feature_available
.
Since 1.5.1
method lvcreate : string -> string -> int -> unit
This function depends on the feature "lvm2". See also Guestfs.guestfs.feature_available
.
Since 0.8
method lvcreate_free : string -> string -> int -> unit
This function depends on the feature "lvm2". See also Guestfs.guestfs.feature_available
.
Since 1.17.18
method lvm_canonical_lv_name : string -> string
method lvm_clear_filter : unit -> unit
method lvm_remove_all : unit -> unit
This function depends on the feature "lvm2". See also Guestfs.guestfs.feature_available
.
Since 0.8
method lvm_scan : bool -> unit
method lvm_set_filter : string array -> unit
This function depends on the feature "lvm2". See also Guestfs.guestfs.feature_available
.
Since 1.5.1
method lvremove : string -> unit
This function depends on the feature "lvm2". See also Guestfs.guestfs.feature_available
.
Since 1.0.13
method lvrename : string -> string -> unit
method lvresize : string -> int -> unit
This function depends on the feature "lvm2". See also Guestfs.guestfs.feature_available
.
Since 1.0.27
method lvresize_free : string -> int -> unit
This function depends on the feature "lvm2". See also Guestfs.guestfs.feature_available
.
Since 1.3.3
method lvs : unit -> string array
This function depends on the feature "lvm2". See also Guestfs.guestfs.feature_available
.
Since 0.4
method lvs_full : unit -> lvm_lv array
This function depends on the feature "lvm2". See also Guestfs.guestfs.feature_available
.
Since 0.4
method lvuuid : string -> string
method lxattrlist : string -> string array -> xattr array
This function depends on the feature "linuxxattrs". See also Guestfs.guestfs.feature_available
.
Since 1.0.77
method max_disks : unit -> int
method md_create : ?missingbitmap:int64 ->
?nrdevices:int ->
?spare:int -> ?chunk:int64 -> ?level:string -> string -> string array -> unit
This function depends on the feature "mdadm". See also Guestfs.guestfs.feature_available
.
Since 1.15.6
method md_detail : string -> (string * string) list
This function depends on the feature "mdadm". See also Guestfs.guestfs.feature_available
.
Since 1.15.6
method md_stat : string -> mdstat array
This function depends on the feature "mdadm". See also Guestfs.guestfs.feature_available
.
Since 1.17.21
method md_stop : string -> unit
This function depends on the feature "mdadm". See also Guestfs.guestfs.feature_available
.
Since 1.15.6
method mkdir : string -> unit
method mkdir_mode : string -> int -> unit
method mkdir_p : string -> unit
method mkdtemp : string -> string
method mke2fs : ?blockscount:int64 ->
?blocksize:int64 ->
?fragsize:int64 ->
?blockspergroup:int64 ->
?numberofgroups:int64 ->
?bytesperinode:int64 ->
?inodesize:int64 ->
?journalsize:int64 ->
?numberofinodes:int64 ->
?stridesize:int64 ->
?stripewidth:int64 ->
?maxonlineresize:int64 ->
?reservedblockspercentage:int ->
?mmpupdateinterval:int ->
?journaldevice:string ->
?label:string ->
?lastmounteddir:string ->
?creatoros:string ->
?fstype:string ->
?usagetype:string ->
?uuid:string ->
?forcecreate:bool ->
?writesbandgrouponly:bool ->
?lazyitableinit:bool ->
?lazyjournalinit:bool ->
?testfs:bool ->
?discard:bool ->
?quotatype:bool ->
?extent:bool ->
?filetype:bool ->
?flexbg:bool ->
?hasjournal:bool ->
?journaldev:bool ->
?largefile:bool ->
?quota:bool ->
?resizeinode:bool -> ?sparsesuper:bool -> ?uninitbg:bool -> string -> unit
method mke2fs_J : string -> int -> string -> string -> unit
Guestfs.guestfs.mke2fs
insteadmethod mke2fs_JL : string -> int -> string -> string -> unit
Guestfs.guestfs.mke2fs
insteadmethod mke2fs_JU : string -> int -> string -> string -> unit
Guestfs.guestfs.mke2fs
instead
This function depends on the feature "linuxfsuuid". See also Guestfs.guestfs.feature_available
.
Since 1.0.68
method mke2journal : int -> string -> unit
method mke2journal_L : int -> string -> string -> unit
Guestfs.guestfs.mke2fs
insteadmethod mke2journal_U : int -> string -> string -> unit
Guestfs.guestfs.mke2fs
instead
This function depends on the feature "linuxfsuuid". See also Guestfs.guestfs.feature_available
.
Since 1.0.68
method mkfifo : int -> string -> unit
This function depends on the feature "mknod". See also Guestfs.guestfs.feature_available
.
Since 1.0.55
method mkfs : ?blocksize:int ->
?features:string ->
?inode:int -> ?sectorsize:int -> ?label:string -> string -> string -> unit
method mkfs_opts : ?blocksize:int ->
?features:string ->
?inode:int -> ?sectorsize:int -> ?label:string -> string -> string -> unit
method mkfs_b : string -> int -> string -> unit
method mkfs_btrfs : ?allocstart:int64 ->
?bytecount:int64 ->
?datatype:string ->
?leafsize:int ->
?label:string ->
?metadata:string -> ?nodesize:int -> ?sectorsize:int -> string array -> unit
This function depends on the feature "btrfs". See also Guestfs.guestfs.feature_available
.
Since 1.17.25
method mklost_and_found : string -> unit
method mkmountpoint : string -> unit
method mknod : int -> int -> int -> string -> unit
This function depends on the feature "mknod". See also Guestfs.guestfs.feature_available
.
Since 1.0.55
method mknod_b : int -> int -> int -> string -> unit
This function depends on the feature "mknod". See also Guestfs.guestfs.feature_available
.
Since 1.0.55
method mknod_c : int -> int -> int -> string -> unit
This function depends on the feature "mknod". See also Guestfs.guestfs.feature_available
.
Since 1.0.55
method mksquashfs : ?compress:string -> ?excludes:string array -> string -> string -> unit
This function depends on the feature "squashfs". See also Guestfs.guestfs.feature_available
.
Since 1.35.25
method mkswap : ?label:string -> ?uuid:string -> string -> unit
method mkswap_opts : ?label:string -> ?uuid:string -> string -> unit
method mkswap_L : string -> string -> unit
method mkswap_U : string -> string -> unit
Guestfs.guestfs.mkswap
instead
This function depends on the feature "linuxfsuuid". See also Guestfs.guestfs.feature_available
.
Since 1.0.55
method mkswap_file : string -> unit
method mktemp : ?suffix:string -> string -> string
method modprobe : string -> unit
This function depends on the feature "linuxmodules". See also Guestfs.guestfs.feature_available
.
Since 1.0.68
method mount : string -> string -> unit
method mount_local : ?readonly:bool ->
?options:string -> ?cachetimeout:int -> ?debugcalls:bool -> string -> unit
method mount_local_run : unit -> unit
method mount_loop : string -> string -> unit
method mount_options : string -> string -> string -> unit
method mount_ro : string -> string -> unit
method mount_vfs : string -> string -> string -> string -> unit
method mountable_device : string -> string
method mountable_subvolume : string -> string
method mountpoints : unit -> (string * string) list
method mounts : unit -> string array
method mv : string -> string -> unit
method nr_devices : unit -> int
method ntfs_3g_probe : bool -> string -> int
This function depends on the feature "ntfs3g". See also Guestfs.guestfs.feature_available
.
Since 1.0.43
method ntfscat_i : string -> int64 -> string -> unit
method ntfsclone_in : string -> string -> unit
This function depends on the feature "ntfs3g". See also Guestfs.guestfs.feature_available
.
Since 1.17.9
method ntfsclone_out : ?metadataonly:bool ->
?rescue:bool ->
?ignorefscheck:bool ->
?preservetimestamps:bool -> ?force:bool -> string -> string -> unit
This function depends on the feature "ntfs3g". See also Guestfs.guestfs.feature_available
.
Since 1.17.9
method ntfsfix : ?clearbadsectors:bool -> string -> unit
This function depends on the feature "ntfs3g". See also Guestfs.guestfs.feature_available
.
Since 1.17.9
method ntfsresize : ?size:int64 -> ?force:bool -> string -> unit
This function depends on the feature "ntfsprogs". See also Guestfs.guestfs.feature_available
.
Since 1.3.2
method ntfsresize_opts : ?size:int64 -> ?force:bool -> string -> unit
Guestfs.guestfs.ntfsresize
This function depends on the feature "ntfsprogs". See also Guestfs.guestfs.feature_available
.
Since 1.3.2
method ntfsresize_size : string -> int64 -> unit
Guestfs.guestfs.ntfsresize
instead
This function depends on the feature "ntfsprogs". See also Guestfs.guestfs.feature_available
.
Since 1.3.14
method parse_environment : unit -> unit
method parse_environment_list : string array -> unit
method part_add : string -> string -> int64 -> int64 -> unit
method part_del : string -> int -> unit
method part_disk : string -> string -> unit
method part_expand_gpt : string -> unit
This function depends on the feature "gdisk". See also Guestfs.guestfs.feature_available
.
Since 1.33.2
method part_get_bootable : string -> int -> bool
method part_get_disk_guid : string -> string
This function depends on the feature "gdisk". See also Guestfs.guestfs.feature_available
.
Since 1.33.2
method part_get_gpt_attributes : string -> int -> int64
This function depends on the feature "gdisk". See also Guestfs.guestfs.feature_available
.
Since 1.21.1
method part_get_gpt_guid : string -> int -> string
This function depends on the feature "gdisk". See also Guestfs.guestfs.feature_available
.
Since 1.29.25
method part_get_gpt_type : string -> int -> string
This function depends on the feature "gdisk". See also Guestfs.guestfs.feature_available
.
Since 1.21.1
method part_get_mbr_id : string -> int -> int
method part_get_mbr_part_type : string -> int -> string
method part_get_name : string -> int -> string
method part_get_parttype : string -> string
method part_init : string -> string -> unit
method part_list : string -> partition array
method part_resize : string -> int -> int64 -> unit
method part_set_bootable : string -> int -> bool -> unit
method part_set_disk_guid : string -> string -> unit
This function depends on the feature "gdisk". See also Guestfs.guestfs.feature_available
.
Since 1.33.2
method part_set_disk_guid_random : string -> unit
This function depends on the feature "gdisk". See also Guestfs.guestfs.feature_available
.
Since 1.33.2
method part_set_gpt_attributes : string -> int -> int64 -> unit
This function depends on the feature "gdisk". See also Guestfs.guestfs.feature_available
.
Since 1.21.1
method part_set_gpt_guid : string -> int -> string -> unit
This function depends on the feature "gdisk". See also Guestfs.guestfs.feature_available
.
Since 1.29.25
method part_set_gpt_type : string -> int -> string -> unit
This function depends on the feature "gdisk". See also Guestfs.guestfs.feature_available
.
Since 1.21.1
method part_set_mbr_id : string -> int -> int -> unit
method part_set_name : string -> int -> string -> unit
method part_to_dev : string -> string
method part_to_partnum : string -> int
method ping_daemon : unit -> unit
method pread : string -> int -> int64 -> string
method pread_device : string -> int -> int64 -> string
method pvchange_uuid : string -> unit
This function depends on the feature "lvm2". See also Guestfs.guestfs.feature_available
.
Since 1.19.26
method pvchange_uuid_all : unit -> unit
This function depends on the feature "lvm2". See also Guestfs.guestfs.feature_available
.
Since 1.19.26
method pvcreate : string -> unit
This function depends on the feature "lvm2". See also Guestfs.guestfs.feature_available
.
Since 0.8
method pvremove : string -> unit
This function depends on the feature "lvm2". See also Guestfs.guestfs.feature_available
.
Since 1.0.13
method pvresize : string -> unit
This function depends on the feature "lvm2". See also Guestfs.guestfs.feature_available
.
Since 1.0.26
method pvresize_size : string -> int64 -> unit
This function depends on the feature "lvm2". See also Guestfs.guestfs.feature_available
.
Since 1.3.14
method pvs : unit -> string array
This function depends on the feature "lvm2". See also Guestfs.guestfs.feature_available
.
Since 0.4
method pvs_full : unit -> lvm_pv array
This function depends on the feature "lvm2". See also Guestfs.guestfs.feature_available
.
Since 0.4
method pvuuid : string -> string
method pwrite : string -> string -> int64 -> int
method pwrite_device : string -> string -> int64 -> int
method read_file : string -> string
method read_lines : string -> string array
method readdir : string -> dirent array
method readlink : string -> string
method readlinklist : string -> string array -> string array
method realpath : string -> string
method remount : ?rw:bool -> string -> unit
method remove_drive : string -> unit
method removexattr : string -> string -> unit
This function depends on the feature "linuxxattrs". See also Guestfs.guestfs.feature_available
.
Since 1.0.59
method rename : string -> string -> unit
method resize2fs : string -> unit
method resize2fs_M : string -> unit
method resize2fs_size : string -> int64 -> unit
method rm : string -> unit
method rm_f : string -> unit
method rm_rf : string -> unit
method rmdir : string -> unit
method rmmountpoint : string -> unit
method rsync : ?archive:bool -> ?deletedest:bool -> string -> string -> unit
This function depends on the feature "rsync". See also Guestfs.guestfs.feature_available
.
Since 1.19.29
method rsync_in : ?archive:bool -> ?deletedest:bool -> string -> string -> unit
This function depends on the feature "rsync". See also Guestfs.guestfs.feature_available
.
Since 1.19.29
method rsync_out : ?archive:bool -> ?deletedest:bool -> string -> string -> unit
This function depends on the feature "rsync". See also Guestfs.guestfs.feature_available
.
Since 1.19.29
method scrub_device : string -> unit
This function depends on the feature "scrub". See also Guestfs.guestfs.feature_available
.
Since 1.0.52
method scrub_file : string -> unit
This function depends on the feature "scrub". See also Guestfs.guestfs.feature_available
.
Since 1.0.52
method scrub_freespace : string -> unit
This function depends on the feature "scrub". See also Guestfs.guestfs.feature_available
.
Since 1.0.52
method selinux_relabel : ?force:bool -> string -> string -> unit
This function depends on the feature "selinuxrelabel". See also Guestfs.guestfs.feature_available
.
Since 1.33.43
method set_append : string option -> unit
method set_attach_method : string -> unit
method set_autosync : bool -> unit
method set_backend : string -> unit
method set_backend_setting : string -> string -> unit
method set_backend_settings : string array -> unit
method set_cachedir : string option -> unit
method set_direct : bool -> unit
method set_e2attrs : ?clear:bool -> string -> string -> unit
method set_e2generation : string -> int64 -> unit
method set_e2label : string -> string -> unit
method set_e2uuid : string -> string -> unit
method set_hv : string -> unit
method set_identifier : string -> unit
method set_label : string -> string -> unit
method set_libvirt_requested_credential : int -> string -> unit
method set_libvirt_supported_credentials : string array -> unit
method set_memsize : int -> unit
method set_network : bool -> unit
method set_path : string option -> unit
method set_pgroup : bool -> unit
method set_program : string -> unit
method set_qemu : string option -> unit
method set_recovery_proc : bool -> unit
method set_selinux : bool -> unit
Guestfs.guestfs.selinux_relabel
insteadmethod set_smp : int -> unit
method set_tmpdir : string option -> unit
method set_trace : bool -> unit
method set_uuid : string -> string -> unit
method set_uuid_random : string -> unit
method set_verbose : bool -> unit
method setcon : string -> unit
Guestfs.guestfs.selinux_relabel
instead
This function depends on the feature "selinux". See also Guestfs.guestfs.feature_available
.
Since 1.0.67
method setxattr : string -> string -> int -> string -> unit
This function depends on the feature "linuxxattrs". See also Guestfs.guestfs.feature_available
.
Since 1.0.59
method sfdisk : string -> int -> int -> int -> string array -> unit
method sfdiskM : string -> string array -> unit
method sfdisk_N : string -> int -> int -> int -> int -> string -> unit
Guestfs.guestfs.part_add
insteadmethod sfdisk_disk_geometry : string -> string
method sfdisk_kernel_geometry : string -> string
method sfdisk_l : string -> string
method sh : string -> string
method sh_lines : string -> string array
method shutdown : unit -> unit
method sleep : int -> unit
method stat : string -> stat
method statns : string -> statns
method statvfs : string -> statvfs
method strings : string -> string array
method strings_e : string -> string -> string array
method swapoff_device : string -> unit
method swapoff_file : string -> unit
method swapoff_label : string -> unit
method swapoff_uuid : string -> unit
This function depends on the feature "linuxfsuuid". See also Guestfs.guestfs.feature_available
.
Since 1.0.66
method swapon_device : string -> unit
method swapon_file : string -> unit
method swapon_label : string -> unit
method swapon_uuid : string -> unit
This function depends on the feature "linuxfsuuid". See also Guestfs.guestfs.feature_available
.
Since 1.0.66
method sync : unit -> unit
method syslinux : ?directory:string -> string -> unit
This function depends on the feature "syslinux". See also Guestfs.guestfs.feature_available
.
Since 1.21.27
method tail : string -> string array
method tail_n : int -> string -> string array
method tar_in : ?compress:string ->
?xattrs:bool -> ?selinux:bool -> ?acls:bool -> string -> string -> unit
method tar_in_opts : ?compress:string ->
?xattrs:bool -> ?selinux:bool -> ?acls:bool -> string -> string -> unit
method tar_out : ?compress:string ->
?numericowner:bool ->
?excludes:string array ->
?xattrs:bool -> ?selinux:bool -> ?acls:bool -> string -> string -> unit
method tar_out_opts : ?compress:string ->
?numericowner:bool ->
?excludes:string array ->
?xattrs:bool -> ?selinux:bool -> ?acls:bool -> string -> string -> unit
method tgz_in : string -> string -> unit
method tgz_out : string -> string -> unit
method touch : string -> unit
method truncate : string -> unit
method truncate_size : string -> int64 -> unit
method tune2fs : ?force:bool ->
?maxmountcount:int ->
?mountcount:int ->
?errorbehavior:string ->
?group:int64 ->
?intervalbetweenchecks:int ->
?reservedblockspercentage:int ->
?lastmounteddirectory:string ->
?reservedblockscount:int64 -> ?user:int64 -> string -> unit
method tune2fs_l : string -> (string * string) list
method txz_in : string -> string -> unit
Guestfs.guestfs.tar_in
instead
This function depends on the feature "xz". See also Guestfs.guestfs.feature_available
.
Since 1.3.2
method txz_out : string -> string -> unit
Guestfs.guestfs.tar_out
instead
This function depends on the feature "xz". See also Guestfs.guestfs.feature_available
.
Since 1.3.2
method umask : int -> int
method umount : ?force:bool -> ?lazyunmount:bool -> string -> unit
method umount_opts : ?force:bool -> ?lazyunmount:bool -> string -> unit
method umount_all : unit -> unit
method umount_local : ?retry:bool -> unit -> unit
method upload : string -> string -> unit
method upload_offset : string -> string -> int64 -> unit
method user_cancel : unit -> unit
method utimens : string -> int64 -> int64 -> int64 -> int64 -> unit
method utsname : unit -> utsname
method version : unit -> version
method vfs_label : string -> string
method vfs_minimum_size : string -> int64
method vfs_type : string -> string
method vfs_uuid : string -> string
method vg_activate : bool -> string array -> unit
This function depends on the feature "lvm2". See also Guestfs.guestfs.feature_available
.
Since 1.0.26
method vg_activate_all : bool -> unit
This function depends on the feature "lvm2". See also Guestfs.guestfs.feature_available
.
Since 1.0.26
method vgchange_uuid : string -> unit
This function depends on the feature "lvm2". See also Guestfs.guestfs.feature_available
.
Since 1.19.26
method vgchange_uuid_all : unit -> unit
This function depends on the feature "lvm2". See also Guestfs.guestfs.feature_available
.
Since 1.19.26
method vgcreate : string -> string array -> unit
This function depends on the feature "lvm2". See also Guestfs.guestfs.feature_available
.
Since 0.8
method vglvuuids : string -> string array
method vgmeta : string -> string
This function depends on the feature "lvm2". See also Guestfs.guestfs.feature_available
.
Since 1.17.20
method vgpvuuids : string -> string array
method vgremove : string -> unit
This function depends on the feature "lvm2". See also Guestfs.guestfs.feature_available
.
Since 1.0.13
method vgrename : string -> string -> unit
method vgs : unit -> string array
This function depends on the feature "lvm2". See also Guestfs.guestfs.feature_available
.
Since 0.4
method vgs_full : unit -> lvm_vg array
This function depends on the feature "lvm2". See also Guestfs.guestfs.feature_available
.
Since 0.4
method vgscan : unit -> unit
Guestfs.guestfs.lvm_scan
insteadmethod vguuid : string -> string
method wait_ready : unit -> unit
method wc_c : string -> int
method wc_l : string -> int
method wc_w : string -> int
method wipefs : string -> unit
This function depends on the feature "wipefs". See also Guestfs.guestfs.feature_available
.
Since 1.17.6
method write : string -> string -> unit
method write_append : string -> string -> unit
method write_file : string -> string -> int -> unit
method xfs_admin : ?extunwritten:bool ->
?imgfile:bool ->
?v2log:bool ->
?projid32bit:bool ->
?lazycounter:bool -> ?label:string -> ?uuid:string -> string -> unit
This function depends on the feature "xfs". See also Guestfs.guestfs.feature_available
.
Since 1.19.33
method xfs_growfs : ?datasec:bool ->
?logsec:bool ->
?rtsec:bool ->
?datasize:int64 ->
?logsize:int64 ->
?rtsize:int64 -> ?rtextsize:int64 -> ?maxpct:int -> string -> unit
This function depends on the feature "xfs". See also Guestfs.guestfs.feature_available
.
Since 1.19.28
method xfs_info : string -> xfsinfo
This function depends on the feature "xfs". See also Guestfs.guestfs.feature_available
.
Since 1.19.21
method xfs_repair : ?forcelogzero:bool ->
?nomodify:bool ->
?noprefetch:bool ->
?forcegeometry:bool ->
?maxmem:int64 ->
?ihashsize:int64 ->
?bhashsize:int64 ->
?agstride:int64 -> ?logdev:string -> ?rtdev:string -> string -> int
This function depends on the feature "xfs". See also Guestfs.guestfs.feature_available
.
Since 1.19.36
method yara_destroy : unit -> unit
This function depends on the feature "libyara". See also Guestfs.guestfs.feature_available
.
Since 1.37.13
method yara_load : string -> unit
This function depends on the feature "libyara". See also Guestfs.guestfs.feature_available
.
Since 1.37.13
method yara_scan : string -> yara_detection array
This function depends on the feature "libyara". See also Guestfs.guestfs.feature_available
.
Since 1.37.13
method zegrep : string -> string -> string array
method zegrepi : string -> string -> string array
method zero : string -> unit
method zero_device : string -> unit
method zero_free_space : string -> unit
method zerofree : string -> unit
This function depends on the feature "zerofree". See also Guestfs.guestfs.feature_available
.
Since 1.0.26
method zfgrep : string -> string -> string array
method zfgrepi : string -> string -> string array
method zfile : string -> string -> string
Guestfs.guestfs.file
insteadmethod zgrep : string -> string -> string array
method zgrepi : string -> string -> string array