I got it to mount/unmount automagically with this:
Code:
$ cat 82-meizu.rules
# montar/desmontar la particion del meizu
ACTION=="add", SUBSYSTEMS=="usb", DRIVERS=="usb", ATTRS{idVendor}=="0492", ATTRS{idProduct}=="0140", ATTRS{serial}=="000000E5E5000", \
RUN+="/bin/mount /media/meizu"
ACTION=="remove", DEVLINKS=="*/dev/meizu*", \
RUN+="/bin/umount -l /media/meizu"
And in fstab I have this line:
Code:
/dev/meizu /media/meizu vfat defaults,uid=antoranz,gid=antoranz,utf8 0 0