delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
To: | cygwin AT cygwin DOT com |
From: | Andrew DeFaria <Andrew AT DeFaria DOT com> |
Subject: | Re: placing ~ on a network mapped drive. |
Date: | Tue, 20 Apr 2004 17:25:47 -0700 |
Lines: | 26 |
Message-ID: | <c64f27$5ej$1@sea.gmane.org> |
References: | <20040420224015 DOT 13610 DOT qmail AT web40907 DOT mail DOT yahoo DOT com> |
Mime-Version: | 1.0 |
X-Complaints-To: | usenet AT sea DOT gmane DOT org |
X-Gmane-NNTP-Posting-Host: | 12.9.207.201 |
User-Agent: | Mozilla Thunderbird 0.5 (Windows/20040207) |
In-Reply-To: | <20040420224015.13610.qmail@web40907.mail.yahoo.com> |
Ray wrote: > Hi, I've been reading the FAQ's and searching through the archives, > but am not able to find a way to make the current user's home > directory go outside of \cygwin\home. > > More specifically, I would like to have more control of user home > locations for backup and recovery puposes. Could anyone give some > insight into how to place the users' home directories outside of > \cygwin\home? Mapping to another drive would be preferable. Personally I don't map anything to any kind of drive letter! Why would you want to limit yourself to the 26 letters in the alphabet? What I do is mount the remote share to /home: $ mount -bsf //<server>/<share> /home Then adjust /etc/passwd to use /home/<username>. Note that the above mounting is for the share for all users such that an ls //server/share would list all user's home directory. Further you may need to adjust /etc/profile to set HOME to the value from /etc/passwd. -- Ambition is the last refuge of a failure. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |