Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Oct 2002 21:51:25 +0200
From:      Poul-Henning Kamp <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 
Message-ID:  <70908.1033761085@critter.freebsd.dk>
In-Reply-To: Your message of "Fri, 04 Oct 2002 12:42:48 PDT." <20021004194248.GA23759@dragon.nuxi.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

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




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