From nobody Sun Feb 8 12:17:30 2026 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4f86KK0JHfz6RdXD for ; Sun, 08 Feb 2026 12:17:41 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: from plan-b.pwste.edu.pl (plan-b.pwste.edu.pl [IPv6:2001:678:618::40]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (prime256v1) client-digest SHA256) (Client CN "plan-b.pwste.edu.pl", Issuer "GEANT TLS ECC 1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4f86KH4n7hz3DtP for ; Sun, 08 Feb 2026 12:17:39 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=plan-b.pwste.edu.pl header.s=plan-b-mailer header.b=BbHA7Eju; dmarc=pass (policy=quarantine) header.from=plan-b.pwste.edu.pl; spf=pass (mx1.freebsd.org: domain of zarychtam@plan-b.pwste.edu.pl designates 2001:678:618::40 as permitted sender) smtp.mailfrom=zarychtam@plan-b.pwste.edu.pl Received: from [192.168.7.70] (dom.potoki.eu [62.133.140.50]) (authenticated bits=0) by plan-b.pwste.edu.pl (8.18.2/8.17.2) with ESMTPSA id 618CHUNA031640 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Sun, 8 Feb 2026 13:17:31 +0100 (CET) (envelope-from zarychtam@plan-b.pwste.edu.pl) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=plan-b.pwste.edu.pl; s=plan-b-mailer; t=1770553052; bh=PMlygITSfyPncf+/zqsKcsRKvDmi8Zae4e7elphbhZ0=; h=Date:Subject:From:To:Cc:References:In-Reply-To; b=BbHA7EjuntdvgV1a6C/fAhm75LmtNXfxDpZsaNAPD1L+L83JnsDG0RjRQgXSRlN32 mYdTIM10QmYrfaF+Tyd0FT5i4M1U7tN4ybHMX83sgzuA8bXx8o4x0ScSzW5KKRaQKJ yJFdh9DgWGEDG/gvpiy+ew9UdwNz7PaKD0s8I25IVTZbuliHto2GfbXOZ9dbqr0gXt xBcDvk61S5isDIgJoStiyHOroVtZLWbXxdmEF6Gv1FpYY9/EczZK5LqjrqXUiKOy/8 Aw24jPyZZGWi/vUZN4JOVjBiD1kpzOOC/Ue+HVthtWMkTl9pqPssYocVpWZF0o5y4T 0jvQjrx6tdvLg== X-Authentication-Warning: plan-b.pwste.edu.pl: Host dom.potoki.eu [62.133.140.50] claimed to be [192.168.7.70] Message-ID: <10db0de9-1281-42a9-815a-93dc5b2718e4@plan-b.pwste.edu.pl> Date: Sun, 8 Feb 2026 13:17:30 +0100 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: git-clone(1) after base 3e8619e535b6 for /usr/ports subdirectories From: Marek Zarychta To: Graham Perrin , Warner Losh Cc: FreeBSD-CURRENT References: <6961de2e.35403.46e0e7bf@gitrepo.freebsd.org> <6d6f0873-d820-4b04-bd17-d5997f0a9919@gmail.com> <7da2252a-944c-4255-be39-d94ae1d0304e@plan-b.pwste.edu.pl> Content-Language: en-US Autocrypt: addr=zarychtam@plan-b.pwste.edu.pl; keydata= xsBNBFfi3cMBCADLecMTFXad4uDXqv3eRuB4qJJ8G9tzzFezeRnnwxOsPdytW5ES2z1ibSrR IsiImx6+PTqrAmXpTInxAi7yiZGdSiONRI4CCxKY9d1YFiNYT/2WyNXCekm9x29YeIU7x0JB Llbz0f/9HC+styBIu2H+PY/X98Clzm110CS+n/b9l1AtiGxTiVFj7/uavYAKxH6LNWnbk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qW0bYoRfzY6XjDWQ59p9tJi v8aogxacQNCfAu+WkJ8PNVUtC1dlVcG5NnZ80gXzd1rc8ueIvXlvdanUt/jZd8jbb3gaDbK3 wh1yMCGBl/1fOJTyEGYv1CRojv97KK89KP5+r8x1P1iHcSrunlDNqGxTMydNCwBH23QcOM+m u4spKnJ/s0VRBkw3xoKBZfZza6fTQ4gTpAipjyk7ldOGBV+PvkKATdhK2yLwuWXhKbg/GRlD 1r5P0gxzSqfV4My+KJuc2EDcrqp1y0wOpE1m9iZqCcd0fup5f7HDsYlLWshr7NQl28f6+fQb sylq/j672BHXsdeqf/Ip9V4= In-Reply-To: <7da2252a-944c-4255-be39-d94ae1d0304e@plan-b.pwste.edu.pl> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-3.80 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[plan-b.pwste.edu.pl,quarantine]; R_SPF_ALLOW(-0.20)[+mx]; ONCE_RECEIVED(0.20)[]; R_DKIM_ALLOW(-0.20)[plan-b.pwste.edu.pl:s=plan-b-mailer]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:206006, ipnet:2001:678:618::/48, country:PL]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; FROM_HAS_DN(0.00)[]; HAS_XAW(0.00)[]; FREEMAIL_TO(0.00)[gmail.com,bsdimp.com]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_ALL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; DKIM_TRACE(0.00)[plan-b.pwste.edu.pl:+] X-Rspamd-Queue-Id: 4f86KH4n7hz3DtP X-Spamd-Bar: --- On 8.02.2026 12:51, Marek Zarychta wrote: > On 8.02.2026 04:46, Graham Perrin wrote: >> On 08/02/2026 03:17, Warner Losh wrote: >> >>> That only works if don't already have a ports tree. What's there? >> >> >> root@freebsd-16-amd64-qemu:~ # ls -hlR /usr/ports >> >> total 1.0 KB >> drwxr-xr-x  2 root wheel    2B Jan 19 19:37 distfiles >> drwxr-xr-x  2 root wheel    2B Jan 19 19:37 packages >> >> /usr/ports/distfiles: >> total 0 B >> >> /usr/ports/packages: >> total 0 B >> root@freebsd-16-amd64-qemu:~ # mount | grep ports >> >> zroot/usr/ports on /usr/ports (zfs, local, noatime, nosuid, nfsv4acls) >> zroot/usr/ports/distfiles on /usr/ports/distfiles (zfs, local, >> noatime, nosuid, nfsv4acls) >> zroot/usr/ports/packages on /usr/ports/packages (zfs, local, noatime, >> nosuid, nfsv4acls) >> root@freebsd-16-amd64-qemu:~ # >> >> > Hello Graham, > > my recommendation is to set WRKDIRPREFIX, DISTDIR, PACKAGES and > INDEXDIR (if you are using indexes) to the separate subtree as follows: > > #zfs destroy zroot/usr/ports/distfiles > #zfs destroy zroot/usr/ports/packages > #mkdir -p /var/ports/{distfiles,packages} > #cat <> /etc/make.conf > WRKDIRPREFIX= /var/ports > DISTDIR= /var/ports/distfiles > PACKAGES= /var/ports/packages > INDEXDIR= /var/ports > EOF > > The above configuration works best and is absolutely required if you > are using read-only mounts for /usr/ports (NFS, nullfs, etc.) > > There is another option, if you don't want to change anything, create > local ports repo and add remote origin: > > #cd /usr/ports > #git init > #git remote add origin https://git.freebsd.org/ports.git > #git fetch > #git branch -f main origin/main > #git checkout main > > Cheers > Perhaps my previous reply was inappropriate or came across as impolite. Please forgive me, Graham, if I violated netiquette. I understand that the intent of the original mailing list thread was to address a problem that arose after the acceptance of another pull request [1], submitted by a SUSE Linux engineer who has been contributing frequently and should certainly be considered a FreeBSD contributor as well. That said, it might be worth considering whether this particular change could be reverted and the issue resolved in a different, more FreeBSD-specific way. [1]: https://github.com/freebsd/freebsd-src/pull/1873 Cheers -- Marek Zarychta