From 2225b1642cd457e8c719a2b2cdc79b187755aa7b Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 7 Jun 2015 10:25:03 -0600 Subject: [PATCH] Update some README files --- configs/sim/README.txt | 35 +++++++++++++++++++++++++++++++++++ fs/unionfs/README.txt | 6 +++--- 2 files changed, 38 insertions(+), 3 deletions(-) diff --git a/configs/sim/README.txt b/configs/sim/README.txt index 1696f2d648..86b0fe6a40 100644 --- a/configs/sim/README.txt +++ b/configs/sim/README.txt @@ -706,6 +706,41 @@ unionfs of the ROMFS file systems at apps/examples/unionfs/atestdir and btestdir. + Here is some sample output from the test: + + NuttShell (NSH) + nsh> unionfs + Mounting ROMFS file system 1 at target=/mnt/a with source=/dev/ram4 + Mounting ROMFS file system 2 at target=/mnt/b with source=/dev/ram5 + nsh> ls /mnt/unionfs/adir + /mnt/unionfs/adir: + .. + asubdir/ + adirfile.txt + bsubdir/ + bdirfile.txt + + adir/ exists in both file system 1 and file system 2. Above you are + looking at the merged content. The unified directory listing is showing + files from both file systems in their respective adir/ subdirectory. + The file adirfile.txt exists in both file system 1 and file system 2 but + the version if file system 2 is occluded by the version in file system 1. + The only way that you can which are looking at is by cat'ing the file: + + nsh> cat /mnt/unionfs/adir/adirfile.txt + This is a file in directory adir on file system 1 + + + The file on file system 1 has correctly occluded the file with the same + name on file system 2. bdirfile.txt, however, only exists on file + system 2, so it is not occluded: + + nsh> cat /mnt/unionfs/adir/bdirfile.txt + This is another file in directory adir on file system 2 + + You can see the files in the two file systems before they were unified at + apps/examples/unionfs/atestdir and btestdir. + ustream This is the same as the nsh configuration except that it includes diff --git a/fs/unionfs/README.txt b/fs/unionfs/README.txt index fb2d4530b0..a506d1ff90 100755 --- a/fs/unionfs/README.txt +++ b/fs/unionfs/README.txt @@ -21,10 +21,10 @@ fs/unionfs/README.txt See include/nutts/unionfs.h for additional information. - The Union File Sysem is enabled by selecting the CONFIG_FS_UNIONFS option - in the NuttX configruation file. + The Union File System is enabled by selecting the CONFIG_FS_UNIONFS option + in the NuttX configuration file. - Uses of the Unioin File System + Uses of the Union File System ------------------------------ The original motivation for this file was for the use of the built-in function file system (BINFS) with a web server. In that case, the built