Comment 22 for bug 392510

Revision history for this message
Tormod Volden (tormodvolden) wrote :

> In your example above, if your /dev/sdc is not part of an array, kernel will not
> remove it. If it happens this is a bug.
> If /dev/sda and /dev/sdb are part of an array, they will be removed, and this is
> *not* a bug, why it should be..?

This is what I do not understand. The way I read the patch and its description, if this array is not used for root, -Z will not be used on it, so they will not be removed.

> Yes I agree, this could be an interesting feature, but imho is not relevant with
> this issue.

If "this issue" is this bug report and Christian's problem, I would say it is.

> Workaround (patch) that I added in the latest revision isn't elegant, but imho
> it fixed that issue. If it doesn't, please reopen this bug and write a testcase.

I will leave to Christian to judge if this workaround fixes his issue.

I am starting to wondering if you are talking about the issue in the linked Debian report, which might be somewhat different. I notice that you quoted one of my comments here in that report, and when I mentioned "original bug report" there it was of course about this Ubuntu report, but it might have been confusing.

Other question: Why the special-casing of the root partition, shouldn't the same logic apply to all partitions?