On Monday 27 November 2006 23:45, Anton Altaparmakov wrote: > //vol = ntfs_mount(opt.volume, 0); > vol = NULL;
I'm almost afraid to have to tell you this... ;-) After recompiling ntfsfix with this change, running it once immediately after the ntfsresize and rebooting Vista, I _do_ get the chkdsk by Vista and it boots fine after its automatic reboot. So, it very much looks like there is something in the "mount failed" codepath after all. I've tried this trick with both your CVS version and with the current version in Debian, both with identical results. I just noticed something. If the mount is OK, ntfsfix prints all its messages almost instantaneous, like nothing is actually happening at all. But if the mount fails, ntfsfix takes significantly longer, especially over the "Going to empty the journal ($logfile)" step. There is a definite pause, both while that step is being processed (before "OK\n" is printed) and immediately afterwards (before the next line "NTFS volume version" is printed). Another step closer...
pgp5cpIkcYjWR.pgp
Description: PGP signature