X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: =?ISO-8859-1?Q?Ren=E9_Berber?= Subject: Re: Moving Home dir to another partition Date: Wed, 08 Mar 2006 12:07:41 -0600 Lines: 23 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable User-Agent: Thunderbird 1.5 (Windows/20051201) In-Reply-To: OpenPGP: url=ldap://keyserver.pgp.com X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Mool wrote: > 1) Cygwin Installed on C:\Cygwin (C: partition win winXP SP2) > 2) First run created /home/$USER in C:\Cygwin >=20 > how to MOVE my home dir in another partition D:, so I'll use > D:\cygwin\home\$USER? cp -rp /cygdrive/c/Cygwin/home/$USER /cygdrive/d/Cygwin/home Edit /etc/passwd changing $USER's line with the new home (i.e. from /home/$= USER to /cygdrive/d/Cygwin/home/$USER) _test it_, if it works then you can delete the old home directory. All this is assuming you haven't changed the cygdrive prefix. And if you do change it in the future the new $HOME will not work, you'll have to edit pa= sswd again. --=20 Ren=E9 Berber -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/