Re: tar, but not gnu tar

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Freitag, 24. August 2007 03:58 schrieb Tom Lane:
> "Tena Sakai" <tsakai@xxxxxxxxxxxxxx> writes:
> >> This seems to contradict what we say about GNU tar?
> >> Is this GNU tar?  What version?
> >
> > Yes, it is GNU tar v1.14
>
> FWIW, I tried this on Fedora Core 6 while running pgbench:
>
> [tgl@rh2 ~]$ tar --version
> tar (GNU tar) 1.15.1
> [tgl@rh2 ~]$ tar cf t.tar $PGDATA
> tar: Removing leading `/' from member names
> tar: /home/tgl/testversion/data/pg_xlog/000000010000000000000003: file
> changed as we read it [tgl@rh2 ~]$ echo $?
> 0
> [tgl@rh2 ~]$
>
> ISTR that the original caution was against writing scripts that assume
> anything being emitted to stderr must indicate a problem.

The relevant NEWS entry from GNU tar 1.16 is:

"""
* After creating an archive, tar exits with code 1 if some files were
changed while being read.  Previous versions exited with code 2 (fatal
error), and only if some files were truncated while being archived.
"""

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux