| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Next]](../next.gif) | 
Erase Flash partitions or format an embedded filesystem (QNX)
efsinit [-d] [-l] [-s num] path
The efsinit utility has two functions:
The utility decides which function to perform based on the path you specify. The path must have been created by one of the Efsys drivers.
|  | If you've already formatted an embedded filesystem partition on the Flash device, be careful about erasing the entire Flash, since you'll lose the block-usage information stored in the partition. You may need this information if you're using Flash devices that have a low maximum erase-cycle count. | 
Currently all read/write filesystems require a spare block independent of the memory devices used to implement the Flash.
Erase all data on a raw Flash device:
    efsinit /dev/skt1
Erase and format an empty embedded filesystem with one spare block:
    efsinit /efs1p1
| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Next]](../next.gif) |