110
To display and repair bad blocks:
Ste
Command
Remarks
1. Display the number and location of bad
blocks in the NAND flash memory.
display nandflash badblock-
location [ | { begin | exclude |
include } regular-expression ]
Required.
Available in any view.
2. Repair bad blocks. fixdisk device
Required.
Available in user view.
Checking files
After files are written to the NAND flash memory, use the following commands together to check the content
of these files.
To check files:
Task Command
Remarks
Display the space distribution of the specified
file in the NAND flash memory.
display nandflash file-location
filename [ | { begin | exclude |
include } regular-expression ]
Available in any view
Display data on the specified physical page.
display nandflash page-data
page-value [ | { begin | exclude |
include } regular-expression ]
Setting prompt modes
The system provides the following prompt modes:
• alert—The system warns about operations that may bring undesirable consequences such as file
corruption or data loss.
• quiet—The system does not prompt confirmation for any operation.
HP recommends using the alert mode.
To set the operation prompt mode:
Step Command Remarks
1. Enter system view. system-view —
2. Set the operation prompt mode of the file system.
file prompt { alert | quiet }
Optional.
The default is alert.