Date: Fri, 3 Jan 1997 07:02:49 -0600 From: peter@taronga.com (Peter da Silva) To: hackers@freebsd.org Subject: Re: more than 32 disks? Message-ID: <199701031302.HAA07824@bonkers.taronga.com> In-Reply-To: <199701030439.XAA21021@crh.cl.msu.edu> References: <199701030329.TAA18783@root.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>> with an sd3<n> 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...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701031302.HAA07824>