candera / shadowspawn

A Windows utility that mounts a shadow copy of the disk at a drive letter and then spawns an arbitrary command.
MIT License
188 stars 55 forks source link

There's no way to recover a drive letter #5

Closed candera closed 13 years ago

candera commented 13 years ago

Background

A user reports in this message that after using ctrl-break to terminate ShadowSpawn prematurely, the drive letter remains mounted and he's unable to recover it. Rebooting should clear it up, but that's not a good answer.

Expected Behavior

candera commented 13 years ago

Closing this as “won’t fix”. Design pattern is to do cleanup on abnormal aborts. The changes we made for #6 mean that we clean up after someone terminates ShadowSpawn via Ctrl-C, Ctrl-Break, and various other events. So the drive letter should be left hanging in far fewer cases. As we discover other cases where cleanup is needed, we’ll fix them. The risk of this happening is mitigated by the fact that rebooting will clear up leftover drive mappings.