Hi,

Please note that the patch as it is has a very awkward side effect: Every 
time you run ntfsresize and either you answer "no" to the "really proceed" 
question or ntfsresize aborts without doing anything because it hits a 
"this is not supported" case or you try to resize to a too small size or 
anything like that the volume is left dirty thus running ntfsresize again 
then fails.  This is because ntfsresize does not unmount the volume.  My 
complete patches up to CVS head cause the unmounting to happen but only 
until all the checks have passed and ntfsresize is about to start 
migrating clusters around.  At that point, before the first modification 
happens, I turn off the unmounting and from then on ntfsresize will run 
and independent of when it is going to stop (abort or complete), it will 
no longer unmount like Szaka wants it to be.  Then the volume is left 
dirty which is what you want to happen anyway.

Best regards,

        Anton

On Tue, 28 Nov 2006, Carl-Daniel Hailfinger wrote:

> Hello Frans,
> hello Andree,
> 
> Frans Pop wrote:
> > On Tuesday 28 November 2006 13:08, 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'm going to wait with further testing until you have sorted out this 
> > difference of opinion.
> 
> Could you test the attached patches against ntfsprogs 1.13.1? It is my
> attempt at a backport for the first patch from Anton which seems to
> have agreement from Szaka.
> ntfsprogs-1.13.1-rename-MS_.diff is just a rename orgy to make
>  backporting easier and has to be applied first.
> ntfsprogs-1.13.1-vistahotfix.diff is a stripped version of Anton's
>  first patch.
> 
> Regards,
> Carl-Daniel
> 

Best regards,

        Anton
-- 
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer, http://www.linux-ntfs.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to