Extend apps/examples/unionfs so it is includes a root offset on one of the unified file sysems
This commit is contained in:
parent
d265c5d111
commit
b2c2e134b1
@ -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
|
||||
^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
@ -1,2 +0,0 @@
|
||||
This is a file in directory adir on file system 1
|
||||
|
@ -1,2 +0,0 @@
|
||||
This is a file in directory adir/asubdir on file system 1
|
||||
|
2
examples/unionfs/atestdir/offset/adir/adirfile.txt
Normal file
2
examples/unionfs/atestdir/offset/adir/adirfile.txt
Normal file
@ -0,0 +1,2 @@
|
||||
This is a file in directory offset/adir on file system 1
|
||||
|
@ -0,0 +1,2 @@
|
||||
This is a file in directory offset/adir/asubdir on file system 1
|
||||
|
1
examples/unionfs/atestdir/offset/afile.txt
Normal file
1
examples/unionfs/atestdir/offset/afile.txt
Normal file
@ -0,0 +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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user