From: Bas de Bakker (bas@phys.uva.nl)
Date: 06/29/93


From: bas@phys.uva.nl (Bas de Bakker)
Subject: Re: How to amuse e2fsck
Date: Tue, 29 Jun 1993 10:02:12 GMT


>>>>> On 26 Jun 1993 13:38:25 GMT, al-b@minster.york.ac.uk said:

>>Have one shell having a directory as its current directory. From
>>another shell, delete that directory. Now, hard reboot the
>>machine.

> Which shell are you talking about..? I tried that once, with bash
> (the one that came with SLS, 0.99.6 kernel). I was told something
> like "can't delete directory, still in use". So I could not delete
> that directory.

The shell doesn't matter, the kernel version does. The ext2
filesystem in the latest kernels allows you to remove a directory
which is in use. It will exist (although with no entries, not even
. and ..) until no process is using it any longer, like a regular
file.

Bas.