Re: kinit problem with cciss root device

From: H. Peter Anvin
Date: Tue Jun 06 2006 - 19:43:21 EST


Bjorn Helgaas wrote:
kinit converts "root=/dev/cciss/c0d0p1" to "cciss.c0d0", which
doesn't exist under /sys/block because register_disk() converts
"cciss/c0d0" to "cciss!c0d0" (note "!", not ".").

I don't know whether it's the *right* fix, but the patch below
makes things work. It still doesn't make kinit exactly match
the register_disk() behavior because register_disk() only changes
the first "/" in the string.


That's still the right thing; obviously register_disk() will need to change if we ever have deeper trees.

Could you re-send that hunk as a proper patch with Signed-off-by: et al?

Thanks,

-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/