device.c File Reference


Functions

void _ped_device_probe (const char *path)
char * canonicalize_file_name (const char *name)
int ped_device_begin_external_access (PedDevice *dev)
 Begins external access mode.
void ped_device_cache_remove (PedDevice *dev)
PedSector ped_device_check (PedDevice *dev, void *buffer, PedSector start, PedSector count)
int ped_device_close (PedDevice *dev)
 Close dev.
void ped_device_destroy (PedDevice *dev)
 Destroys a device and removes it from the device list, and frees all resources associated with the device (all resources allocated when the device was created).
int ped_device_end_external_access (PedDevice *dev)
 Complementary function to ped_device_begin_external_access.
void ped_device_free_all ()
 Close/free all devices.
PedDeviceped_device_get (const char *path)
 Gets the device "name", where name is usually the block device, e.g.
PedConstraint * ped_device_get_constraint (PedDevice *dev)
 Get a constraint that represents hardware requirements on alignment and geometry.
PedDeviceped_device_get_next (const PedDevice *dev)
 Returns the next device that was detected by ped_device_probe_all(), or calls to ped_device_get_next().
int ped_device_is_busy (PedDevice *dev)
int ped_device_open (PedDevice *dev)
 Attempt to open a device to allow use of read, write and sync functions.
void ped_device_probe_all ()
 Attempts to detect all devices.
int ped_device_read (const PedDevice *dev, void *buffer, PedSector start, PedSector count)
int ped_device_sync (PedDevice *dev)
int ped_device_sync_fast (PedDevice *dev)
int ped_device_write (PedDevice *dev, const void *buffer, PedSector start, PedSector count)

Detailed Description


Generated on Fri May 4 05:15:31 2007 for libparted by  doxygen 1.5.2