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: b...@freebsd.org
          Reporter: free...@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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to