On 19/09/2020 18.28, jdd@dodin.org wrote:
Le 19/09/2020 à 18:17, Carlos E. R. a écrit :
I've never found a bad stick or bad card. Then I buy at reputable places...
I often do :-(
And you get bads? I typically buy at Media Mark my sticks, or a local big place. I bought 3 USB-3 sticks the other day, I will test one with F3 to see how it goes. (22/22) Installing: atril-lang-1.20.0-lp151.2.4.noarch ............................................................................................................................................[done] Telcontar:~ # f3 If 'f3' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf f3 Telcontar:~ # cnf f3 f3: command not found Telcontar:~ # cnf F3 F3: command not found Telcontar:~ # zypper se f3 Retrieving repository 'EXT: Packman Repository' metadata ..........................................................................................................................................[done] ... Loading repository data... Reading installed packages... S | Name | Summary | Type --+-------------------------------------+------------------------------------------------------------------------+----------- | f3 | Fight Flash Fraud / Fight Fake Flash | package | f3-debuginfo | Debug information for package f3 | package | f3-debugsource | Debug sources for package f3 | package ... Telcontar:~ # So it is there. Telcontar:~ # zypper install f3 ... (1/1) Installing: f3-7.0-lp151.2.3.x86_64 .........................................................................................................................................................[done] Telcontar:~ # Telcontar:~ # f3 --help If 'f3' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf f3 Telcontar:~ # What? Telcontar:~ # rpm -ql f3 /usr/bin/f3read /usr/bin/f3write /usr/sbin/f3brew /usr/sbin/f3fix /usr/sbin/f3probe /usr/share/doc/packages/f3 /usr/share/doc/packages/f3/LICENSE /usr/share/doc/packages/f3/README.rst /usr/share/doc/packages/f3/changelog /usr/share/doc/packages/f3/examples /usr/share/doc/packages/f3/examples/f3write.h2w /usr/share/doc/packages/f3/examples/log-f3wr /usr/share/man/man1/f3read.1.gz /usr/share/man/man1/f3write.1.gz Telcontar:~ # NAME f3write, f3read - test real flash memory capacity ... EXAMPLE To write over a flash drive mounted at /media/TEST: $ f3write /media/TEST To read this flash drive: $ f3read /media/TEST It has to be mounted? Ok... I have to format it first, it contains the 15.2 iso. Done. Telcontar:~ # time f3write /media/DESTROYABLE/ F3 write 7.0 Copyright (C) 2010 Digirati Internet LTDA. This is free software; see the source for copying conditions. Free space: 7.02 GB Creating file 1.h2w ... OK! Creating file 2.h2w ... OK! Creating file 3.h2w ... OK! Creating file 4.h2w ... OK! Creating file 5.h2w ... OK! Creating file 6.h2w ... OK! Creating file 7.h2w ... OK! Creating file 8.h2w ... OK! Free space: 0.00 Byte Average writing speed: 9.52 MB/s real 12m41.392s user 0m1.896s sys 0m8.135s Telcontar:~ # Telcontar:~ # ls /media/DESTROYABLE/ 1.h2w 2.h2w 3.h2w 4.h2w 5.h2w 6.h2w 7.h2w 8.h2w Telcontar:~ # ls -lh /media/DESTROYABLE/ total 7.1G -rw-r--r-- 1 cer users 1.0G Sep 19 18:55 1.h2w -rw-r--r-- 1 cer users 1.0G Sep 19 18:57 2.h2w -rw-r--r-- 1 cer users 1.0G Sep 19 18:59 3.h2w -rw-r--r-- 1 cer users 1.0G Sep 19 19:00 4.h2w -rw-r--r-- 1 cer users 1.0G Sep 19 19:02 5.h2w -rw-r--r-- 1 cer users 1.0G Sep 19 19:04 6.h2w -rw-r--r-- 1 cer users 1.0G Sep 19 19:06 7.h2w -rw-r--r-- 1 cer users 25M Sep 19 19:06 8.h2w Telcontar:~ # time f3read /media/DESTROYABLE/ F3 read 7.0 Copyright (C) 2010 Digirati Internet LTDA. This is free software; see the source for copying conditions. SECTORS ok/corrupted/changed/overwritten Validating file 1.h2w ... 2097152/ 0/ 0/ 0 Validating file 2.h2w ... 2097152/ 0/ 0/ 0 Validating file 3.h2w ... 2097152/ 0/ 0/ 0 Validating file 4.h2w ... 2097152/ 0/ 0/ 0 Validating file 5.h2w ... 2097152/ 0/ 0/ 0 Validating file 6.h2w ... 2097152/ 0/ 0/ 0 Validating file 7.h2w ... 2097152/ 0/ 0/ 0 Validating file 8.h2w ... 51048/ 0/ 0/ 0 Data OK: 7.02 GB (14731112 sectors) Data LOST: 0.00 Byte (0 sectors) Corrupted: 0.00 Byte (0 sectors) Slightly changed: 0.00 Byte (0 sectors) Overwritten: 0.00 Byte (0 sectors) Average reading speed: 39.88 MB/s real 3m0.373s user 0m3.705s sys 0m1.917s Telcontar:~ # So, it is good. The thing is, on the package, 8GB from Trascend. It is not. Telcontar:/data/storage_b # fdisk -l /dev/sde Disk /dev/sde: 7 GiB, 7558135808 bytes, 14761984 sectors Disk model: Transcend 8GB ... It is 7.558GB, or 7GiB. No way 8GB. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)