mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-23 18:14:24 +08:00
Warn about VOLUME_MOUNTED_ON_NT4 wrt Vista in layout.h and do not set the flag
in ntfsfix.
This commit is contained in:
parent
82747f3c47
commit
8640540b53
@ -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.
|
||||
|
||||
|
@ -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),
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user