Bug 256165 - camcontrol cannot address drives by id/label/name/serialnumber
Summary: camcontrol cannot address drives by id/label/name/serialnumber
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 13.0-RELEASE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-26 10:39 UTC by Michael Büker
Modified: 2021-05-26 10:39 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Büker 2021-05-26 10:39:11 UTC
FreeBSD has several of ways of addressing disks independently of their assigned device names like adaX: diskid/ and glabel for example. This helps scripts and user commands avoid addressing the wrong disk when controllers, cables and drives are shuffled around.

camcontrol has no way to use any of these, however. It only accepts names like adaX, or bus:target identifiers, which can all change across reboots for any given disk.

camcontrol should allow _some_ way to address disks independently of their adaX-style device names, like diskid/* identifiers, glabel, `diskinfo -s` serial numbers or something similar.