The worm driver was provided under
.Fx releases prior to
.Fx 3.0 .
.Fx SCSI layer was replaced for
.Fx 3.0 by a CAM-compliant SCSI layer. The new SCSI layer does not include a worm driver, and is not likely to include one in the future. Future in-kernel support for CD-R/CD-RW/DVD drives will likely be implemented through the cd(4) driver. Users who wish to write CDs on a WORM, CD-R, or CD-RW drive should use cdrtools, which is in the
.Fx ports collection.
The cd(4) driver provides read-only access to CD, CD-R, and CD-RW drives, as well as WORM drives that support the CDROM command set. Therefore, users wishing to mount CDs in a WORM drive should use the cd(4) driver instead.
close(2), ioctl(2), open(2), write(2), cd(4), pass(4), xpt(4)