Date: Tue, 13 Feb 2024 16:39:21 +0000 From: Brooks Davis <brooks@freebsd.org> To: Alexey Dokuchaev <danfe@freebsd.org> Cc: Ed Maste <emaste@freebsd.org>, src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: fd1066bed67f - main - .profile: Don't bother checking for /home symlink Message-ID: <ZcubOdve-XVZWKq7@spindle.one-eyed-alien.net> In-Reply-To: <ZcrgoBXaJty2lwqx@FreeBSD.org> References: <202402121425.41CEPmxI075183@gitrepo.freebsd.org> <ZcrgoBXaJty2lwqx@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 13, 2024 at 03:23:13AM +0000, Alexey Dokuchaev wrote: > On Mon, Feb 12, 2024 at 02:25:48PM +0000, Ed Maste wrote: > > commit fd1066bed67f642ed01f5dd62b7b6cfb0a45fd4c > > > > .profile: Don't bother checking for /home symlink > > > > Since FreeBSD 14.0, user directories are created directly under /home. > > This check should no longer be needed. > > > > @@ -19,9 +19,6 @@ > > # set ENV to a file invoked each time sh is started for interactive use. > > ENV=$HOME/.shrc; export ENV > > > > -# Let sh(1) know it's at home, despite /home being a symlink. > > -if [ "$PWD" != "$HOME" ] && [ "$PWD" -ef "$HOME" ] ; then cd ; fi > > - > > The installer creates separate /home, individual hackers might want to > partition their drives the old way as / (root) + /usr (everything else), > so this check is probably still useful. Perhaps more likely to be an issue: not all FreeBSD 14 systems started as fresh installs. -- Brooks
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZcubOdve-XVZWKq7>