Chapter 3: File System Commands

Efficient Networks® Router family

 

Command Line Interface Guide

 

 

format disk

Erases and reformats the device file system. This command should only be used when the file system is unusable. If the device does not execute the POST test and software boot successfully, and the result of the dir command indicates the file system is corrupted, you may wish to reformat the disk, reboot the device, and recopy the system software.

Mgmt Class

System (R/W), Debug (R/W)

Input Format

format disk

Parameters

None

Response

The following is an example of the format disk command.

-> format disk

NEWFS: erasing disk..

NEWFS: fs is 381k and will have 762 sectors

NEWFS: 128 directory slots in 8 sectors

NEWFS: 747 fat entries in 3 sectors

NEWFS: writing boot block...done.

NEWFS: writing fat tables...done.

NEWFS: writing directory...done.

Filesystem formatted!

Page 3-6

Efficient Networks®

Page 68
Image 68
Efficient Networks 107-0001-000 Format disk, System R/W, Debug R/W, Following is an example of the format disk command