From owner-freebsd-questions Fri Apr 13 16: 9:50 2001 Delivered-To: freebsd-questions@freebsd.org Received: from femail9.sdc1.sfba.home.com (femail9.sdc1.sfba.home.com [24.0.95.89]) by hub.freebsd.org (Postfix) with ESMTP id 595F637B440; Fri, 13 Apr 2001 16:09:47 -0700 (PDT) (envelope-from graywane@home.com) Received: from cg392862-a.adubn1.nj.home.com ([65.2.79.221]) by femail9.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with ESMTP id <20010413230946.WKNF146.femail9.sdc1.sfba.home.com@cg392862-a.adubn1.nj.home.com>; Fri, 13 Apr 2001 16:09:46 -0700 Received: (from graywane@localhost) by cg392862-a.adubn1.nj.home.com (8.11.3/8.11.3) id f3DN9fw06880; Fri, 13 Apr 2001 19:09:41 -0400 (EDT) (envelope-from graywane) Date: Fri, 13 Apr 2001 19:09:40 -0400 From: Graywane To: Kal Torak Cc: Ben Smithurst , FreeBSD-questions Subject: Re: Creating EXACT image of a CD Message-ID: <20010413190940.A6820@home.com> References: <3AD68EBA.EC6A8380@quake.com.au> <20010413135052.H75296@scientia.demon.co.uk> <3AD784C7.B7F0B80A@quake.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="u3/rZRmxL6MmkK24" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AD784C7.B7F0B80A@quake.com.au>; from kaltorak@quake.com.au on Sat, Apr 14, 2001 at 08:59:19AM +1000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --u3/rZRmxL6MmkK24 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Here is the track layout for a data CD: +---------------------- Yellow Book -------------------+---- Red Book ---+ ! ! ! v <------------------- 2352 Bytes -------------------> v v +----------+---------------------------------+---------+-----------------+ ! Sync ! ! CD-ROM ! ! ! & ! User Data (2048 Bytes) ! EDC/ECC ! EDC/ECC/Control ! ! Headers ! ! (280) ! (882 Bytes) ! ! (24) ! ! ! ! +----------+---------------------------------+---------+-----------------+ Michael On Sat, Apr 14, 2001 at 08:59:19AM +1000, Kal Torak wrote: > > > I want to create exact ISO images of CD's... > > > Like create the file system using the exact same file names and > > > structure, not just copying the data... If there are null sectors on > > > the CD or something then I want them to be part of the image... > > > options to mkisofs can it be done? or using dd or something? > >=20 > > yeah, you should just be able to use dd. > >=20 > > dd if=3D/dev/cdrom of=3Dexact-image.iso bs=3D2k > >=20 > > other block sizes may work too, you could experiment. I think with data > > CDs it has to be a multiple of 2k, couldn't swear to that though. >=20 > Hmmm is there a tool to check the block size of a file system? --=20 Note: See http://www.members.home.net/graywane/ for PGP information. --u3/rZRmxL6MmkK24 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjrXhzQACgkQeHdFaBWUGN09YgCePJc0j9B3BWjbwiCiSPsabiQf HM0AoKYNgpt63lZP/cdDxXk01AeRzioW =F3O/ -----END PGP SIGNATURE----- --u3/rZRmxL6MmkK24-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message