From owner-freebsd-questions@FreeBSD.ORG Sat Sep 27 09:56:20 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0BD8106568B for ; Sat, 27 Sep 2008 09:56:20 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 958378FC08 for ; Sat, 27 Sep 2008 09:56:20 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KjWXB-0008R4-1O for freebsd-questions@freebsd.org; Sat, 27 Sep 2008 02:56:17 -0700 Message-ID: <19701345.post@talk.nabble.com> Date: Sat, 27 Sep 2008 02:56:16 -0700 (PDT) From: Colin Brace To: freebsd-questions@freebsd.org In-Reply-To: <200809261548.28314.fbsd.questions@rachie.is-a-geek.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: cb@lim.nl References: <6fcb5b8a45c5f63a10d863a009ee0700@localhost> <200809261229.11108.fbsd.questions@rachie.is-a-geek.net> <48DCE02D.8050501@lim.nl> <200809261548.28314.fbsd.questions@rachie.is-a-geek.net> Subject: Re: gateway NAT settings lost X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Sep 2008 09:56:20 -0000 Mel-15 wrote: > > The obvious a file in /, possibly a core dump. > The less obvious, an open but deleted file. > Even less obvious, a file in /tmp created in single user mode, without > /tmp > mounted. > My money is on option 2: > fstat -f / |sort -rnk 8|head > OK, here is what that returns: $ sudo fstat -f / |sort -rnk 8|head root init 1 text / 16492 -r-xr-xr-x 599320 r root devd 618 text / 16467 -r-xr-xr-x 334060 r root dhclient 1192 text / 16469 -r-xr-xr-x 74172 r _dhcp dhclient 1231 text / 16469 -r-xr-xr-x 74172 r root fstat 78768 5 / 49687 -rw------- 40960 r root pflogd 478 text / 16527 -r-xr-xr-x 18716 r _pflogd pflogd 481 text / 16527 -r-xr-xr-x 18716 r root adjkerntz 136 text / 16457 -r-xr-xr-x 7244 r www php-cgi 69281 root / 2 drwxr-xr-x 512 r www php-cgi 1122 root / 2 drwxr-xr-x 512 r Do you see anything that looks unusual? I also ran: $ sudo find / -iname "*.core" and it turned up a few .core files, but nothing in the root tree. At this point, I am thinking I might as well move the OS to an drive with bigger partitions. There is a tutorial here which explains how to do this using dump and restore. Just curious: why is this preferable to using plain old cp? ----- Colin Brace Amsterdam http://lim.nl -- View this message in context: http://www.nabble.com/gateway-NAT-settings-lost-tp19685563p19701345.html Sent from the freebsd-questions mailing list archive at Nabble.com.