namespace 880 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # root
  2. mount -aC #s/boot /root $rootspec
  3. bind -a $rootdir /
  4. bind -c $rootdir/mnt /mnt
  5. # kernel devices
  6. bind #c /dev
  7. bind #d /fd
  8. bind -c #e /env
  9. bind #p /proc
  10. bind -c #s /srv
  11. bind -a #¤ /dev
  12. bind -a #S /dev
  13. bind -b #k /dev
  14. bind -a #κ /dev
  15. bind -a #u /dev
  16. bind -b #P /dev
  17. bind -b '#$' /dev
  18. bind -a 'α' /dev
  19. bind -a '#r' /dev
  20. # mount points
  21. mount -a /srv/slashn /n
  22. mount -a /boot /bin
  23. # authentication
  24. mount -a /srv/factotum /mnt
  25. # standard bin
  26. bind /$cputype/bin /bin
  27. bind -a /rc/bin /bin
  28. bind -a /apex/$cputype/bin /bin
  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. # usbd, mainly disks
  38. mount /srv/usb /n/usb
  39. mount -a /srv/usb /dev
  40. bind -c /usr/$user/tmp /tmp
  41. cd /usr/$user
  42. . /lib/namespace.local
  43. . /lib/namespace.$sysname
  44. . /cfg/$sysname/namespace