Re: etcupdate -B, /.cshrc and /.profile
- Reply: Mike Karels : "Re: etcupdate -B, /.cshrc and /.profile"
- In reply to: Graham Perrin : "etcupdate -B, /.cshrc and /.profile"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Aug 2023 02:37:53 UTC
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