*** imgpart v1.0 ***

Copyright 2008 Ciarn Good.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.


Overview:

imgpart is a little utility that allows you to extract partitions from a disc image file and then write them back again. Such partition images can be mounted as a real drive using a utility such as Filedisk, and then normal file operations can be used.


Usage:

imgpart -l <disc image>
Lists all partitions in disc image.

imgpart -r <disc image> <partition ID> <destination>
Reads specified partition (as given by -l) from disc image and writes it to destination.

imgpart -w <disc image> <partition ID> <source>
Writes given source partition image into specified partition (as given by -l) of disc image.


WARNING:

The utility can theoretically be used for real discs as well as disc images, if you pass a device file as the disc image. But beware that using the -w option on a real drive will completely overwrite the destination partition! As a safety measure, the program will refuse to write a partition unless the size of the partition image matches the size of the partition on the disc, as reported by its partition table.


Contact:

If you have any questions or suggestions, feel free to contact me by email on codecat42@gmail.com .
