diff --git a/Documentation/NuttShell.html b/Documentation/NuttShell.html index cbb9cabbee4..7f3c48aa862 100644 --- a/Documentation/NuttShell.html +++ b/Documentation/NuttShell.html @@ -8,7 +8,7 @@
Last Updated: January 12, 2018
+Last Updated: May 11, 2018
Command Syntax:
-mkfatfs [-F <fatsize>] <block-driver> +mkfatfs [-F <fatsize>] [-r <rootdirentries>] <block-driver>
Synopsis.
@@ -2320,6 +2320,13 @@ mkfatfs [-F <fatsize>] <block-driver>
Without the <fatsize> option, mkfatfs will select either the FAT12 or FAT16 format.
For historical reasons, if you want the FAT32 format, it must be explicitly specified on the command line.
+ The -r option may be specified to select the the number of entries in the root directory for FAT12 and FAT16 file systems.
+ Typical values for small volumes would be 112 or 224; 512 should be used for large volumes, such as hard disks or very large SD cards. The default is 512 entries in all cases.
+
+ The reported number of root directory entries used with FAT32 is zero because the FAT32 root directory is a cluster chain. +
NSH provides this command to access the mkfatfs() NuttX API.
This block device must reside in the NuttX pseudo file system and