Command syntax netbootloader, Mkfs (nand flash) – Kontron NetBootLoader User Manual
Page 63

ID 1022-8317, Rev. 2.0
Command Syntax
NetBootLoader
Page 55
MKFS
(NAND Flash)
FUNCTION:
Create a filesystem for the partition specified on the NAND Flash
SYNTAX:
mkfs [-f] <num>
where:
mkfs
command
-f
option: force creation of filesystem
invoking this option will overwrite any existing file-
system on the partition specified
<num>
parameter: numeric string
1, 2, 3, 4
number of the partition where filesystem is to be
created
DESCRIPTION:
This command creates a FAT-16 filesystem.
If the option -f is not used and a FAT filesystem already exists on the
partition specified, an error message is returned.
Invoking this command with the -f option on a partition which already
has a FAT filesystem will result in the loss of any data stored on this
partition.
If a partition has a filesystem other than FAT, it will not be recognized
and will be overwritten.