
Diagnostic Parameters and Commands
Using diagnostics-related DO commands for the MAX 6000 unit’s PCMCIA card
MAX Administration Guide
B-57
•
-i
reports the version of the code image stored in internal flash memory.
•
-p
reports the version of the code image stored on the PCMCIA card.
Example: The following command displays the software version of an unformatted PCMCIA
card:
> fVersionInfo -p
The following command displays the software version of a FAT-formatted PCMCIA card.
> fVersionInfo -p /current/TAOSfilem60.bin
Ls
Description: Lists the files and directories on the PCMCIA card’s file system.
Permission level: Requires Diagnostic mode permissions.
Usage:
ls
path
where
path
is the name of and path to the directory or file you want to list.
The following two commands list the contents of the all directories and the
/current
directory, respectively:
MkDir
Description: Creates a new directory on a PCMCIA card’s file system.
Permission level: Requires Diagnostic mode permissions.
Usage:
mkdir
path
where
path
is the path and name of the directory you want to create.
Example: The following two commands create directories named
dump
and
testdir
,
respectively, in the current directory:
Mv
Description: Moves a file or directory on the PCMCIA card’s file system.
Permission level: Requires Diagnostic mode permissions.
Usage:
mv
path1 path2
> ls
> ls /current
> mkdir dump
Creates the directory
dump
.
> mkdir testdir
Creates the directory
testdir
.