RTEMS CPU Kit with SuperCore  4.11.2
Functions
bdpart-register.c File Reference

Block Device Partition Management. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <rtems.h>
#include <rtems/bdpart.h>
Include dependency graph for bdpart-register.c:

Functions

rtems_status_code rtems_bdpart_register (const char *disk_name, const rtems_bdpart_partition *pt, 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)
 brief Reads the partition table from the disk device with name disk_name and registers the partitions as logical disks. More...
 
rtems_status_code rtems_bdpart_unregister (const char *disk_name, const rtems_bdpart_partition *pt, size_t count)
 Deletes the logical disks associated with the partitions of the disk device with name disk_name. More...
 

Detailed Description

Block Device Partition Management.