I am back

Hello Linux Friends, i am back.  After 4 years i just returned.  The only think that we can be sure of is that everything changes.  I had to try another blogging system but just found that i missed this one all the time.  Finally i decided to return to this platform.

This time, how to detect a fake usb and know its real storage ? Well, i fall in the temptation of cheap usb and huge storage from ebay!! Oh yes!! How smart i am, i can purchase it cheaper and not paying so much!!  But well... reality always wins and the 128GB usb was just not working... after researching a little bit i found this tool for linux to detect the real storage for an USB.  Obseve, it tells it is from 125GB but the real size is 30GB.


f3probe --destructive --time-ops /dev/sdb
F3 probe 6.0
Copyright (C) 2010 Digirati Internet LTDA.
This is free software; see the source for copying conditions.

WARNING: Probing normally takes from a few seconds to 15 minutes, but
         it can take longer. Please be patient.

Bad news: The device `/dev/sdb' is a counterfeit of type limbo

You can "fix" this device using the following command:
f3fix --last-sec=64897023 /dev/sdb

Device geometry:
             *Usable* size: 30.95 GB (64897024 blocks)
            Announced size: 125.00 GB (262144000 blocks)
                    Module: 128.00 GB (2^37 Bytes)
    Approximate cache size: 0.00 Byte (0 blocks), need-reset=no
       Physical block size: 512.00 Byte (2^9 Bytes)

Probe time: 3'08"
 Operation: total time / count = avg time
      Read: 253.0ms / 2156 = 117us
     Write: 3'08" / 2151 = 87.5ms
     Reset: 0us / 0 = 0us

Comments