Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore NTFS streams on Windows #9

Open
droe opened this issue Aug 6, 2017 · 2 comments
Open

Restore NTFS streams on Windows #9

droe opened this issue Aug 6, 2017 · 2 comments

Comments

@droe
Copy link
Owner

droe commented Aug 6, 2017

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.

@droe
Copy link
Owner Author

droe commented Aug 6, 2017

BOOL    BASE_PATHFUNC_IsNTFSStreamName(PCHAR Path)
{
PCHAR     Ptr;

  if ((Ptr = strrchr(Path, ':')))
  {
    return *(Ptr + 1) != '\\';
  }
  else
  {
    return 0;
  }
}

@droe
Copy link
Owner Author

droe commented Aug 6, 2017

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.

@droe droe changed the title Handle NTFS Streams properly Restore NTFS streams on Windows Aug 8, 2017
Repository owner deleted a comment from yahia-b Apr 6, 2019
Repository owner deleted a comment from yahia-b Apr 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant