Date: Tue, 09 Jan 2024 09:47:59 +0100 From: Olivier Certner <olce@freebsd.org> To: freebsd-current@freebsd.org Subject: Re: noatime on ufs2 Message-ID: <6714298.qJWK8QVVMX@ravel> In-Reply-To: <2eabfb91-afc3-47f7-98b9-1a1791ae6e7d@app.fastmail.com> References: <ZZqmmM-6f606bLJx@int21h> <CAGMYy3vsSD7HHtGxYXJn%2Busr8GCOd-0Xe1crs-Nx=qw-bYJ6HA@mail.gmail.com> <2eabfb91-afc3-47f7-98b9-1a1791ae6e7d@app.fastmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart28415695.QdLYigECfs Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Olivier Certner <olce@freebsd.org> To: freebsd-current@freebsd.org Subject: Re: noatime on ufs2 Date: Tue, 09 Jan 2024 09:47:59 +0100 Message-ID: <6714298.qJWK8QVVMX@ravel> In-Reply-To: <2eabfb91-afc3-47f7-98b9-1a1791ae6e7d@app.fastmail.com> MIME-Version: 1.0 > Why not make noatime the default across the whole system? Outside of mbox why is recording access time actually useful? Exactly. I've never found any compelling reason in most uses to enable "atime", except perhaps local mail but as addressed in other answers it is a relic of the past mostly irrelevant today. And its drawbacks are well known and can be serious. The auditing use is not what I consider "normal" in the sense I suspect it concerns a small minority of users (maybe even tiny). Plus, serious auditing requires keeping a log (generally immutable) of accesses, i.e., more than a single time and, as pointed out in another answer, at least the ID of the user performing the access. Updating the access time field on files/directories doesn't address both. What "relatime" only gives you is a guarantee that you know that some file has been accessed at some point after its last modification (or creation), and that the access time is correct if precision is only a day. It also generally lowers I/O obviously, but not in some scenarios (file creation and subsequent read). So, to me, at this point, it still sounds more than a gimmick than something really useful. If someone has a precise use case for it and motivation, than of course please go ahead. In the short term, I'd vote for turning "atime" off by default. Thanks and regards. -- Olivier Certner --nextPart28415695.QdLYigECfs Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCQAdFiEEmNCxHjkosai0LYIujKEwQJceJicFAmWdCD8ACgkQjKEwQJce Jid3yQ//fgipM+tVDOYza6TAUKNyEmvFIlL27XQYJocsF9FD8/LS4roCJkZ1Umyg cYzTT2FlxepfZ3mTfBvdHoQ2eTZae8V6+u+2e17gkQ1Eczp26ziCNGrMEgBHXZyo l8eeJ4ajwaQssl1AUCFJ8POQ0Z/5D06GDydhnR0YeLSxVhWwT4HCi8H2zEOpVFzw Eyt2F1u5dZ59NMo2LlTTWcH+xAaomZI2LZuxsAEbzC5ustCxz4crYDPNvhW+psJK UBG1/FVgsKCXUi3PI6xjLkqvgmVe71r8dpa9NEpUERY/TPUAqVCguK6hfTo6YYOR gvdP1Qcp4Ru24OELBMS9URb4//QU18gyymIhizP9glbRXN30ded+LsHY0VfnOC4J tBA44DNlswi7r7AtPaByTGfzMqgTSjNpXk8yhF5uQIpcgpDeng5MJTmnS6W2wsOG crfuc2nGZ+TMsAK/rvnYKdtsbTsgYjW4ywXFD1jYoNrjdTnwGPG7J5ZSgt7hAaKl uU5MLkL8EmhN+799SUAo+K/ywyUBnVdG4vpw9GgWuDYcaczALeS02pJWSLk9GUA/ JzI1jX+/7ULK0guq24bjuSM6F89AUd/w0UexhUFpIFzrYH0Hg3QTDpIXN8Uii+iC 9YMe6vt8Fu8QJ+oBW9xCLjlVsZ5CUQo3vObpbiDVXIDBw9xeEJY= =ZnO9 -----END PGP SIGNATURE----- --nextPart28415695.QdLYigECfs--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6714298.qJWK8QVVMX>