Encourage FAQ readers interested in getting a major number for their

device drivers to use dynamic major number allocation (at least for
-CURRENT).

While here, add a missing "the".
This commit is contained in:
Bruce A. Mah 2003-04-13 20:10:43 +00:00
parent cbddcb090f
commit 4e5358a54e
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=16560

View file

@ -12162,7 +12162,16 @@ ${RELEASEDIR}/tarballs/bindist/bin_tgz.)</programlisting>
<answer>
<para>This depends on whether or not you plan on making the
<para>&os.current; after February 2003 has a facility for
dynamically and automatically allocating major numbers for
device drivers at runtime. This mechanism is highly
preferred to the older procedure of statically allocating
device numbers. Some comments on this subject can be
found in <filename>src/sys/conf/majors</filename>.</para>
<para>If you are forced for some reason to use a static
major number, the procedure for obtaining one
depends on whether or not you plan on making the
driver publicly available. If you do, then please send us a
copy of the driver source code, plus the appropriate
modifications to <filename>files.i386</filename>, a
@ -12172,8 +12181,9 @@ ${RELEASEDIR}/tarballs/bindist/bin_tgz.)</programlisting>
not, or are unable to because of licensing restrictions, then
character major number 32 and block major number 8 have been
reserved specifically for this purpose; please use them. In any
case, we would appreciate hearing about your driver on
case, we would appreciate hearing about your driver on the
&a.hackers;.</para>
</answer>
</qandaentry>