336 Commits

Author SHA1 Message Date
Michel Machado
7ff9fad37a libdevs: fix compiler warning
Warning:
libdevs.c:26:19: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]
 static const char const *ftype_to_name[FKTY_MAX] = {
                   ^~~~~
2018-12-10 14:07:48 -05:00
Michel Machado
381d8603c2 f3probe: deal with an assertion failure
This patch may address the following issue:
https://github.com/AltraMayor/f3/issues/82
2018-12-10 14:04:29 -05:00
Michel Machado
9ab7e7a48d f3brew: add a comment to the code
The comment explains from where the name B-RE-W comes.

It is meant to address some confusion that may raise as
the following pull request points out:
https://github.com/AltraMayor/f3/pull/96
2018-11-28 09:33:36 -05:00
Michel Machado
4b2eabed72
Merge pull request #95 from dgw/link-updates
HTTPS-ify & fix links
2018-10-08 12:14:50 -04:00
dgw
f6f6d891c7 HTTPS-ify & fix links
Several of the HTTP links are now available over HTTPS, and the
documentation should link directly to the secure version of the
referenced page.

Along the way, a couple of broken links were updated.
2018-10-08 03:08:38 -05:00
Michel Machado
169ea4bcb4
Merge pull request #90 from jwilk-forks/spelling
Fix typos
2018-09-24 08:32:56 -04:00
Jakub Wilk
417a1851fa Fix typos 2018-09-24 10:43:21 +02:00
Michel Machado
e56d2ac729 Bump version to 7.1 v7.1 2018-07-27 04:10:35 -04:00
Michel Machado
742f4e613f f3probe: change default reset type to RT_NONE
Change default reset type from RT_USB to RT_NONE in order to
address the following issues:

https://github.com/AltraMayor/f3/issues/79
https://github.com/AltraMayor/f3/issues/81
2018-06-08 11:43:17 -04:00
Michel Machado
4eafe2885e
Merge pull request #75 from avindra/patch-1
Makefile: remove ownership setting
2018-02-05 09:48:57 -05:00
Avindra Goolcharan
74f2ead52d
Makefile: remove ownership setting
This causes openSUSE RPM builds to break (and probably other rpm based distros)
2018-02-03 12:56:20 -05:00
Michel Machado
e9495c16a3
Merge pull request #74 from mistydemeo/set_argp_per_os
Set argp-standalone flags per-OS
2018-01-31 10:27:01 -05:00
Michel Machado
572af383ca
Update README.rst 2018-01-31 10:25:02 -05:00
Misty De Meo
8dd6f0f4ec README: update building instructions for argp 2018-01-30 19:02:53 -08:00
Misty De Meo
5ad4130088 Makefile: set argp flags on non-Linux OSs 2018-01-30 19:02:46 -08:00
Michel Machado
ed8c93758e
Merge pull request #72 from bmcdonnell-ionx/master
update README with prerequisites for building on Cygwin
2018-01-16 13:41:52 -05:00
McDonnell
b6be3deaa7 update README with prerequisites for building on Cygwin 2018-01-16 12:57:54 -05:00
Michel Machado
b7aa61bf15 README.rst: fix typo 2017-12-22 14:16:03 -05:00
Michel Machado
888cdf941b f3write: make maximum write rate precise
When parameter --max-write-rate is used,
this patch makes the rate algorithm precisely match that rate.

The error was around 3% for rates above 1MB/s.
2017-12-22 14:14:56 -05:00
Michel Machado
8503adda01 Makefile: reverse previous pull request
The previous pull request broken Makefile for Linux.

It'd be great to have a solution for all platforms, but, for now,
one has to uncomment lines on Makefile to work on some platforms.
2017-12-22 09:15:24 -05:00
Michel Machado
250f584e06
Merge pull request #67 from ilovezfs/argp
Add ARGP to Makefile
2017-12-22 09:07:35 -05:00
Michel Machado
02bdccba4c
Update Makefile 2017-12-22 09:07:02 -05:00
ilovezfs
f10263dd89 Add ARGP to Makefile
Allow the prefix of argp-standalone to be passed to `make` so that the
CFLAGS and LDFLAGS for argp-standalone don't have to be set manually.
2017-12-21 15:28:24 -08:00
Michel Machado
b8864dac2d Bump version to 7.0 v7.0 2017-12-21 14:32:02 -05:00
Michel Machado
865c44f21c f3write: fix saved_error bug
When measure() fails at the very last end of a file,
@remaining is zero.
Since @saved_errno is not ENOSPC, but @remaining is zero,
the code was considering that the file was properly written.
2017-12-19 15:22:48 -05:00
Michel Machado
485b81ceb0 f3write: suggest --max-write-rate for error EIO 2017-12-19 11:46:32 -05:00
Michel Machado
2544c80ab0 f3write: add parameter --max-write-rate
This parameter is useful to test cards that overheat.

Daniel Otero (@danielotero) pointed out the overheat problem, and
suggested the parameter as a solution in the following issue:

https://github.com/AltraMayor/f3/issues/37
2017-12-19 10:50:40 -05:00
Michel Machado
7172cff4b9 f3write: gracefully handle failures of fdatasync(2)
This patch solves the following issue:

https://github.com/AltraMayor/f3/issues/37
2017-12-18 16:04:45 -05:00
Michel Machado
74028104f6
Merge pull request #66 from anarcat/rst
convert documentation and website to Sphinx
2017-11-16 15:39:54 -05:00
Antoine Beaupré
5d946689b7
add local TOC for the long usage page 2017-11-16 13:13:31 -05:00
Antoine Beaupré
b35ff562c9
show prev/next links
Otherwise there is no obvious way to go back up to other sections
2017-11-16 13:13:21 -05:00
Antoine Beaupré
d0523b7d5f
split webpage in different documents 2017-11-16 12:43:58 -05:00
Antoine Beaupré
6a2591a463
add sphinx boilerplate 2017-11-16 12:37:48 -05:00
Antoine Beaupré
4324c1cc44
convert webpage into RST 2017-11-16 12:36:45 -05:00
Antoine Beaupré
2e8a6e601e
convert README into a RST file 2017-11-16 11:24:53 -05:00
Michel Machado
6450f07bdf Merge pull request #64 from anarcat/patch-1
README improvements
2017-07-19 11:46:33 -04:00
anarcat
d98c65edf5 add table of contents
generated with emacs `markdown-toc` module
2017-07-19 08:54:35 -04:00
anarcat
bc9c711b88 group instructions under common headings
we regroup compilation instructions together and the last two misc sections.
2017-07-19 08:52:17 -04:00
anarcat
2419fb247d move examples up in the README, add intro
this is inspired by the art of readme
2017-07-19 08:49:41 -04:00
Michel Machado
83f6c0523a f3probe: add support to non-USB devices
This patch adds support to non-USB devices when reset is disabled
with parameter --reset-type=2
This patch address the following issue:

https://github.com/AltraMayor/f3/issues/62
2017-06-25 08:41:45 -04:00
Michel Machado
abd7ae0785 Merge pull request #61 from sgerwk/master
Fix starting time in f3read, and adding DESTDIR variable to Makefile
2017-06-10 09:44:28 -04:00
sgerwk
1526d8a996 add DESTDIR to Makefile 2017-06-07 13:47:46 +02:00
sgerwk
9a39351d92 fix starting time of reading 2017-06-07 13:30:05 +02:00
Michel Machado
53772d3a99 Merge pull request #56 from kalsan/master
Update README.md
2017-01-18 08:26:49 -05:00
Sandro Kalbermatter
179c6e31af Update README.md
Added quick introduction to f3probe and f3fix
2017-01-18 08:29:11 +01:00
Michel Machado
eabf001f69 README: add specific steps to compile on Windows/Cygwin
This patch includes feedback from the following issues:

https://github.com/AltraMayor/f3/issues/51

https://github.com/AltraMayor/f3/issues/55
2016-11-16 16:25:59 -05:00
Michel Machado
8c33abff6a f3write: reduce the number of write() system calls
This patch combines many calls to system call write() into
a single call.
This lower number of calls, and the combined buffer should enable
the kernel to speed up f3write to match H2testw' performance as
reported in the following issue:

https://github.com/AltraMayor/f3/issues/55
2016-11-15 16:57:11 -05:00
Michel Machado
f1a7eead90 f3read: avoid surprising warning message
When f3read is called without parameters --start-at and --end-at,
and a F3 file is missing, f3read shows the following warning:

WARNING: Not all F3 files in the range 1 to 9223372036854775807 are available

This message surprises users, see issue below:
https://github.com/AltraMayor/f3/issues/53

This patch adopts the number of the last file available to compose
the message, so in the example of the issue above, it would be 1741.
2016-11-04 10:01:22 -04:00
Michel Machado
98a2ea77ec Merge pull request #54 from ocroquette/macports
Update README.md with information about MacPorts
2016-10-28 15:27:23 -04:00
Olivier Croquette
6935b5a0ea Update README.md 2016-10-28 20:40:37 +02:00