From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] incompatible type signature
Date: Thu, 12 Sep 2013 01:37:47 -0400 [thread overview]
Message-ID: <a39b65a72e0ac0062a063cd73f6e5f8f@brasstown.quanstro.net> (raw)
In-Reply-To: <7dfd179cc37ab674e3e3fa8c8e0c6223@proxima.alt.za>
[-- Attachment #1: Type: text/plain, Size: 84 bytes --]
attached. sorry for the violence to the 9fans standard of no attachments.
- erik
[-- Attachment #2: 9fs --]
[-- Type: text/plain, Size: 2401 bytes --]
#!/bin/rc
# 9fs filesystem [mountpoint] - srv & mount filesystem, usually from plan 9
rfork e
nflag=-n
if(~ $1 -a){
shift
nflag=()
}
switch($1){
case ''
echo usage: 9fs service '[mountpoint]' >[1=2]
exit usage
case kfs
if(! test -f /srv/kfs)
disk/kfs
mount -c /srv/kfs /n/kfs
case dump
mount /srv/boot /n/dump dump >[2]/dev/null ||
mount /srv/boot /n/dump main/archive ||
mount /srv/boot /n/dump dump # again to print error
case snap
mount /srv/boot /n/snap main/snapshot
case other
mount -C /srv/boot /n/other other
case juke # ye olde file server
srv -q il!jukefs && mount /srv/il!jukefs /n/juke
case sources
srv $nflag -q tcp!sources.cs.bell-labs.com sources /n/sources
case sourcesdump
9fs sources
mount $nflag /srv/sources /n/sourcesdump main/archive
case sourcessnap
9fs sources
mount $nflag /srv/sources /n/sourcessnap main/snapshot
# arbitrary venti archives
case vac:*
vacfs <{echo $1}
case *.vac
if (test -e $1)
score=$1
if not if (! ~ $1 /* && test -e $home/lib/vac/$1)
score=$home/lib/vac/$1
if not if (! ~ $1 /* && test -e /lib/vac/$1)
score=/lib/vac/$1
if not {
echo $0: $1: no such score file >[1=2]
exit 'no score file'
}
vacfs -m /n/`{basename $1 .vac} `{cat $score}
case wiki
srv -m 'net!plan9.bell-labs.com!wiki' wiki /mnt/wiki
case cwiki
srv -m 'net!wiki.coraid.com!wiki' wiki /mnt/wiki
case coraid
import -E ssl minooka.coraid.com / /n/coraid
bind -q /n/coraid/n/other/quanstro /n/other/quanstro
# if(! ~ $sysname ladd && ! test -f /net.alt/arp)
# import -p ladd /net.alt /net.alt
# import -p -E ssl /net.alt/tcp!minooka.coraid.com / /n/coraid
case quanstro
mount /srv/boot /n/quanstro
case quanstrodump
mount /srv/boot /n/quanstrodump dump
case leffe
import -E ssl leffe.cs.bell-labs.com / /n/leffe
case nix
srv -m sources.lsub.org nix.$user && mount /srv/nix.$user /n/nix &&
bind /n/nix/nix /n/nix
case nixpatch
srv -m patches.lsub.org nixpatch.$user && mount /srv/nixpatch.$user /n/nixpatch
case atta
import -E ssl atom.9atom.org / /n/atta
case atom
# import -E ssl atom.9atom.org /n/atom /n/atom
srv $nflag -q tcp!atom.9atom.org atom &&
mount $nflag /srv/atom /n/atom atom
case atomdump
# mount $nflag
9fs atom && mount /srv/atom /n/atomdump atomdump
case *
switch($#*){
case 1
srv -m $1
case *
srv -m $1 $1 $2
}
}
next prev parent reply other threads:[~2013-09-12 5:37 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-12 5:11 lucio
2013-09-12 5:21 ` erik quanstrom
2013-09-12 5:30 ` erik quanstrom
2013-09-12 5:39 ` lucio
2013-09-12 5:49 ` erik quanstrom
2013-09-12 6:27 ` lucio
2013-09-12 13:47 ` erik quanstrom
2013-09-12 5:36 ` lucio
2013-09-12 5:37 ` erik quanstrom [this message]
2013-09-12 7:42 ` Jens Staal
2013-09-12 15:16 ` erik quanstrom
2013-09-13 12:30 ` Jens Staal
2013-09-13 13:02 ` Jens Staal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a39b65a72e0ac0062a063cd73f6e5f8f@brasstown.quanstro.net \
--to=quanstro@quanstro.net \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).