2 # Source this file. It will craft a usable name space for your testing.
4 # Lee; Sun Feb 8 18:02:16 EST 2004
6 # Note: We really should support symlinks someday.
10 if [ "x${SYSIO_AUTOMOUNT}" == "xyes" ]; then
13 # Add a /auto directory for automounted file systems. We
14 # craft one automount that mounts /usr/home from the native
15 # file system. Further automounts in the sub-mounts are not enabled.
18 {mnt, dev=\"incore:0755\",dir=\"/mnt\",fl=2} \
19 {creat, ft=dir,nm=\"/mnt/home\",pm=04755} \
20 {creat, ft=file,nm=\"/mnt/home/.mount\",pm=0600, \
21 str=\"native:/home\"} \
24 export SYSIO_NAMESPACE="\
25 {mnt, dev=\"native:/\",dir=/,fl=${_root_flags:-0}} \
26 {mnt, dev=\"incore:0755\",dir=\"/dev\"} \
27 {creat, ft=chr,nm=\"/dev/stdin\",pm=0400,mm=0+0} \
28 {creat, ft=chr,nm=\"/dev/stdout\",pm=0200,mm=0+1} \
29 {creat, ft=chr,nm=\"/dev/stderr\",pm=0200,mm=0+2} \
30 {creat, ft=dir,nm=\"/dev/fd\",pm=0755} \
31 {creat, ft=chr,nm=\"/dev/fd/0\",pm=0400,mm=0+0} \
32 {open, nm=\"/dev/fd/0\",fd=0,m=0} \
33 {creat, ft=chr,nm=\"/dev/fd/1\",pm=0200,mm=0+1} \
34 {open, nm=\"/dev/fd/1\",fd=1,m=1} \
35 {creat, ft=chr,nm=\"/dev/fd/2\",pm=0200,mm=0+2} \
36 {open, nm=\"/dev/fd/2\",fd=2,m=1} \