Skip to content

Make the disk disappear on Windows after it was ejected#551

Merged
hathach merged 1 commit into
hathach:masterfrom
dobairoland:master
Nov 8, 2020
Merged

Make the disk disappear on Windows after it was ejected#551
hathach merged 1 commit into
hathach:masterfrom
dobairoland:master

Conversation

@dobairoland
Copy link
Copy Markdown
Contributor

Make the disk disappear on Windows after it was ejected. The device needs to be re-inserted or reseted to re-appear again.

This doesn't affect Linux where the device can be mounted and unmounted repeatedly.

Note that this should be applied to three more examples.

Closes #549

Make the disk disappear on Windows after it was ejected. The device
need to be re-inserted or reseted to re-appear again.

This doesn't affect Linux where the device can be mounted and unmounted
repeatedly.

Closes hathach#549
Copy link
Copy Markdown
Owner

@hathach hathach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

look good but I think the comment has a typo

(void) lun;

return true; // RAM disk is always ready
// RAM disk is ready until is not ejected
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm the comment should be until ejected without NOT.

Copy link
Copy Markdown
Owner

@hathach hathach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank for the PR, will merge and correct the comment as follow up

@hathach hathach merged commit ef99d37 into hathach:master Nov 8, 2020
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

Successfully merging this pull request may close these issues.

MSC device cannot be unmounted on Windows

2 participants