Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Mon, 09 May 2005 10:22:09 -0700
From: David Rothenberger <daveroth@acm.org>
Subject: Re: Fixing strace and cygcheck so that they work with mount -X
In-reply-to: <20050509022611.GA7850@trixie.casa.cgf.cx>
To: cygwin@cygwin.com
Message-id: <427F9C41.1000605@acm.org>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7bit
References: <427BE5FE.7020000@fabeljet.com> <cb51e2e0505071711201152ca@mail.gmail.com> <20050508003215.GA24398@trixie.casa.cgf.cx> <cb51e2e0505081248560c07c8@mail.gmail.com> <Pine.GSO.4.61.0505081605450.21700@slinky.cs.nyu.edu> <20050508230637.GD3896@trixie.casa.cgf.cx> <Pine.GSO.4.61.0505081958360.21700@slinky.cs.nyu.edu> <20050509002126.GH3896@trixie.casa.cgf.cx> <20050509022611.GA7850@trixie.casa.cgf.cx>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com

On 5/8/2005 7:26 PM, Christopher Faylor wrote:
> On Sun, May 08, 2005 at 08:21:26PM -0400, Christopher Faylor wrote:
> 
>>Ultimately, I just have to make strace and cygcheck understand the
>>cygwin arguments and environment variables.  Then we won't need this.
> 
> I would appreciate it if people would check out the latest snapshot to
> verify if I actually got this working in all scenarios (directories
> mounted with -X, -x, not mounted at all, or mounted without -X and -x).

Does cygstart also need to be fixed? I've found that it doesn't 
propagate the full Cygwin environment when /bin is mounted in cygexec mode.

% cygstart -- /bin/rxvt -e bash -c "'env; read x'"

prints out a small set of environment variables when /bin is mounted in 
cygexec. When /bin is mounted normally, it gets the full environment.

-- 
David Rothenberger                spammer? -> spam@daveroth.dyndns.org
GPG/PGP: 0x7F67E734, C233 365A 25EF 2C5F C8E1 43DF B44F BA26 7F67 E734

Everybody is going somewhere!!  It's probably a garage sale or a
disaster Movie!!


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

