K 10 svn:author V 5 joerg K 8 svn:date V 27 2003-01-07T12:14:16.000000Z K 7 svn:log V 1137 Make vinumattach() recognize a couple of kernel env variables that can be used to finally allow for a vinum root filesystem. These variables are supposed to be configured by the bootloader. vinum.drives must contain a (complete) list of the devices that comprise the vinum volumes on that machine. If it is set, vinumattach() will start the volumes found already at attach time. (The KLD must have been pre-loaded by the bootloader as well.) vinum.root can then contain the name of the root volume. If this volume has been found, the variable rootdev will be preconfigured using the major/minor # of this volume's device. The solution for -current will be implemented in a different way, most likely an autoscan will be there, too. The approach taken here aims at minimal intrusion into the existing code to be as low risk as possible for -stable. If the named environment variables do not exist, the entire behaviour is as it used to be without the change. Example of a /boot/loader.conf: vinum_load="YES" vinum.drives="/dev/da0h /dev/da1h /dev/da2h" vinum.root="root" Some documentation will follow, too. Reviewed by: grog END