Re: rm-ing files with open file descriptors

From: Horst von Brand (brand@jupiter.cs.uni-dortmund.de)
Date: Sat Jan 19 2002 - 10:24:31 EST


Alexander Viro <viro@math.psu.edu> said:
> On 19 Jan 2002, Xavier Bestel wrote:
> > On Sat, 2002-01-19 at 13:16, Matthias Schniedermeyer wrote:

[...]

> > > cat /proc/<id>/fd/<nr> > whatever
> > > actually works.
> >
> > Once it's unliked ? I doubt it.
>
> Egads... It certainly works, unlinked or not. Please learn the basics of
> Unix filesystem semantics.

It does show up as a broken symlink for ls(1)...

-- 
Horst von Brand			     http://counter.li.org # 22616
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jan 23 2002 - 21:00:33 EST