DADiskGetBSDName

Function DADiskGetBSDName 

Source
pub unsafe extern "C" fn DADiskGetBSDName(
    disk: DADiskRef,
) -> *const c_char
Expand description

Obtains the BSD device name for the specified disk.

§Parameters

  • disk - The DADisk for which to obtain the BSD device name.

§Returns

The disk’s BSD device name.

§Discussion

The BSD device name can be used with opendev() to open the BSD device.