Personally, what i always do, (i dont know if its the best practice, but it fixes my storage space problems, as i always use -stable, and build the updated ports) is to make a symlink in /home
Initial configuration $ cd /home $ doas mkdir ports $ doas chown -R user:wsrc ports $ cd ports $ cd build $ mkdir -p wrkobjdir distdir plist bulk_cookies update_cookies pkgrepo Make symlinks in /usr $ cd /usr $ doas ln -s /home/ports . Edit /etc/mk.conf $ doas vi /etc/mk.conf SUDO=/usr/bin/doas WRKOBJDIR=/home/ports/build/wrkobjdir DISTDIR=/home/ports/build/distdir PLIST_DB=/home/ports/build/plist BULK_COOKIES_DIR=/home/ports/build/bulk_cookies UPDATE_COOKIES_DIR=/home/ports/build/update_cookies PACKAGE_REPOSITORY=/home/ports/build/pkgrepo FETCH_PACKAGES=Yes 26. Jun 2018 11:23 by sol...@perso.pw <mailto:sol...@perso.pw>: > > John Long writes: > >> Been a while and don't have my other OpenBSD boxes accessible. >> >> What are the recommended partitions and appropriate sizes for people >> who want to track stable and possibly build the whole ports tree? >> >> Thanks, >> >> /jl > > hello > > If you want to do a bulk build (aka whole ports tree), read bulk(8) (in > ports/infrastructure/man/), it says that you need at least 100 GB of > disk. > > > 1. Choose master machine setup and create partitions > > Setup a master machine with enough room for a chroot, say > /build. Assuming you are using a cluster of machines, this > chroot should contain NFS exportable partitions for distfiles, > plists, and packages (one single partition can be used for > simplicity). A full setup requires on the order of 50GB for > distfiles and 50GB for packages.