X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-3.5 required=5.0	tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
Message-ID: <5069D273.6060507@cornell.edu>
Date: Mon, 01 Oct 2012 13:27:15 -0400
From: Ken Brown <kbrown@cornell.edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: bash very slow in cygwin 1.7.16-1 Win7/64 bit
References: <5068AEF2.6040006@rosi-kessel.org>	<k4c63l$t93$1@ger.gmane.org>	<CAJCATqy_2TG8S=yWJ6uZUMvwKDSgZzsKRw+jfStN8KbVT1Dxgw@mail.gmail.com>	<5069BE59.5030303@malth.us>	<CAJCATqw0nRKs_aC+xsM0uPH4-gnFmSAyfranvGRiMtwcb-5vAA@mail.gmail.com>	<5069C743.5090908@cornell.edu> <CAJCATqx6Diwpid6TCkkrDaC5QErRdh7jAQ_KJ5Q7ajNzB-ddDw@mail.gmail.com>
In-Reply-To: <CAJCATqx6Diwpid6TCkkrDaC5QErRdh7jAQ_KJ5Q7ajNzB-ddDw@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-PMX-CORNELL-SPAM-CHECKED: Pawpaw
X-Original-Sender: kbrown@cornell.edu - Mon Oct  1 13:27:13 2012
X-PMX-CORNELL-REASON: CU_White_List_Override
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 10/1/2012 12:55 PM, Adam Kessel wrote:
> On Mon, Oct 1, 2012 at 12:39 PM, Ken Brown <kbrown@cornell.edu> wrote:
>>>> Did you at least try chainging your ${HOME} to somewhere normal and
>>>> seeing
>>>> what happens?  Perhaps SkyDrive has some feature that makes Cygwin crazy.
>>>> For example, your cygwin could have inotify listeners on ${HOME} which
>>>> could
>>> Yeah, I tried setting ${HOME} to /cygdrive/c and "c:\" and even just
>>> "/" with no change in results.
>> I don't know if this has anything to do with your problem, but I wouldn't
>> call any of these settings of $HOME "normal".  I think most people leave
>> $HOME unset, in which case it gets set to /home/username during a Cygwin
>> session.
>
> At least in my experience, standard cygwin install doesn't create
> anything under /home.

In a standard Cygwin install, the script 
/etc/postinstall/000-cygwin-post-install.sh runs 'mkpasswd -l -c > 
/etc/passwd', which sets the home directory for each user.  Normally 
this is /home/username, but you can check it by looking at /etc/passwd. 
  Then the first time you start a shell, /etc/profile creates the home 
directory (as specified in /etc/passwd) if it doesn't exist.  This 
assumes that HOME is not set in the Windows environment.  Are you seeing 
something different?

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

