Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Nov 2009 22:55:19 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Ed Schouten <ed@80386.nl>
Cc:        Kostik Belousov <kostikbel@gmail.com>, svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Christian Brueffer <brueffer@freebsd.org>
Subject:   Re: svn commit: r198768 - head/sbin/mknod
Message-ID:  <86y6mpj4fs.fsf@ds4.des.no>
In-Reply-To: <20091101202242.GK1293@hoeg.nl> (Ed Schouten's message of "Sun, 1 Nov 2009 21:22:42 %2B0100")
References:  <200911011825.nA1IPBQ2031333@svn.freebsd.org> <20091101184322.GP2147@deviant.kiev.zoral.com.ua> <20091101202242.GK1293@hoeg.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Ed Schouten <ed@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
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86y6mpj4fs.fsf>