RTEMS 6.1-rc2
|
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[]) |
RTEMS File Systems Shell Commands Support.
typedef int(* rtems_rfs_shell_handler) (rtems_rfs_file_system *fs, int argc, char *argv[]) |
The type of the shell handlers we have.
int rtems_shell_debugrfs | ( | int | argc, |
char * | argv[] | ||
) |
The shell command for the RFS debugger.
[in] | argc | is the argument count. |
[in] | argv | is a pointer to the argument variables. |
0 | Successful operation. |
error_code | An error occurred. |
int rtems_shell_rfs_format | ( | int | argc, |
char * | argv[] | ||
) |
The shell command for formatting an RFS file system.
[in] | argc | is the argument count. |
[in] | argv | is a pointer to the argument variables. |
0 | Successful operation. |
1 | An error occurred. |