[Dovecot] Maildir FS quota [was: Re: pre-1.0.rc27: Index and mbox fixes]
leva at az.isten.hu
Sun Mar 11 22:33:15 EET 2007
2007. March 11. 21:01, Timo Sirainen:
> On Sun, 2007-03-11 at 21:45 +0200, Timo Sirainen wrote:
> > So the only problem is if the last uidlist rename() fails. But that
> > I hope won't fail because it's done inside the same directory, and
> > the maildir root directory is pretty static.
> /mnt/Maildir/tmp% mv 82 83
> mv: cannot move `82' to `83': No space left on device
> /mnt/Maildir/tmp% mv 82 81
> So looks like at least Linux+ext3 allows rename()s that replace
> existing files, but doesn't allow rename()s that simply change the
> file's name. This would be enough for the dovecot-uidlist.lock
> Can someone try if this works the same with filesystem quotas, and
> with other operating systems and filesystems?
Same here with OpenBSD and ffs:
$ mv asd0 asd1
$ echo $?
$ mv asd0 bsd0
mv: rename asd0 to bsd0: Disk quota exceeded
$ echo $?
More information about the dovecot