summaryrefslogtreecommitdiffstats
path: root/system/f3/README.SBo
blob: 1908419a726e46ffb059dcb9112c63fe710324e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Testing performance with f3read / f3write
=========================================

f3read / f3write assume your USB Drive is mounted.

NOTE: Change /dev/sdX1 on the command line for your USB Drive.
NOTE: Change /mnt/usb  on the command line for your mount point.

   # mkdir /mnt/usb
   # mount /dev/sdX1 /mnt/usb

WARNING: f3write may destroy any previously stored data on /dev/sdX

   $ f3write /mnt/usb/5EBD-5C80/
   $ f3read  /mnt/usb/5EBD-5C80/

For more information see http://oss.digirati.com.br/f3/


Bash scripts
============

Although the simple scripts listed in this section are ready for use,
they are really meant to help you to write your own scripts.
So you can personalize F3 to your specific needs.

   f3write.h2w - Script to create files exactly like H2testw.

   Use example:  f3write.h2w /mnt/usb/5EBD-5C80/

   log-f3wr    - Script that runs f3write and f3read, and records
                 their output into a log file.

   Use example:  log-f3wr log-filename /mnt/usb/5EBD-5C80/

The two example template scripts are in /usr/doc/f3-${VERSION}/

Please note that the scripts and use examples above assume that
f3write, f3read, and the scripts are in the same folder.


Quick capacity tests with f3probe
=================================

f3probe is the fastest drive test and suitable for large disks because
it only writes what?s necessary to test the drive. It operates directly
on the (unmounted) block device and needs to be run as a privileged user:

NOTE:  Change /dev/sdX on the command line for your USB Drive.

WARNING: f3probe will destroy any previously stored data on /dev/sdX

   # ./f3probe --destructive --time-ops /dev/sdX


Correcting capacity to actual size with f3fix
=============================================

f3fix creates a partition that fits the actual size of the fake drive.

Use f3probe?s output to determine the parameters for i3fix:

   # ./f3fix --last-sec=16477878 /dev/sdX