diff options
Diffstat (limited to 'nuttx/Documentation/NuttShell.html')
-rw-r--r-- | nuttx/Documentation/NuttShell.html | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/nuttx/Documentation/NuttShell.html b/nuttx/Documentation/NuttShell.html index 2f7bb7974..86014074f 100644 --- a/nuttx/Documentation/NuttShell.html +++ b/nuttx/Documentation/NuttShell.html @@ -8,7 +8,7 @@ <tr align="center" bgcolor="#e4e4e4"> <td> <h1><big><font color="#3c34ec"><i>NuttShell (NSH)</i></font></big></h1> - <p>Last Updated: June 15, 2012</p> + <p>Last Updated: August 3, 2012</p> </td> </tr> </table> @@ -1439,8 +1439,12 @@ mount -t <fstype> <block-device> <code><dir-path></code> </pre></ul> <p> <b>Synopsis</b>. - The 'm ount' command mounts a file system in the NuttX psuedo - filesystem. 'mount' performs a three way associating, binding: + The <code>mount</code> command performs one of two different operations. + If no paramters are provided on the command line after the <code>mount</code> command, then the <code>mount</code> command will enumerate all of the current mountpoints on the console. +</p> +<p> + If the mount parameters are provied on the command after the <code>mount</code> command, then the <code>mount</code> command will mount a file system in the NuttX psuedo-file system. + <code>mount</code>' performs a three way association, binding: </p> <ol> <li><b>File system.</b> @@ -1469,7 +1473,8 @@ mount -t <fstype> <block-device> <code><dir-path></code> <a href="NuttxUserGuide.html#FileSystemOverview"><i>pseudo</i> filesystem</a>, it may be access in the same way as other objects in thefile system. </p> -<p><b>Example</b></p> +<p><b>Examples</b>:</p> +<p>Using <code>mount</code> to mount a file system:</p> <ul><pre> nsh> ls -l /dev /dev: @@ -1491,6 +1496,13 @@ nsh> cat /mnt/fs/testdir/example.txt This is a test nsh> </pre></ul> +<p>Using <code>mount</code> to enumerate mounts:</p> +<ul><pre> +nsh> mount + /etc type romfs + /mnt/fs type vfat + /tmp type vfat +</pre></ul> <table width ="100%"> <tr bgcolor="#e4e4e4"> |