2001-11-15 16:55:20

by Cristiano Paris

[permalink] [raw]
Subject: ramfs and inode

I need an explanation, if possible.

I'm pretty sure that a VFS' inode which refers to a ramfs' file is never
released (i.e. deleted) until that is unlinked. Anyway, I cannot find a
formal verification of this assertion.

Can you help ?

Cristiano


2001-11-16 13:26:05

by Christoph Rohland

[permalink] [raw]
Subject: Re: ramfs and inode

Hi Cristiano,

On Thu, 15 Nov 2001, Cristiano Paris wrote:
> I need an explanation, if possible.
>
> I'm pretty sure that a VFS' inode which refers to a ramfs' file is
> never released (i.e. deleted) until that is unlinked. Anyway, I
> cannot find a formal verification of this assertion.

Yes, that's the way it is designed. The struct inode _is_ the ramfs
inode. If you delete the inode, the content is gone...

Greetings
Christoph