Subject: ioctl/cd-rom
To: None <amiga@netbsd.org>
From: michel beausejour <mbeausej@qc.bell.ca>
List: amiga
Date: 11/28/1994 17:43:18
I trying to control my cd-rom under NetBSD and it's not working....
I have open the device with
   int cdromfd;
   static har cdrom[]= "dev/cd0a"
   cdromfd=open(cdrom,O_RONLY);
   (this worked )
   after that i'm trying to eject the CD.
   ioctl(cdromfd,CDIOEJECT) (it didn't work, it didn't report any error)
 
I'm stucked,any help will be appreciated.
Thanks