From nobody Fri Mar 29 18:11:57 2024 X-Original-To: dev-commits-src-all@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 4V5pQP5zGzz5FNtp; Fri, 29 Mar 2024 18:11:57 +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 4V5pQP4c2fz4hJZ; Fri, 29 Mar 2024 18:11:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711735917; 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=UfkYE+Tphd3UXNPzKKHP3a6XJ2PI2w9zlYoBcIBOAGA=; b=FMeG5Z6IGOwiYfvW1ok3+AcSuvJ2n3L1Rx0dgsifrW/zf3s96kzuX6klxWHQTwnKkL5kRH ZAvf0lkBaSnzmTqQDO7SrNidLzLM941hs8jviTqplhySUWqdNQfmv/uR0HZ5WHLraNKbWi L3Kph55RBuEQqmjX6/w7Y3wCsPDbiS+L+K+HsnVoA9l+fkcHA0TD0Wt2oOnCBTw0GK1vNi gWufticQiTOM2LKDUeIBwdKZsqtiicv+G9sBOv445W1QKecpxZMyG5fJp4S8FbSlf3YJTe KjpwMrqRYdH3amMc2VQNwjb7/P4MnzEFW0pj2zQeV6/RuxMYzNRiJeCaPhpMFg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711735917; a=rsa-sha256; cv=none; b=uQjkip0XO9p3ERLFBrSZRyG22k1eIVLtNaMdlMk3DnZ4I2VlWCtwOXBHZnvJGHaFujlvRk JNYCaPOr33I+6XPYHYXMvp8gAFrtFu/Odr9xfTWpeP8D9LrYk4FTBD+SrRh9Z9YHtTmq7r AQM154UwBfg0WXLYkcKFw1fm3LHoBoNBHJu9HCydNOKGqSBXQ1Ny7/bAJ1otI4WUZ4YEKW k2IjBXxgqRZ9uWX+jtoro06fEpGE9zKJ7t3tChW2L31/duO9MlHcDeWTvt+04vqm07mrZv axTTp1K7G+Gf0RBShG/umZaKy6kNjljHSv3V8BuLnTrPSn+uyURZfVI/JndVJw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711735917; 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=UfkYE+Tphd3UXNPzKKHP3a6XJ2PI2w9zlYoBcIBOAGA=; b=K3EbjtPtlWxQpN/gqkBvDF5VA2umbNIOX6vkxRpM1/+kMvcdT+XWmZXBmkVE4jgo2H0UrS zHL1dFu/Ww35PCN6LLdEmCNwdXxGPvu9tWszAN2gnWgbtKNHHTKBlKdd94NqEDlujf+C2i j0rqFGnTtSnjUsfiC4IZrA6dHF1Jc8RC5/nKGQqnmIYYIoIE7dn0CHf19cCndaRaxrffBx aUOe7hFwM1CyulX65sNtRBxJ6czfFQ5pPNvgR+wRShtDkNpPQQyA0ij6sUNtr3qOkmOHdL mLAoxpMdOilyek/RBejEFyGlMG4JcwKzfvqh/lrkt+yu3ftyqfzCY9rhMdJyQg== 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 4V5pQP3vWJzLY1; Fri, 29 Mar 2024 18:11:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 42TIBvZl078519; Fri, 29 Mar 2024 18:11:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42TIBvPm078516; Fri, 29 Mar 2024 18:11:57 GMT (envelope-from git) Date: Fri, 29 Mar 2024 18:11:57 GMT Message-Id: <202403291811.42TIBvPm078516@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: df4a9902eac7 - stable/14 - rc.initdiskless: Disable soft-updates in mdmfs (again) List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: df4a9902eac75c31dd8857e94b9aadd8c88cae03 Auto-Submitted: auto-generated The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=df4a9902eac75c31dd8857e94b9aadd8c88cae03 commit df4a9902eac75c31dd8857e94b9aadd8c88cae03 Author: Jose Luis Duran AuthorDate: 2024-03-20 04:54:18 +0000 Commit: Mark Johnston CommitDate: 2024-03-29 13:53:54 +0000 rc.initdiskless: Disable soft-updates in mdmfs (again) Re-apply the -S switch to disable soft-updates in memory disks (commit 8b1292ac5219). This might be beneficial when tmpfs(5) is not present in the kernel, as this can cause mdmfs(8)'s auto keyword to fallback to using md(4). PR: 85558 MFC after: 1 week Reviewed by: imp, emaste, brooks Differential Revision: https://reviews.freebsd.org/D43242 (cherry picked from commit bb4116576f2edf466ada3885cf851599ce7a4792) --- libexec/rc/rc.initdiskless | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libexec/rc/rc.initdiskless b/libexec/rc/rc.initdiskless index 8b4a01187636..a6820a546e55 100644 --- a/libexec/rc/rc.initdiskless +++ b/libexec/rc/rc.initdiskless @@ -208,9 +208,9 @@ handle_remount() { # $1 = mount point # $1 is size in 512-byte sectors, $2 is the mount point. mount_md() { if [ ${o_verbose} -gt 0 ] ; then - /sbin/mdmfs -XL -s $1 auto $2 + /sbin/mdmfs -XL -S -s $1 auto $2 else - /sbin/mdmfs -s $1 auto $2 + /sbin/mdmfs -S -s $1 auto $2 fi }