bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rm patch suggestion


From: Niels Möller
Subject: Re: rm patch suggestion
Date: 07 May 2002 22:24:52 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Roland McGrath <roland@frob.com> writes:

> Another approach to this whole issue would be to provide a "safety"
> translator that gives you a virtual directory that accesses an underlying
> filesystem with O_NOTRANS, and only follows translators on nodes owned by 
> root.

One can do all sorts of fancy things, but I think the important
question in this discussion is what a reasonable and safe *default*
behaviour should be.

I'm not sure what rm -rf ought to do with translators, but I suspect
that following them is not the right thing to do. The safest way seems
to be to just fail if there are any translators in the tree, with
options to make it either recurse into translated filesystem, or
detach any translators it finds and recurse deleting the underlying
node.

Regards,
/Niels



reply via email to

[Prev in Thread] Current Thread [Next in Thread]