https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289306
Bug ID: 289306
Summary: loader fails to parse vdisk device names
Product: Base System
Version: 15.0-CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: misc
Assignee: [email protected]
Reporter: [email protected]
The loader has a "map-vdisk" command. It creates virtual disk devices with
names like "vdisk0:", "vdisk1:", "vdisk2:", etc.
After creating a vdisk0: device which is visible in the output of "lsdev", the
command "set currdev=vdisk0:" fails with the error "bad unit number". This is
unexpected and seems to be caused by an assumption in disk_parsedev() that the
text before the unit number will be 4 characters in length:
np = devspec + 4; /* Skip the leading 'disk' */
Observed on FreeBSD 15.0-PRERELEASE, snapshot from 28 August 2025.
--
You are receiving this mail because:
You are the assignee for the bug.