Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide Chapter 4 File Management Commands
3Com Corporation
4-21
Parameter
None
Description
Use the vfs check check-method discard command to specify the file discarding
method to be the file system check method.
Use the undo vfs check check-method discard command to cancel file discarding
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 the file discarding method by executing the vfs check
check-method discard command, the system discards the contents of corrupted
files after you execute the vfs check file-system command.
z If you disable file discarding by executing the undo vfs check check-method
discard command, the system does not discard the contents of corrupted files
after you execute the vfs check file-system command.
The automatic file fixing method is the default file system checking method.
The file discarding function does not delete corrupted files. It only discards the contents
of corrupted files. To delete a corrupted file, use the delete command.
The setting of file discarding remains valid during the course of file system self test
when the system restart.
Example
# Specify file discarding method.
[Router] vfs check check-method discard
# Cancel file discarding method.
[Router] undo vfs check check-method discard
4.2.4 vfs check check-method discard auto
Syntax
vfs check check-method discard auto
undo vfs check check-method discard auto
View
System view
Parameter
None