From owner-freebsd-questions@FreeBSD.ORG Fri Sep 26 13:14:18 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 B8BAA106568F for ; Fri, 26 Sep 2008 13:14:18 +0000 (UTC) (envelope-from cb@lim.nl) Received: from lim.nl (93-125-163-97.dsl.alice.nl [93.125.163.97]) by mx1.freebsd.org (Postfix) with ESMTP id 66ED58FC0C for ; Fri, 26 Sep 2008 13:14:18 +0000 (UTC) (envelope-from cb@lim.nl) Received: from [192.168.1.2] (ariel [192.168.1.2]) by venus (Postfix) with ESMTP id F34C15C0B; Fri, 26 Sep 2008 15:14:14 +0200 (CEST) Message-ID: <48DCE02D.8050501@lim.nl> Date: Fri, 26 Sep 2008 15:14:21 +0200 From: Colin Brace User-Agent: Thunderbird 2.0.0.16 (X11/20080723) MIME-Version: 1.0 To: Mel References: <6fcb5b8a45c5f63a10d863a009ee0700@localhost> <200809261229.11108.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: <200809261229.11108.fbsd.questions@rachie.is-a-geek.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org 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:14:18 -0000 Thanks Mel, "gateway_enable" was what I was missing. I usually use sudo for eding system files, but in this particular instant I was lazy and had set the permissions so I could edit rc.conf without it. :( As I mentioned, I got into this fix because my root partition is full. This is how my 30G drive is partitioned: $df -h /dev/ad0s1a 496M 493M -37M 108% / devfs 1.0K 1.0K 0B 100% /dev /dev/ad0s1e 496M 3.2M 453M 1% /tmp /dev/ad0s1f 24G 6.1G 16G 28% /usr /dev/ad0s1d 1.4G 659M 690M 49% /var fdescfs 1.0K 1.0K 0B 100% /dev/fd But for the life of me, I can't figure out what is taking up all the space on root. See: $ sudo du -hs 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 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? -- Colin Brace Amsterdam http://www.lim.nl