-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
vdev_id: Return an error if config file is not found #12486
Conversation
…s instead of the device values
I would change your commit message to:
|
You'll also need a
|
Signed-off-by: Anton Gubarkov <anton.gubarkov@gmail.com>
I pushed another commit with the signed-off line. I'm not sure if it is updated everywhere... |
I think everything looks good. Could you squash your two commits into one commit? ( |
Signed-off-by: Anton Gubarkov <anton.gubarkov@gmail.com>
I tried... not sure that it gave the expected result.
I can't see this commit in this PR |
Ah I see, you created this PR on your master branch, which explains why the # Create a new "vdev_id_error_code" branch on top of openzfs master
git remote add upstream https://github.com/openzfs/zfs.git
git fetch upstream
git checkout upstream/master
git checkout -b vdev_id_error_code
# Include your vdev_id commit in this branch
git cherry-pick 0e8cfee5a
# Push your new branch out to github
git push -u origin vdev_id_error_code After you run though these steps, you should then open this PR, click "edit" at the top right, and then change your branch from |
@rugubara whoops, you're right, I thought you could change both the source and destination branch in github, but you can only change the destination branch. Just create a new PR with your new branch and I'll approve it. |
I'm closing this PR. The new one is #12508. I wonder if it is possible to break a link between this PR and the master branch of my fork... |
Motivation and Context
The udev helper is supposed to return 0 exit code only when it produced the stdout suitable for consumption by the udev rule. error messages and usage messages should produce non-zero exit code that guarantees udev rule ignores the stdout.
Description
How Has This Been Tested?
Types of changes
Checklist:
Signed-off-by
.Signed-off-by: Anton Gubarkov anton.gubarkov@gmail.com