From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21388 invoked by alias); 1 Oct 2012 17:50:09 -0000 Received: (qmail 21369 invoked by uid 22791); 1 Oct 2012 17:50:07 -0000 X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD,SPF_NEUTRAL,TW_YG X-Spam-Check-By: sourceware.org Received: from soapstone1.mail.cornell.edu (HELO soapstone1.mail.cornell.edu) (128.253.83.143) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 01 Oct 2012 17:50:01 +0000 Received: from authusersmtp.mail.cornell.edu (granite2.mail.cornell.edu [128.253.83.142]) by soapstone1.mail.cornell.edu (8.14.4/8.14.4) with ESMTP id q91Ho0f2008413 for ; Mon, 1 Oct 2012 13:50:01 -0400 (EDT) Received: from [128.84.234.242] (dhcp242.math.cornell.edu [128.84.234.242]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id q91HnxD3028628 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 1 Oct 2012 13:49:59 -0400 (EDT) Message-ID: <5069D7CA.6070902@cornell.edu> Date: Mon, 01 Oct 2012 17:50:00 -0000 From: Ken Brown 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> <5069BE59.5030303@malth.us> <5069C743.5090908@cornell.edu> <5069D273.6060507@cornell.edu> In-Reply-To: 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:49:59 2012 X-PMX-CORNELL-REASON: CU_White_List_Override X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-10/txt/msg00025.txt.bz2 On 10/1/2012 1:32 PM, Adam Kessel wrote: > On Mon, Oct 1, 2012 at 1:27 PM, Ken Brown wrote: >> 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? > > Yes. I just installed from scratch -- download setup.exe and specify a > new directory for install; then installed only bash and its > prerequisites. When I run the default cygwin.bat in the new directory, > I get: > > bash-4.1$ pwd > /usr/bin > bash-4.1$ echo $HOME > /home/avk > bash-4.1$ cd > bash: cd: /home/avk: No such file or directory So it appears that /etc/profile is not being run, since it would give you the message "/home/avk could not be created" if it tried and failed to create /home/avk. Also, it would set PS1, giving you a different prompt than the one above. I don't know what might cause /etc/profile to fail to run. BTW, cygwin.bat is no longer the recommended way to start a Cygwin shell. If you ask setup.exe to create a shortcut, it will create one that starts mintty. But I doubt if this is related to your problem. Two people in this thread have suggested that you check for BLODA, but you haven't responded to that. Also, you haven't yet attached cygcheck output as requested at http://cygwin.com/problems.html Ken 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