70 disk, 70 disk -53 – Lantronix MSS User Manual

Page 62

Advertising
background image

Command Reference

Disk

2-53

2.70 Disk

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.

DISK

CAT file

CD directory

CHMOD code file

CP file1 file2

DF /disk

FORMAT

/FLASH

/PCCARD1

/PCCARD2

FSCK

HEAD file

LNflag file1 file2

LS flag file

MKDIRdirectory

MORE file

MV file target

OD flag file

PWD

RM flag file

RMDIR directory

SYNC

TAIL file

TEST flag file

TOUCH file

Advertising