|
rtems_status_code | rtems_bdpart_read (const char *disk_name, rtems_bdpart_format *format, rtems_bdpart_partition *partitions, size_t *count) |
| Reads the partition information from the physical disk device with name disk_name. More...
|
|
void | rtems_bdpart_sort (rtems_bdpart_partition *partitions, size_t count) |
| Sorts the partition table partitions with count partitions to have ascending begin blocks.
|
|
rtems_status_code | rtems_bdpart_write (const char *disk_name, const rtems_bdpart_format *format, const rtems_bdpart_partition *partitions, size_t count) |
| Writes the partition table to the physical disk device with name disk_name. More...
|
|
rtems_status_code | rtems_bdpart_create (const char *disk_name, const rtems_bdpart_format *format, rtems_bdpart_partition *partitions, const unsigned *distribution, size_t count) |
| Creates a partition table in partitions with count partitions for the physical disk device with name disk_name. More...
|
|
rtems_status_code | rtems_bdpart_register (const char *disk_name, const rtems_bdpart_partition *partitions, size_t count) |
| Registers the partitions as logical disks for the physical disk device with name disk_name. More...
|
|
rtems_status_code | rtems_bdpart_register_from_disk (const char *disk_name) |
|
rtems_status_code | rtems_bdpart_unregister (const char *disk_name, const rtems_bdpart_partition *partitions, size_t count) |
| Deletes the logical disks associated with the partitions of the disk device with name disk_name. More...
|
|
rtems_status_code | rtems_bdpart_mount (const char *disk_name, const rtems_bdpart_partition *partitions, size_t count, const char *mount_base) |
| Mounts all supported file systems inside the logical disks derived from the partitions of the physical disk device with name disk_name. More...
|
|
rtems_status_code | rtems_bdpart_unmount (const char *disk_name, const rtems_bdpart_partition *partitions, size_t count, const char *mount_base) |
| Unmounts all file systems mounted with rtems_bdpart_mount().
|
|
void | rtems_bdpart_dump (const rtems_bdpart_partition *partitions, size_t count) |
| Prints the partition table partitions with count partitions to standard output.
|
|
void | rtems_bdpart_to_partition_type (uint8_t mbr_type, uuid_t type) |
| Returns the partition type for the MBR partition type value mbr_type in type.
|
|
bool | rtems_bdpart_to_mbr_partition_type (const uuid_t type, uint8_t *mbr_type) |
| Converts the partition type in type to the MBR partition type. More...
|
|
rtems_status_code | rtems_bdpart_get_disk_data (const char *disk_name, int *fd_ptr, rtems_disk_device **dd_ptr, rtems_blkdev_bnum *disk_end) |
|