Source code pulled from OpenBSD for OpenNTPD. The place to contribute to this code is via the OpenBSD CVS tree.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

93 lines
2.7 KiB

  1. define(COMM,`.\"')dnl
  2. include(MAKEDEV.mansub)dnl
  3. dnl
  4. vers(a, {-$OpenBSD: MAKEDEV.man,v 1.8 2016/03/12 17:59:27 espie Exp $-})dnl
  5. dnl
  6. define(quote,{-.Dq $1
  7. -})dnl
  8. include(MAKEDEV.common)dnl
  9. dnl
  10. __devtitle(make,{-Special device names-})dnl
  11. __devitem({-all-},{-all-},dnl
  12. {-Creates special files for all devices on MACHINE-},nothing)dnl
  13. __devitem(std,{-std-},dnl
  14. {-Creates the
  15. .Sq standard
  16. devices (console, klog, kmem, ksyms, mem, null,
  17. stderr, stdin, stdout, tty, zero)
  18. which are absolutely necessary for the system to function properly-},nothing)dnl
  19. __devitem(local,local,dnl
  20. {-Creates configuration-specific devices{-,-} by invoking the shell file
  21. .Pa MAKEDEV.local -},nothing)dnl
  22. define({-_std-},)dnl
  23. divert(1)dnl
  24. dnl send md shell fragments to the bit bucket...
  25. define(__mddivert,11)dnl
  26. include(MAKEDEV.md)dnl
  27. dnl
  28. .El
  29. divert(0)dnl
  30. .\" ${--}OpenBSD{--}$
  31. .\"
  32. .\" THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
  33. .\" generated from:
  34. .\"
  35. show_vers()dnl <-- now that all files are included, show versions
  36. .\"
  37. .\" Copyright (c) 2004, Miodrag Vallat
  38. .\" Copyright (c) 2001-2004 Todd T. Fries <todd@OpenBSD.org>
  39. .\"
  40. .\" Permission to use, copy, modify, and distribute this software for any
  41. .\" purpose with or without fee is hereby granted, provided that the above
  42. .\" copyright notice and this permission notice appear in all copies.
  43. .\"
  44. .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  45. .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  46. .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  47. .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  48. .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  49. .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  50. .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  51. .\"
  52. .Dd $Mdocdate: March 12 2016 $
  53. .Dt MAKEDEV 8 MACHINE
  54. .Os
  55. .Sh NAME
  56. .Nm MAKEDEV
  57. .Nd create system and device special files
  58. .Sh SYNOPSIS
  59. .Nm MAKEDEV
  60. .Op Ar name ...
  61. .Sh DESCRIPTION
  62. The shell script
  63. .Nm ,
  64. found in the
  65. .Pa /dev
  66. directory, is used to create various special files.
  67. See
  68. .Xr intro 4
  69. for a more complete discussion of special files.
  70. .Pp
  71. .Nm
  72. takes any number of device names as arguments, where the names are
  73. the common abbreviation for the device or group of devices.
  74. .Pp
  75. Where a device name is followed by a star
  76. .Sq * ,
  77. the star must be replaced by a unit number.
  78. If units are expected for a device but not provided,
  79. .Nm
  80. will supply the standard numbers in most cases.
  81. .Pp
  82. The MACHINE supports the following devices:
  83. divert(9)dnl
  84. .El
  85. .Sh FILES
  86. .Bl -tag -width /dev -compact
  87. .It Pa /dev
  88. The special file directory.
  89. .El
  90. .Sh SEE ALSO
  91. .Xr intro 4 ,
  92. .Xr config 8 ,
  93. .Xr mknod 8