|
RTEMS CPU Kit with SuperCore
|
RTEMS File System Format. More...
#include <stddef.h>#include <stdbool.h>#include <stdint.h>#include <rtems/rfs/rtems-rfs-trace.h>
Go to the source code of this file.
Data Structures | |
| struct | _rtems_rfs_format_config |
| RFS File System Configuration data used to format the file system. More... | |
Typedefs | |
| typedef struct _rtems_rfs_format_config | rtems_rfs_format_config |
| RFS File System Configuration data used to format the file system. More... | |
Functions | |
| int | rtems_rfs_format (const char *name, const rtems_rfs_format_config *config) |
| RFS Format command. More... | |
RTEMS File System Format.
This function lets you format a disk in the RFS format.
| typedef struct _rtems_rfs_format_config rtems_rfs_format_config |
RFS File System Configuration data used to format the file system.
For default values leave the field set to 0.
| int rtems_rfs_format | ( | const char * | name, |
| const rtems_rfs_format_config * | config | ||
| ) |
RFS Format command.
| [in] | name | is the device name to format. |
| [in] | config | is a pointer to the configuration table. |
| -1 | Error. See errno. |
| 0 | No error. Format successful. |
1.8.13