delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/16/14:40:51

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.7 required=5.0 tests=AWL,BAYES_50,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4C698619.9060902@tlinx.org>
Date: Mon, 16 Aug 2010 11:40:25 -0700
From: Linda Walsh <cygwin AT tlinx DOT org>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.24) Thunderbird/2.0.0.24 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: Where's my home? (lost in my domain)
References: <4C59234F DOT 8060408 AT tlinx DOT org> <4C59C648 DOT 8050404 AT cygwin DOT com>
In-Reply-To: <4C59C648.8050404@cygwin.com>
X-Stationery: 0.4.10
X-IsSubscribed: yes
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

Larry Hall (Cygwin) wrote:
> On 8/4/2010 4:22 AM, Linda Walsh wrote:
>> When I log in, I seem to be placed in "/Users/law.Bliss".
>>
>> IF I type "cd" and hit return, then I'm in "//Bliss/law".
In other words, the value of HOME is....

>> [My home vars:]
>> HOME='//Bliss/law'
>> HOMEPATH='\'    HOMEDRIVE='i'   HOMESHARE='\\BLISS\law'
>>
>> My /etc/password for user "Bliss\law" (why "\" and not "/"?)
>> has "//Bliss/law".
> 
> Ask Microsoft.  It's their convention.
=== (side question)
  Cygwin doesn't generally follow Microsoft conventions for pathnames.  
  It substitutes forward-slash for backslash.  Since my
  user ID is a path of the form <host|domain>[SEP]<user>, out of
  idle curiosity, I wondered why foward slash wasn't also used
  in user pathnames as it was for file pathnames.  Not really 
  my central question, 
but I completely missed emphasizing it, so let me retry:

Wwhen I start a cygwin window (what I lazily called
'logged in'), I am placed in "/Users/law.Bliss" (on drive C).

Nothing in my home variables or /etc/passwd file mentions
/Users/law.Bliss.  I.e. when I press "cd" and hit return, it
uses the value of HOME (as properly derived via step 2 as
mentioned in /etc/profile) to place me in "//Bliss/law".

So why am I   *starting out*  in /Users/law.Bliss when it
isn't mentioned anywhere?


Linda

  (That was my main question. Sometimes, in describing a problem, 
  I ask too many side questions and forget to emphasize the actual 
  question I was writing about...at least it was my 1st line!  
  *sigh*)



--
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