> > The major number passed to the kernel is a product of a lot of > > guesswork, because the loader has simply not enough information. I > > have added a bit of code to my version of loader so you can use the > > variable root_device_major_number to override the major number to be > > passed to the kernel. I'm inclined to commit it, but I expect strong > > objections from Mike, who wants the right thing done before we go > > too far with these hacks. > > Correct. > > I'm currently leaning heavily towards a tunable which can be set to > explicitly control the device the root filesystem is loaded from, eg. > > set kern.rootdev.device=da0s1a
How hard would it be to have /boot/loader get the major number from the filesystem itself? Just have it read the node entry for /dev/$rootdev (or similiar). -- David Cross To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message