This website requires JavaScript.
Explore
Help
Sign In
d
/
freebsd-dev
Watch
1
Star
0
Fork
0
You've already forked freebsd-dev
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
89d500c6a8
freebsd-dev
/
sbin
/
recoverdisk
/
Makefile
10 lines
100 B
Makefile
Raw
Normal View
History
Unescape
Escape
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
2004-09-28 22:00:01 +00:00
# $FreeBSD$
PROG
=
recoverdisk
Make recoverdisk compile on amd64 and possibly other 64bit archs. Bump WARNS to 6. PR: amd64/97566 Reviewed by: phk@ MFC after: 3 days
2006-05-30 19:10:18 +00:00
WARNS
?=
6
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
2004-09-28 22:00:01 +00:00
.
i
n
c
l
u
d
e
<
b
s
d
.
p
r
o
g
.
m
k
>
test
:
${
PROG
}
./
${
PROG
}
/dev/ad0
Reference in New Issue
Copy Permalink