On Wed, 17 Mar 1999, Fernando Schapachnik wrote:

> Date: Wed, 17 Mar 1999 08:50:50 -0300 (GMT)
> From: Fernando Schapachnik <fps...@ns1.sminter.com.ar>
> To: Dmitry Valdov <d...@dv.ru>
> Cc: freebsd-current@FreeBSD.ORG, freebsd-secur...@freebsd.org
> Subject: Re: disk quota overriding
> 
> Are you aware that, due to nature of hardlinks the only extra space is 
> same that for an empty file? Due to this, how many empty files do you 
> think it takes to eat the whole space of / ?

No. Many empty files can be controlled by INODE QUOTAS. 
Hard links can't. 
But I can create as many hard links as I need to eat up the whole space of
/...

> 
> I'm I loosing something?
> 
> Regards.
> 
> En un mensaje anterior, Dmitry Valdov escribiС:
> > Hi!
> > 
> > There is a way to overflow / filesystem even is quota is enabled.
> > 
> > Just make many hard links (for example /bin/sh) to /tmp/
> > 
> > for ($q=0;$q<100000;$q++){
> > system ("ln /bin/sh /tmp/ln$q");
> > }
> > 
> > Because /tmp directory usually owned by root that why quotas has no effect.
> > *Directory* size of /tmp can be grown up to available space on / filesystem.
> > 
> > Any way to fix it?
> 
> 
> Fernando P. Schapachnik
> Administracion de la red
> VIA Net Works Argentina SA
> 



To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to