Hi,

Summary:
I suggest that, for the "Which disk is your root disk?"'s question in the installer, a logic should be added so that if a softraid has been set up, then it should be used as default option (rather than the name of the first physical disk available in the system, as is the case currently, and which is the healthy default for all other use cases).


Background, details, discussion:
If you set up a crypto softraid, it will become a separate disk device e.g. sd1 .

When reaching the "Which disk is your root disk?" question in the installer, it will suggest the first physical disk available, normally sd0 or wd0 .

Just in ase the user would be unclear that from this point and on, the installation only should regard work with the softraid (sd1),

(because files will be installed to sd1 and installboot when commanded to install to sd1 actually will install to sd0 thanks to its magic resolving feature which figures out that sd1 is a softraid and hence the boot code shouldn't be installed on it, but rather on the softraid's parent drive, and accordingly it resolves which the parent drive is and installs the boot code on that one instead - super neat but not yet written up in any man page,)

then, it could be a good idea to simply prefill this question with "sd1" (the softraid's device name) instead of sd0.

If the user mistakenly would go on with sd0 he'd wipe his softraid setup and bring the system into an inconsistent state.


The counter argument to this suggestion would be that crypto softraid anyhow only is for so advanced users that they should have the wisdom to enter the softraid device's name (e.g. sd1) themselves already.

That counter argument would make much more sense as soon as the installboot resolver thing mentioned above has been documented.

Anyhow so in either case this is just a convenience level feature.

Thanks,
Tinker

Reply via email to