From nobody Wed Mar 20 04:59:03 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 4TzxFg1p2Kz5F0cR; Wed, 20 Mar 2024 04:59:03 +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 4TzxFg1FyBz3xfW; Wed, 20 Mar 2024 04:59:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710910743; 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=IpmUQf85jRu2I2cRrsIjuOWmx57IcPR4Pp/G+/S6hoQ=; b=YrF/MG4Lw/9F28hjsvrqokneoVairmW45uHaAAKy8d2pyPrhfR8e1n6VvSR+g1D8g+I299 lLN6vf3qGe14TvwxjkY/ITLM1+ZOpmiiC5murDgJYdV4x4MbB53QzIoPKCSbYwcYO157Sq 5QGefUDl3pklLUfPvCMRsv1q9ksPaSj4SbvmRxvEndQojRgxXhAvPvDJ82tPHI2t7SFYzL dasRmSBpw/4aKOjDhqG436tugfvUkZirOIZoSRRv4pa7BdV6od/yq2+08R99CIaGlMHq9N RdvLRAqwltWogxbT89Jn5611/YnOqN0DvJMVKYzbQAnfRHCZiwT603D/fNOoTA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710910743; a=rsa-sha256; cv=none; b=Ei0xP92/qCXj9ml2qABFXglcN7Oi2goiFdpT/GjeXmfM5EQZ544eIltqEk0gaWLGSlv7th AvuOXhLD/SUWAJCrA/QM/F8EUM9C1KERN01suKAsCiwFA8OTXF3/zRLLlK35n5gllgpair Q1jtFWHXmt4Svov6DS2dzb4LFclLMDos7SpphovaaevBQTLNcX3wW9N+MAspfx4XFoH8rS GhyRdTANHjqgHZdEtb/Sclj0elrtZhoPiVnh1A239i8jvpdFPrej5nwWvO2uYipX8kbNt9 0XbXlmAZWd38M27+3hoSu5Wg+EaDiHUjxHVJDUOrKvuBVmHpfo0HVil/SMpq4Q== 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=1710910743; 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=IpmUQf85jRu2I2cRrsIjuOWmx57IcPR4Pp/G+/S6hoQ=; b=wY+HcWIUV7Icced9TxBjVF7sxwPbcUdaoGVsQlktSwaNS0OnDLdJJJCti+BxT/eR7nM1tf Efi0f9J2edrc4uaL2VFHwL4Ymn8dnC7oPqOnuqImdDpkVL/GQqAvC/x9liI8lu13ThpZ05 D1hDv9GZMC+3BOqwK3I4lg4hNXsoYVjUhKRVVw8kSUGeUxwe6VlckU6IeSf1KDNVWijBAN c2TudX1iS9cjJiwHBr1HJtu4Vx8GJxxSgg5N62SEJlRyGwai23I7lfZ0FgNI1JtaYFAzy2 ov2lKqXZd0pMcFSf8AJXyS9B4cUDaU0iCRJlnIWQ9CV+vnIQHDIHm73xtosw3A== 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 4TzxFg0sZpzd0r; Wed, 20 Mar 2024 04:59:03 +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 42K4x3Ub055854; Wed, 20 Mar 2024 04:59:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42K4x3qY055851; Wed, 20 Mar 2024 04:59:03 GMT (envelope-from git) Date: Wed, 20 Mar 2024 04:59:03 GMT Message-Id: <202403200459.42K4x3qY055851@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: bb4116576f2e - main - 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/main X-Git-Reftype: branch X-Git-Commit: bb4116576f2edf466ada3885cf851599ce7a4792 Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=bb4116576f2edf466ada3885cf851599ce7a4792 commit bb4116576f2edf466ada3885cf851599ce7a4792 Author: Jose Luis Duran AuthorDate: 2024-03-20 04:54:18 +0000 Commit: Mark Johnston CommitDate: 2024-03-20 04:54:18 +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 --- 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 }