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: different mount table per bash session


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/


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