On Tue, Nov 12, 2013, Corinna Vinschen wrote: > On Nov 12 22:52, Óscar Fuentes wrote: > > Corinna Vinschen <[email protected]> > > writes: > > > > > On Nov 12 13:59, Óscar Fuentes wrote: > > >> > > >> $ du -sh /lib/git-core > > >> 13M /lib/git-core > > >> > > >> Windows Explorer says that d:/msys32/lib/git-core uses 169 MB. Obviously > > >> `du' is wrong because that directory contains lots of executables, using > > >> 1.5 MB each. > > > > > > No, Windows Explorer is wrong. It doesn't grok the concept of > > > hardlinks, even though NTFS supports them since its birth in the last > > > century. > > > > I thought of links too, but MSYS2 `ls -l' command doesn't show anything > > that could indicate its existence. But then I learnt that hardlinks > > aren't displayed by `ln -l'. `ln -i' indeed shows the same number for > > each identical file. Thanks Corinna for putting me on the right track. > > > > Is this new on MSYS2 or MSYS already had the capability of creating hard > > links? > > No, it's not new. MSYS/MSYS2 is a fork of Cygwin and Cygwin has this > ability for ages.
It's even available for more than these. It's available to any application on Windows; it's a filesystem feature (and I recall ReFS might not support them). If you want to see some heavy usage of hardlinks on Windows, check the size of the WinSxS directory as reported by the various tools. -- Adrien Nader ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
