delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/21/10:02:55

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: Mon, 21 Apr 2003 10:02:43 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: saber DOT zrelli AT st DOT com
cc: cygwin AT cygwin DOT com
Subject: Re: different mount table per bash session
In-Reply-To: <H0000b6d6dc6f344.1050676587.eux100.sgp.st.com@MHS>
Message-ID: <Pine.GSO.4.44.0304210956380.19398-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Fri, 18 Apr 2003 saber DOT zrelli AT st DOT com wrote:

> Hi there ,
>
> I'm using cygwin bash to run a certain nmber of processes on separate
> drives , each time i start a new process i mount it's working drive ,
> but this way all previous processes change their working drive ; cause
> of the latest mount.
> could some one tell me how could i resolve this problem.
>
> Tks .

Saber,

I'm assuming you're only talking about auxiliary mounts, and that the main
mounts ("/", "/usr/bin", and "/usr/lib") are the same for all bash
instances.

Cygwin only supports two mount tables at a time for each user (one system
table and one user table).  The system table is shared among all users.
Aside from the fact that (as Rolf has pointed out) you don't really *need*
to mount anything, the only way you can get separate mount tables in
separate bash sessions is by running them as different users.  You could
use either "ssh" or "at /interactive" to switch user contexts.  Don't
forget to use "mount -u", or you'll be changing the system mount table.
	Igor
P.S. Your "Shift" key seems to be malfunctioning...
-- 
				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!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


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

- Raw text -


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