Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: relatime mount option for ffs filesystems
To:
Marcus Glocker <marcus@nazgul.ch>
Cc:
Jeremie Courreges-Anglas <jca@wxcvbn.org>, tech@openbsd.org
Date:
Tue, 5 Aug 2025 10:29:53 +0100

Download raw body.

Thread
On 2025/08/05 06:59, Marcus Glocker wrote:
> On Mon, Aug 04, 2025 at 05:35:01PM +0200, Jeremie Courreges-Anglas wrote:
> 
> > 
> > With relatime, access time is updated on reads only if the file has
> > been modified (mtime/ctime) since the last read.  So merely reading
> > files no longer incurs pointless writes.
..
> > The diff below implements it for ffs only.  It doesn't implement
> > possible tweaks like updating atime if previous access happened more
> > than 24 hours ago.

the ">24h" possible tweak would be helpful for this:

> /dev/sd0d on /tmp type ffs (local, relatime, nodev, nosuid)

without that, you should probably not use it for /tmp.

$ grep -A8 tmp /etc/daily