Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2001 09:43:10 -0800
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Danny Braniss <danny@cs.huji.ac.il>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: device major number
Message-ID:  <20011130094310.A6653@Odin.AC.HMC.Edu>
In-Reply-To: <E169idM-000CcC-00@pampa.cs.huji.ac.il>; from danny@cs.huji.ac.il on Fri, Nov 30, 2001 at 10:02:56AM %2B0200
References:  <E169idM-000CcC-00@pampa.cs.huji.ac.il>

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

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

On Fri, Nov 30, 2001 at 10:02:56AM +0200, Danny Braniss wrote:
> stupid question, but could'nt (yet) find an answer, im writing a driver,
> so i need a major device number (for -stable), is there a list of assigned
> numbers, and if so where? what's the procedure to 'assigne' one?

The list is in src/sys/conf/majors.  I believe the normal advice is to
use one of the internal ones (200-252) while developing and switch to
a new one when the driver is done.

-- Brooks

--=20
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8B8UuXY6L6fI4GtQRAiDlAJ9q6MANKCzJ7NF7KWbsXR0wPVMyMwCgpWcJ
xHHS1PjKgWY6MMmOR8CJB8s=
=AKGh
-----END PGP SIGNATURE-----

--FL5UXtIhxfXey3p5--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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