jehanne/lib/namespace

51 lines
822 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# root
mount -aC #s/boot /root $rootspec
bind -a $rootdir /
bind -c $rootdir/mnt /mnt
# kernel devices
bind #0 /dev
bind -a #c /dev
bind #d /fd
bind -c #e /env
bind #p /proc
bind -c #s /srv
bind -q #σ /shr
bind -a #¤ /dev
bind -a #S /dev
bind -b #k /dev
bind -a #κ /dev
bind -a #u /dev
bind -b #P /dev
# screen console
mount -b /srv/screenconsole /dev
# mount points
mount -a /srv/slashn /n
mount -a /boot /cmd
# authentication
mount -a /srv/factotum /mnt
# standard bin
bind /arch/$CPUTYPE/cmd /cmd
bind -a /arch/rc/cmd /cmd
# 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
mount -b /srv/ssh /net
bind -c /usr/$USER/tmp /tmp
cd /usr/$USER
. /lib/namespace.local
. /lib/namespace.$SYSNAME
. /cfg/$SYSNAME/namespace