Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Feb 2008 12:42:23 -0800
From:      Sean Bruno <sbruno@miralink.com>
To:        Jed Clear <clear@alum.mit.edu>
Cc:        freebsd-embedded@freebsd.org
Subject:   Re: named on NanoBSD
Message-ID:  <47B74AAF.3080709@miralink.com>
In-Reply-To: <0A027260-B9DF-44C4-AD52-BA4B7CAD8F95@alum.mit.edu>
References:  <0A027260-B9DF-44C4-AD52-BA4B7CAD8F95@alum.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Jed Clear wrote:
> I just finished enabling a caching DNS server on a NanoBSD based 
> platform.  I'm not sure if or how I can save all the changes to the 
> /cfg partition.
>
> If I were to create /cfg/namedb/named.conf et al., would the boot 
> process that copies out of /cfg respect that /etc/namedb is a sym link 
> and put it it /var/named/etc/namedb?  Is the copy process even 
> recursive such that it can handle subdirectories of /cfg?
>
> For that matter where does the copy process from /cfg actually occur?  
> I spent some time with grep and strings looking for "cfg" in /etc and 
> /boot to no avail.  Must be "magic".
>
> Since my config changes will be relatively static, I'm going to build 
> a new image with an updated /var/named, but still would like to find 
> out the answers to the above.
>
> Thanks,
>
> -Jed 
Check out /conf on your disk.  It's where the defaults are placed.

Whenever I copy stuff into /cfg, it is copied to /etc including directories.

Sean



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