9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] fun with cfs.
@ 2005-01-12 18:26 Ronald G. Minnich
  2005-01-12 18:33 ` Fco. J. Ballesteros
  2005-01-12 21:38 ` Russ Cox
  0 siblings, 2 replies; 8+ messages in thread
From: Ronald G. Minnich @ 2005-01-12 18:26 UTC (permalink / raw)
  To: 9fans

I've been playing around with lib9p and then started looking at cfs. You 
can do something with cfs that is kind of fun. 

I can send patches if anyone wants them. 

Basically, you rip all the caching out of cfs and you have a very nice 
tutorial program for seeing how 9p works. Took about 15 mins. You end up 
with cfs.c and (IIRC) stats.h or some such, so you get one .c file and you 
can then:
./cfs -S -d il!yourhost

And you get this nice mountpoint, which you can cd to, ls, to things in 
inside of .... all while watching the 9p traffic so you can see how it 
works. Good fun.

It would be great for showing people how 9p works or for classes. Even
better is letting poor suffering students do the same thing with nfs, and
then with 9p; you really start to appreciate 9p if you've done a lot of
NFS (which I have ...).

Now here's where somebody tells me: that file system already exists, just 
do x and y and z; so, if this is useless, well, I had fun anyway; if not, 
then I'll send the c-diffs as they are very short. 


thanks

ron


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-01-13  0:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-12 18:26 [9fans] fun with cfs Ronald G. Minnich
2005-01-12 18:33 ` Fco. J. Ballesteros
2005-01-12 18:37   ` Ronald G. Minnich
2005-01-12 21:38 ` Russ Cox
2005-01-12 21:43   ` Ronald G. Minnich
2005-01-12 23:30   ` Charles Forsyth
2005-01-12 23:21     ` Ronald G. Minnich
2005-01-13  0:06       ` Russ Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).