I understand hard linked files are a logical problem for applying tree quotas. However, I don't think such a problem should kill the whole implementation! I'm happy with any solution, even if counting the file multiple times was picked as the conservative solution. Who uses hard links that much anyway. I hope that's not the only thing stopping a tree quotas implementation
<br><br>That's the only implementation I could find, doesn't look too up2date though<br><a href="http://cgi.cse.unsw.edu.au/~neilb/wiki/">http://cgi.cse.unsw.edu.au/~neilb/wiki/</a><br><br><div><span class="gmail_quote">
On 3/22/07, <b class="gmail_sendername">Horst H. von Brand</b> <<a href="mailto:vonbrand@inf.utfsm.cl">vonbrand@inf.utfsm.cl</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Lamont Peterson <<a href="mailto:lamont@gurulabs.com">lamont@gurulabs.com</a>> wrote:<br>> On Wednesday 21 March 2007 02:14am, Ahmed Kamal wrote:<br>> > Coming from a systems administration background, I was very surprised to
<br>> > find out that fedora (well Linux actually) doesn't have a per directory<br>> > quota. It is very common and needed IMHO to have a quota per directory, as<br>> > the directory basically represents a project some people are working on.
<br>> > One would want to make sure that a certain project would not consume all<br>> > disk space. Only XFS seemed to have per "project" quota (I even think the<br>> > Linux implementation doesn't have that!)
<br>><br>> Linux "only" has per-filesystem quota support.  You're asking for what's<br>> called "tree quotas" support.<br><br>And that is nonsense, as a file /doesn't/ exist "in a directory", the
<br>directory only holds the name and a reference to the actual file. So, a<br>file can exist under many different names in assorted directories (hard<br>links). How do you acount for that? Can't count it N times if there are N
<br>links, but if you count each link 1/N, deleting stuff here may get you past<br>quota elsewhere (even other people who happen to link to the same file).<br>Not nice.<br>--<br>Dr. Horst H. von Brand                   User #22616 
<a href="http://counter.li.org">counter.li.org</a><br>Departamento de Informatica                    Fono: +56 32 2654431<br>Universidad Tecnica Federico Santa Maria             +56 32 2654239<br>Casilla 110-V, Valparaiso, Chile               Fax:  +56 32 2797513
<br><br>--<br>fedora-devel-list mailing list<br><a href="mailto:fedora-devel-list@redhat.com">fedora-devel-list@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/fedora-devel-list">https://www.redhat.com/mailman/listinfo/fedora-devel-list
</a><br></blockquote></div><br>