On 2025-10-08, J Doe <[email protected]> wrote:
> This machine has a /usr _partition size_ of 1.9 GB and it is currently 
> 91% full, with 171 MB _free space_.

rather tight. if you can't arrange a larger partition I suggest:

rm /usr/share/relink/kernel/*/newbsd.gdb (ref usr.sbin/config/mkmakefile.c 
r1.49)
sysclean | grep ^/usr, review and remove

if still looking too tight

rm /usr/lib/*.a
sysupgrade -n
rm /home/_sysupgrade/comp*
reboot to upgrade
pkg_add -u
sysclean | grep ^/usr, review and remove
evaluate whether you have space to extract comp*.tgz

(for arranging a larger partition, look at what's next on disk after
/usr. I've often dropped /usr/X11R6, edited disklabel to enlarge
/usr into the space and growfs'd, then extracted x sets again to
fill out in /usr. or perhaps you don't use /usr/{src,obj} and can
do something with them).

> If I attempt an upgrade via sysupgrade once OpenBSD 7.8 is available, 
> will I be ok ?  Will the installer simply overwrite what's currently in 
> /usr ?

at 171MB free in /usr I wouldn't risk a simple sysupgrade.

-- 
Please keep replies on the mailing list.

Reply via email to