delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/23/21:04:08

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-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Rolf Campbell <rcampbell AT tropicnetworks DOT com>
Subject: Re: a moutn table per cygwin session
Date: Wed, 23 Apr 2003 21:02:26 -0400
Lines: 88
Message-ID: <b87d1b$mmu$1@main.gmane.org>
References: <H0000b6d6dcdbb46 DOT 1050914596 DOT eux100 DOT sgp DOT st DOT com AT MHS>
Reply-To: IDontLikePersonalReplies AT hotmail DOT com
Mime-Version: 1.0
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: <H0000b6d6dcdbb46.1050914596.eux100.sgp.st.com@MHS>

You still didn't answer my question.  Why can't you just configure each 
server with a path at startup instead of using mounts?

saber DOT zrelli AT st DOT com wrote:
> ------------------------------------------------------------------------
> 
>      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.RFC-822=rcampbell AT tropicnetworks\.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/

- Raw text -


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