Q-ologues

various ramblings
posts - 5, comments - 4, trackbacks - 1

My Links

News

Archives

NTFS Reparse Points and Hard Links

Eric Newton asks for symbolic and hard links in Windows Vista.  Both of these are partially implemented in 2000 and later, though it's not obvious how to use them.

NTFS has supported file hard links for some time via the CreateHardLink() API, and Windows 2000 implements directory symbolic links using reparse points, a filesystem behavior extension mechanism.  There's an article on CodeProject describing exactly how junction points work.  Symbolic links for files and hard links for directories are not supported.

Sysinternals has a junction utility to manage directory links, and Windows XP includes fsutil for creating file links.

Be careful when using junction points with the shell: Explorer's delete operations nuke everything inside the junction, not the junction point itself!  I came across an icon overlay shell extension that's helpful in avoiding that mistake.

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Print | posted on Thursday, December 22, 2005 4:04 PM |

Feedback

Gravatar

# re: NTFS Reparse Points and Hard Links

I know this will be rare used program.
But I am complete it: Same Files Assistant.

The big difference of this program is watching ability for hard links.

There are many programs to create hard links.
But whath program can find existing hard links and watch them in real time?

Microsoft have utility to find them for one file. This needs full disk scan. It's too much for only lite interest!
1/30/2006 8:26 PM | Alex
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 
 

Powered by: