This is the mail archive of the 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: The quest : working cygwin from a network mounted disk on a forein computer

On Tue, 18 Mar 2003, Igor Pechtchanski wrote:

> On Tue, 18 Mar 2003, Daniel Chamberland-Tremblay wrote:
> > Hello all,
> >
> > Quiet version :
> > I would like to know if it is possible to get all unix commands from the
> > command line (console) while accessing cygwin (on my local disk --
> > computer A) from a computer (computer B) that has mounted my local disk
> > from the network (NT on Novell).  I am looking for bash to recognise
> > unix style path (e.g. /usr/local/bin/).  The cygwin.bat file on computer
> > B appears at the end.
> >
> > Verbose version :
> > I am trying to access cygwin's unix tools intalled on my machine (which
> > by the way work wonderfully well) from a collegue's computer by mounting
> > my disk on is machine (the drive correspond to the same "letter" on both
> > machines).
> > [snip]
> > Any help would be appreciated.  Many thanks all.
> > Daniel Chamberland-Tremblay
> Try the following:
> 1) Run "mount -m | sed 's^C:/^F:/^' > /copy_mounts.bat" on your computer
>    (computer A)
> 2) Run the resulting copy_mounts.bat on the remote computer (computer B)
> Voila.  Your remote machine should now think it's Cygwin's / is in
> "F:\unix".
>         Igor
> P.S. The above assumes that you have your Cygwin / on computer A in
> "C:\unix", and that computer A's C:\ disk is mounted on computer B as F:\

Oops, forgot to add that you have to run the .bat file from F:\unix\bin
(or edit it to invoke F:\unix\bin\mount instead of mount).
      |\      _,,,---,,_		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!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune

Unsubscribe info:
Bug reporting:

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