nuttx/Documentation/applications/examples/mount/index.rst

20 lines
838 B
ReStructuredText
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

==========================
``mount`` Mount Filesystem
==========================
This contains a simple test of filesystem mountpoints.
- ``CONFIG_EXAMPLES_MOUNT_DEVNAME`` The name of the user-provided block device
to mount. If ``CONFIG_EXAMPLES_MOUNT_DEVNAME`` is not provided, then a RAM disk
will be configured.
- ``CONFIG_EXAMPLES_MOUNT_NSECTORS`` The number of sectors in the RAM disk
used when ``CONFIG_EXAMPLES_MOUNT_DEVNAME`` is not defined.
- ``CONFIG_EXAMPLES_MOUNT_SECTORSIZE`` The size of each sectors in the RAM disk
used when ``CONFIG_EXAMPLES_MOUNT_DEVNAME`` is not defined.
- ``CONFIG_EXAMPLES_MOUNT_RAMDEVNO`` The RAM device minor number used to mount
the RAM disk used when ``CONFIG_EXAMPLES_MOUNT_DEVNAME`` is not defined. The
default is zero (meaning that ``/dev/ram0`` will be used).