Chris_Ed wrote:
Looking through the source, the section in question (as far as I can tell) starts in dir.c, line 1885:
Code::
/*
* Search for FILE_NAME attribute with such name. If it's in POSIX or
* WIN32_AND_DOS namespace, then simply remove it from index and inode.
* If filename in DOS or in WIN32 namespace, then remove DOS name first,
* only then remove WIN32 name.
*/
So as you say it seems that this is a definite design choice. Bear in mind that as there has never been any full documentation, it is possible that the creators assumed that this was normal operation for NTFS at the time of writing ntfs_3g.
By all means send a message to the dev community and let us know if you get a response! <img src="images/smiles/icon_smile.gif" alt="Smile" title="Smile" />
P.s, looking at themost recent release notes it seems they may have "fixed" this..?
Quote::
ntfs-3g: keep the name of a deleted file in place for easier undeletion
Thanks a million! I did not realise they had published a newer version. This sure fixed the problem and saved me a week of b-tree balancing work.
Kind regards,
Hannu
↧