From owner-freebsd-current Wed May 8 20:16:50 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA03271 for current-outgoing; Wed, 8 May 1996 20:16:50 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id UAA03266 for ; Wed, 8 May 1996 20:16:45 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id NAA04873; Thu, 9 May 1996 13:13:23 +1000 Date: Thu, 9 May 1996 13:13:23 +1000 From: Bruce Evans Message-Id: <199605090313.NAA04873@godzilla.zeta.org.au> To: asami@cs.berkeley.edu, current@FreeBSD.org Subject: Re: more than 32 scsi disks on a single machine ? Cc: nisha@cs.berkeley.edu Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk >Can we connect more than 32 disks on a single machine? I tried No. >Investigating further, I found this is in >#define makedev(x,y) ((dev_t)(((x) << 8) | (y))) /* create dev_t */ >So it seems like we're limited to 32 disks. This limits us to 16777216 disks, or only 8388606 disks if we avoid using the high bit to avoid sign extension bugs. The limit is in dkunit() in >Will really bad things >happen if I try to change this? There are lots of things to change. The encoding would have to be really ugly to preserve compatibility with existing device nodes. Will devfs handle this correctly? devfs on't help. Bruce