PR 1512/doc
	* shell/general.t: Add rtc.
	* shell/file.t: Add fdisk.
This commit is contained in:
Sebastian Huber
2010-05-12 11:30:52 +00:00
parent e682fffdb5
commit 29328f7af2
3 changed files with 63 additions and 0 deletions

View File

@@ -29,6 +29,7 @@ The RTEMS shell has the following file and directory commands:
@item @code{mount} - mount disk
@item @code{unmount} - unmount disk
@item @code{blksync} - sync the block driver
@item @code{fdisk} - format disks
@item @code{dir} - alias for ls
@item @code{cd} - alias for chdir
@@ -1313,6 +1314,34 @@ following prototype:
extern rtems_shell_cmd_t rtems_shell_BLKSYNC_Command;
@end example
@c
@c
@c
@page
@subsection fdisk - format disk
@pgindex fdisk
@subheading SYNOPSYS:
@example
fdisk
@end example
@subheading CONFIGURATION:
@findex CONFIGURE_SHELL_NO_COMMAND_FDISK
@findex CONFIGURE_SHELL_COMMAND_FDISK
This command is included in the default shell command set.
When building a custom command set, define
@code{CONFIGURE_SHELL_COMMAND_FDISK} to have this
command included.
This command can be excluded from the shell command set by
defining @code{CONFIGURE_SHELL_NO_COMMAND_FDISK} when all
shell commands have been configured.
@c
@c
@c

View File

@@ -26,6 +26,7 @@ The RTEMS shell has the following general commands:
@item @code{unsetenv} - unset environment variable
@item @code{logoff} - logoff from the system
@item @code{exit} - alias for logoff command
@item @code{rtc} - RTC driver configuration
@end itemize
@@ -956,3 +957,30 @@ This command is always present and cannot be disabled.
The @code{exit} is implemented directly in the shell interpreter.
There is no C routine associated with it.
@c
@c
@c
@page
@subsection rtc - RTC driver configuration
@pgindex rtc
@subheading SYNOPSYS:
@example
rtc
@end example
@subheading CONFIGURATION:
@findex CONFIGURE_SHELL_NO_COMMAND_RTC
@findex CONFIGURE_SHELL_COMMAND_RTC
This command is included in the default shell command set.
When building a custom command set, define
@code{CONFIGURE_SHELL_COMMAND_RTC} to have this
command included.
This command can be excluded from the shell command set by
defining @code{CONFIGURE_SHELL_NO_COMMAND_RTC} when all
shell commands have been configured.