bsdtar weirdness

Warren Block wblock at wonkity.com
Fri Jul 9 05:11:22 UTC 2010


bsdtar is acting differently on a 7.2-stable and 8-stable system.

Test file FreeBSD-8.1-RC2-i386-livefs.iso from 
ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/8.1/
Downloaded onto 8-stable, copied to 7.2-stable machine.

7.2-stable:

# md5 /tmp/FreeBSD-8.1-RC2-i386-livefs.iso
MD5 (/tmp/FreeBSD-8.1-RC2-i386-livefs.iso) = 9ec3b7901f377c643b8060b71c75ef25
# mkdir /tmp/freebsd
# bsdtar xpf /tmp/FreeBSD-8.1-RC2-i386-livefs.iso -C /tmp/freebsd/
# du -hd0 /tmp/freebsd
237M	/tmp/freebsd


A little weird on 8-stable:

# md5 /tmp/FreeBSD-8.1-RC2-i386-livefs.iso
MD5 (/tmp/FreeBSD-8.1-RC2-i386-livefs.iso) = 9ec3b7901f377c643b8060b71c75ef25
# mkdir /tmp/freebsd
# bsdtar xpf /tmp/FreeBSD-8.1-RC2-i386-livefs.iso -C /tmp/freebsd/
bsdtar: Ignoring out-of-order file @340a9980 (usr/include/c++/4.2/ext/pb_ds/detail/basic_tree_policy) 4876288 < 5138432
bsdtar: Ignoring out-of-order file @340a9a80 (usr/include/c++/4.2/ext/pb_ds/detail/bin_search_tree_) 4878336 < 5138432
bsdtar: Ignoring out-of-order file @340a9b00 (usr/include/c++/4.2/ext/pb_ds/detail/binary_heap_) 4880384 < 5138432
bsdtar: Ignoring out-of-order file @340a9b80 (usr/include/c++/4.2/ext/pb_ds/detail/binomial_heap_) 4882432 < 5138432
bsdtar: Ignoring out-of-order file @340a9c00 (usr/include/c++/4.2/ext/pb_ds/detail/binomial_heap_base_) 4884480 < 5138432
bsdtar: Ignoring out-of-order file @340a9c80 (usr/include/c++/4.2/ext/pb_ds/detail/cc_hash_table_map_) 4886528 < 5138432
bsdtar: Ignoring out-of-order file @340a9e80 (usr/include/c++/4.2/ext/pb_ds/detail/eq_fn) 4890624 < 5138432
bsdtar: Ignoring out-of-order file @340a9f00 (usr/include/c++/4.2/ext/pb_ds/detail/gp_hash_table_map_) 4892672 < 5138432
bsdtar: Ignoring out-of-order file @340a9f80 (usr/include/c++/4.2/ext/pb_ds/detail/hash_fn) 4896768 < 5138432
bsdtar: Ignoring out-of-order file @340aa000 (usr/include/c++/4.2/ext/pb_ds/detail/left_child_next_sibling_heap_) 4898816 < 5138432
bsdtar: Ignoring out-of-order file @340aa080 (usr/include/c++/4.2/ext/pb_ds/detail/list_update_map_) 4900864 < 5138432
bsdtar: Ignoring out-of-order file @340aa100 (usr/include/c++/4.2/ext/pb_ds/detail/list_update_policy) 4902912 < 5138432
bsdtar: Ignoring out-of-order file @340aa200 (usr/include/c++/4.2/ext/pb_ds/detail/ov_tree_map_) 4904960 < 5138432
bsdtar: Ignoring out-of-order file @340aa280 (usr/include/c++/4.2/ext/pb_ds/detail/pairing_heap_) 4907008 < 5138432
bsdtar: Ignoring out-of-order file @340aa300 (usr/include/c++/4.2/ext/pb_ds/detail/pat_trie_) 4909056 < 5138432
bsdtar: Ignoring out-of-order file @340aa400 (usr/include/c++/4.2/ext/pb_ds/detail/rb_tree_map_) 4911104 < 5138432
bsdtar: Ignoring out-of-order file @340aa480 (usr/include/c++/4.2/ext/pb_ds/detail/rc_binomial_heap_) 4913152 < 5138432
bsdtar: Ignoring out-of-order file @340aa500 (usr/include/c++/4.2/ext/pb_ds/detail/resize_policy) 4915200 < 5138432
bsdtar: Ignoring out-of-order file @340aa580 (usr/include/c++/4.2/ext/pb_ds/detail/splay_tree_) 4917248 < 5138432
bsdtar: Ignoring out-of-order file @340aa680 (usr/include/c++/4.2/ext/pb_ds/detail/thin_heap_) 4919296 < 5138432
bsdtar: Ignoring out-of-order file @340aa700 (usr/include/c++/4.2/ext/pb_ds/detail/tree_policy) 4921344 < 5138432
bsdtar: Ignoring out-of-order file @340aa800 (usr/include/c++/4.2/ext/pb_ds/detail/trie_policy) 4923392 < 5138432
bsdtar: Ignoring out-of-order file @340aa980 (usr/include/c++/4.2/ext/pb_ds/detail/unordered_iterator) 4925440 < 5138432
bsdtar: Error exit delayed from previous errors.
# du -hd0 /tmp/freebsd
246M	/tmp/freebsd

The 8-stable system has "CPUTYPE?=core2" in /etc/make.conf and uses 
ccache for system builds.


More information about the freebsd-stable mailing list