mksmartfs: Move into apps/fsutils from kernel, now uses only open and ioctl. Add configuration option to supported multiple root directories. From Ken Petit

This commit is contained in:
Ken Pettit
2015-11-23 06:59:56 -06:00
committed by Gregory Nutt
parent efbbd7bac0
commit ad48d89fe2
13 changed files with 615 additions and 14 deletions

View File

@@ -189,6 +189,13 @@
# define CONFIG_NSH_DISABLE_WGET 1
#endif
/* mksmartfs depends on smartfs and mksmartfs support */
#if !defined(CONFIG_FS_SMARTFS) || !defined(CONFIG_FSUTILS_MKSMARTFS)
# undef CONFIG_NSH_DISABLE_MKSMARTFS
# define CONFIG_NSH_DISABLE_MKSMARTFS 1
#endif
/* One front end must be defined */
#if !defined(CONFIG_NSH_CONSOLE) && !defined(CONFIG_NSH_TELNET)
@@ -922,7 +929,7 @@ void nsh_usbtrace(void);
int cmd_mkfatfs(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv);
# endif
# endif /* CONFIG_FS_FAT */
# ifdef CONFIG_FS_SMARTFS
#if defined(CONFIG_FS_SMARTFS) && defined(CONFIG_FSUTILS_MKSMARTFS)
# ifndef CONFIG_NSH_DISABLE_MKSMARTFS
int cmd_mksmartfs(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv);
# endif