Re (2): [Oberon] Native Oberon: Mounting an ISO9660 CDROM

muller at inf.ethz.ch muller at inf.ethz.ch
Sat Jun 29 21:46:00 CEST 2002


mmori_cs at yahoo.co.jp asked:
> I'm a new user of Native Oberon.  Is there a way to mount
> an ISO9660 CDROM from within Native Oberon.

"Thomas Frey" <frey at inf.ethz.ch> replied (privately):
> OFSTools.Mount CD IsoFS IDE1 ~
> 
> Also have a look at OFS.Tool

Some more info:

To mount a CD you need to know the device name of the CD drive.
To see all devices and their partitions, execute:
  Partitions.Show

Example output:

Disk: IDE0, 37GB, ST340823A
IDE0#00  38166MB --- (Whole disk)
IDE0#01   2039MB   6 * DOS FAT16 >= 32M
IDE0#02   2031MB  22 OS/2 BM: Hidden FAT16 >= 32M
IDE0#03  34091MB  15 Extended LBA
IDE0#04   2031MB   6 |DOS FAT16 >= 32M
IDE0#05    439MB  76 |Native Oberon, Aos
...

Disk: IDE2, 514MB, removable, IDE DVD-ROM 16X
IDE2#00    514MB --- (Whole disk)

Disk: IDE3, 8063MB, WDC AC38400L
IDE3#00   8063MB --- (Whole disk)
IDE3#01   2039MB   7 NTFS, HPFS, QNX, Adv. Unix
IDE3#02   1025MB  15 Extended LBA
IDE3#03    512MB  76 |Native Oberon, Aos
IDE3#04    512MB  11 |Win 95/98, FAT32
IDE3#05   4998MB --- (Free)

In this case the CD (DVD) drive is called "IDE2".

So to mount this CD, execute:
  OFSTools.Mount CD ISOFS IDE2 ~

"CD" is the prefix under which the CD will be mounted.
"ISOFS" is the file system type (from the OFS.Alias section of Oberon.Text).
"IDE2" is the device name.

To see which file systems are currently mounted, execute:
  System.Watch

To unmount the media, which must be done before removing it:
  OFSTools.Unmount CD

The mounting concept of Native Oberon is not completely satisfactory,
especially for removable devices, and should be simplified in future
versions of the system.  Suggestions for how this could be done 
are welcome.

-- Pieter

--
Pieter Muller, Computer Systems Institute, ETH Zurich / MCT Lab, Zurich
Native Oberon OS: http://www.oberon.ethz.ch/native/



More information about the Oberon mailing list