Re: Large numbers of files.

Rogier Wolff (R.E.Wolff@BitWizard.nl)
Fri, 7 Aug 1998 08:48:39 +0200 (MEST)


Richard B. Johnson wrote:
> If you run this until it errors out from a full file-system, you
> (may) find....
>
> # rm -r /tmp <SEGFAULTS>
> # rm /tmp/file.00000000 <waits forever and can't be killed>
> # ls /tmp <waits forever and can't be killed>
> # vi /tmp/file.00000000 <waits forever and can't be killed>

My guess is that the segfault is a kernel oops. (Look in your favorite
logfile). This killed the program before it finished the "rm" which
holds a lock on the directory.

Roger.

-- 
Actor asks a collegue: "To what do you owe your success in acting?"
Answer: "Honesty. Once you've learned how to fake that, you've got it made."
-------- Custom Linux device drivers for sale! Call for a quote. ----------
Email: R.E.Wolff@BitWizard.nl || Tel: +31-15-2137555 || FAX: +31-15-2138217

- 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.altern.org/andrebalsa/doc/lkml-faq.html