Hi,

On Thu, Apr 03, 2003 at 10:15:51AM +0200, Tomās Núņez Lirola wrote:

> If no user can fill up the disk, logs can. At least I'd put /var/log in a 
> different partition, but anyway I'd partition the disk just in case quota 
> systems fail. I think it's not a good idea to trust on ftp and mail servers 
> to manage quota (some bug or some human misconfiguration can turn it down). 
> I'd trust on kernel quota... but it does not give me the same security as 
> partitioning does.
> 
> If for some strange reason a program begins writing to disk, or if some user 
> find the way to turn down his quota, or if I forget to put quota on a user, 
> or if a 50GB file magically appears on the disk (I remember one day I did a 
> 'grep -r string * > file' and left it working, and the file grew to 15GB 
> untill I stopped it)... if some of this uncertain things happens, I can be 
> sure that not all the partitions will be affected (at least the backup 
> partition would be safe :) )

Well, all this trouble goes away if you don't log as root and don't do
those greps as root. Then you can trust your kernel's quota and root
reservation.

If you can't trust your filesystems to your kernel, all hope is lost
anyway.

Cheers,


Emile.

-- 
E-Advies - Emile van Bergen           [EMAIL PROTECTED]      
tel. +31 (0)70 3906153           http://www.e-advies.nl    

Attachment: pgpa4Y7Aq865V.pgp
Description: PGP signature

Reply via email to