Meta-data in Ext3

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

 



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
_______________________________________________
Ext3-users mailing list
Ext3-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ext3-users

[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux