[Oberon] OFSTools.Mount
Bernhard Treutwein
BdT at wildwein.de
Sun Jul 28 11:03:20 CEST 2002
Hi Peter,
Chris is absolutely correct. I realized that sometimes it is necessary
to include also for media, which do not know anything about partitions
the partition number (zero of course in this case). I remember also
that it does not work in other cases. Therefore it best to try both
versions, i.e.
OFSTools.Mount <NAME> <FS> <Device>0#0 ~
and
OFSTools.Mount <NAME> <FS> <Device>0 ~
Another reason for failing might be that the diskette driver is not (yet)
installed. It is worth trying a middle click on:
Diskette.Install
My (still unfinished) remarks about my struggling into Native Oberon
are at http://www.lrz.de/~bernhard/MyExperience.html
I can imagine that this story might be of help for other beginners. Any
additions and amendments are welcome.
regards
Bernhard
> Message: 1
> From: peter_easthope at gulfnet.sd64.bc.ca
> To: oberon at inf.ethz.ch
> Cc: peter_easthope at gulfnet.sd64.bc.ca
> Date: Fri, 26 Jul 2002 11:10:41 -0700 (PDT)
> Subject: [Oberon] OFSTools.Mount
> Reply-To: oberon at inf.ethz.ch
>
> In PC Native 23.06.2002 I try to mount a DOS
> diskette with "OFSTools.Mount A FatFS Diskette0 ~".
> In System.Log this message appears.
> A: OFSFATVolumes.New failed
>
> Can anyone explain this?
>
> Thanks, Peter E.
>
>
> Peter Easthope
> http://carnot.pathology.ubc.ca/
>
[...]
>
> Message: 6
> From: cglur at onwe.co.za
> Date: Sat, 27 Jul 2002 00:09:47 +0200
> To: oberon at inf.ethz.ch
> Cc: cglur at onwe.co.za
> Subject: [Oberon] OFSTools.Mount
> Reply-To: oberon at inf.ethz.ch
>
> peter_easthope wrote:
>
> > In PC Native 23.06.2002 I try to mount a DOS
> > diskette with " OFSTools.Mount A FatFS Diskette0 ~".
> > In System.Log this message appears.
> > A: OFSFATVolumes.New failed
>
> Me too.
> OFSTools.Mount A FatFS Diskette0#0 ~ works
> SYS: GCAosFS on IDE1#23 (boot)
> 106MB of 127MB free
> Prev: GCAosFS on IDE1#7
> 111MB of 127MB free
> ....
> SocEcon: GCAosFS on IDE1#9
> 11MB of 15MB free
> A: GCFatFS on Diskette0
> 871KB of 1424KB free
>
> So OFS.Tool has an error.
> Also the naming is inconsistent - a cardinal sin !!
>
> The <Module>.Tool should correspond to the same <Module>.Command .
> Once you break the rules of consistent simplicity, you've started the
> slide down to garbage-chaos.
>
> -- Chris Glur.
>
More information about the Oberon
mailing list