NTFS 连接,无法理解 API [英] NTFS Junctions, trouble understanding the API
问题描述
更新:这个问题已经演变成为关于NTFS文件系统过滤器驱动
如何在备份应用程序和其他应用程序中使用Win32 API的问题需要知道磁盘上的文件究竟是什么的程序?连接点和重解析点是我需要考虑的关键概念,也是 NTFS 文件系统中最令人困惑的东西.
Update: This question has evolved into a question about the NTFS filesystem filter driver
how to use the Win32 API in backup applications and other programs that need to know what a file really is on disk? Junctions and reparse points are key concepts that I needed to consider and are the most confusing thing in the NTFS filesystem.
原始问题如下:
- 用于检测目录是否为联结的Win32 API是什么?
- NTFS 层次结构中的哪里"(由于缺乏更好的理解)存储了连接点?
- 如果我创建一个结点
c:\thejunction_mydir
两个目录 是否会成为彼此的结点?即 created 和 referenced
- What is the Win32 API used to detect if a directory is a junction?
- 'Where' (for lack of better understanding) in the NTFS hierarchy are junctions stored?
- If I create a junction
c:\thejunction_mydir
do both directories become junctions of one-another? i.e. the created and the referenced
推荐答案
如何检测重解析点?
确定目录是否为挂载文件夹 就是答案.它展示了如何确定一个文件夹是否是一个重新解析点,从而确定它是否也可能是:一个连接点、一个符号链接或一个挂载点.
How do I detect a reparse point?
Determining Whether a Directory Is a Mounted Folder is the answer. It shows how to determine whether a folder is a reparse point, and thus if it is also potentially: a Junction or a Symlink or a Mount-point.
这篇关于NTFS 连接,无法理解 API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!