From: Daniel Santos <daniel.santos@pobox.com>
To: cygwin@cygwin.com, Corinna Vinschen <corinna-cygwin@cygwin.com>
Subject: Cygwin startup and root directory.
Date: Mon, 09 Dec 2019 07:17:00 -0000 [thread overview]
Message-ID: <c843e6cd-7ce3-1b44-0d28-73f043897f72@pobox.com> (raw)
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
WARNING: multiple messages have this Message-ID
From: Daniel Santos <daniel.santos@pobox.com>
To: cygwin@cygwin.com, Corinna Vinschen <corinna-cygwin@cygwin.com>
Subject: Cygwin startup and root directory.
Date: Mon, 09 Dec 2019 09:17:00 -0000 [thread overview]
Message-ID: <c843e6cd-7ce3-1b44-0d28-73f043897f72@pobox.com> (raw)
Message-ID: <20191209091700.sNG4QnfkG45BbkGJKz7eg7poHhqOhaVTiGnNKhQnfYs@z> (raw)
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
next reply other threads:[~2019-12-09 7:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-09 7:17 Daniel Santos [this message]
2019-12-09 9:17 ` Daniel Santos
2019-12-09 10:47 ` Corinna Vinschen
2019-12-12 6:38 ` Daniel Santos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c843e6cd-7ce3-1b44-0d28-73f043897f72@pobox.com \
--to=daniel.santos@pobox.com \
--cc=corinna-cygwin@cygwin.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).