9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] plan 9 wiki experiment
@ 2001-01-31 11:27 Russ Cox
  2001-02-01  8:08 ` Quinn Dunkan
  0 siblings, 1 reply; 13+ messages in thread
From: Russ Cox @ 2001-01-31 11:27 UTC (permalink / raw)
  To: 9fans

I have set up a Plan 9 wiki.

A wiki is a web server that anyone on the 
internet can edit, traditionally by using 
a web browser.  The one I have set up is a 
bit different from the others since it can
be accessed either using a web browser or
using an Acme client.  The wiki itself is
provided by a file system (what else?) that
runs underneath the web server or underneath
the Acme client.  This means that it is equally
accessible to Plan 9 and non-Plan 9 users.

I have seeded the wiki with the contents of
the Plan 9 "Getting Started" document, but my
hope is that various readers of this list will
find it worth their while to fix up or add 
whatever they feel is wrong, unclear, or missing.
I think that collectively we can do a good job
of presenting useful information in an accessible
manner.  Recent converts especially may have a much
better feel for what needs more explanation than
is currently there.

There is, of course, a huge potential for abuse.
Please don't.  If the server fills with various
objectionable material, we'll take it down, and
I really don't want to do that.

The web interface is at 
http://plan9.bell-labs.com/wiki/plan9,
and you can download the Acme client from
the usual updates page.

Enjoy.

Russ


^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: [9fans] KFS Crash
@ 2001-02-14 22:01 Russ Cox
  2001-02-15 14:31 ` Mark C. Otto
  0 siblings, 1 reply; 13+ messages in thread
From: Russ Cox @ 2001-02-14 22:01 UTC (permalink / raw)
  To: 9fans

	1. If rio crashes is there a way to kill
	   rio and get back to the shell?

Not really.

	2. Given that I could, what diagnostics
	   could I run to identify the problem?
	3. Is there a way to repair the disk at this point?

I rarely see kfs get that hosed.  Are you sure
the root is from: got the right file system?

I'd try booting an install floppy and using it
as a rescue disk: ignore the install process,
draw yourself a new window, and try to start kfs
manually:

	disk/kfs -f /dev/sdC0/fs
	mount /srv/kfs /n/kfs

and maybe you'll get a bit farther.

There's almost always a way to repair the disk, depending
on how much energy you're willing to devote to it.
I have a clumsy C program that tries to pull
out textual data from broken kfs file systems
if you need something that wasn't backed up.

	4. Given that you don't have much faith
	   in kfs and some of us are using it
	   exclusively on our standalone terminals,
	   what sort of maintainance, such as
	   disk/kfscmd check, should we be doing?

One method is to set up two file systems and run
check say once a month.  When you start getting
things like bad tags, ream the other file system
and copy your data over; repeat.

For the most part, kfs is stable.  It gets unstable
fairly fast if you frequently don't "disk/kfscmd halt"
before shutting down, or if you crash your kernels a lot
(implies the first, but usually a bigger problem
since you can die during heavy disk i/o).

Nothing's set in stone but I think one hope for the
fabled file server rewrite is to have kfs build
from the same sources, which may at least exercise it
more.

Russ


^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: [9fans] KFS Crash
@ 2001-02-14 22:02 Russ Cox
  0 siblings, 0 replies; 13+ messages in thread
From: Russ Cox @ 2001-02-14 22:02 UTC (permalink / raw)
  To: 9fans

	It's kinda bad that it doesn't give you a chance to answer the question.
	A kfs on a rescue floppy would at least let you check the filesystem
	and maybe recover something.

At least it assumes a negative answer rather
than reformatting your file system right then
and there.

Russ


^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: [9fans] KFS Crash
@ 2001-02-14 23:06 rob pike
  0 siblings, 0 replies; 13+ messages in thread
From: rob pike @ 2001-02-14 23:06 UTC (permalink / raw)
  To: 9fans

> 	1. If rio crashes is there a way to kill
> 	   rio and get back to the shell?
>
> Not really.

Yes really, although it's not pretty.

On bad rio days (I have them more than most people, I suspect,
although still not very often) I need to debug rio after it's crashed.
If you have a shell prompt, you're golden but it takes a little work.
Hit carriage return until every one gets you a shell prompt; that
means the rio process holding the keyboard open has filled its
buffer.  Then, although echo will still be off, the shell is all yours.
Type
	kill rio|rc
and you'll get echo back and you can restart rio or whatever else
you want to do.

There, isn't that disgusting?  But I helped track down a corrupt
network interface on an IRIX machine a little while ago so I'm in
a debugging, sharing mood.

-rob



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

end of thread, other threads:[~2001-02-27 15:48 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-31 11:27 [9fans] plan 9 wiki experiment Russ Cox
2001-02-01  8:08 ` Quinn Dunkan
2001-02-01  8:01   ` Dan Cross
     [not found]     ` <cross@math.psu.edu>
2001-02-01 19:38       ` Tom Duff
2001-02-05 18:55         ` Dan Cross
2001-02-14 21:43   ` [9fans] KFS Crash Mark C. Otto
2001-02-14 21:57     ` Scott Schwartz
2001-02-27 14:08   ` [9fans] PS2 vs Com1 Mouse Problems Mark C. Otto
2001-02-27 15:48     ` Mark C. Otto
2001-02-14 22:01 [9fans] KFS Crash Russ Cox
2001-02-15 14:31 ` Mark C. Otto
2001-02-14 22:02 Russ Cox
2001-02-14 23:06 rob pike

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