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

AutoFan: Remove NVME partition during exclude matching #28

Merged
merged 1 commit into from
Apr 11, 2020

Conversation

Leoyzen
Copy link
Contributor

@Leoyzen Leoyzen commented Apr 9, 2020

DRIVES=$(ls /dev/{[hs]d*[a-z],nvme[0-9]} | grep -v "$flash" | grep -v "/dev/$(echo $EXCLUDE | sed -e $'s/,/\\\n/g')")

According to this line, NVME device with partition (like nvme0n1, which the format unraid is using now) will not be exclude.

This PR will make NVME excluding work.

@bergware
Copy link
Owner

bergware commented Apr 9, 2020

Thanks, I'll have a look.

@bergware bergware merged commit ef3e8fe into bergware:master Apr 11, 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.

2 participants