Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/namespace-slashn/namespace.new

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


# root
mount -aC #s/boot /root $rootspec
bind -a $rootdir /
bind -c $rootdir/mnt /mnt

# kernel devices
bind #c /dev
bind #d /fd
bind -c #e /env
bind #p /proc
bind -c #s /srv
bind -a #¤ /dev
bind -a #S /dev
bind -a #κ /dev

# mount points
mount -a /srv/slashn /n

# authentication
mount -a /srv/factotum /mnt

# standard bin
bind /$cputype/bin /bin
bind -a /rc/bin /bin

# mail and users
mount #s/emelie /n/emelie
bind -c /n/emelie/usr/dmr /usr/dmr

# stuff we haven't copied over yet
bind -a /n/emelie/rls /rls

# internal networks
# mount -a /srv/ip /net
bind -a #l /net
bind -a #I /net
mount -a /srv/cs /net
mount -a /srv/dns /net
#mount -a /srv/net /net

bind -c /usr/$user/tmp /tmp
cd /usr/$user

. /lib/namespace.local
. /lib/namespace.$sysname
. /cfg/$sysname/namespace

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.