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:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id :references:to; q=dns; s=default; b=A/KrVaQMihwyP2IHXjKix/ugrRdu YRCSBCelh95P+A84VJ58uNEObt8Aqr2qoX2opQaYoRHEHu/Ms+OIl27Up4yoKISk b9ZtQolWFftIyE1JW1a6dLSTM3QDxd55Tvk9Y+jC4cxKLHp/8jW9dxrORLwWVygc d3rjBXRm2LKTkr0= 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:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id :references:to; s=default; bh=zn6W+eDgsI/Eo12+7FZv7UJP8A4=; b=K9 Jj3cAF+4h8Yf5pMjjzy5TLoOY3vJCQSVyErLynUr9RJ6W7N54JYo0/mguOJhVEaF nFuKbs748jCG1MciA1dayDNPU1TM7bOERO5ZvXsNXLrg2c7yVt7lw6BYieXABgL2 Im6E/Sp1pihxw7TqcMHoLU3fF8lmo3HFGdt2NqTmk= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_20,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-HELO: smtp5-g21.free.fr Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.35-0.1 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: text/plain; charset=utf-8 From: Denis Excoffier In-Reply-To: <2F8A6D52-E4D9-48D0-BC21-13213AAC9F4B@etr-usa.com> Date: Fri, 13 Feb 2015 22:30:31 +0100 Cc: The Cygwin Mailing List Message-Id: References: <74410B36-A057-483B-AAA3-20C15934374E AT Denis-Excoffier DOT org> <2F8A6D52-E4D9-48D0-BC21-13213AAC9F4B AT etr-usa DOT com> To: Warren Young Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t1DLUoAh019501 On 2015-02-13 22:04, Warren Young wrote: > >> On Feb 13, 2015, at 11:30 AM, Denis Excoffier 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/ prefix > > I don’t think you should use %H when that directory might contain spaces. It’s likely to cause many problems. 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). That way, using %H/%U/cygdir under both architectures would generate the right thing. 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 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 Good idea (a symlink would also do the job wouldn'it?) but i really don't need this. I don't like spaces in filenames either: they don't fit nicely in makefiles. Regards, Denis Excoffier. -- 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