class Block |
|
This device interface is available on block devices.
A block device is an adressable device such as drive or partition. It is possible to interact with such a device using a special file in the system. |
|
Creates a new Block object.
You generally won't need this. It's created when necessary using
Device.as().
backendObject - the device interface object provided by the backend See also Solid.Device.as() |
|
|
Retrieves the absolute path of the special file to interact
with the device.
Returns the absolute path of the special file to interact with the device |
|
Get the Solid.DeviceInterface.Type of the Block device interface.
Returns the Block device interface type See also Solid.Ifaces.Enums.DeviceInterface.Type |
|
Retrieves the major number of the node file to interact with
the device.
Returns the device major number |
|
Retrieves the minor number of the node file to interact with
the device.
Returns the device minor number |