From: pique@obelix.cica.es (Jose Ramon Pique Sanchez)
Subject: Ada and devices
Date: 1996/12/25
Date: 1996-12-25T00:00:00+00:00 [thread overview]
Message-ID: <59r821$3kv@erika.cica.es> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=iso-8895-1, Size: 878 bytes --]
I have a problem using an Optical Floppy from a Motorola
68030 Micro under VxWorks 5.1 Operating System. The problem is
the following:
I have to develop a program in ADA to write and read from an
Optical Floppy that is connected in a SCSI port "/sd0/".
I thought it'd be very easy using the ADA procedures OPEN,
CLOSE, READ and WRITE but I have encountered that I cannot
control if somebody removes the floppy when a write or read
operation is running. I think that a DEVICE_ERROR exception
must be raised but it doesn't happen.
Perhaps, the Operating System creates a temporary file to
write an read, and when I CLOSE the file the system phisycally
writes data in the floppy, but if this idea is right, Why isn't
any exception raised when I CLOSE the file after removing the floppy??
Any suggestions??
Thanks in advance..
BTW: Please e-mail to jrpique@sainsel.es
reply other threads:[~1996-12-25 0:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox