diff --git a/ChangeLog b/ChangeLog index 93a547de..53d84111 100644 --- a/ChangeLog +++ b/ChangeLog @@ -86,10 +86,8 @@ xx/xx/2006 - x.xx.x - . with. (Anton) - Introduce NTFS_MNT_FORENSIC mount option for logfile dumping for example otherwise the logfile gets wiped out by the mount attempt if - it is not read-only. (Anton) - - Fix ntfsresize to unmount the volume when finished/exiting so it does - not leave the volume in an inconsistent state. Somewhat crude - solution using atexit() but it works... (Anton) + it is not read-only. Also use it for ntfsresize as it wishes to do + its own logfile emptying and volume dirtying. (Anton) - Raise FUSE dependence to 2.6.1 (the most stable and featured ATM), rename --enable-fuse-module to more clear --enable-ntfsmount and cleanup autotools scripts a bit. (Yura) @@ -99,6 +97,8 @@ xx/xx/2006 - x.xx.x - . returns ntfs inode number instead of opened inode itself. Reimplement ntfs_pathname_to_inode() as wrapper to new API. (Yura) - ntfsmount: fix rename if destination already exists. (Yura) + - ntfsfix: do not set VOLUME_MOUNTED_ON_NT4 flag as it causes Vista to + not boot any more. 21/06/2006 - 1.13.1 - Various fixes. diff --git a/include/ntfs/layout.h b/include/ntfs/layout.h index db1c79d4..486340c3 100644 --- a/include/ntfs/layout.h +++ b/include/ntfs/layout.h @@ -1989,6 +1989,9 @@ typedef struct { /** * enum VOLUME_FLAGS - Possible flags for the volume (16-bit). + * + * WARNING: Setting VOLUME_MOUNTED_ON_NT4 on a Volume causes Windows Vista to + * fail to boot (it hangs on a black screen). */ typedef enum { VOLUME_IS_DIRTY = const_cpu_to_le16(0x0001), diff --git a/ntfsprogs/ntfsfix.c b/ntfsprogs/ntfsfix.c index 28354ade..50efe8ac 100644 --- a/ntfsprogs/ntfsfix.c +++ b/ntfsprogs/ntfsfix.c @@ -253,9 +253,6 @@ static int set_dirty_flag(ntfs_volume *vol) * and fix it for us. */ flags = vol->flags | VOLUME_IS_DIRTY; - /* If NTFS volume version >= 2.0 then set mounted on NT4 flag. */ - if (vol->major_ver >= 2) - flags |= VOLUME_MOUNTED_ON_NT4; if (OLD_ntfs_volume_set_flags(vol, flags)) { ntfs_log_info(FAILED); ntfs_log_error("Error setting volume flags.\n");