Top |
Types and functions used to record information obtained from the udev database as well as by probing the device.
UDisksLinuxDevice *
udisks_linux_device_new_sync (GUdevDevice *udev_device
);
Creates a new UDisksLinuxDevice from udev_device
which includes
probing the device for more information, if applicable.
The calling thread may be blocked for a non-trivial amount of time while the probing is underway.
gboolean udisks_linux_device_reprobe_sync (UDisksLinuxDevice *device
,GCancellable *cancellable
,GError **error
);
Forcibly reprobe information on device
. The calling thread may be
blocked for a non-trivial amount of time while the probing is
underway.
device |
||
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
typedef struct { GUdevDevice *udev_device; guchar *ata_identify_device_data; guchar *ata_identify_packet_device_data; } UDisksLinuxDevice;
Object containing information about a device on Linux. This is essentially an instance of GUdevDevice plus additional data - such as ATA IDENTIFY data - obtained via probing the device at discovery and uevent "change" time.
GUdevDevice * |
A GUdevDevice. |
|
guchar * |
512-byte array containing the result of the IDENTIY DEVICE command or |
|
guchar * |
512-byte array containing the result of the IDENTIY PACKET DEVICE command or |