From nobody Wed Aug 23 03:44:17 2023 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 4RVsXL6yZJz4qtQk for ; Wed, 23 Aug 2023 03:44:18 +0000 (UTC) (envelope-from jamie@catflap.org) Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [IPv6:2001:19f0:7400:8808:123::1]) by mx1.freebsd.org (Postfix) with ESMTP id 4RVsXL5c0jz3T98 for ; Wed, 23 Aug 2023 03:44:18 +0000 (UTC) (envelope-from jamie@catflap.org) Authentication-Results: mx1.freebsd.org; none X-Catflap-Envelope-From: Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [209.250.224.51]) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5) with ESMTP id 37N3iHto032843; Wed, 23 Aug 2023 04:44:17 +0100 (BST) (envelope-from jamie@donotpassgo.dyslexicfish.net) Received: (from jamie@localhost) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5/Submit) id 37N3iHJF032842; Wed, 23 Aug 2023 04:44:17 +0100 (BST) (envelope-from jamie) From: Jamie Landeg-Jones Message-Id: <202308230344.37N3iHJF032842@donotpassgo.dyslexicfish.net> Date: Wed, 23 Aug 2023 04:44:17 +0100 Organization: Dyslexic Fish To: mike@karels.net, jamie@catflap.org Cc: grahamperrin@gmail.com, freebsd-current@FreeBSD.org Subject: Re: etcupdate -B, /.cshrc and /.profile References: <202308230237.37N2brSh029907@donotpassgo.dyslexicfish.net> <563EEA5B-0624-4EB3-BCB3-DD8A8F57C3A9@karels.net> In-Reply-To: <563EEA5B-0624-4EB3-BCB3-DD8A8F57C3A9@karels.net> User-Agent: Heirloom mailx 12.4 7/29/08 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=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (donotpassgo.dyslexicfish.net [209.250.224.51]); Wed, 23 Aug 2023 04:44:18 +0100 (BST) X-Rspamd-Queue-Id: 4RVsXL5c0jz3T98 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:7400::/38, country:US] Mike Karels wrote: > Both sets have been present since 4.3-Reno in 1990, although they were > apparently not links. Well before my time! > > > Removing them both is one of the first things I do when I install a new > > system from install-media. > > Why? Because I don't use them > > If etcupdate is now removing them, maybe there has been an update to the src > > distribution / mntree so that this historical weirdness has finally been removed? > > It is not weird. /.profile and /.cshrc are used in single-user mode, the ones > in /root are used for root logins. Ah yeah, that would make sense, I guess. I remember my first unix systems, the default home for the root login was / so there was no /root duplication of those files. > > If you have a /root/.cshrc and /root/.profile, try doing an ls -c on them to > > see if their changed-date is when you did the etcupdate. > > They were modified by the removal of $FreeBSD$ a few days ago at the next > etcupdate. Ahhhh. That idea won't work then! Cheers