Command Reference Guide

3Com Router 5000 Family and Router 6000 Family vfs check check-method fix 433
Command Reference
vfs check check-method fix
Purpose Use the vfs check check-method fix command to set the file check method
to automatic file fixing.
Use the undo vfs check check-method fix command to cancel automatic
file fixing when the system checks the file system.
Syntax vfs check check-method fix
undo vfs check check-method fix
Parameters None
Example Specify automatic file fixing method.
[Router] vfs check check-method fix
Cancel automatic file fixing method.
[Router] undo vfs check check-method fix
View This command can be used in the following views:
System view
Description These two commands affect the vfs check file-system command in the
following ways:
If you specify automatic file fixing method by executing the vfs check
check-method fix command, the system fixes corrupted files automatically
after you execute the vfs check file-system command.
If you disable automatic file fixing by executing the undo vfs check
check-method fix command, then the system does not fix corrupted files
automatically after you execute the vfs check file-system command.
The automatic file fixing method is the default file system checking method.
The setting of file fixing remains valid during the course of file system self test when
the system restart.
At present, for corrupted files (that is, files that are reported to be zero byte in size by
the dir command but actually are not), file fixing only makes their actual file size to
be displayed. And for incomplete downloaded files (this kind of files occur when a
power failure occurs during the course of file downloading), this function only fixes
the downloaded parts. So this function is suitable for commonly used files (such as
text files) instead of image files, since the later maybe incomplete.