This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.35-0.1
- From: Warren Young <wyml at etr-usa dot com>
- To: The Cygwin Mailing List <cygwin at cygwin dot com>
- Date: Fri, 13 Feb 2015 14:04:42 -0700
- Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.35-0.1
- Authentication-results: sourceware.org; auth=none
- References: <announce dot 20150212202323 dot GI7818 at calimero dot vinschen dot de> <74410B36-A057-483B-AAA3-20C15934374E at Denis-Excoffier dot org>
> On Feb 13, 2015, at 11:30 AM, Denis Excoffier <cygwin@Denis-Excoffier.org> wrote:
>
> I tried (according to the new documentation):
>
> db_home: /%H/%U/cygdir
>
> and that was fine but %H was replaced by the
> /cygdrive/C/Document and Settings/<user> prefix
I donât think you should use %H when that directory might contain spaces. Itâs likely to cause many problems.
> i was
> expecting the /cygdrive/C/Home/<user> prefix instead.
In that case, I recommend
db_home: /cygdrive/c/Home/%U
I may be misunderstanding your desire. If you actually want Cygwin home directories under c:\Documents and Settings, you can combine nsswitch.conf settings with a custom mount point in fstab to avoid the need for spaces in $HOME:
C:/Documents\040and\040Settings /home ntfs binary 0 0
Now you can say something like this in nsswitch.conf:
db_home: /home/%U
--
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