From nobody Tue Feb 13 16:39:21 2024 X-Original-To: dev-commits-src-all@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 4TZ6VS0WRcz59Cch; Tue, 13 Feb 2024 16:39:28 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TZ6VR5ngHz4nwn; Tue, 13 Feb 2024 16:39:27 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Authentication-Results: mx1.freebsd.org; none Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id C33193C019A; Tue, 13 Feb 2024 16:39:21 +0000 (UTC) Date: Tue, 13 Feb 2024 16:39:21 +0000 From: Brooks Davis To: Alexey Dokuchaev Cc: Ed Maste , 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: References: <202402121425.41CEPmxI075183@gitrepo.freebsd.org> List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36236, ipnet:199.48.128.0/22, country:US] X-Rspamd-Queue-Id: 4TZ6VR5ngHz4nwn X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated 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