19-69
User Guide for Resource Manager Essentials 4.1
OL-11714-01
Chapter 19 CLI Utilities
CWCLI
FlashFile (Cisco_FlashFile)
FlashFile manages the storage and organization of files on a Flash memory device. The table below
describes the elements in FlashFile
.SoftwareIdentity (Cisco_SoftwareIdentity)
SoftwareIdentity provides the hardware and firmware version of the card. The table below describes
elements in SoftwareIdentity.
NeedsErasure Boolean parameter indicating whether the partition requires to be erased before any
write operations can occur.
Size FlashPartition size. It should be an integral multiple of
ciscoFlashDeviceMinPartitionSize. If there is a single partition, this size will be equal
to ciscoFlashDeviceSize.
FreeSpace Free space within aFlashPartition.
FileCount Number of files stored in the file system.
Element Description
Element Description
InstanceID FlashFile sequence number used to index within a FlashPartition directory table.
FileSize Size of the file in bytes.This size does not include the size of the filesystem file header.
FileStatus Status of a file. A file could be explicitly deleted if the file system supports such a user
command. Alternatively, an existing good file would be automatically deleted if another
good file with the same name were copied in.
Deleted files continue to occupy prime space in flash memory. A file is marked as having
an invalid checksum if any checksum mismatch was detected while writing or reading
the file.
Incomplete files (files truncated either because of lack of free space, or because of a
network download failure) are also written with a bad checksum and marked as invalid.
Checksum File checksum stored in the file header. This checksum is computed and stored when the
file is written into Flash memory, and serves to validate the data written into Flash.
Where the system generates and stores the checksum internally in hexadecimal form,
checksum provides the checksum in a string form. Checksum is available for all valid
and invalid-checksum files.
FileName FlashFile name as specified by the user while copying the file to Flash memory.
The name should not include the colon (:) character as it is a special separator character
used to separate the device name, partition name, and the file name.
Element Description
Classification Specifies whether the information is for hardware or firmware.
VersionString Version information for software or firmware.