Subject: bin/26649: New tar bzip2 option incompatibility with old (NetBSD 1.6) tar
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <firstname.lastname@example.org>
Date: 08/14/2004 13:22:02
>Synopsis: New tar bzip2 option incompatibility with old (NetBSD 1.6) tar
>Arrival-Date: Sat Aug 14 13:22:00 UTC 2004
>Originator: David Sainty
>Release: NetBSD 2.0G
Dynamic Technology Services and Products Ltd (NZ)
System: NetBSD tequila.dave.dtsp.co.nz 2.0G NetBSD 2.0G (TEQUILA-$Revision: 1.76 $) #1: Sat Aug 7 23:32:30 NZST 2004 email@example.com:/vol/tequila/userD/NetBSD-current/src/sys/arch/i386/compile/TEQUILA i386
The NetBSD 1.6 tar has a -y option for compressing using bzip2. The
new pax-based tar has a -j option that performs the same task.
Scripts that were written for NetBSD 1.6 may fail because of this
(trivial) incompatibility. The new tar doesn't use -y for anything
Use tar -y in a cron/disk based backup script. Notice that backups
mysteriously stop happening after upgrading userland.
1. Make new tar support -y as well as -j
2. Make new tar support -y instead of -j. -j hasn't yet been
supported in a NetBSD release.
3. Do nothing.