Re: [Boost-bugs] [Boost C++ Libraries] #714: [jam] HardLink rule on NT platform

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #714: [jam] HardLink rule on NT platform
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-07-06 12:28:19


#714: [jam] HardLink rule on NT platform
-------------------------------+--------------------------------------------
  Reporter: nobody | Owner: grafik
      Type: Feature Requests | Status: new
 Milestone: | Component: bjam
   Version: None | Severity: Showstopper
Resolution: None | Keywords:
-------------------------------+--------------------------------------------
Changes (by dave):

  * owner: nobody => grafik
  * status: assigned => new
  * component: None => bjam
  * severity: => Showstopper

Old description:

> {{{
> I've installed boost and noticed that HardLink rule on
> NT copies file although NT has support for hardlinks
> (on NTFS, of course).
>
> To use this feature while installing boost i've created
> file hardlink.bat with following contents:
>
> fsutil hardlink create %2 %1
>
> and put it into %WINDIR%\system32
>
> also i've changed line 194 of
> tools\build\v1\allyourbase.jam file from
>
> LN ?= $(CP) ;
>
> to
>
> LN ?= hardlink ;
>
> these changes allowed me to save about 600 M of my
> harddisk space. Not a big deal, yes, but otherwise
> these 600M would exceed my disk space :-)
>
> I think my solution is not ideal, but it could be
> helpful for people. So maybe it will be included in
> boost distibution, when adapted.
>
> Thanks.
> mailto: forums (dog here) green dot nsk dot ru
> }}}

New description:

 {{{
 I've installed boost and noticed that HardLink rule on
 NT copies file although NT has support for hardlinks
 (on NTFS, of course).

 To use this feature while installing boost i've created
 file hardlink.bat with following contents:

 fsutil hardlink create %2 %1

 and put it into %WINDIR%\system32

 also i've changed line 194 of
 tools\build\v1\allyourbase.jam file from

     LN ?= $(CP) ;

 to

     LN ?= hardlink ;

 these changes allowed me to save about 600 M of my
 harddisk space. Not a big deal, yes, but otherwise
 these 600M would exceed my disk space :-)

 I think my solution is not ideal, but it could be
 helpful for people. So maybe it will be included in
 boost distibution, when adapted.

 Thanks.
 mailto: forums (dog here) green dot nsk dot ru
 }}}

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/714#comment:1>
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:49:56 UTC