Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3E38B134.8030508@astra.ph> Date: Thu, 30 Jan 2003 13:59:32 +0900 From: Carlo Florendo User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cygwin AT cygwin DOT com CC: tuanglen AT hotmail DOT com Subject: Re: cd'ing to / References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Virginia Mann wrote: > I don't know whether this is a cygwin question or just a pure unix > question. I don't know as much as I should about either one yet. > > My "/" is mounted at C:\cygwin, which is sensible. The FAQ warns us > that making / point at C:\ is a bad idea. > > Unfortunately, when I type "cd" with no modifiers or "cd ~", it takes > me to /cygdrive/c, which is C:\. So, my home for some reason is the > root of the whole C: drive, which seems just as error prone to me as > if "/" were there. > > I've installed Cygwin on two machines, and the first one made / > (=C:\cygwin) my home directory. I don't know why this one gave me a > different home (I thought I just accepted the defaults in both > installations, but I may have been distracted and made a mistake), but > I'd like to change it. > > How do I change my home to the Cygwin root? > > Thanks. > > Open your /etc/profile and set HOME ="/home/$USER" or any other directory you want. Regards, Carlo -- 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/