Returns a device based on its major and minor numbers and type.
impl Device {
fn from_major_minor(major: u32, minor: u32, ty: DeviceType) -> Device
}| Name | Description |
|---|---|
| major | The major part of the device id. |
| minor | The minor part of the device id. |
| ty | The type of the device. |