[lkml]   [1996]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Proposal: restrict link(2)

Daniel Linder wrote:
> I agree with Mr. VanDevender on this point. I personally have never
>used Quota on Linux so maybe this idea is off, but how about adding the
>smarts to the quota distribution? If this affects us, then it probably
>affects any other Unix using the same quota system (is there any other
>UNIX using the standard Linux quota?). I do not see the reasoning that we
>need to break the kernel (be it a compile time option or what) and make it
>non-Posix compliant just for one program. What options do we have to make
>Quota able to understand the linking "problem".
>Daniel Linder :: WebCentric Communications, Inc.
>(402) 346-9466

How about this:

Quota's can calculate usage by dividing the disk file by the
user count. A 500 MB file can be shared by 5 people who each
"pay" 100 MB.

(unfortunately this requires quota to read directories. I don't
know if quota has to do this already, does it just go through
owners of inodes (and is that possible in a userspace program)?
I really don't know quota that well.)

Then quota calculates for each user:

cost per user = total file size * (1 / # of users hard linking the file)
Develop free apps?
Das machine is nicht fur gefingerpoken und mittengrabben. Ist
easyschnappen der springenwerk, blowenfusen und corkenpoppen
mitspitzensparken. Ist nicht fur gewerken by das dummkopfen.
Dasrubbernecken sightseeren keepen hands in das pockets.
Relaxen undvatch das blinkenlights!!!

 \ /
  Last update: 2005-03-22 13:38    [W:0.102 / U:1.752 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site