RTEMS  5.1
Data Structures | Typedefs | Functions

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
 

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)
 

Detailed Description

RTEMS File System Format.

This function lets you format a disk in the RFS format.

Typedef Documentation

◆ rtems_rfs_format_config

RFS File System Configuration data used to format the file system. For default values leave the field set to 0.

Function Documentation

◆ rtems_rfs_format()

int rtems_rfs_format ( const char *  name,
const rtems_rfs_format_config config 
)

RFS Format command.

Parameters
[in]nameis the device name to format.
[in]configis a pointer to the configuration table.
Return values
-1Error. See errno.
0No error. Format successful.