Re: Annoying SCSI waiting...

From: Scott Long <scottl_at_freebsd.org>
Date: Sat, 23 Oct 2004 08:59:46 -0600
Ruslan Ermilov wrote:
> Hi Scott,
> 
> On Sat, Oct 23, 2004 at 02:35:44AM -0600, Scott Long wrote:
> 
>>I have a feeling that as we expand to things like ARM and possibly
>>MIPS that there will be very little that is 'standard' anymore.
>>It might be possible to distill some common 'CORE' pieces, but we
>>really shouldn't over-engineer this =-)
>>
> 
> Maybe, it's really hard to say without actually trying it.  :-)
>  
> 
>>I've been hacking up config(8) to allow the 'include' directive to
>>look outside of the current working directory.  Ideally I'd like to
>>have a new directive that allows you to specify and/or override the
>>default search path for included configs.  Unfortunately my blissful
>>ignorance towards lex/yacc is starting to show =-)
>>
> 
> It already works.  What you probably miss is double quotes around
> the argument:
> 
> # pwd
> /usr/src/sys/i386/conf
> # cat TEST
> include GENERIC
> include "../../conf/FOO"
> # cat ../../conf/FOO
> device  foo
> # config -d /tmp/TEST TEST
> config: Error: device "foo" is unknown
> config: 1 errors
> 
> 
> Cheers,

I know that you can manually put the path in, but I want to be able to
say

include SCSI

and have it automatically look in ../../conf

Scott
Received on Sat Oct 23 2004 - 13:01:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:19 UTC