Hi, All

Now I have an sdard with the partitions like following:
$ adb shell cat /proc/partitions
major minor  #blocks  name

 179        0    7830528 mmcblk0
 179        1      53248 mmcblk0p1
 179        2     991232 mmcblk0p2
 179        3      65536 mmcblk0p3
 179        4          1 mmcblk0p4
 179        5    2097152 mmcblk0p5
 179        6    2097152 mmcblk0p6
 179        7    2097152 mmcblk0p7
 259        0     420864 mmcblk0p8
$

And I add the line below into the /etc/vold.fstab file:
dev_mount sdcard /mnt/sdcard 8
/devices/platform/omap/omap_hsmmc.0/mmc_host/mmc0

but when I boot up the android, or when I run the vold command manually, I
will see the following information from logcat:
I/MemorySettings( 1652): Received storage state changed notification that
/mnt/sdcard changed state from unmounted to checking
W/MountService( 1393): Duplicate state transition (unmounted -> unmounted)
for /mnt/sdcard
D/MountService( 1393): sendStorageIntent Intent {
act=android.intent.action.MEDIA_UNMOUNTED dat=file:///mnt/sdcard (has
extras) }
E/DirectVolume( 3348): Partition
'/devices/platform/omap/omap_hsmmc.0/mmc_host/mmc0/mmc0:b368/block/mmcblk0/mmcblk0p8'
has a different major than its disk!
E/SocketListener( 3348): Obtaining file descriptor socket 'vold' failed: No
such file or directory
E/Vold    ( 3348): Unable to start CommandListener (No such file or
directory)
D/MountService( 1393): volume state changed for /mnt/sdcard (unmounted ->
checking)
E/Vold    ( 1271): Filesystem check failed (unknown exit code 8)
E/Vold    ( 1271): /dev/block/vold/16777215:255 failed FS checks (I/O error)
D/Vold    ( 1271): Volume sdcard state changing 3 (Checking) -> 1
(Idle-Unmounted)
E/DirectVolume( 1271): Partition
'/devices/platform/omap/omap_hsmmc.0/mmc_host/mmc0/mmc0:b368/block/mmcblk0/mmcblk0p8'
has a different major than its disk!

Anyone know how I can mount the mmcblk0p8 partition as sdcard with vold.

BTW, the mount command works:
mount -t vfat /dev/block/vold/259:0 /mnt/sdcard

Thanks,
Yongqin Liu

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to