From owner-freebsd-questions@FreeBSD.ORG Sat May 20 12:34:28 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 EA94316A43E for ; Sat, 20 May 2006 12:34:28 +0000 (UTC) (envelope-from gpeel@thenetnow.com) Received: from webmaillogin.com (fr6.webmaillogin.com [216.40.35.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FDF543D55 for ; Sat, 20 May 2006 12:34:27 +0000 (GMT) (envelope-from gpeel@thenetnow.com) Received: from [216.240.12.2] (account gpeel@thenetnow.com HELO grant) by fr6.webmaillogin.com (CommuniGate Pro SMTP 5.0.9) with ESMTPA id 35609031 for freebsd-questions@freebsd.org; Sat, 20 May 2006 08:34:26 -0400 Message-ID: <000701c67c09$ba3938e0$6501a8c0@grant> From: "Grant Peel" To: Date: Sat, 20 May 2006 08:34:18 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Subject: Upgrading and Disk Space. 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: Sat, 20 May 2006 12:34:37 -0000 Hi all, I am about to upgrade a 6.0 machine to 6.1R. I am running a little tight on space on the3 /usr part. I was wondering what can be safely removed from /usr befor starting the upgrade. The idea is to try NOT to fill up the filesystem and crap out duing the upgrade. Any feedback will be appreciated. -Grant Here is what the disk looks like right now: /usr/src drwxr-xr-x 21 root wheel 512 Nov 18 2005 . drwxr-xr-x 17 root wheel 512 Nov 25 22:37 .. -rw-r--r-- 1 root wheel 6188 Jan 1 2005 COPYRIGHT -rw-r--r-- 1 root wheel 349 Jun 2 2005 LOCKS -rw-r--r-- 1 root wheel 7289 Jun 4 2005 MAINTAINERS -rw-r--r-- 1 root wheel 10835 Jun 16 2005 Makefile -rw-r--r-- 1 root wheel 32475 Oct 16 2005 Makefile.inc1 -rw-r--r-- 1 root wheel 2749 Mar 8 2003 README -rw-r--r-- 1 root wheel 15749 Nov 1 2005 UPDATING drwxr-xr-x 37 root wheel 1024 Nov 18 2005 bin drwxr-xr-x 53 root wheel 1024 Nov 18 2005 contrib drwxr-xr-x 5 root wheel 512 Nov 18 2005 crypto drwxr-xr-x 21 root wheel 2048 Nov 18 2005 etc drwxr-xr-x 13 root wheel 512 Nov 18 2005 games drwxr-xr-x 4 root wheel 512 Nov 18 2005 gnu drwxr-xr-x 6 root wheel 2048 Nov 18 2005 include drwxr-xr-x 9 root wheel 512 Nov 18 2005 kerberos5 drwxr-xr-x 73 root wheel 1536 Nov 18 2005 lib drwxr-xr-x 33 root wheel 1024 Nov 18 2005 libexec drwxr-xr-x 13 root wheel 512 Nov 18 2005 release drwxr-xr-x 4 root wheel 512 Nov 18 2005 rescue drwxr-xr-x 93 root wheel 2048 Nov 18 2005 sbin drwxr-xr-x 6 root wheel 512 Nov 18 2005 secure drwxr-xr-x 25 root wheel 512 Nov 18 2005 share drwxr-xr-x 58 root wheel 1024 Nov 18 2005 sys drwxr-xr-x 12 root wheel 512 Nov 18 2005 tools drwxr-xr-x 221 root wheel 3584 Nov 18 2005 usr.bin drwxr-xr-x 186 root wheel 3584 Nov 18 2005 usr.sbin root on s1# pwd /usr/src root on s1# df -h Filesystem Size Used Avail Capacity Mounted on /dev/da0s1a 989M 60M 850M 7% / devfs 1.0K 1.0K 0B 100% /dev /dev/da0s1f 57G 1.9G 50G 4% /home /dev/da0s1d 1.9G 1.6G 173M 90% /usr /dev/da0s1e 5.8G 64M 5.3G 1% /var enterprise:/mnt 132G 39G 82G 32% /mnt /usr root on s1# du -h -d1 2.0K ./.snap 24M ./bin 13M ./include 31M ./lib 92K ./libdata 15M ./libexec 253M ./local 13M ./sbin 183M ./share 664M ./src 303M ./ports 126M ./compat 2.0K ./games 2.0K ./obj 23M ./X11R6 1.6G . root on s1#