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.
When one or more
mtp
devices attached, a backend (or udev?) automatically mount the device, and useudisk2
to monitor thevolume-added
/mount-added
event. Whenmtp
device deattached, the backend (or udev?) automatically unmount the device, and useudisk2
to monitor thevolume-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?