]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Print more detailed info about the disk and partition chosen for booting.
authorIan Lepore <ian@FreeBSD.org>
Sun, 22 Nov 2015 20:38:50 +0000 (20:38 +0000)
committerIan Lepore <ian@FreeBSD.org>
Sun, 22 Nov 2015 20:38:50 +0000 (20:38 +0000)
commit731192872f72b2877b3d4c41ef528a5c4e7edd67
tree612072c5bffb4fc84e646d87b571d822f4bcf252
parent157575697831130e311f84d2f48f627c1d40a0ab
Print more detailed info about the disk and partition chosen for booting.
No behavioral changes, just cosmetics.

A partition number of zero is not a wildcard, it's the 'a' partition in
a BSD slice, so don't print it as "<auto>".  (Only slices are 1-based,
unit and partition numbers are 0-based and -1 is their wildcard marker.)

Also, after doing all the probing and choosing, print the final result as
"Booting from <disk spec>" where disk spec has all the wildcards resolved
and looks like familiar BSD slice-and-partition notation (disk0s3a, etc).
sys/boot/uboot/common/main.c