From nobody Tue Sep 3 05:19:48 2024 X-Original-To: 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 4WyYpj508rz5VxKm for ; Tue, 03 Sep 2024 05:19:57 +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 4WyYpj2cqVz4G4R for ; Tue, 3 Sep 2024 05:19:57 +0000 (UTC) (envelope-from jamie@catflap.org) Authentication-Results: mx1.freebsd.org; none X-Catflap-Envelope-From: X-Catflap-Envelope-To: stable@FreeBSD.org 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 4835Jnek038550; Tue, 3 Sep 2024 06:19:49 +0100 (BST) (envelope-from jamie@donotpassgo.dyslexicfish.net) Received: (from jamie@localhost) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5/Submit) id 4835JmmY038549; Tue, 3 Sep 2024 06:19:48 +0100 (BST) (envelope-from jamie) From: Jamie Landeg-Jones Message-Id: <202409030519.4835JmmY038549@donotpassgo.dyslexicfish.net> Date: Tue, 03 Sep 2024 06:19:48 +0100 Organization: Dyslexic Fish To: kostikbel@gmail.com, stable@FreeBSD.org, bob@proulx.com Subject: Re: mount -u removes "noatime" References: <202409020139.4821dOrY070960@donotpassgo.dyslexicfish.net> <202409030005.48305xQw024483@donotpassgo.dyslexicfish.net> <20240902181513360947654@bob.proulx.com> In-Reply-To: <20240902181513360947654@bob.proulx.com> 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 06:19:49 +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: 4WyYpj2cqVz4G4R Bob Proulx wrote: Hi Bob! Thanks for the info. > I want to think that using -o current and then making modifications to > current seems to be one possible way. But the man page also says, > "When this option [snapshot] is used, all other options are ignored." > So this shouldn't work. > > mount -u -o current,snapshot ... Unfortunately, your pessimism is warranted: | root@catflap# mount -u -ocurrent,noatime / | /dev/da0p3 on / (ufs, local, noatime, writes: sync 3365270 async 2800944, reads: sync 205251 async 10254, fsid 1fa69665dd23d4e8, vnodes: count 3963 ) | | root@catflap# mount -u -ocurrent,snapshot /root/tw / | mount: /root/tw: mount option is unknown: Invalid argument | /dev/da0p3 on / (ufs, local, noatime, writes: sync 3365270 async 2800944, reads: sync 205251 async 10254, fsid 1fa69665dd23d4e8, vnodes: count 3963 ) | | root@catflap# mount -u -o snapshot /root/tw / | /dev/da0p3 on / (ufs, local, writes: sync 3365306 async 2801061, reads: sync 205269 async 10254, fsid 1fa69665dd23d4e8, vnodes: count 3964 ) Cheers, Jamie