From owner-freebsd-arch Wed Feb 26 22:12: 1 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B4AB37B401 for ; Wed, 26 Feb 2003 22:12:00 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2815E43FBD for ; Wed, 26 Feb 2003 22:11:59 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id h1R6Bwaa002847; Thu, 27 Feb 2003 07:11:58 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: Dag-Erling Smorgrav Cc: arch@freebsd.org Subject: Re: (almost) Ready to ditch device major numbers. From: phk@phk.freebsd.dk In-Reply-To: Your message of "Thu, 27 Feb 2003 00:41:27 +0100." Date: Thu, 27 Feb 2003 07:11:58 +0100 Message-ID: <2846.1046326318@critter.freebsd.dk> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message , Dag-Erling Smorgrav writes: >Poul-Henning Kamp writes: >> We are now (almost) ready to ditch device major numbers if we want to. > >Sounds like a step in the right direction. > >> 1) Build a bitmap of registered majors (from conf/majors) at >> kernel-compile so the kernel can know which majors we can risk >> KLD's to use. > >We already have a fairly large reserved range that we can draw from >(200-252), so this might not be necessary. We also have a range >reserved for lkms (32-38) which is unused, AFAIK. I know, but as we make more and more driver use MAJOR_AUTO, we will need larger ranges, so creating the bitmap with a script from conf/majors would save some manual work. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message