necromant@ilwyn:~/Dev/software/scam-o-matic$ time sudo ./scam-o-matic /dev/sdf
!!!WARNING!!! I will now destroy all data on the device /dev/sdf
!!!WARNING!!! If you are ok with that - type OK & press enter
OK
Rock'n'roll, then!
Device reports to be 4194304000 bytes long.
Sectors are presumably 512 bytes each.
!!!WARNING!!! Last chance to stop. Are you sure? If so - type YES
YES
Starting a desructive surface test
Testing at position: 115343360
Ooops: 0xE383DF81 vs 0x8D5A303E
Mismatch at 115834880 detected
Sorry, dude, but it look like you've been scammed.
Or you might just have a old'n'corrupt card.
In case of scam you still have 115834876 usable bytes
That we can salvage. Let me double check the area for overwrites
Double checking at position: 113246208/115834876
Ooops: 0x202059EE vs 0x2122330B
Desert night casino.Double checking at position: 115343360/115834876
Ooops: 0xE383DF81 vs 0x8D5A303E
The region looks fine. That's 0% of reported capacity.
Clearing first sector..
Would you like me to run fdisk and
Automagically create a partition, that will use only
the really avaliable space? (YEP/NOPE)YEP
Creating partition with 224191 sectors. Command line below
(echo n; echo p; echo 1; echo 2048; echo +224191; echo w)|fdisk /dev/sdf
Устройство не содержит ни верной таблицы разделов DOS, ни метки диска Sun, SGI или OSF
Building a new DOS disklabel with disk identifier 0x4fc8d399.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.
Предупреждение: неверный флаг 0x0000 таблицы разделов 4 будет исправлен записью
Команда (m для справки): Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p): Номер раздела (1-4, по умолчанию 1): Первый сектор (2048-8191999, по умолчанию 2048): Last сектор, +секторы or +size{K,M,G} (2048-8191999, по умолчанию 8191999):
Команда (m для справки): Таблица разделов была изменена!
Вызывается ioctl() для перечитывания таблицы разделов.
Синхронизируются диски.
I've done all I could. Good Bye.
Some rights reserved. (c) Necromant 2011
real 0m44.373s
user 0m1.748s
sys 0m0.666s
|