Re: about control the cdrom drive
- From: Josef Moellers <josef.moellers@xxxxxxxxxxxxxxxxxxx>
- Date: Wed, 20 Dec 2006 09:37:50 +0100
sunnyboyGuo@xxxxxxxxx wrote:
Hi, all,
Now, there are some files saved in 4 CD and every CD has one serial
number which is saved in one file in the CD. The info file saves
concerned information, includes the relative path of each file, the CD
number of each file. I read and parse the info file, then read these
files from corresponding CD according their cd number and relative
path.
My question is how can I pop up the cdrom and ask the user to inject
the second CD after I dealing with the first CD. this is similar to the
installation CD of linux operating system. Could anyone help me?
Thanks.
Have a look at the "eject" program.
After having ejected the CD, you could open it using O_NDELAY to see when a new disk is inserted.
--
Josef Möllers (Pinguinpfleger bei FSC)
If failure had no penalty success would not be a prize
-- T. Pratchett
.
- References:
- about control the cdrom drive
- From: sunnyboyGuo
- about control the cdrom drive
- Prev by Date: Re: about control the cdrom drive
- Next by Date: Re: typedef forward declare
- Previous by thread: Re: about control the cdrom drive
- Next by thread: Encoding issues with literal strings (C++)
- Index(es):
Relevant Pages
|