package obus
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=84aa0003157b0299e43b20a4127b7af04a0fd99878d7ce540bbbfbc6157dfe4f
md5=976947861f1dfa3d3da68378f25377c1
doc/obus.udisks/UDisks_device/index.html
Module UDisks_device
UDisks device interface
include OBus_proxy.Private
type t = private OBus_proxy.proxyval of_proxy : OBus_proxy.proxy -> tval to_proxy : t -> OBus_proxy.proxyMethods
type benchmark_result = {bench_read_transfer_rate_results : (int64 * float) list;(*An array of pairs where the first element is the offset and the second element is the measured read transfer rate (in bytes/sec) at the given offset.
*)bench_write_transfer_rate_results : (int64 * float) list;(*An array of pairs where the first element is the offset and the second element is the measured read transfer rate (in bytes/sec) at the given offset. This is an empty array unless write benchmarking has been requested.
*)bench_access_time_results : (int64 * float) list;(*An array of pairs where the first element is the offset and the second element the amount of time (in seconds) it took to seek to the position.
*)
}val drive_benchmark :
t ->
do_write_benchmark:bool ->
options:string list ->
benchmark_result Lwt.tval drive_ata_smart_initiate_selftest :
t ->
test:string ->
options:string list ->
unit Lwt.tval drive_ata_smart_refresh_data : t -> options:string list -> unit Lwt.tval drive_set_spindown_timeout :
t ->
timeout_seconds:int ->
options:string list ->
spindown_timeout_cookie Lwt.tval drive_unset_spindown_timeout :
t ->
cookie:spindown_timeout_cookie ->
unit Lwt.tval drive_detach : t -> options:string list -> unit Lwt.tval drive_eject : t -> options:string list -> unit Lwt.tval drive_poll_media : t -> unit Lwt.tval drive_inhibit_polling :
t ->
options:string list ->
inhibit_polling_cookie Lwt.tval drive_uninhibit_polling : t -> cookie:inhibit_polling_cookie -> unit Lwt.tval linux_md_check : t -> options:string list -> int64 Lwt.tval linux_lvm2_lvstop : t -> options:string list -> unit Lwt.tval linux_md_stop : t -> options:string list -> unit Lwt.tval luks_change_passphrase :
t ->
current_passphrase:string ->
new_passphrase:string ->
unit Lwt.tval luks_lock : t -> options:string list -> unit Lwt.tval filesystem_check : t -> options:string list -> bool Lwt.tval filesystem_unmount : t -> options:string list -> unit Lwt.tval filesystem_mount :
t ->
filesystem_type:string ->
options:string list ->
string Lwt.tval filesystem_set_label : t -> new_label:string -> unit Lwt.tval filesystem_create : t -> fstype:string -> options:string list -> unit Lwt.tval partition_modify :
t ->
typ:string ->
label:string ->
flags:string list ->
unit Lwt.tval partition_delete : t -> options:string list -> unit Lwt.tval partition_table_create :
t ->
scheme:string ->
options:string list ->
unit Lwt.tval job_cancel : t -> unit Lwt.tSignals
type job = {job_in_progress : bool;(*Whether a job is currently in progress
*)job_id : string;(*The identifier of the job
*)job_initiated_by_uid : int;(*he UNIX user id of the user who initiated the job
*)job_is_cancellable : bool;(*Whether the job is cancellable
*)job_cur_task_percentage : float;(*Percentage completed of current task (between 0 and 100, negative if unknown)
*)
}A job description
val job_changed : t -> job OBus_signal.tval changed : t -> unit OBus_signal.tProperties
val linux_dmmp_parameters : t -> string OBus_property.rval linux_dmmp_slaves : t -> t list OBus_property.rval linux_dmmp_name : t -> string OBus_property.rval linux_dmmp_component_holder : t -> t OBus_property.rval linux_lvm2_lvgroup_uuid : t -> string OBus_property.rval linux_lvm2_lvgroup_name : t -> string OBus_property.rval linux_lvm2_lvuuid : t -> string OBus_property.rval linux_lvm2_lvname : t -> string OBus_property.rval linux_lvm2_pvgroup_logical_volumes : t -> string list OBus_property.rval linux_lvm2_pvgroup_physical_volumes : t -> string list OBus_property.rval linux_lvm2_pvgroup_extent_size : t -> int64 OBus_property.rval linux_lvm2_pvgroup_sequence_number : t -> int64 OBus_property.rval linux_lvm2_pvgroup_unallocated_size : t -> int64 OBus_property.rval linux_lvm2_pvgroup_size : t -> int64 OBus_property.rval linux_lvm2_pvgroup_uuid : t -> string OBus_property.rval linux_lvm2_pvgroup_name : t -> string OBus_property.rval linux_lvm2_pvnum_metadata_areas : t -> int OBus_property.rval linux_lvm2_pvuuid : t -> string OBus_property.rval linux_md_sync_speed : t -> int64 OBus_property.rval linux_md_sync_percentage : t -> float OBus_property.rval linux_md_sync_action : t -> string OBus_property.rval linux_md_is_degraded : t -> bool OBus_property.rval linux_md_slaves : t -> t list OBus_property.rval linux_md_version : t -> string OBus_property.rval linux_md_num_raid_devices : t -> int OBus_property.rval linux_md_name : t -> string OBus_property.rval linux_md_home_host : t -> string OBus_property.rval linux_md_uuid : t -> string OBus_property.rval linux_md_level : t -> string OBus_property.rval linux_md_state : t -> string OBus_property.rval linux_md_component_state : t -> string list OBus_property.rval linux_md_component_holder : t -> t OBus_property.rval linux_md_component_version : t -> string OBus_property.rval linux_md_component_home_host : t -> string OBus_property.rval linux_md_component_name : t -> string OBus_property.rval linux_md_component_uuid : t -> string OBus_property.rval linux_md_component_num_raid_devices : t -> int OBus_property.rval linux_md_component_position : t -> int OBus_property.rval linux_md_component_level : t -> string OBus_property.rval drive_ata_smart_blob : t -> string OBus_property.rval drive_ata_smart_status : t -> string OBus_property.rval drive_ata_smart_time_collected : t -> int64 OBus_property.rval drive_ata_smart_is_available : t -> bool OBus_property.rval optical_disc_num_sessions : t -> int OBus_property.rval optical_disc_num_audio_tracks : t -> int OBus_property.rval optical_disc_num_tracks : t -> int OBus_property.rval optical_disc_is_closed : t -> bool OBus_property.rval optical_disc_is_appendable : t -> bool OBus_property.rval optical_disc_is_blank : t -> bool OBus_property.rval drive_similar_devices : t -> t list OBus_property.rval drive_ports : t -> UDisks_port.t list OBus_property.rval drive_adapter : t -> UDisks_adapter.t OBus_property.rval drive_is_rotational : t -> bool OBus_property.rval drive_can_spindown : t -> bool OBus_property.rval drive_can_detach : t -> bool OBus_property.rval drive_is_media_ejectable : t -> bool OBus_property.rval drive_media : t -> string OBus_property.rval drive_media_compatibility : t -> string list OBus_property.rval drive_connection_speed : t -> int64 OBus_property.rval drive_connection_interface : t -> string OBus_property.rval drive_write_cache : t -> string OBus_property.rval drive_rotation_rate : t -> int OBus_property.rval drive_wwn : t -> string OBus_property.rval drive_serial : t -> string OBus_property.rval drive_revision : t -> string OBus_property.rval drive_model : t -> string OBus_property.rval drive_vendor : t -> string OBus_property.rval partition_table_count : t -> int OBus_property.rval partition_table_scheme : t -> string OBus_property.rval partition_alignment_offset : t -> int64 OBus_property.rval partition_size : t -> int64 OBus_property.rval partition_offset : t -> int64 OBus_property.rval partition_number : t -> int OBus_property.rval partition_flags : t -> string list OBus_property.rval partition_uuid : t -> string OBus_property.rval partition_label : t -> string OBus_property.rval partition_type : t -> string OBus_property.rval partition_scheme : t -> string OBus_property.rval partition_slave : t -> t OBus_property.rval luks_cleartext_unlocked_by_uid : t -> int OBus_property.rval luks_cleartext_slave : t -> t OBus_property.rval luks_holder : t -> t OBus_property.rval id_label : t -> string OBus_property.rval id_uuid : t -> string OBus_property.rval id_version : t -> string OBus_property.rval id_type : t -> string OBus_property.rval id_usage : t -> string OBus_property.rval job_percentage : t -> float OBus_property.rval job_is_cancellable : t -> bool OBus_property.rval job_initiated_by_uid : t -> int OBus_property.rval job_id : t -> string OBus_property.rval job_in_progress : t -> bool OBus_property.rval device_presentation_icon_name : t -> string OBus_property.rval device_presentation_name : t -> string OBus_property.rval device_presentation_nopolicy : t -> bool OBus_property.rval device_presentation_hide : t -> bool OBus_property.rval device_block_size : t -> int64 OBus_property.rval device_size : t -> int64 OBus_property.rval device_is_linux_dmmp : t -> bool OBus_property.rval device_is_linux_dmmp_component : t -> bool OBus_property.rval device_is_linux_lvm2_pv : t -> bool OBus_property.rval device_is_linux_lvm2_lv : t -> bool OBus_property.rval device_is_linux_md : t -> bool OBus_property.rval device_is_linux_md_component : t -> bool OBus_property.rval device_is_luks_cleartext : t -> bool OBus_property.rval device_is_luks : t -> bool OBus_property.rval device_mounted_by_uid : t -> int OBus_property.rval device_mount_paths : t -> string list OBus_property.rval device_is_mounted : t -> bool OBus_property.rval device_is_optical_disc : t -> bool OBus_property.rval device_is_drive : t -> bool OBus_property.rval device_is_read_only : t -> bool OBus_property.rval device_is_media_change_detection_inhibited : t -> bool OBus_property.rval device_is_media_change_detection_inhibitable : t -> bool OBus_property.rval device_is_media_change_detection_polling : t -> bool OBus_property.rval device_is_media_change_detected : t -> bool OBus_property.rval device_is_media_available : t -> bool OBus_property.rval device_is_removable : t -> bool OBus_property.rval device_is_partition_table : t -> bool OBus_property.rval device_is_partition : t -> bool OBus_property.rval device_is_system_internal : t -> bool OBus_property.rval device_file_by_path : t -> string list OBus_property.rval device_file_by_id : t -> string list OBus_property.rval device_file_presentation : t -> string OBus_property.rval device_file : t -> string OBus_property.rval device_minor : t -> int64 OBus_property.rval device_major : t -> int64 OBus_property.rval device_media_detection_time : t -> int64 OBus_property.rval device_detection_time : t -> int64 OBus_property.rval native_path : t -> string OBus_property.rval properties : t -> OBus_property.group