Meta-data in Ext3

Simon Guilhot simon.guilhot at gmail.com
Sun Dec 2 14:59:37 UTC 2007


Hi to everyone,

I have a student projet quite interessting and quite hard and the informations found on internet about the ext3 aren't relevant. That's why I recquire you're help.
My aim is to add some métadatas to my files (like public,Private, draft ... the list must be extensible) and have the possibility to display it with the commands line (ls, rm, ...). 
There is lots of ways to do that. The more appropriate is, for me, to implement it directly in the i-node of the Ext3 (more easy in ext2 ?).
Concretly I see it like that (I'm probably wrong):

The standard i-node contain informations like Creation/modification dates, rights, number of links ... and I wanted to add a field string (or some bytes, its the same) where i could put my metadatas.
Of course the system won't be bootable (and wont be stable).
Here is a representation : 
class|host|device|start_time
ils|shirley||1151770485
st_ino|st_alloc|st_uid|st_gid|st_mtime|st_atime|st_ctime|st_mode|st_nlink|st_size|st_block0|st_block1
1|a|0|0|1151770448|1151770448|1151770448|0|0|0|0|0|MY_FIELD
2|a|0|0|1151770448|1151770448|1151770448|40755|3|1024|201|0|MY_FIELD
3|a|0|0|0|0|0|0|0|0|0|0|MY_FIELD
 
Course, I'm maybe dreaming, it's probably very hard, but it's interesting to ask to someone more experienced.

Forgive me for my english. 

Guilhot Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/ext3-users/attachments/20071202/72e1c8c8/attachment.htm>


More information about the Ext3-users mailing list