Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Nov 2009 23:05:33 +0100
From:      Ed Schouten <ed@80386.nl>
To:        Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= <des@des.no>
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:  <20091101220533.GL1293@hoeg.nl>
In-Reply-To: <86y6mpj4fs.fsf@ds4.des.no>
References:  <200911011825.nA1IPBQ2031333@svn.freebsd.org> <20091101184322.GP2147@deviant.kiev.zoral.com.ua> <20091101202242.GK1293@hoeg.nl> <86y6mpj4fs.fsf@ds4.des.no>

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

--bNOIqPvWVsuhXMpy
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Dag-Erling,

* Dag-Erling Sm=F8rgrav <des@des.no> wrote:
>   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
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

As pointed out earlier, this is not true. Major numbers can be non-zero.

| #define major(x) ((int)(((u_int)(x) >> 8)&0xff))

Devices 256-511 will have a major number of 1, etc.

Apart from that, I think there is also a fair amount of overlap with the
COMPATIBILITY section of the same manpage.

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

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

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

iEYEARECAAYFAkruBi0ACgkQ52SDGA2eCwUrbACfaPx9ysKO80S7AdnDtbx4K6TW
cvAAniyYKDAJ23nYFSTvBB/nixkwA3Hu
=g2Xe
-----END PGP SIGNATURE-----

--bNOIqPvWVsuhXMpy--



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