Charles Shattuck wrote:
>
> Anton,
>
> Thank you very much for your swift and detailed response.
>
> On Tuesday 10 September 2002 01:18, Anton Ertl wrote:
> >
> > Another alternative is to write the blocks to a block device (e.g., a
> > hard disk partition) instead of a file on a file system. On Linux
> > this writes synchronously in my experience.
> >
>
> It had never occurred to me that this could be done. I suppose one
> would have to create a dedicated partition,
Yes.
> but once that was done
> wouldn't the performance be pretty good?
Well, it would be better than using a file system synchronously, but I
cannot say how much.
> Unfortunately I wouldn't know how to implement it.
> Gforth is a black box to me since it relies so much on C and the OS.
> Would it be hard to do. Would it be worthwhile for anyone else?
It's pretty easy. After creating a partition (say, hda12), and making
it writable for the user(s) that should use it ("chgrp forth /dev/hda12;
chmod g+w /dev/hda12" or somesuch), start Gforth and say
USE /dev/hda12
Then you should be able to use the blocks from that device.
- anton
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]