Contents

DADiskGetBSDName(_:)

Obtains the BSD device name for the specified disk.

Declaration

func DADiskGetBSDName(_ disk: DADisk) -> UnsafePointer<CChar>?

Parameters

  • disk:

    The DADisk for which to obtain the BSD device name.

Return Value

The disk’s BSD device name.

Discussion

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

See Also

Miscellaneous