Re: Storing small files inside the inode

Alexander Viro (viro@math.psu.edu)
Thu, 17 Jun 1999 10:24:56 -0400 (EDT)


On Thu, 17 Jun 1999, Martijn van Oosterhout wrote:

> One thing I've wondered about ever since I
> heard about it (I think NTFS has it), was
> whether for small files, the data could be
> stored inside the inode. After all, there
> are at least 13 4-byte entries that could
> be used.
>
> I was mainly thinking of this for symlinks
> because they are generally really short.

And in that case they *are* stored in inode both on ext2 and ufs.
See fs/ext2/symlink.c for details.

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