This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: cd'ing to /
- From: Thorsten Kampe <thorsten at thorstenkampe dot de>
- To: cygwin at cygwin dot com
- Date: Thu, 30 Jan 2003 14:45:29 +0100
- Subject: Re: cd'ing to /
- References: <BAY1-F122Z2K4xDh9vX000032b2@hotmail.com>
* 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/