From owner-freebsd-questions Sun Sep 23 16:51: 2 2001 Delivered-To: freebsd-questions@freebsd.org Received: from grumpy.dyndns.org (user-24-214-57-209.knology.net [24.214.57.209]) by hub.freebsd.org (Postfix) with ESMTP id C3F6537B40A for ; Sun, 23 Sep 2001 16:50:58 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by grumpy.dyndns.org (8.11.6/8.11.6) with ESMTP id f8NNooG07089; Sun, 23 Sep 2001 18:50:51 -0500 (CDT) (envelope-from dkelly@grumpy.dyndns.org) Message-Id: <200109232350.f8NNooG07089@grumpy.dyndns.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: swear@blarg.net (Gary W. Swearingen) Cc: freebsd-questions@FreeBSD.ORG From: David Kelly Subject: Re: Why is ISO CD one block bigger than ISO file? In-reply-to: Message from swear@blarg.net (Gary W. Swearingen) of "22 Sep 2001 12:41:50 PDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 23 Sep 2001 18:50:50 -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Gary W. Swearingen writes: > I've got a 4.4R ISO file. Size is 324368*2048. I did > "burncd -f /dev/acd0c -s 8 data 4.4R.iso fixate" and then did > "dd if=/dev/acd0a bs=2k | wc" which showed the CD was one 2048-byte > block bigger than the ISO file. I used "dd" and "md5" to verify that > the first 324368 blocks of the CD were the same as the ISO file. > Why the extra block? Last time I tried that with a Philips IDE 8/4/32 drive it came up one block short. That and other problems with the drive convinced me to be happy to pay Circuit City's 15% restocking fee. Believe the issue was whether or not an EOF was to be signaled by the device to the driver on reaching the end, or on attempt to read past the end. Some brands respond differently. Would be worth investigating the quirk table to see how yours is used. Then again, I don't know there is an ATAPI quirk table for CD drives. Bought a SCSI HP 9200 elsewhere and dd correctly read the original image. Have not tried it lately. -- 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message