Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux > #51300

Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB?

From "Carlos E.R." <robin_listas@es.invalid>
Newsgroups alt.os.linux
Subject Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB?
Date 2018-10-15 04:42 +0200
Message-ID <6dbd9f-9n1.ln1@Telcontar.valinor> (permalink)
References (1 earlier) <o76dnVEkZouVW13GnZ2dnUU7-U2dnZ2d@giganews.com> <ppqn0p$58o$1@news.mixmin.net> <g2chg9Fkm0jU1@mid.individual.net> <pprd62$95a$1@dont-email.me> <pprj4t$uan$1@news.mixmin.net>

Show all headers | View raw


On 13/10/2018 03.52, Arlen Holder wrote:
> On Fri, 12 Oct 2018 20:10:41 -0400, Paul wrote:
> 
>> The other way is with MTPFS, which aligns with your
>> statement about "magic". In the fullness of time, indeed,
>> everything is a file.
> 
> Hi Paul,
> 
> Thanks for those useful pointers for how MTP works on Ubuntu 18.04.
> 
> As you know, the technical solution I see is a very _hard_ question to
> answer, which is why the many Windows (& a few Linux) trolls will have a
> field day (since all they _can_ do, is troll).
> 
> I'm trying to move the technical ball forward, which isn't easy.
> 
> Hence, on this Linux thread, I will not respond to the worthless trolls
> with the hope of alienating them - I will only respond to those intelligent
> people who are purposefully helpful - where - for Linux - the trick is to
> figure out what exactly makes it work for Linux (and then see if _that_ can
> be implemented universally, on Windows).
> 
> To be clear, I read what was written prior, where the "magic" is supposed
> to be that Linux treats the Android file system as a "file"; but I don't
> comprehend that answer well enough to turn it into a solution on Windows.
> 
> Do you?
> Without a solution, this will be just a worthless chit-chat thread.

Is this going to be another of your eternal threads spiced with insults
to those you do not like what they say?

There is no magic.

It is simply that somebody took the time and pain to implement an MTP
file layer, so that ANY Linux tool designed to do standard operations on
files work on what it appears to it to be just another directory, which
happens to be on an Android gadget connected via cable.

Whereas those people at Windows only designed a file browser to do some
file operations, in a way that no other tool can use it, being
"private". Any other tool (another file browser, a photo management tool
perhaps) has to design its own layer again, or perhaps, pay the first
people to use the API and libraries.

Unless it is Microsoft who does the work and exposes the layer, but only
those tools that explicitly know how to use that precise layer will use
it...


Linux has been designed from the start with a thing called VFS. All
filesystems, real or emulated, are handled via this layer. Android MTP,
is just another one.

<https://en.wikipedia.org/wiki/Virtual_file_system>

A Virtual File System (VFS) or virtual filesystem switch is an
abstraction layer on top of a more concrete file system. The purpose of
a VFS is to allow client applications to access different types of
concrete file systems in a uniform way. A VFS can, for example, be used
to access local and network storage devices transparently without the
client application noticing the difference. It can be used to bridge the
differences in Windows, classic Mac OS/macOS and Unix filesystems, so
that applications can access files on local file systems of those types
without having to know what type of file system they are accessing.

A VFS specifies an interface (or a "contract") between the kernel and a
concrete file system. Therefore, it is easy to add support for new file
system types to the kernel simply by fulfilling the contract. The terms
of the contract might change incompatibly from release to release, which
would require that concrete file system support be recompiled, and
possibly modified before recompilation, to allow it to work with a new
release of the operating system; or the supplier of the operating system
might make only backward-compatible changes to the contract, so that
concrete file system support built for a given release of the operating
system would work with future versions of the operating system.

-- 
Cheers, Carlos.

Back to alt.os.linux | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB?  Arlen    Holder <a%rlenh.older@no.spam.net> - 2018-10-12 15:43 +0000
  Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB?  Arlen    Holder <a%rlenh.older@no.spam.net> - 2018-10-12 15:49 +0000
  Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? Wildman <best_lay@yahoo.com> - 2018-10-12 11:04 -0500
    Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB?  Arlen    Holder <a%rlenh.older@no.spam.net> - 2018-10-12 17:52 +0000
      Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? ray carter <ray@zianet.com> - 2018-10-12 21:20 +0000
        Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? Paul <nospam@needed.invalid> - 2018-10-12 20:10 -0400
          Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB?  Arlen    Holder <a%rlenh.older@no.spam.net> - 2018-10-13 01:52 +0000
            Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? "Carlos E.R." <robin_listas@es.invalid> - 2018-10-15 04:42 +0200
              Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? Dan Purgert <dan@djph.net> - 2018-10-15 09:53 +0000
                Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB?  Arlen    Holder <a%rlenh.older@no.spam.net> - 2018-10-15 10:41 +0000
              Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB?  Arlen    Holder <a%rlenh.older@no.spam.net> - 2018-10-15 10:34 +0000
                Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? Aragorn <thorongil@telenet.be> - 2018-10-15 12:45 +0200
                Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB?  Arlen    Holder <a%rlenh.older@no.spam.net> - 2018-10-15 11:01 +0000
                Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? Dan Purgert <dan@djph.net> - 2018-10-15 11:14 +0000
                Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB?  Arlen    Holder <a%rlenh.older@no.spam.net> - 2018-10-15 12:19 +0000
                Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? "Carlos E.R." <robin_listas@es.invalid> - 2018-10-15 15:03 +0200
                Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? Dan Purgert <dan@djph.net> - 2018-10-15 13:15 +0000
                Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? Wildman <best_lay@yahoo.com> - 2018-10-15 09:33 -0500
                Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? Dan Purgert <dan@djph.net> - 2018-10-15 14:41 +0000
                Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? "Carlos E.R." <robin_listas@es.invalid> - 2018-10-15 23:27 +0200
                Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? Dan Purgert <dan@djph.net> - 2018-10-15 10:59 +0000
                Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? "Carlos E.R." <robin_listas@es.invalid> - 2018-10-15 15:04 +0200
          Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? Jasen Betts <jasen@xnet.co.nz> - 2018-10-13 01:53 +0000
            Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB?  Arlen    Holder <a%rlenh.older@no.spam.net> - 2018-10-13 03:34 +0000
              Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB?  Arlen    Holder <a%rlenh.older@no.spam.net> - 2018-10-13 04:44 +0000
                Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB?  Arlen    Holder <a%rlenh.older@no.spam.net> - 2018-10-14 15:36 +0000
    Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? Dan Purgert <dan@djph.net> - 2018-10-12 18:48 +0000
      Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB?  Arlen    Holder <a%rlenh.older@no.spam.net> - 2018-10-15 10:50 +0000
  Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB?  Arlen    Holder <a%rlenh.older@no.spam.net> - 2018-10-19 23:42 +0000
    Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB?  Arlen    Holder <a%rlenh.older@no.spam.net> - 2018-10-20 00:20 +0000
      Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB?  Arlen    Holder <a%rlenh.older@no.spam.net> - 2018-10-20 03:15 +0000
        Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB?  Arlen    Holder <a%rlenh.older@no.spam.net> - 2018-10-20 16:13 +0000
          Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? Dan Purgert <dan@djph.net> - 2018-10-20 18:13 +0000
            Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? William Unruh <unruh@invalid.ca> - 2018-10-20 18:43 +0000
          Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? "Carlos E.R." <robin_listas@es.invalid> - 2018-10-21 13:14 +0200
          Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? "R.Wieser" <address@not.available> - 2018-10-21 15:45 +0200
            Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB?  Arlen    Holder <a%rlenh.older@no.spam.net> - 2018-10-21 18:29 +0000
              Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? "R.Wieser" <address@not.available> - 2018-10-21 22:39 +0200
              Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? "Carlos E.R." <robin_listas@es.invalid> - 2018-10-21 22:56 +0200
                Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? "R.Wieser" <address@not.available> - 2018-10-21 23:20 +0200
                Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? Dan Purgert <dan@djph.net> - 2018-10-22 09:25 +0000
                Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB?  Arlen    Holder <a%rlenh.older@no.spam.net> - 2018-10-21 23:14 +0000
                Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? Dan Purgert <dan@djph.net> - 2018-10-22 09:27 +0000
                Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? RonB <ronb02NOSPAM@gmail.com> - 2018-10-23 00:49 +0000
                Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? RonB <ronb02NOSPAM@gmail.com> - 2018-10-23 00:47 +0000
                Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? "Carlos E. R." <robin_listas@es.invalid> - 2018-10-23 13:00 +0200
                Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? gazelle@shell.xmission.com (Kenny McCormack) - 2019-05-09 15:40 +0000
                Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? "Carlos E. R." <robin_listas@es.invalid> - 2019-05-09 20:47 +0200
              Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? Dan Purgert <dan@djph.net> - 2018-10-22 09:23 +0000
                Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? "Carlos E. R." <robin_listas@es.invalid> - 2018-10-22 13:12 +0200
                Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB? "R.Wieser" <address@not.available> - 2018-10-22 13:49 +0200
  Re: Do you already know how to run a Linux command (like ls) on the Android filesystem plugged into USB?  Arlen_Holder <a%rle%20nh.older@no.spam.net> - 2018-11-02 15:21 +0000

csiph-web