Hi, I formatted the sdcard from my PC with FAT.
While mounting sdcard on hardware, it uses "vfat" as file type and /dev/block/mmcblk0 as device node. Mount happens successfully on hardware as i can see the device node "/dev/block/mmcblk0". I am also able to create file in /sdcard. What could be the issue here? Regards, krish On Wed, Feb 11, 2009 at 6:25 AM, Rizvan S <[email protected]>wrote: > Hi, > > Which formate you use for sdcard partition? > Did you formate card with ext2 etc ? which device node you use to formate ? > > i.e fdisk /dev/mmcblk0 (on linux PC ) > > When you mount sdcard in linux ( on your hardware ), which device node > you use and which file type you specify ? > > i.e mount -t ext2 /dev/mmcblk0 /mnt ( linux running on your hardware ) > > Whats message on console after mount command? > Go to /mnt, try to create some file. If this is working that means your > mount process is fine. > > If mount is fine then only 'umount' works otherwise there is no meaning to > run 'umount'. > > Let me know if you still have issue after checking above procedure. > > Thanks > Rizavan > > > On Wed, Feb 4, 2009 at 9:00 AM, krish24 <[email protected]> wrote: > >> >> Hi All, >> >> We have ported android to our hardware. I am facing some issues >> related to sdcard. >> >> Here is the test scenario and issues: >> >> First issue : >> >> 1> On hardware, insert the card and copy a file to sdcard using dd >> command. >> 2> Remove the card from hardware. >> 3> do ls /sdcard >> It shows the file present in sdcard. It seems umount of sdcard device >> is not happening. >> >> Second issue: >> >> 1> Copy a file to sdcard using dd command. >> 2> Remove the sdcard and check the content of the sdcard from PC. >> File is not visible. >> 3> Copy file to sdcard again and then check the content of sdcard >> from PC. File size is zero bytes. >> 4> Restart the hardware and copy the file again. File is visible when >> checked from PC. >> >> Third issue: >> 1> The content of copied file are not matching with the original >> source file. >> >> Please share your Ideas, suggestions on how to fix this? >> >> Regards, >> krish >> >> >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

