mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-05 06:10:13 -05:00
Changes the import command to use a new timestamp recognition.
This avoid the need of prehashing all the data, that could be very slow.
This commit is contained in:
parent
51356b55b0
commit
e17f12f26b
7 changed files with 48 additions and 13 deletions
11
Makefile.am
11
Makefile.am
|
|
@ -35,6 +35,7 @@ snapraid_SOURCES = \
|
|||
cmdline/selftest.c \
|
||||
cmdline/speed.c \
|
||||
cmdline/import.c \
|
||||
cmdline/search.c \
|
||||
cmdline/mingw.c \
|
||||
cmdline/unix.c
|
||||
|
||||
|
|
@ -74,6 +75,7 @@ noinst_HEADERS = \
|
|||
cmdline/spooky2test.c \
|
||||
cmdline/fnmatch.h \
|
||||
cmdline/import.h \
|
||||
cmdline/search.h \
|
||||
cmdline/mingw.h \
|
||||
cmdline/unix.h
|
||||
|
||||
|
|
@ -508,7 +510,14 @@ endif
|
|||
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) -c $(CONF) --test-force-scrub-even scrub
|
||||
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) -c $(CONF) status
|
||||
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) -c $(CONF) check
|
||||
echo --- Delete files from three disks and check/fix with import in PAR2
|
||||
echo --- Delete files from three disks and check/fix with import by data in PAR2
|
||||
rm -r bench/disk1/a
|
||||
rm -r bench/disk2/a
|
||||
mv bench/disk3/a bench/a
|
||||
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) --test-import-content bench/a -c $(PAR2) fix -l test.log
|
||||
rm -r bench/a
|
||||
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) -c $(CONF) sync
|
||||
echo --- Delete files from three disks and check/fix with import by timestamp in PAR2
|
||||
rm -r bench/disk1/a
|
||||
rm -r bench/disk2/a
|
||||
mv bench/disk3/a bench/a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue