Closed BC204 closed 8 months ago
Hi,
birthtime and statx are two independent implementations (both are enabled by default and disabled if detection failed) that provide support for the birth time date. From ./configure --help
you will find the following (note the restriction under Linux):
--disable-birthtime disable the HFS+ Filesystem Specific Attribute support
--disable-linux-statx ignore linux's statx() system call and do not save
birthtime of files under Linux because it is only
possible to set and thus restore it under BSD
systems like MACOS X, no under Linux today
Under Linux your ./configure should give something like this:
dar and libdar have been successfully configured with the following parameters:
LIBDAR parameters:
Zlib compression (gzip) : YES
Libbz2 compression (bzip2) : YES
Liblzo2 compression (lzo) : YES
Liblxz compression (xz) : YES
Liblzstd compression (zstd): YES
Liblz4 compression (lz4) : YES
Strong encryption support : YES
Public key cipher support : YES
Extended Attributes support: YES
Large files support (> 2GB): YES
extX FSA / nodump support : YES
HFS+ FSA support : NO <<<<<------ here
statx() support : YES <<<<<<----- and here
Integer size used : 64
Thread safe support : YES
Furtive read mode : YES
Large directory optim. : YES
posix fadvise support : YES
timepstamps write accuracy : 1 nanosecond
timestamps read accuracy : 1 nanosecond
can restore symlink dates : YES
can uses multiple threads : YES (+ barrier implementations for MAC OS)
Delta-compression support : YES
Remote repository support : YES
Argon2 hashing algorithm : YES
Ok, I see. Thanks for your reply.
Environment: AOSC OS (https://aosc.io/downloads/) GCC version: 13.2.0 Glibc version: 2.37 Architecture: amd64 Version: 2.7.13
While attempting to build dar 2.7.13 with --enable-birthtime, configure complains that it could not find support for birthtime. However, from the ChangLog I see that dar 2.7 has added support for statx() under Linux.
build.log
config.log