Date: Fri, 26 Sep 2008 15:48:28 +0200 From: Mel <fbsd.questions@rachie.is-a-geek.net> To: freebsd-questions@freebsd.org Cc: Colin Brace <cb@lim.nl> Subject: Re: gateway NAT settings lost Message-ID: <200809261548.28314.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: <48DCE02D.8050501@lim.nl> References: <6fcb5b8a45c5f63a10d863a009ee0700@localhost> <200809261229.11108.fbsd.questions@rachie.is-a-geek.net> <48DCE02D.8050501@lim.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809261548.28314.fbsd.questions>
