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

Rawcopy and "soft" links #16

Closed
Beercow opened this issue Aug 3, 2017 · 1 comment
Closed

Rawcopy and "soft" links #16

Beercow opened this issue Aug 3, 2017 · 1 comment

Comments

@Beercow
Copy link

Beercow commented Aug 3, 2017

When I make a link to a different directory, rawcopy does not copy the whole file.

Example:

mklink /d "c:\asset" "C:"

rawcopy /FileNamePath:c:\asset\hiberfil.sys /OutputPath:c:\temp

The actual size of hiberfil.sys is 6,662,176 KB

The size of the copied hiberfil.sys is 467,456 KB

@jschicht
Copy link
Owner

jschicht commented Aug 3, 2017

I can confirm that bug. What happened is that rawcopy likely copied $MFT itself in that case. This kind of use was never accounted for, as it was meant to be used directly on the source like /filenamepath:c:\hiberfil.sys instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants