www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:content-type:mime-version:subject:from | |
:in-reply-to:date:content-transfer-encoding:message-id | |
:references:to; q=dns; s=default; b=naq/Y/RnE+z5b/mDhJ4ixZrT5gmq | |
VC16OH+anXHwAU7WN5hK6PwFylVIYITqDYgL8yF7H3dPDoeo4D2L+nKb9bVZ442q | |
r5iEr7lhIf4cQNopyjmRANiJytOpVBPBm9jhd5vsgI/cQXbBbtAHpCY4kTrJKi9H | |
o8eYRhfoaE73Vo8= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:content-type:mime-version:subject:from | |
:in-reply-to:date:content-transfer-encoding:message-id | |
:references:to; s=default; bh=yzfLF4BB/pVOe64WIGXvB4/gchE=; b=g4 | |
B2uOEA6BIXor+oJ43a/vN6xzdb+Pt1Fb4CwCt/8NOraWenyZZdakbxrM0leIOvH9 | |
gME7Xb90zsmy2c3ye8/H0lqaXRer2czrS2u+xyxd9D6/tkRGnAA/XWoQuxv+lYto | |
ETMNyvSzOq+NULPEEsLzc7E4n6Hjmu7NoSV5JJjsU= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-1.2 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 |
X-HELO: | etr-usa.com |
Mime-Version: | 1.0 (Mac OS X Mail 8.2 \(2070.6\)) |
Subject: | Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.35-0.1 |
From: | Warren Young <wyml AT etr-usa DOT com> |
In-Reply-To: | <A2F3E911-AA9A-4CFD-ACA7-9C5269339F92@Denis-Excoffier.org> |
Date: | Fri, 13 Feb 2015 14:47:14 -0700 |
Message-Id: | <3EA256B1-DF23-4633-A6E7-6A73EB303228@etr-usa.com> |
References: | <announce DOT 20150212202323 DOT GI7818 AT calimero DOT vinschen DOT de> <74410B36-A057-483B-AAA3-20C15934374E AT Denis-Excoffier DOT org> <2F8A6D52-E4D9-48D0-BC21-13213AAC9F4B AT etr-usa DOT com> <A2F3E911-AA9A-4CFD-ACA7-9C5269339F92 AT Denis-Excoffier DOT org> |
To: | The Cygwin Mailing List <cygwin AT cygwin DOT com> |
X-IsSubscribed: | yes |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id t1DLlV6E021073 |
> On Feb 13, 2015, at 2:30 PM, Denis Excoffier <cygwin AT Denis-Excoffier DOT org> wrote: > > On 2015-02-13 22:04, Warren Young wrote: >> >> I don’t think you should use %H when that directory might contain spaces. > > You misunderstand. I don't need this stupid 'Document and Settings' thing. I need %H to represent my home dir, that means > /cygdrive/d/Home/myuser1 on this XP P3 (a corporate one) and /cygdrive/c/Users/myuser2 on this W7 (another corporate). In that case, I think you just want db_home: /%H %H already expands to a directory that contains your Windows user name. You don’t need to add %U to it. > But currently, on XP SP3, the %H is replaced by '/cygdrive/d/Document and Settings/myuser1' which i'm pretty > close to consider as a bug. Should be '/cygdrive/d/Home/myuser1' i suppose. I’d be stunned if cygwin1.dll is hard-coding that string. It must be getting it from somewhere. I would do a registry scan to see if there is still some setting that still refers to c:\Documents and Settings. I’m guessing you didn’t change everything needed when you moved your home directory. Alternately, you can just force it: db_home: /cygdrive/d/Home/%U This is a per-machine configuration file, after all, so there should be no shame in doing per-machine hacks when the “correct” solution is more difficult than it’s worth. >> C:/Documents\040and\040Settings /home ntfs binary 0 0 > > Good idea (a symlink would also do the job wouldn'it?) Symlinks don’t have exactly the same semantics as mount points. Mount points are absolutely transparent, whereas symlinks can do strange things: $ mkdir foo $ touch foo/bar $ ln -s foo foo2 $ ls foo2 foo2@ $ ls foo2/ bar The requirement for a trailing slash to give directory-like behavior is annoying. Mount points prevent that annoyance. -- 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 |