delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/13/16:05:07

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=bZbhhyn2GVJoRU/Mif1JT54o9F8D
B1Ubb6wxutdFTKxLm9EUlw2C0kzH401eNPwNhpfiGgNWDenZLJpMb/S4VKPb5pHz
VnIJ1//PDiB3UyNuMcbh1uLURfzLzPGPOYlsi0cHpOsDvMn1lIDomL6V7CvSLgGV
uXu3tjAM/epXcfY=
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=5ii8L4xSL17mVZb/9hh7Qzev9jc=; b=Hj
pSAUdA0bwAonIBGiphdpMkCpDQ/xKtgiAv42F2cVKLQq7/KdHWeVinpVAuy9z3AQ
TeCfg1zekcsesQrfj9vNhd+klAlc1HxHMmVZ9D4O2R0MtfWZUMY1Iwncnl7zYXjh
zqhbASYUon74jXn9W9bRtPhw6Hy/g8UiL4twSiSQs=
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=0.1 required=5.0 tests=AWL,BAYES_50,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: <74410B36-A057-483B-AAA3-20C15934374E@Denis-Excoffier.org>
Date: Fri, 13 Feb 2015 14:04:42 -0700
Message-Id: <2F8A6D52-E4D9-48D0-BC21-13213AAC9F4B@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>
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 t1DL53cN017411

> On Feb 13, 2015, at 11:30 AM, Denis Excoffier <cygwin AT Denis-Excoffier DOT 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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019