Re: ext2 warning in Linux 2.2.7

Steve Dodd (dirk@loth.demon.co.uk)
Wed, 5 May 1999 16:11:06 +0100


On Wed, May 05, 1999 at 06:52:19AM -0400, Alexander Viro wrote:

> That's fine, but there is one huge but. First of all, with many
> filesystems you simply *don't have* an invariant that would be preserved
> across umount;mount, let along reboot and would fit into 64 bits.

[...]

> Do you have any objections against that? Notice that current code simply
> doesn't work for non-UNIX filesystems (and maybe HPFS & NTFS).

NTFS has a 48bit 'inode number' (the FILE record number) which lasts until a
file is deleted (where deleted = 0 hard links); it can then be reused, but
there is also a 16bit 'generation number' (the sequence number in the FILE
record) which is incremented when the inode is reused. So it should be easy to
do something there.

Dunno about HPFS, but isn't it supposed to be quite similar to NTFS?

S.

-- 
"People get annoyed when you try to debug them."
                -- Larry Wall

- 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/