From owner-freebsd-embedded@FreeBSD.ORG Sat Feb 16 21:03:12 2008 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7620A16A41B for ; Sat, 16 Feb 2008 21:03:12 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from plato.miralink.com (mail.miralink.com [70.103.185.20]) by mx1.freebsd.org (Postfix) with ESMTP id E519A13C442 for ; Sat, 16 Feb 2008 21:03:11 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by plato.miralink.com (Postfix) with ESMTP id 0A29661BEB3; Sat, 16 Feb 2008 12:42:25 -0800 (PST) Received: from plato.miralink.com ([127.0.0.1]) by localhost (plato.miralink.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 14367-03; Sat, 16 Feb 2008 12:42:24 -0800 (PST) Received: from [10.47.1.90] (vpn.office.miralink.com [10.0.0.5]) by plato.miralink.com (Postfix) with ESMTP id DD46761BEB1; Sat, 16 Feb 2008 12:42:23 -0800 (PST) Message-ID: <47B74AAF.3080709@miralink.com> Date: Sat, 16 Feb 2008 12:42:23 -0800 From: Sean Bruno User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: Jed Clear References: <0A027260-B9DF-44C4-AD52-BA4B7CAD8F95@alum.mit.edu> In-Reply-To: <0A027260-B9DF-44C4-AD52-BA4B7CAD8F95@alum.mit.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DSPAM-Result: Innocent X-DSPAM-Processed: Sat Feb 16 12:42:24 2008 X-DSPAM-Confidence: 0.9997 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 47b74ab0181181873812410 X-DSPAM-Factors: 27, X-Virus-Scanned: amavisd-new at X-Spam-Status: No, score=-4.429 tagged_above=-10 required=6.6 autolearn=ham tests=[ALL_TRUSTED=-1.8, AWL=0.070, BAYES_00=-2.599, DSPAM_HAM=-0.1] X-Spam-Score: -4.429 X-Spam-Level: Cc: freebsd-embedded@freebsd.org Subject: Re: named on NanoBSD X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Feb 2008 21:03:12 -0000 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