On Sun, Mar 30, 2008 at 02:17:10PM +0300, Marius Gedminas wrote: > On Sun, Mar 30, 2008 at 10:57:37AM +0000, Andrew Flegg wrote: > > On Sun, Mar 30, 2008 at 10:52 AM, Marius Gedminas <marius at pov.lt> wrote: > > > Something weird is happening to my N810's internal flash memory (the > > > one with the VFAT-formatted 2 gig "internal memory card", not the 256 > > > meg jffs2 root filesystem). > > > > > > It appears as if writing near the end of the device wraps around and > > > destroys the data at the beginning. I can reproduce it like this: ... > Also, I can get a fs error in dmesg if I deliberately create a smaller > filesystem (1.7 gig) with > > sudo mkdosfs -F 32 /dev/sdb1 1700000 > > and then fill it up with a single big file. > > If I reduce the filesystem size to just 1000000 blocks, I can fill it up > with no kernel complaints in dmesg. It's not a bug in the vfat driver. I can fill up a 2 gig vfat filesystem image mounted via the loop device without triggering the bug. Marius Gedminas -- An algorithm must be seen to be believed. -- D.E. Knuth -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.maemo.org/pipermail/maemo-users/attachments/20080330/68148640/attachment.pgp