Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
5f506e3f
Commit
5f506e3f
authored
11 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
NSH: Add an option to the mkfatfs command to specify FAT12, FAT16, or FAT32
parent
692b087d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Documentation/NuttShell.html
+8
-3
8 additions, 3 deletions
Documentation/NuttShell.html
with
8 additions
and
3 deletions
Documentation/NuttShell.html
+
8
−
3
View file @
5f506e3f
...
...
@@ -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:
Octo
ber 5, 2013
</p>
<p>
Last Updated:
Decem
ber 5, 2013
</p>
</td>
</tr>
</table>
...
...
@@ -1668,11 +1668,16 @@ nsh>
<p><b>
Command Syntax:
</b></p>
<ul><pre>
mkfatfs
<
p
at
h
>
mkfatfs
[-F
<
f
at
size
>
]
<
block-driver
>
</pre></ul>
<p>
<b>
Synopsis
</b>
.
Format a fat file system on the block device specified by
<code>
<
path
>
</code>
.
Format a fat file system on the block device specified by
<code>
<
block-driver
>
</code>
path.
The FAT size may be provided as an option.
Without the
<code>
<
fatsize
>
</code>
option,
<code>
mkfatfs
</code>
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.
</p>
<p>
NSH provides this command to access the
<a
href=
"mkfatfs"
><code>
mkfatfs()
</code></a>
NuttX API.
This block device must reside in the NuttX
<a
href=
"NuttxUserGuide.html#FileSystemOverview"
><i>
pseudo
</i>
filesystem
</a>
and
must have been created by some call to
<code>
register_blockdriver()
</code>
(see
<code>
include/nuttx/fs/fs.h
</code>
).
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment