How to create .iso file image of cdrom (atapi)?

Scott Mitchell scott+freebsd at tuatara.fishballoon.org
Sun Jan 4 07:44:07 PST 2004


On Mon, Jan 05, 2004 at 01:59:11AM +1030, W. Sierke wrote:
> Hi,
> 
> Is there a straightforward way of creating a file image (.iso) of a data
> cdrom mounted in an atapi cd-rom drive? All my googling has turned up is
> suggestions like dd if=/dev/acd0 ... but I neither have nor can create (with
> MAKEDEV) /dev/acd0 (only /dev/acd0a and /dev/acd0c - FreeBSD 4.8)

You want to use /dev/acd0c - the 'c' partition covers the whole disk.
Something like:

	dd if=/dev/acd0c of=foo.iso bs=64k

should do what you want.

	Scott

-- 
===========================================================================
Scott Mitchell           | PGP Key ID | "Eagles may soar, but weasels
Cambridge, England       | 0x54B171B9 |  don't get sucked into jet engines"
scott at fishballoon.org | 0xAA775B8B |      -- Anon


More information about the freebsd-questions mailing list