lkml.org 
[lkml]   [1999]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: EXT2_UNRM_FL
Date
From
g@cx888441-a.cv1.sdca.home.com wrote:
>
>
> On Wed, 3 Mar 1999, Theodore Y. Ts'o wrote:
>
> > Date: Thu, 4 Mar 1999 10:26:46 +1100
> > From: Richard Gooch <rgooch@atnf.csiro.au>
> >
> > (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.
> >
> > Absolutely, agreed. As I said earlier, there are plenty of user-space
> > "rm" replacements, and doing it in the kernel is almost certainly not
> > worth the pain.
> >
> > It might be worth it for the kernel to add a wakeup to the undelete
> > daemon telling it that space is low and it should remove some of the
> > deleted files, but I'd want to see how well a strategy of polling every
> > minute works (or doesn't work) before deciding whether the extra kernel
> > bloat was worth it.
> >
> one thing I am concerned is the those 'rm' replacements does not cover all
> the cases. For example, you can call 'unlink' directly from c/perl
> program, which will not go through 'rm'. If you really want undelete
> freature, I think it should be done a little higher level than, replacing
> 'rm'. hrmm that makes me wonder.. when you overwrite a file, does the
> kernel 'unlink' the file first and assign a new inode?

This is a FAQ.

It creates an ugly thread, that keeps dragging on and on.

Just to prove my point "writing it is quicker than discussing it for
days on end on linux-kernel", I wrote it a few years ago. It's on
Dejanews.

Regards,

Roger.


--
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
* Never blow in a cat's ear because if you do, usually after three or *
* four times, they will bite your lips! And they don't let go for at *
* least a minute. -- Lisa Coburn, age 9

-
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.129 / U:0.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site