[Boost-bugs] [Boost C++ Libraries] #9484: b2 headers thinks AFS filesystem supports cross-directory hardlinks

Subject: [Boost-bugs] [Boost C++ Libraries] #9484: b2 headers thinks AFS filesystem supports cross-directory hardlinks
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-12-10 16:00:03


#9484: b2 headers thinks AFS filesystem supports cross-directory hardlinks
-------------------------------------+---------------------------
 Reporter: Lars Viklund <zao@…> | Owner: vladimir_prus
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: build
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+---------------------------
 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<====

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9484>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:15 UTC