From nobody Fri Jul 26 21:43:44 2024 X-Original-To: bugs@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 4WW1Ts0jt8z5RQMr for ; Fri, 26 Jul 2024 21:43:45 +0000 (UTC) (envelope-from bugzilla-noreply@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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WW1Tr6S0Zz4lQN for ; Fri, 26 Jul 2024 21:43:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722030224; a=rsa-sha256; cv=none; b=bV9rd7WduJgaXpVO33BPGDlK5WB5ywio0xk6T4adbACn3ucp26TiK2Dg+eCmxcOKtHp9dx 9CBfk2vvR9PT52Jr8KTjSwethqdkuEz+spXH/wk+zBOdRTzEQYYH1px+UIg7sv1zC1eZa1 DmUbZhju1EKQlx24BP6mtFhdwollgDEEN8EELEl7HOkngD0GX4nj9A7wJmGhEtnBX8rwxr Hgzj6uaK60rbEattFlBsUmxrhvJWuBiGJ1p9zAVXz6pcU87WGxb+lQh78U6Uah/8N4MVAN EWgx0/3prkp3hlAuWJ0O/3OMWHr7ENgdOsHjxSq7MbX8A0OxV+Y0kWEplgpXsg== 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=1722030224; 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: in-reply-to:in-reply-to:references:references; bh=tlpi/WJQJ7/s7zHsykvDXIh8Fo/FyJpvLhw9h2CwKYg=; b=X2AF8uQHGLWw+g5QLdIAaraeUbiMWaoYiiDAHLpbcpu0OX98vtXmU87GVmxGO1qQ4f3BJq cmdRYNnfHN/YtL0CvhkV25g3J5uTanqVOUm0eipw663jiXD8M6HH0dyV8Nl3Z/47LEAvvn GftirTYN1I71J9dTjIksBVOX0hgavEa2+4LDgdBj3AJ5Vb4t6yGZJdgOhwGnqmxGd+9idp /Et0/MPZK/bSnz5Yc1qNBM8nhy7p+MFvlOw0TsJf395eAtddu7vDgo3O8fj5ieFp1H6gUX PpfH0d7rVlCfGNVPYEVynERlAZTE7/5L6qyNQcQs2CVZTnmjBLbiQBnYxsH5zg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4WW1Tr63dWzgCt for ; Fri, 26 Jul 2024 21:43:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 46QLhiQT086953 for ; Fri, 26 Jul 2024 21:43:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 46QLhi3E086952 for bugs@FreeBSD.org; Fri, 26 Jul 2024 21:43:44 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 280383] Removing the last link to an open file prevents remounting read-only--suggest document and/or code change Date: Fri, 26 Jul 2024 21:43:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: billblake2018@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280383 --- Comment #2 from Bill Blake --- (In reply to Mark Johnston from comment #1) Yes, it is being used as a file, but it is not necessarily "open for writin= g".=20 If the file has no links, it doesn't matter what its open modes are; the fi= le system can't be downgraded without -f. It would be a simple matter to add = "or if any file on the file system is open and has a zero link count" to the man page. Or, per my suggestion, the problem could be eliminated. --=20 You are receiving this mail because: You are the assignee for the bug.=