[lkml]   [1996]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Undelete in user space
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

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