This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cd'ing to /


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]