Date: 05 Oct 2002 12:24:46 +0930 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: obrien@FreeBSD.ORG Cc: Poul-Henning Kamp <phk@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/cam/scsi scsi_cd.c Message-ID: <1033786486.1430.14.camel@chowder.dons.net.au> In-Reply-To: <20021004194248.GA23759@dragon.nuxi.com> References: <200210041333.g94DXVJb051666@freefall.freebsd.org> <20021004194248.GA23759@dragon.nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2002-10-05 at 05:12, David O'Brien wrote: > 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. And for an audio disk you have to use 2352 - the point is that neither the ATAPI layer or the drive do re-blocking for you. As Poul says, 512 byte sectors on CDROM drives are a hack. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 9A8C 569F 685A D928 5140 AE4B 319B 41F4 5D17 FDD5 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?1033786486.1430.14.camel>