From: Hisham M. <his...@gm...> - 2005-12-29 14:42:12
|
On 12/29/05, Leandro Franco wrote: > > Some of it (the name) is in the directory's data. The rest (inode, > > extended attributes if you provide them) is separate. > > > > If one user creates an entry in a directory owned by another user, you > > might choose either user to bear the cost of the name. Or you might > > exclude metadata from your quota calculations to make life easier. :) > > > > mmm... since the inode is shared and the name is in the dir entry, i > can basically ignore the metadata (if no ext. attr) ... :) It's also advisable to set a limit on the number of files a user can have -- even if hard links take no considerable disk space (it will take at least *some* space in the dir entry and/or a little bit of memory in the libfuse hash), you don't want a user to attack your system by creating a gazillion hard links. -- Hisham |