#
344091 |
|
13-Feb-2019 |
avos |
MFC r343871: recoverdisk(1): fclose() file supplied via '-r readlist' parameter when it's no longer needed
PR: 204952 Reported by: David Binderman <dcb314@hotmail.com>
|
#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
298872 |
|
01-May-2016 |
pfg |
sbin: ake use of our rounddown() macro when sys/param.h is available.
No functional change.
|
#
248279 |
|
14-Mar-2013 |
delphij |
Correct type for DIOCGSTRIPESIZE. Without this there would be a stack overflow which will crash the program later.
PR: bin/176953 Submitted by: r4721 tormail org MFC after: 3 days
|
#
246329 |
|
04-Feb-2013 |
delphij |
Use stripesize as smallest block size if it's available.
MFC after: 2 weeks
|
#
227081 |
|
04-Nov-2011 |
ed |
Add missing static keywords for global variables to tools in sbin/.
These tools declare global variables without using the static keyword, even though their use is limited to a single C-file, or without placing an extern declaration of them in the proper header file.
|
#
221304 |
|
01-May-2011 |
uqs |
recoverdisk(8): treat output file consistently and abort on EINVAL
This improves usability a little as we no longer require using touch. Also reword the manpage wrt. parameters and fix usage() [1]
With no media in a cd(4) drive, the reads will loop producing EINVAL, abort in that case [2].
Document the shortcoming of sectorsize and MAXPHYS (a quick solution to this might be having MAXPHYS as the "bigsize", in short testing it didn't make a difference on throughput).
Submitted by: arundel [1] PR: bin/154528 [2]
|
#
190317 |
|
23-Mar-2009 |
phk |
Save (empty) worklist at successful completion
|
#
189703 |
|
11-Mar-2009 |
ed |
Also use %zu to print the allocation size when malloc(3) fails.
Discussed with: phk
|
#
189700 |
|
11-Mar-2009 |
phk |
Fix printf warnings on amd64 etc.
|
#
189691 |
|
11-Mar-2009 |
phk |
Some improvements to recoverdisk
|
#
187360 |
|
17-Jan-2009 |
phk |
Bail on ENXIO, you won't get any further any way.
Submitted by: tobez
|
#
170888 |
|
17-Jun-2007 |
phk |
This is a forced (and belated) commit to record that these files were repocopied from src/tools/tools/recoverdisk
|
#
168972 |
|
23-Apr-2007 |
phk |
Improve reporting in recoverdisk a good deal.
Submitted by: Ulrich Spoerlein <uspoerlein@gmail.com> PR: 111630
|
#
159076 |
|
30-May-2006 |
matteo |
Make recoverdisk compile on amd64 and possibly other 64bit archs. Bump WARNS to 6.
PR: amd64/97566 Reviewed by: phk@ MFC after: 3 days
|
#
158337 |
|
06-May-2006 |
maxim |
o Take an account a media sectorsize for medium and bigsize calculation. o Introduce -r and -w keys which allow to load and save a worklist. o Replace README by man page.
PR: bin/96677 Submitted by: Ulrich Spoerlein Approved by: phk MFC after: 1 month
|
#
149605 |
|
29-Aug-2005 |
sobomax |
Extend utility to allow recovering single file from the deffective media.
MFC after: 2 weeks
|
#
136815 |
|
23-Oct-2004 |
des |
Use %zu to format size_t instead of %jd and an intmax_t cast.
Approved by: hamlet
|
#
136808 |
|
23-Oct-2004 |
phk |
Stop amd64 warnings.
|
#
136257 |
|
08-Oct-2004 |
phk |
Only print progress statistics once per second.
|
#
135911 |
|
28-Sep-2004 |
phk |
This is a small tool which will read an entire disk(partition) using 1M blocks and optionally write the read data to a file or disk.
If a read error happens, the 1M block gets put on the end of the worklist and will be retried with 64k blocksize.
If a read error happens again, the 64k block gets put at the end of the worklist and will be retried with single sector reads.
The program keeps trying until you stop it.
You can refresh a disk:
recoverdisk /dev/ad1 /dev/ad1
or salvage a floppy:
recoverdisk /dev/fd0 myfloppy.flp
|