FLASHCTL(8) BSD System Manager's Manual FLASHCTL(8)NAMEflashctl — a program to manipulate flash devices
SYNOPSISflashctl device command [arg [...]]
DESCRIPTIONflashctl could be used to invoke low level operations specific to flash
devices. It is used by specifying a device to manipulate, the command to
perform, and any arguments the command may require.
DEVICE COMMANDS
The following commands may be used on flash devices:
badblocks List the bad blocks on the device.
erase offset size Erase size amount of flash memory from offset. Size
could be all, which means the rest of the flash after
offset will be erased.
identify Identify the specified device, displaying the device's
vendor, product strings, and the device's capabili‐
ties.
markbad offset Mark the block given by its offset as bad.
SEE ALSOflash(4)HISTORY
The flashctl command first appeared in NetBSD 6.0.
AUTHORS
The flashctl command was written by Adam Hoka.
BSD February 27, 2011 BSD