hughes@silver.bacs.indiana.edu (larry hughes) (12/08/89)
Can anyone explain why: # disk -e /dev/od0a returns "get info: Inappropriate ioctl for device" when the manual pages explicitly state that "disk -e" will eject an optical disk? What I really want to do is to manually mount the OD; umount it when I'm finished; and then eject the disk (all from a shell script). I've used Librarian to search all of the docs for "eject", and couldn't find anything else pertaining to this. Thanks in advance for any info... //=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\\ || Larry J. Hughes, Senior Programmer || hughes@silver.bacs.indiana.edu || || Indiana University || || || University Computing Services || "The person who knows everything || || 750 N. State Road 46 Bypass || has a lot to learn." || || Bloomington, IN 47405 || || || (812) 855-9255 || Disclaimer: See quote above. || \\=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=//
feldman@umd5.umd.edu (Mark Feldman) (12/08/89)
In article <31020@iuvax.cs.indiana.edu> hughes@silver.bacs.indiana.edu (larry hughes) writes: >Can anyone explain why: > > # disk -e /dev/od0a > >returns "get info: Inappropriate ioctl for device" when the manual >pages explicitly state that "disk -e" will eject an optical disk? You must use the raw partition (/dev/rod0a). # disk -e /dev/rod0a works for me. Mark