Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Subject: Re: Wrong /home To: cygwin AT cygwin DOT com, lhall AT rfk DOT com, gp AT familiehaase DOT de X-Mailer: Lotus Notes Release 5.0.5 September 22, 2000 Message-ID: From: "Arthur I Schwarz" Date: Wed, 26 Sep 2001 09:22:07 -0700 X-MIMETrack: Serialize by Router on RWSMTA10/SRV/Raytheon/US(Release 5.0.8 |June 18, 2001) at 09/26/2001 09:22:10 AM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii 'cygcheck -s -r -v' output given below. The output shows that my home directory is: HOME = `/cygdrive/c/home2/schwarza' which is incorrect. This was my home directory under Cygwin-B20.1 but I thought that when I uninstalled B20.1 that all residual information was removed. In any case, I've tried to find just where HOME is exported during 'bash --login -i' and have not been successful. What I have found is that in bash-2.05-7/shell.c there is a reference to 'getpwuid' in 'login' processing, which references /etc/passwd for information. I changed my 'name' in /etc/passwd and verified that this change was in the output prompt, currently a two liner. First line is '@', which in my case is 'schwarza AT ARTHURSC'. But the home directory in /etc/passwd isn't used. Instead, the home directory used for the uninstalled B20.1 becomes my new home. I would like to look at 'getpwuid' to find out what it does. Anyone know where it might be located? I would really like to find out where in the 'login' the HOME directory is found and exported. I intend to keep 'looking at the code' until it's found. The last point is that I changed the Registry after the initial problems where detected. This accounts for key entries of: /.../cygnus solutions and /.../cygnus solutions' and I do note that under /.../cygnust solutions' the '02' mount correctly identifies my home directory as /root/home/schwarza, but it wasn't used initially and I don't know what to make of it now. art --------------------------------------------------------------------------------------- At 12:52 AM 9/26/2001, Arthur Schwarz wrote: After uninstall of B20.1 and installation of v1.3.3 my 'old' home directory (/cygdrive/c/home2/