From 64cabb7d0372c79075b1a50783dfb9968a2f107c Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 5 Dec 2013 18:12:11 -0600 Subject: NSH: Add an option to the mkfatfs command to specify FAT12, FAT16, or FAT32 --- apps/nshlib/README.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'apps/nshlib/README.txt') 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 drw-rw-rw- 0 TMP/ nsh> -o mkfatfs +o mkfatfs [-F ] + + Format a fat file system on the block device specified by + path. The FAT size may be provided as an option. Without the + 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 -- cgit v1.2.3