Re: Implementing Meta File information in Linux

Jens-Uwe Mager (jum@anubis.han.de)
Wed, 16 Sep 1998 18:56:33 GMT


In article <mng==19980915073612.A1213@via-nova.demon.nl>, Hildo Biersma
<hpp@elvenkind.com> wrote:

> On Mon, Sep 14, 1998 at 10:05:05PM +0000, Jens-Uwe Mager wrote:
> > In article <mng==199809141747.NAA25941@dcl.MIT.EDU>, "Theodore Y. Ts'o"
> > <tytso@MIT.EDU> wrote:
> >
> > > That's easy to fix. You just index the external store by inode number,
> > > and now renames are no longer a problem.
> >
> > Inode numbers are not persistent enough, they are re-used on deletes. Thus
> > if you look up an inode in your external store you might reference meta
> > data from an already deleted file.
>
> That's why we have inode generation numbers...

But these are not available to user level applications, at least I have
not found them in struct stat.

--
Jens-Uwe Mager <pgp-mailto:62CFDB25>

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/