Specifications

98 Version 2.0
dblk
Summary
Displays the contents of one or more blocks from a block device.
Usage
dblk device [lba] [blocks] [-b]
Options
device
Block device name
lba
Index of the first block to be displayed (a hexadecimal number). The default is 0.
blocks
Number of blocks to be displayed (a hexadecimal number). The default is 0. If
larger than 0x10, then only 0x10 are displayed.
-b
Display one screen at a time.
Description
This command displays the contents of one or more blocks from a block device. lba
and blocks should be typed in hex value. If lba is not specified, block #0 is
assumed. If blocks is not specified, then on1y 1 block will be displayed. The
maximum number of blocks that can be displayed at one time is 0x10.
If an MBR is found on the block, the partition information will be printed after all the
block contents have been displayed.
If the block is a FAT partition, some FAT parameters will be displayed (label, systemid,
oemid, sectorsize, clustersize, media etc) after all the blocks have been displayed.
Examples
To display one block of blk0, beginning from block 0:
Shell>dblk blk0
To display one block of fs0, beginning from block 0x2:
Shell>dblk fs0 2
To display 0x5 blocks of fs0, beginning from block 0x12:
Shell>dblk fs0 12 5
To display 0x10 blocks of fs0, beginning from block 0x12:
Shell>dblk fs0 12 10
The attempt to display more than 0x10 blocks will display only 0x10 blocks: