From owner-freebsd-questions@FreeBSD.ORG Fri Sep 26 13:48:30 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 8E4EE1065692 for ; Fri, 26 Sep 2008 13:48:30 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 5E5318FC17 for ; Fri, 26 Sep 2008 13:48:30 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 56CC2AFBC01; Fri, 26 Sep 2008 05:48:29 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Fri, 26 Sep 2008 15:48:28 +0200 User-Agent: KMail/1.9.7 References: <6fcb5b8a45c5f63a10d863a009ee0700@localhost> <200809261229.11108.fbsd.questions@rachie.is-a-geek.net> <48DCE02D.8050501@lim.nl> In-Reply-To: <48DCE02D.8050501@lim.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809261548.28314.fbsd.questions@rachie.is-a-geek.net> Cc: Colin Brace 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: Fri, 26 Sep 2008 13:48:30 -0000 On Friday 26 September 2008 15:14:21 Colin Brace wrote: > Thanks Mel, "gateway_enable" was what I was missing. You're very welcome. > For totals: > > $ sudo du -hc -depth=1 boot cdrom home lib libexec rescue sbin bin > compat dist etc lib proc root > 91M boot > 2.0K cdrom > 0B home > 5.4M lib > 170K libexec > 3.6M rescue > 5.0M sbin > 986K bin > 0B compat > 2.0K dist > 2.1M etc > 5.4M lib > 2.0K proc > 52K root > 114M total > > It looks as though there is 375MB "hidden" somewhere... but where? 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 will show you the largest open files on the root partition. -- Mel Problem with today's modular software: they start with the modules and never get to the software part.