Subversion Repositories planix.SVN

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#!/bin/rc
2
 
3
rfork en
4
9fs ehime
5
 
6
# adapted from /lib/namespace
7
 
8
root = /n/ehime/testplan9
9
#root = /n/emelieother/seanq/testplan9
10
echo setting up $root
11
fn bind{
12
	/$cputype/bin/bind $*
13
}
14
 
15
# pass terminal through
16
bind /mnt/term $root/mnt/term
17
# root
18
bind  $root /
19
bind -b '#/' /
20
 
21
# kernel devices
22
bind '#c' /dev
23
bind '#d' /fd
24
bind -c '#e' /env
25
bind '#p' /proc
26
bind -c '#s' /srv
27
bind -a /mnt/term/dev/ /dev/
28
bind /mnt/term/dev/draw /dev/draw
29
 
30
# standard bin
31
bind /$cputype/bin /bin
32
bind -a /rc/bin /bin
33
 
34
# ramfs
35
cd /sys/src
36
prompt=('test-ehime=; ' '	')
37
fn cd
38
rc -i
39
 
40