cvs commit: src/sys/dev/ata atapi-cd.c
Søren Schmidt
sos at FreeBSD.org
Sun Nov 2 14:24:50 PST 2003
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
More information about the cvs-src
mailing list