source: rtems/cpukit/libmisc/shell/main_debugrfs.c @ cca94a2

4.104.115
Last change on this file since cca94a2 was cca94a2, checked in by Chris Johns <chrisj@…>, on 02/19/10 at 03:23:11

2010-02-19 Chris Johns <chrisj@…>

  • 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.
  • Property mode set to 100644
File size: 915 bytes
Line 
1/*
2 *  The license and distribution terms for this file may be
3 *  found in the file LICENSE in this distribution or at
4 *  http://www.rtems.com/license/LICENSE.
5 *
6 *  $Id$
7 */
8
9#ifdef HAVE_CONFIG_H
10#include "config.h"
11#endif
12
13#include <stdio.h>
14#include <unistd.h>
15#include <string.h>
16#include <errno.h>
17
18#include <rtems.h>
19#include <rtems/shell.h>
20#include <rtems/stringto.h>
21#include <rtems/shellconfig.h>
22#include <rtems/rtems-rfs-shell.h>
23#include <rtems/fsmount.h>
24#include "internal.h"
25
26#define OPTIONS "[-h]"
27
28rtems_shell_cmd_t rtems_shell_DEBUGRFS_Command = {
29  "debugrfs",                                /* name */
30  "debugrfs " OPTIONS,                       /* usage */
31  "files",                                   /* topic */
32  rtems_shell_debugrfs,                      /* command */
33  NULL,                                      /* alias */
34  NULL                                       /* next */
35};
Note: See TracBrowser for help on using the repository browser.