Re: Drawbacks of implementing undelete entirely in user space

Stephen R. van den Berg (srb@cuci.nl)
Mon, 24 Jun 1996 22:00:39 +0200


Miquel van Smoorenburg <miquels@cistron.nl> wrote:
>How about moving the deleted file into a directory .wastebasket/XXXXX,
>where XXXXX is the inode number of the directory the file was in at
>the moment it was deleted. If that directory has the same permissions

That implies that deleting files could potentially increase the space
requirement on the disk (not good). Creating a directory is an "expensive"
operation (uses non-negligible space and cpu/wallclock time).

I don't think those are desirable properties of an unlink() operator.

-- 
Sincerely,                                                          srb@cuci.nl
           Stephen R. van den Berg (AKA BuGless).

Real programmers don't just die, they produce core dumps.