This tool can commit redologs into flat images.
For now, only "undoable" and "growing" redologs to flat image commits are supported. Sparse disk image commits may be added in the future.
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 to redolog file after the commit 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=undoable commit undoable redolog to flat file -mode=growing create flat disk image from growing 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 flat image that will be created or modified. The second one specifies the name of the redolog.
Session example :
$ ./bxcommit ======================================================================== bxcommit Undoable Disk Image Commit Tool for Bochs ======================================================================== What is the flat image name? [c.img] myfile.img What is the redolog name? [myfile.img.redolog] toapply.redolog Shall I remove the redolog afterwards? [yes]