On 5/1/26 10:23, Heinrich Schuchardt wrote:
On 4/20/26 09:28, Padmarao Begari wrote:
Increase the boot menu device name buffer so we can append extra
metadata. Append the disk capacity and trimmed vendor/product strings
to the device name so users can differentiate drives in the EFI boot
menu. Also tighten the parameter validation and pull in linux/string.h
for strl* helpers.

For example, the U-Boot boot menu now shows entries such as:

     usb 0 (29.7 GiB, Generic Ultra HS-COMBO)
     usb 1 (28.6 GiB, USB SanDisk 3.2Gen1)
     scsi 0 (1 GiB, MICRON MT064GBCAV1U31AA)

Adding a descriptive text looks like a good idea to me. I am just not sure if with the patch we are showing the relevant information.

nvme 0 (953 GiB, SKHynix_HFS001TEM4X169N)
nvme 1 (953 GiB, SKHynix_HFS001TEM4X169N)
nvme 2 (953 GiB, SKHynix_HFS001TEM4X169N)

I would not know if these are 3 namespaces on the same drive or different 
drives.

yes that's limitation of this patch but more information could be added on the top to differentiate the same devices.

Thanks,
Michal

Reply via email to