delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <20110401082125.GB25000@calimero.vinschen.de> |
References: | <AANLkTik1TuKTAKiCxoUeT4UCPq4X_iNzQkptAgkEnVy9 AT mail DOT gmail DOT com> <20110401082125 DOT GB25000 AT calimero DOT vinschen DOT de> |
Date: | Fri, 1 Apr 2011 13:22:19 -0400 |
Message-ID: | <AANLkTik+hnNt8q44Vr7Of2C3+7gVg8Ehe2vmgQQPQ4aQ@mail.gmail.com> |
Subject: | Re: changing home directory |
From: | Mirko Vukovic <mirko DOT vukovic AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Cc: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
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. =A0But 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. =A0But 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. =A0The fstab changes won't > be visible until you "restart" your Cygwin session. =A0Alternatively, 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |