Date: Fri, 22 Dec 1995 07:46:43 +1100 From: Bruce Evans <bde@zeta.org.au> To: davidg@freefall.freebsd.org, gibbs@freefall.freebsd.org Cc: CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/scsi cd.c Message-ID: <199512212046.HAA03930@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>> Branch: sys/scsi RELENG_2_1_0 >> Modified: sys/scsi cd.c >> Log: >> Brought in change from rev 1.54: fix bug with using lots of CDROM drives. >Do we still have a limit of 32 devices, or does this include a patch >similar to the one I posted for the CD_UNIT define? That limit won't go away until we have devfs. For bootable drives, the hardest point seems to be passing the boot drive name/number from the bootstrap. For a name to be used, the bootstrap would have to know all about disk naming schemes. If a number is used, the kernel would have know about crufty limited minor number magic like it does now. Note that a completely different encoding scheme is used for boot device numbers. It has limits of 256 major numbers, 16 adaptor numbers, 16 controller numbers and 256 partition numbers. See sys/reboot.h. It doesn't really support slices but the adaptor and controller fields are abused to hold the slice number. Anyway, the limit is actually DK_NDRIVE = 8 :-). Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512212046.HAA03930>