Nodes in the pseudo-filesystem can now be renamed or moved within the pseduo-filesystem
This commit is contained in:
parent
b39f432020
commit
c88b844190
@ -825,9 +825,12 @@
|
||||
(2014-2-10).
|
||||
* apps/examples/nximage/Kconfig and apps/examples/uip/Kconfig: Incomplete
|
||||
Kconfig files fleshed out by Alan Carvalho de Assis (2014-2-18).
|
||||
* apps/nshilib: rmdir can now be used in the pseudo-filesystem. Hence,
|
||||
* apps/nshlib: 'rmdir' can now be used in the pseudo-filesystem. Hence,
|
||||
the command needs to be available even if there are no write-able
|
||||
filesystem enabled (2014-2-19).
|
||||
* apps/nshilib: mkdir can now be used in the pseudo-filesystem. Hence,
|
||||
* apps/nshlib: 'mkdir' can now be used in the pseudo-filesystem. Hence,
|
||||
the command needs to be available even if there are no write-able
|
||||
filesystem enabled (2014-2-19).
|
||||
* apps/nshlib: 'rename' can now be used in the pseudo-filesystem. Hence,
|
||||
the 'mv' command needs to be available even if there are no write-able
|
||||
filesystem enabled (2014-2-19).
|
||||
|
@ -720,6 +720,9 @@ void nsh_usbtrace(void);
|
||||
# ifndef CONFIG_NSH_DISABLE_MKDIR
|
||||
int cmd_mkdir(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv);
|
||||
# endif
|
||||
# ifndef CONFIG_NSH_DISABLE_MV
|
||||
int cmd_mv(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv);
|
||||
# endif
|
||||
# ifndef CONFIG_NSH_DISABLE_RMDIR
|
||||
int cmd_rmdir(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv);
|
||||
# endif
|
||||
@ -752,9 +755,6 @@ void nsh_usbtrace(void);
|
||||
# ifndef CONFIG_NSH_DISABLE_MKRD
|
||||
int cmd_mkrd(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv);
|
||||
# endif
|
||||
# ifndef CONFIG_NSH_DISABLE_MV
|
||||
int cmd_mv(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv);
|
||||
# endif
|
||||
# ifndef CONFIG_NSH_DISABLE_RM
|
||||
int cmd_rm(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv);
|
||||
# endif
|
||||
|
@ -300,7 +300,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_MV
|
||||
{ "mv", cmd_mv, 3, 3, "<old-path> <new-path>" },
|
||||
# endif
|
||||
|
@ -1298,7 +1298,7 @@ int cmd_mksmartfs(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
|
||||
* Name: cmd_mv
|
||||
****************************************************************************/
|
||||
|
||||
#if !defined(CONFIG_DISABLE_MOUNTPOINT) && CONFIG_NFILE_DESCRIPTORS > 0 && defined(CONFIG_FS_WRITABLE)
|
||||
#if CONFIG_NFILE_DESCRIPTORS > 0
|
||||
#ifndef CONFIG_NSH_DISABLE_MV
|
||||
int cmd_mv(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user