make android device file system visible as unix path

Andy AndyMHancock@gmail.com
Sat Feb 14 19:35:00 GMT 2015


Andrey Repin <anrdaemon <at> 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.


More information about the Cygwin mailing list