Hi, Szaka,

Could you spare some time on the following problems :

1) appending data to $Secure/$SDS (a sparse file).

Basically, what I do is
- increase the stream size (ntfs_attr_truncate())
- write at desired location (ntfs_attr_pwrite())
The result is roughly as desired, by chkdsk complains :
- bad record in a sparse file
- free space marked in use in MFT bitmap
What is wrong ?
Notes :
- chkdsk does not delete useful data in $SDS
- initialized_size is not modified, whereas Windows
sets it similar to data_size, but that could be not meaningful
and chkdsk does not fix it anyway.

2) getting the next key in an index

This is needed when checking for collision in index hashes.
The real problem here is to build a significant multilevel
index tree, as with security descriptors it is quite difficult
to generate more than a couple of index nodes.
I will possibly have to create a test configuration with
directories, unless the desired code is available somewhere
and tested....

Regards

Jean-Pierre





-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
ntfs-3g-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel

Reply via email to