Commit [559270]  Maximize  Restore  History

Prevented partitions with metadata cached in Windows from being mounted

Windows 8 includes a "fast restart" feature for restarting without fully
remounting the internal volumes. When this mode is selected, metadata
stored in the cache (probably hiberfil.sys) is used instead of what
is actually on disk, and this may lead to inconsistencies when changes
have been made by ntfs-3g in the meantime.

This patch tries to prevent ntfs-3g from mounting in read-write mode
when a fast restart of Windows 8 is detected. It relies on the restart
pages in the $LogFile being identified as version 2.0, which is
apparently related to data being cached for hibernation or fast restarting.

Jean-Pierre André Jean-Pierre André 2012-09-25

changed libntfs-3g/logfile.c
changed libntfs-3g/volume.c
changed src/
libntfs-3g/logfile.c Diff Switch to side-by-side view
libntfs-3g/volume.c Diff Switch to side-by-side view
src/ Diff Switch to side-by-side view

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks