>> Does anyone know of a way to trigger an action or command as a user
>> passes their soft quota limits? I looked in the Linux Quota mini-HOWTO,
>> and I didn't see anything that would really trigger a script or
>> anything. The best solution I see is a periodic cron job to examine
>> quotas and take action if a user is over the soft limit, but it seems
>> like there should be a better way...? This is with a 2.4.x kernel
>> compiled with quota support and an ext3 filesystem, but I'm open to
>> other filesystems if they have the feature and ext3 simply doesn't.
>If you find one, make sure it has limits so a user can't DoS you like
>this:
Hey Eben, thanks for the warning. Will probably K.I.S.S. it, like
creating a file for each user when an over-quota action is taken, and
making sure the -mtime on that file is sufficiently large before
taking action again. Or possibly something less race prone, I dunno,
but there will be something :). Also, all user access will be through
smb (intranet), so I was looking at possibly using Samba 2.2.8a's vfs
layer, but I didn't see anything quota related even there :(. Still
looking though.
~ Daniel
________________________________________________________________
The best thing to hit the internet in years - Juno SpeedBand!
Surf the web up to FIVE TIMES FASTER!
Only $14.95/ month - visit www.juno.com to sign up today!
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:19:48 EDT