The device-clean scripts for the diskettes and CD-ROM devices are shown in Table 4-3.
Table 4-3 Device-Clean Scripts for the Diskette and CD-ROM Device| Disk Device Type | Device-Clean Script | 
|---|---|
| diskette | |
| CD-ROM | 
The scripts use the eject command to remove the media from the drive. See the eject(1) man page. If eject fails, the device is placed in the allocate error state.