2007-12-17 Chris Johns <chrisj@rtems.org>

* libmisc/shell/main_blksync.c, libmisc/shell/main_msdosfmt.c,
	libmisc/shell/main_unmount.c: New.
	* libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add the
	blksync, msdosfmt, and unmount commands.
This commit is contained in:
Chris Johns
2007-12-17 07:20:04 +00:00
parent e4c0acd5fd
commit 4657943527
6 changed files with 327 additions and 3 deletions

View File

@@ -42,9 +42,12 @@ extern rtems_shell_cmd_t rtems_Shell_RMDIR_Command;
extern rtems_shell_cmd_t rtems_Shell_CHROOT_Command;
extern rtems_shell_cmd_t rtems_Shell_CHMOD_Command;
extern rtems_shell_cmd_t rtems_Shell_CAT_Command;
extern rtems_shell_cmd_t rtems_Shell_MSDOSFMT_Command;
extern rtems_shell_cmd_t rtems_Shell_RM_Command;
extern rtems_shell_cmd_t rtems_Shell_UMASK_Command;
extern rtems_shell_cmd_t rtems_Shell_MOUNT_Command;
extern rtems_shell_cmd_t rtems_Shell_UNMOUNT_Command;
extern rtems_shell_cmd_t rtems_Shell_BLKSYNC_Command;
extern rtems_shell_cmd_t rtems_Shell_CPUUSE_Command;
extern rtems_shell_cmd_t rtems_Shell_STACKUSE_Command;
@@ -228,6 +231,11 @@ extern rtems_shell_filesystems_t *rtems_Shell_Mount_filesystems[];
defined(CONFIGURE_SHELL_COMMAND_CAT)
&rtems_Shell_CAT_Command,
#endif
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
!defined(CONFIGURE_SHELL_NO_COMMAND_MSDOSFMT)) || \
defined(CONFIGURE_SHELL_COMMAND_MSDOSFMT)
&rtems_Shell_MSDOSFMT_Command,
#endif
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
!defined(CONFIGURE_SHELL_NO_COMMAND_RM)) || \
defined(CONFIGURE_SHELL_COMMAND_RM)
@@ -243,6 +251,16 @@ extern rtems_shell_filesystems_t *rtems_Shell_Mount_filesystems[];
defined(CONFIGURE_SHELL_COMMAND_MOUNT)
&rtems_Shell_MOUNT_Command,
#endif
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
!defined(CONFIGURE_SHELL_NO_COMMAND_UNMOUNT)) || \
defined(CONFIGURE_SHELL_COMMAND_UNMOUNT)
&rtems_Shell_UNMOUNT_Command,
#endif
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
!defined(CONFIGURE_SHELL_NO_COMMAND_BLKSYNC)) || \
defined(CONFIGURE_SHELL_COMMAND_BLKSYNC)
&rtems_Shell_BLKSYNC_Command,
#endif
/*
* RTEMS Related commands