> Hi again > > James Harper wrote: > >>> The file which contains the index to the files which > >>> have an object_id is "$Extend/$ObjId" and the index > >>> is "$O". > >>> > >>> The function "entersecurityattr" in security.c is an > >>> example of what has to be done. > >>> > >>> > >> Reading some more about this (http://en.wikipedia.org/wiki/NTFS)... reparse > >> points appear to be fairly similar to object id's... would that be a better > >> starting point? > >> > >> > > > > I just copied reparse.c to object_id.c and made all the appropriate > changes... I'll see what happens. I'm just building a sacrificial NTFS > filesystem now for testing :) > > > > Jame > Good point.... except that you have uncovered > a problem. Reparse points should be indexed in > $Extend/$Reparse, and this is missing in current > code. I have probably never created reparse points > of my own (just copied existing ones), so this has > not been detected so far.
I was just looking closer and wonder why there was no indexing code in reparse.c. > I am not working on it over the week-end, I leave > it to you to do some testing and decide what you > want to do. > Do you think it is easier to take reparse.c, make it read/write object_id's instead, then add indexing, or to start with security.c as you originally suggested? The code as it stands right now appears to read object_id's on the files that have them, but fails to set them. I haven't checked why... probably something simple, but obviously the indexing is still missing. James ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ ntfs-3g-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel
