From owner-freebsd-questions@FreeBSD.ORG Tue May 20 17:55:37 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC4C737B404 for ; Tue, 20 May 2003 17:55:37 -0700 (PDT) Received: from grumpy.dyndns.org (user-24-214-34-52.knology.net [24.214.34.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id D02F443F75 for ; Tue, 20 May 2003 17:55:36 -0700 (PDT) (envelope-from dkelly@grumpy.dyndns.org) Received: from grumpy.dyndns.org (localhost [127.0.0.1]) by grumpy.dyndns.org (8.12.9/8.12.9) with ESMTP id h4L0tS14073436; Tue, 20 May 2003 19:55:28 -0500 (CDT) (envelope-from dkelly@grumpy.dyndns.org) Received: from localhost (localhost [[UNIX: localhost]]) by grumpy.dyndns.org (8.12.9/8.12.9/Submit) id h4L0tPgA073435; Tue, 20 May 2003 19:55:25 -0500 (CDT) From: David Kelly To: Eduardo Viruena Silva Date: Tue, 20 May 2003 19:55:25 -0500 User-Agent: KMail/1.5.1 References: <200305191951.40320.dkelly@HiWAAY.net> <20030519200918.U95244@Gina.esfm.ipn.mx> In-Reply-To: <20030519200918.U95244@Gina.esfm.ipn.mx> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200305201955.25530.dkelly@HiWAAY.net> cc: FreeBSD-Questions@freebsd.org Subject: Re: Creating a bin or ISO image of a CD?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2003 00:55:38 -0000 On Monday 19 May 2003 08:14 pm, Eduardo Viruena Silva wrote: > On Mon, 19 May 2003, David Kelly wrote: > > > > Some CDROM drives read the CD one block short. Makes it difficult > > to use raw tools to verify after write. > > try: > > dd if=/dev/acd0c of=my_image bs=2352 > > > what version of FreeBSD are you using? > if you are using versions 4.x you can make: That's not the same problem. Some CDROM mechanisms on reaching end of media report the situation along with the last block of data read. Others do not report the end has been reached until an attempt has been made to read past it. This is a common issue with tape drives too. If your drive doesn't report EOM when FreeBSD expects, and/or is not handled properly with a quirk table entry, then you can not read an identical-length ISO image off the disk as the image you wrote. 2048 is the proper block size when reading ISO-9660 CD's, altho it really shouldn't matter. -- David Kelly N4HHE, dkelly@hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system.