Hi Carlos
The destination /devices/platform/fsl-ehci.0/usb1 was mounted to /mnt/media_rw/udisk. (Please refer to following log)
I found there are two of symlink /mnt/media_rw/udisk point to different target path.
The first one is in the ~/imx6/etc/init.rc.
mkdir /mnt/media_rw/udisk 0755 system system
symlink /mnt/media_rw/udisk /storage/udisk
The second is in the ~/device/fsl/PROJECT/init.rc
mkdir /storage/udisk 0000 system system
mkdir /mnt/media_rw/udisk 0666 system system
symlink /mnt/media_rw/udisk /udisk
If two of line in first file be commented, this error will be fixed.
It just different "SYMBOL" path point at the same source path, doesn't it?
Why? Any idea?
log
-----------------------------------------------------------------------------------------------------------------------------------------------
usb 1-1: new high speed USB device number 6 using fsl-ehci
usb 1-1: device v1307 p0163 is not supported
scsi7 : usb-storage 1-1:1.0
scsi 7:0:0:0: Direct-Access Ut163 USB2FlashStorage 0.00 PQ: 0 ANSI: 2
sd 7:0:0:0: [sdc] 1007616 512-byte logical blocks: (515 MB/492 MiB)
sd 7:0:0:0: [sdc] Write Protect is off
sd 7:0:0:0: [sdc] Mode Sense: 00 00 00 00
sd 7:0:0:0: [sdc] Asking for cache data failed
sd 7:0:0:0: [sdc] Assuming drive cache: write through
sd 7:0:0:0: [sdc] Asking for cache data failed
sd 7:0:0:0: [sdc] Assuming drive cache: write through
sdc:
D/Vold ( 2261): Volume udisk state changing 0 (No-Media) -> 1 sd 7:0:0:0: [sdc] Asking for cache data failed
(Idle-Unmounted)
D/MountService(sd 7:0:0:0: [sdc] Assuming drive cache: write through
2629): volume state changed for sd 7:0:0:0: [sdc] Attached SCSI removable disk
/storage/udisk (removed -> unmounted)
D/MountService( 2629): sendStorageIntent Intent { act=android.intent.action.MEDIA_UNMOUNTED dat=file:///storage/udisk (has extras) } to UserHandle{-1}
W/Vold ( 2261): Volume is idle but appears to be mounted - fixing
D/Vold ( 2261): Volume udisk state changing 1 (Idle-Unmounted) -> 4 (Mounted)
D/MountService( 2629): volume state changed for /storage/udisk (unmounted -> mounted)
D/MountService( 2629): sendStorageIntent Intent { act=android.intent.action.MEDIA_MOUNTED dat=file:///storage/udisk (has extras) } to UserHandle{-1}