mknod.8 (d0353b836e88609b9400851d32e0aa6645ff9be3) mknod.8 (46eea498dad0e3e124479b7083b5f1d013a19e02)
1.\" Copyright (c) 1980, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 67 unchanged lines hidden (view full) ---

76.Cm c .
77.It Ar major
78The major device number is an integer number which tells the kernel
79which device driver entry point to use. To learn what
80major device number to use for a particular device, check the file
81.Pa /dev/MAKEDEV
82to see if the device is known, or check
83the system dependent device configuration file:
1.\" Copyright (c) 1980, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 67 unchanged lines hidden (view full) ---

76.Cm c .
77.It Ar major
78The major device number is an integer number which tells the kernel
79which device driver entry point to use. To learn what
80major device number to use for a particular device, check the file
81.Pa /dev/MAKEDEV
82to see if the device is known, or check
83the system dependent device configuration file:
84.Bd -filled -offset indent
84.Bd -ragged -offset indent
85.Dq Pa /usr/src/sys/conf/device. Ns Aq Ar architecture
86.Ed
87.Pp
88(for example
89.Pa device.hp300 ) .
90.It Ar minor
91The minor device number tells the kernel which subunit
92the node corresponds to on the device; for example,

--- 48 unchanged lines hidden ---
85.Dq Pa /usr/src/sys/conf/device. Ns Aq Ar architecture
86.Ed
87.Pp
88(for example
89.Pa device.hp300 ) .
90.It Ar minor
91The minor device number tells the kernel which subunit
92the node corresponds to on the device; for example,

--- 48 unchanged lines hidden ---