From owner-cvs-all Fri Oct 4 13: 7:42 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94B7737B401; Fri, 4 Oct 2002 13:07:41 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id C32D043E3B; Fri, 4 Oct 2002 13:07:40 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id g94JpPpS070909; Fri, 4 Oct 2002 21:51:26 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: obrien@FreeBSD.org Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/cam/scsi scsi_cd.c In-Reply-To: Your message of "Fri, 04 Oct 2002 12:42:48 PDT." <20021004194248.GA23759@dragon.nuxi.com> Date: Fri, 04 Oct 2002 21:51:25 +0200 Message-ID: <70908.1033761085@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20021004194248.GA23759@dragon.nuxi.com>, "David O'Brien" writes: >On Fri, Oct 04, 2002 at 06:33:31AM -0700, Poul-Henning Kamp wrote: >> Log: >> Unhook the SCSI CD driver from the disk "mini-layer" and/or GEOM. >> SCSI disks are too square pegs for the round holes in both of these. >> >> And since atapi-cd has clearly shown that there are better acccess >> models for CD media than trying to pretend to be a classical disk, >> we stop the masquerade rather than patch up the costume. > >It would be nice if atapi-cd would DTRT as the SCSI-CD does: > > # dd if=/dev/acd0 of=blah > dd: /dev/acd0: Invalid argument > 0+0 records in > 0+0 records out > 0 bytes transferred in 0.000081 secs (0 bytes/sec) > >SCSI works, where I have to explicitly state "bs=2048" for atapi-cd. Depends on your drive, for both SCSI and ATAPI. I belive sos@ told me he had an ATAPI drive which could do 512. I certainly have a SCSI drive which cannot do 512. 512byte emulation was a hack Sun paid to have invented so that they could hook CD's onto existing machines and use them. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message