RTEMS CPU Kit with SuperCore  4.11.3
Data Structures | Typedefs | Functions

RTEMS File Systems Shell Commands Support. More...

#include <inttypes.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>
Include dependency graph for rtems-rfs-shell.c:

Data Structures

struct  rtems_rfs_shell_cmd
 Table of handlers we parse to invoke the command. More...
 

Typedefs

typedef int(* rtems_rfs_shell_handler) (rtems_rfs_file_system *fs, int argc, char *argv[])
 The type of the shell handlers we have.
 

Functions

int rtems_shell_debugrfs (int argc, char *argv[])
 The shell command for the RFS debugger. More...
 
int rtems_shell_rfs_format (int argc, char *argv[])
 The shell command for formatting an RFS file system. More...
 

Detailed Description

RTEMS File Systems Shell Commands Support.

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.