Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Sep 2024 06:19:48 +0100
From:      Jamie Landeg-Jones <jamie@catflap.org>
To:        kostikbel@gmail.com, stable@FreeBSD.org, bob@proulx.com
Subject:   Re: mount -u removes "noatime"
Message-ID:  <202409030519.4835JmmY038549@donotpassgo.dyslexicfish.net>
In-Reply-To: <20240902181513360947654@bob.proulx.com>
References:  <202409020139.4821dOrY070960@donotpassgo.dyslexicfish.net> <ZtX18qSceQMgQu3o@kib.kiev.ua> <202409030005.48305xQw024483@donotpassgo.dyslexicfish.net> <20240902181513360947654@bob.proulx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Bob Proulx <bob@proulx.com> 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 <current> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409030519.4835JmmY038549>