From nobody Tue Jan 09 12:23:15 2024 X-Original-To: freebsd-current@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 4T8VV53bpHz57KFk for ; Tue, 9 Jan 2024 12:24:13 +0000 (UTC) (envelope-from robert@rrbrussell.com) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4T8VV46qk8z4r7r for ; Tue, 9 Jan 2024 12:24:12 +0000 (UTC) (envelope-from robert@rrbrussell.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=rrbrussell.com header.s=fm2 header.b=Ctz6Wv6F; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="q O8I7SI"; dmarc=pass (policy=quarantine) header.from=rrbrussell.com; spf=pass (mx1.freebsd.org: domain of robert@rrbrussell.com designates 66.111.4.26 as permitted sender) smtp.mailfrom=robert@rrbrussell.com Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id CCE085C042E for ; Tue, 9 Jan 2024 07:24:12 -0500 (EST) Received: from imap52 ([10.202.2.102]) by compute1.internal (MEProxy); Tue, 09 Jan 2024 07:24:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rrbrussell.com; h=cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1704803052; x=1704889452; bh=OT5dh2Jin0AmbB0oCl1mzYt+eF44CvFeNL6Y6FFN8WQ=; b= Ctz6Wv6FvQ+T41RofJ3H69ZSkxk6uLMMJlKvQLWwEaIO+mP35aDEZvn6GxADsa21 QprOqwK4pMRcGP3pvpj7tOB3VYxovO8ot6chHHk6GJ28ZJQOP6U78XI/lvJLAOu+ hrliqyaqUzCGWwm4KAjVZHiwcfdkEqrxFVtkwzfiXkOZ55zLUh/cvCHNN6uwUXmo PJwCjRqW+gIXY6xtEXaegh6W61UD0mNj3r+P3bJqVGzzfPcr8G6wgeb1OkqDPw4B rRUuMoJTA+HKRH7gY2FuOQ4PUS9kwbjA11+0uAtAjBueeLh5kuRZ2zXHe5C7XuE8 K2BA2wdRIqo2diJjTVPL1w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1704803052; x= 1704889452; bh=OT5dh2Jin0AmbB0oCl1mzYt+eF44CvFeNL6Y6FFN8WQ=; b=q O8I7SIjyefOR6F8/r2eTtog3p6MKjq/uT4E7V9t7OBFZ6rlkZJF6qApAP9DGN262 zZ8jrHw2woJTbKpCmUinBfyfagS+y4G8wUehNYRFOKBJned9L+VOX7xjHyO4T7P2 F+CSaNAUXmRpfLeaQPYLy7h58Jh2gsYg905BhWyopo6oPmDjeg910l/rDjrAl7yj TIPPFO+wj9wWUS7S0SrxIdCH6Iuk7kFaVCQ3HySPXFO0dhezkkA6ix6usmEiDY7B yrcEfUsOMdPWIEyNUmpGY9+YhADytL4+HyBs5z/0heTeAdq55MurIRErZA36q72t I0ivd3yAJiINRMd2yrl5g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdehledgfeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtgfesth hqredtreerjeenucfhrhhomheprhhosggvrhhtsehrrhgsrhhushhsvghllhdrtghomhen ucggtffrrghtthgvrhhnpedtvdefieduffeiheeiieegieejleetveevhfevtdfhkeeike efffeigfffteetteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpehrohgsvghrthesrhhrsghruhhsshgvlhhlrdgtohhm X-ME-Proxy: Feedback-ID: ie421460a:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 8AD1FC60093; Tue, 9 Jan 2024 07:24:12 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1364-ga51d5fd3b7-fm-20231219.001-ga51d5fd3 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Message-Id: <1173b407-cb6f-4e21-af87-4f1755bfb292@app.fastmail.com> In-Reply-To: References: Date: Tue, 09 Jan 2024 06:23:15 -0600 From: robert@rrbrussell.com To: freebsd-current@freebsd.org Subject: Re: noatime on ufs2 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.19 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; DMARC_POLICY_ALLOW(-0.50)[rrbrussell.com,quarantine]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.26]; R_DKIM_ALLOW(-0.20)[rrbrussell.com:s=fm2,messagingengine.com:s=fm2]; RWL_MAILSPIKE_GOOD(-0.10)[66.111.4.26:from]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.26:from]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; ASN(0.00)[asn:19151, ipnet:66.111.4.0/24, country:US]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEFALL_USER(0.00)[robert]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim]; FROM_NO_DN(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[rrbrussell.com:+,messagingengine.com:+] X-Rspamd-Queue-Id: 4T8VV46qk8z4r7r On Tue, Jan 9, 2024, at 04:47, void wrote: > On Mon, Jan 08, 2024 at 12:41:02PM -0800, Xin LI wrote: >>On Sun, Jan 7, 2024 at 5:27=E2=80=AFAM void wrote: >> >>> Hi, >>> >>> Does /var/mail still need atime? >>> >>> I've installed a ufs2-based -current main-n267425-aa1223ac3afc on >>> rpi4/8BG which installs into one / . If it's mounted with noatime, >>> will it have consequences for /var/mail ? >> >> >>It doesn't matter if you don't normally receive emails locally (nowada= ys, >>it's rare). > > I read the periodic ones locally > >>If you do receive emails locally, it depends on what application(s) th= at >>you are using. =20 > > In this type of context it'll be either exim or dma with mutt used for= reading > the emails. It'll be in whatever the default format is (mbox?) set mbox_type=3DMaildir forces Mutt to use the Maildir format. I remembe= r one or more of Postfix, Procmail, Mutt, and Dovecot assuming the Maild= ir format for any folder or spool file that ended in a /.=20 > >>Most applications nowadays check both mtime and atime plus >>sizes of the mailbox file and do not rely on atime (because they saved= the >>previous mtime). Without atime updates, some application may claim th= at >>you have new mail when the mailbox is not empty when they first start. >> >>That's said, if I were you and I'm using some flash based storage (wit= h rpi >>it's highly likely) regardless if I'm using mail locally; most of the = time >>the data is not really useful for anything, and it does increase the w= ear >>of your storage. > > Good to know. When installing, the opportunity to define partitions > didn't arise because the image was installed by dd to > media that will run the system (in this case a hard disk) > > I was concerned that email might not work right without atime. > So far, it seems to be working OK. > > My fstab in part looks like this: > > /dev/ufs/rootfs / ufs rw,noatime,async 1 1 > > (async is fine because the system won't be used for data that > needs to be kept locally, and it's connected to a UPS) > --