Date: Sun, 2 Nov 2003 14:24:48 -0800 (PST) From: Søren Schmidt <sos@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/ata atapi-cd.c Message-ID: <200311022224.hA2MOmBr038903@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
sos 2003/11/02 14:24:48 PST FreeBSD src repository Modified files: sys/dev/ata atapi-cd.c Log: Fix burning of CD's that got broken by the GEOM'ification. GEOM was not designed to handle media that does not have a size. Blank CD's are of that type, so cheat and set the media size to -1. This allows burning to work, but makes GEOM issue outofrange reads that makes the ATAPI subsystem spew out a few warnings. GEOM should be tought about this. GEOM was not designed to handle changing the sectorsize between opens. Writing multitack CD's with both audio and data tracks needs to change sector size on the fly. We cheat here and stuff the current sectorsize into GEOM private internals. GEOM should grow some clean way for this. Revision Changes Path 1.151 +5 -9 src/sys/dev/ata/atapi-cd.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311022224.hA2MOmBr038903>