delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/30/08:45:44

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
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Thorsten Kampe <thorsten AT thorstenkampe DOT de>
Subject: Re: cd'ing to /
Date: Thu, 30 Jan 2003 14:45:29 +0100
Lines: 24
Message-ID: <jfskyne7ke6l.dlg@thorstenkampe.de>
References: <BAY1-F122Z2K4xDh9vX000032b2 AT hotmail DOT com>
Mime-Version: 1.0
X-Complaints-To: usenet AT main DOT gmane DOT org
User-Agent: 40tude_Dialog/2.0.3.1

* Virginia Mann (03-01-30 05:36 +0100)
> My "/" is mounted at C:\cygwin, which is sensible. The FAQ warns us that 
> making / point at C:\ is a bad idea.

*/Installing/* Cygwin to C:\ is bad.
 
> [massive snip]
> How do I change my home to the Cygwin root?

You don't want that. /etc/profile creates your home directory and sets 
$HOME according to your user id and /etc/passwd:
USER="`id -un`"
HOME="/home/$USER"
But only if $HOME is not already set.

Open a DOS command prompt (COMMAND.COM, CMD.EXE) and type "SET HOME". 
If this doesn't point to C:\cygwin\home\virginia, delete or adjust the 
entry in AUTOEXEC.BAT or control panel > system > [...].

Thorsten
-- 
 Content-Type: text/explicit; charset=ISO-8859-666 (Parental Advisory)
 Content-Transfer-Warning: message contains innuendos not suited for
 children under the age of 18


--
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