Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide Chapter 4 File Management Commands
3Com Corporation
4-20
Description
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.
These two commands affect the vfs check file-system command in the following
ways:
z 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.
z 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.
Example
# Specify automatic file fixing method.
[Router] vfs check check-method fix
# Cancel automatic file fixing method.
[Router] undo vfs check check-method fix
4.2.3 vfs check check-method discard
Syntax
vfs check check-method discard
undo vfs check check-method discard
View
System view