fsck command

The fsck command completes a more thorough check of the integrity and structure of your data than the save command. It also allows for fixing backward link errors automatically. This TCL command was implemented to allow its use without first entering the D3 Windows Monitor Debugger.


 fsck -f filename -c arg


filename Represents the name of the file that you want to check.
arg Represents one of two options available for checking the filename.
  • No (default)
  • Fix


The fsck command provides a simple interface to the FlashBASIC %filecheck() function and is used to verify the integrity of the data within the D3 database. The fsck command allows for a more thorough scan of the data than the save command.

Note: When fsck is run from the Monitor Debugger at the same time as the file is being resized, a file is being resized message is displayed. This message is not displayed when fsck is run from TCL.

By contrast, and to provide for a better experience with data backups, using the save command only provides a minimal check to ensure that data will be saved properly, and then restored properly. The save command is optimized to save the data more quickly. To achieve this, not all data integrity or structures are checked. However, when using the fsck command, checks are included for backward link errors and embedded segment marks.