2354 CHAPTER 155: FILE SYSTEM CONFIGURATION COMMANDS

A batch file does not support hot backup.

Each configuration command in a batch file must be a standard configuration command, meaning the valid configuration information which can be displayed with the display current-configurationcommand after this command is configured successfully; otherwise, this command may not be executed correctly.

Example # Execute the batch file test.bat in the root directory.

<Sysname> system-view

[Sysname] execute test.bat

file prompt

Syntax

file prompt {alert quiet }

View

System view

Parameter

alert: Enables the system to warn you about operations that may bring

 

undesirable results such as file corruption or data loss.

 

quiet: Disables the system to warn you about any operation.

Description

Use the file prompt command to set a prompt mode for file operations.

 

By default, the prompt mode is alert.

 

Note that when the prompt mode is set to quiet, the system does not warn for

 

any file operation. To prevent undesirable consequents resulted from

 

misoperations, the alert mode is preferred.

Example

# Set the file operation prompt mode to alert.

 

<Sysname> system-view

 

[Sysname] file prompt alert

fixdisk

Syntax fixdisk device

View User view

Parameter device: Storage device name.

Description Use the fixdisk command to restore the space of a storage device when it

becomes unavailable because of some abnormal operation.

Example # Restore the space of the CF card.

Page 2354
Image 2354
3Com MSR 30, MSR 50 manual Fixdisk, File prompt alert quiet, Syntax fixdisk device