summaryrefslogtreecommitdiff
path: root/nuttx/fs/binfs/README.txt
blob: ea5e862f4a3627528107e70421e024b3117e73d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
fs/binfs README
================

  This is the binfs file system that allows "fake" execution of NSH built-
  in applications via the file system.  The binfs fs file system can be
  built into the system by enabling:

    CONFIG_BUILTIN=y
    CONFIG_FS_BINFS=y

  It can then be mounted from the NSH command like like:

   mount -t binfs /bin

Example
=======

  NuttShell (NSH) NuttX-6.31
  nsh> hello
  nsh: hello: command not found

  nsh> mount -t binfs /bin
  nsh> ls /bin
  ls /bin
  /bin:
   hello

  nsh> /bin/hello
  Hello, World!!