问题描述
在高层次上,
*速度/复杂性差异的声明来自
来自
关于术语的评论
连接点是重解析点(可以描述为符号链接)
NTFS 连接和 NTFS 符号链接实际上以相同的方式(重解析点)做同样的事情,除了前面提到的它们处理方式的差异.事实上,从技术上讲,Junction 是一个符号链接".在这个词的更一般意义上,有时文档可能将连接称为符号链接,就像这里的情况.在这种情况下,符号链接"是指符号链接".并不意味着与结点不同的 NTFS 符号链接(见下文).
NTFS
尽管 OP 指定了这一点,但值得指出的是符号链接"是一个非常笼统的术语,并非特定于 NTFS.因此,具体而言,此比较是关于 NTFS 连接与 NTFS 符号链接.
At a high level, the only obvious difference between NTFS Junction Points and Symbolic Links is that Junctions are only able to be directories, while SymLinks are allowed to also target files.
What other differences between the two exist?
(Note, I've already seen this question and what I'm looking for is a bit different -- that question is looking for a pro and con list, I'm looking for a set of technical differences)
Symbolic links have more functionality, while junctions almost seem to be a legacy feature because of their limitations, but the security implications of these limitations are specifically why a junction might be preferred over a symbolic link. Remote targeting makes symbolic links more functional, but also raises their security profile, while junctions are safer because they are constrained to local paths. So, if you want a local link and can live with an absolute path, you're probably better off with a junction; otherwise, consider a symbolic link for its added abilities.
*The statement of difference in speed/complexity comes from an unverified statement in the Wikipedia entry on NTFS reparse points (a good read).
**Ever since the Windows 10 Creators Update, one can enable Developer Mode to remove the admin restriction for NTFS symbolic links.
Other NTFS Link Comparisons
Here are some other comparisons on the topic, but these can be misleading when considering junctions because they don't list the benefits I list above.
Taken from here (a good introductory read)
From SS64 page on MKLink
Comments about Terminology
Junctions are Reparse Points (may be described as symbolic links)
NTFS Junctions and NTFS Symbolic links are really doing the same thing in the same way (reparse points), aside from the aforementioned differences in how they're processed. In fact, technically, a Junction is a "symbolic link" in the more general sense of the word, and sometimes documentation might call a Junction a symbolic link, as is the case here. In such cases, "symbolic link" does not mean NTFS Symbolic Link which is different than a junction (see below).
NTFS
Even though the OP specifies this, it's worth pointing out that "symbolic link" is a very general term that is not specific to NTFS. So, to be specific, this comparison is about NTFS Junctions vs. NTFS Symbolic Links.
这篇关于NTFS 连接点和符号链接有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!