获取文件在NTFS文件系统中的存储位置. [英] TO get the memory location of a file in NTFS file system.

查看:118
本文介绍了获取文件在NTFS文件系统中的存储位置.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在FAT文件系统中工作,在其中我可以使用8086汇编语言编程int 25h中断来获取文件(在磁盘中)的存储位置.如何在NTFS中获取文件的内存位置.我在网上搜索发现stat系统调用用于获取linux中的所有文件属性.我想要在Windows平台上.请告诉我这样的中断.

I have worked in FAT file system in which i could get memory location of a file(in the disk) using 8086 assembly language programming int 25h interrupt. How to get memory location of a file in NTFS. My search over the net found that stat system call is used to get all file attributes in linux. I want it on windows platform. Please tell me such interrupt.

推荐答案

虽然Jack的观点不错,但您可以看看对文件进行碎片整理 [ ^ ]

最好的问候
Espen Harlinn
While Jack has a good point you may have a look at Windows NTFS filesystem internals[^] and Defragmenting Files[^]

Best regards
Espen Harlinn


这篇关于获取文件在NTFS文件系统中的存储位置.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆