Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Sep 2008 15:14:21 +0200
From:      Colin Brace <cb@lim.nl>
To:        Mel <fbsd.questions@rachie.is-a-geek.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: gateway NAT settings lost
Message-ID:  <48DCE02D.8050501@lim.nl>
In-Reply-To: <200809261229.11108.fbsd.questions@rachie.is-a-geek.net>
References:  <6fcb5b8a45c5f63a10d863a009ee0700@localhost> <200809261229.11108.fbsd.questions@rachie.is-a-geek.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48DCE02D.8050501>