mkdir can now be used to create empty directories in the pseudo-filesystem.

This commit is contained in:
Gregory Nutt
2014-02-19 10:30:50 -06:00
parent b70ce5f634
commit b39f432020
5 changed files with 10 additions and 7 deletions

View File

@@ -252,7 +252,7 @@ static const struct cmdmap_s g_cmdmap[] =
# endif
#endif
#if !defined(CONFIG_DISABLE_MOUNTPOINT) && CONFIG_NFILE_DESCRIPTORS > 0 && defined(CONFIG_FS_WRITABLE)
#if CONFIG_NFILE_DESCRIPTORS > 0
# ifndef CONFIG_NSH_DISABLE_MKDIR
{ "mkdir", cmd_mkdir, 2, 2, "<path>" },
# endif