Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I bought a while ago a sdcard that is supposedly 32GB, but after using it for some time, I found that it only has 2GB wired in. If I write past the 2GB limit, the files I read are composed of zero bytes.

I know the first 2GB are valid, but I don't know exactly at which sector the valid area stops. Do you know how on Linux I could easily find the last usable sector. So I could create a filesystem that is limited to this valid area


share|improve this question
up vote 1 down vote accepted

I'd personally recommend throwing it out. You've got a card that seems to be deliberately mis-reporting it's capabilities (presumably in order to get you to pay for memory you weren't getting). There's no good way for you to know just how it's going to behave, even if you limit the filesystem size to the 'actual' flash area - It may be doing all sorts of odd tricks like keeping the most recent 2 GB of data or whatever in order to better fool the potential customer.

I don't think you can trust this device, no matter what you do to it - even if you get it 'working' as a 2 GB device, it may still be a really crummy one and die early.

share|improve this answer
Oh god, and it's so easy to do this, too. I could have a MicroSD report that it hold 2TB, if I really wanted. Actually, I think I will, just to see if my theory is right. – Rob Nov 2 '11 at 22:31
The drive stopped functioning anyway – user36520 Nov 3 '11 at 13:01

There are many fake flash drives 'doing the rounds' recently... here is a good piece of software for testing. here is another good read :)

share|improve this answer
Th the page you link, there is a program for linux:… – user36520 Nov 2 '11 at 13:29
Edited, thanks! :) – HaydnWVN Nov 2 '11 at 13:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .