RTEMS: cpukit/include/rtems/rtems-rfs-format.h File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Data Structures | Typedefs | Functions
rtems-rfs-format.h File Reference
IO Library » File System Types and Mount » RTEMS File System Group Management

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

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.

## Function Documentation

## ◆ rtems_rfs_format()

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

RFS Format command.

Parameters

  [in] | name | is the device name to format.
  [in] | config | is a pointer to the configuration table.

Return values

  -1 | Error. See errno.
  0 | No error. Format successful.