lkml.org 
[lkml]   [1996]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Proposal: restrict link(2)
Date

Steve VanDevender was overheard whispering ...
#
#
# Nicholas J. Leon writes:
# > Your example doesn't demostrate that if:
# >
# > user1 $ dd if=/dev/zero of=foo bs=1k count=1k
# > # repquota -a | grep user1
# > user1 -- 1029 0 0 1 0 0
# > user2 $ ln ~user1/foo ~/bar
# > user1 $ rm foo
# > # repquota -a | grep user1
# > user1 -- 1029 0 0 1 0 0
# >
# > at this point the quota's for user1 still show the usage, as they
# > should considering the blocks are still allocated. So user2 could fill
# > user1's quotas by hard linking foo as many times as needed.
#
# Linking foo multiple times won't increase user1's quota proportionately;
# user2 at least has to link many different files from user1.
#
Yeah... :( I know. My fingers flew faster than my brain in the above
example. What I *really* meant to say was "So user2 could fill user1's
quotas by hard linking as many files as needed."

N!
------------------------------------------------------------------------------
Nicholas J. Leon nicholas@binary9.net
"Elegance through Simplicity" http://www.binary9.net/nicholas
Any sufficiently advanced hairstyle is indistinguishable from nature.


\
 
 \ /
  Last update: 2005-03-22 13:38    [from the cache]
©2003-2011 Jasper Spaans