From: Christophe C. <chr...@pu...> - 2003-11-18 08:47:57
|
Jamie Cameron wrote: > So is this the third quote format that Linux has used? Because I've seen > those aquota.{user,group} files for a while now, certainly long before > the 2.4.19 kernel. Perhaps I'm wrong, but I think its only the second one, dating back somewhere near the 2.4.13-ac8 kernel http://lists.insecure.org/linux-kernel/2001/Dec/1892.html and backported to the 2.4.0 kernels, ftp://atrey.karlin.mff.cuni.cz/pub/local/jack/quota/v2.4/ On linuxhq.com a search on vfsv0 give results for 2.4.19-rc3-ac2 (23-Jul-2003) http://www.linuxhq.com/kernel/file/fs/quota_v2.c and my std 2.4.18 (without quota patches) doesnt support vfsv0. I dont know more, knowing only the old format until recently. So I would say the vfsv0 (aquota) exists since patched 2.4 kernels, and has been included in official kernel since 2.4.19. > Would it be correct to say that the old format uses quota.{user,group}, > while the two new formats both user aquota.{user,group} ? I cant say more that what I found in the quota-tools doc on sf.net >>This format is called <tt/vfsv0/ in manpages and utilities and >>quotafiles are >> >> usually >> >>called <tt/aquota.user/ and <tt/aquota.group/." I remember seeing a thread on a kernel dev list saying creating a new quota format would require a new filename (I guess new format is vfsv0 and filename is aquota). But I see a post from Jan Kara who wrote vfsv0 patches at suse saying both formats would be supported (backward compat) and included in 2.4 and 2.5 kernels. http://search.luky.org/linux-kernel.2001/msg53249.html From this, I think its a good bet (but not certain) to say the vfsv0 always uses aquota.* files I cant say more, because I'm not a quota guru. Hope it helps, Christophe |