X-Spam-Check-By: sourceware.org
Date: Tue, 20 Jun 2006 13:00:26 -0400 (EDT)
From: Igor Peshansky <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Alexander.Farber@nokia.com
cc: cygwin@cygwin.com
Subject: Re: Dir not mounted when logging in through ssh
In-Reply-To: <3BD8CF653D67544E9D2768E3F10FFC5D7EE671@boebe101.NOE.Nokia.com>
Message-ID: <Pine.GSO.4.63.0606201258480.2330@access1.cims.nyu.edu>
References: <3BD8CF653D67544E9D2768E3F10FFC5D7EE671@boebe101.NOE.Nokia.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Tue, 20 Jun 2006, Alexander.Farber wrote:

> Hello,
>
> I have a problem that a directory ( /cygdrive/h mounted
> to the H:\ which is in turn mounted to \\bonfs01\afarber )
> is visible in the normal Cygwin console, but disappears
> when I login into the same PC via OpenSSH:
>
> afarber@BOWEC101 ~
> $ mount
> C:\apps\Cygwin\bin on /usr/bin type system (binmode)
> C:\apps\Cygwin\lib on /usr/lib type system (binmode)
> \\bonfs01\afarber on /cygdrive/f type system (binmode,noexec)
> C:\apps\Cygwin on / type system (binmode)
> c: on /cygdrive/c type system (binmode,noumount)
> e: on /cygdrive/e type system (binmode,noumount)
> h: on /cygdrive/h type system (binmode,noumount)
>
> afarber@BOWEC101 ~
> $ hostname
> BOWEC101
>
> afarber@BOWEC101 ~
> $ ssh bowec101 "mount"
> Warning: Permanently added 'bowec101,172.25.91.22' (RSA) to the list of
> known hosts.
> afarber@bowec101's password:
> C:\apps\Cygwin\bin on /usr/bin type system (binmode)
> C:\apps\Cygwin\lib on /usr/lib type system (binmode)
> \\bonfs01\afarber on /cygdrive/f type system (binmode,noexec)
> C:\apps\Cygwin on / type system (binmode)
> c: on /cygdrive/c type system (binmode,noumount)
> e: on /cygdrive/e type system (binmode,noumount)
>
>
> There is some /cygdrive/f dir instead,
> but I can't access it, when logged in via OpenSSH:
>
> $ ll /cygdrive/f
> ls: /cygdrive/f: No such file or directory
>
>
> Does anybody please have an idea what is happening?
> Using newest Cygwin (but not a snapshot) and Win 2003.

<http://cygwin.com/faq/faq.using.html#faq.using.shares>.
Depending on your setup, you might be able to issue a 'net use' command
from your ssh session to allow connecting to that share.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

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

