there are several questions puzzling me,please do me a favour. /* The JFFS raw inode structure: Used for storage on physical media. */ /* Perhaps the uid, gid, atime, mtime and ctime members should have more space due to future changes in the Linux kernel. Anyhow, since a user of this filesystem probably have to fix a large number of other things, we have decided to not be forward compatible. */ struct jffs_raw_inode { __u32 magic; /* A constant magic number. */ __u32 ino; /* Inode number. */ __u32 pino; /* Parent's inode number. */ __u32 version; /* Version number. */ __u32 mode; /* The file's type or mode. */ __u16 uid; /* The file's owner. */ __u16 gid; /* The file's group. */ __u32 atime; /* Last access time. */ __u32 mtime; /* Last modification time. */ __u32 ctime; /* Creation time. */ __u32 offset; /* Where to begin to write. */ __u32 dsize; /* Size of the node's data. */ __u32 rsize; /* How much are going to be replaced? */ __u8 nsize; /* Name length. */ __u8 nlink; /* Number of links. */ __u8 spare : 6; /* For future use. */ __u8 rename : 1; /* Rename to a name of an already existing file? */ __u8 deleted : 1; /* Has this file been deleted? */ __u8 accurate; /* The inode is obsolete if accurate == 0. */ __u32 dchksum; /* Checksum for the data. */ __u16 nchksum; /* Checksum for the name. */ __u16 chksum; /* Checksum for the raw inode. */ }; I consider it is only the metadata here. The first question is "Where is the data part of the struct? " The second question is "Is one instance of the struct correspont to one VFS inode or many instances correspond to one VFS inode?" The third question is "Where is the name of file in the struct?" The fourth question is "How jffs,jffs2,yaffs realize their jounals? Just simply by copying pages or nodes? Are there journal files on disk?" Thank you very much. --------------------------------------------------------------------------------------- This mailing list is hosted by Toby Churchill open software (www.toby-churchill.org). If mailing list membership is no longer wanted you can remove yourself from the list by sending an email to yaffs-request@toby-churchill.org with the text "unsubscribe" (without the quotes) as the subject.