[comp.sys.acorn] Writing a filing system

gtoal@castle.ed.ac.uk (G Toal) (05/29/91)

Has anyone any experience of writing filing systems for RISC OS in C?
-- preferably someone else hacking the skeleton FSinC although *any*
experience would be welcome.  I'm writing a veneer (currently called
'scuzzyfs') which simply passes on all requests to scsi.  Once I
have a transparent scsi-like layer, I'll start adding stuff like
decompression, symbolic links, mounting other filing systems as
directories etc - all good stuff.  But meanwhile I'm kind of stuck
at the basic level - I can't read data from files! (Open and read, 
rather than file loading which is OK)

As far as I can see, for instance, the protocol for reading blocks
from buffered files doesn't allow for less than the desired number
of bytes being found.

I also can't work out how to call entries in the filing system
vectors (not the ordinary vectors but the ones that the filing system
itself declares) -- doing so would make passing on calls much easier.
At the moment I do a *scsi - pass the buck back to fileswitch -- and
do *scuzzyfs to reset. Annoying.

Thanks for listening, even if it was a bit incoherent. It's late
& I'm tired...

'night

Graham