par2create ought to accept absolute amount of redundancy to create, as well as percentage

Bug #535309 reported by gwern
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
par2cmdline (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Currently, one uses -r to specify the % of the original to create; eg

         par2create -r5 foo.mpg

for 5% redundancy. But overhead and imprecise calculating of what exactly percent one wants can mean that one goes overboard and makes too much redundancy to fit on a CD/DVD/backup medium or makes too little (frequently I waste a good 100MB on DVDs because I need to leave a fudge factor; 100MB could've corrected a lot of errors).

Better would be if one could specify how many megabytes or kilobytes to make, so if one has 4 gigs of data to protect, one could do something like

       par2create -r200MB *

and wind up with the exact 4.2 gigs and no wasted space.

tags: added: kernel-series-unknown
tags: removed: kernel-series-unknown
Revision history for this message
gwern (gwern0) wrote :
jcfp (jcfp)
Changed in par2cmdline (Ubuntu):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package par2cmdline - 0.6.7-1

---------------
par2cmdline (0.6.7-1) unstable; urgency=medium

  * New upstream release:
    + Adds support for specifying absolute size of recovery data.
      (Closes: #336102) (LP: #535309)
    + Fixes error where repair would sometimes read beyond EOF.
      (Closes: #415984)
  * Install upstream man page.

 -- JCF Ploemen (jcfp) <email address hidden> Mon, 12 May 2014 22:29:53 +0200

Changed in par2cmdline (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.