[lkml]   [1999]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Deletion of big files...
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,


$ rm bigfile&

will achieve exactly the same thing at no kernel

Rik -- Open Source: you deserve to be in control of your data.
| Le Reseau netwerksystemen BV: |
| Linux Memory Management site: |
| Nederlandse Linux documentatie: |

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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