NSH mount command: Add support for TMPFS

This commit is contained in:
Gregory Nutt 2015-10-12 09:36:42 -06:00
parent a512e7dc1d
commit 5f4060ce1e

View File

@ -109,6 +109,12 @@ static const char* get_fstype(FAR struct statfs *statbuf)
break;
#endif
#ifdef CONFIG_FS_TMPFS
case TMPFS_MAGIC:
fstype = "tmpfs";
break;
#endif
#ifdef CONFIG_FS_BINFS
case BINFS_MAGIC:
fstype = "binfs";