Hello James,

On Tue, Nov 25, 2008 at 11:17 PM, James Woodcock
<[EMAIL PROTECTED]> wrote:
>> > I have attached a patch that enables support for multiple discs in
>> > HostFS.

Nice to see that you make a first step to support multiple disc with hostfs.

> 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.

I can help you with that. I'm very acquainted in programming (I made
the module SmartMenu) RISC OS modules. I don't have the source of
ArcEmHostFS but I guess Tom Walker does. Anyway if not, it's not so
much effort to make a source from the machine code.

>> Is it worth arranging for mounts to be configured in rpc.cfg?
>
> Definitely.  I just haven't got round to it ;-)

I guest you could add something like this in rpc.cfg:
hostfs0 = ~/hostfs Boot
hostfs1 = /mediat/usb1 UsbStick
hostfs2 = /mnt/hda2 DataSchijf
hostfs(n) = <mount path> <disc title>

Off course these shares should also be available by it's number like
HostFS::0.$, HostFS::1.$ etc under RISC OS.
I'll look into the code of ArcEmHostFS to see how it works.

Dick.

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

Reply via email to