On Sun, 2008-11-30 at 16:40 +0000, Theo Markettos wrote: > Good idea. I don't know if you want to tweak the naming slightly so it's > more readable? How about: > > hostfs.drive0.name = Boot > hostfs.drive0.path = ~/hostfs > > Or: > [hostfs.drive0] > name = Boot > path = ~/hostfs > > (Allegro supports sections in config files like this)
That sounds totally reasonable. I'll chose one of those. > > hostfsperm(n) would default to read-only, I think. > > I see potential for confusion here. If you do that, this should perhaps be > made obvious to the user in some way. A fair point. The confusion I was trying to avoid was an operation in RISC OS renaming a file on the host filesystem because the filetype had changed. For example, loading zip file without a RISC OS filetype will cause the zip file to be given a RISC OS file type, thus renaming the file on the host filesystem. I think this could cause problems for the less technical users of RPCEmu. I was thinking that a locked harddisc icon could be used for read-only discs to give users a visual clue. I'm assuming the hostfs module code can handle this somehow. I suppose the easiest answer is to have no default value - each disc entry must have a permission string. A default set up of read-write Boot and read-only root should make rpc.cfg self-documenting enough for people to copy the lines they want. James _______________________________________________ Rpcemu mailing list [email protected] http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu
