Re: xattr names for unprivileged stacking?

Matthew Wilcox
2020-08-31T14:40:40Z

On Mon, Aug 31, 2020 at 10:23:12AM -0400, Theodore Y. Ts'o wrote:
> On Sat, Aug 29, 2020 at 09:12:45PM +0100, Matthew Wilcox wrote:
> > > 3) what happens to it if that underlying file is unlinked?
> >
> > Unlinking a file necessarily unlinks all the streams. So the file
> > remains in existance until all fds on it are closed, including all
> > the streams.
>
> That's a bad idea, because if the fds are closed silently, then they

What? I think you completely misread me. I never said anything about
closing file descriptors. I'm proprosing standard unix semantics;
having a file descriptor open keeps a file in existance, even after
it's unlinked.