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?
Haven't tested this, but are you sure it fills the filesystem up - all a hard link is, is a file with the same inode as the original file (correct me if I'm wrong) - therefore it doesn't actually use any space other than that required to store the file entry. -- Regards, Jay Tribick <netad...@fastnet.co.uk> [| Network Admin | FastNet International | http://fast.net.uk/ |] [| Finger netad...@fastnet.co.uk for contact info & PGP PubKey |] [| +44 (0)1273 T: 677633 F: 621631 e: netad...@fast.net.uk |] To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message