Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!rosie!amarcum From: amarcum@next.com (Alan M. Marcum) Newsgroups: comp.sys.next Subject: Re: Ejecting the floppy Summary: ioctl(fd, DKIOCEJECT, 0) Message-ID: <229@rosie.NeXT.COM> Date: 25 Jan 91 18:05:00 GMT References: <10365@pasteur.Berkeley.EDU> <7887@umd5.umd.edu> <10415@pasteur.Berkeley.EDU> Sender: news@NeXT.COM Reply-To: amm@NeXT.COM (Alan M. Marcum) Distribution: usa Organization: NeXT, Inc. Lines: 13 Nntp-Posting-Host: nescorna.next.com carlton@cs.berkeley.edu (Mike Carlton) in <10365@pasteur.Berkeley.EDU>: > The only way I can see is to use /usr/etc/disk and this is kludgey. One could write a small C program which includes a line similar to ioctl(fd, DKIOCEJECT, 0); after opening the appropriate device and assigning its file descriptor to fd. DKIOCEJECT is defined in . -- Alan M. Marcum NeXT Technical Support amm@NeXT.COM