Skip to content
Snippets Groups Projects
Commit b2c2e134 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

Extend apps/examples/unionfs so it is includes a root offset on one of the unified file sysems

parent d265c5d1
No related branches found
No related tags found
No related merge requests found
......@@ -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
^^^^^^^^^^^^^^^^^^
......
This is a file in directory adir on file system 1
This is a file in directory adir/asubdir on file system 1
This is a file in directory offset/adir on file system 1
This is a file in directory offset/adir/asubdir on file system 1
This is a file in the offset/ directory on file system 1
......@@ -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)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment