Function is_physical_disk

Source
fn is_physical_disk(lib_path: &str, device_id: &str) -> bool
Expand description

Function to check if a disk is physical/virtual for macOS.

§Arguments

  • lib_path - The path to the library
  • device_id - The device ID

§Returns

A bool indicating if the disk is physical.