RTEMS
5.1
|
RTEMS File System Format. More...
Go to the source code of this file.
Data Structures | |
struct | _rtems_rfs_format_config |
Typedefs | |
typedef struct _rtems_rfs_format_config | rtems_rfs_format_config |
Functions | |
int | rtems_rfs_format (const char *name, const rtems_rfs_format_config *config) |
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. |