识别硬盘中的块级更改 [英] Identify block level changes in HDD

查看:93
本文介绍了识别硬盘中的块级更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在CDP(连续数据保护)上构建应用程序.
我需要知道如何识别硬盘上的哪个块最近发生了变化. Windows FileSystemWatcher允许检测文件级别的更改,但我需要特别知道已修改了哪个块.有没有可用的功能,或者我需要为此编写驱动程序吗?

有帮助吗?

谢谢答案.现在我改为使用Linux.尝试修改系统调用,将原始版本替换为我的版本,因此无论何时在被监视的驱动器上发生写操作,都应该备份.现在我只需要修补程序,以便我可以使用内核2.6.x访问在fedora8中的sys_call_table指针
搜索了一下,但找不到合适的匹配项.

I am building an application on CDP (continuous data protection).
I need to know how to identify which block on the hard disk has changed recently. The Windows FileSystemWatcher allows detection of file level changes but I require to know specifically which block has been modified. Is there any function available, or do I need to write a driver for that?

Any help?

thx for the answers. now i''ve moved to Linux instead. trying out modification of system calls n replacing the original one''s with my version so whenever a write occurs on the drive being monitored it should be backed up too. now i only need the patch so that i can access the sys_call_table pointer in fedora8 with kernel 2.6.x
searched a bit but cannot find an appropriate match.

any help?

推荐答案

不,.NET Framework中没有此类内置类.
No, there''s no such built-in class in .NET Framework.


知道您可以尝试的文件 FSCTL_GET_RETRIEVAL_POINTERS [
If you know the file you could try FSCTL_GET_RETRIEVAL_POINTERS[^]


这篇关于识别硬盘中的块级更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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