It seems Robert Nordier wrote: > Søren Schmidt wrote: > > > OK, easy enough, this is what I want to do: > > > > Boot from an ata disk on major# 30, device name "ad", plain and simple. > > I'd be inclined to handle this outside the boot code, by treating the > passed in major# as describing the device rather than specifying > the driver. > > The point about the boot code is it is deliberately intended to be > usable when completely out of sync with any actual kernel it is > booting. (I expect to be able to use 2.0 bootblocks with 4.0, and > also that loader will be able to boot a 2.0 kernel.) > > I assume at some stage that some stage the new driver will take over > completely, and the older driver will disappear. Before that, as > people grow accustomed to thinking "ad" rather than "wd", it will
Not likely, as long as we need support for MFM/RLL/ESDI disk, wd.c will stay around. > probably make sense for the boot code to accept (say) > > 0:ad(0,a)boot/loader > > rather than > > 0:wd(0,a)boot/loader That would be nice, could I please have that ?? > However, I'd *still* expect it to pass a major# of 0 rather than > 30. Why? Because a 2.0 kernel knows only 0. And if a 5.0 kernel > knows only 30, it is -- at least -- in a position to know what > 0 meant, and simply substitute one for the other (under the > influence of a kernel configuration option, if necessary). Hmm, wd should give 0 and ad should give 30, no AI please :) I've tried fooling the driver to just use the 0 number, but mount blows up, complaing that mounted root is different from specified root... -Søren To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message