I'm trying to burn a CD from the RedHat 7.1 distro. However the CD has a bunch of hardlinked files that, if the files get copied as duplicates instead of hardlinks, makes the CD too big. The mkisofs command generates copies. I'm going to try to mount the iso image file and manipulate it manually, but I don't know if this is right. Suggestions? Thanks, Bill
On Fri, Oct 05, 2001 at 05:54:29PM -0400, Bill Mills-Curran wrote: subssn594> I'm trying to burn a CD from the RedHat 7.1 distro. However the CD has a subssn594> bunch of hardlinked files that, if the files get copied as duplicates subssn594> instead of hardlinks, makes the CD too big. The mkisofs command generates subssn594> copies. I'm going to try to mount the iso image file and manipulate it subssn594> manually, but I don't know if this is right. You can't mount an ISO image file read/write and manipulate it. Are you building an ISO image from a directory tree full of files, or did you get the ISO file directly from an FTP site? Usually getting the original ISO is the best way to do things, so you get an exact replica of the original CD. If you are copying a physical CD, the best way is just like this: cdrecord -v dev=/dev/sgc speed=4 /dev/scd0 assuming /dev/scd0 contains the source CD and /dev/sgc is the CD writer device. Set the speed to only as fast as the source CD drive is. If you only have one CD-ROM drive, this obviously won't work, so you would need to 'dd' the image to disk first: dd if=/dev/scd0 of=rh71apps.iso then cdrecord that file. -- Charles R. Anderson <cra@wpi.edu> / http://angus.ind.wpi.edu/~cra/ PGP Key ID: 49BB5886 Fingerprint: EBA3 A106 7C93 FA07 8E15 3AC2 C367 A0F9 49BB 5886
participants (2)
-
Bill Mills-Curran
-
Charles R . Anderson