> On Mar 17, 2024, at 2:50 PM, Collin Funk <collin.fu...@gmail.com> wrote: > > On 3/17/24 2:03 PM, Bruno Haible wrote: >> * On Linux, it's not even possible to set the birthtime of a file, if >> that is meant to mean the ctime (change time).
`ctime` is entirely different from creation or birth time. > Yes, I beleive it is a BSD thing that MacOS also supports (don't quote > me on that). Maybe there would be a way to make the warnings less > noisy by default? GNU tar could choose to ignore that particular attribute without issuing a warning. > > It seems that 'bsdtar' will create archives with this by default > unless invoked with '--no-xattrs', but I don't have any way of double > checking at the moment. bsdtar’s `--no-xattrs` option suppresses filesystem extended attributes (“xattrs”). Creation time is not an xattr. I would suggest instead `--format ustar` to create maximally-portable archives that do not contain any pax extensions. This works with both bsdtar and GNU tar. Tim