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 Message-Id: <4.3.1.2.20011119140434.021fac20@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Mon, 19 Nov 2001 14:21:18 -0500 To: Garrett Anderson , cygwin From: "Larry Hall (RFK Partners, Inc)" Subject: RE: Setup Failed to Create /home directory (virtual cygwin root has changed) In-Reply-To: <3BF95478.2000008@dirsec.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 01:50 PM 11/19/2001, Garrett Anderson wrote: >Hello Cygwin -- > >I ran environ. test described below and received following: > >DOS (via Win2k) > > Microsoft Windows 2000 [Version 5.00.2195] > (C) Copyright 1985-2000 Microsoft Corp. > > C:\>echo %HOME% > %HOME% > > >Cygwin Bash: > > garretta AT P233 ~ > $ echo $HOME > /cygdrive/c > >Again, this is not a config. change on my end but only occurred after recent cygwin module update. I searched for "home" and "bash" together and found nothing obvious. Actually, I found at least a dozen related messages for bash and some additional ones popped up regarding OSTYPE when I went looking (as a result of your mail message). Here's two that I found very pertinent. http://sources.redhat.com/ml/cygwin/2001-11/msg01014.html http://sources.redhat.com/ml/cygwin/2001-11/msg01009.html >I would expect a code change such as this to be documented for all (probably is somewhere). Good guess. It is documented in the announcement from Chet Ramey of the availability of bash-2.05a: http://sources.redhat.com/ml/cygwin/2001-11/msg00894.html >Pls help... -GA Best I can do. See if you can make this information work for you. I remember seeing more discussions on this subject as well, although they may have been on the Cygwin developers list (which you may want to check). Sorry, I can't remember more specific pointers and I can't take the time now to go chasing it down for you. >> RE: Setup Failed to Create /home directory >> >> * /To/: >> * /Subject/: RE: Setup Failed to Create /home directory >> * /From/: "David Hawkins" >> * /Date/: Mon, 12 Nov 2001 18:01:58 -0800 >> >>------------------------------------------------------------------------ >> >>Try to see if this variable is set in Windows >>by opening a DOS console and typing >> >>echo %HOME% >> >>On my setup I get >> >>Cygwin bash: >> echo $HOME >> /home/dwh >> >>DOS console: >> echo %HOME% >> %HOME% >> >>i.e., there is no HOME enviroment variable setup, >>yet the Bash shell generates one within its >>environment space. >> >>If you happen to get >> >>DOS console >> echo %HOME% >> c:/ >> >>then it would explain why you see /cygdrive/c >>under Bash. >> >>Dave >> >> >> >>>-----Original Message----- >>>From: Daniel Meier [mailto:dmeier AT crosstrust DOT com] >>>Sent: Monday, November 12, 2001 5:42 PM >>>To: David Hawkins >>>Subject: Re: Setup Failed to Create /home directory >>> >>> >>>echo $HOME >>>/cygdrive/c >>> >>>----- Original Message ----- >>>From: "David Hawkins" >>>To: >>>Cc: >>>Sent: Monday, November 12, 2001 5:37 PM >>>Subject: RE: Setup Failed to Create /home directory >>> >>> >>> > I noticed that when HOME is setup as an environment >>> > variable, that /home/ does not get setup. >>> > >>> > Try echo $HOME from Cygwin Bash and see what happens. >>> > I found that when you remove the HOME environment vairable >>> > (as defined with Windows), then /home/ is created. >>> > >>> > I'm not to sure of the reasons for this observed >>> > functionality, but hey, here's something to try >>> > anyway. I'm sure others will reply with more >>> > wisdom. >>> > >>> > Dave >>> > >>> > >>> > > -----Original Message----- >>> > > From: cygwin-owner AT sources DOT redhat DOT com >>> > > [mailto:cygwin-owner AT sources DOT redhat DOT com]On Behalf Of >>> > > dmeier AT tango DOT crosstrust DOT com >>> > > Sent: Monday, November 12, 2001 5:06 PM >>> > > To: cygwin AT cygwin DOT com >>> > > Subject: Setup Failed to Create /home directory >>> > > >>> > > >>> > > 2001/11/09 09:11:06 Starting cygwin install, version 2.78.2.15 >>> > > >>> > > I ran into a problem with my terminal (similar to :"WARNING: terminal >>> > > is not fully functional" and pro blems with vi" mail archive) so I >>> > > uninstalled and reinstalled cygwin. After the reinstall I still had >>> > > the problem described above, plus I didn't have a home directory or a >>> > > user directory (I'm sure the previous install created these for me). >>> > > Also, when I start cygwin from the shortcut (I'm on NT4) I end up in >>> > > the /cygdrive/c directory instead of somewhere down in >>> > > /cygdrive/c/cygwin... (where ... should be /home/meierd). >>> > > >>> > > I've reviewed my setup.log and setup.log.full but everything >>> > > looks normal there, no errors reported, but no log messages >>> > > indicating directories being created either). >>> > > >>> > > I've partially solved the terminal problem (unset TERMINFO; >>> > > export TERM=cygwin) although I've got to fix it everytime I >>> > > launch a new cygwin window. I want to add the fix to my .profile >>> > > but I don't even have a user directory. >>> > > >>> > > I've seen some posts that indicate I may need to do 'adduser' or >>> > > 'useradd' or some such? >>> > > >>> > > Is there another solution to the terminal problem (like fixing >>> > > the root cause for why it went sour)? >>> > > >>> > > My cygwin.bat file contains: >>> > > @echo off >>> > > >>> > > C: >>> > > chdir \cygwin\bin >>> > > >>> > > bash --login -i >>> > > >>> > > Any help? >>> > > Thanks. >>> > > Dan >>> > > > > > >-- >Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >Bug reporting: http://cygwin.com/bugs.html >Documentation: http://cygwin.com/docs.html >FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/