From d694fd5b105d57d10ac59e3fda3a0ba1cb4f86bb Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 13 Nov 2013 16:40:03 -0600 Subject: fs/binfs/README.txt: Add a README file --- nuttx/ChangeLog | 1 + nuttx/Documentation/README.html | 4 +++- nuttx/README.txt | 2 ++ nuttx/fs/binfs/README.txt | 29 +++++++++++++++++++++++++++++ nuttx/fs/procfs/README.txt | 1 + 5 files changed, 36 insertions(+), 1 deletion(-) create mode 100755 nuttx/fs/binfs/README.txt (limited to 'nuttx') diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index 59dd5cad7..47627eff5 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -6041,4 +6041,5 @@ * arch/arm/src/sama5/sam_ssc.c: I2S loopback test finally works (2013-11-11). * fs/procfs: Add a little, primitive procfs file system. (2013-11-13). + * fs/binfs/README.txt: Add a README file for binfs (2013-11-13). diff --git a/nuttx/Documentation/README.html b/nuttx/Documentation/README.html index e2623d272..de8634ed8 100644 --- a/nuttx/Documentation/README.html +++ b/nuttx/Documentation/README.html @@ -8,7 +8,7 @@

NuttX README Files

-

Last Updated: November 7, 2013

+

Last Updated: November 13, 2013

@@ -231,6 +231,8 @@ | | | `- README.txt | | `- README.txt | |- fs/ + | | |- binfs/ + | | | `- README.txt | | |- mmap/ | | | `- README.txt | | |- nxffs/ diff --git a/nuttx/README.txt b/nuttx/README.txt index d9df9a3a3..c6fdfeebe 100644 --- a/nuttx/README.txt +++ b/nuttx/README.txt @@ -1159,6 +1159,8 @@ nuttx | | `- README.txt | `- README.txt |- fs/ + | |- binfs/ + | | `- README.txt | |- mmap/ | | `- README.txt | |- nxffs/ diff --git a/nuttx/fs/binfs/README.txt b/nuttx/fs/binfs/README.txt new file mode 100755 index 000000000..ea5e862f4 --- /dev/null +++ b/nuttx/fs/binfs/README.txt @@ -0,0 +1,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!! diff --git a/nuttx/fs/procfs/README.txt b/nuttx/fs/procfs/README.txt index 87b88a330..ffa3eddfc 100755 --- a/nuttx/fs/procfs/README.txt +++ b/nuttx/fs/procfs/README.txt @@ -46,5 +46,6 @@ Example 0/ 1/ 2/ + nsh> cat /proc/2/cmdline 0x527420 -- cgit v1.2.3