View Single Post
Old 11-21-2011, 10:40 PM   #8
myudkowsky
Enthusiast
myudkowsky began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Nov 2010
Device: Andoid
MTP File system does not support normal directory creation

I think I've stumble across the problem with MTP filesystems mounted via mtpfs. The ordinary directory ("folder") creation does not work as expected.

"cp -r ~/foo/calibre/* /media/mtp/calibre", which attempts transfer the calibre library below "foo" to the mtpfs-mounted Asus device, fails. The files seem to have been copies, and you can even umount and mount to see them again in the Linux filesystem; but after umount they are not in the Asus system in any place that I can find. I suspect something very off in the directory metadata.

But if I copy only the files and not the directory structure, the files copy normally and can be seen on the device itself. I suspect this is the correct solution, or possibly a solution that separately copies the directory structure and the files.
myudkowsky is offline   Reply With Quote