From owner-freebsd-hackers Fri Jan 3 05:09:50 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id FAA19642 for hackers-outgoing; Fri, 3 Jan 1997 05:09:50 -0800 (PST) Received: from ami.tom.computerworks.net (root@AMI.RES.CMU.EDU [128.2.95.1]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id FAA19636 for ; Fri, 3 Jan 1997 05:09:47 -0800 (PST) Received: from bonkers.taronga.com by ami.tom.computerworks.net with smtp (Smail3.1.29.1 #1) id m0vg9NX-0021WTC; Fri, 3 Jan 97 08:09 EST Received: (from peter@localhost) by bonkers.taronga.com (8.6.11/8.6.9) id HAA07824; Fri, 3 Jan 1997 07:02:49 -0600 Date: Fri, 3 Jan 1997 07:02:49 -0600 From: peter@taronga.com (Peter da Silva) Message-Id: <199701031302.HAA07824@bonkers.taronga.com> To: hackers@freebsd.org Subject: Re: more than 32 disks? Newsgroups: taronga.freebsd.hackers In-Reply-To: <199701030439.XAA21021@crh.cl.msu.edu> References: <199701030329.TAA18783@root.com> Organization: none Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >> with an sd3 problem yet. :-) It looks like there are only 5 bits for the >> unit number. This means that one will have to make driver changes to go >> beyond 32 units. :-( >*sigh* I absolutely hate fixed fields :( *grumble*. So whats the generic >solution besides encoding data into the minor number? Encode a table offset >into the minor number and make the table dynamic? Use a wider minor number, a wider portion of the minor number for unit, decrease the number of bits used for things other than unit, use multiple major numbers, or use another encoding than major/minor numbers for device files (via devfs). Some aspects of the System V kernel build model, where the major numbers can be easily reassigned and the same file is used to drive the building of the kernel and the files in /dev, are really handy. Of course devfs makes it a point moot...