R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101
43
Examples
# Set the file operation prompt mode to alert.
<Sysname> system-view
[Sysname] file prompt alert
fixdisk
Syntax
fixdisk device
View
User view
Default level
3: Manage level
Parameters
device: Storage medium name.
Description
Use fixdisk to restore the space of a storage medium when it becomes unavailable because of some
abnormal operation.
Examples
# Restore the space of the flash.
<Sysname> fixdisk flash0:
Fixdisk flash0: may take some time to complete...
%Fixdisk flash0: completed.
format
Syntax
format device [ FAT16 | FAT32 ]
View
User view
Default level
3: Manage level
Parameters
device: Name of a storage medium. If the storage medium does not support partitioning, enter the
storage medium name, such as flash or cf. If the storage medium supports partitioning, enter the storage
medium name and the partition number, such as cf0 and cf1.
FAT16: Formats a storage medium by using the FAT16 format. To specify this keyword, enter the complete
keyword. You cannot enter part of it and use the Tab key to complete this keyword. This keyword is not
applicable to a Flash card.
FAT32: Formats a storage medium by using the FAT32 format. To specify this keyword, enter the complete
keyword. You cannot enter part of it and use the Tab key to complete this keyword. This keyword is not
applicable to a Flash card.