From owner-freebsd-questions@FreeBSD.ORG Thu Apr 27 18:02:39 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7DDF916A424 for ; Thu, 27 Apr 2006 18:02:39 +0000 (UTC) (envelope-from LukeD@pobox.com) Received: from proof.pobox.com (proof.pobox.com [207.106.133.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09C0C43D49 for ; Thu, 27 Apr 2006 18:02:22 +0000 (GMT) (envelope-from LukeD@pobox.com) Received: from proof (localhost [127.0.0.1]) by proof.pobox.com (Postfix) with ESMTP id 3D8EB105BDC; Thu, 27 Apr 2006 14:02:22 -0400 (EDT) Received: from border.crystalsphere.multiverse (pool-71-112-204-105.sttlwa.dsl-w.verizon.net [71.112.204.105]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by proof.sasl.smtp.pobox.com (Postfix) with ESMTP id 7A8BF42AA9; Thu, 27 Apr 2006 14:02:20 -0400 (EDT) Date: Thu, 27 Apr 2006 11:02:16 -0700 (PDT) From: Luke Dean X-X-Sender: lukas@border.crystalsphere.multiverse To: RW In-Reply-To: <200604271843.02533.list-freebsd-2004@morbius.sent.com> Message-ID: <20060427105839.P81068@border.crystalsphere.multiverse> References: <200604271843.02533.list-freebsd-2004@morbius.sent.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: find not finding file. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Luke Dean List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 18:02:40 -0000 On Thu, 27 Apr 2006, RW wrote: > Can anyone explain this: > > # find /etc/ -name 'named.conf' > # ls -l /etc/namedb/named.conf > -rw-r--r-- 1 root wheel 3715 Nov 13 17:35 /etc/namedb/named.conf > > named.conf is not found, but as a sanity check a similar search for ppp.conf > succeeds > > # find /etc/ -name 'ppp.conf' > /etc/ppp/ppp.conf > > there is nothing odd about the directories: > > # ls -dl /etc/namedb/ /etc/ppp/ > drwxr-xr-x 5 root wheel 512 Nov 13 17:35 /etc/namedb/ > drwxr-xr-x 2 root wheel 512 Feb 8 17:36 /etc/ppp/ Try this: $ ls -l /etc |grep namedb lrwxr-xr-x 1 root wheel 21 Dec 31 18:56 namedb -> /var/named/etc/namedb namedb is actually a link, and find isn't following it.