diff options
author | joerg <joerg@FreeBSD.org> | 1997-12-26 14:52:29 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1997-12-26 14:52:29 +0000 |
commit | 57a71c2f00cf01a732b7fa10fc36ca72f8f4b9a9 (patch) | |
tree | ef9393e53bd80bafb9c86d99960a42b4536fdfa6 /lib/libc | |
parent | 92b43624f498f072e658112f1d1b612d4bf50710 (diff) | |
download | FreeBSD-src-57a71c2f00cf01a732b7fa10fc36ca72f8f4b9a9.zip FreeBSD-src-57a71c2f00cf01a732b7fa10fc36ca72f8f4b9a9.tar.gz |
Fix some breakage that prevented the Plasmon burners from being used
under -current. The actual preparation of the next track will now be
deferred until just before the first write operation. Otherwise,
opening the device with write intent will cause the execution of
commands that are illegal in `limited command set mode' (i.e., after
the write channel has been opened).
While i was at it, cleaned up the worm_open() function a bit.
Removed the volume overflow pre-check in worm_strategy(). It was
time-consuming, and rather useless in many cases anyway (with the size
being reported for just the entire volume only), so we can as well let
the actual SCSI command fail instead, where it'll properly be reported
as EIO.
Partially submitted by & discussed with: jmz
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions