diff options
Diffstat (limited to 'apps/nshlib/README.txt')
-rw-r--r-- | apps/nshlib/README.txt | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/apps/nshlib/README.txt b/apps/nshlib/README.txt index 83f2b007b..45d14f30d 100644 --- a/apps/nshlib/README.txt +++ b/apps/nshlib/README.txt @@ -553,10 +553,17 @@ o mkrd [-m <minor>] [-s <sector-size>] <nsectors> /tmp: nsh> -o mount -t <fstype> <block-device> <dir-path> +o mount [-t <fstype> <block-device> <dir-path>] - The 'mount' command mounts a file system in the NuttX psuedo - filesystem. 'mount' performs a three way associating, binding + The mount command performs one of two different operations. If no + paramters are provided on the command line after the mount command, + then the 'mount' command will enumerate all of the current + mountpoints on the console. + + If the mount parameters are provied on the command after the 'mount' + command, then the 'mount' command will mount a file system in the + NuttX psuedo-file system. 'mount' performs a three way association, + binding: File system. The '-t <fstype>' option identifies the type of file system that has been formatted on the <block-device>. As @@ -579,8 +586,8 @@ o mount -t <fstype> <block-device> <dir-path> system, it may be access in the same way as other objects in the file system. - Example: - ^^^^^^^^ + Examples: + ^^^^^^^^^ nsh> ls -l /dev /dev: @@ -602,6 +609,11 @@ o mount -t <fstype> <block-device> <dir-path> This is a test nsh> + nsh> mount + /etc type romfs + /tmp type vfat + /mnt/fs type vfat + o mv <old-path> <new-path> Rename the file object at <old-path> to <new-path>. Both paths must |