Re: [Linux-NTFS-Dev] [2.6.7 BK URL] NTFS 2.1.15 - Invaliade quotaswhen (re)mounting read-write.

From: Szakacsits Szabolcs
Date: Fri Jul 02 2004 - 17:34:58 EST



On Fri, 2 Jul 2004, Anton Altaparmakov wrote:
> > Hello, what happens if the occupied space would exceed the quota during
> > sync? Is the behavior consistent for all OS?
>
> Hi, I haven't got the faintest idea. Considering we don't have any code
> in the ntfsdriver that will change the size of a file yet...

Shouldn't ntfstruncate do the job? Ntfsresize could be also easily
modified to break the quotas.

> Whatever it does it certainly will be better than windows thinking the
> quotas are uptodate but that not being so.

Quotas aren't often used so read-write mount could have been just refused
until the more general things get implemented. No untested scenarios.

Szaka

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/