delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/09/19/21:16:11

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:reply-to:mime-version:to
:subject:references:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=StPqdvA4xlcvm4o/
MNZfUtfIoXRp19lMJer/ZjnQDVYIw0ki1cAdx6GR5JBuqGjNXEuYHezf+ZR0aRDH
SX05YtdTA12w4GvHrJEGkomJyU9rkqnSaWAFQwOlF72ozGw17YitXt0XNmW9v9F9
s2Y8LzrctT3chWuEwHhU3gueuMA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:reply-to:mime-version:to
:subject:references:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=CnfKyASAl5BbzeY4Amz156
Cxoxg=; b=YmzQgwNfKaOry/gPPnhbbxUBMYXq+FPwX39NoRL5KfNfoKzloc4ZDo
zt/lCFVPTGe5q2M8CAb9czN0hvlXFyEsjwN5VQh9YsaKaWv72+RO6hbWzv2aMgak
enraOyoVMU6Qe55AzlNUNgFDjF9GdxzobZTjFV9Lm4qim8KtPhcSw=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_50,KHOP_THREADED autolearn=ham version=3.3.2
X-HELO: vms173007pub.verizon.net
Message-id: <523BA1C0.5040601@cygwin.com>
Date: Thu, 19 Sep 2013 21:15:44 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: setup.exe and mounting home directory in fstab
References: <20130919111634 DOT 13610tplrmb3pu1u AT gator3323 DOT hostgator DOT com>
In-reply-to: <20130919111634.13610tplrmb3pu1u@gator3323.hostgator.com>

On 9/19/2013 12:16 PM, Rob Siklos wrote:
> Background:
>
> I wanted my /home directory to point to c:\Users rather than the
> out-of-the-box home directory created by cygwin.  In order to accomplish
> this, I deleted the existing home folder and created a soft link mapping
> /home to /cygdrive/c/Users.
>
> This works great, except that I notice that every time I run setup.exe, my
> soft link gets removed and a new profile is created for me the next time I
> open a Cygwin terminal.
>
> Every time this happens, I just delete the new /home folder and re-create
> the soft link.  However, this is getting annoying, so I'm looking for a
> different solution.
>
> My current solution is to just mount it in fstab with the following line:
>
>    c:/Users /home ntfs binary,posix=0,nouser
>
> This is working fine, but now I'm worried about what setup.exe will do to
> this folder the next time I update Cygwin.  Will it be safely left alone, or
> will my user profile get deleted?

'setup*.exe' won't change this.  Alternatively, you can set HOME in your
Windows environment to point to the directory you want as your home.
Either will work.

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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