On Tue, 28 Nov 2006, Anton Altaparmakov wrote: > On Tue, 2006-11-28 at 13:08 +0100, Szakacsits Szabolcs wrote: > > > > There are two NTFS during resizing. The original and the resized. When > > the resizing is over then the latter is consistent and the old one is > > irrelevant. ntfsresize doesn't work like the other utilities: mount, modify, > > umount. It works like: mount and morph the original into a new one. [...] > I cannot see anywhere you having two different ntfs_volume structures. > Apologies if I have missed it. Perhaps you can point out the code to me > where you have two volumes as I cannot see it...
relocate_inodes(), relocate_inode(), especially the $MFT part. There is a strict order in what and when is relocated. At some point ntfs_volume is mostly used only for reading and a new NTFS gets written. Anything must be modified before it gets relocated, never afterwards. Your change broke this very serious rule. > However, given things still work, and given that ntfsresize now works > for Vista for me when it did not do so before I would say unmounting is > both safe and required for ntfsresize. (-; There is a huge difference between the "works for me" and "always works". Szaka -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]