diff --git a/examples/README.txt b/examples/README.txt index 869451b2b..f63d9939f 100644 --- a/examples/README.txt +++ b/examples/README.txt @@ -1873,6 +1873,9 @@ examples/unionfs CONFIG_EXAMPLES_UNIONFS_RAMDEVNO_B - ROMFS file system 2 RAM disk device number CONFIG_EXAMPLES_UNIONFS_SECTORSIZE - ROM disk sector size. + See the README.txt file at nuttx/configs/sim/README.txt for a walk-through of + the output of this text. + examples/usbserial ^^^^^^^^^^^^^^^^^^ diff --git a/examples/unionfs/atestdir/adir/adirfile.txt b/examples/unionfs/atestdir/adir/adirfile.txt deleted file mode 100644 index 9e35f0539..000000000 --- a/examples/unionfs/atestdir/adir/adirfile.txt +++ /dev/null @@ -1,2 +0,0 @@ -This is a file in directory adir on file system 1 - diff --git a/examples/unionfs/atestdir/adir/asubdir/asubdirfile.txt b/examples/unionfs/atestdir/adir/asubdir/asubdirfile.txt deleted file mode 100644 index 0ff2a0439..000000000 --- a/examples/unionfs/atestdir/adir/asubdir/asubdirfile.txt +++ /dev/null @@ -1,2 +0,0 @@ -This is a file in directory adir/asubdir on file system 1 - diff --git a/examples/unionfs/atestdir/offset/adir/adirfile.txt b/examples/unionfs/atestdir/offset/adir/adirfile.txt new file mode 100644 index 000000000..76f9e4a24 --- /dev/null +++ b/examples/unionfs/atestdir/offset/adir/adirfile.txt @@ -0,0 +1,2 @@ +This is a file in directory offset/adir on file system 1 + diff --git a/examples/unionfs/atestdir/offset/adir/asubdir/asubdirfile.txt b/examples/unionfs/atestdir/offset/adir/asubdir/asubdirfile.txt new file mode 100644 index 000000000..8c5c8ee61 --- /dev/null +++ b/examples/unionfs/atestdir/offset/adir/asubdir/asubdirfile.txt @@ -0,0 +1,2 @@ +This is a file in directory offset/adir/asubdir on file system 1 + diff --git a/examples/unionfs/atestdir/offset/afile.txt b/examples/unionfs/atestdir/offset/afile.txt new file mode 100644 index 000000000..1cce109c7 --- /dev/null +++ b/examples/unionfs/atestdir/offset/afile.txt @@ -0,0 +1 @@ +This is a file in the offset/ directory on file system 1 diff --git a/examples/unionfs/unionfs_main.c b/examples/unionfs/unionfs_main.c index c05879acf..bf62098b1 100644 --- a/examples/unionfs/unionfs_main.c +++ b/examples/unionfs/unionfs_main.c @@ -188,7 +188,7 @@ int unionfs_main(int argc, char *argv[]) /* Now create and mount the union file system */ ret = unionfs_mount(CONFIG_EXAMPLES_UNIONFS_TMPA, NULL, - CONFIG_EXAMPLES_UNIONFS_TMPB, NULL, + CONFIG_EXAMPLES_UNIONFS_TMPB, "offset", CONFIG_EXAMPLES_UNIONFS_MOUNTPT); if (ret < 0) {