Update some README files

This commit is contained in:
Gregory Nutt 2015-06-07 10:25:03 -06:00
parent 5956960145
commit 2225b1642c
2 changed files with 38 additions and 3 deletions

View File

@ -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

View File

@ -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