[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: newbie to JFFS2

On Sun, 2005-03-27 at 17:18 +0530, Srivatsan wrote:
> Dear all,
>     I am new to the concept of Flash File System. I had gone thro' the
> JFFS2 white paper and to an extent the source code of JFFS2. I have the
> following doubt:
> 1) I am seeing that the filenames are not being stored along with the
> inode but with dentry nodes? If I want to make nodes self referential
> (inode number and filename in the same raw inode structure), is it
> possible? I was trying to go thro' the JFFS source, but their again the
> file names are not stored in the JFFS_raw_inode structure (but in the
> white paper it is mentioned that filenames are stored along with the
> metadata). Can anyone please clarify exactly how filenames are being
> handled in JFFS2? Really it would be a great help to me.
There is a model sometimes called "VFS model" where data is represented
by means of inode objects while names are represented by directory
entries. Inodes contain all the file's (direcory's) data and metadata
(permissions, etc). One inode may be referred by several directory
entries and this allows us to have hardlinks. And this is common model,
not JFFS2-specific.

Do you want to join them? Then you'll end up with FAT which is avoid of

> 2) Is anyone using versioning alongwith JFFS2? If so, have you modified
> the exisiting JFFS2 source or are you using concepts like stackable file
> system to achieve your requirements? If possible, can you experience be
> shared.
I'm not sure I understand your question. Versions are the crucial part
of JFFS2 and JFFS2 design. Versions are invisible for users and are an
element of internal JFFS2 design.

Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.

To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@xxxxxxx.com