Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 2024 05:12:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 228069] tar(1) fails to append newer files only (-u, --update), but always appends all files (like -r).
Message-ID:  <bug-228069-227-QMaPhaGPtW@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-228069-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228069

titus m <titus@edc.ro> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |titus@edc.ro

--- Comment #1 from titus m <titus@edc.ro> ---
the problem comes from the fact that tar file format (ustar/default) does not
support fractional file timestamps and the file system does. so the files on
the filesystem having most likeley a fractional mtime will always appear to be
newer than the ones in the archive. A work-around is to use pax (or fix
libarchive to compare mtime_nanoseconds only when archive->format is "pax")

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228069-227-QMaPhaGPtW>