b80a4e5d45
You can recover files as well complete devices. In case if finds sectors which simply cannot be recoverd, it writes an empty sector to the outputfile and continues. If you're recovering a CD or a DVD and the program cannot read the sector in "normal mode", then the program will try to read the sector in "RAW mode" (without error-checking etc.). This toolkit also has a utility called 'mergebad': mergebad merges multiple images into one. This can be usefull when you have, for example, multiple CD's with the same data which are all damaged. In such case, you can then first use recoverdm to retrieve the data from the damaged CD's into image-files and then combine them into one image with mergebad. WWW: http://www.vanheusden.com/recoverdm/ PR: ports/92148 Submitted by: Jeffrey H. Johnson <CPE1704TKS@bellsouth.net>
38 lines
914 B
Text
38 lines
914 B
Text
*** Makefile.orig Sun Jan 22 05:15:13 2006
|
|
--- Makefile Sun Jan 22 05:22:31 2006
|
|
***************
|
|
*** 1,14 ****
|
|
VERSION=0.19
|
|
|
|
! CFLAGS=-Wall -Wshadow -Wconversion -Wwrite-strings -Winline -O2 -DVERSION=\"$(VERSION)\"
|
|
LDFLAGS=
|
|
|
|
OBJSr=recoverdm.o dev.o io.o utils.o error.o
|
|
OBJSm=mergebad.o io.o utils.o error.o
|
|
|
|
all: recoverdm mergebad
|
|
|
|
recoverdm: $(OBJSr)
|
|
$(CC) -Wall -W $(OBJSr) $(LDFLAGS) -o recoverdm
|
|
strip recoverdm
|
|
echo
|
|
--- 1,19 ----
|
|
VERSION=0.19
|
|
|
|
! CFLAGS+=-Wall -DVERSION=\"$(VERSION)\"
|
|
LDFLAGS=
|
|
|
|
OBJSr=recoverdm.o dev.o io.o utils.o error.o
|
|
OBJSm=mergebad.o io.o utils.o error.o
|
|
|
|
all: recoverdm mergebad
|
|
+
|
|
+ install:
|
|
+ ${INSTALL} -m 755 recoverdm ${PREFIX}/bin
|
|
+ ${INSTALL} -m 755 mergebad ${PREFIX}/bin
|
|
+ ${INSTALL} -m 644 recoverdm.1 ${PREFIX}/man/man1
|
|
|
|
recoverdm: $(OBJSr)
|
|
$(CC) -Wall -W $(OBJSr) $(LDFLAGS) -o recoverdm
|
|
strip recoverdm
|
|
echo
|