windows NTFS 元数据中包含哪些信息?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3226347/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 14:48:32  来源:igfitidea点击:

What information is contained in the NTFS metadata?

windowsfilesystemsntfs

提问by Benjamin

I want to know what information is contained in the NTFS metadata.
But I couldn't find the paper anywhere.

我想知道 NTFS 元数据中包含哪些信息。
但是我在任何地方都找不到这张纸。

I guess the metadata has a filename, a size and an attributes etc.
Has NTFS metadata also got a Shortpath name?
What information is contained in the NTFS metadata?

我猜元数据有一个文件名、一个大小和一个属性等
。NTFS 元数据是否也有一个 Shortpath 名称?
NTFS 元数据中包含哪些信息?

Do you know a good site or a page about this? If you do, please let me know.

你知道一个好的网站或页面吗?如果你这样做,请告诉我。

Thanks.

谢谢。

回答by GuidedHacking

There are multiple NTFS meta files but the one you want regarding files is $MFT, the file table

有多个 NTFS 元文件,但您想要的文件是 $MFT,文件表

From ntfs.com:

来自ntfs.com

Standard Information
Includes information such as timestamp and link count.

标准信息
包括时间戳和链接数等信息。

Attribute List
Lists the location of all attribute records that do not fit in the MFT record.

属性列表
列出所有不适合 MFT 记录的属性记录的位置。

File Name
A repeatable attribute for both long and short file names. The long name of the file can be up to 255 Unicode characters. The short name is the 8.3, case-insensitive name for the file. Additional names, or hard links, required by POSIX can be included as additional file name attributes.

文件名
长文件名和短文件名的可重复属性。文件的长名称最多可包含 255 个 Unicode 字符。短名称是 8.3,不区分大小写的文件名称。POSIX 所需的附加名称或硬链接可以作为附加文件名属性包含在内。

Security DescriptorDescribes who owns the file and who can access it.

安全描述符描述谁拥有文件以及谁可以访问它。

Data
Contains file data. NTFS allows multiple data attributes per file. Each file typically has one unnamed data attribute. A file can also have one or more named data attributes, each using a particular syntax.

数据
包含文件数据。NTFS 允许每个文件有多个数据属性。每个文件通常都有一个未命名的数据属性。一个文件也可以有一个或多个命名的数据属性,每个属性都使用特定的语法。

Object ID
A volume-unique file identifier. Used by the distributed link tracking service. Not all files have object identifiers.

对象 ID
卷唯一的文件标识符。由分布式链接跟踪服务使用。并非所有文件都有对象标识符。

Logged Utility Stream
Similar to a data stream, but operations are logged to the NTFS log file just like NTFS metadata changes. This is used by EFS.

Logged Utility Stream
类似于数据流,但操作记录到 NTFS 日志文件,就像 NTFS 元数据更改一样。这是 EFS 使用的。

Reparse Point
Used for volume mount points. They are also used by Installable File System (IFS) filter drivers to mark certain files as special to that driver.

重解析点
用于卷安装点。可安装文件系统 (IFS) 过滤器驱动程序也使用它们来将某些文件标记为该驱动程序的特殊文件。

Index Root
Used to implement folders and other indexes.

Index Root
用于实现文件夹和其他索引。

Index Allocation
Used to implement folders and other indexes.

索引分配
用于实现文件夹和其他索引。

Bitmap
Used to implement folders and other indexes.

Bitmap
用于实现文件夹和其他索引。

Volume Information
Used only in the $Volume system file. Contains the volume version.

卷信息
仅在 $Volume 系统文件中使用。包含卷版本。

Volume NameUsed only in the $Volume system file. Contains the volume label.

卷名仅在 $Volume 系统文件中使用。包含卷标。

The best tool for viewing this data is ntfswalk

查看此数据的最佳工具是ntfswalk

Another good resource is An introduction to NTFS

另一个很好的资源是NTFS 简介