Command Reference

Disk

2.70 Disk

CAT file

CD directory

CHMOD code file

CP file1 file2

DF /disk

 

 

 

 

 

 

 

 

 

 

 

 

 

/FLASH

 

 

 

 

FORMAT /PCCARD1

 

 

 

 

 

 

 

 

 

 

 

 

 

/PCCARD2

FSCK

 

 

HEAD file

LNflag file1 file2

 

 

 

 

 

 

 

 

 

LS

flag

file

DISK

 

 

 

 

 

 

 

 

 

MKDIRdirectory

MORE file

MV file target

OD

 

flag

 

 

 

file

 

 

 

 

 

 

 

 

 

 

PWD

 

 

 

 

 

RM

 

 

 

 

 

 

file

flag

 

RMDIR directory

SYNC

 

 

TAIL file

 

 

 

 

 

 

 

 

 

TEST

flag

file

TOUCH file

 

 

 

 

 

 

 

 

 

Performs disk management functions for the MSS and, for models with PC card support, for any installed ATA flash card. The MSS contains two modifiable directories—/ram and /flash—and one read-only directory—/rom. For MSS models with one PC card slot, an ATA card can be accessed as /pccard1; for models with two slots, the card in the top slot can be accessed as /pccard1 and the card in the bottom slot as /pccard2.

The Disk commands are very similar to the file management commands in UNIX environments. Unlike the similar UNIX commands, each disk command must be preceded by the word DISK. The commands are also not case-sensitive.

The Disk commands honor disk permissions. All disks are read only for non-privileged users.

Restrictions

The Format and FSCK parameters requires privileged user status.

 

Only apply to the MSS4, MSS100, MSSLiteX, and the MSS-VIA.

 

The ROM disk is read-only and cannot be modified by users.

2-53

Page 62
Image 62
Lantronix MSS manual Disk