|
Lines 48-60
Link Here
|
| 48 |
The |
48 |
The |
| 49 |
.Nm |
49 |
.Nm |
| 50 |
utility creates device special files. |
50 |
utility creates device special files. |
| 51 |
Normally the shell script |
|
|
| 52 |
.Pa /dev/MAKEDEV |
| 53 |
is used to create special files for commonly known devices; it executes |
| 54 |
.Nm |
| 55 |
with the appropriate arguments and can make all the files required for the |
| 56 |
device. |
| 57 |
.Pp |
| 58 |
To make nodes manually, the four required arguments are: |
51 |
To make nodes manually, the four required arguments are: |
| 59 |
.Pp |
52 |
.Pp |
| 60 |
.Bl -tag -width indent |
53 |
.Bl -tag -width indent |
|
Lines 78-85
Link Here
|
| 78 |
The major device number is an integer number which tells the kernel |
71 |
The major device number is an integer number which tells the kernel |
| 79 |
which device driver entry point to use. To learn what |
72 |
which device driver entry point to use. To learn what |
| 80 |
major device number to use for a particular device, check |
73 |
major device number to use for a particular device, check |
| 81 |
.Pa /dev/MAKEDEV |
|
|
| 82 |
or |
| 83 |
.Pa /usr/src/sys/conf/majors . |
74 |
.Pa /usr/src/sys/conf/majors . |
| 84 |
.It Ar minor |
75 |
.It Ar minor |
| 85 |
The minor device number tells the kernel which subunit |
76 |
The minor device number tells the kernel which subunit |
|
Lines 116-132
Link Here
|
| 116 |
The |
107 |
The |
| 117 |
.Xr chown 8 Ns - Ns |
108 |
.Xr chown 8 Ns - Ns |
| 118 |
like functionality is specific to |
109 |
like functionality is specific to |
| 119 |
.Fx |
110 |
.Fx . |
| 120 |
and was added so that |
|
|
| 121 |
.Pa /dev/MAKEDEV |
| 122 |
would not depend on |
| 123 |
.Pa /usr |
| 124 |
being mounted. |
| 125 |
.Sh SEE ALSO |
111 |
.Sh SEE ALSO |
| 126 |
.Xr mkfifo 1 , |
112 |
.Xr mkfifo 1 , |
| 127 |
.Xr mknod 2 , |
113 |
.Xr mknod 2 , |
| 128 |
.Xr chown 8 , |
114 |
.Xr chown 8 |
| 129 |
.Xr MAKEDEV 8 |
|
|
| 130 |
.Sh HISTORY |
115 |
.Sh HISTORY |
| 131 |
A |
116 |
A |
| 132 |
.Nm |
117 |
.Nm |