将文件复制到 Kubuntu(13.04)上的 Nexus 4

将文件复制到 Kubuntu(13.04)上的 Nexus 4

我知道,这个问题已经被问过几次了,但我仍然无法将文件复制到安装在 Kubuntu 13.04 机器上的新 Nexus 4 手机上。我按照以下指南操作:http://www.pocketables.com/2013/03/how-to-mount-the-lg-nexus-4-as-a-usb-drive-in-linux.html 我只会得到:

 $ cp -r /mnt/media/Albums/A\ Perfect\ Circle\ -\ Thirteenth\ Step/ .
cp: accessing ‘.’: Transport endpoint is not connected
reg@regDesktopHome:/media/nexus4/Internal storage/Music$ ls -l

但此后,mount仍然显示它已安装: mtpfs on /media/nexus4 type fuse.mtpfs (rw,nosuid,nodev,allow_other)

这是怎么回事?谢谢您的帮助!

编辑

当我尝试对它进行 fsck 时,我得到了这个:

$ sudo fsck /media/nexus4
fsck from util-linux 2.20.1
e2fsck 1.42.5 (29-Jul-2012)
fsck.ext2: Is a directory while trying to open /media/nexus4

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

$ 

并且复制目录cp -r实际上只会复制目录但不复制内容,然后我会尝试复制内容,它看起来像:

reg@regDesktopHome:/media/nexus4/Internal storage/Music/A Perfect Circle - Thirteenth Step$ cp /mnt/media/Albums/A\ Perfect\ Circle\ -\ Thirteenth\ Step/* .
reg@regDesktopHome:/media/nexus4/Internal storage/Music/A Perfect Circle - Thirteenth Step$ ls -l
total 0
reg@regDesktopHome:/media/nexus4/Internal storage/Music/A Perfect Circle - Thirteenth Step$ 

这是怎么回事?

谢谢!

答案1

您遇到了 fuse 挂载点问题。您应该尝试卸载、运行 fsck 或重新启动系统。

sudo fsck /media/nexus4
sudo umount /media/nexus4

如果仍然无法卸载,则重新启动系统。卸载文件系统后,再次安装该设备。

相关内容