diff --git a/Documentation/NuttShell.html b/Documentation/NuttShell.html
index 86014074f48..e561a9bb3a3 100644
--- a/Documentation/NuttShell.html
+++ b/Documentation/NuttShell.html
@@ -119,193 +119,199 @@
|
- 2.7 Echo Strings and Variables (echo)
+ 2.7 Show volume status (df)
|
|
- 2.8 Execute User Code (exec)
+ 2.8 Echo Strings and Variables (echo)
|
|
- 2.9 Exit NSH (exit)
+ 2.9 Execute User Code (exec)
|
|
- 2.10 Show Memory Manager Status (free)
+ 2.10 Exit NSH (exit)
|
|
- 2.11 Get File Via TFTP (get)
+ 2.11 Show Memory Manager Status (free)
|
|
- 2.12 Show Usage Command Usage (help)
+ 2.12 Get File Via TFTP (get)
|
|
- 2.13 Show Network Configuration (ifconfig)
+ 2.13 Show Usage Command Usage (help)
|
|
- 2.14 Send a signal to a task (kill)
+ 2.14 Show Network Configuration (ifconfig)
|
|
- 2.15 Setup/teardown the Loop Device (losetup)
+ 2.15 Send a signal to a task (kill)
|
|
- 2.16 List Directory Contents (ls)
+ 2.16 Setup/teardown the Loop Device (losetup)
|
|
- 2.17 Access Memory (mb, mh, and mw)
+ 2.17 List Directory Contents (ls)
|
|
- 2.18 Show Current Tasks and Threads (ps)
+ 2.18 Access Memory (mb, mh, and mw)
|
|
- 2.19 Create a Directory (mkdir)
+ 2.19 Show Current Tasks and Threads (ps)
|
|
- 2.20 Create a FAT Filesystem (mkfatfs)
+ 2.20 Create a Directory (mkdir)
|
|
- 2.21 Create a FIFO (mkfifo)
+ 2.21 Create a FAT Filesystem (mkfatfs)
|
|
- 2.22 Create a RAMDISK (mkrd)
+ 2.22 Create a FIFO (mkfifo)
|
|
- 2.23 Mount a File System (mount)
+ 2.23 Create a RAMDISK (mkrd)
|
|
- 2.24 Rename a File (mv)
+ 2.24 Mount a File System (mount)
|
|
- 2.25 Mount an NFS file system (nfsmount)
+ 2.25 Rename a File (mv)
|
|
- 2.26 Check Network Peer (ping)
+ 2.26 Mount an NFS file system (nfsmount)
|
|
- 2.27 Send File Via TFTP (put)
+ 2.27 Check Network Peer (ping)
|
|
- 2.28 Show Current Working Directory (pwd)
+ 2.28 Send File Via TFTP (put)
|
|
- 2.29 Remove a File (rm)
+ 2.29 Show Current Working Directory (pwd)
|
|
- 2.30 Remove a Directory (rmdir)
+ 2.30 Remove a File (rm)
|
|
- 2.31 Set an Environment Variable (set)
+ 2.31 Remove a Directory (rmdir)
|
|
- 2.32 Execute an NSH Script (sh)
+ 2.32 Set an Environment Variable (set)
|
|
- 2.33 Wait for Seconds (sleep)
+ 2.33 Execute an NSH Script (sh)
|
|
- 2.34 Unmount a File System (umount)
+ 2.34 Wait for Seconds (sleep)
|
|
- 2.35 Unset an Environment Variable (unset)
+ 2.35 Unmount a File System (umount)
|
|
- 2.36 Wait for Microseconds (usleep)
+ 2.36 Unset an Environment Variable (unset)
|
|
- 2.37 Get File Via HTTP (wget)
+ 2.37 Wait for Microseconds (usleep)
|
|
- 2.38 Hexadecimal Dump (xd)
+ 2.38 Get File Via HTTP (wget)
+ |
+
+
+
|
+
+ 2.39 Hexadecimal Dump (xd)
|
@@ -872,7 +878,35 @@ nsh> dd if=/dev/ram0 of=/dev/null
+Command Syntax:
+
+df
+
+
+ Synopsis.
+ Show the state of each mounted volume.
+ As an example:
+
+
+nsh> mount
+ /etc type romfs
+ /tmp type vfat
+nsh> df
+ Block Number
+ Size Blocks Used Available Mounted on
+ 64 6 6 0 /etc
+ 512 985 2 983 /tmp
+nsh>
+
+
+
@@ -890,7 +924,7 @@ echo [<string|$name> [<string|$name>...]]
@@ -909,7 +943,7 @@ exec <hex-address>
@@ -928,7 +962,7 @@ exit
@@ -970,7 +1004,7 @@ nsh>
@@ -1005,7 +1039,7 @@ get [-b|-n] [-f <local-path>] -h <ip-address> <remote-path>
@@ -1022,7 +1056,7 @@ help
@@ -1073,7 +1107,7 @@ ifconfig nic_name ip_address
@@ -1114,7 +1148,7 @@ nsh>
@@ -1167,7 +1201,7 @@ losetup d <dev-path>
@@ -1204,7 +1238,7 @@ ls [-lRs] <dir-path>
@@ -1258,7 +1292,7 @@ nsh>
@@ -1284,7 +1318,7 @@ nsh>
@@ -1319,7 +1353,7 @@ nsh>
@@ -1339,7 +1373,7 @@ mkfatfs <path>
@@ -1377,7 +1411,7 @@ nsh>
@@ -1428,7 +1462,7 @@ nsh>
@@ -1507,7 +1541,7 @@ nsh> mount
@@ -1525,7 +1559,7 @@ mv <old-path> <new-path>
@@ -1544,7 +1578,7 @@ nfsmount <server-address> <mount-point> <remote-path>
@@ -1577,7 +1611,7 @@ nsh>
@@ -1612,7 +1646,7 @@ put [-b|-n] [-f <remote-path>] -h <ip-address> <local-path>
@@ -1642,7 +1676,7 @@ nsh>
@@ -1676,7 +1710,7 @@ nsh>
@@ -1711,7 +1745,7 @@ nsh>
@@ -1737,7 +1771,7 @@ nsh>
@@ -1755,7 +1789,7 @@ sh <script-path>
@@ -1772,7 +1806,7 @@ sleep <sec>
@@ -1802,7 +1836,7 @@ nsh>
@@ -1828,7 +1862,7 @@ nsh>
@@ -1872,7 +1906,7 @@ wget [-o <local-path>] <url>
@@ -1965,6 +1999,11 @@ nsh>
CONFIG_NFILE_DESCRIPTORS > 0 |
CONFIG_NSH_DISABLE_DD |
+
+ df |
+ !CONFIG_DISABLE_MOUNTPOINT && CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_FS_READABLE3 |
+ CONFIG_NSH_DISABLE_DF |
+
echo |
|
@@ -2647,9 +2686,10 @@ nsh>
Current working directory
date
dd
- echo
+ df
+ echo
Environment Variables
/etc/init.d/rcS
exec
|