Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 2023 03:37:53 +0100
From:      Jamie Landeg-Jones <jamie@catflap.org>
To:        grahamperrin@gmail.com, freebsd-current@FreeBSD.org
Subject:   Re: etcupdate -B, /.cshrc and /.profile
Message-ID:  <202308230237.37N2brSh029907@donotpassgo.dyslexicfish.net>
In-Reply-To: <ad0c7ea1-e44b-1748-1589-8e9f2f0a25fd@gmail.com>
References:  <ad0c7ea1-e44b-1748-1589-8e9f2f0a25fd@gmail.com>

index | next in thread | previous in thread | raw e-mail

Graham Perrin <grahamperrin@gmail.com> wrote:

> If I recall correctly, a few hours ago etcupdate -B resulted in removal 
> of two files:
>
> /.cshrc
> /.profile
>
> Is this degree of checking/removal a novelty?
>
> (I can't recall the files' contents, or when I created them. I guess 
> that I carelessly created them as dot files months ago without realising 
> that I wasn't at ~, I don't mourn their loss.)

For as long as I can remember, (as far back as FreeBSD 2.2.7 in 1998) all
FreeBSD installs have /.cshrc and /profile as hardlinks to /root/.cshrc and
/root/.profile .

Removing them both is one of the first things I do when I install a new
system from install-media.

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?

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.

Jamie


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308230237.37N2brSh029907>