source: rtems/cpukit/libmisc/shell/main_mkrfs.c @ 7eada71

4.115
Last change on this file since 7eada71 was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 954 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.org/license/LICENSE.
5 */
6
7#ifdef HAVE_CONFIG_H
8#include "config.h"
9#endif
10
11#include <stdio.h>
12#include <unistd.h>
13#include <string.h>
14#include <errno.h>
15
16#include <rtems.h>
17#include <rtems/shell.h>
18#include <rtems/stringto.h>
19#include <rtems/shellconfig.h>
20#include <rtems/rtems-rfs-shell.h>
21#include <rtems/fsmount.h>
22#include "internal.h"
23
24#define OPTIONS "[-v] [-s blksz] [-b grpblk] [-i grpinode] [-I] [-o %inode]"
25
26rtems_shell_cmd_t rtems_shell_MKRFS_Command = {
27  "mkrfs",                                   /* name */
28  "mkrfs " OPTIONS " dev",                   /* usage */
29  "files",                                   /* topic */
30  rtems_shell_rfs_format,                    /* command */
31  NULL,                                      /* alias */
32  NULL                                       /* next */
33};
Note: See TracBrowser for help on using the repository browser.