Bug 275960 - The "Partition Editor" dialog in BSDINSTALL(8) should list hard drive identifiers
Summary: The "Partition Editor" dialog in BSDINSTALL(8) should list hard drive identif...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 14.0-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-27 09:33 UTC by Yuri Victorovich
Modified: 2023-12-28 20:40 UTC (History)
2 users (show)

See Also:


Attachments
screenshot.png (92.11 KB, image/png)
2023-12-27 09:33 UTC, Yuri Victorovich
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2023-12-27 09:33:12 UTC
Created attachment 247283 [details]
screenshot.png

The "Partition Editor" dialog only shows device names and sizes.

In cases when the system has many devices, especially of the same size - it might be difficult to choose the device.

This script:
> grep -E 'ada[0-9]' /var/run/dmesg.boot | grep ": <"

lists hard drives with identifiers, like "<INTEL SSDSC2BF180A4H LH6i>".

I am suggesting that the "Partition Editor" dialog is improved in 2 ways:
1. It should list hard drive identifiers in addition to device names and sizes
2. The missing word should be fixed, see the question mark on the screenshot.
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2023-12-28 20:40:35 UTC
To be precise, these 2 fields should be present for each listed hard drive:
1. Model number
2. Serial number

This script, for example, lists both:
> $ grep -E 'ada[0-9]' /var/run/dmesg.boot | grep -E ": <|Serial"

If someone would have several disks of the same model, only serial numbers would be different between them.