From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26131 invoked by alias); 1 Apr 2011 17:22:26 -0000 Received: (qmail 26118 invoked by uid 22791); 1 Apr 2011 17:22:24 -0000 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 Received: from mail-yx0-f171.google.com (HELO mail-yx0-f171.google.com) (209.85.213.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 01 Apr 2011 17:22:20 +0000 Received: by yxe42 with SMTP id 42so1831806yxe.2 for ; Fri, 01 Apr 2011 10:22:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.250.5 with SMTP id x5mr4064609ybh.174.1301678539257; Fri, 01 Apr 2011 10:22:19 -0700 (PDT) Received: by 10.147.35.7 with HTTP; Fri, 1 Apr 2011 10:22:19 -0700 (PDT) In-Reply-To: <20110401082125.GB25000@calimero.vinschen.de> References: <20110401082125.GB25000@calimero.vinschen.de> Date: Fri, 01 Apr 2011 17:22:00 -0000 Message-ID: Subject: Re: changing home directory From: Mirko Vukovic To: cygwin@cygwin.com Cc: Corinna Vinschen Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-04/txt/msg00012.txt.bz2 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