[Thread Prev][Thread Next][Index]

Re: 1) CD-ROMs



On Thu, 4 Sep 1997, Mark A. Verschell wrote:

> On Sep 3, 11:51pm, Rodrigo Caballero Augi wrote:
> > 1) Can Ferret read data directly from a CD-ROM? (I've tried it in the
> > straightforward way, but the instruction 'use data_file' always produces
> > the message 'data_file not existent or not on line' even though the CD is
> > correctly mounted)
> 
> If you are including directory or device names you need to enclose the name in
> double quotes. E.g.:
> yes? use "/dev/cd/mydata"

I mount my CD with the instruction

mount -t iso9660 /dev/scd0 /mnt/cdrom

I then start a ferret session, and the following happens:

yes? spawn ls /mnt/cdrom/
gph300mb_winter80  gph300mb_winter81  gph300mb_winter82  gph300mb_winter83
yes? file "/mnt/cdrom/gph300mb_winter80"
 **TMAP ERR: non-existent or not on line
             /mnt/cdrom/gph300mb_winter80
 
i.e., it seems ferret cannot see the file even though the operating system
(which is Linux 2.0.30 on an i686) can. I think this may be due to the
fact that CD-ROMs are mounted read-only. In fact, I've tried the following
experiment:  I mounted a floppy disk in rw mode, accessed a file on
it from ferret, and succeeded; I then unmounted it, remounted it with the
ro option, tried to access the same file, and failed (with the same
message as above). Any ideas?

Rodrigo


---

 Rodrigo Caballero Augi |Geophysics Department    |phone: +45 35 32 05 64
		        |NBIfAFG		  |fax:       35 36 53 57
 		        |University of Copenhagen |home:      31 23 05 80
		        |Juliane Maries Vej 30    |e-mail:  rca@gfy.ku.dk
		        |DK-2100 Copenhagen O     |http://www.gfy.ku.dk/~rca
			|Denmark



[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement