On Tue, 2008-11-25 at 08:17 +0000, Theo Markettos wrote:
> On Thu, Nov 20, 2008 at 08:59:17PM +0000, James Woodcock wrote:
> > I have attached a patch that enables support for multiple discs in
> > HostFS.

> A question: how does HostFS know which drive to boot from?  If you
> *Configure FileSystem HostFS you can boot from a HostFS share.  But it's not
> a FileCore filing system so *Configure Drive has no effect.  Might it be
> possible to configure this in some way?
To be honest - I don't know.  HostFS boots correctly using the default HostFS 
share (HostFS:$)
at the moment.

I know a great deal less about programming RISC OS than Unix.  But I
took a look and here are my thoughts.  The HostFS module boots by
executing @.!Boot.  I wonder if we can add a SWI to the HostFS code to
return the boot path to the HostFS module, then boot from there.  The
boot path could be set up in rpc.cfg.  This is completely non-idiomatic
for RISC OS booting, but I don't believe there is a handy place to put
the textual boot path into CMOS.  I'm sure the HostFS module can be
modified to read Drive from CMOS and boot from the drive index (the
HostFS code can be modified to reference drives by name or index).  I'd
be interested in any views on this.  Modifying the HostFS module is
rather beyond me at this moment in time, though.

> Is it worth arranging for mounts to be configured in rpc.cfg?

Definitely.  I just haven't got round to it ;-)

James




_______________________________________________
Rpcemu mailing list
[email protected]
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu

Reply via email to