X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=xN2U7zVqwDOMhIkEgPW7Ms0Cf38ZNdkiZvDDW1igCScwLBk86/Ze9 kJ06pMNlJzexnAS7sB3LlzY6S+hxPEbmHnQOEbtnkfMuWikNemdof7uhJJaNtavQ hBXHJs5WDrXAoyHfZmcniSQeSZFEcZ1uVUpAi75VLqfcPhT5ZDK8TU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; s=default; bh=66mT9ZDi5mytSztmGzY/BNSgfOM=; b=X1lJocfFX1dPDfgNYw96OthkI3Hj jrcKALkelzzI9sA8tV41Q+YwpmO3ih56K2zkJB9qg/pdjzbgOwfuy5bGqWv7ZGgo 83R4vdVobYXakYdY+pUu9GBW+HmqmS6uv+l5LzDwY+YHP8/OlJ0/2nzprbRFKIAF 42sgf+DBgvtrop0= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: Yes, score=5.2 required=5.0 tests=AWL,BASE64_LENGTH_79_INF,BAYES_50,FREEMAIL_FROM,KAM_BODY_URIBL_PCCC,KAM_FROM_URIBL_PCCC,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: Andy Subject: Re: make android device file system visible as unix path Date: Sat, 14 Feb 2015 18:03:39 +0000 (UTC) Lines: 1 Message-ID: References: <141BC10E-6D3A-4BBE-B56A-6E16A722108C AT etr-usa DOT com> <126999688 DOT 20150214074949 AT yandex DOT ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id t1EI4938022824 Andrey Repin yandex.ru> writes: >>>> My Moto G connects to the laptop via USB, and can be seen using >>>> Windows Explorer. Is there a way to make it visible as a Unix >>>> path? /cygdrive does not show it. >>> >>> Are you including the drive letter? If it’s the G: drive in >>> Windows Explorer, you need to say something like “ls /cygdrive/g”, >>> not “ls /cygdrive”. >>> >>> If it isn’t appearing as a drive letter in Windows, they’re >>> probably using some kind of Explorer shell extension, which would >>> mean the device isn’t visible through normal Windows mechanisms, >>> hence not visible to Cygwin. >> >> It doesn't have a drive letter in Windows Explorer. The name is >> simply "Moto G". When I "ls /cygdrive", I see on the c-drive. I >> think that the handset's visibility to Windows Explorer is based on >> MTP USB, but that's just something I'm learning about right now. > >There's no MTP adapter for Cygwin. You're welcome to write one, >though. I would consider it if my background was somewhat in the area of app development, but it's more along the lines of data analysis, e.g, Matlab, Excel. Why would such a person want to access the handset via a unix path? Android doesn't have a native Notes app, and if I simply use its text editor, that's one more app I can avoid installing. But I would want to sync it with the laptop copy of the text files via vimdiff and diff. I guess one option may be to simply copy the folder containing the text files to Windows, then use diff/vimdiff, then copy it back.