gateway NAT settings lost

Colin Brace cb at lim.nl
Fri Sep 26 13:14:18 UTC 2008


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



More information about the freebsd-questions mailing list