Date: Thu, 11 Jan 2024 09:15:19 -0800 (PST) From: "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net> To: Alexander Leidinger <Alexander@Leidinger.net> Cc: Mark Millard <marklmi@yahoo.com>, olce@FreeBSD.org, Current FreeBSD <freebsd-current@FreeBSD.org> Subject: Re: noatime on ufs2 Message-ID: <202401111715.40BHFJ3Q049600@gndrsh.dnsmgr.net> In-Reply-To: <ffcb932b3835dc9e3ccdd480abbab6fe@Leidinger.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> Am 2024-01-10 22:49, schrieb Mark Millard: > > > I never use atime, always noatime, for UFS. That said, I'd never > > propose > > changing the long standing defaults for commands and calls. I'd avoid: > > [good points I fully agree on] > > There's one possibility which nobody talked about yet... changing the > default to noatime at install time in fstab / zfs set. Perhaps you should take a closer look at what bsdinstall does when it creates a zfs install pool and boot environment, you might just find that noatime is already set everywhere but on /var/mail: /usr/libexec/bsdinstall/zfsboot:: ${ZFSBOOT_POOL_CREATE_OPTIONS:=-O compress=lz4 -O atime=off} /usr/libexec/bsdinstall/zfsboot: /var/mail atime=on > > I fully agree to not violate POLA by changing the default to noatime in > any FS. I always set noatime everywhere on systems I take care about, no > exceptions (any user visible mail is handled via maildir/IMAP, not > mbox). I haven't made up my mind if it would be a good idea to change > bsdinstall to set noatime (after asking the user about it, and later > maybe offer the possibility to use relatime in case it gets > implemented). I think it is at least worthwile to discuss this > possibility (including what the default setting of bsdinstall should be > for this option). Little late... iirc its been that way since day one of zfs support in bsdinstall. > -- > http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF > http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF -- Rod Grimes rgrimes@freebsd.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401111715.40BHFJ3Q049600>