lkml.org 
[lkml]   [1996]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: security implications (was Re: Proposal: restrict link(2))
From

In article <Pine.SUN.3.91.961217102005.23370A-100000@dross>
Dave Cole <dave@edipost.auspost.com.au> wrote:
[...]
>It turns out that Distiller was creating a file in /tmp for every page
>processed. We had about 100,000 zero length files in /tmp. Under SunOS,
>directories never shrink, so we had to remake the file system to get back
>normal performance.
[...]
>I have not bothered to check if ext2fs shrinks directories, maybe this
>"technique" would work on Linux too.

Unless it's been changed recently, ext2fs doesn't shrink directories.

I guess this is one reason for "files" quotas :)

You can recover the space by deleting the directory (probably not on
SunOS if /tmp is the root of tmpfs).

ray

--
Ray Auchterlounie <rda@kythera.demon.co.uk>
"Forty Two! Is that all you've got to show for
seven and a half million years' work?"

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.022 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site