different mount table per bash session

saber.zrelli@st.com saber.zrelli@st.com
Mon Apr 21 15:27:00 GMT 2003


Received: from epsilon.dmz-eu.st.com (ns1.st.com [164.129.230.8])
        by eux100.sgp.st.com (8.9.3 (PHNE_24419+JAGae58098)/8.9.3) with ESMTP id QAA08538
        for <saber.zrelli@st.com>; Mon, 21 Apr 2003 16:03:21 +0200 (METDST)
Received: (from nobody@localhost)
        by epsilon.dmz-eu.st.com (8.11.4/8.11.2) id h3LE3K612369
        for saber.zrelli@st.com; Mon, 21 Apr 2003 14:03:20 GMT
Received: by epsilon.dmz-eu.st.com (STMicroelectronics, from userid 0)
        id AA4DD48C4; Mon, 21 Apr 2003 14:03:20 +0000 (GMT)
Received: from alpha.dmz-eu.st.com (localhost [127.0.0.1])
        by epsilon.dmz-eu.st.com (STMicroelectronics) with ESMTP id 51BEC1849
        for <saber.zrelli@st.com>; Mon, 21 Apr 2003 14:03:20 +0000 (GMT)
Received: from sources.redhat.com (sources.redhat.com [66.187.233.205])
        by alpha.dmz-eu.st.com (STMicroelectronics) with SMTP id 76000DA41
        for <saber.zrelli@st.com>; Mon, 21 Apr 2003 14:03:19 +0000 (GMT)
Received: (qmail 7845 invoked by alias); 21 Apr 2003 14:02:45 -0000
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-saber.zrelli=st.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Received: (qmail 7832 invoked from network); 21 Apr 2003 14:02:44 -0000
Received: from unknown (HELO slinky.cs.nyu.edu) (128.122.20.14)
  by sources.redhat.com with SMTP; 21 Apr 2003 14:02:44 -0000
Received: from localhost (pechtcha@localhost)
        by slinky.cs.nyu.edu (8.11.7+Sun/8.11.7) with ESMTP id h3LE2hJ14196;
        Mon, 21 Apr 2003 10:02:43 -0400 (EDT)
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@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: saber.zrelli@st.com
Cc: cygwin@cygwin.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
Content-Type: TEXT/PLAIN; charset=US-ASCII
-------------- next part --------------
     Igor ,
     the user that cygwin considers is the windows user ,
     is it possible , to emulate multi user session system with cygwin ;
     make cygwin consider a /etc/passwd like file.
     allowing user switch using login command ?
     when i see to /bin , i don't see neither adduser , nor addgroup.
     
     
     
     
     
     
     


______________________________ Reply Separator _________________________________
Subject: Re: different mount table per bash session
Author:  pechtcha at internet/dd.RFC-822=pechtcha@cs\.nyu\.edu
Date:    4/21/2003 4:02 PM


On Fri, 18 Apr 2003 saber.zrelli@st.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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_            igor@watson.ibm.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/
     

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


More information about the Cygwin mailing list