From nobody Tue Sep 03 00:05:59 2024 X-Original-To: freebsd-stable@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 4WyQrT66nMz5VHn4 for ; Tue, 03 Sep 2024 00:06:01 +0000 (UTC) (envelope-from jamie@catflap.org) Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [IPv6:2001:19f0:7400:8808:123::1]) by mx1.freebsd.org (Postfix) with ESMTP id 4WyQrT3Y0Bz4hkd for ; Tue, 3 Sep 2024 00:06:01 +0000 (UTC) (envelope-from jamie@catflap.org) Authentication-Results: mx1.freebsd.org; none X-Catflap-Envelope-From: Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [209.250.224.51]) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5) with ESMTP id 48305xtr024484; Tue, 3 Sep 2024 01:05:59 +0100 (BST) (envelope-from jamie@donotpassgo.dyslexicfish.net) Received: (from jamie@localhost) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5/Submit) id 48305xQw024483; Tue, 3 Sep 2024 01:05:59 +0100 (BST) (envelope-from jamie) From: Jamie Landeg-Jones Message-Id: <202409030005.48305xQw024483@donotpassgo.dyslexicfish.net> Date: Tue, 03 Sep 2024 01:05:59 +0100 Organization: Dyslexic Fish To: kostikbel@gmail.com, jamie@catflap.org Cc: freebsd-stable@freebsd.org Subject: Re: mount -u removes "noatime" References: <202409020139.4821dOrY070960@donotpassgo.dyslexicfish.net> In-Reply-To: User-Agent: Heirloom mailx 12.4 7/29/08 List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-stable@freebsd.org Sender: owner-freebsd-stable@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (donotpassgo.dyslexicfish.net [209.250.224.51]); Tue, 03 Sep 2024 01:06:00 +0100 (BST) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:7400::/38, country:US] X-Rspamd-Queue-Id: 4WyQrT3Y0Bz4hkd Konstantin Belousov wrote: > This is how mount update works. How otherwise would you remove noatime > from the options? It seems to be true for other 'flag' options as well. > > Really nonoatime should work with nmount, but it probably does not. mount -u -o atime works. Thanks for the clarification. It seems counterintuitive to me though. As it stands, how do we preserve atime status without scripting around it? Maybe at least the manual page should make this clearer? > Indeed, we ensure immutability of snapshots by directly checking the fact > that the file accessed for write cannot be snapshot. The paragraph perhaps > should be reformulated to state that instead. Yeah. That would be clearer, because adding/removing schg manually makes no difference, due tobthe reasons you cite. i'll knock up a PR for the manpages if that helps, Thanks, Jamie.