Linux-kernel mailing list archive 1999-20,: Re: Deletion of big files...

# Re: Deletion of big files...

Rik van Riel (riel@nl.linux.org)
Sat, 15 May 1999 22:52:45 +0200 (CEST)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Rogier Wolff: "IDE problem?"
- Previous message: Rik van Riel: "Re: HELP: Creating new x86emu mailing list?"

On Fri, 14 May 1999, Jorge Gonzalez Villalonga wrote:

> I have noticed that when I delete a big file (say 800MB), with a
> rm command, for example, the rm command does not return until the
> file has been deleted (or so it seems).

> In other Unices, like IRIX, the rm command returns _inmediately_, no
> matter the size of the file.

> Looks to me like the unlink syscall is somewhat synchronous, and it
> shouldn't, or does it? For this concrete issue, it could be easily
> solved by the unlink syscall starting a thread to unlink the big file,

Cosmetics.

$ rm bigfile&

will achieve exactly the same thing at no kernel
cost...

Rik -- Open Source: you deserve to be in control of your data.
+-------------------------------------------------------------------+
| Le Reseau netwerksystemen BV: http://www.reseau.nl/ |
| Linux Memory Management site: http://www.linux.eu.org/Linux-MM/ |
| Nederlandse Linux documentatie: http://www.nl.linux.org/ |
+-------------------------------------------------------------------+

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

- Next message: Rogier Wolff: "IDE problem?"
- Previous message: Rik van Riel: "Re: HELP: Creating new x86emu mailing list?"