Re:DTrace on Windows
by otterley on Monday March 11, 2019 @02:21PM
(#19361370)
It absolutely matters: a fair amount of software, both enterprise and consumer, already uses these features. Malware detection, for example, makes heavy use of reparse points.
[ Parent
| on HN ]
Re:DTrace on Windows
by blattimwind on Monday March 11, 2019 @03:06PM
(#19361821)
Windows Update and Windows Installer use NTFS transactions.
From Microsoft's documentation:
Microsoft strongly recommends developers utilize alternative means to achieve your application s needs. Many scenarios that TxF was developed for can be achieved through simpler and more readily available techniques. Furthermore, TxF may not be available in future versions of Microsoft Windows. For more information, and alternatives to TxF, please see Alternatives to using Transactional NTFS.
https://docs.microsoft.com/en-us/windows/desktop/fileio/abou...
I'm pretty convinced that documentation is BS. I could be wrong I guess, but I honestly don't see them removing TxF anytime soon. They didn't exactly build their business on breaking backwards-compatibility of APIs.
They've burned a lot of APIs in the last few years.
Examples?
They're not removed though? They're 'deprecated' as in they don't want you to depend on them, but they're still very much there and usable.
Re:DTrace on Windows
by cryptonector on Monday March 11, 2019 @04:25PM
(#19362464)
ZFS snapshots work well enough for that.
The Sun Storage Appliance used ZFS snapshots for updates, and it worked quite well.
Did that change recently? I haven't used Windows since XP, but back then, they used Volume Shadow Copies (VSS) for making backups used for reverting changes, not NTFS transactions.
Windows Update switched to using NTFS transactions in Windows Vista.