diff options
Diffstat (limited to 'nuttx/fs')
-rwxr-xr-x | nuttx/fs/binfs/README.txt | 29 | ||||
-rwxr-xr-x | nuttx/fs/procfs/README.txt | 1 |
2 files changed, 30 insertions, 0 deletions
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 <pthread> 0x527420 |