root 632 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. .TH ROOT 3
  2. .SH NAME
  3. root \- the root file system
  4. .SH SYNOPSIS
  5. .nf
  6. .B /
  7. .B /boot
  8. .B /dev
  9. .B /env
  10. .B /net
  11. .B /net.alt
  12. .B /proc
  13. .B /root
  14. .B /srv
  15. .fi
  16. .SH DESCRIPTION
  17. The syntax
  18. .L #/
  19. is illegal, so this device can only be accessed directly by the kernel.
  20. .PP
  21. This device is set up by the kernel to be the root of
  22. the name space.
  23. The names in the one-level tree are mostly just place-holders,
  24. to allow a place to
  25. .IR bind (2)
  26. to.
  27. The exception is
  28. .BR /boot ,
  29. which contains
  30. .B /boot/boot
  31. and any files
  32. .B /boot/boot
  33. might need.
  34. The kernel does an
  35. .IR exec (2)
  36. of
  37. .B /boot/boot
  38. when initializing.
  39. .SH SOURCE
  40. .B /sys/src/9/port/devroot.c