This legacy tool has been designed to commit redologs into flat images.
It supports committing 'undoable' redologs to 'flat' or 'growing' base images and 'growing' to 'flat' image conversion (and vice versa). Committing / converting other disk image types is supported by the new bximage utility (Section 8.21).
This tool is completely interactive if no command line arguments are used. Then bxcommit asks for the operation mode, the flat image name, the redolog name, and whether to remove the source file after the commit or conversion is done. It can be switched to a non-interactive mode if all required parameters are given in the command line.
bxcommit [options] [flat filename] [redolog filename] Supported options: -mode=commit-undoable commit undoable redolog to flat file -mode=growing-to-flat create flat disk image from growing disk image -mode=flat-to-growing create growing disk image from flat disk image -d delete redolog file after commit -q quiet mode (don't prompt for user input) --help display this help and exit The first filename parameter specifies the name of the base image that will be created or modified. The second one specifies the name of the redolog.
Session example :
$ ./bxcommit
========================================================================
bxcommit
Growing / Undoable Disk Image Commit Tool for Bochs
========================================================================
1. Commit 'undoable' redolog to 'flat' or 'growing' mode base image
2. Create 'flat' disk image from 'growing' disk image
3. Create 'growing' disk image from 'flat' disk image
0. Quit
Please choose one [0] 1
What is the flat image name?
[c.img] myfile.img
What is the redolog name?
[myfile.img.redolog] toapply.redolog
Should the redolog been removed afterwards?
[yes]