Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Nov 2009 20:43:22 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Christian Brueffer <brueffer@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r198768 - head/sbin/mknod
Message-ID:  <20091101184322.GP2147@deviant.kiev.zoral.com.ua>
In-Reply-To: <200911011825.nA1IPBQ2031333@svn.freebsd.org>
References:  <200911011825.nA1IPBQ2031333@svn.freebsd.org>

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

--rJ8inJ6ig7iY3YX9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Nov 01, 2009 at 06:25:11PM +0000, Christian Brueffer wrote:
> Author: brueffer
> Date: Sun Nov  1 18:25:11 2009
> New Revision: 198768
> URL: http://svn.freebsd.org/changeset/base/198768
>=20
> Log:
>   Refine r198714, it's not as easy as just leaving the major number zero.
>  =20
>   Submitted by:	ed
>   MFC after:	1 week
>=20
> Modified:
>   head/sbin/mknod/mknod.8
>=20
> Modified: head/sbin/mknod/mknod.8
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- head/sbin/mknod/mknod.8	Sun Nov  1 18:19:00 2009	(r198767)
> +++ head/sbin/mknod/mknod.8	Sun Nov  1 18:25:11 2009	(r198768)
> @@ -74,7 +74,6 @@ and pseudo devices, and are type
>  .It Ar major
>  The major device number is an integer number which tells the kernel
>  which device driver entry point to use.
> -This is a compatibility shim and should be left zero.
>  .It Ar minor
>  The minor device number tells the kernel which subunit
>  the node corresponds to on the device; for example,

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.

Moreover, you cannot create special node that would become a node used to
access device driver in the freebsd.

The only use that is left for mknod c|b is to create special nodes on
the filesystems exported by NFS for other un*xes.

--rJ8inJ6ig7iY3YX9
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iEYEARECAAYFAkrt1soACgkQC3+MBN1Mb4gYdgCfVRG9fAgxWvdhXDPTpd9xRiCA
2zUAn0VejdTxf0D8KBwijJXL3VXhVJSa
=6dAU
-----END PGP SIGNATURE-----

--rJ8inJ6ig7iY3YX9--



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