root 689 B

123456789101112131415161718192021222324252627282930313233343536373839
  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 provides executable code when read.
  30. The kernel does an
  31. .IR exec (2)
  32. of
  33. .B /boot
  34. when initializing.
  35. Some kernels are built with other services, such as
  36. .IR kfs (4) ,
  37. in the root directory.
  38. .SH SOURCE
  39. .B /sys/src/9/port/devroot.c