Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Nov 2009 21:22:42 +0100
From:      Ed Schouten <ed@80386.nl>
To:        Kostik Belousov <kostikbel@gmail.com>
Cc:        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:  <20091101202242.GK1293@hoeg.nl>
In-Reply-To: <20091101184322.GP2147@deviant.kiev.zoral.com.ua>
References:  <200911011825.nA1IPBQ2031333@svn.freebsd.org> <20091101184322.GP2147@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

--I2AcQh+/kfs26T/w
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Kostik Belousov <kostikbel@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.

--=20
 Ed Schouten <ed@80386.nl>
 WWW: http://80386.nl/

--I2AcQh+/kfs26T/w
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEARECAAYFAkrt7hIACgkQ52SDGA2eCwVbyACeMx9ujeGDnHiO/XYo06QTZNqA
meUAn195PEQuYcNbrmmTv/qa64AjE1a3
=/4bR
-----END PGP SIGNATURE-----

--I2AcQh+/kfs26T/w--



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