From owner-freebsd-current Tue Mar 19 18:52:21 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA23233 for current-outgoing; Tue, 19 Mar 1996 18:52:21 -0800 (PST) Received: from GndRsh.aac.dev.com (GndRsh.aac.dev.com [198.145.92.241]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id SAA23111 for ; Tue, 19 Mar 1996 18:51:48 -0800 (PST) Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.6.12/8.6.12) id SAA21958; Tue, 19 Mar 1996 18:47:41 -0800 From: "Rodney W. Grimes" Message-Id: <199603200247.SAA21958@GndRsh.aac.dev.com> Subject: Re: 2.2-960226-SNAP now on ftp.freebsd.org To: bde@zeta.org.au (Bruce Evans) Date: Tue, 19 Mar 1996 18:47:41 -0800 (PST) Cc: bde@zeta.org.au, freebsd-current@FreeBSD.org, joerg_wunsch@uriah.heep.sax.de In-Reply-To: <199603200228.NAA13275@godzilla.zeta.org.au> from "Bruce Evans" at Mar 20, 96 01:28:43 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > > >> >/.profile is a hardlink to /root/.profile. > > >It is very handy when booted single user as the root shell in that > >case has a home directory of / instead of /root. I am pretty sure > >that was the reason that CSRG added this link when they moved root's > >home directory from / to /root. > > Why didn't they set HOME=/root? You mean to have the kernel set this before it execs /bin/sh, I suppose you could do that. > >> The system-wide profile /etc/profile isn't installed. It should be > >> installed and contain only comments in it, like /etc/csh.login. > > >WHAT???: > >SkyRsh# ls -lag /etc/prof* > >-rw-r--r-- 1 root wheel 570 Mar 16 16:03 /etc/profile > > Oops. I must have been looking at the Lite2 part of the diff. > > >> Perhaps something like /etc/csh.cshrc should be implemented using > >> $ENV. > > >Oh, you mean it is not used by /bin/sh??? > > /bin/sh certainly doesn't source csh files. I meant that /bin/sh does not read /etc/profile, is that what you are talking about. -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Reliable computers for FreeBSD