summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/rfs/rtems-rfs-shell.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2010-02-19 03:23:11 +0000
committerChris Johns <chrisj@rtems.org>2010-02-19 03:23:11 +0000
commitcca94a248bd6ce791b34e9bf3a704b535df3e5ef (patch)
tree395109d3c6dffa253542ecb82be29e6e96cff2f6 /cpukit/libfs/src/rfs/rtems-rfs-shell.h
parent2010-02-19 Chris Johns <chrisj@rtems.org> (diff)
downloadrtems-cca94a248bd6ce791b34e9bf3a704b535df3e5ef.tar.bz2
2010-02-19 Chris Johns <chrisj@rtems.org>
* libblock/src/diskdevs.c: Create the devices as block devices. * libmisc/shell/main_debugrfs.c, libmisc/shell/main_mkrfs.c, libmisc/shell/main_mount_rfs.c: New. * libmisc/shell/main_msdosfmt.c: Change the command to mkdos and alias the old name. * libmisc/shell/shellconfig.h, libmisc/Makefile.am: Add RFS support. * libfs/src/rfs/rtems-rfs-shell.c, libfs/src/rfs/rtems-rfs-shell.h: Move the format command code into the shell file.
Diffstat (limited to 'cpukit/libfs/src/rfs/rtems-rfs-shell.h')
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-shell.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-shell.h b/cpukit/libfs/src/rfs/rtems-rfs-shell.h
index 31a3dc8266..c07b7c3167 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-shell.h
+++ b/cpukit/libfs/src/rfs/rtems-rfs-shell.h
@@ -30,6 +30,15 @@
* @param argv The argument variables.
* @return int The exit code for the command. A 0 is no error.
*/
-int rtems_rfs_shell_debugrfs (int argc, char *argv[]);
+int rtems_shell_debugrfs (int argc, char *argv[]);
+
+/**
+ * The shell command for formatting an RFS file system.
+ *
+ * @param argc The argument count.
+ * @param argv The argument variables.
+ * @return int The exit code for the command. A 0 is no error.
+ */
+int rtems_shell_rfs_format (int argc, char* argv[]);
#endif