fscmd/mv : Add description to readme.md
Add description of mv, and remove description regarding mkrd, mksmartfs which removed before
@@ -14,13 +14,12 @@ Most of the commands support *--help* option to show how to use.
| [sh](#sh) | [free](#free) | [echo](#echo) |
| [sleep](#sleep) | [getenv/setenv/unsetenv](#getenvsetenvunsetenv) | [ls](#ls) |
| | [heapinfo](#heapinfo) | [mkdir](#mkdir) |
-| | [irqinfo](#irqinfo) | [mkrd](#mkrd) |
-| | [kill/killall](#killkillall) | [mksmartfs](#mksmartfs) |
-| | [ps](#ps) | [mount](#mount) |
+| | [irqinfo](#irqinfo) | [mv](#mv) |
+| | [kill/killall](#killkillall) | [mount](#mount) |
+| | [ps](#ps) | [umount](#umount) |
| | [reboot](#reboot) | [pwd](#pwd) |
| | [stkmon](#stkmon) | [rm](#rm) |
| | [uptime](#uptime) | [rmdir](#rmdir) |
-| | | [umount](#umount) |
## exit
@@ -681,11 +680,20 @@ Kernel Features -> Files and I/O -> Maximum number of file descriptors per task
```
-## mkrd
-This makes RAM or ROM.
+## mv
+Replaces source path entry with target entry, given that the target path entry does not exist.
```
Usage:
- mkrd [-m <minor>] [-s <sector-size>] <nsectors> or mkrd <nsectors>
+ Usage: mv [source_file_path] [target_file_path]
+```
+```bash
+TASH>>ls
+/mnt:
+ test/
+TASH>>mv /mnt/test /mnt/test1
+TASH>>ls
+/mnt:
+ test1/
```
### How to Enable
Enable *CONFIG_FS_CMDS* on menuconfig.
@@ -693,10 +701,6 @@ Enable *CONFIG_FS_CMDS* on menuconfig.
Application Configuration -> System Libraries and Add-Ons -> [*] FS shell commands
```
#### Dependancy
-- Disable CONFIG_DISABLE_MOUNTPOINT.
-```
-File Systems -> [ ] Disable support for mount points
-```
- Disable CONFIG_DISABLE_ENVIRON.
```
Kernel Features -> Disable TinyAra interfaces -> [ ] Disable environment variable support
@@ -707,32 +711,6 @@ Kernel Features -> Files and I/O -> Maximum number of file descriptors per task
```
-## mksmartfs
-This makes SmartFS File System on the specified block device.
-```
-Usage:
- mksmartfs <source directory> [-f] <target directory>
-```
-### How to Enable
-Enable *CONFIG_FS_CMDS* on menuconfig.
-```
-Application Configuration -> System Libraries and Add-Ons -> [*] FS shell commands
-```
-#### Dependancy
-- Disable CONFIG_DISABLE_MOUNTPOINT.
-```
-File Systems -> [ ] Disable support for mount points
-```
-- Enable CONFIG_FS_SMARTFS.
-```
-File Systems -> [*] SMART File System
-```
-- Set a value which is greater than zero on CONFIG_NFILE_DESCRIPTORS.
-```
-Kernel Features -> Files and I/O -> Maximum number of file descriptors per task
-```
-
-
## mount
This mounts specific File System.
```
