From nobody Mon Feb 27 17:19:57 2023 X-Original-To: dev-commits-src-main@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 4PQS1B0TBbz3vNMP; Mon, 27 Feb 2023 17:19:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PQS1974Kwz3qx6; Mon, 27 Feb 2023 17:19:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677518398; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=olLkRUKJc9M/XggEi2ZjqrBWNHdjOytTasbE/EDJ3ws=; b=B0dHQ2ze3SkmPsCPqKTyAWHN7kTZ173BwWsZhYKZIhI8gHQHvBwXPihYk15LwPzg7+f6MC yrW7g0fpsmH1/Zah92XXiyL0hNqXTpm1WI4KV8E+Um0u3GD9m0y53b9S1HNHjRcU/2YdZH VPsX2NizpOErAMvK80lPQ8WcwYtrbjBxCvHDVhpE9vEDukBcQFLsFr1rpyhR94F7DKRUWw +TxiZPjfs0V7yQkZydw1n93JDZGr3iqqywipm8MEswgUdNtM9QQPQRQgfrgWwlc3v0dBmE x6HHUgK7eeHrJqJFj9i5wPFDfYttdnsN1HrafTb5QSVlPysVIKaO9HzBtKHcyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677518398; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=olLkRUKJc9M/XggEi2ZjqrBWNHdjOytTasbE/EDJ3ws=; b=Z+b9kQWjuuD0lDvZIjU8+/X3UC4Zw7g4Y77mFt5ToHNFMejxlIbUKKeoXXPRPwlNB4mE6r 0kYOhroJByMRhzfj4qJBijCYD4yB1DDn57WT7r4BrtX3K/mGSvDkmzmjRGbvrSib8Kxy15 3eXeV/c0aMDzo3i1B0eHiGJXGVtfyXiwMhwKXXvppG+5rfabrDzGUr557+N1pXx1b7XT4K SQbWUXUP/8EKM/A87FJhukgF71aBqhwN975ct+2pTk4SbfHXK5dAN5ftfCpZBO6ZiVO8Kh kjYODVh0WXAhZNjzuh4We9o47iWYO7XrWh2Q2fmxo6IygCN5/WrGqgI9lT+t2Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677518398; a=rsa-sha256; cv=none; b=dnQC+ZwKcOGOsBwbNHhflSbNlXYl5aaxd7dHNwLgeXWO29cacSVlX3KeAZmMD+mUzMJqKb ye4xGzlhcl7k/M4w4No7ge4QUY9N6UXUVBXRH6akEU5JLIsmu1c4jMBLaPd1noNsi2oRe7 kDnN4RtxiMb75qhx793GidygDCM44m3O2/qSXrGXiGj0Cz5GaoOYVAm8R1CzKkiTJ01bOq +M7IbAW783XJu2Xq5o9stmXpgs2K3n6YJDIiTldhUo39UykQ7y3qc4HXc/LV7PSRKWTazh 8JbVsF7L4/ZjYrgcthYxAs7BKGniL8MbhniB2D+txXy+bXtDssOl/97BMph2Cg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PQS195v1dzZ9M; Mon, 27 Feb 2023 17:19:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31RHJvmY035032; Mon, 27 Feb 2023 17:19:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31RHJvup035031; Mon, 27 Feb 2023 17:19:57 GMT (envelope-from git) Date: Mon, 27 Feb 2023 17:19:57 GMT Message-Id: <202302271719.31RHJvup035031@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 55f35c5398ff - main - Use 'mixed' links for 'hard' links by default. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 55f35c5398ffec5835c2f014a7787465997a221e Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=55f35c5398ffec5835c2f014a7787465997a221e commit 55f35c5398ffec5835c2f014a7787465997a221e Author: Warner Losh AuthorDate: 2023-02-08 21:20:46 +0000 Commit: Warner Losh CommitDate: 2023-02-27 17:19:00 +0000 Use 'mixed' links for 'hard' links by default. emaste suggested this in https://github.com/freebsd/freebsd-src/pull/133 and it works. It will do the right thing by default, and handle the weird cases 133 was trying to fix. --- share/mk/bsd.own.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index a4a407ac8b6a..81d91d330541 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -248,7 +248,7 @@ _LINKMODE?= ${LINKMODE:U${NOBINMODE}} _SYMLINKOWN?= ${SYMLINKOWN:U${BINOWN}} _SYMLINKGRP?= ${SYMLINKGRP:U${BINGRP}} _SYMLINKMODE?= ${SYMLINKMODE:U755} -HRDLINK?= -l h -o ${_LINKOWN} -g ${_LINKGRP} -m ${_LINKMODE} +HRDLINK?= -l mr -o ${_LINKOWN} -g ${_LINKGRP} -m ${_LINKMODE} MANHRDLINK?= -l h -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} SYMLINK?= -l s -o ${_SYMLINKOWN} -g ${_SYMLINKGRP} -m ${_SYMLINKMODE} LSYMLINK?= -l s -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE}