From nobody Tue Feb 13 03:23:13 2024 X-Original-To: dev-commits-src-main@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 4TYmqj1zZNz59f79; Tue, 13 Feb 2024 03:23:13 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TYmqj1V06z45Dj; Tue, 13 Feb 2024 03:23:13 +0000 (UTC) (envelope-from danfe@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707794593; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=1C5M6OqCiXnmuG8ylEDXjyshHB/EVwRnZ9m49tXWKIg=; b=OgQrYu/OHZ9kjQzZyAznt8U5FuMLUbKVR52zPWPmnDdCuWdMvX+yMEUgdIE6o89erxI4CR q85YnlokTT6F4kgN+b2cFQhIoISE91djhPdxazKT5wCSYEAW5IQBUnkMrfUHH1nO48smE9 YeZSBobiNIelMglEEhwdnhY/pI9jU3jRi5EkaHqhxpoTijLmQG+BDPEjCKJ9YmdI+SZn+o wLTdm/E5otwumj4xeh7NrczEs0tXdp+15FwmdPeGkrEgf5dDlC6NboptFhES8k4mO2y7ij O2FU1bi3BBJIqGw1bxig/G2yKLDNSZ11veKDHJXvS/DuL3c7s8jDnoBjyRKA5g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707794593; a=rsa-sha256; cv=none; b=jtsxddTvWcbsXM7O8R3HOKmdr2xzFrUBscm5Gix1O224i8loR2xGmZTYmCyUzsr2Z7jJe2 yUBAFd6x5Vs4QLpyVMod4//EKV/OwL8Onh38r5UVVKqMXblgmPi7LYPu6bZNaZJomJIU5B jQpc8GQiMXKq5VUiC/U3wmfLr6jqjSEh1bRpmQhZjwnIeg2Uu3U9+y3KwPoiGWO6ZkEfMA isVdeQCLVC4yS2Av0GlK2FzaDcSEY0mX/NjlYilANC+ARfzKwxz5cQzuj6CjFLwyb/VIGw 5bv1W6N+90y9YIZcnlFbE5PWfGykW/nr2+Zmy6jm2zqV094l+TydtgLtXZuSAQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707794593; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=1C5M6OqCiXnmuG8ylEDXjyshHB/EVwRnZ9m49tXWKIg=; b=kej2eok4JkDWYJt55uE0gG7S2V9aHHX/Ms9tCqpDBOcQtSI3KtgMGnc4ouB7JRZFA7buJb mCMad2lrm2aBORHK10DQD5GQwHc7P2X2XLGGUFuAQYdmSM5WafZIKCJrJH4x17X/czYi39 L/VVNNEiP8Uv1cOFjPmVnBbn8yYCmccjTdrDuw06zDNE/Dw7m38K5JhKTjTfqp0YYumpSp d6+HSRdfaCiw5p496ADSJ/jYnHQj9Ozu84Pk+tI7F/eZHFRIJ/qFbEa4ZXhOjIOF+8GZvF iZ+H3Ku33X4XyE5qG5I+qeSLHhVigcjM/btZgYZtcoGHkqSuNwqoXtqKgd6T+Q== Received: by freefall.freebsd.org (Postfix, from userid 1033) id 1654F2298C; Tue, 13 Feb 2024 03:23:13 +0000 (UTC) Date: Tue, 13 Feb 2024 03:23:13 +0000 From: Alexey Dokuchaev To: Ed Maste Cc: 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 the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202402121425.41CEPmxI075183@gitrepo.freebsd.org> 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. ./danfe