public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Mirko Vukovic <mirko.vukovic@gmail.com>
To: cygwin@cygwin.com
Cc: Corinna Vinschen <corinna-cygwin@cygwin.com>
Subject: Re: changing home directory
Date: Fri, 01 Apr 2011 17:22:00 -0000	[thread overview]
Message-ID: <AANLkTik+hnNt8q44Vr7Of2C3+7gVg8Ehe2vmgQQPQ4aQ@mail.gmail.com> (raw)
In-Reply-To: <20110401082125.GB25000@calimero.vinschen.de>

On Fri, Apr 1, 2011 at 4:21 AM, Corinna Vinschen  wrote:
> On Mar 31 17:55, Mirko Vukovic wrote:
>> Hi,
>>
>> I want to change my /home directory.
>> My windows HOME variable points to d: which is my user directory on the PC.
>> Currently, /home points to my home directory.  But because of some
>> issues with unison, I would like to change it
>> to /home/977315
>>
>> I tried:
>> > mkdir /home/977315
>> > vi /etc/fstab ... to point d: to /home/977315 (d: is my home directory)
>> > vi /etc/passwd to make my login directory /home/977315
>>
>> But when I open a new bash window, `cd ~' will still put me into
>> /home, and mount's output still points d: to /home.
>>
>> If I remove that windows variable HOME, my cygwin home directory
>> becomes /home/mv.  But the mount point d: is still pointing to /home,
>> disregarding the /etc/fstab setting
>>
>> What else should I do?
>
> Stop all your Cygwin processes and start again.  The fstab changes won't
> be visible until you "restart" your Cygwin session.  Alternatively, try
> `mount -a', see http://cygwin.com/cygwin-ug-net/using-utils.html#mount
>
>
> Corinna


Thank you.  Works now.

Mirko

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

  reply	other threads:[~2011-04-01 17:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-31 22:19 Mirko Vukovic
2011-04-01  8:21 ` Corinna Vinschen
2011-04-01 17:22   ` Mirko Vukovic [this message]
2011-07-25  3:00 Changing Home Directory ScKaSx
2011-07-25  3:50 ` Andrey Repin
2011-07-25  8:35 ` Corinna Vinschen
2011-07-25 15:49 ` Jason Curl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTik+hnNt8q44Vr7Of2C3+7gVg8Ehe2vmgQQPQ4aQ@mail.gmail.com \
    --to=mirko.vukovic@gmail.com \
    --cc=corinna-cygwin@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).