VBD File Debug Utility


Usage

The VBD file utility is a console-based program used to analyze VBD 32-bit files, and rebuild corrupt VBD files. File corruption occurs when either the VBD File Header is damaged or any of the block headers are damaged. To use this utility enter the name of the program followed by the name of the VBD file:

vb_debug simple.vbd

To open a file, perform a single operation, and exit the program enter the name of the program followed by the name of the file followed by the letter of the command you wish to perform:

vb_debug simple.vbd d

If no command is giving after the file name the utility program will display a menu and give you a ">" prompt. At the prompt enter the single letter of the command you wish to perform.

Analyzing file: simple.vbd
Enter the letter of your selection at the prompt.

(A, a)    - Analyze the VBD file header
(D, d)    - Dump every variable block
(F, f)    - Find every variable block in the file
(H, h, ?) - Displays this menu
(Q, q)    - Quit this program
(r)       - Rebuild a damaged VBD file
(R)       - Rebuild and update to current version/revision
(S, s)    - Display VBD file statistics
(W, s)    - Walk through every variable block

Enter "A" to analyze the VBD file header. If this function reports any errors, rebuild this file by selecting the "R" option.

Enter "D" to dump the blocks to the stdout.

Enter "F" to report how many variable blocks were found in this file, including blocks marked deleted or removed.

Enter "H" to display this menu again, after the program processes your selection.

Enter "Q" to exit this program.

Enter "r" to rebuild this file. This function will create a new file and attempt to recover every variable block that is not marked deleted or remove. NOTE: The rebuild function will not allow you to overwrite existing files. Each time this function is executed you need to name a new file to be created. To abort a rebuild, press the enter key without typing a file name.

Enter "R" to rebuild this file and update it to the current VBD version and revision level.

Enter "S" to display detailed file information about this file. This information is used to analyze and troubleshoot VBD files.

----- Static information -----
File Name:         simple.vbd
File Signature:    VBDBASE
Revision Letter:   C
Library Version:   2000
File Header Size:  40
Block Header Size: 28
Static area size:  0
Static file size:  100

----- Dynamic Information -----
File Status:     Open Read/Only
Free Space:      0
End of File:     100
Heap Start:      40
Highest Block:   40
Total Blocks:    1
Deleted/Removed: 0/0 (0)

----- Lock Header Information -----
File Lock Protect:     0
File Read Lock Value:  0
File Write Lock Value: 0

Enter "W" to find every block in the file and display its statistics.

----- Block Statistics -----
Check Word   = 0xFEFEFEFE
Length       = 60
Status       = N
Next Deleted = 0

----- Object Statistics -----
Object Length  = 28
Stored CRC     = 0x633F7BB4
Calculated CRC = 0x633F7BB4

----- Record Lock Statistics -----
Record Lock Protect:     0
Record Read Lock Value:  0
Record Write Lock Value: 0


End Of Document