> 
> Hi James,
> 
> James Harper wrote:
> >> I haven't written any code yet, but in looking through your code I think I
> >> mostly just need to replicate a similar code path as for existing
> attributes,
> >> eg:
> >>
> >> . Create a ntfs_object_id entry
> >> . Create a routine to read/write - call ntfs_attr_readall etc with
> >> AT_OBJECT_ID
> >> . Create some validation for write's - your assistance is probably required
> >> here, although if I can find some documentation on the structure I can
> >> probably put something together myself
> >>
> 
> That is the easy part...
> 
> > Having re-read what you wrote, and then having another look at the code, I
> better understand what you said about the 'special file'. I'll have to do some
> more thinking :)
> >
> 
> 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.
> 
> I see that on my WinXP partition there are a few
> Object_Ids, so I should be able to implement a
> restore.... unless you are willing to do it.
> 

I guess it depends on where it sits on your list of priorities. Knowing the 
code as you do you'd get it done a whole lot faster than I would but maybe it's 
not such a high priority for you so if I want it done sooner rather than later 
I'd better be doing it myself?

Is there any room for making some of the functions in security.c generic, or is 
the layout of the security stuff and the object id stuff too different?

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

Reply via email to