tech-install archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: FYI about console sizes



On Mon, May 30, 2022 at 08:57:58PM +0000, John Klos wrote:
> I removed disks until I was just left with the installer USB (from
> NetBSD-9.99.97-amd64-install.img.gz), but it still happened. Here's the full
> dmesg, with the SSD connected:
> 
> https://www.klos.com/~john/install_dmesg.txt

I am confused - this is how it should look like [on a 80x24 char display]:

------------------------------------------------------------------------------

 On which disk do you want to install NetBSD?



                  +------------------------------------------+
                  | Available disks                          |
                  |                                          |
                  |>a: ld0 (954G, Samsung SSD 970 PRO 1TB)   |
                  | b: wd0 (477G, Samsung SSD 860 PRO 512GB) |
                  | c: wd1 (1.8T, TOSHIBA DT01ACA200)        |
                  | d: wd2 (3.6T, WDC WD40EZRZ-00GXCB0)      |
                  | e: vnd0 (1.5G)                           |
                  | f: Preconfigured "wedges" dk(4)          |
                  | g: Extended partitioning                 |
                  | x: Exit                                  |
                  +------------------------------------------+




------------------------------------------------------------------------------


and the variable string part is restricted, it is "%s (%s, %s)"
with the first %s being the device name, the second (size) limited to 4 char,
and the last %s in this case the model name from the 40 char atap_model
field of struct ataparams:

	https://nxr.netbsd.org/xref/src/sys/dev/ata/atareg.h#310

That can't overflow the available width.

Or did I misunderstand you and some other device (not a wd*) caused it?

Martin


Home | Main Index | Thread Index | Old Index