lkml.org 
[lkml]   [1999]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: EXT2_UNRM_FL
Mike A. Harris writes:
> On Thu, 4 Mar 1999, Richard Gooch wrote:
> >(d) why not do it in userspace anyway? I did that years ago, although
> >I "moved" files to /tmp, but it would be easy enough to move to a
> >garbage/$LOGNAME directory on the same FS.
> >
> >My rm replacement even purged the oldest files if the rubbish bin area
> >was too full.
>
> And what if someone deletes using mc, or some other filemanager,
> or their own code? It isn't transparent. I'd rather see it in
> the filesystem myself.

Write a wrapper for unlink() and use LD_PRELOAD. No need to bloat the
kernel.

Regards,

Richard....

-
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.tux.org/lkml/

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