delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/12/09/02:18:03

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:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=bUH
/h258FotvQa3BDL+1PRpFSfPdcDWdc6pxfedINqqgG6fAN3ls0haXzXAbFbo1+ms
IeVpAgYQ3BQCgv0mgn18JZZY6XhZr7RyVlYbTA0JQlxwvL+Lo3pqShSNvoOcvMn1
UUhnzS4Uu5n5SK5Q+ib3RmMLovEogWnOHZUBW000=
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:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; s=default; bh=RaYqwIBv6
lff83I9VMIdkVEjtPQ=; b=cwKWFmoTV+i9w2Yj+oaBUkce3srFOlVvOOA3nW+ZX
CfDajRCMjRQG0W54c9mTnWRGMD+Um4OgdEHzY9lJG1hwvHtwm+JZGWDRpBayMnn9
qxniC3THRbQ3mlgUQZ8sWX8XQKfljxUcf0SkQlE9wRxDEHIIuuV0Khl0AgQns0R1
00=
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-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_20,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.1 spammy=HTo:U*corinna-cygwin, H*M:pobox, H*MI:pobox, HX-Languages-Length:521
X-HELO: pb-smtp2.pobox.com
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=to:from :subject:message-id:date:mime-version:content-type :content-transfer-encoding; s=sasl; bh=ICAOPCYBdmMc5UI3l2wo4YX+V J4=; b=bmDaV+B13mBFa8pvPannhss6zPE/ABV88ulHBu6desWcfASgvgy1hc410 BZYyfzyn3qFxjDIxi3ZhJZ4S4tZbKHNic+slLOPEJcH7UxJye93aWffItTSCmViL 5gC3XbN79pP9Z5/kd7QYZ88sRKaLoF2ikC6b1AXj20l4eTflqg=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=to:from:subject :message-id:date:mime-version:content-type :content-transfer-encoding; q=dns; s=sasl; b=CoijkBrMlLii7y4+ar6 GMOJhDInoHOt6ag4CLpIlDUsoJWr+jKqQ05y+XSWBaHvfUigZs1wjYLkSKWjrTi5 2j7f0OQnX34K83lXGx437egOaqWHw1Ep5CpG6ld7HSxc3xKmGBSJOu8cuNJ7N0+A AVzU8PtY0jXcsEBZYXnKLkOk=
To: cygwin AT cygwin DOT com, Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
From: Daniel Santos <daniel DOT santos AT pobox DOT com>
Subject: Cygwin startup and root directory.
Message-ID: <c843e6cd-7ce3-1b44-0d28-73f043897f72@pobox.com>
Date: Mon, 9 Dec 2019 01:12:38 -0600
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
X-Pobox-Relay-ID: E79A2964-1A53-11EA-B91B-D1361DBA3BAF-06139138!pb-smtp2.pobox.com
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id xB97HjE4012860

Hello,

I see that when you copy Cygwin executables (and dlls) to a random
windows machine and run (for example) bash.exe that Cygwin treats the
parent directory as the root, assigns it an 8-byte serial number and
records it in the user registry.  Can somebody point me to where the
code is that does this?  I presume somewhere under winsup/cygwin?

Also, are there pretty docs somewhere that detail the Cygwin internals,
architecture, etc?  It's making me curious...

Thanks!!
Daniel

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