From owner-freebsd-current Fri Jun 16 17:37:57 2000 Delivered-To: freebsd-current@freebsd.org Received: from overcee.netplex.com.au (peter1.corp.yahoo.com [208.48.107.4]) by hub.freebsd.org (Postfix) with ESMTP id 8529E37C3F5 for ; Fri, 16 Jun 2000 17:37:44 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id ECD471CD7; Fri, 16 Jun 2000 17:37:40 -0700 (PDT) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.1.1 10/15/1999 To: Chia-liang Kao Cc: current@FreeBSD.ORG Subject: Re: HEADS UP!: config changes... In-Reply-To: Message from Chia-liang Kao of "Sat, 17 Jun 2000 04:34:59 +0800." <20000617043459.A9221@genius.cirx.org> Date: Fri, 16 Jun 2000 17:37:40 -0700 From: Peter Wemm Message-Id: <20000617003740.ECD471CD7@overcee.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Chia-liang Kao wrote: > Hi, > > Is there anyway to put the device.hint stuff into kernel nevertheless? > My diskless box fetches the kernel would know nothing about things reside > in device.hint. That is what the hints directive is for. you could create a file "diskless.hints" and add the line to your config file: hints "/wherever/diskless.hints" and the contents of that file would be statically compiled in. You can still override them at boot time if you wish, but the basic set will be there. This is what GENERIC does right now. It compiles GENERIC.hints straight in. (see hints.c in compile/YOURKERNEL) Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message