Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: CVS commit: src/sys/dev/raidframe

> Module Name:  src
> Committed By: christos
> Date:         Wed Apr  2 02:17:01 UTC 2014
> Modified Files:
>       src/sys/dev/raidframe: rf_netbsdkintf.c
> Log Message:
> If we are autoconfiguring root, then only change the booted_device if
> we booted from one of the components of the root raid set. This allows
> us to boot from other media, without forcing the found raid to always
> be root. Allow the old behavior with RAIDFRAME_FORCE_ROOT.
> XXX: cpu_rootconf() is called twice now, which prints the booted device
> message twice. Perhaps we can remember that cpu_rootconf has been called
> and avoid calling it twice to avoid that.

i like this.. i think.

i wonder if this will break my system that boot from a different
device to the raid root device.

eg, ultra10 whose prom can't talk to my sata disk, and boots from
a cf/ide fob with just ofwboot and netbsd (and attaches as wd0),
and mountroots from the raidframe on wd1+wd2.


Home | Main Index | Thread Index | Old Index