From nobody Tue Jan 09 10:47:05 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 4T8SL434rjz575Pr for ; Tue, 9 Jan 2024 10:47:08 +0000 (UTC) (envelope-from void@f-m.fm) 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 4T8SL36kPFz4b3B for ; Tue, 9 Jan 2024 10:47:07 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm2 header.b=TPHhpTKi; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="K fnx1Jg"; dmarc=pass (policy=none) header.from=f-m.fm; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 66.111.4.26 as permitted sender) smtp.mailfrom=void@f-m.fm Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id D3B155C0388 for ; Tue, 9 Jan 2024 05:47:07 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 09 Jan 2024 05:47:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; 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=1704797227; x=1704883627; bh=mh15CXfClxpxIlwUrULEo1imWHXfsH0RPRCgrChZteU=; b= TPHhpTKiBNYNlJEiixiVMWV4ZDPOGdmMv/eHzR5ubdqIrSEvLcJy/p8fBDvEgU5g tHENkXG6qMuUwYL4GHRA3+pOIVvcUmijiuSnmjSza98fC0ngjflNxSQ6Pikyh1zF uqiuVi//O0qT2gtSmURsXfsxg/pgW5qMBhGnaleL2aRIxCMYnIp+skmDKuPQXTKM gK0bQICGYVtRg193pc+Hh9Bohac4B/sgS8oZzXla0DudI3DnYPQM/ivosuvfgZMj RKR6nxc81yJNkMvrpSZge21/ILWjS6hV4jl6LceMm23x+qf48NN9WB3FC2gZEeJp 1UKFoXaJu6nZ30lOkVidIg== 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=1704797227; x= 1704883627; bh=mh15CXfClxpxIlwUrULEo1imWHXfsH0RPRCgrChZteU=; b=K fnx1JgeCvGZLOjep8ymHdiMnlAFQkxeKjq/4ChEjxKnOqbNZThwFLT79eCZjJPVx 78TwteKAdtu4pM7QPuTh1l40F81jgrmGvX6TejRC9G2NL8ek/oSwKkZ1tR/u0d+1 mUUGRX8gnGfJVmK2V6iJ3/SdHd4XWIZKI+mJ0iPekUznoJ0JFbVr9l70X9ZWLT6V d3Qm7oBVL2kx5oJ/4zcyrywIUOAU/7CfKknhqelBa37z3pOgtLQfBhiHSHxpQoQc lAdxbyBEgbbbcHs/SQOJ1vWvho/TQ14RtycSlgKfZTnOKr+dini3SjTAmxJKcstc zZp1lc3rZH5cn8eas1yyg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdehledgudelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggugfgjsehtke ertddttdejnecuhfhrohhmpehvohhiugcuoehvohhiugesfhdqmhdrfhhmqeenucggtffr rghtthgvrhhnpeduteevgeeggeevieetvdduudetfffffffhteejgffggeevjeffiedute eftedvkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehvohhiugesfhdqmhdrfhhm X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Tue, 9 Jan 2024 05:47:07 -0500 (EST) Date: Tue, 9 Jan 2024 10:47:05 +0000 From: void To: freebsd-current@freebsd.org Subject: Re: noatime on ufs2 Message-ID: Mail-Followup-To: freebsd-current@freebsd.org References: 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 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.70 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; MID_RHS_NOT_FQDN(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.26:c]; R_DKIM_ALLOW(-0.20)[f-m.fm: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]; FREEMAIL_FROM(0.00)[f-m.fm]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_THREE(0.00)[3]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; ASN(0.00)[asn:19151, ipnet:66.111.4.0/24, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; MISSING_XM_UA(0.00)[]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim] X-Rspamd-Queue-Id: 4T8SL36kPFz4b3B On Mon, Jan 08, 2024 at 12:41:02PM -0800, Xin LI wrote: >On Sun, Jan 7, 2024 at 5:27 AM 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 (nowadays, >it's rare). I read the periodic ones locally >If you do receive emails locally, it depends on what application(s) that >you are using. 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?) >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 that >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 (with 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 wear >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) --