Cisco VG224 Software Guide - Page 48

Delete Files from Compact Flash Memory, show slot0, delete, flash: | slot0, squeeze, flash, slot0

Page 48 highlights

File and Directory Operations Appendix B Formatting the Compact Flash Memory Cards The following example shows sample output for displaying the contents of an external compact flash memory card using the show slot0: command: Router# show slot0: System CompactFlash directory: File Length Name/status 1 5190020 cvg224-i-mz 2 6458584 cvg224-i-mz 3 16535740 cvg224-telcoent-mz [28184536 bytes used, 100266024 available, 128450560 total] 125440K bytes of ATA System CompactFlash (Read/Write) Delete Files from Compact Flash Memory To delete a file from compact flash memory, enter the delete {flash: | slot0:} command, followed by the squeeze {flash: | slot0:} command. When a file is deleted in the Class B flash file system, the memory space occupied by the deleted file is not released until you enter the squeeze {flash: | slot0:} command. Although the memory space once occupied by the deleted file remains, the deleted file cannot be recovered. To release the memory space occupied by a deleted file, enter the squeeze {flash: | slot0:} command. Note The dir {flash: | slot0:} command does not show deleted files; the show {flash: | slot0:} command shows all files, including any deleted files if the squeeze {flash: | slot0:} command has not been entered. The following example shows sample output for deleting a Cisco IOS file from an external compact flash memory card, and then releasing the memory space originally occupied by the file: Router# dir slot0: Directory of slot0:/ 1 -rw2 -rw- 6458208 6458208 cvg224-i-mz.tmp cvg224-i-mz 16056320 bytes total (3139776 bytes free) Router# delete slot0:cvg224-i-mz.tmp Delete filename [cvg224-i-mz.tmp]? Delete slot0:cvg224-i-mz.tmp? [confirm] Router# dir slot0: Directory of slot0:/ 2 -rw- 6458208 cvg224-i-mz 16056320 bytes total (3139776 bytes free) Router# show slot0: Slot0 CompactFlash directory: File Length Name/status 1 6458208 cvg224-i-mz.tmp [deleted] 2 6458208 cvg224-i-mz [12916544 bytes used, 3139776 available, 16056320 total] 15680K bytes of ATA Slot0 CompactFlash (Read/Write) Router# squeeze slot0: Cisco VG224 Voice Gateway Software Configuration Guide B-6 OL-5005-01

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66

B-6
Cisco VG224 Voice Gateway Software Configuration Guide
OL-5005-01
Appendix B
Formatting the Compact Flash Memory Cards
File and Directory Operations
The following example shows sample output for displaying the contents of an external compact flash
memory card using the
show slot0:
command:
Router#
show slot0:
System CompactFlash directory:
File
Length
Name/status
1
5190020
cvg224-i-mz
2
6458584
cvg224-i-mz
3
16535740
cvg224-telcoent-mz
[28184536 bytes used, 100266024 available, 128450560 total]
125440K bytes of ATA System CompactFlash (Read/Write)
Delete Files from Compact Flash Memory
To delete a file from compact flash memory, enter the
delete
{
flash: | slot0:
}
command, followed by the
squeeze
{
flash:
|
slot0:
} command.
When a file is deleted in the Class B flash file system, the memory space occupied by the deleted file is
not released until you enter the
squeeze
{
flash:
|
slot0:
} command. Although the memory space once
occupied by the deleted file remains, the deleted file cannot be recovered. To release the memory space
occupied by a deleted file, enter the
squeeze
{
flash:
|
slot0:
} command.
Note
The
dir
{
flash:
|
slot0:
} command does not show deleted files; the
show
{
flash:
|
slot0:
} command
shows all files, including any deleted files if the
squeeze
{
flash:
|
slot0:
} command has not been entered.
The following example shows sample output for deleting a Cisco IOS file from an external compact flash
memory card, and then releasing the memory space originally occupied by the file:
Router#
dir slot0:
Directory of slot0:/
1
-rw-
6458208
<no date>
cvg224-i-mz.tmp
2
-rw-
6458208
<no date>
cvg224-i-mz
16056320 bytes total (3139776 bytes free)
Router#
delete slot0:cvg224-i-mz.tmp
Delete filename [cvg224-i-mz.tmp]?
Delete slot0:cvg224-i-mz.tmp? [confirm]
Router#
dir slot0:
Directory of slot0:/
2
-rw-
6458208
<no date>
cvg224-i-mz
16056320 bytes total (3139776 bytes free)
Router#
show slot0:
Slot0 CompactFlash directory:
File
Length
Name/status
1
6458208
cvg224-i-mz.tmp [deleted]
2
6458208
cvg224-i-mz
[12916544 bytes used, 3139776 available, 16056320 total]
15680K bytes of ATA Slot0 CompactFlash (Read/Write)
Router#
squeeze slot0: