mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-06 13:09:02 +00:00
Correct spelling: MOUNTPOINT not MOUNTPOUNT. Numerous places. Some are problems. From Woohan Lee
This commit is contained in:
parent
62cb2f3c06
commit
fa035373e4
4 changed files with 7 additions and 7 deletions
|
|
@ -384,7 +384,7 @@ config NSH_CMDOPT_HEXDUMP
|
|||
default y if !DEFAULT_SMALL
|
||||
depends on !NSH_DISABLE_HEXDUMP
|
||||
|
||||
config NSH_PROC_MOUNTPOUNT
|
||||
config NSH_PROC_MOUNTPOINT
|
||||
string "procfs mountpoint"
|
||||
default "/proc"
|
||||
depends on FS_PROCFS
|
||||
|
|
|
|||
|
|
@ -188,7 +188,7 @@ NSH to behave as follows at NSH startup time:
|
|||
|
||||
- By default, the contents of rcS script are:
|
||||
|
||||
# Create a RAMDISK and mount it at XXXRDMOUNTPOUNTXXX
|
||||
# Create a RAMDISK and mount it at XXXRDMOUNTPOINTXXX
|
||||
|
||||
mkrd -m 1 -s 512 1024
|
||||
mkfatfs /dev/ram1
|
||||
|
|
|
|||
|
|
@ -53,8 +53,8 @@
|
|||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CONFIG_NSH_PROC_MOUNTPOUNT
|
||||
# define CONFIG_NSH_PROC_MOUNTPOUNT "/proc"
|
||||
#ifndef CONFIG_NSH_PROC_MOUNTPOINT
|
||||
# define CONFIG_NSH_PROC_MOUNTPOINT "/proc"
|
||||
#endif
|
||||
|
||||
#undef HAVE_CPULOAD
|
||||
|
|
@ -215,7 +215,7 @@ static int loadavg(pid_t pid, FAR char *buffer, size_t buflen)
|
|||
|
||||
/* Form the full path to the 'loadavg' pseudo-file */
|
||||
|
||||
snprintf(path, sizeof(path), CONFIG_NSH_PROC_MOUNTPOUNT "/%d/loadavg",
|
||||
snprintf(path, sizeof(path), CONFIG_NSH_PROC_MOUNTPOINT "/%d/loadavg",
|
||||
(int)pid);
|
||||
|
||||
/* Read the 'loadavg' pseudo-file into the user buffer */
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# Create a RAMDISK and mount it at XXXRDMOUNTPOUNTXXX
|
||||
# Create a RAMDISK and mount it at XXXRDMOUNTPOINTXXX
|
||||
|
||||
mkrd -m XXXMKRDMINORXXX -s XXMKRDSECTORSIZEXXX XXMKRDBLOCKSXXX
|
||||
mkfatfs /dev/ramXXXMKRDMINORXXX
|
||||
mount -t vfat /dev/ramXXXMKRDMINORXXX XXXRDMOUNTPOUNTXXX
|
||||
mount -t vfat /dev/ramXXXMKRDMINORXXX XXXRDMOUNTPOINTXXX
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue