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 -~----------~----~----~----~------~----~------~--~---

