Thursday, July 20, 2006

CD Image Conversion - LQWiki

CD Image Conversion - LQWiki:

"img2iso

.img is a CloneCD Image file.

The actuall name of this utility is called isodump. Honestly, it's a very bad name for it seeing as how most, if not all, linux distributions already come with a program named isodump. I've taken the liberty of renaming it so it doesn't conflict with the existing program.

isodump - This is how I compile this program:

sed -i 's@isodump@img2iso@g' isodump.c

sed -i 's@isodump@img2iso@g' isodump.h

sed -i 's@isodump@img2iso@g' Makefile.Linux

sed -i 's@isodump@img2iso@g' isodump.man

mv isodump.c img2iso.c

mv isodump.h img2iso.h

mv isodump.man img2iso.man

./configure --prefix=/usr

make

The sed commands will give you a binary and man page named 'img2iso' instead of 'isodump' "

0 Comments:

Post a Comment

<< Home