This is the mail archive of the cygwin 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: setup.exe and mounting home directory in fstab


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


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