Отправлено Мар 25, 2015

Проверка флэшки под Ubuntu

Как проверить реальный объем китайской флэшки?
Есть простая самописная программка F3. Мануалы к ней лежат тут http://oss.digirati.com.br/f3/

Коротко как делал я :

$ sudo ./f3probe --time-ops /dev/sdc
F3 probe 5.0
Copyright (C) 2010 Digirati Internet LTDA.
This is free software; see the source for copying conditions.
 
Please unplug and plug back the USB drive. Waiting... Thanks
 
Please unplug and plug back the USB drive. Waiting... Thanks
 
Please unplug and plug back the USB drive. Waiting... Thanks
 
Please unplug and plug back the USB drive. Waiting... Thanks
 
Please unplug and plug back the USB drive. Waiting... Thanks
 
Please unplug and plug back the USB drive. Waiting... Thanks
 
Please unplug and plug back the USB drive. Waiting... Thanks
 
Please unplug and plug back the USB drive. Waiting... Thanks
 
CAUTION		CAUTION		CAUTION
No more resets are needed, so do not unplug the drive
Probe finished, recovering blocks... Done
 
Bad news: The device `/dev/sdc' is a counterfeit of type limbo
 
You can "fix" this device using the following command:
f3fix --last-sec=7395991 /dev/sdc
 
Device geometry:
	        *Real* size: 3.53 GB (7395992 blocks)
	     Announced size: 125.00 GB (262144000 blocks)
	             Module: 128.00 GB (2^37 Bytes)
	Physical block size: 512.00 Byte (2^9 Bytes)
 
Probe time: 153.45 seconds
Probe read op: count=658, total time=3.36s, avg op time=5.10ms
Probe write op: count=613, total time=74.71s, avg op time=121.88ms
Probe reset op: count=8, total time=75.38s, avg op time=9422.22ms