Subject: Re: rm -P and strange file systems
To: None <tech-userlevel@NetBSD.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-userlevel
Date: 08/24/2006 13:25:05
On Thu, Aug 24, 2006 at 01:18:38PM +0200, Ignatios Souvatzis wrote:
> On Thu, Aug 24, 2006 at 11:48:13AM +0100, Liam J. Foy wrote:
> >
>
> > I shall leave the patch as it is then. I'll commit it later tonight. Any
> > desired changes can be committed later on.
>
> Having understood what -P is about now: what does rm -P do when the file
> is on LFS, or another file system that never overwrites in-place, but
> allocates a new one?
>
> Related: what does it do when the file is on a filesystem with a
> snapshot (filesystem-implemented or snapshot device implemented)?
It can't do anything about that. You lost. :-)
Joerg