Re: Undelete in user space

=?ISO-8859-1?Q?Johan_Myr=E9en?= (jem@vistacom.fi)
Thu, 20 Jun 1996 12:13:25 +0300 (EET DST)


On Wed, 19 Jun 1996, Rogier Wolff wrote:

> Undelete is a completely userspace implementable thing:
> your libc's unlink call should be substituted by something that
> renames the file to some /.wastebasket instead of simply
> using the system's unlink system call.

Doesn't anybody else think adding crud to the libc system call wrappers is
a Bad Thing?

If libc's unlink() function is changed as proposed it does not deserve to
be in section 2 of the manual, and should be moved to unlink(3) and a line
added to the BUGS section stating that there is no easy way to make the
system call from a C program.

Johan Myreen
jem@iki.fi