X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.8 required=5.0	tests=AWL,BAYES_00,FREEMAIL_FROM,RP_MATCHES_RCVD,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: carolus <worwor@bellsouth.net>
Subject: Re: midnight commander does not see external USB hard drives on remote machine
Date: Sun, 20 Nov 2011 22:44:05 -0600
Lines: 29
Message-ID: <jackup$gsu$1@dough.gmane.org>
References: <jab4l8$dmk$1@dough.gmane.org> <4EC9775A.1060405@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
In-Reply-To: <4EC9775A.1060405@gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
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 11/20/2011 3:55 PM, marco atzeri wrote:
> On 11/20/2011 3:59 PM, carolus wrote:
>> Midnight commander does not see USB storage devices on a remote machine
>> using an ssh connection. cd /cygdrive/f gives the message "no such file
>> or directory" from within mc, but the same command works as expected
>> from ssh.
>
> could you clarify a bit ?
>
> cygwin can not mount remote filesystem, so mc on cygwin lack also
> such feature.
>
> I succeeded to explore a remote filesystem through the shell link,
> but I suspect any options like copy and view are problematic,

To copy is not a big problem.  For example,

scp junk.f $DELL
(where DELL=dell03:/cygdrive/f/transit_ext)

will copy junk.f to a directory on a USB hard drive on remote host 
dell03.  Here I put the target directory in an environment variable so 
that I don't have to retype it.  I would like to be able to navigate to 
the target directory on the remote filesystem without having to type 
exact long pathnames (sftp allows no wildcards in the remote cd 
command). I can do that with midnight commander on the remote system 
drive /cygdrive/c, but not on the remote USB HDD /cygdrive/f




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

