Discussion:
MTP mount point
John Blomfield
2013-09-01 21:48:04 UTC
Permalink
I am mystified as to where my OpenSuse / KDE 12.3 mounts my Android
devices. When you plug in an Android device with a USB cable it
immediately recognizes it as an mpt device and and if you open the file
manager Dolphin there it is as a separate device MPT:/ with all your
Android files. However, I would sometimes like to access these files via
the command line. This was very easy with OpenSuse 12.3 as it did not
immediately recognize the device but you could mount it on your Linux
file system eg /mnt/Nexus/ using one of the mounting tools such as
jmptfs or go-mtpfs etc. which mounted the files as fuse fs and then you
could unmount it using fusermount -u /path. You also access its files on
the command line. With OpenSuse 12.3 I don't know where MPT:/ , how to
unmount it or access on the command line. Anyone any ideas?

John
--
John Blomfield
Delivered by Thunderbird Email on Linux OpenSuse-KDE4

Support for Linux Users at Linux SIG at BB&C, Victoria BC, Canada
website www.linuxsigbbc.wordpress.com
Arthur Ralfs
2013-09-02 00:45:57 UTC
Permalink
Post by John Blomfield
I am mystified as to where my OpenSuse / KDE 12.3 mounts my Android
devices. When you plug in an Android device with a USB cable it
immediately recognizes it as an mpt device and and if you open the file
manager Dolphin there it is as a separate device MPT:/ with all your
Android files. However, I would sometimes like to access these files via
the command line. This was very easy with OpenSuse 12.3 as it did not
immediately recognize the device but you could mount it on your Linux
file system eg /mnt/Nexus/ using one of the mounting tools such as
jmptfs or go-mtpfs etc. which mounted the files as fuse fs and then you
could unmount it using fusermount -u /path. You also access its files on
the command line. With OpenSuse 12.3 I don't know where MPT:/ , how to
unmount it or access on the command line. Anyone any ideas?
John
John,

I noticed 12.3 strangely changed the mount location of my external hard
drive to /var/run/media/arthur/ where it used to be /media, or maybe it
was /mnt.


Arthur
Murray Strome
2013-09-02 04:21:53 UTC
Permalink
Post by Arthur Ralfs
Post by John Blomfield
I am mystified as to where my OpenSuse / KDE 12.3 mounts my Android
devices. When you plug in an Android device with a USB cable it
immediately recognizes it as an mpt device and and if you open the file
manager Dolphin there it is as a separate device MPT:/ with all your
Android files. However, I would sometimes like to access these files via
the command line. This was very easy with OpenSuse 12.3 as it did not
immediately recognize the device but you could mount it on your Linux
file system eg /mnt/Nexus/ using one of the mounting tools such as
jmptfs or go-mtpfs etc. which mounted the files as fuse fs and then you
could unmount it using fusermount -u /path. You also access its files on
the command line. With OpenSuse 12.3 I don't know where MPT:/ , how to
unmount it or access on the command line. Anyone any ideas?
John
John,
I noticed 12.3 strangely changed the mount location of my external
hard drive to /var/run/media/arthur/ where it used to be /media, or
maybe it was /mnt.
Could
df -k
help tell you where it is mounted?
I don't know anything about SUSE, in particular, what your desktop
environment might be. Perhaps you could try adding "gnome-disk" or
"mountmanager", which will add a system utility (or setting) that will
show you all your partitions and where (if) they are mounted.

sudo fdisk -l

will show you all of your disks and their partitions (including types).

I hope this is helpful to you.

Murray
John Blomfield
2013-09-02 23:19:31 UTC
Permalink
Post by Murray Strome
Post by Arthur Ralfs
Post by John Blomfield
I am mystified as to where my OpenSuse / KDE 12.3 mounts my Android
devices. When you plug in an Android device with a USB cable it
immediately recognizes it as an mpt device and and if you open the file
manager Dolphin there it is as a separate device MPT:/ with all your
Android files. However, I would sometimes like to access these files via
the command line. This was very easy with OpenSuse 12.3 as it did not
immediately recognize the device but you could mount it on your Linux
file system eg /mnt/Nexus/ using one of the mounting tools such as
jmptfs or go-mtpfs etc. which mounted the files as fuse fs and then you
could unmount it using fusermount -u /path. You also access its files on
the command line. With OpenSuse 12.3 I don't know where MPT:/ , how to
unmount it or access on the command line. Anyone any ideas?
John
John,
I noticed 12.3 strangely changed the mount location of my external
hard drive to /var/run/media/arthur/ where it used to be /media, or
maybe it was /mnt.
Could
df -k
help tell you where it is mounted?
I don't know anything about SUSE, in particular, what your desktop
environment might be. Perhaps you could try adding "gnome-disk" or
"mountmanager", which will add a system utility (or setting) that will
show you all your partitions and where (if) they are mounted.
sudo fdisk -l
will show you all of your disks and their partitions (including types).
I hope this is helpful to you.
Murray
_______________________________________________
Discuss mailing list
http://ladybug.vlug.org/cgi-bin/mailman/listinfo/discuss
Unfortunately, df -k does not show my MPT: mount point.

John
--
John Blomfield
Delivered by Thunderbird Email on Linux OpenSuse-KDE4

Support for Linux Users at Linux SIG at BB&C, Victoria BC, Canada
website www.linuxsigbbc.wordpress.com
brendan
2013-09-02 23:50:10 UTC
Permalink
Post by John Blomfield
Post by Murray Strome
Post by Arthur Ralfs
I noticed 12.3 strangely changed the mount location of my external
hard drive to /var/run/media/arthur/ where it used to be /media, or
maybe it was /mnt.
Could
df -k
help tell you where it is mounted?
Unfortunately, df -k does not show my MPT: mount point.
how about just plain old "mount" or "mount -l" ? (el, not one)
John Blomfield
2013-09-03 03:25:05 UTC
Permalink
Post by brendan
Post by John Blomfield
Post by Murray Strome
Post by Arthur Ralfs
I noticed 12.3 strangely changed the mount location of my external
hard drive to /var/run/media/arthur/ where it used to be /media, or
maybe it was /mnt.
Could
df -k
help tell you where it is mounted?
Unfortunately, df -k does not show my MPT: mount point.
how about just plain old "mount" or "mount -l" ? (el, not one)
_______________________________________________
Discuss mailing list
http://ladybug.vlug.org/cgi-bin/mailman/listinfo/discuss
No luck! I'm still searching.

John
--
John Blomfield
Delivered by Thunderbird Email on Linux OpenSuse-KDE4

Support for Linux Users at Linux SIG at BB&C, Victoria BC, Canada
website www.linuxsigbbc.wordpress.com
John Blomfield
2013-09-05 00:35:40 UTC
Permalink
Finally, solved my problem after endless searches. At least I'm not the
only one that sometimes still wants to do stuff on the command line!

As far as I can understand starting from, in my case OpenSuse 12.3,
kernel 3.7.10-1.16 and KDE 4.10.5 release 1 and Dolphin 2.2, MTP devices
appear to be mounted automatically by the Linux kernel and by default
show up on Dolphin as MTP:/ as a device under "Network". However by
default the device cannot be accessed from the command line. It is now
necessary to install a program "simple-mtpfs" which in the case of
OpenSuse is not in the stable repository but can be found under unstable
devices. Once simple-mtpfs is installed the mtp device can be accessed
on the command line by mounting it as follows, for example:

mkdir /mnt/mtp-mount
simple-mtpfs /mnt/mtp-mount

then you can,

cd /mnt/mtp-mount
ls

etc.

The device file system is read only so it you want to mess about with it
on your PC then you probably would best use adb shell and the adb tools
for Android.

John
Post by John Blomfield
I am mystified as to where my OpenSuse / KDE 12.3 mounts my Android
devices. When you plug in an Android device with a USB cable it
immediately recognizes it as an mpt device and and if you open the
file manager Dolphin there it is as a separate device MPT:/ with all
your Android files. However, I would sometimes like to access these
files via the command line. This was very easy with OpenSuse 12.3 as
it did not immediately recognize the device but you could mount it on
your Linux file system eg /mnt/Nexus/ using one of the mounting tools
such as jmptfs or go-mtpfs etc. which mounted the files as fuse fs and
then you could unmount it using fusermount -u /path. You also access
its files on the command line. With OpenSuse 12.3 I don't know where
MPT:/ , how to unmount it or access on the command line. Anyone any
ideas?
John
--
John Blomfield
Delivered by Thunderbird Email on Linux OpenSuse-KDE4

Support for Linux Users at Linux SIG at BB&C, Victoria BC, Canada
website www.linuxsigbbc.wordpress.com
Loading...