delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/29/23:56:48

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <carlo AT astra DOT ph>
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: <BAY1-F122Z2K4xDh9vX000032b2 AT hotmail DOT com>


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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019