delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/23/04:46:46

X-Spam-Check-By: sourceware.org
Message-ID: <4472BE0D.7020701@avl.com>
Date: Tue, 23 May 2006 09:47:25 +0200
From: Guenter Bachler <guenter DOT bachler AT avl DOT com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040421
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Visibility of Samba shares after ssh login
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

I started the ssh-server on the windows client in order to log-on to a 
Linux maschine
and vice verse. On the Windows client several SAMBA shares have been mapped
and correctly displayed with the 'mount' command  in the cygwin shell.

The mount list looks like:

E:\cygwin\bin on /usr/bin type system (binmode)
E:\cygwin\lib on /usr/lib type system (binmode)
E:\cygwin on / type system (binmode)
D:\home on /home type system (binmode)
c: on /cygdrive/c type system (binmode,noumount)
d: on /cygdrive/d type system (binmode,noumount)
e: on /cygdrive/e type system (binmode,noumount)
f: on /cygdrive/f type system (binmode,noumount)
k: on /cygdrive/k type system (binmode,noumount)
l: on /cygdrive/l type system (binmode,noumount)
m: on /cygdrive/m type system (binmode,noumount)
q: on /cygdrive/q type system (binmode,noumount)
r: on /cygdrive/r type system (binmode,noumount)
s: on /cygdrive/s type system (binmode,noumount)
u: on /cygdrive/u type system (binmode,noumount)
v: on /cygdrive/v type system (binmode,noumount)
x: on /cygdrive/x type system (binmode,noumount)
y: on /cygdrive/y type system (binmode,noumount)
z: on /cygdrive/z type system (binmode,noumount)


Now invoking an ssh login session from the Linux machine on the Windows 
client
(under my regular Windows account), the mount command does not display the
SAMBA shares anymore (beginning with drive letters k)

The mounted drive list reduces to:

E:\cygwin\bin on /usr/bin type system (binmode)
E:\cygwin\lib on /usr/lib type system (binmode)
E:\cygwin on / type system (binmode)
D:\home on /home type system (binmode)
c: on /cygdrive/c type system (binmode,noumount)
d: on /cygdrive/d type system (binmode,noumount)
e: on /cygdrive/e type system (binmode,noumount)
f: on /cygdrive/f type system (binmode,noumount)


Is there any simple procedure to remount all SAMBA shares
automatically in the ssh session?

kind regards
G. Bachler

-- 
-----
Dr. Günter Bachler	
Technical Expert System Administration CAE	
Product Development IT	
Corporate Functions / Information Technology

e-mail: guenter DOT bachler AT avl DOT com
Phone:  +43-316-787-3425
Fax:    +43-316-787-1847

AVL LIST GMBH
A-8020 Graz, Hans-List-Platz 1
http://www.avl.com


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