On Thu, 10 May 2007, Carlos E. R. wrote:-
The Thursday 2007-05-10 at 01:48 +0200, Carlos E. R. wrote:
I expected the "real" time to be large, as I was doing other "heavy" things (a kdar backup that crashed), but the "user" time I expected to be
I found an interesting thing. I'm doing a test run of dar - after kdar crashed I saw the command line it uses and it is not so difficult - and I then told it to use "par". I thought it was going to use "par", but no, to me surprise it uses par2:
... Adding file to archive: /usr/share/susehelp/mecreating PAR file for file /Grande/kdar/system_backup_10.2_20070509.2.dar ... par2cmdline version 0.4, Copyright (C) 2003 Peter Brian Clements.
<Snip>
and it is the version I compiled, too. Curious!
Very interesting.
The dar command is told to use par via the option:
-B /usr/share/doc/packages/dar/dar_par.dcf
which runs that script at the end of each dar slice, I understand. It contains:
<Snip>
So, for creation it calls "/usr/share/doc/packages/dar/dar_par_create.duc", which in turn contains this:
# change according to you need PAR=par2
I did not touch that, it is dated "2006-11-25". Funny that SuSE contains a script calling a program they do not supply.
That's in the documentation, which means it's supplied by the original authors/packagers, not by SUSE.
Maybe I'll bug the bugzilla chaps a bit ;-)
Maybe bug them to include par2. The sources are the same as from sourceforge, except for repackaging them as a .tar.bz2, and there's the patch for it to compile using GCC4.
(The par calling code is:
exec $PAR c -r$6 -n1 "$1/$2.$3.$4"
with the positional parameters being:
<path> <basename> <slice number> <extension> <context(not used)> <redundancy ratio (%)>
Which explains why par2 can do the same job as par. That dar script doesn't use any of the features that aren't common to both par and par2. Regards, David Bolt -- Member of Team Acorn checking nodes at 50 Mnodes/s: http://www.distributed.net/ RISCOS 3.11 | SUSE 10.0 32bit | SUSE 10.1 32bit | openSUSE 10.2 32bit RISCOS 3.6 | SUSE 10.0 64bit | SUSE 10.1 64bit | openSUSE 10.2 64bit TOS 4.02 | SUSE 9.3 32bit | | openSUSE 10.3a3 32bit -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org