Opened 9 years ago
Closed 9 years ago
#9484 closed Bugs (fixed)
b2 headers thinks AFS filesystem supports cross-directory hardlinks
Reported by: | Owned by: | Vladimir Prus | |
---|---|---|---|
Milestone: | To Be Determined | Component: | build |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: |
Description
The AFS filesystem (as in OpenAFS) has some interesting quirks. Among those is that it only allows hardlinks inside the same directory.
I suggest that the hardlink test should be augmented to test whether hardlinks between entries of different directories is supported.
'./b2 headers' output head: ====8<==== Performing configuration checks
- symlinks supported : yes
- hardlinks supported : yes
...found 970 targets... ...updating 435 targets... mklink-or-dir boost mklink-or-dir boost/accumulators mklink-or-dir boost/algorithm link.hardlink boost/array.hpp ln: failed to create hard link `boost/array.hpp' => `libs/array/include/boost/array.hpp': Invalid cross-device link
ln -f "libs/array/include/boost/array.hpp" "boost/array.hpp"
...failed link.hardlink boost/array.hpp... link.hardlink boost/asio.hpp ln: failed to create hard link `boost/asio.hpp' => `libs/asio/include/boost/asio.hpp': Invalid cross-device link
ln -f "libs/asio/include/boost/asio.hpp" "boost/asio.hpp"
...failed link.hardlink boost/asio.hpp... ====8<====
Appears to have been fixed in http://github.com/boostorg/build/commit/6a5a9b7c95cd63d97de598b537ad35121392d3b9.