svn commit: r198768 - head/sbin/mknod
Ed Schouten
ed at 80386.nl
Sun Nov 1 20:22:43 UTC 2009
* Kostik Belousov <kostikbel at gmail.com> wrote:
> It seems that description of majors/minors there is absolutely irrelevant
> to the freebsd device nodes. Devfs simply does not work this way anymore
> for long time.
Which is why I proposed changing these sentences to the past tense,
i.e.:
The major device number is an integer number which tells the
kernel which device driver entry point to use.
should become:
The major device number is an integer number which used to tell
the kernel which device driver entry point to use.
and:
The minor device number tells the kernel which subunit the node
corresponds to on the device; for example,
should become:
The minor device number used to tell the kernel which subunit
the node corresponds to on the device; for example,
Because there are also various discrepancies between how FreeBSD and
not-FreeBSD divide dev_t's into major and minor numbers, I would almost
suggest merging mknod(8)'s major and minor argument into one, namely a
(hexa)decimal 32-bit value.
--
Ed Schouten <ed at 80386.nl>
WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20091101/8a0a4055/attachment.pgp
More information about the svn-src-all
mailing list