
Managing a NonVolatile File System
114088 Rev. A 4-19
Examples:
Compacting File Space
When you delete a file from a memory card, the file and its data become
inaccessible and eventually occupy all remaining storage space on that card. Use
the
compact command to
• Copy active files to memory
• Erase the card’s contents
• Copy the active files back to the memory card
If responses to the
dir or dinfo commands reveal more free space than contiguous
free space on a memory card, compacting the space on the card increases the
contiguous free space.
Enter the following to erase the memory card contents and rewrite its files, where
<vol>
is the slot number of the card:
compact
<vol>
:
If you enter: The system:
delete alt.cfg
Deletes the alt.cfg file on the active volume.
delete
2:l6_22.log
Deletes the l6_22.log file on Volume 2.
delete 3:*.log
Deletes all files with the log filename extension on
Volume 3.
delete
4:???.log
Deletes all files with a three-character filename and a log file-
name extension on Volume 4.
Caution: Back up the files by copying them to a second memory card before
issuing the
compact command.
Commentaires sur ces manuels