
122
Examples
# Restore the space of the flash memory.
<Sysname> fixdisk flash:
Restoring flash: may take some time...
Restoring flash:...Done.
format
Use
format
to format a storage medium.
Syntax
format
medium-name
Views
User view
Predefined user roles
network-admin
Parameters
medium-name
: Specifies the name of a storage medium. The value varies by device model.
Usage guidelines
Formatting a storage medium permanently deletes all files on the storage medium. If a startup
configuration file exists on the storage medium, back it up if necessary.
To format a storage medium that has been partitioned, you must format all the partitions individually,
instead of formatting the medium as a whole.
You can format a storage medium only when no one is accessing the medium.
Examples
# Format the flash memory.
<Sysname> format flash:
All data on flash: will be lost, continue? [Y/N]:y
Formatting flash:... Done.
# Format the third partition on the USB disk.
<Sysname> format usba2:
All data on usba2: will be lost, continue? [Y/N]:y
Formatting usba2:... Done.
gunzip
Use
gunzip
to decompress a file.
Syntax
gunzip
filename
Views
User view
Predefined user roles
network-admin