removing old files - /usr grows with each release

2005-12-11 Thread Andreas Bartelt
Hi all, according to http://www.openbsd.org/faq/faq4.html#SpaceNeeded 250 MB for /usr is sufficient, in case X isn't installed on an OpenBSD system. My /usr partition (located on a 512 MB CompactFlash drive) recently has reached its limits after living through multiple releases (3.4 - 3.8).

Re: removing old files - /usr grows with each release

2005-12-11 Thread Matthias Kilian
On Sun, Dec 11, 2005 at 06:45:59PM +0100, Andreas Bartelt wrote: > [...] My > /usr partition (located on a 512 MB CompactFlash drive) recently has > reached its limits after living through multiple releases (3.4 - 3.8). > > du -h: > ... > /dev/wd0e 359M311M 30.3M91%/usr [...]

Re: removing old files - /usr grows with each release

2005-12-11 Thread Andreas Schweitzer
> according to http://www.openbsd.org/faq/faq4.html#SpaceNeeded 250 MB for > /usr is sufficient, in case X isn't installed on an OpenBSD system. My > /usr partition (located on a 512 MB CompactFlash drive) recently has > reached its limits after living through multiple releases (3.4 - 3.8). I'v

Re: removing old files - /usr grows with each release

2005-12-11 Thread Jason Crawford
On 12/11/05, Andreas Bartelt <[EMAIL PROTECTED]> wrote: > Hi all, > > according to http://www.openbsd.org/faq/faq4.html#SpaceNeeded 250 MB for > /usr is sufficient, in case X isn't installed on an OpenBSD system. My > /usr partition (located on a 512 MB CompactFlash drive) recently has > reached it

Re: removing old files - /usr grows with each release

2005-12-11 Thread Han Boetes
Looking for this? http://www.xs4all.nl/~hanb/software/OpenBSD-binary-upgrade/cleanupoldsysfiles Do read the script before you use it. # Han

Re: removing old files - /usr grows with each release

2005-12-11 Thread Markus Hennecke
Han Boetes wrote: > Looking for this? > > http://www.xs4all.nl/~hanb/software/OpenBSD-binary-upgrade/cleanupoldsysfiles > > Do read the script before you use it. Nice. I think I will do this instead of removing the directories after an update and repopulating them from the release tarballs. Then

Re: removing old files - /usr grows with each release

2005-12-11 Thread Matthias Kilian
On Sun, Dec 11, 2005 at 09:13:31PM +0100, Han Boetes wrote: > http://www.xs4all.nl/~hanb/software/OpenBSD-binary-upgrade/cleanupoldsysfiles IMHO this is way too dangerous, especially if $usr_lib is defined (i.e. -l is given). For example, on my desktop (which actually isn't a desktop, because it'

Re: removing old files - /usr grows with each release

2005-12-12 Thread q#
On Sun, Dec 11, 2005 at 06:45:59PM +0100, Andreas Bartelt wrote: > My goal is to savely remove all files from older releases, which aren't > needed anymore. This is simple scripts which gets at least two arguments. First is filelist from your current running system and the second is directory whi

Re: removing old files - /usr grows with each release

2005-12-12 Thread Andreas Bartelt
Hi, Matthias Kilian wrote: ... You could (ab)use the checkflist script in /usr/src/distrib sets, as mentioned in release(8): # cd /usr/src/distrib/sets # DESTDIR=/ sh checkflist > foo Thanks for pointing me to release(8). In the end, I followed the steps described in release(8) and replaced