# namespace file for rerootwin script # 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 -b #k /dev bind -a #κ /dev bind -a #u /dev bind -b #P /dev bind -a #l /net bind -a #I /net # mount points mount -a /srv/slashn $pivot #devices from previous ns mount -c /srv/$oldterm $pivot/$oldterm mount -c /srv/$oldwsys $pivot/$oldwsys bind $pivot/$oldterm/dev/cons /dev/cons bind $pivot/$oldterm/dev/consctl /dev/consctl bind -a $pivot/$oldterm/dev /dev bind -b $pivot/$oldwsys /dev # authentication mount -a #s/$authagent /mnt # root mount -ac #s/$nsroot /root $rootspec bind -a $rootdir / bind -b $rootdir/mnt /mnt mount -a #s/bootpaq /boot # standard bin bind -a /boot /bin bind -b /root/bin /bin bind -b /$cputype/bin /bin bind -a /rc/bin /bin # internal networks mount -a /srv/slashn /n mount -a /srv/cs /net mount -a /srv/dns /net mount -a /srv/net /net mount -b /srv/ssh /net # usbd, mainly disks mount /srv/usb /n/usb mount -a /srv/usb /dev mount -c /srv/hubfs /n/hubfs # put /mnt/term and wsys back bind -bc $pivot/$oldterm /mnt/term bind -bc $pivot/$oldwsys /mnt/wsys bind -c /usr/$user/tmp /tmp cd /usr/$user . /lib/namespace.local . /lib/namespace.$sysname . /cfg/$sysname/namespace