namespace 822 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # root
  2. mount -aC #s/boot /root $rootspec
  3. bind -a $rootdir /
  4. bind -c $rootdir/mnt /mnt
  5. # kernel devices
  6. bind #0 /dev
  7. bind -a #c /dev
  8. bind #d /fd
  9. bind -c #e /env
  10. bind #p /proc
  11. bind -c #s /srv
  12. bind -q #σ /shr
  13. bind -a #¤ /dev
  14. bind -a #S /dev
  15. bind -b #k /dev
  16. bind -a #κ /dev
  17. bind -a #u /dev
  18. bind -b #P /dev
  19. # screen console
  20. mount -b /srv/screenconsole /dev
  21. # mount points
  22. mount -a /srv/slashn /n
  23. mount -a /boot /cmd
  24. # authentication
  25. mount -a /srv/factotum /mnt
  26. # standard bin
  27. bind /arch/$CPUTYPE/cmd /cmd
  28. bind -a /arch/rc/cmd /cmd
  29. # internal networks
  30. # mount -a /srv/ip /net
  31. bind -a #l /net
  32. bind -a #I /net
  33. mount -a /srv/cs /net
  34. mount -a /srv/dns /net
  35. mount -a /srv/net /net
  36. mount -b /srv/ssh /net
  37. bind -c /usr/$USER/tmp /tmp
  38. cd /usr/$USER
  39. . /lib/namespace.local
  40. . /lib/namespace.$SYSNAME
  41. . /cfg/$SYSNAME/namespace