I have a bug related to persistent files.
To determine the exact sequence of steps to reproduce the bug, I need to start out the flash disk at a known state.
QUESTION
Using linux/QNX commands, how do I completely zero out the entire flash disk while being Telnet’d into the system?
Advertisement
Answer
On QNX, you can try the flashctl
tool to erase the entire flash.
To erase the entire flash, run:
flashctl -p /dev/fs0 -e