whoozle / android-file-transfer-linux

Android File Transfer for Linux (and macOS!)
http://whoozle.github.io/android-file-transfer-linux/
GNU Lesser General Public License v2.1
1.47k stars 120 forks source link

It is recommended to add support for automatic mount and umount #258

Open oucaijun opened 3 years ago

oucaijun commented 3 years ago

When one or more mtp devices attached, a backend (or udev?) automatically mount the device, and use udisk2 to monitor the volume-added/mount-added event. When mtp device deattached, the backend (or udev?) automatically unmount the device, and use udisk2 to monitor the volume-removed/mount-removed event.

It's useful as we prefer to provide a easy way to manage mtp device, it's not easy for normal user who lacks of understanding of Linux. That's what I really want to achieve.

Will it be a time-taking work?