Been playing around with sysutils/eject to automate some media backup stuff.
I note that "after a number of ejects" the USB 2 CD drive will cease
responding. I don't think its a race to failure, it acts like resource
starvation/leak. Seems fairly reproducible, if someone gets to it
before I do, let me know.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261961
I suspect that something has changed in the 12 years since
sysutils/eject was last looked at and the CDIOCEJECT case in
sys/cam/scsi_cd.c probably needs an eyeball.
The close tray command also seems nonfunctional, which probably means
that a data structure has changed or something else that I haven't
started at in quite some time.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261936
sean