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).
du -h:
...
/dev/wd0e 359M 311M 30.3M 91% /usr
folders in my /usr partition:
bin 19.9M
games 1.4M
include 16.8M
lib 100M
libdata 76.8M
libexec 2.6M
lkm 2.0K
local 10.8M
mdec 220K
obj -> /home/obj
ports -> /home/ports
sbin 15.9M
share 62.6M
src -> /home/src
My goal is to savely remove all files from older releases, which aren't
needed anymore.
At least in /usr/lib, there seem to be some directories, which
exclusively contain files from older releases, namely
/usr/lib/gcc-lib/i386-unknown-openbsd[release number]. Is it save to
remove them after upgrading to a newer release? The content of
/usr/libdata seems to be growing with each release, too. Which
directories/files may be removed from /usr without risking too much?
Is it better to wipe /usr and do a complete reinstall of all /usr
content from a fresh OpenBSD system?
regards,
Andreas