Restore NTFS streams on Windows
droe opened this issue · comments
NTFS streams seem to be handled by archiving them using a special filename. This needs to be investigated (need sample files!) and implemented as appropriate.
BOOL BASE_PATHFUNC_IsNTFSStreamName(PCHAR Path)
{
PCHAR Ptr;
if ((Ptr = strrchr(Path, ':')))
{
return *(Ptr + 1) != '\\';
}
else
{
return 0;
}
}
So with the scheme filename:streamid
current behaviour is to convert the filename to filename_streamid
, so data is accessible. However, on Windows, the streams should be restored to streams, not separate files.