delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/18/09:50:01

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Tue, 18 Feb 2003 09:49:42 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Ben Clewett <B DOT Clewett AT roadrunner DOT uk DOT com>
cc: Ronald Landheer-Cieslak <ronald AT landheer DOT com>, <cygwin AT cygwin DOT com>
Subject: Re: Duplicate CygWin
In-Reply-To: <Pine.LNX.4.44.0302181503340.17626-100000@localhost.localdomain>
Message-ID: <Pine.GSO.4.44.0302180942460.7773-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Tue, 18 Feb 2003, Ronald Landheer-Cieslak wrote:

> On Tue, 18 Feb 2003, Ben Clewett wrote:
>
> > With the mount points, I was hoping a *hack* as simple as:
> >
> > char *pRootMount; pRootMount = getenv("ROOT_MOUNT");
> > if (pRootMount) { ....; return; }
> >
> > Can be inserted somewhere...
> >
> > Or maybe even better, the variable FSTAB pointing to an /etc/fstab file
> > on the Windows PC...  Endless options.
> write and contribute - I'm sure a properly developed and
> copyright-assigned set of patches will be thankfully accepted by the
> Cygwin developers. AFAIK (but Chris and Corinna may want to correct me
> here) the registry entries for Cygwin are bound to go away at some point
> anyway.
>
> Note, though, that putting an fstabs file in an /etc directory somewhere
> will probably not be enough: you still have to find the /etc directory in
> a clean (and portable) manner.
>
> > I'll look for the memory naming following your instructions.
> > In both cases, I would prefer any options which didn't mean forking the
> > code.  So I would be interested in your opinions...
> Options *not* forking the code but allowing you to have two different
> Cygwin installations with different mountpoints on the same system??
> Sorry, I can't think of any, but AFAICT, you'll just have to keep a set of
> patches around and apply them to every release of the Cygwin sources. I'd
> be surprised if the code that takes care of the shared memory region and
> the mount points in Cygwin moves around much.
>
> rlc

User mounts and separate users.  Each Windows user effectively has its own
mount table -- use that fact.  Details in the User Guide/FAQ.

Also, you don't really need a patch for the shared region ID -- it's a
#defined constant, just use the -D compiler flag (you may need several).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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