[Bug 241836] bsdtar: -u archive does not work as documented
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Nov 9 17:00:06 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241836
Bug ID: 241836
Summary: bsdtar: -u archive does not work as documented
Product: Base System
Version: 12.0-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs at FreeBSD.org
Reporter: freebsd at oldach.net
bsdtar's -u option should append new entries only if they have a modification
date newer than the corresponding already existing entry. However that does not
seem to work:
# ls -la boot/loader.conf
-rw-r--r-- 1 root wheel 79 Oct 7 20:48 boot/loader.conf
# tar cvf test.tar boot/loader.conf
a boot/loader.conf
# tar uvf test.tar boot/loader.conf
a boot/loader.conf
# tar uvf test.tar boot/loader.conf
a boot/loader.conf
# tar uvf test.tar boot/loader.conf
a boot/loader.conf
# tar tvf test.tar boot/loader.conf
-rw-r--r-- 0 root wheel 79 Oct 7 20:48 boot/loader.conf
-rw-r--r-- 0 root wheel 79 Oct 7 20:48 boot/loader.conf
-rw-r--r-- 0 root wheel 79 Oct 7 20:48 boot/loader.conf
-rw-r--r-- 0 root wheel 79 Oct 7 20:48 boot/loader.conf
#
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list