Use device node names rather than kernel names to check optical drives#272
Draft
cconverse711 wants to merge 1 commit intojlesage:masterfrom
Draft
Use device node names rather than kernel names to check optical drives#272cconverse711 wants to merge 1 commit intojlesage:masterfrom
cconverse711 wants to merge 1 commit intojlesage:masterfrom
Conversation
This change allows devices to be symlinked in host for improved device naming stability
Owner
|
What was the problem exactly with The change seems to break (at least in my case) usual scenario where |
Author
|
The problem I was finding was that It's not clear to me how makemkvcon is searching for optical drives, but I'll have to consider some workarounds. Ultimately this is so I no longer have to keep editing my docker compose file upon reboots, but perhaps there's no better option |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change allows devices to be symlinked in host for improved device naming stability
When my computer power cycles, I find that the sg device's name/path tends to change between
/dev/sg0,/dev/sg1and so forth. I've created a udev rule as follows:Thus I can provide the symlinks as the devices in the compose definition:
However the existing
54-check-optical-drive.shis incompatible with these symlinks due to its use of kernel names. This fix will allow the drives to be detected even when symlinks are used.