summaryrefslogtreecommitdiff
path: root/apps/nshlib/README.txt
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-12-05 18:12:11 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-12-05 18:12:11 -0600
commit64cabb7d0372c79075b1a50783dfb9968a2f107c (patch)
treef60638ed24b56e211864221364699399be61a70f /apps/nshlib/README.txt
parent96483c3637253cf00027a6312ba422a411f913bf (diff)
downloadnuttx-64cabb7d0372c79075b1a50783dfb9968a2f107c.tar.gz
nuttx-64cabb7d0372c79075b1a50783dfb9968a2f107c.tar.bz2
nuttx-64cabb7d0372c79075b1a50783dfb9968a2f107c.zip
NSH: Add an option to the mkfatfs command to specify FAT12, FAT16, or FAT32
Diffstat (limited to 'apps/nshlib/README.txt')
-rw-r--r--apps/nshlib/README.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/apps/nshlib/README.txt b/apps/nshlib/README.txt
index 7a12ad4b4..8b2d4bcdd 100644
--- a/apps/nshlib/README.txt
+++ b/apps/nshlib/README.txt
@@ -554,9 +554,14 @@ o mkdir <path>
drw-rw-rw- 0 TMP/
nsh>
-o mkfatfs <path>
+o mkfatfs [-F <fatsize>] <block-driver>
+
+ Format a fat file system on the block device specified by <block-driver>
+ path. The FAT size may be provided as an option. 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.
- Format a fat file system on the block device specified by path.
NSH provides this command to access the mkfatfs() NuttX API.
This block device must reside in the NuttX pseudo filesystem and
must have been created by some call to register_blockdriver() (see