Re: EXT2_UNRM_FL

david parsons (o.r.c@p.e.l.l.p.o.r.t.l.a.n.d.o.r.u.s)
4 Mar 1999 18:25:17 -0800


In article <linux.kernel.199903032337.SAA00994@dcl>,
Theodore Y. Ts'o <tytso@MIT.EDU> 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.
>
>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.

Unless you want to do it the right way.

Userspace bolt-ons are spiffy iff you stick within the environment
the designer the bolt-on set up for you. If you walk outside that
environment, all of a sudden things don't work anymore, so (for
instance) a LD_PRELOAD will mysteriously fail when you run a
statically linked rm command, or a hacked ELF library will fail
when you have the temerity to run an a.out executable.

____
david parsons \bi/ Unfortunately an ext2fs filename doesn't have a
\/ convenient place to put a 'I am a deleted file'
flag :-(

-
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/