namespace 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. .TH NAMESPACE 6
  2. .SH NAME
  3. namespace \- name space description file
  4. .SH DESCRIPTION
  5. Namespace files describe how to construct a name space from scratch,
  6. an operation normally performed by the
  7. .I newns
  8. subroutine
  9. (see
  10. .IR auth (2))
  11. which is typically called by
  12. .IR init (8).
  13. Each line specifies one name space operation.
  14. Spaces and tabs separate arguments to operations;
  15. no quotes or escapes are recognized.
  16. Blank lines and lines with
  17. .B #
  18. as the first non-space character are ignored.
  19. Environment variables of the form
  20. .BI $ name
  21. are expanded within arguments,
  22. where
  23. .I name
  24. is a
  25. .SM UTF
  26. string terminated by white space, a
  27. .BR / ,
  28. or a
  29. .BR $ .
  30. .PP
  31. The known operations and their arguments are:
  32. .TF 0
  33. .TP
  34. .BR mount \ [ -abcC ]\ \fIservename\ old " \fR[\fIspec\fR\^\^]
  35. Mount
  36. .I servename
  37. on
  38. .IR old .
  39. .TP
  40. .BR bind \ [ -abcC "] \fInew old
  41. Bind
  42. .I new
  43. on
  44. .IR old .
  45. .TP
  46. .BR import \ [ -abc ]\ \fIhost\fR\ "[\fIremotepath\fR\^\^] \fImountpoint\fR
  47. Import
  48. .I remotepath
  49. from machine
  50. .I server
  51. and attach it to
  52. .IR mountpoint .
  53. .TP
  54. .BI cd \ dir
  55. Change the working directory to
  56. .IR dir .
  57. .TP
  58. .BR unmount \ [ \fInew\fR ]\ \fIold
  59. Unmount
  60. .I new
  61. from
  62. .IR old ,
  63. or everything mounted on
  64. .I old
  65. if
  66. .I new
  67. is missing.
  68. .PD
  69. .PP
  70. The options for
  71. .IR bind ,
  72. .IR mount ,
  73. and
  74. .I import
  75. are interpreted as in
  76. .IR bind (1)
  77. and
  78. .IR import (4).
  79. .SH "SEE ALSO"
  80. .IR bind (1),
  81. .IR namespace (4),
  82. .IR init (8)