RTEMS  5.1
Data Structures | Typedefs | Functions

RTEMS File Systems Shell Commands Support. More...

#include <inttypes.h>
#include <stdlib.h>
#include <string.h>
#include <rtems/rfs/rtems-rfs-block.h>
#include <rtems/rfs/rtems-rfs-buffer.h>
#include <rtems/rfs/rtems-rfs-group.h>
#include <rtems/rfs/rtems-rfs-inode.h>
#include <rtems/rfs/rtems-rfs-dir.h>
#include <rtems/rtems-rfs-format.h>
#include <sys/statvfs.h>

Data Structures

struct  rtems_rfs_shell_cmd
 

Typedefs

typedef int(* rtems_rfs_shell_handler) (rtems_rfs_file_system *fs, int argc, char *argv[])
 

Functions

int rtems_shell_debugrfs (int argc, char *argv[])
 
int rtems_shell_rfs_format (int argc, char *argv[])
 

Detailed Description

RTEMS File Systems Shell Commands Support.

Typedef Documentation

◆ rtems_rfs_shell_handler

typedef int(* rtems_rfs_shell_handler) (rtems_rfs_file_system *fs, int argc, char *argv[])

The type of the shell handlers we have.

Function Documentation

◆ rtems_shell_debugrfs()

int rtems_shell_debugrfs ( int  argc,
char *  argv[] 
)

The shell command for the RFS debugger.

Parameters
[in]argcis the argument count.
[in]argvis a pointer to the argument variables.
Return values
0Successful operation.
error_codeAn error occurred.

◆ rtems_shell_rfs_format()

int rtems_shell_rfs_format ( int  argc,
char *  argv[] 
)

The shell command for formatting an RFS file system.

Parameters
[in]argcis the argument count.
[in]argvis a pointer to the argument variables.
Return values
0Successful operation.
1An error occurred.