Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jan 2004 15:43:08 +0000
From:      Scott Mitchell <scott+freebsd@tuatara.fishballoon.org>
To:        "W. Sierke" <ws@au.dyndns.ws>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: How to create .iso file image of cdrom (atapi)?
Message-ID:  <20040104154308.GA2535@tuatara.fishballoon.org>
In-Reply-To: <02b401c3d2d7$81439f40$8464a8c0@ovirt.dyndns.ws>
References:  <02b401c3d2d7$81439f40$8464a8c0@ovirt.dyndns.ws>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040104154308.GA2535>