From owner-freebsd-hackers Sun Jan 5 12:32:41 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id MAA12980 for hackers-outgoing; Sun, 5 Jan 1997 12:32:41 -0800 (PST) Received: from crh.cl.msu.edu (crh.cl.msu.edu [35.8.1.24]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id MAA12975 for ; Sun, 5 Jan 1997 12:32:39 -0800 (PST) Received: (from henrich@localhost) by crh.cl.msu.edu (8.8.4/8.8.4) id PAA03705; Sun, 5 Jan 1997 15:32:35 -0500 (EST) From: Charles Henrich Message-Id: <199701052032.PAA03705@crh.cl.msu.edu> Subject: Re: more than 32 disks? To: dg@root.com Date: Sun, 5 Jan 1997 15:32:35 -0500 (EST) Cc: freebsd-hackers@freebsd.org In-Reply-To: <199701030329.TAA18783@root.com> from David Greenman at "Jan 2, 97 07:29:46 pm" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > unit number. This means that one will have to make driver changes to go > beyond 32 units. :-( I noticed this pop up in relation to CD changers as well. I have a suggestion, perhaps I'll even get a moment to write it (assuming people think this is a good idea). During boot phase when DEVFS is probing around making devices, change the format of the minor number to just be 11 bits for type, and then 21 bits as an offset into a dynamically built kernel table (4 bytes/entry). This gives us 2097152 different device possibilities.. Still a limit (I hate limits) but far better than what we have today! -Crh Charles Henrich Michigan State University henrich@msu.edu http://pilot.msu.edu/~henrich