This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re[2]: a moutn table per cygwin session


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 TAA16571
        for <saber dot zrelli at st dot com>; Fri, 18 Apr 2003 19:22:28 +0200 (METDST)
Received: (from nobody at localhost)
        by epsilon.dmz-eu.st.com (8.11.4/8.11.2) id h3IHMSJ01976
        for saber dot zrelli at st dot com; Fri, 18 Apr 2003 17:22:28 GMT
Received: by epsilon.dmz-eu.st.com (STMicroelectronics, from userid 0)
        id 48BE248C6; Fri, 18 Apr 2003 17:22:27 +0000 (GMT)
Received: from alpha.dmz-eu.st.com (localhost [127.0.0.1])
        by epsilon.dmz-eu.st.com (STMicroelectronics) with ESMTP id E93361848
        for <saber dot zrelli at st dot com>; Fri, 18 Apr 2003 17:22:26 +0000 (GMT)
Received: from sources.redhat.com (sources.redhat.com [66.187.233.205])
        by alpha.dmz-eu.st.com (STMicroelectronics) with SMTP id 351B7DA42
        for <saber dot zrelli at st dot com>; Fri, 18 Apr 2003 17:22:26 +0000 (GMT)
Received: (qmail 28824 invoked by alias); 18 Apr 2003 17:21:59 -0000
Mailing-List: contact cygwin-help at cygwin dot com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-saber dot zrelli=st dot com at cygwin dot com>
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
Received: (qmail 28816 invoked from network); 18 Apr 2003 17:21:58 -0000
Received: from unknown (HELO main.gmane.org) (80.91.224.249)
  by sources.redhat.com with SMTP; 18 Apr 2003 17:21:58 -0000
Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian))
        id 196ZXU-0004Th-00
        for <cygwin at cygwin dot com>; Fri, 18 Apr 2003 19:20:40 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin at cygwin dot com
Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian))
        id 196ZHt-0003Sb-00
        for <gmane-os-cygwin at m dot gmane dot org>; Fri, 18 Apr 2003 19:04:33 +0200
From: Rolf Campbell <rcampbell at tropicnetworks dot com>
Subject: Re: a moutn table per cygwin session
Date: Fri, 18 Apr 2003 13:05:20 -0400
Lines: 19
Message-ID: <b7pb70$ccu$3 at main dot gmane dot org>
References: <H0000b6d6dc66cb4 dot 1050674186 dot eux100 dot sgp dot st dot com at MHS>
Reply-To: IDontLikePersonalReplies at hotmail dot com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet at main dot gmane dot org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
In-Reply-To: <H0000b6d6dc66cb4 dot 1050674186 dot eux100 dot sgp dot st dot com at MHS>
     Goodmorning every body ,
     
     the main functionality of the server process is to, run make file 
     rules , which will call many cygwin binaries , such as expect , sed , 
     ... 
     and all file names in these makefiles are in POSIX . I have to adapt 
     my distributed application to work with these make files , so i can't 
     change filenames into DOS format.
     
     the architecture of the application is as follows :
     
     - X drives containing the same directory D with the same files ( Clear 
       Case view)
     
     - the server program is a perl program called from .bat script.
     
     
     -> we want to perform some actions remotely on the directories D of    
        each drive , so we launch the server programs from each drive and   
        wait for requests.
     
     suppose we have some drive mounted as our root then all server 
     processes will taket it as teir root too , because , all cygwin will 
     binaries look at mount table ( i suppose ) to perform conversion 
     POSIX -> DOS .
     
     the mechanism i need is some thing like this :
     
        when starting the slave process i mount the drive it is running     
        from but the resulting mount table is a private mount table.
        each process will have its own mount table and will perfrom         
        conversions correctly.
        
     
     
     Saber.
     
     
     
     
     
      


______________________________ Reply Separator _________________________________
Subject: Re: a moutn table per cygwin session
Author:  rcampbell at internet/dd dot RFC-822=rcampbell at tropicnetworks\ dot com
Date:    4/18/2003 7:05 PM


saber dot zrelli at st dot com wrote:
>      hi there ,
>      
>      I'm using cygwin bash to run many TCP/IP servers on the same host 
>      machine , i need each server to work with a separate drive ,  so each 
>      time i start a server the first thing i do is to mount automatically 
>      its corresponding  drive , but the result is that the latest mounts 
>      suppress the previous one , so i have allways the same drive for all 
>      my servers.
>      
>      any help ?
>      
>      Best Regards.
>      
>      Saber.
> 
> 
Why not add a parameter to the server you can tell it what drive to use.
     
     
     
--
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/
     

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]