Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jun 1995 06:11:11 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Subject:   Re: `device' versus `disk' in kernel config file
Message-ID:  <199506130411.GAA06418@uriah.heep.sax.de>
In-Reply-To: <199506122040.GAA27564@godzilla.zeta.org.au> from "Bruce Evans" at Jun 13, 95 06:40:18 am

next in thread | previous in thread | raw e-mail | index | archive | help
As Bruce Evans wrote:
> 
> >What exactly is the difference between saying:
> 
> >   device sd0
> >   device st0
> 
> >and 
> 
> >   disk sd0
> >   tape st0
> 
> >in a kernel config file?
> 
> The latter wouldn't work.  In general, `disk's are attached to controllers
> and `devices's are stand-alone.  `device sd0' would give little more than
> a file "sd.h" with `#define NSD 1" in it, except config/mkioconf.c knows
> that the devices cd, ch, sd, st and uk are scsi devices (:-() and generates
> extra code for them.

Perhaps the rules should be generalized, and we should people require
to configure their scsi devices like:

	disk sd0 on scbus?
	tape st0 on scbus?

when referring to the `generic' devices?  This would config allow to
forget about the extra knowledge to know all SCSI device by name.

	disk sd? on scbus?

might be even better, but i guess it's beyond the current syntax.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506130411.GAA06418>