Purpose
The BLK (Block) command recognizes file system blocks and displays CI, WCI, DB, and WDB blocks based on the block code in the block header. For other types of blocks, the command indicates the block type. This command also displays DB or WDB blocks in Depot cylinders and displays snapshot MI chunks.
Syntax
- /P
- Positions to the block, but does not display it.
- /S /M /L /H /X
- The display options: Short, Medium, Long, Hex, and Extended. The display format depends on the block type. For descriptions of how the display options are applied to the different block types, see the associated commands:CI, DB, WCI, and WDB.
- /V
- Validates the block according to the block type, but does not display the block.
- /C
- For compressed data blocks, displays the uncompressed DB header information, including extended header information pertaining to data compression.
- /Z
- For compressed data blocks, displays:
- cylid
- The 64-bit identifier of a cylinder, entered as a 16-character hexadecimal number.
- sectornum
- The sector number of the entries to be displayed.
- sectorcount
- The number of sectors to examine, starting from sectornum, but not extending beyond the end of the cylinder. This can be used for either normal or Depot sectors. All blocks within this range are displayed.
- =
- Filer will use the most recently saved values for cylid, sectornum, or sectorcount.
Usage Notes
If the requested sector is in a segment in memory, BLK displays the segment from memory. If the segment is not in memory, BLK attempts to locate and display the sector from the file system B-Tree structures.
If the requested sector is currently not in use in the file system, the requested sectors are read directly from disk and displayed in hexadecimal format.
The DB command is similar to BLK, except it displays only Data Block segments. For more information, see DB.