The mclasserase
command is used to wipe memory cards by
overwriting it three times: first with 0xff
, then with
0x00
, then with 0xff
again. The command uses the following
syntax:
mclasserase
[-d
] msdosdrive
MS-DOS drive is optional, if none is specified, use A:
. If more than
one drive are specified, all but the last are ignored.
Mclasserase
accepts the following command line options:
d
Stop after each erase cycle, for testing purposes
p
Not yet implemented
Mclasserase
returns 0 on success or -1 on failure.