获取有关硬盘扇区中原始数据的更改的通知-文件更改通知 [英] Get notified about the change in raw data in hard disk sector - File change notification
本文介绍了获取有关硬盘扇区中原始数据的更改的通知-文件更改通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试制作一个备份整个硬盘的软件.
I'm trying to make a software that backups my entire hard drive.
我设法编写了一个代码,用于从硬盘扇区读取原始数据.但是,我想进行增量备份.为此,我需要了解对OS设置所做的更改,文件更改以及所有内容.
I've managed to write a code for reading the raw data from hard disk sectors. However, i want to have incremental backups. For that i need to know the changed made to OS settings, file changes, everything.
我的问题是-
使用 FileSystemWatcher 和 Inotify ,我能否知道对硬盘驱动器中每个扇区进行的所有更改? (操作系统设置等)
Using FileSystemWatcher and Inotify, will i be able to know every change made to every sector in the hard drive ? (OS settings etc)
我正在用C ++为Linux和Windows编写代码.
I'm coding it in C++ for linux and windows.
查看全文