Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This command creates a ram disk consisting of <nsectors>, each of size <sector-size> (or 512 bytes if <sector-size> is not specified). The ramdisk will be registered as /dev/ram<minor>. If <minor> is not specified, mkrd will attempt to register the ram disk as /dev/ram0.

...

A ROM disk is a block device created on a read-only file system image in FLASH or other ROM.
There is no NSH command that can be used to recreate a ROM disk. This capability can be enabled for NSH using the CONFIG_NSH_ROMFSETC as described in the section discussing NSH start-up scripts in the NSH User Guide.

Any application can create a ROM disk, however, using the boardctl() BOARDIOC_ROMDISK command.

...