[Fwd: Re: Delete a file THAT big? Surely you are joking.]

[prev] [thread] [next] [lurker] [Date index for 2006/12/18]

From: Jonathan Stowe
Subject: [Fwd: Re: Delete a file THAT big? Surely you are joking.]
Date: 20:00 on 18 Dec 2006
On Mon, 2006-12-18 at 20:11 +0100, A. Pagaltzis wrote:
> * Yossi Kreinin <yossi.kreinin@xxxxxxxx.xxx> [2006-12-18 18:35]:
> > I'm a programmer. My program created a big file. Give me the
> > POWER to *DELETE* *MY* *FILE*!!
> 
> On Windows, you'd be told the file is busy and it wouldn't be
> deleted. 

Which is so obviously totally inferior to removing the name of the file
from the directory but leaving the file to fill up the disk. Sure it
allows you to do big, clever, obscure and POWERFUL things that mere
mortals can't understand, but it doesn't help in freeing space on the
disk.

The real windows hate would be that it doesn't tell you which program it
is that has the file open, nor provide any tools out of the box that
would help you find that out, but hey it least it has an API that can do
that reasonably quickly - on Unix you have to grovel through the
filesystem or the kernel's list of file descriptors to find that out...

/J\

Generated at 03:01 on 20 Dec 2006 by mariachi 0.52