我需要从命令行访问 MTP 设备(通过 USB 连接的三星手机)。我已列出使用的连接设备lsusb
,这是输出:
# lsusb
Bus 002 Device 003: ID 413c:2107 Dell Computer Corp.
Bus 002 Device 016: ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy (MTP)
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 003: ID 0951:1666 Kingston Technology DataTraveler G4
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
读完后这帖子我试图在本地文件系统上找到这样的路径,但无法找到它。这是该文件夹的内容:
# tree /run/user/
/run/user/
├── 1000
│ ├── dconf
│ │ └── user
│ ├── gvfs
│ ├── KeePass
│ ├── pulse
│ │ ├── native
│ │ └── pid
│ └── systemd
│ ├── notify
│ └── private
└── 988
├── dconf
│ └── user
└── systemd
├── notify
└── private
似乎与 MTP 设备无关,如何从命令行访问 MTP 设备(SD 卡和内部卡)?