Messages in this thread | | | Subject | Re: Failover root devices | From | Harald Hoyer <> | Date | Thu, 17 Sep 2015 20:27:26 +0200 |
| |
On 17.09.2015 20:17, Richard Weinberger wrote: > Am 17.09.2015 um 20:05 schrieb Drew DeVault: >>> Better send a patch to dracut folks. :-) >>> Major distros use it and if the feature is nice other initramfs implementations will adopt it too. >> >> dracut is the common one sure, but I'm still not confident that it's the right place to put this. How would that feature look? Would we have the root= parameter use a format that's >> specific to dracut and no longer a sane kernel parameter? Would we use a second parameter and discard the root= parameter? I think all of these are suboptimal solutions. No, the >> right way, I think, is to implement this in the kernel and let the init systems take it from there themselves. > > I'd patch dracut to support kernel command lines like "root=/dev/diskX root=/dev/diskY". initramfs is allowed to parse/use the command line. > So, you can do what you want. > > Thanks, > //richard
https://github.com/haraldh/dracut/blob/master/modules.d/95rootfs-block/rootfallback.sh
| |