142
Examples
# Set the file and directory operation mode to alert.
<Sysname> system-view
[Sysname] file prompt alert
fixdisk
Use fixdisk to check a file system for damage and repair any damage.
Syntax
fixdisk filesystem
Views
User view
Predefined user roles
network-admin
Parameters
filesystem: Specifies the name of a file system.
Usage guidelines
Use this command to fix a file system when space in the file system cannot be used or released.
You can repair a file system only when no other users are accessing the file system.
Examples
# Repair file system flash:.
<Sysname> fixdisk flash:
Restoring flash: may take some time...
Restoring flash:...Done.
format
Use format to format a file system.
Syntax
format filesystem
Views
User view
Predefined user roles
network-admin
Parameters
filesystem: Specifies the name of a file system.
Usage guidelines
The device supports only VFAT file systems. To use a file system of a different type on the device,
you must use this command to format the file system.
After partitioning a storage medium, you must format the partitions to create the file systems before
you access the file systems.