From 026caf9e54b42da5d7b0571f39c9e5b06c3d677d Mon Sep 17 00:00:00 2001
From: patacongo Last Updated: June 15, 2012 Last Updated: August 3, 2012
Synopsis.
- The 'm ount' command mounts a file system in the NuttX psuedo
- filesystem. 'mount' performs a three way associating, binding:
+ The
+ If the mount parameters are provied on the command after the
@@ -1439,8 +1439,12 @@ mount -t <fstype> <block-device>
NuttShell (NSH)
- <dir-path>
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.
+mount command, then the mount command will mount a file system in the NuttX psuedo-file system.
+ mount' performs a three way association, binding:
<dir-path>
pseudo filesystem,
it may be access in the same way as other objects in thefile system.
Example
+Examples:
+Using mount to mount a file system:
nsh> ls -l /dev /dev: @@ -1491,6 +1496,13 @@ nsh> cat /mnt/fs/testdir/example.txt This is a test nsh>+
Using mount to enumerate mounts:
+nsh> mount + /etc type romfs + /mnt/fs type vfat + /tmp type vfat +