Support non-Gnu tar

Bug #278478 reported by Alexander Skwar
2
Affects Status Importance Assigned to Milestone
mylvmbackup
Fix Released
Medium
Lenz Grimmer

Bug Description

Right now, mylvmbackup calls:

  $tar $tararg $tarballtmp -C $topmountdir $mountdir_rel/$relpath $tarsuffixarg

With "-C", GNU tar can change the directory prior to creating the tar.

Sadly, only GNU tar supports that. The portable way is to do "cd $topmountdir ; $tar ....".

The default $tararg is set to "cvfz". With "z", gzip compression is done.

That's also a Gnuism. The portable way is to do "tar cvf - .... | gzip -> file.tar.gz".

It would be good, if those Gnuism wouldn't be done.

I'll publish a branch shortly, which fixes this.

Related branches

Revision history for this message
Lenz Grimmer (lenzgr) wrote :

Thanks a lot for your report and the contribution! I merged the changes from the non-gnu repository into the trunk, the change will be part of the next release. Please test!

Changed in mylvmbackup:
assignee: nobody → lenzgr
status: New → Fix Committed
Revision history for this message
Lenz Grimmer (lenzgr) wrote :

This bug was fixed in release 0.11.

Changed in mylvmbackup:
importance: Undecided → Medium
milestone: none → 0.11
status: Fix Committed → 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.