From owner-freebsd-questions@FreeBSD.ORG Fri Jan 7 12:54:53 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BADE16A4CE for ; Fri, 7 Jan 2005 12:54:53 +0000 (GMT) Received: from www6.web2010.com (www6.web2010.com [216.157.5.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AFEB43D1F for ; Fri, 7 Jan 2005 12:54:53 +0000 (GMT) (envelope-from MLandman@face2interface.com) Received: from Delliver.face2interface.com (rrkspmt@inoc202-203.veranet.net [216.238.202.203] (may be forged)) by www6.web2010.com (8.12.10/8.9.0) with ESMTP id j07CreFf021986; Fri, 7 Jan 2005 07:54:02 -0500 (EST) Message-Id: <6.2.0.14.0.20050107074632.03093500@mail.face2interface.com> X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14 Date: Fri, 07 Jan 2005 07:53:31 -0500 To: afabian@austin.rr.com From: Marty Landman In-Reply-To: <20050107053638.GE27020@turingmachine.mentalsiege.net> References: <6.2.0.14.0.20050106184116.01f2aa80@mail.face2interface.com> <20050107053638.GE27020@turingmachine.mentalsiege.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: freebsd-questions@freebsd.org Subject: Re: clearing space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jan 2005 12:54:53 -0000 At 12:36 AM 1/7/2005, afabian@austin.rr.com wrote: >It does. You might want to try something like: > >du -x / | sort -rn | head -15 > >to figure out wheer your diskspace has gone. Ok, I've cleared half the space by rm -r /root/.cpan. Now I have # df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a 128990 60094 58578 51% / /dev/ad0s1f 257998 81790 155570 34% /tmp /dev/ad1s1e 2030062 926976 940682 50% /usr /dev/ad0s1e 257998 2110 235250 1% /var procfs 4 4 0 100% /proc and # du -x / | sort -rn | head -15 60093 / 15052 /root 13750 /root/nmap-3.50 12600 /sbin 6318 /modules.old 6318 /modules 4378 /bin 2766 /stand 1942 /root/nmap-3.50/nsock 1908 /root/nmap-3.50/nsock/src 1380 /etc 1174 /root/nmap-3.50/libpcre 1058 /root/nmap-3.50/libpcap-possiblymodified 888 /root/nmap-3.50/nbase 764 /root/nmap-3.50/docs Let's say I want to mv /sbin /usr/sbin mv /root /usr/root How problematic can this become? I can anticipate at least having to revise perl scripts that reference the sendmail path, although ln -s /usr/sbin/sendmail /sbin/sendmail will avoid having to 'fix' source code, right? Marty Marty Landman, Face 2 Interface Inc. 845-679-9387 Search & Sort Easily: http://face2interface.com/Products/FormATable.shtml Web Installed Formmail: http://face2interface.com/formINSTal