svn commit: r198768 - head/sbin/mknod

Dag-Erling Smørgrav des at des.no
Sun Nov 1 21:55:21 UTC 2009


Ed Schouten <ed at 80386.nl> writes:
> 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,

How about replacing both paragraphs with

major, minor
  Historically, a device number consisted of two parts: the major
  number, which identified a device driver, and the minor number, which
  identified an individual device handled by that driver.  FreeBSD no
  longer makes that distinction; each device has a unique system-wide
  minor number, and the major number is always zero.  However, the
  distinction is still important when creating device nodes on a file
  system intended for use by an older system.

(modulo errors in grammar and style)

The paragraph about b | c should be altered in a similar manner, to
emphasize that FreeBSD does not have block devices, but that block
device nodes can still be created for use by older systems.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the svn-src-all mailing list