You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adbfs does not know how to handle multiple connected devices.
joost@laptop: ~ $ mkdir droid joost@laptop: ~ $ ls -l | grep droiddrwxr-xr-x 2 joost joost 4096 25 aug 10:45 droidjoost@laptop: ~ $ adb devicesList of devices attachedXXX deviceYYY devicejoost@laptop: ~ $ adbfs ~/droid--*-- exec_command: adb shell "ls"adb: more than one device/emulator
It does however tries to mount something, making the ~/droid directory inaccessible.
joost@laptop: ~ $ ls -l | grep droidls: cannot access 'droid': No such file or directoryd????????? ? ? ? ? ? droidjoost@laptop: ~ $ mount | grep droidadbfs on /home/joost/droid type fuse.adbfs (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
I cannot find a flag in the adbfs --help to select the device (like adb's -s-flag). Through reading the adb --help, however, i did learn about the existence of the $ANDROID_SERIAL variable. Using this also applies to adbfs and i was able to mount my device correctly.
joost@laptop: ~ $ ANDROID_SERIAL=XXX adbfs ~/droid--*-- exec_command: adb shell "ls"joost@laptop: ~ $ ls ~/droidacct bin config data default.prop etc mnt oem product sdcard sys system_extapex bugreports d debug_ramdisk dev lost+found odm proc res storage system vendor
So there are two parts to this issue-report:
Prevent/undo the mounting things upon an error; to prevent the mount-directory to become inaccessible
Either support a device-flag or document the usage of $ANDROID_SERIAL
The text was updated successfully, but these errors were encountered:
Adbfs does not know how to handle multiple connected devices.
It does however tries to mount something, making the
~/droid
directory inaccessible.I cannot find a flag in the
adbfs --help
to select the device (like adb's-s
-flag). Through reading theadb --help
, however, i did learn about the existence of the$ANDROID_SERIAL
variable. Using this also applies to adbfs and i was able to mount my device correctly.So there are two parts to this issue-report:
The text was updated successfully, but these errors were encountered: