i node, u node, we all node for inodes
Adam Wozniak
adam.wozniak at comdev.cc
Fri Feb 8 14:08:16 EST 2002
David Woodhouse wrote:
> > Does an inode have a fixed or maximum size?
>
> Do you mean a node? Not explicitly, although each type of node has its own
> limits so you could deduce the maximum node size you'll ever see.
Maybe I don't have a clear idea of what an "inode" is in this context.
I normally think of an inode as a small block on a physical disk. It
has
a fixed size, say 1K. A file larger than 1K would span multiple inodes.
Or maybe I have this wrong.
> > Can a raw node contain data used by mutiple inodes? If not, what
> > prevents this from happening?
>
> Each node belongs to only one inode. It's generated for that inode, added
> to the list for that inode, the physical node on the flash contains the
> inode number. Why would it get shared?
In the case where a file consists of multiple inodes, and a data write
is performed which spans two inodes, does the write get broken into two
raw nodes, and linked into two inode chains, or is one raw node written
and somehow magically shared between two inode chains?
--Adam
--
Adam Wozniak (KG6GZR) COM DEV Wireless - Digital and Software Systems
awozniak at comdev.cc 3450 Broad St. 107, San Luis Obispo, CA 93401
http://www.comdev.cc
Voice: (805) 544-1089 Fax: (805) 544-2055
More information about the linux-mtd
mailing list