On 5/7/25 8:19 AM, Michael D. Setzer II via users wrote:
On 7 May 2025 at 9:35, George N. White III wrote:



Just to note there is a tool to check for fake USB and test USB
drives.

The latest version from Fedora Repo is
f3-8.0-8.fc41.x86_64

There is a newer version on https://github.com/AltraMayor/f3
Link to download latest
https://github.com/AltraMayor/f3/zipball/master

Change log show
Version 9.0 - Mar 27, 2025

     * f3read/f3write: Avoid the execution stack to list files
     * f3read/f3write: Add dynamic buffers
     * f3read/f3write: chroot(2) to source/target dir if allowed
     * Portability improvements for Ubuntu, ARM, OpenBSD, and
Apple
     * Automated test of the code with GitHub Actions
     * Improved documentation

Version 8.0 - Oct 29, 2020

     * f3read: add parameter --max-read-rate
     * f3read: report speed, percentage, remaining time like f3write
     * f3write: improve speed measurement (commit 791acdc32627...)
     * f3probe: handle rare assertion failure (issue #82 ENODATA)

The files it includes are
f3brew  f3fix  f3probe  f3read  f3write

Have found it useful for testing USB devices. It finds fake devices,
and can try to correct to real size, which is usually very small.
Generally, just throw away fake USBs.

Good Luck.

I've used this on every stick I've bought since I learned about f3 from this list 1 or 2 years ago. I agree: it's useful. But it is not useful for the problem this thread is trying to address. f3probe writes to the stick being tested. That will destroy what I'm trying to recover.

--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to