RTEMS CPU Kit with SuperCore  4.11.3
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>
Include dependency graph for rtems-rfs-format.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...
 

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.