From owner-freebsd-questions Wed Aug 6 02:27:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA11075 for questions-outgoing; Wed, 6 Aug 1997 02:27:30 -0700 (PDT) Received: from gatekeeper.barcode.co.il (gatekeeper.barcode.co.il [192.116.93.17]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA11064 for ; Wed, 6 Aug 1997 02:27:21 -0700 (PDT) Received: (from smap@localhost) by gatekeeper.barcode.co.il (8.8.5/8.6.12) id MAA20750; Wed, 6 Aug 1997 12:26:05 +0300 (IDT) X-Authentication-Warning: gatekeeper.barcode.co.il: smap set sender to using -f Received: from localhost.barcode.co.il(127.0.0.1) by gatekeeper.barcode.co.il via smap (V1.3) id sma020748; Wed Aug 6 12:25:51 1997 Message-ID: <33E842E1.B28@barcode.co.il> Date: Wed, 06 Aug 1997 02:24:49 -0700 From: Nadav Eiron X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5.1 sun4u) MIME-Version: 1.0 To: Simon Lindgren CC: freebsd-questions@FreeBSD.ORG Subject: Re: Short upgrade question References: <199708060034.KAA00556@freebie.lemis.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Greg Lehey wrote: > > Simon Lindgren writes: > > When I upgrade from 2.1.6 to 2.2.2 - will there be an issue of a lot of > > old files from 2.1.6 filling the drives, that are not used by 2.2.2 ? > > Well, the danger exists that some might get left over, but I don't > think they'll fill up the disks unless you are *very* tight on space. > Most of the new files have the same names as the old ones. > > > If yes, what files can I delete to save room? > > This is a non-trivial task. The best thing you can do is use 'ls -l' > to list information on all the files before installation, then do the > same after installation, identify the files which haven't changed, and > decide whether they're needed or not. Definitely not an easy thing to > do. Most people, myself included, live with the ballast of old files > hanging around. One weel-known(?) exception to Greg's comments: Many of the files under /usr/src changed location between 2.1 and 2.2. If you indeed installed the sources, you'll be left with both the old and new versions. The easiest cure is to save your kernel config file somewhere safe and then delete the whole /usr/src tree prior to upgrading. This could save about 50MB (if I recall correctly, I maybe wrong here about the amount...) > > Greg Nadav